Drilling tool drilling track control method, device, equipment, medium and program product

By acquiring upper and lower gamma measurement data of the drill string, and combining gamma sensors and ranging sensors, the drilling direction and position of the drill string in the target reservoir are adjusted in real time, solving the problem of inaccurate drill string positioning and achieving precise control and safety in the drilling process.

CN121993034APending Publication Date: 2026-05-08CHINA NAT PETROLEUM CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA NAT PETROLEUM CORP
Filing Date
2024-11-08
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Existing drilling-based azimuth gamma measurement technology is difficult to accurately locate the drill string in complex formations and thin reservoirs, leading to deviations in the drill string's drilling trajectory and posing a risk of penetrating the target reservoir.

Method used

By acquiring upper and lower gamma measurement data of the drill string, the drilling direction of the drill string in the target reservoir is determined. Based on the distance between multiple points and the target reservoir interface, the drilling trajectory of the drill string in the target reservoir is controlled in real time. Data is acquired using gamma sensors and distance sensors, and a preset calculation model is constructed for real-time adjustment.

Benefits of technology

It enables precise control of the drill string within the target reservoir, preventing it from penetrating the reservoir, ensuring a smooth and safe drilling process, and improving drilling efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121993034A_ABST
    Figure CN121993034A_ABST
Patent Text Reader

Abstract

The invention provides a drilling tool drilling track control method, device and equipment, a medium and a program product. The method comprises the following steps: acquiring upper gamma measurement data and lower gamma measurement data of the current position of a drilling tool; wherein the upper gamma measurement data and the lower gamma measurement data are acquired based on an upper detector and a lower detector in a gamma sensor deployed on the drilling tool; based on the upper gamma measurement data and the lower gamma measurement data, the drilling direction of the drilling tool in the target reservoir is determined; the distances between multiple points on the drilling tool and the target reservoir interface are obtained; and based on the drilling direction of the drilling tool in the target reservoir and the distance between the multiple points on the drilling tool and the interface of the target reservoir, the drilling track of the drilling tool in the target reservoir is controlled. According to the method, accurate control over the drilling track of the drilling tool is achieved, and the stability and safety of the drilling process are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of energy extraction technology, and in particular to a method, device, equipment, medium and program product for controlling the drilling trajectory of a drill bit. Background Technology

[0002] In the process of mining complex formations and thin reservoirs, it is often necessary to precisely control the drilling location. Due to the complex distribution of the downhole formations, it is necessary to determine the reservoir properties and reservoir boundaries to guide the drilling trajectory of the drill string in order to improve the reservoir encounter rate.

[0003] Currently, existing analysis models based on azimuth gamma measurement while drilling (WAPM) for reservoir boundaries and drill string trajectories are highly complex, cannot accurately locate the position of the drill string in the target reservoir, and are difficult to send control commands to the drill string in real time. This ultimately leads to deviation in the drill string's drilling trajectory control, posing a risk that the drill string may penetrate the target reservoir.

[0004] Therefore, there is an urgent need to provide a drilling trajectory control method to solve the problem of inaccurate drilling tool positioning during downhole operations, which ultimately leads to drilling through the reservoir. Summary of the Invention

[0005] This application provides a method, device, equipment, medium, and program product for controlling the drilling trajectory of a drill string. By determining the drilling direction and the distances between multiple points on the drill string and the target reservoir interface, the position of the drill string in the target reservoir can be determined, thereby achieving precise control of the drilling trajectory of the drill string and preventing the drill string from penetrating the target reservoir.

[0006] In a first aspect, this application provides a method for controlling the drilling trajectory of a drill string, comprising:

[0007] Acquire upper and lower gamma measurement data of the current position of the drill string; wherein, the upper and lower gamma measurement data are collected based on the upper and lower detectors of the gamma sensors deployed on the drill string;

[0008] Based on upper and lower gamma measurement data, the drilling direction of the drill string in the target reservoir is determined;

[0009] Obtain the distances between multiple points on the drill string and the target reservoir interface;

[0010] The drilling trajectory of the drill string within the target reservoir is controlled based on the drilling direction of the drill string in the target reservoir and the distances between multiple points on the drill string and the target reservoir interface.

[0011] In one possible implementation, determining the drilling direction of the drill string in the target reservoir based on upper gamma measurement data and lower gamma measurement data includes:

[0012] If the absolute value of the deviation between the upper gamma measurement data and the lower gamma measurement data is greater than a preset threshold, the drilling direction of the drill string in the target reservoir is determined based on the comparison results of the upper and lower gamma measurement data, the rate of change of the upper gamma measurement data, and the rate of change of the lower gamma measurement data.

[0013] In one possible implementation, the drilling direction of the drill string in the target reservoir is determined based on the deviation between upper and lower gamma measurement data, the rate of change of the upper gamma measurement data, and the rate of change of the lower gamma measurement data, including:

[0014] If the upper gamma measurement data is greater than the lower gamma measurement data, the upper gamma measurement data increases first compared to the lower gamma measurement data, and the rate of change of the upper gamma measurement data is greater than the rate of change of the lower gamma measurement data, then the drilling direction of the drill bit in the target reservoir is determined to be the first direction, and the first direction is to penetrate the target reservoir from the upper boundary of the target reservoir.

[0015] If the upper gamma measurement data is greater than the lower gamma measurement data, the upper gamma measurement data decreases before the lower gamma measurement data, and the rate of change of the lower gamma measurement data is greater than the rate of change of the upper gamma measurement data, then the drilling direction of the drill string in the target reservoir is determined to be the second direction. The second direction indicates that the drill string enters the target reservoir from the upper boundary of the target reservoir.

[0016] If the upper gamma measurement data is less than the lower gamma measurement data, the lower gamma measurement data increases first compared to the upper gamma measurement data, and the rate of change of the lower gamma measurement data is greater than the rate of change of the upper gamma measurement data, then the drilling direction of the drill string in the target reservoir is determined to be the third direction, which indicates that the drill string passes through the target reservoir from the lower boundary of the target reservoir.

[0017] If the upper gamma measurement data is less than the lower gamma measurement data, the upper gamma measurement data decreases first, and the rate of change of the upper gamma measurement data is greater than the rate of change of the lower gamma measurement data, then the drilling direction of the drill string in the target reservoir is determined to be the third direction, and the fourth direction indicates that the drill string passes through the target reservoir from the upper boundary.

