This invention relates to process control instruments, and more particularly, to use of a time domain reflectometry-based instrument for emulsion measurement using a bottom up algorithm.
Process control systems require the accurate measurement of process variables. Typically, a primary element senses the value of a process variable and a transmitter develops an output having a value that varies as a function of the process variable. For example, a level transmitter includes a primary element for sensing level and a circuit for developing an electrical signal proportional to sensed level.
Knowledge of level in industrial process tanks or vessels has long been required for safe and cost-effective operation of plants. Many technologies exist for making level measurements. These include buoyancy, capacitance, ultrasonic and microwave radar, to name a few. Recent advances in micropower impulse radar (MIR), also known as ultra-wideband (UWB) radar, in conjunction with advances in equivalent time sampling (ETS), permit development of low power and lost cost time domain reflectometry (TDR) instruments.
In a TDR instrument, a very fast pulse with a rise time of 500 picoseconds, or less, is propagated down a probe that serves as a transmission line, in a vessel. The pulse is reflected by a discontinuity caused by a transition between two media. For level measurement, that transition is typically where the air and the material to be measured meet. These instruments are also known as guided wave radar (GWR) measurement instruments.
One type of probe used by GWR level instruments is the coaxial probe. The coaxial probe consists of an outer tube and an inner conductor. When a coaxial probe is immersed in the liquid to be measured, there is a section of constant impedance, generally air, above the liquid surface. An impedance discontinuity is created at the level surface due to the change in dielectric constant of the liquid versus air at this point. When the GWR signal encounters any impedance discontinuity in the transmission line, part of the signal is reflected back toward the source in accordance with theory based on Maxwell's laws. The GWR instrument measures the time of flight of the electrical signal to, and back from, this reflecting point, being the liquid surface, to find the liquid level.
Simple level measurement involves detecting the reflected signal from a single level surface, such as water or oil. A slightly more complex measurement is so-called “interface” measurement, in which a less dense medium such as oil floats on top of a heavier medium such as water.
Time Domain Reflectometry level instruments, like the one in U.S. Pat. No. 6,626,038, owned by the Applicant herein, transmit pulses from the top of a tank, down through air, toward the liquid stored in the tank. The pulses reflect off the liquid, and the instrument measures the time between the transmitted pulses and received reflections and converts that time into distance. Such an instrument can also detect the thickness of a layer of oil floating on top of water, because each interface, air-oil, and then oil-water, generates a reflection.
Instruments such as that disclosed in Applicant's U.S. Pat. No. 9,546,895 further analyze the reflected pulses, to give a profile of percent water in the fluid versus depth.
When these instruments attempt to measure a fluid which has significant water content, the reflected signals become smeared and greatly attenuated. This is due to water's well-known dielectric properties. The instrument in U.S. Pat. No. 9,546,895 uses a coating to mitigate water's negative effects. This technique offers the tradeoff between a thicker coating allowing deeper penetration into the water, but less sensitivity to the water.
These techniques have difficulty locating cloudy water near the bottom of a tank, which has only 20% oil, because the reflected signals are vanishingly small.
This application is directed to further improvements in level measurement.
In accordance with the invention a time domain reflectometry-based instrument for emulsion measurement uses a bottom up algorithm.
In accordance with one aspect, a radar transmitter for emulsion measurement comprises a probe mountable to a bottom of a vessel and defining a transmission line extending upward into the vessel, in use, for sensing impedance. A pulse circuit is connected to the probe for periodically generating pulses on the transmission line and receiving a reflected signal from the transmission line, each reflected signal comprising a waveform of probe impedance over time. A controller is operatively connected to the pulse circuit and comprises a programmed processor and a memory. The memory stores trace data of a plurality of individual waveforms. The processor is programmed to profile a first section of the waveforms which does not change over time and a second section of the waveforms which changes over time, representing an emulsion moving in the vessel. The controller locates where the waveforms indicates motion to determine emulsion level.
It is a feature that the waveform comprises a time domain refiectometry signal.
It is another feature that the controller uses TDR inversion to transform the waveform into impedance relative to distance.
The controller may be programmed to use historical difference motion detection. The controller may compare a current waveform to a prior waveform a select time T prior to the current waveform.
The controller may be programmed to use modulated motion detection where there is relative movement between the emulsion and the probe. Modulated motion detection assembles all the waveform samples at time tSlice to create a waveform that has some amount of energy from the pumping period T, and detects a P(tSlice), the amount of fluid modulation Power at time t from the bottom of the probe for all time's out to the probe's farthest reach, and determines the first time P(tSlice) that crosses a threshold pTHRESH, and indicates that as the emulsion location.
The controller may be programmed to use linear motion detection. The linear motion detection creates an image of the moving edge from the plurality of individual waveforms and determines a slope of a line at the moving edge and an intersection point of the line along a time scale.
The controller may use random motion detection. The random motion detection creates a variance trace that is a point wise variance of all of the plurality of waveforms in a buffer and determines a reflection time there the variance trace crosses a select threshold.
Further features and advantages will be readily apparent from the drawings and the specification.
A radar transmitter for emulsion measurement comprises a probe defining a transmission line for sensing impedance. A pulse circuit is connected to the bottom of the probe for generating upward travelling pulses on the transmission line and receiving a reflected signal from the transmission line. The reflected signal comprises a waveform of probe impedance over time. A controller is operatively connected to the pulse circuit. The controller profiles a section of waveform which is un-changing, because the probe is submerged in a fluid with water on the bottom, and a part which changes over time, which is an emulsion moving due to settling or pumping. The controller locates where the waveform indicates motion, and reports that distance to a user.
This device is attempting to find the location of an Oil in Water emulsion floating upon cleaner water. The device may comprise a conventional time domain reflectometry measurement instrument as described in Applicant's U.S. Pat. No. 6,626,038, the specification of which is incorporated by reference herein. However, in the embodiment herein, the probe extends upwardly from the bottom of the vessel and the programming would implement a bottom up algorithm described herein.
The process instrument 10 includes a controller 14 for connecting to a probe 16. The probe 16 is mounted in any known manner at the bottom of the vessel 12 with the probe 16 extending upwardly into the interior 18 of the vessel 12. The probe 16 comprises a high frequency transmission line which, when placed in a fluid, can be used to measure level of the fluid. Particularly, the probe 16 is controlled by the controller 14 for determining level in the vessel 12.
In a separation application illustrated in
Applications purposely pump out water which settles to the bottom, so typically water is much less than half the total fluid column height. This means the cloudy emulsion is closer to the bottom than it is to the top. Also, a signal path on the probe 16 travelling from the bottom up to the emulsion is homogenous water, whereas the path travelling from the top down to the water travels through air, oil, and other unknown layers. For these reasons, this probe 16 is controlled to fire the pulses upwards, instead of the traditional downward firing.
The emulsion lowers fluid dielectric, which results in the TDR return signal or trace deviating upward from a pure water trace. The algorithm described here uses that deviation.
Guided wave radar combines TDR, ETS and low power circuitry. TDR uses pulses of electromagnetic (EM) energy to measure distanced or levels. When a pulse reaches a dielectric discontinuity then a part of the energy is reflected. The greater the dielectric difference, the greater the amplitude of the reflection. In the measurement instrument 10, the probe 16 comprises a wave guide with a characteristic impedance in air. When part of the probe 16 is immersed in a material other than air, there is lower impedance due to the increase in the dielectric. When the EM pulse is sent up the probe it meets the dielectric discontinuity and a reflection is generated.
ETS is used to measure the high speed, low power EM energy. The high speed EM energy (1000 foot/microsecond) is difficult to measure over short distances and at the resolution required in the process industry. ETS captures the EM signals in real time (nanoseconds) and reconstructs them in equivalent time (milliseconds), which is much easier to measure. ETS is accomplished by scanning the wave guide to collect thousands of samples. Approximately five scans are taken per second.
Referring to
The controller 14 includes a microprocessor 50 connected to a suitable memory 52 (the combination forming a computer) and a display/push button interface 54. The display/push button interface 54 may be used for entering parameters with a keypad and displaying user information. The memory 52 comprises both non-volatile memory for storing programs for implementing the emulsion measurement described herein and calibration parameters, as well as volatile memories used during level measurement, as described below.
The microprocessor 50 is also connected to digital to analog (D/A) input/output circuitry 56 which is in turn connected to 2-wire 4-20 mA circuitry 58 for connecting to remote devices as represented by an input/output line 60. Particularly, the 2-wire circuitry 58 utilizes loop control and power circuitry which is well known and commonly used in process instrumentation. The power is provided on the line 60 from an external power supply. The circuitry 58 controls the current on the 2-wire line 60 which represents level or other characteristics measured by the probe 16. Moreover, the signal line 60 may include digital information using techniques well known in the industry.
The microprocessor 50 is also connected via logic and timing circuitry 62 to an ETS circuit 64. The logic and timing circuitry 62 converts signals to appropriate levels and coordinates timing of such signal levels. The ETS circuitry 64 is connected via MIR circuitry 66 to the probe 16. The ETS circuitry 64 and the MIR circuitry 66 are known and generally in accordance with the teachings of McEwen U.S. Pat. Nos. 5,345,471 and 5,609,059, the specifications of which are hereby incorporated by reference herein.
As will be apparent, other circuitry could be used to implement the bottom up algorithms described herein.
The general concept implemented by the ETS circuit 64 is known. The MIR circuitry 66 generates hundreds of thousands of very fast pulses of 500 picoseconds or less rise time every second. The timing between pulses is tightly controlled. The reflected pulses are sampled at controlled intervals. The samples build a time multiplied “picture” of the reflected pulses. Since these pulses travel on the probe 16 at the speed of light, this picture represents approximately ten nanoseconds in real time for a five-foot probe. The MIR circuitry 66 converts the time to about seventy-one milliseconds. As is apparent, the exact time would depend on various factors, such as, for example, probe length. The largest signals have an amplitude on the order of twenty millivolts before amplification to the desired amplitude by common audio amplifiers. For a low power device, a threshold scheme is employed to give interrupts to the microprocessor 50 for select signals, namely, fiducial, target, level, and end of probe, as described below. The microprocessor 50 converts these timed interrupts into distance. With the probe length entered through the display/push button interface 54, or some other interface, the microprocessor 50 can calculate the level by subtracting from the probe length the difference between the fiducial and level distances. Changes in measured location of the reference target can be used for velocity compensation, as necessary or desired.
As described above, the emulsion 24 shown in
Trace A shows a bottom up TDR waveform of probe impedance over time from a column of fluid, the lower two thirds being water, the upper third being oil floating on the water. Trace C is the TDR trace after mixing with a high-shear mechanical emulsifier (not shown). Trace B is after about 40 minutes after the mixer is turned off, so that the fluid has been allowed to settle back toward the state of Trace A, but not all the way.
In the illustrated embodiment the level of the threshold THRESH is −2 mV, whereas the TDR peak-to-peak is about 600 mV. This means the algorithm must find tiny deviations, <0.5% of full scale. This is a problem because temperature, salinity and oil-fouling on probe surfaces affect the water's dielectric, and those effects can easily overwhelm the small half-percent signal reflection from the cloudy water floating on clearer water.
The disclosed algorithm uses motion-detection to subtract off those static errors, leaving only moving-oil cloud differences. The algorithm disclosed herein can make use of five different motion-types: Historical Difference; Modulated Fluid; Modulated Probe; Linear Motion; or Random Motion, as described below. The memory 52 stores trace data of a plurality of individual waveforms. The processor 50 is programmed to profile a first section of the waveforms which does not change over time and a second section of the waveforms which changes over time, representing an emulsion moving in the vessel. The microprocessor 50 locates where the waveforms indicates motion to determine emulsion level.
Historical Difference Motion Detection
Trace DBA in
The user would set time T based on the application's rate of change. For example, if a de-watering pump caused the change, and it was known to remove 6 inches of water in 5 minutes, the user may set T to 5 minutes, and he would get an indication of where the emulsion cloud is located as it moves closer and closer to the tank bottom. This would allow the user to stop the pump 40 while there still was a foot or two of clear water on the bottom.
As another example, a user may have a temperature-controlled settling tank. A process settles over a day or two, so the user could set the time T to 4 hours, and can track this settling process.
The historical fluid motion detection algorithm gives no information in the case of non-moving fluid. Therefore, the algorithm maintains the position of the last known movement, and reports that value. The user's higher-level control system has knowledge of full column height, and pump-operations, and so can be assured that over time, the amount of water in the bottom can only increase, so the reported cloud height is a lower bound in the still fluid case.
Modulated Fluid Motion Detection
This method is useful in a system with flowing fluids, shown in
The algorithm in U.S. Pat. No. 9,546,895, the specification of which is incorporated herein, provides estimates for oil interface 42, and the top of emulsion interface 48. The probe 16 includes a center conductor 68, which may be a solid rod or tube, coaxially received in an outer tube 70. The center conductor 68 is connected to the controller 14 at one end and at an opposite end via retum line 72 back to the controller 14. The controller 14 uses a downward path for measuring the oil interface 42 and top of emulsion interface 48 as described in the '895 patent. This is done by sending the signal up the return line 72 and downward via the center conductor 70. The present invention is concerned with measuring the interface level 34, and fires TDR pulses upward, via an upward path by sending the signal from the controller 14 up the conductor 70. The user integrates a modulator 74 into the Pump Controller 28, see
The algorithm assembles all the traces' samples at time tSlice, creating the waveform vSlice(K), see
The algorithm calculates P(tSlice) for all t's out to the probe's farthest reach. If tSlice is on top of R1, P(tSlice)=0, there is no motion, whereas when t is on top of R2, there is substantial P(tSlice). The algorithm finds the first time P(tSlice) that crosses the threshold pTHRESH, and indicates that as the emulsion cloud location.
This algorithm offers a tradeoff between
Modulated Probe Motion Detection
The TDR waveform sees the fluid with respect to the probe 16. In the modulated fluid case, the probe 16 is stationary and the fluid moves, whereas in the Modulated Probe case, the probe has a means (not shown) of moving up and down mechanically, and the fluid stays in place. In either case, the TDR waveform will modulate the same. The algorithm is the same, but in this case the fluid can remain still. The advantage of this method is that the user does not need to ensure fluid movement.
Linear Motion Detection
There can be applications where neither “Modulated Fluid Motion Detection” or “Historical Difference Motion Detection” are practical. For example,
The algorithm for linear motion detection visualizes a set of TDR traces as a 2 dimensional image, and then use a modified version of one of the most well-known and effective edge detectors, the Canny edge detector. There are many improvements based on the Canny Edge Detector, for example U.S. Pat. No. 6,094,508, which adjusts thresholds locally, to make the detector work more generally over a large image. The present invention goes the opposite way—it makes the detector simpler, since there is not an arbitrary image, but a constrained situation, since there is a-priori knowledge. For example, if the application is to find an interface while pumping water out, the instrument is looking for downward motion, and there is a known range of velocities based on the pump design. The controller is looking for an approximately linear segment, with slope in a known range, and length in a known range.
To find the line L1, the algorithm draws a box B, with centerline L1. The algorithm then searches for slope M and reflection distance T1, both within user-defined ranges. The search is looking for the first [M, T1] pair which meets the criteria for the edge. At each [M, T1], the algorithm calculates S1 and S2, which are the sum of all pixel intensities below and above L1, respectively. The [M, T1] pair qualify as an edge when S1 is greater than a threshold, and the ratio S over S2 above a signal-to-noise threshold.
In summary, the Linear Motion Detection algorithm started with an apparent jumble of waveforms,
Random Motion Detection
In this case, an interface is moving up and down a small amount, and randomly, so that the above algorithms do not apply. For example, this occurs with “slug flow”, as discussed in U.S. Pat. No. 5,544,672. In this situation,
The buffer of traces in
Thus, in accordance with the invention, a radar transmitter for emulsion measurement uses a bottom up algorithm. A pulse circuit connected to the bottom of the probe generates upwardly traveling pulses on the probe and receives a reflected signal. The controller locates where a wave form indicates motion and reports that distance to a user representing level of the emulsion.
The present invention has been described with respect to logic descriptions and block diagrams. It will be understood that each element of the logic and block diagrams can be implemented by computer program instructions. These program instructions may be provided to a processor to produce a machine, such that the instructions which execute on the processor create means for implementing the functions specified in the blocks. The computer program instructions may be executed by a processor to cause a series of operational steps to be performed by the processor to produce a computer implemented process such that the instructions which execute on the processor provide steps for implementing the functions specified in the blocks. Accordingly, the illustrations support combinations of means for performing a specified function and combinations of steps for performing the specified functions. It will also be understood that each block and combination of blocks can be implemented by special purpose hardware-based systems which perform the specified functions or steps, or combinations of special purpose hardware and computer instructions.
It will be appreciated by those skilled in the art that there are many possible modifications to be made to the specific forms of the features and components of the disclosed embodiments while keeping within the spirit of the concepts disclosed herein. Accordingly, no limitations to the specific forms of the embodiments disclosed herein should be read into the claims unless expressly recited in the claims. Although a few embodiments have been described in detail above, other modifications are possible. For example, the logic flows depicted in the figures do not require the particular order shown, or sequential order, to achieve desirable results. Other steps may be provided, or steps may be eliminated, from the described flows, and other components may be added to, or removed from, the described systems. Other embodiments may be within the scope of the following claims.
The foregoing disclosure of specific embodiments is intended to be illustrative of the broad concepts comprehended by the invention.
Number | Date | Country | |
---|---|---|---|
62632248 | Feb 2018 | US | |
62773410 | Nov 2018 | US |