Wellhead coordinate calculation method and device

By reverse-engineering the target point coordinates and design parameters, the problem of difficulty in back-calculating wellhead coordinates was solved, enabling accurate determination of the wellhead position and trajectory optimization, thus improving the design efficiency and safety of directional drilling.

CN121598447APending Publication Date: 2026-03-03CHINA OILFIELD SERVICES LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511791470.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-01
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

Existing technologies lack the ability to back-calculate wellhead coordinates based on the depth of the build-up point and the length of the stabilization section in directional drilling design. This makes it difficult to select the wellhead location, optimize core indicators such as total footage and dogleg, and results in low calculation efficiency and non-optimal results, thus affecting drilling efficiency and safety.

Method used

By using reverse calculation methods, the target point coordinates and design parameters on the wellbore trajectory are obtained. Using three-dimensional spatial geometry and the length of the stable section, the wellhead coordinates and the depth of the build-up point are calculated, including the calculation of the well inclination angle, azimuth angle and radius of curvature, to determine the optimal wellhead position.

Benefits of technology

It improves the accuracy of wellhead coordinate calculation and the precision of drilling trajectory design, optimizes wellhead coordinate parameter design, and is particularly suitable for J-type wells and directional wells, shortening design time and improving drilling efficiency and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121598447A_ABST
    Figure CN121598447A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a wellhead coordinate calculation method and device. The method comprises the following steps: acquiring a first coordinate of a first target spot, a second coordinate of a second target spot, a preset stable inclination section length and a preset dog-leg degree on a borehole trajectory of a to-be-drilled well; a deflecting end point is determined by returning a preset stable inclination section length from the first target point in the reverse direction of a connecting line of the first target point and the second target point, and a third coordinate corresponding to the deflecting end point is calculated according to the first coordinate, the second coordinate and the preset stable inclination section length; and according to the third coordinate, the preset dogleg degree, the first coordinate and the second coordinate, performing inversion calculation on the wellhead coordinate and the depth of the deflecting point. According to the method, through reverse calculation, the optimal wellhead coordinate can be uniquely determined directly according to the coordinates of the two target spots, the length of the stable inclination section, the dog-leg degree and other parameters, so that the borehole trajectory starting from the wellhead can naturally meet the requirement of sequentially penetrating the double targets, the trajectory form is optimized, the operation cost is reduced, and the design efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of petroleum engineering software technology, specifically to a wellhead coordinate calculation method and apparatus. Background Technology

[0002] Currently, Halliburton's Landmark design software is widely used in the design of directional drilling projects in the petroleum engineering field. This software can realize basic wellbore trajectory design, parameter calculation and data management functions, but it has obvious limitations in the application of core technologies - it lacks the ability to back calculate wellhead coordinates based on key constraints such as the depth of the start-up point and the length of the stable section.

[0003] In directional drilling design scenarios, determining the wellhead location of a single-target well is relatively easy; it can usually be approximately positioned directly above the target, allowing for precise target hits via vertical drilling. However, the technical complexity of a dual-target well increases significantly: the wellbore trajectory must traverse two or more non-perpendicular target points in a specific curved pattern within the underground space, and the wellhead location must strictly adhere to the spatial geometric constraints with all target points, preventing arbitrary setting.

[0004] Traditional forward design methods calculate the trajectory starting from the wellhead, making it difficult to quickly pinpoint the optimal wellhead location that simultaneously optimizes core metrics such as total footage and dogleg accuracy. This often relies on repeated trial and error, resulting in inefficiency and potentially suboptimal trajectory design, thus impacting drilling efficiency and safety. Furthermore, traditional methods suffer from the following problems: high coupling between wellhead coordinates and the length of the stable section, making simultaneous optimization impossible; and complex trigonometric functions leading to low computational efficiency and difficulty in real-time adjustments. Summary of the Invention

[0005] In view of the above problems, this application is made in order to provide a method, apparatus, computing device, computer storage medium and computer program product for calculating wellhead coordinates that overcomes or at least partially solves the above problems.

[0006] According to one aspect of the embodiments of this application, a method for calculating wellhead coordinates is provided, including: Obtain the first coordinates of the first target point, the second coordinates of the second target point, the preset stable section length, and the preset dogleg degree on the wellbore trajectory to be drilled; The inclination start point is determined by retracing the pre-set stabilization section length in the opposite direction of the line connecting the first target point and the second target point from the first target point. The third coordinate corresponding to the inclination start point is calculated based on the first coordinate, the second coordinate, and the pre-set stabilization section length. The wellhead coordinates and the depth of the build-up point are calculated based on the third coordinate, the preset dogleg degree, the first coordinate, and the second coordinate.

