Oil well working condition intelligent fusion monitoring method, system, equipment and medium

By integrating multi-parameter features and work map shapes, the machine-produced well big data monitoring model solves the problem of insufficient parameter relationship analysis in oil well working condition monitoring, achieves high-accuracy online monitoring and fault prediction of oil well working conditions, and improves the efficiency of oil well working conditions. Monitor the real-time and effectiveness of the system.

CN118774745APending Publication Date: 2024-10-15PETROCHINA CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202310357310.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-04
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing oil well condition monitoring methods lack analysis of the relationship between various parameters, resulting in low accuracy of judgment results, inability to effectively predict faults and trends, and it is difficult to popularize and apply existing technology on a large scale.

Method used

The multi-parameter characteristic mechanical mining well big data monitoring model is integrated with the mechanical mining well big data monitoring model based on the work map shape. Through data collection, preprocessing and feature analysis, a multi-parameter feature + work map shape large data mining well monitoring model is established. Data fusion monitoring model enables real-time online monitoring of oil well conditions.

Benefits of technology

It improves the accuracy of the judgment results of oil well working condition monitoring, enables fast and convenient online monitoring of oil well working conditions, enhances the ability to predict faults and trend predictions, and provides effective preventive measures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118774745A_ABST
    Figure CN118774745A_ABST
Patent Text Reader

Abstract

The invention discloses an oil well working condition intelligent fusion monitoring method, system, equipment and medium, mechanical production well big data including indicator diagrams, electrical parameters, fault time and the like are obtained through multiple data sources, under the condition that main control factors are known, the obtained big data are subjected to preprocessing, cleaning and statistical work, and the working condition of an oil well is monitored. According to the method, indicator diagram electrical parameter characteristic value sample data and a typical indicator diagram version sample data set are established, then a multi-parameter characteristic and indicator diagram shape mechanical production well big data fusion monitoring model is established, the oil well working condition intelligent monitoring model is called in real time for oil well working condition online monitoring, and the accuracy of a judgment result is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of big data and working condition diagnosis, and specifically to an intelligent fusion monitoring method, system, equipment and medium for oil well working condition. Background Art

[0002] At present, oil production plants still rely mainly on the oil rod pumping system for production, that is, the oil rod string drives the oil pump thousands of meters deep to work and lift the crude oil to the ground. As a high-energy consumption system, if the oil well working conditions cannot be monitored in real time, it will not only cause crude oil production losses, but also pollute the production environment and even endanger the personal safety of front-line workers.

[0003] The existing computer diagnosis methods and artificial intelligence diagnosis methods for oil well conditions at home and abroad are as follows: Priyanka E. et al. studied the fault prediction of oil pipelines, and determined the fault types in oil well pipelines by combining data clustering with time series prediction; Mi Chunjin of Northeast Petroleum University extracted and managed the oil well electrical participation indicator diagram, used the extracted abnormal features as the inspection standard for abnormal working conditions, and designed an abnormal early warning model for oil well conditions based on data mining; Wang Tong et al. of Shenyang University of Technology clustered the characteristic parameters of different working conditions in the oil well production process, and used the improved K-means clustering algorithm to identify the oil well conditions through the window sample similarity factor.

[0004] According to the investigation, the existing oil well working condition monitoring methods mainly include ground dynamometer diagram analysis, downhole dynamometer diagram diagnosis, electrical parameter diagnosis, computer diagnosis and artificial intelligence diagnosis. Among them, the ground dynamometer diagram analysis method has problems such as limited application scope and low accuracy; the downhole dynamometer diagram diagnosis method has high operating costs and cannot be widely promoted and applied. At the same time, the working condition diagnosis function at this stage is only for the current working condition, lacks fault prediction and trend prediction, and cannot propose effective preventive measures.

[0005] With the continuous development of smart oilfield related technologies, artificial intelligence monitoring methods have shown certain real-time and low-consumption characteristics, but there is still a lack of analysis of the relationship between various parameters, which leads to low accuracy of judgment results. Summary of the invention

[0006] The purpose of the present invention is to provide an intelligent fusion monitoring method, system, equipment and medium for oil well operating conditions, so as to overcome the problem in the prior art of lack of analysis on the relationship between various parameters, resulting in low accuracy of judgment results.

