Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
CORRECTION OF NMR ARTIFACTS DUE TO CONSTANT-VELOCITY AXIAL MOTION AND SPIN-LATTICE RELAXATION
Document Type and Number:
WIPO Patent Application WO/2006/023346
Kind Code:
A1
Abstract:
NMR spin echo signals are corrected for axial motion of the borehole logging tool. An additional correction may be applied to correct for incomplete polarization of nuclear spins due to an insufficient wait time between pulse sequences.

Inventors:
BLANZ MARTIN (DE)
THERN HOLGER F (DE)
Application Number:
PCT/US2005/028421
Publication Date:
March 02, 2006
Filing Date:
August 11, 2005
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
BAKER HUGUES INC (US)
BLANZ MARTIN (DE)
International Classes:
G01V3/32; (IPC1-7): G01V3/32
Domestic Patent References:
WO2003016953A12003-02-27
Foreign References:
US20020153888A12002-10-24
US20050088176A12005-04-28
EP0977057A22000-02-02
US20030132749A12003-07-17
Attorney, Agent or Firm:
Riddle, Albert J. (3900 Essex Lane Suite 120, Houston Texas, US)
Download PDF:
Claims:
CLAIMS What is claimed is:
1. A method of processing Nuclear Magnetic Resonance (NMR) signals from an earth formation, the method comprising: (a) conveying a NMR logging tool into a borehole in said earth formation and moving it axially therein with a velocity; (b) polarizing nuclear spins in said earth formation; (c) pulsing an antenna on said NMR logging tool with at least one pulse sequence and producing spin echo signals, said at least one pulse sequence including an excitation pulse and a plurality of refocusing pulses; and (d) correcting said spin echo signals using a function of said velocity and producing first corrected spin echo signals.
2. The method of claim 1 wherein said logging tool is conveyed into said borehole on one of (i) a wireline, and, (ii) a slickline, (iii) a drillstring, and, (iv) coiled tubing.
3. The method of claim 1 polarizing said spins further comprises producing a static magnetic field in said earth formation using a magnet on said logging tool.
4. The method of claim 3 wherein a carrier frequency of said at least one pulse sequence is related to a field strength of said static magnetic field.
5. The method of claim 1 wherein said correcting further comprises scaling said spin echo signals by a normalizing function related to said velocity and a reference velocity.
6. The method of claim 5 wherein said correcting further comprises using an equation of the form wherein γ4(7j is one of (i) an inphase component of said spin echo signals, (ii) a quadrature component of said spin echo signals, and, (iii) an amplitude of said spin echo signals, Hs a time, Acor(t) is a corrected signal, v^d is said velocity, and vre/is said reference velocity, and^ is said normalizing function.
7. The method of claim 6 wherein said function^ comprises a polynomial function and a perturbing term.
8. The method of claim 7 wherein said perturbing term comprises a damped oscillating term.
9. The method of claim 1 wherein said excitation pulse has a tip angle that is substantially equal to 90°.
10. The method of claim 1 wherein said at least one pulse sequence comprises a plurality of pulse sequences with a wait time TW between an ending time of a pulse sequence and a starting time of a subsequent pulse sequence.
11. The method of claim 10 further comprising using a saturation sequence after an ending time of a pulse sequence of said plurality of pulse sequences.
12. The method of claim 11 wherein said correcting further comprises scaling said spin echo signals by a normalizing function related to said velocity, a longitudinal relaxation time of said earth formation, a reference velocity and a wait time.
13. The method of claim 10 wherein said correcting further comprises scaling said spin echo signals by a normalizing function related to said velocity, a longitudinal relaxation time of said earth formation, a reference velocity and a wait time.
14. The method of claim 1 wherein said correcting further comprises scaling said spin echo signals by a normalizing function related to said velocity, a longitudinal relaxation time of said earth formation, a reference velocity and a wait time.
15. The method of claim 12 wherein said normalizing function comprises a polynomial function of said longitudinal relaxation time and said velocity.
16. The method of claim 1 wherein said logging tool is conveyed in said borehole on a bottom hole assembly (BHA), the method further comprising determining said velocity using measurements by an accelerometer on said BHA.
17. The method of claim 1 wherein said nuclear spins are characterized by a transverse relaxation time (T2) distribution and a longitudinal relaxation time (Ti) distribution, the method further comprising estimating a porosity of said earth formation, said estimate of porosity based in part on said velocity, an estimate of said T2 distribution and an estimate of said Ti distribution.
18. The method of claim 17 wherein said estimation of said porosity further comprises applying a phase correction to said first corrected spin echo signals to give second corrected spin echo signals.
19. The method of claim 18 further wherein said estimation of said porosity further comprises inverting said second corrected spin echo signals to give a distribution of said transverse relaxation times T2, said distribution defined over a plurality of bins.
20. The method of claim 19 wherein said estimation of said porosity further comprises determining from said T2 distribution a distribution of Ti.
21. An apparatus for Nuclear Magnetic Resonance (NMR) logging of an earth formation, the apparatus comprising: (a) a NMR logging tool conveyed into a borehole in said earth formation by a conveyance device and moved axially therein with a velocity of motion; (b) a magnet on said NMR logging tool which polarizes nuclear spins in said earth formation; (c) an antenna on said logging tool which is pulsed with at least one pulse sequence and produces spin echo signals from said nuclear spins, said at least one pulse sequence including an excitation pulse and a plurality of refocusing pulses; (d) a receiver which receives said spin echo signals; and (e) a processor which corrects said spin echo signals using a function of said velocity, and produces first corrected spin echo signals.
22. The apparatus of claim 21 wherein said conveyance device is selected from the group consisting of (i) a wireline, and, (ii) a slickline, (iii) a drillstring, and, (iv) coiled tubing.
23. The apparatus of claim 21 wherein a carrier frequency of said pulse sequence is related to a field strength of a static magnetic field produced by said magnet.
24. The apparatus of claim 21 wherein said processor corrects said spin echo signals using a normalizing function related to said velocity and a reference velocity.
25. The apparatus of claim 24 wherein said processor corrects said spin echo signals using an equation of the form wherein A(t) is one of (i) an inphase component of said spin echo signals, (ii) a quadrature component of said spin echo signals, and, (iii) an amplitude of said spin echo signals, / is a time, Acor(t) is a corrected signal, v^ai is said velocity, and vref is said reference velocity, and ^ is said normalizing function.
26. The apparatus of claim 21 wherein said excitation pulse has a tip angle that is substantially equal to 90°.
27. The apparatus of claim 21 wherein said at least one pulse sequence comprises a plurality of pulse sequences with a wait time TW between an ending time of one of said plurality of pulse sequences and a starting time of a subsequent pulse sequence.
28. The apparatus of claim 27 wherein said antenna further pulses said earth formation with a saturation sequence after an ending time of a pulse sequence of said plurality of pulse sequences.
29. The apparatus of claim 28 wherein said processor further scales said spin echo signals by a normalizing function related to said velocity, a longitudinal relaxation time of said earth formation, and a reference velocity.
30. The apparatus of claim 21 wherein said conveyance device is a bottom hole assembly (BHA).
31. The apparatus of claim 30 further comprising an accelerometer on said BHA, and wherein said processor uses measurements made by said accelerometer for determining said velocity.
32. The apparatus of claim 21 wherein said nuclear spins are characterized by a transverse relaxation time (T2) distribution and a longitudinal relaxation time (Ti) distribution, and wherein said processor further estimates a porosity of said earth formation, based in part on said velocity, an estimate of said T2 distribution and an estimate of said T] distribution.
33. The apparatus of claim 32 wherein said processor further estimates said porosity by applying a phase correction to said first corrected spin echo signals to give second corrected spin echo signals.
34. The apparatus of claim 33 wherein said processor further estimates said porosity by inverting said second corrected spin echo signals to give a distribution of said transverse relaxation times T2, said distribution defined over a plurality of bins.
Description:
CORRECTION OF NMR ARTIFACTS DUE TO CONSTANT-VELOCITY AXIAL MOTION AND SPIN-LATTICE RELAXATION Martin Blanz, Holger Them & Thomas Kruspe

BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates generally to determining geological properties of subsurface formations using Nuclear Magnetic Resonance ("NMR") methods for logging wellbores, particularly for correcting for the effects of tool motion and pulse sequence timing on NMR signals.

2. Description of the Related Art [0002] A variety of techniques are currently utilized in determining the presence and estimation of quantities of hydrocarbons (oil and gas) in earth formations. These methods are designed to determine formation parameters, including among other things, the resistivity, porosity and permeability of the rock formation surrounding the wellbore drilled for recovering the hydrocarbons. Typically, the tools designed to provide the desired information are used to log the wellbore. Much of the logging is done after the well bores have been drilled. More recently, wellbores have been logged while drilling, which is referred to as measurement-while-drilling (MWD) or logging-while-drilling (LWD).

[0003] One commonly used technique involves utilizing Nuclear Magnetic Resonance (NMR) logging tools and methods for determining, among other things, porosity, hydrocarbon saturation and permeability of the rock formations. The NMR logging tools are utilized to excite the nuclei of the liquids in the geological formations surrounding the wellbore so that certain parameters such as nuclear spin density, longitudinal relaxation time (generally referred to in the art as Ti) and transverse relaxation time (generally referred to as T2) of the geological formations can be measured. From such measurements, porosity, permeability and hydrocarbon saturation are determined, which provides valuable information about the make-up of the geological formations and the amount of extractable hydrocarbons. [0004] The NMR tools generate a static magnetic field in a region of interest surrounding the wellbore. NMR is based on the fact that the nuclei of many elements have angular momentum (spin) and a magnetic moment. The nuclei have a characteristic Larmor resonant frequency related to the magnitude of the magnetic field in their locality. Over time the nuclear spins align themselves along an externally applied static magnetic field creating a net magnetization. This equilibrium situation can be disturbed by a pulse of an oscillating magnetic field, which tips the spins with resonant frequency within the bandwidth of the oscillating magnetic field away from the static field direction. The angle θ through which the spins exactly on resonance are tipped is given by the equation:

where γ is the gyromagnetic ratio, Bi is the magnetic flux density amplitude of the sinusoidally oscillating field and tp is the duration of the RF pulse.

[0005] After tipping, the spins precess around the static field at a particular frequency known as the Larmor frequency ωo given by Oi, = YB0 (2) where Bo is the static magnetic flux density. For hydrogen nuclei γ/2π = 4258 Hz/Gauss, so that a static field of 235 Gauss, would produce a precession frequency of 1 MHz. At the same time, the magnetization returns to the equilibrium direction (i.e., aligned with the static field) according to a decay time known as the "spin-lattice relaxation time" or 7/. T/ is controlled by the molecular environment and is typically ten to one thousand milliseconds in rocks.

[0006] At the end of a θ = 90° tipping pulse, spins on resonance are pointed in a common direction perpendicular to the static field, and they precess at the Larmor frequency. However, because of inhomogeneity in the static field due to the constraints on tool shape, imperfect instrumentation, or microscopic material heterogeneities, each nuclear spin precesses at a slightly different rate. Hence, after a time long compared to the precession period, but shorter than Ti, the spins will no longer be precessing in phase. This de-phasing occurs with a time constant that is commonly referred to as 7?*- Dephasing due to static field inhomogeneity can be recovered by generating spin echoes (see below). The remaining dephasing is characterized by the time constant T2 and is due to properties of the material.

[0007] A receiving coil is designed so that a voltage is induced by the precessing spins. Only that component of the nuclear magnetization that is precessing in the plane perpendicular to the static field is sensed by the coil. After a 180° tipping pulse (an "inversion pulse"), the spins on resonance are aligned opposite to the static field and the magnetization relaxes along the static field axis to the equilibrium direction. Hence, a signal will be generated after a 90° tipping pulse, but not after a 180° tipping pulse in a generally uniform magnetic field.

[0008] While many different methods for measuring Ti have been developed, a single standard known as the CPMG sequence (Carr-Purcell-Meiboom-Gill) for measuring T2 has evolved. In contrast to laboratory NMR magnets, well logging tools have inhomogeneous magnetic fields due to the constraints on placing the magnets within a tubular tool and the inherent "inside-out" geometry. Maxwell's divergence theorem dictates that there cannot be a region of high homogeneity outside the tool. Therefore in typical well bores, T2* « T2, and the free induction decay becomes a measurement of the apparatus-induced inhomogeneities. To measure the true T2 in such situations, it is necessary to cancel the effect of the apparatus-induced inhomogeneities. To accomplish the same, a series of pulses is applied to repeatedly refocus the spin system, canceling the T2 * effects and forming a series of spin echoes. The decay of echo amplitude is a true measure of the decay due to material properties. Furthermore it can be shown that the decay is in fact composed of a number of different decay components forming a 7? distribution. The echo decay data can be processed to reveal this distribution which is related to rock pore size distribution and other parameters of interest to the well log analyst.

