Abstract

Conventional adjacent wells range scanning calculations cannot meet the accuracy demands of the anticollision measurement of borehole distances any longer. Current techniques commonly employ electromagnetic detection tools while drilling; this requires putting equipment down adjacent wells to avoid collision risks, which adds more workload and costs and sometimes even affects the normal production of the producing wells. Measuring and tracking adjacent borehole distances while drilling is an essential process that guides the drill bit and effectively avoids collisions with existing wells. This paper proposes an active anticollision method of rotating magnetic ranging based on double symmetrical magnetic sources with opposite magnetic moments. First, the proposed method uses magnetic sources in the drilling well that are built into the probe tube to generate a magnetic field; then, the ferromagnetic casing of the existing well would be magnetized by the abovementioned magnetic field; finally, the magnetization field of the ferromagnetic casing is measured by a triaxial magnetometer built into the probe tube to determine the spacing and position of the existing well. Simultaneously, the calculation models of magnetic flux density around the casing of the existing well and magnetic sources are established, the calculation formulae of the relative distance and position of two adjacent wells are deduced, and a new variable interval section segmentation is proposed based on the Cosine theorem. The simulation results demonstrate that the spacing and position of the existing well are determined based on the magnetic sources’ spacing inside the probe, the magnetic moment of the magnetic sources, the relative permeability of the casing, the diameter of the casing, and the inclination between the drilling well and the existing well. The validity and accuracy of the active magnetization model are confirmed, providing theoretical support for the further development of electromagnetic anticollision devices.

1. Introduction

Complex wells can effectively improve single well productivity and the ultimate recovery of complex oil and gas fields; magnetic guidance technology is the core technology of drilling engineering in complex structure wells [1]. The working principle of the anticollision scanning method [2] is fitting and approximating the real drilling trajectory with inclinometer data; then, the relative position relationship between the drilling well and the existing well can be calculated by the anticollision scanning algorithm. When the relative borehole distance is less than the given safety distance, the drilling direction can be adjusted to avoid a collision accident. The accuracy of the anticollision scanning method relies on inclinometer data of borehole trajectories for the drilling well and the existing well, borehole trajectory fitting approximation method, and the anticollision scanning algorithm. These data and algorithms do tend to have errors in practical applications; the cumulative errors increase with increased drilling depth, causing the accuracy of the calculation results to be lower. Therefore, this method fails to effectively avoid wellbore collisions. To better solve this problem, it is necessary to monitor the distance between adjacent wells and maintain it within a reasonable range in real time. The newly emerged electromagnetic guidance tools can guarantee safe drilling and the successful avoidance of collisions.

Electromagnetic guidance tools, which include the magnetic guidance tool (MGT) [3], the Rotating Magnet Ranging Service (RMRS) system [4], the Wellspot Tool (WT) [5], and the Single Wire Guidance (SWG) [6] tool, can detect the distance between the drilling well and the existing well to avoid collision [16]. MGT and RMRS are applied in adjacent twin parallel Steam Assisted Gravity Drainage (SAGD) wells that guide the drilling of an injection well to ensure that it is parallel to the production well [2, 3, 79]. However, it requires improvement if it is to be applied to the anticollision of cluster wells. There are two primary disadvantages of the MGT and RMRS methods. First, they are difficult to operate, as a probe tube must be placed in the existing well to guide the detection of drill bit. Second, the monitoring workload of the anticollision system is quite heavy. WT is not suitable for the anticollision of cluster wells since the detection process requires pulling out the drilling tools. The SWG tool overcomes the disadvantages of the MGT and RMRS [1, 4], namely, that neither reduces the workloads, nor requires pulling out the drilling tool to guide the detection device. However, there are three primary disadvantages of the SWG tool. First, a cable must be placed down the offset well, which affects the normal production process of the existing well. Additionally, a large amount of equipment must be utilized in order to run this system. Lastly, the technology of the SWG tool is monopolized by foreign companies and the service cost is expensive, so domestic companies rarely use SWG to reduce the cost of a single well.

