# Patent

## Title
Dynamic borehole azimuth measurements

## Abstract

A method for making dynamic borehole azimuth measurements while drilling includes processing cross-axial magnetic field measurements in combination with accelerometer measurements to compute the dynamic borehole azimuth. In one or more embodiments, the cross-axial magnetic field measurements and the accelerometer measurements may be used to compute the magnitude of a cross-axial magnetic field component, a toolface offset, and a borehole inclination, which may in turn be used to compute the dynamic borehole azimuth. The disclosed methods may utilize near-bit sensor measurements obtained while drilling, thereby enabling a near-bit dynamic borehole azimuth to be computed while drilling.

## Background
CROSS REFERENCE TO RELATED APPLICATIONS
None.
FIELD OF THE INVENTION
Disclosed embodiments relate generally to measurement while drilling “MWD” methods and more particularly to a method for making dynamic borehole azimuth measurements while drilling.
BACKGROUND INFORMATION
In conventional measurement while drilling “MWD”, borehole inclination and borehole azimuth are determined at a discrete number of longitudinal points along the axis of the borehole. The discrete measurements may be assembled into a survey of the well and used to calculate a three-dimensional well path (e.g., using the minimum curvature assumption). The use of accelerometers, magnetometers, and gyroscopes are well known in such conventional borehole surveying techniques for measuring borehole inclination and/or borehole azimuth. For example, borehole inclination is commonly derived from tri-axial accelerometer measurements of the earth's gravitational field. Borehole azimuth is commonly derived from a combination of tri-axial accelerometer and tri-axial magnetometer measurements of the earth's gravitational and magnetic fields.
Such static surveying measurements are generally made after drilling has temporarily stopped (e.g., when a new length of drill pipe is added to the drill string). While these static surveying measurements are often sufficient to obtain a well path of suitable accuracy, it is commonly desirable to measure the borehole inclination and borehole azimuth dynamically (i.e., in substantially real time) while drilling as such measurements provide a more timely indication of the drilling direction. Dynamic borehole inclination values may be derived from an axial accelerometer measurement and an estimate (or previous measurement) of the total gravitational field. Such dynamic inclination measurements are commonly made in commercial drilling operations, for example, using the PZIG® and iPZIG® tools available from PathFinder®, A Schlumberger Company, Katy, Tex., USA.
Methods for making dynamic borehole azimuth measurements are also known. For example, the borehole azimuth may be derived while drilling from an axial magnetic field measurement and estimates of at least two local magnetic field components, such as magnetic dip and total magnetic field. This approach and other reported methods suffer from a number of deficiencies and are therefore not commonly implemented. For example, axial magnetic field measurements are particularly sensitive to magnetic interference emanating from nearby drill string components (e.g., including the drill bit, a mud motor, a reaming tool, and the like) rendering the technique unsuitable for near-bit applications. Moreover, the accuracy of the derived azimuth is poor when the azimuth is oriented close to magnetic north or magnetic south. Other reported methods require the use of transverse accelerometer measurements, which are often contaminated by lateral vibration and centripetal acceleration components due to drill string vibration, stick/slip, whirl, and borehole wall impacts.
SUMMARY
Methods for making dynamic borehole azimuth measurements while drilling a subterranean borehole are disclosed. In one or more embodiments, cross-axial magnetic field measurements are utilized to compute a magnitude of a cross-axial magnetic field component, which is in turn used in combination with accelerometer measurements to compute the dynamic borehole azimuth. The accelerometer measurements may include, for example, axial accelerometer measurements or both axial and cross-axial accelerometer measurements (e.g., tri-axial measurements). In one or more embodiments, the cross-axial magnetic field measurements and the accelerometer measurements are used to compute the magnitude of the cross-axial magnetic field component, a toolface offset, and a borehole inclination, which are in turn used to compute the dynamic borehole azimuth.
The disclosed embodiments may provide various technical advantages. For example, methods are provided for determining the dynamic borehole azimuth while drilling. These methods may be utilized in combination with a near bit sensor sub to compute a near bit dynamic borehole azimuth (e.g., within one or two meters from the bit).
This summary is provided to introduce a selection of concepts that are further described below in the detailed description. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used as an aid in limiting the scope of the claimed subject matter.



BRIEF DESCRIPTION OF THE DRAWINGS
For a more complete understanding of the disclosed subject matter, and advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
FIG. 1 depicts one example of a conventional drilling rig on which disclosed methods may be utilized.
FIG. 2 depicts a lower BHA portion of the drill string shown on FIG. 1.
FIG. 3 depicts a flow chart of one disclosed method embodiment.
FIG. 4 depicts a plot of Bx versus By for a set of magnetic field measurements.
FIG. 5 depicts a plot of toolface offset versus the rotation rate of a downhole measurement tool.
FIG. 6 depicts a flow chart of another disclosed method embodiment.



