•  
  •  
 

Coal Geology & Exploration

Abstract

The rheology of drilling fluid, which characterizes its flow and deformation, is vital for transporting and suspending rock cuttings as well as for enhancing the drilling rate. Precise control of drilling fluid rheological parameters is essential to ensure borehole cleanliness and efficient drilling. This paper proposes an intelligent identification method for drilling fluid rheological parameters based on Convolutional Neural Networks (CNNs). The method employs magnetic stirring to generate stable images of drilling fluid flow, uses various data augmentation methods to increase the number of images and create a database, thereby enhancing the model’s robustness and generalization capabilities. The AlexNet CNN algorithm is optimized to construct a model for identifying the rheological parameters of drilling fluids. The database is divided into a training set, validation set, and test set in a 7:2:1 ratio. Additionally, the model is evaluated through multiple approaches, including the confusion matrix, convolution kernel visualization technique, and Gradient-weighted Class Activation Mapping (Grad-CAM). The results indicate that: (1) The model achieves a macro precision of 95.2%, macro recall of 94.7%, and a macro F1 score of 0.95 for the plastic viscosity test of drilling fluids. (2) For the test of the apparent viscosity of drilling fluids, it achieves a macro precision of 91.6%, macro recall of 91.5%, and a macro F1 score of 0.91. (3) The utilization of convolution kernel visualization and Grad-CAM for feature extraction visualization reveals that the shape and size of drilling fluid ripples influence the accuracy of rheological parameter identification; (4) Indoor testing results demonstrate that the model has a test error of ±2 mPa·s within the allowable design range, indicating high prediction precision and stability. The proposed real-time intelligent identification method for drilling fluid rheological parameters can provide an intelligent technical approach for the safe, rapid, and accurate testing of drilling fluid rheology.

Keywords

drilling fluid, rheological parameter, machine learning, convolutional neural network (CNN), intelligent identification

DOI

10.12363/issn.1001-1986.24.01.0055

Reference

[1] 李贵红,赵佩佩,吴信波. 煤层气地质工程一体化平台的建设构想[J]. 煤田地质与勘探,2022,50(9):130−136.

LI Guihong,ZHAO Peipei,WU Xinbo. Construction concept of integrated geological engineering platform for coalbed methane[J]. Coal Geology & Exploration,2022,50(9):130−136.

[2] QIN Chengjin,SHI Gang,TAO Jianfeng,et al. Precise cutterhead torque prediction for shield tunneling machines using a novel hybrid deep neural network[J]. Mechanical Systems and Signal Processing,2021,151:107386.

[3] LECUN Y,BOTTOU L,BENGIO Y,et al. Gradient–based learning applied to document recognition[J]. Proceedings of the IEEE,1998,86(11):2278−2324.

[4] BEHNKE S. Hierarchical neural networks for image interpretation:Introduction[M]// BEHNKE S. Hierarchical neural networks for image interpretation. Berlin:Springer–Verlag,2003.

[5] KRIZHEVSKY A,SUTSKEVER I,HINTON G E. ImageNet classification with deep convolutional neural networks[J]. Communications of the ACM,2017,60(6):84−90.

[6] SIMONYAN K,ZISSERMAN A. Very deep convolutional networks for large–scale image recognition[J]. CoRR,2014,abs/1409. 1556.

[7] RUSSAKOVSKY O,DENG Jia,SU Hao,et al. ImageNet large scale visual recognition challenge[J]. International Journal of Computer Vision,2015,115(3):211−252.

[8] HE Kaiming,ZHANG Xiangyu,REN Shaoqing,et al. Deep residual learning for image recognition[J]. CoRR,2015,abs/1512. 03385.

[9] CHEN Gang,CHEN Mian,HONG Guobin,et al. A new method of lithology classification based on convolutional neural network algorithm by utilizing drilling string vibration data[J]. Energies,2020,13(4):888.

[10] 苏程,朱孔阳. 岩石薄片图像智能分析研究进展[J]. 矿物岩石地球化学通报,2023,42(1):13−25.