[0018] In one possible implementation, obtaining the distances between multiple points on the drill string and the target reservoir interface includes:

[0019] Based on the first ranging sensor, the distance between the drill bit and the target reservoir interface is determined;

[0020] Based on upper and lower gamma measurement data, or based on a second ranging sensor, the distances between the upper and lower detectors and the target reservoir interface are determined.

[0021] In one possible implementation, the drilling trajectory of the drill string within the target reservoir is controlled based on the drilling direction of the drill string in the target reservoir and the distances between multiple points on the drill string and the target reservoir interface, including:

[0022] Based on the drilling direction of the drill string in the target reservoir, the target calculation model is determined from the preset calculation model;

[0023] By substituting the distances between multiple points on the drill string and the target reservoir interface into the target calculation model, the dip angle and thickness of the target reservoir can be obtained.

[0024] Based on the dip angle and thickness of the target reservoir, the drilling direction, and the distance between the drill bit and the target reservoir interface, the drilling trajectory of the drill string within the target reservoir is controlled.

[0025] In one possible implementation, the drilling trajectory of the drill string within the target reservoir is controlled based on the target reservoir's dip angle and thickness, the drilling direction, and the distance between the drill bit and the target reservoir interface, including:

[0026] Based on the dip angle and thickness of the target reservoir, the drilling direction, and the distance between the drill bit and the target reservoir interface, determine the remaining distance between the drill string and the target reservoir interface.

[0027] Based on the drilling speed of the drill string and the remaining distance, predict the target time when the remaining distance reaches the threshold value;

[0028] At the target time, adjust the tool face angle of the drill string to change the drilling trajectory.

[0029] Secondly, this application provides a drill string drilling trajectory control device, comprising:

[0030] The gamma measurement data acquisition module is used to acquire the upper gamma measurement data and lower gamma measurement data of the current position of the drill string. The upper gamma measurement data and lower gamma measurement data are collected based on the upper detector and lower detector of the gamma sensor deployed on the drill string.

[0031] The drilling direction determination module is used to determine the drilling direction of the drill string in the target reservoir based on upper gamma measurement data and lower gamma measurement data.

[0032] The distance acquisition module is used to acquire the distances between multiple points on the drill string and the target reservoir interface;

[0033] The drilling trajectory control module is used to control the drilling trajectory of the drill string in the target reservoir based on the drilling direction of the drill string in the target reservoir and the distance between multiple points on the drill string and the target reservoir interface.

[0034] Thirdly, embodiments of this application provide an electronic device, including: a processor, and a memory communicatively connected to the processor;

[0035] The memory stores the instructions that the computer executes;

[0036] The processor executes computer execution instructions stored in memory, causing the processor to perform the various possible implementations provided in the first aspect above.

[0037] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the various possible implementations provided in the first aspect above.

[0038] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the various possible implementations provided in the first aspect above.

[0039] The drilling trajectory control method, apparatus, equipment, medium, and program products provided in this application determine the drilling direction of the drill string in the target reservoir by real-time acquisition of upper and lower gamma measurement data from the upper and lower detectors of the gamma sensor deployed on the drill string. Based on the drilling direction and the distances between multiple points on the drill string and the target reservoir interface, the drilling trajectory of the drill string in the target reservoir is controlled to prevent the drill string from penetrating the target reservoir. By using the drilling direction and the distances between different locations on the drill string and the target reservoir interface, the position of the drill string in the target reservoir can be determined in real time. The drilling trajectory is then controlled in real time based on this position, resulting in high control accuracy. This ensures a smooth and safe drilling process while preventing the drill string from penetrating the reservoir. Attached Figure Description

[0040] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0041] Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of this application;

[0042] Figure 2 A flowchart illustrating a drilling trajectory control method for a drill bit provided in this application embodiment. Figure 1 ;

[0043] Figure 3 A schematic diagram of a drill string structure provided in an embodiment of this application;

[0044] Figure 4 This is a schematic diagram of the drilling direction of the drill string provided in the embodiments of this application;

[0045] Figure 5 A flowchart illustrating a drilling trajectory control method for a drill bit provided in this application embodiment. Figure 2 ;

[0046] Figure 6 A schematic diagram of the drilling direction provided in the embodiments of this application;

[0047] Figure 7A A schematic diagram of the first target calculation model provided in the embodiments of this application;

[0048] Figure 7B This is a schematic diagram of the second target calculation model provided in an embodiment of this application;

[0049] Figure 7C A schematic diagram of the third target calculation model provided in the embodiments of this application;

[0050] Figure 7D A schematic diagram of the fourth target calculation model provided in the embodiments of this application;

[0051] Figure 7E A schematic diagram of the fifth target calculation model provided in the embodiments of this application;

[0052] Figure 7F A schematic diagram of the sixth target calculation model provided in the embodiments of this application;

[0053] Figure 8 A flowchart illustrating the drilling trajectory control method for drill bits provided in this application embodiment. Figure 3 ;

[0054] Figure 9 This is a schematic diagram of the structure of a drill bit drilling trajectory control device provided in an embodiment of this application;

[0055] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0056] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0057] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0058] First, let me explain the terms used in this application:

[0059] Azimuth-gamma-ray logging while drilling (AWDR) is a logging method that obtains formation azimuth information by measuring gamma rays generated by the decay of radioactive materials in the formation during the drilling process.

[0060] Well inclination angle: refers to the angle between the central axis of a point in an oil or gas well and the vertical line of the earth.

[0061] In oil and gas exploration drilling, preliminary geological identification often guides the drilling trajectory. However, in complex geological environments, inaccurate real-time positioning of the drill string within the reservoir can lead to trajectory deviations. To address this issue, a common method is to adjust the drill string's face angle when it is detected that the drill string has already penetrated or is about to penetrate the reservoir, thus guiding it back to the target reservoir to continue drilling.

[0062] However, due to the complex downhole working environment, existing technologies that control the drilling trajectory only when the drill string has already penetrated or is about to penetrate the reservoir may still pose a risk of penetrating the reservoir when the drill string speed is high. Furthermore, this method results in a chaotic drilling trajectory and low drilling efficiency.

[0063] To address the aforementioned issues, this application provides a drill string trajectory control method. During drilling, by acquiring upper and lower gamma measurement data collected by the drill string, the drilling direction of the drill string in the target reservoir is determined in real time. The drilling trajectory is then controlled based on the current drilling direction and the distances between different positions on the drill string and the target reservoir interface. By determining the drilling direction and the distances between different positions on the drill string and the target reservoir interface in real time, the position of the drill string in the target reservoir can be determined in real time. Precise control of the drilling trajectory based on this real-time position is achieved, ensuring accurate and timely control, reducing the possibility of the drill string penetrating the target reservoir, and ensuring a smooth and safe drilling process.

