Rescue well underground magnetic distance measurement method based on multiple magnetic sensors and related device
By deploying multiple magnetic sensors along the circumference and axis inside the rescue well, and calculating the difference in magnetic field strength and the three-axis vector, the problem of low ranging accuracy of a single magnetic sensor is solved, achieving high-precision downhole magnetic ranging and supporting rescue work for underground resource exploration and mining.
Patent Information
- Application Number
- CN202410984243.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2026-01-23
AI Technical Summary
In existing technologies, magnetic ranging methods based on a single magnetic sensor have low accuracy in ranging results in complex and non-uniform geological environments, and the magnetic field strength measurement error is large, making it difficult to meet the ranging requirements in the process of underground resource exploration and mining.
Multiple magnetic sensors are deployed circumferentially and axially inside the rescue well. By acquiring the magnetic field strength and triaxial vector of each magnetic sensor, the difference in magnetic field strength is calculated. The two magnetic sensors with the largest differences are selected, and the distance between the rescue well and the target well is calculated by combining the triaxial vector and magnetic field strength.
It improves ranging accuracy, reduces the impact of magnetic field strength measurement errors, and achieves high-precision ranging in complex geological environments, supporting rescue work during underground resource exploration and mining.
Smart Images

Figure CN121382162A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of underground resource drilling and extraction engineering technology, and more specifically, to a downhole magnetic ranging method and related device for rescue wells based on multiple magnetic sensors. Background Technology
[0002] In the exploration and exploitation of underground resources, the effective application of logging methods and tools is crucial for ensuring operational safety and improving extraction efficiency. Especially in the face of emergencies such as well blowouts, detecting, locating, and intercepting runaway wells through rescue wells is a vital means of controlling the accident. In recent years, among rescue methods, the injection current method based on active magnetic ranging has been widely used due to its high reliability and accuracy. This method applies active excitation to the formation, deploys magnetic sensors within the rescue well to detect the secondary magnetic field generated by the metal casing of the accident well, and then combines this with other information to predict the relative distance and orientation between the rescue well and the target well.
[0003] Currently, commonly used magnetic sensor deployment methods and ranging techniques mainly involve placing a single magnetic sensor inside the rescue well. This single sensor detects the magnetic field strength of the secondary magnetic field generated by the target well casing, and the distance between wells is calculated by combining this with the current intensity collected on the target well casing. However, implementing this ranging method requires accurate simulation and calculation of the current intensity collected on the target well casing and its magnetic field response. Since the actual logging formation environment is a complex and non-uniform medium, and the formation medium parameters along the propagation path are unknown, the collected current and spatial magnetic field distribution calculated using simplified physical models cannot accurately reflect the actual response in a complex logging environment. This leads to low ranging accuracy, making it difficult to meet the ranging requirements in practical engineering. Furthermore, because magnetic field strength measurement is easily influenced by environmental and instrument noise, introducing measurement errors, this ranging method will inevitably be affected by these magnetic field strength measurement errors, resulting in inaccurate ranging results. Summary of the Invention
[0004] To address the problems existing in the prior art, this invention provides a downhole magnetic ranging method and related device for rescue wells based on multiple magnetic sensors. Its purpose is to solve the problem of poor accuracy in ranging results caused by inaccurate acquisition of current and formation medium parameters, and to minimize the impact of magnetic field strength measurement errors.
[0005] To solve the above-mentioned technical problems, the present invention is achieved through the following technical solution:
[0006] According to a first aspect of the present invention, a downhole magnetic ranging method for rescue wells based on multiple magnetic sensors is provided. In the rescue well using this magnetic ranging method, a plurality of magnetic sensors are arranged along its circumference and axial direction to collect the magnetic field strength corresponding to the secondary magnetic field generated by the target well casing.
[0007] The magnetic ranging method includes:
[0008] Obtain the magnetic field strength and three-axis vector acquired by each of the magnetic sensors;
[0009] By subtracting the magnetic field strengths of any two magnetic sensors, several magnetic field strength difference values are obtained.
[0010] Iterate through all magnetic field strength differences, select the two magnetic sensors with the largest absolute value of magnetic field strength difference, and denot them as the first target magnetic sensor and the second target magnetic sensor, and the magnetic field strength corresponding to the first target magnetic sensor is less than the magnetic field strength corresponding to the second target magnetic sensor.
[0011] Based on the triaxial vectors corresponding to the first and second target magnetic sensors, calculate the difference in the vertical distance between the first and second target magnetic sensors and the target well.
[0012] The distance between the rescue well and the target well is calculated based on the magnetic field strength corresponding to the first target magnetic sensor and the second target magnetic sensor, and the difference in the vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well.
[0013] In one possible implementation of the first aspect, calculating the difference in vertical distances between the first and second target magnetic sensors and the target well based on the triaxial vectors corresponding to the first and second target magnetic sensors specifically includes:
[0014] Based on the triaxial vectors corresponding to the first target magnetic sensor and the second target magnetic sensor, the magnetic field strength deflection angle between the first target magnetic sensor and the second target magnetic sensor is obtained;
[0015] Based on the magnetic field strength deflection angle and the straight-line distance between the first target magnetic sensor and the second target magnetic sensor, the difference in the vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well is calculated.
[0016] In one possible implementation of the first aspect, the distance between the rescue well and the target well is calculated based on the magnetic field strengths corresponding to the first target magnetic sensor and the second target magnetic sensor, and the difference in the vertical distances between the first target magnetic sensor and the second target magnetic sensor and the target well. The specific calculation formula is as follows:
[0017]
[0018] In the formula: L is the distance between the rescue well and the target well; ΔL is the difference in vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well; B1 is the magnetic field strength corresponding to the first target magnetic sensor; B2 is the magnetic field strength corresponding to the second target magnetic sensor.
[0019] In one possible implementation of the first aspect, a plurality of the magnetic sensors are arranged in a spiral along the circumference and axial direction of the rescue well.
[0020] According to a second aspect of the present invention, a downhole magnetic ranging device for rescue wells based on multiple magnetic sensors is provided. The rescue well using the magnetic ranging device has a plurality of magnetic sensors arranged along its circumference and axial direction to collect the magnetic field strength corresponding to the secondary magnetic field generated by the target well casing.
[0021] The magnetic ranging device includes:
[0022] The acquisition module is used to acquire the magnetic field strength and three-axis vector collected by each of the magnetic sensors;
[0023] The difference module is used to subtract the magnetic field strengths of any two magnetic sensors to obtain several magnetic field strength difference values.
[0024] The selection module is used to traverse all magnetic field strength differences and select the two magnetic sensors with the largest absolute value of the magnetic field strength difference, denoted as the first target magnetic sensor and the second target magnetic sensor, and the magnetic field strength corresponding to the first target magnetic sensor is less than the magnetic field strength corresponding to the second target magnetic sensor.
[0025] The first calculation module is used to calculate the difference in the vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well based on the triaxial vectors corresponding to the first target magnetic sensor and the second target magnetic sensor.
[0026] The second calculation module is used to calculate the distance between the rescue well and the target well based on the magnetic field strength corresponding to the first target magnetic sensor and the second target magnetic sensor, and the difference in the vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well.
[0027] In one possible implementation of the second aspect, the second computing module is specifically used for:
[0028] Based on the triaxial vectors corresponding to the first target magnetic sensor and the second target magnetic sensor, the magnetic field strength deflection angle between the first target magnetic sensor and the second target magnetic sensor is obtained;
[0029] Based on the magnetic field strength deflection angle and the straight-line distance between the first target magnetic sensor and the second target magnetic sensor, the difference in the vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well is calculated.
[0030] In one possible implementation of the second aspect, several of the magnetic sensors are arranged in a spiral pattern along the circumference and axial direction of the rescue well.
[0031] In one possible implementation of the second aspect, the distance between the rescue well and the target well is calculated based on the magnetic field strengths corresponding to the first target magnetic sensor and the second target magnetic sensor, and the difference in the vertical distances between the first target magnetic sensor and the second target magnetic sensor and the target well. The specific calculation formula is as follows:
[0032]
[0033] In the formula: L is the distance between the rescue well and the target well; ΔL is the difference in vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well; B1 is the magnetic field strength corresponding to the first target magnetic sensor; B2 is the magnetic field strength corresponding to the second target magnetic sensor.
[0034] According to a third aspect of the present invention, an apparatus is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of the described method for downhole magnetic ranging of a rescue well based on multiple magnetic sensors.
[0035] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the described method for downhole magnetic ranging in a rescue well based on multiple magnetic sensors.
[0036] Compared with the prior art, the present invention has at least the following beneficial effects:
[0037] This invention provides a downhole magnetic ranging method for rescue wells based on multiple magnetic sensors. It eliminates the need to know the current intensity collected on the target well casing; it only requires combining the magnetic field intensity collected by the magnetic sensors with the difference between the selected magnetic sensor and the vertical distance to the target well. By detecting the relative change in magnetic field intensity, the distance to the target well is determined. This eliminates the need to calculate the current collected on the target well casing, avoiding the problem of inaccurate modeling and calculation in real, complex, and non-uniform geological environments. It effectively improves ranging accuracy and solves the problem of poor accuracy caused by inaccurate acquisition of current and formation medium parameters. Furthermore, it minimizes the impact of magnetic field intensity measurement errors, providing strong technical support for rescue operations during underground resource exploration and mining.
[0038] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0039] To more clearly illustrate the technical solutions in the specific embodiments of the present invention, the drawings used in the description of the specific embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0040] Figure 1 A flowchart of a downhole magnetic ranging method for rescue wells based on multiple magnetic sensors according to an embodiment of the present invention is shown;
[0041] Figure 2 A schematic diagram of an implementation scheme for simultaneously arranging multiple magnetic sensors in the circumferential and axial directions during rescue is shown;
[0042] Figure 3 A schematic diagram of an implementation scheme for the spiral arrangement of multiple magnetic sensors in the circumferential and axial directions of the rescue well is shown.
[0043] Figure 4 The curves showing the variation of the secondary magnetic field generated inside the target well with the vertical distance of the magnetic sensor are presented.
[0044] In the diagram: 1-Rescue well; 2-Magnetic sensor. Detailed Implementation
[0045] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0046] like Figure 1 As shown in the illustration, this application provides a downhole magnetic ranging method for rescue wells based on multiple magnetic sensors. In the rescue well 1 using this method, several magnetic sensors 2 are arranged circumferentially and axially to collect the magnetic field strength corresponding to the secondary magnetic field generated by the target well casing. These magnetic sensors 2 can accurately measure the magnetic field strength of the secondary magnetic field generated by the target well casing and can simultaneously acquire the three-axis vector information of the magnetic field (i.e., the components of the magnetic field on the three coordinate axes). It should be understood that the number and location of the magnetic sensors 2 should be reasonably configured according to the actual well conditions and measurement requirements to ensure the accuracy and reliability of the data.
[0047] In other words, by using several magnetic sensors 2 arranged along the circumference and axis of the rescue well 1, the magnetic field strength and three-axis vector information of the secondary magnetic field generated by the casing of the target well are collected, and based on this information, the distance between the rescue well 1 and the target well can be accurately calculated.
[0048] The magnetic distance measurement method includes the following steps:
[0049] S1. Obtain the magnetic field strength and triaxial vector collected by each of the magnetic sensors 2.
[0050] Activate all magnetic sensors 2 within rescue well 1, ensuring each sensor 2 is functioning properly. Begin collecting the magnetic field strength and three-axis vector information of the secondary magnetic field generated by the target well casing, and transmit the collected data in real time. For example, transmit the collected data to the data processing center.
[0051] S2. Subtract the magnetic field strengths of any two magnetic sensors 2 to obtain several magnetic field strength difference values.
[0052] To illustrate with an example of any two magnetic sensors 2: Assuming there are a total of 10 magnetic sensors 2, the magnetic field strength corresponding to the first magnetic sensor 2 is subtracted from the magnetic field strengths corresponding to the remaining 9 magnetic sensors 2; the magnetic field strength corresponding to the second magnetic sensor 2 is subtracted from the magnetic field strengths corresponding to the remaining 8 magnetic sensors 2 (excluding the first magnetic sensor 2); the magnetic field strength corresponding to the third magnetic sensor 2 is subtracted from the magnetic field strengths corresponding to the remaining 7 magnetic sensors 2 (excluding the first and second magnetic sensors 2); and so on. This allows us to obtain several magnetic field strength difference values by subtracting the magnetic field strengths corresponding to any two magnetic sensors 2.
[0053] S3. Traverse all magnetic field strength differences, select the two magnetic sensors 2 with the largest absolute value of the magnetic field strength difference, and denot them as the first target magnetic sensor and the second target magnetic sensor, and the magnetic field strength corresponding to the first target magnetic sensor is less than the magnetic field strength corresponding to the second target magnetic sensor.
[0054] S4. Calculate the difference in vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well based on the three-axis vectors corresponding to the first target magnetic sensor and the second target magnetic sensor.
[0055] The difference between the vertical distances of the first target magnetic sensor and the second target magnetic sensor from the target well is: the vertical distance of the first target magnetic sensor from the target well minus the vertical distance of the second target magnetic sensor from the target well.
[0056] It should be understood that, since the magnetic field strength corresponding to the first target magnetic sensor is less than that corresponding to the second target magnetic sensor, there must be a situation where the vertical distance between the first target magnetic sensor and the target well is greater than that between the second target magnetic sensor and the target well (because the farther the distance, the weaker the detected magnetic field strength).
[0057] Additionally, it should be noted that when calculating the difference between the vertical distances of the first target magnetic sensor and the second target magnetic sensor from the target well, this application does not need to know the vertical distances of the first target magnetic sensor from the target well and the vertical distances of the second target magnetic sensor from the target well.
[0058] S5. Calculate the distance between the rescue well 1 and the target well based on the magnetic field strength corresponding to the first target magnetic sensor and the second target magnetic sensor, and the difference in the vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well.
[0059] This application presents a downhole magnetic ranging method for rescue wells based on multiple magnetic sensors. In the result calculation, it is not necessary to know the current intensity collected on the target well casing. It only needs to combine the magnetic field intensity collected by magnetic sensor 2 and the difference between the selected magnetic sensor 2 and the vertical distance from the target well. The distance to the target well is determined by detecting the relative change information of the magnetic field intensity. This eliminates the need to calculate the current collected on the target well casing, avoids the problem of difficulty in accurately modeling and calculating in real complex and non-uniform geological environments, effectively improves the ranging accuracy, and provides strong technical support for rescue work in the process of underground resource exploration and mining.
[0060] like Figure 2 As shown, several magnetic sensors 2 are evenly arranged circumferentially and axially within the rescue well 1; that is, multiple magnetic sensors 2 are respectively arranged at different positions in the radial and axial directions of the rescue well 1. Combined with... Figure 4As shown, on the one hand, multiple magnetic sensors 2 can increase the amount of measurement information of magnetic field response; on the other hand, the magnetic sensors 2 at different positions in the radial and axial directions of the rescue well 1 can ensure that the multiple magnetic sensors 2 have an effective distribution spacing along the direction perpendicular to the target well at any tilt angle between the rescue well 1 and the target well, thus ensuring the effective measurement of the relative change information of the magnetic field.
[0061] In an optional implementation, the distance between the rescue well 1 and the target well is calculated based on the magnetic field strengths corresponding to the first target magnetic sensor and the second target magnetic sensor, and the difference in the vertical distances of the first target magnetic sensor and the second target magnetic sensor from the target well. The specific calculation formula is as follows:
[0062]
[0063] In the formula: L is the distance between the rescue well and the target well; ΔL is the difference in vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well; B1 is the magnetic field strength corresponding to the first target magnetic sensor; B2 is the magnetic field strength corresponding to the second target magnetic sensor.
[0064] The partial derivation of this calculation formula is as follows:
[0065] Since the active ranging method uses a large-amplitude, low-frequency excitation current, it can be treated as a quasi-static field model during electromagnetic modeling. Therefore, assuming the current collected on the target well casing is I and the permeability of the geological environment is μ, the magnetic induction intensities of the secondary magnetic field generated by the current collected on the target well at the two magnetic sensors 2 are as follows:
[0066] and
[0067] Where L1 and L2 represent the vertical distances between the two magnetic sensors and the target well, respectively, and considering the relative changes in the two response information, the following relationship exists:
[0068]
[0069] Therefore, we can obtain:
[0070]
[0071] Reconsider:
[0072] L = L1 - (L1 - L2) / 2
[0073] The final evolution resulted in:
[0074]
[0075] Compared to the traditional calculation formula used when utilizing a single magnetic sensor In this embodiment, it is evident that when calculating the distance between the rescue well 1 and the target well, the current intensity collected on the casing of the target well does not need to be involved, nor does the magnetic permeability of the geological environment need to be considered. The measurement scheme adopted in this application determines the relative distance to the target well by detecting the relative change information of the magnetic field. Two separately placed magnetic sensors 2 are used within the rescue well 1. The two magnetic sensors 2 respectively detect the magnetic field intensity of the secondary magnetic field generated by the current collected in the target well and calculate the relative change in magnetic field intensity between the two. Combined with the spatial magnetic field response characteristics under the rescue well 1 model, the distance to the target well can be determined.
[0076] In an optional implementation, the method for calculating the difference in vertical distances between the two magnetic sensors 2 and the target well based on the triaxial vector information acquired by the magnetic sensor 2 is as follows:
[0077] Calculation of the magnetic field strength deflection angle: First, based on the triaxial vectors corresponding to the first and second target magnetic sensors, the magnetic field strength deflection angle between the two sensors is calculated using vector operations. This deflection angle reflects the difference in magnetic field direction between the two sensors relative to the target well casing.
[0078] Obtaining the straight-line distance: Simultaneously, based on the position information of magnetic sensor 2, the straight-line distance between the first target magnetic sensor and the second target magnetic sensor is determined. It should be noted that this straight-line distance can be obtained through measurement or by using pre-determined well layout information.
[0079] Calculation of vertical distance difference: Finally, based on the magnetic field strength deflection angle and the straight-line distance between the two magnetic sensors 2, the vertical distance difference ΔL between the first target magnetic sensor and the second target magnetic sensor from the target well is calculated using trigonometric functions or other appropriate mathematical models.
[0080] This embodiment combines vector operations and trigonometric functions to accurately calculate the distance between rescue well 1 and the target well. In practical applications, this method can provide important technical support for rescue operations during underground resource exploration and extraction.
[0081] As a preferred embodiment, such as Figure 3 As shown, several magnetic sensors 2 are spirally arranged along the circumference and axial direction of the rescue well 1. This arrangement of multiple magnetic sensors 2 at different positions in the radial and axial directions of the rescue well 1 ensures that, at any tilt angle between the rescue well 1 and the target well, each magnetic sensor 2 has an effective distribution spacing along the direction perpendicular to the target well, guaranteeing effective measurement of relative magnetic field changes; it also effectively saves on deployment costs.
[0082] Regarding the specific implementation of the spiral deployment, the first step is to determine the number and deployment range of the magnetic sensors 2. Based on the diameter and depth of the rescue well 1 and the estimated location of the target well, the number of magnetic sensors 2 to be deployed and their coverage area within the rescue well 1 are determined. After determining the number and deployment range of the magnetic sensors 2, a spiral deployment plan is developed based on the circumferential and axial dimensions of the rescue well 1. This plan should ensure that the magnetic sensors 2 are evenly distributed within the rescue well 1, while also considering the efficiency and accuracy of data acquisition. Finally, according to the developed spiral deployment plan, the magnetic sensors 2 are installed at the corresponding positions in the rescue well 1. During installation, it is essential to ensure that the magnetic sensors 2 are accurately positioned, securely fixed, and functioning properly.
[0083] This application provides a downhole magnetic ranging device for rescue wells based on multiple magnetic sensors. Several magnetic sensors 2 are arranged circumferentially and axially within the rescue well 1 using this magnetic ranging device to collect the magnetic field strength corresponding to the secondary magnetic field generated by the target well casing. The magnetic ranging device specifically includes an acquisition module, a difference module, a selection module, a first calculation module, and a second calculation module, each configured as follows:
[0084] The acquisition module is used to acquire the magnetic field strength and triaxial vector collected by each of the magnetic sensors 2.
[0085] The difference module is used to subtract the magnetic field strengths of any two magnetic sensors 2 to obtain several magnetic field strength difference values.
[0086] The selection module is used to traverse all magnetic field strength differences and select the two magnetic sensors 2 with the largest absolute value of the magnetic field strength difference, denoted as the first target magnetic sensor and the second target magnetic sensor, and the magnetic field strength corresponding to the first target magnetic sensor is less than the magnetic field strength corresponding to the second target magnetic sensor.
[0087] The first calculation module is used to calculate the difference in vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well based on the triaxial vectors corresponding to the first target magnetic sensor and the second target magnetic sensor.
[0088] In one embodiment, the module is configured with the following calculation formula:
[0089]
[0090] In the formula: L is the distance between the rescue well and the target well; ΔL is the difference in vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well; B1 is the magnetic field strength corresponding to the first target magnetic sensor; B2 is the magnetic field strength corresponding to the second target magnetic sensor.
[0091] The second calculation module is used to calculate the distance between the rescue well 1 and the target well based on the magnetic field strength corresponding to the first target magnetic sensor and the second target magnetic sensor, and the difference in the vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well.
[0092] In one embodiment, the second calculation module is specifically used to: obtain the magnetic field strength deflection angle between the first target magnetic sensor and the second target magnetic sensor based on the triaxial vectors corresponding to the first target magnetic sensor and the second target magnetic sensor; and calculate the difference between the vertical distances of the first target magnetic sensor and the second target magnetic sensor from the target well based on the magnetic field strength deflection angle and the straight-line distance between the first target magnetic sensor and the second target magnetic sensor.
[0093] In one embodiment of the present invention, a computer device is provided, comprising a processor and a memory. The memory stores a computer program, which includes program instructions. The processor executes the program instructions stored in the computer storage medium. The processor may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. It is the computing and control core of the terminal, suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions to achieve a corresponding method flow or corresponding function. The processor described in this embodiment of the present invention can be used to implement the operation of a downhole magnetic ranging method for rescue wells based on multiple magnetic sensors.
[0094] In one embodiment of the present invention, a downhole magnetic ranging method for rescue wells based on multiple magnetic sensors, if implemented as a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable storage medium includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data.
[0095] The computer storage medium can be any available medium or data storage device that a computer can access, including but not limited to magnetic storage (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MOs)), optical storage (e.g., CDs, DVDs, BDs, HVDs), and semiconductor storage (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs)).
[0096] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0097] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0098] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0099] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0100] In the description of this invention, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0101] In this invention, unless otherwise explicitly specified and limited, the terms "connected" and "linked" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection, an electrical connection, or a connection that allows communication between them; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise explicitly limited. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0102] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can mean that the first feature is in direct contact with the second feature, or that the first feature is in indirect contact with the second feature through an intermediate medium. Furthermore, "above," "over," and "on top" of the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.
[0103] In this invention, the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to a specific feature, structure, material, or characteristic described in connection with that embodiment or example, which is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0104] Finally, it should be noted that the above-described embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A downhole magnetic ranging method for rescue wells based on multiple magnetic sensors, characterized in that, The rescue well using this magnetic ranging method is equipped with several magnetic sensors arranged along its circumference and axial direction to collect the magnetic field strength corresponding to the secondary magnetic field generated by the target well casing. The magnetic ranging method includes: Obtain the magnetic field strength and three-axis vector acquired by each of the magnetic sensors; By subtracting the magnetic field strengths of any two magnetic sensors, several magnetic field strength difference values are obtained. Iterate through all magnetic field strength differences, select the two magnetic sensors with the largest absolute value of magnetic field strength difference, and denot them as the first target magnetic sensor and the second target magnetic sensor, and the magnetic field strength corresponding to the first target magnetic sensor is less than the magnetic field strength corresponding to the second target magnetic sensor. Based on the triaxial vectors corresponding to the first and second target magnetic sensors, calculate the difference in the vertical distance between the first and second target magnetic sensors and the target well. The distance between the rescue well and the target well is calculated based on the magnetic field strength corresponding to the first target magnetic sensor and the second target magnetic sensor, and the difference in the vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well.
2. The downhole magnetic ranging method for rescue wells based on multiple magnetic sensors according to claim 1, characterized in that, The step of calculating the difference in vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well based on the triaxial vectors corresponding to the first target magnetic sensor and the second target magnetic sensor specifically includes: Based on the triaxial vectors corresponding to the first target magnetic sensor and the second target magnetic sensor, the magnetic field strength deflection angle between the first target magnetic sensor and the second target magnetic sensor is obtained; Based on the magnetic field strength deflection angle and the straight-line distance between the first target magnetic sensor and the second target magnetic sensor, the difference in the vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well is calculated.
3. A method for downhole magnetic ranging in rescue wells based on multiple magnetic sensors according to claim 1 or 2, characterized in that, The distance between the rescue well and the target well is calculated based on the magnetic field strengths corresponding to the first target magnetic sensor and the second target magnetic sensor, and the difference in the vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well. The specific calculation formula is as follows: In the formula: L is the distance between the rescue well and the target well; ΔL is the difference in vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well; B1 is the magnetic field strength corresponding to the first target magnetic sensor; B2 is the magnetic field strength corresponding to the second target magnetic sensor.
4. A method for downhole magnetic ranging in rescue wells based on multiple magnetic sensors according to claim 1 or 2, characterized in that, Several of the magnetic sensors are arranged in a spiral pattern along the circumference and axial direction of the rescue well.
5. A downhole magnetic ranging device for rescue wells based on multiple magnetic sensors, characterized in that, The rescue well where this magnetic ranging device is applied has several magnetic sensors arranged along its circumference and axial direction to collect the magnetic field strength corresponding to the secondary magnetic field generated by the target well casing. The magnetic ranging device includes: The acquisition module is used to acquire the magnetic field strength and triaxial vector collected by each of the magnetic sensors; The difference module is used to subtract the magnetic field strengths of any two magnetic sensors to obtain several magnetic field strength difference values. The selection module is used to traverse all magnetic field strength differences and select the two magnetic sensors with the largest absolute value of the magnetic field strength difference, denoted as the first target magnetic sensor and the second target magnetic sensor, and the magnetic field strength corresponding to the first target magnetic sensor is less than the magnetic field strength corresponding to the second target magnetic sensor. The first calculation module is used to calculate the difference in the vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well based on the triaxial vectors corresponding to the first target magnetic sensor and the second target magnetic sensor. The second calculation module is used to calculate the distance between the rescue well and the target well based on the magnetic field strength corresponding to the first target magnetic sensor and the second target magnetic sensor, and the difference in the vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well.
6. A downhole magnetic ranging device for rescue wells based on multiple magnetic sensors according to claim 5, characterized in that, The second calculation module is specifically used for: Based on the triaxial vectors corresponding to the first target magnetic sensor and the second target magnetic sensor, the magnetic field strength deflection angle between the first target magnetic sensor and the second target magnetic sensor is obtained; Based on the magnetic field strength deflection angle and the straight-line distance between the first target magnetic sensor and the second target magnetic sensor, the difference in the vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well is calculated.
7. A downhole magnetic ranging device for rescue wells based on multiple magnetic sensors according to claim 5 or 6, characterized in that, The distance between the rescue well and the target well is calculated based on the magnetic field strengths corresponding to the first target magnetic sensor and the second target magnetic sensor, and the difference in the vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well. The specific calculation formula is as follows: In the formula: L is the distance between the rescue well and the target well; ΔL is the difference in vertical distance between the first target magnetic sensor and the second target magnetic sensor and the target well; B1 is the magnetic field strength corresponding to the first target magnetic sensor; B2 is the magnetic field strength corresponding to the second target magnetic sensor.
8. A downhole magnetic ranging device for rescue wells based on multiple magnetic sensors according to claim 5 or 6, characterized in that, Several of the magnetic sensors are arranged in a spiral pattern along the circumference and axial direction of the rescue well.
9. An apparatus comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of a downhole magnetic ranging method for rescue wells based on multiple magnetic sensors as described in any one of claims 1 to 4.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of a downhole magnetic ranging method for rescue wells based on multiple magnetic sensors as described in any one of claims 1 to 4.