DETAILED DESCRIPTION
FIG. 1 depicts a drilling rig 10 suitable for using various method embodiments disclosed herein. A semisubmersible drilling platform 12 is positioned over an oil or gas formation (not shown) disposed below the sea floor 16. A subsea conduit 18 extends from deck 20 of platform 12 to a wellhead installation 22. The platform may include a derrick and a hoisting apparatus for raising and lowering a drill string 30, which, as shown, extends into borehole 40 and includes a drill bit 32 and a near-bit sensor sub 60 (such as the iPZIG® tool available from PathFinder®, A Schlumberger Company, Katy, Tex., USA). Drill string 30 may further include a downhole drilling motor, a steering tool such as a rotary steerable tool, a downhole telemetry system, and one or more MWD or LWD tools including various sensors for sensing downhole characteristics of the borehole and the surrounding formation. The disclosed embodiments are not limited in these regards.
It will be understood by those of ordinary skill in the art that the deployment illustrated on FIG. 1 is merely an example. It will be further understood that disclosed embodiments are not limited to use with a semisubmersible platform 12 as illustrated on FIG. 1. The disclosed embodiments are equally well suited for use with any kind of subterranean drilling operation, either offshore or onshore.
FIG. 2 depicts the lower BHA portion of drill string 30 including a drill bit 32 and a near-bit sensor sub 60. In the depicted embodiment, sensor sub body 62 is threadably connected with the drill bit 32 and therefore configured to rotate with the drill bit 32. The depicted sensor sub 60 includes tri-axial accelerometer 65 and magnetometer 67 navigation sensors and may optionally further include a logging while drilling sensor 70 such as a natural gamma ray sensor. In the depicted embodiment, the sensors 65 and 67 may be deployed as close to the drill bit 32 as possible, for example, within two meters, or even within one meter, of the drill bit 32.
Suitable accelerometers for use in sensors 65 and 67 may be chosen from among substantially any suitable commercially available devices known in the art. For example, suitable accelerometers may include Part Number 979-0273-001 commercially available from Honeywell, and Part Number JA-5H175-1 commercially available from Japan Aviation Electronics Industry, Ltd. (JAE). Suitable accelerometers may alternatively include micro-electro-mechanical systems (MEMS) solid-state accelerometers, available, for example, from Analog Devices, Inc. (Norwood, Mass.). Such MEMS accelerometers may be advantageous for certain near bit sensor sub applications since they tend to be shock resistant, high-temperature rated, and inexpensive. Suitable magnetic field sensors may include conventional ring core flux gate magnetometers or conventional magnetoresistive sensors, for example, Part Number HMC-1021D, available from Honeywell.
FIG. 2 further includes a diagrammatic representation of the tri-axial accelerometer and magnetometer sensor sets 65 and 67. By tri-axial it is meant that each sensor set includes three mutually perpendicular sensors, the accelerometers being designated as Ax, Ay, and Az and the magnetometers being designated as BX, By, and Bz. By convention, a right handed system is designated in which the z-axis accelerometer and magnetometer (Az and Bz) are oriented substantially parallel with the borehole as indicated (although disclosed embodiments are not limited by such conventions). Each of the accelerometer and magnetometer sets may therefore be considered as determining a plane (the x and y-axes) and a pole (the z-axis along the axis of the BHA).
By convention, the gravitational field is taken to be positive pointing downward (i.e., toward the center of the earth) while the magnetic field is taken to be positive pointing towards magnetic north. Moreover, also by convention, the y-axis is taken to be the toolface reference axis (i.e., gravity toolface T equals zero when the y-axis is uppermost and magnetic toolface M equals zero when the y-axis is pointing towards the projection of magnetic north in the xy plane). Those of ordinary skill in the art will readily appreciate that the magnetic toolface M is projected in the xy plane and may be represented mathematically as: tan M=Bx/By. Likewise, the gravity toolface T may be represented mathematically as: tan T=(−Ax)/(−Ay). Those of skill in the art will understand that the negative signs in the gravity toolface expression arise owing to the convention that the gravity vector is positive in the downward direction while the toolface angle T is positive on the high side of the borehole (the side facing upward).
It will be understood that the disclosed embodiments are not limited to the above described conventions for defining borehole coordinates. It will be further understood that these conventions can affect the form of certain of the mathematical equations that follow in this disclosure. Those of ordinary skill in the art will be readily able to utilize other conventions and derive equivalent mathematical equations.
The accelerometer and magnetometer sets are typically configured for making downhole navigational (surveying) measurements during a drilling operation. Such measurements are well known and commonly used to determine, for example, borehole inclination, borehole azimuth, gravity toolface, and magnetic toolface. Being configured for making navigational measurements, the accelerometer and magnetometer sets 65 and 67 are rotationally coupled to the drill bit 32 (e.g., rotationally fixed to the sub body 62 which rotates with the drill bit). The accelerometers are also typically electronically coupled to a digital controller via a low-pass filter (including an anti-aliasing filter) arrangement. Such “DC coupling” is generally preferred for making accelerometer based surveying measurements (e.g., borehole inclination or gravity toolface measurements). The use of a low-pass filter band-limits sensor noise (including noise caused by sensor vibration) and therefore tends to improve sensor resolution and surveying accuracy.
While FIG. 2 depicts a tool configuration including tri-axial accelerometer 65 and magnetometer 67 sets, it will be understood that the disclosed embodiments are not limited in this regard. In particular, methods are disclosed for making dynamic borehole azimuth measurements without the use of axial (z-axis) magnetic field measurements. Disclosed methods may therefore also make use of a cross-axial magnetometer set (x- and y-axis magnetometers) or even a single cross-axial magnetometer.
FIG. 3 depicts a flow chart of one example of a method 100 for making dynamic borehole azimuth measurements while drilling. Navigational sensors are rotated in a borehole at 102, for example, while drilling the borehole (by either rotating the drill string at the surface or rotating the drill bit with a conventional mud motor). The navigational sensors may include a tri-axial accelerometer set and a tri-axial magnetometer set, for example, as described above with respect to FIG. 2 (although the disclosed embodiments are not limited in this regard). Moreover, the sensors may be deployed as close to the bit as possible, for example, in a near-bit sensor sub as is also described above with respect to FIGS. 1 and 2.
Accelerometer and magnetometer measurements are made at a predetermined time interval at 104 while rotating in 102 (e.g., during the actual drilling process) to obtain corresponding sets (or arrays) of measurement data. In one example, the measurements include at least axial accelerometer measurements (Az) and first and second cross-axial magnetometer measurements (Bx and By). In another example, the measurements include tri-axial accelerometer measurements (Ax, Ay, and Az) and first and second cross-axial magnetometer measurements.
The cross-axial magnetometer measurements are processed at 106 to compute a magnitude of a cross-axial magnetic field component Bxy. The accelerometer measurements and the magnitude of the cross-axial magnetic field component are further processed at 108 to obtain the dynamic borehole azimuth. For example, as described in more detail below, the dynamic borehole azimuth may be computed from an axial accelerometer measurement and the magnitude of the cross-axial magnetic field component. In another example, the dynamic borehole azimuth can be computed from tri-axial accelerometer measurements and the cross-axial magnetic field component. These computations do not require an axial magnetic field measurement.
In one aspect, a method for making a dynamic borehole azimuth measurement while rotating a downhole measurement tool in a borehole includes: (a) rotating a downhole tool in the borehole, the downhole tool including a cross-axial magnetic field sensor and an axial accelerometer; (b) obtaining a set of cross-axial magnetic field measurements and a set of axial accelerometer measurements while the downhole tool is rotating in (a); (c) processing the set of cross-axial magnetic field measurements obtained in (b) to compute a magnitude of a cross-axial magnetic field component; and (d) processing the magnitude of the cross axial magnetic field component computed in (c) and the set of axial accelerometer measurements obtained in (b) to compute the dynamic borehole azimuth.
In another aspect a method for making a dynamic borehole azimuth measurement while rotating a downhole measurement tool in a borehole includes (a) rotating a downhole tool in the borehole, the downhole tool including a cross-axial magnetic field sensor, an axial accelerometer, and a cross-axial accelerometer; (b) obtaining a set of cross-axial magnetic field measurements, a set of axial accelerometer measurements, and a set of cross-axial accelerometer measurements while the downhole tool rotates in (a); (c) processing the set of cross-axial magnetic field measurements obtained in (b) to compute a magnitude of a cross-axial magnetic field component; and (d) processing the magnitude of the cross axial magnetic field component computed in (c) and the set of axial accelerometer measurements and the set of cross-axial accelerometer measurements obtained in (b) to compute the dynamic borehole azimuth.
With continued reference to FIG. 3, the accelerometer and magnetometer measurements made at 104 may be made at a rapid time interval so as to provide substantially real-time dynamic borehole azimuth measurements. For example, the time interval may be in a range from about 0.0001 to about 0.1 second (i.e., a measurement frequency in a range from about 10 to about 10,000 Hz). In one embodiment a time interval of 10 milliseconds (0.01 second) may be utilized. These measurements may further be averaged (or smoothed) over longer time periods as described in more detail below.
The magnitude of the cross-axial magnetic field component may be obtained from the cross-axial magnetic field measurements Bx and By, for example, as follows:

Bxy=√{square root over (Bx2+By2)}  Equation 1

An average Bxy value may be computed, for example, by averaging a number of measurements over some predetermined time period (e.g., 30 seconds). Such averaging tends to remove oscillations in Bxy caused by misalignment of the sensor axes. Averaging also tends to reduce measurement noise and improve accuracy.
The magnitude of the cross-axial magnetic field component may alternatively be obtained from the sets of cross-axial magnetic field measurements as follows:

Bxy=√{square root over (2·σBx·σBy)}  Equation 2

where σBx and σBy represent the standard deviations of a set of Bx and By measurements made over several complete rotations of the tool (e.g., in a 30 second time period during normal drilling rotation rates).
It may be advantageous in certain applications or tool configurations to remove DC offset and scale factor errors from the measured Bx and By values. This may be accomplished, for example, via plotting Bx versus By for a set of measurements (e.g., 3000 measurements made over a 30 second time period). FIG. 4 depicts an example of one such plot in which the center location 116 represents the DC offset errors for Bx and By and the radius of the circle 118 represents Bxy. In the depicted example, the offset values are small as compared to the radius. In the absence of scale errors and misalignments, the plot is a perfect circle. The presence of these errors tends to result in an elliptical plot in which the relative scale errors and misalignments may be estimated from the values of the major and minor axes of the ellipse.
More rigorous least squares analysis may also be used to find and remove errors due to various biases, scale factors, and non-orthogonality of the computed Bxy. For example, parameter values may be selected that minimize the following mathematical equation:

Σ[√{square root over (Bxc2+Byc2)}−Bxy]2  Equation 3

where Bxc and Byc represent corrected Bx and By measurements after the corrections have been applied and Σ represents the summation over all samples in the interval. This method is similar to that taught by Estes (in Estes and Walters, Improvement of Azimuth Accuracy by Use of Iterative Total Field Calibration Technique and Compensation for System Environment Effects, SPE Paper 19546, October, 1989). These corrections may be applied using either uphole or downhole processors. Other similar approaches are also known to those of ordinary skill in the art.
In embodiments in which the magnetometers are deployed in close proximity to a mud motor, Bxy may be attenuated due to an induced magnetization effect in the motor. Due to its high magnetic permeability, the magnetic field may be distorted near the motor thereby causing a portion of the total cross-axial flux to by-pass the magnetometers. While this effect is commonly small, it may be advantageous to account for such attenuation. Three-dimensional finite element modeling indicates that the attenuation can be on the order of a few percent when the magnetic field sensors are deployed within a foot or two of the motor. For example, when the sensors are axially spaced by about 11 inches from the motor, the attenuation is estimated to be about 3 percent for a 4.75 inch diameter motor, about 5 percent for a 6.75 inch diameter motor, and 7 percent for an 8 inch diameter motor.
Upon obtaining the cross-axial magnetic field component Bxy and an axial accelerometer measurement, the borehole azimuth Azi may be computed, for example, as follows:




  
    
      
        
          cos
          ⁢
          
            
          
          ⁢
          Azi
        
        =
        
          
            
              
                
                  
                    B
                    2
                  
                  -
                  
                    B
                    xy
                    2
                  
                
              
              B
            
            -
            
              
                
                  A
                  z
                
                G
              
              ⁢
              sin
              ⁢
              
                
              
              ⁢
              D
            
          
          
            
              sin
              ⁡
              
                [
                
                  arccos
                  ⁡
                  
                    (
                    
                      
                        A
                        z
                      
                      G
                    
                    )
                  
                
                ]
              
            
            ⁢
            cos
            ⁢
            
              
            
            ⁢
            D
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        4
      
    
  




where Az represents an axial accelerometer measurement, G represents the magnitude of the earth's local gravitational field, B represents the magnitude of the earth's local magnetic field, and D represents the local magnetic dip angle.
Those of ordinary skill in the art will readily be able to obtain values for the magnetic reference components B and D, for example, from local magnetic surveys made at or below the earth's surface, from measurements taken at nearby geomagnetic observatories, from published charts, and/or from mathematical models of the earth's magnetic field such as the International Geomagnetic Reference Field “IGRF”, the British Geological Survey Geomagnetic Model “BGGM”, and/or the High Definition Geomagnetic Model “HDGM”. The reference components may also be obtained from a non-rotating (static) survey, for example, using sensors spaced from magnetic drill string components and methods known to those of ordinary skill in the art.
The reference component G may also be obtained, for example, using geological surveys, on-site surface measurements, and/or mathematical models. The magnitude of the earth's local gravitational field G may also be obtained from static accelerometer measurements made downhole, e.g., via G=√{square root over ((Ax2+Ay2+Az2))}. The disclosed embodiments are not limited to any particular methodology for obtaining B, D, or G.
In an alternative embodiment, the borehole azimuth may be computed from the magnitude of the cross-axial magnetic field component Bxy by applying a short collar correction, for example, as follows:

P sin Azi+Q cos Azi+R sin Azi·cos Azi=0  Equation 5

where P, Q, and R may be computed from the borehole inclination I, the toolface offset (T−M), and the magnitude of the cross-axial magnetic field component Bxy, for example as follows:

P=B sin D·sin I·cos I+Bxy cos I·cos(T−M)

Q=Bxy sin(T−M); and

R=B cos D·sin2 I 

and where B and D are as defined above with respect to Equation 4, and T and M represent the gravity toolface and the magnetic toolface as are also described above. A dynamic borehole inclination I (also referred to herein as the borehole inclination) may be computed from the axial accelerometer measurements, for example, as follows: cos I=Az/G, where Az represents the axial accelerometer measurement and G represents the magnitude of the earth's local gravitational field.
Equation 5 expresses the borehole azimuth as a function of three primary inputs that are invariant under rotation (i.e., the rotation of the drill string about its longitudinal axis): (i) the magnitude of the cross-axial magnetic field component Bxy, (ii) the toolface offset (T−M), and (iii) the borehole inclination I. Acquisition of the cross-axial magnetic field component Bxy is described above. The toolface offset and the magnitude of the cross-axial magnetic field component may be obtained, for example, using a single cross-axial accelerometer and a single cross-axial magnetometer. In such an embodiment, Bxy is the magnitude of the approximately sinusoidal wave (i.e., a periodic variation) traced out the by cross-axial magnetometer response and (T−M) is the phase difference between approximately sinusoidal waves traced out by the cross-axial magnetometer and cross-axial accelerometer responses.
The tool face offset (T−M) may also be obtained using sensor configurations having first and second cross-axial accelerometers and first and second cross-axial magnetometers (e.g., the x- and y-axis accelerometers and magnetometers in tri-axial sensor sets). For example, the toolface offset may be computed according to the following mathematical expression:




  
    
      
        
          T
          -
          M
        
        =
        
          
            arctan
            ⁢
            
              
                (
                
                  -
                  
                    A
                    x
                  
                
                )
              
              
                (
                
                  -
                  
                    A
                    y
                  
                
                )
              
            
          
          -
          
            arctan
            ⁢
            
              
                B
                x
              
              
                B
                y
              
            
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        6
      
    
  




