Stuck pipe refers to the accidental phenomenon whereby drilling tools are stuck in a well during the drilling process and cannot move freely due to various reasons. As a result, the stuck pipe can consume a lot of manpower and material resources. With the development of artificial intelligence, the intelligent prediction and identification of stuck pipe risk has gradually advanced. However, there are usually only a few stuck samples, so the intelligent model is not sufficient to excavate the stuck feature law, and then the model overfitting phenomenon occurs. Regarding the above issue, this paper proposed a limited incident dataset method based on data augmentation. Firstly, in terms of data processing, by applying percentage scaling and random dithering to the original data and combining it with GAN to generate new data, the training dataset was effectively extended, solving the problem of insufficient sample size. Then, in the selection and training of the intelligent model, an LSTM neural network model with an attention mechanism (ATT-LSTM) is introduced. By applying the attention mechanism in each time step, the model can dynamically adjust the degree of attention to different parts of the sequence and better capture the key information in the data, which improve the accuracy of the recognition and the generalization ability of the model. By testing the trained model on field data, the test results show that the method achieves more significant performance improvement on the stuck pipe recognition task, and the prediction accuracy of the intelligent model increases by 21.31% after data enhancement.
Lost circulation is a major challenge in the drilling process, which seriously restricts the safety and efficiency of drilling. The traditional monitoring model is hindered by the presence of noise and the complexity of temporal fluctuations in lost circulation data, resulting in a suboptimal performance with regard to accuracy and generalization ability, and it is not easy to adapt to the needs of different working conditions. To address these limitations, this study proposes a multi-scale feature fusion model based on wavelet transform and TimeGAN. The wavelet transform enhances the features of time series data, while TimeGAN (Time Series Generative Adversarial Network) excels in generating realistic time series and augmenting scarce or missing data. This model uses convolutional network feature extraction and a multi-scale feature fusion module to integrate features and capture time sequence information. The experimental findings demonstrate that the multi-scale feature fusion model proposed in this study enhances the accuracy by 8.8%, reduces the missing alarm rate and false alarm rate by 12.4% and 6.2%, respectively, and attains a test set accuracy of 93.8% and precision of 95.1% in the lost circulation identification task in comparison to the unoptimized model. The method outlined in this study provides reliable technical support for the monitoring of lost circulation risk, thereby contributing to the enhancement of safety and efficiency in the drilling process.