NUCLEAR MAGNETIC RESONANCE MEASUREMENTS AND METHODS OF ANALYZING NUCLEAR MAGNETIC RESONANCE DATA

Abstract: Nuclear magnetic resonance measurements on a fluid in a rock and methods of analyzing nuclear magnetic resonance data are described. At least one nuclear magnetic resonance measurement is performed, and nuclear magnetic resonance data from each of the measurement is performed, and nuclear magnetic resonance data from each of the measurements are acquired. The data are compressed and analyzed to extract information about the fluid in the rock.

Description: NUCLEAR MAGNETIC RESONANCE MEASUREMENTS AND METHODS OF ANALYZING NUCLEAR MAGNETIC RESONANCE DATA This patent application claims priority from U.S. Provisional Patent Application No. 60/220,053 filed July 21, 2000, and from U.S. Patent Application No. 09/723,803 filed on November 28, 2000, both of which are herein incorporated by reference in their entireties. FIELD OF THE INVENTION This invention relates to nuclear magnetic resonance (NMR) measurements and, more particularly, analysis of NMR data. BACKGROUND NMR has been a common laboratory technique for over forty years and has become an important tool in formation evaluation. General background of NMR well logging can be found, for example, in U.S. Patent 5,023,551 to Kleinberg et al., which is assigned to the same assignee as the present invention and herein incorporated by reference in its entirety. NMR relies upon the fact that the nuclei of many chemical elements have angular momentum ("spin") and a magnetic moment. In an externally applied static magnetic field, the spins of nuclei align themselves along the direction of the static field. This equilibrium situation can be disturbed by a pulse of an oscillating magnetic field (e.g., a RF pulse) that tips the spins away from the static field direction. The angle through which the spins are tipped is given by Θ^Bit p /2, where γ is the gyromagnetic ratio, Bi is the linearly polarized oscillating field strength, and t p is the duration of the pulse. Tipping pulses of ninety and one hundred eighty degrees are most common. After tipping, two things occur simultaneously. First, the spins precess around the direction of the static field at the Larmor frequency, given by ωo=γBo, where Bo is the strength of the static field and γ is the gyromagnetic ratio. For hydrogen nuclei, γ/2π=4258 Hz/Gauss, so, for example, in a static field of 235 Gauss, the hydrogen spins would precess at a frequency of 1 MHz. Second, the spins return to the equilibrium direction according to a decay time, T ls which is known as the spin-lattice relaxation time. Because this spin-lattice relaxation occurs along the equilibrium direction, Ti is also referred to as the longitudinal relaxation time constant. Also associated with the spin of molecular nuclei is a second relaxation time, T 2 , called the spin-spin relaxation time. At the end of a ninety-degree tipping pulse, all the spins are pointed in a common direction perpendicular, or transverse, to the static field, and they all precess at the Larmor frequency. However, because of small fluctuations in the static field induced by other spins or paramagnetic impurities, the spins precess at slightly different frequencies, and the transverse magnetization dephases with a time constant T 2 , which is also referred to as the transverse relaxation time constant. A standard technique for measuring T 2 , both in the laboratory and in well logging, uses a RF pulse sequence known as the CPMG (Carr-Purcell-Meiboom-Gill) sequence. As is well known, after a wait time that precedes each pulse sequence, a ninety-degree pulse tips the spins into the transverse plane and causes the spins to start precessing. Then, a one hundred eighty-degree pulse is applied that keeps the spins in the measurement plane, but causes the spins, which are dephasing in the transverse plane, to reverse direction and to refocus. By repeatedly reversing the spins using a series of one hundred eighty degree pulses, a series of "spin echoes" appear. The train of echoes is measured and processed to determine the irreversible dephasing time constant, T 2 . In well logging applications, the detected spin echoes have been used to extract oilfield parameters such as porosity, pore size distribution, and oil viscosity. In theory, other laboratory NMR measurements may be applied in well- logging to extract additional information about the oilfield, but in practice, the nature of well-logging and the borehole environment make implementing some laboratory NMR measurements difficult. For example, inversion recovery is a common laboratory technique for measuring T \ . In an inversion recovery measurement, a one- hundred eighty degree pulse is applied to a system of spins aligned along the static magnetic field in order to reverse the direction of the spins. The system of spins thus perturbed begins to decay toward their equilibrium direction according to T \ . To measure the net magnetization, a ninety-degree pulse is applied to rotate the spins into the transverse plane and so induce a measurable signal. The signal will begin to decay as the spins dephase in the transverse plane, but the initial amplitude of the signal depends on the "recovery time" between the one-hundred eighty degree pulse and the ninety-degree pulse. By repeating this experiment for different recovery times and plotting the initial amplitude of the signal against recovery time, Ti may be determined. While this technique has been successfully used in the laboratory for several years, inversion recovery is very time consuming, and those of ordinary skill in the art recognize that inversion recovery may be unsuitable for well logging applications. Accordingly, there continues to be a general need for improved NMR measurements and, in particular for the oil and gas exploration industries, improved NMR methods that can be used to extract information about rock samples and be used in well-logging applications. SUMMARY OF INVENTION The invention provides a method for extracting information about a system of nuclear spins, such as in a fluid that may be contained in a rock or within a portion of earth formation surrounding a borehole (as used hereinafter, the term "rock" includes earth, earth formation, and a portion of earth formation), or other porous environment. The method involves performing at least one nuclear magnetic resonance measurement on a system of nuclear spins and acquiring nuclear magnetic resonance data from each of the measurements. The nuclear magnetic resonance data are expressed using a kernel that is separable along at least two dimensions, compressed along each dimension of the kernel, and then analyzed to extract information about the system of spins. Further details and features of the invention will become more readily apparent from the detailed description that follows. BRIEF DESCRIPTION OF FIGURES The invention will be described in more detail below in conjunction with the following Figures, in which: Figure 1 schematically represents a magnetic field pulse sequence that may be used in accordance with the invention; Figure 2 illustrates an inversion recovery-CPMG sequence; Figure 3 illustrates one embodiment of a driven equilibrium-refocusing sequence according to the invention; Figures 4A and 4B illustrate embodiments of a diffusion editing-CPMG sequence according to the invention; Figure 5 schematically illustrates one embodiment of a nuclear magnetic resonance measurement according to the invention; Figure 6 schematically illustrates an alternative embodiment of a nuclear magnetic resonance measurement according to the invention; Figure 7 contains a two-dimensional map of Ti versus T 2 of a water-saturated rock sample generated in accordance with the invention; Figure 8 contains a two-dimensional map of Ti versus T 2 of an oil-saturated rock sample generated in accordance with the invention; Figure 9 contains a two-dimensional map of <Ti/T 2 > versus T 2 of a rock sample generated in accordance with the invention; and Figure 10 illustrates a routine that may be used in implementing one embodiment of a method of the invention. DETAILED DESCRIPTION Figure 1 schematically represents a sequence of magnetic field pulses, such as RF pulses, that may be applied to a system of nuclear spins, such as in a fluid in a rock, in accordance with the invention. The magnetic field pulse sequence 100 includes two parts. A first part 110 prepares a system of nuclear spins in a first state. A second part 120 generates from the system of spins a series of magnetic resonance signals. As shown in Figure 1, the magnetic field pulse sequence 100 may be repeatedly applied, and the magnetic resonance signals detected and combined to build up signal-to-noise. In generating the series of magnetic resonance signals, the first and second parts preferably excite spins at about the same frequency range. For example, a standard CPMG sequence with a series of 180-degree pulses tends to refocus on- resonance spins, namely those spins having a frequency substantially equal to the Larmor frequency, and the observed CPMG signal primarily includes such on- resonance spins. Accordingly, a standard CPMG sequence would be preferably paired with a first part that also primarily excites on-resonance spins. For a first part that affects primarily off resonance spins, such as a constant RF irradiation (discussed below), the second part preferably is designed to excite substantially the same off- resonance spins. A CPMG-like sequence, in which composite pulses designed to refocus the off-resonance spins replace the 180-degree pulses, may be used in such magnetic pulse sequences. Those of skill in the art will be able to design other types of refocusing sequences to refocus spins having different off-resonance frequencies. For example, Figure 2 shows a magnetic field pulse sequence 200 that includes an inversion recovery sequence 210 followed by a CPMG sequence 220. The inversion recovery sequence includes a 180-degree pulse 212 that reverses the direction of the system of spins, followed by a recovery time, η. After the recovery time, which is typically less than Ti, the CPMG sequence 220 is applied, with a 90- degree pulse 222 that rotates the spins into the transverse plane and a series of 180- degree pulses (two of which are indicated by 224) that generates a series of spin echoes (two of which are indicated by 226) whose amplitude depends on Ti and whose decay depends on the transverse relaxation time constant, T 2 : M(τ λ ,τ 2 ) = M 0 - 2e Α )e τ> (1), where T ls T 2 and, τ are as defined above, Mo is the net magnetization of the spins at thermal equilibrium, r 2 is the time from the start of the CPMG sequence, and f(T ,T 2 ) is the two dimensional density function for Ti and T 2 . Another example of a magnetic field pulse sequence that may be used in accordance with the invention includes a first part that is designed to prepare the system of spins in a driven equilibrium state. In general, any magnetic field pulse sequence that repeatedly rotates the net magnetization of the system between the longitudinal and the transverse directions will create a sizable driven equilibrium magnetization. As long as the repeating magnetic field pulse units are short compared to Ti and T 2 , it can be shown that the resulting equilibrium magnetization depends on a function of the ratio, Ti/T 2 : After the spins are prepared in a driven equilibrium, a second part designed to refocus the spins of the system is applied. The second part generates a series of magnetic resonance signals that depends on both the Ti/T 2 ratio and T 2 : T Ti, T 2 , and r 2 are as defined previously, and f(T 2 ,—) is the two dimensional density function for the ratio Ti/T 2 and T 2 . Figure 3 illustrates one example of such a driven equilibrium-refocusing sequence. The magnetic field pulse sequence 300 includes a driven equilibrium Fourier transform (DEFT) sequence 310 followed by a CPMG sequence 320. The DEFT sequence 310 shown may be thought of as a repeating block 315 of magnetic field pulses generated according to: [90 +x - ti - 180 y - 1 2 - 180 y - ti - 90.Ji (4), where ti and t (« 2t 1 ) are time spacings between magnetic pulses. Each repeating block is separated by a time, δ^and each block has a total width of δ 2 . Figure 3 shows the sequence having two repeating blocks (i=2); however those of skill in the art will recognize that the sequence may have any number of repeating blocks. In many applications, it may be desirable to apply the DEFT sequence for a period of time longer than Ti. A magnetic resonance spin echo 317 appears midway between the two 180 y -degree pulses of each block. Over time, the DEFT sequence prepares the system of spins in a driven equilibrium in which the magnetization, in the limit that δ!«Ti and δ 2 «T , is given as: The asymptotic expression in equation (5) offers a good approximation for the DEFT driven equilibrium magnetization for all parameters in the range of about T 2 /δ > 10. After the system of spins is prepared in a driven equilibrium, a CPMG sequence 320 is applied, with a 90-degree pulse 322 followed by a series of 180-degree pulses (two of which are indicated by 324) to generate a series of magnetic resonance spin echoes (two of which are indicated by 326) whose signal can be written as equation (3) above, where the function is given by which is most sensitive to changes in Ti/T in the region where (δi/δ 2 ) » <Tι/T 2 >. Another example of a driven equilibrium-refocusing magnetic field pulse sequence uses a constant RF field, typically applied for a time greater than Ti, to prepare the system of spins in a driven equilibrium that depends on the Ti/T 2 ratio. The constant RF field typically has a sufficiently high frequency, ω l5 such that C0iT 2 »l , in which case the equilibrium magnetization along the y- and z-axes, respectively, are given by: Ti, T 2 , ωi and Mo are as defined previously, and Δω 0 is the difference between the frequency of the applied RF field and the Larmor frequency of the spins. From equations (7) and (8), it can be seen that on resonance, i.e., where the frequency of the applied RF field equals the Larmor frequency (Δω 0 =0), the equilibrium magnetization vanishes. At the equilibrium magnetization along both the y- and z-axes becomes which is equivalent to the DEFT equilibrium magnetization for δi=δ 2 (see equation (5) above). In order to measure the T 2 decay of this equilibrium magnetization, a CPMG-like sequence made up of a series of composite pulses designed to refocus off-resonance spins preferably follows the constant RF irradiation. For example, spins having a magnetization around Δωo=±ωι may be effectively refocused using a CPMG-like series of composite pulses of 127 x -127 -x degrees, generating a series of spin echoes according to equation (3) above, where the function g(T T 2 ) is given by ι , . . Another type of magnetic field pulse sequence that may be used in accordance with the invention includes a first part that prepares a system of spins with a net magnetization that depends on a diffusion coefficient. A CPMG sequence typically follows the first part and generates a series of magnetic resonance spin echoes that generally decays according to: where D is the diffusion coefficient, τ is a time associated with the first part, γ is the gyromagnetic ratio, g is the gradient field strength, and r 2 is the time from the start of the CPMG sequence. For example, according to one embodiment shown in Figure 4A, the first part 410 includes two spin echoes separated by an elongated echo spacing, t E , followed by a standard CPMG sequence of 180-degree pulses 420, and τ \ = tε . According to another embodiment shown in Figure 4B, the first part 430 includes a stimulated echo sequence characterized by a time spacing δ and a stimulated echo appearing at time t d , the second part 440 includes a standard CPMG sequence of 180-degree pulses, and τ \ = 6t d δ 2 . Diffusion editing magnetic field pulse sequences are described in more detail in U.S. Patent Application No. 09/723,803, which is incorporated herein by reference. Figure 5 schematically illustrates one embodiment of a nuclear magnetic resonance measurement according to the invention that involves preparing a system of spins in the fluid with different initial conditions and then measuring the decay of the spins from the different initial conditions using the same refocusing sequence. A first sequence 500 that includes a first part 510 followed by a second part 520 is applied to the fluid to generate a first series of magnetic resonance spin echoes. A second sequence 550 that includes a third part 530 followed by the second part 520 is applied to generate a second series of magnetic resonance spin echoes. The first and second series of magnetic resonance spin echoes are detected and analyzed to extract information about the fluid in the rock. Additional sequences (not shown) may be applied to the system of spins to prepare the system in a plurality of different initial conditions from which additional series of magnetic resonance spin echoes may be generated, detected, and analyzed. As shown in Figure 5, the first sequence 500 may be applied repeatedly before the second sequence 550 is applied to the fluid. The second sequence 550, as shown in Figure 5, also may be applied repeatedly. The magnetic field pulses of each sequence may be phase-cycled to help reduce noise due to mismatched pulses. Those of ordinary skill in the art will recognize that phase-cycling may be performed by varying the phase of magnetic field pulses within a given sequence or by varying the phase of magnetic field pulses from sequence to sequence. The first sequence 500 encompasses the magnetic field pulse sequences described above, and so includes sequences having a first part 510 that prepares the spins initially in a first state with a magnetization that depends on a first parameter, such as Ti, Ti/T 2 , D, etc. The second sequence 550 prepares the spins initially in a second state that is different than the first state, and may include the magnetic field pulse sequences described above to prepare the spins with a magnetization that has a different dependence on the first parameter. Alternatively, the third part 530 may include a wait time longer than a longitudinal relaxation time constant, T 1; during which no magnetic field pulses are applied to the fluid. The wait time allows the spins to reach a thermal equilibrium with the static magnetic field, B 0 . The same refocusing sequence 520 is used in both the first and the second sequences to generate magnetic resonance signals from the different initial conditions. Where the third part includes a wait time and the second part includes a CPMG or CPMG-like sequence, the magnetic resonance signal generated by the second sequence may be expressed generally as a standard CPMG expression, which depends on one parameter, T 2 : The second part 520 is preferably, though not necessarily, applied for substantially the same duration in both the first and the second sequences so as to generate substantially the same number of spin echoes in each the first and second series. As shown in Figure 5, the first sequence 500 may be repeatedly applied and then the second sequence 550 repeatedly applied to the fluid. Alternatively, as shown in Figure 6, the first and second sequences may be interlaced to allow acquisition of the two magnetic resonance signals during a single pass. The nuclear magnetic resonance measurement shown in Figure 6 represents an alternative implementation for preparing a system of spins in different states and then measuring the decay of the spins from the different states using the same refocusing sequence, as described above with reference to Figure 5. A first magnetic field pulse sequence 600 includes a first part 610 to prepare a system of spins in a first state followed by a second part 620 to generate a first series of magnetic spin echoes, and is followed by a second magnetic field pulse sequence 650 that includes a third part 630 to prepare the system in a second state followed by the second part 620 to generate a second series of magnetic spin echoes. The first sequence 600 and the second sequence 650 may be alternated, as shown, and applied repeatedly, with appropriate phase-cycling, to build up signal- to-noise of the first and second series of magnetic spin echoes. Additional sequences may be interlaced with the first and second sequences to prepare the system of spins in a plurality of different initial conditions from which additional series of magnetic resonance spin echoes may be generated, detected, and analyzed. The magnetic resonance spin echoes generated from magnetic field pulse sequences 500, 550 or 600, 650 are detected and analyzed to extract information about the fluid. For example, the first sequence may be an inversion recovery-CPMG sequence that prepares the spins with a non-equilibrium magnetization that depends on Ti and generates a first series of magnetic resonance spin echoes that depends on Ti and T (see equation (1) above), and the second sequence may be an inversion recovery-CPMG sequence with a different recovery time that prepares the spins with a different non-equilibrium magnetization. Such an inversion recovery-CPMG measurement may be repeated a plurality of times, varying the recovery times, and the plurality of series of magnetic resonance spin echoes analyzed in order to extract a two-dimensional Tι-T 2 distribution, /(TJ,?^) . " Figures 7 and 8 contain a two-dimensional map of Ti versus T 2 of a water- saturated and an oil-saturated sandstone rock sample, respectively, generated from such a plurality of inversion recovery-CPMG experiments where the recovery time was varied between approximately lOOμs and 10s. The intensity of the signal at each point on the map provides an indication of the number of spins, and thus the fluid volume, contributing to the signal at that point. Ti conveys potentially useful information. In a bulk fluid, Ti typically equals T 2 , or Ti/T 2 = 1. A porous environment, such as found in a rock or an earth formation, may introduce additional relaxation effects that affect the longitudinal and transverse relaxation times differently. For example, in a wetting phase, such as in a water-saturated rock, the spins relax predominantly due to collisions with the grain surface, and the longitudinal and transverse relaxation time are affected differently, typically such that Ti>T 2 , which is evident in Figure 7 (the line 701 indicates Tι=T 2 ). In a non-wetting phase, however, such as in an oil phase, surface relaxation is negligible, and the Ti remains approximately equal to T 2 , i.e. Ti/T 2 » 1. Figure 8 shows that for longer T 2 's, which sample the larger oil-filled pores, T 2 does approximately equal Υι (the line 801 indicates Ti=T 2 ). However, at shorter T 2 's, which sample the smaller pores, a layer of water most likely effectively fills the pores and introduces surface relaxation effects that shorten T 2 relative to Ti. Thus, Ti contains information that may allow wetting and non-wetting phases within a rock formation, e.g., water versus oil, to be distinguished. Some embodiments of the invention may generate a large number of data points. For example, the plurality of inversion recovery-CPMG experiments described above may generate a million or more data points. To analyze NMR data that may be generated by the methods of the invention in real time and without large computer memory requirements, an inversion method has been developed that takes advantage of the tensor product structure of the kernel (see equations (1), (3) and (9) above). For example, the inversion recovery-CPMG data may be expressed with a kernel that is separable into k λ = 1 - 2e ~Ti lTl and k 2 = e ~Tl lTl (see equation (1)); for the driven equilibrium-refocusing data, the kernel is separable into k γ = g(T x IT 2 ) and k 2 = e ~T2 ' T2 (see equation (3)); and for the diffusion editing-CPMG data, the kernel is separable into k λ = e ~Dγϊ&lτ '' (> and k 2 = e 'T2 >T2 (see equation (9)). In implementing the inversion method, each data set is discretized and written in matrix notation: M r = KrF r K' 2 + E r , for r = 1,...,R (11), where R is the number of data sets and, for the discretized parameters x (l) , i = 1,...,N X and y (l> , i = l,...,N y , M r is a matrix containing the r-th data set; matrices K \ and K. % contain entries corresponding to continuous kernels k \ and hi, matrix F r is the discretized version of a continuous probability density function f r (x,y)', and matrix E r represents the noise associated with the data. To solve for F r , equation (11) is posed as an optimization problem subject to a non-negativity constraint: F r = + a\\F r \\ , r = l,...,R (12), where |.| denotes the Frobenius norm of a matrix. The first term of equation (12) measures the difference between the data and the fit, and the second term summed over all the data sets, r = 1,...,R, is a measure of the smoothness of the discretized density function, F r . The parameter, a, is a smoothening or regularization parameter that controls the smoothness of the estimated density function F r along each dimension of the data, including along r = 1,...,R. The inversion method involves first compressing the data M r along each dimension of the kernel using, for example, singular value decomposition of K\ and K2 or one of several averaging schemes known in the art, such as window sums, etc. The tensor product structure of the kernel allows for efficient compression of the data, which tends to be highly redundant. Data compression typically reduces the size of the data at least about a thousand-fold without modifying the structure of the problem, and allows for efficient estimation of the discretized density function F r . In the lower dimensionality space of the compressed data set M r , the density function F r may be estimated using one of several known methods, such as least squares fitting, Butler- Reed-Dawson (BRD), etc. For example, in applying the BRD method, the constrained optimization problem for estimating F r (see equation (12) above) is converted into an unconstrained optimization problem for estimating a vector c r , r = 1,...,R, whose dimension equals the size of the compressed data. The vector c r may be expressed as: r -^- . (13), -a where K is the tensor product of K and K 2 , which represent the compressed kernels along the first and second dimensions, respectively; and rh r and F r are vectors obtained by lexicographically ordering matrices M r and F r , respectively. Once c r is estimated, the vector F r may be estimated as F r = max(0, K , c r ) , from which the matrix F r may be determined. The optimization is done iteratively until the estimated solution for F r converges within a desired limit. As mentioned previously, the smoothening parameter a controls the smoothness of the estimated density function F r along each dimension of the data, including along r = 1,...,R. An optimal value of the smoothening parameter αmay be determined using one of a number of different strategies known in the art, such as ad- hoc, BRD, S-curve, cross-validation, Morozov discrepancy principle, minimum- bound, predictive mean square estimation, etc. For example, the application of the BRD method to optimizing αfor 2- to 3-dimensional data is an extension of the method described in J.P. Butler, et al., "Estimating Solutions of the First Kind Integral Equations with Nonnegative Constraints and Optimal Smoothing", SIAM J. Numerical Analysis, vol. 18, no. 3, pages 381-397, June 1981. This inversion method may be applied to any two- to three-dimensional NMR data that may be expressed generally as: Af r ( ,r 2 ) = (x,τ l )k 2 (y,τ 2 )f r (x, y)dxdy + E r (τ l ,τ 2 ) , r = l,...,R (14), where ,-(τϊ,r 2 ) represents the r-th data set; k \ and & 2 represent the kernel separated along a first dimension and a second dimension, respectively; n and τ % are a first and a second time, respectively, associated with the nuclear magnetic resonance measurement; x and y are parameters related to the system of spins ;f r (x,y) is a joint probability density function between x and y over the R data sets (f r (x,y) also may be thought of as a three-dimensional probability density function of x, y, and an independent, experimentally controlled variable, r); and E r (r l5 r 2 ) represents noise associated with the r-th nuclear magnetic resonance data set. In the case where R = l, then the data are two dimensional, and the method described above correspond to a two-dimensional inversion. This inversion technique has applicability beyond the NMR measurements described herein. As applied to two- and 2.5-dimensional data sets, this inversion technique provides a computationally efficient and robust method of extracting a two-dimensional map of any two parameters that may be transformed out of NMR data, such as Ti, T 2 , Ti/T 2 ratio, D, viscosity, saturation, etc. Further details of the inversion method are described in Appendix C of U.S. Provisional Application 60/220,053, which has been incorporated herein by reference in its entirety. The inversion recovery-CPMG measurements in conjunction with the inversion method described above is capable of providing a full map of the two- dimensional density function, (Ti,T 2 ), with a level of detail that was heretofore not practically achievable, as shown in Figures 7 and 8. Other magnetic field pulse sequences and other inversion methods may be used in NMR well-logging applications to provide some of the same information as the inversion recovery- CPMG sequence. For example, a driven equilibrium-refocusing sequence as described above prepares the system of spins with an equilibrium magnetization that depends on T 1 /T 2 and then generates a first series of magnetic resonance signals that depends on Ti/T 2 and T 2 (see equation (3) above). Analyzing the first series of magnetic resonance signals together with a second series of magnetic resonance signals generated, for example, by applying a wait time followed by the refocusing sequence allows an average Ti/T 2 ratio, i.e., <Tι T 2 >, to be determined. An average Ti/T 2 ratio, averaged over all Ti values, or even averaged over all spins, provides some indication of whether a sample contains a wetting phase or a non-wetting phase. Thus the main information contained in the full two-dimensional Tι-T 2 density function may be extracted in a single pass experiment that would be suitable for use in well-logging applications. Figure 9 illustrates a two-dimensional map of <T 1 /T 2 > versus T 2 derived from two sandstone samples, one saturated with water and the other partially saturated with water and oil. These maps, which have been superimposed on one plot, were extracted from data generated by a DEFT-CPMG sequence (as given by expression (4) above and as illustrated in Figure 3) with δi = δ 2 = 400μs. By taking a ratio of the DEFT-CPMG data (see equation (3) together with equation (6) above) to the data generated from a standard CPMG (see equation (10) above), the expected value of was obtained, from which <Tι T 2 > averaged over Ti for each T 2 was derived. While not as detailed as the Ti-T 2 maps shown in Figures 7 and 8, a water phase and oil phase are clearly distinguishable in the <Ti/T 2 > versus T 2 map of Figure 9 for the water-oil saturated sample 901. For example, looking at T 2 components around 200ms and higher of 901, <Tι/T 2 > is approximately 1, indicating the presence of oil. At shorter values of T 2 , <Ti/T 2 > for 901 is clearly greater than 1 and coincides with the <T ! /T 2 > versus T map for the water saturated sample 902, indicating that the smaller pores of the water-oil saturated sample corresponding to the shorter T 2 components are filled with water. The intensity of the signal at each point provides an indication of the number of spins and thus the volume of fluid that contribute to the signal at that point. The DEFT-CPMG sequence used to generate the <TιlΥ 2 > versus T 2 maps shown in Figure 9 was implemented with magnetic field pulses about 1 kHz off- resonance. It has been found that, in homogeneous fields, the DEFT-CPMG signal is sensitive to phase and amplitude mismatches in the pulses, so pulse imperfections affect the observed signal. Various phase cycling schemes may be used to reduce the effects of imperfect pulses. The signal sensitivity also may be reduced using magnetic field pulses that are offset from resonance by Δω « ±(l/δ , and by using two 180-degree pulses in the δ 2 period instead of one. Making these modifications to the DEFT-CPMG sequence resulted in good agreement between the signals measured in the laboratory and equations (3) and (6) above. In inhomogeneous fields such as is typically found in most well-logging applications, however, some spins are necessarily off -resonance, and, in the fast pulsing limit (i.e., τ \ , r 2 » T l5 T 2 ), the DEFT-CPMG signal does not exhibit the same sensitivity to pulse imperfections. However, to fit the observed DEFT-CPMG signals to equation (3) together with equation (6) above, all of the off-resonance behavior and the details of the data acquisition (such as signal bandwidth, etc.) are preferably taken into account in calculating It should be noted that the constant RF irradiation driven equilibrium, being generated by a single pulse, would not be as sensitive to pulse mismatches and pulse imperfections as the DEFT driven equilibrium, and so is well-suited for use with inhomogeneous fields, such as are found in most well-logging applications. The invention may be implemented in well logging using any nuclear magnetic resonance (NMR) well logging apparatus known in the art. Embodiments of the invention may be implemented with NMR well logging devices without the need for hardware modifications. Figure 10 shows a flow diagram of a routine that can be used in programming a processor in implementing certain embodiments of the invention. The routine may be stored on or provided over a computer or machine readable medium, such as read-only memory (ROM); random access memory (RAM); magnetic disc or tape; a CD-ROM or other optical storage media; electrical, optical, acoustical or other forms of propagated signals; and the like. The processor may be a downhole processor, an uphole processor, or a combination thereof. The processor also may include a remote processor that may be used for implementing some of the data inversion and interpretation parts of the routine. Prior to the beginning of the programmed routine and as shown at 1010, a static magnetic field is applied to a region of investigation within an earth formation surrounding a borehole. Theoretically, the earth's magnetic field could be used as the static magnetic field. For most practical purposes, however, this is not preferred. The static magnetic field and field gradient (when desired) typically are applied using a logging tool having a permanent magnet or an array of permanent magnets. The programmed routine begins at block 1015, which represents initializing parameters for the magnetic field pulse sequence. The sequence parameters may include, for example, i=l, a recovery time, a wait time, τ \ , r 2 , etc., depending on the pulse sequence to be applied. In some embodiments, phase-cycling instructions also may be introduced into the programmed routine at 1015. Generating a magnetic field pulse sequence in the region of investigation is represented by block 1020. Magnetic resonance signals from the region of investigation are detected in block 1022 and stored. Some embodiments of the invention involve repeatedly applying the magnetic field pulse sequence, or involve applying a plurality of magnetic field pulse sequences. A parameter R may be used (set, perhaps, at block 1015) to indicate a total number of magnetic field pulse sequences to be generated and applied. Decision block 1025 represents querying whether a counter, r, equals R. If no, then r is incremented, as represented in block 1026, and, if necessary, sequence parameters, such as recovery time or phase-cycling instructions, are varied as represented in block 1027, before the routine is returned to block 1020 where the next sequence is generated in the region of investigation. If r=R when queried at decision block 1025, then the data acquisition for the measurement is complete and the routine continues on to block 1030 where the data inversion begins. Depending on the particular NMR measurement being performed, more than one counters and more than one iterative loop may be required. The data inversion begins at block 1030 by setting the inversion parameters, such as the grid precision to be used in evaluating F, the density distribution; type of kernel; type of optimization, noise, etc. In some embodiments, the kernel and the data are first compressed, and a first objective of the inversion is to extract the density distribution, F, from the data, as shown in blocks 1035 to 1045. Block 1035 represents compressing the kernel along each dimension of the kernel. In cases where the kernel has two dimension, the 2D kernel may be compressed, for example, by first evaluating each ID kernel with a singular value decomposition and then computing the compressed 2D kernel. Typically, the kernel is compressed one time and applied to each data set, so when the data are compressed at block 1040, the compressed kernel does not need to be calculated again for each data set. The data sets M r , r= 1 , ... ,R, are compressed along each dimension of the kernel at block 1040. The density distribution F r for r=l,...,R is determined at 1045. In some embodiments, determining F r involves posing the problem in an unconstrained optimization framework in a lower dimensionality space (having a dimension equal to that of the compressed kernel) and iteratively optimizing F r until it converges within a desired limit. When F r has been determined, information about the region of interest, such as T 1; Ti/T 2 , T t -T 2 map, etc., is extracted at block 1050. In some embodiments, information about the region of interest, such as a <Tι/T 2 >-T 2 map, may be extracted without having to fully invert for/, as described previously. The invention allows information about a system of nuclear spins, such as in a fluid in a rock, to be extracted, either in a laboratory setting or in well-logging applications. Some embodiments may be used to extract two-dimensional maps of parameters of interest, such as T and T 2 , Ti/T and T 2 , D and T 2 , etc., which may prove useful in distinguishing between fluids and/or between different pore environments within a rock. While the invention has been described herein with reference to certain examples and embodiments, it will be evident that various modifications and changes may be made to the embodiments described above without departing from the scope and spirit of the invention as set forth in the claims.

Claims: We claim: 1. A method of extracting information about a system of nuclear spins comprising: a) performing a plurality of nuclear magnetic resonance measurements on the system of nuclear spins; b) acquiring nuclear magnetic resonance data from each of the plurality of nuclear magnetic resonance measurements; c) expressing the nuclear magnetic resonance data using a kernel that is separable along at least two dimensions; d) compressing the nuclear magnetic resonance data along each dimension of the kernel; and e) analyzing the compressed nuclear magnetic resonance data to extract information about the system of nuclear spins. 2. The method of claim 1, wherein the nuclear magnetic resonance data comprises nuclear magnetic resonance spin echoes. 3. The method of claim 1, wherein the nuclear magnetic resonance data from each of the plurality of nuclear magnetic resonance measurement are expressed as M r (τ x ,τ 2 ) = J k l (x,τ l )k 2 (y,τ 2 )f r (x, y)dxdy + E r (τ l ,τ 2 ) , where r (zi,τ 2 ) represents the nuclear magnetic resonance data; k \ and & 2 represent the kernel separated along a first and a second dimension, respectively; τ \ and τ 2 are a first and a second time, respectively, associated with the nuclear magnetic resonance measurement; x and y are parameters related to the system of spins ;f r (x,y) is a joint probability density function of x and y; and E r (τ \ ,vι) represents noise associated with the nuclear magnetic resonance data. 4. The method of claim 3, further comprising discretizing the nuclear magnetic data and expressing the nuclear magnetic resonance data as M r = K \ F r K. 2 + E r , where matrices K \ and K 2 contain entries corresponding to k \ and fe 2 , respectively, and F r represents a discretized version of f r (x,y). 5. The method of claim 1, wherein compressing the nuclear magnetic resonance data comprises transforming the data using a singular value decomposition of the kernel along each dimension. 6. The method of claim 1, wherein the compressed nuclear magnetic resonance data are analyzed using a Butler-Reed-Dawson optimization method. 7. The method of claim 1, wherein analyzing the compressed nuclear magnetic resonance data comprises determining a density function associated with the nuclear magnetic resonance data. 8. A method of extracting information about a fluid in a rock comprising: a) applying a sequence of magnetic field pulses to the fluid, the sequence comprising a first part designed to prepare a system of nuclear spins in the fluid in a first state followed by a second part designed to generate a first series of magnetic resonance signals; b) detecting the first series of magnetic resonance signals from the fluid; c) expressing the detected magnetic resonance signals as a function having a kernel that is separable along at least two dimensions; d) compressing the detected magnetic resonance signals along each dimension of the kernel to form a compressed data set; and e) analyzing the compressed data set to extract information about the fluid in the rock. 9. The method of claim 8, further comprising: f) modifying the first part of the sequence; g) applying the sequence to the fluid, the modified first part being designed to prepare the system of nuclear spins in a second state and the second part generating a second series of magnetic resonance signals; and h) detecting the second series of magnetic resonance signals from the fluid. 10. The method of claim 9, further comprising repeating steps f) through h) a plurality of times. 11. The method of claim 8, wherein the first state comprises a non-equilibrium state. 12. The method of claim 9, wherein the first state comprises a non-equilibrium state and the second state comprises a different non-equilibrium state. 13. The method of claim 9, wherein the first state comprises a non-equilibrium state and the second state comprises a thermal equilibrium state. 14. The method of claim 8, wherein the nuclear magnetic resonance data depends on a two-dimensional function of a first parameter and a second parameter related to the fluid in the rock and analyzing the compressed nuclear magnetic resonance data comprises extracting the two-dimensional function. 15. The method of claim 14, wherein the first parameter comprises a longitudinal relaxation time associated with the fluid. 16. The method of claim 14, wherein the first parameter comprises a transverse relaxation time associated with the fluid. 17. The method of claim 14, wherein the second parameter comprises a longitudinal relaxation time associated with the fluid. 18. The method of claim 14, wherein the second parameter comprises a transverse relaxation time associated with the fluid. 19. The method of claim 14, wherein analyzing the compressed nuclear magnetic resonance data further comprises extracting a two-dimensional map of the first and the second parameters. 20. A logging apparatus comprising: a logging tool that is moveable through a borehole; and a processor coupled with the logging tool, the processor being programmed with instructions which, when executed by the processor, cause the logging tool to: a) perform a plurality of nuclear magnetic resonance measurements on a region of investigation within an earth formation surrounding the borehole; b) acquiring nuclear magnetic resonance data dependent on at least two dimensions from each of the plurality of nuclear magnetic resonance measurements; and cause the processor to: c) compress the nuclear magnetic resonance data along each of the dimensions; and d) analyze the compressed nuclear magnetic resonance data in an optimization framework to extract information about the region of investigation. 21. The apparatus of claim 20, wherein each of the plurality of nuclear magnetic resonance measurements comprises: applying a sequence of magnetic field pulses to a region of investigation of earth formation surrounding the borehole, the sequence comprising a first part designed to prepare a system of nuclear spins in the fluid in a first state followed by a second part designed to generate a series of magnetic resonance signals; and wherein the nuclear magnetic resonance data comprises the series of magnetic resonance signals.

Inventors: HURLIMANN MARTIN D, SONG YI-QIAO, VENKATARAMANAN LALITHA, HURLIMANN, MARTIN, D., SONG, YI-QIAO, VENKATARAMANAN, LALITHA
Applicants: HURLIMANN MARTIN D, PRAD RES & DEV NV, SCHLUMBERGER CA LTD, SCHLUMBERGER HOLDINGS, SCHLUMBERGER SERVICES PETROL, SCHLUMBERGER SURENCO SA, SCHLUMBERGER TECHNOLOGY BV, SCHUMBERGER OVERSEAS S A, SONG YI QIAO, VENKATARAMANAN LALITHA, HURLIMANN, MARTIN, D., PRAD RESEARCH AND DEVELOPMENT N.V., SCHLUMBERGER CANADA LIMITED, SCHLUMBERGER HOLDINGS LIMITED, SCHLUMBERGER SURENCO S.A., SCHLUMBERGER TECHNOLOGY B.V., SCHUMBERGER OVERSEAS S.A., SERVICES PETROLIERS SCHLUMBERGER, SONG, YI-QIAO, VENKATARAMANAN, LALITHA
Application year: 2001
Main classification: G01V3
IPC codes: G01R33, G01V3