Well drilling abnormal state intelligent identification method based on multiple working conditions of well drilling

By splitting drilling conditions, building adaptive models, and integrating temporal attention networks, the problem of timeliness and interpretability of drilling abnormal state identification methods is solved, early identification and explanation of drilling risks are achieved, and drilling safety and efficiency.

CN118601540APending Publication Date: 2024-09-06CHINA NATIONAL OFFSHORE OIL (CHINA) CO LTD +1
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
CN202410805982.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing drilling abnormal state identification methods have problems of poor timeliness, poor interpretability and poor stability. It is difficult to effectively identify and predict drilling risks, affecting drilling safety and efficiency.

Method used

By splitting the drilling conditions into multiple states, automatically cleaning the data and building an adaptive threshold model, screening key logging parameters, establishing a variety of intelligent model libraries, and integrating the temporal attention network and anomaly explanation modules to achieve abnormal drilling states. intelligent identification and interpretation.

Benefits of technology

It improves the accuracy and interpretability of identifying abnormal drilling conditions, enables early identification and explanation of abnormal conditions, effectively avoids drilling accidents, and improves drilling safety and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118601540A
    Figure CN118601540A
Patent Text Reader

Abstract

The invention discloses a well drilling abnormal state intelligent identification method based on multiple well drilling working conditions, and the method comprises the following steps: splitting a well drilling working condition into a plurality of well drilling states; automatically cleaning data, and automatically smoothing abnormal values through a filtering algorithm; constructing a drilling working condition-state recognition model, and adjusting the model into a big data driven adaptive threshold value; screening key logging parameters; establishing different drilling working condition-state model libraries; fusing a time sequence attention network; and establishing an exception explanation module. According to the method, on the basis of working condition identification in the whole drilling process and capture of risk characterization by the intelligent model, an abnormal state identification result has interpretability, drilling risks possibly occurring in the future can be effectively predicted, abnormal working conditions can be identified and explained in the early stage, and subsequent drilling accidents are effectively avoided. The problems of poor timeliness, poor interpretability and poor stability of a well drilling risk prediction method are solved, so that well drilling risk related problems are more reasonably and clearly solved, and safe, excellent and fast well drilling is assisted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of drilling state identification methods, and in particular relates to an intelligent identification method for abnormal drilling states based on multiple drilling working conditions. Background Art

[0002] Oil drilling plays a vital role in the field of oil and gas exploration and development. As the geological conditions of the exploration objects become more and more complex and the reservoir structures become more and more diverse, the lack of knowledge about the underground and formations has led to an increase in abnormal conditions in drilling operations, and even caused drilling accidents, which seriously affected the drilling efficiency and construction progress. In this context, only by timely identifying and interpreting the drilling anomaly in the early stage can the subsequent drilling accidents be effectively avoided. Therefore, an efficient intelligent identification method for drilling abnormality is urgently needed.

[0003] At present, the risk warning methods used in oil and gas well sites mainly rely on expert judgment, which has certain limitations in timeliness and accuracy. In recent years, with the rapid development of artificial intelligence technology, the application of intelligent algorithms and models in the field of oil drilling has gradually become a trend. Intelligent algorithms such as random forests and artificial neural networks have obvious advantages over traditional manual analysis and can significantly improve analysis efficiency and accuracy. However, the above intelligent algorithms still have shortcomings, mainly manifested in poor interpretability and poor stability. Poor interpretability is manifested in that some judgment results of the model are unreasonable but the reasons cannot be traced, making it difficult to improve the model; poor stability is manifested in poor model transferability, and there are large differences in the discrimination effects in multiple wells. It is difficult to meet actual needs in actual field applications.

[0004] Therefore, we urgently need a new method for identifying abnormal drilling conditions that can take into account multiple working conditions and select different intelligent models according to the characteristics of different working conditions, which will help improve drilling safety, reduce the risk of accidents, and provide more reliable and advanced technical support for the field of oil exploration and development. Summary of the invention

[0005] The problem to be solved by the present invention is to provide a method for intelligently identifying abnormal drilling conditions based on multiple drilling conditions. The method can significantly improve the accuracy of identifying abnormal drilling conditions, effectively solve the problems of poor timeliness and poor interpretability of drilling risk prediction, reduce drilling risks, and ensure safe and efficient drilling.

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: a method for intelligently identifying abnormal drilling conditions based on multiple drilling conditions, comprising the following steps:

[0007] S1: Split the drilling condition into multiple drilling states;

[0008] S2: Automatic data cleaning, automatic smoothing of outliers through filtering algorithms;

[0009] S3: Build a drilling condition-state recognition model and adjust it to an adaptive threshold driven by big data;

[0010] S4: Screening of key logging parameters;

[0011] S5: Establish different drilling conditions-state model libraries;

[0012] S6: Fusion Temporal Attention Network;

[0013] S7: Establish an abnormality explanation module.

[0014] Furthermore, in S1, based on the well site data, multi-source data of drilling and completion design, and literature and information related to abnormal drilling risks, the drilling conditions are split and divided into multiple dimensions and levels, and the drilling conditions are refined into multiple drilling states. The well site data and multi-source data of drilling and completion design include various well depths, well types, and well types covering multi-block exploratory wells, development wells, adjustment wells, vertical wells, conventional directional wells, and horizontal wells; the literature and information related to abnormal drilling risks include literature, books, expert opinions, and drilling data manuals related to drilling engineering and drilling risks.

[0015] Further, the S2 comprises the following steps:

[0016] S21: performing data preprocessing on the collected well site data and drilling and completion design multi-source data, wherein the data preprocessing includes removing duplicate values, processing missing values, and converting data types;

[0017] S22: Perform filtering processing by using a filtering algorithm, wherein the filtering algorithm includes moving average filtering, median filtering, Kalman filtering, and Fourier transform filtering;

[0018] S23: The processed data is normalized.

[0019] Further, the S3 comprises the following steps:

[0020] S31: Based on the prior knowledge of working condition classification, the long short-term memory neural network intelligent algorithm is used to build a subdivided drilling condition-state recognition model;

[0021] S32: Analyze the key parameters for condition identification and condition conversion characterization, use the gradient boosting algorithm to analyze the sensitivity of each threshold, and quantify the impact of threshold adjustment;

[0022] S33: Use intelligent methods to adjust fixed thresholds and logic in prior knowledge to adaptive thresholds driven by big data.

[0023] Further, the S4 comprises the following steps:

[0024] S41: Selecting features and representations related to drilling conditions from the logging data to form a data set including logging parameters and condition information;

[0025] S42: Filter out key logging parameters from the data set, visualize the distribution of logging parameters under different working conditions, construct a mapping relationship between logging parameter changes and drilling conditions, and filter out different key logging parameters as input features;

[0026] S43: using recursive feature elimination algorithm optimization, drilling conditions are used as target variables and key logging parameters are used as features for model training;

[0027] S44: After training, the recursive feature elimination algorithm gradually eliminates features that contribute little to the target variable based on the model performance, analyzes the results of the recursive feature elimination algorithm, and determines the feature subset that achieves a balance between model performance and computational efficiency as the final key logging parameters.

[0028] Further, the S5 comprises the following steps:

[0029] S51: Build a model library containing multiple different types of intelligent models;

[0030] S52: Evaluate each operating condition model and collect data, use the rule-based decision tree algorithm as the operating condition identification and matching algorithm, use the training set to train the operating condition matching algorithm, where the input is the operating condition characteristics and the output is the optimal intelligent model, and use the test set for evaluation to achieve automatic model selection.

[0031] Furthermore, in the S6, the abnormality detection and recognition capabilities of each model under specific working conditions are enhanced, and the convolutional neural network is integrated into the drilling condition-state recognition model to realize the fusion of the temporal attention mechanism network to construct an intelligent recognition model for abnormal states under various drilling conditions.

[0032] Furthermore, the present invention also provides a device for running the above data processing method.

[0033] Furthermore, the present invention also provides a device, comprising a memory, a processor, and an algorithm stored in the memory and executable on the processor, wherein the processor implements the above-mentioned data processing method when executing the computer program.

[0034] Furthermore, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer algorithm, and the computer algorithm implements the above-mentioned data processing when executed by a processor.

[0035] The advantages and positive effects of the present invention are:

