Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHODS FOR ESTIMATING NMR LWD DATA QUALITY
Document Type and Number:
WIPO Patent Application WO/2022/256527
Kind Code:
A1
Abstract:
A method is provided for evaluating logging while drilling (LWD) nuclear magnetic resonance (NMR) measurement quality. The method may include rotating a bottom hole assembly (BHA) in a wellbore to drill. The BHA may include an NMR tool deployed at a first location and at least one motion sensor deployed at a second location, wherein the first and second locations are axially spaced apart in the BHA. The method may also include making NMR measurements and corresponding motion sensor measurements while drilling in the wellbore. The method may further include processing the motion sensor measurements to determine the NMR measurement quality of the corresponding NMR measurements.

Inventors:
UTSUZAWA SHIN (US)
CHEN WEI (US)
VAN STEENE MARIE (SA)
SHEN YUELIN (US)
MUTINA ALBINA (FR)
ZIELINSKI LUKASZ (US)
Application Number:
PCT/US2022/031961
Publication Date:
December 08, 2022
Filing Date:
June 02, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SCHLUMBERGER TECHNOLOGY CORP (US)
SCHLUMBERGER CA LTD (CA)
SERVICES PETROLIERS SCHLUMBERGER (FR)
SCHLUMBERGER TECHNOLOGY BV (NL)
International Classes:
G01V3/32; E21B47/10; E21B47/12; G06N20/00
Foreign References:
US20160202384A12016-07-14
US20210063600A12021-03-04
US20070144782A12007-06-28
US20190056524A12019-02-21
US20010043066A12001-11-22
Attorney, Agent or Firm:
FRANTZ, Jeffrey D. et al. (US)
Download PDF:
Claims:
CLAIMS

What is claimed is:

1. A method for evaluating logging while drilling (LWD) nuclear magnetic resonance (NMR) measurement quality, the method comprising: rotating a bottom hole assembly (BHA) in a wellbore to drill, the BHA including an NMR tool deployed at a first location and at least one motion sensor deployed at a second location, wherein the first and second locations are axially spaced apart in the BHA; making NMR measurements and corresponding motion sensor measurements while drilling in the wellbore; and processing the motion sensor measurements to determine the NMR measurement quality of the corresponding NMR measurements.

2. The method of claim 1, further comprising: processing historical data or simulated data to determine a correlation relating BHA motion at the motion sensor and the NMR measurement quality.

3. The method of claim 2, wherein said processing further comprises applying said correlation to the motion sensor measurements to determine the NMR measurement quality.

4. The method of claim 3, wherein the correlation is determined using a supervised machine learning model to map the BHA motion at the motion sensor to the NMR measurement quality.

5. The method of claim 4, wherein the NMR measurements comprise NMR porosity and transverse relaxation time T2 .

6. The method of claim 4, wherein the motion sensor is configured to measure at least one of axial and transverse shock, axial and transverse acceleration, radial acceleration, tangential acceleration, downhole rotation rate, weight on bit, torque on bit, axial and transverse bending, and axial and transverse magnet field, bit bounce severity, stick slip severity, and a bending moment of the BHA.

7. The method of claim 4, wherein the supervised machine learning model is trained by correlating NMR measurements made in two distinct measurement passes in the same formation, the first measurement pass made while drilling and the second measurement pass made while sliding.

8. The method of claim 4, wherein the supervised machine learning model is trained by correlating modeled NMR measurements and modeled BHA motion measurements, the modeled NMR and BHA motion measurements obtained using NMR spin dynamics simulations and drilling dynamics simulations.

9. The method of claim 8, wherein the drilling dynamics simulation is used to simulate motion at the NMR tool based on motion measurements made at the motion sensor and the spin dynamics simulation is used to simulate the NMR measurement quality based on the simulated motion at the NMR tool.

10. The method of claim 4, further comprising: repeating said rotating and said making measurements in a plurality of different wellbores; accumulating the NMR measurements and the corresponding motion measurements made while said repeating in a database; and processing the measurements in the database to train and refine the supervised machine learning model.

11. The method of claim 1, wherein said processing the motion sensor measurements to determine the NMR measurement quality comprises: processing motion sensor measurements made at the second location to determine motion of the NMR tool at the first location; and processing the motion of the NMR tool at the first location to determine the NMR measurement quality.

12. The method of claim 11, further comprising determining a correlation relating motion at the motion sensor and motion at the NMR tool.

13. The method of claim 12, wherein processing the motion sensor measurements comprises processing the motion sensor measurements with the correlation to compute the motion at the NMR sensor.

14. The method of claim 12 wherein the correlation relates a speed and a displacement amplitude of the motion at the motion sensor to a speed and a displacement amplitude of the motion at the NMR sensor.

15. The method of claim 14, wherein said processing the motion of the NMR tool at the first location to determine the NMR measurement quality comprises processing the speed and the displacement amplitude of the motion at the NMR sensor to determine the NMR measurement quality.

16. The method of claim 12, further comprising calibrating the correlation using historical data or simulated data.

17. A nuclear magnetic resonance (NMR) logging while drilling (LWD) tool comprising: an LWD tool body; at least one permanent magnetic deployed in the LWD tool body, the permanent magnet configured to generate a B0 magnetic field radially outward from the LWD tool body; at least one antenna deployed in the LWD tool body, the antenna configured to generate a radio frequency B1 magnetic field radially outward from the LWD tool body and to measure echo amplitudes corresponding to a transmitted B1 pulse; and a processor configured to receive motion sensor measurements from a motion sensor located elsewhere in a bottom hole assembly and to process the motion sensor measurements to determine a measurement quality of corresponding NMR measurements.

18. A bottom hole assembly (BHA) comprising: a nuclear magnetic resonance (NMR) logging while drilling tool deployed at a first axial location in the BHA; at least one motion sensor deployed at a second axial location in the BHA, wherein the first and second axial locations are axially spaced apart; and a processor configured to receive motion sensor measurements from the motion sensor and to process the motion sensor measurements to determine a measurement quality of corresponding NMR measurements.