[0007] Furthermore, the inversion calculation of wellhead coordinates and start-up point depth based on the third coordinate, preset dogleg degree, first coordinate, and second coordinate further includes: Calculate the inclination angle and azimuth angle of the wellbore trajectory to be drilled based on the first and second coordinates. Calculate the radius of curvature of the wellbore trajectory based on the preset dogleg angle; Based on the angle value of the well inclination angle and the radius of curvature, the geometric offset from the virtual reference point to the well inclination angle is calculated by extending the circular arc track backward from the end point of the well inclination angle to the virtual reference point where the well inclination angle is zero. The circular arc track is determined based on the radius of curvature, the angle value of the well inclination angle, and the angle value of the azimuth angle. The wellhead coordinates and the depth of the build-up point are calculated based on the third coordinate and geometric offset.

[0008] Furthermore, the calculation of the third coordinate corresponding to the end point of the inclined section based on the first coordinate, the second coordinate, and the preset stable section length further includes: Calculate the spatial coordinate difference and spatial straight-line distance between the first target point and the second target point based on the first and second coordinates; The endpoint of the inclined plane and its corresponding third coordinates are calculated based on the first coordinate, the spatial coordinate difference, the spatial straight-line distance, and the preset stable inclined section length.

[0009] Furthermore, assume the first coordinate is (N1, E1, TVD1) and the second coordinate is (N2, E2, TVD2); The calculation of the spatial coordinate difference and spatial straight-line distance between the first target point and the second target point based on the first and second coordinates further includes: The spatial coordinate difference between the first target point and the second target point is calculated using the following formula:

[0010]

[0011]

[0012] Wherein, ΔN is the distance difference between the first target point and the second target point in the north direction, ΔE is the distance difference between the first target point and the second target point in the east direction, and ΔTVD is the distance difference between the first target point and the second target point in the vertical depth direction. The spatial straight-line distance s between the first target point and the second target point is calculated using the following formula: .

[0013] Furthermore, let the third coordinate corresponding to the end point of the inclined plane be (N) c E c TVD c ); The calculation of the inclined section termination point and its corresponding third coordinate, based on the first coordinate, spatial coordinate difference, spatial straight-line distance, and preset stable section length, further includes: Calculate the third coordinate using the following formula:

[0014]

[0015]

[0016] Where l is the preset length of the stable inclined section.

[0017] Furthermore, the geometric offset includes: bow height and vertical deviation; Based on the inclination angle and radius of curvature, the geometric offset from the inclination angle to the virtual reference point (where the inclination angle is zero) is calculated by extending the arc trajectory backward from the start point of the wellbore inclination. This calculation further includes: Calculate the bow height and vertical deviation using the following formula:

[0018]

[0019]

[0020]

[0021]

[0022] Where sl is the bow height, vh is the vertical deflection, inc is the well inclination angle, azi is the azimuth angle, R is the radius of curvature, and dlg is the preset dogleg degree.

[0023] Furthermore, the calculation of wellhead coordinates and start-up point depth based on the third coordinate and geometric offset inversion includes: The coordinates and depth of the incline can be calculated using the following formula:

[0024]

[0025]

[0026]

[0027] The coordinates of the build-up point are determined as the wellhead coordinates; Where, N kop and E kop, respectively, represent the north and east coordinates of the inclination point, Kop is the depth of the inclination point, and ab is the horizontal projection distance between the inclination end point C and the first target point.

[0028] According to another aspect of the embodiments of this application, a wellhead coordinate calculation device is provided, comprising: The acquisition module is suitable for acquiring the first coordinates of the first target point, the second coordinates of the second target point, the preset stable section length, and the preset dogleg degree on the wellbore trajectory to be drilled; The first calculation module is adapted to determine the end point of the inclination project by retracing a preset stabilizing section length from the first target point along the opposite direction of the line connecting the first target point and the second target point, and to calculate the third coordinates corresponding to the end point of the inclination project based on the first coordinates, the second coordinates and the preset stabilizing section length. The second calculation module is suitable for inverting and calculating the wellhead coordinates and the depth of the build-up point based on the third coordinate, the preset dogleg degree, the first coordinate, and the second coordinate.

[0029] According to another aspect of the embodiments of this application, a computing device is provided, including: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus; The memory is used to store at least one executable instruction, which causes the processor to perform the operation corresponding to the above wellhead coordinate calculation method.

[0030] According to another aspect of the embodiments of this application, a computer storage medium is provided, wherein the storage medium stores at least one executable instruction, which causes a processor to perform an operation corresponding to the wellhead coordinate calculation method described above.

[0031] According to another aspect of the embodiments of this application, a computer program product is provided, including at least one executable instruction, which causes a processor to perform operations corresponding to the wellhead coordinate calculation method described above.

[0032] According to the wellhead coordinate calculation method and apparatus provided in the embodiments of this application, through reverse calculation, an optimal wellhead coordinate can be uniquely determined directly based on parameters such as the coordinates of two target points and the length of the designed stabilization section. This allows the wellbore trajectory starting from this wellhead to naturally meet the requirement of sequentially passing through two targets, optimizes the trajectory shape, improves the accuracy of wellhead coordinate calculation, better adapts to complex geological conditions, and improves the precision of drilling trajectory design. It is particularly suitable for the design of wellhead coordinate parameters for J-type wells and directional wells.