With cluster wells being used in more and more applications in land and sea environments, the borehole distance has been reduced from 2 m × 2 m to 1.5 m × 1.7 m [2, 4], and infilling adjustment wells are usually added to the existing well pattern. The traditional anticollision scanning method is insufficient for cluster wells’ anticollision. Therefore, the active magnetic guidance ranging method is proposed to avoid borehole collision. This method is based on detecting magnetic induced intensity of the casing in the existing well; it detects the borehole distance during the drilling process in real time without interrupting drilling or ever requiring any other equipment to be placed in the existing well. The method becomes practically significant in providing a theoretical basis for the research and development of active anticollision devices for cluster wells.

2. Principle of Active Magnetic Guidance Ranging

The signal sources or the probe tube must be mounted in the existing well to measure the distance between drilling well and offset wells for MGT, RMRS, SWG, and other electromagnetic guidance tools [1013]. To solve the above problems, the active magnetic anticollision ranging method of cluster wells is proposed based on the fact that the magnetic poles of double magnetic sources are parallel to each other with opposite magnetic moments (expressed as red and green lines in Figure 1). It does not interrupt the drilling of the production well, nor does it require any other equipment to be placed in the offset well, yet it detects the borehole distance in real time during the drilling process. This principle is shown in Figure 1.

Therefore, the total magnetic induction intensity as detected by a triaxial magnetometer is 0 when there is no casing around the probe tube or when the casing is far away from the probe tube [14]. When there is casing around the probe tube, the triaxial magnetometer data represent the sum of the geomagnetic field, the magnetic field of two magnetic sources, and the magnetic flux density of the magnetizing casing which generates a magnetic field along its axial direction (expressed as blue lines). As the magnetic fields of magnetic sources vary with the rotation of the drill rod, the alternating magnetic field frequency of the casing varies along with the rotation rate of magnetic sources.

Based on the above described principle, the relative distance and orientation between the drilling well and the existing well are calculated using the detection data of a triaxial magnetometer, and the well trajectory of the drilling well is adjusted appropriately to prevent collisions with the existing well.

3. Calculation Method of Adjacent Well Distance

The calculation method of adjacent well distance is the anticollision core technology of magnetic guidance. Under the coordinate system shown in Figure 1, the casing stretches vertically downward along the -axis, and the -axis points to geographic north. The outer diameter and thickness of the casing are and , respectively. The inclination and azimuth of the casing are and , respectively.

3.1. Distribution of Magnetic Field around Magnetic Sources

The dimensions of the components are strictly limited by the geometrical size of the probe tube in the drilling well. The two symmetrical magnetic sources’ sizes must be far less than the size of drill collar, and the mud flow channel should be reserved. The magnetic source is a cylinder with a length of 100~200 mm and a diameter of 20~50 mm according to common drill collar parameters. To ensure an anticollision system for cluster well applications, the borehole distance should be at least 1 m and normally more than 3 m; otherwise, the probability of collision is increased. The size of the magnetic source is much smaller than the adjacent borehole distances; thus, the magnetic source can be regarded as a magnetic dipole [1, 15, 16].

The spherical coordinate system is established as shown in Figure 2. The magnetic dipole, modeled with a circular current loop, is placed in the plane. The spherical coordinate system can be established by taking the center of the magnetic dipole as the origin point and the direction of the magnetic moment of the magnetic dipole as the -axis. The spherical coordinates of point , that is, any point in space, can be expressed as . The vector distance from point to point is r, the intersection angle between and the -axis is θ, and the angle between the -axis and , which is the projection of on the XY-plane, is . Expression (1) gives the relations between the spherical and Cartesian coordinates [17].

Assuming that point is any point on the circle, its corresponding coordinate is , and the magnetic flux density caused by the current unit in the space point can be calculated by the Biot-Savart Law as follows:where , , and μ are the distance vector of point to point , the tangent vector of point , and the space magnetic permeability, respectively. In the spherical coordinate system, those parameters have the following forms:

In previous expressions with the radius of the loop is denoted and is the magnetic dipole moment. By performing the integral calculation and substituting Expressions (3) in formula (2), when far from the loop, the above formula can be expressed as

The detecting data of the magnetic anticollision system with a rotating probe tube which is driven by the drill string are collected for the cluster well while drilling. Put simply, the magnetic dipole rotates around the -axis, and the distance between the casing and the magnetic dipole can be regarded as a constant, , .

