A method, device, equipment and medium for identifying drilling conditions

By correcting the drilling data marked with manual calibration results with working conditions, and using the first and second actual conditions to correct the data, the problem of relying on manual monitoring of drilling conditions in the prior art is solved, and the accuracy of drilling conditions recognition and operation simplicity are improved.

CN117807486BActive Publication Date: 2025-05-30CHINA NAT PETROLEUM CORP +2
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311541911.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-17
Publication Date
2025-05-30
Estimated Expiration
2043-11-17

AI Technical Summary

Technical Problem

In the prior art, drilling conditions are judged by manual monitoring, and are subjective and arbitrary. It is difficult to timely and accurately reflect the real drilling site situation. It has high modeling complexity and is difficult to promote.

Method used

By correcting the drilling data marked with manual calibration results with working conditions, the data is corrected using the first actual working conditions and the second actual working conditions to improve the accuracy of drilling conditions recognition.

Benefits of technology

It improves the accuracy of drilling conditions identification, is simple to operate, can effectively monitor drilling conditions, reduce accidents, and improve drilling efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117807486B_ABST
    Figure CN117807486B_ABST
Patent Text Reader

Abstract

An embodiment of the present application discloses a method, device, equipment and medium for identifying drilling conditions. The method includes: for drilling data with manually calibrated results marked with conditions, comparing a first target index in the drilling data with a preset threshold to determine a first actual condition, and correcting the manually calibrated results based on the first actual condition to obtain drilling data marked with a first calibrated result; determining a determination threshold for a second target index according to the drilling data marked with the first calibrated result, and determining a second actual condition according to the second target index and the determination threshold; correcting the drilling data marked with the first calibrated result based on the second actual condition to obtain a final calibrated result of the drilling data. The technical solution of the embodiment of the present application corrects the drilling data with manually calibrated results marked with conditions through the first actual condition and the second actual condition to obtain a final calibrated result, which can improve the accuracy of identifying drilling conditions and is simple to operate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of oil and gas exploration, and particularly to a method, device, equipment and medium for identifying drilling conditions. Background Art

[0002] With the gradual development of oil and gas exploration and development towards deep and complex formations, the risks faced during the drilling process are increasing. Due to the limitations of existing formation pressure prediction methods and drilling techniques, it is still impossible to completely avoid the invasion of formation fluids. Drilling conditions reflect the operating state of the drilling system, including typical conditions such as drilling, circulation, tripping in and out, etc. The drilling process is characterized by high risks, complexity, uncertainty, etc. Therefore, real-time monitoring of normal drilling conditions can effectively improve the drilling efficiency and reduce the occurrence of accidents, which is of great significance to oil drilling work.

[0003] In the prior art, the judgment of drilling conditions is mainly carried out by manually monitoring some key drilling parameters to determine the corresponding conditions. However, drilling is a long-term and continuous process, and human energy is limited. It is impossible to continuously and highly focus on the subtle changes of drilling parameters, and it cannot accurately and timely reflect the real on-site situation. Moreover, manual judgment is subjective and arbitrary, which may cause certain calibration deviations. Therefore, in recent years, many intelligent algorithms for identifying drilling conditions based on models have been proposed, but the modeling complexity of these methods is relatively high, and it is difficult to promote. Summary of the Invention

[0004] The present application provides a method, device, equipment and medium for identifying drilling conditions. By using the first actual condition and the second actual condition to correct the drilling data with the manually calibrated result marked with the condition, the final calibrated result can be obtained, which can improve the accuracy of identifying drilling conditions and is simple to operate.

[0005] According to one aspect of the present application, a method for identifying drilling conditions is provided. The method includes:

[0006] For the drilling data with the manually calibrated result marked with the condition, compare the first target index in the drilling data with a preset threshold to determine the first actual condition, and correct the manually calibrated result based on the first actual condition to obtain the drilling data marked with the first calibrated result;

[0007] According to the drilling data marked with the first calibrated result, determine the determination threshold of the second target index, and determine the second actual condition according to the second target index and the determination threshold;

[0008] Correct the drilling data marked with the first calibrated result based on the second actual condition to obtain the final calibrated result of the drilling data.

[0009] According to another aspect of the present application, there is provided a drilling condition identification device, the device comprising:

[0010] An artificial calibration result correction module, configured to compare a first target index in the drilling data with a preset threshold for the drilling data with an artificial calibration result marked with a working condition to determine a first actual working condition, and correct the artificial calibration result based on the first actual working condition to obtain the drilling data marked with a first calibration result;

