The present invention relates generally to apparatus for making and evaluating measurements.
In measurements on systems, an exponential function may arise whenever a quantity grows or decays at a rate proportional to its current value. Properties of many natural phenomena can be described by exponential functions. For a system that is a mixture of such decay rates, a function for the system can be expressed as multi-exponential decay function:
E=Σ
J=1
I
A
1exp(−t/T1) (1)
An inverse Laplace transform applied to the measured data having the multi-exponential behavior can be used to provide the distribution of A. Such application is not limited to one-dimensional (1D) analysis, but can be applied to two-dimensional (2D) and three-dimensional (3D) analysis. Problems that can be solved with the inverse Laplace transform method include inversion of echo trains to obtain 1D relaxation time and a 2D diffusion-relaxation distribution. There are other types of problems that can be formed in a similar single or multiple dimensional inverse Laplace transform problem. The inverse Laplace transform is applicable to other problems in which measurement data can be expressed by a multi-exponential function.
Deriving petrophysical information from nuclear magnetic resonance (NMR) logs often starts with an echo train inversion using a multi-exponential model. An NMR inversion technique involves fitting parameters and variables to the measured echo trains through an optimization procedure in the discrete space. The optimization procedure includes a series of time-consuming matrix multiplications for each measurement data sequence (echo trains), which can cause intolerable processing inefficiency in processing NMR multi-dimensional parameter space inversions.
An echo train in NMR measurement can be expressed by,
where M is the echo amplitude, mij the unknown partial porosities on a grid with index (i, j), Dj the fluid diffusivity, Tw the wait time, γ the gyromagnetic ratio, G the magnetic field gradient, TE the time spacing between echoes in an echo train, and R=T1/T2. T1 and T2 are the longitudinal and transversal relaxation times, respectively. Determination of the unknown partial porosity mij according to the measured echo train amplitude is an inversion problem. Through the process of inversion, the spin-echo decay data can be converted to a T2 distribution. This distribution represents a “most likely” distribution of T2 values that produce the echo train. With proper calibration and account for hydrogen index of the fluids in the pore space, the area under a T2 distribution curve is equal to the porosity. This distribution can be correlated with a pore size distribution when the rock is 100% water saturated. However, if hydrocarbons are present, the T2 distribution will be altered depending on the hydrocarbon type, viscosity, and saturation.
The inversion problem to determine the unknown partial porosity mij can be mathematically described by,
where p is the echo train index and P is the total number of different echo trains in a data acquisition sequence; wp is the weight applied the pth echo train. This minimization problem is usually solved by the least squares method, where
where L is the total number of echoes in the echo train; JI=J·I denotes the number of the unknowns to be inverted, and the vector
The second term in equation (3) is a regularization term. W(α) means that the entries of matrix W are functions of the regularization factor α (alpha). A simple example of W(α) is an identity matrix multiplied by α. The inclusion of a regularization term is important to many inversion problems using the least squares method, because least squares solutions are affected by data and rounding errors. The regularization dampens the error effects. It can be important to use adequate regularization such that it de-sensitizes noise influence while not introducing significant misfit. In general, an adjustable regularization coefficient is used. Normally, this adjustable parameter, α, is often determined by a cumbersome process involving multiple fitting trials with varying α.
Mathematical relation (3) can be expressed as,
(A+W(α)TW(α))x=B (5)
where x=[m11, m12, . . . , m1J, . . . , mI1, mI2, . . . , mIJ]
With the insertion of the regularization term, the solution vector x from equation (5) becomes a function of the factor α, denoted as x(α). Similarly, the error vector Ax−B also becomes a function of α, denoted as Ax(α)−B. If the norm of the error vector ∥Ax(α)−B∥ and the norm of the solution vector ∥x(α)∥ are used as the horizontal and vertical axis respectively to plot a curve, it will present an L-shape as shown in
d(α)=√{square root over (∥Ax(α)−B∥2+∥x(α)∥2)}{square root over (∥Ax(α)−B∥2+∥x(α)∥2)}, (6)
then the plot of d(α) with respect to α can produce a parabolic-shaped curve, as shown in
The following detailed description refers to the accompanying drawings that show, by way of illustration and not limitation, various embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice these and other embodiments. Other embodiments may be utilized, and structural, logical, and electrical changes may be made to these embodiments. The various embodiments are not necessarily mutually exclusive, as some embodiments can be combined with one or more other embodiments to form new embodiments. The following detailed description is, therefore, not to be taken in a limiting sense.
In multi-exponential behavior of measured data, analysis can be conducted using an inversion technique that involves fitting parameters and variables to the measured data through an optimization procedure in discrete space. The optimization procedure can include a series of time-consuming matrix multiplications for each measurement data sequence, which can cause processing inefficiency in processing multi-dimensional parameter space inversions. The optimization procedure can include use of the least squares method.
In various embodiments, a continuous-function-space (CFS) optimization process can be implemented to conduct data inversion. Optimization matrix elements can be derived analytically in the continuous function space. This analytic approach can provide for the avoidance of tedious matrix operations and can greatly reduce the matrix processing time without incurring negative consequences. An additional process can be used to provide a fast method for predicting an optimal regularization factor that can be used to conduct the optimization for the data inversion. This analytic approach can be implemented using a known function derived by interpolation to the measured data, where the known function can be used in a matrix equation generated in the optimization problem. With the known function structured as an analytically integrable function, all matrix elements may be calculated analytically. Such integrable functions can include, but are not limited to, linear interpolation functions, S-Spline interpolation functions, or exponential interpolation functions.
In various embodiments, a method of analyzing nuclear magnetic resonance logging data with respect to a region of a borehole employs a continuous-function-space (CFS) optimization process to conduct NMR inversion. Optimization matrix elements can be derived analytically in the continuous function space. This analytic approach can provide for the avoidance of tedious matrix operations and can greatly reduce the matrix processing time without incurring negative consequences. An additional process can be used to provide a fast method for predicting an optimal regularization factor that can be used to conduct the optimization for the NMR inversion. This method is operable to speed up the NMR inversion significantly.
In various embodiments, the nuclear magnetic resonance tool 405 or other nuclear magnetic resonance tool can be used to perform a method comprising: collecting data from measured echo trains in a nuclear magnetic resonance measurement procedure conducted on a region of a borehole; applying a processing unit to the data forming an optimization relationship including unknown partial porosities of the region such that elements of the optimization relationship are analytically calculable based on the use of an integrable function in the optimization relationship, the integrable function derived from the collected data; and applying the processing unit to extract properties of the region corresponding to the collected data. The method can include deriving the integrable function by generating an integrable interpolation function from the data. Generating the integrable interpolation function can include generating one or more of a linear interpolation function, an S-Spline interpolation function, or exponential interpolation function. The optimization relationship can be formed as an optimization matrix relationship in a data storage device. The data storage device can include electronic or optical memories, a series of data registers, or other devices in which data can be moved in and out of for processing data collected by a nuclear magnetic resonance tool.
In various embodiments, the nuclear magnetic resonance tool 405 or other nuclear magnetic resonance tool can be used to perform a method comprising: collecting data from measured echo trains in a nuclear magnetic resonance measurement procedure conducted on a region of a borehole; and operating a processing unit such that the processing unit conducts operations including conducting operations to facilitate inversion of measured NMR data. The operations can include: operating on the data forming an optimization relationship including unknown partial porosities of the region and a regularization matrix such that a vector of the unknown partial porosities and an error vector are based on a regularization factor, the error vector generated from the optimization relationship: generating a first linear correlation between the logarithm corresponding to the vector of the unknown partial porosities and a logarithm corresponding to the regularization factor using a number of initially selected values of the regularization factor; generating a second linear correlation between a logarithm corresponding to the error vector and the logarithm corresponding to the regularization factor using the number of initially selected values of the regularization factor; generating a first vector of the unknown partial porosities based on the first linear correlation and generating a second error vector based on the second linear correlation generating points of a curve using the first vector and the second error vector and determining an approximately optimal value of the regularization factor using the points of the curve, the approximately optimal value applied to the optimization relationship to conduct an inversion of the data; and extracting properties of the region corresponding to the collected data from the inversion.
In various embodiments, a processing unit, such as but not limited to processing unit 420, can be structured to conduct optimizing procedures in a continuous function space to avoid huge matrix operations. To accomplish such processing, mathematical relation (3) can be derived in the CFS as,
where g(t) can be generated from the measured echo trains providing a known function. The known function can be derived by interpolation to the measured echo trains. The optimization problem described by expression (7) can be converted into the matrix equation by the least square method in the continuous function space as,
where C(p) and B(p) are the matrix and signal vector of the pth echo train, respectively. Because the integrand in equation (7) is analytically integrable, when converting it into the matrix equation (8), all elements in each matrix C(p) can be calculated analytically by equations (9-1) and (9-2) given by,
where
Ckn(p) denotes the element at the kth row and nth column of matrix C(p) in Equation (8);
bk(p) is the kth element of the vector B(p) in Equation (8);
k=1, 2, . . . , I*J;
n=1, 2, . . . , I*J;
I and J are the number of bins of T2 and D, respectively;
T2u stands for the uth bin of T2 and T2x for the xth bin of T2;
Dv stands for the vth bin of D and Dy for the yth bin of D;
The subscripts u, v, x, and y are defined by
here the function int(Z) takes the integer part of Z.
The integration limits Tstart(p) and Tend(p) are the start and end time of the pth echo train with wait time Tw(p). For bk(p) calculations, as long as g(t) can be approximated by integrable functions, the integration can be conducted analytically. Such integrable functions can include, but are not limited to, linear interpolation functions, S-Spline interpolation functions, or exponential interpolation functions. In this way, the elements calculation for each matrix C(p) and each vector B(p) can not only be much faster, saving thousands of multiplication operations for each of the thousands of elements in each echo train processing, but also avoid accumulated quantitative errors.
It is noticed that the intercho spacing, TE, in equation (2) is a constant in an echo train. Thus, the sample times t1=TE, t2=2TE, . . . , tL=L·TE, the integration operation in equation (8) and equations (9-1) and (9-2) can be solved equivalently by series summation, and the derived formulas are shown in equations (10-1), (10-2), and (10-3),
The subscripts u, v, x, and y are the same as in equations (9-1) and (9-2). The matrix elements in Equation (8) can still be calculated analytically, obtaining the same features of the integration method described by equations (9-1) and (9-2). Since the typical NMR logging data are obtained using the Carr-Purcell-Meiboom-Gill (CPMG) sequence, where the interecho spacing is a constant for the entire echo train, the series summation method provides a straight forward useful tool and requires no interpolation of data.
In various embodiments, processing can be performed to provide a fast method for the determination of a regularization factor. This processing method provides an estimation of the optimal α. In the discussions to follow, the parabolic shaped curve method is used as an example to illustrate how an example embodiment of a method to estimate the regularization factor works quickly in determining the correlation of ∥Ax(α)−B∥˜α and the correlation of ∥x(α)∥˜α. As previously noted, the entries of the regularization matrix W in equations (3) through (8) can be functions of the regularization factor α, where α can be solved by minimizing the function d(α), defined in equation (6), with respect to α. However, such an embodiment to estimate the regularization factor also works quickly for L-Curve method.
Mathematically, the norm of the solution vector ∥x(α)∥ is a monotonically decreasing function of α, shown in
In various embodiments, a method can predict α, based on the observation of this quasi-linear feature. Such new methods of predicting α can use as few as only two points in the transformed domain instead of a large number of trials currently used. For example, only two α trial values and their corresponding error vectors and solution vector norms can be used to determine the appropriate correlations. The two α points can be enough to construct a linear correlation between Log(∥x(α)∥) and Log(α) and a linear correlation between Log(∥Ax(α)−B∥) and Log(α), as follows,
where α1 and α2 can be any two different values in the right range for the problem. Once the values of Log(∥x(α1)∥), Log(∥x(α2)∥), Log(∥Ax(α1)−B∥), and Log(∥Ax(α2)−B∥) are calculated, the optimal α can be uniquely determined. By inversely transforming the Log(∥x(α)∥) and Log(∥Ax(α)−B∥) from equations (11) and (12), back into the real domain (∥Ax(α)−B∥, ∥x(α)∥), the following are obtained:
Substituting equations (13) and (14) into equation (6), the d(α)˜α relation can be obtained by only two calculated α points. However, in the presence of heavy noise, more alpha points may be needed to derive reliable results through the linear precession algorithm.
As an example based on the observation of this quasi-linear feature using two points, two points can be arbitrarily picked to start, for example α=1 and α=210. Next, the linear correlation between Log(∥Ax(α)−B∥) and Log(α) and between Log(∥x(α)∥) and Log(α), according to equations (11) and (12), can be derived with these two points. By inversely transforming the Log(∥x(α)∥) and Log(∥Ax(α)−B∥) back into the real domain (∥Ax(α)−B∥, ∥x(α)∥), the optimal α value can be found by minimizing,
d(α)=√{square root over (∥Ax(α)−B∥2+∥x(α)∥2)}{square root over (∥Ax(α)−B∥2+∥x(α)∥2)}.
In various embodiments, a processing unit can be configured to perform a number of tasks relative to NMR measurements. These tasks can include conducting an optimization method in the continuous function space to perform NMR inversion instead of discrete space optimization that does not use analytical functions. The completion of these tasks can consequentially derive analytical solutions to the optimization matrix elements, which can greatly reduce the processing time. This process can be especially significant for 2D and 3D NMR inversions. In addition, the tasks can include performing procedures to predict the regularization factor α of a regularization matrix that uses much fewer α points for α optimization than multipoint methods, which can significantly speed up the NMR data inversion.
In various embodiments, components of a system operable to conduct an inversion process on discrete data from measurements, where the system uses an optimization procedure conducted in a continuous function space as described herein or in a similar manner, can be realized in combinations of hardware and software based implementations. These implementations can include a machine-readable storage device having machine-executable instructions, such as a computer-readable storage device having computer-executable instructions, to collect data from one or more measurements of a structure; apply a processing unit to the data forming an optimization relationship such that elements of the optimization relationship are analytically calculable based on the use of an integrable function in the optimization relationship; and apply the processing unit to extract properties of the structure corresponding to the collected data. The data may exhibit multi-exponential decay. The decay curves may be equally spaced decay curves. The integrable function can be derived from the collected data. Deriving the integrable function can be conducted by generating an integrable interpolation function from the data. Generating the integrable interpolation function can include generating one or more of a linear interpolation function, an S-Spline interpolation function, or exponential interpolation function.
In various embodiments, components of a system operable to conduct an inversion process on nuclear magnetic resonance measurements, where the system uses an optimization procedure conducted in a continuous function space as described herein or in a similar manner, can be realized in combinations of hardware and software based implementations. These implementations can include a machine-readable storage device having machine-executable instructions, such as a computer-readable storage device having computer-executable instructions, to collect data from measured echo trains in a nuclear magnetic resonance measurement procedure conducted on a region of a borehole; apply a processing unit to the data forming an optimization relationship including unknown partial porosities of the region such that elements of the optimization relationship are analytically calculable based on the use of an integrable function in the optimization relationship; and apply the processing unit to extract properties of the region corresponding to the collected data. The integrable function can be derived from the collected data.
Implementations can include a machine-readable storage device having machine-executable instructions, such as a computer-readable storage device having computer-executable instructions, to collect data from measured echo trains in a nuclear magnetic resonance measurement procedure conducted on a region of a borehole; and to operate a processing unit such that the processing unit conducts operations to process the nuclear magnetic resonance data. These operations can include: operating on the data forming an optimization relationship including unknown partial porosities of the region and a regularization matrix such that a vector of the unknown partial porosities and an error vector are based on a regularization factor, the error vector generated from the optimization relationship; generating a first linear correlation between the logarithm corresponding to the vector of the unknown partial porosities and a logarithm corresponding to the regularization factor using a number of initially selected values of the regularization factor, generating a second linear correlation between a logarithm corresponding to the error vector and the logarithm corresponding to the regularization factor using the number of initially selected values of the regularization factor; generating a first vector of the unknown partial porosities based on the first linear correlation and generating a second error vector based on the second linear correlation; generating points of a curve using the first vector and the second error vector and determining an approximately optimal value of the regularization factor using the points of the curve, the approximately optimal value applied to the optimization relationship to conduct an inversion of the data; and extracting properties of the region corresponding to the collected data from the inversion.
Executed instructions can also include instructions to operate a tool having one or more transmitters and one or more receivers of a nuclear magnetic resonance tool to provide data to a processing unit such that the processing unit conducts one or more processes in accordance with the teachings herein. Further, a machine-readable storage device, herein, is a physical device that stores data represented by physical structure within the device. Examples of machine-readable storage devices include, but are not limited to, read only memory (ROM), random access memory (RAM), a magnetic disk storage device, an optical storage device, a flash memory, and other electronic, magnetic, and/or optical memory devices.
The system 1600 can include a controller 1625, a memory 1630, an electronic apparatus 1665, and a communications unit 1635. The memory 1630 can be structured to include a database. The controller 1625, the memory 1630, and the communications unit 1635 can be arranged to operate as a processing unit to control operation of the transmitters 1612 and the receivers 1614 and to perform operations on the signals collected by the receivers 1614 to conduct nuclear magnetic resonance inversion by optimization in continuous function space, in a manner similar or identical to the procedures discussed herein. A processing unit 1620, structured to conduct nuclear magnetic resonance inversion by optimization in continuous function space, can be implemented as a single unit or distributed among the components of the system 1600 including electronic apparatus 1665. The controller 1625 and the memory 1630 can operate to control activation of the transmitters 1612 and selection of the receiver sensors in the tool 1605 and to manage processing schemes in accordance with measurement procedures and signal processing as described herein. The processing unit 1620 and other components of the system 1600 can be configured, for example, to operate similar to or identical to the components discussed herein or similar to or identical to any of methods discussed herein.
The communications unit 1635 can include downhole communications for appropriately located sensors in a drilling operation. Such downhole communications can include a telemetry system. The communications unit 1635 may use combinations of wired communication technologies and wireless technologies at frequencies that do not interfere with on-going measurements.
The system 1600 can also include a bus 1627, where the bus 1627 provides electrical conductivity among the components of the system 1600. The bus 1627 can include an address bus, a data bus, and a control bus, each independently configured or in an integrated format. The bus 1627 can be realized using a number of different communication mediums that allows for the distribution of components of the system 1600. Use of the bus 1627 can be regulated by the controller 1625.
In various embodiments, the peripheral devices 1645 can include additional storage memory and other control devices that may operate in conjunction with the controller 1625 and the memory 1630. In an embodiment, the controller 1625 can be realized as a processor or a group of processors that may operate independently depending on an assigned function.
The system 1600 can include display unit(s) 1655 as a distributed component on the surface at a drilling operation, which can be used with instructions stored in the memory 1630 to implement a user interface to monitor the operation of the tool 1605 or components distributed within the system 1600. The user interface may be used to input parameter values for thresholds such that the system 1600 can operate autonomously substantially without user intervention. The user interface can also provide for manual override and change of control of the system 1600 to a user. Such a user interface can be operated in conjunction with the communications unit 1635 and the bus 1627.
The system 1700 can include a drilling rig 1702 located at a surface 1704 of a well 1706 and a string of drill pipes, that is, the drill string 1708, connected together so as to form a drilling string that is lowered through a rotary table 1707 into a wellbore or borehole 1712. The drilling rig 1702 can provide support for the drill string 1708. The drill string 1708 can operate to penetrate the rotary table 1707 for drilling the borehole 1712 through subsurface formations 1714. The drill string 1708 can include drill pipe 1718 and a bottom hole assembly 1720 located at the lower portion of the drill pipe 1718.
The bottom hole assembly 1720 can include a drill collar 1715, the tool 1705 attached to the drill collar 1715, and a drill bit 1726. The drill bit 1726 can operate to create the borehole 1712 by penetrating the surface 1704 and the subsurface formations 1714. The tool 1705 can be structured for an implementation in the borehole 1712 as a MWD system such as a LWD system. The housing containing the tool 1705 can include electronics to activate one or more transmitters of the tool 1705 and collect responses from one or more receivers of the tool 1705. Such electronics can include a processing unit to conduct nuclear magnetic resonance inversion by optimization in continuous function space and provide results to the surface over a standard communication mechanism for operating a well. Alternatively, electronics can include a communications interface to provide signals output by receivers of the tool 1705 to the surface over a standard communication mechanism for operating a well, where these output signals can be analyzed at a processing unit at the surface to conduct nuclear magnetic resonance inversion by optimization in continuous function space in accordance with the teachings herein.
During drilling operations, the drill string 1708 can be rotated by the rotary table 1707. In addition to, or alternatively, the bottom hole assembly 1720 can also be rotated by a motor (e.g., a mud motor) that is located downhole. The drill collars 1715 can be used to add weight to the drill bit 1726. The drill collars 1715 also can stiffen the bottom hole assembly 1720 to allow the bottom hole assembly 1720 to transfer the added weight to the drill bit 1726, and in turn, assist the drill bit 1726 in penetrating the surface 1704 and subsurface formations 1714.
During drilling operations, a mud pump 1732 can pump drilling fluid (sometimes known by those of skill in the art as “drilling mud”) from a mud pit 1734 through a hose 1736 into the drill pipe 1718 and down to the drill bit 1726. The drilling fluid can flow out from the drill bit 1726 and be returned to the surface 1704 through an annular area 1740 between the drill pipe 1718 and the sides of the borehole 1712. The drilling fluid may then be returned to the mud pit 1734, where such fluid is filtered. In some embodiments, the drilling fluid can be used to cool the drill bit 1726, as well as to provide lubrication for the drill bit 1726 during drilling operations. Additionally, the drilling fluid may be used to remove subsurface formation 1714 cuttings created by operating the drill bit 1726.
In various embodiments, the tool 1705 may be included in a tool body 1770 coupled to a logging cable 1774 such as, for example, for wireline applications. The tool body 1770 containing the tool 1705 can include electronics to activate one or more transmitters of the tool 1705 and collect responses from one or more receivers of the tool 1705. Such electronics can include a processing unit to conduct nuclear magnetic resonance inversion by optimization in continuous function space and provide results to the surface over a standard communication mechanism for operating a well. Alternatively, electronics can include a communications interface to provide signals output by receivers of the tool 1705 to the surface over a standard communication mechanism for operating a well, where these output signals can be analyzed at a processing unit at the surface to conduct nuclear magnetic resonance inversion by optimization in continuous function space in accordance with the teachings herein. The logging cable 1774 may be realized as a wireline (multiple power and communication lines), a mono-cable (a single conductor), and/or a slick-line (no conductors for power or communications), or other appropriate structure for use in the bore hole 1712.
Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that any arrangement that is calculated to achieve the same purpose may be substituted for the specific embodiments shown. Various embodiments use permutations and/or combinations of embodiments described herein. It is to be understood that the above description is intended to be illustrative, and not restrictive, and that the phraseology or terminology employed herein is for the purpose of description. Combinations of the above embodiments and other embodiments will be apparent to those of skill in the art upon studying the above description.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/US2012/048009 | 7/24/2012 | WO | 00 | 1/9/2015 |