[0064] First, the application scenarios of the embodiments of this application will be explained:

[0065] Figure 1 This is a schematic diagram of an application scenario provided in an embodiment of this application, such as... Figure 1 As shown in the embodiments of this application, the drill string trajectory control method can be applied to the drilling process during oil or natural gas exploration and production. During the drilling process, the drill string receives control commands and drills within the target reservoir. The target reservoir specifically refers to underground rock formations where oil and gas can accumulate and be stored. Drilling within the target reservoir can effectively extract energy sources such as oil, natural gas, and coal. The area above or below the target reservoir is unexploitable surrounding rock. The interface between the upper surrounding rock and the target reservoir is the upper boundary of the target reservoir, and the interface between the lower surrounding rock and the target reservoir is the lower boundary of the target reservoir.

[0066] During the drilling process, the drilling trajectory control method provided in this application can be used to control the drilling trajectory of the drill string in real time, so that when the drilling trajectory deviates, the drilling trajectory of the drill string can be adjusted in time to prevent the drill string from penetrating the target reservoir.

[0067] For example, during the drilling process, the position of the drill string can be monitored in real time using the drill string trajectory control method provided in this application, so as to... Figure 1 For example, when a deviation in the drilling trajectory is detected, such as when the drill string will penetrate from the lower boundary of the target reservoir to the surrounding rock below, the tool face angle and speed of the drill string are controlled to allow it to continue drilling within the target reservoir.

[0068] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.

[0069] Figure 2 A flowchart illustrating a drilling trajectory control method for a drill bit provided in this application embodiment. Figure 1 In this embodiment, the executing entity of the method can be a control device. The control device can be an industrial control computer communicating with the drilling tool, or a control module mounted on the drilling tool, such as a main control chip. Figure 2 As shown, the drill string trajectory control method in this embodiment may include:

[0070] S201. Obtain the upper gamma measurement data and lower gamma measurement data of the current position of the drill string.

[0071] The upper and lower gamma measurement data were collected by the upper and lower detectors in the gamma sensors deployed on the drill bit.

[0072] Drilling tools refer to the tools used in the drilling process, mainly including drill bits, drill pipes, and deployed sensors.

[0073] A gamma sensor is a sensor that can receive gamma rays and convert them into a usable output signal. A gamma sensor can contain multiple pairs of detectors, each pair of detectors is arranged at 180° in the gamma sensor, and the distance of each detector from the front end of the drill bit is known.

[0074] The upper and lower detectors are a pair of detectors distributed along the Earth's plumb line in the gamma sensor. The detector above the drill string is the upper detector, and the detector below the drill string is the lower detector.

[0075] The upper and lower detectors on the gamma sensor collect upper and lower gamma measurement data of the current position of the drill bit, respectively.

[0076] In some embodiments, the drill string may be deployed with multiple gamma sensors for mutual calibration, thereby improving the accuracy of the acquired upper and lower gamma measurement data. This application does not limit the number of gamma sensors deployed on the drill string or the number of detectors included in the gamma sensors.

[0077] Figure 3 This is a schematic diagram of a drill string structure provided for an embodiment of this application. Taking the deployment of two gamma sensors on the drill string as an example, as... Figure 3 As shown, the drill string has a drill bit at its front end for drilling into the target reservoir. A first gamma sensor and a second gamma sensor are mounted on the drill string. Each gamma sensor has a pair of detectors, including an upper detector and a lower detector, arranged at 180° angles within the drill string. The distance between each detector and the drill bit is known. The upper gamma measurement data or lower gamma measurement data acquired by the first and second gamma sensors can be mutually calibrated to ensure data accuracy and reliability. For example, if the deviation between the upper gamma measurement data acquired by the two upper detectors is less than a preset deviation, the average value of the upper gamma measurement data acquired by the two upper detectors is used as the upper gamma measurement data for determining the drilling direction.

[0078] S202. Based on the upper gamma measurement data and the lower gamma measurement data, determine the drilling direction of the drill string in the target reservoir.

[0079] The drilling direction of the drill string within the target reservoir describes its orientation within the reservoir. The drilling direction can be either exiting the target reservoir from its upper boundary, entering the target reservoir from its upper boundary, exiting the target reservoir from its lower boundary, or entering the target reservoir from its lower boundary.

[0080] Because the target reservoir has different radioactivity levels than the surrounding rocks above and below it (the target reservoir typically has lower radioactivity, while the surrounding rocks above and below have higher radioactivity), the drilling direction of the drill string in the target reservoir can be determined based on the intensity and changes of the detected gamma measurement data.

[0081] The drilling direction determination method can be achieved by calculating the changing trend of the upper and lower gamma measurement data when the difference between the upper and lower gamma measurement data is greater than a preset threshold, such as increasing or decreasing, to determine whether the drill string is penetrating the target reservoir from the upper surrounding rock or from the lower surrounding rock; then, based on the magnitude of the change in the upper and lower gamma measurement data, it can be determined whether the drill string is closer to the upper boundary or the lower boundary.

[0082] In other embodiments, the drilling direction of the drill string in the target reservoir can be determined by comparing the magnitudes of the upper gamma measurement data and the lower gamma measurement data with the times when they change.

[0083] Specifically, when the upper gamma measurement data is greater than the lower gamma measurement data, and the change in the lower gamma measurement data occurs earlier than the change in the upper gamma measurement data, the drilling direction is determined to be penetrating the target reservoir from its upper boundary, i.e., penetrating from the upper surrounding rock to the target reservoir. When the upper gamma measurement data is less than the lower gamma measurement data, and the change in the upper gamma measurement data occurs earlier than the change in the lower gamma measurement data, the drilling direction is determined to be penetrating the target reservoir from its lower boundary, i.e., penetrating from the lower surrounding rock to the target reservoir. When the upper gamma measurement data is less than the lower gamma measurement data, and the change in the lower gamma measurement data occurs earlier than the change in the upper gamma measurement data, the drilling direction is determined to be penetrating the target reservoir from its lower boundary, i.e., penetrating from the target reservoir to the lower surrounding rock. When the upper gamma measurement data is greater than the lower gamma measurement data, and the change in the upper gamma measurement data occurs earlier than the change in the lower gamma measurement data, the drilling direction is determined to be penetrating the target reservoir from its upper boundary, i.e., penetrating from the target reservoir to the upper surrounding rock.