[0033] The above description is merely an overview of the technical solutions of the embodiments of this application. In order to better understand the technical means of the embodiments of this application and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of this application more obvious and understandable, specific implementation methods of the embodiments of this application are described below. Attached Figure Description

[0034] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the embodiments of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 A flowchart illustrating a wellhead coordinate calculation method according to an embodiment of this application is shown; Figure 2 This is a schematic diagram of the geometric offset. Figure 3 A schematic diagram showing the wellhead coordinates and the depth of the start-up point; Figure 4 This is a schematic diagram of interactive software; Figure 5 A structural block diagram of a wellhead coordinate calculation device according to an embodiment of this application is shown; Figure 6 A schematic diagram of the structure of a computing device according to an embodiment of this application is shown. Detailed Implementation

[0035] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0036] In existing technologies, wellhead coordinate calculation typically relies on the following methods: 1. Trigonometric function step-by-step derivation method: By decomposing the horizontal projection difference and vertical depth difference, the well inclination angle and azimuth angle are calculated step by step, and then the wellhead coordinates are derived. Disadvantages: The calculation steps are cumbersome and the cumulative error is large.

[0037] 2. Static geometric model method: This method assumes the build-up section is a fixed circular arc and uses geometric formulas to inversely deduce the wellhead position. Disadvantages: It does not consider dynamic corrections for the stable section, resulting in poor model adaptability.

[0038] To solve the aforementioned technical problems, the inventors of this application have proposed a scheme for calculating wellhead coordinates in reverse through inventive effort, which is described in detail below with specific examples: Figure 1 A flowchart illustrating a wellhead coordinate calculation method according to an embodiment of this application is shown, as follows: Figure 1 As shown, the method includes the following steps: Step S101: Obtain the first coordinates of the first target point, the second coordinates of the second target point, the preset stable section length, and the preset dogleg degree on the wellbore trajectory to be drilled.

[0039] The first and second target points are two known points that the wellbore trajectory to be drilled needs to cross. The first target point is typically the first point the wellbore trajectory crosses, and the second target point is typically the second point the wellbore trajectory crosses. Together, the first and second target points determine the direction of the wellbore trajectory. The coordinates of both the first and second target points are three-dimensional coordinates. The coordinate system for these three-dimensional coordinates can be determined according to actual needs, such as a geodetic coordinate system (e.g., WGS-84), a national coordinate system, or a mine-specific coordinate system. The coordinates of the first and second target points include north (N), east (E), and vertical depth (TVD). Specifically, the first coordinates corresponding to the first target point and the second coordinates corresponding to the second target point can be predetermined based on geological exploration results, seismic data interpretation, or analysis of adjacent well data.

[0040] The stable inclination section refers to the section of the well where the inclination angle remains essentially unchanged after the inclination increase or decrease operation is completed. The preset stable inclination section length is a predefined distance that is reversed along the wellbore trajectory from the target point, used to determine the termination point of the inclination increase section.

[0041] The length of the pre-stabilized section is ultimately to ensure that the drill bit can maintain a stable angle and drill a sufficient distance in the target formation to effectively penetrate the target reservoir and improve oil and gas recovery. This length value can be determined comprehensively based on geological requirements, drilling engineering experience, and downhole tool performance.

[0042] Dogleg is a key indicator for measuring the bending strength of the wellbore trajectory, typically expressed in degrees / 30 meters (representing the spatial angular change in inclination and azimuth within a 30-meter well section). The preset dogleg is designed to ensure the wellbore trajectory can bend smoothly as designed to connect different target points, while avoiding downhole complications caused by excessive curvature, such as excessive drill string friction torque, keyway stuck pipe, and severe casing wear. The specific value of the preset dogleg is determined by comprehensively considering formation drillability, the build-up capability of the drill string assembly, drilling technology level, and safety operation constraints. The preset stable inclination section length and the preset dogleg define the calculation benchmark.

[0043] This embodiment requires obtaining the spatial coordinates of the first target point and the second target point needed for the wellbore trajectory design, the length of the planned stabilizing section in the wellbore trajectory design, and the allowable dogleg angle in the wellbore trajectory design. For example, the above data can be received from user input via a human-computer interaction interface, such as... Figure 4 As shown, the coordinates of target point T1 and target point T2, the length of the stabilizing section, and the dogleg degree can be entered in the interactive interface, or the above data can be automatically read from a pre-stored database or design file. Step S102: Determine the end point of the inclination construction by retracing the preset stabilization section length from the first target point along the opposite direction of the line connecting the first target point and the second target point. Calculate the third coordinate corresponding to the end point of the inclination construction based on the first coordinate, the second coordinate, and the preset stabilization section length.

