Deepwater drilling wellhead safety detection method and device based on machine learning

Through the deepwater drilling wellhead safety detection method based on machine learning, the problem of high failure rate of drilling wellhead safety signal system under extreme conditions has been solved, the intelligent improvement of wellhead safety warning and emergency response has been achieved, and the risk of wellhead instability has been reduced.

CN118273702BActive Publication Date: 2024-09-27LANGFANG NORMAL UNIV +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410712749.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-27
Estimated Expiration
2044-06-04

AI Technical Summary

Technical Problem

The existing drilling wellhead safety signaling system cannot ensure reliability under extreme events or harsh environmental conditions, resulting in a high failure rate and inability to effectively reduce wellhead safety risks.

Method used

Adopt a deepwater drilling wellhead safety detection method based on machine learning. By combing and monitoring parameters, create a data set, use machine learning algorithms for training and prediction, generate predicted values ​​of key parameters for wellhead safety warnings, and issue warnings when real-time data exceeds the predicted values. and emergency response measures.

Benefits of technology

Under extreme conditions, the failure rate of the wellhead safety signal system is reduced, the system reliability and the intelligent capabilities of the early warning system are improved, the wellhead stability is ensured, and major losses such as wellbore scrapping are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118273702B
    Figure CN118273702B
Patent Text Reader

Abstract

The present invention discloses a deepwater drilling wellhead safety detection method and device based on machine learning, and relates to the technical field of oil and gas extraction. The method comprises: combing the monitoring parameters of a target wellhead safety hazard point in a drilling wellhead safety signal system; obtaining historical data of the monitoring parameters of the target wellhead safety hazard point; based on the historical data of the monitoring parameters of the target wellhead safety hazard point, training and predicting through a machine learning algorithm to obtain predicted values ​​of key parameters for wellhead safety warning; based on the predicted values ​​of key parameters for wellhead safety warning, when real-time drilling data exceeds the predicted values ​​of the above parameters, issuing warnings and emergency response suggestions, and matching the acquisition module, the first determination module, the second determination module, and the safety signal module of the device to enhance the intelligent capabilities of drilling wellhead safety assessment and emergency response, thereby preventing the wellhead safety warning system from failing, thereby reducing the failure rate of the wellhead safety warning system and enhancing the reliability of the wellhead safety warning system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of oil and gas exploitation, and in particular to a method and device for detecting wellhead safety of deepwater drilling based on machine learning. Background Art

[0002] During deep-water drilling, the underwater wellhead weighing hundreds of tons mainly relies on the surrounding seabed soil to provide bearing capacity before cementing. As the drilling operation encounters different depths and different lithology formations, including oil and gas-bearing formations, especially natural gas hydrate layers, the stability and bearing capacity of the formations will drop significantly as the hydrates continue to decompose, which may cause the underwater wellhead and surface conduit to become unstable and sink, resulting in major safety risks such as wellbore scrapping. Building a reliable drilling wellhead safety signal system can effectively improve the wellhead safety assessment and the ability to prevent wellhead sinking, and minimize the losses caused by drilling wellhead instability. The drilling wellhead safety signal system generally includes five links: data collection, data transmission, analysis and prediction, warning and emergency response. Failure in any link will cause the entire drilling wellhead safety signal system to fail. Therefore, it is of great significance to reduce the failure rate of the drilling wellhead safety signal system and enhance the reliability of the early warning system.

[0003] At present, the main means to reduce the failure rate of the drilling wellhead safety signal system is to add backups to the key links of the system, such as increasing the number of sensors to ensure the reliability of the data collection link, using multiple transmission methods to ensure the reliability of the data transmission link, and using multiple thresholds to ensure the reliability of the analysis and prediction link. This method of increasing system redundancy to reduce the system failure rate can improve the reliability of the system to a certain extent. However, this method also has obvious disadvantages: on the one hand, adding redundancy to each link of the drilling wellhead safety signal system will cause a significant increase in the cost of drilling wellhead safety warning; on the other hand, if encountering extreme events or harsh environmental conditions, due to power loss, network disconnection and other factors, this method of adding backups to key links cannot guarantee the reliability of the drilling wellhead safety signal system. In summary, it is difficult to reduce the failure rate of the drilling wellhead safety signal system with existing technologies, and it is urgent to improve the intelligent capabilities of drilling wellhead safety assessment and emergency response to meet the needs of modern oil and gas industry equipment. Summary of the invention

[0004] The purpose of the present invention is to provide a deepwater drilling wellhead safety detection method and device based on machine learning, so as to solve the problem that the existing early warning scheme is difficult to reduce the failure rate of the drilling wellhead safety signal system.

[0005] The purpose of the present invention is achieved through the following technical solutions:

[0006] The deepwater drilling wellhead safety detection method based on machine learning includes the following steps:

[0007] S101. Sorting out monitoring parameters of target wellhead safety hazard points in the drilling wellhead safety signal system;

[0008] S102, obtaining historical data of monitoring parameters of target wellhead safety hazard points;