19. The BHA of claim 18, wherein: the processor includes a correlation relating BHA motion at the motion sensor to said NMR measurement quality; and the processor is configured to apply said correlation to the motion sensor measurements to determine the NMR measurement quality.

20. The BHA of claim 18, wherein the processor is configured to: process the motion sensor measurements made at the second location to determine motion of the NMR tool at the first location; and process the motion of the NMR tool at the first location to determine the NMR measurement quality.

Description:
METHODS FOR ESTIMATING NMR LWD DATA QUALITY

CROSS REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority to and the benefit of U.S. Provisional Application No. 63/196,352, filed June 3, 2021, which is incorporated by reference herein in its entirety.

BACKGROUND

[0002] This section is intended to provide the reader with background information to facilitate a better understanding of the various aspects of the present disclosure. Accordingly, it should be understood that these statements are to be read in this light, not as admissions of prior art. [0003] The desire for real-time or near real-time information while drilling a wellbore gave rise to measurement-while-drilling (MWD) tools and logging-while-drilling (LWD) tools. MWD tools may provide drilling parameter information such as weight-on-bit, torque, shock and vibration, temperature, pressure, rotations-per-minute (rpm), mud flow rate, direction, and inclination. LWD tools may provide formation evaluation measurements such as natural or spectral gamma-ray, resistivity, dielectric, sonic velocity, density, photoelectric factor, neutron porosity, sigma thermal neutron capture cross-section, a variety of neutron induced gamma- ray spectra, NMR T 1 and T 2 distributions, and porosity. [0004] Common logging tools include electromagnetic tools, acoustic tools, nuclear tools, and nuclear magnetic resonance (NMR) tools, though various other tool types are also used. NMR instruments can be used to determine properties of earth formations, such as the fractional volume of pore space, the fractional volume of mobile fluid filling the pore space, and the porosity of earth formations. NMR data may also be used to assess the content of brine and hydrocarbons in the formation. General background of NMR well logging is described in commonly assigned U.S. Patent No. 6,140,817.

[0005] The signals measured by NMR logging tools typically arise from the selected nuclei present in the probed volume. Because hydrogen nuclei are the most abundant and easily detectable, most NMR logging tools are tuned to detect hydrogen resonance signals (from either water or hydrocarbons). The dynamic properties (e.g., diffusion rate and tumbling/rotation rate) of these hydrogen nuclei depend on the local environment such as the chemical structure and size of the molecules in which the nuclei reside. The dynamic properties of the nuclei manifest themselves in different nuclear spin relaxation times (e.g., spin-lattice relaxation time (T 1 ) and spin-spin relaxation time (T 2 ) in which spin-lattice relaxation is also referred to as longitudinal relaxation and spin-spin relaxation as transverse relaxation). For example, molecules in viscous oils cannot diffuse or tumble as fast as those in light oils. As a result, they have relatively short relaxation times. These observations suggest that NMR data (e.g., relaxation times) can provide information on molecular properties of hydrocarbons in the earth formations. [0006] NMR measurements are commonly made while drilling. One difficulty with making and interpreting LWD NMR measurements is that motion of the NMR tool can influence the measurements. For example, excessive tool motion can introduce additional signal decay which in turn introduces errors into the NMR measurements.

BRIEF DESCRIPTION OF THE DRAWINGS

[0007] For a more complete understanding of the disclosed subject matter, and advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:

[0008] FIG. 1 depicts an example drilling system incorporating a disclosed NMR logging embodiment.

[0009] FIG. 2 depicts an example NMR pulse sequence.

[0010] FIG. 3 depicts another example NMR pulse sequence.

[0011] FIG. 4 depicts an example NMR signal obtained using the pulse sequence of FIG. 3. [0012] FIG. 5 depicts a plot of frequency versus lateral distance showing the sensitive volume as a function of frequency.

[0013] FIG. 6 schematically depicts an LWD NMR tool configuration located in a borehole and illustrating lateral tool motion. [0014] FIGS. 7 A and 7B (collectively FIG. 7) schematically depict a cross section of an NMR tool having an azimuthally uniform B 0 field (7 A) and an azimuthally non-uniform B 0 field (7B).

[0015] FIG. 8 depicts a flow chart of one example method for determining NMR measurement quality.

[0016] FIG. 9 depicts a flow chart of another example method for determining NMR measurement quality.

[0017] FIGS. 10A and 10B (collectively FIG. 10) depict example correlations relating motion at a motion sensor and motion at an NMR tool/sensor in corresponding first and second BHA configurations.

[0018] FIG. 11 depicts a contour plot of NMR porosity error with azimuthal magnetic field variation dB 0 on the vertical axis and downhole rotation rate in units of revolutions per second on the horizontal axis.

[0019] FIG. 12 depicts a correlation between whirl type and color coded porosity error in a background plot of displacement amplitude in units of millimeters versus velocity in units of millimeters per second on a log log scale.

[0020] FIG. 13 depicts plots of five distinct dynamics indicators obtained from the motion measurements (namely axial load, bending moment, bit bounce severity, downhole torque, and stick slip severity) along with a porosity error versus measured depth. [0021] FIG. 14 depicts a plot of echo amplitude on the vertical axis versus time on the horizontal axis for a simulated NMR measurement made under circular motion at distinct amplitudes.

DETAILED DESCRIPTION

[0022] Disclosed embodiments relate generally to downhole NMR measurement methods and downhole NMR tools (e.g., NMR logging while drilling tools) used in making such measurements. A disclosed method for evaluating logging while drilling (LWD) nuclear magnetic resonance (NMR) measurement quality includes rotating a bottom hole assembly (BHA) in a wellbore to drill. The BHA includes an NMR tool (or sensor) axially spaced apart from at least one motion sensor. NMR measurements and corresponding motion sensor measurements are made while drilling. The motion sensor measurements are processed to determine the NMR measurement quality of the corresponding NMR measurements.