The cross-axial accelerometer measurements are generally noisy due to downhole vibrations commonly encountered during drilling. The toolface offset values may therefore be averaged over many samples (e.g., 3000) to reduce noise.
In order to reduce the complexity of the downhole calculations (i.e., to reduce the number of times complex functions such as arctan are processed), the toolface offset may alternatively be computed over a number of measurements, for example, as follows:




  
    
      
        
          T
          -
          M
        
        =
        
          arctan
          [
          
            
              ∑
              
                (
                
                  
                    
                      B
                      x
                    
                    ⁢
                    
                      A
                      y
                    
                  
                  -
                  
                    
                      B
                      y
                    
                    ⁢
                    
                      A
                      x
                    
                  
                
                )
              
            
            
              -
              
                ∑
                
                  (
                  
                    
                      
                        B
                        x
                      
                      ⁢
                      
                        A
                        x
                      
                    
                    +
                    
                      
                        B
                        y
                      
                      ⁢
                      
                        A
                        y
                      
                    
                  
                  )
                
              
            
          
          ]
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        7
      
    
  




where Bxc and Byc from Equation 3 may optionally be substituted for Bx and By.
It will be understood that the toolface offset may be contaminated with various errors, for example, due to asynchronicity between accelerometer and magnetometer channels and eddy current effects caused by the conductive drill string rotating in the earth's magnetic field. These errors can (at times) be several degrees in magnitude and may therefore require compensation. Several compensation methods may be employed, for example, including peripheral placement of the magnetometers in the downhole measurement tool so as to reduce eddy current effects, corrections based upon mathematical analysis of filter delays and eddy currents, and a selection of filter parameters that reduce measurement offsets. Compensation methods may also account for toolface offset changes caused by a change in the rotation rate of the drill string.
FIG. 5 depicts a plot of toolface offset (in units of degrees) versus the rotation rate of the measurement tool in the borehole (in units of rpm). In the depicted plot, the toolface offset is observed to be a linear function of the rotation rate having a slope of about −0.1 degrees/rpm (i.e., decreasing about two degrees per 20 rpm). During drilling, the rotation rate of the measurement tool may be obtained via any known method, for example, via differentiating sequential magnetic toolface measurements as follows:




  
    
      
        R
        =
        
          
            30
            π
          
          ⁡
          
            [
            
              
                
                  M
                  ⁡
                  
                    (
                    n
                    )
                  
                
                -
                
                  M
                  ⁡
                  
                    (
                    
                      n
                      -
                      1
                    
                    )
                  
                
              
              t
            
            ]
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        8
      
    
  




where R represents the rotation rate in units of rpm, M represents the magnetic toolface, t represents the time between sequential measurements (e.g., 10 milliseconds), and n represents the array index in the set of magnetic toolface measurements such that M(n−1) and M(n) represent sequential magnetic toolface measurements. Those of ordinary skill will be readily able to re-write Equation 8 such that the rotation rate is expressed in alternative units such as in radians per second, radians per minute, or degrees per second.
One procedure for accounting for toolface offset changes with rotation rate includes measuring the toolface offset during a period when the rotation rate of the drill string is varying, for example, when drill string rotation slows prior to making a new connection, when it speeds up following the connection, or when it alternates between high and low rotation rates between rotary and slide drilling. In regions where the well path has high curvature, it may be desirable for the driller to minimize axial motion of the drill string while the rotation rate is varying so that the data may be collected at a single attitude. A rotation-dependent offset error may then be found, for example, from a plot of toolface offset versus rotation rate (e.g., as depicted on FIG. 5). A least squares analysis may also be employed to determine an appropriate fitting function (e.g., a nonlinear function when appropriate). An offset correction may be applied so as to reduce the toolface offset to its zero-rpm equivalent value prior to its use in Equation 5.
Upon computing the cross-axial magnetic field component Bxy, the toolface offset (T−M), and the borehole inclination I, the borehole azimuth Azi may then be computed, for example, via solving Equation 5. Such a solution commonly includes either two or four roots. Certain of these roots may be discarded, since it is known that the sign (positive or negative) of sin(Azi) is opposite to the sign of Q in Equation 5. In other words, when Q is negative, the borehole azimuth lies between zero and 180 degrees and when Q is positive, the borehole azimuth lies between 180 and 360 degrees.
Any suitable root finding algorithm may be utilized to solve Equation 5. For example, it may be sufficient to evaluate the equation at some number of trial values (e.g., at one degree increments within the 180 degree span described above). Zero-crossings may then be located between trial values that return opposing signs (e.g., a positive to negative transition or visa versa). A possible root of Equation 5 may then be found by interpolation or by further evaluating the equation at smaller increments between the trial values. Other known methods for finding zero-crossings include, for example, the Newton-Raphson method and the Bisection method. When all possible roots Aziroot have been found within the 180 degree trial range, they may be discriminated, for example, via using each root to compute a hypothetical earth's field and comparing those hypothetical fields with a reference field. This may be represented mathematically, for example, as follows:

Bzroot=B cos D sin I cos Aziroot+B sin D cos I;  Equation 9

Bvroot=Bzroot cos I−Bxy sin/cos(T−M);  Equation 10

Bhroot=√{square root over (Bxy2+Bzroot2−Bvroot2)}; and  Equation 11

δB=√{square root over ((B cos D−Bhroot)2+(B sin D−Bvroot)2)}{square root over ((B cos D−Bhroot)2+(B sin D−Bvroot)2)}  Equation 12