[0009] Tool motion can seriously affect the performance of NMR tools used in an MWD environment. NMR tools that have static magnetic fields with complete rotational symmetry are unaffected by rotation of the tool since the fields in the region of examination do not change during the measurement sequence. However, any axial or transverse (orthogonal to the tool axis) component of tool motion due to vibration will affect the NMR signal. [0010] There are many well-known artifacts of motion that show up in signals in downhole logging. These artifacts are theoretically expected and are attributable to such factors as rotation, transverse vibration and axial motion. In addition to these motion artifacts the NMR signal amplitude can be reduced due to insufficient wait time for polarization after the end of an echo sequence.

[0011] Artifacts of rotation are a result of the typical stationary B0 field of the system not being completely axisymmetric. Rotation of the drillstring therefore causes (periodic) NMR signal losses during a spin echo train. Artifacts from transverse vibrations generally occur because of drilling or because of mud circulation through a mud motor. The obtained vibration frequency spectrum usually includes some dominant frequencies that are directly related to the rotational speed of the motor or drill string.

[0012] Axial motion of the drill string gives rise to two distinct artifacts. A first artifact of axial motion is caused by the motion of the drillstring through the borehole. The rate of penetration (ROP) of the drill string can be recorded electronically and later retrieved from a computer file. Obviously, the ROP at the drill bit differs slightly from the electronically-recorded value of the ROP which is measured at the surface. This discrepancy between ROP values is due to limited time resolution of the computer file as well as to flexibility of the drill string. A second artifact of axial motion exhibits itself as higher frequency axial vibrations. These vibrations can be measured with an accelerometer in the NMR tool.

[0013] Application of an insufficient wait time between consecutive pulse sequences can give rise to yet another artifact. Typically, after the end of an echo sequence obtained with axial motion of the drill string, the z-magnetization is substantially zero. This z-magnetization is generally non-zero when no such motion exists. A wait time is generally applied after an echo sequence to allow the protons to re-align along the direction of the static magnetic field. This re-magnetization occurs with a characteristic relaxation time known as the spin-lattice relaxation time Ti. Usually, there exists a distribution of Ti times similar to the well-known T2 distribution. [0014] US Patent 5,389,877 issued to Sezginer describes a truncated CPMG sequence in which the sequence duration and recovery delay are so short that only signals from the clay and capillary bound fluids are detected. A truncated sequence has the advantage that the effect of tool motion on the measurements is reduced due to the short measurement time (approx. 50 ms, compared to greater than 300 ms for normal downhole CPMG measurements.) As discussed in US Patent 5,705,927 issued to Kleinberg, resonance regions of many prior art instruments are of the order of 1 mm. Accordingly, a lateral vibration at a frequency of 50 Hz having an amplitude of 1 mm (10 g acceleration) would disable the instrument. The Kleinberg '927 patent discloses making the length of each CPMG sequence small, e.g. 10 ms, so that the drill collar cannot be displaced by a significant fraction of the vertical or radial extent of the sensitive region during a CPMG pulse sequence. However, as noted above, using such short sequences and short wait times only gives an indication of the bound fluid volume and gives no indication of the total fluid volume.

[0015] US Patent 6,268,726 to Prammer et al., teaches the use of motion sensors on an MWD apparatus that makes measurements of tool motion of a NMR sensor assembly. Measurements are made by the NMR sensor during continued drilling operations, and subsequently, the measurements made by the motion sensor are used to select a subset of the NMR measurements that meet certain requirements on tool motion and hence would be expected to give a reasonable insensitivity to tool motion. US Patent 6,459,263 to Hawkes et al, having the same assignee as the present application and the contents of which are fully incorporated herein by reference, uses the output of motion sensors in combination with predictive filtering to control the timing of pulses for a modified (as in the Hawkes '013 patent) or conventional CPMG sequence.

[0016] US Patent 6,566,874 to Speier et al. teaches several approaches to dealing with problems associated with tool motion. In one embodiment, measurements are made of two different echo trains that have different sensitivities to tool motion. A tool is used having two different regions of examination: a high gradient zone defined by one set of magnets and antennas, and a low gradient zone defined by another set of magnets and antennas. The effect of tool motion on the signal amplitude is greater in the high gradient zone than in the low gradient zone. Using these two sets of signals and knowing the gradients of the respective zones, it is possible to estimate what the signal would have been without the tool motion. The Speier '874 patent also teaches that sensitivity to motion may be varied by different field geometries with different gradients. This requirement of having two different regions of examination complicates the hardware. Another drawback (noted in Speier '874) to the above- described techniques is that the measurements must be separated in time and/or space. In order to interpret the results it is assumed that, in the absence of motion, the NMR signal (and therefore the formation measured) is the same in both measurements. For a continuously moving logging tool, this condition is not always given. Also the motion during the two measurements should be the same, or at least have the same characteristics.

[0017] In another embodiment taught by Speier '874, measurements are processed to obtain both the Ti and T2 distribution. The effect of tool motion is different on the two types of measurements. This approach has at least two drawbacks. The first is that Ti determination is time consuming. A second drawback is that in the absence of an exact knowledge of the ratio of Ti / T2 , the method can only be used for quality control and not for determining both the Ti and T2 distributions.

[0018] There is a need for computational methods to reduce the effects of motion artifacts encountered in MWD testing. The method should correct NMR signals due to (constant) ROP as well as insufficient wait time in MWD testing. This method should be combinable with other methods of motion corrections or methods that reduce motion artifacts. The method should be usable with standard pulse sequences in the prior art.

SUMMARY OF THE INVENTION