[0007] To achieve the above object, the present invention provides the following technical solutions:

[0008] An intelligent fusion monitoring method for oil well operating conditions comprises the following steps:

[0009] S1: Data collection and compilation;

[0010] S2: Establish a sample data set of power diagram electrical parameter characteristic values ​​and a sample data set of typical power diagram plates based on the sorted data;

[0011] S3: A big data monitoring model for machine-generated wells with multiple parameters is established based on the sample data set of characteristic values ​​of power diagram electrical parameters, and a big data monitoring model for machine-generated wells based on power diagram shapes is established based on the sample data set of typical power diagram plates;

[0012] S4: The big data monitoring model of machine-produced wells with multi-parameter characteristics is integrated with the big data monitoring model of machine-produced wells based on the performance diagram shape to obtain a big data fusion monitoring model of machine-produced wells with multi-parameter characteristics and performance diagram shape.

[0013] Preferably, the data acquisition sources in S1 are:

[0014] TD time series database, oilfield intelligent well system and well repair and pump inspection data in the well repair and pump inspection reports of each unit.

[0015] Preferably, the establishment of the power diagram electrical parameter characteristic value sample data set is specifically as follows:

[0016] The Pearson and Spearman algorithms are used to conduct correlation analysis on the factors that have been identified to affect the operating conditions, namely production time, production conditions, interval system, well opening rate, stroke, stroke frequency, power diagram, and electrical parameters. By measuring linearity and monotonicity, redundant linear features are deleted, the dimension of data input into the classification model is reduced, and a sample data set of power diagram and electrical parameter eigenvalues ​​is established.

[0017] Preferably, the typical work diagram sample data set is established as follows:

[0018] According to the diagnosis results of the intelligent oil well system of the oil production plant, the sample power diagrams of historical operating conditions were selected. At the same time, combined with the well repair and pump inspection records of each plant, a total of 10 typical fault power diagram sample data were collected, including pump sticking, floating valve leakage, fixed valve leakage, double valve leakage, gas influence, gas lock, insufficient liquid supply, severe insufficient liquid supply, and cylinder derailment. The image binarization was used to perform grayscale processing on the indicator diagram to reduce the model calculation speed and establish a typical power diagram sample data set.

[0019] Preferably, the XGBoost computer learning algorithm is used to establish the multi-parameter feature machine-generated well big data monitoring model.

[0020] Preferably, the establishment of a big data monitoring model for machine-produced wells based on the shape of the work diagram is specifically as follows:

[0021] According to the collected sample data of production time, production conditions, interval opening system, opening rate, stroke, stroke frequency, power diagram, and typical power diagram of electrical parameters, the power diagram was gray-processed by image binarization, and divided into training set and test set in the ratio of 8:2. The data were input into the convolutional neural network model for modeling, and the big data monitoring model of machine-drilled wells based on the shape of the power diagram was obtained.

[0022] Preferably, the machine-produced well big data monitoring model based on the work diagram shape consists of an input layer, 17 convolutional layers, a fully connected layer and an output layer.

[0023] An intelligent fusion monitoring system for oil well operating conditions, based on the above method, is characterized by comprising:

[0024] Arrangement module: used for data collection and arrangement;

[0025] Dataset module: used to establish a sample data set of power diagram electrical parameter characteristic values ​​and a sample data set of typical power diagram plates based on the sorted data;

[0026] Model building module: used to establish a multi-parameter characteristic machine-drained well big data monitoring model based on the power diagram electrical parameter characteristic value sample data set, and to establish a machine-drained well big data monitoring model based on the power diagram shape based on the typical power diagram plate sample data set;

[0027] Fusion module: used to integrate the multi-parameter feature machine-drained well big data monitoring model with the machine-drained well big data monitoring model based on the performance diagram shape to obtain the machine-drained well big data fusion monitoring model of multi-parameter feature + performance diagram shape.