[0011] A second actual working condition determination module, configured to determine a determination threshold for a second target index according to the drilling data marked with a first calibration result, and determine a second actual working condition according to the second target index and the determination threshold;

[0012] A final calibration result determination module, configured to correct the drilling data marked with a first calibration result based on the second actual working condition to obtain the final calibration result of the drilling data.

[0013] According to another aspect of the present application, there is provided an electronic device, the device comprising:

[0014] At least one processor; and

[0015] A memory communicatively connected to at least one processor; wherein,

[0016] The memory stores a computer program executable by at least one processor, and the computer program is executed by at least one processor so that at least one processor can execute the drilling condition identification method of any embodiment of the present application.

[0017] According to another aspect of the present application, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the drilling condition identification method of any embodiment of the present application when executed.

[0018] The technical solution of the embodiment of the present application compares a first target index in the drilling data with a preset threshold for the drilling data with an artificial calibration result marked with a working condition to determine a first actual working condition, and corrects the artificial calibration result based on the first actual working condition to obtain the drilling data marked with a first calibration result; determines a determination threshold for a second target index according to the drilling data marked with a first calibration result, and determines a second actual working condition according to the second target index and the determination threshold; corrects the drilling data marked with a first calibration result based on the second actual working condition to obtain the final calibration result of the drilling data. The technical solution of the embodiment of the present application corrects the drilling data with an artificial calibration result marked with a working condition through the first actual working condition and the second actual working condition to obtain the final calibration result, which can improve the accuracy of drilling condition identification and is simple to operate.

[0019] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become readily understood through the following description. Description of the Drawings

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0021] Figure 1 is a flowchart of a method for identifying drilling working conditions provided in Embodiment 1 of the present application;

[0022] Figure 2 is a flowchart for identifying a first actual working condition provided in Embodiment 1 of the present application;

[0023] Figure 3 is a schematic flowchart for identifying drilling working conditions provided in Embodiment 1 of the present application;

[0024] Figure 4 is a flowchart of a method for identifying drilling working conditions provided in Embodiment 2 of the present application;

[0025] Figure 5 is a scatter plot after coupling the hook load and the hook height in the single joint connection working condition provided in Embodiment 2 of the present application;

[0026] Figure 6 is a scatter plot after coupling the hook load and the hook height in the hoisting working condition provided in Embodiment 2 of the present application;

[0027] Figure 7 is a scatter plot after coupling the hook load and the hook height in the lowering working condition provided in Embodiment 2 of the present application;

[0028] Figure 8 is a schematic structural diagram of a device for identifying drilling working conditions provided in Embodiment 3 of the present application;

[0029] Figure 9 is a schematic structural diagram of an electronic device for implementing the method for identifying drilling working conditions provided in Embodiment 4 of the present application. Detailed Embodiments

[0030] To enable those skilled in the art to better understand the solution of this application, the following will clearly and completely describe the technical solutions in the embodiments of this application in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0031] It should be noted that the terms "first", "second", "third", "fourth", "actual", "preset", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of this application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.

[0032] Embodiment 1

[0033] Figure 1 It is a flowchart of a method for identifying drilling conditions provided in Embodiment 1 of this application. The embodiments of this application are applicable to the situation of identifying drilling conditions during the drilling process. This method can be executed by a drilling condition identification device, which can be implemented in the form of hardware and / or software, and the drilling condition identification device can be configured in an electronic device. As Figure 1 shown, this method includes.

[0034] S110. For the drilling data with the manually calibrated results marked with working conditions, compare the first target index in the drilling data with the preset threshold to determine the first actual working condition, and correct the manually calibrated results based on the first actual working condition to obtain the drilling data marked with the first calibrated results.

[0035] Among them, the first target index includes inlet flow rate, bit depth, well depth difference, change gradient of inlet flow rate, weight on bit, etc., and the first actual working condition includes empty well condition, drilling condition, circulation condition, and other conditions.

[0036] In the embodiments of the present application, the first actual working condition can be determined based on the state quantity of the first target index. Specifically, the first target index in the drilling data is compared with a preset threshold to determine the first actual working condition. Among them, the weight-on-bit (WOB), inlet flow rate, and bit depth are compared with the preset threshold to determine whether it is an empty well condition or other conditions. The WOB and well depth difference are compared with the preset threshold to determine whether it is a drilling condition. The WOB, inlet flow rate, and change gradient of the inlet flow rate are compared with the preset threshold to determine whether it is a circulation condition. Exemplarily, Figure 2 shows a flowchart for identifying the first actual working condition, as Figure 2 shown. When the WOB is greater than 0 and the well depth difference is less than 0.1, the first actual working condition is the drilling condition. When the WOB is equal to 0, the inlet flow rate is greater than 0.15, and the change gradient of the inlet flow rate is greater than 0.065, the first actual working condition is the circulation condition. When the WOB is equal to 0, the inlet flow rate is equal to 0, and the bit depth is equal to 0, the first actual working condition is the empty well condition. When the WOB is equal to 0, the inlet flow rate is equal to 0, and the bit depth is not equal to 0, the first actual working condition is other conditions. After that, the artificial calibration result can be corrected based on the first actual working condition to obtain the drilling data with the first calibrated result marked.