[0009] S103, dividing all monitoring parameters into first-category monitoring parameters and second-category monitoring parameters, wherein the first-category monitoring parameters are inducing factors for wellhead instability, and the second-category monitoring parameters are key factors for characterizing the stability of target wellhead safety hazard points;

[0010] S104, creating a data set for machine learning based on the historical data of the monitoring parameters of the target wellhead safety hazard point, taking the historical data or real-time data of the first type of monitoring parameters as input, taking the real-time data of the second type of monitoring parameters as output, training and predicting through a machine learning algorithm, and obtaining predicted values ​​of key parameters for wellhead safety warning;

[0011] S105. Based on the predicted values ​​of key parameters of wellhead safety warning, when the real-time drilling data exceeds the predicted values ​​of the above parameters, an early warning reminder signal is issued, and the name of the parameter that triggers the warning, the exceeded value, and the recommended emergency response measures are displayed at the same time.

[0012] Furthermore, in the step S102, the historical data of the acquired monitoring parameters of the target wellhead safety hazard point are preprocessed and normalized;

[0013] In the step S103, the first type of monitoring parameters is represented by IFi, including: real-time formation pressure, temperature, drilling fluid injection pressure, drilling fluid density, drilling fluid flow rate, drilling fluid flow rate in the drill string, end resistance jet flow rate of the surface conduit, and lateral friction resistance of the surface conduit; the second type of monitoring parameters is represented by CFj, including: wellhead load / displacement, wellhead diameter; one or more first type monitoring parameters IFi and second type monitoring parameters CF are selected to construct x data combinations, represented as Gx{IFi, CF}, where x represents the xth data combination;

[0014] In the step S104, based on the monitoring parameter data set, input data and output data are determined, the correlation between IFi and CFj is analyzed and verified by a machine learning algorithm, and IFi with a strong correlation with CFj is selected as the input data in the machine learning algorithm; the input data and / or output data are used to train the model using a machine learning algorithm, and the model criterion with the optimal parameters is selected according to the minimum model evaluation loss function, so as to construct a wellhead safety prediction model for predicting the key parameter values ​​of wellhead safety warning;

[0015] In the step S105, the real-time drilling data is input into the wellhead safety prediction model, and the real-time prediction result is output. When the prediction result exceeds the prediction value of the key parameter of the safety warning, an alarm sound and an alarm light are issued, and the name of the monitoring parameter that triggers the warning, the size and degree of the exceeded value are displayed on the visual display, and suggested emergency response measures are given. The emergency response measures include: adjusting the lateral friction recovery and static waiting time, using suction piles to increase the bearing capacity of the wellhead, the depth of the guide tube and the wellhead diameter, and adjusting the drilling injection.

[0016] Furthermore, in the step S104, the correlation between IFi and CFj is analyzed and verified by a machine learning algorithm, and IFi with a strong correlation with CFj is selected as input data in the machine learning algorithm, including: for any data combination Gx{IFi, CF}, IFi is used as an independent variable and CF is used as a dependent variable to establish a linear or nonlinear regression model, and the correlation coefficient and residual sum of squares of the regression model are calculated; the correlation coefficients and residual sum of squares of the regression models of x data combinations Gx{IFi, CF} are compared, and the data combination Gx{IFi, CF} with the largest correlation coefficient and the smallest residual sum of squares is selected. CF {IFi, CF} is used as the optimal data combination. IFi in the optimal data combination is one or more independent monitoring parameters with the strongest correlation with the second type of monitoring parameter CF. IFi is used as the input data when the second type of monitoring parameter CF in the machine learning algorithm is used as the output data. For the jth second type of monitoring parameter CFj, the above steps are repeated to obtain the optimal data combination G of the second type of monitoring parameter CFj. CF j{IFi, CF};

[0017] The input data and / or output data are trained using a machine learning algorithm to train the model, including: for a specific second-category monitoring parameter CF, using the optimal data combination G CF The first type of monitoring parameters IFi in {IFi, CF} is used as the input data of the machine learning algorithm, and the second type of monitoring parameters CF is used as the output data to build the machine learning model M CF Train the data; optimize the machine learning model M CF Parameters in; get the trained machine learning model M CF ; For the jth second-category monitoring parameter CFj, repeat the above steps to obtain the machine learning model M of the second-category monitoring parameter CFj CF j;

[0018] The machine learning algorithm performs prediction, including: using the trained machine learning model M CF j predicts the real-time data CFjrt of the second-class monitoring parameter CFj, and for a specific second-class monitoring parameter CF, based on the obtained optimal data combination GCF {IFi, CF} creates an input data set {IFirt} for predicting the real-time data of the second key parameter CF, where IFirt represents the i-th independent monitoring parameter for predicting the real-time data of the second monitoring parameter CF; inputs the data set {IFirt} into the trained machine learning model M CF ; Return the real-time prediction result CFrt of the second monitoring parameter CF; For the j-th second monitoring parameter CFj, repeat the above steps to obtain the real-time prediction result CFjrt of the second key parameter CFj;

[0019] RMSE is a measure of the distribution of the predicted value CFjrt around the actual value CFj. The smaller the RMSE value, the higher the prediction accuracy. RMSE is expressed as:

