A method, system, device and medium for planning wellbore trajectory of rotary steerable drilling
By obtaining the initial wellbore trajectory in the rotary steerable drilling system and matching it with the geological layer model, the trajectory is judged and optimized to avoid high-hardness rock formations, which solves the problem of poor planning rationality in the existing technology and achieves more economical and efficient drilling. process.
Patent Information
- Application Number
- CN202410509745.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-04-26
AI Technical Summary
The existing rotary steerable drilling wellbore trajectory planning method has poor planning rationality, resulting in high drill bit cost, low service life, low efficiency, and difficulty in effectively avoiding high-hardness rock layers.
By obtaining the initial wellbore trajectory and inputting the geological layer model, it is determined whether it passes through the target hardness rock layer. If it passes, the optimized trajectory is obtained according to the trajectory constraint conditions. The path length of the optimized trajectory is compared with the constrained length. If it is less than the constrained length, the optimized trajectory is output. Otherwise, the optimized trajectory is output. Output the initial trajectory, balancing avoidance of hard rock formations and route economy.
It improves the rationality of well trajectory planning, reduces the cost of drilling through high-hardness rock formations, extends the service life of drilling tools, and improves drilling efficiency.
Smart Images

Figure CN118241983B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of rotary steerable drilling systems, and in particular to a rotary steerable drilling wellbore trajectory planning method, system, equipment and medium. Background Art
[0002] The rotary steerable system (RSS) is a steerable drilling system that performs the steering function in real time while the drill string is rotating during drilling. The rotary geological steerable drilling system is the most cutting-edge and high-end technical equipment in the field of petroleum engineering. It is a key tool for achieving geological goals, improving oil and gas drilling rates, and reducing costs and increasing efficiency. It can enable the drill bit to complete the direction control function in real time while the drill string is rotating during drilling. Simply put, it is to equip the drill bit with "eyes" underground, so that it can turn freely like a "snake", and can also automatically find targets and hit multiple targets like a cruise missile.
[0003] At present, the drilling tool moves forward according to the designed wellbore trajectory route, and the existing wellbore trajectory route is basically planned according to the principle of shortest trajectory distance. When encountering a rock layer with higher hardness, it also directly drills through the rock layer. Therefore, the drill bit has higher requirements and the required drill bit cost is also higher, the economy is poor, and the feed speed is limited when drilling through the rock layer, and the drilling efficiency is also relatively low. Therefore, the existing wellbore trajectory planning method is difficult to plan and has poor rationality, resulting in a short service life of the drilling tool and low work efficiency. Summary of the invention
[0004] The main purpose of the present application is to provide a method, system, equipment and medium for planning the wellbore trajectory of rotary steerable drilling, aiming to solve the technical problem of poor planning rationality of the existing wellbore trajectory planning methods.
[0005] To achieve the above objectives, the present application provides a method for planning a wellbore trajectory for rotary steerable drilling, comprising the following steps:
[0006] Obtaining initial wellbore trajectory;
[0007] Inputting the initial wellbore trajectory into a preset geological layer model; wherein the geological layer model is a simulation model constructed according to rock and soil layers of different hardness;
[0008] Determine whether the initial wellbore trajectory passes through the target hardness rock layer in the geological layer model. If not, output the initial wellbore trajectory as the final planned wellbore trajectory. If yes, obtain a new optimized wellbore trajectory according to the trajectory constraint conditions.
[0009] Obtaining the path length of the optimized wellbore trajectory, and comparing the path length with a preset constraint length; wherein the constraint length is the maximum path length of the constraint;
[0010] If the path length is less than the constraint length, the optimized wellbore trajectory is output as the final planned wellbore trajectory; if the path length is greater than or equal to the constraint length, the initial wellbore trajectory is output as the final planned wellbore trajectory.
[0011] Optionally, trajectory constraints include:
[0012] The wellbore trajectory does not exceed the boundary of a preset constraint space; wherein the constraint space is a three-dimensional space constructed based on the line connecting the starting point and the end point of the initial wellbore trajectory as a diagonal line;
[0013] The number of deflection sections in the wellbore trajectory does not exceed a preset number;
[0014] The radius of the deflection section in the wellbore trajectory does not exceed the preset radius.
[0015] Optionally, obtaining a new optimized wellbore trajectory according to the trajectory constraint conditions includes:
[0016] Obtaining the wellbore starting point and wellbore end point;
[0017] Constructing a first straight well section based on the starting point of the wellbore; wherein the end point of the first straight well section has a preset distance from the target hardness rock formation;
[0018] Connecting the wellbore start point and the wellbore end point to obtain a first connecting line segment;
[0019] Obtaining a projection line segment of the first connecting line segment on the target hardness rock layer;
[0020] Obtaining a second line segment to obtain a preferred area surrounded by the projection line segment, the second line segment and the edge contour of the target hardness rock formation; wherein the second line segment is the line segment closest to the projection point of the wellbore starting point on the target hardness rock formation and the edge of the target hardness rock formation;
[0021] Constructing multiple tortuous path sections, wherein the projections of the multiple tortuous path sections on the target hardness rock formation all pass through the preferred area, and the starting point of the tortuous path section is connected to the end point of the first straight well section;
[0022] Constructing a plurality of second straight well sections connected to the corresponding curved sections to obtain a plurality of simulated wellbore trajectories; wherein the end point of the second straight well section is the wellbore end point position;
[0023] Screening multiple simulated wellbore trajectories to eliminate simulated wellbore trajectories that do not meet trajectory constraint conditions;
[0024] Obtaining the trajectory length of each simulated wellbore trajectory after screening;
[0025] The simulated wellbore trajectory with the smallest trajectory length is output as the optimized wellbore trajectory.
[0026] Optionally, the tortuous section includes a deflection section or a combination of a deflection section and a straight well section.
[0027] Optionally, the first vertical well section is a vertical well, and the second vertical well section is a vertical well or a horizontal well.
[0028] Optionally, obtaining an initial wellbore trajectory includes:
[0029] Construct a reference coordinate system;
[0030] Based on the reference coordinate system, the coordinates of the wellbore start point and the wellbore end point are obtained;
[0031] The coordinates of the wellbore start point and the wellbore end point are input into a preset wellbore trajectory database to generate an initial wellbore trajectory.
[0032] Optionally, determining whether the initial wellbore trajectory passes through a target hardness rock layer in the geological layer model includes:
[0033] Obtain a three-dimensional point cloud of the target hardness rock layer;
[0034] Select multiple target points on the initial wellbore trajectory;
[0035] It is determined whether there is a target point overlapping with the three-dimensional point cloud. If so, the initial wellbore trajectory passes through the target hardness rock layer in the geological layer model.
[0036] To achieve the above objectives, the present application also provides a rotary steerable drilling wellbore trajectory planning system, comprising:
[0037] A trajectory acquisition module, used to acquire an initial wellbore trajectory;
[0038] An input module is used to input the initial wellbore trajectory into a preset geological layer model; wherein the geological layer model is a simulation model constructed according to rock and soil layers of different hardness;
[0039] A judgment module is used to judge whether the initial wellbore trajectory passes through the target hardness rock layer in the geological layer model. If not, the initial wellbore trajectory is output as the final planned wellbore trajectory. If yes, a new optimized wellbore trajectory is obtained according to the trajectory constraint conditions;
[0040] A comparison module is used to obtain the path length of the optimized wellbore trajectory and compare the path length with a preset constraint length; wherein the constraint length is the maximum path length of the constraint;
[0041] The output module is used to output the optimized wellbore trajectory as the final planned wellbore trajectory if the path length is less than the constraint length, and to output the initial wellbore trajectory as the final planned wellbore trajectory if the path length is greater than or equal to the constraint length.
[0042] To achieve the above objectives, the present application also provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above method.
[0043] To achieve the above objectives, the present application also provides a computer-readable storage medium, on which a computer program is stored, and a processor executes the computer program to implement the above method.
[0044] The beneficial effects that this application can achieve are as follows:
[0045] The present application first obtains the initial wellbore trajectory according to the conventional planning method, inputs the initial wellbore trajectory into the preset geological layer model, and then determines whether the initial wellbore trajectory passes through the target hardness rock layer in the geological layer model. If not, it means that the feasibility requirements are met, and the initial wellbore trajectory can be directly output as the final planned wellbore trajectory. If so, in order to reduce the cost of drilling through the target hardness rock layer and improve economy, it is necessary to plan and find out whether there is a wellbore trajectory that can avoid the target hardness rock layer. At this time, a new optimized wellbore trajectory can be obtained according to the trajectory constraint conditions. Considering that the optimized wellbore trajectory may have a problem that the path length is too long, resulting in worse drilling economy, the path length of the optimized wellbore trajectory is compared with the preset constraint length. When the path length is less than the constraint length, the economic requirements are met, and the optimized wellbore trajectory is output as the final planned wellbore trajectory. If the path length is greater than or equal to the constraint length, it means that the economic requirements are not met, and the initial wellbore trajectory is output as the final planned wellbore trajectory. In summary, the present application takes into account the economics of avoiding the target hardness rock formation and the avoidance route, and can balance the two to obtain a more economical wellbore trajectory, thereby improving the rationality of planning. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the prior art description. In all drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.
[0047] Figure 1 A flow chart of a method for planning a wellbore trajectory of a rotary steerable drilling in an embodiment of the present application;
[0048] Figure 2 It is a schematic diagram of an initial wellbore trajectory passing through a target hardness rock layer in a geological layer model in an embodiment of the present application;
[0049] Figure 3 is a schematic diagram of a constrained space in an embodiment of the present application;
[0050] Figure 4 It is a schematic diagram of the principle of forming a preferred area in an embodiment of the present application (top view);
[0051] Figure 5 A schematic diagram (top view) of planning multiple simulated wellbore trajectories based on the preferred area in an embodiment of the present application;
[0052] Figure 6 It is a schematic diagram (front view) of planning a simulated wellbore trajectory in an embodiment of the present application.
[0053] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0055] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components in a certain specific posture. If the specific posture changes, the directional indication will also change accordingly.
[0056] In this application, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0057] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the meaning of "and / or" appearing in the full text includes three parallel schemes. Taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0058] Example
[0059] Reference Figure 1-Figure 6 This embodiment provides a method for planning a wellbore trajectory of a rotary steerable drilling, comprising the following steps:
[0060] Obtaining initial wellbore trajectory;
[0061] Inputting the initial wellbore trajectory into a preset geological layer model; wherein the geological layer model is a simulation model constructed according to rock and soil layers of different hardness;
[0062] Determine whether the initial wellbore trajectory passes through the target hardness rock layer in the geological layer model. If not, output the initial wellbore trajectory as the final planned wellbore trajectory. If yes, obtain a new optimized wellbore trajectory according to the trajectory constraint conditions.
[0063] Obtaining the path length of the optimized wellbore trajectory, and comparing the path length with a preset constraint length; wherein the constraint length is the maximum path length of the constraint;
[0064] If the path length is less than the constraint length, the optimized wellbore trajectory is output as the final planned wellbore trajectory; if the path length is greater than or equal to the constraint length, the initial wellbore trajectory is output as the final planned wellbore trajectory.
[0065] In this embodiment, an initial wellbore trajectory is first obtained according to a conventional planning method, and the initial wellbore trajectory is input into a preset geological layer model. Then, it is determined whether the initial wellbore trajectory passes through the target hardness rock layer in the geological layer model. If not, it means that the feasibility requirements are met, and the initial wellbore trajectory can be directly output as the final planned wellbore trajectory. If so, in order to reduce the cost of drilling through the target hardness rock layer and improve economy, it is necessary to plan and find out whether there is a wellbore trajectory that can avoid the target hardness rock layer. At this time, a new optimized wellbore trajectory can be obtained according to the trajectory constraint conditions. Considering that the optimized wellbore trajectory may have a problem that the path length is too long, resulting in worse drilling economy, the path length of the optimized wellbore trajectory is compared with the preset constraint length. When the path length is less than the constraint length, the economic requirements are met, and the optimized wellbore trajectory is output as the final planned wellbore trajectory. If the path length is greater than or equal to the constraint length, it means that the economic requirements are not met, and the initial wellbore trajectory is output as the final planned wellbore trajectory. In summary, this embodiment takes into account the economy of avoiding the target hardness rock formation and avoiding the route, and can balance the two to obtain a more economical wellbore trajectory, thereby improving the rationality of planning.
[0066] It should be noted that when constructing a geological layer model, different hardness ranges can be set according to the stratum properties to divide the geological layers, so as to display the depth and range of strata in different hardness ranges, among which rock layers exceeding a certain hardness can be uniformly marked as target hardness rock layers.
[0067] As an optional implementation, the trajectory constraint conditions include:
[0068] The wellbore trajectory does not exceed the boundary of a preset constraint space; wherein the constraint space is a three-dimensional space constructed based on the line connecting the starting point and the end point of the initial wellbore trajectory as a diagonal line;
[0069] The number of deflection sections in the wellbore trajectory does not exceed a preset number;
[0070] The radius of the deflection section in the wellbore trajectory does not exceed the preset radius.
[0071] In this embodiment, a three-dimensional space constructed by connecting the starting point and the end point of the initial wellbore trajectory as a diagonal line is used as a constraint space, which can constrain the wellbore trajectory not to exceed the boundary of the constraint space. If it exceeds the boundary, the wellbore trajectory will form a circuitous section, which will increase the difficulty and cost of drilling technology. Therefore, based on the constraint space, the planned wellbore trajectory can be avoided from forming a circuitous section; the wellbore trajectory generally includes a straight well section and an inclined section. According to the complexity of the formation properties, the inclined section may have multiple sections. Since the inclined section is more technically difficult than the diameter section, the accuracy requirement of the rotary steering system is also higher. Therefore, here, the number and radius of the inclined sections are constrained, that is, the number and radius of the inclined sections should not be too large, otherwise it will be counterproductive and cause worse economy; based on the above three constraints, the rationality of the wellbore trajectory planning can be effectively improved.
[0072] As an optional implementation, obtaining a new optimized wellbore trajectory according to the trajectory constraint condition includes:
[0073] Obtaining the wellbore starting point and wellbore end point;
[0074] Constructing a first straight well section based on the starting point of the wellbore; wherein the end point of the first straight well section has a preset distance from the target hardness rock formation;
[0075] Connecting the wellbore start point and the wellbore end point to obtain a first connecting line segment;
[0076] Obtaining a projection line segment of the first connecting line segment on the target hardness rock layer;
[0077] Obtaining a second line segment to obtain a preferred area surrounded by the projection line segment, the second line segment and the edge contour of the target hardness rock formation; wherein the second line segment is the line segment closest to the projection point of the wellbore starting point on the target hardness rock formation and the edge of the target hardness rock formation;
[0078] Constructing multiple tortuous path sections, wherein the projections of the multiple tortuous path sections on the target hardness rock formation all pass through the preferred area, and the starting point of the tortuous path section is connected to the end point of the first straight well section;
[0079] Constructing a plurality of second straight well sections connected to the corresponding curved sections to obtain a plurality of simulated wellbore trajectories; wherein the end point of the second straight well section is the wellbore end point position;
[0080] Screening multiple simulated wellbore trajectories to eliminate simulated wellbore trajectories that do not meet trajectory constraint conditions;
[0081] Obtaining the trajectory length of each simulated wellbore trajectory after screening;
[0082] The simulated wellbore trajectory with the smallest trajectory length is output as the optimized wellbore trajectory.
[0083] In this embodiment, when planning the wellbore trajectory, the first straight well section is constructed first. The first straight well section is a vertical section formed by drilling into a certain depth of the formation. The first straight well section and the target hardness rock layer should have a preset spacing to leave space for the subsequent construction of a tortuous section. Here, the tortuous section may only include a deflection section or a combination of a deflection section and a straight well section, and there may be multiple path combinations for planning the tortuous section; the first planning method is to consider the path planning along the direction of the line connecting the wellbore starting position and the wellbore end position, but there may be a situation where the projection of the planned path on the target hardness rock layer is relatively long. In order to drill out the target hardness rock layer area, a deflection section with a larger radius is required, resulting in a longer actual planned path length; the second planning method is to select the direction closest to the edge of the target hardness rock layer to construct the deflection section, first drill out the target hardness rock layer area, at this time the radius of the deflection section is smaller, and then Then plan the path to the end position of the wellbore; therefore, this embodiment is based on comprehensive consideration of the above two planning methods, and takes the area surrounded by the positive projection of the paths planned by the above two planning methods in the target hardness rock layer area and the edge of the target hardness rock layer as the preferred area, so that the path projections of the curved section are all on the preferred area, so that multiple paths located between the planned paths obtained by the above two planning methods can be planned, and finally a second straight well section is constructed, where the second straight well section is a vertical well or a horizontal well, and finally a plurality of simulated wellbore trajectories (including the planned paths obtained by the above two planning methods) can be obtained, and then the plurality of simulated wellbore trajectories are screened based on the trajectory constraints, and then the trajectory length of each simulated wellbore trajectory after the screening is calculated, and the simulated wellbore trajectory with the smallest trajectory length is output as the optimized wellbore trajectory, and the optimized wellbore trajectory is the trajectory closest to the economic requirements.
[0084] As an optional implementation, obtaining an initial wellbore trajectory includes:
[0085] Construct a reference coordinate system;
[0086] Based on the reference coordinate system, the coordinates of the wellbore start point and the wellbore end point are obtained;
[0087] The coordinates of the wellbore start point and the wellbore end point are input into a preset wellbore trajectory database to generate an initial wellbore trajectory.
[0088] In this embodiment, based on the coordinates of the wellbore start point and the wellbore end point, they are input into the wellbore trajectory database to automatically generate a better initial wellbore trajectory. Here, the wellbore trajectory database only considers the relative position relationship between the wellbore start point and the wellbore end point, and is a training database obtained based on the shortest trajectory path principle.
[0089] As an optional implementation, determining whether the initial wellbore trajectory passes through a target hardness rock layer in a geological layer model includes:
[0090] Obtain a three-dimensional point cloud of the target hardness rock layer;
[0091] Select multiple target points on the initial wellbore trajectory;
[0092] It is determined whether there is a target point overlapping with the three-dimensional point cloud. If so, the initial wellbore trajectory passes through the target hardness rock layer in the geological layer model.
[0093] In this embodiment, a three-dimensional point cloud of the target hardness rock layer can be extracted based on the geological layer model, and then multiple target points are selected on the initial wellbore trajectory. The target points should be selected in the middle and lower sections of the initial wellbore trajectory, and the number of selected points is proportional to the length of the initial wellbore trajectory. If there are target points overlapping with the three-dimensional point cloud, it means that the initial wellbore trajectory passes through the target hardness rock layer.
[0094] Example 2
[0095] Based on the same inventive concept as the above-mentioned embodiment, this embodiment further provides a rotary steerable drilling wellbore trajectory planning system, comprising:
[0096] A trajectory acquisition module, used to acquire an initial wellbore trajectory;
[0097] An input module is used to input the initial wellbore trajectory into a preset geological layer model; wherein the geological layer model is a simulation model constructed according to rock and soil layers of different hardness;
[0098] A judgment module is used to judge whether the initial wellbore trajectory passes through the target hardness rock layer in the geological layer model. If not, the initial wellbore trajectory is output as the final planned wellbore trajectory. If yes, a new optimized wellbore trajectory is obtained according to the trajectory constraint conditions;
[0099] A comparison module is used to obtain the path length of the optimized wellbore trajectory and compare the path length with a preset constraint length; wherein the constraint length is the maximum path length of the constraint;
[0100] The output module is used to output the optimized wellbore trajectory as the final planned wellbore trajectory if the path length is less than the constraint length, and to output the initial wellbore trajectory as the final planned wellbore trajectory if the path length is greater than or equal to the constraint length.
[0101] The relevant explanations and examples of each module in the device of this embodiment can refer to the method of the aforementioned embodiment, and will not be repeated here.
[0102] Example 3
[0103] Based on the same inventive concept as the above-mentioned embodiment, this embodiment provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-mentioned method.
[0104] Example 4
[0105] Based on the same inventive concept as the aforementioned embodiment, this embodiment provides a computer-readable storage medium, on which a computer program is stored, and a processor executes the computer program to implement the aforementioned method.
[0106] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for planning a wellbore trajectory for rotary steerable drilling, characterized in that: The following steps are involved: Obtaining initial wellbore trajectory; Inputting the initial wellbore trajectory into a preset geological layer model; wherein the geological layer model is a simulation model constructed according to rock and soil layers of different hardness; Determine whether the initial wellbore trajectory passes through the target hardness rock layer in the geological layer model. If not, output the initial wellbore trajectory as the final planned wellbore trajectory. If yes, obtain a new optimized wellbore trajectory according to the trajectory constraint conditions; the trajectory constraint conditions include: the wellbore trajectory does not exceed the boundary of a preset constraint space; wherein the constraint space is a three-dimensional space constructed with the line connecting the starting point and the end point of the initial wellbore trajectory as a diagonal line; the number of deflection sections in the wellbore trajectory does not exceed the preset number; the radius of the deflection section in the wellbore trajectory does not exceed the preset radius; Obtaining the path length of the optimized wellbore trajectory, and comparing the path length with a preset constraint length; wherein the constraint length is a maximum path length of the constraint; If the path length is less than the constraint length, the optimized wellbore trajectory is output as the final planned wellbore trajectory; if the path length is greater than or equal to the constraint length, the initial wellbore trajectory is output as the final planned wellbore trajectory.
2. A method for planning a wellbore trajectory for rotary steerable drilling according to claim 1, characterized in that: The step of obtaining a new optimized wellbore trajectory according to the trajectory constraint conditions includes: Obtaining the wellbore starting point and wellbore end point; Constructing a first straight well section based on the starting position of the wellbore; wherein the end point of the first straight well section has a preset distance from the target hardness rock formation; Connecting the wellbore starting point and the wellbore end point to obtain a first connecting line segment; Acquire a projection line segment of the first connecting line segment on the target hardness rock layer; Acquire a second line segment to obtain a preferred area enclosed by the projection line segment, the second line segment and the edge contour of the target hardness rock formation; wherein the second line segment is a line segment where the projection point of the wellbore starting point on the target hardness rock formation is closest to the edge of the target hardness rock formation; Constructing a plurality of tortuous path segments; wherein the projections of the plurality of tortuous path segments on the target hardness rock formation all pass through the preferred area, and the starting point of the tortuous path segment is connected to the end point of the first straight well section; Constructing a plurality of second straight well sections connected to the corresponding curved path sections to obtain a plurality of simulated wellbore trajectories; wherein the end point of the second straight well section is the wellbore end point position; Screening the plurality of simulated wellbore trajectories to eliminate simulated wellbore trajectories that do not satisfy the trajectory constraint condition; Obtaining the trajectory length of each of the simulated wellbore trajectories after screening; The simulated wellbore trajectory with the smallest trajectory length is output as the optimized wellbore trajectory.
3. A method for planning a wellbore trajectory for rotary steerable drilling according to claim 2, characterized in that: The tortuous section includes a deflection section or a combination of a deflection section and a straight well section.
4. A method for planning a wellbore trajectory for rotary steerable drilling according to claim 2, characterized in that: The first vertical well section is a vertical well, and the second vertical well section is a vertical well or a horizontal well.
5. A method for planning a wellbore trajectory for rotary steerable drilling according to claim 1, characterized in that: The obtaining of the initial wellbore trajectory comprises: Construct a reference coordinate system; Based on the reference coordinate system, obtaining the coordinates of the wellbore start point and the wellbore end point; The wellbore starting point coordinates and the wellbore end point coordinates are input into a preset wellbore trajectory database to generate an initial wellbore trajectory.
6. A method for planning a wellbore trajectory for rotary steerable drilling according to claim 5, characterized in that: The determining whether the initial wellbore trajectory passes through the target hardness rock layer in the geological layer model includes: Obtain a three-dimensional point cloud of the target hardness rock layer; Selecting a plurality of target points on the initial wellbore trajectory; It is determined whether there is a target point overlapping with the three-dimensional point cloud. If so, the initial wellbore trajectory passes through the target hardness rock layer in the geological layer model.
7. A rotary steerable drilling wellbore trajectory planning system, characterized in that: include: A trajectory acquisition module, used to acquire an initial wellbore trajectory; An input module, used to input the initial wellbore trajectory into a preset geological layer model; wherein the geological layer model is a simulation model constructed according to rock and soil layers of different hardness; A judgment module is used to judge whether the initial wellbore trajectory passes through the target hardness rock layer in the geological layer model. If not, the initial wellbore trajectory is output as the final planned wellbore trajectory. If so, a new optimized wellbore trajectory is obtained according to the trajectory constraint conditions; the trajectory constraint conditions include: the wellbore trajectory does not exceed the boundary of a preset constraint space; wherein the constraint space is a three-dimensional space constructed based on the connection line between the starting point and the end point of the initial wellbore trajectory as a diagonal line; the number of deflection sections in the wellbore trajectory does not exceed the preset number; the radius of the deflection section in the wellbore trajectory does not exceed the preset radius; A comparison module, used for obtaining the path length of the optimized wellbore trajectory and comparing the path length with a preset constraint length; wherein the constraint length is a maximum path length of the constraint; The output module is used to output the optimized wellbore trajectory as the final planned wellbore trajectory if the path length is less than the constraint length, and to output the initial wellbore trajectory as the final planned wellbore trajectory if the path length is greater than or equal to the constraint length.
8. A computer device, characterized in that: The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the processor executes the computer program to implement the method according to any one of claims 1 to 6.