[0037] In the embodiments of the present application, before comparing the first target index in the drilling data with the preset threshold to determine the first actual working condition for the drilling data with the artificial calibration result marked with the working condition, it is necessary to obtain the drilling data with the artificial calibration result marked with the working condition.

[0038] Specifically, before comparing the first target index in the drilling data with the preset threshold to determine the first actual working condition for the drilling data with the artificial calibration result marked with the working condition, the method further includes: comparing the acquisition data at the target time with the acquisition data at the adjacent time. If they are inconsistent, the acquisition data at the target time is stored; based on the drilling working condition log table, the recorded working condition at the target time is determined. If there is no recorded working condition at the target time, the working condition at the adjacent time of the target time in the drilling working condition log table is used as the recorded working condition at the target time.

[0039] Among them, the drilling working condition log table is filled in by on-site engineering personnel according to the actual situation during drilling, and includes the date, time, various drilling parameter values changing with time, and the description of the drilling working conditions at each time period determined by on-site engineering personnel.

[0040] In the embodiments of the present application, first, the data in multiple data files generated by the drilling software is read, and the collected data at the target moment is compared with the collected data at the adjacent moment. If they are inconsistent, the collected data at the target moment is stored. Then, the data stored in the database is drilling data with uneven time but no redundant data. Secondly, the time and working condition description in the drilling working condition log table are read, and natural language processing is performed on the working condition description to obtain the required recorded working condition. If there is a moment in the log table without a recorded working condition, the recorded working condition at the adjacent moment before this moment is used as the recorded working condition at this moment to ensure that there is a corresponding recorded working condition at each moment during the entire drilling process. Finally, based on the recorded working condition and time obtained in the previous step, the data stored in the database is labeled to form drilling data with the artificial calibration result labeled with the working condition.

[0041] S120. Determine the determination threshold of the second target index according to the drilling data labeled with the first calibration result, and determine the second actual working condition according to the second target index and the determination threshold.

[0042] Among them, the second target index includes the hook height and the hook load, and the second actual working condition includes the single joint connection working condition, the drill pipe pulling working condition, and the drill pipe running working condition.

[0043] In the embodiments of the present application, the second actual working condition can be determined based on the trend quantity of the second target index. Specifically, the determination threshold of the second target index can be determined first according to the drilling data labeled with the first calibration result, and then the second actual working condition can be determined according to the second target index and the determination threshold.

[0044] S130. Correct the drilling data labeled with the first calibration result based on the second actual working condition to obtain the final calibration result of the drilling data.

[0045] In the embodiments of the present application, after determining the second actual working condition, the drilling data labeled with the first calibration result can be corrected based on the second actual working condition to obtain the final calibration result of the drilling data, realizing the accurate identification of the drilling state. The drilling working condition identification method provided by the embodiments of the present application can not only accurately identify the working conditions of historical data, but also be applied to real-time data to obtain real-time drilling working conditions, which is beneficial to the arrangement and scheduling of drilling-related operations and the handling of complex working conditions, and provides scientific and effective guidance for realizing efficient, safe, and low-cost drilling.

[0046] It should be noted that the embodiments of the present application do not limit the order of the two calibrations. It is also possible to first determine the second actual working condition based on the trend quantity of the second target index, correct the drilling data of the manually calibrated result marked with the working condition to obtain the drilling data marked with the second calibration result, and then determine the first actual working condition based on the state quantity of the first target index, and correct the drilling data marked with the second calibration result to obtain the final calibration result of the drilling data. Or, determine the first actual working condition and the second actual working condition simultaneously, and correct the drilling data of the manually calibrated result marked with the working condition according to the first actual working condition and the second actual working condition to obtain the final calibration result of the drilling data. Exemplarily, Figure 3 shows a schematic flow chart of drilling working condition recognition, such as Figure 3 shown, judge the drilling data marked with the manually calibrated result based on the trend quantity and the state quantity respectively to obtain the first actual working condition and the second actual working condition, and correct the drilling data of the manually calibrated result marked with the working condition according to the first actual working condition and the second actual working condition to obtain the final calibration result of the drilling data.