where B, D, I, T, and M are as defined above, Aziroot represents one of the roots of Equation 5, Bzroot, Bvroot, and Bhroot represents axial, vertical, and horizontal components of the hypothetical earth's magnetic field computed for a borehole azimuth of Aziroot, and δB represents the difference between the hypothetical earth's magnetic field and the reference magnetic field as a vector distance. The borehole azimuth value Aziroot that returns the smallest value of δB may be considered to be the correct root (and hence the hypothetical earth's field may be considered to be the calculated earth's field). Moreover, the numeric value of δB may be advantageously used as an indicator of survey quality (with smaller values indicating improved quality) since it represents the difference between the calculated (hypothetical) earth's field and the reference field.
As described above, method 100 provides a means for making dynamic borehole azimuth while drilling measurements without requiring an axial magnetic field measurement. The method has been found to provide suitable accuracy under many drilling conditions. However, the reliability of the computed azimuth tends to decrease in near horizontal wells having an approximately east-west orientation. An alternative methodology may be utilized at such wellbore attitudes.
FIG. 6 depicts a flow chart of one such alternative method 120 for making dynamic borehole azimuth measurements while drilling. Navigational sensors are rotated in a borehole at 102 and used to acquire gravitational field and magnetic field measurements at 104 as described above with respect to FIG. 3. A mathematical magnetic model is evaluated at 126 to obtain induced and remanent axial magnetic field components. The induced and remanent magnetic field components are processed at 128 in combination with an axial magnetic field measurement made at 104 to obtain a corrected axial magnetic field component. The corrected axial magnetic field component is then processed at 130 in combination with other of the measurements made at 104 to obtain a dynamic borehole azimuth.
In one aspect a method for making a dynamic borehole azimuth measurement while rotating a downhole measurement tool in a borehole includes: (a) rotating a downhole tool in the borehole, the downhole tool including an axial magnetic field sensor, a cross-axial magnetic field sensor, an axial accelerometer, and a cross-axial accelerometer; (b) obtaining a set of axial magnetic field measurements, a set of cross-axial magnetic field measurements, a set of axial accelerometer measurements, and a set of cross-axial accelerometer measurements while the downhole tool rotates in (a); (c) evaluating a magnetic model to obtain an induced axial magnetic field component and a remanent axial magnetic field component; (d) correcting the set of axial magnetic field measurements by using the remanent axial magnetic field component as a bias and the induced axial magnetic field component as a scale factor to obtain a corrected axial magnetic field component; and (e) processing the corrected axial magnetic field component to compute the dynamic borehole azimuth.
With continued reference to FIG. 6, in method 120 the measured value of the axial magnetic field component Bz is corrected using a bias and a scale factor. The axial bias is obtained from an axial component of the remanent magnetization in the drill string (e.g., from the mud motor and/or the drill bit). As is known to those of ordinary skill in the art, such remanent magnetization is commonly the result of magnetic particle inspection techniques used in the manufacturing and testing of downhole tools. The measured axial magnetic field component may then be modeled, for example, as follows:

Bz=Bez(1+SBiz)+Brz  Equation 13

where Bz represents the measured axial magnetic field component, Bez represents the axial component of the earth's magnetic field (also referred to as the corrected axial magnetic field component), SBiz represents the scale factor error due to induced magnetization and Brz represents the axial bias due to remanent magnetization.
The scale factor error SBiz and the axial bias Brz may be obtained using various methodologies. For example, the scale factor error may be estimated based upon the known dimensions and material properties of the magnetic collar. The axial magnetic flux emanating from the end of a magnetic collar may be expressed mathematically, for example, as follows:




  
    
      
        F
        =
        
          
            
              Be
              z
            
            ⁢
            
              μ
              r
            
            ⁢
            
              π
              ⁡
              
                (
                
                  
                    Di
                    2
                  
                  -
                  
                    d
                    2
                  
                
                )
              
            
          
          4
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        14
      
    
  




where F represents the axial magnetic flux, μr represents the relative permeability of the magnetic collar, and d and Di represent the inner and outer diameter of the magnetic collar. When the flux F is considered to emanate from an induced magnetic pole, the induced axial field Biz at a distance L may be expressed mathematically, for example, as follows:




  
    
      
        
          Bi
          z
        
        =
        
          F
          
            4
            ⁢
            π
            ⁢
            
              
            
            ⁢
            
              L
              2
            
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        15
      
    
  




The induced magnetization may be represented mathematically as a scale factor error, for example, as follows:




  
    
      
        
          SBi
          z
        
        =
        
          
            
              Bi
              z
            
            
              Be
              z
            
          
          =
          
            
              
                μ
                r
              
              ⁡
              
                (
                
                  
                    Di
                    2
                  
                  -
                  
                    d
                    2
                  
                
                )
              
            
            
              16
              ⁢
              
                L
                2
              
            
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        16
      
    
  




It should be noted in applying Equation 16, that flux leakage may cause the end of a magnetic collar to behave as though the pole location is few inches within the collar (i.e., not exactly at the end of the collar). This may be taken into account when estimating a value for the sensor spacing L.
The axial bias Brz may be determined from azimuth measurements made at previous survey stations. For example, Equation 9 may be used to compute the axial component of the earth's magnetic field (where Bez=Bzroot) at a previous survey station. Substituting the values of Bz and Bez from the previous station and the constant SBiz into Equation 13 provides a solution for the axial bias Brz. Both the scale factor error and the axial bias may then be considered as constants in the subsequent use of Equation 13 thereby allowing a direct transformation of the measured axial magnetic field component Bz to an estimate of the axial component of the earth's magnetic field Bez.
The scale factor error and the axial bias may also be obtained from azimuth measurements made at multiple previous survey stations using a form of multi-station analysis. For example, the measured axial magnetic field components taken at the multiple survey stations may be plotted against the corresponding axial components of the earth's magnetic field computed in Equation 9. The result in an approximately linear plot having a vertical axis intercept at the axial bias value Brz and a slope of 1+SBiz (which may be substituted into Equation 13 or from which the scale factor error may be readily obtained). As stated above, the scale factor error and the axial bias may then be considered as constants in Equation 13 allowing a direct transformation of the measured axial magnetic field component to an estimate of the axial component of the earth's magnetic field.
Upon obtaining an estimate of the axial component of the earth's magnetic field, the borehole azimuth Azi may be computed, for example, using Equation 4 given above or the following mathematical relation:




  
    
      
        
          tan
          ⁢
          
            
          
          ⁢
          Azi
        
        =
        
          
            
              -
              
                B
                xy
              
            
            ⁢
            
              sin
              ⁡
              
                (
                
                  T
                  -
                  M
                
                )
              
            
          
          
            
              
                Be
                z
              
              ⁢
              sin
              ⁢
              
                
              
              ⁢
              I
            
            +
            
              
                B
                xy
              
              ⁢
              cos
              ⁢
              
                
              
              ⁢
              I
              ⁢
              
                
              
              ⁢
              
                cos
                ⁡
                
                  (
                  
                    T
                    -
                    M
                  
                  )
                
              
            
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        17
      
    
  