[0023] In certain embodiments a correlation is developed relating motion at the motion sensor and the NMR measurement quality. In some embodiments, the motion measurements at the motion sensor are processed to determine motion at the NMR sensor which is then further processed to determine the NMR measurement quality.

[0024] The disclosed embodiments may advantageously enable the effect of drilling motion on NMR measurements to be quickly identified and mitigated. For example, upon identifying problematic drilling dynamics that lead to poor NMR data quality, the drilling parameters (e.g., WOB and surface RPM) may be changed and/or additional NMR data may be collected in an affected zone (e.g., while tripping the drill string out of the wellbore).

[0025] The disclosed embodiments are further intended to account for differences in BHA motion at the motion sensor and the NMR tool and may therefore provide a more realistic indication of NMR measurement quality. Moreover, certain of the disclosed embodiments may enable complex drilling dynamics including numerous modes of motion to be correlated with the NMR measurement quality. The disclosed embodiments may therefore provide an improved indication of NMR measurement quality.

[0026] FIG. 1 depicts a schematic drilling rig 20 including a drill string 30 and an NMR logging tool 50 deployed in the string and disposed within a wellbore 40. The drilling rig 20 may be deployed in either onshore or offshore applications (an onshore application is depicted). In this type of system, the wellbore 40 may be formed in subsurface formations by rotary drilling in a manner that is well-known to those or ordinary skill in the art (e.g., via well- known directional drilling techniques).

[0027] As is known to those of ordinary skill, the drill string 30 may be rotated, for example, at the surface to drill the well (e.g., via a rotary table). A pump may deliver drilling fluid to the interior of the drill string 30 thereby causing the drilling fluid to flow downwardly through the drill string 30. The drilling fluid exits the drill string 30 via ports in a drill bit 32, and then circulates upwardly through the annulus region between the outside of the drill string 30 and the wall of the wellbore 40. In this known manner, the drilling fluid lubricates the drill bit 32 and carries formation cuttings up to the surface.

[0028] In the illustrated embodiment, the NMR logging tool may be deployed in a bottom hole assembly (BHA) 80, including for example, a rotary steerable system (RSS), a motor, drill bit 32, a measurement while drilling (MWD) tool 60, and/or one or more other logging-while drilling (LWD) tools. The LWD tools may be configured to measure one or more properties of the formation through which the wellbore penetrates, for example, including resistivity, density, porosity, sonic velocity, gamma ray counts, and the like. The MWD tool 60 may be configured to measure one or more properties of the wellbore 40 as the wellbore as it is drilled or at any time thereafter. The physical properties may include pressure, temperature, wellbore caliper, wellbore trajectory (attitude), and the like.

[0029] The MWD tool 60 may be further configured to measure drill string dynamics (e.g., motion and acceleration) while drilling and may therefore include substantially any number of accelerometers, magnetometers, gyroscopic sensors, strain gauges, and the like. These sensors may be arranged, for example, to measure substantially any number and type of drill string dynamics indicators, for example, including axial and transverse shock, axial and transverse acceleration, radial acceleration, tangential acceleration, downhole rotation rate, weight on bit, torque on bit, axial and transverse bending, and axial and transverse magnet field, bit bounce severity, stick slip severity, a bending moment of the BHA, and various other indicators of drilling string displacement, velocity, and acceleration while drilling (drilling dynamics). It will of course be understood that such dynamics sensors are not necessarily deployed in an MWD tool, but may be deployed in substantially any suitable location (or locations) in the BHA.

[0030] With continued reference to FIG. 1, the NMR logging tool 50 may include a detection coil (commonly referred to as an antenna) that may measure the properties of nuclear spins in the formation, such as the longitudinal (or spin-lattice) relaxation time T 1 , transverse (or spin- spin) relaxation time T 2 , and a diffusion coefficient D. Knowledge of these NMR properties may help aid in the determination of basic formation properties such as permeability and porosity, as well as the fluid properties such as fluid type and viscosity. Multi -dimensional NMR techniques may provide quantitative fractions of different fluids (e.g., oil, water, gas) and a better understanding of the diffusion properties of these fluids in the surrounding formation, including the effects of geometry and restricted diffusion.

[0031] As is known to those of ordinary skill in the art, NMR well logging includes generating a static magnetic field (the B 0 field) within a wellbore (e.g., under the earth’s surface), applying a series of radio frequency (RF) electromagnetic pulses to the volume around the borehole (the f? ! field), measuring signals (echoes) received in response to the RF pulses, and processing the received echoes to determine characteristics of the volume in proximity to the borehole. Conventional characteristics of the volume measured during NMR well logging include T 1 and T 2 , as well as diffusion coefficients D of the fluid inside the volume. In addition to these one dimensional (ID) measurements of relaxation times and diffusion coefficients, NMR logs may also provide two-dimensional (2D) maps showing the correlation between diffusion and relaxation times (e.g., D-T 1 or D-T 2 maps) and the correlation between longitudinal and transverse relaxation times (e.g., T 1 -T 2 maps). These maps may be used to determine formation properties, such as porosity and permeability, as well as fluid properties such as the saturation of oil, water and gas. These 2D maps often enable water, gas, and oil signals to be distinguished, which may enable saturation determinations. Moreover, evaluating the position of the oil signal on the map, may enable the viscosity of the oil to be estimated from various correlations to logarithmic mean relaxation times.