[0047] In the embodiments of the present application, after calibrating the drilling data of the manually calibrated result marked with the working condition twice according to the first actual working condition and the second actual working condition, it is also possible to perform a third calibration on the drilling data based on the working condition category to correct the wrong working condition calibration result.

[0048] Specifically, after correcting the drilling data marked with the first calibration result based on the second actual working condition, the method further includes: determining whether there is an instantaneous working condition corresponding to the target moment in the continuous working conditions corresponding to the calibrated target time period; if so, modifying the instantaneous working condition to a continuous working condition.

[0049] Among them, the instantaneous working condition refers to the working condition that can be determined only by the parameters at one time point, such as the drilling working condition and the circulation working condition, while the continuous working condition refers to the working condition that can be determined by the drilling data for a period of time, such as the tripping out working condition and the tripping in working condition.

[0050] In the embodiments of the present application, when it is determined that there is an instantaneous working condition corresponding to the target moment in the continuous working conditions corresponding to the calibrated target time period, it means that the previous calibration result is incorrect, and the instantaneous working condition needs to be modified to a continuous working condition. Thus, the previous calibration result can be verified, and the incorrect calibration result can be modified to improve the accuracy of drilling working condition recognition.

[0051] In the technical solution of the embodiment of the present application, for the drilling data with the manually calibrated results marked with working conditions, the first target index in the drilling data is compared with a preset threshold to determine the first actual working condition, and the manually calibrated results are corrected based on the first actual working condition to obtain the drilling data marked with the first calibrated results; according to the drilling data marked with the first calibrated results, the determination threshold of the second target index is determined, and according to the second target index and the determination threshold, the second actual working condition is determined; the drilling data marked with the first calibrated results is corrected based on the second actual working condition to obtain the final calibrated results of the drilling data. The technical solution of the embodiment of the present application corrects the drilling data with the manually calibrated results marked with working conditions through the first actual working condition and the second actual working condition to obtain the final calibrated results, which can improve the accuracy of drilling working condition identification and is easy to operate.

[0052] Embodiment 2

[0053] Figure 4 The flowchart of a drilling working condition identification method provided by the second embodiment of the present application is based on the above embodiment for optimization. For the solutions not described in detail in the second embodiment of the present application, refer to the above embodiment. As Figure 4 shown, the method of the embodiment of the present application specifically includes the following steps:

[0054] S210. For the drilling data with the manually calibrated results marked with working conditions, the first target index in the drilling data is compared with a preset threshold to determine the first actual working condition, and the manually calibrated results are corrected based on the first actual working condition to obtain the drilling data marked with the first calibrated results.

[0055] S220. Based on a preset algorithm, the slope threshold for distinguishing the line type classification of the drilling data within a preset time window is determined according to the slope of the drilling data within the preset time window, and used as the determination threshold.

[0056] Among them, the preset algorithms include the satin bowerbird SBO algorithm, the unimodal map (Logistic map), and the standard genetic algorithm. The SBO algorithm combines an adaptive neural simulation inference system, integrates operations such as dynamic step size and mutation, and has good optimization performance. The Logistic map is a chaotic map, usually used to generate pseudo-random number sequences. The characteristics of the Logistic map include chaotic properties, periodicity, and pseudo-randomness. The standard genetic algorithm is used to solve the optimization problem of finding the optimal solution or approximate optimal solution of a problem. The standard genetic algorithm simulates the genetic and evolutionary processes of biological populations in nature, and generates new solutions through continuous iteration to gradually approach the optimal solution of the problem.

[0057] Among them, the line type classification includes horizontal lines, vertical lines, and corners, which are divided by the slope.

[0058] In the embodiments of the present application, an optimal solution of a slope threshold for determining a line type classification of drilling data within a preset time window can be determined based on a preset algorithm that combines the SBO algorithm, the Logistic mapping, and the standard genetic algorithm, and used as a determination threshold. It should be noted that both the SBO algorithm and the standard genetic algorithm are iterative algorithms, and iterative termination conditions need to be specified. In the embodiments of the present application, the algorithm is terminated after reaching the maximum number of iterations. However, the embodiments of the present application do not limit the iterative termination conditions, and the algorithm can also be terminated after reaching the target fitness value or when the fitness has not improved for several consecutive generations.

[0059] S230. Determine the line type classification of the scatter plot formed by the second target indicators within the preset time window according to the second target indicators and the determination threshold; wherein, the second target indicators include the hook height and the hook load.