[0019] The present invention is a method of processing and an apparatus used for processing Nuclear Magnetic Resonance (NMR) signals from an earth formation. The NMR tool is conveyed into a borehole in the earth formation and moved with an axial velocity in the borehole. Nuclear spins in the earth formations are polarized. An antenna on the NMR logging tool is pulsed with a pulse sequence to produce spin echo signals. The pulse sequence includes an excitation pulse and a plurality of refocusing pulses. The spin echo signals are corrected using a function of the velocity to give corrected spin echo signals. The NMR logging tool may be conveyed into the borehole on a wireline, slickline, drillstring, or coiled tubing. The correction may be implemented by scaling the spin echo signals by a normalizing function related to the axial velocity and a reference velocity. The correction factor may be applied to the in-phase component, quadrature component or to the amplitude of the spin echo signals. The first correction compensates for one type of effects caused by tool motion.

[0020] In one embodiment of the invention, a plurality of pulse sequences is applied with a wait time therebetween. A second correction may be applied to compensate for the excessive premagnetization and also for insufficient wait time that would not allow full magnetization of the nuclei used for NMR. This second correction may be in addition to or applied independently of the first correction. The second correction is calculated for the longitudinal relaxation values corresponding to the bins of the T2 distribution. Correction B is then executed by multiplying each bin of the T2 distribution by its correction B factor. The result is a T2 distribution where constant axial velocity artifacts and insufficient recovery time artifacts have been eliminated.

BRIEF DESCRIPTION OF THE DRAWINGS [0021] The present invention is best understood with reference to the accompanying figures in which like numerals refer to like elements and in which: Fig. 1 (Prior Art) shows a measurement-while-drilling tool suitable for use with the present invention; Fig. 2 (Prior Art) shows a sensor section of a measurement- while-drilling device suitable for use with the present invention; Fig. 3 shows a typical pulse sequence usable with the present invention; Fig. 4 shows six NMR spin echo decay curves obtained at varying axial motions of a drillstring through a formation; Fig. 5 shows the results of a compression of the horizontal axis of Fig. 4; Fig. 6 shows simulations obtained with an infinite T2 decay ; Fig. 7 shows simulations using an RF current amplitude different from that used in Fig. 6; Fig. 8 shows the effect of applying a correction function of the present invention for a simulation with finite T2; Fig. 9 shows 2 ORPS sequences separated by a wait time TW; Fig. 10 shows a laboratory example of echo decays produced using the second ORPS sequence from Fig. 9; Fig. 11 shows the use of an aperiodic pulse sequence (APS); Fig. 12 shows the effect of hyperpolarization and insufficient wait time; Fig. 13 shows the error of fitted correction B; Fig. 14 shows a flowchart of the present invention in the presence of a Ti distribution; and Fig. 15 shows a simulation of NMR data with the use of an APS sequence (Fig. 11) and applied corrections A and B..

DETAILED DESCRIPTION OF THE INVENTION [0022] Fig. 1 shows a schematic diagram of a drilling system 10 with a drillstring 20 carrying a drilling assembly 90 (also referred to as the bottom hole assembly, or "BHA") conveyed in a "wellbore" or "borehole" 26 for drilling the wellbore. The drilling system 10 includes a conventional derrick 11 erected on a floor 12 which supports a rotary table 14 that is rotated by a prime mover such as an electric motor (not shown) at a desired rotational speed. The drillstring 20 includes a tubing such as a drill pipe 22 or a coiled-tubing extending downward from the surface into the borehole 26. The drillstring 20 is pushed into the wellbore 26 when a drill pipe 22 is used as the tubing. For coiled-tubing applications, a tubing injector, such as an injector (not shown), however, is used to move the tubing from a source thereof, such as a reel (not shown), to the wellbore 26. The drill bit 50 attached to the end of the drillstring breaks up the geological formations when it is rotated to drill the borehole 26. If a drill pipe 22 is used, the drillstring 20 is coupled to a drawworks 30 via a Kelly joint 21, swivel 28, and line 29 through a pulley 23. During drilling operations, the drawworks 30 is operated to control the weight on bit, which is an important parameter that affects the rate of penetration. The operation of the drawworks is well known in the art and is thus not described in detail herein. For the purposes of this invention, it is necessary to know the axial velocity (rate of penetration or ROP) of the bottomhole assembly. Depth information and ROP may be communicated downhole from a surface location. Alternatively, the method disclosed in U.S. Patent 6,769,497 to Dubinsky et al. having the same assignee as the present application and the contents of which are incorporated herein by reference may be used. The method oϊDubinsky uses axial accelerometers to determine the ROP. During drilling operations, a suitable drilling fluid 31 from a mud pit (source) 32 is circulated under pressure through a channel in the drillstring 20 by a mud pump 34. The drilling fluid passes from the mud pump 34 into the drillstring 20 via a desurger (not shown), fluid line 38 and Kelly joint 21. The drilling fluid 31 is discharged at the borehole bottom 51 through an opening in the drill bit 50. The drilling fluid 31 circulates uphole through the annular space 27 between the drillstring 20 and the borehole 26 and returns to the mud pit 32 via a return line 35. The drilling fluid acts to lubricate the drill bit 50 and to carry borehole cutting or chips away from the drill bit 50. A sensor Si typically placed in the line 38 provides information about the fluid flow rate. A surface torque sensor S2 and a sensor S3 associated with the drillstring 20 respectively provide information about the torque and rotational speed of the drillstring. Additionally, a sensor (not shown) associated with line 29 is used to provide the hook load of the drillstring 20.

[0023] In one embodiment of the invention, the drill bit 50 is rotated by only rotating the drill pipe 22. In another embodiment of the invention, a downhole motor 55 (mud motor) is disposed in the drilling assembly 90 to rotate the drill bit 50 and the drill pipe 22 is rotated usually to supplement the rotational power, if required, and to effect changes in the drilling direction.

[0024] In an exemplary embodiment of Fig. 1, the mud motor 55 is coupled to the drill bit 50 via a drive shaft (not shown) disposed in a bearing assembly 57. The mud motor rotates the drill bit 50 when the drilling fluid 31 passes through the mud motor 55 under pressure. The bearing assembly 57 supports the radial and axial forces of the drill bit. A stabilizer 58 coupled to the bearing assembly 57 acts as a centralizer for the lowermost portion of the mud motor assembly.