[0032] As described above, NMR measurements involve the application of a B 0 magnetic field to the magnetic moments (spins) of atoms in the measured object (or measured volume). In general, the B 0 field causes the atoms in the interrogated volume to align along and oscillate (precess) about the axis of the applied magnetic field. NMR measures the return to the equilibrium of this magnetization (i.e., relaxation) after applying a series of RF pulses to tip the magnetization in a direction orthogonal to the applied magnetic field. Longitudinal relaxation due to energy exchange between the spins of the atoms and the surrounding lattice (spin-lattice relaxation) is usually denoted by a time T 1 when the longitudinal magnetization has returned to a predetermined percentage (i.e., 63%) of its final value. Longitudinal relaxation involves the component of the spin parallel or anti-parallel to the direction of the magnetic field. Transverse relaxation that results from spins getting out of phase is usually denoted by time T 2 when the transverse magnetization has lost a predetermined percentage (i.e., 63%) of its original value.

[0033] In oilfield applications, NMR relaxation, such as measured by T 2 , may be directly proportional to the surface-to-volume ratio of a porous material, for example, as expressed below:

[0034] where 5 represents the total surface area of the material, V p represents the pore volume, p n represents the surface relaxivity, T nb represents the bulk relaxation time, and n = 1 or 2 denoting the correspondence with T 1 or T 2 . It will be understood that Equation 1 ignores a diffusion contribution which is generally a weak effect in most short echo spacing NMR measurements used downhole. The surface relaxivity p is a quantity that defines the strength of the surface relaxation phenomenon and is generally given in units of length (e.g., microns). The relationship given in Equation 1 is one reason that NMR measurements are used extensively in petroleum exploration to obtain estimates of porosity, pore size, bound fluids, permeability, and other rock and fluid properties (i.e., what is commonly referred to as petro physical data).

[0035] Reservoir rocks often exhibit a wide range of T 2 values owing to the different pore sizes in the rock. Observed T 2 values commonly range from several seconds down to tens of microseconds. Signals at long T 2 (e.g., >100 milliseconds) tend to be from fluids in large pores, which are often considered to be producible. At T 2 values (e.g., 3-50 milliseconds) the fluids are sometimes considered to be bound by capillary force of the pores. For example, in sandstone rocks, T 2 is commonly less than 30 milliseconds and the fluids tend not to produce. Signals with even lower T 2 values, such as T 2 < 3 ms, may result from clay bound water or viscous (heavy) hydrocarbon. Some rocks contain a significant amount of kerogen that is solid organic matter and may exhibit T 2 values as low as tens of microseconds.

[0036] The porosity of a formation may be estimated from NMR measurements, for example, as follows:

[0037] where F represents the porosity, f(T 2 ) represents a distribution of T 2 values obtained for a fully saturated sample (referred to as the T 2 distribution), and T 2max and T 2min represent the maximum and minimum T 2 values in the T 2 distribution. As noted above, obtaining an accurate estimation of T 2 and porosity is a commercially important indication of the producibility of the fluids in a subterranean formation (e.g., as described above with respect to Equations 1 and 2).

[0038] NMR measurements may be acquired using particular data acquisition schemes (commonly referred to as pulses or pulse sequences) which describe the timings of transmission and reception of electromagnetic (RF) signals. A Carr-Purcell-Meiboom-Gill (CPMG) pulse sequence is commonly used to make downhole NMR measurements (e.g., to acquire the T 2 relaxation time distribution). As depicted in FIGS. 2 and 3, a CPMG pulse sequence (also referred to herein as an echo train) includes an initial idle time or wait time WT to allow the nuclei in the formation fluids to equilibrate with the B 0 field induced, for example, by a permanent magnet in the logging tool. Thereafter, a series of radio-frequency pulses are applied using an antenna. Midway between adjacent pulses, NMR signals called echoes are formed and measured using the antenna (with the number of acquired echoes being represented by NEcho ). The time spacing between adjacent refocusing pulses is referred to as TE and the time spacing between the excitation pulse and the first refocusing pulse is commonly set to TEH. The amplitude of the echoes decays or attenuates with time. By fitting the echo amplitudes to a multi-exponential model, the T 2 relaxation time distribution may be obtained. [0039] FIG. 3 depicts a common T 1 -T 2 sequence that measures T 1 -T 2 correlation spectrum and includes of a series of CPMG sequences with different WT, NEcho, and TE intended to make measurements over a wide range of sample properties (as is commonly found in subterranean formations). The echo train having a long WT may have sensitivity to long T 1 -T 2 components but is often executed only once (or a few times) owing to the inherently longer measurement time. The echo trains having short WT are often executed multiple times to ensure enough sensitivity to short T 1 and short T 2 . In addition, short echo trains often use a short TE to capture short T 2 components that decay quickly. [0040] FIG. 4 depicts a diagram (or a plot) of an NMR signal obtained using a pulse sequence such as that depicted on FIG. 3. NMR measurements that make use of multiple CPMG pulse sequences may be characterized, for example, by following equation:

[0041] where M 0 represents the magnetization in thermal equilibrium and for a unit volume as follows: M 0 = (x/μ 0 )B 0, X represents the nuclear magnetic susceptibility, m 0 represents the magnetic permeability of free space, and B 0 represents the amplitude of the static magnetic field applied by the tool to the sample (e.g., by permanent magnets). The T 1 and T 2 relaxation times may be obtained, for example, by fitting equation 3 to a two-dimensional CPMG dataset (a set of measured echo amplitudes) obtained with known WT and TE. If a sample is heterogeneous (as is often found in well logging), Equation 3 may be described by distributions of T 1 and T 2 .

[0042] Equation 3 (as expressed above) is valid under the assumption that the NMR logging tool is either static (stationary) in the wellbore or is moving at a negligible speed when the measurements are made. In such scenarios, the tool displacement may be thought of as being much less than the size (or dimension) of the sensitive volume (or region) along the direction of motion during execution of the CPMG pulse sequence. In practice however, excessive tool motion (e.g., axial, lateral, rotational, or combinations thereof) may modify the spin physics of the NMR measurement. If not properly considered, such motion effects may severely impact both measurement quality and the accuracy of interpretation. Given that NMR logging measurements are commonly made in dynamic conditions (e.g., while drilling in which the tool moves in the wellbore), the present inventors recognized the need for improved logging methods that, in some embodiments, predict and account for such tool motion.