[0060] In the embodiments of the present application, first, a scatter plot formed by the second target indicators within the preset time window can be determined according to the second target indicators, and then the line type classification of the scatter plot formed by the second target indicators can be determined according to the determination threshold.

[0061] Specifically, determining the line type classification of the scatter plot formed by the second target indicators within the preset time window according to the second target indicators and the determination threshold includes: performing a stationarity analysis on the second target indicators within the preset time window to determine the stationary second target indicators; performing a linear fitting on the second target indicators and determining the corresponding target slope; and determining the line type classification of the graph formed by the second target indicators within the preset time window according to the target slope and the determination threshold.

[0062] In the embodiments of the present application, the Mann-Kendall algorithm can be used to perform a stationarity analysis on the second target indicators within the preset time window to determine whether the points formed by the second target indicators within the preset time window are in stationary motion, so as to determine the stationary second target indicators. Then, the logistic regression method is used to perform a linear fitting on the second target indicators, and the target slope of the fitted line is calculated. Finally, by comparing the target slope and the determination threshold, the line type classification of the graph formed by the second target indicators within the preset time window is determined, that is, the horizontal lines, vertical lines, and corners included in the graph.

[0063] S240. Determine the line type trend of the scatter plot formed by the second target indicators within the preset time window.

[0064] The line type trend refers to the movement direction of the scatter points in the scatter plot, including clockwise distribution with time and counterclockwise distribution with time. In the embodiments of the present application, the line type trend of the scatter plot formed by the second target indicators within the preset time window can be determined according to the generation time of the scatter points when the scatter plot is formed by the second target indicators.

[0065] S250. Determine the second actual working condition according to the line type classification and the line type trend.

[0066] In the embodiment of the present application, after determining the line type classification and the line type trend, the second actual working condition can be determined.

[0067] Specifically, determining the second actual working condition according to the line type classification and the line type trend includes: if the scatter plot of the second target index forms two closed quadrilaterals with a coincidence degree less than the first threshold according to the line type classification and the line type trend, determine that the second actual working condition is single pipe connection; if the scatter plot of the second target index forms at least two closed quadrilaterals with a coincidence degree greater than the second threshold according to the line type classification and the line type trend, and the line type trend is that the scatter points of the second target index are distributed counterclockwise with time in the closed quadrilateral, determine that the second actual working condition is pulling out of the hole; if the scatter plot of the second target index forms at least two closed quadrilaterals with a coincidence degree greater than the second threshold according to the line type classification and the line type trend, and the line type trend is that the scatter points of the second target index are distributed clockwise with time in the closed quadrilateral, determine that the second actual working condition is running in the hole.

[0068] Exemplarily, Figure 5 shows a scatter plot after coupling the hook load and the hook height in a single pipe connection working condition. As Figure 5 shown, the hook position represents the hook height, the hook suspension weight represents the hook load, and the scatter plot of the hook load and the hook height forms two closed quadrilaterals with a coincidence degree less than the first threshold, and it can be determined that the second actual working condition is single pipe connection. Among them, the pentagram in the figure represents the hook load and the hook height at the initial moment. The first threshold can be determined according to the actual situation, representing a smaller coincidence degree value. For example, 5%. The first threshold can be determined according to the number of points in the scatter plot. The calculation process of the coincidence degree can be to match the scatter positions of the two closed quadrilaterals, and determine the coincidence degree of the two quadrilaterals according to the number or proportion of the coincident scatter points of the two closed quadrilaterals. It can also process the two closed quadrilaterals according to the graphic similarity algorithm to determine the coincidence degree of the two closed quadrilaterals. As Figure 5 shown, in the single pipe connection working condition, the areas of the two quadrilaterals are different and there is only one common vertex. Specifically, it can also be that if the areas of the two closed quadrilaterals formed by the scatter plot are different and there is only one common vertex, then determine that this working condition is the single pipe connection working condition. In the single pipe connection working condition, one cycle forms the above two closed quadrilaterals.

[0069] Exemplarily, Figure 6 shows a scatter plot after coupling the hook load and the hook height in a pulling out of the hole working condition. As Figure 6As shown, the hook position represents the hook height, and the hook hanging weight represents the hook load. The scatter plot of the hook load and the hook height forms two closed quadrilaterals with a coincidence degree greater than the second threshold, and the linear trend is that the scatter points of the hook load and the hook height are distributed counterclockwise with time in the closed quadrilateral. It can be determined that the second actual working condition is tripping out. Among them, the pentagram in the figure represents the hook load and the hook height at the initial moment. The second threshold can be determined according to the actual situation, for example, a value representing a large coincidence degree. For example, it can be 80% or 90%. The second threshold can be determined according to the number of points in the scatter plot. As Figure 6 shown, the left, upper, and lower sides of the quadrilateral are basically completely coincident. Due to the different hook hanging weights in different tripping out processes, the right side is not completely coincident. One cycle in the tripping out working condition forms a closed quadrilateral.