[0025] In one embodiment of the invention, a drilling sensor module 59 is placed near the drill bit 50. The drilling sensor module contains sensors, circuitry and processing software and algorithms relating to the dynamic drilling parameters. Such parameters typically include bit bounce, stick-slip of the drilling assembly, backward rotation, torque, shocks, borehole and annulus pressure, acceleration measurements and other measurements of the drill bit condition. A suitable telemetry or communication sub 72 using, for example, two-way telemetry, is also provided as illustrated in the drilling assembly 90. The drilling sensor module processes the sensor information and transmits it to the surface control unit 40 via the telemetry system 72.

[0026] The communication sub 72, a power unit 78 and an MWD tool 79 are all connected in tandem with the drillstring 20. Flex subs, for example, are used in connecting the MWD tool 79 in the drilling assembly 90. Such subs and tools form the bottom hole drilling assembly 90 between the drillstring 20 and the drill bit 50. The drilling assembly 90 makes various measurements including the pulsed nuclear magnetic resonance measurements while the borehole 26 is being drilled. The communication sub 72 obtains the signals and measurements and transfers the signals, using two-way telemetry, for example, to be processed on the surface. Alternatively, the signals can be processed using a downhole processor in the drilling assembly 90.

[0027] The surface control unit or processor 40 also receives signals from other downhole sensors and devices and signals from sensors S] -S3 and other sensors used in the system 10 and processes such signals according to programmed instructions provided to the surface control unit 40. The surface control unit 40 displays desired drilling parameters and other information on a display/monitor 42 utilized by an operator to control the drilling operations. The surface control unit 40 typically includes a computer or a microprocessor-based processing system, memory for storing programs or models and data, a recorder for recording data, and other peripherals. The control unit 40 is typically adapted to activate alarms 44 when certain unsafe or undesirable operating conditions occur.

[0028] A suitable device for use of the present invention is disclosed in U.S. Patent 6,215,304 to Slade, the contents of which are fully incorporated herein by reference. It should be noted that the device taught by Slade is for exemplary purposes only, and the method of the present invention may be used with many other NMR logging devices, and may be used for wireline as well as MWD applications. Examples of such devices are given in U.S. patents 5,557,201 to Kleinberg, U.S. 5,280,243 to Miller, U.S. 5,055,787 to Kleinberg, and U.S. 5,698,979 to Taicher. [0029] Referring now to Fig. 2, the tool has a drill bit 107 at one end, a sensor section 102 behind the drill head, and electronics 101. The sensor section 102 comprises a magnetic field generating assembly for generating a B0 magnetic field (which is substantially time invariant over the duration of a measurement), and an RF system for transmitting and receiving RF magnetic pulses and echoes. The magnetic field generating assembly comprises a pair of axially spaced main magnets 103, 104 having opposed pole orientations (i.e. with like magnetic poles facing each other), and three ferrite members 109, 110 axially arranged between the magnets 103, 104. The ferrite members are made of "soft" ferrite which can be distinguished over "hard" ferrite by the shape of the BH curve which affects both intrinsic coercivity (Hj the intersection with the H axis) and initial permeability ( μ,, the gradient of the BH curve in the unmagnetized case). Soft ferrite μ, values typically range from 10 to 10000 whereas hard ferrite has μ,, of about 1. Therefore the soft ferrite has large initial permeability (typically greater than 10, preferably greater than 1000). The RF system comprises a set of RF transmit antenna and RF receive antenna coil windings 105 arranged as a central "field forming" solenoid group 113 and a pair of outer "coupling control" solenoid groups 114.

[0030] The tool has a mud pipe 160 with a clear central bore 106 and a number of exit apertures 161-164 to carry drilling mud to the bit 107, and the main body of the tool is provided by a drill collar 108. Drilling mud is pumped down the mud pipe 160 by a pump 121 returning around the tool and the entire tool is rotated by a drive 120. Coiled tubing or a drillstring may be used for coupling the drive to the downhole assembly.

[0031] The drill collar 108 provides a recess 170 for RF transmit antenna and RF receive antenna coil windings 105. Gaps in the pockets between the soft ferrite members are filled with non-conducting material 131, 135 (e.g: ceramic or high temperature plastic) and the RF coils 113, 114 are then wound over the soft ferrite members 109, 110. The soft ferrites 109, 110 and RF coil assembly 113, 114 are pressure impregnated with suitable high temperature, low viscosity epoxy resin (not shown) to harden the system against the effects of vibration, seal against drilling fluid at well pressure, and reduce the possibility of magnetoacoustic oscillations. The RF coils 113, 114 are then covered with wear plates 111 typically ceramic or other durable non-conducting material to protect them from the rock chippings flowing upwards past the tool in the borehole mud.

[0032] Because of the opposed magnet configuration, the device of Slade has an axisymmetric magnetic field and region of investigation 112 that is unaffected by tool rotation. Use of the ferrite results in a region of investigation that is close to the borehole. This is not a major problem on a MWD tool because there is little invasion of the formation by borehole drilling fluids prior to the logging. The region of investigation is within a shell with a radial thickness of about 20 mm and an axial length of about 50 mm. The gradient within the region of investigation is less than 2.7 G/cm. It is to be noted that these values are for the Slade device and, as noted above, the method of the present invention may also be used with other suitable NMR devices.

[0033] Two magnetic fields are used to conduct a typical NMR measurement: a static magnetic field B0 and an alternating magnetic field Bi having a component orthogonal to Bo. Pulsed NMR is used in which the alternating field Bi is radiated into the sample as a sequence of bursts (usually called pulses). A typical pulse sequence is shown in Fig. 3. The Bi pulse sequence comprises an excitation pulse 200 followed by a plurality of refocusing pulses (202a, 202b, 202c, 202d, 202e, ...). Spin echoes depicted by 205a, 205b, 205c, 205d, 205e, ... form between these refocusing pulses. These echoes manifest themselves as rotating macroscopic magnetizations and can be detected with a receiver coil. The induced voltages/currents in this coil are the desired NMR signals. In order to obtain NMR signals and refocus them correctly, it is important to adhere to NMR resonance conditions, i.e. Bo and Bi amplitudes as well as pulse phases and shapes need to be chosen correctly as known to people familiar with the art of NMR (see Fukushima, Experimental Pulse NMR: A Nuts and Bolts Approach, 1981, Tenth printing, January 1998.). An exemplary optimized echo sequence called ORPS is discussed, for example, in Hawkes '013. In the ORPS sequence, the tipping pulse is typically 90°, but the refocusing pulses are less than 180°. This is in contrast to the CPMG sequence in which the refocusing pulses are 180° pulses.