[0036] The present invention sorts out the literature and data related to abnormal drilling risks, and divides the drilling conditions into multiple dimensions and levels. Based on the identification of the working conditions of the whole drilling process and the capture of risk characterization by intelligent models, the abnormal state intelligent identification system can make the abnormal state identification results explainable, effectively predict the drilling risks that may occur in the future, and can identify and explain abnormal conditions at an early stage, effectively avoiding the occurrence of subsequent drilling accidents. This solves the problems of poor timeliness, poor interpretability, and poor stability of the current drilling risk prediction methods, thereby solving the problems related to drilling risks more reasonably and clearly, and facilitating safe, optimal and fast drilling. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is an overall flow chart of an embodiment of the present invention.

[0038] Figure 2 This is a structural diagram of the LSTM neural network of an embodiment of the present invention.

[0039] Figure 3 This is a network architecture diagram of the temporal attention mechanism of an embodiment of the present invention.

[0040] Figure 4 The present invention is a flowchart of a method for constructing an abnormality explanation module according to an embodiment of the present invention. DETAILED DESCRIPTION

[0041] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0043] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0044] The embodiments of the present invention are further described below in conjunction with the accompanying drawings:

[0045] like Figure 1 As shown, a method for intelligently identifying abnormal drilling conditions based on multiple drilling conditions comprises the following steps:

[0046] S1: Split the drilling condition into multiple drilling states.

[0047] First, actual drilling logs and time series historical data are collected from the field for mutual complementation and alignment. The data covers exploration wells, development wells, adjustment wells, vertical wells, conventional directional wells, horizontal wells and other well depths, well types, and well types in multiple blocks, and the data is preprocessed. Preprocessing includes missing value processing, outlier processing, etc. Time series data is used to record the data change trend before and after anomalies and risks. Through detailed time records, the time nodes in the drilling logs are corrected, and through parameter changes, the relevant descriptions in the drilling logs are improved to achieve alignment.

[0048] The above operation realizes the complementary alignment of time series data and drilling logs, thereby improving the authenticity and accuracy of drilling anomalies and risk entities. Then, a multi-dimensional and multi-level splitting plan for drilling conditions is formulated in combination with the pre-collected drilling risk-related literature, drilling manuals, expert opinions and other materials, and the drilling conditions are refined and divided into multiple drilling states. Cluster analysis and association rule mining technology are used to help divide and split. Specifically, the drilling states after the splitting of some drilling conditions are shown in Table 1.

[0049] Table 1 Drilling status after drilling conditions are split

[0050]

[0051] S2: Automatic data cleaning, automatic smoothing of outliers through filtering algorithms.

[0052] First, the collected well site data, drilling and completion design and other multi-source data are preprocessed, including removing duplicate values, processing missing values, converting data types, etc. The filtering algorithms are divided into: moving average filtering, median filtering, Kalman filtering, Fourier transform filtering, etc. In this embodiment, the median filtering algorithm is selected to process the data due to the characteristics of the data to smooth the data. The processed data is normalized to ensure that the numerical range of different features is consistent, which is convenient for the subsequent use of the intelligent model.

[0053] S3: Build a drilling condition-state recognition model and adjust it to a big data-driven adaptive threshold.

[0054] The processed well site data, multi-source data such as drilling and completion design, and the summarized prior knowledge of previous working condition identification, including expert opinions and historical records, are integrated and converted into a codable form, and then incorporated into the model construction process as basic rules. The selected feature parameters are determined based on the prior knowledge of working condition identification and feature extraction, and the multi-source data are classified and marked as the previously classified drilling working condition-state, and the data is divided into a training set and a test set.

[0055] like Figure 2 As shown in the figure, the long short-term memory neural network (LSTM) is a variant of the recurrent neural network, which is particularly suitable for processing sequence data and can effectively capture and learn long-term dependencies in the sequence. Its structure includes: a forget gate, an input gate, an output gate, and neurons.

[0056] Among them, the forget gate determines which information should be forgotten and which information is useless. t-1 and the current input x t The combination of outputs a value between 0 and 1 to each cell state C t-1 1 represents "completely retained" and 0 represents "completely forgotten".

[0057] The input gate determines what new information is stored in the cell state. It consists of two parts, a sigmoid layer that determines which values ​​we are going to update, and a tanh layer that creates a new candidate value vector. It can be added to the state.

[0058] Neurons It is the core of LSTM, which runs on the entire chain with only a few linear interactions. Its role is to keep information flowing with fewer changes and maintain long-term status.

[0059] The output gate determines the next hidden state h t , the hidden state contains information about previous inputs and is used for prediction or decision making.