[0070] Exemplarily, Figure 7 shows a scatter plot after coupling the hook load and the hook height in a running-in hole working condition. As Figure 7 shown, the hook position represents the hook height, and the hook hanging weight represents the hook load. The scatter plot of the hook load and the hook height forms two closed quadrilaterals with a coincidence degree greater than the second threshold, and the linear trend is that the scatter points of the hook load and the hook height are distributed clockwise with time in the closed quadrilateral. It can be determined that the second actual working condition is running-in hole. Among them, the pentagram in the figure represents the hook load and the hook height at the initial moment. The second threshold can be determined according to the actual situation, for example, a value representing a large coincidence degree. As Figure 7 shown, the left, upper, and lower sides of the quadrilateral are basically completely coincident. Due to the different hook hanging weights in different running-in hole processes, the right side is not completely coincident. One cycle in the running-in hole working condition forms a closed quadrilateral.

[0071] S260. Correct the drilling data marked with the first calibration result based on the second actual working condition to obtain the final calibration result of the drilling data.

[0072] An embodiment of the present application provides a method for identifying drilling conditions. For drilling data with manually calibrated results marked with conditions, the first target index in the drilling data is compared with a preset threshold to determine the first actual condition, and the manually calibrated results are corrected based on the first actual condition to obtain drilling data marked with the first calibrated results; based on a preset algorithm, the slope threshold for distinguishing the line type classification of the drilling data within a preset time window is determined according to the slope of the drilling data within the preset time window, and used as the determination threshold; according to the second target index and the determination threshold, the line type classification of the scatter plot formed by the second target index within the preset time window is determined; wherein, the second target index includes the hook height and the hook load; the line type trend of the scatter plot formed by the second target index within the preset time window is determined; according to the line type classification and the line type trend, the second actual condition is determined; based on the second actual condition, the drilling data marked with the first calibrated results is corrected to obtain the final calibrated results of the drilling data. The technical solution of the embodiment of the present application corrects the drilling data with manually calibrated results marked with conditions through the first actual condition and the second actual condition to obtain the final calibrated results, which can improve the accuracy of drilling condition identification and is easy to operate.

[0073] Embodiment III

[0074] Figure 8 As shown in the figure, it is a schematic structural diagram of a drilling condition identification device provided by Embodiment III of the present application. This device can execute the drilling condition identification method provided by any embodiment of the present application, and has corresponding functional modules and beneficial effects for executing the method. Figure 8 As shown, the device includes:

[0075] The manual calibration result correction module 310 is configured to, for drilling data with manually calibrated results marked with conditions, compare the first target index in the drilling data with a preset threshold to determine the first actual condition, and correct the manually calibrated results based on the first actual condition to obtain drilling data marked with the first calibrated results;

[0076] The second actual condition determination module 320 is configured to determine the determination threshold of the second target index according to the drilling data marked with the first calibrated results, and determine the second actual condition according to the second target index and the determination threshold;

[0077] The final calibration result determination module 330 is configured to correct the drilling data marked with the first calibrated results based on the second actual condition to obtain the final calibration results of the drilling data.

[0078] Optionally, the device further includes:

[0079] A data comparison module, configured to compare the collected data at the target time with the collected data at the adjacent time. If they are inconsistent, the collected data at the target time is stored.

[0080] A recorded working condition determination module, configured to determine the recorded working condition at the target time based on the drilling working condition log table.

[0081] A recorded working condition supplement module, configured to, if there is no recorded working condition at the target time, use the working condition at the adjacent time of the target time in the drilling working condition log table as the recorded working condition at the target time.

[0082] Optionally, the second actual working condition determination module 320 includes:

[0083] A determination threshold determination unit, configured to determine, based on a preset algorithm, a slope threshold for distinguishing the line type classification of the drilling data within a preset time window according to the slope of the drilling data within the preset time window, and use it as the determination threshold.

[0084] Optionally, the second actual working condition determination module 320 includes:

[0085] A line type classification determination unit, configured to determine the line type classification of the scatter plot formed by the second target indicators within a preset time window according to the second target indicators and the determination threshold; wherein, the second target indicators include the hook height and the hook load.

[0086] A line type trend determination unit, configured to determine the line type trend of the scatter plot formed by the second target indicators within a preset time window.

[0087] A second actual working condition determination unit, configured to determine the second actual working condition according to the line type classification and the line type trend.