[0034] Generally, the geometry of the NMR measurement device gives rise to a volume in the earth formation where the Bo field has the correct strength to fulfill a resonance condition and in which an RF field can be presented with a substantial strength and orientation to reorient nuclear spins within the volume. This volume is often referred to as the sensitive volume. For a tool in motion, as the tool moves axially, the volume containing those protons excited by the excitation pulse (first pulse of the echo sequence) moves away from the sensitive volume. Hence, the number of spins available to contribute to the subsequent NMR signal is reduced with each subsequent echo. As a consequence, those echoes obtained later in an echo sequence with axial tool motion appear small compared to those echoes obtained later in an echo sequence acquired with no tool motion. "Later echoes" does not mean that only the last echoes of a sequence are affected. In fact, the loss of signal starts right at the beginning of a sequence and develops over time in a unique pattern.

[0035] The magnet configuration of Fig. 2 produces a somewhat inhomogeneous static magnetic B0 field. Measured in the axial direction, this field has a minimum at the center of the NMR sensor and increases in magnitude to a maximum at the magnets. The result of this configuration on a volume of formation being traversed in an axial direction is that during constant axial motion the formation first comes close to one of the magnets and is magnetized by this higher field. As the NMR sensor center moves closer, the effective B0 field decreases. But the formation "remembers" the earlier higher magnetization and only gradually decays, with the time constant Ti, towards the minimum equilibrium magnetization Bo field located in the center.

[0036] In general, NMR echo sequences are repeated several times for the purpose of increasing the final signal-to-noise ratio. Even without concern over signal-to-noise ratio, an echo sequence is usually repeated at least once in order to form a phase- alternated pair (PAP) for the purpose of removing offset and ringing effects.

[0037] At the end of a sequence obtained with axial tool motion, the magnetization of the sensitive volume is substantially zero. A wait time during which re-magnetization of the formation occurs is used as part of the sequence of pulses. Choosing a wait time of at least 5 times the longest Ti of the formation ensures that the formation is fully magnetized (>99% magnetization) immediately prior to the excitation pulse of the ensuing sequence. However, shorter wait times are often chosen in order to achieve a higher NMR data rate, leading to an improved axial resolution or signal-to- noise ratio. The drawback of shortening TW is that the formation may not be fully magnetized immediately prior to the ensuing sequence. As a consequence, the total porosity that is measured in a tool having axial motion can be too low, and the measured T2-distribution is generally distorted, mainly for the longer T2 components.

[0038] The method of the present invention corrects for artifacts that result from axial motion and from a shortened wait time (TW) between consecutive pulse sequences. The correction of the spin echo decay (and hence T2 distribution) for axial motion is referred to herein as Correction A and the correction for premagnetization and shortened TW is referred to herein as Correction B.

[0039] The simulations of Figs. 4-8 are obtained using an NMR simulation for a tool such as that shown in Fig. 2. For these simulations, the duration of the applied excitation pulse is 50 μs, and the duration of the applied refocusing pulses is 70 μs. Such a pulse sequence has been described in US Patent 6466013 to Hawkes et al., having the same assignee as the present application and the contents of which are incorporated herein by reference. It may be referred to in the present document as the Optimized Rephasing Pulse Sequence (ORPS). For the simulation, a pulse amplitude of 4OA is used. The sensitive volume is substantially located within radial distances r = 130mm to r = 230 mm and within axial distances z = -70mm to z = 70mm. A 2- dimensional simulation is used.

[0040] Fig. 4 shows six echo trains obtained at various axial velocities of a drillstring through a formation. The six echo trains are obtained at different velocities: (402), (404), (406), (408), (410) with increasing velocity, (400) with zero velocity. Time is measured along the horizontal axis and normalized NMR signal magnitude along the vertical axis. 1000 echoes are used in the pulse sequence with TE = 0.6 msec. Significantly, the curves obtained at the smaller non-zero velocities (402, 404, 406, and 408) can all be derived from the curve obtained for the highest velocity (410) by simply compressing the horizontal axis.

[0041] The results of this compression of the horizontal axis is shown in Fig. 5. The echo decay curves obtained with axial motion (402, 404, 406, 408, and 410 in Fig. 4) fall now nearly on top of each other, as indicated by the curve 502. The curve 500 indicates a signal obtained with no axial tool motion. This alignment of "compressed" echo decays indicates that the echo amplitudes are not velocity- dependent, but only position-dependent. In other words, there is no significant phase error due to the magnitude of the axial motion. This finding is consistent with the fact (not shown) that there is no significant change in the imaginary part of the NMR signal when comparing zero velocity and the highest velocity.