If the distance from any point on the casing to the magnetic source is much larger than the radius of the magnetic source , then

By assuming  H/m,  A·m2,  m, , the curve of magnetic flux density is shown in Figure 3.

During the rotation of the probe from Figure 3, the axial direction of the magnetic source points directly to the casing whenever the maximum magnetic flux density of casing reaches one of the corresponding coordinates, namely, 0, 0.5π, π, 1.5π, and 2π. The direction of the casing can be determined by the maximum magnetic flux density. The distance from the probe tube to the casing can be calculated by using the relationship between the relative distance and the magnetic flux density of the magnetizing casing. Therefore, the maximum and minimum values on the curve indicate that the axis of the magnetic source is directly pointing to the casing at these points. At the moment the curve reaches its peak or valley, the azimuth of the casing in the adjacent well can be determined by measuring the magnetic azimuth of the probe tube with the built-in triaxial magnetometer.

3.2. Magnetizing Field Calculation of Casing

Due to the complexity of the actual formation, the following five assumptions are proposed to simplify the calculation [1820]:

(1) The formation is evenly distributed and isotropic.

(2) The casing length is infinite.

(3) The radius of the casing is much less than the distance between the drilling well and the existing well.

(4) The casing is isotropic.

(5) There are no ferromagnetic minerals with high permeability in the formation.

Under these conditions, the magnetic flux density of the casing in the existing well can be calculated by formula (4).

3.2.1. Magnetic Flux Density Calculation of the Magnetizing Casing for the Upper Magnetic Source

Taking the upper magnetic source center of the probe tube as the origin , the -axis and -axis correspond to the axial directions of the probe tube and the upper magnetic source, respectively. The coordinate system is established in Figure 4. The distance from the probe tube center point to the casing is d, the intersection angle between the axes of the casing and the probe tube is α, the distance between the two magnetic sources is , the angle between and the upper magnetic source axis is , the distance from point to point is , and point is any point on the casing. The permeability of the casing is , the magnetic susceptibility of the casing is , and the vacuum permeability is .

The magnetic flux density distribution around the upper magnetic source can be deduced by formula (4) as follows:where μ is the permeability of the space surrounding the magnetic source.

From the previous analysis, the magnetic flux density of the magnetizing casing reaches maximum when the magnetic source axis points to the casing. Therefore, the magnetic flux density distribution around the magnetic source can be deduced as follows:

For the upper magnetic source, the magnetic flux density of the magnetizing casing can be expressed as follows:

3.2.2. Magnetic Flux Density Calculation of the Magnetizing Casing for the Lower Magnetic Source

Similar to formula (7), for the lower magnetic source built into the probe tube, the magnetic flux density of the magnetizing casing can be expressed as follows:

3.2.3. Total Magnetic Flux Density Calculation of the Casing

The formulae of the magnetic flux density of the magnetizing casing caused by the two different magnetic sources are derived below.

The magnetic flux density caused by the upper magnetic source can be calculated using the following:

Similarly, the magnetic flux density caused by the other magnetic source can be expressed aswhere the intersection angle between and the -axis is and the distance between point and point is . The geometric relationship in Figure 4 can be expressed as follows:

The total magnetic flux density of point caused by the two magnetic sources can be expressed as

4. Calculation of the Distance between Adjacent Wells

The triaxial magnetometer is centered between the two magnetic sources built into the probe tube. The total magnetic flux density detected by the triaxial magnetometer is the sum of the magnetic fields generated by all points of the casing, the two magnetic sources, and the constant geomagnetic field. The triaxial magnetometer detects the magnetic flux density, which is generated by the two magnetic sources and can be expressed as follows:

The geomagnetic field is usually acquired from international geomagnetic reference field (IGRF) data [8], and it can be regarded as a constant over a short period of time.

The element of the segmentation casing is far less than the distance between the probe tube and the casing, so it can be regarded as a magnetic dipole (idealized as a point ). The magnetic flux density distribution around the magnetic dipole is derived according to above formulae as follows:where

When (17) is substituted into formula (16), the following formulae are deduced: where the magnetic moment of the magnetic dipole is . The volume of casing element is . The magnetic susceptibility of the casing is , and casing diameter is C.