[0060] The hidden state is obtained by multiplying the cell state through the tanh process (compressing the value to between -1 and 1) and then multiplying it by the output of a sigmoid gate, so that only the part we decide to output is output. The three gates control the flow of information, allowing LSTM to decide when to forget, when to add new information, and when to output information. Neurons are used to store information in a sequence, and their state can be updated and adjusted during the processing of the entire sequence. The key to LSTM lies in the memory cells and gating mechanism, which enables it to better process sequence data, capture long-term dependencies, and is suitable for a wide range of sequence data processing tasks.

[0061] The long short-term memory network (LSTM) neural network intelligent algorithm is used to analyze multi-source data and learn and refine the working condition judgment rules. By reading the working condition data set, the key parameters for working condition identification and working condition conversion characterization are analyzed, and then a threshold is selected in the model and its value is gradually changed. For each threshold change, a series of evaluation indicators such as accuracy, recall rate, F1 score, etc. are used to evaluate the change in model performance, and the relationship between the threshold and the performance indicator is plotted to observe how the performance changes with the threshold, so as to analyze the sensitivity of each threshold. In addition, regression analysis is used to establish a relationship model between the threshold and the performance indicator. Through this model, it is possible to predict how the performance indicator will change when the threshold changes by a certain amount, so as to find the threshold that makes the performance indicator reach the best or meet specific conditions.

[0062] Based on threshold sensitivity analysis and the impact of quantitative threshold adjustment, the Spark platform is used to build a big data-driven threshold adjustment model, and Apache Kafka is used for real-time processing, so as to adjust the fixed thresholds and logic in prior knowledge into big data-driven adaptive thresholds.

[0063] Finally, the learned working condition-state judgment rules, the screened key parameters and the big data adaptive thresholds are combined to build a segmented drilling working condition-state recognition model. The historical data is used for model training, and the validation set is used for model tuning. The performance of the model is evaluated through cross-validation and other methods to ensure the generalization performance of the model in different blocks, that is, the model can also perform well in new blocks, thereby realizing multi-block generalized drilling state recognition.

[0064] S4: Screening of key logging parameters.

[0065] Select features and representations related to drilling conditions from the logging data to form a data set containing logging parameters and condition information. Since correlation analysis can identify which risk features are significantly associated with drilling conditions and which risk features are not closely associated with drilling conditions, it helps to determine which features may have a significant impact on drilling conditions, thereby selecting features more specifically during modeling and analysis. Therefore, for each logging parameter, combined with the relevant risk features and representations in each drilling condition process, correlation analysis is used to analyze its relationship with drilling conditions. The groups here can be different drilling conditions. The higher the absolute value of the correlation coefficient, the stronger the correlation, so that it can be determined which logging parameters have significant differences under different conditions.

[0066] For the selected key logging parameters, the data visualization technology box plot is used to display the distribution of these parameters under different working conditions, and their mapping relationship with drilling conditions is further analyzed, so as to construct the mapping relationship between logging parameter changes and drilling conditions, and select different key logging parameters as input features.

[0067] Since the recursive feature elimination (RFE) algorithm can select the best feature subset by recursively training the model and eliminating the least important features, the recursive feature elimination (RFE) algorithm is further optimized, and the drilling conditions are used as the target variable and the key logging parameters are used as features for model training. After training, RFE will gradually eliminate the features that contribute less to the target variable according to the performance of the model, analyze the results of RFE, and determine the feature subset that strikes a balance between model performance and computational efficiency. These feature subsets will be used as the final key logging parameters to further optimize the parameter selection.

[0068] After completing the parameter optimization at the data level, the model parameters are selected from the drilling mechanism level. The role of dividing the working conditions is that each type of working condition has its corresponding and most likely types of drilling anomalies. These types of common anomalies also correspond to several most significant change parameters. Therefore, when optimizing the parameters of the anomaly identification model corresponding to each drilling condition, there are corresponding parameters of concern. These parameters can be analyzed and selected from the mechanism level of drilling anomalies. For example: in the process of drilling, the most likely drilling anomalies are three types of abnormal risks: encountering resistance (drilling sticking), formation fluid invasion (overflow) and drill bit breakage. Continue to analyze the parameter changes corresponding to the three types of anomalies: 1. The logging / drilling parameters corresponding to the obstruction are: hook load, drilling fluid outlet flow rate; 2. The logging / drilling parameters corresponding to the formation fluid invasion are: total hydrocarbon value, hook load, total pool volume, drilling fluid inlet flow rate, drilling fluid outlet flow rate; 3. The logging / drilling parameters corresponding to the drill bit breakage are: hook load, pump pressure. Therefore, the parameters selected by the abnormal risk detection model during the drilling process are the union of the three: total hydrocarbon value, hook load, total pool volume, drilling fluid inlet flow rate, and drilling fluid outlet flow rate. Similarly, the most likely risks during the drilling process are resistance (stuck pipe) and lost circulation, as shown in Table 2.