where Bxy represents the magnitude of the cross-axial magnetic field component (obtained for example as described above with respect to Equations 1-3), (T−M) represents the toolface offset between the gravity toolface T and the magnetic toolface M (obtained for example as described above with respect to Equations 6-8), and I represents the borehole inclination.
The survey quality obtained using Equation 17 may be indicated, for example, by using the inputs Bxy, Bez, I, and (T−M) to compute the magnitude B and dip D of the earth's magnetic field, for example, as follows and comparing these values with the aforementioned reference values:




  
    
      
        
          B
          =
          
            
              
                B
                xy
                2
              
              +
              
                Be
                z
                2
              
            
          
        
        ;
        and
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        18
      
    
  
  
    
      
        
          sin
          ⁢
          
            
          
          ⁢
          D
        
        =
        
          
            
              
                Be
                z
              
              ⁢
              cos
              ⁢
              
                
              
              ⁢
              I
            
            -
            
              
                B
                xy
              
              ⁢
              sin
              ⁢
              
                
              
              ⁢
              I
              ⁢
              
                
              
              ⁢
              
                cos
                ⁡
                
                  (
                  
                    T
                    -
                    M
                  
                  )
                
              
            
          
          B
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        19
      
    
  




The dynamic borehole azimuth values may be computed while drilling using uphole and/or downhole processors (the disclosed embodiments are not limited in this regard). In one or more embodiments, the dynamic borehole inclination I, the magnitude of the cross-axial magnetic field component Bxy, the toolface offset (T−M), and the rotation rate of the drill collar R are computed downhole and transmitted to the surface at some predetermined interval (e.g., at 30 or 60 second intervals) while drilling. These values are then used to compute the borehole azimuth at the surface, for example, using Equations 5 and 9-12. The toolface offset may also be corrected for rotation rate at the surface. Alternatively, Az (or I) and Bxy may be computed downhole and transmitted to the surface. Equation 4 may then be used to compute the dynamic borehole azimuth at the surface. Moreover, a one-bit east west indicator may also be computed downhole and transmitted to the surface. An east west indicator may include, for example, computing the following summation over a predetermined number of measurements Σ(AxBy−AyBx) such that a positive value indicates an east side dynamic borehole azimuth (binary 1) and a negative value indicates a west side dynamic borehole azimuth (binary 0). The use of an east west indicator may be advantageous when the BHA is aligned close to magnetic north south (e.g., within 10 degrees).
In one aspect a method for making a dynamic borehole azimuth measurement while rotating a downhole measurement tool in a borehole includes: (a) rotating a downhole tool in the borehole, the downhole tool including a cross-axial magnetic field sensor, an axial accelerometer, and a cross-axial accelerometer; (b) obtaining a set of cross-axial magnetic field measurements, a set of axial accelerometer measurements, and a set of cross-axial accelerometer measurements while the downhole tool rotates in (a); (c) causing a downhole processor to process the set of cross-axial magnetic field measurements, the set of axial accelerometer measurements, and the set of cross-axial accelerometer measurements to compute a magnitude of a cross-axial magnetic field component, a toolface offset, and a borehole inclination; (d) transmitting the magnitude of a cross-axial magnetic field component, the toolface offset, and the borehole inclination to a surface location; and (e) causing a surface processor to processing the magnitude of a cross-axial magnetic field component, the toolface offset, and the borehole inclination obtained in (c) to compute the dynamic borehole azimuth.
It will be understood that while not shown in FIGS. 1 and 2, downhole measurement tools suitable for use with the disclosed embodiments generally include at least one electronic controller. Such a controller typically includes signal processing circuitry including a digital processor (a microprocessor), an analog to digital converter, and processor readable memory. The controller typically also includes processor-readable or computer-readable program code embodying logic, including instructions for computing various parameters as described above, for example, with respect to Equations 1-19. One skilled in the art will also readily recognize some of the above mentioned equations may also be solved using hardware mechanisms (e.g., including analog or digital circuits).
A suitable controller typically includes a timer including, for example, an incrementing counter, a decrementing time-out counter, or a real-time clock. The controller may further include multiple data storage devices, various sensors, other controllable components, a power supply, and the like. The controller may also optionally communicate with other instruments in the drill string, such as telemetry systems that communicate with the surface or an EM (electro-magnetic) shorthop that enables the two-way communication across a downhole motor. It will be appreciated that the controller is not necessarily located in the sensor sub (e.g., sub 60), but may be disposed elsewhere in the drill string in electronic communication therewith. Moreover, one skilled in the art will readily recognize that the multiple functions described above may be distributed among a number of electronic devices (controllers).
Although dynamic borehole azimuth measurements and certain advantages thereof have been described in detail, it should be understood that various changes, substitutions and alternations can be made herein without departing from the spirit and scope of the disclosure as defined by the appended claims.

## Claims

1. A method for making a dynamic borehole azimuth measurement while rotating a downhole measurement tool in a borehole, the method comprising:
(a) rotating a downhole tool in the borehole, the downhole tool including a cross-axial magnetic field sensor and an axial accelerometer;
(b) obtaining a set of cross-axial magnetic field measurements and a set of axial accelerometer measurements while the downhole tool is rotating in (a);
(c) processing the set of cross-axial magnetic field measurements obtained in(b) to compute a magnitude of a cross-axial magnetic field component; and
(d) processing the magnitude of the cross axial magnetic field component computed in (c) and the set of axial accelerometer measurements obtained in (b) to compute the dynamic borehole azimuth, wherein the dynamic borehole azimuth is computed in (d) according to the following equation:





  
    cos
    ⁢
    
      
    
    ⁢
    Azi
  
  =
  
    
      
        
          
            
              B
              2
            
            -
            
              B
              xy
              2
            
          
        
        B
      
      -
      
        
          
            A
            z
          
          G
        
        ⁢
        sin
        ⁢
        
          
        
        ⁢
        D
      
    
    
      
        sin
        ⁡
        
          [
          
            arccos
            ⁡
            
              (
              
                
                  A
                  z
                
                D
              
              )
            
          
          ]
        
      
      ⁢
      cos
      ⁢
      
        
      
      ⁢
      D
    
  



wherein Azi represents the dynamic borehole azimuth, Bxy represents the magnitude of the cross-axial magnetic field component computed in (c), Az represents an axial accelerometer measurement, G represents the magnitude of the earth's local gravitational field, B represents the magnitude of the earth's local magnetic field, and D represents the local magnetic dip angle.

2. The method of claim 1, wherein (c) further comprises:
(i) processing the set of cross-axial magnetic field measurements to obtain a magnitude of a periodic variation; and
(ii) setting the magnitude of the cross-axial magnetic field component equal to the magnitude of the periodic variation obtained in (i).

3. The method of claim 1, wherein (c) further comprises:
(i) processing a first set of cross-axial magnetic field measurements with respect to a second set of cross-axial magnetic field measurements to obtain a radius of a circle or ellipse; and
(ii) setting the magnitude of the cross-axial magnetic field component equal to the radius determined in (i).