[0020]

[0021] The present invention also provides a deepwater drilling wellhead safety detection device based on machine learning, which is characterized by comprising:

[0022] The acquisition module is used to collect historical and real-time data of monitoring parameters;

[0023] A first determination module is used to determine a first type of monitoring parameter and a second type of monitoring parameter based on the historical and real-time data of the monitoring parameters, wherein the first type of monitoring parameter is an inducing factor for the occurrence of wellhead instability, and the second type of monitoring parameter is a key factor for characterizing the stable state of a target wellhead safety hazard point; based on the first type of monitoring parameter and the second type of monitoring parameter, a data set for machine learning is determined, the historical data of the first type of monitoring parameter is determined as input, and the real-time data of the second type of monitoring parameter is determined as output; based on the machine learning data set, training is performed through a machine learning algorithm; based on the training of the machine learning algorithm, a wellhead safety prediction model is determined; based on the wellhead safety prediction model, a prediction threshold of a key parameter for wellhead safety warning is determined;

[0024] The second determination module is used to determine the wellhead safety status during the drilling process based on the wellhead safety warning key parameter prediction threshold. If the real-time drilling data exceeds the wellhead safety warning key parameter prediction threshold, it is determined to be an unsafe wellhead state;

[0025] The safety signal module is used to issue a safety warning signal based on the wellhead safety status during the drilling process, if the wellhead is determined to be in an unsafe state, and at the same time display the parameter name that triggers the warning, the exceeded value, and the recommended emergency response measures.

[0026] Furthermore, the first type of monitoring parameters is represented by IFi, including: real-time formation pressure, temperature, drilling fluid injection pressure, drilling fluid density, drilling fluid flow rate, drilling fluid flow rate in the drill string, end resistance jet flow velocity of the surface tube, and lateral friction resistance of the surface tube; the second type of monitoring parameters is represented by CFj, including: wellhead load / displacement, wellhead diameter.

[0027] Furthermore, the acquisition module also includes a preprocessing module and a normalization module. The preprocessing module preprocesses the historical data of the monitoring parameters, and the normalization module normalizes the historical data of the monitoring parameters.

[0028] Furthermore, it also includes an integrated machine learning prediction model and a safety signal station, wherein the safety signal station is connected to the integrated machine learning prediction model to present the safety signal of the integrated machine learning prediction model.

[0029] Furthermore, the integrated machine learning prediction model includes a drilling monitoring data acquisition and processing device with internal and external nesting settings, and the drilling monitoring data acquisition and processing device includes a monitoring data processing device from top to bottom, a load / displacement sensor, a tension sensor, and a temperature, pressure, and flow sensor;

[0030] The safety signal station includes a memory, a processor, a computer program stored in the memory and running on the processor, a transmitter that displays the parameter name that triggers the early warning, the exceeded value, and the recommended emergency response measures, and the memory is used to store the data of the drilling monitoring data acquisition and processing device collected by the receiver.

[0031] The present invention has the following advantages:

[0032] 1. In extreme events or harsh environmental conditions, such as power outages, network disconnections, etc., even if the data collection and data transmission links fail, the predicted values ​​of key parameters of wellhead safety warning can still be obtained through prediction, which can prevent the wellhead safety warning system from failing, thereby reducing the failure rate of the wellhead safety warning system and improving the reliability of the wellhead safety warning system.

[0033] 2. Analyzing and verifying the correlation between the first type of monitoring parameters and the second type of monitoring parameters through a machine learning algorithm can improve the accuracy and efficiency of the machine learning algorithm in analyzing and verifying the correlation between the first type of monitoring parameters and the second type of monitoring parameters, thereby improving the reliability of the wellhead safety early warning system.

[0034] 3. Since the machine learning algorithm model criteria with the best parameters can be selected, it can ensure that the optimal first-category monitoring parameters and the second-category monitoring parameters have a strong correlation, and the parameters in the machine learning model can be optimized. The optimized machine learning model can be used for training, which can improve the accuracy of training and thus improve the reliability of the wellhead safety early warning system.

[0035] 4. When the prediction result triggers a safety warning, the specific parameter name, exceeded value and degree that triggered the warning can be displayed; based on the inversion of the algorithm model, recommended emergency response measures can be given immediately to eliminate safety hazards in the bud and avoid instability and sinking of the wellhead and surface conduit, resulting in major losses such as wellbore scrapping. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a schematic diagram of the process of the present invention.

[0037] Figure 2 Schematic diagram of machine learning of the present invention.

[0038] Figure 3 It is a schematic diagram of the structure of the device of the present invention.

[0039] Figure 4 This is a schematic diagram of the structure of the safety signal system.

[0040] Figure 5 It is a schematic diagram of the structure of the device installed in the present invention.

[0041] Figure 6 It is a structural schematic diagram of the computer device of the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0043] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. 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.

[0044] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0045] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0046] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, or the positions or positional relationships in which the product of the invention is usually placed when in use, or the positions or positional relationships commonly understood by those skilled in the art, which are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply 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", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0047] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" 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 elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0048] In one embodiment, if Figure 1 As shown, this embodiment discloses a deepwater drilling wellhead safety detection method based on machine learning, comprising the following steps:

[0049] S101. Sorting out monitoring parameters of target wellhead safety hazard points in the drilling wellhead safety signal system;

[0050] S102, obtaining historical data of monitoring parameters of target wellhead safety hazard points;

[0051] S103, dividing all monitoring parameters into first-category monitoring parameters and second-category monitoring parameters, wherein the first-category monitoring parameters are inducing factors for wellhead instability, and the second-category monitoring parameters are key factors for characterizing the stability of target wellhead safety hazard points;

[0052] S104. Create a data set for machine learning based on the historical data of the monitoring parameters of the target wellhead safety hazard point, use the historical data or real-time data of the first type of monitoring parameters as input, and use the real-time data of the second type of monitoring parameters as output, train and predict through the machine learning algorithm, and obtain the predicted values ​​of the key parameters of the wellhead safety warning.

[0053] S105. Based on the predicted values ​​of key parameters of wellhead safety warning, when the real-time drilling data exceeds the predicted values ​​of the above parameters, an early warning reminder signal is issued, and the name of the parameter that triggers the warning, the exceeded value, and the recommended emergency response measures are displayed at the same time.

[0054] Specifically, in the step S102, the historical data of the monitoring parameters of the target wellhead safety hazard point are preprocessed and normalized, and the data noise is removed and the abnormal data is deleted by preprocessing to improve the accuracy and precision of the historical data of the monitoring parameters. Subsequently, the historical data of the monitoring parameters are normalized to be converted into standard normal distribution data;

[0055] In the step S103, the first type of monitoring parameters is represented by IFi, including: real-time formation pressure, temperature, drilling fluid injection pressure, drilling fluid density, drilling fluid flow rate, drilling fluid flow rate in the drill string, end resistance jet flow velocity of the surface pipe, and lateral friction resistance of the surface pipe. This type of data is a direct observation of the environmental conditions of the target wellhead safety hazard point, and cannot be directly used to identify the stable state of the wellhead safety hazard point, and there are multiple ways to obtain it; the second type of monitoring parameters is represented by CFj, including: wellhead load / displacement, wellhead diameter. This type of data is used as a key parameter in the early warning model in the wellhead safety early warning system. The absence of this type of data will lead to the failure of the early warning system; for a certain second type of monitoring parameter, the first type of monitoring parameter IFi that may affect the second type of monitoring parameter is judged according to the basic theory of drilling engineering and engineering experience; in this embodiment, one or more first type monitoring parameters IFi and second type monitoring parameters CF are selected to construct x data combinations, expressed as Gx{IFi, CF}, where x represents the xth data combination;

[0056] like Figure 2The schematic diagram of machine learning is shown. In the step S104, based on the monitoring parameter data set, the input data and the output data are determined, the correlation between IFi and CFj is analyzed and verified by the machine learning algorithm, and IFi with a strong correlation with CFj is selected as the input data in the machine learning algorithm; specifically, for any data combination Gx{IFi, CF}, IFi is used as the independent variable and CF is used as the dependent variable, a linear or nonlinear regression model is established, and the correlation coefficient and the residual sum of squares of the regression model are calculated; the correlation coefficients and the residual sum of squares of the regression models of x data combinations Gx{IFi, CF} are compared, and the data combination GCF{IFi, CF} with the largest correlation coefficient and the smallest residual sum of squares is selected as the optimal data combination, and the IFi in the optimal data combination is one or more independent monitoring parameters with the strongest correlation with the second type of monitoring parameter CF, and IFi is used as the input data when the second type of monitoring parameter CF in the machine learning algorithm is used as the output data; for the jth second type monitoring parameter CFj, the above steps are repeated to obtain the optimal data combination GCFj{IFi, CF} of the second type monitoring parameter CFj.

[0057] Using the input data and / or output data to train the model using a machine learning algorithm, selecting a model criterion with the best parameters based on the minimum loss function of the model evaluation, and constructing a wellhead safety prediction model for predicting key parameter values ​​of wellhead safety warning;

[0058] The input data and / or output data are trained using a machine learning algorithm to train the model, including: for a specific second-category monitoring parameter CF, using the optimal data combination G CF The first type of monitoring parameters IFi in {IFi, CF} is used as the input data of the machine learning algorithm, and the second type of monitoring parameters CF is used as the output data to build the machine learning model M CF Train the data; optimize the machine learning model M CF Parameters in; get the trained machine learning model M CF ; For the jth second-category monitoring parameter CFj, repeat the above steps to obtain the machine learning model M of the second-category monitoring parameter CFj CF j.

[0059] The machine learning algorithm performs prediction, including: using the trained machine learning model M CF j predicts the real-time data CFjrt of the second-class monitoring parameter CFj, and for a specific second-class monitoring parameter CF, based on the obtained optimal data combination G CF{IFi, CF} creates an input data set {IFirt} for predicting the real-time data of the second key parameter CF, where IFirt represents the i-th independent monitoring parameter for predicting the real-time data of the second monitoring parameter CF; inputs the data set {IFirt} into the trained machine learning model M CF ; Return the real-time prediction result CFrt of the second monitoring parameter CF; For the j-th second monitoring parameter CFj, repeat the above steps to obtain the real-time prediction result CFjrt of the second key parameter CFj.

