1. Field of the Disclosure
The present disclosure is related to magnetic measurements obtained in a borehole and, in particular, to determining a residual measurement error in measurements obtained using a magnetometer or an accelerometer in a borehole.
2. Description of the Related Art
Petroleum exploration generally includes conveying sensors into the well bore for characterizing the down hole formations. The sensor data is used to create various logs recording the properties of the formation. These logs may be obtained either using a measurement-while-drilling process (MWD) a measurement-after-drilling (MAD) process in which sensors are conveyed on the drill string, or using an after drilling process in which sensors are lowered into the wellbore on cable, pipe strings or tubing (these last three are generally described by wireline to differentiate from MWD and MAD). Sensors such as accelerometers and magnetometers are usually included in the suite of sensors, and are generally used for determining the position of the sensors within the wellbore regardless of the conveyance method. These accelerometers and magnetometers sensors contain measurement errors that are intrinsic to the sensor itself, and in the case of magnetometer may be due magnetic sources within the conveyance system, including sensor housings. Although accelerometer and magnetometer measurements are useful, and in many cases necessary, for logging operations, each accelerometer and magnetometer includes various measurement errors that affect its measurements. These errors may be due, for example, to bias (or offset), misalignment, different axial locations and different sensitivities of the accelerometer and magnetometer components. Therefore, there is a need to reduce measurement errors in the down hole sensors measurements, such as magnetometer and accelerometer measurements.
Accelerometers and magnetometers are also used to detect both gravity and magnetic anomalies. Given that locally, the gravity and magnetic fields are virtually constant, these anomalies are generally defined as inclinations from a standard field model, e.g. gravity and WGS 84 gravity model, and the International geomagnetic field model, IGRF, from the United States Geological Survey. Gravity anomalies are generally below the threshold sensitivity of the usual accelerometers used in typical logging system. However, some magnetic anomalies are within the range of sensitivity of the typical magnetometers and if uncorrected generally degrade the magnetometer data. Various formation logs may include accelerometer and magnetic measurements within the formation to determine the formation location within the sub-surface. The magnetometers can detect magnetically anomalous features that may indicate the presence of nearby magnetic material, e.g. a casing, debris in the well, or large scale paleomagnetic effects, e.g. remnant magnetic field in volcanics.
In one aspect, the present disclosure provides a method of correcting measurements obtained by a down hole tool for residual measurement errors. The method includes: disposing the tool having at least three each directional field sensor sets in a borehole, the first set contains accelerometers and the second magnetometers, wherein the at least three accelerometer and magnetometer directional sensors are substantially orthogonal to each other, within each set and, preferentially, one axis of each set is parallel to longitudinal axis of the down hole tool, and each axis of each set is substantially parallel to a corresponding axis in the other set; obtaining measurements from the at least two sets of directional sensors throughout the logging run. This configuration provides a common tri-axial system for each sensor set, or a full sensor set. From the measurement data, the sensor biases and the local tool magnetic field may be determined by a non-linear inversion method and used to correct accelerometer and magnetometer sensor data.
In another aspect, from the corrected sensor measurements, with the known values of the local Earth magnetic field vector, the non-linear inversion method extracts the magnetic anomaly field vector at each measurement position. The extracted magnetic anomaly data is recorded to the output system, and the anomaly data is removed from the magnetic data, and this resulting output data provides the input for additional processed outputs, e.g. well inclination and well azimuth. Given the corrected orientation outputs, the magnetic anomaly vectors can then be transformed into the local Earth coordinate system. From the magnetic anomaly data, the magnitude and direction of the magnetic anomaly is computed and output for further log processing.
In yet another aspect, the present disclosure provides a method of correcting magnetic measurements obtained by a down hole tool for residual measurement errors in a reduced sensor configuration. The method includes: disposing the tool having at least two directional field sensors in a borehole, wherein the at least two directional sensors are substantially orthogonal to each other and to a longitudinal axis of the down hole tool; obtaining measurements from the at least two directional sensors during rotation of the tool by at least 360 degrees around the longitudinal axis of the tool; determining residual measurement errors for the obtained measurements; selecting a quality level of the determined residual measurement errors; and applying the determined residual measurement errors to the obtained measurements when the determined residual measurement errors are consistent with the selected quality level.
In yet another aspect, the present disclosure provides a computer-readable medium having a set of instruction stored therein that are accessible to a processor in order to enable the processor to perform a method, the method of processing the full sensor set, the reduced sensor set and/or the magnetic anomaly extraction.
Examples of certain features of the apparatus and method disclosed herein are summarized rather broadly in order that the detailed description thereof that follows may be better understood. There are, of course, additional features of the apparatus and method disclosed hereinafter that will form the subject of the claims.
For detailed understanding of the present disclosure, references should be made to the following detailed description, taken in conjunction with the accompanying drawings, in which like elements have been given like numerals and wherein:
In an aspect, a suitable drilling fluid 131 (also referred to as “mud”) from a source 132 thereof, such as a mud pit, is circulated under pressure through the drill string 120 by a mud pump 134. The drilling fluid 131 passes from the mud pump 134 into the drill string 120 via a de-surger 136 and the fluid line 138. The drilling fluid 131a from the drilling tubular discharges at the borehole bottom 151 through openings in the drill bit 150. The returning drilling fluid 131b circulates uphole through the annular space 127 between the drill string 120 and the borehole 126 and returns to the mud pit 132 via a return line 135 and drill cutting screen 185 that removes the drill cuttings 186 from the returning drilling fluid 131b. A sensor S1 in line 138 provides information about the fluid flow rate. A surface torque sensor S2 and a sensor S3 associated with the drill string 120 provide information about the torque and the rotational speed of the drill string 120. Rate of penetration of the drill string 120 may be determined from the sensor S5, while the sensor S6 may provide the hook load of the drill string 120.
In some applications, the drill bit 150 is rotated by rotating the drill pipe 122. However, in other applications, a down hole motor 155 (mud motor) disposed in the drilling assembly 190 also rotates the drill bit 150. The rate of penetration (“ROP”) for a given drill bit and BHA largely depends on the WOB or the thrust force on the drill bit 150 and its rotational speed.
A surface control unit or controller 140 receives signals from the down hole sensors and devices via a sensor 143 placed in the fluid line 138 and signals from sensors S1-S6 and other sensors used in the system 100 and processes such signals according to programmed instructions provided from a program to the surface control unit 140. The surface control unit 140 displays desired drilling parameters and other information on a display/monitor 141 that is utilized by an operator to control the drilling operations. The surface control unit 140 may be a computer-based unit that may include a processor 142 (such as a microprocessor), a storage device 144, such as a solid-state memory, tape or hard disc or other non-transitory storage medium, and one or more computer programs 146 in the storage device 144 that are accessible to the processor 142 for executing instructions contained in such programs. The surface control unit 140 may further communicate with a remote control unit 148. The surface control unit 140 may process data relating to the drilling operations, data from the sensors and devices on the surface, data received from down hole and may control one or more operations of the down hole and surface devices.
The drilling assembly 190 also contain formation evaluation sensors or devices (also referred to as measurement-while-drilling, “MWD,” or logging-while-drilling, “LWD,” sensors) determining resistivity, density, porosity, permeability, acoustic properties, nuclear-magnetic resonance properties, corrosive properties of the fluids or formation down hole, salt or saline content, and other selected properties of the formation 195 surrounding the drilling assembly 190. Such sensors are generally known in the art and for convenience are generally denoted herein by numeral 165. The drilling assembly 190 may further include a variety of other sensors and communication devices 159 for controlling and/or determining one or more functions and properties of the drilling assembly (such as velocity, vibration, bending moment, acceleration, oscillations, whirl, stick-slip, etc.) and drilling operating parameters, such as weight-on-bit, fluid flow rate, pressure, temperature, rate of penetration, azimuth, tool face, drill bit rotation, etc. The BHA 190 may further include various survey instruments determining a location and orientation of the drill string 120 in the borehole 126. In various embodiments, these instruments may include a magnetometer 167 and an accelerometer 169, such as shown in
The method of orientation sensor correction may be used in a wireline system (as well as logging-while-drilling (LWD) and measurement-while-drilling (MWD) systems) to determine a tool bias correction over a logging depth.
The magnetometers 167 and the accelerometers 169 may include systemic sensor errors that distort the accelerometer and/or the magnetometer measurements, thereby providing residual measurement errors. Systemic sensor errors may be related to several factors, including: bias or offset, different sensor sensitivities (scale factors), differences in the axial locations of the magnetometer components and/or the accelerometer components, misalignment errors, etc. Methods disclosed herein may be used to determine tool sensor corrections that may be used to correct the accelerometer and/or magnetometer measurements for systemic tool errors. The auto-calibrations in this method are of limited scope when compared to a full laboratory calibration.
In the various methods of tool bias correction disclosed herein, the systemic sensor errors, such as a magnetometer bias or an accelerometer bias, may be determined to within a selected accuracy prior to applying the determined bias to correct magnetometer and/or accelerometer measurements. The present disclosure may include reducing the residual measurement error (tool bias) from a first value outside of a selected quality threshold to a second value that is within the selected quality threshold, using any of the methods disclosed herein. For example, in one embodiment, an Extended Kalman Filter may be used to obtain a magnetometer tool bias to within a selected threshold value. In another embodiment, a min-max method may be used to determine minimum and maximum values of magnetometer measurements during a complete revolution of the drill string, thereby allowing a tool bias correction based on minimum and maximum values. In a third embodiment, survey measurements obtained from accelerometer and magnetometer measurements may be used to transform magnetometer measurements from an earth-based coordinate system into a tool-based coordinate system in which tool bias is a constant value and may therefore be determined. The determined tool bias is then used to correct the survey measurements. An iterative loop may be established in which the corrected survey measurements are used to again transform the measurements from the earth-based coordinate system to the tool-based coordinate system, allowing a next iteration of tool bias to be determined in the tool-based coordinate system. The tool bias correction may be repeated for a selected number of iterations or until the determined tool bias is less than a selected threshold value. The various embodiments are discussed in further detail below.
Tool Auto-Calibration Using Local Earth Gravity and Magnetic Field
In one embodiment, tool bias may be determined as a result of transforming standard values of earth's gravity and earth's magnetic field from an earth-based frame of reference into a tool-based frame of reference using transformation variables that are based on the magnetometer measurements and/or accelerometer measurements from a pair of orthogonal triaxial accelerometer and magnetometer sensors. Once the components of the standard values of the magnetic field and of the accelerometer are obtained in the tool-based frame of reference, they may be compared to the measured values of Earth's gravity and Earth's magnetic field obtained using the accelerometer 169 and magnetometer 167. Differences between the standard values and the measured values may therefore yield tool sensor bias vector, misalignment and scale factor corrections. These determined sensor corrections may be used to correct accelerometer and magnetometer measurements and, additionally, to correct or adjust the transformation variables. These adjusted transformation variables may then be used to perform another transformation of the standard values of the Earth's gravitational field and the Earth's magnetic field into the tool reference frame in order to iteratively converge to a solution for the tool sensor corrections.
The following definitions, assumptions and observations are used herein:
Definitions
Assumptions:
Observations:
Angles such as the inclination (DEV) (wireline deviation) and relative bearing (RB) to the high side of the tool may be computed using accelerometer measurements. Inclination is an angle between vertical and the borehole at the point of measurement. The relative bearing is the angle between the tool string's defined x-axis and the high side of the tool. Horizontal azimuth (HAZI) (AZ wireline) may be defined as a projection of the magnetic vector on the tool face (i.e., the place perpendicular to the z-axis) onto the local horizontal plane. We will use the LWD conventions, rather than the wireline conventions, except for the LWD inclination where DEV will be used to avoid any confusion related to the magnetic inclination. The borehole azimuth or drift azimuth (AZ) is the projection of the z-axis of the well bore onto the horizontal plane. These reference angles are related by the equations:
which may be used as a consistency check on orientation data. The orientation data may be computed from the raw accelerometer data using for example, a z-down, x-north and y-east right-handed coordinate system. The inclination may be given by:
Relative bearing (RB) may be given by:
Azimuth may be given by:
where
A=√{square root over (ax2+ay2+az2)} Eq. (5)
and
where (ax, ay, az) and (mx, my mz) are the measured component values of acceleration and magnetic field strength respectively at each sample position in the tool coordinate system. ‘A’ is the magnitude of the acceleration, which represents the acceleration due to gravity. The bold italic font indicates a vector. A bold normal font will indicate a matrix.
In Equations (1)-(6), the measured magnetic and acceleration components are assumed to be accurate (after accelerometer component filtering, if needed). However, systemic sensor error, sensor acceleration or another magnetic source near the sensors affect the estimate of the borehole azimuth, magnetic field strength and magnetic inclination. The measured fields are the vector sum of the Earth's fields, G (gravity), B (magnetic field) and the systemic sensor errors and tool acceleration or anomalous gravity field a and anomalous magnetic field b at the sensor.
M=B+b Eq. (7)
B=M−b
A=G+a Eq. (8)
G=A−a
The sensor measurements are made in the tool body coordinate system. The x- and y-axes are perpendicular to the longitudinal axis of the tool while the z-axis is parallel to the longitudinal axis of the tool forming a right handed coordinate system. Positive z-axis increases in the down hole direction, that is, positive z increases depth. The method of this disclosure estimates the value of the correction vectors a and b.
Because of the systemic sensor errors, the computed orientations, the borehole azimuth and magnetic inclination are in error in Eqs. (1)-(6). Equations (4) and (6) may be modified to obtain Eqs. (9) and (10), as follows:
using the following substitutions: ax→Ax−ax, ay→Ay−ay, and az→Az−az,
An additional complication occurs because the known components of the Earth's fields are not known in the tool coordinate system. Getting the values for the components of the Earth field in the tool coordinate system requires several rotations. First, there is a rotation of the Earth magnetic north-east-down coordinate system about the z-axis by the azimuth angle, φ, to align the y-axis of the Earth coordinate system with the y-axis of the borehole in a local vertical reference frame. Secondly, there is a rotation rotate about a well deviation, δ, (Eq. (2)) to align the z-axis of the rotated Earth coordinate system with the well bore. Thirdly, there is a rotation about the tool string z-axis by the relative bearing to high side, ψ, to align the rotated Earth coordinate system with the tool x- and y-axes. At this point, if the correction vector is zero, e.g. b=(0,0,0), the measurements of the fields by the tool are equal the Earth's field as projected onto the tool coordinate to within the accuracy and noise limits of the sensors. In general, however, the correction vector will not be zero, and the magnetic disturbance vector is sufficiently large to cause directional errors.
In box 1008, the standard values of the earths' magnetic field and the earth's gravitational field are transformed from the earth-centered frame of reference to the tool-based frame of reference using the determine angles δ, ψ, φ and θ determined from Eqs. (1) (6). Transformation of the standard values of the Earth's magnetic field into the tool coordinate system may be given by standard rotation vectors:
Mtool=BearthR(ψ)R(δ)R(φ){circumflex over (I)}(θ) Eq. (11)
where R are orthonormal rotation matrices, and Î is a unit vector in the direction of the Earth's magnetic field in the local Earth coordinate system and depends on the magnetic inclination, that is, Î(θ)=(cos(θ),0,sin(θ)). Similarly, the transformation of the standard value of the gravitational field into the tool coordinate system may be given by
Atool=GearthR(ψ)R(δ)Ĝ Eq. (12)
where G is a unit vector in the direction of the Earth's gravitational field in the local Earth coordinate system, and defines down, that is Ĝ=(0,0,1).
In box 1012, components of the determined first bias correction vector are applied to the magnetometer and accelerometer measurements to correct these measurements for tool bias. In box 1014, a determination is made as to whether the determined tool bias measurements have converged to within a selected value. The determined tool bias may be compared to a selected threshold value. Alternatively, since the method described by flowchart 1000 is an iterative process, the determined tool bias may be compared to a tool bias determined to one or more previous iterations. Also, the process accepts a tool bias correction that is obtained after a predetermined number of iterations of the method of flowchart 1000.
If the tool bias is considered to have converged to within a selected value, then the process ends at box 1018. Otherwise, the process continues to box 1016, wherein the transformation variables, i.e., δ, φ, ψ and θ, are recalculated using the values of the tool's magnetometer measurements and accelerometer measurement corrected for the determined tool bias. The process then returns to box 1008 in which the standard values are once again transformed into the tool-based frame of reference.
Earth's Gravitational Field in Tool Coordinates
As discussed herein, the term used to describe the Earth's gravity is the gravitational field strength. The gravitational field strength and the acceleration due to gravity describe the same physical quantity. However, the acceleration due to gravity may have a more restricted meaning to some readers. For example, the global average acceleration due to gravity for the Earth (9.80665 m/sec2). A local determination of latitude is dependent on acceleration due to gravity at mean sea level.
In general, the gravitation field is known in an earth coordinate system, while the accelerometer measurements are obtained in a tool coordinate system. To process the accelerometer data, it is understood to transform data into a same coordinate system. As with the magnetometer data discussed hereinabove, orientation information is affected by the accelerometer biases.
The method herein rotates the gravity vector from its natural Earth coordinate system into the tool coordinate system. First, there is a rotation about the y-axis by the deviation to align the Earth z-axis with the well bore. Then there is a rotation about the z-axis by the relative bearing to align the Earth frame with the tool body coordinate system (δ=well bore deviation, ψ=well bore drift azimuth). These rotations are shown below in Eq. (13):
G=GeR(ψ)·R(δ)·Ĝ Eq. (13)
where Ĝ is a unit vector in the direction of the magnetic field, and the R are rotation matrices and are expanded below, ψ is the relative bearing to highside, δ is the deviation and φ is the azimuth.
By expanding
This equation provides the x-, y- and z-axis components of the Earth gravity field in the tool body coordinate system, where
Gx=−Ge cos ψ sin δ Eq. (16)
Gy=Ge sin ψ sin δ
Gz=Ge cos δ
are the components of the Earth field in the tool coordinate system.
The Earth magnetic field, in a magnetic north, z-down coordinate system may be represented by a magnitude and an inclination as
B=Be(cos(θ){circumflex over (ι)}+sin(θ){circumflex over (k)}) Eq. (17)
in the local Earth's coordinate system, that is, x-magnetic north, y-magnetic east, z-down, (NED) where Be is the magnitude of the Earth's magnetic field strength and θ is the magnetic inclination at the location of interest. The Earth's magnetic field may be estimated from the latitude and longitude in the International Geophysical Reference Field, (IGRF) which is updated every five years by the US Geological Survey, or the British Geological Geomagnetic Model, BGGM, which is updated annually and others. Or the field may be measured at the location of interest using well known methods. With the choice of a magnetic north system, there is of course, no y-axis component.
Earth's Magnetic Field in Tool Coordinates
To obtain the Earth's magnetic field in the tool coordinate system, one first rotates about the z-axis by the azimuth, φ, to align the Earth coordinate system y-axis with the well y-axis. Then one rotates about the y-axis by the deviation to align the Earth z-axis with the well bore. Then one rotates about the z-axis by the relative bearing to align the Earth frame with the tool body coordinate system. (δ=well bore deviation, φ=well bore azimuth, ψ=relative bearing to high-side θ=magnetic inclination). Such rotations are shown in Eq. (18):
B=BR(ψ)·R(δ)·R(φ)·I(φ) Eq. (18)
where I is a unit vector in the direction of the magnetic field, and the R are rotation matrices and are expanded below. ψ is the relative bearing to high-side, δ is the deviation, φ is the azimuth and θ is the magnetic inclination.
By expanding
Continuing the expansion
Further continuing the expansion, Eq. (20) is obtained.
Eq. (20) gives the x-, y- and z-axis components of the Earth magnetic field in the tool body coordinate system, where
Bx=Be(cos ψ cos δ cos φ cos θ−cos ψ sin δ sin θ−sin ψ sin φ cos θ) Eq. (21)
By=Be(−sin ψ cos δ cos φ cos φ+sin ψ sin δ sin θ−cos ψ sin φ cos θ)
Bz=Be(sin δ cos φ cos θ+cos δ sin θ)
are the components of the Earth field in the tool coordinate system.
Measured Data Properties, Tool Body Coordinate System
Measurements of the magnetic field may be obtained at an orthogonal tri-axial sensor with orthogonal x- and y-axes perpendicular to a longitudinal axis of the instrument, and with the z-axis parallel to the longitudinal axis. The sensors define a right-handed coordinate system with z increasing in a down hole direction. Generally, the x-axis is defined as the tool rotation reference. A measurement with such a system results in the vector magnetic field measurement
M=Mxî′+Myĵ′+Mz{circumflex over (k)}′
where i′, j′, and k′ are unit vectors in the tool body.
For measurements affected by magnetometer bias and/or tool (or tool string), borehole magnetic fields or paleomagnetic fields, an additional vector field component is added to the measured field. This additional vecor field is a magnetic correction vector and is given by Eq. (22):
b=bxî′+byĵ′+bz{circumflex over (k)}′ Eq. (22)
Eq. (22) includes magnetic bias errors, magnetic field systemic errors and local field anomalies in a single term.
Thus, the measurement of the Earth magnetic field may be:
B=M−b Eq. (23)
providing a corrected measured magnetic field.
B=(Mx−bx){circumflex over (i)}′+(My−by){circumflex over (j)}′+(Mz−bz){circumflex over (k)}′ Eq. (24)
B=√{square root over ((Mx−bx)2+(My−by)2+(Mz−bz)2)} Eq. (25)
When the tri-axial magnetometer sensor is combined with a tri-axial accelerometer subsystem, where each accelerometer is parallel to one of the magnetometer axes, the additional measurements of the acceleration due to gravity may be determined. Since the gravity vector and the Earth magnetic vectors normally point in different directions (except very near the magnetic poles), the gravity and magnetic vectors can be used to define a local coordinate system that can be determined by the sensor measurements, e.g. z-down, magnetic north, east coordinate system.
Equations for accelerometer measurements are similarly straight forward:
A=Axî′+Ayĵ′+Az{circumflex over (k)}′ Eq. (26)
A=√{square root over (Ax2+Ay2+Az2)} Eq. (27)
where A is the magnitude of the measured magnitude of the gravitational field. A is the measured acceleration due to gravity vector. However, physical accelerometers generally have systemic error sources, a. This systemic errors modifies the measured acceleration similarly to the magnetizer systemic errors discussed above. Thus, corrected acceleration measurements may be written as:
G=A−a Eq. (28)
where G is a true gravitational field strength, A is a measured gravitation field strength, and a is a correction vector for the accelerometers. The correction vector for the gravitational field strength may thus be given by
{right arrow over (G)}=(Ax−ax)î′+(Gy−ay){circumflex over (j)}′+(Gz−az){circumflex over (k)}′
The magnitude of the correction vector for the gravitational field may therefore be given as:
G=√{square root over ((Ax−ax)2+(Ay−ay)2+(Az−az)2)} Eq. (29)
where the Ax, Ay and Az are the individual accelerometer measurements, and ax, ay and az are the components of the correction vector. The tool inclination from vertical with accelerometer bias is then written as:
and the rotation angle to high side becomes:
Since the Earth's gravity vector and the magnetic vectors normally point in different direction, (except very near the magnetic poles) the gravity and magnetic vectors can be used to define a z-down, magnetic north, east coordinate system, NED. With these two defined coordinate systems, the magnetic inclination and the borehole azimuth may be determined. The magnetic inclination can be used as a quality check once tool biases have been resolved.
In one embodiment, the measured Earth's field is corrected to substantially equal the Earth's field. From Eq. (23)
0=M−B−b Eq. (32)
From Eq. (28):
0=A−G−a Eq. (33)
Equations (32) and (33) may be solved to estimate the correction vectors a and b. The systemic error sources and the acceleration and anomalous magnetic fields are contained in the correction terms. However, vectors a and b also appear in calculations of the sensor orientation. Thus, the magnitude of the error depends on the magnitude of the sensor correction vectors. This may be formalized into a matrix equation of the form
D=Ψ(a) Eq. (34)
where D is a data vector, Ψ is a matrix operator and a is a correction vector. Since we are making three independent measurements, the data vector D has dimensions of N×3 (N rows and 3 columns) matrix where N is the number of data points. Since we are interested in solving for the model vector, a, we may invert Eq. (33) to obtain:
a=(Ψ(D))−1 Eq. (35)
The inversion shown in Eq. (33) is generally a non-linear inversion. However, a linear inverse problem may be posed as the generalized Lanczos inverse:
a=(ΨTΨ)−1ΨTD Eq. (36)
A residual vector is defined for accelerometers as follows:
ε=A−Ψ(a) Eq. (37)
A residual vector is defined for magnetometers as follows:
ε=M−Ψ(b) Eq. (39)
where G and B are the magnitudes of the Earth's gravitational and magnetic fields respectively. And the residual vector ε is the error for each component of the data vectors, and can be represented as either an N×3 array or 3N×1 vector. Equations (37)-(40) may be combined into a single six parameter model. The methods disclosed herein reduce or minimize residual error. Using a non-specific terminology of the form of Eqs. (37) and (38), magnitude of the error may be computed by a sum of the squares of the errors in each component, which in matrix notation is given by εTε. The condition for a minimum is:
where the derivatives imply partial differentiation over the components of the model vector a. Equation (37) may be solved, using the Levenberg-Marquardt method
(JkTJk+λI)·pk=JkTεk Eq. (42)
where J is the Jacobian, I is the identity matrix, λ is a non-negative scalar damping parameter, and the equation is evaluated at the kth iteration and Pk is the step direction at the kth iteration. The larger λ is, the greater the damping effect. The choice for the damping parameter is subjective and data set dependent, and can nominally vary from zero to very large (mathematically to infinity). The Jacobian is defined as:
where M is the number of model parameters and the Jacobian is evaluated at each data point i. The problem may be solved recursively using the recursion relation
Δam=(JT·j+λI)−1jT·εm Eq. (44)
where m is an iteration counter, λ is a damping factor, and Δa is an update vector. The new model estimate becomes
{right arrow over (a)}m={right arrow over (a)}m+{right arrow over (Δa)}m where {right arrow over (a)}m=0=initial solution estimate Eq. (45)
and the initial estimate for a is an educated guess. The guess is normally based on some knowledge of the expected solution values and the expected range of values expected for a solution. The method iterates until the residual vector reaches some predetermined tolerance, or the iteration count has been exceeded, in which case the solution did not converge or converged too slowly. The damping factor λ has the effect of a low pass filter and decreases the variability of the model from iteration to iteration, and helps to stabilize the solution.
From equations (7) and (8), a generic measured field obtained at a sensor set may be given in the tool axes by the equation of the form:
F=SAM+c Eq. (46)
where F is either of the general Earth fields, S is a scale factor matrix, A is a misalignment matric and c is a correction vector. The scale factor matrix is a diagonal matrix provides the correct scale factor to each of the tri-axial measurements:
with Sx=Sy=Sz=1 nominally.
The misalignment matrix A of Eq, (46) describes any misalignment of the x-, y- and z-axes with respect to the tool axis and is given by a triple matrix product of three coordinate rotations, one about each coordinate axis by the misalignment relative to the coordinate system:
A selected sensor orientation to provide scale factor calibration in a rapidly rotating system is the orientation that satisfies the following direction cosine condition: √{square root over (cos2(x)+cos2(y)+cos2(y))}=1, where the angles are the angle from each axis of the sensor orthogonal coordinate system to the rotation axis, x the angle from the x-axis, y the angle from the y-axis, z the angle from the z-axis, subject to the condition that the angles satisfy x=y=z, then √{square root over (3 cos2(x)=1)}, and x=1/√{square root over (3)}≅54.7356°.
By defining our coordinate system such that the z-axis is not misaligned, that is, it is perfectly aligned with our sensor coordinate system, the misalignment reduces to
which becomes
In noting that the misalignments are very small, small angle approximations may be applied: (cos(α)≅1, sin(α)≅α) to obtain
Now we redefine A, such that
and
Eq. (46) may then be rewritten as
F=S[I+A]M+c Eq. (53)
From equations (37)-(40) we have:
ε=A−Ψ(a) Eq. (54)
where we have substituted the symbol A for the misalignment to avoid confusion for the gravity field measurement A.
Σ=M−Ψ(b) Eq. (56)
The problem to be solved has been extend to include scale factor and axes misalignment; therefore, the Eqs. (32) and (33) may thus be rewritten as:
0=M−S[I+A]B(δ,ψ,φ,θ)−b Eq. (58)
0=A−S[I+Λ]G(δ,ψ)−a Eq. (59)
where
and
for the magnetometers and accelerometers respectively. The functional dependencies of B and G have been added to the notation for emphasis.
The method described above for the correction vector may be applied to determine the correction vector, which essentially shifts the origin to (0,0). Using corrected data, the method may solve for the scale factor and then use the scale factor corrected data to correct for the misalignment, or vice versa. Several iterations may be used. The number of iterations may be reduced after a few acquisition cycles by pre-correcting scale factor and misalignment updates with the latest correction values.
Since accelerometer solutions do not rely on any magnetometer data, the accelerometer corrections may be determined first, then used to solve the magnetometer data. Eqs. (58) and (59) describe the systems of equations that are to be solved. These methods may be extended to include temperature errors, using temperature coefficients, e.g. bx=0bx+TbxT.
Magnetometer Correction Using an Extended Kalman Filter
In one embodiment, systemic magnetometer measurement errors may be determined using a method of an Extended Kalman Filter (EKF) in a rapidly rotating system. The EKF enables the correction of bias, scale factor and misalignment errors on x-oriented and y-oriented magnetometers during the data acquisition process. The EKF also enables a scale factor for the x-directed and y-directed magnetometers to be equalized so that the relative scale errors or sensitivities among the x- and y-oriented magnetometers do not affect toolface angle calculations. Due to use of the EKF, an estimated bias uncertainty may be available after each magnetometer measurement is obtained. Thus, an operator may be able to specify a selected level of accuracy and select that no output be given if this level is not achieved. Thus, the operator may ensure down hole calibration of the x- and y-oriented magnetometers to a specified level of accuracy at any inclination and/or azimuth of the drill string. In an exemplary embodiment, the specified level of accuracy may be less than about 10 nanoTesla.
Equations (56)-(59) disclose an exemplary model of determining actual magnetometer measurements from measurement magnetic field values. The measured magnetic field obtained at a magnetometer may be given in the tool axes by the equation (F=S[I+A]M+c where the nomenclature has been modified to this particular method:
BmTF=S[I+M]BTF+b Eq. (62)
where BTF is the true or actual value of the magnetic field, S is a scale factor matrix whose components are related to the scales of the tri-axial magnetometer components and is given by
with Sx=Sy=Sz=1 nominally. Matrix M in Eq. (1) describes any misalignment of the x-axis and the y-axes with respect to the tool axis and is given by
Vector b in Eq. (57) is a bias vector related to the tool bias of the magnetometer and is given as:
Some of these error parameters (i.e., scale factor S, misalignment M, bias b, etc.) may be estimated base on the knowledge that magnetic measurements of Bz and √{square root over (Bx2+By2)} are constant values for a magnetometer rotating at a selected depth. Due to unknown tool orientation and rotation angles, the proper values of the constant magnetic measurements Bz and √{square root over (Bx2+By2)} may not be available. However, the EKF method is able to process pseudo-measurements that are a difference between the estimates of the (unknown) constant values of the surrounding magnetic field and corrected radial and axial magnetic field values.
Eq. (62) may be solved for BTF to first order to obtain:
(S[I+M])−1(BmTF−b)=(S[I+M])−1(S[I+M])BTF
BTF=(S[I+M])−1(BmTF−{right arrow over (b)})
BTF≈[S−1−M]BmTF−b Eq. (66)
Thus, the true values of the magnetic field BTF may be determined from the measured values BmTF using Eq. (66). It is apparent that not all error terms in Eq. (66) are simultaneously observable from rotation about the z-axis when the rotation angle and tool orientation are unknown. Additionally, Sx and Sy are not simultaneously observable without knowing the radial field strength. However, an average correction to scale factor may be estimated using a single scale correction variable, S. Applying observable corrections to the measurement magnetic field vector, one obtains:
Although the correct values of Bz and √{square root over (Bx2+By2)} are considered to be unknown due to the unknown orientation of the tool, these values are constant during the rotation about the z-axis. Thus, these correct values may be processed in an Extended Kalman Filter (EKF) to determine the various observable bias, scale and misalignment values. The measurements are formulated based on the components of Eq. (7) as follows:
and
z2=h2(x)+v2=Cz−(Bm
where x is a state vector given by:
and Cxy and Cz are unknown constants representing the actual values of the radial and axial magnetic fields, respectively. Eqs. (68) and (69) are pseudo-measurements, in that they are contrived, and not actually measured. The pseudo-measurement values (Eqs. (68) and (69)) input to the EKF are zero-valued, indicating that
and
Cz=(Bm
Partial derivatives obtained from Eq. (68) are given in the following equations:
Partial derivatives obtained from Eq. (69) are given by the following equations.
where
Partial derivatives not given in the equations (73) and (74) are generally zero. The partial derivative vector of each measurement may be used in the EKF formulation and are given by
Methods for performing the EKF to determine a tool bias are discussed below. In the EKF, xk represents a true value at time tk of the state vector containing the parameters to be estimated. Furthermore, {circumflex over (x)}k− represents an estimate of the state vector at time tk based on measurements obtained up to time tk−1, and {circumflex over (x)}k+ represents an estimate of the state vector at time tk based on all measurements obtained up to time tk. Also, Pk represents a state error covariance matrix. A non-linear measurement therefore has the form
zk=h(tk,xk)+vk Eq. (78)
where h(tk, xk) is a function of the state and vk is noise that is uncorrelated from one measurement to the next. Linearizing about the latest estimate of the state vector yields the following equation:
zk=h(tk,{circumflex over (x)}k−)+HΔxx+ . . . +vk Eq. (79)
in which
is the measurement partial derivative matrix evaluated at the latest measurement, and
Δxx=xk−{circumflex over (x)}k− Eq. (81)
Rearranging Eq. (79) and obtaining an expectation of the truncated first-order expansion yields the measurement residual
yk=zk−−+{circumflex over (v)}k−≈zk−h(tk,{circumflex over (x)}k−) Eq. (82)
Updating the EKF measurements includes the information from the latest measurements into the state vector estimate. Updating the EKF is performed using:
K=Pk−HT[HPk−HT+Rk]−1
{circumflex over (x)}k+={circumflex over (x)}k−+Kyk
Pk+=(I−KH)Pk− Eqs. (83)
where
Rk=E[vk2] Eq. (84)
and the partial derivative may given by:
In box 309, the Kalman gain is determined. The Kalman gain may be determine using a DeVries formulation governed by the equations:
T1=Pk−HT Eq. (86)
T2=HT1+Rk Eq. (87)
K=T1T2− Eq. (88)
In box 311, the state vector estimate and the covariance is determined. The state vector estimate and covariance maybe determined via the De Vries formulation, wherein:
{circumflex over (x)}k+={circumflex over (x)}k−+Kyk Eq. (89)
T
4
=T
3
K
T Eq. (91)
Pk+=Pk−+T4+T4T Eq. (92)
In box 313, it is determined whether the tool bias values have converged. The square root of the diagonal elements of the Pk+ matrix may be compared to a selected convergence threshold to determine convergence. If a square root of the diagonal elements is within the selected convergence threshold, the EKF is considered to have converged. If convergence has not been achieved, the EKF method returns to box 303 with the vectors updated, such that:
k=k+1 Eq. (93)
{circumflex over (x)}k−={circumflex over (x)}k+1+ Eq. (94)
Pk−=Pk−1+ Eq. (95)
Systemic Sensor Error Correction for Sensor Biases and Magnetic Interference
Accelerometer Error Corrections
For a slowly rotating system, a Jacobian method such as described in Eqs. (37)-(41) may be used. Using Eq. (41) where H represents a gravitational acceleration variable:
The equation for Ψ(a) given by Eq. (38) may be differentiated to obtain:
The Jacobian may then be determined to be:
And
A=√{square root over (ax2+ay2+az2)} Eq. (100)
where and the Jacobian is shown as three columns of the 3×3 Jacobian matrix, j is the iteration number, i is the data sample number, the A, ax, ay and az are the corrected acceleration components at iteration j for each data point i, and the relative bearing, ψi and the deviation, δi, are recomputed using the updated acceleration components at iteration j; that is, the updated accelerations: ax=ai,x+aj,x, ay=ai,y+aj,y and az=ai,z+aj,z. And the aj are the current bias vector solution.
Magnetometer Error Corrections
For a slowly rotating system, a Jacobian method such as described in Eqs. (37)-(41) may be used. Using Eq. (41) where H represents a magnetic measurement variable
The Jacobian may be solve using the equation for Ψ(b) given by Eq. (40) to obtain
where j is the iteration number, and i is the data sample number, a(b) and b(b) are the numerator and denominator of the argument of the arc tangent in the equation for the drift azimuth and
a(b)=A{Ax(My−by)−Ay(Mx−bx)]
b(b)=Az[Ax−(Mx−bx)+Ay(My−by)]−(Mz−bz)·(Ax2+Ay2)]
and the Jacobian is shown as three columns of the 3×3 Jacobian matrix. Defining following temporary variables will simplify the magnetic field Jacobian matrix:
αi=cos ψi cos δi cos θ
βi=−cos ψi sin δi sin θ
γi=−sin ψi cos θ
εi=sin ψi cos δi cos θ
ωi=−sin ψi sin δi sin θ
ξi=cos δi cos θ
τi=sin δi cos θ
χi=cos δi cos θ
And substituting into the Jacobian
where i is the data sample number and j is the iteration number. Taking the transpose of the equations gives the final solution for the Jacobian matrix.
Ji,j,x=Be(αia(bj)−γib(bj))[Gi,j,x−Gi,j,y−Gi,j,z]+[1 0 0]
Ji,j,y=Be(εia(bj)−ξib(bj))[Gi,j,xGi,j,yGi,j,z]+[0 1 0]
Ji,j,x=Beτia(bj)[Gi,j,xGi,j,y−Gi,j,z]+[0 0 1]
These equations produce an N×3 or 3N×1 Jacobian matrix depending on implementation details.
An exemplary method for determining an error is discussed below. The Earth's magnetic field, an inclination of the Earth's magnetic field and an Earth's gravitational field strength are obtained at the test site. These may be obtained either by direct measurement or from a model such as the IGRF and the WGS-84 gravitational field model. The accelerometer data is filtered to precondition the accelerometer data. The magnetometer data is filtered to precondition the magnetometer data. Orientation data is computed using the obtained data. The method for computing orientation data is described below.
An initial guess of the orientation is made. A suitable initial guess may be an orientation parallel to the longitudinal axis of the tool string. Such guess may be given by
for example.
A residual vector ε is computed. Using a recursion relation, an updated model vector as shown in Eq. (104) is computed. A matrix inversion may be performed by any of several methods, for example Singular Value Decomposition, LU Decomposition, Gaussian Elimination, etc.
Δbm=(JT·J+λI)−1JT·εm Eq. (104)
The model vector may then be updated via Eq. (105).
{right arrow over (b)}m={right arrow over (b)}m+{right arrow over (Δb)}mI Eq. (105)
where {right arrow over (b)}m=0 is an initial solution estimate. If the magnitude of the update vector |ε| is greater than a convergence tolerance, and an iteration count is less than a preselected maximum, a new residual vector may be selected and Eqs. (104) and (105) repeated. Upon achieving an computed model vector, drift azimuth, magnetic inclination and magnetic field strength may be computed.
The methods disclosed above with respect to Eqs. (104) and (105) are further discussed with respect to two cases.
Case 1 processes the entire data interval and estimates a constant component of the tool string's magnetic field for non-constant tool. This method determines all or most of the tool string magnetization. In Case 1 a largest valid data range is selected and processes over the entire selected interval as a single data set. Case 1 uses only one execution of the basic algorithm.
Case 2 processes very short intervals, 1<t<<L, where L may be the number of data acquisition points over which an anomaly is observed, after the constant field component correction yields the time or spatially dependent magnetic disturbance. The length of the interval is generally greater than one data point, and may be determined by a log analyst and/or interpreter.
Case 2 selects a processing interval, e.g. 0.1 to 1 ft or longer. Shorter intervals will have higher resolution and higher noise. The interval will be processed according to the basic methods, steps described with respect to Eqs. (101)-(104) and the initial guess for a given interval will be the solution from the previously-determined interval. The intervals may be processed by stepping to an entirely new interval after convergence (or non-convergent exit) or a sliding solution may be developed where the next value is calculated by stepping along the data by one (or more) data points after each solution, producing a continuous, variable output data set. By control of the damping parameter and the convergence tolerance, the noise level in the solution data set can be reduced (hopefully to acceptable levels). The noise level in the solution is ultimately determined by noise sources in the sensor and associated electronics and processing. Analysis techniques such as linear regression of the log of the residual data set will determine the time decay of the tool string magnetization. If the tool magnetization gets reset, each interval between resets will need to be processed separately. At this point the tool string magnetization can be effectively removed. By subtracting the constant and decay elements of the tool string magnetization from the original measurements, only the Earth and borehole magnetic field remain (and, of course, noise). Subtracting the rotated Earth's magnetic field from the corrected measured data produces a magnetic anomaly data set along the borehole trajectory. By performing the inverse rotation used to get the Earth field into tool body coordinates, the magnetic anomaly field can be placed into the Earth's North, East and Down coordinate system.
If the anomalous data set has sufficient resolution and the anomalous field is strong enough (as in volcanic formations), then the paleomagnetic record could be used with the data set to determine the age of the formation.
In one embodiment, magnetometer and accelerometer measurements may be obtained during a logging operation or during a wireline tripping operation. Tripping may provide angular rotation of the wireline tool. Thus, the method of magnetic anomaly extraction disclosed herein may be a post-processing method. Once the wireline has been tripped out of the wellbore, tool bias error may be determined over the entirety or substantially the entirety of the logging operation. Processing the entire data interval estimates a constant component of the tool string magnetic field, thereby determining most or all of the tool string magnetization.
In another embodiment, the determined constant field component or tool bias may be applied to a shorter interval in order to determine local or time-dependent magnetic disturbances within the interval.
Tool Bias Correction Using a Min-Max Method
The min-max method employs a method in which a magnetometer tool bias is determined using a reading of the sensors, i.e., magnetometers, as the tool is oriented along one direction, generally a top-side direction, and as the tool is oriented along an opposed direction, generally anti-parallel to the top-side direction. As the magnetometer rotates, the measurement of the constant field of the earth in this formation is measured over a 360 degree angle. During the rotation, the measurement of the formation field passes through a maximum value and a minimum value, and at position 90 degrees before and after these maximum and minimum values, the output is substantially zero. The difference between the absolute value of the maximum and the absolute value of the minimum may be attributed to bias error of the magnetometer. Therefore determining the difference between the maximum value obtained during one revolution of the drill string and the minimum value obtained during the same revolution of the drill string can yield an estimated value which is twice the bias error attributable to the magnetometer.
During revolution of the drill string, magnetometer measurements are obtained at a selected sampling frequency. The sampling should be fast enough to assure that peak magnetometer values can be captured at the maximum anticipated rotation speed. Generally, 200 Hz and 1000 Hz sampling is adequate for typical drilling dynamic motion. Slower sampling may miss the peak values, and result in erroneous dynamic corrections. Each measurement is compared to a current maximum value of the measurement and a current minimum value of the measurement. If the measurement is greater than the current maximum value, then the current maximum value is updated. Similarly, if the measurement is less than the current minimum value, then the current minimum value is updated. Once the drill string has obtained measurements samples over at least 360 degrees of revolution, the difference between the minimum and maximum values may be determined to represent the tool bias of the magnetometer.
During the measurement process, the drill string is susceptible to various drilling dynamics, including stick-slip, which may prevent uniform rotation of the drill string tool over a selected time duration and may even contribute to the drill string rotating in an opposite direction.
In various aspects, the min-max method applies a quality check to the magnetometer measurements that are used in determining the bias correction of the magnetometer. In one embodiment, the min-max method determines when the tool string, and hence the magnetometer, has rotated into a quadrant and records a count of a number of quadrants through which the drill string has rotated. Counting the number of quadrants provides a check to ensure that the magnetometer has rotated a full 360 degrees from a selected starting angle from which calibration measurements have been measured. In one embodiment, the min-max method concludes that measurements have been obtained over a full 360 degrees of revolution when a count of six sequential quadrants is recorded along any selected formation direction (i.e., either a clockwise direction or a counter-clockwise direction). Due to differences between quadrant count and the angle at which a magnetometer measurement is taken, a count of five quadrants count may not ensure that magnetometer measurements have been obtained over a full 360 degree angle. Thus, counting six quadrants ensures that magnetometer measurements have been obtained over a full 360 degree angle.
Entering a new quadrant may be determined by recording a sign of the measurements obtained from the x- and y-directed magnetometer components of the measured magnetic field. As the tool rotates, the signs change in a well-understood sinusoidal manner. A minimum threshold value may be established for the magnetometer measurements in the quadrant transition detection step to eliminate false triggering of this event due to measurement noise. Thus, a quadrant may be counted as the tool passes through the quadrant and obtains measurements from the quadrant in excess of the threshold. The min-max method resets the count of the quadrants when the x- and y-magnetometer reading indicate that the drill string has rotated backwards into a previously-counted quadrant.
In various embodiments, a time period for obtaining a count of six sequential quadrants may be set. Therefore, if six quadrants are not counted within the selected time period, an error message may be sent to an operator and/or the min-max calibration method may be shut down and/or restarted. The intent is to prevent the system from applying bias corrections that may be erroneously determined.
Once six quadrants have been successfully counted, thereby ensuring that measurements have been obtained over an entire revolution of the drill string, the minimum and maximum measurement values obtained over the revolution are examined. As an additional quality verification, the min-max difference is compared to a threshold value to ensure that real rotation has occurred, and not just random noise. The threshold is generally set to a value above the noise level, and is representative of the min-max difference which would be observed on X and Y magnetometers in a minimum real signal situation. An exemplary real signal situation may be, for example, rotating at a tool orientation aligned at least one degree away from the earth's magnetic vector. The verified min-max values may be used to determine a magnetometer tool bias, which may then be used to correct magnetometer measurements.
Therefore, in one aspect, the present disclosure provides a method of correcting measurements obtained by a down hole tool for residual measurement errors, the method including: disposing the tool having at least two directional field sensors in a borehole, wherein the at least two directional sensors are substantially orthogonal to each other and to a longitudinal axis of the down hole tool; obtaining measurements from the at least two directional sensors during rotation of the tool by at least 360 degrees around the longitudinal axis of the tool; determining residual measurement errors for the obtained measurements; selecting a quality level of the determined residual measurement errors; and applying the determined residual measurement errors to the obtained measurements when the determined residual measurement errors are consistent with the selected quality level. In one embodiment, the residual measurement errors may be determined using an Extended Kalman Filter (EKF). The EKF may determine the residual measurement error between an actual value of a down hole magnetic field and the obtained measurements. The residual measurement errors using the EKF method without obtaining knowledge of a total down hole magnetic field. In another embodiment, the measurement errors may be determined by determining a maximum and a minimum of a plurality of magnetometer measurements obtained during a rotation of the at least two direction sensors through the at least 360 degrees about the longitudinal axis. Counting at least six quadrants in a selected rotational direction may determine successful rotation through the at least 360 degrees. In another embodiment, the residual measurement error may be determined by: obtaining magnetometer and accelerometer measurements at the tool; determining a transformation variables using the magnetometer and acclereometer measurements; transforming standard values of at least one of an earth's magnetic field and an earth's gravitational field into a reference frame of the tool using the determined transformation variables; and determining the residual measurement error from a difference between the magnetometer and accelerometer measurements and the transformed standard values of the earth's magnetic field and the earth's gravitational field. Adjusted values of the transformation variables may then be used to transform the standard values of at least one of an earth's magnetic field and an earth's gravitational field into a reference frame of the tool in order to iterate determining the tool bias. In one embodiment, the magnetometer and accelerometer measurements may be obtained at the tool while tripping.
In another aspect, the present disclosure provides a system for drilling a wellbore, the system including: a down hole tool conveyed on a drill string; a magnetometer disposed on down hole tool, the magnetometer including at least magnetometer component sensors that are substantially orthogonal to each other and to a longitudinal axis of the drill string; and a processor configured to: obtain measurements from the at least two directional sensors during rotation of the tool by at least 360 degrees around the longitudinal axis of the tool; determine residual measurement errors for the obtained measurements; select a quality level of the determined residual measurement errors; and apply the determined residual measurement errors to the obtained measurements when the determined residual measurement errors are consistent with the selected quality level. In one embodiment, the processor may further determine the residual measurement errors using an Extended Kalman Filter (EKF). Using the EKF, the processor may determine residual measurement error between an actual value of a down hole magnetic field and the obtained measurements. The processor may determine the residual measurement errors without obtaining knowledge of a total down hole magnetic field. In another embodiment, the processor may determine the measurement errors by determining a maximum and a minimum of a plurality of magnetometer measurements obtained during a rotation of the at least two direction sensors through the at least 360 degrees about the longitudinal axis. The processor may count rotation of the tool through at least six quadrants in a selected direction in order to determine rotation through the at least 360 degrees. In another embodiment, the processor may determine the residual measurement errors by performing the steps of: obtaining magnetometer and accelerometer measurements at the tool; determining a transformation variables using the magnetometer and acclereometer measurements; transforming standard values of at least one of an earth's magnetic field and an earth's gravitational field into a reference frame of the tool using the determined transformation variables; and determining the residual measurement error from a difference between the magnetometer and accelerometer measurements and the transformed standard values of the earth's magnetic field and the earth's gravitational field. The processor may determine adjusted values of the transformation variables and transform the standard values of at least one of an earth's magnetic field and an earth's gravitational field into a reference frame of the tool using the adjusted values of the transformation variables. The processor may further to obtain the magnetometer and accelerometer measurements at the tool while tripping a tool out of a borehole.
In yet another aspect, the present disclosure provides a computer-readable medium having a set of instruction stored therein that are accessible to a processor in order to enable the processor to perform a method, the method including: receiving measurements from at least two directional field sensors in a borehole, wherein the at least two directional sensors are substantially orthogonal to each other and to a longitudinal axis of the down hole tool during rotation of the tool by at least 360 degrees around the longitudinal axis of the tool; determining residual measurement errors for the obtained measurements; selecting a quality level of the determined residual measurement errors; and applying the determined residual measurement errors to the obtained measurements when the determined residual measurement errors are consistent with the selected quality level. In one embodiment, the method further includes determining the residual measurement errors using an Extended Kalman Filter (EKF) applied between an actual value of a down hole magnetic field and the obtained measurements. In another embodiment, the method further includes determining the measurement errors by determining a maximum and a minimum of a plurality of magnetometer measurements obtained during a rotation of the at least two direction sensors through the at least 360 degrees about the longitudinal axis, wherein the determination of the at least 360 degrees further comprises obtaining a count of six quadrants during a rotation of the sensors. In yet another embodiment, the method may further include: obtaining magnetometer and accelerometer measurements at the tool; determining a transformation variables using the magnetometer and accelerometer measurements; transforming standard values of at least one of an earth's magnetic field and an earth's gravitational field into a reference frame of the tool using the determined transformation variables; and determining the residual measurement error from a difference between the magnetometer and accelerometer measurements and the transformed standard values of the earth's magnetic field and the earth's gravitational field.
While the foregoing disclosure is directed to the certain exemplary embodiments of the disclosure, various modifications will be apparent to those skilled in the art. It is intended that all variations within the scope and spirit of the appended claims be embraced by the foregoing disclosure.
Number | Name | Date | Kind |
---|---|---|---|
4542647 | Molnar | Sep 1985 | A |
5321893 | Engebretson | Jun 1994 | A |
5397893 | Minette | Mar 1995 | A |
5513528 | Holenka et al. | May 1996 | A |
5899958 | Dowell et al. | May 1999 | A |
6227310 | Jamieson | May 2001 | B1 |
6359438 | Bittar | Mar 2002 | B1 |
6529834 | Estes et al. | Mar 2003 | B1 |
6584837 | Kurkoski | Jul 2003 | B2 |
6637524 | Kruspe et al. | Oct 2003 | B2 |
6816788 | Van Steenwyk et al. | Nov 2004 | B2 |
6859727 | Bye et al. | Feb 2005 | B2 |
6882937 | McElhinney | Apr 2005 | B2 |
6966211 | Wu | Nov 2005 | B2 |
7000700 | Cairns et al. | Feb 2006 | B2 |
7080460 | Illfelder | Jul 2006 | B2 |
7114565 | Estes et al. | Oct 2006 | B2 |
7195062 | Cairns et al. | Mar 2007 | B2 |
7252144 | Estes et al. | Aug 2007 | B2 |
7650269 | Rodney | Jan 2010 | B2 |
7962287 | Clark | Jun 2011 | B2 |
8374817 | Boeve et al. | Feb 2013 | B2 |
8473211 | Cheung | Jun 2013 | B2 |
8531180 | Piemonte et al. | Sep 2013 | B2 |
20030158699 | Townsend et al. | Aug 2003 | A1 |
20040061777 | Sadok | Apr 2004 | A1 |
20120245875 | del Castillo et al. | Sep 2012 | A1 |
20130151158 | Brooks | Jun 2013 | A1 |
20150035536 | Tang | Feb 2015 | A1 |
Entry |
---|
Elgizawy, Mohmoud et al.; “Wellbore Surveying While Drilling Based on Kalman Filtering,” American J. of Engineering and Applied Sciences 3 (2), 2010, pp. 240-259. |
Kok, Manon et al.; “Calibration of a magnetometer in combination with inertial sensors,” Proceedings of the 15th International Conference on Information Fusion (FUSION), 2012, pp. 787-793. |
Pang, Hongfeng et aol.; “Calibration of three-axis magnetometers with differential evolution algorithm,” Journal of Magnetism and Magnet Materials 346, 2013, pp. 5-10. |
Number | Date | Country | |
---|---|---|---|
20150331138 A1 | Nov 2015 | US |