SU Cheng,ZHU Kongyang. Research progress of intelligent image analysis for petrographic thin section images[J]. Bulletin of Mineralogy,Petrology and Geochemistry,2023,42(1):13−25.

[11] 马泽栋,马雷,李科,等. 基于岩石图像深度学习的多尺度岩性识别[J]. 地质科技通报,2022,41(6):316−322.

MA Zedong,MA Lei,LI Ke,et al. Multi–scale lithology recognition based on deep learning of rock images[J]. Bulletin of Geological Science and Technology,2022,41(6):316−322.

[12] 许振浩,马文,林鹏,等. 基于岩石图像迁移学习的岩性智能识别[J]. 应用基础与工程科学学报,2021,29(5):1075−1092.

XU Zhenhao,MA Wen,LIN Peng,et al. Intelligent lithology identification based on transfer learning of rock images[J]. Journal of Basic Science and Engineering,2021,29(5):1075−1092.

[13] CHENG Yifan,FU Liyun. Nonlinear seismic inversion by physics–informed Caianiello convolutional neural networks for overpressure prediction of source rocks in the offshore Xihu depression,East China[J]. Journal of Petroleum Science and Engineering,2022,215:110654.

[14] 许祥,邹志辉,韩明亮,等. 联合地震初至走时与早至波形的深度学习速度建模[J]. 地球物理学报,2023,66(12):5107−5122.

XU Xiang,ZOU Zhihui,HAN Mingliang,et al. Deep–learning velocity model building by jointly using seismic first arrivals and early–arrival waveforms[J]. Chinese Journal of Geophysics,2023,66(12):5107−5122.

[15] 崔扬,王燕楠,陈万利,等. 基于深度学习的地震随机噪声衰减方法研究进展[J]. 石油地球物理勘探,2023,58(5):1269−1283.

CUI Yang,WANG Yannan,CHEN Wanli,et al. Research progress of random noise attenuation methods for seismic data based on deep learning[J]. Oil Geophysical Prospecting,2023,58(5):1269−1283.

[16] KUMAR A,RIDHA S,ILYAS S U,et al. Application of boundary–fitted convolutional neural network to simulate non–Newtonian fluid flow behavior in eccentric annulus[J]. Neural Computing and Applications,2022,34(14):12043−12061.

[17] LI Gang,HU Jiayao,SHAN Daiwei,et al. A CNN model based on innovative expansion operation improving the fault diagnosis accuracy of drilling pump fluid end[J]. Mechanical Systems and Signal Processing,2023,187:109974.

[18] 袁长才. 基于深度学习算法的煤矿机电设备检测诊断技术[J]. 自动化应用,2023,64(21):116−117.

YUAN Changcai. Detection and diagnosis technology of coal mine mechanical and electrical equipment based on deep learning algorithm[J]. Automation Application,2023,64(21):116−117.

[19] 罗光强,李扬,周策,等. 深孔智能化钻井参数远程监控及工况识别系统研究[J]. 地质与勘探,2022,58(3):696−706.

LUO Guangqiang,LI Yang,ZHOU Ce,et al. Intelligent remote monitoring and the work-condition identification system for deep drilling[J]. Geology and Exploration,2022,58(3):696−706.

[20] JAFARIFAR I,NAJJARPOUR M. Modeling apparent viscosity,plastic viscosity and yield point in water–based drilling fluids:Comparison of various soft computing approaches,developed correlations and a committee machine intelligent system[J]. Arabian Journal for Science and Engineering,2022,47(9):11553−11577.

[21] 周长春,姜杰,李谦,等. 基于融合特征选择算法的钻速预测模型研究[J]. 钻探工程,2022,49(4):31−40.

ZHOU Changchun,JIANG Jie,LI Qian,et al. Research on drilling rate prediction model based on fusion feature selection algorithm[J]. Drilling Engineering,2022,49(4):31−40.

[22] ALSABAA A,GAMAL H,ELKATATNY S,et al. Machine learning model for monitoring rheological properties of synthetic oil–based mud[J]. ACS Omega,2022,7(18):15603−15614.