[0042] A first correction, referred to hereafter as Correction A is discussed next. This correction is intended to address the effects of axial tool motion. The curves of Fig. 4 can be fitted to a mathematical function. Due to the characteristic shape at the start of the echo sequence, a simple polynomial does not work well. However, a perturbing term can be introduced to characterize the fluctuation at small times. An exemplary function including a damped cosine term as the perturbing term is employed for the example of Eq . (3 ) . fcA(ή = P0 + Pι - t + P2 - t2 + P3 - t3 + P, - t4 + P5 - t5 + P6 - t6 + Pηe-p« ' - cos(Pg - t) (3). Eq. (3) adequately fits the echo decay curve with the highest velocity (410 of Fig. 4). P-parameters can be obtained through a fitting method to the raw data. It should be noted, that the equation strongly depends on the geometric shape of the sensitive area, where the measurement is carried out. The use of a damped cosine in Eq. (3) is not meant as a limitation of the present invention, and any function appropriate for this mathematical description can be used.

[0043] Assuming an array of NMR echo amplitudes A(t) and of axial velocity vαϊ(O/, one can calculate the corrected amplitude Acor(t) using the formula shown in Eq. (4) below:

where fc is the function expressed in Eq. (3) with the parameter set given there. This correction can be used for any NMR channel, i.e., independently, real and imaginary (or in-phase and quadrature). [0044] Fig. 6 shows simulations obtained assuming an infinite T2 decay. Raw traces from the simulations obtained at different axial velocities are shown. For convenience, the different axial velocities will be termed as low velocity, medium velocity, medium high velocity, and high velocity, In Fig. 6, these are shown by 601b, 602b, 606b), and 610b respectively The traces which result after applying Correction A for axial velocity are labeled (601a), (602a), (606a), and (610a). The horizontal axis displays the number of echoes, while the vertical axis displays normalized amplitude. In order to better differentiate the individual curves vertical offsets are applied to the curves 601a/b, 602a/b and 606a/b. Ideally, the corrected echo traces should be flat lines. As Fig. 6 shows, the corrected traces substantially approach the ideal.

[0045] Variations in the shapes of RF pulses affect the corresponding artifacts. The exact shape of the motion artifact depends on the type of RF pulse sequence used. Fig. 7 shows simulations using a different RF current amplitude. Raw traces from the simulations were performed at the different axial velocities from above. Low velocity (702b), medium low(704b), medium (706b), medium high (708b), and high velocity (710b) are shown. The traces which result after applying Correction A for axial velocity are labeled for (702a), (704a), (706a), (708a), and (710a). The horizontal axis displays the number of echoes, while the vertical axis displays normalized amplitude. In order to better differentiate the individual curves vertical offsets are applied to the curves. There are 1000 echoes shown with inter-echo spacing TE = 0.6 msec. Through comparison of Fig. 7 to results shown in Fig. 6 for the higher RF- pulse amplitude (on which the correction function is based), Correction A proves to be robust under variations of the RF pulse.

[0046] Alternately, varying the ratio of RF pulse areas between the excitation pulse and refocusing pulses leads to various artifacts. For instance, for a sequence with a selective excitation pulse, the signal reduction at the beginning of the sequence can be avoided. A correction function can be chosen so as to enable correction of a trace resulting from the selective excitation pulse sequence. Alternatively, a different fit function can be chosen for different RF pulse sequences or different echo integrations, such as disclosed in U.S. Patent Appl. No. 10/839,478 oϊBlanz et al. [0047] Fig. 8 shows that the correction function of Eq. (1) obtained using a simulation with infinite T2 can be used for real NMR signals having finite T2. A thousand echoes are shown along the horizontal axis at an interecho spacing of TE = 0.6 ms. The vertical axis shows NMR amplitudes but with vertical offsets to differentiate the curves on the graph. Corrections are made on curves 840 and 885. Simulations are performed using a finite T2 (T2 = 1 sec) and different velocities for (840) and (885). Three echo decays are shown for each velocity: the uncorrected decay, the corrected decay, and the zero velocity decay. For example, in Fig. 8 uncorrected decay 840 is corrected to obtain corrected decay 805, which is compared with zero velocity decay 800. Similarly, uncorrected decay 885 is corrected to obtain corrected decay 880, which is compared with zero velocity decay 860.

[0048] Another correction, referred to as Correction B, that may be applied in the present invention to correct for effects of excessive pre-magnetization and reduced TW, is discussed next. Fig. 9 shows 2 ORPS sequences only separated by a wait time TW. Both ORPS have 1000 echoes each, TE = 0.6 s. The wait time TW is 1 s.

[0049] When the wait time between ORPS sequences is shorter than five times the longest Ti in the earth formation, the latter sequence begins before proper magnetization has been achieved. Therefore, the amplitude of the resultant NMR signal depends on the degree of remnant magnetization after the previous sequence and on the duration of the wait time. The magnetization after an ORPS sequence applied with axial tool motion is substantially zero. However, if there is no motion during the first ORPS, an appreciable amount of z-magnetization is left. Fig. 10 shows simulation examples of echo decays produced using the second ORPS sequence from Fig. 9. For the simulation of Fig. 10, Ti = T2 = 2.5 sec. Simulations are made at zero velocity (1000), low axial velocity (1021), increasing axial velocities (1040), (1062), (1081), (1102) and highest velocity (1120). Excessive premagnetization effects due to moving formation material, which has been exposed to a higher magnetic field in the close vicinity of the magnets, can be seen. In this case the initial magnitudes ( at / = 0 ) of the decay traces of Fig. 10 increase with increasing velocity - with one exception. An exception is found in the trace of zero velocity, which has an initial amplitude higher than the initial amplitudes obtained at higher velocities. This exception is high due to z-magnetization left after the end of the first ORPS, which is due to the periodic nature of ORPS. Axial velocity disturbs this coherence effect.

[0050] In order to counteract the anomalous initial amplitude found at zero velocity, a shortened saturation sequence can be applied. An exemplary shortened saturation sequence is an aperiodic pulse sequence (APS) such as shown in Fig. 11.

[0051] In an exemplary mode of the present invention, an APS is constructed with eight excitation pulses (e.g. of 50 μs length) with reducing interpulse times 6400 μs, 3200 μs, 1600 μs, 800 μs, 400 μs, 200 μs, 100 μs. The corresponding phases are 0°, 180°, 90°, 270°, 0°, 180°, 90°, and 270°. The total duration of this sequence is 12.7 ms + 8*50 μs = 13.1 ms.

[0052] For reliable pre-magnetization correction (B) a short aperiodic saturation sequence as described herein is preferable, not only for the simulation but also in the real NMR logging run. As an eight-pulse APS is only 13 ms long, there is no disadvantage in doing this. This is shown in Fig. 11 by the initial ORPS (or CPMG sequence) 1121, the APS sequence 1125, the wait time 1125, and a repeat of the ORPS 1127.

[0053] Fig. 12 shows results of simulations to obtain corrections for excessive prepolarization and long Ti (with insufficient wait time). These simulations employ an APS and have the following properties: the first ORPS has 1000 pulses with TE = 0.6 ms; TW = 6 sec; and the second ORPS has only two refocusing pulses and produces two echoes of which the second echo is used for determination of the echo amplitude. Therefore Figs. 12 does not show a discontinuity towards zero velocity.

[0054] The magnitude of the echo amplitude obtained using the pulses sequence of Fig. 11 depends on the two variables, axial velocity (v), and Ti. Analysis using discrete values of Ti can be performed. In an example of a complete analysis, 6 discrete velocities and 6 discrete values of Ti are chosen and a simulation is run for each combination of these. This gives rise to a matrix of normalized echo amplitudes Sn such as shown in the matrix of Eq. (5).

From left to right in matrix Sn, Ti increases from zero to a maximum value. From top to bottom, the axial velocity increases from zero to a maximum value. A graphical 3- dimensional representation of matrix Sn is shown in Fig. 12.

[0055] The simulated echo amplitudes of matrix Sn can be fitted to an analytical function. In one embodiment of the invention the fitting function is a polynomial of the form last(coeffs) p(v,t) .= y coeffs v t - = o (6) where v is the axial velocity and t the spin-lattice relaxation time Ti with the exponents taken from the Table 1 below. Table 1

Because the fit function necessarily depends on two variables, a multivariate regression can be used. Eqs. (7) below shows fit matrix Sf1, and and the form of the error matrix (using a polynomial of the third order).

[0056] Fig. 13 shows the percentage error between the fit and simulated data (Sf11- Sn)* 100. An improved fit can be obtained through use of a higher-order polynomial in exchange for the inconvenience of an increase in the number of coefficients.

[0057] Along with axial velocity (v) and Ti, a third parameter, TW, can also be varied, and a polynomial of three variables, p(v, Tl, TW), can be fitted to the resultant curve. The two-dimensional matrix of equation 5 and Fig. 12 then becomes a 3- dimensional matrix, with the third dimension being the variable TW. The power of exponents (Table 3) will then have three columns instead of two. For the same order polynomial (here third order), there will be more coefficients. For a third dimension, there are 20 coefficients, while for two dimensions there are only 10 coefficients. Rather than plotting one graph, equivalent to Figs. 12-13, several graphs can be plotted for individual TWs.

[0058] To apply correction B (to correct for artifacts due to premagnetisation and shortened TW), one can divide the echo decay amplitudes (preferably after having applied correction A) by the scalar resulting from evaluation of the polynomial outlined in Eq. (6). The axial velocity (v) and Ti of the NMR sample are recorded prior to this correction.

[0059] Correction B can be used with any echo decay sequence. The success of this method of using Correction B is due to the fact that Correction B only corrects the magnetization at the beginning of the echo sequence. This initial magnetization depends on the (magnetic) geometry of the NMR logging tool, the axial velocity (v) during the wait time TW, and Tl.

[0060] Correction B is an approximation for low axial velocities. At high axial velocities, the z-magnetization is affected by relaxing pre-magnetization also within the ORPS sequence. Including the effects of high axial velocity in the pre- magnetization involves increasing the dimension of the polynomial by 1 , i.e. the use of a polynomial of 3 or 4 variables.

[0061] Fig. 14 shows a flowchart of the present invention in the presence of a Ti distribution. In a real earth formation, a Ti distribution (rather than a single Ti value) should be expected. Also a T2 distribution is expected. After T2 inversion of the echo envelope data (after having applied correction A), each T2 bin represents a single exponential decay function with a characteristic T2 and the weight given by the height of the bin. The superposition of all these exponential functions constitutes a multiexponential fit to the original decay data. Because of the linear addition of individual exponential decays, Correction B can be applied to each exponential separately, i.e. applying Correction B to each bin of the T2 distribution, where all bins have a common axial velocity but individual Ti. For the case of Ti = f(T2) where the function f(T2) is known, the required Ti can be obtained directly from the distribution of T2. For example, the relationship between Ti and T2 might be simply a factor Ti= fac*T2 were "fac" would normally be in the range of 1 to 2. Making use of this relationship enables one to attribute a specific Ti to each bin of the T2 distribution. Correction B can therefore be applied in the form of a height correction factor individually to each bin to arrive finally at the true T2 distribution, where "true" means that all artifacts due to (constant) axial velocity and insufficient wait time are corrected.

[0062] In Box 1501 of Fig. 14 the raw data is obtained, typically using a phase alternated pair sequence. Correction A (correction for axial velocity) is applied in Box 1503. Any desired phase correction that is needed can be applied in Box 1505. A T2 inversion can be obtained having n bins (Box 1507). As Ti is functionally dependent on T2, the Ti corresponding to each T2 is consequently calculated in Box 1509. Correction B (correction dependent on axial velocity and T]) is applied to each T2 bin in Box 1511. The correction B is applied to this decaying exponential. From the application of correction B, a corrected T2 is obtained for each bin, and thence for the entire T2 distribution (Box 1513). The results of the calculations leads to improved results for true total porosity (Box 1515).