4. The method of claim 1, wherein the magnitude of the cross-axial magnetic field component is computed in (c) according to at least one of the following equations:



  
    
      
        B
        
          X
          ⁢
          
            
          
          ⁢
          Y
        
      
      =
      
        
          
            B
            x
            2
          
          +
          
            B
            y
            2
          
        
      
    
    ;
  




  
    
      
        B
        XY
      
      =
      
        
          2
          ·
          
            σ
            
              B
              ⁢
              
                
              
              ⁢
              x
            
          
          ·
          
            σ
            
              B
              ⁢
              
                
              
              ⁢
              y
            
          
        
      
    
    ;
  




  
    
      Σ
      ⁡
      
        [
        
          
            
              
                B
                
                  x
                  ⁢
                  
                    
                  
                  ⁢
                  c
                
                2
              
              +
              
                B
                yc
                2
              
            
          
          -
          
            B
            
              x
              ⁢
              
                
              
              ⁢
              y
            
          
        
        ]
      
    
    2
  


wherein Bxy represents the magnitude of the cross-axial magnetic field component, Bx and By represent first and second cross-axial magnetic field measurements made along x- and y-axes, σBx and σBy represent standard deviations of a first set of Bx measurements and a second set of By measurements made over several complete rotations of the downhole tool;
and Bxc and Byc represent corrected Bx and By measurements after corrections have been applied.

5. The method of claim 1, wherein (c) further comprises:
(i) processing the set of cross-axial magnetic field measurements and the set of cross-axial accelerometer measurements to obtain a magnitude of a periodic variation in the set of cross-axial magnetic field measurements and a phase difference between the periodic variation in the set of cross-axial magnetic field measurements and a periodic variation in the set of cross-axial accelerometer measurements;
(ii) setting the magnitude of the cross-axial magnetic field component equal to the magnitude of the periodic variation in the set of cross-axial magnetic field measurements obtained in (i); and
(iii) setting the toolface offset equal to the phase difference obtained in (i).

6. The method of claim 1, wherein (c) further comprises correcting the computed toolface offset to a zero-rpm equivalent value.

7. The method of claim 1, wherein the dynamic borehole azimuth is computed in (d) by solving the following equation:


Psin Azi+Qcos Azi+Rsin Azi·cos Azi=0

wherein Azi represent the dynamic borehole azimuth and P, Q, and R are coefficients that are mathematically related to at least one of the toolface offset, the magnitude of the cross-axial magnetic field component, and a borehole inclination.

8. The method of claim 7, wherein P, Q, and R are given as follows:


P=Bsin D·sin Icos I+Bxy ·cos Icos(T−M)



Q=Bxysin D·(T·M); and



R=Bcos D·sin2I 

wherein T−M represents the toolface offset with T representing a gravity toolface and M representing a magnetic toolface, Bxy represents the magnitude of the cross-axial magnetic field component, I represents the borehole inclination, B represents the magnitude of the earth's local magnetic field, and D represents the local magnetic dip angle.

9. The method of claim 7, wherein (d) further comprises:
(i) computing a plurality of possible dynamic borehole azimuth values;
(ii) computing a hypothetical earth's magnetic field for each of the plurality of possible dynamic borehole azimuth values;
(iii) computing a difference between the hypothetical earth's magnetic field and a reference magnetic field; and
(iv) selecting a dynamic borehole azimuth value that gives the smallest difference in (iii).

10. A method for making a dynamic borehole azimuth measurement while rotating a downhole measurement tool in a borehole, the method comprising:
(a) rotating a downhole tool in the borehole, the downhole tool including a cross-axial magnetic field sensor, an axial accelerometer, and a cross-axial accelerometer;
(b) obtaining a set of cross-axial magnetic field measurements, a set of axial accelerometer measurements, and a set of cross-axial accelerometer measurements while the downhole tool rotates in (a);
(c) processing the set of cross-axial magnetic field measurements obtained in (b) to compute a magnitude of a cross-axial magnetic field component; and
(d) processing the magnitude of the cross axial magnetic field component computed in (c) and the set of axial accelerometer measurements and the set of cross-axial accelerometer measurements obtained in (b) to compute the dynamic borehole azimuth, wherein (c) further comprises processing the set of cross-axial magnetic field measurements and the set of cross-axial accelerometer measurements obtained in (b) to compute a toolface offset and wherein the toolface offset is computed in (c) according to at least one of the following equations:




  
    
      T
      -
      M
    
    =
    
      
        arctan
        ⁢
        
          
            (
            
              -
              
                A
                x
              
            
            )
          
          
            (
            
              -
              
                A
                y
              
            
            )
          
        
      
      -
      
        arctan
        ⁢
        
          
            B
            x
          
          
            B
            y
          
        
      
    
  




  
    
      T
      -
      M
    
    =
    
      arctan
      [
      
        
          ∑
          
            (
            
              
                
                  B
                  x
                
                ⁢
                
                  A
                  y
                
              
              -
              
                
                  B
                  y
                
                ⁢
                
                  A
                  x
                
              
            
            )
          
        
        
          -
          
            ∑
            
              (
              
                
                  
                    B
                    x
                  
                  ⁢
                  
                    A
                    x
                  
                
                +
                
                  
                    B
                    y
                  
                  ⁢
                  
                    A
                    y
                  
                
              
              )
            
          
        
      
      ]
    
  


wherein T−M represents the toolface offset with T representing a gravity toolface and M representing a magnetic toolface, Bx and By represent first and second cross-axial magnetic field measurements, and Ax and Ay represent first and second cross-axial accelerometer measurements.

11. The method of claim 10, wherein the magnitude of the cross-axial magnetic field component is computed in (c) by evaluating at least one of the following equations:



  
    
      
        B
        
          X
          ⁢
          
            
          
          ⁢
          Y
        
      
      =
      
        
          
            B
            x
            2
          
          +
          
            B
            y
            2
          
        
      
    
    ;
  




  
    
      
        B
        XY
      
      =
      
        
          2
          ·
          
            σ
            
              B
              ⁢
              
                
              
              ⁢
              x
            
          
          ·
          
            σ
            
              B
              ⁢
              
                
              
              ⁢
              y
            
          
        
      
    
    ;
  


wherein Bxy represents the magnitude of the cross-axial magnetic field component, Bx and By represent first and second cross-axial magnetic field measurements made along x- and y-axes, σBx and σBy represent standard deviations of a first set of Bx measurements and a second set of By measurements made over several complete rotations of the downhole tool or by minimizing the following function:





  
    Σ
    ⁡
    
      [
      
        
          
            
              B
              
                x
                ⁢
                
                  
                
                ⁢
                c
              
              2
            
            +
            
              B
              yc
              2
            
          
        
        -
        
          B
          
            x
            ⁢
            
              
            
            ⁢
            y
          
        
      
      ]
    
  
  2



Bxc and By represent corrected Bx and By measurements after corrections have been applied.

12. The method of claim 10, wherein:
the magnitude of the cross-axial magnetic field component is computed downhole in (c) using a downhole processor;
the computed magnitude of the cross-axial magnetic field component is then transmitted to the surface where it is used to process the dynamic borehole azimuth in (d).

