Mechanical drilling rate prediction method based on adaptive dynamic constraint boundary coupling optimization

By using an adaptive dynamic constraint boundary coupling optimization method, drilling parameters are optimized using a multilayer perceptron model and a grid search method. This solves the problem of balancing mechanical drilling rate and mechanical specific energy during drilling, thereby improving drilling efficiency and economy.

CN117171906BActive Publication Date: 2026-11-20SOUTHWEST PETROLEUM UNIV
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311111654.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-31
Publication Date
2026-11-20
Estimated Expiration
2043-08-31

AI Technical Summary

Technical Problem

Existing classical multi-objective optimization algorithms struggle to simultaneously meet the field requirements of mechanical drilling rate and mechanical specific energy during drilling, making it difficult to optimize drilling efficiency and cost.

Method used

A coupled optimization method based on adaptive dynamic constraint boundaries is adopted. By constructing first and second multilayer perceptron models and combining them with grid search, a coupled optimization model with adaptive dynamic constraint boundary adjustment is established to optimize the prediction of mechanical drilling rate and mechanical specific energy.

Benefits of technology

It enables flexible adjustments within constraints, optimizes the balance between drilling speed and mechanical specific energy, improves the economic benefits and efficiency of drilling, and avoids the limitations of fixed algorithm settings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117171906B_ABST
    Figure CN117171906B_ABST
Patent Text Reader

Abstract

The application discloses a method for predicting mechanical drilling speed based on adaptive dynamic constraint boundary coupling optimization, comprising the following steps: constructing a first and a second multilayer perceptron respectively; establishing a coupling optimization model under an adaptive dynamic constraint boundary adjustment method by using a grid search method; connecting the first and the second multilayer perceptron with the coupling optimization model respectively; obtaining a first data set; training the first and the second multilayer perceptron by using the first data set respectively; coupling and optimizing the first and the second multilayer perceptron by using the coupling optimization model; and predicting the mechanical drilling speed and the mechanical specific energy of a target well by using the first and the second multilayer perceptron. The application realizes the intellectualization and flexibility of the optimization process by constructing the coupling optimization model and the adaptive dynamic constraint boundary adjustment method. The application can explicitly specify the optimization target and its constraint condition, search for the optimal solution within the constraint range, and thus balance multiple optimization targets such as the drilling speed and the mechanical specific energy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of oil and gas reservoir development technology, and in particular to a mechanical drilling rate prediction method based on adaptive dynamic constraint boundary coupling optimization. Background Technology

[0002] As oil and gas exploration and development deepen, more and more deep and complex formations are encountered, posing many new challenges to drilling technology. Especially in the drilling of ultra-deep wells, the depth and formation complexity greatly increase the difficulty of drilling, leading to high extraction costs. To ensure high returns and efficiency in oil and gas well development, remote monitoring of the drilling process and optimization of drilling parameters are essential. How to maximize drilling efficiency, i.e., reduce mechanical energy, while increasing the rate of penetration (ROP), is currently a focus of using artificial intelligence to optimize drilling and save costs. Studying drilling optimization problems by combining artificial intelligence models with classical multi-objective optimization algorithms is a common method in engineering. However, due to the common characteristics of the optimization objectives, classical multi-objective optimization algorithms may cause one or more optimization objectives to fail to meet the target values ​​required at the drilling site. Therefore, this invention proposes a flexible coupled optimization method based on an artificial intelligence model. This method can specify one objective and flexibly define its constraint domain, and then optimize another objective within the constraint domain. Furthermore, to improve the performance of this coupled optimization method, this invention constructs an adaptive dynamic constraint boundary adjustment method to assist in defining the constraint domain. This coupled optimization method is more flexible than the traditional classical multi-objective optimization method and can better meet the needs of the drilling site.

[0003] As oil and gas exploration and development continue, more and more deep and complex formations are encountered, posing many new challenges to drilling technology. Especially in the drilling of ultra-deep wells, the depth and formation complexity significantly increase the difficulty of drilling, leading to high extraction costs. To ensure high returns and efficiency in oil and gas well development, remote monitoring of the drilling process and optimization of drilling parameters are essential.

[0004] Improving drilling efficiency—that is, reducing Mechanical Specific Energy (MSE)—while simultaneously increasing the rate of penetration (ROP) is a current focus for leveraging artificial intelligence to optimize drilling and save costs. A common approach is to combine AI models with classic multi-objective optimization algorithms to study drilling optimization problems. However, classic multi-objective optimization algorithms suffer from the problem that one or more optimization objectives may fail to meet the target values ​​required at the drilling site.

[0005] The reason is that classic multi-objective optimization algorithms can only consider one optimization objective at a time. Conflicts exist between different objectives, making it difficult for the algorithm to simultaneously address multiple goals. Furthermore, the pre-defined weight allocation in the algorithm may cause some objectives to be excessively sacrificed. Therefore, a new method is needed that can balance multiple optimization objectives and flexibly adjust the optimization process. Summary of the Invention