[0060] RMSE is a measure of the distribution of the predicted value CFjrt around the actual value CFj. The smaller the RMSE value, the higher the prediction accuracy. RMSE is expressed as:

[0061] (Formula 1).

[0062] In the step S105, the real-time drilling data is input into the wellhead safety prediction model, and the real-time prediction result is output. When the prediction result exceeds the prediction value of the key parameter of the safety warning, that is, the implementation prediction result exceeds the second key parameter CFj safety threshold, an alarm sound and an alarm light are issued, and the name of the monitoring parameter that triggers the warning, the size and degree of the exceeded value are displayed on the visual display, and suggested emergency response measures are given. The emergency response measures include: adjusting the lateral friction recovery and static waiting time, using suction piles to increase the bearing capacity of the wellhead, the depth of the guide tube and the wellhead diameter, and adjusting the drilling injection.

[0063] During deep-sea drilling, as the depth and physical properties of the formation change, the wellhead load and the force on the surface pipe of the drilling will also change. Especially if the drilling encounters a natural gas hydrate layer, as the hydrate continues to decompose, the stability and bearing capacity of the formation will drop significantly, which is a common major hidden danger that causes the underwater wellhead and surface pipe to suddenly become unstable and sink. Therefore, this embodiment specifically analyzes the wellhead load of the second type of monitoring parameters.

[0064] The wellhead load is mainly borne by the lateral friction Ff and the end resistance Fb of the surface pipe from top to bottom. The end area of ​​the surface pipe is very small, and the end bearing capacity is a minimum value relative to the lateral friction. To ensure that the wellhead is stable and does not sink, the following conditions must be met: (Formula 2)

[0065] In the formula, F m is the wellhead load (N), F fs is the lateral friction resistance of the hydrate-free formation and the surface conduit (N), F fh is the lateral friction between the hydrate layer and the surface conduit (N), F bis the end resistance of the surface conduit (N), D is the circumference of the surface conduit (m), α is the adhesion coefficient, τ(z) is the undrained shear strength of the hydrate-free formation (Pa), F h (z) is the lateral friction distribution per unit area of ​​the formation and the surface conduit before hydrate decomposition (Pa), K is the lateral friction reduction coefficient after hydrate decomposition, d1 is the depth of the surface conduit (m), and d2 is the depth of the drill pipe (m).

[0066] when When the wellhead load is exceeded, an early warning reminder signal is issued, and the information that triggers the early warning is displayed as follows: early warning parameters - wellhead load, wellhead load value, and it is recommended to reduce the wellhead load.

[0067] Reducing the wellhead load can be achieved by adjusting the first type of monitoring parameters according to the method and formula 2 of the present invention, including:

[0068] Optionally, adjust the lateral friction per unit area between the surface conduit and the hydrate-containing formation F S

[0069] (Formula 3)

[0070] Where F0 is the jet pressure (Pa), H is the depth of the surface pipe, and the unit area lateral friction between the surface pipe and the hydrate-bearing formation is F. S The perimeter D of the surface conduit is the first type of monitoring parameter IF. The perimeter D of the surface conduit is related to the unit area lateral friction F between the surface conduit and the hydrate-bearing formation. S The wellhead load can be reduced by adjusting the surface conduit circumference D, that is, adjusting the wellhead diameter.

[0071] Optionally, the fitting mathematical model of lateral friction recovery and static waiting time t is:

[0072] (Formula 4)

[0073] Where, t is the lateral friction recovery and static waiting time. The lateral friction recovery and static waiting time t is the first type of monitoring parameter IF. Combining Formula 2-Formula 4, the lateral friction recovery and static waiting time t required to reduce the wellhead load can be calculated.

[0074] Optionally, the rheological properties of the drilling fluid are adjusted to balance the shear stress of the surface conduit. The least squares method is used to fit the rheological mathematical model as Formula 5. The relationship between the generalized fluidity index N and the drilling fluid flow rate Q is Formula 6:

[0075] (Formula 5)

[0076] (Formula 6)

[0077] In the formula, the length of the pressure difference measurement section L, the pressure difference △P, the inner diameter of the round pipe d, and the drilling fluid flow rate Q are the first type of monitoring parameters IF, a and b are constants, and the wall shear rate γ of the pipe is w The generalized fluidity index N≤1, combined with Formula 5 and Formula 6, can be used to calculate the drilling fluid flow rate Q required to reduce the wellhead load.

[0078] In another embodiment, based on the same inventive concept, the present invention also discloses a deepwater drilling wellhead safety detection device based on machine learning, such as Figure 3 As shown, including:

[0079] The acquisition module 201 is used to collect historical and real-time data of monitoring parameters of target wellhead safety hazard points;