[0088] Optionally, the line type classification determination unit includes:

[0089] A stationarity analysis subunit, configured to perform stationarity analysis on the second target indicators within a preset time window to determine the stationary second target indicators.

[0090] A target slope determination subunit, configured to perform linear fitting on the second target indicators and determine the corresponding target slope.

[0091] A line type classification determination subunit, configured to determine the line type classification of the graph formed by the second target indicators within a preset time window according to the target slope and the determination threshold.

[0092] Optionally, the second actual working condition determination unit includes:

[0093] The single-connection operation condition determination subunit is configured to determine that the second actual operation condition is single-connection if the scatter plot of the second target index formed according to the line type classification and the line type trend forms two closed quadrilaterals with a coincidence degree less than the first threshold;

[0094] The drill-out operation condition determination subunit is configured to determine that the second actual operation condition is drill-out if the scatter plot of the second target index formed according to the line type classification and the line type trend forms at least two closed quadrilaterals with a coincidence degree greater than the second threshold, and the line type trend is that the scatter points of the second target index are distributed counterclockwise with time in the closed quadrilateral;

[0095] The drill-in operation condition determination subunit is configured to determine that the second actual operation condition is drill-in if the scatter plot of the second target index formed according to the line type classification and the line type trend forms at least two closed quadrilaterals with a coincidence degree greater than the second threshold, and the line type trend is that the scatter points of the second target index are distributed clockwise with time in the closed quadrilateral.

[0096] Optionally, the final calibration result determination module 330 includes:

[0097] The instantaneous operation condition determination unit is configured to determine whether there is an instantaneous operation condition corresponding to the target moment in the continuous operation conditions corresponding to the calibrated target time period;

[0098] The instantaneous operation condition modification unit is configured to, if so, modify the instantaneous operation condition to a continuous operation condition.

[0099] The drilling operation condition identification device provided by the embodiment of the present application can execute the drilling operation condition identification method provided by any embodiment of the present application, and has the corresponding functional modules and beneficial effects for executing the method.

[0100] Embodiment 4

[0101] Figure 9 FIG. shows a schematic structural diagram of an electronic device 10 that can be used to implement the embodiments of the present application. The electronic device is intended to represent various forms of digital computers, such as, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, a personal digital processor, a cellular phone, a smart phone, a wearable device (such as a helmet, glasses, a watch, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present application described and / or claimed herein.

[0102] Such as Figure 9As shown, the electronic device 10 includes at least one processor 11 and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc. Among them, the memory stores a computer program executable by the at least one processor. The processor 11 can execute various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0103] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disc, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0104] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the drilling condition identification method.

[0105] In some embodiments, the drilling condition identification method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the drilling condition identification method described above can be executed. Alternatively, in other embodiments, the processor 11 can be configured to execute the drilling condition identification method by any other appropriate means (e.g., by means of firmware).

[0106] The various embodiments of the systems and techniques described above in this specification can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems-on-chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from, and transmits data and instructions to, a storage system, at least one input device, and at least one output device.

[0107] The computer programs for implementing the methods of this application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable production scheduling device for a product, such that the computer programs, when executed by the processor, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The computer programs can be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine, or entirely on the remote machine or server.

[0108] In the context of this application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0109] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and the input received from the user can be in any form (including acoustic input, voice input, or tactile input).

[0110] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.

[0111] The computing system can include a client and a server. The client and the server are generally far from each other and usually interact through a communication network. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system and solves the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.

[0112] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in this application can be executed in parallel, sequentially, or in a different order, as long as the information desired by the technical solution of this application can be achieved, and no limitation is imposed herein.

[0113] The above specific embodiments do not constitute a limitation on the protection scope of this application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principle of this application shall be included within the protection scope of this application.

Claims

1. A method for identifying drilling conditions, characterized in that, the method includes: For the drilling data with manually calibrated results marked with working conditions, compare the first target index in the drilling data with a preset threshold to determine the first actual working condition, and correct the manually calibrated results based on the first actual working condition to obtain the drilling data marked with the first calibrated results; According to the drilling data marked with the first calibrated results, determine the decision threshold of the second target index, and according to the second target index and the decision threshold, determine the line type classification of the scatter plot formed by the second target index within a preset time window; wherein, the second target index includes the hook height and the hook load; Determine the line type trend of the scatter plot formed by the second target index within a preset time window; If it is determined that the scatter plot of the second target index forms two closed quadrilaterals with a coincidence degree less than the first threshold according to the line type classification and the line type trend, then determine that the second actual working condition is making a connection; If it is determined that the scatter plot of the second target index forms at least two closed quadrilaterals with a coincidence degree greater than the second threshold according to the line type classification and the line type trend, and the line type trend is that the scatter points of the second target index are distributed counterclockwise with time in the closed quadrilateral, then determine that the second actual working condition is pulling out of the hole; If it is determined that the scatter plot of the second target index forms at least two closed quadrilaterals with a coincidence degree greater than the second threshold according to the line type classification and the line type trend, and the line type trend is that the scatter points of the second target index are distributed clockwise with time in the closed quadrilateral, then determine that the second actual working condition is running into the hole; Based on the second actual working condition, correct the drilling data marked with the first calibrated results to obtain the final calibrated results of the drilling data.