[0084] For example, Figure 4 This is a schematic diagram of the drilling direction of the drill string provided in the embodiments of this application, such as... Figure 4 As shown, if the upper gamma measurement intensity is less than the lower gamma measurement intensity, and the upper gamma measurement data changes earlier, then the drilling direction is determined to be penetrating the target reservoir from the lower boundary of the target reservoir.

[0085] In some embodiments, after determining the drilling direction of the drill string in the target reservoir, if the drilling direction is to penetrate the target reservoir, it indicates that the drill string may be at risk of penetrating the target reservoir. In this case, the drilling trajectory of the drill string can be initially controlled, and the drill bit direction can be adjusted to move away from the target reservoir interface that is about to be penetrated.

[0086] Drilling directions that penetrate the target reservoir can include penetrating the target reservoir from its lower boundary and from its upper boundary.

[0087] For example, when the drilling direction is from the upper boundary of the target reservoir, it means that the drilling trajectory of the drill string is above the target reservoir and may pass through the upper boundary of the target reservoir. In this case, the drilling trajectory of the drill string is controlled to make it drill downwards from the target reservoir. When the drilling direction is from the lower boundary of the target reservoir, it means that the drilling trajectory of the drill string is below the target reservoir and may pass through the lower boundary of the target reservoir. In this case, the drilling trajectory of the drill string is controlled to make it drill upwards from the target reservoir.

[0088] S203. Obtain the distances between multiple points on the drilling tool and the target reservoir interface.

[0089] The distance between multiple points on the drilling tool and the target reservoir interface specifically refers to the distance between multiple points on the drilling tool and the upper and lower boundaries of the target reservoir.

[0090] Multiple points on the drilling tool can include corresponding points such as the drill bit, upper detector, and lower detector.

[0091] In some embodiments, the distances between multiple points on the drill string and the target reservoir interface can be determined by deploying multiple ranging sensors at different locations on the drill string.

[0092] For example, the ranging sensor can be an electromagnetic wave ranging sensor.

[0093] In other embodiments, the distances between multiple points on the drill string and the target reservoir interface can be determined using multiple gamma sensors deployed on the drill string.

[0094] Specifically, the correspondence between gamma measurement data and distance can be stored in advance. During the drilling process, the distances between multiple points on the drill string and the target reservoir interface can be obtained based on the real-time acquired gamma measurement data and the corresponding relationship.

[0095] S204. Based on the drilling direction of the drill string in the target reservoir and the distance between multiple points on the drill string and the target reservoir interface, control the drilling trajectory of the drill string in the target reservoir.

[0096] Due to the complex downhole environment, different drilling directions represent different drilling trajectory deviations. For example, if the drilling direction is from the lower boundary of the target reservoir out of the reservoir, it indicates that the drill string is drilling towards the lower boundary within the target reservoir. By measuring the distances between multiple points on the drill string and the target reservoir interface, the specific location of the drill string within the target reservoir can be determined. Then, based on the drill string trajectory deviation and the specific location of the drill string within the target reservoir, the tool face angle and speed of the drill string are adjusted, thereby controlling the drilling trajectory within the target reservoir.

[0097] The location of the drill string in the target reservoir can be determined by the distances and spatial geometric relationships between multiple points on the drill string and the target reservoir interface. Specifically, since the spatial geometric relationships differ under different drilling directions, analysis is required for each drilling direction. Based on the spatial geometric relationships of different drilling directions and the distances between multiple points on the drill string and the upper or lower boundary of the target reservoir, parameters such as the target reservoir's inclination angle, reservoir thickness, and vertical distance from the drill bit to the reservoir interface can be calculated. Based on these parameters, the distance the drill bit needs to travel along the current direction until reaching the reservoir interface can be calculated, which can be used to determine whether there is a risk of the drill string penetrating the reservoir.

[0098] In some embodiments, a preset calculation model can be constructed based on the drilling direction and stored in advance. During the drilling process, the drilling direction can be determined in real time, and parameters such as the inclination angle of the target reservoir, reservoir thickness, and vertical distance from the drill bit to the reservoir interface can be determined based on the preset calculation model and the distances between multiple points on the drill string and the target reservoir interface.

[0099] The drilling trajectory control method provided in this application determines the drilling direction of the drill string in the target reservoir by real-time acquisition of upper and lower gamma measurement data from the upper and lower detectors of the gamma sensor deployed on the drill string. Based on the drilling direction and the distances between multiple points on the drill string and the target reservoir interface, the drilling trajectory of the drill string in the target reservoir is controlled to prevent the drill string from penetrating the target reservoir. By using the drilling direction and the distances between different locations on the drill string and the target reservoir interface, the position of the drill string in the target reservoir can be determined in real time. The drilling trajectory is then controlled in real time based on this position, resulting in high accuracy and ensuring a smooth and safe drilling process while preventing the drill string from penetrating the reservoir.

[0100] Optional, Figure 5 A flowchart illustrating a drilling trajectory control method for a drill bit provided in this application embodiment. Figure 2 The drilling trajectory control method provided in this embodiment is based on... Figure 2 Based on the previous embodiment, steps S202-S204 are further refined. For example... Figure 5 As shown, the drilling trajectory control method for drill bits provided in this embodiment may specifically include the following steps:

[0101] S501. Obtain the upper gamma measurement data and lower gamma measurement data of the current position of the drill string.

[0102] The upper and lower gamma measurement data were collected by the upper and lower detectors in the gamma sensors deployed on the drill bit.

[0103] S502. If the absolute value of the deviation between the upper gamma measurement data and the lower gamma measurement data is greater than a preset threshold, the drilling direction of the drill string in the target reservoir is determined based on the comparison results of the upper gamma measurement data and the lower gamma measurement data, the rate of change of the upper gamma measurement data, and the rate of change of the lower gamma measurement data.

[0104] The preset threshold can be a default value or a configurable parameter. The preset threshold can be understood as the deviation in upper and lower gamma measurement data generated when the drill string is drilling into the target reservoir. By setting the preset threshold, erroneous triggering of drilling direction determination can be avoided, thus preventing the waste of computational resources.