[0080] A first determination module 202 is used to determine a first type of monitoring parameter and a second type of monitoring parameter based on the historical and real-time data of the monitoring parameter, wherein the first type of monitoring parameter is an inducing factor for the occurrence of wellhead instability, and the second type of monitoring parameter is a key factor for characterizing the stable state of a target wellhead safety hazard point, determine a data set for machine learning based on the first type of monitoring parameter and the second type of monitoring parameter, determine the historical data of the first type of monitoring parameter as input, determine the real-time data of the second type of monitoring parameter as output, perform training based on the machine learning data set through a machine learning algorithm, determine a wellhead safety prediction model based on the machine learning algorithm training, and determine a prediction threshold of a key parameter for wellhead safety warning based on the wellhead safety prediction model;

[0081] The second determination module 203 is used to determine the wellhead safety status during the drilling process based on the wellhead safety warning key parameter prediction threshold. If the real-time drilling data exceeds the wellhead safety warning key parameter prediction threshold, it is determined to be an unsafe wellhead state;

[0082] The safety signal module 204 is used to issue a safety warning signal based on the wellhead safety status during the drilling process if the wellhead is determined to be in an unsafe state, and at the same time display the parameter name that triggers the warning, the exceeded value, and the recommended emergency response measures.

[0083] Specifically, the first type of monitoring parameters is represented by IFi, including: real-time formation pressure, temperature, drilling fluid injection pressure, drilling fluid density, drilling fluid flow rate, drilling fluid flow rate in the drill string, end resistance jet flow velocity of the surface tube, and lateral friction resistance of the surface tube; the second type of monitoring parameters is represented by CFj, including: wellhead load / displacement, wellhead diameter.

[0084] The acquisition module also includes a preprocessing module and a normalization module. The preprocessing module preprocesses the historical data of the monitoring parameters, removes data noise, deletes abnormal data, etc., to improve the accuracy and precision of the historical data of the monitoring parameters. The normalization module normalizes the historical data of the monitoring parameters to convert them into standard normal distribution data.

[0085] like Figure 4 As shown, this embodiment also includes an integrated machine learning prediction model 301 and a safety signal station 302, wherein the safety signal station 302 is connected to the integrated machine learning prediction model 301 to present the safety signal of the integrated machine learning prediction model. Specifically, the safety signal station is used to present the safety signal of the result of the connected machine learning prediction model 301 using the method of the present invention.

[0086] In the specific device layout Figure 4-6 As shown, the integrated machine learning prediction model 301 includes a drilling monitoring data acquisition and processing device 402 that is nested inside and outside, and the drilling monitoring data acquisition and processing device 402 is arranged above and inside the casing 401, which includes a monitoring data processing device 4021, a load / displacement sensor 4022, a tension sensor 4023, and a temperature, pressure, and flow sensor 4024 from top to bottom;

[0087] The safety signal station 302 includes a memory 503, a processor 504, a computer program stored in the memory and running on the processor, and a transmitter 505 that displays the parameter name that triggers the early warning, the exceeded value, and the recommended emergency response measures. The memory 503 is used to store the data of the drilling monitoring data acquisition and processing device 402 collected by the receiver 501, and the processor 504 implements the process steps of the present invention when executing the program.

[0088] like Figure 6 As shown, bus 500 can link any number of interconnected buses and bridges. Bus 500 links various circuits that link one or more processors represented by processor 504 and memory represented by memory 503. Bus 500 can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 502 provides an interface between bus 500 and receiver 501 and transmitter 505. Receiver 501 and transmitter 505 can be the same element, i.e., a transceiver, providing a unit for communicating with various other devices on a transmission medium. Processor 504 is responsible for managing bus interface 502 and general processing, while memory 503 is used to store data used by processor 504 when performing operations.

[0089] Based on the same inventive concept, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the above-mentioned water injection area controlled pressure drilling prediction method are implemented.

[0090] It is to be understood that the algorithms and displays provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems may also be used together with the teachings based thereon. According to the above description, it is apparent that the structure required for constructing such systems is not intended for any particular programming language. In addition, the present invention is not intended for any particular programming language either. It should be understood that various programming languages ​​may be utilized to implement the content of the present invention described herein, and the description of the particular language above is intended to disclose the best mode of the present invention.