2. The method according to claim 1, characterized in that, Before comparing the first target index in the drilling data with a preset threshold to determine the first actual working condition for the drilling data with manually calibrated results marked with working conditions, the method further includes: Compare the acquisition data at the target time with the acquisition data at the adjacent time. If they are inconsistent, store the acquisition data at the target time; Based on the drilling condition log table, determine the recorded working condition at the target time; If there is no recorded working condition at the target time, use the working condition at the adjacent time of the target time in the drilling condition log table as the recorded working condition at the target time.

3. The method according to claim 1, characterized in that, Determining the decision threshold of the second target index according to the drilling data marked with the first calibrated results includes: Based on a preset algorithm, determine the optimal solution of the slope threshold for distinguishing the line type classification of the drilling data within a preset time window as the decision threshold.

4. The method according to claim 1, characterized in that, Determining the line type classification of the scatter plot formed by the second target index within a preset time window according to the second target index and the decision threshold includes: Conduct a stationarity analysis on the second target index within a preset time window to determine the stationary second target index; Perform a linear fit on the second target index and determine the corresponding target slope; Determine the line type classification of the graph formed by the second target index within a preset time window according to the target slope and the determination threshold.

5. The method according to claim 1, wherein, after correcting the drilling data marked with the first calibration result based on the second actual working condition, the method further includes: Determine whether there is an instantaneous working condition corresponding to the target moment in the continuous working conditions corresponding to the calibrated target time period; If it exists, modify the instantaneous working condition to a continuous working condition.

6. A drilling working condition identification device, wherein, the device includes: An artificial calibration result correction module, which is used to compare the first target index in the drilling data with a preset threshold to determine the first actual working condition for the drilling data marked with the artificial calibration result of the working condition, and correct the artificial calibration result based on the first actual working condition to obtain the drilling data marked with the first calibration result; A second actual working condition determination module, including: a linear classification determination unit, a line type trend determination unit, and a second actual working condition determination unit; The linear classification determination unit is used to determine the determination threshold of the second target index according to the drilling data marked with the first calibration result; determine the line type classification of the scatter plot formed by the second target index within a preset time window according to the second target index and the determination threshold; wherein, the second target index includes the hook height and the hook load; The line type trend determination unit is used to determine the line type trend of the scatter plot formed by the second target index within a preset time window; The second actual working condition determination unit includes: a single-connection operation condition determination subunit, a drilling-out operation condition determination subunit, and a drilling-in operation condition determination subunit; The single-connection operation condition determination subunit is used to determine that the second actual working condition is a single-connection if it is determined that the scatter plot of the second target index forms two closed quadrilaterals with a coincidence degree less than the first threshold according to the line type classification and the line type trend; The drilling-out operation condition determination subunit is used to determine that the second actual working condition is drilling out if it is determined that the scatter plot of the second target index forms at least two closed quadrilaterals with a coincidence degree greater than the second threshold according to the line type classification and the line type trend, and the line type trend is that the scatter points of the second target index are distributed counterclockwise with time in the closed quadrilateral; The drilling-in operation condition determination subunit is used to determine that the second actual working condition is drilling in if it is determined that the scatter plot of the second target index forms at least two closed quadrilaterals with a coincidence degree greater than the second threshold according to the line type classification and the line type trend, and the line type trend is that the scatter points of the second target index are distributed clockwise with time in the closed quadrilateral; A final calibration result determination module, which is used to correct the drilling data marked with the first calibration result based on the second actual working condition to obtain the final calibration result of the drilling data.

7. An electronic device, wherein, the device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and when the computer program is executed by the at least one processor, the at least one processor is enabled to execute the drilling condition identification method according to any one of claims 1-5.

8. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions for implementing the drilling condition identification method according to any one of claims 1-5 when executed by a processor.

Citation Information

Patent Citations

  • Well drilling working condition intelligent calibration method and system

    CN114991746A