[0028] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0029] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0030] Compared with the prior art, the present invention has the following beneficial effects: the present invention provides an intelligent fusion monitoring method for oil well operating conditions, which obtains big data of machine-produced wells through multiple data sources, including power diagrams, electrical parameters, fault time, etc., and pre-processes, cleans and statistically analyzes the acquired big data when the main control factors are known, establishes sample data of power diagram and electrical parameter characteristic values ​​and sample data sets of typical power diagram plates, and then establishes a multi-parameter feature + power diagram shape machine-produced well big data fusion monitoring model, realizes real-time calling of the intelligent monitoring model of oil well operating conditions to perform online monitoring of oil well operating conditions, and improves the accuracy of the judgment results.

[0031] Furthermore, the present invention provides an intelligent fusion monitoring system for oil well operating conditions, which can use the above method quickly and conveniently. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 This is a flow chart of an intelligent fusion monitoring method for oil well working conditions of the present invention;

[0033] Figure 2 It is a multi-source data acquisition approach diagram of the present invention;

[0034] Figure 3 is a grayscale image of the card pump of the present invention;

[0035] Figure 4 It is the error grayscale image of the work map of the present invention;

[0036] Figure 5 It is the grayscale image of insufficient liquid supply of the present invention;

[0037] Figure 6 It is the calculation result of the confusion matrix of the SVM support vector machine model algorithm of the present invention;

[0038] Figure 7 It is the calculation result of the confusion matrix of the Logistic Regression model algorithm of the present invention;

[0039] Figure 8 It is the calculation result of the confusion matrix of the XGBoost model algorithm of the present invention;

[0040] Fig. 9 It is the multi-parameter feature + work diagram shape machine-drilling well big data fusion monitoring model of the present invention. DETAILED DESCRIPTION

[0041] The present invention is further described in detail below in conjunction with specific embodiments, which are intended to explain the present invention rather than to limit it.

[0042] like Figure 1 An embodiment of the present invention patent shown in the figure provides an intelligent fusion monitoring method for oil well working conditions based on big data analysis, the method comprising:

[0043] S1: Data collection and compilation.

[0044] The data generated during the oil well production process is multi-source real-time data, such as Figure 2 As shown, the data acquisition sources are:

[0045] TD time series database, intelligent oil well system of oil field and well repair and pump inspection data in each unit’s well repair and pump inspection report. Since the data is retrieved from multiple systems and there are a large number of repeated and non-corresponding key-value pairs in each data table, data preprocessing is very important.

[0046] The main steps of data preprocessing include: ① preliminary cleaning and key-value matching of the original data; ② the describe method is used to identify and clean the outliers, formulate data assignment rules, and use the single well as the primary key to perform association calculation on the fault data to determine the set of fault influencing factors. Table 1 is the set of fault data influencing factors, as shown in Table 1; ③ For some missing null values, the upper and lower mean methods are used to fill them. For long sections with a large amount of vacant data, the previous thousands of rows of existing data are used to train the prediction model; ④ Data normalization processing.

[0047] Table 1

[0048] Serial number name unit Minimum Maximum average value 1 Maximum load line value KN 6.56 83.11 36.19 2 Minimum load line value KN 0.65 58.32 21.65 3 Average load difference KN 0.58 70.91 14.54 4 Load difference between upper and lower ends KN 0.72 77.11 15.99 5 Down stroke effective stroke m 0.00 2.92 0.92 6 Maximum uplink power KW -7.01 32.57 4.14 7 Maximum downlink power KW -6.96 15.71 3.83 8 Uplink average power KW -7.76 9.00 2.25 9 Uplink average power KW -8.14 8.53 1.52 10 Power balance -7.50 9.75 1.28 11 Average power balance -437.00 493.00 0.97 12 Power consumption per stroke W.h 0.00 568.31 127.62 13 Average active power KW -7.92 5.54 1.90 14 RMS Power KW 0.00 23.27 2.64 15 Maximum load line value / maximum load 0.01 1.00 0.98 16 Minimum load line value / minimum load 1.00 1.90 1.03 17 Average load difference / maximum load line value 0.13 0.91 0.39 18 Average load difference / minimum load line value 0.02 9.54 0.75 19 bandwidth 0.09 9.64 2.00 20 stroke m 1.81 2.97 2.57 21 Rush <![CDATA[min -1 ]]> 2.16 3.87 2.94