[0043] As noted above, NMR logging tools commonly include a permanent magnet (or magnets) and an antenna (or antennas) to project B 0 and B 1 fields into the formation. The magnetic fields produced by these sensors are commonly (and in many cases inherently) inhomogeneous owing to the inside out structure of the downhole NMR tool. In such tools the sensitive region is determined by the resonance frequency of nuclear spins and the bandwidth of the excitation pulse, as shown in FIG. 5 which plots frequency versus lateral distance from the NMR sensor. The resonance frequency of nuclear spins f 0 is proportional to the local B 0 magnetic field strength through the gyromagnetic ratio y, a coefficient unique to each nucleus; for example, for 'H (proton), g/2p = 4258 Hz/G. The depth of investigation (DOI) is determined by the frequency of the excitation pulse f r f, such that f r f = f 0 = γB 0 is satisfied. The thickness of the sensitive region is determined by the B 0 gradient and the bandwidth of the excitation pulse, the latter of which is proportional to B 1.

[0044] FIG. 6 schematically depicts an LWD NMR tool configuration located in a borehole and illustrating lateral tool motion. The sensitive region (the measurement interrogation region) is usually a thin cylindrical shell or a set of concentric shells as depicted. The radial thickness of the sensitive region (out into the formation in a direction orthogonal to the axis of the tool string) is generally only a few millimeters to one centimeter. This thin measurement region (sensitive region) and the inherent heterogeneity of the generated B 0 field causes the NMR measurements to be particularly susceptible to lateral tool motion.

[0045] For example, lateral motion of the NMR logging tool by a sizeable fraction of the thickness of the sensitive region during an NMR measurement (which commonly has a duration of a few seconds) causes nuclear spins excited at the beginning of the NMR measurement to move out of sensory range of the NMR sensor. Stated another way, the formation volume within the sensitive region changes with time during the measurement (owing to tool motion), thereby introducing additional signal decay and a corresponding decrease in the measured T 2. Increasing tool displacement (e.g., lateral displacement) increases the amount of signal decay and the T 2 measurement error.

[0046] The drilling process may also induce complex motion at the NMR sensor, which in turn causes a fluctuation in the magnetic field B 0 experienced by spins at a given location in the formation. Such B 0 fluctuation causes / 0 fluctuation (since f 0 = y B 0 ), thereby causing spin dephasing and a reduction of signal amplitude (and hence the estimated/measured porosity). This dephasing effect is proportional to the rate of B 0 variation, hence the speed of motion for a given tool.

[0047] FIGS. 7 A and 7B depict schematic NMR tool embodiments including an azimuthally symmetric B 0 (7 A) and an azimuthally asymmetric B 0 (7B). In tool embodiments in which B 0 is azimuthally asymmetric (e.g., as in FIG. 7B), rotation of the drill string to drill may introduce B 0 fluctuation (even when the tool’s center of mass remains at the same position in the borehole). This effect may be particularly problematic in the presence of stick slip (rotational oscillation) which is known to produce instantaneous drill string rotation speeds many times that of the nominal rotation speed at the surface. In stick/slip conditions, a portion of the drill string or drill bit sticks to the borehole wall due to frictional forces often causing the drill string to temporarily stop rotating. Meanwhile, the rotary table continues to turn resulting in an accumulation of tensional energy in the drill string. When the torsional energy exceeds the static friction between the drill string and the borehole, the energy is released suddenly in a rapid burst of drill string rotation. Such rapid rotation may cause significant dephasing depending on the degree of azimuthal non-uniformity in the B 0 field.

[0048] To mitigate the risk of motion-compromised NMR measurements, certain LWD NMR tools are equipped with motion sensors to detect problematic motion in real-time. A motion sensor package may include, for example, a set of accelerometers that are arranged to measure lateral displacement of the tool and to cancel rotational and gravitational acceleration. However, estimating NMR data quality based on such accelerometer measurements is prone to difficulty.

[0049] For example, motion-induced error may be related to the speed (v) and the displacement amplitude (dx) of the motion. Obtaining speed and displacement amplitude values from accelerometer data requires single- and double- integration of the measured acceleration. The obtained speed and displacement values are therefore prone to increasing errors with time (owing to integration drift). Moreover, owing to the strict space constraints on LWD tools, the motion sensors are commonly positioned several feet or even tens of feet away from the NMR sensor (up or down the string). Therefore, the speed and displacement amplitude measured at the motion sensor are not necessarily the same as that experienced by the NMR sensor.

[0050] The disclosed embodiments include methods for evaluating drilling dynamics data to determine the quality of corresponding NMR data. The drilling dynamics data may include, for example, lateral acceleration (acceleration orthogonal to the tool axis), axial acceleration, tangential (rotational) acceleration, weight-on-bit (WOB), torque on bit, drill string rotation rate (RPM), shock and vibration, and bending moment. These measurements or a subset of the measurements are commonly available on various tools including such dynamics measurement sensors, such as OptiDrill® available from Schlumberger Technology Corporation. Such measurements may alternatively (or additionally) be integrated into the NMR tool to minimize the distance from the NMR sensor and also to provide NMR-specific drilling dynamics measurements.

[0051] FIG. 8 depicts a flow chart of one disclosed method 100 for evaluating or estimating NMR data quality. A bottom hole assembly (BHA) is rotated in a wellbore to drill at 102. The BHA includes an NMR tool and one or more motion sensors (e.g., a set of dynamics sensors) axially spaced apart from one another in the BHA. As described above with respect to FIG. 1 the motion sensors may be deployed in an MWD tool 60 or elsewhere in the BHA 80. The motion sensors may include, for example, accelerometers, magnetometers, gyroscopes, and/or strain gauges. NMR measurements and corresponding motion sensor (dynamics) measurements are made while drilling at 104. The dynamics measurements are processed at 106 to determine a quality of the NMR measurements. As described in more detail below, the method 100 may further include processing historical data (or previously generated data) to determine a correlation relating the motion measurements to NMR data quality and then applying the correlation to the motion sensor measurements made in 104 to determine the quality of NMR measurements made in 104.