[0069] Table 2. Parameters corresponding to the tripping drilling anomaly model

[0070]

[0071]

[0072] S5: Establish a model library of different drilling conditions and states.

[0073] According to the data pattern, change rules and key features of each working condition, the standard of model selection is formulated, and a model library containing multiple different types of intelligent models is constructed. Then, the performance indicators such as accuracy, precision, and recall rate of each working condition model under the working condition are evaluated and data is collected. Then, the rule-based decision tree algorithm is used as the working condition identification and matching algorithm. The working condition matching algorithm is trained using the training set, where the input is the working condition characteristics and the output is the optimal intelligent model, and the test set is used for evaluation. The real-time adjustment mechanism is introduced to allow the model selection to be continuously optimized according to the actual observed data at runtime, so that the model can automatically select the most suitable intelligent model according to the currently observed working condition characteristics.

[0074] S6: Fusion of temporal attention networks.

[0075] The temporal attention mechanism network can focus on key time points when processing time series data, which helps to extract features with strong discriminative power.

[0076] like Figure 3As shown in the figure, a convolutional neural network is a model that can learn the mapping relationship between input and output without the need for accurate mathematical expressions. By training the network with known patterns, it can obtain the mapping ability between input and output and realize the mapping from input to output. Therefore, we use the convolutional neural network in the temporal attention mechanism network, which is generally composed of five layers: data input layer, convolution calculation layer, ReLU (Rectified Linear Unit) excitation layer, pooling layer, and fully connected layer. ReLU is a rectified linear unit, which is an activation function widely used in neural networks and is used as an excitation layer. The operating principle of the convolutional neural network can be summarized as extracting the features of the input data through convolution and pooling operations, and then combining and abstracting these features through a multi-layer neural network structure, and finally realizing the learning and prediction of complex tasks. The convolutional network is essentially an input-to-output mapping. It can learn a large number of mapping relationships between inputs and outputs without any precise mathematical expressions between inputs and outputs. As long as the convolutional network is trained with a known pattern, the network has the mapping ability between input and output pairs.

[0077] According to the structure of convolutional neural network, multiple CNN layers are first designed to extract local features of time series data, and appropriate convolution kernel size, step size and padding strategy are selected. Batch normalization layer is added after each convolution layer to improve the stability and performance of training. An attention mechanism is constructed, which can assign different weights according to different parts of the input sequence. After the attention layer is integrated into LSTM, the output of LSTM is weighted by the attention layer. First, the input data is processed by CNN layer to extract local time series features, and then the features extracted by CNN are input into LSTM layer to capture long-term dependencies. The attention mechanism is applied to the output of LSTM to enhance the model's attention to important time steps. The data is trained using the new model architecture, and the learning rate, batch size, convolution layer parameters, etc. are continuously adjusted to achieve the best performance. The performance of the model is evaluated using the validation set or cross-validation method. In this way, the network of fused time series attention mechanism is used to build an intelligent recognition model for abnormal states under various drilling conditions, and the abnormal detection and recognition capabilities of each model under specific conditions are enhanced. This is achieved by weighted summing the outputs of each model. By adjusting the network structure and hyperparameters, the model's performance in abnormal state detection and identification is further enhanced for each working condition. A real-time adjustment mechanism is introduced to allow continuous optimization of model selection according to actual observed data during runtime, and the model is optimized and updated based on the results of real-time adjustments.

[0078] S7: Establish an abnormality explanation module.

