Wellbore anti-collision barrier-avoiding trajectory design method, device, equipment, medium and product
By using fishing net modeling and computer-automated design, the problem of low efficiency in traditional wellbore anti-collision and obstacle avoidance track design has been solved, achieving efficient and safe wellbore track optimization and reducing the risk of wellbore collisions.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA PETROCHEMICAL CORP
- Filing Date
- 2024-11-28
- Publication Date
- 2026-06-05
AI Technical Summary
Traditional wellbore collision avoidance and obstacle avoidance track designs are inefficient and cannot meet the requirements of future downhole information closed-loop computing, especially in offshore cluster well platforms and large onshore cluster well groups where the risk of wellbore collision is high.
Based on the trajectory parameters of the reference well and the anti-collision well, the well section to be optimized is determined by fishing net modeling and the smoothest candidate trajectory is selected. Automated design is achieved by using computer equipment and programs.
It improves the efficiency of wellbore anti-collision and obstacle avoidance design, reduces the risk of wellbore collision, reduces the amount of manual adjustment work, and meets construction requirements.
Smart Images

Figure CN122154007A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of drilling technology, and in particular to a method, device, equipment, medium, and product for designing a wellbore anti-collision and obstacle avoidance track. Background Technology
[0002] Wellbore collision avoidance and obstacle bypass design refers to the need to redesign the wellbore to increase the spatial distance between the designed wellbore and adjacent wells when the minimum spatial distance is less than the safe distance. This reduces the risk of wellbore collisions during drilling and ensures smooth drilling operations. Traditional wellbore collision avoidance and obstacle bypass design involves a directional engineer designing the wellbore obstacle bypass track and calculating the collision avoidance distance between the track and adjacent wells. If the collision avoidance requirements are met, the designed track is executed; otherwise, the directional engineer needs to continuously adjust the original design track until the downhole collision avoidance requirements are met. With the continuous deepening of exploration and development in major oil and gas fields, new and old wellbores are densely intersecting, especially for offshore cluster well platforms and large onshore cluster well groups. The difficulty of collision avoidance and obstacle bypass design is increasing, and the risk of wellbore collisions is rising. Traditional obstacle bypass design methods are wasteful of manpower and inefficient, and cannot meet the requirements of future downhole information closed-loop calculations. This field suffers from the technical problem of low efficiency in wellbore collision avoidance and obstacle bypass design. Summary of the Invention
[0003] This invention provides a method, device, equipment, medium, and product for designing wellbore anti-collision and obstacle-avoidance tracks, solving the technical problem of low efficiency in wellbore anti-collision and obstacle-avoidance design.
[0004] In a first aspect, the present invention provides a wellbore anti-collision obstacle avoidance track design method, the method comprising: determining, based on the trajectory parameters of a reference well and an anti-collision well, whether there is an optimized well section in the trajectory of the reference well that is less than the anti-collision safety distance; performing a fishing net modeling on the optimized well section to obtain the candidate track corresponding to the optimized well section; when the number of candidate tracks is not unique, taking the smoothest candidate track as the final track.
[0005] In some embodiments, the step of determining whether there is an unoptimized well section in the trajectory of the reference well that is less than the safety distance for anti-collision based on the trajectory parameters of the reference well and the anti-collision well includes: calculating the trajectory of the reference well and the trajectory of the anti-collision well based on the trajectory parameters of the reference well and the anti-collision well; calculating the distance between the reference well and the anti-collision well at each measuring point depth based on the trajectory of the reference well and the trajectory of the anti-collision well; and determining that there is an unoptimized well section in the trajectory of the reference well that is less than the safety distance for anti-collision when the distance between the reference well and the anti-collision well at any measuring point depth is less than the safety distance for anti-collision.
[0006] In some embodiments, the step of performing a fishing net modeling on the well section to be optimized to obtain the candidate trajectory corresponding to the well section to be optimized includes: establishing a stage point at a preset distance in the well section to be optimized, and drawing a state circle corresponding to the stage point; selecting a preset number of points in the circumference of the state circle as state points; connecting each state point of the next state circle from the initial point of the well section to be optimized; and connecting each state point of each state circle to the two closest state points on the next state circle.
[0007] In some embodiments, the step of drawing the state circle corresponding to the stage point includes: drawing a circle as the state circle with the stage point as the center and the safety distance as the radius.
[0008] In some embodiments, the step of selecting a preset number of points in the circumference of the state circle as state points includes: gradually increasing the number of state points corresponding to the stage points in the first half of the well section to be optimized, and gradually decreasing the number of state points corresponding to the stage points in the second half of the well section to be optimized.
[0009] In some embodiments, after selecting a preset number of points on the circumference of the state circle as state points, the method further includes: calculating the distance from each state point to the adjacent well, and removing the state point when the distance from the state point to the adjacent well is less than the anti-collision safety distance.
[0010] Secondly, the present invention provides a wellbore anti-collision and obstacle avoidance track design device, the device comprising: a judgment module, used to determine whether there is a well section to be optimized in the trajectory of the reference well that is less than the anti-collision safety distance based on the trajectory parameters of the reference well and the anti-collision well; a modeling module, used to perform a fishing net modeling of the well section to be optimized to obtain the candidate track corresponding to the well section to be optimized; and a screening module, used to select the smoothest candidate track as the final track when the number of candidate tracks is not unique.
[0011] Thirdly, the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of any of the above-mentioned wellbore anti-collision and obstacle avoidance track design methods.
[0012] Fourthly, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-described wellbore anti-collision and obstacle avoidance track design methods.
[0013] Fifthly, the present invention provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the above-described wellbore anti-collision and obstacle avoidance track design methods.
[0014] This invention provides a wellbore anti-collision and obstacle avoidance track design method, device, equipment, medium, and product. The method includes: based on the trajectory parameters of a reference well and an anti-collision well, determining whether there is an unoptimized well section in the trajectory of the reference well that is less than the anti-collision safety distance; performing a fishing net model on the unoptimized well section to obtain the candidate track corresponding to the unoptimized well section; when the number of candidate tracks is not unique, taking the smoothest candidate track as the final track; which can improve the design efficiency of wellbore anti-collision and obstacle avoidance. Attached Figure Description
[0015] The invention will now be described in more detail with reference to embodiments and the accompanying drawings:
[0016] Figure 1 This is a flowchart illustrating a wellbore anti-collision and obstacle avoidance track design method provided in an embodiment of this application;
[0017] Figure 2 This is a schematic diagram of the structure of a wellbore anti-collision and obstacle-avoidance track design device provided in an embodiment of this application;
[0018] Figure 3 This is a flowchart illustrating a wellbore anti-collision and obstacle avoidance trajectory calculation method provided in an embodiment of this application;
[0019] Figure 4 This is a schematic diagram of a fishing net-like model provided in an embodiment of this application.
[0020] In the accompanying drawings, the same parts are referred to by the same reference numerals, and the drawings are not drawn to scale. Detailed Implementation
[0021] To enable those skilled in the art to better understand the present invention and to fully understand and implement the process of how the present invention uses technical means to solve technical problems and achieve corresponding technical effects, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. The embodiments of the present invention and the various features therein can be combined with each other without conflict, and the resulting technical solutions are all within the protection scope of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present invention.
[0022] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0023] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0024] Wellbore collision avoidance and obstacle bypass design refers to the need to redesign the wellbore to increase the spatial distance between the designed wellbore and adjacent wells when the minimum spatial distance is less than the safe distance. This reduces the risk of wellbore collisions during drilling and ensures smooth drilling operations. Traditional wellbore collision avoidance and obstacle bypass design involves a directional engineer designing the wellbore obstacle bypass track and calculating the collision avoidance distance between the track and adjacent wells. If the collision avoidance requirements are met, the designed track is executed; otherwise, the directional engineer needs to continuously adjust the original design track until the downhole collision avoidance requirements are met. With the continuous deepening of exploration and development in major oil and gas fields, new and old wellbores are densely intersecting, especially for offshore cluster well platforms and large onshore cluster well groups. The difficulty of collision avoidance and obstacle bypass design is increasing, and the risk of wellbore collisions is rising. Traditional obstacle bypass design methods are wasteful of manpower and inefficient, and cannot meet the requirements of future downhole information closed-loop calculations. This field suffers from the technical problem of low efficiency in wellbore collision avoidance and obstacle bypass design.
[0025] The technical solution of this application will be described below with reference to specific embodiments.
[0026] Example 1
[0027] Figure 1 This is a flowchart illustrating a wellbore anti-collision and obstacle avoidance track design method provided in an embodiment of this application, as shown below. Figure 1As shown in the technical solution of this embodiment, a wellbore anti-collision obstacle bypass track design method is provided. The method includes: based on the trajectory parameters of the reference well and the anti-collision well, determining whether there is a well section to be optimized in the trajectory of the reference well that is less than the anti-collision safety distance; performing a fishing net model on the well section to be optimized to obtain the candidate track corresponding to the well section to be optimized; when the number of candidate tracks is not unique, the smoothest candidate track is taken as the final track.
[0028] The technical problem to be solved in this embodiment is how to efficiently design wellbore anti-collision and obstacle avoidance systems.
[0029] In this embodiment, the technical solution first determines whether collision avoidance and obstacle bypass design is needed based on the trajectory parameters of the reference well and the anti-collision well. Trajectory parameters include wellhead coordinates, core height, and geomagnetic parameters. For example, in an application instance, well A is the well to be drilled, and well B is the anti-collision well. The trajectories of both are calculated using these parameters to see if there is an optimization section in the trajectory of the reference well (well A) that is smaller than the anti-collision safety distance. If such a section exists, optimization is required. Then, a fishing net model is created for the optimization section. During the modeling process, starting from the initial point, stage points are selected at certain intervals along the original trajectory. A state circle is drawn with the stage point as the center and the anti-collision safety distance as the radius. State points are selected on the circumference, and a model resembling a fishing net is formed through a series of connection rules to obtain the candidate trajectory. When the number of candidate trajectories is not unique, the smoothness of the trajectory is considered, and the smoothest candidate trajectory is taken as the final trajectory. For example, the smoothness of the trajectory is judged by the cumulative dogleg degree (total angle change rate).
[0030] The technical solution in this embodiment can accurately locate well sections with collision risks by first determining whether optimization is needed. The fishing net modeling method fully considers various possible obstacle avoidance tracks, avoiding the omission of better solutions. Using smoothness as the selection criterion for the final track makes the designed obstacle avoidance track easier to implement in actual construction. For example, in the application example, the obstacle avoidance track of Well A designed with this solution showed a significant improvement in the anti-collision distance after rescanning in the 1100-1200m well section compared to the original design, meeting the construction requirements. This demonstrates that the solution can efficiently design reasonable anti-collision obstacle avoidance tracks, reduce the workload of manual adjustments, improve design efficiency, and effectively reduce the risk of wellbore collisions, ensuring the safety of drilling operations.
[0031] Example 2
[0032] Based on the above embodiments, the step of determining whether there is an unoptimized well section in the trajectory of the reference well that is less than the safe distance for anti-collision based on the trajectory parameters of the reference well and the anti-collision well includes: calculating the trajectory of the reference well and the trajectory of the anti-collision well based on the trajectory parameters of the reference well and the anti-collision well; calculating the distance between the reference well and the anti-collision well at each measuring point depth based on the trajectory of the reference well and the trajectory of the anti-collision well; when there is a distance between the reference well and the anti-collision well at any measuring point depth that is less than the safe distance for anti-collision, it is determined that there is an unoptimized well section in the trajectory of the reference well that is less than the safe distance for anti-collision.
[0033] The technical problem addressed in this embodiment is how to determine whether there is a section of the reference well that is smaller than the collision avoidance safety distance in its trajectory, which needs to be optimized.
[0034] In this embodiment, the trajectory parameters of the reference well and the anti-collision well are first obtained, such as the wellhead coordinates of wells A and B in the application example, to calculate the trajectories of the reference well and the anti-collision well. For example, these parameters can be used to obtain data such as well inclination, azimuth, and vertical depth corresponding to different well depths. Next, based on the trajectories of the reference well and the anti-collision well, the distance between the reference well and the anti-collision well at each measuring point depth is calculated. In the application example, the distance between wells A and B is calculated at different well depths. When it is found that the distance between the reference well and the anti-collision well at any measuring point depth is less than the anti-collision safety distance, it is determined that there is a section of the reference well trajectory that is less than the anti-collision safety distance and needs to be optimized.
[0035] The technical solution in this embodiment, through trajectory calculation and distance comparison, can accurately identify well sections with potential risks. This method precisely pinpoints that well A does not meet collision prevention requirements in the 1100-1200m section, necessitating obstacle avoidance trajectory design. This accurate judgment provides a solid foundation for subsequent optimization design, avoiding blind obstacle avoidance design. Furthermore, compared to traditional manual judgment methods, it allows for a more systematic and comprehensive inspection of the wellbore trajectory, improving accuracy and efficiency, reducing the risk of wellbore collisions due to misjudgment, and ensuring efficient subsequent construction.
[0036] Example 3
[0037] Based on the above embodiments, the step of performing a fishing net modeling on the well section to be optimized to obtain the candidate trajectory corresponding to the well section to be optimized includes: establishing a stage point at a preset distance in the well section to be optimized, and drawing a state circle corresponding to the stage point; selecting a preset number of points in the circumference of the state circle as state points; connecting each state point of the next state circle from the initial point of the well section to be optimized; and connecting each state point of each state circle to the two closest state points on the next state circle.
[0038] The technical problem addressed in this embodiment is how to perform a fishing net modeling on the well section to be optimized.
[0039] In this embodiment, after determining the well section to be optimized, a net-like model is created. For example, in the application example, after determining the well section to be optimized for well A, a stage point is established at a preset distance (e.g., 10m) within this well section. Based on these stage points, a state circle corresponding to each stage point is drawn, with the stage point as the center and the safety distance as the radius. For example, for a certain stage point, a circle is drawn with a radius of 10m based on the anti-collision safety distance requirement. Then, a preset number of points are selected as state points within the circumference of the state circle. The number of state points corresponding to the stage points in the first half of the well section to be optimized gradually increases, while the number of state points corresponding to the stage points in the second half gradually decreases, facilitating subsequent connections to form a net-like structure. Each state point of the next state circle is connected from the initial point of the well section to be optimized, and each state point of each state circle is connected to the two closest state points on the next state circle. This constructs a net-like model, yielding the candidate trajectory.
[0040] The technical solution in this embodiment constructs a fishing net model by scientifically and rationally setting stage points, state circles, and state points. In application examples, this modeling method can fully consider all possible paths around the well section to be optimized, including all possible obstacle avoidance trajectories, thereby finding more candidate trajectories that meet the collision avoidance safety distance. Compared with traditional design methods, this modeling can explore the optimization space more comprehensively, avoiding the omission of potential better trajectories. Moreover, the obstacle avoidance trajectories designed in this way, after verification (such as the collision avoidance distance verification after rescanning well A in the application example), can meet the construction requirements, improving the quality and efficiency of obstacle avoidance trajectory design and reducing the risk of wellbore collisions.
[0041] Example 4
[0042] Based on the above embodiments, the step of drawing the state circle corresponding to the stage point includes: drawing a circle as the state circle with the stage point as the center and the safety distance as the radius.
[0043] The technical problem addressed in this embodiment is how to draw the state circle corresponding to the stage point.
[0044] In this embodiment, a state circle is drawn with the stage point determined in the well section to be optimized as the center and the safety distance as the radius. For example, in the application example, during the modeling of the well section to be optimized in well A, after determining the location of a stage point, a circle is drawn with the stage point as the center and 5m as the radius, based on a pre-set anti-collision safety distance, such as 5m. This circle is the state circle. The state circle drawn in this way can accurately define the possible location range that meets the anti-collision safety distance at the stage point, providing a basis for subsequent selection of state points.
[0045] The technical solution in this embodiment uses clearly defined centers and radii to draw state circles. These state circles play a crucial role in the entire fishing net modeling process. They help determine possible locations around each stage point that meet safe distance requirements. The existence of these state circles provides a more reliable basis for selecting subsequent state points, resulting in a more reasonable fishing net model. The obstacle avoidance trajectory model constructed in this way can more accurately consider the requirements of collision avoidance safety distances, thereby improving the safety of the designed trajectory in practical applications, reducing the risk of wellbore collisions, and ensuring the smooth progress of drilling operations.
[0046] Example 5
[0047] Based on the above embodiments, the step of selecting a preset number of points in the circumference of the state circle as state points includes: gradually increasing the number of state points corresponding to the stage points of the first half of the well section to be optimized, and gradually decreasing the number of state points corresponding to the stage points of the second half of the well section to be optimized.
[0048] The technical problem addressed in this embodiment is how to model fishing nets.
[0049] In this embodiment, when modeling the well section to be optimized using a net-like approach, after determining the state circle, a preset number of points are selected as state points within the circumference of the state circle. The number of state points corresponding to the stage points in the first half of the well section to be optimized gradually increases, while the number of state points corresponding to the stage points in the second half gradually decreases. For example, in the application example of modeling the well section to be optimized in well A, relatively few state points are selected for the earlier stage points. As the stage points progress, the number of state points increases, reaching its maximum at a certain intermediate stage point, and then the number of state points corresponding to the stage points in the second half gradually decreases again. These selection and quantity variation patterns of state points, combined with the state points connecting the initial point to the next state circle and the connection methods between state circles, constitute the complete net-like modeling process.
[0050] The technical solution in this embodiment uses a reasonable arrangement of the number of state points to model a fishing net. This approach makes the fishing net model more closely resemble actual obstacle avoidance requirements. In application examples, this method of selecting state points can better adapt to the characteristics of different locations in the well section to be optimized. The gradual increase in the number of state points in the first half allows for a more detailed exploration of possible obstacle avoidance paths in the early stages, while the reduction in the second half ensures coverage while avoiding excessive redundant path calculations. The fishing net model constructed in this way can more efficiently screen out candidate tracks that meet the collision avoidance safety distance, improving the efficiency and quality of obstacle avoidance track design, while reducing the risk of wellbore collisions, and providing a more scientific and reasonable obstacle avoidance track design for drilling operations.
[0051] Example 6
[0052] Based on the above embodiments, after the step of selecting a preset number of points in the circumference of the state circle as state points, the method further includes: calculating the distance from each state point to the adjacent well, and removing the state point when the distance from the state point to the adjacent well is less than the anti-collision safety distance.
[0053] The technical problem addressed in this embodiment is how to model fishing nets.
[0054] In this embodiment, after selecting a predetermined number of points on the circumference of the state circle as state points, the distance from each state point to the adjacent well is calculated. If the distance from a state point to the adjacent well is less than the collision safety distance, the state point is removed. For example, in the modeling process of wells A and B in the application example, the distance from each state point to well B is calculated, and state points whose distances are less than the preset collision safety distance (e.g., 5m) are removed. This step ensures that all retained state points meet the basic collision safety requirements during the fishing net modeling process, providing a reliable foundation for subsequently constructing a reasonable obstacle avoidance track.
[0055] The technical solution in this embodiment improves the fishing net model by filtering state points. This step plays a crucial role in filtering risk points throughout the modeling process. In application examples, this method eliminates unreasonable state points that could lead to wellbore collisions, making the final fishing net model safer and more reliable. The obstacle avoidance track designed in this way better meets collision prevention requirements. Re-scanning verification (e.g., comparing the collision prevention distance after re-scanning well A) shows that this method effectively improves the quality of the obstacle avoidance track, reduces the risk of wellbore collisions, and ensures the safety and efficiency of drilling operations.
[0056] Example 7
[0057] Figure 2This is a structural schematic diagram of a wellbore anti-collision and obstacle avoidance track design device provided in an embodiment of this application, as shown below. Figure 2 As shown in the technical solution of this embodiment, a wellbore anti-collision obstacle avoidance track design device is provided. The device includes: a judgment module, used to determine whether there is a well section to be optimized in the trajectory of the reference well that is less than the anti-collision safety distance based on the trajectory parameters of the reference well and the anti-collision well; a modeling module, used to perform fishing net modeling on the well section to be optimized to obtain the candidate track corresponding to the well section to be optimized; and a screening module, used to select the smoothest candidate track as the final track when the number of candidate tracks is not unique.
[0058] The technical problem to be solved in this embodiment is how to efficiently design wellbore anti-collision and obstacle avoidance systems.
[0059] In this embodiment, the technical solution first determines whether collision avoidance and obstacle bypass design is needed based on the trajectory parameters of the reference well and the anti-collision well. Trajectory parameters include wellhead coordinates, core height, and geomagnetic parameters. For example, in an application instance, well A is the well to be drilled, and well B is the anti-collision well. The trajectories of both are calculated using these parameters to see if there is an optimization section in the trajectory of the reference well (well A) that is smaller than the anti-collision safety distance. If such a section exists, optimization is required. Then, a fishing net model is created for the optimization section. During the modeling process, starting from the initial point, stage points are selected at certain intervals along the original trajectory. A state circle is drawn with the stage point as the center and the anti-collision safety distance as the radius. State points are selected on the circumference, and a model resembling a fishing net is formed through a series of connection rules to obtain the candidate trajectory. When the number of candidate trajectories is not unique, the smoothness of the trajectory is considered, and the smoothest candidate trajectory is taken as the final trajectory. For example, the smoothness of the trajectory is judged by the cumulative dogleg degree (total angle change rate).
[0060] The technical solution in this embodiment can accurately locate well sections with collision risks by first determining whether optimization is needed. The fishing net modeling method fully considers various possible obstacle avoidance tracks, avoiding the omission of better solutions. Using smoothness as the selection criterion for the final track makes the designed obstacle avoidance track easier to implement in actual construction. For example, in the application example, the obstacle avoidance track of Well A designed with this solution showed a significant improvement in the anti-collision distance after rescanning in the 1100-1200m well section compared to the original design, meeting the construction requirements. This demonstrates that the solution can efficiently design reasonable anti-collision obstacle avoidance tracks, reduce the workload of manual adjustments, improve design efficiency, and effectively reduce the risk of wellbore collisions, ensuring the safety of drilling operations.
[0061] Example 8
[0062] In the technical solution of this embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory. The processor executes the computer program to implement the steps of any of the wellbore anti-collision and obstacle avoidance track design methods in the above embodiments.
[0063] In the technical solution of this embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps of any of the above embodiments of the wellbore anti-collision and obstacle avoidance track design method.
[0064] In the technical solution of this embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of any of the above embodiments of the wellbore anti-collision and obstacle avoidance track design method.
[0065] The processor may include, but is not limited to, one or more processors or microprocessors. Each processor may be implemented as an Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), controller, microcontroller, microprocessor, or other electronic component, for performing the methods in the above embodiments. The computer-readable storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, and may include, but is not limited to, random access memory (RAM), read-only memory (ROM), flash memory, EPROM memory, EEPROM memory, registers, computer storage media (e.g., hard disk, floppy disk, solid-state drive, removable disk, CD-ROM, DVD-ROM, Blu-ray disc, etc.).
[0066] Computer-readable storage media may also store at least one computer-executable program / instruction, such as computer-readable instructions. Computer-readable storage media include, but are not limited to, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Computer-readable storage media may include, for example, read-only memory (ROM), hard disk, flash memory, etc. For example, a non-transitory computer-readable storage medium may be connected to a computing device such as a computer, and then, when the computing device executes the computer-readable instructions stored on the computer-readable storage medium, the various methods described above can be performed.
[0067] In addition, the computer device may also include (but is not limited to) a data bus, an input / output (I / O) bus, a display, and input / output devices (e.g., a keyboard, mouse, speakers, etc.). The processor can communicate with external devices via the I / O bus through a wired or wireless network. In one embodiment, the at least one computer-executable instruction may also be compiled into or comprise a software product / computer program product, wherein one or more computer-executable instructions, when executed by the processor, perform the steps of the various functions and / or methods in the embodiments described herein.
[0068] Example 9
[0069] Based on the above embodiments, this embodiment provides an application example.
[0070] This application example provides a method for automatically optimizing wellbore anti-collision and obstacle avoidance trajectory design. This invention relates to the field of drilling construction technology, specifically to a method for automatically optimizing wellbore anti-collision and obstacle avoidance trajectory design.
[0071] Wellbore collision avoidance and obstacle bypass design refers to the need to redesign the wellbore to increase the spatial distance between the designed wellbore and adjacent wells when the minimum spatial distance is less than the safe distance. This reduces the risk of wellbore collisions during drilling and ensures smooth drilling operations. Traditional wellbore collision avoidance and obstacle bypass design involves a directional engineer designing the wellbore obstacle bypass track and calculating the collision avoidance distance between the track and adjacent wells. If the collision avoidance requirements are met, the designed track is executed; otherwise, the directional engineer needs to continuously adjust the original design track until the downhole collision avoidance requirements are met. With the continuous deepening of exploration and development in major oil and gas fields, new and old wellbores are densely intersecting, especially for offshore cluster well platforms and large onshore cluster well groups. The difficulty of collision avoidance and obstacle bypass design is increasing, and the risk of wellbore collisions is rising. Traditional obstacle bypass design methods are wasteful of manpower and inefficient, and cannot meet the requirements of future downhole information closed-loop calculations. This field suffers from the technical problem of low efficiency in wellbore collision avoidance and obstacle bypass design.
[0072] Therefore, an automatic optimization method for wellbore trajectory anti-collision and obstacle avoidance design is needed to improve drilling efficiency and safety.
[0073] Against this backdrop, an automatic optimization method for wellbore collision avoidance trajectory design is proposed. This method involves scanning the designed trajectory of the well to be drilled (reference well) and the trajectories of adjacent wells (collision-avoidance wells) to determine if they meet preset safety distance requirements. If they do, construction can proceed; otherwise, the trajectory is redesigned. When recalculation is required, well sections that do not meet safety distance requirements (sections to be optimized) are first identified. Then, multiple new design trajectories in a net-like pattern are derived from these sections. A dynamic programming method is used to select several candidate trajectories that meet the collision avoidance safety distance. In cases with multiple collision-avoidance wells, collision avoidance scanning is performed using the designs of other adjacent wells to select a design trajectory that simultaneously meets the collision avoidance safety distances for all wells. If multiple trajectories are obtained, they are sorted by cumulative dogleg degree, and the smoothest obstacle avoidance design is selected as the final result.
[0074] An automatic optimization method for wellbore collision avoidance and obstacle bypass track design aims to solve the technical problems of traditional obstacle bypass methods that require manual adjustment and are inefficient. This method provides a more convenient, faster, and scientifically sound wellbore collision avoidance and obstacle bypass track design scheme for drilling operations, as detailed below:
[0075] (1) Improve track design efficiency: Automatic optimization of wellbore anti-collision and obstacle avoidance track design can effectively reduce the manpower and time costs of orientation engineers in the design process and improve track design efficiency.
[0076] (2) Improve operational safety: Automatically design the optimal obstacle avoidance track during drilling operations, realize dynamic adjustment of the wellbore forward direction, reduce the risk of wellbore collision accidents, and ensure the safety of construction personnel and drilling equipment.
[0077] (3) Improve calculation accuracy: This wellbore anti-collision and obstacle avoidance track design method takes into account more track possibilities, avoids ignoring the best design scheme when manually adjusting the design track, and improves the accuracy of track design calculation.
[0078] (4) Promote technological innovation: This wellbore anti-collision and obstacle avoidance track design method can promote the innovative development of drilling technology, improve the technical level of the directional service industry, and provide technical support for future automated drilling construction.
[0079] To address the problems existing in the prior art, this invention, based on algorithms such as anti-collision scanning and dynamic programming, combined with multiple screening of adjacent wells, ultimately yields the optimal design trajectory for wellbore anti-collision and obstacle avoidance. The method flowchart is attached. Figure 3The method was validated through computer programming and practical engineering cases. The results show that the method established in this invention can quickly generate a design track that meets the requirements of collision avoidance safety distance, with high accuracy and meeting the requirements of on-site construction.
[0080] The method provided by this invention includes the following steps:
[0081] Step 1: Perform anti-collision scanning based on the trajectory parameters (wellhead coordinates, core height, geomagnetic parameters, etc.) of the reference well and the anti-collision well. If the minimum spatial safety distance meets the anti-collision requirements, construction can proceed; otherwise, the anti-collision obstacle bypass track design will be redone.
[0082] Step 2: Identify well sections in the reference well's designed trajectory that do not meet the anti-collision safety distance. This method recommends performing anti-collision scanning on the original reference well's designed trajectory at 10m intervals. The depth of the first measuring point in the non-compliant well section is called the first point, and the last point is called the last point. If only one measuring point's depth does not meet the requirement, the anti-collision well section degenerates into an anti-collision point.
[0083] Step 3: Based on the requirements of the collision avoidance safety distance and the performance of downhole tools, select a point before the first point of the original design trajectory of the reference well as the initial point of the collision avoidance and obstacle bypass design, and select a point after the last point as the endpoint of the collision avoidance and obstacle bypass design.
[0084] Step 4: Starting from the initial point, select a stage point every 10m along the original track.
[0085] Step 5: Using each stage point as the center and the collision avoidance safety distance as the radius, draw several circles along the normal direction of the original track. These circles are called state circles.
[0086] Step Six: Select a certain number of points on each circle as state points. Using the middle stage point as a dividing line, the number of state points gradually increases in the first half of the process and gradually decreases in the second half.
[0087] Step 7: Calculate the distance from each state point to the adjacent well, delete state points that are less than the safe distance, and keep only state points that are greater than or equal to the safe distance.
[0088] Step 8: Connect each state point on the next state circle from the initial point using a single circular arc.
[0089] Step Nine: Afterwards, each state point is connected to the two nearest state points on the next state circle, continuing until the end point is reached, completing the net-like modeling of the obstacle-avoidance design track. (See appendix) Figure 4 .
[0090] Step 10: A series of candidate tracks are obtained from the initial point A0 to the end point An.
[0091] Step 11: If multiple anti-collision wells exist, use the other anti-collision well trajectories to filter the candidate track. Proceed to the next step if the selected track passes the screening; otherwise, proceed directly to the next step.
[0092] Step 12: Using track smoothness (the rate of change of the full angle does not exceed the original design) as an indicator, determine the optimal design track and output the results.
[0093] This application example has achieved the following beneficial effects: (1) Fast calculation speed: Due to the adoption of dynamic programming and computer solution methods, the calculation speed can be significantly improved, saving a lot of time compared with the traditional manual trial and error method, especially for dense cluster well groups with many anti-collision wells. (2) High calculation accuracy: The traditional manual trial and error method often ignores the optimal design due to the excessive step size. This invention can increase the density of the net-like model by increasing the number of state points and reducing the interval (step size) of stage points, thereby obtaining a more scientific obstacle avoidance trajectory design. (3) Dynamic adjustment function: Through the technology of modeling once and reusing multiple times, not only are the steps of repeated modeling reduced, but the calculation speed is further accelerated. Even if the actual drilling trajectory fails to execute the obstacle avoidance trajectory design efficiently and causes deviation, the program can use the deviation point as a new initial point to search for a new path. (4) Provide support for future automatic drilling: In future drilling operations, the inclination data, including static and dynamic values, will be automatically connected to the computer, and the anti-collision obstacle avoidance trajectory design will be adjusted in a timely manner according to the latest inclination data. Only by realizing automatic anti-collision obstacle avoidance design can the downhole tools be controlled in a timely manner to correct deviations, thereby realizing closed-loop calculation of downhole data. (5) It avoids the determination of complex analytical equations and the solution of nonlinear equations, and lowers the mathematical threshold for writing software to calculate drilling anti-collision distance. It can be implemented using currently common computer languages.
[0094] The well to be drilled (reference well) is designated A. A collision avoidance scan is performed between the track of A and the adjacent well (anti-collision well) B. If the collision avoidance requirements are met, drilling continues; otherwise, the collision avoidance obstacle avoidance track is adjusted.
[0095] For a section of well A that does not meet the anti-collision requirements, the depth of the first measuring point is set as A1, and the depth of the last measuring point is set as A. m .
[0096] Assuming the required collision avoidance distance at point A1 is D, and the actual scanning distance is d, for a specific drill string assembly and wellbore size, and assuming the maximum build-up capability of the downhole tools is κ, then the obstacle avoidance lead time is...
[0097] Initial point A0 = A1 - ΔL1, endpoint A n =A m +ΔL1. (For A0, A nCases where the trajectory deviates from the original path, requiring modification of the target point or wellhead coordinates, are outside the scope of this invention.
[0098] Starting from the initial point A0, select m stage points A′1, A′2, ..., A′ on the original trajectory at intervals i (default 10 meters). m If m is odd, then the midpoint... If m is even, then the midpoint
[0099] For each stage point, draw a circle with radius R on the normal plane of its wellbore advance direction. m =D m -d m .
[0100] At each stage point, l*(2m+1) points are selected as state points, where l is an adjustable coefficient, defaulting to 1. For example, at the first stage point A′1, 3 points are selected as state points with polar coordinates X1(R1, 0), X2(R1, 120), and X3(R1, 240). At the second stage point A′2, for example, 5 points are selected as state points with polar coordinates X1(R2, 0), X2(R2, 72), X3(R2, 144), X4(R2, 216), and X5(R2, 288), and so on. The number of state points in A... mid It reaches its maximum value, then gradually decreases, converging to 1 at the endpoint.
[0101] Convert the state points from local polar coordinates to wellbore plane rectangular coordinates. Calculate the distance from all state points at each stage point to the adjacent well (anti-collision well) B. Eliminate state points that do not meet the anti-collision safety distance. The qualified state points for that stage point are X′1, X′2, ..., X′ n .
[0102] Connect all state points between the initial point A0 and the stage point A1 using a single circular arc.
[0103] Connect state point X′1 at stage point A1 with the two state points at stage point A2 that are closest to X′1 using a single circular arc.
[0104] Iterate through X′1, A′2, ..., A′ n Complete the connection from stage point X1 to stage point A2, and so on until the endpoint A is reached. n .
[0105] Once the state point of each stage is determined, the means to choose the next state point becomes the decision. (Use u) k (x k ) indicates that stage k is at x k Decisions made at that time.
[0106] The sequence of decisions is called a policy. The policy for the entire process starting from the initial point x1 is: p 1n (x1)={u1(x1), u2(x2),……u n (x n )}, k = 1, 2, ..., n-1. Similarly, the sub-process strategy from order X to order X is denoted as p. kj (x k )={u k (x k ), ..., u j (x j Therefore, even if the actual drilling trajectory fails to efficiently execute the obstacle avoidance path design and produces a certain deviation, the program can use the deviation point as a new starting point to search for a new path.
[0107] Assuming other neighboring wells exist, the candidate trajectory (strategy) is scanned using these neighboring wells to eliminate strategies that do not meet the collision avoidance distance requirements. The remaining set of strategies is denoted as P′. 1n (x1).
[0108] If the set is empty, the fishing net model is made denser by decreasing the interval i and increasing the coefficient l, and then the solution is performed again.
[0109] If the set is not empty, for known stage and state measurement points, the data for the next measurement point is determined, i.e., x. k+1 =u k (x k Therefore, its rate of change of the full angle v j It is also certain. Since the interval i is fixed, the smoothness of the trajectory can be represented by the cumulative rate of change of the total angle:
[0110]
[0111] Take its minimum value as the optimal solution f k (x k ),Right now
[0112]
[0113] Solving recursive equations using the reverse solution method
[0114]
[0115] Obtain the optimal trajectory As an automatically designed anti-collision and obstacle avoidance track, it replaces A0 to A1 in the original track. n The well section.
[0116] Case Study: Well A is a directional well to be drilled, with wellhead coordinates (0, 0). Well B is a collision-avoidance well, with wellhead coordinates (100, 100). The well trajectory calculation table is shown in Table 1 below. Following the method of this invention, computer programming was performed, setting the scanning interval to 10m and the collision-avoidance safety distance to 5m. It can be seen that the scanning distance in the 1100-1200m well section is less than the safety distance. The obstacle avoidance trajectory designed according to this invention is shown in Table 2. Collision-avoidance scanning was performed again based on the new designed trajectory, and the results are shown in Table 3 below. Extracting the data from the 1100-1200m well section in the calculation results, it can be found that the collision-avoidance requirements are met in the same well section, as shown in Table 4 below.
[0117] Table 1B Wellbore Trajectory Calculation Table
[0118]
[0119]
[0120] Table 2. Track parameters for the anti-collision and obstacle avoidance design of this invention.
[0121]
[0122] Table 3 Comparison of Anti-collision Scan Results
[0123]
[0124]
[0125] Table 4 Calculation Results
[0126] Well body Anti-collision distance of the present invention Original design anti-collision distance 1100 6.80 5.01 1110 6.58 4.58 1120 6.43 4.21 1130 6.35 3.93 1140 6.35 3.79 1145 6.38 3.78 1150 6.48 3.79 1160 6.62 3.91 1170 6.80 4.10 1180 7.01 4.36 1190 7.26 4.67 1200 7.54 5.02
[0127] Analysis of Case 1 shows that the anti-collision obstacle bypass track designed in this invention can meet the construction requirements.
[0128] In the embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0129] It should be noted that, in this invention, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element limited by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0130] While the embodiments disclosed in this invention are as described above, the above content is merely for the purpose of facilitating understanding of this invention and is not intended to limit the invention. Any person skilled in the art to which this invention pertains may make any modifications and changes in form and detail of the implementation without departing from the spirit and scope disclosed in this invention; however, the scope of patent protection of this invention shall still be determined by the scope defined in the appended claims.
Claims
1. A method for designing a wellbore anti-collision obstacle avoidance track, characterized in that, The method includes: Based on the trajectory parameters of the reference well and the anti-collision well, determine whether there is an unoptimized well section in the trajectory of the reference well that is less than the anti-collision safety distance; A fishing net model is performed on the well section to be optimized to obtain the candidate trajectory corresponding to the well section to be optimized. When the number of candidate tracks is not unique, the smoothest candidate track will be selected as the final track.
2. The wellbore anti-collision and obstacle avoidance track design method according to claim 1, characterized in that, The step of determining whether there is an unoptimized well section in the trajectory of the reference well that is less than the collision safety distance, based on the trajectory parameters of the reference well and the anti-collision well, includes: Based on the trajectory parameters of the reference well and the anti-collision well, calculate the trajectory of the reference well and the trajectory of the anti-collision well; Based on the trajectory of the reference well and the trajectory of the anti-collision well, calculate the distance between the reference well and the anti-collision well at each measuring point depth; When the distance between the reference well and the anti-collision well at any measuring point depth is less than the anti-collision safety distance, it is determined that there is an unoptimized well section in the trajectory of the reference well that is less than the anti-collision safety distance.
3. The wellbore anti-collision and obstacle avoidance track design method according to claim 1, characterized in that, The step of performing a fishing net model on the well section to be optimized to obtain the candidate trajectory corresponding to the well section to be optimized includes: In the well section to be optimized, a stage point is established at a preset distance, and the state circle corresponding to the stage point is drawn; A predetermined number of points within the circumference of the state circle are selected as state points. Connect each state point of the next state circle from the initial point of the well section to be optimized; Each state point on each state circle is connected to the two closest state points on the next state circle.
4. The wellbore anti-collision and obstacle avoidance track design method according to claim 3, characterized in that, The step of drawing the state circle corresponding to the stage point includes: A circle is drawn with the aforementioned stage point as the center and the safety distance as the radius, serving as the state circle.
5. The wellbore anti-collision and obstacle avoidance track design method according to claim 3, characterized in that, The step of selecting a predetermined number of points on the circumference of the state circle as state points includes: The number of state points corresponding to the stage points in the first half of the well section to be optimized gradually increases, while the number of state points corresponding to the stage points in the second half of the well section to be optimized gradually decreases.
6. The wellbore anti-collision and obstacle avoidance track design method according to claim 3, characterized in that, After the step of selecting a predetermined number of points within the circumference of the state circle as state points, the method further includes: Calculate the distance from each state point to the adjacent well. If the distance from the state point to the adjacent well is less than the anti-collision safety distance, remove the state point.
7. A wellbore anti-collision obstacle avoidance track design device, characterized in that, The device includes: The judgment module is used to determine, based on the trajectory parameters of the reference well and the anti-collision well, whether there is an unoptimized well section in the trajectory of the reference well that is less than the anti-collision safety distance; The modeling module is used to perform a fishing net modeling on the well section to be optimized, and to obtain the candidate trajectory corresponding to the well section to be optimized. The filtering module is used to select the smoothest candidate track as the final track when the number of candidate tracks is not unique.
8. A computer device, comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the steps of the wellbore anti-collision and obstacle avoidance track design method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the wellbore anti-collision and obstacle avoidance track design method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the steps of the wellbore anti-collision and obstacle avoidance track design method according to any one of claims 1 to 6.