[0006] To address the problems existing in the prior art, this invention provides a mechanical drilling rate prediction method based on adaptive dynamic constraint boundary coupling optimization, comprising:

[0007] S1. Construct the first and second multilayer perceptrons respectively to predict the mechanical drilling rate and mechanical specific energy; establish a coupled optimization model under the adaptive dynamic constraint boundary adjustment method using the grid search method; connect the first and second multilayer perceptrons to the coupled optimization model respectively.

[0008] S2. Obtain logging and well logging data from the actual drilled well, preprocess the data to obtain the optimal input features for the first and second multilayer perceptrons respectively, and use the first dataset to train the first and second multilayer perceptrons respectively.

[0009] S3. Use a coupled optimization model to perform coupled optimization on the first and second multilayer perceptrons. The optimization objective is to minimize the mechanical specific energy under the condition of satisfying the specified mechanical drilling speed.

[0010] S4. Use the trained and optimized first and second multilayer perceptrons to predict the mechanical drilling rate and mechanical specific energy of the target well.

[0011] In some preferred embodiments, the method for establishing the coupling optimization model includes:

[0012] S101. Establish a constraint space, wherein the boundaries of the constraint space correspond to the maximum and minimum values ​​of the predicted mechanical specific energy output by the second multilayer sensor, respectively.

[0013] S102. Establish a mapping table to map the relationship between the predicted mechanical drilling rate and the predicted mechanical specific energy output by the first and second multilayer perceptrons.

[0014] S103. Establish a constraint domain, which is a subset of the constraint space and whose boundaries can be dynamically adjusted.

[0015] In some preferred embodiments, the method for coupling optimization of the first and second multilayer perceptrons using a coupling optimization model includes:

[0016] S301. When training and testing the second multilayer perceptron using the first training set, the maximum and minimum values ​​of the predicted mechanical specific energy output are used as the boundary of the constraint space.

[0017] S302. Fill the predicted mechanical drilling rate and predicted mechanical specific energy relationship from the training output into the mapping relationship table;

[0018] S303. Determine the initial constraint domain in the constraint space;

[0019] S304. In the constraint domain, check if there is a predicted mechanical drilling rate that satisfies the specified mechanical drilling rate; if yes, stop optimization; if no, adaptively adjust the boundary of the constraint domain and re-execute step S304.

[0020] In some preferred embodiments, if there is no predicted mechanical drilling rate that satisfies the specified mechanical drilling rate in the entire constraint space, the optimization ends and the global optimal solution is output.

[0021] 5. The mechanical drilling rate prediction method based on adaptive dynamic constraint boundary coupling optimization as described in claim 1, characterized in that the preprocessing method includes:

[0022] Delete the rows containing missing values ​​in the first dataset and process them using a smoothing filter;

[0023] For the first dataset after smoothing and filtering, Pearson correlation coefficient quantization analysis is performed on the first and second multilayer perceptrons respectively. Features with low absolute values ​​of Pearson correlation coefficients are removed to obtain the optimal input features for the first and second multilayer perceptrons.

[0024] In some preferred embodiments, the optimal input features of the first multilayer sensor are: drilling pressure, rotary table speed, wellhead torque, hook load, riser pressure, flow rate, mud density, DC index, and drill bit torque.

[0025] In some preferred embodiments, the optimal input features of the second multilayer sensor are: drilling pressure, rotary table speed, hook load, flow rate, temperature, conductivity, mud density, DC index, and drill bit torque.

[0026] Beneficial effects

[0027] This invention provides a novel drilling parameter optimization method based on an artificial intelligence model to construct adaptive dynamic constraint boundaries for coupled optimization of ROP and MSE. This method achieves intelligent and flexible optimization by constructing a coupled optimization model and an adaptive dynamic constraint boundary adjustment method. Compared to existing techniques relying on classical multi-objective optimization algorithms, this invention can explicitly specify the optimization objective and its constraints, searching for the optimal solution within the constraint range, thereby achieving a balance between multiple optimization objectives such as drilling rate and mechanical energy specificity. During the optimization process, both the objective and constraints can be adjusted according to actual conditions, avoiding the limitations of fixed algorithm settings. Using this method for drilling parameter optimization can not only simultaneously improve drilling rate and control mechanical energy specificity, but also automatically adjust the constraint range according to preset objectives, further improving optimization flexibility. This invention comprehensively improves the economic benefits and efficiency of drilling and has significant practical application value. Attached Figure Description

[0028] Figure 1 This is a schematic diagram of the method flow in a preferred embodiment of the present invention;

[0029] Figure 2 This is a schematic diagram of the model structure in a preferred embodiment of the present invention;

[0030] Figure 3 This is a schematic diagram of the process for establishing a coupling optimization model in another preferred embodiment of the present invention;

[0031] Figure 4 This is a schematic diagram of a method for coupling optimization of the first and second multilayer perceptrons using a coupling optimization model in another preferred embodiment of the present invention.