During the calculation process, the initial magnetic flux density of point can be calculated by using formula (14). Subsequently, the magnetic moment of the magnetic dipole can be calculated using formula (19). Ultimately, the triaxial magnetometer detects the magnetic flux density of point , which can be calculated using formulae (18).

In summary, the triaxial magnetometer detects the magnetic flux density of the magnetizing casing, which is composed of a large number of magnetic dipole units, when all the other parameters, except the variable quantity , are all known quantities. Therefore, can be calculated by reverse deduction, on the condition that the magnetic flux density is known through measurements, using the following:

5. New Segmentation Strategies

A new variable section segmentation strategy is proposed in Figure 5. It is assumed that the distance between a magnetic dipole unit of the casing model and the measuring point is . In the new section segmentation, the parameter , the length of the magnetic dipole unit, is determined by . The intersection angle between and casing axis is (). The relationship between and can be expressed as [2125]where is a ratio coefficient [25]. It is ensured that the segmented unit is small enough to be regarded as a magnetic dipole without error.

If there is a measuring point around the casing model, we can determine its horizontal point on the casing. Then, the model is divided from this point; the aim of the segmentation strategy is obtaining the formula of one unit volume , and it can be expressed as

To determine , we need to obtain a formula for the variable .

First, is calculated by (where ). Based on the Cosine theorem, we can obtain the following expression:

Combined with formulae (21) and (23), the relationship between and can be deduced using the following:

Second, two representations are shown below:

We can also deduce two expressions based on the Cosine theorem:

Finally, by combining these expressions with formula (21), the expression of can be deduced using the following:

From the expression of , we can see that the volumes of the divided units in the new segmentation method are different. The unit nearer to the measuring point is smaller, and the unit farther from the measuring point is larger. Expression (27) is substituted into expression (21), and then it can be used to calculate the magnetic moment.

6. Experimental Results

During the simulation, it is assumed that  H/m,  A·m2,  m, , , and the axes of the probe tube and the casing are on the same plane. As the probe tube works, it turns with a rotation speed of tens to hundreds of revolutions per minute. The drill bit can only advance several millimeters to tens of millimeters per minute. Compared with the rotation rate, the drilling footage per minute is much smaller. Therefore, it can be assumed that the probe tube stays approximately at the same point relative to adjacent casing when it makes a single turn. The relative distance between probe tube and casing is set to be 1 m, 2 m, 3 m, or 4 m, and the signal measured by the triaxial magnetometer is simulated by utilizing formula (14). Figure 6 indicates that the triaxial magnetometer detects the strongest magnetic flux density when the axis of the magnetic source points directly to the casing. The magnetic flux density of the casing’s magnetic field is of a symmetrical distribution around , the peak values of magnetic flux density are mainly concentrated in the vicinity of  m, and the magnetic flux density decreases with increasing . Moreover, the magnetic flux density is weaker with increasing distance between the adjacent wells.

7. Discussion

Based on the calculations of the active anticollision method, the influence factors of the measurement results mainly include the distance between the two magnetic sources () in the probe tube, the magnetic moment of the magnetic sources , the relative permeability of the casing (), the diameter of the casing , and the intersection angle between the drilling well and the existing well. It is assumed that the formation is uniformly distributed and isotropic; then, in the absence of any influence from nonferromagnetic minerals in the surrounding stratum, the various influence factors of the measurement results can be analyzed.

7.1. Influence of Magnetic Source on Measurement Results

The magnetic source is the key component of the magnetic anticollision ranging system for adjacent wells; its parameters directly affect the range and accuracy of the measured distances. The main parameters that influence the measurement accuracy include the distance () between the two magnetic sources and the magnetic moment of the magnetic sources. By choosing  H/m, , ,  mm,  A·m2, and different values of , the measurement results shown in Figure 7 indicate that the distance between the casing and the probe tube vary in the range of 0.4~2 m.

Figure 7 illustrates that magnetic flux density of the probe tube detection increases with increasing when the magnetic moment is invariant. However, its variability is small and may be ignored under the condition of > 1.2 m. Therefore, considering the length of the probe tube itself, the maximum magnetic flux density of the probe tube is observed under the condition of = 1.2 m. Influence of the different values of the magnetic moment of the magnetic sources on the magnetic flux density measurement results is shown in Figure 8 for = 1.2 m. Figure 8 indicates that the magnetic flux density detected by the probe tube increases with increasing magnetic moment when is invariant. Therefore, we should choose magnetic sources with large magnetic moments when designing the probe tube’s structure.