[0079] Collect documents related to drilling risks, drilling manuals, and expert opinions, including possible causes and corresponding explanations of various abnormal states. At the same time, the pre-collected documents related to drilling risks, drilling manuals, expert opinions, and other materials are used to build a knowledge base that can store possible causes and explanations of abnormal states, which is convenient for subsequent query and use. The database contains: anomaly states table (AnomalyStates), cause table (Causes), and explanation table (Explanations), which is convenient for associating the abnormal state ID with the corresponding cause and explanation. Import the constructed knowledge base into the abnormal explanation module, and ensure the consistency and accuracy of the data. Construct a query function in the abnormal explanation module, and search the knowledge base according to the monitored abnormal state characteristics to find possible causes and explanations for explaining the monitored abnormal state. Combine the output of the abnormal state intelligent monitoring and identification module with the abnormal explanation module. When an abnormal state is detected, not only can the identification result of the abnormal state be obtained, but also detailed explanation information can be obtained through the abnormal explanation module. Finally, the above steps are integrated to form a drilling anomaly intelligent identification and interpretation method of "automatic data processing-adaptive fine identification of working conditions-automatic model selection-intelligent monitoring and identification of abnormal conditions-abnormal interpretation", such as Figure 4 shown.

[0080] Specifically, the present invention is further elaborated by taking the BZ19-6-1 and BZ19-6-2 wells in the Bozhong block as examples.

[0081] The BZ19-6-1 well was used as the training data set, and the BZ19-6-2 well was used as the test set. The entire data set has a total of 1,678,064 data, of which 1,174,645 are used for the training set and 503,419 are used for the test set. The training set and the test set account for 75% and 25% respectively. The optimization algorithm uses the Adam algorithm, with 20 hidden layers and 70 nodes per layer. The training is repeated 100 times, and then abnormal risk monitoring is started.

[0082] During the horizontal drilling process of Well XX, the torque gradually increased, the mechanical drilling speed decreased significantly, and the pump pressure increased significantly. The integrated logging system transmitted the relevant drilling parameters in real time, and the model began to calculate:

[0083] Through a series of parameter input processes such as drill bit position, well depth, pump pressure, turntable speed, hook load, etc., the filtering algorithm performs real-time noise reduction on the real-time incoming data, and then passes it to the working condition fine identification model.

[0084] In the working condition recognition model based on LSTM, it is successfully judged that the current working condition is "drilling" within 10 data points, and it is analyzed that it belongs to the "sliding drilling" state in the drilling process. Therefore, the drilling anomaly discrimination model under drilling conditions is called out and relevant calculations are started.

[0085] Based on the changing trends of parameters such as "torque gradually increases, mechanical drilling speed significantly decreases, and pump pressure obviously increases", the model successfully identified with 30 data points that there is currently rock cuttings accumulation at the drill bit, there may be mud packing, or rock cuttings accumulation at the drill bit, drill rod or joint, and there may be risks of mud packing or drilling obstruction jamming in the future, and the results were passed to the abnormal working condition interpretation library.

[0086] The abnormal interpretation library analyzes a series of parameters based on formation properties, current mechanical drilling speed, construction conditions, etc.: It is finally concluded that the current horizontal formation rock strength is low and easy to break, the overall mechanical drilling speed is high, but the drilling fluid displacement is relatively insufficient, resulting in the accumulation of cuttings and poor wellbore cleanliness, thus encountering obstruction. Drilling should be stopped briefly, circulation should be carried out, and no cuttings should be accumulated at the drill bit before continuing drilling.

[0087] The advantages and positive effects of the present invention are:

[0088] The present invention sorts out the literature and data related to abnormal drilling risks, and divides the drilling conditions into multiple dimensions and levels. Based on the identification of the working conditions of the whole drilling process and the capture of risk characterization by intelligent models, the abnormal state intelligent identification system can make the abnormal state identification results explainable, effectively predict the drilling risks that may occur in the future, and can identify and explain abnormal conditions at an early stage, effectively avoiding the occurrence of subsequent drilling accidents. This solves the problems of poor timeliness, poor interpretability, and poor stability of the current drilling risk prediction methods, thereby solving the problems related to drilling risks more reasonably and clearly, and facilitating safe, optimal and fast drilling.

[0089] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A method for intelligently identifying abnormal drilling conditions based on multiple drilling conditions, characterized in that: The following steps are included: S1: Split the drilling condition into multiple drilling states; S2: Automatic data cleaning, automatic smoothing of outliers through filtering algorithms; S3: Build a drilling condition-state recognition model and adjust it to an adaptive threshold driven by big data; S4: Screening of key logging parameters; S5: Establish different drilling conditions-state model libraries; S6: Fusion Temporal Attention Network; S7: Establish an abnormality explanation module.