[0032] Figure 5 This is a schematic diagram showing the optimization results of the target well section ROP and the changes in MSE in a single-objective optimization mechanical drilling rate prediction method according to another preferred embodiment of the present invention.

[0033] Figure 6 This is a schematic diagram of the constraint space and constraint domain in another preferred embodiment of the present invention;

[0034] Figure 7 This is a schematic diagram showing the changes in MSE and ROP when the constraint domain is 0-25% in another preferred embodiment of the present invention;

[0035] Figure 8 This is a schematic diagram illustrating the dynamic change process of the adaptive dynamic constraint boundary at the target well section of 2587m in another preferred embodiment;

[0036] Figure 9 This is a schematic diagram of the optimized MSE and ROP results when the ROP target value is set to 4 m / hr in another preferred embodiment. Detailed Implementation

[0037] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described below with reference to the accompanying drawings. In the description of this invention, it should be understood that the terms "upper," "lower," "front," "rear," "left," "right," "top," "bottom," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention.

[0038] Example 1

[0039] like Figure 1 , Figure 2 As shown, this embodiment provides a

[0040] A mechanical drilling rate prediction method based on adaptive dynamic constraint boundary coupling optimization includes:

[0041] S1. Construct a first and a second multilayer perceptron (MLP) to predict the drilling rate and specific energy of the machine. Establish a coupled optimization model under an adaptive dynamic constraint boundary adjustment method using a grid search approach. Connect the first and second MLPs to the coupled optimization model. The multilayer perceptron (MLP) is a feedforward neural network containing an input layer, an output layer, and one or more hidden layers. Each layer has multiple nodes connected by weight coefficients and trained using a backpropagation algorithm. MLPs can approximate arbitrarily complex nonlinear functions and can be used for various tasks such as classification, regression, and clustering. The first and second MLPs constructed in this invention are used to perform regression predictions of the drilling rate and specific energy of the machine, respectively, to establish two prediction models.

[0042] Grid search is a method that iterates through different combinations of hyperparameters to optimize the structure and parameters of a model. The idea is to construct a grid of hyperparameter values, traverse each node in the grid (i.e., each hyperparameter combination), evaluate the model's performance, and select the combination that optimizes the objective function. Compared to random search, grid search can more comprehensively evaluate different settings and avoid getting trapped in local optima. This invention utilizes grid search to optimize the adjustment strategy of adaptive dynamic constraint boundaries, achieving global optima in coupled optimization.

[0043] S2. Acquire logging-while-drilling (LWD) and well logging data from the actual drilled well. After preprocessing, obtain the optimal input features for the first and second multilayer perceptrons, respectively, as the first dataset. Use the first dataset to train the first and second multilayer perceptrons. It should be understood that the LWD and well logging data from the actual drilled well, as raw data, includes ROP and MSE, as well as other drilling measurement parameters, such as bit pressure, rotary table speed, torque, hook load, temperature, standpipe pressure, flow rate, conductivity, mud density, etc.; it also includes erroneous data and blank data, etc. Therefore, it is necessary to further clean the raw data and extract more targeted features as input features for the first and second multilayer perceptrons.

[0044] S3. Coupled optimization models are used to optimize the first and second multilayer perceptrons. The optimization objective is to minimize the mechanical specific energy while satisfying a specified mechanical drilling rate. Those skilled in the art should know that single-objective optimization is currently the most widely used method for predicting and optimizing drilling parameters, requiring only the search for the optimal solution within the optimization space of a single objective. However, since ROP and MSE are interrelated values, while single-objective optimization can significantly improve the value of one objective indicator (ROP), it also significantly sacrifices the other important indicator, MSE, and cannot fully meet the needs of the field.

[0045] Therefore, this embodiment proposes a multi-objective coupled optimization method. Coupled optimization refers to the process of optimizing multiple interdependent or mutually influential objective functions. For this invention, when extracting optimal input features, the ROP and MSE models do indeed share some common important features, such as drilling pressure and rotary table speed. Based on this, the coupled optimization in this embodiment establishes a correlation between ROP and MSE through these common important features, adjusting the values ​​of these features to achieve synergistic optimization. The trained first and second MLPs are connected to the coupled optimization model, that is, the optimization model guides the adjustment of MLP parameters to achieve synergistic optimization of mechanical drilling rate and mechanical specific energy. This connection method fully utilizes the powerful nonlinear fitting capability of the MLP and the adaptive adjustment function of the optimization model.

[0046] In some preferred embodiments, the optimal input features of the first multilayer sensor are: drill pressure, rotary table speed, wellhead torque, hook load, riser pressure, flow rate, mud density, DC index, and bit torque. The optimal input features of the second multilayer sensor are: drill pressure, rotary table speed, hook load, flow rate, temperature, conductivity, mud density, DC index, and bit torque.

[0047] Both models utilize drill pressure (WOB) and rotary table speed (RPM), thus enabling the optimization of ROP and MSE to be coupled together through these features.

