A method and system for automatically identifying drilling conditions of a drilling rig
By preprocessing and status judgment of drilling parameter data, the drilling conditions are quickly identified, and the problems of insufficient timeliness and accuracy in the existing technology are solved, and efficient and accurate drilling conditions are achieved.
Patent Information
- Application Number
- CN202211581397.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-09
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2042-12-09
AI Technical Summary
The existing automatic drilling conditions recognition method relies on a neural network trained by a large amount of data, with low timeliness and unattracted data quality, resulting in insufficient identification accuracy and increasing drilling risks.
Preprocessing by obtaining drilling parameter data, including invalid data processing, outlier value removal, data smoothing and interpolation processing, and the drilling working conditions are identified in combination with the judgment of the shackle status on the top drive, the slurry switch status, the slurry pump switch status and the drill bit off the bottom of the well.
It realizes rapid and accurate identification of drilling conditions, and is suitable for 8 common operating conditions, improving the timeliness and accuracy of drilling operations and reducing risks.
Smart Images

Figure CN115822559B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of oil drilling, and in particular to an automatic identification method and system for drilling conditions of a drilling rig. Background Art
[0002] With the continuous development of oil drilling technology, more and more upper-level automation and intelligent software and hardware products are equipped on drilling rigs to improve drilling quality, safety and efficiency. The operation of these upper-level systems mostly depends on the input item of drilling conditions. At present, the actual condition judgment and switching of drilling operations are mostly performed manually by the driller, and its timeliness and accuracy are heavily dependent on the driller's energy and concentration. If the driller fails to select the correct working condition in time, the upper-level system will not be able to operate correctly, and may even make wrong judgments, thereby increasing drilling risks and even causing drilling accidents.
[0003] The existing methods for automatic identification of drilling conditions mostly use intelligent algorithms such as neural networks. However, these algorithms require a large amount of data to train the model, and the methods are complex and time-effective. In addition, the existing technologies mostly focus on the scale of data, but not on the quality of data, that is, the validity of data. Due to the complexity of drilling, the accuracy of sensor data, the quality of network communication and other factors, there are many invalid data in the real-time drilling parameters collected. If they are directly used as algorithm input, the accuracy of drilling condition identification will be greatly reduced. Summary of the invention
[0004] In view of the above problems, the object of the present invention is to provide a method and system for automatically identifying drilling conditions of a drilling rig with high timeliness and accuracy.
[0005] To achieve the above object, the present invention adopts the following technical solutions: In a first aspect, a method for automatically identifying drilling conditions of a drilling rig is provided, comprising:
[0006] Acquire drilling parameter data of the well to be identified and perform data preprocessing;
[0007] According to the pre-processed drilling parameter data, the top drive breakout state, slip switch state, mud pump switch state, top drive switch state and drill bit off the bottom of the well to be identified are judged;
[0008] According to the parameter status judgment result, the drilling condition of the well to be identified is identified.
[0009] Further, the obtaining of drilling parameter data of the well to be identified and performing data preprocessing includes:
[0010] Acquiring drilling parameter data of the well to be identified;
[0011] Performing invalid data processing on the drilling parameter data of the well to be identified;
[0012] Eliminate data outliers from the drilling parameter data after invalid data processing;
[0013] Perform data smoothing on the drilling parameter data after outliers are removed;
[0014] The smoothed drilling parameter data is interpolated.
[0015] Furthermore, the drilling parameter data includes well depth, drill bit position, hook height, hanging weight, drilling pressure, inlet flow, riser pressure, top drive speed, top drive torque and drilling speed.
[0016] Further, the determination of the top drive make-up and make-out state, slip switch state, mud pump switch state, top drive switch state and drill bit off bottom state of the well to be identified based on the pre-processed drilling parameter data includes:
[0017] According to the top drive speed, the counts of the tightening counter and the loosening counter in the pre-processed drilling parameter data, and the preset top drive speed range, tightening count value and loosening count value, the top drive make-up and make-up state of the well to be identified is judged;
[0018] According to the suspended weight in the preprocessed drilling parameter data and the pre-set light load threshold value and heavy load threshold value, the slip switch state of the drilling well to be identified is judged;
[0019] According to the top drive breakout status, the inlet flow in the pre-processed drilling parameter data and the preset inlet flow threshold, the mud pump switch status of the well to be identified is judged;
[0020] According to the top drive speed in the preprocessed drilling parameter data and the preset top drive speed threshold, the top drive switch state of the well to be identified is judged;
[0021] The state of the drill bit from the bottom of the well to be identified is determined based on the difference between the well depth and the drill bit position in the preprocessed drilling parameter data and a preset position difference threshold.
[0022] Furthermore, the top drive switch state includes three states: top drive forward rotation, top drive reverse rotation and top drive closed; the drill bit away from the bottom of the well state includes three states: the drill bit is at the bottom of the well, the drill bit is away from the bottom of the well and is less than the tripping threshold, and the drill bit is away from the bottom of the well and is greater than the tripping threshold.
[0023] Furthermore, the drilling conditions to be identified include drilling, reaming, circulation, adding columns, removing columns, pulling out, drilling, sliding orientation and waiting operations.
[0024] Further, when the parameter status judgment result is make-up, slips open, pump on, top drive forward rotation and drill bit at the bottom of the well, the drilling condition type of the well to be identified is drilling;
[0025] When the parameter status judgment result is make-up, slips open, pump on, top drive forward rotation and drill bit off the bottom of the well, the drilling condition type to be identified is reaming;
[0026] When the parameter status judgment result is make-up, slips open, pump on and top drive reversed or top drive closed, the drilling condition type of the drilling to be identified is circulation;
[0027] When the parameter status judgment result is make-up, slips open, pump on, drill bit at the bottom of the well and top drive reversed or top drive closed, the drilling condition type of the drilling to be identified is sliding directional;
[0028] When the parameter status judgment result is make-up, slips open, pump off and top drive off, the drilling condition type of the drilling to be identified is waiting for operation.
[0029] In a second aspect, a system for automatically identifying drilling conditions of a drilling rig is provided, comprising:
[0030] A data acquisition module, used to acquire drilling parameter data of the well to be identified and perform data preprocessing;
[0031] A state judgment module is used to judge the top drive make-up and break-out state, slip switch state, mud pump switch state, top drive switch state and drill bit off the bottom of the well according to the pre-processed drilling parameter data;
[0032] The drilling condition identification module is used to identify the drilling condition of the well to be identified according to the parameter status judgment result.
[0033] According to a third aspect, a processing device is provided, comprising computer program instructions, wherein the computer program instructions, when executed by the processing device, are used to implement the steps corresponding to the above-mentioned method for automatically identifying drilling conditions of a drilling rig.
[0034] In a fourth aspect, a computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions, when executed by a processor, are used to implement the steps corresponding to the above-mentioned method for automatically identifying drilling conditions of a drilling rig.
[0035] The present invention adopts the above technical solution, which has the following advantages:
[0036] 1. The method of the present invention is simple and can quickly and automatically identify the drilling conditions of the well without spending a lot of time on model training, and has high timeliness.
[0037] 2. The present invention can fully pre-process the input data, and the data validity is high, so the drilling conditions identified are highly accurate.
[0038] 3. The drilling condition recognition range of the present invention is wide, and 8 common drilling conditions can be recognized for use by other systems such as intelligent systems.
[0039] In summary, the present invention can be widely used in the field of oil drilling. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Throughout the accompanying drawings, the same reference numerals are used to represent the same components. In the accompanying drawings:
[0041] Figure 1 is a structural schematic diagram of a drilling rig provided by an embodiment of the present invention;
[0042] Figure 2 It is a schematic diagram of the overall flow of the method provided by an embodiment of the present invention;
[0043] FIG3 is a schematic diagram of an invalid data processing flow provided by an embodiment of the present invention, wherein FIG3(a) is an invalid data processing flow of an inlet flow rate, FIG3(b) is an invalid data processing flow of a difference between a well depth and a drill bit position, FIG3(c) is an invalid data processing flow of a riser pressure, and FIG3(d) is an invalid data processing flow of a top drive speed;
[0044] Figure 4 It is a schematic diagram of a process for removing data outliers provided by an embodiment of the present invention;
[0045] Figure 5 It is a schematic diagram of a data smoothing process provided by an embodiment of the present invention;
[0046] Figure 6 It is a schematic diagram of a flow chart of a top drive shackle state judgment process provided by an embodiment of the present invention;
[0047] Figure 7 It is a schematic diagram of a slip switch state determination process according to an embodiment of the present invention;
[0048] Figure 8 It is a schematic diagram of a mud pump switch state judgment process according to an embodiment of the present invention;
[0049] Fig. 9 It is a schematic diagram of a top drive switch state judgment process provided by an embodiment of the present invention;
[0050] Fig.10It is a schematic diagram of a flow chart of determining the state of a drill bit away from the bottom of a well provided by an embodiment of the present invention;
[0051] Fig.11 It is a schematic diagram of a drilling condition identification process provided by an embodiment of the present invention;
[0052] Fig.12 The present invention is a schematic diagram of a process flow for identifying working conditions of adding columns, removing columns, pulling out the drill, and drilling down the drill provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0053] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0054] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0055] Although the terms first, second, third, etc. can be used in the text to describe multiple elements, components, regions, layers and / or sections, these elements, components, regions, layers and / or sections should not be limited by these terms. These terms can only be used to distinguish an element, component, region, layer or section from another region, layer or section. Unless the context clearly indicates, terms such as "first", "second" and other numerical terms do not imply order or sequence when used in the text. Therefore, the first element, component, region, layer or section discussed below can be referred to as the second element, component, region, layer or section without departing from the teaching of the example embodiments.
[0056] The automatic identification method and system for drilling rig drilling conditions provided by the embodiments of the present invention can fully pre-process input data and quickly identify drilling conditions with high accuracy.
[0057] In order to better illustrate the automatic identification method and system of the drilling condition of the drilling rig of the embodiment of the present invention, the various components of the drilling rig are briefly described. Drilling is the process in which the top drive drives the drill pipe to rotate, and the traveling block slowly lowers to allow the top drive and the drill pipe to slowly drill downward. In order to cool and carry the broken rocks, a mud pump is required to pressurize the mud, which is injected into the bottom of the well through the riser, hose, top drive, and drill pipe, sprayed out from the drill bit in the air, and carried back to the ground from between the well wall and the drill pipe. After drilling a column, a new column needs to be connected and the drilling process is repeated. Pulling out the drill is generally a process in which the drill pipes at the bottom of the well are lifted up one by one, disconnected, and placed aside in order to change the drill bit and cement the well. Drilling down is generally a process in which the lifted drill pipes are reconnected and placed one by one to the bottom of the well to continue drilling after cementing or changing the drill bit.
[0058] like Figure 1 As shown in the figure, it is a schematic diagram of the structure of the main equipment of the drilling rig, wherein the "faucet" is replaced by the "top drive" in this embodiment, the "traveling block" is the "traveling block", and the "slips" are installed at the center of the wellhead, above the turntable. Only the turntable is marked in the figure without the slips. The following is a description of each component:
[0059] 1. Mud pump: pressurizes the mud and injects it into the bottom of the well. When the mud pump is turned on, it starts to pressurize and inject mud. When the mud pump is turned off, it stops injecting mud.
[0060] 2. Top drive: It is a rotating mechanism. The drill pipe is screwed onto the top drive like a screw. After the connection is completed, the drill pipe and the drill bit connected below can rotate with the top drive. When drilling, the top drive is connected to the drill pipe. After drilling a column, in order to add a new column, the top drive is first disconnected from the current drill pipe (i.e., unhooking), and then connected to the new column (i.e., buckling). When pulling out or drilling down, the top drive is disconnected from the drill pipe. The drill pipe is clamped by the lifting ring and lifting card on the top drive to lift or lower the drill column.
[0061] 3. Slips: They are used to fix the drill string at the bottom of the well. When drilling a column, the top drive needs to be disconnected from the drill pipe. First, the slips must be closed (i.e., slips off) to hold the drill string to prevent the drill string at the bottom of the well from falling after the disconnection. Then, the connection between the top drive and the drill pipe is disconnected. After adding a new column, the slips are opened (i.e., slips on) to continue drilling.
[0062] 4. Traveling block: It can move up and down in the derrick. There is a big hook under the traveling block, and the big hook hangs the top drive. The height of the big hook generally refers to the height of the top drive drilling table. The empty traveling block refers to the top drive when it is not connected to the drill string.
[0063] 5. Drill bit: Located at the bottom of the drill string, the drill rod is driven by the top drive to rotate the drill bit and break the rock.
[0064] 6. Column: Generally, three drill pipes connected together are called a column. The column is connected before drilling and placed in the root box on the drilling table. When drilling, a new column is needed, which is pulled from the side and connected to the top drive. All the connected drill pipes at the bottom of the well are called a drill string.
[0065] Example 1
[0066] like Figure 2 As shown, this embodiment provides a method for automatically identifying drilling conditions of a drilling rig, comprising the following steps:
[0067] 1) Obtain the drilling parameter data of the well to be identified and perform data preprocessing, specifically:
[0068] 1.1) Obtain drilling parameter data of the well to be identified, wherein the drilling parameter data includes well depth, drill bit position, hook height, hanging weight, drilling pressure, inlet flow, riser pressure, top drive speed, top drive torque and drilling speed.
[0069] 1.2) Invalid data processing is performed on the drilling parameter data of the well to be identified.
[0070] Specifically, invalid data refers to data that does not meet the preset requirements. The drilling parameter data that need to be processed include inlet flow, drilling pressure, drilling speed, standpipe pressure, top drive speed and top drive torque. When the drill bit is not at the bottom of the well, theoretically, the drilling pressure and drilling speed should be 0, but the actual measurement method is different, resulting in these two values still existing, so the value needs to be processed.
[0071] More specifically, as shown in FIG3 , invalid data processing includes:
[0072] When the inlet flow rate is lower than 0.09L / s, set the inlet flow rate to 0L / s; when the difference between the well depth and the drill bit position is greater than 1m, set the drilling pressure to 0t and the drilling speed to 0m / h; when the riser pressure is lower than 0Mpa, set the riser pressure to 0Mpa; when the absolute value of the top drive speed is lower than 0.3rpm, set the top drive speed to 0rpm and the top drive torque to 0KN.m.
[0073] 1.3) Eliminate data outliers from the drilling parameter data after invalid data processing.
[0074] Specifically, the data outlier removal is performed to process individual mutation values in the drilling parameter data. In this embodiment, the 3δ algorithm is used for removal, such as Figure 4 As shown, including:
[0075] 1.3.1) Obtain drilling parameter data d after invalid data processing.
[0076] 1.3.2) Calculate the average value of the drilling parameter data d after invalid data processing in the window.
[0077] Specifically, the average value μ is:
[0078]
[0079] Among them, x i is the i-th drilling parameter data in the window; N is the total number of drilling parameter data in the window.
[0080] 1.3.3) Calculate the relative standard deviation of the drilling parameter data after invalid data processing in the window.
[0081] Specifically, the relative standard deviation δ is:
[0082]
[0083] Where s is the standard deviation and:
[0084]
[0085] 1.3.4) Determine whether |d-μ| is greater than or equal to 3δ. If so, make the drilling parameter data d equal to the average value μ, as the drilling parameter data after outliers are removed; otherwise, directly make the drilling parameter data d the drilling parameter data after outliers are removed.
[0086] 1.4) Perform data smoothing on the drilling parameter data after outliers are removed.
[0087] Specifically, Figure 5 As shown in the figure, during the data smoothing process, a relative standard deviation calculation value of the smoothing window length needs to be retained to prepare for data smoothing, including:
[0088] 1.4.1) Obtain drilling parameter data after outliers are removed ′ .
[0089] 1.4.2) Calculate the drilling parameter data d after removing the outliers in the window ′ The average value μ(d ′ ).
[0090] 1.4.3) Calculate the drilling parameter data d after removing the outliers in the window ′ The relative standard deviation δ(d ′ ).
[0091] 1.4.4) Calculate the drilling parameter data d after removing the outliers in the window ′ The relative standard deviation δ(d ′ )’s average value μ(δ).
[0092] 1.4.5) Determine the drilling parameter data d after outlier rejection ′ of the relative standard deviation δ(d ′ ). If it is greater than 2μ(δ), then make the drilling parameter data d ′ equal to the average value μ(d ′ ), which is used as the drilling parameter data after data smoothing; otherwise, directly make the drilling parameter data d ′ be the drilling parameter data after data smoothing.
[0093] Specifically, due to the different actual measurement situations of each drilling parameter data, outlier rejection and data smoothing need to be carried out according to different outlier rejection window lengths and smoothing window lengths, as shown in Table 1 below:
[0094] Table 1
[0095]
[0096] 1.5) Perform data interpolation on the smoothed drilling parameter data.
[0097] Specifically, the drilling parameter data is time-series data, and some data may be lost during transmission or storage, resulting in a data sampling frequency > 1s. At this time, data interpolation needs to be performed to make the received data sampling frequency consistent. If too much data is lost, calculations are carried out starting from the currently received data.
[0098] Specifically, set the currently smoothed drilling parameter data as Data0, the current time as Date0, the previously smoothed drilling parameter data as Data h , and the previous time as Date h , with the time unit being s. Then the data interpolation process includes:
[0099] 1.5.1) Calculate the difference M = Date0 - Date between the time of the currently smoothed drilling parameter data and the previous time h .
[0100] 1.5.2) Calculate the difference Δdata = Data0 - Data between the currently smoothed drilling parameter data and the previous data h .
[0101] 1.5.3) If M = 1, it means the data time interval is 1s and no interpolation is required, and the data sequence is {Data h , Data0}.
[0102] 1.5.4) If 1 < M ≤ 10, then M - 1 data need to be inserted, and there is where, Δi is the inserted data value, i is the number of data, then the data sequence is {Data h ,…,Δ i ,…,Data0}.
[0103] 1.5.5) If M>10, clear the data at the previous moment and use the current data as the starting point for storage and calculation.
[0104] Specifically, a plurality of drilling parameter data may be received at the same time, and therefore, during the data interpolation process, all the received drilling parameter data need to be interpolated separately.
[0105] 2) Based on the pre-processed drilling parameter data, the parameter status of the drilling to be identified is judged.
[0106] Specifically, the parameter status judgment includes the judgment of the top drive make-up and breakout status, the slip switch status, the mud pump switch status, the top drive switch status and the drill bit bottom-hole status, among which the top drive switch status includes three states: top drive forward rotation, top drive reverse rotation and top drive closed; the drill bit bottom-hole status includes three states: the drill bit is at the bottom of the well, the drill bit is away from the bottom of the well and is less than the drilling threshold, and the drill bit is away from the bottom of the well and is greater than the drilling threshold.
[0107] Specifically, after the top drive is buckled, the drill pipe and the top drive bellmouth are considered to be connected, otherwise they are not connected. When the drill pipe and the top drive bellmouth are connected, switching the mud pump is considered effective. Slip open means that the top drive is connected to the drill pipe and has been unstuck; slip closed means that the drill tool is stuck and the current hanging weight value is only the weight of the empty traveling block.
[0108] Therefore, the specific process of this step is:
[0109] 2.1) If Figure 6 As shown, according to the pre-processed drilling parameter data, the top drive make-up and make-out state of the well to be identified is judged, including:
[0110] 2.1.1) According to the pre-processed drilling parameter data, determine whether the mud pump is turned off. If so, proceed to step 2.1.2); otherwise, proceed to step 2.1.6).
[0111] 2.1.2) Determine whether the top drive speed in the pre-processed drilling parameter data is between 3 and 20. If so, proceed to step 2.1.3); otherwise, proceed to step 2.1.4).
[0112] 2.1.3) Determine whether the fastening counter in the program is greater than 10. If so, the top drive fastening and unfastening state is fastening, the fastening counter is reset, and the process goes to step 2.1.6); otherwise, the process goes to step 2.1.5).
[0113] 2.1.4) Determine whether the top drive speed in the pre-processed drilling parameter data is between -20 and -3. If so, proceed to step 2.1.5); otherwise, proceed to step 2.1.6).
[0114] 2.1.5) Determine whether the loosening counter in the program is greater than 10. If so, the top drive is in the shackle state, the loosening counter is reset, and the process goes to step 2.1.6); otherwise, the process goes directly to step 2.1.6) and the top drive is not in the shackle state.
[0115] 2.1.6)End.
[0116] 2.2) If Figure 7 As shown, according to the pre-processed drilling parameter data, the slip switch state of the drilling to be identified is judged, including:
[0117] 2.2.1) Determine whether the suspended weight in the pre-processed drilling parameter data is greater than or equal to the heavy load threshold value. If so, the slip switch state is determined to be slip open; otherwise, proceed to step 2.2.2).
[0118] 2.2.2) Determine whether the suspended weight in the preprocessed drilling parameter data is less than or equal to the light load threshold value. If so, the slip switch state is determined to be slip closed; otherwise, the slip state is unknown.
[0119] Specifically, the light load threshold value = the weight of the empty traveling car + 2t; the heavy load threshold value = the weight of the empty traveling car + 10t.
[0120] 2.3) If Figure 8 As shown, according to the pre-processed drilling parameter data, the switch state of the mud pump of the drilling well to be identified is judged, including:
[0121] 2.3.1) Determine whether the top drive make-up and make-out state is make-up, if so, proceed to step 2.3.2); otherwise, the mud pump switch state is pump off.
[0122] 2.3.2) Determine whether the inlet flow rate in the pre-processed drilling parameter data is greater than 0.09 L / s. If so, the mud pump switch state is pump on; otherwise, the mud pump switch state is pump off.
[0123] 2.4) If Fig. 9 As shown, according to the pre-processed drilling parameter data, the top drive switch state of the well to be identified is judged, including:
[0124] 2.4.1) Determine whether the top drive speed in the pre-processed drilling parameter data is greater than 0.3. If so, the top drive switch state is top drive forward rotation; otherwise, proceed to step 2.4.2).
[0125] 2.4.2) Determine whether the top drive rotation speed in the pre-processed drilling parameter data is less than -0.3. If so, the top drive switch state is top drive reverse; otherwise, the top drive switch state is top drive closed.
[0126] 2.5) If Fig.10 As shown, based on the pre-processed drilling parameter data, the state of the drill bit of the well to be identified is judged from the bottom of the well, including:
[0127] 2.5.1) Determine whether the difference between the well depth and the drill bit position in the preprocessed drilling parameter data is less than 0.05m. If so, the drill bit is at the bottom of the well; otherwise, proceed to step 2.5.2).
[0128] 2.5.2) Determine whether the difference between the well depth and the drill bit position in the preprocessed drilling parameter data is less than 30m. If so, the drill bit bottom state is that the drill bit is away from the bottom of the well and is less than the drilling threshold; otherwise, the drill bit bottom state is that the drill bit is away from the bottom of the well and is greater than the drilling threshold.
[0129] 3) According to the parameter status judgment result, the drilling condition of the well to be identified is identified and output.
[0130] Specifically, the drilling conditions of the well to be identified include drilling, reaming, circulation, adding columns, removing columns, pulling out, drilling, sliding orientation and waiting operations. Fig.11 As shown, the specific process of this step is:
[0131] 3.1) According to the parameter status judgment result, determine whether the drilling condition type of the well to be identified is drilling. If so, output drilling as the drilling condition type of the well to be identified; otherwise, enter step 3.2).
[0132] Specifically, when the parameter status judgment result is make-up, slips open, pump on, top drive forward rotation and drill bit at the bottom of the well, the drilling condition type of the drilling to be identified is drilling.
[0133] 3.2) According to the parameter status judgment result, determine whether the drilling condition type of the well to be identified is reaming. If so, output reaming as the drilling condition type of the well to be identified; otherwise, enter step 3.3).
[0134] Specifically, when the parameter status judgment result is make-up, slips open, pump on, top drive forward rotation and drill bit off the bottom of the well, the drilling condition type of the drilling to be identified is reaming.
[0135] 3.3) According to the parameter status judgment result, determine whether the drilling condition type of the well to be identified is a cycle. If so, output the cycle as the drilling condition type of the well to be identified; otherwise, enter step 3.4).
[0136] Specifically, when the parameter status judgment result is make-up, slips open, pump on and top drive reversed or top drive closed, the drilling condition type of the drilling to be identified is circulation.
[0137] 3.4) If Fig.12 As shown, according to the parameter state judgment result, it is judged whether the drilling condition type of the well to be identified is adding columns, removing columns, pulling out the drill or drilling down the drill. If so, the drilling condition type corresponding to the well to be identified is output; otherwise, step 3.5) is entered, including:
[0138] 3.4.1) Determine whether the top drive shackle state of the parameter state judgment result is shackle. If so, proceed to step 3.4.2); otherwise, proceed to step 3.4.8).
[0139] 3.4.2) Determine whether the mud pump switch state of the parameter state judgment result is pump on. If so, proceed to step 3.4.3); otherwise, proceed to step 3.4.8).
[0140] 3.4.3) Determine the parameter status. The result of the slip switch status is from on to off or from off to on. If it is from on to off, determine the current large hook height value H1; if it is from off to open, determine the current large hook height value H2, and determine the large hook height difference L=H2-H1, and go to step 3.4.4); if not, go to step 3.4.8).
[0141] 3.4.4) Determine whether L is greater than 2. If so, proceed to step 3.4.5); otherwise, proceed to step 3.4.6).
[0142] 3.4.5) Determine whether the drill bit away from the bottom of the well state of the parameter state judgment result is that the drill bit is away from the bottom of the well and is less than the drilling threshold. If so, output the column as the drilling condition type of the well to be identified; otherwise, output the drilling condition type of the well to be identified.
[0143] 3.4.6) Determine whether L is less than -2. If so, proceed to step 3.4.7); otherwise, proceed to step 3.4.8).
[0144] 3.4.7) Determine whether the drill bit away from the bottom of the well state of the parameter state judgment result is that the drill bit is away from the bottom of the well and is less than the drilling threshold. If so, output the drilling condition type of the drilling to be identified as the column removal; otherwise, output the drilling condition type of the drilling to be identified as the drilling.
[0145] 3.4.8)End.
[0146] 3.5) According to the parameter status judgment result, determine whether the drilling condition type of the well to be identified is sliding orientation. If so, output sliding orientation as the drilling condition type of the well to be identified; otherwise, enter step 3.6).
[0147] Specifically, when the parameter status judgment result is make-up, slips open, pump on, drill bit at the bottom of the well and top drive reversed or top drive closed, the drilling condition type of the drilling to be identified is sliding directional.
[0148] 3.6) According to the parameter status judgment result, determine whether the drilling condition type of the drilling to be identified is a waiting operation. If so, output the waiting operation as the drilling condition type of the drilling to be identified; otherwise, keep the original state.
[0149] Specifically, when the parameter status judgment result is make-up, slips open, pump off, and top drive off, the drilling condition type of the drilling to be identified is waiting for operation.
[0150] Example 2
[0151] This embodiment provides an automatic identification system for drilling conditions of a drilling rig, comprising:
[0152] The data acquisition module is used to acquire the drilling parameter data of the well to be identified and perform data preprocessing.
[0153] The state judgment module is used to judge the top drive make-up and break-out state, slip switch state, mud pump switch state, top drive switch state and drill bit off the bottom of the well according to the pre-processed drilling parameter data.
[0154] The drilling condition identification module is used to identify the drilling condition of the well to be identified according to the parameter status judgment result.
[0155] The system provided in this embodiment is used to execute the above-mentioned method embodiments. Please refer to the above-mentioned embodiments for specific processes and detailed contents, which will not be repeated here.
[0156] Example 3
[0157] This embodiment provides a processing device corresponding to the automatic identification method of drilling rig drilling conditions provided in this embodiment 1. The processing device can be applicable to a client processing device, such as a mobile phone, laptop computer, tablet computer, desktop computer, etc., to execute the method of embodiment 1.
[0158] The processing device includes a processor, a memory, a communication interface and a bus, and the processor, the memory and the communication interface are connected through the bus to complete mutual communication. The memory stores a computer program that can be run on the processing device, and when the processing device runs the computer program, the automatic identification method of the drilling rig drilling condition provided in this embodiment 1 is executed.
[0159] In some implementations, the memory may be a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory.
[0160] In some other implementations, the processor may be a central processing unit (CPU), a digital signal processor (DSP), or other general-purpose processors of various types, which are not limited herein.
[0161] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0162] Those skilled in the art will understand that the structure of the above-mentioned computing device is only a partial structure related to the scheme of the present application, and does not constitute a limitation on the computing device to which the scheme of the present application is applied. The specific computing device may include more or fewer components, or combine certain components, or have a different arrangement of components.
[0163] Example 4
[0164] This embodiment provides a computer program product corresponding to the method for automatically identifying the drilling condition of a drilling rig provided in this embodiment 1. The computer program product may include a computer-readable storage medium on which computer-readable program instructions for executing the method for automatically identifying the drilling condition of a drilling rig described in this embodiment 1 are loaded.
[0165] Computer readable storage media can be tangible devices that hold and store instructions used by instruction execution devices. Computer readable storage media can be, for example, but not limited to, electronic storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any combination thereof.
[0166] The above embodiment provides a computer-readable storage medium, whose implementation principle and technical effect are similar to those of the above method embodiment, and will not be repeated here.
[0167] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0168] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0169] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0170] The above embodiments are only used to illustrate the present invention, wherein the structure, connection mode and manufacturing process of each component may be changed. Any equivalent transformations and improvements based on the technical solution of the present invention should not be excluded from the protection scope of the present invention.
Claims
1. A method for automatically identifying drilling conditions of a drilling rig, characterized in that: include: Acquire drilling parameter data of the well to be identified and perform data preprocessing, wherein the drilling parameter data includes well depth, drill bit position, hook height, hanging weight, drilling pressure, inlet flow, riser pressure, top drive speed, top drive torque and drilling speed; According to the pre-processed drilling parameter data, the top drive breakout state, slip switch state, mud pump switch state, top drive switch state and drill bit off the bottom of the well to be identified are judged; According to the parameter status judgment result, the drilling condition of the well to be identified is identified. When the parameter status judgment result is make-up, slips are open, pump is on, top drive is rotating forward, and the drill bit is at the bottom of the well, the drilling condition type of the well to be identified is drilling; When the parameter status judgment result is make-up, slips open, pump on, top drive forward rotation and drill bit off the bottom of the well, the drilling condition type to be identified is reaming; When the parameter status judgment result is make-up, slips open, pump on and top drive reversed or top drive closed, the drilling condition type of the drilling to be identified is circulation; When the parameter status judgment result is make-up, slips open, pump on, drill bit at the bottom of the well and top drive reversed or top drive closed, the drilling condition type of the drilling to be identified is sliding directional; When the parameter status judgment result is make-up, slips open, pump off and top drive off, the drilling condition type of the drilling to be identified is waiting for operation; The step of obtaining the drilling parameter data of the well to be identified and performing data preprocessing includes: Acquiring drilling parameter data of the well to be identified; Performing invalid data processing on the drilling parameter data of the well to be identified; Eliminate data outliers from the drilling parameter data after invalid data processing; Perform data smoothing on the drilling parameter data after outliers are removed; Performing data interpolation processing on the smoothed drilling parameter data; The method of judging the top drive make-up and break-out state, slip switch state, mud pump switch state, top drive switch state and drill bit off bottom state of the well to be identified based on the pre-processed drilling parameter data includes: According to the top drive speed, the counts of the tightening counter and the loosening counter in the pre-processed drilling parameter data and the preset top drive speed range, the tightening count value and the loosening count value, the top drive make-up and make-up state of the well to be identified is judged, including: 2.1.1 According to the pre-processed drilling parameter data, determine whether the mud pump is turned off. If so, proceed to step 2.1.2; otherwise, proceed to step 2.1.6; 2.1.2 Determine whether the top drive speed in the pre-processed drilling parameter data is between 3 and 20. If so, proceed to step 2.1.3; otherwise, proceed to step 2.1.4; 2.1.3 Determine whether the fastening counter in the program is greater than 10. If so, the top drive fastening status is fastening, the fastening counter is cleared, and the process goes to step 2.1.6; otherwise, the process goes to step 2.1.5; 2.1.4 Determine whether the top drive speed in the pre-processed drilling parameter data is between -20 and -3. If so, proceed to step 2.1.5; otherwise, proceed to step 2.1.6; 2.1.5 Determine whether the loosening counter in the program is greater than 10. If so, the top drive is in the shackle state, the loosening counter is cleared, and the process goes to step 2.1.6; otherwise, the process goes directly to step 2.1.6, and the top drive is not in the shackle state; 2.1.6 End; According to the suspended weight in the preprocessed drilling parameter data and the preset light load threshold value and heavy load threshold value, the slip switch state of the drilling to be identified is judged, including: 2.2.1 Determine whether the suspended weight in the pre-processed drilling parameter data is greater than or equal to the heavy load threshold value. If so, the slip switch state is determined to be slip open; otherwise, proceed to step 2.2.2; 2.2.2 Determine whether the suspended weight in the pre-processed drilling parameter data is less than or equal to the light load threshold value. If so, the slip switch state is determined to be slip closed; otherwise, the slip state is unknown; According to the top drive breakout status, the inlet flow in the pre-processed drilling parameter data and the preset inlet flow threshold, the mud pump switch status of the well to be identified is judged, including: 2.3.1 Determine whether the top drive breakout state is make-up, if so, proceed to step 2.3.2; otherwise, the mud pump switch state is pump off; 2.3.2 Determine whether the inlet flow rate in the pre-processed drilling parameter data is greater than 0.09 L / s. If so, the mud pump switch state is pump on; otherwise, the mud pump switch state is pump off; According to the top drive speed in the preprocessed drilling parameter data and the preset top drive speed threshold, the top drive switch state of the well to be identified is judged, including: 2.4.1 Determine whether the top drive speed in the pre-processed drilling parameter data is greater than 0.
3. If so, the top drive switch state is top drive forward rotation; otherwise, proceed to step 2.4.2; 2.4.2 Determine whether the top drive speed in the pre-processed drilling parameter data is less than -0.
3. If so, the top drive switch state is top drive reverse; otherwise, the top drive switch state is top drive closed; According to the difference between the well depth and the drill bit position in the pre-processed drilling parameter data and a preset position difference threshold, the state of the drill bit from the bottom of the well to be identified is judged, including: 2.5.1 Determine whether the difference between the well depth and the drill bit position in the preprocessed drilling parameter data is less than 0.05m. If so, the drill bit is at the bottom of the well; otherwise, proceed to step 2.5.2; 2.5.2 Determine whether the difference between the well depth and the drill bit position in the preprocessed drilling parameter data is less than 30m. If so, the drill bit bottom state is that the drill bit is away from the bottom of the well and is less than the drilling threshold; otherwise, the drill bit bottom state is that the drill bit is away from the bottom of the well and is greater than the drilling threshold.
2. A method for automatically identifying drilling conditions of a drilling rig as described in claim 1, characterized in that the top drive switch state includes three states: top drive forward, top drive reverse and top drive closed, and the drill bit away from the bottom of the well state includes three states: the drill bit is at the bottom of the well, the drill bit is away from the bottom of the well and is less than the drilling threshold, and the drill bit is away from the bottom of the well and is greater than the drilling threshold.
3. The automatic identification method of drilling rig drilling conditions according to claim 2, characterized in that: The drilling conditions to be identified include drilling, reaming, circulation, adding columns, removing columns, pulling out, drilling, sliding orientation and waiting operations.
4. An automatic identification system for drilling conditions of a drilling rig, characterized in that: include: A data acquisition module is used to acquire drilling parameter data of the well to be identified and perform data preprocessing, wherein the drilling parameter data includes well depth, drill bit position, hook height, hanging weight, drilling pressure, inlet flow, riser pressure, top drive speed, top drive torque and drilling speed; A state judgment module is used to judge the top drive make-up and break-out state, slip switch state, mud pump switch state, top drive switch state and drill bit off the bottom of the well according to the pre-processed drilling parameter data; The drilling condition identification module is used to identify the drilling condition of the well to be identified according to the parameter state judgment result. When the parameter state judgment result is make-up, slips open, pump on, top drive forward rotation and drill bit at the bottom of the well, the drilling condition type of the well to be identified is drilling; When the parameter status judgment result is make-up, slips open, pump on, top drive forward rotation and drill bit off the bottom of the well, the drilling condition type to be identified is reaming; When the parameter status judgment result is make-up, slips open, pump on and top drive reversed or top drive closed, the drilling condition type of the drilling to be identified is circulation; When the parameter status judgment result is make-up, slips open, pump on, drill bit at the bottom of the well and top drive reversed or top drive closed, the drilling condition type of the drilling to be identified is sliding directional; When the parameter status judgment result is make-up, slips open, pump off and top drive off, the drilling condition type of the drilling to be identified is waiting for operation; The step of obtaining the drilling parameter data of the well to be identified and performing data preprocessing includes: Acquiring drilling parameter data of the well to be identified; Performing invalid data processing on the drilling parameter data of the well to be identified; Eliminate data outliers from the drilling parameter data after invalid data processing; Perform data smoothing on the drilling parameter data after outliers are removed; Performing data interpolation processing on the smoothed drilling parameter data; The method of judging the top drive make-up and break-out state, slip switch state, mud pump switch state, top drive switch state and drill bit off bottom state of the well to be identified based on the pre-processed drilling parameter data includes: According to the top drive speed, the counts of the tightening counter and the loosening counter in the pre-processed drilling parameter data, and the preset top drive speed range, tightening count value and loosening count value, the top drive make-up and make-up state of the well to be identified is judged, including: 2.1.1 According to the pre-processed drilling parameter data, determine whether the mud pump is turned off. If so, proceed to step 2.1.2; otherwise, proceed to step 2.1.6; 2.1.2 Determine whether the top drive speed in the pre-processed drilling parameter data is between 3 and 20. If so, proceed to step 2.1.3; otherwise, proceed to step 2.1.4; 2.1.3 Determine whether the fastening counter in the program is greater than 10. If so, the top drive fastening status is fastening, the fastening counter is cleared, and the process goes to step 2.1.6; otherwise, the process goes to step 2.1.5; 2.1.4 Determine whether the top drive speed in the pre-processed drilling parameter data is between -20 and -3. If so, proceed to step 2.1.5; otherwise, proceed to step 2.1.6; 2.1.5 Determine whether the loosening counter in the program is greater than 10. If so, the top drive is in the shackle state, the loosening counter is cleared, and the process goes to step 2.1.6; otherwise, the process goes directly to step 2.1.6, and the top drive is not in the shackle state; 2.1.6 End; According to the suspended weight in the preprocessed drilling parameter data and the preset light load threshold value and heavy load threshold value, the slip switch state of the drilling to be identified is judged, including: 2.2.1 Determine whether the suspended weight in the pre-processed drilling parameter data is greater than or equal to the heavy load threshold value. If so, the slip switch state is determined to be slip open; otherwise, proceed to step 2.2.2; 2.2.2 Determine whether the suspended weight in the pre-processed drilling parameter data is less than or equal to the light load threshold value. If so, the slip switch state is determined to be slip closed; otherwise, the slip state is unknown; According to the top drive breakout status, the inlet flow in the pre-processed drilling parameter data and the preset inlet flow threshold, the mud pump switch status of the well to be identified is judged, including: 2.3.1 Determine whether the top drive breakout state is make-up, if so, proceed to step 2.3.2; otherwise, the mud pump switch state is pump off; 2.3.2 Determine whether the inlet flow rate in the pre-processed drilling parameter data is greater than 0.09 L / s. If so, the mud pump switch state is pump on; otherwise, the mud pump switch state is pump off; According to the top drive speed in the preprocessed drilling parameter data and the preset top drive speed threshold, the top drive switch state of the well to be identified is judged, including: 2.4.1 Determine whether the top drive speed in the pre-processed drilling parameter data is greater than 0.
3. If so, the top drive switch state is top drive forward rotation; otherwise, proceed to step 2.4.2; 2.4.2 Determine whether the top drive speed in the pre-processed drilling parameter data is less than -0.
3. If so, the top drive switch state is top drive reverse; otherwise, the top drive switch state is top drive closed; According to the difference between the well depth and the drill bit position in the pre-processed drilling parameter data and a preset position difference threshold, the state of the drill bit from the bottom of the well to be identified is judged, including: 2.5.1 Determine whether the difference between the well depth and the drill bit position in the preprocessed drilling parameter data is less than 0.05m. If so, the drill bit is at the bottom of the well; otherwise, proceed to step 2.5.2; 2.5.2 Determine whether the difference between the well depth and the drill bit position in the preprocessed drilling parameter data is less than 30m. If so, the drill bit bottom state is that the drill bit is away from the bottom of the well and is less than the drilling threshold; otherwise, the drill bit bottom state is that the drill bit is away from the bottom of the well and is greater than the drilling threshold.
5. A processing device, characterized in that: It includes computer program instructions, wherein when the computer program instructions are executed by a processing device, they are used to implement the steps corresponding to the method for automatically identifying the drilling conditions of a drilling rig as described in any one of claims 1-3.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, wherein the computer program instructions, when executed by a processor, are used to implement the steps corresponding to the method for automatically identifying drilling conditions of a drilling rig according to any one of claims 1 to 3.