[0044] To avoid division by zero errors in specific situations (such as vertical well sections) and to enhance numerical stability, after obtaining the preset stable section length, the preset stable section length can be reversed from the first target point along the opposite direction of the line connecting the first target point and the second target point. The point to which the reversed section ends is the starting point, also known as the base point C.

[0045] To facilitate subsequent inversion calculation of wellhead coordinates, it is necessary to calculate the coordinates of the wellhead end point. Specifically, the third coordinate corresponding to the wellhead end point is calculated based on the first coordinate, the second coordinate, and the preset stable section length.

[0046] In one optional embodiment of this application, the following method can be used to calculate the end point of the incline and the corresponding third coordinate: calculate the spatial coordinate difference and spatial straight-line distance between the first target point and the second target point based on the first coordinate and the second coordinate; calculate the end point of the incline and the corresponding third coordinate based on the first coordinate, the spatial coordinate difference, the spatial straight-line distance and the preset stable incline length.

[0047] Both the first and second coordinates are three-dimensional coordinates. Therefore, the spatial coordinate difference here is the difference between two coordinate values ​​in the same direction. That is, the distance differences between the first and second target points in the north, east, and vertical directions can be calculated separately. The spatial straight-line distance is the three-dimensional spatial straight-line distance between the first and second target points, which can be calculated using the distance differences in the three directions.

[0048] Assuming the first target point T1 has the first coordinates (N1, E1, TVD1) and the second target point T2 has the second coordinates (N2, E2, TVD2), the spatial coordinate difference between the first and second target points can be calculated using the following formula: Distance difference in the north direction:

[0049] Distance difference in the east direction:

[0050] Distance difference in the vertical direction:

[0051] Wherein, ΔN is the distance difference between the first target point and the second target point in the north direction, ΔE is the distance difference between the first target point and the second target point in the east direction, and ΔTVD is the distance difference between the first target point and the second target point in the vertical depth direction. The spatial straight-line distance s between the first target point and the second target point is calculated using the following formula: .

[0052] Let the third coordinate corresponding to the end point of the inclined plane be (N) c E c TVD c ); Therefore, after calculating the spatial coordinate difference and the straight-line distance between the first and second target points, the third coordinate corresponding to the end point of the skew line can be calculated using the following formula:

[0053]

[0054]

[0055] Where l is the preset length of the stable inclined section.

[0056] The horizontal projected distance between the endpoint C of the skewing project and the first target point is the horizontal projection length of the line connecting the endpoint C and the first target point. This horizontal projected distance ab can be calculated using the following formula: .

[0057] Step S103: Calculate the wellhead coordinates and the depth of the build-up point based on the third coordinate, the preset dogleg degree, the first coordinate, and the second coordinate.

[0058] After obtaining the third coordinate, the starting position of the wellbore trajectory, i.e., the wellhead coordinate and the depth of the build-up point, can be accurately calculated based on the third coordinate corresponding to the end point of the build-up and the coordinates of two known target points, namely the first coordinate and the second coordinate, under the engineering constraint of the preset dogleg degree, through spatial geometric inversion calculation.

[0059] In one optional embodiment of this application, the wellhead coordinates and the depth of the build-up point can be calculated using the following method: Calculate the inclination angle and azimuth angle of the wellbore trajectory to be drilled based on the first and second coordinates; calculate the radius of curvature of the wellbore trajectory based on the preset dogleg angle; based on the inclination angle and radius of curvature, extend the arc trajectory backward from the start point of the directional drilling to a virtual reference point where the inclination angle is zero, and calculate the geometric offset from the virtual reference point to the start point of the directional drilling, wherein the arc trajectory is determined based on the radius of curvature, inclination angle, and azimuth angle; calculate the wellhead coordinates and the depth of the directional drilling point based on the third coordinate and the geometric offset.

[0060] Specifically, the inclination angle (inc) is the angle between the wellbore track and the vertical direction, and the azimuth angle (azi) is the angle between the projection of the wellbore track onto the horizontal plane and the due north direction.

[0061] Based on the first and second coordinates, the inclination angle and azimuth angle of the straight section connecting these two points are calculated using the spatial geometric vector method. For example, a spatial vector pointing from the first coordinate to the second coordinate is constructed, and the angle between this vector and the vertical line in the vertical plane is calculated using inverse trigonometric functions; this is the inclination angle. Simultaneously, the angle between the projection of this vector onto the horizontal plane and the due north direction is calculated; this is the azimuth angle. This calculation establishes the ideal drilling direction and wellbore attitude, which is the basis for subsequent trajectory design.

[0062] Based on the preset dogleg angle, the radius of curvature of the wellbore trajectory is calculated. Then, based on the inclination angle and radius of curvature, the trajectory is extended backward along the circular arc from the start point to a virtual reference point where the inclination angle is zero. The geometric offset from the virtual reference point to the start point is then calculated. The circular arc is determined based on the radius of curvature, inclination angle, and azimuth angle. The virtual reference point is an imaginary reference point, referring to a virtual geometric reference point where the inclination angle drops to 0° after extending backward along the circular arc from the start point. This virtual reference point is a virtual positioning point obtained based on preset trajectory parameters and is used to quantify the spatial offset characteristics of the start point relative to this virtual reference.