[0063]Fig. 15 shows a simulation of NMR data using the APS sequence of Fig. 11. A simulation is performed for a low drilling speed and Ti = 2.2 msec to test the corrections A and B for an exemplary case. Trace 1600 is the reference echo decay trace obtained with full equilibrium magnetization and zero velocity. Trace 1620 is an uncorrected echo decay trace. Trace 1610 is the trace resulting after correction A is applied to trace 1620, and trace 1605 is the trace resulting after correction A and B are applied. This data is not normalized. The corrected trace 1605 is about 1% lower than the reference trace 1600. The percentage error just stated for Fig. 15 is a relative error. At a total porosity of (e.g.) true 20%, a relative error of -1% would lead to a result that is by 1% (relative) too small, i,e this porosity would be plotted as 20%*0.99 = 19.8%.

[0064] Pulse sequences or echo processing methods that are a priori less sensitive to motion than standard pulse sequences can be used with the present invention. Some such methods have been disclosed in U.S. Patent Appl. No. 10/839,478 of Blanz et al. Such pulse sequences are easy to use (at the penalty of some loss of signal-to-noise ratio). Methods to reduce the sensitivity to irregular small amplitude motion (vibration) can be combined with the corrections A and B for ROP correction as described in this report. Correction A will depend on this other motion artifact reduction method and must be tailored accordingly.

[0065] The invention has been described with reference to a NMR device that is part of a BHA conveyed on a drillstring. The invention is equally applicable for NMR devices conveyed on coiled tubing, wireline, and slickline. The processing described herein may be done using a downhole processor and the results stored on a suitable memory downhole or telemetered to the surface. Alternatively, the data may be stored on a downhole memory and processed when the BHA is tripped out of the borehole. With improved telemetry capability, it should be possible to telemeter the NMR measurements to a surface location and do the processing there. [0066] While the foregoing disclosure is directed to the specific embodiments of the invention, various modifications will be apparent to those skilled in the art. It is intended that all such variations within the scope and spirit of the appended claims be embraced by the foregoing disclosure.