EP3810339A1 - Method for capacitive cancellation of tuning fork for fluid property measurements - Google Patents

Method for capacitive cancellation of tuning fork for fluid property measurements

Info

Publication number
EP3810339A1
EP3810339A1 EP19739476.0A EP19739476A EP3810339A1 EP 3810339 A1 EP3810339 A1 EP 3810339A1 EP 19739476 A EP19739476 A EP 19739476A EP 3810339 A1 EP3810339 A1 EP 3810339A1
Authority
EP
European Patent Office
Prior art keywords
resonator
fluid
oscillation
conductive layer
electromechanical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
EP19739476.0A
Other languages
German (de)
French (fr)
Inventor
Huseyin Rahmi SEREN
Miguel Gonzalez
Sebastian Csutak
Max Deffenbaugh
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Saudi Arabian Oil Co
Original Assignee
Saudi Arabian Oil Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Saudi Arabian Oil Co filed Critical Saudi Arabian Oil Co
Publication of EP3810339A1 publication Critical patent/EP3810339A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N11/00Investigating flow properties of materials, e.g. viscosity, plasticity; Analysing materials by determining flow properties
    • G01N11/10Investigating flow properties of materials, e.g. viscosity, plasticity; Analysing materials by determining flow properties by moving a body within the material
    • G01N11/16Investigating flow properties of materials, e.g. viscosity, plasticity; Analysing materials by determining flow properties by moving a body within the material by measuring damping effect upon oscillatory body
    • EFIXED CONSTRUCTIONS
    • E21EARTH OR ROCK DRILLING; MINING
    • E21BEARTH OR ROCK DRILLING; OBTAINING OIL, GAS, WATER, SOLUBLE OR MELTABLE MATERIALS OR A SLURRY OF MINERALS FROM WELLS
    • E21B49/00Testing the nature of borehole walls; Formation testing; Methods or apparatus for obtaining samples of soil or well fluids, specially adapted to earth drilling or wells
    • E21B49/08Obtaining fluid samples or testing fluids, in boreholes or wells
    • E21B49/087Well testing, e.g. testing for reservoir productivity or formation parameters
    • E21B49/0875Well testing, e.g. testing for reservoir productivity or formation parameters determining specific fluid parameters
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N9/00Investigating density or specific gravity of materials; Analysing materials by determining density or specific gravity
    • G01N9/002Investigating density or specific gravity of materials; Analysing materials by determining density or specific gravity using variation of the resonant frequency of an element vibrating in contact with the material submitted to analysis
    • G01N2009/006Investigating density or specific gravity of materials; Analysing materials by determining density or specific gravity using variation of the resonant frequency of an element vibrating in contact with the material submitted to analysis vibrating tube, tuning fork