13. A method for making a dynamic borehole azimuth measurement while rotating a downhole measurement tool in a borehole, the method comprising:
(a) rotating a downhole tool in the borehole, the downhole tool including an axial magnetic field sensor, a cross-axial magnetic field sensor, an axial accelerometer, and a cross-axial accelerometer;
(b) obtaining a set of axial magnetic field measurements, a set of cross-axial magnetic field measurements, a set of axial accelerometer measurements, and a set of cross-axial accelerometer measurements while the downhole tool rotates in (a);
(c) evaluating a magnetic model to obtain an induced axial magnetic field component and a remanent axial magnetic field component;
(d) correcting the set of axial magnetic field measurements by using the remanent axial magnetic field component as a bias and the induced axial magnetic field component as a scale factor to obtain a corrected axial magnetic field component; and
(e) processing the corrected axial magnetic field component to compute the dynamic borehole azimuth, wherein the set of axial magnetic field measurements are corrected using the following equation:


Bz=Bez(1+SBiz)+Brz 


wherein Bz represents a measured axial magnetic field component, Bez represents the corrected axial magnetic field component, SBiz represents the scale factor due to the induced axial magnetic field component and Brz represents the bias due to the remanent axial magnetic field.

14. The method of claim 13, wherein the scale factor is obtained using the following equation:




  
    SBi
    z
  
  =
  
    
      
        μ
        r
      
      ⁡
      
        (
        
          
            Di
            2
          
          -
          
            d
            2
          
        
        )
      
    
    
      16
      ⁢
      
        L
        2
      
    
  



wherein SBiz represents the scale factor due to the induced axial magnetic field component, μr represents a relative permeability of the downhole tool, d and Di represent inner and outer diameters of the downhole tool, and L represents an axial sensor spacing.

15. A method for making a dynamic borehole azimuth measurement while rotating a downhole measurement tool in a borehole, the method comprising:
(a) rotating a downhole tool in the borehole, the downhole tool including a cross-axial magnetic field sensor, an axial accelerometer, and a cross-axial accelerometer;
(b) obtaining a set of cross-axial magnetic field measurements, a set of axial accelerometer measurements, and a set of cross-axial accelerometer measurements while the downhole tool rotates in (a);
(c) causing a downhole processor to process the set of cross-axial magnetic field measurements, the set of axial accelerometer measurements, and the set of cross- axial accelerometer measurements to compute a magnitude of a cross-axial magnetic field component, a toolface offset, and a borehole inclination;
(d) transmitting the magnitude of a cross-axial magnetic field component, the toolface offset, and the borehole inclination to a surface location; and
(e) causing a surface processor to processing the magnitude of a cross-axial magnetic field component, the toolface offset, and the borehole inclination obtained in (c) to compute the dynamic borehole azimuth, wherein (c) further comprises causing the downhole processor to process the set of cross-axial magnetic field measurements and the set of cross-axial accelerometer measurements obtained in (b) to compute a toolface offset, and wherein the toolface offset is computed in (c) according to at least one of the following equations:




  
    
      T
      -
      M
    
    =
    
      
        arc
        ⁢
        
          
        
        ⁢
        tan
        ⁢
        
          
            (
            
              -
              
                A
                x
              
            
            )
          
          
            (
            
              -
              
                A
                y
              
            
            )
          
        
      
      -
      
        arc
        ⁢
        
          
        
        ⁢
        tan
        ⁢
        
          
            B
            x
          
          
            B
            y
          
        
      
    
  




  
    
      T
      -
      M
    
    =
    
      arc
      ⁢
      
        
      
      ⁢
      
        tan
        ⁡
        
          [
          
            
              ∑
              
                (
                
                  
                    
                      B
                      x
                    
                    ⁢
                    
                      A
                      y
                    
                  
                  -
                  
                    
                      B
                      y
                    
                    ⁢
                    
                      A
                      x
                    
                  
                
                )
              
            
            
              ∑
              
                (
                
                  
                    
                      B
                      x
                    
                    ⁢
                    
                      A
                      x
                    
                  
                  -
                  
                    
                      B
                      y
                    
                    ⁢
                    
                      A
                      y
                    
                  
                
                )
              
            
          
          ]
        
      
    
  


wherein T−M represents the toolface offset with T representing a gravity toolface and M representing a magnetic toolface, Bx and By represent first and second cross-axial magnetic field measurements, and Ax and Ay represent first and second cross-axial accelerometer measurements.

16. The method of claim 15, wherein:
(d) further comprises transmitting a rotation rate of the downhole tool to the surface location; and
(e) further comprises using the rotation rate to correct the toolface offset to a zero rpm equivalent value prior to computing the dynamic borehole azimuth.

17. A method for making a dynamic borehole azimuth measurement while rotating a downhole measurement tool in a borehole, the method comprising:
(a) rotating a downhole tool in the borehole, the downhole tool including a cross-axial magnetic field sensor, an axial accelerometer, and a cross-axial accelerometer;
(b) obtaining a set of cross-axial magnetic field measurements, a set of axial accelerometer measurements, and a set of cross-axial accelerometer measurements while the downhole tool rotates in (a);
(c) processing the set of cross-axial magnetic field measurements obtained in (b) to compute a magnitude of a cross-axial magnetic field component; and
(d) processing the magnitude of the cross axial magnetic field component computed in (c) and the set of axial accelerometer measurements and the set of cross-axial accelerometer measurements obtained in (b) to compute the dynamic borehole azimuth, wherein (c) further comprises processing the set of cross-axial magnetic field measurements and the set of cross-axial accelerometer measurements obtained in (b) to compute a toolface offset and wherein the dynamic borehole azimuth is computed in (d) by solving the following equation:


Psin Azi+Qcos Azi+Rsin Azi·cos Azi=0


wherein Azi represent the dynamic borehole azimuth and P, Q, and R are coefficients that are mathematically related to at least one of the toolface offset, the magnitude of the cross- axial magnetic field component, and a borehole inclination.

18. The method of claim 17, wherein P, Q, and R are given as follows:


P=Bsin D·sin Icos I+Bxy·cos Icos(T−M)



Q=Bxy sin D·(T−M); and



R=Bcos D·sin2I 

wherein T−M represents the toolface offset with T representing a gravity toolface and M representing a magnetic toolface, Bxy represents the magnitude of the cross-axial magnetic field component, I represents the borehole inclination, B represents the magnitude of the earth's local magnetic field, and D represents the local magnetic dip angle.

19. The method of claim 17, wherein (d) further comprises:
(i) computing a plurality of possible dynamic borehole azimuth values;
(ii) computing a hypothetical earth's magnetic field for each of the plurality of possible dynamic borehole azimuth values;
(iii) computing a difference between the hypothetical earth's magnetic field and a reference magnetic field; and
(iv) selecting a dynamic borehole azimuth value that gives the smallest difference in (iii).