[0052] The NMR measurements made at 104 may include substantially any suitable NMR measurements, for example, including T 2 measurements, and/or NMR porosity measurements as described above (which tend to be most sensitive to motion of the NMR tool in the wellbore). The same set of drilling dynamics data or different sets of drilling dynamics data may be used to estimate porosity data quality and T 2 data quality. As noted above the correlation relating drilling dynamics and NMR data quality differs for porosity and T 2 NMR data. Therefore, even when the same set of drilling dynamics measurements are provided, different correlation functions may be used to estimate porosity data quality and T 2 data quality.

[0053] NMR data quality may be defined in multiple ways. In some embodiments, a threshold or a set of thresholds may be used to classify NMR data quality into different categories. For example, a permissible error (e.g., 5 %) for a given NMR measurement may be used as a threshold. If motion-induced error is less than the threshold, the data is considered acceptable. If motion-induced error is greater than the threshold, the data is considered motion-affected. In some embodiments, more categories may be defined, such as moderately affected by motion (e.g., a motion induced error between 5 and 10%) and highly affected by motion (e.g., a motion induced error greater than 10%).

[0054] In some embodiments, NMR data quality may be given on a continuous scale. For example, a ratio of measured porosity to true porosity (or porosity error to true porosity) or the difference between true T 2 and measured T 2 may be used as a continuous (instead of categorized) data quality. The drilling dynamics measurements, drilling dynamics indicators, or motion properties derived from those measurements may then be correlated with this amount of error.

[0055] FIG. 9 depicts a flow chart of a method 120 for estimating NMR data quality according to some embodiments. As described above with respect to FIG. 8, a BHA is rotated in a wellbore to drill at 122. The BHA includes a motion sensor located at a first axial location and an NMR sensor located at a second axial location in the BHA. NMR measurements and corresponding motion (dynamics) measurements are made while drilling at 124. The dynamics measurements (which are made at the first location) are processed at 126 to determine motion of the NMR tool at the second location. The NMR data quality is then determined at 128 from the motion of the NMR tool determined at 126. As described in more detail below, method 120 may further include determining a correlation relating motion at the motion sensor and motion at the NMR tool. [0056] With continued reference to FIG. 9, it will be appreciated that the motion between the set of dynamics sensors and the NMR tool may be considered linked (or coupled) when the motion sensor and the NMR tool are located in close proximity to one another. For example, when the motion sensor and the NMR sensor (which are located at the first and second sensor locations) are deployed between common stabilizers they tend to experience the same mode of motion (e.g., forward whirling, backward whirling, lateral vibration, etc.). The velocity and displacement amplitude tend to differ depending on the relative distances to the stabilizers (which may act as pivot points on a bending drill string). A correlation function may be obtained to estimate the motion at the NMR tool based on the drilling dynamics measurements at the motion sensor.

[0057] With continued reference to FIGS. 8 and 9, the motion sensors may include substantially any suitable motion sensors, for example, including accelerometers, magnetometer, gyroscopes, strain gauges and the like. The motion sensors may be deployed in a measurement while drilling tool and may be configured, for example, to measure axial and transverse shock, axial and transverse acceleration, radial acceleration, tangential acceleration, downhole rotation rate, weight on bit, torque on bit, axial and transverse bending, and axial and transverse magnetic field, bit bounce severity, stick slip severity, a bending moment of the BHA, and various other indicators of drilling string displacement, velocity, and acceleration while drilling (drilling dynamics). [0058] FIGS. 10A and 10B depict one example correlation relating motion at the motion sensor and motion at the NMR tool for corresponding first (10A) and second (10B) BHA configurations. In each depiction, the lower panel plots the motion (speed and displacement in this example) at the motion sensor and the upper panel plots motion (speed and displacement in this example) at the NMR tool. The lines connecting the corresponding plotted points indicate the correlation between the two locations. In FIG. 10A, motion at the NMR sensor (the upper panel) is amplified with respect to the measured motion at the motion sensor (the lower panel). Note that the correlation lines are slanted towards larger velocity and displacement values in the upper panel. In FIG. 10B, motion at the NMR sensor (the upper panel) is similar to that at the motion sensor (the lower panel). Note the vertical correlation lines between the panels.

[0059] The example correlations depicted on FIGS. 10A and 10B were obtained using the drilling dynamics simulation platform IDEAS® which is available from Schlumberger. The IDEAS platform takes the BHA configuration, well bore trajectory, rock properties, and drilling parameters (such as WOB and surface RPM) as input and outputs acceleration, velocity, and displacement at arbitrary positions along the BHA. Simulating multiple scenarios characterized by the combinations of above input parameters enabled the motion correlations depicted on FIGS. 10A and 10B to be determined.