[0091] The present invention has been described in detail with reference to the aforementioned embodiments. For those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A deepwater drilling wellhead safety detection method based on machine learning, characterized by: The following steps are involved: S101. Sorting out monitoring parameters of target wellhead safety hazard points in the drilling wellhead safety signal system; S102, obtaining historical data of monitoring parameters of target wellhead safety hazard points; S103, dividing all monitoring parameters into first-category monitoring parameters and second-category monitoring parameters, wherein the first-category monitoring parameters are inducing factors for wellhead instability, and the second-category monitoring parameters are key factors for characterizing the stability of target wellhead safety hazard points; S104, creating a data set for machine learning based on the historical data of the monitoring parameters of the target wellhead safety hazard point, taking the historical data or real-time data of the first type of monitoring parameters as input, taking the real-time data of the second type of monitoring parameters as output, training and predicting through a machine learning algorithm, and obtaining predicted values ​​of key parameters for wellhead safety warning; S105, based on the predicted values ​​of the key parameters of the wellhead safety warning, when the real-time drilling data exceeds the predicted values ​​of the above parameters, an early warning reminder signal is issued, and the name of the parameter that triggers the warning, the exceeded value, and the recommended emergency response measures are displayed at the same time; in the step S102, the historical data of the monitoring parameters of the target wellhead safety hazard point obtained are preprocessed and normalized; In the step S103, the first type of monitoring parameters is represented by IFi, including: real-time formation pressure, temperature, drilling fluid injection pressure, drilling fluid density, drilling fluid flow rate, drilling fluid flow rate in the drill string, end resistance jet flow rate of the surface conduit, and lateral friction resistance of the surface conduit; the second type of monitoring parameters is represented by CFj, including: wellhead load / displacement, wellhead diameter; one or more first type monitoring parameters IFi and second type monitoring parameters CF are selected to construct x data combinations, represented as Gx{IFi, CF}, where x represents the xth data combination; In the step S104, based on the monitoring parameter data set, input data and output data are determined, the correlation between IFi and CFj is analyzed and verified by a machine learning algorithm, and IFi with a strong correlation with CFj is selected as the input data in the machine learning algorithm; the input data and / or output data are used to train the model using a machine learning algorithm, and the model criterion with the optimal parameters is selected according to the minimum model evaluation loss function, so as to construct a wellhead safety prediction model for predicting the key parameter values ​​of wellhead safety warning; In the step S105, the real-time drilling data is input into the wellhead safety prediction model, and the real-time prediction result is output. When the prediction result exceeds the prediction value of the key parameter of the safety warning, an alarm sound and an alarm light are issued, and the name of the monitoring parameter that triggers the warning, the value and degree of the exceeding value are displayed on the visual display, and suggested emergency response measures are given. The emergency response measures include: adjusting the lateral friction resistance recovery and static waiting time, using suction piles to increase the bearing capacity of the wellhead, the depth of the guide tube and the wellhead diameter, and adjusting the drilling injection; In the step S104, the correlation between IFi and CFj is analyzed and verified by a machine learning algorithm, and IFi with a strong correlation with CFj is selected as the input data in the machine learning algorithm, including: for any data combination Gx{IFi, CF}, IFi is used as an independent variable and CF is used as a dependent variable to establish a linear or nonlinear regression model, and the correlation coefficient and residual sum of squares of the regression model are calculated; the correlation coefficients and residual sum of squares of the regression models of x data combinations Gx{IFi, CF} are compared, and the data combination GCF{IFi, CF} with the largest correlation coefficient and the smallest residual sum of squares is selected as the optimal data combination, and IFi in the optimal data combination is one or more independent monitoring parameters with the strongest correlation with the second type of monitoring parameter CF, and IFi is used as the input data when the second type of monitoring parameter CF in the machine learning algorithm is used as the output data; for the jth second type monitoring parameter CFj, the above steps are repeated to obtain the optimal data combination Gx{IFi, CF} of the second type monitoring parameter CFj. CF j{IFi, CF}; The input data and / or output data are trained using a machine learning algorithm to train the model, including: for a specific second-category monitoring parameter CF, using the optimal data combination G CF The first type of monitoring parameters IFi in {IFi, CF} is used as the input data of the machine learning algorithm, and the second type of monitoring parameters CF is used as the output data to build the machine learning model M CF Train the data; optimize the machine learning model M CF Parameters in; get the trained machine learning model M CF ; For the jth second-category monitoring parameter CFj, repeat the above steps to obtain the machine learning model M of the second-category monitoring parameter CFj CF j; The machine learning algorithm performs prediction, including: using the trained machine learning model M CF j predicts the real-time data CFjrt of the second-class monitoring parameter CFj, and for a specific second-class monitoring parameter CF, based on the obtained optimal data combination G CF {IFi, CF} creates an input data set {IFirt} for predicting the real-time data of the second key parameter CF, where IFirt represents the i-th independent monitoring parameter for predicting the real-time data of the second monitoring parameter CF; inputs the data set {IFirt} into the trained machine learning model M CF ; Return the real-time prediction result CFrt of the second monitoring parameter CF; For the j-th second monitoring parameter CFj, repeat the above steps to obtain the real-time prediction result CFjrt of the second key parameter CFj; RMSE is a measure of the distribution of the predicted value CFjrt around the actual value CFj. The smaller the RMSE value, the higher the prediction accuracy. RMSE is expressed as: (Formula 1); The wellhead load is mainly borne by the lateral friction Ff and the end resistance Fb of the surface pipe from top to bottom. To ensure that the wellhead is stable and does not sink, the following conditions must be met: (Formula 2) In the formula, F m is the wellhead load N, F fs is the lateral friction resistance of the hydrate-free formation and the surface conduit N, F fh is the lateral friction between the hydrate layer and the surface conduit N, F b is the end resistance of the surface conduit N, D is the circumference of the surface conduit m, α is the adhesion coefficient, τ(z) is the undrained shear strength of the hydrate-free formation Pa, F h (z) is the lateral friction resistance per unit area of ​​the formation and the surface conduit before hydrate decomposition Pa, K is the lateral friction resistance reduction coefficient after hydrate decomposition, d1 is the depth of the surface conduit in m, and d2 is the depth of the drill pipe in m; when When a warning signal is issued, the information that triggers the warning is displayed as follows: Warning parameters - wellhead load, wellhead load value, it is recommended to reduce the wellhead load; Reducing the wellhead load is achieved by adjusting the first type of monitoring parameters according to Formula 2, including: Adjust the lateral friction F per unit area between the surface conduit and the hydrate-containing formation S (Formula 3) Where F0 is the jet pressure Pa, H is the depth of the surface pipe, and the unit area lateral friction between the surface pipe and the hydrate-bearing formation is F. S The perimeter D of the surface conduit is the first type of monitoring parameter IF. The perimeter D of the surface conduit is related to the unit area lateral friction F between the surface conduit and the hydrate-bearing formation. S It is an inverse proportional relationship. By adjusting the circumference D of the surface conduit, that is, adjusting the wellhead diameter, the wellhead load can be reduced; The fitting mathematical model of lateral friction recovery and static waiting time t is: (Formula 4) Wherein, t is the lateral friction resistance recovery and static waiting time, which is the first type of monitoring parameter IF. Combining Formula 2-Formula 4, the lateral friction resistance recovery and static waiting time t required to reduce the wellhead load is obtained by calculation; The rheological properties of the drilling fluid are adjusted to balance the shear stress of the surface conduit. The least squares method is used to fit the rheological mathematical model as Formula 5. The relationship between the generalized fluidity index N and the drilling fluid flow rate Q is Formula 6: (Formula 5) (Formula 6) In the formula, the length of the pressure difference measurement section L, the pressure difference △P, the inner diameter of the round pipe d, and the drilling fluid flow rate Q are the first type of monitoring parameters IF, a and b are constants, and the wall shear rate γ of the pipe is w , the generalized fluidity index N≤1, combined with formula 5 and formula 6, the drilling fluid flow rate Q required to reduce the wellhead load is obtained by calculation; The detection device of the safety detection method comprises: The acquisition module is used to collect historical and real-time data of monitoring parameters; A first determination module is used to determine a first type of monitoring parameter and a second type of monitoring parameter based on the historical and real-time data of the monitoring parameters, wherein the first type of monitoring parameter is an inducing factor for the occurrence of wellhead instability, and the second type of monitoring parameter is a key factor for characterizing the stable state of a target wellhead safety hazard point; based on the first type of monitoring parameter and the second type of monitoring parameter, a data set for machine learning is determined, the historical data of the first type of monitoring parameter is determined as input, and the real-time data of the second type of monitoring parameter is determined as output; based on the machine learning data set, training is performed through a machine learning algorithm; based on the training of the machine learning algorithm, a wellhead safety prediction model is determined; based on the wellhead safety prediction model, a prediction threshold of a key parameter for wellhead safety warning is determined; The second determination module is used to determine the wellhead safety status during the drilling process based on the wellhead safety warning key parameter prediction threshold. If the real-time drilling data exceeds the wellhead safety warning key parameter prediction threshold, it is determined to be an unsafe wellhead state; The safety signal module is used to issue a safety warning signal based on the wellhead safety status during the drilling process, if the wellhead is determined to be in an unsafe state, and at the same time display the parameter name that triggers the warning, the exceeded value, and the recommended emergency response measures.