[0049] A comprehensive comparison of the potential mapping relationships of existing single well dynamic and static data, reservoir data, injection and production data, and oil well operating conditions. Analysis of power diagram characteristic parameters: For the collected power diagram data, key characteristic parameters such as load and displacement are established, mainly including a total of 18 parameters such as maximum load, minimum load, average load difference, upper and lower end point load difference, and effective stroke (Table 2).

[0050] Analysis of electrical parameter characteristic parameters: Based on the collected electrical parameter data, the key characteristic parameters of electrical parameters are established, mainly including: cycle characteristic parameters: maximum power, minimum power, average power factor, average voltage, average current, average power, etc., a total of 14 parameters; up and down stroke characteristic parameters: maximum current, minimum current, average current, maximum power, minimum power, etc., a total of 12 items (Table 3).

[0051] Table 2

[0052] Serial number name symbol unit Data Source 1 Maximum load Fmaxp KN Ground power map data 2 Minimum load Fmin KN Ground power map data 3 Average load Fup KN Ground power map data 4 Lower average load Fdown KN Ground power map data 5 Average load difference DFMN KN Ground power map data 6 stroke S m Ground power map data 7 Rush N / min Ground power map data 8 Power diagram area PhD KN*m Ground power map data 9 Power diagram production QGT <![CDATA[m 3 / d]]> Ground power map data 10 Effective stroke Sp m Ground power map data 11 Left end point of the work diagram PL m Ground power map data 12 Right end point of the work diagram PR m Ground power map data 13 Fixed valve opening point Pso m Ground power map data 14 Fixed valve closing point Psc m Ground power map data 15 Swimming Vale Opening Point Pt m Ground power map data 16 Swimming Vale Closure Point Ptc m Ground power map data 17 The empty area in the upper right corner of the work diagram Aru KN*m Ground power map data 18 The empty area in the lower right corner of the work diagram Ard KN*m Ground power map data

[0053] Table 3

[0054]

[0055] According to the collected fault sample data, there are abnormal data (stroke & stroke frequency is extremely large, load power suddenly becomes 0, inf, etc.), and the dropna() method in Pandas is used to delete these abnormal data. According to the analysis of the characteristic data, four characteristic values ​​are introduced at the same time, namely, maximum load line value / maximum load, minimum load line value / minimum load, average load difference / maximum load line value, and average load difference / minimum load line value. The 21 parameters with relatively more characteristic values ​​and representing the characteristics of oil well operation are selected, as shown in Table 4.

[0056] Table 4

[0057] Serial number name unit Minimum Maximum average value 1 Maximum load line value KN 6.56 83.11 36.19 2 Minimum load line value KN 0.65 58.32 21.65 3 Average load difference KN 0.58 70.91 14.54 4 Load difference between upper and lower ends KN 0.72 77.11 15.99 5 Down stroke effective stroke m 0.00 2.92 0.92 6 Maximum uplink power KW -7.01 32.57 4.14 7 Maximum downlink power KW -6.96 15.71 3.83 8 Uplink average power KW -7.76 9.00 2.25 9 Uplink average power KW -8.14 8.53 1.52 10 Power balance -7.50 9.75 1.28 11 Average power balance -437.00 493.00 0.97 12 Power consumption per stroke W.h 0.00 568.31 127.62 13 Average active power KW -7.92 5.54 1.90 14 RMS Power KW 0.00 23.27 2.64 15 Maximum load line value / maximum load 0.01 1.00 0.98 16 Minimum load line value / minimum load 1.00 1.90 1.03 17 Average load difference / maximum load line value 0.13 0.91 0.39 18 Average load difference / minimum load line value 0.02 9.54 0.75 19 bandwidth 0.09 9.64 2.00 20 stroke m 1.81 2.97 2.57 21 Rush / min 2.16 3.87 2.94

