MAGNETIC FLOWMETER WITH EMPTY PIPE DETECTOR

Abstract: An electromagnetic fluid flowmeter (26) includes empty pipe detection circuitry. The empty pipe detection circuitry applies a common mode asynchronous signal into a pair of electrodes (16A, 16B) in the flowmeter (26). Impedance of fluid is determined by measuring the magnitude of the asynchronous signal between an electrode (16A, 16B) and electrical ground. Impedance is used to determine an empty pipe condition.

Description: MAGNETIC FLOWMETER WITH EMPTY PIPE DETECTOR BACKGROUND OF THE INVENTION The present invention relates to a magnetic flowmeter for measuring the flow rate of a fluid. More specifically, the invention relates to measuring fluid impedance and monitoring for an empty pipe condition in a magnetic flowmeter. In an electromagnetic flowmeter, a pulsed magnetic flux is applied in a direction substantially perpendicular to the direction of flow of a fluid flowing through a measuring pipe. The flux induces a potential difference in the fluid varying as a function of the fluid flow rate, and the potential is sensed by two electrodes positioned in the pipe. In a flowmeter, it is useful to detect the impedance of fluid flowing through the measuring pipe. This information can be used to detect an empty pipe condition. One approach uses a DC current flowing between the electrodes and electrical ground and additional circuitry to detect the empty pipe condition, but this approach undesireably plates the electrodes so that they must be replaced. U.S. Patent No. 4,969,363, issued November 13, 1990 to Mochizu i, entitled Electromagnetic Flowmeter Capable of Simultaneous Measurement of Flow Rate and Conductivity of Fluid, discloses an empty pipe detector applying a current pulse to the electrodes to monitor fluid impedance only while the coil drive current is rising. As most flow eters have multiple frequencies at which the coils are driven, so that the rise times of the coil drive current vary, the device must necessarily include timing circuitry which allows the device to be active for different rise times. Furthermore, some flowmeter installations have such a large cable capacitance that the fluid impedance measurement is hampered when the coil drive frequency is greater than about 35 Hz. As a result, Mochizuki's device is limited to low capacitance cabling applications, has additional timing circuitry and must be synchronized with the pulsed magnetic flux so that it cannot continuously monitor fluid conductivity. Therefore, there is a need for a flowmeter with a continuously monitoring empty pipe detector with simple circuitry and which is independent of coil drive frequency but which does not polarize the electrodes, and operates with high capacitance cables. SUMMARY OF THE INVENTION The present invention is an electromagnetic flowmeter including circuitry for sensing impedance of fluid carried in a measuring pipe. The flowmeter includes means for applying pulsed magnetic flux to the measuring pipe in a direction substantially perpendicular to flow of the fluid. First and second electrodes are mounted in the flow measuring pipe and electrically contact the fluid. The flow rate is detected by measuring the potential difference between the first and second electrodes due to the applied pulsed magnetic flux. The circuitry for sensing impedance and therefor an empty pipe condition includes an AC current source, asynchronous with respect to the coil driving circuitry, applied as a common mode current to the first and second electrodes referenced to ground. A summing circuit sums the common mode currents from at least one electrode, and depending on the impedance of the electrode, which is a function of the fluid impedance and therefore indicative of an empty or full pipe condition, the common mode current is partitioned into two portions. A signal processing circuit senses a potential across a sensing impedance through which one portion of the common mode current flows. The sensed potential varies as the impedance of the fluid, and therefore indicates whether the pipe is empty or full. In another embodiment of the invention, an AC current is applied differentially between the two electrodes at a frequency lower than the flow signal. A current divider splits the current into two portions as a function of the impedance of the fluid and filtering circuitry removes the lower frequency signal representative of the fluid impedance (and therefore indicative of an empty pipe condition) from the higher frequency flow signal. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of a prior art magnetic flowmeter. Figure 2 is a electrical schematic diagram of a magnetic flowmeter including empty pipe detection circuity in accordance with the present invention. Figure 3 is a simplified electrical schematic diagram of the empty pipe detection circuitry of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Figure 1 is a block diagram of prior art magnetic flowmeter 10. Prior art flowmeter 10 includes measuring pipe 12 coupled to electrical ground. Magnetic excitation coil 14 is adjacent measuring pipe 12 and a pair of electrodes 16 are carried within pipe 12. Driver circuitry 18 couples to coil 14. Differential amplifier 20 has inputs connected to the pair of electrodes 16. The output of differential amplifier 20 couples to flow detection circuitry 22 which connects to output circuitry 24. In operation, prior art flowmeter 10 senses flow rate of a fluid flowing through measuring pipe 12. Coil 14 is excited by a pulsed excitation current generated by driver circuitry 18 and provides pulsed magnetic flux in a direction substantially perpendicular to flow of fluid through pipe 12. The magnetic flux induces a potential in the fluid and electrodes 16 have a potential difference between them. Differential amplifier 20 amplifies this potential difference and provides an amplified output to flow detection circuitry 22. Flow detection circuitry 22 calibrates the output from differential amplifier 20 to units of flow and provides an output to output circuitry 24. Output circuitry 24 provides a useful output of the flow rate information. For example, flow rate information can be transmitted over a two wire 4-20 mA process control loop. The present invention provides circuitry which is added to the prior art flowmeter 10 of Figure 1 to determine impedance of fluid flowing through pipe 12 without changing flow rate measurements provided by flowmeter circuitry 10. Figure 2 is a diagram of a magnetic flowmeter 26 in accordance with the present invention. Magnetic flowmeter 26 includes some of the same circuitry of prior art flowmeter 10 used to provide a flow rate output. Magnetic flowmeter 26 includes grounded measuring pipe 12, magnetic excitation coil 14 and a pair of electrodes 16 (individually identified as electrode 16A and electrode 16B) . The impedance between electrodes 16A,16B to ground is small when the fluid covers the electrodes and significantly larger when the fluid uncovers the electrodes. Even though the conductivity of the fluid can change from installation, to installation and varies over several orders of magnitude, the difference in impedance between covered and uncovered electrodes is typically a factor of 10 but may be as great as 1,000. Differential amplifier 20 amplifies the voltage difference between electrodes 16A,16B via buffer amps 30A,30B and provides an output to flow detection circuitry 22 which is connected to output circuitry 24. This circuitry operates in a manner similar to that of prior art flowmeter 10 shown in Figure 1. Magnetic flowmeter 26 includes oscillator 28, high input impedance amplifiers 30A,30B, summing circuitry 34, summing amplifier 36 and signal processing circuitry 38. Oscillator 28 includes square wave source 40, resistor 42, and capacitor 48. High impedance amplifier 30A is coupled to electrode 16A through blocking capacitor 52A and includes resistors 44A, 56A, 58A, 60A, capacitor 50A and operational amplifier 54A connected with negative feedback. The section of the circuit labelled with components ending with "B" is constructed the same, way as the section having components ending in "A". Outputs from operational amplifiers 54A and 54B are connected to buffer amplifiers 62A and 62B, respectively, of summing circuitry 34. Outputs from operational amplifiers 54A and 54B are also coupled to differential amplifier 20 and used to determine flow rate as described for Figure 1. Outputs from buffer amplifiers 62A and 62B are connected together through resistors 64 and 66 and are provided to amplifier 36. The output of amplifier 36 is provided to signal processing circuitry 38. Figure 3 is a simplified schematic diagram of empty pipe detection circuitry in accordance with the present invention and illustrates a circuit model of the invention. Figure 3 shows oscillator 28 and blocking capacitor 52 connected to electrode 16. The impedance of electrode 16 is modelled by resistor 68. The large input impedance of operational amplifier 54A shown in Figure 2 is modelled as resistor 70. Capacitor 72 models the cabling capacitance used to connect electrode 16 to the flowmeter. Oscillator 28 provides a triangle wave current to the flowmeter of 2 nA peak-to-peak and at a frequency of 0.5 Hz. The frequency is independent of the coil drive frequency and selected to be lower than the lowest expected flow frequency. For this reason, the present invention is suitable for use in both AC and DC flowmeters. Typical modelled values for the circuit components are: blocking capacitor 52 is 1.0 μF , resistor 68 varies between 100 kΩ (full pipe) and 10 MΩ (empty pipe), capacitor 72 is 50 nF for a 1,000 foot cable and sense resistor 70 is 10 9 Ω. Figure 3 shows the basic operation of empty pipe detection circuitry. Resistor 68, which models the fluid impedance, varies between 100 KΩ for a pipe carrying fluid above the electrode level and 10 MΩ for an empty pipe condition when the fluid level uncovers the electrodes. Since these values are much smaller than the input impedance of amplifier 54 the potential across resistor 70 at the input to amplifier 62 is highly dependent on the value of reisistor 68. Thus, the output of amplifier 62 is related to the impedance of fluid in pipe 12. Referring back to Figure 2, values of the components for one embodiment will be provided. Square wave source 40 is a 0.5 Hz square wave of 14 volts peak- to-peak. Resistor 42 is 1.0 MΩ, capacitor 48 is 0.68 μF, resistor 44A is 10 MΩ, and capacitor 50A is 47 pF. Blocking capacitor 52A is 1.0 μF, resistor 56A is 2.2 MΩ, resistor 58A is 4.41 kΩ, and resistor 60A is 2.2 MΩ. Resistors 64 and 66 are at least 100 kΩ and have substantially the same value. In operation, oscillator 28 generates a substantially triangularly shaped current signal of about 1 μA pp at 0.5 Hz, which is applied at node between resistors 56A and 60A. A portion of this current flows between electrodes 16A,16B and electrical ground. This potential drop is given by: KI PP Z E (1) where Z E is the impedance of the parallel combination of one of the electrodes (e.g. Z 16A ) and its associated cable capacitance, (as modelled by C 72 in Figure 3), in series with the input coupling capacitor, C 52 and K is the current attenuation ratio of amplifiers 5'4A,54B given by K- ^-^ (2) ■ ^58A.B + -^60A,fl In the example of Figure 3, cable capacitance is 50nF and the sensing impedance is 10 9 Ω. Since R 58A>B << βo A . B , K can be approximated as 4.41KΩ/2.2 MΩ, or 1/500. Thus, for an empty pipe condition where the fluid impedance, R 6i , is high (10 MΩ), the potential difference is given by: <fτf § ) (l μA ) (l -ββlZcw + ScM ) < 3 > which can be substituted and simplified to: 8mVm ( i2 ' .i 2MS.I ) ^ A - ( 4.2M Q) (4) For a full pipe condition where impedance R 6i is 1 MΩ, the same method of calculation predicts that the potential with respect to ground at the output of amplifiers 54A,B is approximately 2 mV PP , a factor of 4 smaller than the potential with respect to ground when the pipe is empty. In other words the effective electrode impedance, Z E , is a factor of approximately 4 larger when the pipe is empty than when it is full. The signals at the outputs of operational amplifiers 54A,54B due to impedance of fluid in pipe 12 are common mode while the flow signal due to an induced potential between electrodes 16A and 16B is a differential signal. When the potentials with respect to ground at the outputs of amplifiers 54A and 54B are summed by amplifiers 62A,62B and resistors 64,6-6, the magnitude of the common mode signals are added together while the sum of the differential signals is zero. Therefore, the signal at the input to amplifier 36 is representative of the impedance of the fluid and is substantially independent of flow rate. Signal processing circuitry 38 outputs an alarm to warn an operator of the empty pipe condition if the potential with respect to ground at the output of amplifier 36 drops below a predetermined minimum threshold. Signal processing circuitry 38 also provides an output representative of the impedance of fluid in pipe 12. Oscillator 28 generates an AC signal to prevent electrode polarization. In one embodiment, signal source 40 is a microprocessor used to operate flowmeter 26, and signal processing circuitry 38 samples the output of amplifier 36 during a maximum in the triangle wave. Such timing of the sampling reduces the effects of noise and also samples the in-phase component of the potential with respect to ground, so as to use the real part of the impedance. Although the present invention has been described with reference to preferred embodiments, workers skilled in the art will recognize that changes may be made in form and detail without departing from the spirit and scope of the invention. For example, fluid impedance can be measured differentially between the two electrodes. In this case, an AC signal is applied to one electrode and the output at the other electrode is measured. The frequency of the applied signal is different from the flow signal and can be filtered from the flow signal.

Claims: WHAT IS CLAIMED IS: 1. A flowmeter, comprising: a flow pipe connected to electrical ground; a magnetic coil adjacent the flow pipe and oriented to provide magnetic flux in a direction perpendicular to the flow of a fluid through the flow pipe; drive circuitry coupled to the magnetic coil to energize the coil; a pair of electrodes inside the pipe, the impedance of the electrodes to ground indicative of whether the fluid covers the electrodes; means for producing a flow rate output as a function of a potential difference between the electrodes due to the magnetic flux; a signal source coupled to at least one of the electrodes and to a sense resistor, the source asynchronous with respect to the energization of the magnetic coil, where the signal is apportioned between the sensing resistor and the electrode impedance to ground so that a potential across the sense resistor indicates whether the fluid covers the electrodes. 2. The flowmeter of claim 1 where the signal source comprises means for generating a triangle wave. 3. The flowmeter of claim 1 further comprising signal processing means for providing an output indicative of an empty pipe condition as a function of the potential across the sense resistor. 4 . A flowmeter, comprising: a pipe coupled to electrical ground and adapted to carry a fluidflowing through the pipe; coil means for applying a pulsed magnetic flux in a direction substantially perpendicular to a direction of fluid flow; a first electrode and a second electrode mounted in the pipe, where the first and second electrodes detect an induced potential generated in the fluid due to the pulsed magnetic flux, the impedance of the electrodes to ground varying as a function of the impedance of the -fluid; flow rate means for producing a flow rate output as a function of the potential difference between the electrodes, where the flow signal is a differential signal between the first and second electrodes; and a current source providing a current which is apportioned to flowthrough at least one of the electrodes and through a sense resistor, the apportionment a function of the impedance of the electrodes, so that the potential difference across the sense resistor is a function of the fluid impedance. 5. The flowmeter of claim 4 where the current source is asynchronous with respect to the coil energization and generates a triangle wave. 6. The flowmeter of claim 4 including signal processing means coupled to the sense resistor for providing an output indicating an empty pipe condition as a function of the potential difference across the sense resistor. 7. A flowmeter, comprising: a pipe coupled to electrical ground and adapted to carry a fluid flowing through the pipe; coil means for applying a pulsed magnetic flux in a direction substantially perpendicular to a direction of fluid .flow; a first electrode and a second electrode mounted in the pipe, where the first and second electrodes detect an induced potential generated in the fluid due to the pulsed magnetic flux, the impedance of the electrodes to ground varying as a function of the impedance of the fluid; flow rate means for producing a flow rate output as a function of the potential difference between the electrodes, where the flow signal is a differential signal between the first and second electrodes; and means for applying a current asynchronous to the pulsed agneticflux to at least one of the electrodes, and for dividing the current into a first and a second part as a function of the fluid impedance, where the magnitude of current in the one of the parts is representative of the fluid impedance. 8. A flowmeter coupled to a pipe through which a fluid flows, the flowmeter providing a flow output as a function of the rate of fluid flow, the flowmeter having a coil energized to provide a magnetic flux which induces a potential field within the fluid and having a pair of electrodes coupled to the fluid for sensing a potential difference varying as a function of the flow rate, where the improvement comprises: an asynchronous AC current source coupled to at least one of the electrodes and to a sense resistor, the electrodes having an impedance varying with the level of fluid in the pipe, the current dividing between the sense resistor and the electrode impedance so that the potential difference across the sense resistor is representative of the fluid impedance; and comparison means coupled to the sense resistor for comparing the potential difference across the sense resistor to a reference potential and providing an output indicating an empty pipe condition when the sensed potential is less than the reference potential.

Inventors: COURSOLLE THOMAS P, ROVNER BRUCE D, COURSOLLE, THOMAS, P., ROVNER, BRUCE, D.
Applicants: ROSEMOUNT INC, ROSEMOUNT, INC.
Application year: 1994
Main classification: G01F1
IPC codes: G01F1