[0060] The aforementioned drilling dynamics simulation may be calibrated, for example, with field data. The BHA configuration, well bore trajectory, rock properties, and drilling parameters used in the field may be input into the drilling dynamics simulator to replicate the drilling operation. The resulting motion simulated at the motion sensor may then be compared with the actual measured motion (e.g., including measured axial, lateral, and tangential accelerations, downhole RPM, and the type and the severity of whirling). The simulation parameters (such as the friction factor that defines the interaction between the tool surface and the borehole wall) may then be adjusted to obtain a fit between the simulated and actual motion. [0061] Upon determining the speed and displacement amplitude of motion at the NMR sensor (e.g., via correlation with measurements made at motion sensors as described above), the speed and displacement amplitude may be used to estimate the NMR data quality. For example, as described in more detail in commonly assigned U.S. Patent No. 11,091,997 (which is incorporated by reference in its entirety herein), the NMR data quality may be estimated by correlating the velocity and displacement amplitude with an estimated motion induced signal loss. The estimated motion induced signal loss may be obtained by generating an estimated NMR measurement quality map that provides an estimate of the NMR measurement quality as a function of the velocity and displacement amplitude. FIGS. 10A and 10B depict examples with coded squares; light gray corresponding to porosity measurements that satisfy the accuracy requirement (less than 5% error in this example), dark gray corresponding to porosity measurements that have a motion induced error between 5% and 10%, and black corresponding to porosity measurements that have motion induced errors greater than 10%. [0062] FIG. 11 depicts a contour plot of azimuthal magnetic field variation dB 0 on the vertical axis and downhole rotation rate (RPS) in units of revolutions per second on the horizontal axis. The estimated porosity error is color coded with large positive errors being colored light gray or white, large negative errors being colored dark gray or black and small errors being colored lighter shades of gray.

[0063] FIG. 12 depicts a plot of displacement amplitude in units of millimeters versus velocity in units of millimeters per second on a log log scale. FIG. 12 is similar to the top and bottom panels in FIGS. 10A and 10B. In FIG. 12 a set of drilling dynamics indicators may be computed from measured motion sensor data and used to estimate NMR data quality. The drilling dynamics indicators may include, for example, whirl type, whirl severity, bit bounce, axial vibration energy, lateral vibration energy, torsional vibration energy, and stick-slip. In FIG. 12, a clear correlation is observed between whirl types and porosity error with normal drilling (circles) resulting in minimal error (good NMR data quality) and backward whirl (Xes) resulting in larger errors.

[0064] Certain commercial tools (e.g., Schlumberger’s OptiDrill) compute the above listed indicators downhole to translate raw measurements (e.g., axial/lateral/tangential accelerations and rotation speeds) into information that can be efficiently transmitted to the surface with limited bandwidth for real-time display. These computed indicators may then be used to determine the NMR data quality uphole or downhole. For example, the downhole firmware running on the NMR tool may be configured to estimate NMR data quality based on these drilling dynamics indicators.

[0065] With continued reference to FIGS. 10-12, it will be understood that when the number of dynamics indicators is small (e.g., 2 or 3) as shown in the above examples, the resulting NMR data quality may be obtained through a look-up table with those parameters (e.g., velocity and displacement amplitude or RPM and dB 0 ) as the reference index. The NMR data quality may also be determined using a mathematical function (such as a polynomial function) that fits the correlations relating measured dynamics indicators (e.g., velocity and displacement amplitude or RPM and dB 0 ) and NMR data quality (e.g., porosity, T 2 ).

[0066] With reference again to FIG. 8, drilling dynamics measurements (motion measurements) made at the motion sensor may be correlated directly with NMR data quality based on predetermined correlations relating the quantities (between dynamics measurements and the NMR data quality). FIG. 13 depicts plots of five distinct dynamics indicators obtained from the motion measurements (namely axial load, bending moment, bit bounce severity, downhole torque, and stick slip severity) along with a porosity error versus measured depth. The shaded sections indicate the depths with a signature of problematic motion. The bottom row is actual porosity error observed under given motion, showing good agreement with the shaded sections inferred from the drilling dynamics parameters.

[0067] Unlike some embodiments that utilize only a few parameters (e.g., velocity and displacement amplitude or RPM and dB 0 ) to estimate NMR data quality, it is difficult to describe such a multi -variate correlation (as depicted on FIG. 13) with a simple look-up table. In various disclosed embodiments, a supervised machine learning model may be used to map the drilling dynamics parameters to the response of the system (e.g., porosity error). Such a supervised learning model may be trained in various ways.

[0068] For example, in some embodiments, both drilling dynamics parameters and corresponding NMR data may be obtained from actual tool operations (e.g., as shown on FIG. 13). In this example, a supervised machine learning model was trained by using two measurement passes: a drilling pass with severe motion and a sliding pass with benign motion (e.g., while tripping the BHA out of the well). A motion flag computed from the porosity difference between the two passes was used to find a signature of problematic motion in the drilling dynamics parameters. Separately, the same drilling dynamics parameters measured during the sliding pass were marked as a signature of non-problematic motion. Based on these two datasets, the model was trained to flag problematic motion that would cause porosity deficit (error). While not depicted on FIG. 13, the same process may be implemented to identify T 2 error. The resulting correlation will differ since T 2 is impacted by different modes of motion than porosity (as described above).

[0069] In some embodiments, the training may be performed by using well-established NMR spin dynamics simulations and the drilling dynamics simulation mentioned above. For each drilling condition, motion at the motion sensor and the motion at the NMR sensor are computed. The former is transformed into corresponding sensor readings, such as modeled acceleration and rotation measurements. The latter is used to compute the behavior of NMR signal under the given motion, from which the induced porosity error and T 2 error may be computed. This process may be repeated while changing drilling parameters and rock properties to cover a wide range of scenarios expected in downhole operations. Then resulting pairs of drilling dynamics measurements and corresponding NMR data quality are used to train the supervised learning model in the same way as the previous embodiment. In embodiments in which the NMR data quality is categorized into a finite number of categories, such as good, caution, and bad (green, yellow, and red), this process is considered a classification problem. In embodiments in which the NMR data quality is measured with a continuous scale, such as the amount of porosity or T 2 error, this process is considered a regression problem.