[23] TARIQ Z,MURTAZA M,MAHMOUD M,et al. Machine learning approach to predict the dynamic linear swelling of shales treated with different waterbased drilling fluids[J]. Fuel,2022,315:123282.

[24] DAVOODI S,MEHRAD M,WOOD D A,et al. Hybridized machine–learning for prompt prediction of rheology and filtration properties of water–based drilling fluids[J]. Engineering Applications of Artificial Intelligence,2023,123:106459.

[25] 王健,徐加放,赵密福,等. 基于神经网络的钻井液漏失裂缝宽度预测研究[J]. 煤田地质与勘探,2023,51(9):81−88.

WANG Jian,XU Jiafang,ZHAO Mifu,et al. Prediction of crack width of drilling fluid leakage based on neural network[J]. Coal Geology & Exploration,2023,51(9):81−88.

[26] ZHANG D,DUAN L,XU Y,et al. An ANN–based soft–sensor to estimate the sand content of drilling fluid[C]//Proceedings of the 2022 IEEE 6th Advanced Information Technology,Electronic and Automation Control Conference (IAEAC),New York:IEEE,2022:1598–1602.

[27] RAZI M M,MAZIDI M,RAZI F M,et al. Artificial neural network modeling of plastic viscosity,yield point,and apparent viscosity for water–based drilling fluids[J]. Journal of Dispersion Science and Technology,2013,34(6):822−827.

[28] AL–KHDHEEAWI E A,MAHDI D S. Apparent viscosity prediction of water–based muds using empirical correlation and an artificial neural network[J]. Energies,2019,12(16):3067.

[29] GOMAA I,ELKATATNY S,ABDULRAHEEM A. Real–time determination of rheological properties of high over–balanced drilling fluid used for drilling ultra–deep gas wells using artificial neural network[J]. Journal of Natural Gas Science and Engineering,2020,77:103224.

[30] 王胜,赖昆,张拯,等. 基于随钻振动信号与深度学习的岩性智能预测方法[J]. 煤田地质与勘探,2023,51(9):51−63.

WANG Sheng,LAI Kun,ZHANG Zheng,et al. Intelligent lithology prediction method based on vibration signal while drilling and deep learning[J]. Coal Geology & Exploration,2023,51(9):51−63.

[31] 高辉,吴振坤,柯雨,等. 基于自然图像的钻探岩心识别[J]. 煤田地质与勘探,2023,51(9):64−71.

GAO Hui,WU Zhenkun,KE Yu,et al. Drilling core identification based on natural image[J]. Coal Geology & Exploration,2023,51(9):64−71.

[32] GUO Yanming,LIU Yu,OERLEMANS A,et al. Deep learning for visual understanding:A review[J]. Neurocomputing,2016,187:27−48.

[33] 王林,白云帆. 基于特征强化与知识补充的视频描述方法[J]. 计算机系统应用,2023,32(5):273−282.

WANG Lin,BAI Yunfan. Video description method combining feature reinforcement and knowledge supplementation[J]. Computer Systems & Applications,2023,32(5):273−282.

[34] YANG Zhe,HE Boning,LIU Yang,et al. Classification of rock fragments produced by tunnel boring machine using convolutional neural networks[J]. Automation in Construction,2021,125:103612.

[35] SELVARAJU R R,COGSWELL M,DAS A,et al. Grad–CAM:Visual explanations from deep networks via gradient–based localization[J]. International Journal of Computer Vision,2020,128(2):336−359.

[36] 谢辉,郑立群,刘福林,等. 钻井液漏斗黏度和密度自动检测仪的研制与应用[J]. 煤田地质与勘探,2024,52(3):176−183.

XIE Hui,ZHENG Liqun,LIU Fulin,et al. Development and application of an automatic online testing instrument for the funnel viscosity and density of drilling fluids[J]. Coal Geology & Exploration,2024,52(3):176−183.

Share

COinS
 
 

To view the content in your browser, please download Adobe Reader or, alternately,
you may Download the file to your hard drive.

NOTE: The latest versions of Adobe Reader do not support viewing PDF files within Firefox on Mac OS and if you are using a modern (Intel) Mac, there is no official plugin for viewing PDF files within the browser window.