[0105] Specifically, if the upper and lower gamma measurement data are approximately the same when the drill string is drilling in the middle of the target reservoir (i.e., the absolute value of the deviation between the two is less than or equal to a preset threshold), it indicates that the drill string is drilling in the middle of the target reservoir with a low risk of breaking through. However, if the absolute value of the deviation between the upper and lower gamma measurement data is greater than the preset threshold, it indicates that the drill string is too close to one of the boundaries, such as drilling above or below the target reservoir, and trajectory adjustment is required. To achieve trajectory adjustment, the drilling direction in the target reservoir needs to be determined based on the comparison results of the upper and lower gamma measurement data and their rate of change.

[0106] When the absolute value of the deviation between the upper gamma measurement data and the lower gamma measurement data is less than or equal to the preset threshold, or when the target reservoir boundary is detected within the detection range of both the upper and lower detectors, it indicates that the drilling trajectory of the drill bit is stable and safe, and there is no risk of penetrating the target reservoir. The drill bit can maintain the existing drilling trajectory and continue drilling.

[0107] Optionally, based on the deviation between upper and lower gamma measurement data, the rate of change of upper gamma measurement data, and the rate of change of lower gamma measurement data, the drilling direction of the drill string in the target reservoir is determined, including:

[0108] If the upper gamma measurement data is greater than the lower gamma measurement data, the upper gamma measurement data increases first compared to the lower gamma measurement data, and the rate of change of the upper gamma measurement data is greater than the rate of change of the lower gamma measurement data, then the drilling direction of the drill string in the target reservoir is determined to be the first direction, which indicates that the drill string enters the target reservoir from its upper boundary; if the upper gamma measurement data is greater than the lower gamma measurement data, the lower gamma measurement data decreases first compared to the upper gamma measurement data, and the rate of change of the lower gamma measurement data is greater than the rate of change of the upper gamma measurement data, then the drilling direction of the drill string in the target reservoir is determined to be the second direction, which indicates that the drill string enters the target reservoir from its upper boundary; if If the upper gamma measurement data is less than the lower gamma measurement data, the lower gamma measurement data increases first compared to the upper gamma measurement data, and the rate of change of the lower gamma measurement data is greater than the rate of change of the upper gamma measurement data, then the drilling direction of the drill string in the target reservoir is determined to be the third direction, which indicates that the drill string exits the target reservoir from its lower boundary. If the upper gamma measurement data is less than the lower gamma measurement data, the upper gamma measurement data decreases first compared to the lower gamma measurement data, and the rate of change of the upper gamma measurement data is greater than the rate of change of the lower gamma measurement data, then the drilling direction of the drill string in the target reservoir is determined to be the fourth direction, which indicates that the drill string enters the target reservoir from its lower boundary.

[0109] Figure 6 A schematic diagram of the drilling direction provided in the embodiments of this application, such as Figure 6As shown, the drilling direction is divided into the first direction, the second direction, the third direction, and the fourth direction. Each direction indicates whether the drilling passes through the upper or lower boundary of the target reservoir or penetrates into the target reservoir.

[0110] In some embodiments, when the drilling direction is a first direction or a third direction, it indicates that there is a risk that the drill string may exceed the target reservoir interface. The drilling trajectory of the drill string can be initially controlled so that the drill string can drill in a direction away from the reservoir interface.

[0111] By comparing the magnitude and changes of upper and lower gamma measurement data, the drilling direction can be quickly determined. This method is low in complexity and highly accurate. At the same time, it can preliminarily determine the approximate position of the drill string in the target reservoir, providing preliminary guidance for drill string trajectory control.

[0112] S503. Based on the first ranging sensor, determine the distance between the drill bit and the target reservoir interface.

[0113] The first ranging sensor is deployed on the drill bit and is used to measure the distance between the drill bit and the upper and lower boundaries of the reservoir. The first ranging sensor can be an electromagnetic ranging sensor.

[0114] S504. Based on upper gamma measurement data and lower gamma measurement data, or based on a second ranging sensor, determine the distance between the upper and lower detectors and the target reservoir interface.

[0115] The distances between the upper and lower gamma measurement data and the target reservoir interface can be obtained by inverting the upper and lower detectors based on the first ranging sensor, as well as the correspondence between the upper and lower gamma measurement data. For example, the upper gamma measurement data corresponding to the upper detector penetrating 2 meters into the target reservoir, or the lower gamma measurement data corresponding to the lower detector being 10 meters from the lower boundary of the target reservoir. Then, based on the real-time acquired upper / lower gamma measurement data and this correspondence, the distances between the upper / lower detectors and the target reservoir interface (including the upper and lower boundaries) can be obtained.

[0116] A second ranging sensor can also be deployed near the upper or lower detector to measure the distance between the upper or lower detector and the target reservoir interface.

[0117] S505. Based on the drilling direction of the drill string in the target reservoir, determine the target calculation model from the preset calculation model.

[0118] The preset calculation model is a pre-stored calculation model, and different preset calculation models correspond to different drilling directions.

[0119] Specifically, for each drilling direction, a pre-defined calculation model can be constructed based on the spatial geometric relationship between the drill string and the target reservoir interface in that drilling direction. After determining the drilling direction of the drill string in the target reservoir in real time, the pre-defined calculation model matching the drilling direction is searched among multiple pre-defined calculation models and used as the target calculation model.

[0120] Specifically, a pre-defined calculation model can be determined in advance based on whether the drilling direction and the target reservoir interface are up-dip or down-dip. Whether the target reservoir interface is up-dip or down-dip can be determined through pre-drilling geological exploration or by observing the intensity changes in upper and lower gamma-ray measurement data during drilling.

[0121] The parameters included in the preset calculation model are: H represents the thickness of the target reservoir; θ represents the inclination angle of the target reservoir; α represents the well inclination angle; S represents the distance between gamma sensors; L 1u L represents the distance between the second gamma sensor and the upper boundary; 1d L represents the distance between the second gamma sensor and the lower boundary. 2u L represents the distance between the first gamma sensor and the upper boundary; 2d The distance between the first gamma sensor and the lower boundary is represented by Δt; the preset drilling time is represented by Δt; the drilling speed is represented by v; and L is the drilling speed. 1u ' represents the distance between the first gamma sensor and the upper boundary after time Δt; L 1d ' represents the distance between the second gamma sensor and the lower boundary after time Δt; L 2u ' represents the distance between the first gamma sensor and the upper boundary after time Δt; L 2d ' represents the distance between the first gamma sensor and the lower boundary after time Δt.