7.2. Influence of the Casing on Measurement Results

The strata surrounding the probe tube are less affected by the magnetic flux density generated by the magnetic sources, but the adjacent well’s casing with high permeability is greatly affected by the magnetic flux density generated by the magnetic sources. Supposing = 1.2 m, ,  mm,  A·m2, and different values of , the measurement results are produced as shown in Figure 9, in which the distance between the casing and the probe tube ranges within 0.4~2 m.

Figure 9 illustrates that the magnetic flux density detected by the probe tube increases with the increasing the relative permeability of the casing when the parameters of the magnetic source are invariant. The relative permeability of the casing is determined by the casing’s properties. Therefore, if the relative permeability of the adjacent casing is measured before calculating the distance between the adjacent wells, then a more accurate relative permeability can be obtained to ensure the accuracy of the magnetic anticollision ranging system.

When the relative permeability of the casing is , different values are used for the diameter of the casing (C) and the distance (d) between the casing, and the probe tube ranges within 0.4~2 m, the measurement results of the simulation are shown in Figure 10.

Figure 10 indicates that the magnetic flux density detected by the probe tube increases as the diameter of the casing increases when the relative permeability of the casing is invariant, and the risk of colliding with the larger diameter casing is increased under the same distance between adjacent wells.

7.3. Influence of the Intersection Angle α on Measurement Results

In the cluster wells, there is an intersection angle between the drilling well and the target well. Assuming that = 1.2 m,  A·m2, , and  mm, when α changes from 0° to 90°, the distance between the casing and the probe tube ranges within 0.4~2 m within the measurement results simulation, which produces the results shown in Figure 11.

Figure 11 indicates that the change in the magnetic flux density detected by the probe tube is reduced to half of the original value when the intersection angle α changes from 0° to 50°. In addition, there is no correlation between the magnetic flux density and α when . According to the analysis, this is because when the angle between the drilling well and the adjacent well is too large, the magnetic field generated by the magnetic source farther from the casing within the probe is too weak at the casing. It is equivalent to the scenario in which only one magnetic source in the probe tube generates the magnetization of the casing, and the distribution of the flux density changes, resulting in the distortion of the curve. Therefore, it is necessary to avoid the application of this method under conditions with .

8. Conclusions

The magnetic anticollision system for cluster well is a kind of magnetic guidance tool that can determine the measurement distance while drilling in real time. The principle of the method is based on detecting the magnetic flux density of the magnetizing casing, in which the two magnetic sources are parallel to each other with opposite magnetic fields and installed at two ends of the built-in tube probe. First, with the rotation of the probe tube, the triaxial magnetometer detects the oscillation of the signal from the casing. Then, the signal is transmitted to the ground by the mud pulse. Ultimately, the distances and azimuth of adjacent wells are calculated by data analysis software.

The radii of the magnetic sources are far less than the borehole distance, so the magnetic sources can be regarded as magnetic dipoles. The magnetic flux density distribution formulae of the magnetic dipole are deduced by the magnetic flux density calculation method for a magnetic dipole. The simulation results indicate that a triaxial magnetometer can detect the maximum or minimum value of the magnetic field intensity when the axis of the magnetic source points directly to the casing.

The magnetic flux density detected by the probe tube increases with increasing distance between the double magnetic sources; when its distances exceeds 1.2 m, there is no significant change in the magnetic flux density detected. The magnetic flux density of the probe is positively related to the magnetic moment of the magnetic sources, the relative permeability of the casing, and the diameter of the adjacent well casing pipe, so that it can reach farther measuring distances and higher ranging accuracies by increasing these parameters’ values. Accurate measurement results can be obtained by the method of adjacent well location under the condition of . This method can provide theoretical support and an experimental basis for the development of the active magnetic guidance ranging for cluster wells.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

The authors gratefully acknowledge the financial support of National Science and Technology Major Project “New Technologies of Designing and Controlling for the Complex Structure Wells and the Cluster Wells (Grant no. 2017ZX05009-003)”.