[0063] The azimuth angle obtained through the above calculation can uniquely determine the spatial orientation of the inclined plane. The inclined plane is a vertical plane that includes the tangent direction of the trajectory at the end of the inclined plane and forms an azimuth angle with the due north direction. The subsequent circular track lies entirely within this plane, ensuring the uniqueness of the spatial orientation of the track.

[0064] Within the defined directional drilling plane, starting from the end point of the directional drilling, a fixed length of the radius of curvature is intercepted along the perpendicular direction of the tangent to the trajectory at that point (pointing towards the inside of the circular arc track, i.e., the direction in which the inclination angle decreases). The endpoint of this interception is the center of the circular arc track. Specifically, the tangent direction of the trajectory at the end point of the directional drilling is the tangent direction of the circular arc at that point. According to the geometric properties of a circle, the line connecting the center of the circle and the end point of the directional drilling must be perpendicular to the tangent. Combined with the fixed length of the radius of curvature, the spatial position of the center of the circle can be uniquely determined.

[0065] The above calculations can determine the inclination angle at the end point of the directional drilling project, which is the angle between the tangent of the trajectory at the end point and the vertical direction. Since the bending process of the circular track corresponds to the continuous change of the inclination angle, the change in inclination angle from the virtual reference point (inclination angle of 0°) to the end point of the directional drilling project (angle value of the inclination angle) is exactly equal to the arc length of the circular track. Therefore, the arc length of the circular track can be calculated by combining the radius of curvature.

[0066] Reverse extension refers to extending the track in the opposite direction to the forward extension direction during directional drilling, that is, extending from the end point of directional drilling in the direction of decreasing inclination angle. During the extension process, the change in inclination angle is continuously monitored. Since the arc length of the circular track is equal to the inclination angle, and the inclination angle corresponds to the change from 0° to the corresponding angle value, when the distance extended in the reverse direction along the circular track reaches the arc length, the inclination angle exactly drops from the corresponding angle value to 0°. The point where the inclination angle is 0° is the virtual reference point.

[0067] Calculate the geometric offset from the virtual reference point to the end point of the build-up. This geometric offset is a key geometric parameter that characterizes the spatial offset of the actual arc-shaped trajectory relative to the straight path due to wellbore curvature. It is crucial for accurately controlling the wellbore trajectory to pass through the predetermined target point.

[0068] After obtaining the above geometric offset, the final wellhead coordinates and the depth of the build-up point are determined by combining the third coordinate with an inversion algorithm.

[0069] More specifically, the inclination angle (inc) and azimuth angle (azi) can be calculated using the following formulas: [Unit: degree] [Unit: degrees, range 0°~360°] The radius of curvature of the wellbore trajectory is calculated based on the given dogleg degree dlg (unit: degrees / 30 meters). Then, starting from the end point of the build-up trajectory, the trajectory is extended backward along the circular arc to a virtual reference point where the inclination angle is zero. The geometric offset from the virtual reference point to the end point of the build-up trajectory is then calculated. The geometric offset includes: arc height (sl), which is the horizontal offset of the midpoint of the arc relative to the chord. The vertical offset (vh) is the vertical offset of the midpoint of the arc relative to the chord.

[0070] Specifically, Figure 2 A schematic diagram of the geometric offset, such as Figure 2 As shown, the bow height (horizontal distance from the virtual reference point to the end point of the incline) and vertical deviation (vertical distance from the virtual reference point to the end point of the incline) can be calculated using the following formulas:

[0071]

[0072] [Unit: meters] Where sl is the bow height, vh is the vertical deflection, inc is the angle value of the well inclination angle, azi is the angle value of the azimuth angle, R is the radius of curvature, and dlg is the preset dogleg degree.

[0073] Figure 3 A schematic diagram showing the wellhead coordinates and the depth of the start-up point, as shown below. Figure 3 As shown, the calculated geometric offset is projected onto the north, east, and vertical depth coordinates, from which the final wellhead coordinates and the depth of the build-up point can be calculated. Let the wellhead coordinates be (N0, E0) and the build-up point coordinates be (N... kop E kop The coordinates and depth of the starting point can be calculated using the following formula: North-facing wellhead coordinates:

[0074] Eastward wellhead coordinates:

[0075] Depth of the inclination point:

[0076]

[0077] The coordinates of the build-up point are determined as the wellhead coordinates. Based on the geometric principles of vertical drilling: in the vertical line segment from the ground to the KOP, the well inclination angle is designed to be 0°. According to the horizontal displacement calculation formula in drilling surveying, the horizontal displacement... and Proportional, because Equal to zero, which means that during vertical drilling, the wellbore is in a plane (eastward). and north The projection or displacement of N) is strictly zero, therefore the planar coordinates of the kick-in point (KOP) completely coincide with the initial wellhead coordinates and remain unchanged. Therefore, the coordinates of the kick-in point (KOP) of the well are... The initial wellhead coordinates .