[0048] Furthermore, in actual drilling operations, technicians consider factors such as economy and efficiency, and require the lowest possible MSE while maintaining the highest possible ROP. Therefore, this embodiment takes this as the optimization objective.

[0049] S4. The trained and optimized first and second multilayer perceptrons are used to predict the mechanical drilling rate and mechanical specific energy of the target well. Specifically, after obtaining good training data and performing data preprocessing, the first and second multilayer perceptrons can be trained in a supervised manner using the backpropagation algorithm. After training, coupling optimization methods such as grid search are used to adjust the model parameters and obtain the multilayer perceptron with the best prediction effect on mechanical drilling rate and mechanical specific energy.

[0050] Then, the optimized first and second multilayer perceptrons are applied to predict the target drilling data. Relevant feature data of the target drilling is input into the corresponding multilayer perceptron, which then outputs predictions for the drilling mechanical rate of penetration and mechanical specific energy based on the input data and the trained patterns.

[0051] Compared to an unoptimized multilayer perceptron, the trained and optimized model offers superior predictive performance, providing more accurate and reliable drilling parameter predictions and a basis for subsequent drilling planning. The optimized model can be reused to continuously provide predictive services for different target drilling operations.

[0052] Example 2

[0053] like Figure 3 As shown, this embodiment is based on Embodiment 1 above. This embodiment provides a method for establishing a coupled optimization model, specifically including:

[0054] S101. Establish a constraint space, the boundaries of which correspond to the maximum and minimum values ​​of the predicted mechanical specific energy output by the second multilayer perceptron. The constraint space refers to the range of maximum and minimum values ​​achievable under a certain condition. In this embodiment, since ROP is the final prediction target and MSE is the auxiliary prediction target, the correlation between ROP and MSE can be examined by confining MSE within the constraint space, and the optimal solution for ROP can be found.

[0055] The purpose of establishing this constraint space is to provide an adjustable range to limit the value of MSE, thereby enabling targeted search optimization of ROP. Simultaneously, the constraint space also provides a space to balance ROP and MSE; by adjusting the boundary values, a balance between the two can be achieved.

[0056] S102. Establish a mapping table to map the relationship between the predicted mechanical drilling rate and the predicted mechanical specific energy output by the first and second multilayer perceptrons; in some preferred embodiments, the specific approach is as follows:

[0057] Using the first and second multilayer perceptrons respectively, a set of ROP values ​​and MSE values ​​are predicted based on the same input features.

[0058] Establish a mapping relationship between the predicted ROP and MSE values, for example, ROP1 corresponds to MSE1, ROP2 corresponds to MSE2, and store them in a table.

[0059] Repeat the above process to obtain more mapping relationships, forming a more complete mapping relationship table.

[0060] After establishing such a mapping table, within the given MSE range of the constraint space, the corresponding ROP value combination that satisfies the MSE constraint can be quickly found. This provides a reference and convenience for subsequent searching for the optimal solution of ROP within the constraint range.

[0061] S103. Establish a constraint domain, which is a subset of the constraint space, and its boundaries can be dynamically adjusted. It should be understood that establishing the constraint domain refers to defining a subset that meets the optimization objective based on the distribution pattern or trend of MSE values ​​in the constraint space. For example, the constraint space can be divided proportionally according to the degree of influence of MSE on ROP, and a portion with a smaller impact on ROP can be designated as the constraint domain. Alternatively, a threshold value for MSE can be used, and only the portion below the threshold can be selected as the constraint domain.

[0062] Furthermore, the boundaries of the constraint domain are dynamically adjustable. This means that during the optimization iteration process, if a satisfactory ROP solution cannot be found within the current constraint domain, the constraint domain can be expanded to include a wider range of MSEs, and the search process can be repeated. This method of gradually relaxing constraints allows for a more comprehensive search for the optimal solution.

[0063] Those skilled in the art will understand that this embodiment only provides a specific structural example of a coupled optimization model, and the specific parameter details and optimization methods can be set by those skilled in the art according to the actual situation and needs on site. For example, parameters such as the proportional division of the constraint domain and the boundary adjustment range can be configured.

[0064] Example 3

[0065] like Figure 4 As shown, this embodiment is based on Embodiment 2 above. This embodiment provides a specific method for coupling optimization of the first and second multilayer perceptrons using a coupling optimization model, including:

[0066] S301. When training and testing the second multilayer perceptron using the first training set, the maximum and minimum values ​​of the predicted mechanical specific energy output are used as the boundary of the constraint space. During the model training process, the first training set is input into the second multilayer perceptron for multiple training tests to obtain the range of the predicted mechanical specific energy.

[0067] Specifically, after each training test, the maximum and minimum values ​​of the mechanical specific energy in the prediction results are recorded. After repeating the training test multiple times, the absolute maximum value is selected from all recorded maximum and minimum values ​​as the upper boundary of the constraint space, and the absolute minimum value is selected as the lower boundary of the constraint space.

