Abstract:
A inventive flow-meter uses a measuring method which is based on the passage time of fluid molecules in a single sensor, without using any magnetic field gradient for the measurement of said fluid mean velocity. This method consists of the ultrafast irradiation of hydrogen nuclei from fluid molecules through pulses which are repeated every short time intervals, following a Carr-Purcell-Meiboom-Gill (CPMG) type sequence.

Description:
FIELD OF INVENTION  
       [0001]     This invention relates to a method and apparatus for real time and real production volumes measurements of flow-rates and proportions of a complex fluid consisting of a multiple-component heterogeneous blend. Particularly, this invention applies to the separate measurement of flow-rates and relative proportions (or cuts) of oil and water in oil, water and gas heterogeneous blends, both at the production line (or vein) from oil wells and other ducts which distribute various types of fluids. Proposed method and instrument allow measurement of flow-rates of the individual components of the complex fluid in a non-invasive, non-destructive way, and regardless of the blend condition, i.e., for example, a blend consisting of separate phases of oil, water and gas o a single emulsion phase. This invention solves the problem of previous solutions, which are limited to total maximum flow-rates amounting to a few tens of cubic meters of fluid per day.  
       BACKGROUND  
       [0002]     Components at the production line are very seldom found in pure state, as they rather form emulsions or heterogeneous blends which relative proportions change with time. Said condition is typically termed “multiphase”. This particularity of the fluid to be measured prevents use of conventional flow-meters, which may only measure total fluid flow-rate, as they are unable of identifying proportions of each particular component. Measurement errors are generally important because, among other factors, passage of gas in non-homogeneous proportions instantaneously modifies rheological properties of the multiple phase. The most used method actually consists of deviating production towards a temporal storage tank, collecting said generally daily production and, once components have separated by the action of gravity, relative volumes are measured. This method poses multiple implementing problems, as:  
         [0003]     a) due to several reasons, it is not possible to completely separate blend components, such reasons may include:  
         [0004]     1. formation of a water-oil emulsion interface, which may amount to a significant volume in the storage tank; and  
         [0005]     2. natural settlement always results in a certain quantity of water remaining in emulsion with oil  
         [0006]     b) even where both components could be adequately separated, devices used for interface measuring are difficult to implement, as, for example, it is not possible to establish water or oil levels by simple level inspection.  
         [0007]     c) in fact, this technique only allows control of the individual production of each well on a monthly frequency at most.  
         [0008]     As regards the real time application of measurement techniques in the oil production, special consideration should be given to the fact that gas tends to flow at higher speeds than liquid components. Thus, gas flow-rate measurements should be necessarily performed separately from liquid components, or else such flow velocity should be measured once all of the components of the blend are adequately mixed.  
         [0009]     Other more sophisticated techniques have been invented which are based on different measuring principles. As an example we can mention the simple Venturi tube, the Coriolis principle, ultrasound, gamma rays measuring, and Magnetic Resonance (NMR).  
         [0010]     The first technique is based on the measurement of the pressure difference existing between both ends of a tube with variable section. Measurements performed by means of this method strongly depend from the gas which is dispersed or bubbles within the blend. Further, this method does not discriminate the multiphase composition.  
         [0011]     Coriolis&#39;s mass flow-meter is a mechanical design in which flow passage through a curved duct or other medium produces the vibration of mechanical parts thereof. Two or more vibration sensors are installed on the device, said sensors being positioned at a certain distance one from each other in the flow direction. Such flow produces vibrations at pre-established resonance frequencies which depend on the material and shape of said mechanical parts, but vary according to mass flow density (for more details see U.S. Pat. No. 4,187,721). It is also possible to derivate a phase difference between the resonance frequencies of both sensors, which angle, divided by the resonance frequency f, is proportional to the flow mass proportion (for more details see U.S. Pat. No. 5,648,616 or EP-A-866 319). As this method involves mechanical interactions, it is also strongly dependent on the fluid compressibility, which in turn strongly depends on the gas proportion, both that gas which is dissolved within the vein and that which bubbles through it.  
         [0012]     Another design which does not exhibit moving mechanical parts is based on the ultrasound emission and reception in order to measure transit time of the fluid through the carrying vein. The time taken by the ultrasound wave in arriving to the receptor element since its emission and through the liquid flow, is proportional to the fluid speed within the carrying conduct. The fluid blend is obviously used as the coupling substance between the emitting crystal and the receptor. Here again, gas plays an essential role as regards the evaluation of measurement errors. On the one hand, bubbles break said coupling and introduce very important errors both as regards the propagation time of the acoustic signal and the attenuation of the sound wave. Even where bubbles are absent, compressibility of the liquid medium strongly depends from the quantity of gas dissolved therein, this being a variable which remarkably affects measurement process and result.  
         [0013]     However, the Nuclear Magnetic Resonance principle allows both measurements to be done: i) determination of oil, gas and water proportions in the fluid blend, and ii) determination of the flow speed of said blend. There exist several patents which disclose methods—not necessarily selective as regards multiphase fluids—which use NMR analysis. Among them, the following can be mentioned: 1) Rollwitz et al., Method and Apparatus for Coal Analysis and Flow Measurements, U.S. Pat. No. 4,531,093; 2) King et al. Method and Apparatus for Measuring Flow in a Pipe of Conduit, U.S. Pat. No. 4,536,711, and 3) Reichwein, Consistency Measuring Device, U.S. Pat. No. 4,866,385.  
         [0014]     Previous art devices designed for flow measuring and/or flow mapping are based on two widely known principles: 1) “time of flight” of saturated or unsaturated spins on the NMR spectrometer magnetic field; 2) on what is known as spatial codification of spins phase as they displace on a magnetic field gradient.  
         [0015]     State of the art is completed with those patents which disclose specific methods for measuring flow-rate of multiphase fluids:  
         [0016]     1. U.S. Pat. No. 4,785,245, entitled Rapid Pulse NMR Cut Meter describes a flow-meter which employs an NMR analysis in order to determine the fraction of one of the components of a multi-phase fluid flowing through a production line. NMR signal amplitude of a certain component is obtained by means of a pulse sequence which radio-frequency is adequate for the relative relaxation times between fluid components. This Patent does not disclose a simultaneous method able to measure flow-rate of one of the phases which signal has separated. That is to say, it requires another device in order to measure flow velocity of said component.  
         [0017]     2. U.S. Pat. No. 6,046,587, Measurements of Flow Fractions, Flow Velocities and Flow Rates of a Multiphase Fluid using NMR Sensing and U.S. Pat. No. 6,268,727, Measurements of Flow Fractions, Flow Velocities and Flow Rates of a Multiphase Fluid using ESR Sensing, both to J. D. King, Q. Ni and A. de los Santos, disclose a sensor which employs at least two NMR spectrometers or one NMR spectrometer and another ESR (Electronic Paramagnetic Resonance) one. Basic principle of measurement methodology is based on what is known as “time of flight” between both spectrometers. Such system of two spectrometers which separately measure residence time of each phase at the magnetic field is of unpractical and costly implementation; also, its application is difficult in the case of oil fields, which are generally subject to harsh climates. Another variant of said patents are those filed with the INPI (Argentine Industrial Property Institute) No. 010104816 (Oct. 12, 2001) and patent pending in USA 2004/0015332, by M. Ramia, D. J. Pusiol, C. A. Martin, E. Fried and R. Garnero. This case comprises a single electronic part which is shared by two sensing coils, operation principle being that already described, that is, flow velocity is measured through time of flight of water and oil molecules through the space between both sensing coils. This device exhibits the same restrictions as that involving two spectrometers: measurable flow-rate is substantially lower than 100 m 3 /day for the total fluid.  
         [0018]     3. Flow-meter with phase separation disclosed by U.S. Pat. No. 6,452,390, by E. Wollin, entitled Magnetic Resonance Analyzing Flow Meter and Flow Measuring Method, proposes a methodology and associated apparatus which implementation is simpler than those already described. This methodology uses pulsed magnetic fields gradients in order to modulate the spins (or protons) precession phase. That is to say that spatial codification is carried out by which is commonly known as Laboratory System. The problem with this method is that at the common displacement velocities of protons on the magnetic field, magnetic field gradients application is technologically difficult to apply, due to the fact that, in order to produce an adequate magnetic field gradient, it is necessary to include important currents which on/off times are generally relatively long. That is to say that this methodology is generally restricted to relatively small flow-rates measurements.  
         [0019]     4. Another variant of said patents are those filed with the INPI under No. P040102415 on Jul. 8, 2004, and the pending US patent publication no. 2006/0020403, by SpinLock SRL and D. J. Pusiol. Said applications disclose a flow-meter and cut sensor comprising a single coil associated to slanted planar plates magnet which generates a constant magnetic field, along with a magnetic field gradient. Said application further discloses the application of a pre-polarization field for rapid fluids, which may be removed in the case of slow fluids. Said application also discloses a derivation device with electronic key which allows measurement of N sensors groups with a single electronic system. In said application, spatial codification of the resonant nuclei position is carried out through a linear gradient of the magnetic field at the place of the excitation/Magnetic Resonance detection coil, which is preferably generated by the slanted position of the polar faces of a permanent magnet. In the case of high flow velocities, said gradient must be increased in order to attain the necessary effectiveness of the spatial codification process of the NMR spectrum of those protons forming the moving complex fluid. Upon the increase of said magnetic field gradient the Magnetic Resonance signal broadens and thus deteriorates. The maximum flow-rate limit measurable by means of this invention is given by the maximum value of magnetic field gradient that may be applied to the fluid passing through the sensor tube before the signal deteriorates, preventing the precision required for the particular use.  
         [0020]     The inventive flow-meter employs a measurement method which is based on the passing time of the fluid molecules at a single sensor, without using any magnetic field gradient for fluid velocity measurements. This method consists of the ultrafast irradiation of hydrogen nuclei belonging to said molecules through repeated pulses within short time intervals, following a CPMG type sequence (see, e.g. A. Abragham,  The Principles of Nuclear Magnetism , Oxford University Press, 1998); thus, the temporal evolution of the NMR signal depends from the number of “refreshment” molecules appearing in the volume of the excitation/detection coil. In turn, for a given interval between excitation pulses, said number of refreshment molecules depends on the fluid velocity at the production line. This invention is based on the fact that there exists a region of the CPMG sequence in which the spin echoes amplitude following application of each radio-frequency pulse exhibits a linear variation with time. Quotient between the slope of said linear relation and origin ordinate is proportional to flow velocity, whereas the origin ordinate contains information which allows the determination of the proportion of the different elements comprising the complex fluid, which produce a detectable NMR signal.  
         [0021]     In order to establish the relative proportions within the heterogeneous blend of the production fluid (we are preferably referring to oil, water and gas proportions), the production duct is first introduced through a spins pre-polarization magnetic module and then through a magnetic resonance sensor module. Length of said pre-polarization field and the velocity of the complex fluid establish a passage time of said flow which, along with the relaxation time T 1  of the spins species which form part of one of the components of the complex fluid, allows protons present in the complex fluid portion to attain a polarization sufficient to produce a magnetic resonance signal in the magnetic resonance sensor module. Polarization of a particular component on the pre-polarization field is selected by adjusting length thereof in such a way that its protons will attain enough polarization so as to provide a NMR signal. In order to select the Magnetic Resonance signal of the component exhibiting a longer relaxation time, there is added to the pre-polarization magnetic field a second field (temporarily pulsed), extending its action on the production vein. That is to say that, in this situation, ordinate at the origin of adjustment of the linear region of the echoes of the CPMG sequence, after a repeated pulses sequence, will now represent protons from two of the fluid components, each with higher and lower T 1 . From the quantitative comparison of ordinates at the origin of both signals, one which is obtained with a shorter length of the pre-polarization field and the other obtained with longer spatial length for the application of the pre-polarization field, relative proportions, or cuts, of both components are obtained. Where the fluid bears a third component, an adequately arranged third magnetic field will be added.  
         [0022]     Measurements are sequentially carried out and appropriately repeated in order to obtain an adequate signal-to-noise relation. Typically, measurement is completed in a few seconds.  
         [0023]     Accordingly, this invention may be applied in all those cases involving complex fluids circulation, as for instance: Oil-Water, Mud from Mining Operations, Industrial Fluids, etc.  
       SUMMARY  
       [0024]     Accordingly, it is an object of the present application an apparatus and method for measuring flow-rate and cut of oil production in real time and volumes, which comprises, mutually associated, a magnetic resonance sensor module, a pulsed pre-polarization magnetic module of variable length, a radio-frequency electronic module for magnetic resonance, a magnetic resonance digital module and a control computer.  
         [0025]     Still another object of the present invention is a method for the direct measurement in real time and flow-rates of the proportion and flow-rate of the different components which form a multiple-component complex fluid, which method makes use of the above device, said method comprising the following steps:  
         [0026]     a. activation of the first segment of the pre-polarization magnetic field in order to pre-polarize resonant nuclei of said multiple-component complex fluid during a time adequate regarding the spin-lattice relaxation time T 1  of said first selected component in order to establish proportion and flow-rate thereof;  
         [0027]     b. transmission of radio-frequency pulses through a transmitter T x  included in said radio-frequency electronic module, according to the CPMG pulses sequence;  
         [0028]     c. emission of said radio-frequency pulses from said radio-frequency electronic module towards said magnetic resonance sensor module in order to excite said resonant nuclei of said complex fluid and generate a magnetic resonance signal (NMR) as a response to said emitted radio-frequency pulses;  
         [0029]     d. reception of response signals at said sensor assembly;  
         [0030]     e. emission of said signals in said sensor assembly, through said receiver R x , included in said radio-frequency electronic module;  
         [0031]     f. digitalization of said response signals received by an analog/digital converter which is included in said magnetic resonance digital module;  
         [0032]     g. transference of said digitalized signals to said control computer; and  
         [0033]     h. activation of said second segment of said pre-polarization magnetic field in order to pre-polarize said resonant nuclei of said multiple-component complex fluid during a time appropriate as regards the value of said second shorter spin-lattice relaxation time T 1  of said selected second component for the determination of its proportion and flow-rate;  
         [0034]     i. repetition of steps b) to h) in order to obtain adequate signals for their further mathematical analysis in order to obtain relative proportions and flow-rates of the different components of said complex fluid;  
         [0035]     j. activation of said third segment of said pre-polarization magnetic field in order to pre-polarize said resonant nuclei of said multiple-component complex fluid during a time appropriate as regards the value of said third shorter spin-lattice relaxation time T 1  of said selected third component for the determination of its proportion and flow-rate;  
         [0036]     k. repetition of steps b) to j) in order to obtain adequate signals for their further mathematical analysis in order to obtain relative proportions and flow-rates of the different components of said complex fluid;  
         [0037]     l. repetition of said steps until all the measurable components are measured;  
         [0038]     m. by means of adequate mathematical operations, processing of the obtained resonance signals in order to obtain proportion and flow-rate of each of the components of the complex fluid.  
         [0039]     Still another object of the present invention is a sensor assembly, comprising said magnetic resonance sensor module and said pulsed pre-polarization magnetic module of variable length.  
         [0040]     Still another object is an arrangement of production lines for multiple-components complex fluids which uses the above device, wherein each of the various production lines of multiple-components complex fluids bears one of said sensor assemblies fixedly mounted; or a single sensor assembly is fixedly mounted on an auxiliary production line towards which the different complex fluid production lines converge.  
         [0041]     Still another object is to prevent sensitivity to flow-rate measurement from showing peculiar interference effects, by means of the neutralization of eventual shifts at the NMR frequency, due to changes of the B 0  value on account of environmental thermal effects.  
         [0042]     Still another object of the present invention is measuring of velocities profiles within the volume of the complex fluid distribution pipe.  
         [0043]     Still another object is that said sensors are fixed or movable. 
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0044]     The invention shall be better understood when referring to the following figures:  
         [0045]      FIG. 1  illustrates a simplified block diagram of the preferred assembly according to the present invention.  
         [0046]      FIG. 2  illustrates the experimental behavior of the polarization factor f(v) in function of flow velocity v for two oil components (T 1 =160 ms and T 1 =640 ms) and formation water (T 1 =1.44 s).  
         [0047]      FIG. 3  illustrates behavior of polarization factor f(v) at the velocities v range comprised from 0.1 and 1.5 m/s for two oil components (T 1 =160 ms and T 1 =640 ms) and formation water (T 1 =1.44 s).  
         [0048]      FIG. 4  shows the succession of echoes obtained upon the application of the CPMG sequence, for oil circulating at a velocity of 1.1 m/s.  
         [0049]      FIG. 5  illustrates amplitudes of the Fourier Transforms of CPMG sequences echoes for oil circulating at different velocities.  
         [0050]      FIG. 6  shows dependence quotient B/A, between slope (B) and origin ordinate (A) of linear adjustments of CPMG sequences, in function of the experimentally established mean velocity of fluid.  
         [0051]      FIG. 7  illustrates experimental behavior of origin ordinates of linear adjustments of CPMG sequences for fluids comprised of different concentrations of oil and water circulating at a mean velocity of 1.1 m/s in function of oil concentration x p .  
         [0052]      FIG. 8  illustrates experimental behavior of origin ordinates of linear adjustments of CPMG sequences for fluids comprised of different concentrations of oil and water circulating at a mean velocity of 1.1 m/s in function of oil concentration x p , for two different lengths of the pre-polarization stage, L 1 =0.5 m and L 2 =0.9 m. 
     
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS  
       [0053]      FIG. 1  illustrates a simplified block diagram of the preferred assembly according to the present invention. Complex fluid circulates through production vein  1  and passes through a magnetic field generated at the pre-polarization Magnetic Module  2 . Then, complex fluid passes through the Magnetic Resonance Sensor Module  3  through which the fluid is excited and its corresponding response signal is detected. Control Computer  4  is used for the synchronization of the complex fluid measurement process. Magnetic Resonance Electronic Module  5  is used, on the one hand, in order to generate RF pulses used for exciting the complex fluid and on the other hand for the demodulation of the resonance signal from the fluid after the excitation. Digital module  6  is used both for synthesizing pulses which modulate the RF produced at the Radio-Frequency Electronic Module  5  and for the digitalization of the signal demodulated at the Magnetic Resonance Radio-Frequency Electronic Module  5 . Length along which magnetic field is applied on the Pre-Polarization Magnetic Module is variable and may be adjusted by the Driver module  7 .  
         [0054]     Measurement of fluid mean velocity and phases proportion: the preferred method for measuring mean velocity of total fluid as well as the proportion of phases present in a multiphase fluid consists of the utilization of a pulses sequence known by the previous art as CPMG, with at least two phases producing a detectable NMR signal. Said sequence CPMG is a pulses sequence π/2−π- . . . -π, so that magnetization which will be rotating on plan x-y (detection plan) will be constructed with those portions of the sample originally excited by the first pulse of the sequence (pulse of π/2) and which induce an electromotive force at the detection coil. Temporal origin of sequence (t=0) is defined as the instant in which the π/2 pulse application begins. During such short interval all of the fluid volume inside the detection coil is excited.  
         [0055]     In order to better understand the invention, without loss of generality, analysis is restricted to the simplest case in which the fluid consists of two phases, for example one of them being formation water and the other oil; and further, wherein the production tube is completely full of fluid during the measuring process.  
         [0056]     Thus, in t=0 total volume of fluid will be:
 
 V   T (0)= V   A (0)+ V   B (0)  (1)
 
 wherein V A  y V B  are, respectively, the volume occupied by each of the two phases present in the fluid. 
 
         [0057]     Where the fluid displaces at a mean velocity V 1 , sample volume producing a detectable signal at time t will be:
 
 V   T ( t )= V   T (0)− Svt   (2)
 
         [0058]     wherein S is the cross-section of the detection (solenoidal) coil.  
         [0059]     At time t the following equations should also be satisfied:
 
 V   A ( t )= V   A (0)− S   A   vt=S   A ( L−vt )  (3)
 
 V   B ( t )= V   B (0)− S   B   vt=S   B ( L−vt )  (4)
 
 S   A   +S   B   =S   (5)
 
         [0060]     wherein S A  and S B  represent effective cross-sections corresponding to phases A and B respectively and L represents the length of detection coil.  
         [0061]     By dividing equation (3) by equation (4) we have:  
                   V   A     ⁡     (   t   )           V   B     ⁡     (   t   )         =       S   A       S   B               (   6   )             
 
         [0062]     Previous equation evaluated at time t=0 and time t implies:  
                   V   A     ⁢     (   t   )           V   B     ⁢     (   t   )         =         V   A     ⁢     (   0   )           V   B     ⁢     (   0   )                 (   7   )             
 
         [0063]     This means that in this approximation, at any time within the duration interval of the CPMG sequence, the relative volume proportions of both phases are equal to those existing at t=0 when the pulses sequence began. Thus, equations (3), (4) y (7) are easily deduced from the following expressions:  
                 V   A     ⁡     (   t   )       =         V   A     ⁡     (   0   )       ⁢     (     1   -       v   L     ⁢   t       )               (   8   )                   V   B     ⁡     (   t   )       =         V   B     ⁡     (   0   )       ⁢     (     1   -       v   L     ⁢   t       )               (   9   )             
 
         [0064]     On the other hand, intensity of signal CPMG at time t=nτ (wherein τ is the separation between two consecutive π pulses of the CPMG sequence), shall be given by the following expression:  
                 I   ⁡     (     v   ,   t     )       =           I   A     ⁡     (     v   ,   t     )       ⁢     ⅇ     -     t     T     2   ⁢           ⁢   eff     A             +         I   B     ⁡     (     v   ,   t     )       ⁢     ⅇ     -     t     T     2   ⁢           ⁢   eff     B                 ⁢     
     ⁢     wherein   ⁢     :               (   10   )                   I   α     ⁡     (     v   ,   t     )       =           M   α     ⁡     (   v   )       ⁢       V   α     ⁡     (   t   )         =         M   α     ⁡     (   v   )       ⁢       V   α     ⁡     (   0   )       ⁢     (     1   -       v     L   eff       ⁢   t       )                 (   11   )             
 
         [0065]     In equation (11) M α (v) represents magnetization by volume unit of component a circulating at a mean velocity v, V α (0) is the volume of component α at the beginning of sequence CPMG (t=0), T 2eff   α  is the effective spin-spin time of relaxation of component α, v is the mean velocity of flow, and L eff  represents the effective length of excitation coil.  
         [0066]     By means of equation (11), equation 10 may be expressed as:  
               I   ⁡     (     v   ,   t     )       =       [                 M   A     ⁡     (   v   )       ⁢       V   A     ⁡     (   0   )       ⁢     ⅇ     -     t     T     2   ⁢           ⁢   eff     A             +                   M   B     ⁡     (   v   )       ⁢       V   B     ⁡     (   0   )       ⁢     ⅇ     -           ⁢     t             ⁢     T     2   ⁢           ⁢   eff     B                     ]     ⁢     (     1   -       v     L   eff       ⁢   t       )               (   12   )             
 
         [0067]     Naturally, the expression (12) only has sense in those time t instants satisfying 0≦1−(v/L) t≦1.  
         [0068]     Correction by pre-polarization factor: As the fluid is moving, in order to obtain a net magnetization which may be observed at the detection coil it is necessary to polarize it before it enters the excitation/detection coil. Typically this is achieved by placing an assembly of magnets along length L pol  on the path immediately preceding the permanent magnet of the Magnetic Resonance module. Considering that the fluid moves at velocity v, the magnetization net fraction along direction z, perpendicular to flow direction, shall be given by the following equation:  
                 f   α     ⁡     (     v   ,     L   pol       )       =           M   α     ⁡     (   v   )           M   α     ⁡     (   0   )         =     (     1   -     ⅇ     -       L   pol       vT   1   α             )               (   13   )             
 
         [0069]     Coefficient f a (v) is named pre-polarization factor.  FIG. 2  shows the typical behavior of f α (v) in function of the velocity of the fluid for formation water (T 1 =1.4 s) and two oil types (T 1 =160 ms and T 1 =640 ms) for polarization lengths L 1 =0.5 m and L 2 =0.9 m.  FIG. 3  shows an enlargement of  FIG. 2  at velocities from 0.1 to 1.5 m/s.  
         [0070]     As can be seen in  FIG. 3 , the signal intensity at the end of the pre-polarization stage undergoes significant changes when using a pre-polarization stage of 50 cm or 90 cm long. These changes are more noticeable in the case of those fluid components which relaxation times do not satisfy L pol /(vT 1 )&lt;&lt;1.  
         [0071]     Taking into account the pre-polarization factor f α (v), the expression (12) is finally transformed into:  
               I   ⁡     (     v   ,   t     )       =       [                 f   A     ⁡     (   v   )       ⁢     M   0   A     ⁢       V   A     ⁡     (   0   )       ⁢     ⅇ     -     t     T     2   ⁢           ⁢   eff     A             +                   f   B     ⁡     (   v   )       ⁢     M   0   B     ⁢       V   B     ⁡     (   0   )       ⁢     ⅇ     -           ⁢     t             ⁢     T     2   ⁢           ⁢   eff     B                     ]     ⁢     (     1   -       v     L   eff       ⁢   t       )               (   14   )             
 
         [0072]     wherein M 0   α  denotes M α (0). Equation (14) and behavior of pre-polarization factors f α (v), suggest two possible methods for approaching the problem of the simultaneous determination of the mean velocity of fluid and phase fractions present in a fluid of two phases.  
         [0073]     Determination of fluid mean velocity: An important remark as regards equation (14) is that, in the case of values satisfying simultaneously conditions t/T A   2eff &lt;&lt;1 and t/T B   2eff &lt;&lt;1, said expression is reduced to:  
               I   ⁡     (     v   ,   t     )       =       [           f   A     ⁡     (   v   )       ⁢     M   0   A     ⁢       V   A     ⁡     (   0   )         +         f   B     ⁡     (   v   )       ⁢     M   0   B     ⁢       V   B     ⁡     (   0   )           ]     ⁢     (     1   -       v     L   eff       ⁢   t       )               (   15   )             
 
         [0074]     Expression (15) denotes that if we perform an adjustment of the amplitude of the echoes corresponding to the lineal region of the CPMG sequence, through an expression in the form of I(v,t)=A+Bt, quotient B/A between slope and origin ordinate of adjustment is directly proportional to the mean velocity of fluid, proportionality constant being equal to the reciprocal of the effective length of the excitation/detection coil (antenna).  
         [0075]     Determination of components Fraction with fixed length pre-polarization stage (Method 1). Expression 15 shows that for a given mean velocity v of fluid, the origin ordinate of adjustment of the region in which the CPMG signal intensity varies linearly, determines the sum of intensities due to the volume of each present phase, weighted with the polarization factors f α (v) of each phase.  
         [0076]     In some cases it is possible that the lineal approximation be invalid and thence adjustment of experimental data by means of expression (14) could be problematic due to the presence of two exponential functions. However, in such cases it is possible to use expression (14) bearing in mind that if separation τ between consecutive pulses of π is much lower than T A   2eff  and T B   2eff  then:
 
 I (v,τ)≈ I (v,0)≡ I   0 (v)=[ f   A (v) M   0   A   V   A (0)+ f   B (v) M   0   B   V   B (0)]= A (v)+ B (v)  (16)
 
         [0077]     wherein I(v,τ) is the height of the first echo of the CPMG sequence. Thus, it is possible to adjust the following expression to the experimental data:  
               I   ⁡     (     v   ,   t     )       =       [               A   ⁡     (   v   )       ⁢     ⅇ     -     t     T     2   ⁢           ⁢   eff     A             +                 (       I   ⁡     (     v   ,   τ     )       -     A   ⁡     (   v   )         )     ⁢     ⅇ     -           ⁢     t             ⁢     T     2   ⁢           ⁢   eff     B                     ]     ⁢     (     1   -       v     L   eff       ⁢   t       )               (   17   )             
 
         [0078]     Generally, exponentials present in equation (17) may be approached by the first terms of their Taylor development, which remarkably facilitates adjustment of expression (17) to experimental data.  
         [0079]     In those cases in which the circulating fluid comprises two phases, e.g. oil and water, the origin ordinate of adjustment of the CPMG sequence through expressions (15) or (17) will be given by the following expression:
 
 I   0 (v)= x   p   I   p   0 (v)+(1 −x   p ) I   w   0 (v)  (18)
 
         [0080]     wherein:  
         [0081]     x p : oil fraction  
         [0082]     I p   0 (v): origin ordinate for total oil content moving at velocity v  
         [0083]     I w   0 (v): origin ordinate for total water content moving at velocity v  
                   I   0     ⁡     (   v   )       =         x   p     ⁢         (         I   p   0     ⁢     (   v   )       -       I   w   0     ⁡     (   v   )         )     ︸       C   ⁡     (   v   )           +           I   w   0     ⁡     (   v   )       ︸       D   ⁡     (   v   )             ⁢     
     ⁢       I   ⁡     (   v   )       =         x   p     ⁢     C   ⁡     (   v   )         +     D   ⁡     (   v   )                   (   19   )             
 
         [0084]     From expression (19) it can be clearly seen that for a given mean velocity v and that of the fluid, there exists a linear relation between the lineal adjustment origin ordinate and the oil fraction x p  present in the fluid. Thence, if we perform an adjustment of the origin ordinate values for different known oil x p  concentrations by means of expression (19) we may obtain coefficients C(v) and D(v). Once C(v) and D(v) are known, it is possible to obtain value of an unknown oil x p  concentration through the expression:
 
 x   p =( I (v)− D (v))/ C (v)  (20)
 
         [0085]     Determination of components Fraction with variable length pre-polarization stage (Method 2). We will define coefficient γ α (v) as the quotient of the pre-polarization factors of stage α circulating at mean velocity v, for two different lengths L 1  and L 2  of the pre-polarization stage:  
                 γ   α     ⁡     (   v   )       =           f   α     ⁡     (     v   ,     L   2       )           f   α     ⁡     (     v   ,     L   1       )         =       (     1   -     ⅇ     -       L   2       vT   1   α             )       (     1   -     ⅇ     -       L   1       vT   1   α             )                 (   21   )             
 
         [0086]     Alternatively using a pre-polarization stage of length L 1  and then another one of length L 2  we will see that, essentially, origin ordinates of the adjustments of each of the pulses sequences satisfy the following equations:
 
 I   01 (v)= I   p1 (v)+ I   w1 (v)  (22)
 
 I   02 (v)= I   p2 (v)+ I   w2 (v)  (23)
 
         [0087]     Also, the following relations are satisfied:  
             {               I     p   ⁢           ⁢   2         I     p   ⁢           ⁢   1         =       γ   p     ⁡     (   v   )                       I     w   ⁢           ⁢   2         I     w   ⁢           ⁢   1         =       γ   w     ⁡     (   v   )                             (   24   )                               (   25   )                   
 
         [0088]     Using rotations (24) and (25) and equations (22) and (23), we easily find that values of unknown quantities I p1  and I w1  correspond to:  
                   I     p   ⁢           ⁢   1       ⁡     (   v   )       =             γ   w     ⁡     (   v   )       ⁢       I   01     ⁡     (   v   )         -       I   02     ⁡     (   v   )           (         γ   w     ⁡     (   v   )       -       γ   p     ⁡     (   v   )         )         ⁢     
     ⁢         I     w   ⁢           ⁢   1       ⁡     (   v   )       =             γ   p     ⁡     (   v   )       ⁢       I   01     ⁡     (   v   )         -       I   02     ⁡     (   v   )           (         γ   p     ⁡     (   v   )       -       γ   w     ⁡     (   v   )         )                 (   26   )             
 
         [0089]     Once calibration values of I O   p (v) and I O   w (v) are known when each of the phases is separately moving at a mean velocity v within a full duct, we are able to calculate absolute flow-rates of oil and formation water circulating through the pipe in the presence and absence of gas, air or a mixture thereof.  
         [0090]      FIG. 4  illustrates a typical CPMG sequence for pure oil circulating at a velocity of 1.1 m/s. Insert of said figure shows the region of the CPMG sequence which was enlarged at the bottom of  FIG. 4 . It may be clearly appreciated that echoes amplitude varies in a linear fashion at the beginning of the CPMG sequence, where (t/T 2eff &lt;&lt;1) is satisfied.  
         [0091]      FIG. 5  shows amplitudes of FFT of CPMG sequences echoes performed for various flow velocities. It is clearly observed that FFT amplitudes follow a linear behavior. Also, slope of these lines clearly responds to the fluid total velocity.  
         [0092]      FIG. 6  shows dependency of the B/A quotient between slope (B) and the origin ordinate (A) from linear adjustments of CPMG sequences in function of the fluid velocity, this velocity having been experimentally established. It can be clearly observed a linear dependency between both magnitudes.  
         [0000]     Determination of Oil and Water Content of a Two-phases Blend  
         [0093]     Method 1. Fixed pre-polarization stage:  FIG. 7  shows a graphic of the behavior of origin ordinates of linear adjustments of CPMG sequences in function of the oil x p  concentration, by means of expression (15). Two zones are clearly observed. One for concentrations x p  lower than 0.5, named zone  1 , and another for concentrations higher than said value, named zone  2 . It was experimentally established that pulse widths of π/2 (t) for each zone are different, namely 9 μs for zone  1  and 20 μs for zone  2 .  
         [0094]     Determination of the zone corresponding to the fluid which components fraction is to be measured may be easily done by means of de comparison of relative amplitudes of the first echo of two CPMG sequences, one with a pulse width of t w =9 and the other with a pulse width of t w =20 μs.  
         [0095]     From the linear adjustment of each zone there can be obtained coefficients C i  and D i  (i=1,2) which characterize the relation between A and x p .
 
 A (v)= C   i (v) x   p   +D   i (v)  (28)
 
         [0096]     After plotting a calibration curve as that shown by  FIG. 7 , for different total flow velocities, v, coefficients C i  and D i  are known and the oil fraction present in the fluid (and accordingly also that of water) is obtained though the following expression:
 
 x   p =( A (v)− D   i (v))/ C   i (v)  (29)
 
 Method 2:variable pre-polarization stage: This method consists of the acquisition of two CPMG sequences with different lengths of the pre-polarization stage. There follows an adjustment of each of the sequences through expressions (14), (15) or (17) as the case may be and the origin ordinates I 01 (v) and I 02 (v) are obtained, which correspond to pre-polarization lengths L 1  and L 2 , respectively.  FIG. 8  shows typical behavior of origin ordinates (I 0 (v)) of the adjustments of sequences CPMG through expression (15), for two different lengths of the pre-polarization stage (L 1 =0,5 m (circles) and L 2 =0,9 m (triangles)), in function of the concentration of oil x p  for a fluid comprising oil and formation water. For a given oil x p  concentration two different intensity values are observed, wherein the highest value corresponds to the highest pre-polarization length used. 
 
         [0097]     On the other hand, we obtain effective coefficients γy α   eff (v) from the experimental behavior of the coefficient of origin ordinates I 02   α (v)/I 01   α (v), for each of the NMR detectable phases circulating separately, with full pipe, in function of mean velocity v. In such conditions, the following equations are satisfied:  
                 I   01     ⁡     (   v   )       =         I     p   ⁢           ⁢   1       ⁡     (   v   )       +       I     w   ⁢           ⁢   1       ⁡     (   v   )                 (   30   )                   I   02     ⁡     (   v   )       =         I     p   ⁢           ⁢   2       ⁡     (   v   )       +       I     w   ⁢           ⁢   2       ⁡     (   v   )                 (   31   )               {               I     p   ⁢           ⁢   2         I     p   ⁢           ⁢   1         =       γ   p   eff     ⁡     (   v   )                       I     w   ⁢           ⁢   2         I     w   ⁢           ⁢   1         =       γ   w   eff     ⁡     (   v   )                             (   32   )                               (   33   )                   
 
         [0098]     By using relations (30) and (31) and equations (32) and (33) we can easily find that unknown values of I p1  and I w1  correspond to:  
                 I     p   ⁢           ⁢   1       ⁡     (   v   )       =             γ   w   eff     ⁡     (   v   )       ⁢       I   01     ⁡     (   v   )         -       I   02     ⁡     (   v   )           (         γ   w   eff     ⁡     (   v   )       -       γ   p   eff     ⁡     (   v   )         )               (   26   )                   I     w   ⁢           ⁢   1       ⁡     (   v   )       =             γ   p   eff     ⁡     (   v   )       ⁢       I   01     ⁡     (   v   )         -       I   02     ⁡     (   v   )           (         γ   p   eff     ⁡     (   v   )       -       γ   w   eff     ⁡     (   v   )         )               (   27   )             
 
         [0099]     Knowing calibration values I O   p (v) and I O   w (v) when each of the phases is separately circulating at a mean velocity v through a full pipe, we may calculate absolute flow-rates of the two phases moving through such pipe, both in the presence of gas, air or a mixture thereof, or otherwise.  
         [0100]     The above description refers to the measurement of mean velocity at the production duct. In order to establish the flow regime at the production line, it is necessary to measure the velocity profile of the fluid components on the plane perpendicular to flow direction. To such end, the NMR signal of each component of the fluid is selectively excited. As usual, selective excitation is performed through a magnetic field gradient along said plane which is transversal to flow and the excitation of the respective NMR signals through frequency-selective pulses. The magnetic field gradient shall be essentially confined to the volume occupied by the radio-frequency coil of the magnetic resonance sensor module and may be linear or radial to such plane. Selective radio-frequency pulses at the excitation frequency are amplitude- and/or phase-modulated, preferably through a “sync” function. Once the CPMG sequence with excitation spatial selection is applied, velocity of the fluid component, excited to a certain resonance frequency, is obtained.  
         [0101]     A preferred arrangement refers to the determination of the velocities profile in a cylindrical section tube. The magnetic field at the Magnetic Resonance sensor module should bear a radial field gradient at the plane transversal to flow direction. Selective excitation will provide, for each CPMG measurement, mean velocity at a transversal ring which diameter will depend on the magnetic field value and the resonant excitation frequency. This procedure is repeated for different values of the excitation frequency. Any person with average skill in the art may design and implement a device to be added to the flow-meter in order to perform the determination of the velocities profile directly in the production tube.  
         [0102]     Whenever it says that an apparatus of this invention comprises, includes, contains, bears, is composed or consists of certain components, it should be understood, unless otherwise stated, that one or more components of those explicitly described may be present in the apparatus. In an alternative arrangement, however, the inventive apparatus may be described as essentially consisting of said components, wherein components of said arrangement which may materially alter the operation principle or distinctive features of the apparatus might not be included in the description of said alternative arrangement. In another alternative arrangement, the inventive apparatus may be described as consisting of certain components while other components of said arrangement might not be described.