1.1. Research Background
During the production of sucker rod wells, where equipment, such as rods and pumps, works continuously, the inflow and outflow dynamics near the wellbore will change over time. The equipment and fluid flow status is influenced by complex factors, which cause various working conditions to occur during the artificial lifting. Down-hole working conditions can be monitored in real-time by the dynamometer, which provides dynamometer cards. The dynamometer card, which consists of load and displacement, reflects the different working conditions. Based on the real-time monitoring of working conditions, technicians can quickly understand the current production status of oil wells. However, when the technician uses real-time monitoring to identify a fault, it usually either began or occurred at a previous time in the oil well. If so, the time when technicians adjust production strategies usually lags behind when the fault occurs. Warnings about working conditions can be used to identify a potential fault occurring in the future. It can help alert technicians in advance and shorten the interval between the occurrence of the fault and the implantation of corrective measures. It is of great significance for safety and efficient well production.
During normal production, the working conditions are usually stable. When there is an abnormality, the shape of the down-hole dynamometer cards will change gradually. When the change reaches a certain degree, it will be labeled as a fault. The working condition changes of some wells are shown in
Figure 1.
Figure 1 shows the progressive changes in four abnormal working conditions, including the liquid pound, gas effect, pump hitting down, and standing valve leakage. It can be seen that the faults become increasingly significant over time. In this process, the position and shape of a dynamometer card changes with the change in working conditions. It also means that the load and displacement of each point on the dynamometer card change jointly. It is not necessary to focus on all points on the dynamometer card when the working conditions change. By extracting the load, displacement, and geometric parameters (hereinafter referred to as the characteristic parameters) of the key points and areas [
1,
2], the dynamometer card features used for working conditions recognition can be simplified. By predicting the change in characteristic parameters, it is possible to predict the working conditions over time.
In general, future working conditions are predictable. During a working conditions warning process, there are three important tasks that need to be completed. First, set up the mapping relationship between characteristic parameters and working conditions. Second, accurately find the change rules of the characteristic parameters over a continuous time. Third, set up the working conditions warning method based on the mapping relationship and prediction results.
1.2. Related Works
Real-time diagnosis of working conditions based on dynamometer cards is the foundation for studying working conditions warnings. Traditional methods integrated statistical analysis of expert experience to match it with working conditions, which is easy to understand but highly subjective [
3,
4]. By calculating key features in the dynamometer cards, such as peak and valley loads, valve opening and closing point positions, and so on, typical working conditions can also be matched with them, thereby forming recognition rules [
5]. Similarly, geometric features, grayscale matrices, and Fourier descriptors can also serve as the basis for forming recognition rules [
6,
7]. In recent years, with the development of machine and deep learning, research on the automation and intelligence recognition of dynamometer cards has become increasingly rich. Based on interpretable key characteristic parameters of dynamometer cards, some algorithms have been used to generate structured data classification [
8]. Jinze Liu et al. (2021) used an improved Fourier descriptor for feature extraction and utilized the support vector machine (SVM) as the model to classify faults [
9]. Considering the occurrence probabilities of different faults, Xiaoxiao Lv (2021) proposed evolutionary SVM methods [
10]. Tianqi Chen (2016) proposed the Xgboost model, which has strong generalization ability for structured data modeling [
11]. Lu Chen et al. (2021) used it as an effective method for fault recognition as well [
12]. Compared with traditional machine learning methods, artificial neural networks are more flexible and widely used in fault recognition [
13]. Yanbin Hou et al. (2019) and Tong Xu et al. (2019) used extreme learning machines [
14,
15] and RBF neural networks for fault recognition in dynamometer cards. Convolutional neural networks (CNN) have strong image recognition capability [
16], and it is feasible to use CNN for fault recognition when the dynamometer cards are viewed as unstructured data, such as images [
17]. With further research, researchers have noticed that insufficient samples lead to a decrease in the accuracy of fault recognition. Kai Zhang et al. (2022) effectively solved the fault recognition problem with small samples by using Meta-transfer learning [
18]. Xiang Wang et al. (2021) oversampled the categories with fewer samples to solve the class imbalance problem in dynamometer card recognition [
19], but it was prone to overfitting. Chengzhe Yin et al. (2023) used the Conditional Generative Adversarial Neural Network (CGAN) to generate dynamometer cards and enhanced the diversity of generated samples [
20]. In this way, the recognition performance of the categories with fewer samples can be improved further.
The existing research about real-time working conditions diagnosis covers various aspects, including data, features, and models. Whether it is structured data, such as key characteristic features, or unstructured data, such as images, the working conditions of oil wells can be reflected accurately. From machine learning to deep learning, various diagnostic models can solve many complex problems. These research results provide rich references for working conditions warnings.
Warnings about working conditions are based on real-time diagnosis. It can predict the future production status of sucker rod wells. However, the features used to describe future working conditions are usually unknown. Therefore, the recognition of future working conditions is more difficult. Shaoqiang Bing (2019) proposed a comprehensive index related to wax deposition and used LSTM to predict the degree of wax deposition quantitatively [
21]. Lin Xia et al. (2020) used LSTM and CNN to predict the trend in the dynamometer card shape over time [
22]. Hui Tian et al. (2021) extracted the dynamometer card features by CNN to predict the occurrence time of severe paraffin problems [
17]. Chaodong Tan et al. (2022) used the dynamometer card image and electrical features to predict the wax accumulation level through LSTM [
23]. In other industrial fields, there are also some fault warnings research results worth learning from. Mathis Riber Skydt et al. (2021) defined three severity levels of power grid states and classified time series by data augmentation and LSTM [
24]. Yulei Yang et al. proposed a novel method based on SAE-LSTM to excavate features highly related to time series data, which can warn of defects 85 h in advance compared with the traditional threshold warning method [
25]. Congzhi Huang et al. (2024) proposed a dual warning method considering univariate abnormal detection and multivariate coupling thresholds to learn about coal mill faults in time [
26]. Kuan-Cheng Lin et al. (2024) used LSTM to analyze historical pre-failure information to predict the future status of wind turbine health [
27]. Yunxiao Chen et al. (2024) analyzed the reasons for wind power prediction model failure and used variance to assist Bi-LSTM in 1-h-ahead early warning to solve the problems [
28]. Hongqian Zhao et al. (2024) combined the gated recurrent unit neural network and multi-step ahead prediction scheme to accurately predict the battery voltage 1 min in advance [
29]. In addition, the noise inside the data will affect the model performance during prediction. Na Qu et al. (2020) used discrete wavelet transformation for noise reduction and to decompose electrical signals, which improved the prediction accuracy of fault monitoring on the ENET public dataset [
30]. Jun Ling et al. (2020) used multi-resolution wavelet transformation for noise reduction and fault warning for nuclear power machinery through RNN and Bayesian statistical inference [
31].
The existing research on fault warning is generally based on time series prediction models. In the petroleum field, the warning research of sucker rod wells has mainly focused on a single working condition, and there are few studies on collaborative warnings for multiple working conditions. In other industrial fields, researchers generally predict faults from key signal data related to the specific field. When the noise in the data has an obvious influence on the prediction performance, it is necessary to reduce the noise and then reconstruct the data. During fault warning, many strategies exist, including category sequence prediction, threshold delineation, and binary classification, based on predicting results in advance. Although these studies focused less on multiple working conditions warnings, they also provided us with many references in terms of data processing and algorithms.
With the help of existing research results, in this paper, we extracted key characteristic parameters from dynamometer cards and used deep learning to predict them. Based on the prediction results, a working conditions warning method was implemented. The main content and innovations are as follows:
First, based on the sequence-to-sequence prediction mode, the time series of multiple characteristic parameters of the dynamometer cards could be predicted.
Second, the influence of noise on the characteristic parameters prediction results was considered in this paper.
Finally, multiple working conditions warning methods of the sucker rod well were proposed based on characteristic parameters prediction.