[0068] This method ensures that the constraint space encompasses the entire prediction range of the second-layer perceptron under the current training set conditions, preventing omissions due to random data partitioning. It also provides a relatively stable and accurate constraint space range, serving as a basis for determining the subsequent constraint domain.

[0069] S302. Fill the predicted mechanical drilling rate and predicted mechanical specific energy relationship from the training output into the mapping relationship table; after the multilayer perceptron model is trained, different sample features can be input to obtain the corresponding predicted mechanical drilling rate and predicted mechanical specific energy.

[0070] Then, the predicted mechanical drilling rate and mechanical specific energy values ​​for each group are treated as a mapping pair and filled into the mapping table in sequence. For example, if sample 1 predicts mechanical drilling rate A1 and mechanical specific energy B1, it is filled into the table as a mapping pair A1-B1; if sample 2 predicts mechanical drilling rate A2 and mechanical specific energy B2, it is filled into the table as a mapping pair A2-B2, and so on.

[0071] By traversing different sample feature inputs, we can obtain as many mapping pairs as possible, forming a relatively complete mapping table, which provides a reference for subsequent ROP optimization within the constraint domain.

[0072] At the same time, based on the existing data in the mapping table, sample features can be designed specifically to make the prediction results more distributed in the areas of interest, thereby further improving the mapping table.

[0073] S303. Determine the initial constraint domain in the constraint space. After the constraint space is established, it is necessary to determine the initial constraint domain to provide the starting search range for subsequent ROP optimization.

[0074] The constraint domain can be determined based on the following principles:

[0075] 1. Divide the constraint space into equal parts according to a certain ratio, and take a portion of it as the initial constraint domain, for example, take 0-30% as the initial domain.

[0076] 2. Based on the mechanical specific energy threshold, determine the portion below a certain threshold as the initial constraint domain.

[0077] 3. By tentatively adjusting the range of the constraint domain, assess the impact on ROP and select a relatively optimal initial value.

[0078] 4. Based on the mapping table, select the part of the mechanical specific energy range where the ROP changes less as the initial domain.

[0079] 5. Alternatively, users can directly specify the initial value range of the constraint domain based on their experience.

[0080] Choosing a reasonable initial constraint domain can ensure the convergence of subsequent optimizations and prevent situations where a satisfactory ROP solution cannot be found. It also provides a good starting point for gradually adjusting the constraint domain.

[0081] S304. Within the constraint domain, check if there exists a predicted mechanical drilling rate that satisfies the specified mechanical drilling rate; if yes, stop the optimization; if not, adaptively adjust the boundary of the constraint domain and re-execute step S304. This adaptive boundary adjustment search method ensures both the globality of the optimization and improves search efficiency.

[0082] The optimization method proposed in this embodiment can adaptively increase the constraint boundary within the optimization space based on the minimum ROP target value specified by the user, thereby achieving the ROP that meets the field requirements with the minimum MSE increment, and solving the problem that coupled optimization methods cannot effectively improve drilling speed in some locations.

[0083] Furthermore, in some preferred embodiments, if no predicted mechanical drilling rate satisfying the specified mechanical drilling rate exists throughout the entire constraint space, the optimization ends, and the globally optimal solution is output. This step is a termination condition for adaptively adjusting the constraint domain boundary search.

[0084] When the boundary of the constraint domain has been adjusted to reach the boundary of the global constraint space, that is, the search range has covered the entire space, but a predicted value that satisfies the specified mechanical drilling speed still cannot be found, it means that the required drilling speed cannot be achieved under the current model and dataset conditions.

[0085] At this point, the iterative search can be terminated, and the best predicted drilling rate obtained so far can be directly output as the global optimal solution.

[0086] This prevents the algorithm from getting stuck in an infinite loop and unable to terminate. It also provides a feasible optimal drilling rate reference, offering a basis for user decision-making.

[0087] This termination condition fully utilizes the global nature of the constraint space, ensuring that the optimal solution to the problem can be obtained and improving the integrity of the algorithm.

[0088] Example 4

[0089] This embodiment is based on the above embodiment 1.

[0090] Considering that the logging-while-drilling (LWD) and well logging data from actual drilled wells contain a significant amount of noise, including the deletion of rows with missing values ​​and outliers, and that the original first dataset contains outliers, this type of data has a substantial impact on the performance of the neural model in subsequent steps. Therefore, this embodiment presents a superior preprocessing method, including:

[0091] Rows containing missing values ​​were removed from the first dataset, and a smoothing filter was applied. Two main techniques were employed: data cleaning and smoothing filtering. Data cleaning initially removed some outliers by deleting rows with missing values. However, the remaining outliers in the dataset could significantly negatively impact subsequent modeling. To further improve data quality, a Savitzky-Golay (SG) filter was introduced for smoothing.