[0058] The importance of each influencing factor in Table 4 under data mining algorithms such as Pearson correlation coefficient method and Spearman correlation coefficient method is ranked, and the numerical matrix results of the two correlation analysis algorithms are combined to select and delete one of the features with extremely strong correlation (>0.8), and take one of the average load difference / maximum load line value and the average load difference / minimum load line value, the average load difference and the upper and lower endpoint load difference, the uplink maximum power and the uplink average power, and the downlink maximum power and the downlink average power. Considering that the average value can represent the overall characteristics, the average load difference / maximum load line value, the average load difference, the uplink average power, and the downlink average power are used as representative values ​​in pairs, and the average load difference / minimum load line value, the upper and lower endpoint load difference, the uplink maximum power, and the downlink maximum power features are deleted; at the same time, combined with the importance of each feature of XGBoost, the bandwidth, minimum load line value / minimum load, and average load difference / minimum load line value features are very weak in importance and are redundant features. These three features are deleted at the same time to achieve the purpose of reducing redundancy and reducing dimensionality.

[0059] Table 5 shows the 15 feature parameters that are finally retained after deleting redundant features.

[0060] Table 5

[0061] Serial number name unit Minimum Maximum average value 1 Maximum load line value KN 6.56 83.11 36.19 2 Minimum load line value KN 0.65 58.32 21.65 3 Average load difference KN 0.58 70.91 14.54 4 Down stroke effective stroke m 0.00 2.92 0.92 5 Uplink average power KW -7.76 9.00 2.25 6 Uplink average power KW -8.14 8.53 1.52 7 Power balance -7.50 9.75 1.28 8 Average power balance -437.00 493.00 0.97 9 Power consumption per stroke W.h 0.00 568.31 127.62 10 Average active power KW -7.92 5.54 1.90 11 RMS Power KW 0.00 23.27 2.64 12 Maximum load line value / maximum load 0.01 1.00 0.98 13 Average load difference / maximum load line value 0.13 0.91 0.39 14 stroke m 1.81 2.97 2.57 15 Rush / min 2.16 3.87 2.94

[0062] S2: Establish a sample data set of power diagram electrical parameter characteristic values ​​and a sample data set of typical power diagram plates.

[0063] (1) Establishment of sample data set of power diagram electrical parameter characteristic values

[0064] By measuring linearity and monotonicity, redundant linear features can be deleted, reducing the dimension of data input to the classification model, as shown in Table 6. After deleting the linear redundant features, the factor set is divided into a training set and a test set in a ratio of 8:2. Table 7 shows the number of training and testing for different working conditions.

[0065] Table 6

[0066]

[0067] Table 7

[0068] Label Working condition type Total number of samples Number of training sets Number of test sets 0 Severe lack of fluid supply 6517 5179 1338 1 Severe gas impact 4148 3335 812 2 Insufficient fluid supply 6462 5211 1251 3 Double Valve Missing 1651 1320 331 4 Fixed Valer malfunction 4497 3578 919 5 Fixed Valve Leakage 47 36 11 6 Sucker rod broken 1640 1319 321 7 Gas Effect 5121 4108 1013 8 Oil pipe leakage 3382 2684 698 9 The swimming valve is out of order 2138 1701 437 10 Mobile Valve Loss 645 527 118

[0069] (2) Establishment of a sample dataset of typical functional diagrams

[0070] The core of using computer programs to identify and diagnose dynamometer diagrams is to select and extract the characteristic quantities that best reflect the shape information of the dynamometer diagram through the shape characteristics of the dynamometer diagram, so as to quickly and accurately identify the dynamometer diagram and analyze and judge the working condition of the entire oil well production system.

[0071] In the RGB model, if R=G=B, the color represents a grayscale color, where the value of R=G=B is called the grayscale value. Therefore, each pixel of the grayscale image only needs one byte to store the grayscale value (also known as intensity value, brightness value). The grayscale range is 0-255. When the grayscale is 255, it represents the brightest (pure white); when the grayscale is 0, it represents the darkest (pure black). The benefits of grayscale are that grayscale images take up less memory and run faster than color images; grayscale images can increase visual contrast and highlight the target area.

[0072] Based on the diagnosis results of intelligent oil well systems in some oil production plants and the experience of experts, the sample power diagrams of historical working conditions were selected. At the same time, combined with the well repair and pump inspection records of each plant, a total of 8 typical fault power diagram sample data were collected, including pump sticking, floating valve leakage, fixed valve leakage, double valve leakage, gas impact, insufficient liquid supply, severe insufficient liquid supply, and cylinder separation. Figure 3-5 ), and use image binarization to grayscale the dynamometer diagram to reduce the model calculation speed. Finally, an intelligent library of various working conditions is formed.