[0078] Where, N kop and E kop , respectively, represent the north and east coordinates of the inclination point, Kop is the depth of the inclination point, and ab is the horizontal projection distance between the inclination end point C and the first target point.

[0079] like Figure 4 As shown, the wellhead coordinates and the depth of the build-up point can be calculated, as well inclination angle between target points (i.e., stable inclination angle between target points), azimuth angle between target points, and spatial straight-line distance (i.e., segment length between target points). Through the above calculations, the wellhead coordinates can be calculated from the target points in reverse, thereby determining the starting point for drilling and achieving precise drilling.

[0080] The parameters involved in this application are defined in Table 1 below: Table 1:

[0081] The wellhead coordinate calculation method in this application is based on three-dimensional spatial geometric projection and reverse stabilization section correction, which has the following advantages compared with traditional methods: Traditional methods often start calculations from the wellhead, making it difficult to accurately control the target point's location. This application, however, improves the accuracy of drilling trajectory design by calculating the wellhead coordinates backwards from a known target point.

[0082] Traditional methods, relying on a single parameter, cannot accurately reflect complex wellbore trajectories. This invention, by comprehensively considering both inclination and azimuth angles, improves the accuracy of wellhead coordinate calculations and better adapts to complex geological conditions.

[0083] Traditional straight-track designs are insufficient for drilling in complex formations. This application, however, achieves a more flexible track design by calculating the radius of curvature, thereby improving drilling feasibility and efficiency.

[0084] This application significantly shortens the design time for a single well through a rapid design function, which is expected to reduce design time by 30%, thereby greatly improving design efficiency. Given a stable inclination section length and dogleg degree, it achieves the shortest design well depth and provides an optimized wellbore trajectory design, reducing operating costs.

[0085] According to the wellhead coordinate calculation method provided in the embodiments of this application, by reverse calculation, an optimal wellhead coordinate can be uniquely determined directly based on the coordinates of the two target points, the length of the designed stabilization section, and other parameters. This allows the wellbore trajectory starting from this wellhead to naturally meet the orientation requirements of sequentially passing through the two targets and optimizes the trajectory shape. It is particularly suitable for the design of wellhead coordinate parameters for J-type wells and directional wells.

[0086] Figure 5 A structural block diagram of a wellhead coordinate calculation device according to an embodiment of this application is shown, as follows: Figure 5 As shown, the device includes: The acquisition module 501 is suitable for acquiring the first coordinates of the first target point, the second coordinates of the second target point, the preset stable section length, and the preset dogleg degree on the wellbore trajectory to be drilled. The first calculation module 502 is adapted to determine the end point of the inclination construction by retracing a preset stabilizing section length from the first target point along the opposite direction of the line connecting the first target point and the second target point, and to calculate the third coordinate corresponding to the end point of the inclination construction based on the first coordinate, the second coordinate and the preset stabilizing section length. The second calculation module 503 is suitable for inverting and calculating the wellhead coordinates and the depth of the build-up point based on the third coordinate, the preset dogleg degree, the first coordinate, and the second coordinate.

[0087] Optionally, the second calculation module is further adapted to: calculate the angle values ​​of the inclination angle and the azimuth angle of the wellbore trajectory to be drilled based on the first coordinate and the second coordinate; Calculate the radius of curvature of the wellbore trajectory based on the preset dogleg angle; Based on the angle value of the well inclination angle and the radius of curvature, the geometric offset from the virtual reference point to the well inclination angle is calculated by extending the circular arc track backward from the end point of the well inclination angle to the virtual reference point where the well inclination angle is zero. The circular arc track is determined based on the radius of curvature, the angle value of the well inclination angle, and the angle value of the azimuth angle. The wellhead coordinates and the depth of the build-up point are calculated based on the third coordinate and geometric offset.

[0088] Optionally, the first calculation module is further adapted to: calculate the spatial coordinate difference and spatial straight-line distance between the first target point and the second target point based on the first coordinate and the second coordinate; The endpoint of the inclined plane and its corresponding third coordinates are calculated based on the first coordinate, the spatial coordinate difference, the spatial straight-line distance, and the preset stable inclined section length.

[0089] Optionally, assume the first coordinate is (N1, E1, TVD1) and the second coordinate is (N2, E2, TVD2); The first calculation module is further adapted to: calculate the spatial coordinate difference between the first target point and the second target point using the following formula:

[0090]

[0091]

[0092] Wherein, ΔN is the distance difference between the first target point and the second target point in the north direction, ΔE is the distance difference between the first target point and the second target point in the east direction, and ΔTVD is the distance difference between the first target point and the second target point in the vertical depth direction. The spatial straight-line distance s between the first target point and the second target point is calculated using the following formula: .