[0092] The working principle of an SG filter is to smooth local segments of a signal using a polynomial fitting method. Typically, a second-order or higher polynomial is chosen to eliminate high-frequency noise while maintaining the overall shape of the signal. Compared to methods such as simple moving averages, the advantage of SG filtering is that it can better preserve the details of signal characteristics, such as edges and peaks, while smoothing the signal.

[0093] To achieve optimal smoothing, SG filtering requires selecting appropriate filter window width and polynomial order. Based on experience and testing, when processing well logging signal data, choosing a 5th-order polynomial and 17 sample points as a fitting window can significantly reduce noise while maintaining signal integrity. The first dataset processed by the SG filter shows a significantly improved signal-to-noise ratio, is stable and reliable, and is more suitable for subsequent modeling and analysis.

[0094] The SG filtering approach can also be extended to other similar data preprocessing scenarios, maximizing the preservation of effective information in the sample data while reducing noise. In summary, SG filtering provides a simple and effective technique for improving data quality, making the model trained on the dataset more robust and reliable.

[0095] For the first dataset after smoothing and filtering, Pearson correlation coefficient quantization analysis is performed on the first and second multilayer perceptrons respectively. Features with low absolute values ​​of Pearson correlation coefficients are removed to obtain the optimal input features for the first and second multilayer perceptrons.

[0096] After smoothing and filtering the first dataset, feature selection is required to determine which features have a stronger correlation with ROP and which have a stronger correlation with MSE, and then extract them as input features for the model. The Pearson correlation coefficient can be used to quantitatively analyze the correlation between each feature and ROP and MSE.

[0097] The Pearson correlation coefficient ranges from -1 to 1, with a larger absolute value indicating a stronger linear correlation between the two variables. Calculate the Pearson coefficient between each candidate feature and the ROP, and take the absolute value. This allows for a direct comparison of the correlation strength between different features and the ROP.

[0098] Generally, a coefficient absolute value above 0.5 indicates a moderate to high correlation. Therefore, features with weak correlation to ROP and MSE can be filtered out and removed, retaining only the features with strong correlation.

[0099] Furthermore, different correlation coefficient thresholds can be set, different numbers of features can be selected, and the performance of the models corresponding to these feature combinations can be compared to find the optimal subset of input features. Pearson correlation analysis provides a simple and effective method for feature selection, making the model input more focused, thereby improving the prediction performance of ROP and MSE.

[0100] Experimental Example

[0101] This experimental example mainly examines the differences between the traditional single-objective optimization method and the adaptive dynamic constraint boundary coupling optimization method proposed in this invention.

[0102] This experimental example uses field drilling data from a well in Sichuan, China, ranging from 1023m to 2650m, as the original dataset, containing 1627 data points. This well section is a vertical section and uses the same PDC drill bit. After preprocessing, the following parameters were extracted as optimal input features for the first multilayer perceptron: drilling pressure, rotary table speed, wellhead torque, hook load, standpipe pressure, flow rate, mud density, DC index, and drill bit torque. The following parameters were also extracted as optimal input features for the second multilayer perceptron: drilling pressure, rotary table speed, hook load, flow rate, temperature, conductivity, mud density, DC index, and drill bit torque.

[0103] The DC index is a dimensionless index used in drilling engineering to represent the drilling performance of a core sample. It is inversely proportional to the difficulty of drilling the rock.

[0104] Single-objective optimization method for predicting mechanical drilling rate

[0105] like Figure 5 As shown, the optimization results of ROP for the target well section are presented, along with the changes in MSE. Figure 5In graph A, the curve at the top represents the optimized ROP value, while the curve at the bottom represents the measured ROP value. The graph shows that the single-objective optimization method significantly improves drilling efficiency, increasing the average ROP from 3.12 m / hr to 9.78 m / hr. However, this comes at the cost of a significant increase in the average MSE (Mean Separation). Figure 5 In section B, the curve at the top represents the optimized MSE value, and the curve at the bottom represents the measured MSE value, increasing from 318.05 MPa to 508.11 MPa. This optimization method, which significantly sacrifices one important indicator to meet another, clearly cannot meet the needs of the drilling site.

[0106] The mechanical drilling rate prediction method based on adaptive dynamic constraint boundary coupling optimization of the present invention