2. The method for intelligently identifying abnormal drilling conditions based on multiple drilling conditions according to claim 1, characterized in that: In S1, the drilling conditions are split and divided into multiple dimensions and levels according to the well site data, multi-source data of drilling and completion design, and literature and information related to abnormal drilling risks, and the drilling conditions are refined into multiple drilling states. The well site data and multi-source data of drilling and completion design include various well depths, well types, and well types covering multi-block exploration wells, development wells, adjustment wells, vertical wells, conventional directional wells, and horizontal wells; the literature and information related to abnormal drilling risks include literature, books, expert opinions, and drilling data manuals related to drilling engineering and drilling risks.

3. The method for intelligently identifying abnormal drilling conditions based on multiple drilling conditions according to claim 1 or 2, characterized in that: The S2 comprises the following steps, S21: performing data preprocessing on the collected well site data and drilling and completion design multi-source data, wherein the data preprocessing includes removing duplicate values, processing missing values, and converting data types; S22: Perform filtering processing by using a filtering algorithm, wherein the filtering algorithm includes moving average filtering, median filtering, Kalman filtering, and Fourier transform filtering; S23: The processed data is normalized.

4. The method for intelligently identifying abnormal drilling conditions based on multiple drilling conditions according to claim 1 or 2, characterized in that: The S3 comprises the following steps, S31: Based on the prior knowledge of working condition classification, the long short-term memory neural network intelligent algorithm is used to build a subdivided drilling condition-state recognition model; S32: Analyze the key parameters for condition identification and condition conversion characterization, use the gradient boosting algorithm to analyze the sensitivity of each threshold, and quantify the impact of threshold adjustment; S33: Use intelligent methods to adjust fixed thresholds and logic in prior knowledge to adaptive thresholds driven by big data.

5. The method for intelligently identifying abnormal drilling conditions based on multiple drilling conditions according to claim 1 or 2, characterized in that: The S4 comprises the following steps, S41: Selecting features and representations related to drilling conditions from the logging data to form a data set including logging parameters and condition information; S42: Filter out key logging parameters from the data set, visualize the distribution of logging parameters under different working conditions, construct a mapping relationship between logging parameter changes and drilling conditions, and filter out different key logging parameters as input features; S43: using recursive feature elimination algorithm optimization, drilling conditions are used as target variables and key logging parameters are used as features for model training; S44: After training, the recursive feature elimination algorithm gradually eliminates features that contribute little to the target variable based on the model performance, analyzes the results of the recursive feature elimination algorithm, and determines the feature subset that achieves a balance between model performance and computational efficiency as the final key logging parameters.

6. The method for intelligently identifying abnormal drilling conditions based on multiple drilling conditions according to claim 1 or 2, characterized in that: The S5 comprises the following steps: S51: Build a model library containing multiple different types of intelligent models; S52: Evaluate each operating condition model and collect data, use the rule-based decision tree algorithm as the operating condition identification and matching algorithm, use the training set to train the operating condition matching algorithm, where the input is the operating condition characteristics and the output is the optimal intelligent model, and use the test set for evaluation to achieve automatic model selection.

7. The method for intelligently identifying abnormal drilling conditions based on multiple drilling conditions according to claim 1 or 2, characterized in that: In S6, the abnormality detection and recognition capabilities of each model under specific working conditions are enhanced, and the convolutional neural network is integrated into the drilling condition-state recognition model to realize the fusion of the temporal attention mechanism network to construct an intelligent recognition model for abnormal states under various drilling conditions.

8. A device, characterized in that: Run the data processing method according to any one of claims 1 to 7.

9. A device comprising a memory, a processor, and an algorithm stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the data processing method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer algorithm, characterized in that: When the computer algorithm is executed by a processor, the data processing according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Data processing method and system for mining well drilling

    CN118939985A

  • Petroleum drilling PDC drill bit balling drum judging, processing and preventing method

    CN119466720A

  • Method for determining, treating and preventing balling of a pdc drill bit in oil drilling

    CN119466720B

  • Oil well data intelligent management system and method

    CN120337077A

  • Method and system for detecting well wall in real time, electronic equipment and storage medium

    CN120889560A