[0093] Optionally, let the third coordinate corresponding to the end point of the inclined plane be (N) c E c TVD c ); The first calculation module is further adapted to calculate the third coordinate using the following formula:

[0094]

[0095]

[0096] Where l is the preset length of the stable inclined section.

[0097] Optionally, the geometric offset includes: bow height and vertical deviation; The second calculation module is further adapted to calculate the bow height and vertical deviation using the following formula:

[0098]

[0099]

[0100]

[0101]

[0102] Where sl is the bow height, vh is the vertical deflection, inc is the angle value of the well inclination angle, azi is the angle value of the azimuth angle, R is the radius of curvature, and dlg is the preset dogleg degree.

[0103] Optionally, the second calculation module is further adapted to calculate the coordinates and depth of the ramp point using the following formula:

[0104]

[0105]

[0106]

[0107] The coordinates of the build-up point are determined as the wellhead coordinates; Where, N kop and E kop , respectively, represent the north and east coordinates of the inclination point, Kop is the depth of the inclination point, and ab is the horizontal projection distance between the inclination end point C and the first target point.

[0108] The descriptions of the above modules refer to the corresponding descriptions in the method embodiments, and will not be repeated here.

[0109] According to the wellhead coordinate calculation device provided in the embodiments of this application, through reverse calculation, an optimal wellhead coordinate can be uniquely determined directly based on the coordinates of two target points, the length of the designed stabilization section, and other parameters. This allows the wellbore trajectory starting from this wellhead to naturally meet the requirement of sequentially passing through two targets, optimize the trajectory shape, improve the accuracy of wellhead coordinate calculation, better adapt to complex geological conditions, and improve the precision of drilling trajectory design. It is particularly suitable for the design of wellhead coordinate parameters for J-type wells and directional wells.

[0110] This application provides a non-volatile computer storage medium storing at least one executable instruction or computer program that enables a processor to perform the operation corresponding to the wellhead coordinate calculation method in any of the above method embodiments.

[0111] This application provides a computer program product, which includes at least one executable instruction or computer program that enables a processor to perform the operation corresponding to the wellhead coordinate calculation method in any of the above method embodiments.

[0112] Figure 6 The diagram shows a structural schematic of an embodiment of the computing device of this application. The specific embodiments of this application do not limit the specific implementation of the computing device.

[0113] like Figure 6 As shown, the computing device may include: a processor 602, a communications interface 604, a memory 606, and a communications bus 608.

[0114] The processor 602, communication interface 604, and memory 606 communicate with each other via communication bus 608. Communication interface 604 is used to communicate with other network elements such as clients or other servers. The processor 602 executes program 610, specifically performing the relevant steps in the above-described embodiment of the wellhead coordinate calculation method for computing devices.

[0115] Specifically, program 610 may include program code that includes computer operation instructions.

[0116] The processor 602 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application. The computing device includes one or more processors, which may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0117] Memory 606 is used to store program 610. Memory 606 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0118] Specifically, program 610 can be used to cause processor 602 to execute the wellhead coordinate calculation method in any of the above method embodiments. The specific implementation of each step in program 610 can be found in the corresponding descriptions in the corresponding steps and units of the above wellhead coordinate calculation embodiments, and will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the devices and modules described above can be referred to the corresponding process descriptions in the foregoing method embodiments, and will not be repeated here.

[0119] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The required structure for constructing such systems is apparent from the above description. Furthermore, the embodiments of this application are not directed to any particular programming language. It should be understood that the contents of the embodiments of this application described herein can be implemented using various programming languages, and the above description of specific languages ​​is for the purpose of disclosing the best implementation of the embodiments of this application.

[0120] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of this application may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0121] Similarly, it should be understood that, in order to simplify this disclosure and aid in understanding one or more of the various inventive aspects, in the foregoing description of exemplary embodiments of the present application, various features of the present application embodiments are sometimes grouped together into a single embodiment, figure, or description thereof. However, this approach to disclosure should not be construed as reflecting an intention that the claimed embodiments of the present application require more features than expressly recited in each claim. Rather, as reflected in the following claims, inventive aspects lie in fewer than all features of a single foregoing disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into that detailed description, wherein each claim itself is a separate embodiment of the present application.

[0122] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0123] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features but not others included in other embodiments, combinations of features from different embodiments are meant to be within the scope of the embodiments of this application and form different embodiments. For example, in the following claims, any one of the claimed embodiments can be used in any combination.

[0124] The various component embodiments of this application can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components according to the embodiments of this application. The embodiments of this application can also be implemented as device or apparatus programs (e.g., computer programs and computer program products) for performing part or all of the methods described herein. Such programs implementing the embodiments of this application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

[0125] It should be noted that the above embodiments are illustrative of the embodiments of this application and not limiting of the embodiments of this application, and those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. Embodiments of this application can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.

Claims