Definitions

  • the present invention relates generally to the field of petroleum engineering, and more particularly relates to a method for cancelling the effects of parasitic capacitance in electromechanical devices for obtaining in situ measurements at a subterranean well of the viscosity and density of downhole fluids.
  • a multiplicity of hydrocarbons, brines, other liquids and gases and supercritical fluids, slurries, foams and emulsions are produced from, found in, used in the construction of, or injected into subterranean wells. These fluids will be known collectively as downhole fluids. Knowledge of the physical properties of these fluids, such as their density and viscosity, is critical to Ae drilling, completion, operation, and abandonment of wells. These wells may be used for recovering hydrocarbons from subsurface reservoirs, injecting fluids into subsurface reservoirs, and monitoring Ae conditions of subsurface reservoirs.
  • Fluids include matter in its liquid, gaseous, and supercritical states.
  • Downhole fluids include one or mote fluids produced from the earth such as hydrocarbons, brines, and other fluids occurring in subsurface reservoirs, as well as fluids such as brines, carbon dioxide, and methane which may be injected into the subsurface to enhance production of hydrocarbons or for disposal purposes.
  • Downhole fluids also include slurries containing liquid and solid components like drilling mud and cement which are used in the construction of wells.
  • One or more downhole fluids may be found simultaneously within a subterranean well, as in a multiphase flow, and they may interact forming emulsions and foams.
  • Downhole fluids will also be understood to include substances which are fluids at reservoir temperature and pressure even if they may be solids at colder temperatures nearer to the surface.
  • Downhole fluid properties include the viscosity and density of the individual fluid phases as well as the effective viscosity and density of the aggregate fluid consisting of multiple fluid phases.
  • Newtonian fluids are well characterized by a single viscosity. In non- Newtonian fluids, such as slurries, the viscosity may vary with the flow conditions, for example with the stress or Shear rate applied to the fluid. Properties of non-Newtonian fluids also include rheological parameters that describe this dependence of velocity on flow conditions.
  • Downhole fluid properties are known to vary with temperature and pressure, and the characteristics of this variation is an important property of the downhole fluid.
  • This variation is described, for example, by the PVT (Pressure-Volume-Temperature) characteristics of the fluid which describe how the density varies with pressure and temperature, or by the viscosity variation with pressure and temperature.
  • PVT Pressure-Volume-Temperature
  • the fluid may undergo state changes, for example condensing from a gas to a liquid (e.g., at the dew point), boiling from a liquid to a gas, or transitioning to a supercritical or non-supercritical state.
  • downhole fluids include structured fluids or dispersions such as emulsions, suspensions and foams, which may undergo structural changes as a function of pressure, temperature, concentration or other chemical or thermodynamic variables. These changes may be detected dynamically as changes in their viscosity and/or density For instance, one fluid may be dissolved in another and the pressure and temperature conditions under which a fluid becomes dissolved or ceases to be dissolved fe.g., the bubble point) or where solids may precipitate from a fluid is an important property of the fluid.
  • the depth or location in a well where these state changes and this dissolution and precipitation occur is critical information for optimally producing fluids from the well or injecting fluids into the well.
  • the density (or API gravity) and viscosity of oil is indicative of its type and value and, as a function of depth, may be used to understand reservoir structure and compartmentali zation. Asphaltene content may also be inferred from viscoelastic properties of the produced hydrocarbons. Understanding the PVT characteristics of produced fluids is also important for optimizing surface facilities design, including deciding the optimal pressure for surface separators. State change, dissolution, and precipitation are generally accompanied by a change in viscosity and density of the fluid so that a measurement of viscosity and density as a inaction of pressure and temperature can identify the temperature and pressure at which these changes occur.
  • Downhole fluid flows are often two-phase or multi-phase fluid flows, consisting of two or more distinct or immiscible fluids.
  • the flow regime e.g., slug flow, laminar flow, bubbly flow
  • the flow regime dan significantly impact the effectiveness and durability of downhole equipment, such as artificial lift systems.
  • the flow rates of the different phases may be coupled white in others the flow rates may be uncoupled. Knowing the volume rate of flow of each phase is important for optimizing production and surface facilities, as well as detecting production problems such as water breakthrough.
  • the simplest flow monitoring sensors measure the total flow rate (without distinguishing between die phases) and measure die volume percent of the different phases.
  • the flow rates of die individual phases are determined by multiplying the total flow by the volume percent of each phase. This measurement is only accurate when all phases move at the same velocity. In some flow regimes, the different phases move at different velocities, which can lead to inaccurate measurements. Accordingly there is a need for a small, inexpensive sensor that can measure die instantaneous viscosity and density of the fluid it contacts to aid in the determination of flow regime, the relative abundance of each phase, the shape and size of the flow structures of each phase, and the degree of velocity coupling between fluid phases. Small device size is also necessary due to limited space inside wells particularly in a scenario where permanent or tetherless sensing is desired while not significantly interfering with hydrocarbon production. The invention addresses these and other needs in the art.
  • Embodiments of the present invention provide an apparatus for determining properties of an uncharacterized downhole fluid.
  • the apparatus comprises an oscillation driver circuit comprising an amplifier having an output and an input, a feedback loop between the output and input of an amplifier or a logic gate, an electromechanical resonator disposed within the feedback loop such that a the resonator is driven by die oscillation driver circuit, wherein a resonant frequency of the resonator defines an oscillation frequency of foe oscillator circuit, and a switch device for causing foe oscillator circuit to stop driving foe resonator, which thereby enables observation of a decay rate of the oscillation of foe electromechanical resonator within the uncharacterized fluid.
  • the electromechanical resonator is enclosed in a conductive layer to protect the resonator against capacitive effects of the downhole fluid.
  • At least one property of the uncharacterized fluid can be determined according to an observed decay rate of the oscillation of the electromechanical resonator.
  • the electromechanical resonator can be implemented as a piezo-electric device, having at least two electrodes, and a dielectric layer covering the at least two electrodes, the conductive layer enclosing the dielectric layer.
  • the electromechanical resonator can include an anti-corrosive layer over the conductive layer.
  • a method and device for determining the PVT characteristics or phase diagram of a downhole fluid, or a dispersed fluid- fluid (emulsion), solid-fluid (suspension), or gas-fluid (foam) system,
  • measurements of density and viscosity are taken as the device occupies different depths in the well, such that the downhole fluid properties can be measured at the differing pressure and temperature encountered at each depth. Based on these measurements at discrete pressure and temperature points, the foil PVT characteristics or phase diagram is reconstructed by interpolation.
  • this interpolation is accomplished by selecting from a family of theoretical PVT characteristics the one which most nearly matches the measured properties along the vvelL
  • family of PVT characteristics may be empirically determined based on PVT characteristics measured m the laboratory on similar fluids; the PVT characteristic which best matches the limited set of data acquired in the well is selected from this family and assumed to describe the fluid at the well.
  • the apparatus farther comprises a microprocessor coupled to the switch device and adapted to adjust a duty cycle and gain rate of the switch device.
  • Embodiments of the present invention also provide a piezo-electric device for use in determining properties of an uncharacterized downhole fluid when driven by an alternating voltage.
  • the device comprises at least two piezo-electric electrodes formed in a tuning-fork shape, the fork portions piezo-electric electrodes operative to mechanically vibrate at a characteristic resonance frequency in response to electrical excitation by an alternating voltage, a dielectric layer covering the at least two piezo-electric electrodes, and a conductive layer covering the dielectric layer ami protecting the piezo-electric device from capacitive effects of the downhole fluid.
  • tile piezo-electric device includes an anti-corrosive layer positioned over the conductive layer.
  • the conductive layer can be composed of a thin metallic film.
  • die conductive layer is composed of a thin metallic film.
  • the electromechanical resonator can be implemented using a piezo-electric device, having at least two electrodes, and a dielectric layer covering the at least two electrodes, the conductive layer enclosing the dielectric layer.
  • the electromechanical resonator can include an anti -corrosive layer over the conductive layer.
  • Figure I illustrates an oscillator circuit according to a first arrangement
  • Figure 2 illustrates electrical waveforms recorded within an oscillator of the first arrangement
  • Figure 3 illustrates an oscillator circuit according to a second arrangement
  • Figure 4 illustrates a tuning fork resonator
  • Figure 5 illustrates an example of measured viscosity data
  • Figure 6 illustrates an example of measured density data
  • Figure 7 illustrates the Butterworth-Van Dyke model for piezoelectric resonators
  • Figure 8 illustrates an oscillator circuit where a variable negative resistance is simulated and controlled in a feedback loop to maintain a constant oscillation amplitude
  • Figure 9 shows the addition of parallel and series electrical impedances to the resonator as can be required to enable the inventive circuit to oscillate when the resonator is in liquids or otherwise has large damping;
  • Figures 10A and 10B illustrate two of the vibrational modes of a tuning folk oscillator and Figures IOC and 10D illustrate tuning fork response under in-plane shear actuation with external piezoelectric transducer with the arrows pointing in direction of actuation;
  • FIGS 11 A-C illustrate a three electrode (INPUT, GROUND, OUTPUT) tuning fork configuration and response for decoupling of drive from seising signal;
  • Figures 12A-C illustrate a double-sided (back and front) three electrode (INPUT, GROUND, OUTPUT) tuning fork configuration and response for decoupling of drive from sensing signal;
  • Figure 13 is a differential electrical circuit diagram with the tuning fork block representing the electromechanical model of the tuning fork with the parasitic capacitance, Cl .
  • Figure 14 shows an analogous resonator circuit for a piezoelectric electromechanical resonators in which Lt is an effective inductance representing mechanical inertia of the resonator.
  • Figures S5A and 15B ate graphs of current amplitude versus frequency that illustrate ideal resonance in terms of amplitude of output current (FIG. ISA) and phase shift (FIG. 15B) when the additional capacitances are not taken into account.
  • Figures ISC and 15D are graphs of current amplitude versus frequency that illustrate parasitic capacitances (Cp, Cm, Cd in FIG. 14) in low and high damping cases (i.e., small and large Rt).
  • Figures 16A and I6B are graphs of current amplitude versus frequency response of a resonator with varying parasitic capacitance and damping in the case of differential output.
  • FIG. 17 shows an exemplary embodiment of a piezoelectric tuning fork resonator 1700 according to the present invention.
  • Figure 18 is another embodiment of a differential electrical circuit that provides automatic gain control.
  • a small, fast, and accurate sensor capable of measuring viscosity and density and mounted on a platform which enabled it to obtain measurements at various depths along a producing well can, for example, be used to 1) map the PVT characteristics of downhole fluids and identify the locations where the dew point, bubble point, and/or other important state changes and transitions in the fluid properties occur along the wellbore, 2) map the PVT characteristics of a dispersed fluid-fluid (emulsion), solid-fluid (suspension), gas-fluid (foam) system through rapid measurement of changes in density and viscosity 3) determine more accurately the true Viscosity and density of the reservoir fluids at reservoir conditions, and 4) determine separate phase densities and viscosities and a time series of the instantaneous phase present at tiro sensor in a multi-phase flow, from which the flow regime, the shapes and sizes of the flow structures of each phase, and the volume flow rates of each phase
  • the device comprises a platform for positioning the sensor at a desired depth in an subterranean well, an electromechanical resonator, an oscillator circuit which incorporates the electromechanical resonator as its frequency-defining element, and a microcontroller which measures the frequency (or period) of oscillation of the oscillator circuit and measures the damping of the oscillation.
  • the electromechanical resonator defines the resonant frequency of the oscillator circuit, as opposed to conventional arrangements which have an oscillator circuit which is distinct from the resonator and must be tuned until the resonance frequency of the electromechanical resonator is found.
  • the embodiment is also different in that the damping of the oscillation or other energy loss parameter is measured directly to determine the energy losses or damping caused by the fluid contacting the resonator.
  • An oscillator circuit typically comprises an amplifier with at least one feedback path from the output of the amplifier to an input of the amplifier.
  • a frequency defining element (such as a quartz crystal) is typically included along one such feedback path in such a way as to cause a sustained oscillation at the resonance frequency of the frequency-defining element This sustained oscillation is produced when the total phase shift around the loop including the frequency defining element and the amplifier is 360 degrees or a multiple thereof and the gain around the loop including tire frequency defining element and tire amplifier is no less than 1.
  • incorporating the resonator into the oscillator circuit as the frequency-defining element means that significant energy becomes stored in the resonator, which provides a strong signal for measuring the damping due to the surrounding fluid.
  • driving the resonator whh an impulse or step function to observe its resonance frequency and damping produces a much smaller signal as only a small fraction of the energy in the impulse or step function would be within the resonant frequency band of the resonator.
  • incorporating the resonator into the feedback loop of an amplifier in the oscillator circuit provides an opportunity with efficient circuit design to utilize the same amplifier to provide amplification of the sensor signal during the damping measurement.
  • the damping is determined by briefly ceasing to electrically drive the resonator so that the oscillation decays in amplitude and the rate of the amplitude decay can be measured. For instance, this can be achieved using a NAND-gate based oscillator circuit, as shown in Figure 1 and described in more detail below.
  • An envelope detector circuitry can be employed to provide die oscillation amplitude which can then be digitized and fit to an exponential decay curve to determine the damping coefficient
  • two voltage comparators and a timer can be used to determine how long it takes the envelope to decay between two reference voltage levels and this time can be used to determine the damping coefficient
  • constant oscillation amplitude can be maintained by using an automatic gam adjustment circuitry that sets the gain of tike previously mentioned amplifier in the closed loop.
  • the gain of the automatic gain control amplifier can be determined by digitizing the gain adjustment signal which controls its gain and using a prior calibration measurement relating die gain adjustment signal to the amount of gain that the amplifier produces.
  • the senor can comprise an electromechanical device, which is in contact with the fluid, and which is a component of the circuit which drives and detects the oscillatory motion of the device, as a function of tin», as the sensor interacts with the fluid.
  • the motion of the electromechanical device is influenced by the fluid and a quantitative relation is established directly between the fluid viscosity and density and the resonant frequency and damping of the electromechanical resonator.
  • the fluid viscosity and density are well known functions of temperature and pressure (as for example with methane)
  • a direct relation between frequency and damping can be established with the temperature and pressure of die fluid, allowing real-time knowledge of its thermodynamic state and other properties related to this state (bubble-point, dew-point, GOR, etc.).
  • a piezoelectric tuning folk can be used as die electromechanical oscillating device.
  • a suitable piezoelectric tuning fork is described in U.S. Patent No. 7,562,557 to Bennett, et aL, which is hereby incorporated by reference in its entirety.
  • the invention is not limited to a particular resonator element as long as it can be integrated into an oscillator circuit as part of the oscillator itself.
  • the mechanical properties of the fork which is a two terminal device, can be described by the Butterworth-Van Dyke model (shown in Figure 7) as a series resistance (R), inductance (L) and capacitance (C) circuit (RLC circuit) representing» respectively, the mechanical damping, mass» and compliance of the device, with a parallel capacitance (CO) which represente the electrical capacitance of the device including the capacitance between the electrodes of the device, including any stray capacitance between the electrical leads and capacitance due to the dielectric medium surrounding the device.
  • This model represents a resonant system and establishes a direct relation between the mechanical and the electrical domain through the piezoelectric action.
  • the preferred resonator design utilizes a choice of piezoelectric material, shape, and dimensions to minimize CO relative to C.
  • the preferred resonator also maintains a high Q factor (quality factor) of the resonance when in liquids, for example, by having reduced contact area with the liquid.
  • an inductor or a circuit which simulates the action of an inductor can be placed in parallel or series with the resonator to cancel the action of CO near the resonant frequency, thus making it easier for the oscillator circuit to resonate when the fork is in a highly viscous liquid.
  • a reference capacitor that has an identical or very similar capacitance with the piezoelectric oscillator’s parasitic capacitance can be used in a differential measurement scheme (Fig. 13).
  • identical input signals are fed to the piezoelectric resonator and the reference capacitor, and their outputs are subtracted from each other to cancel out the parasitic capacitance contribution.
  • the electromechanical response signal is very small compared to the parasitic signal, subtraction and amplification can enable oscillation even 1 ⁇ 2 a high damping environment
  • a differential amplifier can be used for subtraction.
  • the reference capacitor can be a second toning fork with its folks clamped or held by epoxy.
  • a near identical capacitor can be made by patterning electrodes on the same type of piezoelectric substrate with the same geometry as the electromechanical resonator that does not have the tuning folk shape; thus, it does not possess any resonance frequency around foe tuning fork's resonance frequency.
  • driving and sensing functions of foe electromechanical resonator can he decoupled, This can be done using different physical effects for driving and sensing such as using various combinations of transductions between electrical, magnetic, mechanical and optical domains. Or, if foe same transduction method is used for driving and sensing, decoupling can be also done by spatially separating the regions of driving and sensing. Depending on the used transduction foe necessary separation length may differ. In the specific example of piezoelectric tuning fork, it can be driven to its resonance by several means and resulting mechanical deformation on the piezo material can be sensed as a voltage output via foe patterned electrodes.
  • foe turning fork can be rigidly mounted on a mechanical shaker, such as a shearing piezo transducer. Applying an electric signal to the shearing piezo at the resonance frequency of foe tuning fork, foe motion of foe shearing piezo can be mechanically coupled to foe tuning foik and the tuning fork’s resonance mode can be excited. As foe tuning fork deforms, it produces a spatial charge distribution along its piezoelectric crystal which can be picked up as a voltage difference between foe patterned electrodes on foe tuning fork.
  • the coupling efficiency of foe initial motion to the desired resonance frequency depends on the orientation of the tuning fork with respect to the direction of motion of the shearing piezo and foe stiffness of the bonding between foe two bodies.
  • shearing motion direction should be orthogonal to foe scissoring motion direction as shown in Figures 10A-D.
  • foe electrodes can be patterned on the tuning fork so that driving and sensing can be performed by far electrodes as in Figures I IA-C.
  • the resonator is incorporated into an oscillator circuit, which is then tamed on.
  • the oscillator circuit can include die circuits of Figures 1 and 3, which are described in more detail below.
  • f is the phase of oscillation
  • the decay time constant, t is related to die damping by the fluid
  • the frequency, ⁇ o, 1 ⁇ 2 related to the effective mass of the resonator including die added mass of fluid dragged by the resonator.
  • oscillator circuits can be adapted to work with the electromechanical resonator sensor.
  • the oscillator circuit must be able to oscillate for all environments in which measurements are to be obtained.
  • the Q (i.e., quality factor) of the resonator is small (e.g. on the order of 10), and some oscillator circuits may not provide enough amplification to sustain an oscillation.
  • additional amplification can be employed. For example, if an unbuffered logic gate is not able to provide sufficient amplification to sustain oscillation in lossy environments, it can be replaced with a buffered logic gate or with multiple logic gates in series to provide the additional amplification requited for oscillation.
  • an additional impedance such as a reactance can be added in parallel and / or in series with the resonator to provide the additional phase shift
  • an impedance Zp is added in parallel with tire resonator X
  • an impedance Zs is added in series with the resonator X.
  • the“SENSOR” shown by the crystal schematic symbol in Figure 1 and Figure 3 includes both the electromechanical resonator and the parallel and/or series impedance that must be added to the resonator to cause the circuit to oscillate in the fluids of interest.
  • the impedance can be added as networks of one or more resistors, capacitors, and inductors or as active circuits which emulate the current-voltage relationships of these networks. Active circuits have certain advantages as they can create current-voltage relationships which cannot be created by passive components such as a "negative resistor.” Small active circuits can also emulate relationships where the corresponding passive component would be much larger, such as when emulating a large inductor. In one embodiment, in the circuit shown in Fig.
  • an oscillator circuit suitable for use in connection with the present invention includes a means to cause it to stop driving the electromechanical resonator so that the decay of the oscillation can be observed.
  • the feedback loop containing the electromechanical device can be opened, or other circuit components in the oscillator circuit opened, shorted, or otherwise changed so that the resonator changes from a driven state to an undriven state.
  • the circuitry of the oscillator circuit, or separate circuitry can include a means to measure the frequency of oscillation and a means to measure the decay fate of the oscillation. Two such embodiments are discussed below.
  • a circuit 100 includes a NAND logic gate 1Q2 configured, as described below, as an amplifier, resistors 104 and 106, and capacitors 108 and 110 connected around a“sensor” 112 which comprises an electromechanical resonator that both forms a part of the oscillator circuit in order to define the oscillation of the circuit and which is configured to be in direct contact with a fluid to be measured, such that the effect of the fluid on the behavior of the resonator can be measured to determine characteristics of the fluid.
  • the gain in the oscillator circuit 100 is provided by the NAND logic gate (Ul) 102, that is, the NAN ⁇ /logic gatecriticals as an amplifier for the circuit.
  • the oscillator is disabled by a logical low level on the ON/OFF* input and enabled by a logical high level on the ON/OFF* input
  • This input can be supplied by a digital output from a microcontroller, for example, to control whether the oscillator circuit is in a driven or undriven mode. After oscillation, the undriven mode is suitable for gathering damping data and determining fluid characteristics, such as using the formulas noted above or other equations that benefit from the damping data.
  • The“TO TIMER" output of die circuit has a square wave at the frequency of oscillation. This output can be provided, for example, to a timer input of the microcontroller so that die frequency of the oscillation can be accurately measured by the timer system of die microcontroller.
  • the "TO ADC" output of the circuit can be provided to an anaiog-to-digital converter to sample the decaying oscillation and determine the damping, if desired.
  • Figure 2 shows an output graph 200 that includes two waveforms 202 and 204 from the circuit 100.
  • the ON/OFF* input is high 206
  • the oscillation begins, eventually reaching a stable amplitude as can be seen in waveform 202.
  • the NAND gate is disabled, and the oscillation decays, as shown in the waveform 204.
  • the waveform at TO ADC output is shown at 202, 204.
  • FIG. 3 shows another embodiment in which circuit 300 is provided.
  • the circuit 300 includes an analog switch 302, an operational amplifier 304, resistors 306, 308, and 310, and diodes 312 and 314.
  • the circuit 300 includes a‘"sensor” 316 which comprises an electromechanical resonator both forms a part of the oscillator circuit in order to define the oscillation frequency of the circuit and which is configured to be in direct contact with a fluid to be measured, such that the effect of the fluid on the behavior of the resonator can be measured to determine characteristics of the fluid.
  • the gain in the oscillator circuit 300 is provided by the operational amplifier (op amp) (U2) 304.
  • the analog switch U3 302 When there is a logical low level at the ON/OFF* input, the analog switch U3 302 is open and the oscillation is trot driven (i .e. it decays). In this mode, the op amp 304 functions as a current-to- voltage converter, providing a voltage on the TO ADC output that is proportional to the decaying current oscillation from the sensor. When there is a logical high level on the ON/OFF* input, the analog switch U3 302 is closed allowing positive feedback which causes a sustained oscillation at the resonant frequency of the sensor.
  • the ON/OFF* input can be supplied by a digital output from a microcontroller.
  • the "TO ADC" output of the circuit can be provided to an analog-to-digital converter which samples fee sustained and decaying oscillations and enables a processor to determine the frequency of oscillation and fee decay time.
  • Diodes 312 and 314 (D1 and D2) prevent the op amp output from being driven into saturation. Without these diodes, there would be a reduction in oscillation frequency due to fee time it takes the op amp to come out of saturation.
  • the damping is determined based on the amount of negative resistance which must be added in series or parallel with the resonator to sustain the oscillation at constant amplitude (e.g., the circuit of Figure 3 can be modified to accomplish this operation, where the resistor (308)— which defines die negative resistance— is replaced by a variable resistance device, such as an N-channel enhancement mode MOSFET, and die gate voltage of the MOSFET (which determines the drain-source resistance in the linear region of operation) is adjusted to keep the amplitude of the amplifier output constant.
  • Figure 3 thus shows a circuit of an oscillator using an operational amplifier.
  • the resistance which the MOSFET is supplying, and, therefore, the negative resistance required to keep the oscillation amplitude constant can be determined by sampling the gate voltage on the MOSFET).
  • the damping is determined based on the amount of power that must be added to the resonator to sustain the oscillation at constant amplitude.
  • the damping is determined based on the amount of gain that must be applied in die feedback loop containing the resonator within the oscillator circuit to sustain die oscillation at constant amplitude.
  • Suitable platforms that can deliver a sensor to a desired location or set of locations in a producing well include wireline tools, as are known to persons skilled in the art, un tethered sensors, as described in co-pending United States Patent Application No. 15/143,128, filed on April 29, 2016, entitled METHOD AND DEVICE FOR OBTAINING MEASUREMENTS OF DOWNHOLE PROPERTIES IN A SUBTERRANEAN WELL, which is hereby incorporated by reference as if set forth in its entirety herein, or on network nodes at different depths in a permanently deployed network of sensors disposed within the well
  • the structure of the device makes it particularly useful for remote, downhole operations as the device can be made to fit into a small package (e.g., resonator and circuit can fit in less than 1 cc volume), and consume little power (e.g., approximately 1 micro Joule per measurement).
  • the circuit of Figure 3 is modified as shown in Figure 8 to implement automatic gain control.
  • the resistor (308 in Figure 3) which sets the negative resistance seen at the non-inverting input of the operational amplifier can be replaced by an N- type enhancement mode MOSFET, in which the gate voltage supplied to the MOSFET is the gain control voltage and is the output of an envelope detector applied to the oscillation at die operational amplifier output.
  • the MOSFET gate gets a voltage that depends on the amplitude of the oscillation. If the amplitude of the oscillation decreases, the gate voltage will decrease. This will increase the drain-to-source resistance of the MOSFET increasing the negative resistance added to the resonator and increasing the amplitude of the oscillation.
  • the negative resistance required to maintain die constant amplitude oscillation can be determined by measuring the gate voltage applied to the MOSFET combined with a calibration curve that gives the drain-source resistance of the MOSFET as a function of its gate voltage.
  • a hardware processor can execute or otherwise implement code therein to identify resistance from a calibration curve (or a function that represents the calibration curve), based on the measured gate voltage.
  • the circuit alternatively can be configured to drive the resonator such that the oscillation is initially established and at least briefly sustained, and then ceases to drive the resonator such that the oscillation is permitted to decay (e.g., using the circuit of Figure 1 , for example) so that a decay measurement can be taken or otherwise completed
  • die gain of the circuit is adjusted to maintain a constant amplitude of oscillation and the amount of gain required is measured as an indicator of the amount of damping. This is because greater dairying requires greater gain to sustain a constant oscillation.
  • a circuit is configured to simulate a“negative resistor” connected to the resonator.
  • the amount of negative resistance is adjusted automatically to maintain a constant amplitude oscillation, and the amount of negative resistance required is measured as an indicator of the damping. This can be employed because a greater negative resistance is required to offset a greater damping energy loss which can be thought of as a (positive) resistor internal to the resonator.
  • the variable resistor circuit can be as shown in Figure 8, in which the adjustable resistor is actually the drain-source resistance Rns of a MOSFET, which is adjusted by the gate voltage of the MOSFET.
  • the gate voltage of the MOSFET in this embodiment is generated by an envelope detector on the amplifier output, so that a larger amplitude output results in a larger gate-source voltage and therefore a smaller Ros which causes the oscillation amplitude to decrease until a Rus becomes exactly right to offset the damping in the resonator.
  • the gate voltage is sampled by an A/D converter in the microcontroller which can be related to die value of Ros and therefore the amount of damping in the resonator, for instance, using code executing within the microcontroller which relate the values just described.
  • the frequency of the oscillation can also be measured by the microcontroller. From this measurement and the value of RDS, the frequency which the undriven decaying oscillation has can be calculated.
  • a system and method can also measure temperature and pressure in addition to density and viscosity of all fluids present in a multiplicity of locations along a well bore.
  • the temperature and pressure measurements are implemented by including temperature (for example RTD) sensors and pressure transducers that are commercially available. Their readings are measured by an analog-to-digital converter that interfaces to the microcontroller in the device such that temperature and pressure data can be recorded or transmitted along with density and viscosity.
  • viscosity is not plotted in PVT diagrams, it can be used as an indicator of when a particular state change, bubble point, dew point, etc. has occurred.
  • An untethered sensor ball (such as the one described in the co-pending United States Patent Application No. 15/143,128, referenced above, for example) provides an inexpensive solution for measuring fluid properties at all pressures and temperatures between the surface and any given reservoir depth. By measuring temperature, pressure, and the density and viscosity of all fluid phases that are encountered while traveling down the well from the surface to the selected reservoir depth, the device, methods and system of the present invention can reconstruct the viscosity and phase diagram information for the produced fluids along the most important pressure - temperature trajectory, i.e., that found in the wellbore.
  • the oscillator circuit incorporates an electromechanical resonator disposed within the feedback loop of the circuit such that the resonant frequency of the resonator defines the oscillation frequency of the oscillator circuit.
  • the resonator also contacts the fluid to be measured.
  • This arrangement allows the resonant frequency to be determined much faster as compared to other systems in which the resonator is separate and distinct from the oscillator circuit that drives it Accordingly, die arrangement disclosed herein allows for increased speed of measurement. The increased speed of measurement is beneficial in many respects. For example, in a producing well there are often multiple fluids entering the well.
  • the increased speed of measurement results in an increased number of measurements which allows one to distinguish between multiple fluid types in a producing well and determine correct viscosity for each fluid type.
  • systems that have slower measurements provide less accurate results as the sensor can be in more than one fluid type during the time of the measurement.
  • the increased speed of the system and method described herein allows one to resolve separate fluids in a multiphase flow in a producing well.
  • slower sensors will blur fluid properties over the various fluids they encounter during the measurement time.
  • the increased speed of the sensing allows for the determination of composition and structure of multiphase flows.
  • the increased speed of the sensor allows for multiple, fast measurements that allow one to sense and perceive separate fluid phases in die downhole fluid while other sensors don't respond fast enough to provide the necessary granularity in the data to perceive the separate fluid phases.
  • the sensor can be in a different fluid type every few milliseconds as bubbles of oil, gas and brine rush past.
  • the system includes a tuning fork 400 as the electromechanical resonator (i.e., a wired tuning fork oscillator).
  • a foil characterization of the tuning fork was performed under simulated downhole conditions of pressure and temperature.
  • the device was actuated and sensed piezo electrically using a lock-in amplification technique as well as a direct frequency response measurement of its impedance. Resonance peaks were obtained and fitted with the peak width, amplitude and resonance frequency as fitting parameters. Petit width and frequency allow for foe extraction of foe damping and added mass of foe oscillator in foe fluid.
  • a hydrodynamic model was developed to calibrate the resonance response with the viscosity and density of a test fluid.
  • foe sensor was activated in different fluids (air, water, mineral oil, hydraulic oil) and the calibration parameters were obtained.
  • the device was later tested at different conditions of pressure and temperature to simulate downhole conditions (see Figure 5 and Figure 6). More specifically, Figure 5 shows foe results for foe measured viscosity of ISO 15 hydraulic oil at high pressures and high temperatures and Figure 6 shows foe results for the measured density of ISO 15 hydraulic oil at high pressures and high temperatures.
  • the device was found to be appropriate for measuring viscosity in the ranges of interest (up to 50 cP).
  • FIG. 14 shows an analogous resonator circuit in which Lt is an effective inductance representing mechanical inertia of the resonator, Ct is an effective capacitance representing a mechanical spring constant and Rt is an effective resistance representing mechanical damping.
  • the two electrodes of the resonator also form an electrical capacitor, so that foe analogous resonator circuit needs to account for the electrical coupling as well to accurately model foe resonator.
  • Cp is foe parasitic capacitance in this arrangement, which is foe effective capacitance through foe piezoelectric crystal.
  • Cd is foe capacitance through foe dielectric coating
  • Cm is foe capacitance through the fluid medium in which foe resonator is intended to be used.
  • Rd and Rm are effective resistances of foe dielectric and medium, respectively.
  • Figures 15A and 1SB illustrate ideal resonance in terms of amplitude of output current (Figure 15 A) and phase shift (Figure 15B) when foe additional capacitances are not taken into account.
  • Figure 15B at resonance, foe phase shift is zero, i.e., no phase shift lag is observed.
  • the output current is the sum of currents due to the mechanical system and the parasitic capacitance.
  • mechanical damping is large (i.e. in liquid)
  • the current passing through the parasitic capacitor dominates and the resonance behavior becomes indistinguishable.
  • Figures 15C and 15D show die effect of parasitic capacitances (Cp, Cm, Cd in FIG. 14) in low and high damping cases (i.e., small and targe Rt). Particularly when a closed loop system is used, it is important to obtain a clear resonance peak with a zero-phase difference. As shown in Figures 15C and 15D, when parasitic capacitance and high damping dominates, resonance behavior lades and the zero-phase crossing does not occur.
  • a differential circuit can aid in removing the effects of parasitic capacitance.
  • the differential circuit 1300 includes the tuning fork resonator 1302 and a reference capacitor 1304.
  • the electrical output of the resonator 1302 is fed into a first input of a differential amplifier 1306, mid the electrical output of the reference capacitor is fed into a second input of differential amplifier 1306.
  • the output of the differential amplifier is ditto proportional to the difference between the output of the resonator 1302 and the reference capacitor 1304.
  • a large output from the differential circuit 1300 implies a large difference in ou3 ⁇ 4)ut between die resonator and reference capacitor. This signal can then be used both to determine and to compensate for the differences in capacitances between the resonator 1302 and the reference capacitor 1306.
  • FIGS 16A and I6B show an example frequency response of a resonator with varying parasitic capacitance and damping in the case of differential output Cm2 represents parasitic medium capacitance of the reference.
  • the parasitic medium capacitance of the resonator is defined as 5pF.
  • the resulting current output does not show a peak at the resonant frequency or a zero phase-shift at the resonant frequency.
  • the reference capacitor needs to be adjusted for each change in medium and this makes it difficult to consistently maintain a zero-phase difference between the feedback signal and the electromechanical response in a closed-loop system.
  • the microprocessor 1830 increases the gam until the comparator outputs a pulse train which indicates that the oscillation voltage amplitude hi larger than the reference voltage. Then microprocessor determines the pulse width and frequency of the pulse train by accurately timing captured rise and fall events, allowing the duty cycle to be accurately measured. For a sinusoidal oscillation the amplitude of the oscillation is analytically related to the duty cycle and selected voltage reference. According to the known relationship, a control algorithm (e.g. proportional-integral-derivative control) implemented by the microprocessor can maintain a constant duty cycle by adjusting the feedback gain. The gain value can be used as a measure of damping.
  • a control algorithm e.g. proportional-integral-derivative control
  • FIG. 17 shows an exemplary embodiment of a piezoelectric tuning fork resonator 1700 according to the present invention.
  • the resonator includes several material layers.
  • an electrode 1702 which is made of a conductive material coupled to control circuitry for operating the resonator (not shown).
  • a non-conductive dieletric layer 1704 Positioned above the electrode is a non-conductive dieletric layer 1704, and a conductive coating 1706 is positioned over the dielectric layer 1704.
  • the dielectric layer 1704 and the conductive coating 1706 can be coated onto the electrode 1702 by various deposition techniques including, for example, sputtering, physical vapor deposition, chemical vapor deposition, or electroplating can be used.
  • the materials of the dielectric layer 1704 and conductive layer 1706 are mutually selected to ensure adhesion between the layers.
  • Thin adhesion promoting films such as titanium or chromium can be deposited between layers. It is preferable for the dielectric layer 1704 to be uniform, which can be achieved using chemical vapor or atomic layer deposition methods.
  • the dielectric material can be silicon dioxide, aluminum oxide, or silicon nitride but not limited to them. Indium tin oxide (IT0), gold, aluminum are potential candidates for the conductive layer.
  • the conductive layer 1706 functions to block electrical interactions with the fluid medium and to thereby improve the sensor reliability and robustness in varying environments, particularly in conductive media.
  • the material of the conductive layer is selected to have corrosion-resistance properties as well.
  • an additional protective coating can be used for conformal encapsulation of the conductive and dielectric layers 1706 so as to prevent the corrosion, abrasion, and erosion of the dielectric and conductive materials in harsh environment.
  • Silicon carbide is one of a group of materials that can be used to encapsulate the conductive layer.

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Geology (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Mining & Mineral Resources (AREA)
  • Chemical & Material Sciences (AREA)
  • Biochemistry (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geochemistry & Mineralogy (AREA)
  • Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Analytical Chemistry (AREA)
  • Fluid Mechanics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
  • Measuring Fluid Pressure (AREA)
  • Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)
  • Apparatuses For Generation Of Mechanical Vibrations (AREA)

Abstract

An apparatus for determining properties of an uncharacterized downhole fluid. The apparatus comprises an oscillation driver circuit comprising an. amplifier having an output and an input, a feedback loop between the output and input of an amplifier or a logic gate, an electromechanical resonator disposed within the feedback loop such that a the resonator is driven by the oscillation driver circuit, wherein a resonant frequency of the resonator defines an oscillation frequency of the oscillator circuit, and a switch device for causing the oscillator circuit to stop driving the resonator, which thereby enables observation of a decay rate of the oscillation of the electromechanical resonator within the uncharacterized fluid. The electromechanical resonator is enclosed in a conductive layer to protect the resonator against capacitive· effects of the downhole fluid.

Description

METHOD FOR CAPACITIVE CANCELLATION OF TUNING FORK FOR FLUID
PROPERTY MEASUREMENTS
FIELD OF THE INVENTION
[0001] The present invention relates generally to the field of petroleum engineering, and more particularly relates to a method for cancelling the effects of parasitic capacitance in electromechanical devices for obtaining in situ measurements at a subterranean well of the viscosity and density of downhole fluids.
BACKGROUND OF THE INVENTION
[0002] A multiplicity of hydrocarbons, brines, other liquids and gases and supercritical fluids, slurries, foams and emulsions are produced from, found in, used in the construction of, or injected into subterranean wells. These fluids will be known collectively as downhole fluids. Knowledge of the physical properties of these fluids, such as their density and viscosity, is critical to Ae drilling, completion, operation, and abandonment of wells. These wells may be used for recovering hydrocarbons from subsurface reservoirs, injecting fluids into subsurface reservoirs, and monitoring Ae conditions of subsurface reservoirs.
[0003] Fluids include matter in its liquid, gaseous, and supercritical states. Downhole fluids include one or mote fluids produced from the earth such as hydrocarbons, brines, and other fluids occurring in subsurface reservoirs, as well as fluids such as brines, carbon dioxide, and methane which may be injected into the subsurface to enhance production of hydrocarbons or for disposal purposes. Downhole fluids also include slurries containing liquid and solid components like drilling mud and cement which are used in the construction of wells. One or more downhole fluids may be found simultaneously within a subterranean well, as in a multiphase flow, and they may interact forming emulsions and foams. Downhole fluids will also be understood to include substances which are fluids at reservoir temperature and pressure even if they may be solids at colder temperatures nearer to the surface.
10004] Downhole fluid properties include the viscosity and density of the individual fluid phases as well as the effective viscosity and density of the aggregate fluid consisting of multiple fluid phases. Newtonian fluids are well characterized by a single viscosity. In non- Newtonian fluids, such as slurries, the viscosity may vary with the flow conditions, for example with the stress or Shear rate applied to the fluid. Properties of non-Newtonian fluids also include rheological parameters that describe this dependence of velocity on flow conditions.
[0005] Downhole fluid properties are known to vary with temperature and pressure, and the characteristics of this variation is an important property of the downhole fluid. This variation is described, for example, by the PVT (Pressure-Volume-Temperature) characteristics of the fluid which describe how the density varies with pressure and temperature, or by the viscosity variation with pressure and temperature. As pressure and temperature of a fluid changes, the fluid may undergo state changes, for example condensing from a gas to a liquid (e.g., at the dew point), boiling from a liquid to a gas, or transitioning to a supercritical or non-supercritical state. Other types of downhole fluids include structured fluids or dispersions such as emulsions, suspensions and foams, which may undergo structural changes as a function of pressure, temperature, concentration or other chemical or thermodynamic variables. These changes may be detected dynamically as changes in their viscosity and/or density For instance, one fluid may be dissolved in another and the pressure and temperature conditions under which a fluid becomes dissolved or ceases to be dissolved fe.g., the bubble point) or where solids may precipitate from a fluid is an important property of the fluid. The depth or location in a well where these state changes and this dissolution and precipitation occur is critical information for optimally producing fluids from the well or injecting fluids into the well. Additionally, the density (or API gravity) and viscosity of oil is indicative of its type and value and, as a function of depth, may be used to understand reservoir structure and compartmentali zation. Asphaltene content may also be inferred from viscoelastic properties of the produced hydrocarbons. Understanding the PVT characteristics of produced fluids is also important for optimizing surface facilities design, including deciding the optimal pressure for surface separators. State change, dissolution, and precipitation are generally accompanied by a change in viscosity and density of the fluid so that a measurement of viscosity and density as a inaction of pressure and temperature can identify the temperature and pressure at which these changes occur.
[0006] Determining die viscosity and density of fluids in a subsurface reservoir provides important data for optimizing production and reservoir models. Typically, produced fluids are sampled at the surface. Then, in a laboratory, downhole temperature and pressure conditions are applied to the samples and their viscosity, density, and Other properties are measured. However, when hydrocarbon liquids from the reservoir are brought to surface temperature and pressure (e.g., as they travel up a well) dissolved gas is released and asphaltenes may precipitate. These changes can be difficult to accurately reverse in the laboratory, so that the viscosity measured in the laboratory may be different from the viscosity that the fluids had in the reservoir, even if the laboratory measurement is made at reservoir temperature and pressure. Furthermore, the process of acquiring samples at a well, transporting them to a laboratory, and making measurements there is costly and time consuming. In addition, the need to transport samples to a lab to acquire fluid properties data prevents these data from being used in real time to respond to changing conditions at the well. Accordingly, there is a need for a sensor that can make an in situ measurement of downhole fluid viscosity and density in downhole or field conditions.
10<N17j The viscosity and PVT characteristics (or phase diagram) of dowphple fluids are typically measured in laboratories and these measurements are used to infer the viscosity and (tensity of the fluid in the reservoir and along the wellbore, and to infer where significant transitions such as state changes, bubble points, and dew points will occur, However, due to die irreversible changes that can occur in fluids as they are brought to the surface as well as uncertainty around exactly where certain conditions of pressure and temperature will be met in the actual well, these inferences may be inaccurate. See Freyss, Henri et al., "PVT Analysis for Oil Reservoirs’· RESERVOIR ENGINEERING, The Technical Review, Vol. 37 Number 1, Pages 4-15 Published: January 1, 1989, which is incorporated by reference in its entirety, for a discussion of the viscosity and PVT characteristics of downhole fluids in connection with hydrocarbon recovery. Accordingly, there is a need for a small, fast, and accurate sensor that can measure hydrocarbon viscosity and density along a producing well, as these data combined with temperature, pressure, and depth / location along the well can be used to determine the true locations and conditions where significant transitions occur.
[0008] Downhole fluid flows are often two-phase or multi-phase fluid flows, consisting of two or more distinct or immiscible fluids. The flow regime (e.g., slug flow, laminar flow, bubbly flow) depends on the rate of flow of the different phases as well as the viscosity and density of the phases. The flow regime dan significantly impact the effectiveness and durability of downhole equipment, such as artificial lift systems. In some flow regimes the flow rates of the different phases may be coupled white in others the flow rates may be uncoupled. Knowing the volume rate of flow of each phase is important for optimizing production and surface facilities, as well as detecting production problems such as water breakthrough. The simplest flow monitoring sensors measure the total flow rate (without distinguishing between die phases) and measure die volume percent of the different phases. The flow rates of die individual phases are determined by multiplying the total flow by the volume percent of each phase. This measurement is only accurate when all phases move at the same velocity. In some flow regimes, the different phases move at different velocities, which can lead to inaccurate measurements. Accordingly there is a need for a small, inexpensive sensor that can measure die instantaneous viscosity and density of the fluid it contacts to aid in the determination of flow regime, the relative abundance of each phase, the shape and size of the flow structures of each phase, and the degree of velocity coupling between fluid phases. Small device size is also necessary due to limited space inside wells particularly in a scenario where permanent or tetherless sensing is desired while not significantly interfering with hydrocarbon production. The invention addresses these and other needs in the art.
SUMMARY OF THE INVENTION
[0009] Embodiments of the present invention provide an apparatus for determining properties of an uncharacterized downhole fluid. The apparatus comprises an oscillation driver circuit comprising an amplifier having an output and an input, a feedback loop between the output and input of an amplifier or a logic gate, an electromechanical resonator disposed within the feedback loop such that a the resonator is driven by die oscillation driver circuit, wherein a resonant frequency of the resonator defines an oscillation frequency of foe oscillator circuit, and a switch device for causing foe oscillator circuit to stop driving foe resonator, which thereby enables observation of a decay rate of the oscillation of foe electromechanical resonator within the uncharacterized fluid. The electromechanical resonator is enclosed in a conductive layer to protect the resonator against capacitive effects of the downhole fluid.
[0010] In certain embodiments, at least one property of the uncharacterized fluid can be determined according to an observed decay rate of the oscillation of the electromechanical resonator. The electromechanical resonator can be implemented as a piezo-electric device, having at least two electrodes, and a dielectric layer covering the at least two electrodes, the conductive layer enclosing the dielectric layer. The electromechanical resonator can include an anti-corrosive layer over the conductive layer.
[0011] hi a Anther aspect of the present invention, a method and device are disclosed for determining the PVT characteristics or phase diagram of a downhole fluid, or a dispersed fluid- fluid (emulsion), solid-fluid (suspension), or gas-fluid (foam) system, In one embodiment measurements of density and viscosity are taken as the device occupies different depths in the well, such that the downhole fluid properties can be measured at the differing pressure and temperature encountered at each depth. Based on these measurements at discrete pressure and temperature points, the foil PVT characteristics or phase diagram is reconstructed by interpolation. Typically this interpolation is accomplished by selecting from a family of theoretical PVT characteristics the one which most nearly matches the measured properties along the vvelL Alternatively foe family of PVT characteristics may be empirically determined based on PVT characteristics measured m the laboratory on similar fluids; the PVT characteristic which best matches the limited set of data acquired in the well is selected from this family and assumed to describe the fluid at the well.
[0012] In some embodiments, the apparatus farther comprises a microprocessor coupled to the switch device and adapted to adjust a duty cycle and gain rate of the switch device.
[0013] Embodiments of the present invention also provide a piezo-electric device for use in determining properties of an uncharacterized downhole fluid when driven by an alternating voltage. The device comprises at least two piezo-electric electrodes formed in a tuning-fork shape, the fork portions piezo-electric electrodes operative to mechanically vibrate at a characteristic resonance frequency in response to electrical excitation by an alternating voltage, a dielectric layer covering the at least two piezo-electric electrodes, and a conductive layer covering the dielectric layer ami protecting the piezo-electric device from capacitive effects of the downhole fluid.
[0014] In certain embodiments, tile piezo-electric device includes an anti-corrosive layer positioned over the conductive layer. The conductive layer can be composed of a thin metallic film.
[0015] Further embodiments of the present invention provide a method Sir determining properties of a fluid comprising the steps of: a) exposing an oscillator circuit to an uncharacterized fluid, the oscillator circuit comprising an amplifier having an output and an input, a feedback loop between the output and input of an amplifier or a logic gate, and an electromechanical resonator disposed within the feedback loop such that a resonant frequency of the electromechanical resonator defines an oscillation of the oscillator circuit, the electromechanical resonator being enclosed in a conductive layer, b) activating the oscillator circuit such that the electromechanical resonator reaches a resonant frequency in the uncharacterized fluid; c) determining a damping ratio of the electromechanical resonator in the uncharacterized fluid when the oscillator circuit is continuously activated; and d) calculating at least one property of the uncharacterized fluid by reference to the gain or negative resistance required to keep a constant oscillation amplitude through an automatic gain or negative resistance control system.
[0016] in certain embodiments, die conductive layer is composed of a thin metallic film. The electromechanical resonator can be implemented using a piezo-electric device, having at least two electrodes, and a dielectric layer covering the at least two electrodes, the conductive layer enclosing the dielectric layer. The electromechanical resonator can include an anti -corrosive layer over the conductive layer. [0017] These and other aspects, features, and advantages can be appreciated from the following description of certain embodiments of the invention and the accompanying drawing figures and claims.
BRIEF DESCRIPTION OF THE DRAWING FIGURES
10018 j Figure I illustrates an oscillator circuit according to a first arrangement;
[0019] Figure 2 illustrates electrical waveforms recorded within an oscillator of the first arrangement;
[0020] Figure 3 illustrates an oscillator circuit according to a second arrangement;
[0021] Figure 4 illustrates a tuning fork resonator,
[0022] Figure 5 illustrates an example of measured viscosity data;
[0023] Figure 6 illustrates an example of measured density data;
[0024] Figure 7 illustrates the Butterworth-Van Dyke model for piezoelectric resonators;
{0025} Figure 8 illustrates an oscillator circuit where a variable negative resistance is simulated and controlled in a feedback loop to maintain a constant oscillation amplitude;
[0026] Figure 9 shows the addition of parallel and series electrical impedances to the resonator as can be required to enable the inventive circuit to oscillate when the resonator is in liquids or otherwise has large damping;
[0027] Figures 10A and 10B illustrate two of the vibrational modes of a tuning folk oscillator and Figures IOC and 10D illustrate tuning fork response under in-plane shear actuation with external piezoelectric transducer with the arrows pointing in direction of actuation;
[0028] Figures 11 A-C illustrate a three electrode (INPUT, GROUND, OUTPUT) tuning fork configuration and response for decoupling of drive from seising signal;
[0029] Figures 12A-C illustrate a double-sided (back and front) three electrode (INPUT, GROUND, OUTPUT) tuning fork configuration and response for decoupling of drive from sensing signal;
[0030] Figure 13 is a differential electrical circuit diagram with the tuning fork block representing the electromechanical model of the tuning fork with the parasitic capacitance, Cl .
[0031] Figure 14 shows an analogous resonator circuit for a piezoelectric electromechanical resonators in which Lt is an effective inductance representing mechanical inertia of the resonator. [0032] Figures S5A and 15B ate graphs of current amplitude versus frequency that illustrate ideal resonance in terms of amplitude of output current (FIG. ISA) and phase shift (FIG. 15B) when the additional capacitances are not taken into account.
[0033] Figures ISC and 15D are graphs of current amplitude versus frequency that illustrate parasitic capacitances (Cp, Cm, Cd in FIG. 14) in low and high damping cases (i.e., small and large Rt).
[0034] Figures 16A and I6B are graphs of current amplitude versus frequency response of a resonator with varying parasitic capacitance and damping in the case of differential output.
[0035] FIG. 17 shows an exemplary embodiment of a piezoelectric tuning fork resonator 1700 according to the present invention.
[0036] Figure 18 is another embodiment of a differential electrical circuit that provides automatic gain control.
DETAILED DESCRIPTION OF CERTAIN EMBODIMENTS OF THE INVENTION
[0037] According to a broad aspect of the present invention, the inventors recognized that a small, fast, and accurate sensor capable of measuring viscosity and density and mounted on a platform which enabled it to obtain measurements at various depths along a producing well can, for example, be used to 1) map the PVT characteristics of downhole fluids and identify the locations where the dew point, bubble point, and/or other important state changes and transitions in the fluid properties occur along the wellbore, 2) map the PVT characteristics of a dispersed fluid-fluid (emulsion), solid-fluid (suspension), gas-fluid (foam) system through rapid measurement of changes in density and viscosity 3) determine more accurately the true Viscosity and density of the reservoir fluids at reservoir conditions, and 4) determine separate phase densities and viscosities and a time series of the instantaneous phase present at tiro sensor in a multi-phase flow, from which the flow regime, the shapes and sizes of the flow structures of each phase, and the volume flow rates of each phase could be more accurately inferred.
[0038] In accordance with one embodiment of the invention, the device comprises a platform for positioning the sensor at a desired depth in an subterranean well, an electromechanical resonator, an oscillator circuit which incorporates the electromechanical resonator as its frequency-defining element, and a microcontroller which measures the frequency (or period) of oscillation of the oscillator circuit and measures the damping of the oscillation. Such an embodiment is a departure from prior art approaches in that the electromechanical resonator defines the resonant frequency of the oscillator circuit, as opposed to conventional arrangements which have an oscillator circuit which is distinct from the resonator and must be tuned until the resonance frequency of the electromechanical resonator is found. The embodiment is also different in that the damping of the oscillation or other energy loss parameter is measured directly to determine the energy losses or damping caused by the fluid contacting the resonator.
[0039] An oscillator circuit typically comprises an amplifier with at least one feedback path from the output of the amplifier to an input of the amplifier. A frequency defining element (such as a quartz crystal) is typically included along one such feedback path in such a way as to cause a sustained oscillation at the resonance frequency of the frequency-defining element This sustained oscillation is produced when the total phase shift around the loop including the frequency defining element and the amplifier is 360 degrees or a multiple thereof and the gain around the loop including tire frequency defining element and tire amplifier is no less than 1.
[0040] The inventors recognized that the circuit arrangement of including the electromechanical resonator within an oscillator circuit as the primary element which determines the frequency of the oscillation offers substantial benefits over prior art methods, including, first, that it is not necessary to search multiple frequencies to find the resonant frequency of the resonator as tire oscillator circuit begins oscillation at the required resonant frequency. This makes the measurement using the inventive method much faster than with conventional methods. Second, the total amount and complexity of circuitry required to accomplish the measurement is greatly reduced. Third, a precision oscillator capable of producing accurately controlled frequencies with fine frequency resolution is not required; the inventive circuit simply oscillates at the desired frequency, and this frequency can be measured with a simple crystal -based timer, a device already available on many small microcontrollers. Fourth, incorporating the resonator into the oscillator circuit as the frequency-defining element means that significant energy becomes stored in the resonator, which provides a strong signal for measuring the damping due to the surrounding fluid. By contrast, driving the resonator whh an impulse or step function to observe its resonance frequency and damping produces a much smaller signal as only a small fraction of the energy in the impulse or step function would be within the resonant frequency band of the resonator. Fifth, among other benefits, incorporating the resonator into the feedback loop of an amplifier in the oscillator circuit provides an opportunity with efficient circuit design to utilize the same amplifier to provide amplification of the sensor signal during the damping measurement.
[0041] There are various ways that the damping can be measured. In one embodiment, the damping is determined by briefly ceasing to electrically drive the resonator so that the oscillation decays in amplitude and the rate of the amplitude decay can be measured. For instance, this can be achieved using a NAND-gate based oscillator circuit, as shown in Figure 1 and described in more detail below. An envelope detector circuitry can be employed to provide die oscillation amplitude which can then be digitized and fit to an exponential decay curve to determine the damping coefficient Alternatively, two voltage comparators and a timer can be used to determine how long it takes the envelope to decay between two reference voltage levels and this time can be used to determine the damping coefficient Alternatively, constant oscillation amplitude can be maintained by using an automatic gam adjustment circuitry that sets the gain of tike previously mentioned amplifier in the closed loop. In this alternative measurement technique, there is no need to stop the oscillation to measure die decay time; instead, the amount of gain needed to sustain the constant amplitude can be used to determine the damping coefficient due to the fluid surrounding the electromechanical resonator. The gain of the automatic gain control amplifier can be determined by digitizing the gain adjustment signal which controls its gain and using a prior calibration measurement relating die gain adjustment signal to the amount of gain that the amplifier produces.
[0042] According to one embodiment, the sensor can comprise an electromechanical device, which is in contact with the fluid, and which is a component of the circuit which drives and detects the oscillatory motion of the device, as a function of tin», as the sensor interacts with the fluid. The motion of the electromechanical device is influenced by the fluid and a quantitative relation is established directly between the fluid viscosity and density and the resonant frequency and damping of the electromechanical resonator. Alternatively, if the fluid viscosity and density are well known functions of temperature and pressure (as for example with methane), a direct relation between frequency and damping can be established with the temperature and pressure of die fluid, allowing real-time knowledge of its thermodynamic state and other properties related to this state (bubble-point, dew-point, GOR, etc.).
[0043] In particular, a piezoelectric tuning folk can be used as die electromechanical oscillating device. One example of a suitable piezoelectric tuning fork is described in U.S. Patent No. 7,562,557 to Bennett, et aL, which is hereby incorporated by reference in its entirety. However, the invention is not limited to a particular resonator element as long as it can be integrated into an oscillator circuit as part of the oscillator itself. The mechanical properties of the fork, which is a two terminal device, can be described by the Butterworth-Van Dyke model (shown in Figure 7) as a series resistance (R), inductance (L) and capacitance (C) circuit (RLC circuit) representing» respectively, the mechanical damping, mass» and compliance of the device, with a parallel capacitance (CO) which represente the electrical capacitance of the device including the capacitance between the electrodes of the device, including any stray capacitance between the electrical leads and capacitance due to the dielectric medium surrounding the device. This model represents a resonant system and establishes a direct relation between the mechanical and the electrical domain through the piezoelectric action. When CO is much larger than C, it becomes difficult to make a highly damped resonator (such as a resonator in a viscous liquid) oscillate. Accordingly, the preferred resonator design utilizes a choice of piezoelectric material, shape, and dimensions to minimize CO relative to C. The preferred resonator also maintains a high Q factor (quality factor) of the resonance when in liquids, for example, by having reduced contact area with the liquid. Additionally, an inductor (or a circuit which simulates the action of an inductor) can be placed in parallel or series with the resonator to cancel the action of CO near the resonant frequency, thus making it easier for the oscillator circuit to resonate when the fork is in a highly viscous liquid. Alternatively, a reference capacitor that has an identical or very similar capacitance with the piezoelectric oscillator’s parasitic capacitance can be used in a differential measurement scheme (Fig. 13). In this technique identical input signals are fed to the piezoelectric resonator and the reference capacitor, and their outputs are subtracted from each other to cancel out the parasitic capacitance contribution. Even when the electromechanical response signal is very small compared to the parasitic signal, subtraction and amplification can enable oscillation even ½ a high damping environment A differential amplifier can be used for subtraction. In one embodiment, the reference capacitor can be a second toning fork with its folks clamped or held by epoxy. This ensures that there is no major contribution from the piezoelectric (electromechanical) response of the reference capacitor around the frequencies of interest but only from the parasitic capacitance. A near identical capacitor can be made by patterning electrodes on the same type of piezoelectric substrate with the same geometry as the electromechanical resonator that does not have the tuning folk shape; thus, it does not possess any resonance frequency around foe tuning fork's resonance frequency.
{06441 fa another embodiment, driving and sensing functions of foe electromechanical resonator can he decoupled, This can be done using different physical effects for driving and sensing such as using various combinations of transductions between electrical, magnetic, mechanical and optical domains. Or, if foe same transduction method is used for driving and sensing, decoupling can be also done by spatially separating the regions of driving and sensing. Depending on the used transduction foe necessary separation length may differ. In the specific example of piezoelectric tuning fork, it can be driven to its resonance by several means and resulting mechanical deformation on the piezo material can be sensed as a voltage output via foe patterned electrodes. This method minimizes the parasitic capacitance and direct electrical signal coupling of foe input signal to foe output. In the simplest form, foe turning fork can be rigidly mounted on a mechanical shaker, such as a shearing piezo transducer. Applying an electric signal to the shearing piezo at the resonance frequency of foe tuning fork, foe motion of foe shearing piezo can be mechanically coupled to foe tuning foik and the tuning fork’s resonance mode can be excited. As foe tuning fork deforms, it produces a spatial charge distribution along its piezoelectric crystal which can be picked up as a voltage difference between foe patterned electrodes on foe tuning fork. The coupling efficiency of foe initial motion to the desired resonance frequency depends on the orientation of the tuning fork with respect to the direction of motion of the shearing piezo and foe stiffness of the bonding between foe two bodies. For example, to excite foe scissoring mode of foe tuning fork without exciting the fundamental cantilever mode of the whole tuning fork body, shearing motion direction should be orthogonal to foe scissoring motion direction as shown in Figures 10A-D. Alternatively, foe electrodes can be patterned on the tuning fork so that driving and sensing can be performed by far electrodes as in Figures I IA-C. In this three electrode scheme, foe parasitic capacitance between input and output ports can be several orders of magnitudes smaller than die parasitic capacitance of a two terminal device with a similar geometry. By comprising the fabrication complexity, a second set of electrodes can be patterned on the back side of the tuning fork. The front face electrodes can be used for driving and the back side electrodes can be used for sensing. In this case the electromechanical conversion efficiencies can be further increased as shown in Figures 12A-C.
[0045] According to one aspect of the operation of such a circuit, the resonator is incorporated into an oscillator circuit, which is then tamed on. The oscillator circuit can include die circuits of Figures 1 and 3, which are described in more detail below. Through a continuous feedback mechanism from the circuit, the tuning folk starts its oscillation from small fluctuations in its motion that overcome the damping from the environment and grow until a maximum amplitude is reached. At this point, the feedback mechanism is switched off and the oscillation of the resonator decays due to the environmental damping. The process is repeated continuously and the frequency and decay time of oscillation is obtained at each switching cycle.
[0046] The model that describes the oscillation decay is that of a damped un-driven harmonic oscillator, whose solution for the velocity of oscillation (proportional to the current generated by the piezoelectric effect) is given by:
]0647] where f is the phase of oscillation, the decay time constant, t, is related to die damping by the fluid, and the frequency, <o, ½ related to the effective mass of the resonator including die added mass of fluid dragged by the resonator. These quantities are related to the quality factor, Q, of the oscillator by
[0049] and
10050]
[0051] In a liquid environment, Q becomes very small, say, of order 10. Using the equation above, and for an estimated natural frequency, too, in the tens of kilohertz, say, 3 x 104 KHz, it can be appreciated that a time constant of approximately one millisecond is obtained, allowing for a very quick measurement and "real-time" information of the properties of the fluid to be calculated and reported to downstream systems, such as hardware-processor based machines that execute or otherwise implement code to configure those machines to process the fluid characteristics data received from such a circuit within a producing well.
[0052] Various oscillator circuits can be adapted to work with the electromechanical resonator sensor. The oscillator circuit must be able to oscillate for all environments in which measurements are to be obtained. For liquid environments, the Q (i.e., quality factor) of the resonator is small (e.g. on the order of 10), and some oscillator circuits may not provide enough amplification to sustain an oscillation. In such eases, additional amplification can be employed. For example, if an unbuffered logic gate is not able to provide sufficient amplification to sustain oscillation in lossy environments, it can be replaced with a buffered logic gate or with multiple logic gates in series to provide the additional amplification requited for oscillation. In some cases, when the Q factor of the resonator is small due to being in a viscous fluid, it may not produce sufficient phase shift to cause an oscillator circuit to oscillate. In this case, an additional impedance such as a reactance can be added in parallel and / or in series with the resonator to provide the additional phase shift As shown in Figure 9, an impedance Zp is added in parallel with tire resonator X, and an impedance Zs is added in series with the resonator X. it will be understood that the“SENSOR" shown by the crystal schematic symbol in Figure 1 and Figure 3 includes both the electromechanical resonator and the parallel and/or series impedance that must be added to the resonator to cause the circuit to oscillate in the fluids of interest. Persons skilled in the art will recognize that the impedance can be added as networks of one or more resistors, capacitors, and inductors or as active circuits which emulate the current-voltage relationships of these networks. Active circuits have certain advantages as they can create current-voltage relationships which cannot be created by passive components such as a "negative resistor." Small active circuits can also emulate relationships where the corresponding passive component would be much larger, such as when emulating a large inductor. In one embodiment, in the circuit shown in Fig. 1, the“SENSOR” consists of an inductor in series with the resonator to enable the circuit to operate in fluids with higher viscosities. [0053] In one embodiment, an oscillator circuit suitable for use in connection with the present invention includes a means to cause it to stop driving the electromechanical resonator so that the decay of the oscillation can be observed. For instance, the feedback loop containing the electromechanical device can be opened, or other circuit components in the oscillator circuit opened, shorted, or otherwise changed so that the resonator changes from a driven state to an undriven state. The circuitry of the oscillator circuit, or separate circuitry, can include a means to measure the frequency of oscillation and a means to measure the decay fate of the oscillation. Two such embodiments are discussed below.
[0054] Referring to Figure 1, a circuit 100 includes a NAND logic gate 1Q2 configured, as described below, as an amplifier, resistors 104 and 106, and capacitors 108 and 110 connected around a“sensor” 112 which comprises an electromechanical resonator that both forms a part of the oscillator circuit in order to define the oscillation of the circuit and which is configured to be in direct contact with a fluid to be measured, such that the effect of the fluid on the behavior of the resonator can be measured to determine characteristics of the fluid. The gain in the oscillator circuit 100 is provided by the NAND logic gate (Ul) 102, that is, the NANΌ/logic gate fonctions as an amplifier for the circuit. The oscillator is disabled by a logical low level on the ON/OFF* input and enabled by a logical high level on the ON/OFF* input This input can be supplied by a digital output from a microcontroller, for example, to control whether the oscillator circuit is in a driven or undriven mode. After oscillation, the undriven mode is suitable for gathering damping data and determining fluid characteristics, such as using the formulas noted above or other equations that benefit from the damping data. The“TO TIMER" output of die circuit has a square wave at the frequency of oscillation. This output can be provided, for example, to a timer input of the microcontroller so that die frequency of the oscillation can be accurately measured by the timer system of die microcontroller. The "TO ADC" output of the circuit can be provided to an anaiog-to-digital converter to sample the decaying oscillation and determine the damping, if desired.
[00551 Figure 2 shows an output graph 200 that includes two waveforms 202 and 204 from the circuit 100. When the ON/OFF* input is high 206, the oscillation begins, eventually reaching a stable amplitude as can be seen in waveform 202. Then when the ON/OFF* input goes low 208 (at time= 0 seconds in the diagram of Figure 2), the NAND gate is disabled, and the oscillation decays, as shown in the waveform 204. The waveform at TO ADC output is shown at 202, 204. These data illustrated in Figure 2 were measured with the sensor in vacuum. The time to begin oscillation and the decay times are much fester when the sensor is in liquid. In any event, the damping rate of the electromechanical device in a reference liquid, and at a prescribed temperature and pressure, can be obtained for benchmarking purposes, such as to calibrate a given sensor 112.
[00S6j Figure 3 shows another embodiment in which circuit 300 is provided. The circuit 300 includes an analog switch 302, an operational amplifier 304, resistors 306, 308, and 310, and diodes 312 and 314. Again, in salient part, the circuit 300 includes a‘"sensor” 316 which comprises an electromechanical resonator both forms a part of the oscillator circuit in order to define the oscillation frequency of the circuit and which is configured to be in direct contact with a fluid to be measured, such that the effect of the fluid on the behavior of the resonator can be measured to determine characteristics of the fluid. The gain in the oscillator circuit 300 is provided by the operational amplifier (op amp) (U2) 304. When there is a logical low level at the ON/OFF* input, the analog switch U3 302 is open and the oscillation is trot driven (i .e. it decays). In this mode, the op amp 304 functions as a current-to- voltage converter, providing a voltage on the TO ADC output that is proportional to the decaying current oscillation from the sensor. When there is a logical high level on the ON/OFF* input, the analog switch U3 302 is closed allowing positive feedback which causes a sustained oscillation at the resonant frequency of the sensor. The ON/OFF* input can be supplied by a digital output from a microcontroller. The "TO ADC" output of the circuit can be provided to an analog-to-digital converter which samples fee sustained and decaying oscillations and enables a processor to determine the frequency of oscillation and fee decay time. Diodes 312 and 314 (D1 and D2) prevent the op amp output from being driven into saturation. Without these diodes, there would be a reduction in oscillation frequency due to fee time it takes the op amp to come out of saturation.
[0057] In another embodiment, the damping is determined based on the amount of negative resistance which must be added in series or parallel with the resonator to sustain the oscillation at constant amplitude (e.g., the circuit of Figure 3 can be modified to accomplish this operation, where the resistor (308)— which defines die negative resistance— is replaced by a variable resistance device, such as an N-channel enhancement mode MOSFET, and die gate voltage of the MOSFET (which determines the drain-source resistance in the linear region of operation) is adjusted to keep the amplitude of the amplifier output constant. Figure 3 thus shows a circuit of an oscillator using an operational amplifier. The resistance which the MOSFET is supplying, and, therefore, the negative resistance required to keep the oscillation amplitude constant, can be determined by sampling the gate voltage on the MOSFET). In another embodiment, the damping is determined based on the amount of power that must be added to the resonator to sustain the oscillation at constant amplitude. In another embodiment, the damping is determined based on the amount of gain that must be applied in die feedback loop containing the resonator within the oscillator circuit to sustain die oscillation at constant amplitude.
[0058] Suitable platforms that can deliver a sensor to a desired location or set of locations in a producing well include wireline tools, as are known to persons skilled in the art, un tethered sensors, as described in co-pending United States Patent Application No. 15/143,128, filed on April 29, 2016, entitled METHOD AND DEVICE FOR OBTAINING MEASUREMENTS OF DOWNHOLE PROPERTIES IN A SUBTERRANEAN WELL, which is hereby incorporated by reference as if set forth in its entirety herein, or on network nodes at different depths in a permanently deployed network of sensors disposed within the well The structure of the device makes it particularly useful for remote, downhole operations as the device can be made to fit into a small package (e.g., resonator and circuit can fit in less than 1 cc volume), and consume little power (e.g., approximately 1 micro Joule per measurement).
[0059] In one embodiment, the circuit of Figure 3 is modified as shown in Figure 8 to implement automatic gain control. The resistor (308 in Figure 3) which sets the negative resistance seen at the non-inverting input of the operational amplifier can be replaced by an N- type enhancement mode MOSFET, in which the gate voltage supplied to the MOSFET is the gain control voltage and is the output of an envelope detector applied to the oscillation at die operational amplifier output. Thus, the MOSFET gate gets a voltage that depends on the amplitude of the oscillation. If the amplitude of the oscillation decreases, the gate voltage will decrease. This will increase the drain-to-source resistance of the MOSFET increasing the negative resistance added to the resonator and increasing the amplitude of the oscillation. If the amplitude of the oscillation increases, die gate voltage will increase. This wilt decrease the drain-to-source resistance of the MOSFET, decreasing the negative resistance added to the resonator and decreasing the amplitude of the oscillation. Thus, the amplitude of the oscillation will be maintained at a constant level using a circuit of such an arrangement. The negative resistance required to maintain die constant amplitude oscillation can be determined by measuring the gate voltage applied to the MOSFET combined with a calibration curve that gives the drain-source resistance of the MOSFET as a function of its gate voltage. In this regard, a hardware processor can execute or otherwise implement code therein to identify resistance from a calibration curve (or a function that represents the calibration curve), based on the measured gate voltage.
[0060] In one embodiment, the circuit alternatively can be configured to drive the resonator such that the oscillation is initially established and at least briefly sustained, and then ceases to drive the resonator such that the oscillation is permitted to decay (e.g., using the circuit of Figure 1 , for example) so that a decay measurement can be taken or otherwise completed, in another embodiment, die gain of the circuit is adjusted to maintain a constant amplitude of oscillation and the amount of gain required is measured as an indicator of the amount of damping. This is because greater dairying requires greater gain to sustain a constant oscillation. In another embodiment, a circuit is configured to simulate a“negative resistor” connected to the resonator. The amount of negative resistance is adjusted automatically to maintain a constant amplitude oscillation, and the amount of negative resistance required is measured as an indicator of the damping. This can be employed because a greater negative resistance is required to offset a greater damping energy loss which can be thought of as a (positive) resistor internal to the resonator.
[0061] In one embodiment the variable resistor circuit can be as shown in Figure 8, in which the adjustable resistor is actually the drain-source resistance Rns of a MOSFET, which is adjusted by the gate voltage of the MOSFET. The gate voltage of the MOSFET in this embodiment is generated by an envelope detector on the amplifier output, so that a larger amplitude output results in a larger gate-source voltage and therefore a smaller Ros which causes the oscillation amplitude to decrease until a Rus becomes exactly right to offset the damping in the resonator. The gate voltage is sampled by an A/D converter in the microcontroller which can be related to die value of Ros and therefore the amount of damping in the resonator, for instance, using code executing within the microcontroller which relate the values just described. The frequency of the oscillation can also be measured by the microcontroller. From this measurement and the value of RDS, the frequency which the undriven decaying oscillation has can be calculated.
[0062] In one embodiment, a system and method is provided that can also measure temperature and pressure in addition to density and viscosity of all fluids present in a multiplicity of locations along a well bore. The temperature and pressure measurements are implemented by including temperature (for example RTD) sensors and pressure transducers that are commercially available. Their readings are measured by an analog-to-digital converter that interfaces to the microcontroller in the device such that temperature and pressure data can be recorded or transmitted along with density and viscosity.
[0063] Although viscosity is not plotted in PVT diagrams, it can be used as an indicator of when a particular state change, bubble point, dew point, etc. has occurred. An untethered sensor ball (such as the one described in the co-pending United States Patent Application No. 15/143,128, referenced above, for example) provides an inexpensive solution for measuring fluid properties at all pressures and temperatures between the surface and any given reservoir depth. By measuring temperature, pressure, and the density and viscosity of all fluid phases that are encountered while traveling down the well from the surface to the selected reservoir depth, the device, methods and system of the present invention can reconstruct the viscosity and phase diagram information for the produced fluids along the most important pressure - temperature trajectory, i.e., that found in the wellbore.
[0064] It is recognized that knowing the viscosity and density of each phase could help to determine flow regime and improve the accuracy of phase flow rates. The ability to measure viscosity and density at a rapid sampling rate reveals, instantaneously, which phase is present in a multiphase flow, providing a time series of the phase at the sensor location. This time series can be used to determine the abundance of each phase as well as the size and shape of the flow structures of each phase and thus the flow regime. A second such time series downstream of the first can be correlated with the first to determine how long it took individual packages of fluid to move between the sensors, providing a more accurate measurement of phase flow rates.
[0065] As discussed above, the oscillator circuit incorporates an electromechanical resonator disposed within the feedback loop of the circuit such that the resonant frequency of the resonator defines the oscillation frequency of the oscillator circuit. In addition to defining the oscillation frequency of the circuit, the resonator also contacts the fluid to be measured. This arrangement allows the resonant frequency to be determined much faster as compared to other systems in which the resonator is separate and distinct from the oscillator circuit that drives it Accordingly, die arrangement disclosed herein allows for increased speed of measurement. The increased speed of measurement is beneficial in many respects. For example, in a producing well there are often multiple fluids entering the well. The increased speed of measurement results in an increased number of measurements which allows one to distinguish between multiple fluid types in a producing well and determine correct viscosity for each fluid type. In contrast, systems that have slower measurements provide less accurate results as the sensor can be in more than one fluid type during the time of the measurement.
[0066] In addition, the increased speed of the system and method described herein allows one to resolve separate fluids in a multiphase flow in a producing well. In contrast, slower sensors will blur fluid properties over the various fluids they encounter during the measurement time. The increased speed of the sensing allows for the determination of composition and structure of multiphase flows. Again, the increased speed of the sensor allows for multiple, fast measurements that allow one to sense and perceive separate fluid phases in die downhole fluid while other sensors don't respond fast enough to provide the necessary granularity in the data to perceive the separate fluid phases. In a producing well, the sensor can be in a different fluid type every few milliseconds as bubbles of oil, gas and brine rush past.
[0067] According to one, non-limiting example, one embodiment was tested under laboratory conditions. Referring to Figure 4, the system includes a tuning fork 400 as the electromechanical resonator (i.e., a wired tuning fork oscillator). A foil characterization of the tuning fork was performed under simulated downhole conditions of pressure and temperature. The device was actuated and sensed piezo electrically using a lock-in amplification technique as well as a direct frequency response measurement of its impedance. Resonance peaks were obtained and fitted with the peak width, amplitude and resonance frequency as fitting parameters. Petit width and frequency allow for foe extraction of foe damping and added mass of foe oscillator in foe fluid. A hydrodynamic model was developed to calibrate the resonance response with the viscosity and density of a test fluid. For this purpose, foe sensor was activated in different fluids (air, water, mineral oil, hydraulic oil) and the calibration parameters were obtained. The device was later tested at different conditions of pressure and temperature to simulate downhole conditions (see Figure 5 and Figure 6). More specifically, Figure 5 shows foe results for foe measured viscosity of ISO 15 hydraulic oil at high pressures and high temperatures and Figure 6 shows foe results for the measured density of ISO 15 hydraulic oil at high pressures and high temperatures.
[0068] The device was found to be appropriate for measuring viscosity in the ranges of interest (up to 50 cP).
{0069} One problem with piezoelectric electromechanical resonators is a decoupling of the electrical response from the mechanical response. When a potential is applied between two electrodes deposited on a piezo material, foe material undergoes a mechanical change due to the electric field. The mechanics of the resonator can be shown as analogous to an RLC circuit, FIG. 14 shows an analogous resonator circuit in which Lt is an effective inductance representing mechanical inertia of the resonator, Ct is an effective capacitance representing a mechanical spring constant and Rt is an effective resistance representing mechanical damping. However, the two electrodes of the resonator also form an electrical capacitor, so that foe analogous resonator circuit needs to account for the electrical coupling as well to accurately model foe resonator. For example, Cp is foe parasitic capacitance in this arrangement, which is foe effective capacitance through foe piezoelectric crystal. Cd is foe capacitance through foe dielectric coating, and Cm is foe capacitance through the fluid medium in which foe resonator is intended to be used. Additionally, Rd and Rm are effective resistances of foe dielectric and medium, respectively.
[0070] Figures 15A and 1SB illustrate ideal resonance in terms of amplitude of output current (Figure 15 A) and phase shift (Figure 15B) when foe additional capacitances are not taken into account. As shown, in Figure 15B, at resonance, foe phase shift is zero, i.e., no phase shift lag is observed. However, when parasitic and other capacitances are taken into account, a 90 degree phase shift occurs at resonance, and the output current is the sum of currents due to the mechanical system and the parasitic capacitance. Particularly when mechanical damping is large (i.e. in liquid), the current passing through the parasitic capacitor dominates and the resonance behavior becomes indistinguishable.
[0071] Figures 15C and 15D show die effect of parasitic capacitances (Cp, Cm, Cd in FIG. 14) in low and high damping cases (i.e., small and targe Rt). Particularly when a closed loop system is used, it is important to obtain a clear resonance peak with a zero-phase difference. As shown in Figures 15C and 15D, when parasitic capacitance and high damping dominates, resonance behavior lades and the zero-phase crossing does not occur.
[0072] A differential circuit, as shown in Figure 13, can aid in removing the effects of parasitic capacitance. The differential circuit 1300 includes the tuning fork resonator 1302 and a reference capacitor 1304. The electrical output of the resonator 1302 is fed into a first input of a differential amplifier 1306, mid the electrical output of the reference capacitor is fed into a second input of differential amplifier 1306. The output of the differential amplifier is ditto proportional to the difference between the output of the resonator 1302 and the reference capacitor 1304. A large output from the differential circuit 1300 implies a large difference in ou¾)ut between die resonator and reference capacitor. This signal can then be used both to determine and to compensate for the differences in capacitances between the resonator 1302 and the reference capacitor 1306.
[0073] However, the differential circuit method is not well suited for applications in which the total contribution to parasitic capacitance depends on the permittivity of the fluid medium. Figures 16A and I6B show an example frequency response of a resonator with varying parasitic capacitance and damping in the case of differential output Cm2 represents parasitic medium capacitance of the reference. The parasitic medium capacitance of the resonator is defined as 5pF. As shown, when the resonator capacitance is different from the medium capacitance (5pF), the resulting current output does not show a peak at the resonant frequency or a zero phase-shift at the resonant frequency. When the resonator capacitance is equal to 5pF, the resonant peak and zero phase-shift occur. [0074] Accordingly, in order to obtain optimal results from the differential method, the reference capacitor needs to be adjusted for each change in medium and this makes it difficult to consistently maintain a zero-phase difference between the feedback signal and the electromechanical response in a closed-loop system.
[0075[ In another embodiment of a close loop differential circuit, shown in Figure 18, automatic gain control is implemented allowing damping to be measured without switching off die drive signal. In this circuit 1800, die gain is adjusted using digitally variable resistors 1805, 1810 as feedback resistors of respective operational amplifiers 1815, 1820 that are controlled by a microprocessor (uC) 1830, A sinusoidal voltage amplitude at an analog node (i.e. input or output of the electromechanical oscillator) can be obtained by feeding the AC coupled oscillation signal to a comparator 1840 with a known reference value (Vtef) «nailer than tire desired constant voltage level on the analog node. When the circuit is activated, the microprocessor 1830 increases the gam until the comparator outputs a pulse train which indicates that the oscillation voltage amplitude hi larger than the reference voltage. Then microprocessor determines the pulse width and frequency of the pulse train by accurately timing captured rise and fall events, allowing the duty cycle to be accurately measured. For a sinusoidal oscillation the amplitude of the oscillation is analytically related to the duty cycle and selected voltage reference. According to the known relationship, a control algorithm (e.g. proportional-integral-derivative control) implemented by the microprocessor can maintain a constant duty cycle by adjusting the feedback gain. The gain value can be used as a measure of damping.
[0076] Using an identical resonator pair, one of which is immobilized and used as reference, can also help in acquiring very close parasitic capacitances. However, variations in the packaging and slight differences of medium properties on the capacitors can easily disturb such a system. Consequently, for use in sensors in fluids having varying permittivity, minimizing parasitic capacitance of tire resonator achieves the best device operation results. The reduction in permittivity variations is obtained by a) first coating a dielectric material on the electrodes, and then b) coating a thin rnetal film on the dielectric material. Thijs prevents electric fields arising in the resonator from extending into the medium. Referring again to FIG. 14, using a conductive metal coating eliminates Cm, decreases Rm, and removes the dependence of parasitic capacitance due to the fluid medium. By fixing the resonator device capacitance, it is again possible to use an immobilized identical resonator with metal coating as a reference, or a well- adjusted fixed capacitor as a reference.
[0077] FIG. 17 shows an exemplary embodiment of a piezoelectric tuning fork resonator 1700 according to the present invention. As shown in the cut-away view of FIG. 17, the resonator includes several material layers. At the bottom is an electrode 1702, which is made of a conductive material coupled to control circuitry for operating the resonator (not shown). Positioned above the electrode is a non-conductive dieletric layer 1704, and a conductive coating 1706 is positioned over the dielectric layer 1704. The dielectric layer 1704 and the conductive coating 1706 can be coated onto the electrode 1702 by various deposition techniques including, for example, sputtering, physical vapor deposition, chemical vapor deposition, or electroplating can be used. The materials of the dielectric layer 1704 and conductive layer 1706 (e.g., a thin metal film) are mutually selected to ensure adhesion between the layers. Thin adhesion promoting films, such as titanium or chromium can be deposited between layers. It is preferable for the dielectric layer 1704 to be uniform, which can be achieved using chemical vapor or atomic layer deposition methods. The dielectric material can be silicon dioxide, aluminum oxide, or silicon nitride but not limited to them. Indium tin oxide (IT0), gold, aluminum are potential candidates for the conductive layer.
[0078] The conductive layer 1706 functions to block electrical interactions with the fluid medium and to thereby improve the sensor reliability and robustness in varying environments, particularly in conductive media. In some embodiments, the material of the conductive layer is selected to have corrosion-resistance properties as well. Alternatively, in other embodiments, an additional protective coating can be used for conformal encapsulation of the conductive and dielectric layers 1706 so as to prevent the corrosion, abrasion, and erosion of the dielectric and conductive materials in harsh environment. For example, Silicon carbide is one of a group of materials that can be used to encapsulate the conductive layer.
[0079] The subject matter described above is provided by way of illustration only and should not be construed as limiting. Various modifications and changes can be made to the subject matter described herein without following the example embodiments and applications illustrated and described (including, for example, specific circuit values illustrated in the accompanying figures), and without departing from the true spirit and scope of the present invention.

Claims

1. An apparatus for determining properties of an uncharacterized downhole fluid, comprising:
an oscillation driver circuit comprising an amplifier having an output and an input, a feedback loop between the output and input of an amplifier or a logic gate;
an electromechanical resonator disposed within the feedback loop such that a the resonator is driven by die oscillation driver circuit, wherein a resonant frequency of the resonator defines an oscillation frequency of the oscillator circuit; and
a switch device for causing the oscillator circuit to stop driving die resonator, which thereby enables observation of a decay rate of the oscillation of the electromechanical resonator within the uncharacterized fluid,
wherein the electromechanical resonator is enclosed in a conductive layer to protect the resonator against capacitive effects of the downhole fluid.
2. The apparatus of claim 1, wherein at least one property of the uncharacterized fluid can be determined according to an observed decay rate of the oscillation of the electromechanical resonator.
3. The apparatus of claim 1, wherein the electromechanical resonator is a piezo-electric device, having at least two electrodes, and a dielectric layer covering the at least two electrodes, the conductive layer enclosing the dielectric layer.
4. The apparatus of claim 3, wherein the electromechanical resonator further includes an anti-corrosive layer over the conductive layer.
5. A piezo-electric device for use ih determining properties of an Uncharacterized downhole fluid when driven by an alternating voltage, comprising:
at least two piezo-electric electrodes formed in a tuning-fork shape, the fork portions piezo-electric electrodes operative to mechanically vibrate at a characteristic resonance frequency in response to electrical excitation by an alternating voltage; a dielectric layer covering the at least two piezo-eiectric electrodes; and a conductive layer covering fee dielectric layer and protecting the piezo-electric device from capacitive effects of the downhole fluid.
6. The piezoelectric device of claim 3, further comprising an anti-corrosive layer positioned over the conductive layer.
7. The piezo-electric device of claim 4, wherein the conductive layer is composed of a thin metallic film.
8. A method for determining properties of a fluid* comprising the steps of
a. exposing an oscillator circuit to an uncharacterized fluid, the oscillator circuit comprising:
i. an amplifier having an output and an input,
ii. a feedback loop between the output and input of an amplifier or a logic gate; and
Ill. an electromechanical resonator disposed within the feedback loop such that a resonant frequency of the electromechanical resonator defines an oscillation of the oscillator circuit, the electromechanical resonator being enclosed in a conductive layer ; b. activating fee oscillator circuit such that the electromechanical resonator reaches a resonant frequency in the uncharacterized fluid;
c. determining a damping ratio of the electromechanical resonator in the uncharacterized fluid when the oscillator circuit is continuously activated; and
d. calculating at least one property of the uncharacterized fluid by reference to the gain or negative resistance required to keep a constant oscillation amplitude through an automatic gain or negative resistance control system.
9. The method of claim 8, wherein the conductive layer is composed of a thin metallic film.
10. The method of claim 9, wherein the electromechanical resonator is a piezo-electric device, having at least two electrodes, and a dielectric layer covering the at least two electrodes, the conductive layer enclosing die dielectric layer.
11 , The method of claim 9, wherein the electromechanical resonator further includes an anti-corrosive layer over the conductive layer.
EP19739476.0A 2018-06-20 2019-06-20 Method for capacitive cancellation of tuning fork for fluid property measurements Withdrawn EP3810339A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201862687445P 2018-06-20 2018-06-20
PCT/US2019/038268 WO2019246410A1 (en) 2018-06-20 2019-06-20 Method for capacitive cancellation of tuning fork for fluid property measurements

Publications (1)

Publication Number Publication Date
EP3810339A1 true EP3810339A1 (en) 2021-04-28

Family

ID=67254005

Family Applications (1)

Application Number Title Priority Date Filing Date
EP19739476.0A Withdrawn EP3810339A1 (en) 2018-06-20 2019-06-20 Method for capacitive cancellation of tuning fork for fluid property measurements

Country Status (7)

Country Link
EP (1) EP3810339A1 (en)
JP (1) JP2021529304A (en)
KR (1) KR20210023978A (en)
CN (1) CN112188937A (en)
SA (1) SA520420536B1 (en)
SG (1) SG11202011832WA (en)
WO (1) WO2019246410A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111854723B (en) * 2020-06-17 2022-06-17 中国船舶重工集团公司第七0七研究所 Method for fixedly connecting harmonic oscillator and electrode suitable for high vacuum environment
CN113495589B (en) * 2021-06-02 2022-02-18 上海交通大学 Supercritical shafting vibration damper based on nonlinear analog circuit
CN117347571B (en) * 2023-12-04 2024-03-12 国网安徽省电力有限公司电力科学研究院 Multi-parameter self-calibration method, device and system of mixed gas measuring device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005103645A2 (en) 2004-04-21 2005-11-03 Symyx Technologies, Inc. Flexural resonator sensing device and method
WO2010026817A1 (en) * 2008-09-02 2010-03-11 株式会社村田製作所 Tuning-fork vibrator and method for manufacturing the same and angular speed sensor
JP5786303B2 (en) * 2009-12-10 2015-09-30 セイコーエプソン株式会社 Vibrating piece, vibrator, physical quantity sensor, and electronic device
DE102010030791A1 (en) * 2010-07-01 2012-01-05 Endress + Hauser Gmbh + Co. Kg Device for determining and / or monitoring a process variable of a medium
JP6337444B2 (en) * 2013-10-30 2018-06-06 セイコーエプソン株式会社 Vibrating piece, angular velocity sensor, electronic device and moving object
KR20180038472A (en) * 2015-08-07 2018-04-16 사우디 아라비안 오일 컴퍼니 Method and device for measuring fluid properties using an electromechanical resonator

Also Published As

Publication number Publication date
CN112188937A (en) 2021-01-05
JP2021529304A (en) 2021-10-28
WO2019246410A1 (en) 2019-12-26
SG11202011832WA (en) 2021-01-28
SA520420536B1 (en) 2022-12-04
KR20210023978A (en) 2021-03-04

Similar Documents

Publication Publication Date Title
US11061158B2 (en) Method and device for measuring fluid properties using an electromechanical resonator
US11333015B2 (en) Method for capacitive cancellation of tuning fork for fluid property measurements
EP1397661B1 (en) Method and apparatus for downhole fluid characterization using flxural mechanical resonators
EP3810339A1 (en) Method for capacitive cancellation of tuning fork for fluid property measurements
Gonzalez et al. Viscosity and density measurements using mechanical oscillators in oil and gas applications
US7162918B2 (en) Method and apparatus for downhole fluid characterization using flexural mechanical resonators
CA2753389C (en) A microfluidic oscillating tube densitometer for downhole applications
US20090120168A1 (en) Microfluidic downhole density and viscosity sensor
AU2013394872B2 (en) Method and device for the concurrent determination of fluid density and viscosity in-situ
US7844401B2 (en) System and method for determining producibility of a formation using flexural mechanical resonator measurements
WO2014179050A1 (en) Sand separator interface detection
WO2021141957A1 (en) Determining the rheological properties of a fluid through a non-linear response
GB2345137A (en) A system and method of fluid analysis in a hydrocarbon borehole
Gonzalez et al. Fast downhole fluid viscosity and density measurements using a self-oscillating tuning fork device
US8857245B2 (en) System and method for measuring or monitoring of a low concentration dispersed phase
Dalla Monta et al. The evolution of viscoelastic properties of silicone rubber during cross-linking investigated by thickness-shear mode quartz resonator
GB2357145A (en) Real-time control of hydrocarbon well in response to phase characteristics of well fluid

Legal Events

Date Code Title Description
STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: UNKNOWN

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE

PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE

17P Request for examination filed

Effective date: 20210105

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

AX Request for extension of the european patent

Extension state: BA ME

DAV Request for validation of the european patent (deleted)
DAX Request for extension of the european patent (deleted)
STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: EXAMINATION IS IN PROGRESS

17Q First examination report despatched

Effective date: 20220131

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION HAS BEEN WITHDRAWN

18W Application withdrawn

Effective date: 20220408