[0073] S3: Integrate the XGBoost multi-parameter feature big data monitoring model with the CNN performance graph shape monitoring model to realize the multi-parameter feature + performance graph shape machine-drilled well big data fusion monitoring model, and then monitor the oil well operating conditions.

[0074] (1) Establishing a big data monitoring model for mechanical wells based on multi-parameter features

[0075] In the actual production process on site, complex working conditions occur in a small number of oil wells, but they seriously affect the normal production of oil wells. Misjudging some of the existing small number of complex working condition wells as normal production wells will not significantly affect the overall accuracy of the diagnosis model, but only reduce the recall rate of the corresponding working conditions. Therefore, in addition to the overall accuracy, the recall rate of complex working conditions is also an important indicator for measuring the performance of the working condition diagnosis model. The recall rate reflects the ability to check all the complex working conditions that have occurred. The larger the value, the more accurately it can judge all the oil wells with complex working conditions, and take maintenance measures in time, which is of great significance for ensuring production. In order to better obtain the fault classification model, several mainstream classification models are trained using the established training set, and the evaluation indicators of different classification models are verified using the test set, and the best model is further selected as the final model.

[0076] ①SVM support vector machine: The monitoring training set is calculated using the support vector machine regression multi-classification model algorithm, and the test set data is used for verification. The selection of the support vector machine penalty coefficient C and the radial basis function kernel parameter γ plays an important role in the construction of the support vector machine. The selection of a suitable combination of the penalty coefficient C and the radial basis function kernel parameter γ can improve the classification accuracy of the SVM. In this paper, by changing the C value and the γ value, different classification effects will be obtained. When the grid search is used to obtain the optimal model parameter values ​​C = 10, γ = 0.01, the classification accuracy is the highest, reaching 96.36%. The experimental conclusion is that when the same kernel function type is selected, the effect of the support vector machine in the classification of oil pumping conditions can be improved by optimizing the kernel function parameter values ​​C and γ. However, there is no certain rule for the selection of parameters. Only through multiple attempts, selecting different parameter combinations, and comparing the test results can better classification results be obtained. The confusion matrix calculation results of the SVM support vector machine model algorithm on the test set are shown in the figure. Figure 6 Table 8 shows the results of various evaluation indicators.

[0077] Table 8

[0078]

[0079] ②Logistic Regression

[0080] The Logistic Regression multi-classification model algorithm is used to calculate the monitoring training set and the test set data is used for verification. The multi_class parameter in the LogisticRegression model is defined as multinomial, the solver is defined as lbfgs, and the regular intensity derivative (C) is 10. The confusion matrix calculation results on the test set are as follows: Figure 7 Table 9 shows the results of various evaluation indicators.

[0081] Table 9

[0082] ③XGBoost

[0083] The XGBoost regression multi-classification model algorithm is used to calculate the monitoring training set and verified using the test set data. The booster_class parameter in the XGBoost model is defined as 'gbtree', the objective is defined as 'multi:softmax', the number of categories num_class is 10, gamma is 0.1, the tree depth max_depth is 12, the L2 regularization parameter lambda is 2, the random sampling training sample subsample is 0.7, min_child_weight is 1, the learning rate is 0.001, and the number of CPU threads is 7. The confusion matrix calculation results on the test set are as follows Figure 8 Table 10 shows the results of various evaluation indicators.

[0084] Table 10

[0085] Table 11 is the analysis result of comparing SVM support vector machine, Logistic Regression logistic regression, and XGBoost fault monitoring, as shown in Table 11. From the comparative analysis between the accuracy and recall rate in Table 11, it can be found that the accuracy result of XGBoost is better than other models. According to comprehensive evaluation in various ways, a big data monitoring model for well production based on XGBoost learning algorithm-multi-parameter feature machine is established.

[0086] Table 11

[0087] Model Category Accuracy Recall SVM 89.45% 88.82% Logistic Regression 45.45% 39.73% XGBoost 91.55% 91.00%