[0122] If the drilling direction is the first direction and the target reservoir interface is downsloping, determine the first target calculation model. Figure 7A This is a schematic diagram of the first target computation model provided in an embodiment of this application. Figure 7A As shown, according to the first objective calculation model, the reservoir thickness is: The dip angle of the target reservoir is: .

[0123] If the drilling direction is the first direction and the target reservoir interface is up-dip, determine the second target calculation model. Figure 7B This is a schematic diagram of the second target calculation model provided in an embodiment of this application. Figure 7B As shown, according to the second objective calculation model, the reservoir thickness is: The dip angle of the target reservoir is: .

[0124] If the drilling direction is third-direction and the target reservoir interface is down-dip, determine the calculation model for the third target. Figure 7C This is a schematic diagram of the third target calculation model provided in an embodiment of this application. Figure 7C As shown, according to the third objective calculation model, the reservoir thickness is: The dip angle of the target reservoir is: .

[0125] If the drilling direction is third-direction and the target reservoir interface is up-dip, determine the fourth target calculation model. Figure 7D This is a schematic diagram of the fourth target calculation model provided in an embodiment of this application. Figure 7D As shown, according to the fourth objective calculation model, the reservoir thickness is: The dip angle of the target reservoir is: .

[0126] If the drilling direction is the second or fourth direction, determine the fifth target calculation model. Since if the drilling tool has not entered the target reservoir when the drilling direction is the second or fourth direction, there is no need to locate its position; the tool can simply continue drilling at the current angle and speed. Once the drilling tool enters the target reservoir, the drilling trajectory needs to be controlled. Figure 7E This is a schematic diagram of the fifth target calculation model provided in an embodiment of this application. Figure 7E As shown, according to the fifth target calculation model, the dip angle of the target reservoir is: .

[0127] In some embodiments, when the drilling trajectory is smooth and safe, and there is no risk of penetrating the target reservoir, a sixth target calculation model can be determined. Figure 7F This is a schematic diagram of the sixth target calculation model provided in an embodiment of this application. Figure 7F As shown, according to the fifth objective calculation model, the reservoir thickness is: The dip angle of the target reservoir is: .

[0128] The target calculation model can also calculate the distance from the drill bit to the reservoir and the remaining distance. For example, using... Figure 7F For example, the distance h between the drill bit and the reservoir can be expressed as:

[0129]

[0130] The distance L' from the drill string to the reservoir interface along the current drilling direction can be expressed as:

[0131]

[0132] Where L represents the distance between the first gamma sensor and the drill bit.

[0133] The target computational model can also be calculated based on parameters acquired by the second gamma sensor. Furthermore, the target computational model is not limited to a dual-gamma sensor combination; at least one gamma sensor can be used to determine the target computational model.

[0134] In some embodiments, since the detection range of the deployed ranging sensor or gamma sensor is narrow, it is not possible to simultaneously obtain the distance between the ranging sensor and the upper and lower boundaries of the reservoir. Multiple ranging sensors or gamma sensors deployed on the drill string can be used to increase the detection range. In this case, with Figure 7A For example, the formula for calculating reservoir thickness can be: .

[0135] S506. Substitute the distances between multiple points on the drilling tool and the target reservoir interface into the target calculation model to obtain the dip angle and thickness of the target reservoir.

[0136] Specifically, the corresponding target calculation model is obtained, and the distances between multiple points on the drill string and the target reservoir interface are substituted into the target calculation model. Finally, the dip angle and thickness of the target reservoir can be calculated.

[0137] S507. Based on the inclination angle and thickness of the target reservoir, the drilling direction, and the distance between the drill bit and the target reservoir interface, control the drilling trajectory of the drill string within the target reservoir.

[0138] Based on the inclination angle and thickness of the target reservoir, the distance between the drill bit and the target reservoir interface is calculated. Based on the distance between the drill bit and the target reservoir interface, it is determined whether there is a risk that the drill bit will penetrate the target reservoir. If there is a risk, the drilling trajectory of the drill bit in the target reservoir is controlled so that the drill bit can drill in the target reservoir.

[0139] By setting a threshold value, when the distance between the drill string and the target reservoir interface is less than the threshold value, the tool face angle and speed of the drill string can be adjusted to control the drilling trajectory. The threshold value is the maximum remaining distance the drill string can reach at the current speed; it can be understood as the risk of penetrating the target reservoir if the remaining distance is less than the threshold value. This threshold value can be set according to the reservoir thickness to ensure that the drill string drills inside the target reservoir, or it can be set as a configurable parameter for flexible configuration based on the drill string speed.

[0140] Optionally, the drilling trajectory of the drill string within the target reservoir is controlled based on the dip angle and thickness of the target reservoir, the drilling direction, and the distance between the drill bit and the target reservoir interface, including:

[0141] Based on the dip angle and thickness of the target reservoir, the drilling direction, and the distance between the drill bit and the target reservoir interface, determine the remaining distance between the drill string and the target reservoir interface; based on the drilling speed and the remaining distance, predict the target time when the remaining distance reaches the threshold value; at the target time, adjust the tool face angle of the drill string to change the drilling trajectory of the drill string.

[0142] The remaining distance refers to the distance the drill string will travel along the current drilling direction to reach the reservoir interface. It can be calculated based on the well inclination angle, the distance between the drill bit and the target reservoir interface, and the inclination angle.

[0143] Specifically, based on the dip angle and thickness of the target reservoir, the drilling direction, and the distance between the drill bit and the target reservoir interface, the remaining distance between the drill bit and the target reservoir interface along the current drilling angle can be determined. The target time when the drill bit reaches the threshold value can be calculated in real time, and the speed and tool face angle of the drill bit can be adjusted to ensure that the drilling trajectory can be controlled within the target time so that it does not penetrate the target reservoir.

[0144] By determining the remaining distance and target time, the risk of the drill string detecting that it has exceeded the reservoir interface can be avoided. However, if the tool face angle and speed adjustment of the drill string are insufficient, the drill string may still penetrate the target reservoir interface, thus ensuring that the drill string can work smoothly and safely within the target reservoir.