[0070] FIG. 14 depicts a plot of echo amplitude on the vertical axis versus time on the horizontal axis for a simulated NMR measurement made under circular motion at distinct amplitudes. The motion induced signal decay was observed to increase with amplitude of the circular motion (which is expressed as a radius r as given in the legend). For the largest amplitude motion, the initial echo was reduced by 17 %, corresponding to a porosity error. [0071] It will be appreciated that the correlation relating motion at the motion sensor and the motion at the NMR sensor depends on both the relative positions of those two locations (e.g., with respect to stabilizers in the BHA) and the configuration of the BHA (such as the type of drill bit, the type and sequence of tools deployed in the BHA, and whether or not other tools are deployed between the motion sensor and the NMR tool). On the other hand, the correlation relating the motion at the NMR tool (e.g., at the antenna) and resulting NMR data quality is generally independent of the BHA configuration and depends primarily on the configuration of the NMR tool and measurement protocol (the pulse sequence). Based on the foregoing, the above model can be split into first and second parts, the first part correlating motion at the motion sensor with motion at the NMR tool and the second part correlating motion at the NMR tool with NMR data quality.

[0072] In embodiments in which the model includes first and second parts (as described above), the first part of the model (describing the correlation relating the motion at the motion sensor and the motion at the NMR sensor) may be trained for each BHA configuration (or for each set of similar configurations). Likewise, the first part of the model is trained for the particular configuration of sensors used in the motion sensor. For example, different tools with drilling dynamics sensors, such as OptiDrill (available from Schlumberger), have different sets of motion sensors located at different positions with respect to the connection point to the NMR tool. This requires the model to be trained for each tool (and its unique configuration of motion sensors). The second part of the model (describing the correlation relating the motion at the NMR sensor and NMR data quality) may be shared among different BHA configurations as long as they utilize the same NMR tool and the same NMR pulse sequence.

[0073] With reference to the foregoing embodiments, it will be appreciated that the model may be trained using various machine learning techniques. By machine learning it is meant that the network architecture and/or the correlations relating the motion at the motion sensor and the motion at the NMR tool, the motion at the NMR too! and the NMR data quality, and/or the motion at the motion sensor and the NMR data quality may be partially or completely learned by a machine learning algorithm. In general, a machine learning algorithm requires training data (e g., a number of inputs that have been designated to belong to a specific class). For example, this data may include motion data at the motion sensor and corresponding NMR porosity or T 2 errors. This approach may be suitably appropriate if there is no knowledge about the dependencies variables available.

[0074] It will be appreciated that the supervised machine learning model may be refined over time. For example, NMR measurements and corresponding motion sensor measurements made over a period of time and in a number of wellbores penetrating various formations may be accumulated and stored in a database. These accumulated measurements may be processed from time to time to further train and refine the supervised machine learning model. The database of accumulated measurements may also be combined with simulated measurements obtained using the modeling techniques described herein.

[0075] Further implementations may employ a combination of expert driven and machine learning algorithms. In such a combined approach, the expert of the domain may model network architecture (i.e., the dependencies of the variables). The probabilities of the dependencies may then be learned from training data with a machine learning algorithm. Such combined approaches may be suitably appropriate when the dependencies of the variables are known, but the exact probabilities are not explicit. [0076] The above described machine learning algorithms may be applied to the first part of the model, the second part of the model, or the full model (e.g., correlating the motion at the motion sensor with the NMR data quality).

[0077] With reference again to FIGS. 8 and 9, methods 100 and 120 may further include a mitigation to compensate for the NMR data quality (or lack thereof). In the following examples, NMR porosity measurements are used to exemplify such mitigation. Of course, it will be understood, that the disclosed embodiments are also applicable to T 2 measurements which will include a different correlation relating the drilling dynamics measurements made at the motion sensor and the NMR data quality.

[0078] For example, if the measured NMR porosity is above the noise level but the trained model indicates that the measurement was affected by motion, the drilling operator may elect to change various drilling parameters, such as WOB and surface RPM, to reduce the severity of the dynamics (tool motion). In some embodiments, the section of the wellbore affected by tool motion may logged again with reduced motion, for example, in a second pass such as a sliding pass, or reaming pass, or a tripping pass (i.e., when not drilling).

[0079] In some embodiments, if measured NMR porosity is below the noise level but the trained model indicates that the measurement was affected by motion, the drilling operator may compare the NMR porosity measurements with other (non-NMR) porosity measurements (e.g., obtained from neutron or density logs). If the NMR and non-NMR porosity measurements compare unfavorably (e.g., the NMR porosity is low and the non-NMR porosity is high) the drilling operator may elect to log the affected section of the wellbore again as described above. If the NMR and non-NMR porosity measurements compare favorably the drilling operator may elect not to relog the motion affected section of the wellbore.

[0080] In yet another example, if the measured NMR porosity is above the noise level but the trained model suggests that the measurement was not compromised by motion, then there is no need to change drilling parameters nor to log the same section again.

[0081] It will be understood that the various techniques described above and relating to the processing of NMR measurements for motion correction are provided as example embodiments. Accordingly, it should be understood that the present disclosure should not be construed as being limited to only the examples provided above. Further, it should be appreciated that the NMR processing techniques disclosed herein may be implemented in any suitable manner, including hardware (suitably configured circuitry), software (e.g., via a computer program including executable code stored on one or more tangible computer readable media), or via using a combination of both hardware and software elements.

[0082] Further, it will be understood that the various NMR motion-correction techniques described may optionally be implemented on a downhole processor (e.g., a processor that is part of an NMR logging tool) with the results sent to the surface by any suitable telemetry technique. In some embodiments, a portion may be performed uphole and a portion may be performed on the downhole processor. For example, the algorithm may be trained at the surface using a surface computer to process motion sensor data and NMR logging data and thereby develop the above described correlation(s). The correlation may then be programmed into downhole software and/or firmware and used by the downhole processor to evaluate NMR logging data in substantially real time while drilling.

[0083] The present disclosure may be embodied in other specific forms without departing from its spirit or characteristics. The described embodiments are to be considered as illustrative and not restrictive. Changes that come within the meaning and range of equivalency of the claims are to be embraced within their scope.