[0088] (2) Establishing a big data monitoring model for machine-generated wells based on the shape of the work diagram

[0089] As can be seen from Table 10, the recall rate of working conditions such as “fixed valve leakage” is low. Therefore, a big data monitoring model for machine-drilled wells based on the work diagram shape is established again to improve the accuracy of oil well working condition monitoring.

[0090] According to the collected sample data of 8 typical power diagrams, the grayscale of the power diagram is processed by image binarization, divided into training set and test set in the ratio of 8:2, and input into the convolutional neural network model for modeling. Table 12 shows the distribution of working condition samples in the sample data set of typical power diagrams.

[0091] Table 12

[0092]

[0093] According to the training set of the converted grayscale power diagram as the input layer, the diagnosis probability of 8 different working conditions is used as the output, and the residual neural network (ResNet-18) is combined to establish a working condition diagnosis model to diagnose the power diagram. The model consists of an input layer, 17 convolutional layers, a fully connected layer and an output layer (n different working conditions or trend change types), and different classification indicators are selected to evaluate the model. During the model training process, the number of iterations, batch sample number, learning rate, optimization algorithm, etc. are optimized and analyzed, and finally the corresponding model parameters are selected. Table 13 shows the changes in the accuracy of the final model training set and the test set.

[0094] Table 13

[0095] Serial number Working condition type Accuracy Recall F1 0 Pump is working properly 97.56% 96.32% 96.45% 1 Insufficient fluid supply 94.77% 94.65% 94.58% 2 Gas Effect 94.06% 93.25% 93.68% 3 Severe lack of fluid supply 99.44% 96.32% 96.35% 4 Pump 95.45% 94.26% 94.56% 5 Mobile Valve Loss 95.51% 95.32% 95.26% 6 Fixed Valve Leakage 90.91% 91.24% 90.28% 7 Double Valve Missing 100.00% 100.00% 100.00% 8 Off-barrel 96.93% 95.26% 95.32% 9 average value 96.04% 95.19% 95.21%

[0096] (3) Establish a big data fusion monitoring model for machine-generated wells based on multi-parameter features and performance diagram shapes

[0097] In order to further improve the accuracy of oil well fault diagnosis and cover more fault types, the XGBoost multi-parameter feature big data monitoring model is combined with the CNN power graph shape monitoring model in combination with the hardware configuration in the calculation process to realize the multi-parameter feature + power graph shape machine-drilled well big data fusion monitoring model. Fig. 9 shown.

[0098] The present invention provides an intelligent fusion monitoring system for oil well operating conditions, comprising:

[0099] Arrangement module: used for data collection and arrangement;

[0100] Dataset module: used to establish a sample data set of power diagram electrical parameter characteristic values ​​and a sample data set of typical power diagram plates based on the sorted data;

[0101] Model building module: used to establish a multi-parameter characteristic machine-drained well big data monitoring model based on the power diagram electrical parameter characteristic value sample data set, and to establish a machine-drained well big data monitoring model based on the power diagram shape based on the typical power diagram plate sample data set;

[0102] Fusion module: used to integrate the multi-parameter feature machine-drained well big data monitoring model with the machine-drained well big data monitoring model based on the performance diagram shape to obtain the machine-drained well big data fusion monitoring model of multi-parameter feature + performance diagram shape.

[0103] In another embodiment of the present invention, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here can include both the built-in storage medium in the computer device and the extended storage medium supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the glass channel welding type thermocouple temperature compensation method in the above embodiment.

[0104] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0105] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0106] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0107] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0108] Although the embodiments of the present invention are described above in conjunction with the accompanying drawings, the present invention is not limited to the above-mentioned specific embodiments and application fields, and the above-mentioned specific embodiments are only illustrative and instructive, rather than restrictive. Under the guidance of the specification, a person skilled in the art can make many forms without departing from the scope of protection of the claims of the present invention, all of which belong to the scope of protection of the present invention.

Claims