[0145] The drilling trajectory control method provided in this application determines the drilling direction in complex downhole environments by comparing parameters such as the magnitude and rate of change of upper and lower gamma measurement data. This method is accurate and reliable, avoiding errors caused by complex downhole environments. Furthermore, by deploying distance sensors, the distances between multiple points on the drill string and the target reservoir interface can be accurately obtained, laying the foundation for subsequent drill string trajectory control and ensuring the accuracy of the transition trajectory control. By determining the target calculation model, the reservoir thickness and inclination angle can be calculated quickly and in real time. Based on the distances between multiple points on the drill string and the target reservoir interface, the accurate positioning of the drill string in the target reservoir is achieved. Based on this positioning, precise control of the drilling trajectory can be realized, ensuring the stability and safety of the drilling process.

[0146] Figure 8 A flowchart illustrating the drilling trajectory control method for drill bits provided in this application embodiment. Figure 3 .like Figure 8 As shown, in order to better understand the robot climbing control method provided in this embodiment, this embodiment further explains the drilling trajectory control scenario of the drill bit.

[0147] S801. Obtain the upper gamma measurement data and lower gamma measurement data of the current position of the drill string.

[0148] S802. Determine whether the deviation between the upper gamma measurement data and the lower gamma measurement data is greater than a preset threshold.

[0149] If the value is greater than the preset threshold, execute S803; otherwise, execute S808.

[0150] S803. Determine the drilling direction based on whether the rate of change between the upper gamma measurement data and the lower gamma measurement data is greater than 0, and whether the rate of change of the upper gamma measurement data is greater than the rate of change of the lower gamma measurement data.

[0151] Specifically, determine whether the rate of change between the upper and lower gamma measurement data is greater than 0. If it is, it means that the gamma measurement data is increasing, and the drill string is penetrating from the target reservoir into the surrounding rock. If not, it means that the gamma measurement data is decreasing, and the drill string is penetrating from the surrounding rock into the target reservoir.

[0152] Then determine whether the rate of change of the upper gamma measurement data is greater than the rate of change of the lower gamma measurement data. If so, it means that the drill string is close to the upper boundary; if not, it means that the drill string is close to the lower boundary.

[0153] Finally, the drilling direction of the drill bit can be determined.

[0154] S804. Determine the target calculation model based on the drilling direction.

[0155] S805. Based on the target calculation model, obtain the inclination angle, thickness, drilling direction, and distance between the drill bit and the target reservoir interface of the target reservoir.

[0156] S806. Does the distance between the drill bit and the target reservoir interface reach the threshold value?

[0157] If yes, execute S807; otherwise, execute S808.

[0158] S807. Adjust the tool face angle of the drill bit to change the drilling trajectory of the drill bit.

[0159] S808, continue drilling and monitor.

[0160] Figure 9 This is a schematic diagram of the structure of a drill string drilling trajectory control device provided in an embodiment of this application, as shown below. Figure 9 As shown, the robot climbing control device provided in this embodiment includes: a gamma measurement data acquisition module 901, a drilling direction determination module 902, a distance acquisition module 903, and a drilling trajectory control module 904.

[0161] The gamma measurement data acquisition module 901 is used to acquire upper gamma measurement data and lower gamma measurement data of the current position of the drill string, wherein the upper gamma measurement data and lower gamma measurement data are collected by the upper detector and lower detector of the gamma sensor deployed on the drill string; the drilling direction determination module 902 is used to determine the drilling direction of the drill string in the target reservoir based on the upper gamma measurement data and lower gamma measurement data; the distance acquisition module 903 is used to acquire the distance between multiple points on the drill string and the target reservoir interface; the drilling trajectory control module 904 is used to control the drilling trajectory of the drill string in the target reservoir based on the drilling direction of the drill string in the target reservoir and the distance between multiple points on the drill string and the target reservoir interface.

[0162] Optionally, the drilling direction determination module 902 is specifically used for:

[0163] If the absolute value of the deviation between the upper gamma measurement data and the lower gamma measurement data is greater than a preset threshold, the drilling direction of the drill string in the target reservoir is determined based on the comparison results of the upper and lower gamma measurement data, the rate of change of the upper gamma measurement data, and the rate of change of the lower gamma measurement data.

[0164] Optionally, the drilling direction determination module 902 is specifically used for:

[0165] If the upper gamma measurement data is greater than the lower gamma measurement data, the upper gamma measurement data increases first compared to the lower gamma measurement data, and the rate of change of the upper gamma measurement data is greater than the rate of change of the lower gamma measurement data, then the drilling direction of the drill string in the target reservoir is determined to be the first direction, which indicates that the drill string enters the target reservoir from its upper boundary; if the upper gamma measurement data is greater than the lower gamma measurement data, the upper gamma measurement data decreases first compared to the lower gamma measurement data, and the rate of change of the lower gamma measurement data is greater than the rate of change of the upper gamma measurement data, then the drilling direction of the drill string in the target reservoir is determined to be the second direction, which indicates that the drill string enters the target reservoir from its upper boundary; if If the upper gamma measurement data is less than the lower gamma measurement data, the lower gamma measurement data increases first compared to the upper gamma measurement data, and the rate of change of the lower gamma measurement data is greater than the rate of change of the upper gamma measurement data, then the drilling direction of the drill string in the target reservoir is determined to be the third direction, which indicates that the drill string exits the target reservoir from its lower boundary. If the upper gamma measurement data is less than the lower gamma measurement data, the upper gamma measurement data decreases first compared to the lower gamma measurement data, and the rate of change of the upper gamma measurement data is greater than the rate of change of the lower gamma measurement data, then the drilling direction of the drill string in the target reservoir is determined to be the fourth direction, which indicates that the drill string exits the target reservoir from its upper boundary.

[0166] Optional, distance acquisition module 903, specifically used for:

[0167] Based on the first ranging sensor, the distance between the drill bit and the target reservoir interface is determined; based on the upper and lower gamma measurement data, or based on the second ranging sensor, the distance between the upper and lower detectors and the target reservoir interface is determined.

[0168] Optional, the drilling trajectory control module 904 is specifically used for:

[0169] The target calculation model determination unit is used to determine the target calculation model from the preset calculation model based on the drilling direction of the drill string in the target reservoir; the inclination angle and thickness calculation unit is used to substitute the distances between multiple points on the drill string and the target reservoir interface into the target calculation model to obtain the inclination angle and thickness of the target reservoir; the drilling trajectory control unit is used to control the drilling trajectory of the drill string in the target reservoir based on the inclination angle and thickness of the target reservoir, the drilling direction, and the distance between the drill bit of the drill string and the target reservoir interface.

[0170] Optional, a drilling trajectory control unit, specifically used for:

[0171] Based on the dip angle and thickness of the target reservoir, the drilling direction, and the distance between the drill bit and the target reservoir interface, determine the remaining distance between the drill string and the target reservoir interface; based on the drilling speed and the remaining distance, predict the target time when the remaining distance reaches the threshold value; at the target time, adjust the tool face angle of the drill string to change the drilling trajectory of the drill string.

[0172] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 10 As shown, the electronic device 10 provided in this embodiment includes a processor 101 and a memory 102 communicatively connected to the processor 101. Optionally, the device 10 further includes a communication component 103. The processor 101, memory 102, and communication component 103 are connected via a bus.

[0173] In the specific implementation process, the processor 101 executes the computer execution instructions stored in the memory 102, causing the processor 101 to perform the above-described method.

[0174] The specific implementation process of processor 101 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0175] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0176] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0177] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0178] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0179] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0180] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0181] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0182] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0183] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0184] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0185] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0186] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0187] Finally, it should be noted that other embodiments of this application will readily conceive of by those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and alterations may be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A method for controlling the drilling trajectory of a drill bit, characterized in that, include: Acquire upper gamma measurement data and lower gamma measurement data of the current position of the drill string; wherein, the upper gamma measurement data and the lower gamma measurement data are collected based on the upper detector and lower detector of the gamma sensor deployed on the drill string; Based on the upper gamma measurement data and the lower gamma measurement data, the drilling direction of the drill string in the target reservoir is determined; Obtain the distances between multiple points on the drill string and the target reservoir interface; The drilling trajectory of the drill string within the target reservoir is controlled based on the drilling direction of the drill string in the target reservoir and the distances between multiple points on the drill string and the interface of the target reservoir.

2. The method according to claim 1, characterized in that, Based on the upper gamma measurement data and the lower gamma measurement data, the drilling direction of the drill string in the target reservoir is determined, including: If the absolute value of the deviation between the upper gamma measurement data and the lower gamma measurement data is greater than a preset threshold, the drilling direction of the drill string in the target reservoir is determined based on the comparison result of the upper gamma measurement data and the lower gamma measurement data, the rate of change of the upper gamma measurement data, and the rate of change of the lower gamma measurement data.

3. The method according to claim 2, characterized in that, Based on the deviation between the upper gamma measurement data and the lower gamma measurement data, the rate of change of the upper gamma measurement data, and the rate of change of the lower gamma measurement data, the drilling direction of the drill string in the target reservoir is determined, including: If the upper gamma measurement data is greater than the lower gamma measurement data, the upper gamma measurement data increases first compared to the lower gamma measurement data, and the rate of change of the upper gamma measurement data is greater than the rate of change of the lower gamma measurement data, then the drilling direction of the drill bit in the target reservoir is determined to be the first direction, and the first direction extends out of the target reservoir from the upper boundary of the target reservoir. If the upper gamma measurement data is greater than the lower gamma measurement data, the upper gamma measurement data decreases before the lower gamma measurement data, and the rate of change of the lower gamma measurement data is greater than the rate of change of the upper gamma measurement data, then the drilling direction of the drill bit in the target reservoir is determined to be the second direction, which indicates that the drill bit penetrates the target reservoir from the upper boundary of the target reservoir. If the upper gamma measurement data is less than the lower gamma measurement data, the lower gamma measurement data increases before the upper gamma measurement data, and the rate of change of the lower gamma measurement data is greater than the rate of change of the upper gamma measurement data, then the drilling direction of the drill bit in the target reservoir is determined to be a third direction, and the third direction indicates that the drill bit passes through the target reservoir from the lower boundary of the target reservoir. If the upper gamma measurement data is less than the lower gamma measurement data, the upper gamma measurement data decreases before the lower gamma measurement data, and the rate of change of the upper gamma measurement data is greater than the rate of change of the lower gamma measurement data, then the drilling direction of the drill bit in the target reservoir is determined to be the fourth direction, which indicates that the drill bit passes through the upper boundary of the target reservoir.

4. The method according to any one of claims 1-3, characterized in that, Obtaining the distances between multiple points on the drill string and the target reservoir interface includes: Based on the first ranging sensor, the distance between the drill bit of the drilling tool and the target reservoir interface is determined; Based on the upper gamma measurement data and the lower gamma measurement data, or based on the second ranging sensor, the distances between the upper detector and the lower detector and the target reservoir interface are determined.

5. The method according to claim 4, characterized in that, Based on the drilling direction of the drill string in the target reservoir and the distances between multiple points on the drill string and the target reservoir interface, the drilling trajectory of the drill string within the target reservoir is controlled, including: Based on the drilling direction of the drill string in the target reservoir, the target calculation model is determined from the preset calculation model; By substituting the distances between multiple points on the drill string and the target reservoir interface into the target calculation model, the dip angle and thickness of the target reservoir are obtained; Based on the inclination angle and thickness of the target reservoir, the drilling direction, and the distance between the drill bit and the target reservoir interface, the drilling trajectory of the drill string within the target reservoir is controlled.

6. The method according to claim 5, characterized in that, Based on the dip angle and thickness of the target reservoir, the drilling direction, and the distance between the drill bit and the target reservoir interface, controlling the drilling trajectory of the drill string within the target reservoir includes: Based on the inclination angle and thickness of the target reservoir, the drilling direction, and the distance between the drill bit and the target reservoir interface, the remaining distance between the drill string and the target reservoir interface is determined. Based on the drilling speed of the drill string and the remaining distance, predict the target time when the remaining distance reaches the threshold value; At the target time, the tool face angle of the drill string is adjusted to change the drilling trajectory of the drill string.

7. A drilling trajectory control device for a drill bit, characterized in that, include: The gamma measurement data acquisition module is used to acquire upper gamma measurement data and lower gamma measurement data of the current position of the drill bit, wherein the upper gamma measurement data and the lower gamma measurement data are collected based on the upper detector and lower detector of the gamma sensor deployed on the drill bit; The drilling direction determination module is used to determine the drilling direction of the drill string in the target reservoir based on the upper gamma measurement data and the lower gamma measurement data. The distance acquisition module is used to acquire the distances between multiple points on the drill string and the target reservoir interface; The drilling trajectory control module is used to control the drilling trajectory of the drill string in the target reservoir based on the drilling direction of the drill string in the target reservoir and the distance between multiple points on the drill string and the interface of the target reservoir.

8. An electronic device, comprising: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 6.

10. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method as described in any one of claims 1 to 6.