2. The deepwater drilling wellhead safety detection method based on machine learning according to claim 1 is characterized in that: The acquisition module also includes a preprocessing module and a normalization module. The preprocessing module preprocesses the historical data of the monitoring parameters, and the normalization module normalizes the historical data of the monitoring parameters.

3. The deepwater drilling wellhead safety detection method based on machine learning according to claim 1 is characterized in that: The detection device also includes an integrated machine learning prediction model and a safety signal station, and the safety signal station is connected to the integrated machine learning prediction model to present the safety signal of the integrated machine learning prediction model.

4. The deepwater drilling wellhead safety detection method based on machine learning according to claim 3 is characterized in that: The integrated machine learning prediction model includes a drilling monitoring data acquisition and processing device with internal and external nesting settings, and the drilling monitoring data acquisition and processing device includes a monitoring data processing device from top to bottom, a load / displacement sensor, a tension sensor, and a temperature, pressure, and flow sensor; The safety signal station includes a memory, a processor, a computer program stored in the memory and running on the processor, a transmitter that displays the parameter name that triggers the early warning, the exceeded value, and the recommended emergency response measures, and the memory is used to store the data of the drilling monitoring data acquisition and processing device collected by the receiver.

Citation Information

Patent Citations

  • Method for reducing fault rate of geological disaster early warning system based on key parameter predicted value

    CN115331394A

  • Deepwater drilling gas cut monitoring and early warning processing method

    CN117166994A

  • Intelligent monitoring system for oil development platform

    CN117629288A

  • Prospective kick loss detection for off-shore drilling

    WO2021118565A1

  • Methods and systems for predicting lithology and formation boundary ahead of the bit

    WO2024077538A1