[0107] Before performing coupling optimization, first define the constraint space and constraint domain, such as... Figure 6 As shown. The constraint space of the MSE can be obtained through the second multilayer perceptron, as shown. Figure 6 Figure A shows the graph. The horizontal axis represents RPM, and the vertical axis represents WOB. The graph shows that the upper and lower limits of MSE are 264 MPa and 590 MPa, respectively. To control the MSE value during ROP optimization, the optimization space was divided into two parts using constraint boundaries. Figure 6 The lines containing the number 370 in A represent the constraint boundary, and these two parts constitute the constraint domain. For example, in... Figure 6 In B, the constraint domain of MSE is 264MPa to 370MPa. At the same time, the combination of RPM and WOB is also restricted within the constraint domain. Figure 6 In C, the constraint range for MSE is 370 MPa to 590 MPa. Clearly, a smaller MSE is better, therefore, a smaller MSE is used. Figure 6 The constraint domain in B. Furthermore, the constraint range of MSE was set to 0–25%, and ROP was optimized within this constraint range. The changes in MSE and ROP were then recorded. Figure 7 The exhibition will be held in [the following]. Figure 7 In A, to visually demonstrate the changes in MSE within the constraint domain, the constraint domain was divided into four equal parts and filled with different fill densities. Figure 7 In section B, the curve at the top represents the optimized MSE value, showing that the MSE is controlled within the constraint range of 0-25%. While controlling the MSE, Figure 7Figure B shows the optimized ROP (upper curve) and measured values ​​(lower curve). The average ROP increased from 3.12 m / hr to 6.59 m / hr, while the average MSE increased from 318.05 MPa to 342.85 MPa. The data shows that the ROP still improved significantly, but only the MSE needed to be increased by 7.8%. However, when using single-objective optimization, although the ROP increased to 9.78 m / hr, the MSE increased by 59.8%. Therefore, this coupled optimization method is more suitable for the requirements of the drilling site than the single-objective optimization method.

[0108] exist Figure 7 The top section contains four heatmaps showing the partitioning of the optimization space and constraint domain at well depths of 2475m, 2525m, 2575m, and 2625m, respectively. The optimal ROP (Recovery Point) location within the constraint domain is marked with a four-pointed star. The graphs also show the ROP optimization results and corresponding feature changes (WOB and RPM) at these four locations. This section demonstrates how the model provided by this invention optimizes the drilling process; that is, it repeats the coupled optimization process described above at each well depth, and then optimizes the entire drilling process in real time.

[0109] like Figure 8 As shown, the dynamic change process of the adaptive dynamic constraint boundary is described using the MSE optimization space and constraint boundary at 2587m as an example. Initially, the MSE constraint boundary divides the optimization space into two parts in a 25:75 ratio, with a constraint boundary of 370MPa. The region of 0-25% is the MSE constraint domain. When a target ROP value that meets the drilling site requirements cannot be found within this domain, the constraint boundary will be dynamically raised, and then the constraint domain will be redefined, with the optimal ROP value calculated within the new constraint domain. This process continues until a target ROP value that meets the drilling site requirements is found. Figure 8 B). Of course, if a suitable ROP target value cannot be found in the entire optimization space, then the globally optimal solution is output ( Figure 8 C).

[0110] Following the steps outlined above, the case study employing a 25% MSE constraint domain for coupled optimization was further optimized. Here, we discuss the optimized MSE and ROP results when the ROP target value is set to 4 m / hr. Figure 9 As shown, this illustrates the dynamic changes in the constraint boundaries at certain locations.

[0111] Figure 9Figure A shows the curves of MSE as well depth increases, with the pentagrams at the bottom marking the well depth positions corresponding to the adoption of the adaptive dynamic constraint boundary adjustment method (where the MSE jumps out of the original constraint domain). As can be seen from the figure, the MSE is mostly within the 0–25% constraint domain, but when the optimization method provided by this invention is applied, the MSE jumps out of the original constraint domain. For example, at well depths of 2491m and 2625m, the MSE is within the 75%–100% constraint domain. Figure 9 Figure B shows the measured values ​​(lower curve) and optimized values ​​(upper curve) of ROP. It can be seen that at the well depth marked by the pentagram at the bottom, the optimized ROP results compared to... Figure 7 B showed a significant improvement, reaching 4 m / hr most of the time. The ROP values ​​optimized using the adaptive dynamic constraint boundary adjustment method have four variations, as shown in Table 1 below:

[0112] Table 1 shows four scenarios for ROP values ​​after optimization using the adaptive dynamic constraint boundary strategy. example Is the strategy effective? Optimization effect 1 yes ROP > target value, MSE > initial constraint boundary 2 yes ROP < target value, MSE > initial constraint boundary 3 no ROP < target value, MSE < initial constraint boundary 4 no ROP > target value, MSE < initial constraint boundary

[0113] (1) The ROP is increased to the target value that meets the field requirements, and the MSE jumps out of the original constraint domain; (2) The ROP is not increased to the target value that meets the field requirements, and the MSE jumps out of the original constraint domain; (3) The ROP is not increased to the target value that meets the field requirements, and the MSE is within the original constraint domain; (4) The strategy is not effective, but the ROP has met the target value that meets the field requirements. As can be seen from the figure, cases 1 and 2 are defined as the effective time of the adaptive dynamic constraint boundary adjustment method. In the third case, although the constraint boundary has changed, the optimal ROP in the entire optimization space is still within the initial constraint domain. Therefore, this case is defined as not belonging to the effective time of the adaptive dynamic constraint boundary adjustment method (the bottom pentagram is not marked with the corresponding position). This is also why the ROP at some well depths has not reached the target value (4m / hr) required by the field, but the strategy has not been effective.

