Determining fluid properties
11428557 · 2022-08-30
Assignee
Inventors
- Keelan Thomas O'Neill (Marmion, AU)
- Michael Leslie Johns (Canning Vale, AU)
- Einar Orn Fridjonsson (Lesmurdie, AU)
- Paul Louis Stanwix (Darlington, AU)
- Jana M. Al-Jindan (Dammam, SA)
- Mohamed Nabil Noui-Mehidi (Dhahran, SA)
Cpc classification
G01R33/445
PHYSICS
G01R33/448
PHYSICS
G01F1/74
PHYSICS
G01F1/716
PHYSICS
International classification
Abstract
Techniques for measuring liquid properties include circulating a mixed oil-water liquid flow through a fluid flow circuit; polarizing the mixed oil-water liquid flow with a pre-polarizing magnet to an initial polarization; circulating the polarized mixed oil-water liquid flow to an EFNMR detector that includes a radio-frequency (RF) coil and a surrounding electromagnet; further polarizing the polarized mixed oil-water liquid flow with the surrounding electromagnet; measuring fluid induction decay (FID) values of the additionally polarized mixed oil-water liquid flow with the EFNMR detector; transforming the measured FID values to an effective adiabatic transition from the Earth's field to the polarizing field; determining a velocity of the oil in the mixed oil-water liquid flow and a velocity of the water in the mixed oil-water liquid flow based on differences in NMR signal relaxation properties of the transformed FID values; and determining an oil content and a water content of the mixed oil-water liquid flow from the transformed FID values.
Claims
1. A fluid measurement system, comprising: a fluid flow circuit that comprises an oil source, a water source, and a fluid mixer that mixes oil from the oil source and water from the water source into a mixed oil-water liquid flow; a pre-polarizing magnet positioned to receive the mixed oil-water liquid flow from the fluid mixer; an Earth's field nuclear magnetic resonance (EFNMR) detector that comprises a radio-frequency (RF) coil and surrounding electromagnet positioned to receive the mixed oil-water liquid flow from the pre-polarizing magnet; and a control system communicably coupled to the pre-polarizing magnet and the EFNMR detector and configured to perform operations comprising: controlling the pre-polarizing magnet position to polarize the mixed oil-water liquid flow to an initial polarization; controlling the electromagnet to additionally polarize the polarized mixed oil-water liquid flow at the initial polarization to an additional polarization; controlling the EFNMR detector to measure a plurality of fluid induction decay (FID) values of the additionally polarized mixed oil-water liquid flow; transforming the measured plurality of FID values from a non-adiabatic transition from an Earth's field to a polarizing field to an effective adiabatic transition from the Earth's field to the polarizing field, the transforming comprising selecting a portion of the plurality of FID values that correspond to a particular portion of the polarized mixed oil-water liquid flow that is external to the detection zone of the EFNMR detector at a start time of the additional polarization of the polarized mixed oil-water liquid flow; determining a velocity of the oil in the mixed oil-water liquid flow and a velocity of the water in the mixed oil-water liquid flow from the transformed plurality of FID values based on differences in NMR signal relaxation properties of the transformed plurality of FID values; and determining an oil content and a water content of the mixed oil-water liquid flow from the transformed plurality of FID values based on differences in NMR signal relaxation properties of the transformed plurality of FID values, wherein the operations of determining the velocity and content of the oil in the mixed oil-water liquid flow and the velocity and content of the water in the mixed oil-water liquid flow comprise: applying a pseudo-1D inversion to a selected portion of the plurality of FID values, and determining a 2D probability distribution of the velocity of the oil in the mixed oil-water liquid flow and the velocity of the water in the mixed oil-water liquid flow based on the applied 1D inversion of the selected portion of the plurality of FID values and a model kernel matrix.
2. The fluid measurement system of claim 1, wherein the operation of transforming the measured plurality of FID values from a non-adiabatic transition from an Earth's field to a polarizing field to an effective adiabatic transition from the Earth's field to the polarizing field further comprises: determining the particular portion of the polarized mixed oil-water liquid flow flowing through the detection zone of the EFNMR detector based on the start time of the additional polarization of the polarized mixed oil-water liquid flow; and determining that the particular portion of the polarized mixed oil-water liquid flow is independent of the non-adiabatic transition from the Earth's field to the polarizing field.
3. The fluid measurement system of claim 1, wherein the portion of the polarized mixed oil-water liquid flow that is external to the detection zone of the EFNMR detector at the start time of the additional polarization of the polarized mixed oil-water liquid flow is fully within the detection zone of the EFNMR detector at a time subsequent to the start time of the additional polarization of the polarized mixed oil-water liquid flow with an upper bound that comprises a ratio of a length of the detection zone to a velocity of the mixed oil-liquid flow.
4. The fluid measurement system of claim 1, wherein the model kernel matrix is a function of a polarization pulse time of the electromagnet, a distance between the pre-polarizing magnet and the EFNMR detector, a start time of a radio-frequency signal acquisition, and the NMR signal relaxation properties of the transformed plurality of FID values.
5. The fluid measurement system of claim 1, wherein the pseudo-1D inversion comprises a Tikhonov inversion.
6. The fluid measurement system of claim 1, wherein the fluid flow circuit further comprises an oil-water separator fluidly coupled to the oil source and the water source and configured to separate the mixed oil-water liquid flow into an oil flow and a water flow.
7. The fluid measurement system of claim 6, wherein the fluid flow circuit comprises a recirculating, closed loop flow circuit that includes at least one pump to circulate the mixed oil-water liquid flow, the oil flow, and the water flow through the recirculating, closed loop flow circuit.
8. The fluid measurement system of claim 1, wherein the plurality of FID values are a function of velocity values and T.sub.1 values.
9. A method for measuring liquid properties, comprising: circulating a mixed oil-water liquid flow through a fluid flow circuit that comprises an oil source, a water source, and a fluid mixer that mixes oil from the oil source and water from the water source into the mixed oil-water liquid flow; circulating the mixed oil-water liquid flow through a pre-polarizing magnet; polarizing the mixed oil-water liquid flow with the pre-polarizing magnet to an initial polarization; circulating the polarized mixed oil-water liquid flow at the initial polarization to an Earth's field nuclear magnetic resonance (EFNMR) detector that comprises a radio-frequency (RF) coil and a surrounding electromagnet; further polarizing the polarized mixed oil-water liquid flow with the surrounding electromagnet; measuring a plurality of fluid induction decay (FID) values of the additionally polarized mixed oil-water liquid flow with the EFNMR detector; transforming the measured plurality of FID values from a non-adiabatic transition from an Earth's field to a polarizing field to an effective adiabatic transition from the Earth's field to the polarizing field, the transforming comprising selecting a portion of the plurality of FID values that correspond to a particular portion of the polarized mixed oil-water liquid flow that is external to the detection zone of the EFNMR detector at a start time of the additional polarization of the polarized mixed oil-water liquid flow; determining a velocity of the oil in the mixed oil-water liquid flow and a velocity of the water in the mixed oil-water liquid flow based on differences in NMR signal relaxation properties of the transformed plurality of FID values; and determining an oil content and a water content of the mixed oil-water liquid flow from the transformed plurality of FID values based on differences in the NMR signal relaxation properties of the transformed plurality of FID values, wherein determining the velocity and content of the oil in the mixed oil-water liquid flow and the velocity and content of the water in the mixed oil-water liquid flow comprises: applying a pseudo-1D inversion to a selected portion of the plurality of FID values, and determining a 2D probability distribution of the velocity of the oil in the mixed oil-water liquid flow and the velocity of the water in the mixed oil-water liquid flow based on the applied 1D inversion of the selected portion of the plurality of FID values and a model kernel matrix.
10. The method of claim 9, wherein transforming the measured plurality of FID values from a non-adiabatic transition from an Earth's field to a polarizing field to an effective adiabatic transition from the Earth's field to the polarizing field further comprises: determining the particular portion of the polarized mixed oil-water liquid flow flowing through the detection zone of the EFNMR detector based on the start time of the additional polarization of the polarized mixed oil-water liquid flow; and determining that the particular portion of the polarized mixed oil-water liquid flow is independent of the non-adiabatic transition from the Earth's field to the polarizing field.
11. The method of claim 9, wherein the portion of the polarized mixed oil-water liquid flow that is external to the detection zone of the EFNMR detector at the start time of the additional polarization of the polarized mixed oil-water liquid flow is fully within the detection zone of the EFNMR detector at a time subsequent to the start time of the additional polarization of the polarized mixed oil-water liquid flow with an upper bound that comprises a ratio of a length of the detection zone to a velocity of the mixed oil-liquid flow.
12. The method of claim 9, wherein the model kernel matrix is a function of a polarization pulse time of the electromagnet, a distance between the pre-polarizing magnet and the EFNMR detector, a start time of a radio-frequency signal acquisition, and the NMR signal relaxation properties of the transformed plurality of FID values.
13. The method of claim 9, wherein the pseudo-1D inversion comprises a Tikhonov inversion.
14. The method of claim 9, further comprising separating the mixed oil-water liquid flow into an oil flow and a water flow with an oil-water separator fluidly coupled to the oil source and the water source.
15. The method of claim 14, wherein the fluid flow circuit comprises a recirculating, closed loop flow circuit, the method further comprising: circulating the oil flow from the oil source to the fluid mixer with a first pump; and circulating the water flow from the water source to the fluid mixer with a second pump.
16. The method of claim 9, wherein the plurality of FID values are a function of velocity values and T.sub.1 values.
17. The fluid measurement system of claim 1, wherein the pseudo-1D inversion comprises: s(L.sub.PD, t.sub.polz, t.sub.e)=M(L.sub.PD, t.sub.polz, t.sub.e, ν, T.sub.1) P(ν, T.sub.1), where s(L.sub.PD, t.sub.polz, t.sub.e) are the measured plurality of FID values, M(L.sub.PD, t.sub.polz, t.sub.e, ν, T.sub.1) is the model kernel matrix, and P(ν, T.sub.1) is the 2D probability distribution.
18. The method of claim 9, wherein the pseudo-1D inversion comprises: s(L.sub.PD, t.sub.polz, t.sub.e)=M(L.sub.PD, t.sub.polz, t.sub.e, ν, T.sub.1) P(ν, T.sub.1), where s(L.sub.PD, t.sub.polz, t.sub.e) are the measured plurality of FID values, M(L.sub.PD, t.sub.polz, t.sub.e, ν, T.sub.1) is the model kernel matrix, and P(ν, T.sub.1) is the 2D probability distribution.
19. The fluid measurement system of claim 2, wherein the portion of the polarized mixed oil-water liquid flow that is external to the detection zone of the EFNMR detector at the start time of the additional polarization of the polarized mixed oil-water liquid flow is fully within the detection zone of the EFNMR detector at a time subsequent to the start time of the additional polarization of the polarized mixed oil-water liquid flow with an upper bound that comprises a ratio of a length of the detection zone to a velocity of the mixed oil-liquid flow.
20. The method of claim 10, wherein the portion of the polarized mixed oil-water liquid flow that is external to the detection zone of the EFNMR detector at the start time of the additional polarization of the polarized mixed oil-water liquid flow is fully within the detection zone of the EFNMR detector at a time subsequent to the start time of the additional polarization of the polarized mixed oil-water liquid flow with an upper bound that comprises a ratio of a length of the detection zone to a velocity of the mixed oil-liquid flow.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
DETAILED DESCRIPTION
(14)
(15) The utilization of the NMR detection coil may provide multiple measurement options in terms of quantifying the relevant phase fractions of a two-phase system (such as oil and water). The measurement of NMR signals is described by relaxation time constants (T.sub.1 and T.sub.2) associated with the fluids of interest, both of which quantify the rate of energy transfer in magnetic resonance processes. The spin-lattice relaxation rate (T.sub.1) is a fluid property describing the rate of signal accumulation in a magnetic field, while the spin-spin relaxation rate (T.sub.2) describes the rate of signal decay or dephasing of NMR-active atoms (for example, hydrogen as are used in this disclosure) within a fluid.
(16) In contrast to T.sub.2 relaxometry, analysis of T.sub.1 relaxation may be a more robust and flexible mechanism to differentiate oil and water. T.sub.2 measurements are achieved using multi-pulse acquisition sequences (e.g. CPMG measurements), however T.sub.1 signal contrast can be achieved through variation of the pre-polarization conditions, T.sub.2 measurements are more sensitive to internal magnetic field gradients arising from susceptibility differences between phases in emulsified flows. In some aspects, T.sub.1 measurements may be a more robust approach for fluid relaxometry characterization.
(17) Several inversion techniques may be available to determine a joint 2D velocity-T.sub.1 probability distribution. In an example implementation of fluid measurement system 100, the oil-water flow may be quantitatively characterized using a 2D velocity-T.sub.1 distributions extracted from measured NMR signal data using Tikhonov regularization. In some aspects, Tikhonov regularization is a robust mathematical inversion technique, useful in determining relevant distributions of parameters. For example, regularization may be effective at handling noisy signal data and may not require any assumptions regarding the shape of the resultant probability distribution.
(18) Generally, the example inversion technique used in fluid measurement system 100 includes a discretized probability distribution vector of a variable (p), which may be expressed as a function of an experimentally acquired NMR signal (s) via a model kernel matrix (M) with the generalized linear inverse problem:
s=Mp (1)
(19) Regularization may provide a method of determining a realistic probability distribution, p, from Eq. (1). A stable inversion in the presence of experimental noise may be achieved by applying a penalty function. In Tikhonov regularization, the following expression is minimized in order to determine p:
min{∥M.sub.p−s∥.sup.2+α∥Qp∥.sup.2}, (2)
(20) where α is a smoothing parameter and Q is a smoothing operation matrix. In this example, Q is designed to calculate the finite second derivative of the resultant probability distribution to ensure smoothness. The first term in Eq. (2), ∥Mp−s∥.sup.2, is the residual norm while the second term, ∥Qp∥.sup.2, is a penalty function. The smoothing parameter is used to optimize the compromise between finding the true solution (minimizing the residual norm) and limiting the impact of noise on the solution (minimizing the penalty function). In this example, the value of a is selected using a generalized cross-validation (GCV) method, which has been widely validated for NMR data interpretation. This method sequentially removes a data point in the solution (s) and determines the value of the smoothing parameter which predicts the removed point with the best accuracy. This may be repeated for each data point in s, and a GCV score is determined as a function of α. The value of a that minimizes this GCV score is the optimal smoothing parameter.
(21) Two-dimensional NMR measurements may be useful in probing local surroundings as well as providing chemical information for complex systems. Such systems can be characterized by distributions of measured parameters (e.g., T.sub.1, T.sub.2 or self-diffusion coefficients (D)); therefore appropriate data analysis methods may be required to provide reliable interpretation of results. Tikhonov regularization is extrapolated to such 2D data in this example, and is used in the example implementation to produce 2D probability distributions of T.sub.1 and velocity for the multiphase oil-water flow.
(22) The example implementation of the fluid measurement system 100 shown in
(23) An oil-water separator 126 is positioned downstream of the EFNMR detector 118 to receive the oil-water fluid 128 and separate the oil-water fluid 128 back into the constituents of oil 104 and water 108. Such constituents are circulated back to their respective tanks 102 and 106. As shown in the example implementation of fluid measurement system 100, valves 130 are positioned in the conduit to shut-off or modulate (or both) a flow of the oil 104, the water 108, or the oil-water fluid 128. As further shown, an oil flow meter 132 is positioned between the oil pump 110 and the fluid mixer 114. A water flow meter 134 is positioned between the water pump 112 and the fluid mixer 114. Both flow meters 132 and 134 may measure a flow rate of their respective constituents and, in some aspects, provide such flow rate values to the control system 122.
(24) In this example, the pre-polarizing permanent magnet 116 is a 0.3 T Halbach array located the variable distance 124 (L.sub.PD) upstream of the EFNMR detector 118. In some aspects, the Halbach array can be shifted such that the polarization detection separation distance 124 is between 45 and 200 cm. In some aspects, shorter distances are not achievable due to the stray field from the Halbach array interfering with the EFNMR detector 118 and larger distances are impractical for a realistic flow metering system construction.
(25) The combination of the EFNMR detector 118 and radio-frequency coil 120 may be used to excite and detect an NMR signal (for example, at about 2.29 kHz, the .sup.1H Larmor frequency at the local Earth's magnetic field). The radio-frequency coil 120 may include a coaxial solenoid of diameter 10 cm, operating at 6 A to produce an 18.7 mT magnetic field, which can be used to provide a polarization field to generate magnetization at the EFNMR detector 118. The illustrated combined polarization scheme (simultaneously using the pre-polarizing magnet 116 and the electromagnet 160 of the EFNMR detector 118) is discussed later. The EFNMR detector 118, in some aspects, includes an external resistive Q-switch, which enables the acquisition delay time to be reduced from 25 ms to 9 ms, allowing earlier acquisition of free induction decay (FID) signals.
(26) As shown, oil 104 and water 108 are stored separately in oil tank 102 and water tank 106, respectively. Pump 110 may be a close-coupled centrifugal pump (for example, Calpeda NM32-20A). Flow meter 132 includes an in-line rotameter (for example, Stubbe DFM350, 2.5-25 m.sup.3/h). In some aspects, such as to minor a composition of subterranean water, as well as to reduce a separation time of oil-in-water emulsions during operation of the fluid measurement system 100, the water 108 may be concentrated with sodium chloride (for example, 12 wt %). The addition of salt causes an increase in the water density and viscosity. Pump 112 may be a centrifugal pump (for example, Calpeda MXHLM803). Flow meter 134 includes an in-line rotameter (for example, Stubbe DFM350).
(27) In some aspects, both flow meters 132 and 134 are calibrated using gravimetric measurement of fluid outflow in order to account for the used fluid viscosities and densities. The individual fluid flowrates can be varied using associated valves 130. The oil-water separator 126 may be a gravimetric oil/water separator (separation volume of 128 L) in order to split the oil 104 and the water 108 before returning to their individual storage tanks 102 and 106, respectively.
(28) The example implementation of flow measurement system 100 may use a model for the NMR signal acquired by the EFNMR detector 118 for fluid moving through the flow metering section. In some aspects, the measured NMR signal is a composite of three contributions: development of signal magnetization during polarization (Sp), signal attenuation from intermediate decay between the polarization magnet and the EFNMR detector 118 (SPD), and signal attenuation following excitation (SD). In some aspects, during the development of the NMR signal model for the fluid measurement system 100, the fluid is considered to be discretized into separate fluid elements. When an individual fluid element is moving through a particular one of the flow meters 132 or 134 with a velocity, ν, the signal contribution of this fluid element to the overall FID signal acquired at the EFNMR detector 118 is given in Eq. 3 by:
(29)
(30) where t.sub.e is the time since a radio-frequency excitation pulse by the radio-frequency coil 120, S.sub.OH is the NMR signal after an infinite time in the magnetic field of the pre-polarizing permanent magnet 116, L.sub.P is the length of the pre-polarizing permanent magnet 116, L.sub.PD is the polarization detection separation distance 124, LD is the length of the radio-frequency coil 120, T.sub.1 is the spin-lattice relaxation time, and T*.sub.2 is the effective spin-spin relaxation time.
(31) The example implementation of the fluid measurement system 100 uses T.sub.1 differentiation in order to quantify the oil 104 and the water 108 in the oil-water fluid 128. In order to obtain an indication of the spin-lattice relaxation rates expected under flow, T.sub.1 measurements of the stationary fluids (the water 108 and the oil 104) can be performed (using standard NMR measurement techniques) to determine log-mean T.sub.1 values (T.sub.1, LM) for the oil 104 and the water 108. The fast spin-lattice relaxation of the oil 104 may introduce difficulty in terms of obtaining a measurement with a reasonable signal-to-noise-ratio (SNR) for the oil 104. The signal attenuation during intermediate decay (SPD) is anticipated to be significant for the oil 104 due to its low T.sub.1 (relative to the water 108), particularly at low velocities (for example, <1.0 m/s). Measurements of the SNR (calculated as the ratio of the initial FID signal (at t=t.sub.delay=9 ms) to standard deviation of the measured noise) may be obtained with only the oil 104 flowing through the fluid measurement system 100 at velocities of 0.17-1.83 m/s. In some aspects, FID measurements are obtained using scan averages (N.sub.scans=32) at a separation distance 124 of 45 cm.
(32) The radio-frequency coil 120 and accompanying electromagnet 160 that is incorporated with the EFNMR detector 118 (and used for stationary fluid measurements) was previously considered unsuitable for flowing measurements with water, as the outflow effect does not allow sufficient time for polarization and detection to occur within the radio-frequency coil 120. However, the application of the radio-frequency coil 120 and accompanying electromagnet 160 can be considered useful for fluids with low T.sub.1 at low velocity. FID measurements of the oil 104 can be obtained using only the radio-frequency coil 120 (without the pre-polarizing permanent magnet 116) and the accompanying electromagnet 160, which is applied for a pre-polarizing time of 600 ms. Thus, the combination of the two polarizing mechanisms (the pre-polarizing permanent magnet 116 and the electromagnet 160) may be effective at different oil velocity ranges.
(33) In some aspects, the pre-polarizing permanent magnet 116 may provide a much stronger signal across a broad range of velocities compared to the electromagnet 160. However, the electromagnet 160 may be able to fill a void for low velocity (<1.0 m/s) and low T.sub.1 (50-600 ms) fluids (such as the oil 104) where the pre-polarizing permanent magnet 116 may have a poor SNR due to intermediate signal decay between polarization and detection. By combining the polarizing methods in a dual polarization mechanism, the flow metering system 100 may measure signals across a range of velocities (0-3 m/s) and fluid T.sub.1 values (50 ms-10 s). In some aspects, such combined measurements may always incorporate the pre-polarizing permanent magnet 116, with the option of additional re-polarization using the electromagnet 160 once the oil-water fluid 128 reaches the EFNMR detector 118.
(34) In some aspects, measurement of the fluid T.sub.1 under flow may utilize an independent variable to observe signal contrast according to T.sub.1. For measurements obtained using the pre-polarizing permanent magnet 116 alone, an example independent variable is the separation distance 124, which can easily be adjusted via movement of the pre-polarizing permanent magnet 116. Signal contrast due to the electromagnet 160, however, can be observed by varying the pre-polarization time (t.sub.polz). Thus variable separation distances (45-150 cm) may be used to measure signal contrast for fluids with higher T.sub.1 (and/or at high velocities), while the variable pre-polarization time (10-600 ms) may be used to measure signal contrast for low T.sub.1 fluids with low velocity.
(35) In some aspects of the fluid measurement system 100, the secondary polarization mechanism) may be incorporated into the NMR model. In some aspects, the introduction of the dual polarization mechanism involves the application of the electromagnet 160 in some of the FID measurements to provide additional re-polarization, while the pre-polarizing permanent magnet 116 is applied as it is fixed around the conduit in which the oil-water fluid 128 circulates. For aspects where the electromagnet 160 is not applied (in other words, the pre-polarizing permanent magnet 116 alone is used for pre-polarization), the effective signal polarization due to the pre-polarizing permanent magnet 116 just prior to excitation (S.sub.PH), including the intermediate signal decay term, can be considered as:
(36)
(37) where S.sub.OH is the overall signal magnetization after an infinite time in the field generated by the pre-polarizing permanent magnet 116 and L.sub.PH is the effective length of the pre-polarizing permanent magnet 116. A fraction of the oil-water fluid 128 which is not polarized (x.sub.NP) upon reaching the EFNMR detector 118 can be considered as:
(38)
(39) Equation (5) represents oil-water fluid 128 which was either not polarized at the pre-polarizing permanent magnet 116 or has decayed to its original energy state during the residence time between pre-polarization and detection (for example, by EFNMR detector 118). The effective signal polarization of a stationary fluid due to the electromagnet 160 can be described by the T.sub.1 signal development:
(40)
(41) where S.sub.OC is overall signal magnetization after an infinite time in the field of the radio-frequency coil 120, t.sub.polz is the polarization time, and t.sub.PE is the polarization-excitation delay (for example, 60 ms). In some aspects, a limit may be imposed on the polarization time for measurements conducted on the flowing oil-water fluid 128; the effective polarization time may be limited by the fluid residence time in the radio-frequency coil 120. A fluid element traveling with velocity, ν, will leave the radio-frequency coil 120 (for example, with an effective length L.sub.PC of 27 cm) after a residence time τ.sub.PC=L.sub.PC/ν. Thus, Equation (6) can be updated for a flowing fluid:
(42)
(43) In this example, the polarization-excitation delay term (t.sub.PE) is included to account for fluid which would leave the radio-frequency coil 120 during the delay time. The incorporation of the minimization term may effectively restrict a range of useful polarization times according to the velocity of the oil-water fluid 128; larger pre-polarization times (t.sub.polz>600 ms) may be ineffective as the fluid will flush through the radio-frequency coil 120 before sufficient polarization can be achieved. When combining the dual effects of the pre-polarizing permanent magnet 116 and the radio-frequency coil 120, oil-water fluid 128 that is not polarized upon reaching the EFNMR detector 118 (quantified by Eq. (5)) can be re-polarized by the radio-frequency coil 120. Therefore, the combined signal polarization (S.sub.P) is modelled by:
(44)
(45) If the radio-frequency coil 120 is not applied (in other words, τ.sub.PC=t.sub.polz=0) then S.sub.P=S.sub.PH, meaning that the overall signal polarization is just the signal polarization due to the pre-polarizing permanent magnet 116. The overall model for the NMR signal of a the oil-water fluid 128 can be considered as:
(46)
(47) where S.sub.P is defined in Eq. (8).
(48) The example implementation of flow metering system 100 may apply multiple NMR “pulse and collect” sequences in order to acquire FID measurements. In the case where the dual polarization scheme is utilized, the polarization pulse is applied for a polarization time, t.sub.polz, followed by a 90 degrees radio frequency pulse by the radio-frequency coil 120 to excite the oil water fluid 128. Then, the FID is detected in the EFNMR detector 118 by the same radio-frequency coil 120.
(49) An example “pulse and collect” sequence diagram is shown in
l(t.sub.e)=exp(−R.sub.It.sub.e.sup.2), (10)
(50) where t.sub.e is the time since excitation and R.sub.I is a Gaussian relaxation rate constant accounting for the rate of signal decay introduced by magnetic field inhomogeneity. A FID signal (S.sub.FID), which incorporates half-Gaussian decay behavior can be described by the following model equation:
(51)
(52) where S.sub.E is the polarized signal prior to excitation and T.sub.2 is the spin-spin relaxation constant for a given fluid. The field inhomogeneity signal decay (I(t.sub.e)) can effectively be calibrated via measurement of the CPMG decay signal (S.sub.CPMG) as well as a standard pulse and collect FID measurement of stationary water (S.sub.FID). The field inhomogeneity decay is determined using:
(53)
(54) In some aspects, the movement of the pre-polarizing permanent magnet 116 is observed to interfere with the Earth's field homogeneity and therefore the inhomogeneity decay function must be measured at each relevant separation distance 124. The model for NMR signal of a flowing fluid (Eq. (9)) is updated in consideration of the observed FID behavior:
(55)
(56) where I(t.sub.e, L.sub.PD) is the measured field inhomogeneity distribution at a given separation distance 124 (L.sub.PD). The final FID component to be considered for flow measurements is the T.sub.2 signal decay of the oil-water fluid 128 under flow. The measured T.sub.2 relaxation during circulation of the oil-water 128 may be a function of the fluid phase composition considering the differing T.sub.2 relaxation rates for the oil 104 and the water 108. The simultaneous measurement of fluid T.sub.2 distribution with velocity and T.sub.1 under flow may be difficult; therefore a T.sub.1/T.sub.2 ratio is introduced in order to link the modelled T.sub.2 decay to the measured T.sub.1 decay. The T.sub.1/T.sub.2 ratio is defined as R.sub.T=T.sub.1/T.sub.2 and is specified about the oil/water T.sub.1 cutoff of T.sub.1,C=0.60 s; with oil (T.sub.1<0.60) having R.sub.T=1.35 and water (T.sub.1 0.60 s) using R.sub.T=1.63 (determined from stationary fluid relaxation measurements). The T.sub.1/T.sub.2 ratio is introduced into the model for NMR signal of a flowing fluid:
(57)
(58) This effectively removes T.sub.2 from the model equation, leaving velocity (ν) and spin-lattice relaxation in the Earth's field (T.sub.1) as the only dependent variables. The incorporation of the T.sub.1/T.sub.2 ratio assumes that the ratio is constant as a function of T.sub.1. This assumption is reasonable; the fluid T.sub.1/T.sub.2 ratio should only change in the presence of diffusive decay (which influences T.sub.2 but not T.sub.1). Diffusional decay will occur for, for example, emulsified flows (where droplets are present) however for such flows at higher velocities (.sub.ν>1.0 m/s) T.sub.2 relaxation becomes much less important as the FID is increasingly dominated by the flush-out effect.
(59) Regarding the flush-out effect, the oil-water fluid 128, as previously described, may be subjected to a dual-polarization scheme. As described, the scheme enables the polarization of the NMR signal from the pre-polarizing permanent magnet 116 (of variable position) to be combined with the polarization of the NMR signal from the electromagnet 160 (which was applied for a variable time). The transition of polarized magnetization from the pre-polarizing permanent magnet 116 into the field of the pre-polarizing field of the electromagnet 160 may include consideration of the operation of the EFNMR detector 118.
(60) For example, the EFNMR detector 118 utilizes the electromagnet 160 in order to achieve reasonable signal sensitivity due to the increased polarizing field strength (˜18.7 mT compared to the Earth's Field strength of ˜54 μT). In using the pre-polarizing field, it may be necessary to ensure that the full pre-polarized magnetization can be detected by allowing an adiabatic field discharge. The field discharge from the polarizing field strength to Earth's field strength may be sufficiently slow to ensure an adiabatic field transition. The non-adiabatic transition occurring for the polarization coil “switch on” may be important for the particular EFNMR detector 118 with a dual polarization scheme.
(61) For example, the oil-water fluid 128 entering the EFNMR detector 118 will have previously been magnetized or polarized by the upstream pre-polarizing permanent magnet 116 and therefore possess an initial magnetization. The rate of polarizing field accumulation may be too fast (for example, the time for field “switch-on” is too short) and therefore the flowing oil-water fluid 128 experiences a non-adiabatic transition from Earth's field to polarizing field. In some aspects, this means that the pre-magnetized signal (due to the pre-polarizing permanent magnet 116) may not be able to fully re-orientate from the Earth's field to the pre-polarizing field. Consequently, a signal loss may be observable between a single-polarizing scheme (in other words, where only the pre-polarizing permanent magnet 116 is used) and a dual-polarizing scheme (in other words, where the pre-polarizing permanent magnet 116 and the electromagnet 160 are used simultaneously).
(62) The impact of the non-adiabatic field change on the measured signals is incorporated into the NMR model. For example, the oil-water fluid 128 within the conduit (or pipeline) is separated into regions of significance based on the fluid position relative to the polarization and detection zones of the EFNMR detector 118. These regions are illustrated in
(63)
(64) The “intermediate fluid” region is fluid outside the detection zone of the EFNMR detector 118 but still within the polarization zone (for example, of length L.sub.P=27 cm) of the radio-frequency coil 120. This portion of oil-water fluid 128 is in two regions either side of the detection zone (for example, both of length L.sub.1=8.5 cm). This region has significantly poorer sensitivity relative to the detection zone. The impact of the non-adiabatic transition may result in a more significant fraction of fluid (k.sub.I) experiencing a non-adiabatic transition.
(65) The “outside fluid” region may not be impacted by the non-adiabatic transition as this portion of the oil-water fluid 128 is not within the polarizing region of the electromagnet 160. It may be assumed that this portion, which moves from outside the polarizing region to within the polarizing region, may effectively experience an adiabatic transition. For example, the electromagnet 160 will have a “polarization profile” involving changing field strength with length. The velocity of the oil-water fluid 128 may be low enough such that the fluid will experience a gradual change in field strength as it moves into the polarizing region. There may be no signal change of the outside fluid initially, however this outside fluid becomes important as it moves into the detection zone replacing fluid which has experienced a signal change.
(66) The effect of the non-adiabatic transition may depend on the type of fluid (in other words, initial, intermediate or outside) and the relative fraction of each fluid in the EFNMR detector 118 at a given time. In order to aid the understanding of the signal loss model,
(67) Table 500 considers five different cases (A-E) at variable time since the polarization switch-on (t.sub.ps) of the radio-frequency coil 120. Case A is the initial position (t.sub.ps=0) where the “initial fluid” alone is fully inside the detector zone of the EFNMR detector 118. Case B shows the “intermediate fluid” flushing into the detection zone, while the “initial fluid” is flushing out of the detector zone. Case C has the “intermediate fluid” fully within the detection zone, which may only apply if L.sub.I<L.sub.D. The “outside fluid” is beginning to flush into the detection zone while the final fraction of the “initial fluid” is still flushing out of the detection zone. In Case D the “initial fluid” has now completely left the detection zone and the “intermediate fluid” is now flushing out of the detection zone. Finally, in Case E, the “intermediate fluid” has completely left the detection zone and the “outside fluid” will completely fill the EFNMR detector 118.
(68) In Case E, the EFNMR detector 118 is now filled with oil-water fluid 128, which was not impacted by the non-adiabatic transition. Thus, the NMR signal will effectively be the same as if the fluid was polarized by the pre-polarizing permanent magnet 116. In order to quantify the signal variation due to non-adiabatic field transition (S.sub.NA) at a given time since polarization pulse (t.sub.ps), the following equation is applied:
S.sub.NA(t.sub.ps)=x.sub.P(1−k.sub.P)+x.sub.I(1−k.sub.I)+x.sub.O,
(69) where x.sub.P is the fraction “initial fluid” within the detection zone, xi is the fraction of “intermediate fluid” within the detection zone and xo is the fraction of “outside fluid” within the detection zone. In some aspects, S.sub.NA replaces S.sub.P in Eq. (14).
(70) The values of x.sub.P, x.sub.I, and x.sub.O are determined by selecting the relevant case (according to the time since polarization) from Table 500, whilst k.sub.P and k.sub.I are fractions of the “initial fluid” and “intermediate fluid” which observe non-adiabatic field transitions. The fraction parameters (k.sub.P and k.sub.I) are determined by empirically fitting the parameters to signal loss measurements for water as a function of fluid velocity and time since the polarization pulse.
(71) In some aspects, the fluid measurement system 100 may determine a velocity-T.sub.1 distribution via a 2D inversion. Therefore, the velocity and T.sub.1 distributions must be measured simultaneously as a joint 2D velocity-T.sub.1 distribution. This may require consideration in the application of 2D inversion techniques. The model for NMR signal of a flowing fluid (Eq. (14)) now effectively describes the relationship between the experimental parameters (for example, L.sub.PD, t.sub.polz, and t.sub.e) and the measured parameters (ν and T.sub.1) and is used as the model kernel function for 2D inversion. The kernel function can be considered in terms of the “direct” and “indirect” dimensions; the direct measurement is obtained from the single-shot FID signal which is detected (S.sub.D), while the indirect measurement corresponds to variation in the pre-polarizing conditions (S.sub.P). The model kernel function can be simplified as:
(72)
(73) where S.sub.P has been previously described in Eq. (8). The kernel function may be non-separable as the measured parameters (ν and T.sub.1) are present in both the direct and indirect dimensions. Therefore, a full kernel matrix (for example, a non-separable matrix) may be constructed to avoid undesirable consequences during data analysis. A pseudo-1D inversion may be applied (using appropriate matrix manipulation) with the full kernel matrix in order to determine the 2D velocity-T.sub.1 probability distribution. The relevant linear inverse problem can be written as:
S(L.sub.PD,t.sub.polz,t.sub.e)=M(L.sub.PD,t.sub.polz,t.sub.e,ν,T.sub.1)P(ν,T.sub.1), (16)
(74) where s(L.sub.PD, t.sub.polz, t.sub.e) are the experimentally acquired NMR signals, M(L.sub.PD, t.sub.polz, t.sub.e, ν, T.sub.1) is the model kernel matrix described in Eq. (15), and P(ν, T.sub.1) is the joint 2D probability distribution to be determined. The NMR signals consist of FID measurements acquired at variable pre-polarizing conditions (for example, variable distance 124 (L.sub.PD) and variable time, t.sub.polz) organized into a stacked signal vector. The row elements of the model kernel matrix describe changes in signal with respect to the experimental parameters (in other words, L.sub.PD, t.sub.polz, and t.sub.e) and correspond to the signal vector components. The column elements of the model kernel matrix describe changes in the measured signal with respect to the measured parameters (ν and T.sub.1) and correspond to the solution vector components. The probability distribution vector (p) is determined using, for example, 1D Tikhonov regularization (via Eq. (2)). The resultant probability distribution vector is rearranged into the final 2D distribution (P(ν, T.sub.1)). The inversion procedure may take into account matrix arrangement and manipulation procedures. In some, aspects, the 1D distributions (p(ν) and p(T.sub.1)) may be readily determined by projecting the 2D distribution onto the relevant 1D axis.
(75) The fluid measurement system 100 may apply a particular matrix manipulation technique for a pseudo-1D inversion. For example, the NMR signals from the EFNMR detector 118 include FID measurements (with n.sub.F points recorded for each FID) acquired at variable pre-polarizing conditions (for example, distance 124 and t.sub.polz). The FID measurements may be compressed using window-averaging in order to obtain signal matrices of reasonable size for inversion processing. The FID signals are divided into n.sub.w equally sized windows or bins (FID signals may generally be dominated by a linear outflow effect; therefore using equally spaced windows is appropriate). The data points within each bin may be averaged to provide a compressed FID signal of size n.sub.w. If FID measurements are acquired at in different separation distances (for varying distances 124) and n.sub.T different polarization times, t.sub.polz (for additional pre-polarization at the radio-frequency coil 120), then there are n.sub.pp=n.sub.L+n.sub.T pre-polarization conditions.
(76) Thus, the effective NMR measured signals will be of size n.sub.w×n.sub.pp (in other words, a 2D data matrix of n.sub.pp compressed FIDs each of length n.sub.w). The signal matrix (S) may be unwrapped into a 1D signal column vector (s). If the solution matrix (P) for the probability distribution is to be of size m.sub.ν×m.sub.T1 then the relevant model kernel matrix (K) will be of size n×m (where n=n.sub.wn.sub.pp and m=m.sub.νm.sub.T1). The row elements of the model kernel matrix describe changes in signal with respect to the experimental parameters (in other words, L.sub.PD, t.sub.polz and t.sub.e) and correspond to the signal vector components. The column elements of the model kernel matrix may describe changes in the measured signal with respect to the measured parameters (ν and T.sub.1) and correspond to the solution vector components.
(77) The measured signals (s) have now been appropriately manipulated such that the signal vector is of length n=n.sub.wn.sub.p and the model kernel (K) has been manipulated to provide a matrix of size n×m in order to solve the solution vector (p) of length m with 1D Tikhonov regularization. The vector and matrix are also of appropriate size to ensure reasonable computational efficiency. In some aspects, the smoothing operation matrix (Q) must be carefully constructed to calculate the finite second difference across 2D solution space (hence approximating the second derivative of the P). The resultant solution is returned as a vector (p) is of length in and is reshaped into the final 2D distribution (P of size m.sub.ν×m.sub.T1).
(78) Once the joint 2D velocity-T.sub.1 probability distribution is determined, such distribution can be used to calculate individual phase flowrates of the oil 104 and the water 108. The oil and water phases are distinguished with a T.sub.1 cutoff value (T.sub.1,C), which is used to differentiate the oil 104 and the water 108 (for example, similar to T.sub.2 cut-offs used to differentiate bound fluid and free fluid in NMR analysis of rock cores). In some aspects, a cut-off of T.sub.1,C=0.60 s is used (calculated as the geometric mean of the T.sub.1 values for the oil (115 ms) and water (3.1 s)). The relevant signal contribution of each liquid is calculated by integrating over the relevant region of the joint probability distribution:
S.sub.oil=∫.sub.T.sub.
S.sub.water=∫.sub.T.sub.
(79) where S.sub.oil and S.sub.water are the oil and water signal contribution to the model fit respectively, T.sub.1,min and T.sub.1,max define the bounds of the discretized T.sub.1 range, and ν.sub.max is the maximum value in the discretized velocity range. The phase fractions can be calculated from the relevant signal contribution of each phase:
(80)
(81) where x.sub.w is the water phase fraction (water-cut), x.sub.o is the oil phase fraction, and H.sub.oil is the hydrogen index for the oil 104, which has been determined by comparing the measured signal intensity of the oil and water samples obtained during CPMG measurements in an NMR rock core analyzer (for example, a Magritek 2 MHz NMR rock core analyzer). The individual phase velocity distributions (p(ν.sub.o) and p(ν.sub.w) for oil and water respectively) are determined by integrating the relevant regions of the 2D distribution:
p(ν.sub.o)=∫.sub.T.sub.
p(ν.sub.w)=∫.sub.T.sub.
(82) The mean velocity for each phase (ν.sub.M,o and ν.sub.M,w for the oil 104 and the water 108, respectively) can then be determined by calculating the expected value for each phase velocity distribution:
ν.sub.M,i=∫.sub.0.sup.ν.sup.
(83) Finally, individual phase volumetric flowrates (q.sub.o and q.sub.w for the oil 104 and the water 108, respectively) can be calculated:
q.sub.i=x.sub.iν.sub.M,iA(i=oil or water), (24)
(84) where A is the internal cross-sectional area of the conduit 150. The phase flowrates of the oil 104 and the water 108, which are measured from the NMR signal analysis methodology, in some aspects, can be verified against independent flowrate measurements from the flow meters 132 and 134, respectively, of single-phase flow obtained prior to mixing the oil 104 and the water 108 into the oil-water fluid 128 by the fluid mixer 114.
(85) An example operation process 600 executed with the fluid measurement system 100 is shown in
(86) A series of pre-processing steps may be applied to the imported FID data such that the FID data is suitable for inversion. For example, a Gaussian noise filter may be implemented on the measured FID spectrums primarily to remove the influence of 50 Hz mains noise. The FIDs may then be truncated at the point where the SNR reaches 1 (in other words, data with SNR<1 is removed), such that the baseline noise does not influence the signal and introduce artifacts in the resulting 2D velocity-T.sub.1 distribution.
(87) The truncated signals may then be window-averaged such that the data is of appropriate size for computationally efficient inversion. The processed FID data may then be fit with the appropriate 2D velocity-T.sub.1 distribution using the NMR flow model (Eq. (15)) via the 2D Tikhonov regularization inversion (Eq. (2)). The 2D regions of the velocity-T.sub.1 distribution may be appropriately integrated in order to determine the relevant signal contribution of each phase (according to Eqs. (17) and (18)). The signal contributions may be corrected for the oil hydrogen index in order to quantify volumetric fluid fractions (according to Eqs. (19) and (20)). The expected value of each of the individual phase velocity distributions may be calculated in order to quantify mean velocity (according to Eq. (23)). Finally, the individual volumetric flowrates for the water 108 and the oil 104 may be calculated from the volumetric phase fractions and phase mean velocities (using Eq. (24)).
(88) As previously described, the resultant individual volumetric flowrates determined according to the FID data and inversion process may be checked against the independent flowrate measurements from the flow meters 132 and 134 for accuracy. Such analysis may also include consideration of the range of liquid-liquid flow regimes within the conduit 150 of the oil-water fluid 128. There may be six different oil/water flow regimes including; stratified flow (St), stratified flow with mixing at the interface (St w/mix), a dispersion of oil-in-water over a free water layer (Do/w & w), a dual dispersion of water-in-oil over oil-in-water (Do/w & Dw/o), a full oil-in-water emulsion (Eo/w) and a full water-in-oil emulsion (Ew/o). Experimental executions with the fluid measurement system 100 included twenty-one experimental flow measurements in three flow regime: stratified with mixing (10 measurements), dispersion of oil-in-water and water (3 measurements), and full oil-in-water emulsions (8 measurement).
(89) Further, a graph 800 that shows an experimental matrix of oil and water superficial velocities to be used for verification of the NMR flow measurement procedure is illustrated in
(90) Two-phase flow measurements were performed for each of the 21 flow measurement points displayed in the graph 800 and each measurement was analyzed according to the NMR flow measurement procedure of the present disclosure.
(91)
(92)
(93) where z.sub.i,obs is the observed measurement of the variable of interest (flowrate measurements according to the EFNMR detector 118 and control system 122) for sample, i, and z.sub.i,ref is the reference measurement of the property of interest (flowrate measurement by the flow meters 132 and 134) for sample, i. The root-mean-square error (RMSE) quantifies accuracy in terms of the standard deviation of the residual errors of observed measurements relative to a reference measurement. The RMSE for a set of flow measurements (of sample size N) is:
(94)
(95)
(96)
(97) The root mean square errors in graph 1010 also demonstrate the excellent agreement between flow measurement techniques. There is good agreement in the stratified with mixing flow regime (RMSE<0.20 m.sup.3/h for both oil and water), as the two-phase flow stream is not emulsified and the low overall flowrate gives the fluid sufficient residence time for the two phases to separate in the fluid separation tank 126. The flowrate agreement is marginally poorer for the oil-in-water emulsion, primarily due to the reduced separation efficiency, particularly at higher flowrates. The oil-in-water emulsion flow regime results in an emulsified mixture to be separated in the fluid separation tank 126.
(98) The efficiency of separation is dependent on the residence time of the mixture within the separator 126. For example, for the measurement displayed in graphic 1120 of
(99) The EFNMR flow measurement procedure according to the present disclosure is also analyzed with respect to three example measurements from each of the three measurable flow regimes.
(100) Each of the examples presented in
(101) The 2D velocity-T.sub.1 distribution in graphic 1110 for the dispersion of oil-in-water above a water layer measurement displays three distinct regions. The region at short T.sub.1 corresponds to the dispersed oil droplets in the top layer (fraction=31.0%, T.sub.1,LM=0.135 s, ν.sub.M=1.42 m/s). The large dispersing water region at the lower velocity (fraction=55.3%, T.sub.1,LM=3.74 s, ν.sub.m=1.31 m/s) corresponds to water with oil droplets dispersed within it. The small “free water” region at high velocity (fraction=13.7%, T.sub.1,LM=4.30 s, ν.sub.M=2.42 m/s) is water from the water only layer (at the base of the conduit 150). The free water layer is relatively small (13.7%) as the oil flowrate is relatively high for a dispersion of oil-in-water and water flow, meaning that the two-phase flow is beginning to approach the flow regime boundary and transition towards a dual dispersion flow. The measurement is able to capture the anticipated velocity slip for this example; the fluids within the dispersion layer (for example, the dispersed oil drops and the water phase containing the oil) both have very similar velocities which is anticipated for a continuous layer. The water only phase (on the bottom layer of the conduit 150) is observed to be at marginally higher velocity relative to the dispersion components. This is expected as the dispersion will be more viscous relative to the water only phase. The EFNMR measured water flowrate (q.sub.w,nmr=5.66 m.sup.3/h) matches the flow meter 134 measured water flowrate (q.sub.w,rot=5.59 m.sup.3/h) very well. However the EFNMR measured oil flowrate (q.sub.o,nmr=2.40 m.sup.3/h) is under predicted relative to the flow meter 132 measured oil flowrate. (q.sub.o,rot=3.06 m.sup.3/h). This discrepancy can be attributed to the poor SNR of oil flows at intermediate velocities.
(102) The 2D distribution in graphic 1120 displays a small region at short T.sub.1 corresponding to the emulsified oil (T.sub.1,LM=0.104 s, ν.sub.M=2.11 m/s) and a large region at high T.sub.1 corresponding to water (T.sub.1,LM=3.45 s, ν.sub.M=1.79 m/s). The velocity slip ratio is determined to be 1.18 from the measured velocity-T.sub.1 distribution. For this measurement, the EFNMR measured water flowrate (q.sub.w,nmr=8.27 m.sup.3/h) is over-predicted relative to the flow meter 134 measured flowrate (q.sub.w,rot=7.43 m.sup.3/h). The EFNMR measured oil flowrate (q.sub.o,nmr=1.79 m.sup.3/h) is reasonably close to the flow meter 132 measured flowrate (q.sub.o,rot=1.53 m.sup.3/h). The suggested source of discrepancy for the water flowrate measurement is inadequate residence time required for separation of the oil-in-water emulsion.
(103) Turning now to
(104) In some aspects, the oil-water fluid 128 comprises both a liquid phase (for example, a mix of liquid oil 104 and liquid water 108) and a gas 165 (for example, methane or other hydrocarbon gas) that is introduced into the oil-water fluid 128 with a compressor 163. Thus, with respect to the fluid measurement system 200, the oil-water fluid 128 is a mixed-phase fluid 128.
(105) In some aspects, the pre-polarizing magnet 116 and the first electromagnet 161 are operated in combination with the pre-polarizing permanent magnet 116, the radio-frequency coil 120, and the EFNMR detector 118, to determine the velocities of the liquid and gas phases of the mixed-phase fluid 128, as well as the oil-water content of the liquid phase of the mixed-phase fluid 128. For example, a velocity of the liquid phase of the mixed-phase fluid 128 may be determined as follows. As the mixed—phase fluid 128 is circulated through the pre-polarizing permanent magnet 116, an initial polarization of the gas phase is applied to the mixed-phase fluid 128 by the pre-polarizing permanent magnet 116. As the initially polarized mixed-phase fluid 128 flows through the EFNRM detector 118 and during acquisition of the FID values with the radio-frequency coil 120, the electromagnet 161 is energized to produce the pulsed magnetic field gradient that suppresses the NMR acquired signals from the gas phase (which is faster flowing and diffusing relative to the liquid phase) of the mixed phase fluid 128. The electromagnet 160 is also operated to produce the reasonably homogenous magnetic field to polarize the liquid phase of the mixed-phase fluid 128. Based on the acquired signals in this operation, the EFNRM detector 118 determines a velocity of the liquid phase only of the mixed-phase fluid 128. Such velocities may be determined, for example, based on a pseudo-1D inversion to the acquired FID values of the liquid phase, as previously described.
(106) A velocity of the gas phase of the mixed-phase fluid 128 may be determined as follows. As the mixed—phase fluid 128 is circulated through the pre-polarizing permanent magnet 116, an initial polarization of the gas phase is applied to the mixed-phase fluid 128 by the pre-polarizing permanent magnet 116. As the initially polarized mixed-phase fluid 128 flows through the EFNRM detector 118 and during acquisition of the FID values with the radio-frequency coil 120, neither electromagnet 160 nor 161 is energized. Based on the acquired signals in this operation, the EFNRM detector 118 determines a velocity of the gas phase only of the mixed-phase fluid 128. Such velocities may be determined, for example, based on a pseudo-1D inversion to the acquired FID values of the gas phase, as previously described.
(107) The content distribution of the oil 104 and water 108 in the liquid phase may also be determined by the fluid measurement system 200 in similar fashion to the previous operations described with reference to the fluid measurement system 100 of
(108) Turning now to
(109) Method 1200 may continue at step 1204, which includes circulating the mixed oil-water liquid flow through a pre-polarizing magnet. For example, the oil-water fluid 128 is circulated through conduit 150 and into the pre-polarizing magnet 116. In some aspects, the pre-polarizing magnet 116 is a Halbach array.
(110) Method 1200 may continue at step 1206, which includes polarizing the mixed oil-water liquid flow with the pre-polarizing magnet to an initial polarization. For example, the pre-polarizing magnet 116 polarizes the oil-water fluid 128 to the initial polarization by, for example, applying the 0.3 T Halbach array, which is located at a particular distance (L.sub.PD) from an EFNMR detector 118. The distance may be varied, for example, between 45 and 150 cm.
(111) Method 1200 may continue at step 1208, which includes circulating the polarized mixed oil-water liquid flow at the initial polarization to an Earth's field nuclear magnetic resonance (EFNMR) detector that includes a radio-frequency (RF) coil and a surrounding electromagnet. For example; once the oil-water fluid 128 is polarized by the pre-polarizing magnet 116, the oil-water fluid 128 is circulated to the EFNMR detector 118.
(112) Method 1200 may continue at step 1210, which includes further polarizing the polarized mixed oil-water liquid flow with the surrounding electromagnet. For example, once within the polarization area of the electromagnet, the fluid is additionally polarized by the electromagnet of the EFNRM detector 118 (in other words, in a dual-polarization scheme).
(113) Method 1200 may continue at step 1212, which includes measuring fluid induction decay (FID) values of the additionally polarized mixed oil-water liquid flow with the EFNMR detector. For example, the dually-polarized oil-water fluid 128 flows through the EFNMR detector, in which the FID values are measured. In some aspects, the FID values include relaxation time constants (T.sub.1 and T.sub.2) associated with the fluids of interest, both of which quantify the rate of energy transfer in magnetic resonance processes. The spin-lattice relaxation rate (T.sub.1) is a fluid property describing the rate of signal accumulation in a magnetic field, while the spin-spin relaxation rate (T.sub.2) describes the rate of signal decay or dephasing of hydrogen atoms within a fluid. In some aspects, the FID values are a function of velocity and T.sub.1 values.
(114) In some aspects, step 1212 may be repeated for multiple, different separation distances 124 between the pre-polarizing magnet 116 and the EFNMR detector 118. For example, the pre-polarizing magnet 116 may be positioned at a first, particular separation distance 124 (for example, about 45 cm). A first set of FID values of the polarized gas phase may be measured with the EFNMR detector at the first, particular separation distance 124. Then, the pre-polarizing magnet 116 may be positioned at a second, particular separation distance 124 (for example, about 150 cm). A second set of FID values of the polarized gas phase may be measured with the EFNMR detector at the second, particular separation distance 124.
(115) Method 1200 may continue at step 1214, which includes transforming the measured FID values from a non-adiabatic transition from an Earth's field to a polarizing field to an effective adiabatic transition from the Earth's field to the polarizing field. For example, in some aspects, the transformation of the measured FID values from a non-adiabatic transition from an Earth's field to a polarizing field to an effective adiabatic transition from the Earth's field to the polarizing field includes determining a location of a particular portion of the dual polarized oil-water fluid 128 relative to a detection zone of the EFNMR detector 118. In some aspects, that determination based on a start time of the additional polarization (for example, t.sub.polz) of the polarized mixed oil-water fluid 128. As previously described, for example, the portion of the oil-water fluid 128 may be an initial portion, an intermediate portion, or an outside portion. At the start time of the additional polarization, for instance, the initial portion may be fully inside the detection region of the EFNMR detector 118, while the intermediate and outside portions are fully outside such region. As the oil-water fluid 128 circulated to and through the EFNMR detector 118, at a time greater than a ratio of a combined length of the separation distance 124 and a length of a region just outside of the detection region (for example, L.sub.I) to a velocity of the oil-water fluid 128, the outside portion may be fully within the detection region. This outside portion, in some aspects, may be independent of the non-adiabatic transition from the Earth's field to the polarizing field. Thus, the portion of FID values that correspond to the outside portion of the polarized oil-water fluid 128 may be selected to transform the measured FID values from a non-adiabatic transition from an Earth's field to a polarizing field to an effective adiabatic transition from the Earth's field to the polarizing field.
(116) Method 1200 may continue at step 1216, which includes determining a velocity of the oil in the mixed oil-water liquid flow and a velocity of the water in the mixed oil-water liquid flow based on differences in NMR signal relaxation properties of the transformed FID values. For example, once the transformed FID values are determined in step 1214, the velocities of the oil 104 and the water 108 may be determined according to the T.sub.2 properties of the transformed FID values. In some aspects, this determination includes applying a pseudo-1D inversion to the transformed FID values. The pseudo 1D-inversion, in some aspects, may be a Tikhonov inversion. Then, a 2D probability distribution (P) of the velocity of the oil 104 in the oil-water fluid 128 and the velocity of the water 108 in the oil-water fluid 128 is determined based on the applied 1D inversion of the transformed FID values and a model kernel matrix (M) (as described in Eq. (16)). The model kernel matrix may be a function of a polarization pulse time of the electromagnet, a distance 124 between the pre-polarizing magnet 116 and the EFNMR detector 118, a start time of a radio-frequency signal acquisition from the radio-frequency coil 120, and the NMR signal relaxation properties (T.sub.1) of the transformed FID values, as previously described.
(117) Method 1200 may continue at step 1218, which includes determining an oil content and a water content of the mixed oil-water liquid flow from the transformed plurality of FID values based on differences in NMR signal relaxation properties of the transformed FID values. For example, the oil and water content can be determined according to, for example, the mean velocities (Eq. (23)) and, from these, the individual phase volumetric flowrates (Eq. (24)).
(118) Turning now to
(119) Method 1250 may continue at step 1254, which includes circulating the mixed-phase fluid flow through a pre-polarizing magnet. For example, the mixed-phase fluid 128 is circulated through the pre-polarizing magnet 116 within the conduit 150.
(120) Method 1250 may continue at step 1256, which includes polarizing a gas phase of the mixed-phase fluid flow to an initial polarization with the pre-polarizing magnet. For example, the pre-polarizing magnet 116 may be operated (for example, by the control system 122) to generate a homogeneous polarization field to polarize the mixed-phase fluid 128 (including a gas phase within the fluid 128) to an initial polarization.
(121) Method 1250 may continue at step 1258, which includes measuring a plurality of fluid induction decay (FID) values of the polarized gas phase with the EFNMR detector. For example, once polarized to the initial polarization, the mixed-phase fluid 128 is circulated a particular distance 124 (L.sub.PD) to the EFNMR detector 118, which includes the first electromagnet 161, the second electromagnet 160, and the radio-frequency coil 120. The polarized gas phase, flows through the EFNMR detector 118, in which the FID values, of the gas phase are measured. In some aspects, the FID values include relaxation time constants (T.sub.1 and T.sub.2) associated with the gas phase, both of which quantify the rate of energy transfer in magnetic resonance processes. The spin-lattice relaxation rate (T.sub.1) is a fluid property describing the rate of signal accumulation in a magnetic field, while the spin-spin relaxation rate (T.sub.2) describes the rate of signal decay or dephasing of hydrogen atoms within a fluid. In some aspects, the FID values are a function of velocity and T.sub.1 values.
(122) In some aspects, step 1258 may be repeated for multiple, different separation distances 124 between the pre-polarizing magnet 116 and the EFNMR detector 118. For example, the pre-polarizing magnet 116 may be positioned at a first, particular separation distance 124 (for example, about 45 cm). A first set of FID values of the polarized gas phase may be measured with the EFNMR detector at the first, particular separation distance 124. Then, the pre-polarizing magnet 116 may be positioned at a second, particular separation distance 124 (for example, about 150 cm). A second set of FID values of the polarized gas phase may be measured with the EFNMR detector at the second, particular separation distance 124.
(123) Method 1250 may continue at step 1260, which includes determining a velocity of the gas phase based on the FID values of the polarized gas phase. For example, in some aspects, determining the velocity of the gas phase includes applying a pseudo-1D inversion, such as a Tikhonov inversion, to the measured FID values of the gas phase. In some aspects, for example, such a pseudo-1D inversion includes applying a discretized probability distribution vector of a variable (p) may be expressed as a function of the measured FID values (in other words, NMR signal (s)) via a model kernel matrix (M) as described in Eq. 1 and subsequent equations according to the present disclosure. By step 1260 (or step 1258), the initial polarization of the liquid phase of the mixed-phase fluid 128 may be decayed by the time the mixed-phase fluid 128 has reached the radio-frequency coil 120 of the EFNMR detector 118; thus, the FID measurements taken in step 1258 are only of the gas phase of the mixed-phase fluid 128.
(124) Method 1250 may continue at step 1262, which includes producing a pulsed magnetic field gradient with the first electromagnet to suppress one or more signals acquired by the EFNMR detector with the first electromagnet and measuring FID values of the liquid phase of the mixed-phase fluid. For example, the first electromagnet 161 may produce a pulsed magnetic field gradient to suppress the NMR signals taken from the gas phase of the mixed-phase fluid 128. Simultaneously, FID measurements may be taken of the liquid phase of the mixed-phase fluid 128 with the NMR detector 118 while the second electromagnet 160 is producing a reasonably homogeneous magnetic field to polarize the liquid phase during step 1262.
(125) In some aspects, step 1262 may be repeated for multiple, different pulse time durations of the second electromagnet 160. For example, the second electromagnet 160 may be operated at a first, particular pulse time duration (t.sub.polz). A first set of FID values of the polarized liquid phase may be measured with the EFNMR detector at the first, particular pulse time duration. Then, the second electromagnet 160 may be operated at a second, particular pulse time duration. A second set of FID values of the polarized liquid phase may be measured with the EFNMR detector at the second, particular pulse time duration.
(126) Method 1250 may continue at step 1264, which includes producing a homogeneous polarizing field to polarize the liquid phase of the mixed-phase fluid with the second electromagnet. For example, as the first electromagnet 161 suppresses one or more signals from the gas phase and measuring FID values of the liquid phase of the mixed-phase fluid, the second electromagnet 160 produces the homogenous magnetic field to polarize the liquid phase of the mixed-phase fluid 128.
(127) Method 1250 may continue at step 1266, which includes determining a velocity of the liquid phase based on the FID values of the polarized liquid phase. For example, as with the gas phase, the velocity of the liquid phase may be determined by applying a pseudo-1D inversion, such as a Tikhonov inversion, to the measured FID values of the liquid phase. In some aspects, for example, such a pseudo-1D inversion includes applying a discretized probability distribution vector of a variable (p) may be expressed as a function of the measured FID values (in other words, NMR signal (s)) via a model kernel matrix (M) as described in Eq. 1 and subsequent equations according to the present disclosure.
(128) Method 1250 may continue at step 1268, which includes determining a content of the liquid phase based on the FID values of the liquid phase of the mixed-phase fluid. For example, in the case of the liquid phase being a mixture or combination of oil and water, an oil-water content of the liquid phase of the mixed-phase fluid 128 is determined with a 2D probability distribution of the velocity of the liquid phase in the mixed-phase fluid 128 based on the applied 1D inversion of the FID values of the liquid phase and a model kernel matrix, as described according to step 1218 of method 1200.
(129)
(130) The controller 1300 includes a processor 1310, a memory 1320, a storage device 1330, and an input/output device 1340. Each of the components 1310, 1320, 1330, and 1340 are interconnected using a system bus 1350. The processor 1310 is capable of processing instructions for execution within the controller 1300. The processor may be designed using any of a number of architectures. For example, the processor 1310 may be a CISC (Complex Instruction Set Computers) processor, a RISC (Reduced Instruction Set Computer) processor, or a MISC (Minimal Instruction Set Computer) processor.
(131) In one implementation, the processor 1310 is a single-threaded processor. In another implementation, the processor 1310 is a multi-threaded processor. The processor 1310 is capable of processing instructions stored in the memory 1320 or on the storage device 1330 to display graphical information for a user interface on the input/output device 1340.
(132) The memory 1320 stores information within the controller 1300. In one implementation, the memory 1320 is a computer-readable medium. In one implementation, the memory 1320 is a volatile memory unit. In another implementation, the memory 1320 is a non-volatile memory unit.
(133) The storage device 1330 is capable of providing mass storage for the controller 1300. In one implementation, the storage device 1330 is a computer-readable medium. In various different implementations, the storage device 1330 may be a floppy disk device, a hard disk device, an optical disk device, or a tape device.
(134) The input/output device 1340 provides input/output operations for the controller 1300. In one implementation, the input/output device 1340 includes a keyboard and/or pointing device. In another implementation, the input/output device 1340 includes a display unit for displaying graphical user interfaces.
(135) The features described can be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. The apparatus can be implemented in a computer program product tangibly embodied in an information carrier, for example, in a machine-readable storage device for execution by a programmable processor; and method steps can be performed by a programmable processor executing a program of instructions to perform functions of the described implementations by operating on input data and generating output. The described features can be implemented advantageously in one or more computer programs that are executable on a programmable system including at least one programmable processor coupled to receive data and instructions from, and to transmit data and instructions to, a data storage system, at least one input device, and at least one output device. A computer program is a set of instructions that can be used, directly or indirectly, in a computer to perform a certain activity or bring about a certain result. A computer program can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
(136) Suitable processors for the execution of a program of instructions include, by way of example, both general and special purpose microprocessors, and the sole processor or one of multiple processors of any kind of computer. Generally, a processor will receive instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a processor for executing instructions and one or more memories for storing instructions and data. Generally, a computer will also include, or be operatively coupled to communicate with, one or more mass storage devices for storing data files; such devices include magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and optical disks. Storage devices suitable for tangibly embodying computer program instructions and data include all forms of non-volatile memory, including by way of example semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, ASICs (application-specific integrated circuits).
(137) To provide for interaction with a user, the features can be implemented on a computer having a display device such as a CRT (cathode ray tube) or LCD (liquid crystal display) monitor for displaying information to the user and a keyboard and a, pointing device such as a mouse or a trackball by which the user can provide input to the computer. Additionally, such activities can be implemented via touchscreen flat-panel displays and other appropriate mechanisms.
(138) The features can be implemented in a control system that includes a back-end component, such as a data server, or that includes a middleware component, such as an application server or an Internet server, or that includes a front-end component, such as a client computer having a graphical user interface or an Internet browser, or any combination of them. The components of the system can be connected by any form or medium of digital data communication such as a communication network. Examples of communication networks include a local area network (“LAN”), a wide area network (“WAN”), peer-to-peer networks (having ad-hoc or static members), grid computing infrastructures, and the Internet.
(139) While this specification contains many specific implementation details, these should not be construed as limitations on the scope of any inventions or of what may be claimed, but rather as descriptions of features specific to particular implementations of particular inventions. Certain features that are described in this specification in the context of separate implementations can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.
(140) Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Moreover, the separation of various system components in the implementations described above should not be understood as requiring such separation in all implementations, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
(141) A number of implementations have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the disclosure. For example, example operations, methods, or processes described herein may include more steps or fewer steps than those described. Further, the steps in such example operations, methods, or processes may be performed in different successions than that described or illustrated in the figures. Accordingly, other implementations are within the scope of the following claims.