1. An intelligent fusion monitoring method for oil well operating conditions, characterized in that: The following steps are involved: S1: Data collection and compilation; S2: Establish a sample data set of power diagram electrical parameter characteristic values ​​and a sample data set of typical power diagram plates based on the sorted data; S3: A big data monitoring model for machine-generated wells with multiple parameters is established based on the sample data set of characteristic values ​​of power diagram electrical parameters, and a big data monitoring model for machine-generated wells based on power diagram shapes is established based on the sample data set of typical power diagram plates; S4: The big data monitoring model of machine-produced wells with multi-parameter characteristics is integrated with the big data monitoring model of machine-produced wells based on the work diagram shape to obtain a big data fusion monitoring model of machine-produced wells.

2. The intelligent fusion monitoring method for oil well operating conditions according to claim 1 is characterized in that: The data sources collected in S1 are: TD time series database, oilfield intelligent well system and well repair and pump inspection data in the well repair and pump inspection reports of each unit.

3. The intelligent fusion monitoring method for oil well operating conditions according to claim 1 is characterized in that: The establishment of the power diagram electrical parameter characteristic value sample data set is as follows: The Pearson and Spearman algorithms are used to conduct correlation analysis on the factors that have been identified to affect the operating conditions, namely production time, production conditions, interval system, well opening rate, stroke, stroke frequency, power diagram, and electrical parameters. By measuring linearity and monotonicity, redundant linear features are deleted, the dimension of data input into the classification model is reduced, and a sample data set of power diagram and electrical parameter eigenvalues ​​is established.

4. The intelligent fusion monitoring method for oil well operating conditions according to claim 1 is characterized in that: The establishment of the typical work chart sample data set is as follows: According to the diagnosis results of the intelligent oil well system of the oil production plant, the sample power diagrams of historical operating conditions were selected. At the same time, combined with the well repair and pump inspection records of each plant, a total of 10 typical fault power diagram sample data were collected, including pump sticking, floating valve leakage, fixed valve leakage, double valve leakage, gas influence, gas lock, insufficient liquid supply, severe insufficient liquid supply, and cylinder derailment. The image binarization was used to perform grayscale processing on the indicator diagram to reduce the model calculation speed and establish a typical power diagram sample data set.

5. The intelligent fusion monitoring method for oil well operating conditions according to claim 1 is characterized in that: The XGBoost computer learning algorithm is used to establish the big data monitoring model of multi-parameter feature machine-generated wells.

6. The intelligent fusion monitoring method for oil well operating conditions according to claim 1 is characterized in that: The establishment of the big data monitoring model of machine-produced wells based on the shape of the work diagram is as follows: According to the collected sample data of production time, production conditions, interval opening system, opening rate, stroke, stroke frequency, power diagram, and typical power diagram of electrical parameters, the power diagram was gray-processed by image binarization, and divided into training set and test set in the ratio of 8:

2. The data were input into the convolutional neural network model for modeling, and the big data monitoring model of machine-drilled wells based on the shape of the power diagram was obtained.

7. The intelligent fusion monitoring method for oil well operating conditions according to claim 6 is characterized in that: The big data monitoring model of machine-drained wells based on the shape of the work diagram consists of an input layer, 17 convolutional layers, a fully connected layer and an output layer.

8. An intelligent fusion monitoring system for oil well working conditions, based on an intelligent fusion monitoring method for oil well working conditions according to any one of claims 1 to 7, characterized in that: include: Arrangement module: used for data collection and arrangement; Dataset module: used to establish a sample data set of power diagram electrical parameter characteristic values ​​and a sample data set of typical power diagram plates based on the sorted data; Model building module: used to establish a multi-parameter characteristic machine-drained well big data monitoring model based on the power diagram electrical parameter characteristic value sample data set, and to establish a machine-drained well big data monitoring model based on the power diagram shape based on the typical power diagram plate sample data set; Fusion module: used to integrate the multi-parameter feature machine-drained well big data monitoring model with the machine-drained well big data monitoring model based on the performance diagram shape to obtain the machine-drained well big data fusion monitoring model of multi-parameter feature + performance diagram shape.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the intelligent fusion monitoring method for oil well operating conditions as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of an intelligent fusion monitoring method for oil well operating conditions as described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Pumping unit fault intelligent detection system

    CN119179960A

  • Oil well equipment state evaluation method based on machine vision

    CN120218900A

  • Oil well indicator diagram real-time fault prediction method and system

    CN121092974A