[0114] exist Figure 9 In the well, the mean ROP after optimization was 6.75 m / hr, and the proportion of ROP < 4 m / hr in the entire optimized well section (2450 m ~ 2650 m) was significantly reduced. The ROP after strategy coupling optimization was significantly improved in the low value region. The mean MSE after strategy coupling optimization was 355.17 MPa, which was only 12.32 MPa higher than the result of coupling optimization.

[0115] exist Figure 9The four smaller figures at the top illustrate the adaptive dynamic changes of the constraint boundary at well depths of 2491m and 2625m, respectively, with the optimal ROP within the constraint domain marked by four-pointed stars. At the 2491m depth, the MSE constraint boundary increased from 288MPa to 538MPa, and the optimal ROP within the constraint domain increased from 2.37m / hr to 3.81m / hr. At the 2625m depth, the MSE constraint boundary increased from 447MPa to 547MPa, and the optimal ROP within the constraint domain increased from 2.46m / hr to 4.02m / hr. It can be seen that the ROP value at the 2491m depth belongs to case 2 mentioned earlier, while the ROP value at the 2625m depth belongs to case 1.

[0116] The above research demonstrates that the adaptive dynamic constraint boundary strategy performs well under various ROP objective values. Table 2 below summarizes all the optimization results.

[0117] Table 2 shows ROP and MSE when using different optimization methods.

[0118] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of this invention is defined by the appended claims and their equivalents.

Claims

1. A mechanical drilling rate prediction method based on adaptive dynamic constraint boundary coupling optimization, characterized in that, include: S1. Construct the first and second multilayer perceptrons respectively to predict the mechanical drilling rate and mechanical specific energy; A coupled optimization model under the adaptive dynamic constraint boundary adjustment method is established using the grid search method; the first and second multilayer perceptrons are then connected to the coupled optimization model. S2. Obtain logging and well logging data from the actual drilled well, preprocess the data to obtain the optimal input features for the first and second multilayer perceptrons, and use them as the first dataset; train the first and second multilayer perceptrons using the first dataset. S3. Use a coupled optimization model to perform coupled optimization on the first and second multilayer perceptrons. The optimization objective is to minimize the mechanical specific energy under the condition of satisfying the specified mechanical drilling speed. S4. Use the trained and optimized first and second multilayer perceptrons to predict the mechanical drilling rate and mechanical specific energy of the target well. The method for establishing the coupling optimization model includes: S101. Establish a constraint space, wherein the boundaries of the constraint space correspond to the maximum and minimum values ​​of the predicted mechanical specific energy output by the second multilayer sensor, respectively. S102. Establish a mapping table to map the relationship between the predicted mechanical drilling rate and the predicted mechanical specific energy output by the first and second multilayer perceptrons. S103. Establish a constraint domain, wherein the constraint domain is a subset of the constraint space and its boundaries can be dynamically adjusted; The method for coupling optimization of the first and second multilayer perceptrons using a coupling optimization model includes: S301. When training and testing the second multilayer perceptron using the first training set, the maximum and minimum values ​​of the predicted mechanical specific energy output are used as the boundary of the constraint space. S302. Fill the predicted mechanical drilling rate and predicted mechanical specific energy relationship from the training output into the mapping relationship table; S303. Determine the initial constraint domain in the constraint space; S304. In the constraint domain, check if there is a predicted mechanical drilling rate that satisfies the specified mechanical drilling rate; if yes, stop optimization; if no, adaptively adjust the boundary of the constraint domain and re-execute step S304.

2. The mechanical drilling rate prediction method based on adaptive dynamic constraint boundary coupling optimization as described in claim 1, characterized in that: If there is no predicted mechanical drilling rate that satisfies the specified mechanical drilling rate in the entire constraint space, the optimization ends and the global optimal solution is output.

3. The mechanical drilling rate prediction method based on adaptive dynamic constraint boundary coupling optimization as described in claim 1, characterized in that, The preprocessing method includes: Delete the rows containing missing values ​​in the first dataset and process them using a smoothing filter; For the first dataset after smoothing and filtering, Pearson correlation coefficient quantization analysis is performed on the first and second multilayer perceptrons respectively. Features with low absolute values ​​of Pearson correlation coefficients are removed to obtain the optimal input features for the first and second multilayer perceptrons.

4. The mechanical drilling rate prediction method based on adaptive dynamic constraint boundary coupling optimization as described in claim 3, characterized in that, The optimal input features for the first multilayer sensor are: drilling pressure, rotary table speed, wellhead torque, hook load, riser pressure, flow rate, mud density, DC index, and drill bit torque.

5. The mechanical drilling rate prediction method based on adaptive dynamic constraint boundary coupling optimization as described in claim 3, characterized in that, The optimal input features for the second multilayer sensor are: drilling pressure, rotary table speed, hook load, flow rate, temperature, electrical conductivity, mud density, DC index, and drill bit torque.

Citation Information

Patent Citations

  • Mechanical drilling speed determination method and device, drilling parameter optimization method and device and electronic equipment

    CN114370264A