Method of correcting for axial and transverse error components in magnometer readings during wellbore survey operations

Abstract: A method of surveying a wellbore is disclosed which utilizes a sensor array located within a drillstring within said wellbore, comprising measuring magnetic and gravitational fields with said sensor array at a particular depth and at a particular tool face orientation, utilising measurements of said magnetic and gravitational fields to calculate directly, algebraically, and non-iteratively at least one wellbore orientation indicator which is free of magnetic field biasing errors, either axial or transverse or both. The method may include angularly displacing the drillstring to at least one other tool face orientation and repeating the measuring step. Intermediate calculations may be carried out including comparing measurements of the magnetic field with expected values.

Description: The present invention relates in general to survey operations in an oil and gas wellbore, and in particular relates to techniques for compensating for biased magnetometer measurements in the determination of azimuth. In order to understand the present invention, it is important to establish the definitions of terminology utilized in wellbore survey operations. Surveys are used to determine the position of a wellbore within the earth. The orientation of the wellbore is determined at a particular depth by the deviation of the wellbore from a predetermined axis. The deviations may be measured with respect to two reference vectors: (1) the earth's gravitational field vector "G"; and (2) the earth's magnetic field vector "B". In accordance with this convention, G is positive in the vertical downward direction, while B is positive in the north direction and is inclined by a dip angle D below the horizon, as is shown in Figure 1 . The position of the wellbore relative to the earth's gravitational field vector G, is identified as an inclination "I" angle, which is the angle between the longitudinal axis of the drillstring and the earth's gravitational field vector G. The position of the wellbore relative to the earth's magnetic field vector B and the earth's gravitational field G is identified as a magnetic azimuth "A", which is the angle between the horizontal component of the longitudinal axis of the drillstring and the horizontal component of the earth's magnetic field vector B. Wellbore survey operations are also frequently utilized to determine the dip angle "D", which is the complement of the angle between the earth's magnetic field vector B and the earth's gravitational field vector G (that is, 90 degrees less the angle between vectors B and G). The dip angle D is available in look-up tables, computer programs, and charts for all latitudes and longitudes on the earth's surface. In conventional wellbore survey operations, accelerometers are utilized to measure the direction of the earth's gravitational field vector G, and magnetometers are utilized to measure the earth's magnetic field vector B. Each vector, includes x-axis, y-axis, and z-axis components. In order to understand the techniques of the present invention for compensating for the magnetic field biasing error "e", it is important first to understand the coordinate systems utilized in surveying operations. Figure 2 provides a view of the Cartesian coordinate system which is established relative to the bottomhole assembly of a drillstring. The z-axis of the coordinate system is in alignment with longitudinal axis of the bottom hole assembly. The x-axis and y-axis are perpendicular to the z-axis, and are fixed In position with respect to the bottom hole assembly. Therefore, rotation of the bottomhole assembly about the z-axis also rotates the x-axis and the y-axis by an amount measured in terms of tool face angle "T". Note that the inclination angle I provides a measure of the position of the bottomhole assembly of a drillstring relative to the gravity field vector G, and the tool face angle T provides a measure of the angle in the xy-plane between the y-axis and the highside HS of the tool. During survey operations, magnetometer readings are taken along the three axes to determine the magnetic field vector B components: these measurements are identified as B x , B y , and B z . Accelerometer readings are taken along the three axes to determine the gravitational field vector G components: these measurements are identified as G x , G y , and G z . Since these vectors have both a direction and a magnitude, these tri-axial measurements will have to be scaled, or calibrated, to accurately reflect the magnitude of the vector they represent. Survey tools utilizes these x-y-z arrays of accelerometers and magnetometers to determine the directions and magnitudes of the B and G vectors in the x-y-z frame of reference. This information is used to determine the tool's "attitude", expressed by the inclination angle I, and the azimuth angle A and the tool face angle T. Once a set of values for B x , B y , B z , G x , G y , and G z are determined for a specific wellbore depth, the azimuth A, inclination I, and tool face angle T of the wellbore at that depth can be determined. Also, the value of the magnetic dip angle D can be calculated. An expected magnetic dip angle D can be looked up in reference tables, computer programs, or charts based on the wellsite's longitude and latitude. The three accelerometers are normally used to find I, T and G, the magnetometers are used to find B, and a combination of measurements from all sensors are required to calculate A and D. Once the azimuth A and inclination I are determined for the wellbore at a number of specific depths, a directional map of the wellbore can be plotted. This directional map shows how far, and in what direction, the wellbore is deviated from the vertical and magnetic north, and ultimately where the well is bottomed. In order to provide the greatest accuracy in magnetic field measurements, the wellbore surveying tool is typically housed in a non-magnetic subassembly. Additionally, surrounding subassemblies may also be constructed of a non-magnetic material. However, the drillstring, including these non-magnetic subassemblies, can nonetheless become magnetized during drilling operations, to such an extent that the accuracy of the magnetic field measurements is severely impaired. Any magnetization of the bottomhole assembly in the vicinity of the surveying equipment will introduce a biasing error "e", which is an undesired error component contained in magnetometer readings due to the magnetization of the drillstring. The biasing error includes the following two types of error components: (1) an axial biasing error e z ; and (2) a transverse (or "cross-axial") biasing error e xy . Since the biasing error e z and e xy arise from sources fixed to the subassembly which carries the sensor array, the transverse biasing error e xy is fixed in position relative to the x-y-z frame of reference and will rotate as the tool is rotated. In other words, the transverse biasing error e xy will remain invariant as the tool is rotated. In the prior art, there are a plurality of methods for determining wellbore azimuth A which eliminate or minimize the influence of magnetic field biasing errors, including axial biasing errors e z , and transverse biasing errors e xy , but most of the prior art solutions are directed to the minimization or elimination of the axial biasing error e z . Only the approach of U.S. Patent No. 4,682,421 to van Dongen and U.S. Patent No. 4,345,454 to Coles are directed to the minimization or elimination of both the axial biasing error e z and the transverse biasing error e xy . Most of the prior art approaches require either (1) the adoption of an assumption about the value of one component of the earth's magnetic field such as magnetic field strength B, dip angle D, the horizontal component of the magnetic field B h or the vertical component of the magnetic field B v , or (2) the adoption of and assumption about the value of two components of the earth's magnetic field in combination with an initial estimation of azimuth which is improved through iterative calculations performed upon survey data, with the goal of converging upon a correct solution. These iterative approaches require additional processing resources, slow down the determination of wellbore orientation parameters such as azimuth A, and are subject to convergence to an incorrect or inadequate conclusion. All of the iterative processes require a good initial estimate in order to provide good survey data. The invention is defined in claim 1, and a variety of different embodiments in the dependent claims. In one embodiment, a sensor array is located within a drillstring which is disposed within the wellbore. During pauses in the drilling operations, the sensor array is utilized to measure the x-axis, y-axis, and z-axis components of both the earth's magnetic and gravitational fields at a particular depth in the wellbore, and at a particular tool face orientation. The drillstring is angularly displaced to at least one other tool face orientation, and additional measurements of the x-axis, y-axis, and z-axis components of the earth's magnetic and gravitational fields are made again with the sensor array at that particular tool face orientation. Then, the various measurements of the magnetic and gravitational fields are utilized to calculate directly, algebraically, and non-iteratively at least one wellbore orientation indicator, such as magnetic azimuth A, which establishes a wellbore's position relative to the earth's magnetic field, in a manner which eliminates the influence of the magnetic field biasing errors, including the axial magnetic field biasing error e z , and the transverse magnetic field biasing error e xy . In accordance with the preferred embodiment of the present invention, the influence of the transverse magnetic field biasing error e xy is eliminated by calculating, for each particular depth, at least one intermediate variable which is dependent upon at least a portion of the measurements of the magnetic and gravitational fields, but which is independent of at least one component (in particular, the transverse component) of the magnetic field biasing error. In the preferred embodiment, these intermediate variables comprise B xy , which is the x-y plane component of the magnetic field, and ø, which is defined as the difference between the magnetic tool face angle M and the tool face angle T; this is identical to the angle in the xy-plane between magnetic north N and the highside HS of the tool. In accordance with the preferred embodiment of the present invention, a statistical error-minimizing operation, such as a method-of-least-squares estimation, is performed upon the survey data to fit data from two or more surveys to the criteria that e x , e y , B xy , and  should remain invariant during rotation. The results of this method-of-least-squares estimation are utilized to directly and algebraically calculate the intermediate variables and at least one wellbore orientation indicator (such as azimuth A) which is uninfluenced by the transverse component of the magnetic field biasing error. The values of the transverse biases e x , e y can also be determined. In accordance with the preferred embodiment of the present invention, calculations are performed to calculate directly, algebraically, and noniteratively wellbore orientation indicators, which establish wellbore position relative to the earth's magnetic field, such as azimuth A, which are free of the axial magnetic field biasing error e z . In accordance with this technique, the sensor array is utilized to measure the earth's magnetic and gravitational fields at a particular depth and at a particular tool face orientation, or at a particular depth and a plurality of tool face orientations. The measurements of the magnetic and gravitational fields are utilized to calculate directly, algebraically, and noniteratively at least one wellbore orientation indicator, which establishes wellbore position relative to the earth's magnetic field, which is free of the axial component e z of the magnetic field biasing error. Preferably, the calculations include a comparison of the measurements of the magnetic field with expected values for the magnetic field, in a manner which optimizes the accuracy of a calculated value for the at least one wellbore orientation indicator. More specifically, the measurements of the earth's magnetic field vector magnitude and the dip angle are compared to expected values for the magnetic field vector magnitude and dip angle (or to the values of the expected horizontal component B h , and expected vertical component B v of the earth's magnetic field) in a manner which optimizes accuracy. Preferably, a noniterative method of radicals is employed to obtain two or four real roots which satisfy a particular equation. The root which minimizes the difference between the actual magnetic field values and expected magnetic field values is assumed to be the correct value, and is utilized for calculating the at least one wellbore orientation indicator. The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use, further objectives and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein: Figure 1 is a simplified graphical depiction of the earth's field vectors; Figure 2 provides a view of the Cartesian coordinate system which is established with reference to the longitudinal axis of a drillstring disposed within a wellbore; Figure 3 provides a graphical view of the azimuth, inclination, and tool face angles relative to the coordinate system; Figures 4a and 4b provide a graphical depiction of the impact of an axial magnetic biasing error component (e z ) upon the measurement and calculation of wellbore azimuth; Figure 5 is a graph which is utilized to describe the technique of the present invention for calculating wellbore orientation indicators which are independent of a transverse magnetic field biasing error; and Figure 6 is a graphical depiction of a minimization criterion which is employed to calculate wellbore orientation indicators which are independent of any axial magnetic field biasing error component. Figure 7 shows an example of surveying drilling operations. Figure 8 shows a data processing system suitably programmed. Figure 9 shows a high level flowchart representing the operating steps. Figures 10, 11 are flowcharts showing alternative techniques for deriving substantially error free orientation indicators. The present invention relates to the directional surveying of boreholes using arrays of magnetometers and accelerometers. The surveying tool measures three orthogonal components of the earth's gravity field G and its magnetic field B. G is positive in the vertical downward direction, while B is positive in the north direction and is inclined by a dip angle D below the horizon. These field vectors are illustrated in Figure 1 . The three measured components of each field are subscripted x, y, and z. The z-direction is parallel to the longitudinal axis of the drilling tool, pointing toward the drill bit and assumed to be approximately tangent to the borehole. The x- and y-directions are perpendicular to each other and to the z-direction, forming a right-handed triad, the y-direction being aligned with a scribe mark on the survey tool. These tool coordinate axes are shown in Figure 2 . The tool orientation is usually expressed in terms of the following three drilling angles: inclination I which is the angle between the z-direction and vertical; azimuth A which is the angle between the horizontal projections of the z-axis and the magnetic north vector; and gravity tool face T which is the angle in the xy-plane between the high side HS of the tool and the y-axis. Figure 3 shows these drilling angles. A further drilling angle is the magnetic tool face angle M, defined here as the angle in the xy-plane between magnetic north N and the y-axis. It is instructive to note here that the difference  between angle M and angle T is the angle in the xy-plane between magnetic north N and high side HS, which must remain invariant as the tool is rotated about its z-axis. The components measured by the tool may be expressed as: (1) G x = G·sinI·sinT (2) G y = G·sinI·cosT (3) G z = G·cosI (4) B x = B·cosD·cosI·cosA·sinT - B·sinD·sinI·sinT + B·cosD·sinA·cosT (5) B y = B·cosD·cosI·cosA·cosT - B·sinD·sinI·cosT - B·cosD·sinA·sinT (6) B z = B·cosD·sinI·cosA + B·sinD·cosI Note that by convention G x and G y are defined as positive toward the tool, while the other four measurements are positive away from the tool. If the measurements are unbiased, the field parameters and drilling angles may be readily determined from the measured components as follows: (7) G = (G x 2 + G y 2 + G z 2 ) .5 (8) I = cos -1 (G z /G) (9) T = tan -1 (G x /G y ) (10) M = tan -1 (B x /B y ) (11) B = (B x 2 + B y 2 + B z 2 ) .5 (12) D = sin -1 [(B z ·G z - B x ·G x - B y ·G y )/(B·G)] (13) A = tan -1 [{G·(·B x ·G y -B y ·G x )}/{B z ·(G x 2 +G y 2 ) + G z ·(B x ·G x +B y ·G y )}] The following relationships, where B xy = (B x 2 + B y 2 ) .5 , and the angle  is defined as (M-T), follow from the above and will be useful later: (14) B xy ·sin = B x ·cosT - B y ·sinT = B·cosD·sinA (15) B xy ·cos = B x ·sinT + B y ·cosT = B·cosD·cosI·cosA - B·sinD·sinI Sensors are housed in a non-magnetic section of drill collars. However, it is possible for local drill collar magnetization to cause significant magnetic anomalies. For example, such magnetization might arise as a result of welding procedures on the drill collar, inadequate demagnetization applied to the collar or its contents, or the presence of magnetic "junk" attached to the outside of the collar. Anomalies of this kind appear as biases on the B x , B y and B z measurements, and therefore lead to corrupted computations of M, B, D and A if equations (10) through (13) are applied. This invention therefore discloses a non-iterative method for reducing the influence of biased B x and B y readings on the computed value of A. Beyond the non-magnetic section, the ends of adjacent magnetic drill collar sections may tend to act as magnetic poles, causing an additional magnetic anomaly in a direction approximately parallel to the z-axis. This type of anomaly will therefore appear primarily as a bias on the B z measurement, and will tend to corrupt the values of B, D, and A computed using equations (11) through (13). This invention therefore further discloses a non-iterative method for computing A without the use of the biased B z reading. Figures 4a and 4b graphically depict the effects of an axial magnetic field bias "e z " on the determination of azimuth A. In these figures, the horizontal component of the magnetic field is represented by "B h "; the effect of axial bias makes the horizontal component of the magnetic field appear to be in the position of vector B happ , which is representative of the "apparent horizontal component of the magnetic field". Azimuth A is defined with respect to the horizontal component of the z-axis Z h . In these figures the apparent azimuth A app is the azimuth value determined from B happ , and differs from the unbiased azimuth A. As is shown in Figures 4a and 4b , the effect of the axial error field e z is usually to increase apparent azimuth A app if the hole has a westward component as is shown in Figure 4a , or to decrease apparent azimuth A app if the hole is eastbound, as is shown in Figure 4b . In either case, the apparent bottomhole location is moved further north. This is the typical case for boreholes located in the northern hemisphere. When undesired magnetization is present, magnetometer and accelerometer readings provide apparent values for the horizontal component of the magnetic field B happ and azimuth A app , but we wish to find the unbiased horizontal component of the magnetic field B h and especially the unbiased azimuth A. The invention consists of (1) a method to reduce the influence of transverse magnetometer biases "e xy ", and (2) a method to compute azimuth A in the presence of axial magnetometer bias "e z ". These two techniques will now be described in turn. Reduction of transverse magnetometer biases The effects on computed azimuth of transverse magnetometer biases e x and e y may be reduced by taking a number of surveys as the tool is rotated through various tool face attitudes. As suggested by (14) and (15), the transverse magnetometer information is contained in the two parameters B xy and , each of which remains invariant during such rotation. This invention uses a least-squares technique to best fit two or more points to the criteria that e x , e y , B xy and  should remain invariant during rotation. Figure 5 illustrates typical measured values of B x and B y at a number of different tool face attitudes "T n ". The points (B xn , B yn ) represent the n th measurement, which is expected to have coordinates (16) [e x + B xy ·sin(T n +), e y + B xy ·cos(T n +)] However, its actual coordinates are measured by the tool as (B xn , B yn ). Any difference is caused by measurement errors other than the systematic biases e x and e y . The squared distance between the expected and measured coordinates is (17) D n 2 = [B xn - e x - B xy ·sin(T n +)] 2 + [B yn - e y - B xy ·cos(T n +)] 2 This invention defines the most likely values of e x , e y , B xy , and  as those which minimize the sum of these squared distances over all N surveys. Minimization is obtained by setting the appropriate derivatives of equation (17) to zero (e x for equation (18), e y for equation (19), B xy for equation (20), and  for equation (21)); the results of this minimization are: (18) e x = [ΣB x - (b/c)·ΣG x - (a/c)·ΣG y ]/N (19) e y = [ΣB y + (a/c)·ΣG x - (b/c)·ΣG y ]/N (20) B xy = [(a 2 + b 2 )·(ΣG x 2 + ΣG y 2 )/N] .5 /c (21)  = tan -1 (a/b) (22) where a = N·Σ(B x G y ) - ΣB x ·ΣG y - N·Σ(B y G x ) + ΣB y ·ΣG x (23) b = N·Σ(B x G x ) - ΣB x ·ΣG x + N·Σ(B y G y ) - ΣB y ·ΣG y (24) c = N·ΣG x 2 + N·ΣG y 2 - Σ 2 G x - Σ 2 G y and "Σ" represents summation over all surveys. The values of B xy and  obtained from equations (20) and (21) are uncontaminated by the biases e x and e y . Given a reliable measurement of B z , equations (6), (14) and (15) can now be solved for B, D and A, the result for the azimuth A, magnetic field B, and dip angle D being: (25) A = tan -1 [B xy ·sin/(B xy ·cos·cosI + B z ·sinI)] (26) B = (B xy 2 + B z 2 ) 0.5 (27) D = sin -1 [(B z ·cosI-B xy ·cos·sinI)/B] However, these expressions are of limited value, since experience has shown that the z-axis bias "e z " usually outweighs the transverse biases e x , e y ; hence if it is necessary to reduce the influence of e x and e y as above, the measurement of B z in (6) will probably also have been corrupted by an axial bias e z . The second part of this invention therefore discloses a non-iterative method for computing azimuth A without the use of the B z measurement. Computation of A in the presence of axial magnetometer bias If the B z measurement is corrupted, equation (6) is not useful in computing the azimuth A. Instead, A can be calculated from (4) and (5), or from (14) and (15), and from the estimated local magnetic field defined by the expected values B and D . The expected values B and D can be established for a particular latitude and longitude from look up tables, charts or computer programs. The invention disclosed here makes use of both B and D , by minimizing the vector distance between B and its expected value B . As shown in Figure 6 , this can be expressed mathematically by adding a third equation (28) ( B ·cos D - B·cosD) 2 + ( B ·sin D - B·sinD) 2 = minimum, and solving the three equations (14), (15), and (28), for the three unknowns B, D and A. This is accomplished by using (14) and (15) to express B·sinD and B·cosD in terms of sinA and cosA, then taking the derivative of (28) with respect to A and setting it to zero. This yields the equation (29) X·sinA + Y·cosA + Z·sinA·cosA = 0 (30) where X = (B xy ·cos + B ·sin D ·sinI)·cosI (31) Y = - B xy ·sin (32) and Z = B ·cos D ·sin 2 I A variety of iterative procedures may be employed to solve this type of equation. However, the non-iterative method disclosed here makes use of the substitution sinA = (1-cos 2 A) .5 in (29), to obtain the following fourth-order equation in cosA : (33) cos 4 A + 2·X/Z·cos 3 A + (X 2 +Y 2 -Z 2 )/Z 2 ·cos 2 A - 2X/Z·cosA - X 2 /Z 2 =0 [Although equation (33) can be equally well cast in terms of sinA or tanA; the equivalent equations are: sin 4 A + 2·Y/Z·sin 3 A + (X 2 +Y 2 -Z 2 )/Z 2 ·sin 2 A-2·Y/Z·sinA - Y 2 /Z 2 = 0 tan 4 A + 2·Y/X·tan 3 A + (X2+-Y 2 -Z 2 )/X 2 ·tan 2 A + 2·Y/X·tanA + Y 2 /X 2 = 0 There may actually be numerical advantages to solving for sinA in many cases, since in the critical east-west orientations | sinA | approaches 1 while cosA approaches zero.] This equation is solved by the method of radicals, well known in mathematical literature, to obtain either two or four real roots in cosA. The method of radicals is most fully described in the following reference: "College Algebra" by J.B. Rosenbach, E. A. Whitman, B.E. Meserve P.M. Whitman, Fourth Edition, Ginn & Co., 1958, pp. 366-367. For each of the real roots in cosA, sinA is obtained from equation (29), and the root which gives the minimum value of equation (28) is assumed to be the correct one. This method can also be used to correct for a bias on B z without first reducing the influence of transverse biases; one need only take a single survey and obtain B xy and  from (14) and (15) instead of from (20) and (21). This is equivalent to solving (4), (5) and (28) for the unknowns B, D and A. After an unbiased azimuth A is computed, magnetic field strength B and dip angle D can be computed as follows: (34) B = B xy ·[(sin/sinA) 2 + {(sin·cosI/tanA - cos)/sinI} 2 ] 0.5 (35) D = sin -1 [B xy ·(sin·cosI/tanA - cos)/(B·sinI)] Preferably, the techniques of the present invention are utilized In conventional wellbore surveying operations. Typically, the sensor array is located within the bottomhole assembly of a drillstring during drilling operations. During pauses in the drilling activity, the sensors are utilized to detect the x-axis, y-axis, and z-axis components of the earth's magnetic and gravitational field vectors, but the z-axis component of the magnetic field is assumed to be corrupted and is thus primarily used as a quality check since e z should not change rapidly between surveys. These measurements include the influence of the magnetic field biasing error components including the axial magnetic field biasing error component e z and the transverse magnetic field biasing error component e xy . As is conventional, the measurements are transmitted to the earth's surface utilizing measurement-while-drilling data transmission techniques. Typically, the data is impressed upon a mud column as a series of pressure drops or increases which are decoded at the surface to provide numerical data. This data may be entered into a computing device which is preprogrammed in accordance with the method of the present invention. The program will include as inputs the x-axis, y-axis, and z-axis components of the earth's magnetic and gravitational field vectors. The calculations are performed in accordance with the description provided hereabove, and the program provides as an output the wellbore's azimuth A and inclination I which are so useful in defining the position of a wellbore relative to the earth's magnetic and gravitational field vectors. Figure 7 depicts one example of surveying operations conducted during drilling operations in accordance with the present invention. As is shown, a conventional rig 3 includes a derrick 5 , derrick floor 7 , draw works 9 , hook 11 , swivel 13 , kelly joint 15 , and rotary table 17 . A drillstring 19 which includes drill pipe section 21 and drill collar section 23 extends downward from rig 3 into wellbore 1 . Drill collar section 23 preferably includes a number of tubular drill collar members which connect together, including a measurement-while-drilling logging subassembly and cooperating mud pulse telemetry data transmission subassembly, which are collectively referred to hereinafter as "measurement and communication system 25 ". During drilling operations, drilling fluid is circulated from mud pit 27 through mud pump 29 , through a desurger 31 , and through mud supply line 33 into swivel 13 . The drilling mud flows through the kelly joint and an axial central bore in the drillstring. Eventually, it exits through jets which are located in rock bit 26 which is connected to the lowermost portion of measurement and communication system 25 . The drilling mud flows back up through the annular space between the outer surface of the drillstring and the inner surface of wellbore 1 , to be circulated to the surface where it is returned to mud pit 27 through mud return line 35 . A shaker screen (which is not shown) separates formation cuttings from the drilling mud before it returns to mud pit 27 . Preferably, measurement and communication system 25 utilizes a mud pulse telemetry technique to communicate data from a downhole location to the surface while drilling operations take place. To receive data at the surface, transducer 37 is provided in communication with mud supply line 33 . This transducer generates electrical signals in response to drilling mud pressure variations. These electrical signals are transmitted by a surface conductor 39 to a surface electronic processing system 41 , which is preferably a data processing system with a central processing unit for executing program instructions, and for responding to user commands entered through either a keyboard or a graphical pointing device. The mud pulse telemetry system is provided for communicating data to the surface concerning numerous downhole conditions sensed by well logging transducers or measurement systems such as the surveying sensors that are ordinarily located within measurement and communication system 25 . Mud pulses that define the data propagated to the surface are produced by equipment which is located within measurement and communication system 25 . Such equipment typically comprises a pressure pulse generator operating under control of electronics contained in an instrument housing to allow drilling mud to vent through an orifice extending through the drill collar wall. Each time the pressure pulse generator causes such venting, a negative pressure pulse is transmitted to be received by surface transducer 37 . Such a telemetry system is described and explained in U.S. Patent No. 4,216,536 to More, which is incorporated herein by reference as if fully set forth. An alternative conventional arrangement generates and transmits positive pressure pulses. As is conventional, the circulating mud provides a source of energy for a turbine-driven generator subassembly which is located within measurement and communication system 25 . The turbine-driven generator generates electrical power for the pressure pulse generator and for various circuits including those circuits which form the operational components of the measurement-while-drilling tools. As an alternative or supplemental source of electrical power, batteries may be provided, particularly as a back-up for the turbine-driven generator. With reference now to the figures and in particular with reference to Figure 8, there is depicted a pictorial representation of data processing system 110 which may be programmed in accordance with the present invention. As may be seen, data processing system 110 includes processor 112 which preferably includes a graphics processor, memory device and central processor (not shown). Coupled to processor 112 is video display 114 which may be implemented utilizing either a color or monochromatic monitor, in a manner well known in the art. Also coupled to processor 112 is keyboard 116 . Keyboard 116 preferably comprises a standard computer keyboard which is coupled to the processor by means of cable 118 . Also coupled to processor 112 is a graphical pointing device, such as mouse 120 . Mouse 120 is coupled to processor 112 , in a manner well known in the art, via cable 122 . As is shown, mouse 120 may include left button 124 , and right button 126 , each of which may be depressed, or "clicked", to provide command and control signals to data processing system 110 . While the disclosed embodiment of the present invention utilizes a mouse, those skilled in the art will appreciate that any graphical pointing device such as a light pen or touch sensitive screen may be utilized to implement the method end apparatus of the present invention. Upon reference to the foregoing, those skilled in the art will appreciate that data processing system 110 may be implemented utilizing a so-called personal computer, such as the Model 80 PS/2 computer manufactured by International Business Machines Corporation of Armonk, New York, or any other conventional and commercially available data processing system. Figure 9 is a high level flowchart representation of the operating steps of the present invention. The process begins at step 201 . In accordance with step 203 , drilling operations are paused. Next, in accordance with step 205 , at a particular depth, the x-axis, y-axis, and z-axis of the earth's magnetic and gravitational fields are measured utilizing the sensor array. Next, In accordance with step 207 , the drillstring is angularly displaced; then, in accordance with step 208 , the x-axis, y-axis, and z-axis components of the earth's magnetic and gravitational fields are once again measured. In accordance with step 209 , this process is repeated a predetermined number of times as preprogrammed. In other words, the drillstring is rotated to different angular positions and measurements are made of the x-axis, y-axis, and z-axis components of the earth's magnetic and gravitational fields. In accordance with step 211 , the data is telemetered to the surface utilizing a conventional measurement-while-drilling telemetry system. Then, in accordance with step 213 , the data is entered Into a data processing system, where calculations are performed in accordance with the teachings of the present invention. The process ends at step 215 . Figure 10 is a flowchart representation of one technique for deriving substantially error free orientation indicators as is described and claimed herein; Figure 11 is an alternative technique for deriving substantially error free orientation indicators in accordance with an alternative technique which is described and claimed herein. The techniques of Figures 10 and 11 may be used either together or alone to generate error free survey measurements. Turning first to Figure 10 , the process begins at software block 217 . Next, In accordance with software block 219 , the data which has been entered into the data processing system is utilized to calculate at least one intermediate variable which is independent of at least one component of magnetic field biasing error. Next, in accordance with software block 221 , the data processing system utilizes a statistical error minimizing operation on two or more surveys to fit the data to the criteria that certain measurements that are independent of axial bias remain invariant. Next, in accordance with software block 223 , the data processing system utilizes the results of the statistical error minimizing operation to directly calculate at least one orientation indicator which is uninfluenced by magnetic field blasing error. The process ends at software block 225 . Turning now to Figure 11 , the alternative technique will be described with reference to the high-level flowchart. The process begins at software block 227 . It continues at software block 229 , wherein the data processing system is utilized to compare measurements of magnetic field with expected values for the magnetic field. Next, in accordance with software block 231 , the data processing system utilizes an error minimizing procedure to select the most likely value or values. Then, in accordance with software block 233 , the data processing system continues operation based upon the assumption that the most likely value or values generated utilizing the error minimizing procedure is or are the correct value or values. Next, in accordance with software block 235 the data processing utilizes the most likely value or values to calculate at least one wellbore orientation indicator, which is substantially free of biasing error. The process ends at software block 237 .

Claims: A method of surveying a wellbore utilizing a sensor array located within a drillstring within said wellbore, in the presence of a magnetic field biasing error which can be defined in terms of both an axial magnetic field biasing error (e z ) and a transverse magnetic field biasing error (e xy ), in a manner which reduces said magnetic field biasing error, comprising: measuring magnetic and gravitational fields (B, G) with said sensor array at a particular depth and at a particular tool face orientation; rotating said drillstring to at least one other tool face orientation and measuring magnetic and gravitational fields with said sensor array at that particular tool face orientation to provide a plurality of N measurements characterized by : utilizing a noniterative statistical technique to best fit two or more of those N measurements to the criterion that the x-axis component of the biasing error (e x ), the y-axis component of the biasing error (e y ), the transverse component of the magnetic field vector (B xy ), and the difference (phi) between the magnetic tool face angle (M) and the tool face angle (T) should remain invariant during rotation of the tool, wherein the most likely values for e x , e y , B xy , and phi are those which minimize the squared distance between expected and measured coordinates for all N measurements. A method of surveying according to Claim 1 wherein said noniterative statistical technique comprises a method-of-least-squares technique, and wherein the most likely values for e x , e y , B xy , and phi are those which minimize the sum of the squared distances for all N measurements. A method of surveying according to Claim 1, further comprising: utilizing the results of said noniterative statistical technique to calculate at least one wellbore orientation indicator such as azimuth (A) which is free of the effects of magnetic field biasing error. A method of surveying according to Claim 1, further comprising: identifying a most likely value for wellbore azimuth (A) by utilizing an estimated value for local magnetic field defined by expected values for magnetic field strength (B) and dip angle (D). A method of surveying according to Claim 4, wherein said step of identifying includes: utilizing measurements of said magnetic and gravitational fields to calculate directly algebraically, and non-iteratively wellbore azimuth in a manner which minimizes the corrupting influence of axial magnetic field biasing errors, by performing intermediate calculations. A method of surveying according to Claim 4, wherein said step of identifying includes: comparing measurements of said magnetic field with expected values for said magnetic field in a manner which minimizes the difference between a calculated value for a magnetic field vector and an expected value for said magnetic field vector, by identifying a most likely value for said at least one wellbore orientation indicator by performing at least one of the following: (a) comparing measured magnetic field vector magnitude to expected magnetic field magnitude; (b) comparing measured dip angle values to expected dip angle values; and (c) determining a most likely value for said at least one wellbore orientation indicator by identification of minimum variation between measured and expected values.

Inventors: BROOKS ANDREW GOODWIN, BROOKS, ANDREW GOODWIN
Applicants: BAKER HUGHES INC, BAKER HUGHES INCORPORATED
Application year: 1994
Main classification: G01V3
IPC codes: E21B47, G01V3