1. A method for calculating wellhead coordinates, comprising: Obtain the first coordinates of the first target point, the second coordinates of the second target point, the preset stable section length, and the preset dogleg degree on the wellbore trajectory to be drilled; The inclination start-up end point is determined by retracing a preset stabilizing section length from the first target point in the opposite direction of the line connecting the first target point and the second target point. The third coordinate corresponding to the inclination start-up end point is calculated based on the first coordinate, the second coordinate and the preset stabilizing section length. The wellhead coordinates and the depth of the build-up point are calculated by inversion based on the third coordinate, the preset dogleg degree, the first coordinate, and the second coordinate.

2. The method according to claim 1, wherein, The calculation of wellhead coordinates and start-up point depth based on the third coordinate, the preset dogleg degree, the first coordinate, and the second coordinate further includes: Calculate the inclination angle and azimuth angle of the wellbore trajectory to be drilled based on the first coordinate and the second coordinate; The radius of curvature of the wellbore trajectory is calculated based on the preset dogleg degree; Based on the angle value of the well inclination angle and the radius of curvature, starting from the end point of the well inclination, extend the circular arc track backward to a virtual reference point where the well inclination angle is zero, and calculate the geometric offset from the virtual reference point to the end point of the well inclination. The circular arc track is determined based on the radius of curvature, the angle value of the well inclination angle, and the angle value of the azimuth angle. The wellhead coordinates and the depth of the build-up point are calculated based on the third coordinate and the geometric offset.

3. The method according to claim 1 or 2, wherein, The step of calculating the third coordinate corresponding to the end point of the inclined section based on the first coordinate, the second coordinate, and the preset stable section length further includes: Calculate the spatial coordinate difference and spatial straight-line distance between the first target point and the second target point based on the first coordinate and the second coordinate; The endpoint of the inclined plane and its corresponding third coordinates are calculated based on the first coordinate, the spatial coordinate difference, the spatial straight-line distance, and the preset stable inclined section length.

4. The method according to claim 3, wherein, Assume the first coordinate is (N1, E1, TVD1) and the second coordinate is (N2, E2, TVD2); The step of calculating the spatial coordinate difference and spatial straight-line distance between the first target point and the second target point based on the first coordinate and the second coordinate further includes: The spatial coordinate difference between the first target point and the second target point is calculated using the following formula: Wherein, ΔN is the distance difference between the first target point and the second target point in the north direction, ΔE is the distance difference between the first target point and the second target point in the east direction, and ΔTVD is the distance difference between the first target point and the second target point in the vertical depth direction. The spatial straight-line distance s between the first target point and the second target point is calculated using the following formula: 。 5. The method according to claim 4, wherein, Let the third coordinate corresponding to the end point of the inclined plane be (N) c E c TVD c ); The calculation of the tilting end point and the corresponding third coordinate based on the first coordinate, the spatial coordinate difference, the spatial straight-line distance, and the preset stable slope length further includes: Calculate the third coordinate using the following formula: Where l is the preset length of the stable inclined section.

6. The method according to claim 5, wherein, The geometric offset includes: bow height and vertical deviation; The step of calculating the geometric offset from the virtual reference point to the wellbore inclination end point by extending backward along a circular arc from the wellbore inclination end point to a virtual reference point where the wellbore inclination angle is zero, based on the angle value and radius of curvature of the wellbore inclination angle, further includes: Calculate the bow height and vertical deviation using the following formula: Where sl is the bow height, vh is the vertical deflection, inc is the angle value of the well inclination angle, azi is the angle value of the azimuth angle, R is the radius of curvature, and dlg is the preset dogleg degree.

7. The method according to claim 6, wherein, The step of calculating the wellhead coordinates and the depth of the start-up point based on the third coordinate and geometric offset further includes: The coordinates and depth of the incline can be calculated using the following formula: The coordinates of the build-up point are determined as the wellhead coordinates; Where, N kop and E kop , respectively, represent the north and east coordinates of the inclination point, Kop is the depth of the inclination point, and ab is the horizontal projection distance between the inclination end point C and the first target point.

8. A wellhead coordinate calculation device, comprising: The acquisition module is suitable for acquiring the first coordinates of the first target point, the second coordinates of the second target point, the preset stable section length, and the preset dogleg degree on the wellbore trajectory to be drilled; The first calculation module is adapted to determine the end point of the inclination project by retracing a preset stabilizing section length from the first target point along the opposite direction of the line connecting the first target point and the second target point, and to calculate the third coordinate corresponding to the end point of the inclination project based on the first coordinate, the second coordinate and the preset stabilizing section length. The second calculation module is adapted to invert and calculate the wellhead coordinates and the depth of the build-up point based on the third coordinate, the preset dogleg degree, the first coordinate, and the second coordinate.

9. A computing device, comprising: The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is used to store at least one executable instruction, which causes the processor to perform the operation corresponding to the wellhead coordinate calculation method as described in any one of claims 1-7.

10. A computer storage medium storing at least one executable instruction that causes a processor to perform an operation corresponding to the wellhead coordinate calculation method as described in any one of claims 1-7.