CA2295330C - Probe mapping diagnostic methods - Google Patents
Probe mapping diagnostic methods Download PDFInfo
- Publication number
- CA2295330C CA2295330C CA002295330A CA2295330A CA2295330C CA 2295330 C CA2295330 C CA 2295330C CA 002295330 A CA002295330 A CA 002295330A CA 2295330 A CA2295330 A CA 2295330A CA 2295330 C CA2295330 C CA 2295330C
- Authority
- CA
- Canada
- Prior art keywords
- probe
- signal
- reflection
- fiducial
- tdr
- 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.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S13/00—Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
- G01S13/02—Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
- G01S13/06—Systems determining position data of a target
- G01S13/08—Systems for measuring distance only
- G01S13/10—Systems for measuring distance only using transmission of interrupted, pulse modulated waves
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F23/00—Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
- G01F23/22—Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water
- G01F23/28—Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water by measuring the variations of parameters of electromagnetic or acoustic waves applied directly to the liquid or fluent solid material
- G01F23/284—Electromagnetic waves
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S13/00—Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
- G01S13/02—Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
- G01S13/0209—Systems with very large relative bandwidth, i.e. larger than 10 %, e.g. baseband, pulse, carrier-free, ultrawideband
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S7/00—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
- G01S7/02—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
- G01S7/40—Means for monitoring or calibrating
- G01S7/4004—Means for monitoring or calibrating of parts of a radar system
- G01S7/4021—Means for monitoring or calibrating of parts of a radar system of receivers
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S7/00—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
- G01S7/02—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
- G01S7/40—Means for monitoring or calibrating
- G01S7/4052—Means for monitoring or calibrating by simulation of echoes
- G01S7/406—Means for monitoring or calibrating by simulation of echoes using internally generated reference signals, e.g. via delay line, via RF or IF signal injection or via integrated reference reflector or transponder
- G01S7/4078—Means for monitoring or calibrating by simulation of echoes using internally generated reference signals, e.g. via delay line, via RF or IF signal injection or via integrated reference reflector or transponder involving an integrated reference reflector or reference transponder
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Electromagnetism (AREA)
- Thermal Sciences (AREA)
- Fluid Mechanics (AREA)
- Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
- Investigating Or Analysing Materials By Optical Means (AREA)
- Locating Faults (AREA)
- Measurement Of Resistance Or Impedance (AREA)
Abstract
A method and apparatus for processing a time domain reflectometry (TDR) signal having a plurality of reflection pulses to generate a valid output result corresponding to a process variable for a material in a vessel. The method includes the steps of determining a reference signal along a probe in the vessel, establishing a first fiducial reference point, a reference end of probe location, a measuring length and a maximum probe length. The method also includes the steps of periodically detecting a TDR signal along the probe, establishing a second fiducial reference point, a detected end of probe location, an end of probe peak to peak amplitude, and attempting to determine a process variable reflection on the TDR signal. The method indicates a broken cable condition, a loss of high frequency connection, a low amplitude reflection condition, an empty vessel condition.
Distances and locations, on the reference signal are computed in relation to the first fiducial reference point, and distances and locations on the TDR signal are computed in relation to the second fiducial reference point.
Distances and locations, on the reference signal are computed in relation to the first fiducial reference point, and distances and locations on the TDR signal are computed in relation to the second fiducial reference point.
Description
PROBE MAPPING DIAGNOSTIC METHODS
BACKGROUND OF THE INVENTION
The present invention relates to an apparatus and method for measuring a process variable. More particularly, t:he present invention relates to an improved method for providing au accurate indication of the location of an interface between a fn~st medium and a second medium in a vessel using tune-of flight of signal reflections, and methods for detecting and correcting or reporting potential conditions effecting process variable measur ement.
The process and storage industries have long used various types of equipment to measure process parameters such as level, flow, temperature, etc. A number of different techniques (such as mc;chaiucal, capacitance, ultrasonic, hydrostatic, etc.) provide measurement solutions for rriany applications. However, many other applications remain for which no available technology can provide a solution, or which cannot provide such a solution at a reasonable cost.. For many applications that could benefit from a level measurement system, currently available level measurement systems are too expensive.
In certain applications, such as high volume petroleum storage, the value of the measured materials is :fugh enough to justify high cost level measurement systems which are required for the extreme accuracy needed. Such expensive measurement systems can include a servo tank g~~ugiiig system or a frequency modulated continuous wave radar system Further, there are many applications that exist where the need to measure level of the product is lvgh in order t:o maintain product quality, conserve resources, improve safety, etc. However, lower cost measurement systems are needed iii order to allow a plant to iiisti-uinent its measurements fully.
There tire cert;zin process measurement applications that demand other than conventional measurement approaches. For example, applications demanding high temperature and high pressure capabilities during level measurements must typically rely on capacitance measu,ement. However, conventional capacitance measurement systems are vulnerable to errors induced by changing material characteristics.
Further, the inherent nature of capacitance measurement techniques prevents the use of such capacitance level measurement techniques i1 vessels containing more than one fluid layer.
Ultrasonic time-of flight technology has reduced concerns regarding level indications changiig as material characteristics change. However, ultrasonuc level measurement sensors cannot work under high temperatures, high pressures, or in vacuunns. In addition, such ultrasonic sensors have a low tolerance for acoustic noise.
One technological approach to solving these problems is the use of guided wave pulses. These pulses are transmitted down a dual probe transmission line iito the stored material, and are reflecaed from probe impedance changes which correlate with the fluid level. Process electronics then convert the tine-of-flight signals into a meaningful fluid level reading. Conventional ,guided wave pulse tecluniques are very expensive due to the nature of equipment needed to produce high-quality, short pulses and to measure the time-of flight for such short time events. Further, such probes are not a sinphe construction and are expensive to produce compared to simple capacitance level probes.
Recent developments. by the National Laboratory System now make it possible to generate fast, low power pulses, and to tune their return with very inexpensive circuits.
See, for example, U.S. Patent Nos. 5,345,471 and 5,361,070. However, this new technology alone will not permit proliferation of level measurement technology into process and storage measurement applications. The pulses generated by tlus new technology are broadband, and also are not square wave pulses. In addition, the generated pulses have a very low power level. Such pulses are at a frequency of 100 MHz or higher, and have an average power level of about 1nW or lower. These factors present new problems that irmst be overcome to transmit the pulses down a probe and s back and to process annd interpret the returned pulses.
The reflected pulses can include reflections that interfere with the determination of the fiducial used in aligmnent of the reflected pulse for measurement of the process variable. If the wrong pout is selected as the fiducial or if the fiducial varies from measurement to measurement, the system will produce erroneous results for the measurement of the process variable.
The process v~u-iable to be measured may be undetected for various reasons, including a broken pre~be, low amplitude reflections from the material level, loss of high '75089-38 frequency connection aad an empty vessel The first three of tl~se conNditions result in erroneous level measurements which mast be corrected whereas tt~e latter is a valid level measurement condition. It is important to be able to detect these condiflons and differentiate between them so as to avoid erroneous results.
S . The process variable to be measured may produce a reflection pulse which is similar iu amplitude to other pulses of the i'efiection signal that are unrelated to the process variable to be measured. The system must be able to determine which reflectmn pulse is due to tlye process variable to be measured in order to avoid erroneous results.
Accordingly, a need exists for a method of automatically updating the reference 0 signal on a periodic basis to track the reflections due to factors which are unrelated to the level of material in the vessel Thereby allowing the detection of the reflection due to the material level and the accurate reporting of the appropriate process variable.
SUMMARY 0~~, IN~NTION
First, a sensor apparatus must be provided for transmitting these low power, high 1S frequency pulses down a probe' and effecting their return. Such appropriate sensor apparatus is descn"bed in U.S. Patent 5,661,251 entitled SENSOR APPARATUS FOR
PROCESS MEASUREMENT and U.S. Patent 5,827,985 entitled SENSOR
APPARATUS FOR PROCESS MEASUREMENT.
The sensor apparatus is particularly adapted for the measurement of material 20 levels in process vessels and storage vessels, but is not limited thereto.
It is understood that the sensor apparatus may be used for measurement of other process variables such as flow, composition, dielectric constant, moisture content, ete. In tl~
specification and claims, t>x term "vessel" refers to pipes, chutes, bins, tanks, reservoirs or any other storage vessels. Such storage vessels may also include fuel tanks, and a host of 25 automotive or vehicular fluid storage systems or reservoirs for engine oil, hydraulic fluids, brake fluids, wiper fluids, coolant, power steering fluid, transmission fluid, and fuel.
The present invention propagates electromagnetic energy down as inexpensive, signal conductor transmission line as an alternative to conventional coax cable or dual 3U transmission lines. The Goubau line lends itself to applications for a level measurement sensor where an economical rod or cable probe (i.e., a one conductor instead of a twin or dual conductor approach) is desired. The single conductor approach enables not only taking advantage of new pulse generation and detection technologies, but also constructing probes ui a manner similar to economical capacitance level probes.
$ The present invention specifically relates to a signal processor apparatus for processing and iiiteipr~~ting the returned pulses from the conductor. Due to the low power, broadband pulses used in accordance with the present invention, such signal processing to provide a memingful indication of the process variable is difficult.
Conventional signal processing techiuques use only simple peak detection to monitor reflections of the pulsea.
The present invention provides signal processing circuitry configured for measurement of the tune-of flight of very fast, guided wave pulses. Techniques used in similar processes, such as ultrasoiuc level measurement are vastly different from and are insufficient for detecti~~n of guided electromagnetic wave pulses due to the differences in signal characteristics. For example, ultrasonic signals are much noisier and have large dynamic ranges of about 120 dB and higher. Guided electromagnetic waves in this context are low iii noise and have low dynamic ranges (less than 10:1) compared to the ultrasonic signals, and are modified by environmental impedances. The signal processor of the present invention is configured to detei~inine an appropriate reflection pulse of these low power sign~~ls from surrounding environmental influences.
Standard electromagnetic reflection measurements are known as time domain reflectometry (TDR). TDR devices for level measurement require the measuring of the tune of flight of a transit pulse and a subsequently produced reflective pulse received at the launching site of tile transit pulse. This measurement is typically accomplished by 2$ determining the time interval between the maximum amplitude of the received pulse.
The determination of this tune interval is done by counting the interval between the transmitted pulse and the received pulse.
The present invention provides an unproved signal processor for detertniniiig a valid reflective pulse ;signal caused by an interface of material in contact with a probe element of a sensor apparatus. The processor apparatus of the present invention is particularly useful for processing lvgh speed, low power pulses as discussed above. In the preferred embodiment of the signal processor apparatus, processing is performed based on a digital sampling of an analog output of the reflective pulses. It is understood, however, that sunilar signal processing techniques can be used on the analog signal in real time.
The present invention provides a method for processing a time domain reflectometry (TDR) signal havung a plurality of reflection pulses to generate a valid output result corresponding to a process variable for a material un,a vessel.
The method includes the steps of determining a reference signal along a probe in the vessel and establishing a reference end of probe location using the reference signal. The method also includes the steps of periodically detecting a TDR signal along the probe, determining a detected end of probe location on said TDR signal, determining a system status based upon the differf.nce between the reference end of probe location and the detected end of probe location, and computing the output result when the system status is functional.
The present invention provides a method for aligning the reference signal and the tune domain reflectometry ('TDR) signal for the computation and comparison of distances and locatior,.s. The method includes the steps of establislniiig a first fiducial reference point on the reference signal and establishing a second fiducial reference point on the TDR signal. The distances and locations on the reference signal are computed relative to the first fiducial reference point and the distances and locations on the TDR
signal are computed relative to the second fiducial reference poiint. One method of establishing a fiducial reference point includes the steps of detecting the reflection in the signal having the greatest number of consecutive zero values; and establishing the s fiducial reference point as the point where the reflection first crosses a fiducial threshold.
An alternative method of establislW g a fiducial reference point includes the steps of detecting the reflection in tree signal representing the greatest uninterrupted distance of zero values; aind establislnin l; the fiducial reference point as the point where the reflection first crosses a fiducial threshold. The preferred method of establishing a tiducial reference point includes the steps of detectiilg the rightmost reflection ui the signal having a greater widtl.l of zero values than a tiducial width threshold; and establishing the fiducial reference pouit as the pouit where the reflection first crosses a fiducial threshold.
One aspect of the present invention is the capability of detecting a broken cable condition. The method includes the steps of establishing a measuring length which is less than the reference end of probe location. A broken cable condition is detected when the detected end of probe location is less than the measuring length.
Another aspect of the: present invention is the capability of detecting a loss of high frequency connector condition. The method iilcludes the steps of establislmig an end of probe peak to peak threshold, detecting an end of probe negative peak and an end of probe positive peak on the; TDR signal, and computing an end of probe peak to peak amplitude as the difference between the end of probe negative peak and the end of probe ' 0 positive peak. A loss of high frequency connection condition is detected when the end of probe peak to peak amplitude is less than the end of probe peak to peak threshold.
Yet another aspect o:F the present uivention is the capability of detecting a low amplitude level reflection condition. The method includes the steps of establislW g a maximum probe length wluc:h is greater than the reference end of probe location. A low amplitude level reflection condition is detected when the detected end of probe location is greater than or equal to the maximum probe length and no level reflection was detected.
A fiwther aspe~~t of the invention is to only indicate the low amplitude level reflection condition if it occurs over an extended period of tune without au intervening level reflection beiilg detected or an empty vessel condition being detected.
Yet a further aspect of the present invention is the capability of detecting an empty vessel condition.- The: method includes the steps of establishing a measuring length which is less than the reference end of probe location, and establishing a s maximum probe length which is greater than the reference end of probe location. An empty vessel condition is detected when the end of probe location is greater than or equal to the measuring length, the end of probe location is less than or equal to the maximum probe length and no level re lection is detected.
Additional obj ects, advantages and novel features of the uwention are set forth in the description that follows, and will become apparent to those skilled in the art upon reviewing the drawin;~s in connection with the following description.
BRIEF DESCRIPTION OF THE DRAWINGS
The detailed description particularly refers to the accompanying figures iii which:
Fig. 1 is a diagrammatical view illustrating a single conductor material level sensor for measuring a level of a process variable such as a liquid in a vessel, and illustrating a block diagram of the pulse transmitter and receiver and the processing circuitry for deterniiling the level of the process variable;
Fig. 2 is au analog signal output of the tune domain reflectometry (TDR) signal generated by the transmitter ~md a receiver;
Fig. 3 is an analog output signal indicating an initial boundary condition of the ~ 0 inside of the vessel befnre the; process variable is located in the vessel;
Fig. 4 is a time aligned analog TDR output signal;
Fig. 5 is an analog derivative signal of the tune aligned TDR signal of Fig.
4;
Fig. 6 is an analog baseline signal generated when the initial boundary signal of Fig. 3 is subtracted from the time aligned TDR output signal of Fig. 4;
Fig. 7 is an analog signal of a derivative of the baseline signal of Fig. 6;
Fig. 8 is a flow chart illustrating the steps performed by the processor apparatus of the present invention to de;tennine an actual, valid level indication of the process variable based on a reflective pulse caused by the process variable;
Fig. 9 is an analog baseline signal corresponding to the signal shown in Fig.
illustrating the pattern recogiution techiuque of determining the valid baseline signal;
Fig. 10 is an analog initial boundary or probe map tune aligned signal corresponding to Fig. :3;
Fig. 11 is an analog illustration of the drift of a real tune initial boundary signal relative to the initial boundary signal shown 11 Fig. 10 caused by variations in operating conditions;
Fig. 12 is an alalog illustration of a baseline signal after the application of a correction factor according to the present invention to compensate for the drift in the signal shown in Fig. 11;
Fig. 13 is a segment of the flow chart illustrated in Fig. 8 incorporating the steps performed by the processor apparatus of the present invention to determine and apply the cor-ection factor and to use the patters recogution teclouque to determine an actual, CA 02295330 2000-02-08 , valid level indication of the process variable based on a reflective pulse caused by the process variable;
Fig. 14 is a flov~~ chart expanding the steps performed in block 250 in Fig.
13 for calculating and adding the correction factor to the initial boundary signal;
Fig. 15 shows a. background signal for the probe;
Fig. 16 shows a. sample TDR signal captured in the vessel;
Fig. 17 shows a. partial probe map generated by combining portions of the background signal and portions of the sample TDR signal;
Fig. 18 shows a digital TDR signal captured along the probe in the vessel;
l0 Fig. 19 shows a digital reference signal for the probe in the vessel;
Fig. 20 shows a digital baseline signal for the probe iii the vessel computed soon after the reference signal;
Fig. 21 shows a digital baseline signal for the probe in the vessel computed at a later time without interim updating of the reference signal;
Fig. 22 shows m updated reference signal;
Fig. 23 shows a flow diagram of the steps used for implementing periodic probe mapping;
Fig. 24 shows a TDR signal with a prefiducial reflection that crosses a fiducial threshold;
Fig. 25 shows a flow diagram for a processing procedure to overcome problems due to prefiducial reflections;, Fig. 26 shows a.digital TDR signal with emphasis on the end of probe reflection and associated parameters;
Fig. 27 shows a digitail reference signal with emphasis on the end of probe reflection and associat~:d pararrieters;
Fig. 28 shows ~z digital baseline signal with au upper threshold, a lower threshold and a threshold index;
Fig. 29 shows ;i digit;zl TDR signal after loss of the high frequency connection;
Fig. 30 shows ;z digit;~l baseline signal with low signal-to-noise ratio; and Fig. 31 shows ~z flow diagram of the steps used for implementing diagnostic and detection routines incb.iding broken cable detection, loss of high frequency coimection, valid material level reflection, activating periodic mapping when in periodic map mode, low amplitude level re:Election and empty vessel detection.
DETAILED DESCRIPTION OF THE DRAWINGS
Referring now to the drawings, Fig. 1 provides a diagrammatical illustration of S operation of the surface wave transmission line sensor apparatus for process measurement. The apparatus 10 is adapted for use with level measurement of a process variable such as an interface between a first medium 11 and a second medium 12 located within a storage vessel 14. Illustratively, the first medium 11 is air and the second medium 12 is a process variable such as a liquid or other material.
~ 0 The present invention includes a mechanical mounting apparatus 16 for securing a single conductor trmsinission line or probe element 18 to a surface 20 of the vessel 14.
The mechanical mounting apparatus 16 enables a transceiver 22 to transmit pulses onto the probe element 18 in the di-ection of arrow 24. Once the pulses reach an interface 26 between the first medium 11 and the second medium 12, such as a top surface of liquid, a 15 reflective pulse is returned back up the probe element 18 iu the direction of arrow 28.
The transceiver 22 is coupled to processing circuitry which detects the reflected pulses to interpret the return pulses and to generate au output signal indicating the level of second medium 12 iii the vessel 14. Preferably, the transceiver 22 transmits broadband pulses at very low average power levels such as about 1nW or less, or l~eW or 20 less peak power. The frequency of the pulses is preferably about 100 MHz or greater.
The transceiver 22 includes a transmit pulse generator 30 which generates a series of the high frequency pulses and transmits these pulses via a cable 32 to mountiig 16.
Transceiver 22 also includes a sequential delay generator 32 coupled to the transmit s pulse generator 30. P, sample pulse generator 34 is coupled to the sequential delay 25 generator 32. A sample and hold buffer 36 is coupled to sample pulse generator 34 and to the cable 37. Illustratively, transceiver 22 is a inicropower wide band impulse radar transmitter developed by the; Lawrence Livennore National Laboratory located at the Uiuversity of Califon~ia located in Livennore, Califonua. It is understood, however, that other transceivers 22 inay also be used with the signal processor apparatus of the present 30 invention.
'75089-38 to As discussed above, the mow~ting apparatus 16 must be specially designed to transmit and receive the low power, high frequency pulses. The above-referenced copending applications provide a suitable mounting apparatus 16 for transceiver 22. It is understood that the electronics and processing circuitry may be located at a remote mounting location spaced apart from the mounting apparatus 16.
An output from transceiver 22 on Iine 38 is coupled to an amplifier' 40. An output firam amplifier 40 provides a TDR analog signal on line 42. Although the preferred embodiment of the present invention uses a digital sampling system and t0 ~ processes digital signals related to the analog output signals, it is understood that a processor apparatus in accordance with the present invention may be built to process the analog signal directly.
In the present invention, an analog-to-digital converter 44 is coupled to amplifier 40. An output of the analog-to-digital converter 44 is coupled to an input of microprocessor 46. In the y7lustrated embodiment, microprocessor 46 is a MC68HC711E9 microprocessor available from Motorola It is understood, however, that any other suitable microprocessor may be used in accordance with present invention.
Microprocessor 46 is used to implement both a fast clock and a slow clock. A
PRF clock implemented by microprocessor 46, which is a square wave at about 2 MHz, is coupled to transmit pulse generator 30. The microprocessor 46 also implements a sync oscillator, which is illustratively a square wave having a frequency of about 40 Hz. The sync oscillator is coupled to sequential delay generator 32.
Microprocessor 46 i~ also coupled to RAM 48 and to EEPROM 50. An output -terminal of microprocessor 46 is coupled to an output 52. Illustratively, output 52 - provides a 4-20 mA output signal to provide an indication of the level of the interface 26 between the first medium 1 I and the second medium 12.
The TDR analog signal from amplifier 40 is an equivalent time signal (ETS) of the reap signal traveling on the transmission line system The ETS is expanded in time by way of digital sampling, thereby enabling the use of conventional hardware for signal conditioning and processing. The signal processor of the present invention provides means far determining a valid pulse reflection, whether in real time or from the ETS. These results allow flexibility to determine iiltormation relating to the position of mediums 11 and 12 relative to a top surface 20, a bottom surface 21, a sensor launch plate, or an end 19 of I:he probe element 18. The process material positional ulfonnation is derived from signal reflections caused by impedmce discontuiuities on the S transmission line and subsequent signal processing.
The signal responses of a transmission line which includes cable 32, mounting 16, and probe element 18 are; dependent upon the inherent transmission design characteristics and unpedance changes created by changing boundary conditions.
These boundary conditions a~-e used to determine changes in the sensor environment and are l0 directly or indirectly related to the amount or position of the bulk process materials being measured. The impedance of the sensor at a given location can change with variations of the sensor's environment or boundary condition due to interaction of the sensor, its signal, and its siu-roundings.
An example of a time domain reflectometry (TDR) analog signal from amplifier 15 40 is illustrated in Fig. 2. In Fig. 2, the fn~st large voltage fluctuation or pulse 54 is generated by the impedance change ui the mounting 16. In the preferred embodiment, the mounting 16 provides this impedance change as a reference reflective pulse. The second reflective pulse: 56 in Fig. 2 is generated by an uiherent interference within vessel 14. Tlus interference reelection 56 may be caused by a ladder, door, weld seam, material 20 buildup, or other intenzal factor from vessel 14. The third reflective pulse 58 is provided by the interface 26 between the first medium 11 and the second medium 12. The fourth reflective pulse 60 is generated by au end 19 of probe element 18.
The present iilventiou ilutializes the signal processing function by characterizing s or recording sensor perfornance at a given tune or under kIlOWll boundwy conditions so 25 that this initial characterization can be used as au iiutial boundary condition. In other words, a reference or :,nitial boundary signal is measured and stored before the first and second mediums 11 arid 12 ~u-e placed in the vessel 14.
An example of an initial boundary signal (LB.) is illustrated iil Fig. 3. The iiutial boundary signal is used to help deternule a valid impedance change iilduced reflective 30 pulse caused by interface 26 between first medium 1 l and second medium 12.
In Fig. 3, the initial voltage peak: or rellective pulse 62 is caused by the interference in the vessel 14. Pulse 62 of Fig. 3 c:oi-responds to pulse 56 iii Fig. 2. Pulse 64 iii Fig.
3 corresponds to the end 19 of probe ~~lemertt 18.
The sensor chai~acteriration may include factory calibration, environmental characterization or prohe mapping, and sensor recharacterization, or recalibration. The characterization can be done :in such a way to permit use of only one or a combination of iilitialization procedures to provide optimum pei-fornance. The characterization of the sensor and its signals inside or outside of its installation environment such as the mounting in the vessel 14 are referred to as its iiutial boundary conditions.
Factory calibration may include characterizing sensor performance in a stable, known enviroiirnent which provides a baseline for the system pei-fornance while neglecting the influencca and effects that are encountered in field installation. A field installation, such as mounting the sensor in a tank or vessel 14, can present an enviroiunent for new l~~unda~y conditions to the sensor caused by the vessel or permanent contents of the vessel which influence the sensor response due to interaction of the sensor with these: vessel contents.
The present uivention provides either an automatic recharacterization or a manual recharacterization of the sensor which can be performed to re-establish a new baseline or probe snap which enables these enviroilinental changes to be accounted for in determining the valid s;;gnal indicating the desired process variable.
A second phase. of the; signal processor of the present invention involves detecting the pulse reflection produced by a valid signal response of the impedance change along a conductor. In other words, t:he processor apparatus locates the impedance pulse reflection caused by thc: interlace 26 between the fn~st medium 11 and the second medium 12 in contact with the probe element 18. A number of mathematical teclnuques can be used to determv.ie the positional information due to impedance changes which generate a signal reflection related in tune to the position of the cause of the impedance change along the probe: element 18.
Detection of impedance changes may include one or more of the following techniques applied to tl.le TD:f~ analog output signal illustrated in Fig. 2.
One detection method is a peak amplitude detection of a Time Aligned TDR signal which is illustrated in Fig. 4. In other words, the: signal of Fig. 4 is shifted so that dine zero is set as the time of the initial reflecting pulse 54 provided by the impedance change at the mounting 16.
In Fig. 4, the first reflecaion pulse 66 is caused by the interference within vessel 14.
Second reflection pulse; 68 is caused by interface 26. The third reflection pulse 70 is caused by end 19 of thc: probe element 18.
S Another detection technique is to determine the fu-st zero crossing after the positive peak of a first derivative signal of the Tune Aligned TDR signal of Fig. 4. This derivative signal is illu~~trated in Fig. 5. Again, the first reflection pulse 72 is caused by the interference within vessel 14. The second reflection pulse 74 is caused by interface 26, and the third reflection pulse 76 is caused by end 19 of probe element 18.
Using this ~ 0 teclnuque, the processor app~~ratus deterniiies the maximum absolute value of the peak reflective pulse, which is illustratively at location 78. If the absolute maximum was a negative value, the pre~~eding zero crossing at location 80 is determined to be the location of interface 26. If the ;absolute maximum was a positive peak, the next subsequent zero crossing is used as the indication of interface 26.
15 Yet another technique for determining the valid interface 26 is the use of a baseline signal. The baseline signal is illustrated in Fig. 6. The baseline signal is determined by subtracting the initial boundary signal of Fig. 3 from the Time Aligned TDR signal of Fig. 4. 'Therefore, the pulse reflection 66 caused by the interference withili vessel 14 is canceled by the initial boundary pulse reflection 62. In Fig. 6, the 20 initial pulse reflection fit is therefore caused by the interface 26 between the first medium 1 l and the second iraedium 12. Reflective pulse 84 is caused by the end 19 of probe element 18. The; processor determines the tune of the greatest positive peak 86 as the pulse reflection caused b5r interface 26.
s Still another technique for determining the actual position of interface 26 is to use 25 the first derivative signal of the baseline signal of Fig. 6. The derivative of the baseline signal is illustrated in Fig. 7. Again, the first reflection pulse 88 is caused by the interface 26 between first medium 11 and second medium 12. The second reflection pulse 90 is caused by end 19 of probe element 18. The processor deternines the peak absolute value 92 of the pulse reflection 88. Since the peak absolute value is associated 30 with a negative voltage, the processor proceeds to the first proceeding zero crossing 94 as the time for the interfa~~e 26. If the maximn.un absolute value was a positive peak, the next subsequent zero crossing is used as the interface level.
Some embodiments of the present invention use a combination of two or more of the above-cited techniques to verify the data related to the valid detection of interface 26.
The short term listory of the signal can also be used to substantiate the validity of any change ui position of tile interface 26 alld to verify that this change is possible within the process condition presently teeing used in the vicinity of the sensor.
In a preferred embodiment of the present invention, the processor determines the location of the valid impedance discontinuity caused by interface 26 between frost medium 11 and second medium 12 using each of tile four tecluiques or methods discussed above. Each method is assigned a weighted factor. In the illustrated embodiment, the baseline signal calculation illustrated in Fig. 6 is assigned a weighted factor of 1.1, while the: other three techniques are assigned a weighted factor of 1Ø
These weighted factor~~ provide means for showing the degree of agreement among the four methods. If the calculated boundary conditions as detected by the sensor creates a conflict among the four detection methods such that there is not a substantial agreement of all four methods, then a valid result is dependent upon whether there is substantial agreement between two or three of the detection methods. If there is substantial deviation ui the detection of the valid unpedance pulse by all four methods, then the method haviilg the highest weighted factor is used as the valid detection.
In the present invention, the microprocessor 46 is programmed with software to calculate the position of the valid impedance change caused by interface 26 using each of the four methods discussed above. Fig. 8 illustrates the steps pen-forlned by the c microprocessor 46 of the present invention to determine the valid signal. The microprocessor 46 is fist initialized as illustrated at block 100. Operation mode of the signal processor is illu;;trated at block 102.
The first opera:ioual mode is to set and store the iiitial boundary (LB.) signal illustrated in Fig. 3. Tics initial boundary signal is generated before the process material is placed in vessel 14. Microprocessor 46 first receives an uiput initial boundary signal as illustrated at block 104. 'fhe data is then tune aligned based on the iiitial impedance change caused by the mounting 16 as illustrated as block 106. Microprocessor 46 then stores the time aligned data related to the initial boundary conditions in the EEPROM SO
as illustrated at block 108. Once the initial boundary signal is stored, microprocessor 46 i returns to operation mode at block 102.
In one embodiment, the signal processor of the present invention may establish S the initial boundary conditions manually only during initial installation of the sensor apparatus 10 into the vessel 14. In another instance, the initial boundary conditions may be updated at predetermined tunes during operation of the signal processor.
During normal operation of the signal processor, microprocessor 46 receives an input TDR signal as illustrated at block 110. This input TDR signal is a digital 10 representation from analog-t:o-digital converter 44 of the TDR analog signal illustrated in Fig. 2. Although reference will be made to the analog signals in Figs. 2-7, it is understood that the microprocessor 46 of the present invention uses the digital representation of then: signals. It is also understood that an analog processor may be used to process the analog signals in accordance with the present invention.
15 Microprocessor 46 next provides a time aligrunent of the TDR signal as illustrated at block 11:?. In other words, microprocessor 46 time shifts the input TDR
signal so that the tune zero begins at the location of the interface of mounting 16 which is indicated by the initial large reflection pulse 54 shown in Fig. 2.
In the illustrated embodiment, microprocessor 46 uses four different detection methods to locate a valid pulse reflection indicative of the interface 26 between the first medium 11 and the se~~ond rnediunn 12. In a first method, nicroprocessor 46 detects a peak reflection pulse c>f-the tune aligned TDR signal (illustrated in Fig. 4) as illustrated in block 114 of Fig. 8. Peak 71 in Fig. 4 is the valid reflection pulse corresponding to s interface 26. However, the peak detection step in tlis example would determine that peak 115 is the valid Freak. 1?eak 115 actually cowesponds to interference inn vessel 14 to be the valid pulse. This explains why the peak detection method of the tune aligned TDR signal, when used alone, may produce some inaccuracies. Microprocessor 46 then determines a time corresponding to the position of the maximum pulse value as illustrated at block 11 p in Fig. 8. The time value is then converted to a distance between the top surface 20 of vessel 14 and the interface 26. Tlis step is illustrated at block 118.
Tlis distance result calculated using the first detection method is then stored.
It is understood that once a time position of au unpedance change on a sensor has been derived, there are: a number of techniques that can be used to convert the detected tune to a distance equivalent position of the uiteuface 26 of the process variable. The time intervals between the impedance changes have a mathematical relationship such that the tune relation betwc;en the: impedance change is proportional to the speed of light and a continuous function of the relative dielectric constants of the subject materials. If the first medium 11 is air, the dielectric constant is substantially equal to 1Ø
The subject tune of the uiterval caii then be corrected by applying the continuous functional relation relative to the material dielecaric and the enviromnental suwoundings.
Other techniques such as using a sensor or conductor of a known length and then using the relationship c:hangea of the pulse travel tunes form a subject material interface to an end 19 of the probe element 18 may be used. In other words, once the location of the valid impedance pulse is determined, a time or distance between the impedance interface and the end 19 of probe element 18 can be used to determine the level of the interface 26. In the case of a sensor having a known length, differential time intervals from a material interfa~~e 26 t:o end 19 of the probe element 18 changes proportionally with the thickness of the subject material 12 divided by a contuiuous functional relationship of the material dielectric constant. Provided the probe element 18 has a fined location relative to the vessel 14, the material level or thickness of the material is an offset relative to sensor position. Tlis positional relationship is deternined using a simple mathematical eduations.
Similarly, the velocity of a pulse traveling on a sensor passing through multiple material layers can be used tb determine the level of each material, provided the relative s dielectric constant of each m~ateriah is known. When the sensor has a faced hocation relative to vessel 14, the position of each material can be determined as a function of the time differential, with an offset to the sensor position. A sensor can also be designed having markers at kno~Nn distances to create signal reflections that can be used for calibration and/or dete:nnining material dielectric values.
Microprocessor 46 also calculates a derivative of the time aligned TDR signal as illustrated at block 12C~. An analog representation of this derivative signal is illustrated ui Fig. 5. Microprocessor 46 then detennilles the location of a first zero crossing adjacent an absolute maximum value of the signal. If the maximum is obtained from a positive value, microprocessor 46 determines the next subsequent zero crossing after the i positive peak. If the absolutf: maximum was obtained from a negative value, the microprocessor 46 determines the fn~st zero crossing prior to the detected absolute S maximum. Tlus step is illustrated at block 122. Microprocessor 46 then determines a tune value cowespond;mg to the detected zero crossing as illustrated at block 124. Tlus time value is then converted to a distance cowesponding to the level of the interface 26 between first medium 11 aud. second medium 12 as illustrated at block 126. The distance calculated using the second detection Method is then stored.
' 0 In the third detection method, the microprocessor 46 calculates a baseline (BL) signal by subtracting the initial boundary signal stored iii EEPROM SO (Fig.
3) from the time aligned TDR signal which is illustrated in analog form in Fig. 4 as illustrated at block 128. This baseline signal is illustrated in analog foam in Fig. 6.
Microprocessor 46 then determines a location of the positive maximum value of the baseline signal as 15 illustrated at block 130. This positive maximum value is illustrated at location 86 in Fig.
6. Microprocessor 46 next determines the tune value cowesponding to the detected positive inaximuin value as illustrated at block 132. Microprocessor 46 then converts the tune value to a distance change indicating the location of interface 26 between the first medium 11 and second medium 12 as illustrated at block 134. The distance calculated 20 using the third detection methods is then stored.
In the fourth detection method, Microprocessor 46 generates a first derivative of the baseline signal as illustrated at block 136. An analog representation of the first derivative of the basevne signal is illustrated in Fig. 7. Microprocessor 46 then determines a location of a zero crossing adjacent au absolute maxiinuin value as 25 illustrated at block 138. If the absolute maximum comes from a positive value, the next subsequent zero crossing is used. If the absolute maximum is from a negative value, the first preceding zero cr~~ssing is used as a location of interface 26.
Microprocessor 46 then determines the tune position of the zero crossing at block 140. In the Fig. 7 example, the first preceding .zero crossing 94 adjacent negative peak 92 is used as the 30 time position. Microprocessor 46 then determines the tune change as illustrated at block 142. This time change: is then converted to a distance change as illustrated at block 144 to provide an indication of the level of the interface 26 between the first medium 11 and second medium 12. Ttus distance change calculated using the fourth detection method is then stored.
Microprocessor 46 next checks the validity of the detected distances from each of the four methods discussed above as illustrated at block 146. Each of the distance changes is rounded to a prede;tennined sensitivity level, for example, one millimeter. If all four stored results from each of the four methods we the same, microprocessor 46 determines that a valid output has been determined. Therefore, microprocessor formats the output into an appropriate form and sends the result to the output 52 as illustrated at ~ 0 block 150.
If the four stored results from the four detection methods are different, microprocessor 46 then takes into account weighted factors established for each of the detection methods as illustrated at block 152. At this point, microprocessor 46 may compare the four stored method results to a previous result. If any of the four stored results deviates from the previous result by more than a predetermined amount, the microprocessor 46 may disregard such a stored result. Microprocessor 46 provides a summation of the weighted reaults as illustrated at block 154. Examples of this summation by microprocessor 46 are provided below. Microprocessor 46 then selects the most appropriate distance as the valid impedance reflection from interface 26 using the weighted results at block 156. Microprocessor 46 then outputs tlus selected result at block 150.
Three different examples are provided to illustrated the effect of the weighted factors on the process measw~ement.
Method X cm W.F. Selected Result Peak TDR 29.0 1.0 Der. TDR 36.9 1.0 Max. BL 37.1 1.1 37.1 Der. BL 37.3 l.p Method X cm W.F. Selected i Result Peak TDR 36.9 1.0 Der. TDR 37.3 1.0 37.3 S Max. BL 37.1 1.1 Der. BL 37.3 -- 1.0 Method ~n~, W.F. Selected Result Peak TDR 37.1 1.0 Der. TDR 37.3 1.0 Max. BL 37.1 1.1 37.1 Der. BL 37.3 1.0 In Example l, each of the detected results for the level or distance X of the interface 26 is different. Inn this instance, the greatest weighted factor indicates that the maximum detected ba;;eline value is used. Therefore, the selected result by microprocessor 46 is ?.7.1 cm.
In Example 2, the maximum baseline method still indicates a distance of 37.1 cm.
However, both the derivative: of the TDR'signal method and the derivative of the baseline signal method provide~~ a result of 37.3 cnL Therefore, the distance of 37.3 cm has a weighted factor of 2.0 when the two identical results are added together.
Distance 36.9 cm from the peak TDR signal method has a weighted factor of 1Ø Distance 37.1 due to the maximum baseline method has a weighted factor of 1.1. Therefore, microprocessor 46 selects the greatest weighted factor of 2.0 and the corresponding distance result of 37.3 cm during the selection step at block 156 in Fig. 8.
Inn Example 3, both the peak TDR method and the maxinum baseline method provided a distance re~~ult of 37.1 cm The derivative TDR method and the derivative baseline method both produced a result of 37.3 cm. Therefore, the distance 37.1 has a weighted factor of 2.1, while the distance 37.3 cm has a weighted factor of 2Ø
Therefore, microprocessor 46 selects the result of 37.1 cm during the selection step at block 156.
BACKGROUND OF THE INVENTION
The present invention relates to an apparatus and method for measuring a process variable. More particularly, t:he present invention relates to an improved method for providing au accurate indication of the location of an interface between a fn~st medium and a second medium in a vessel using tune-of flight of signal reflections, and methods for detecting and correcting or reporting potential conditions effecting process variable measur ement.
The process and storage industries have long used various types of equipment to measure process parameters such as level, flow, temperature, etc. A number of different techniques (such as mc;chaiucal, capacitance, ultrasonic, hydrostatic, etc.) provide measurement solutions for rriany applications. However, many other applications remain for which no available technology can provide a solution, or which cannot provide such a solution at a reasonable cost.. For many applications that could benefit from a level measurement system, currently available level measurement systems are too expensive.
In certain applications, such as high volume petroleum storage, the value of the measured materials is :fugh enough to justify high cost level measurement systems which are required for the extreme accuracy needed. Such expensive measurement systems can include a servo tank g~~ugiiig system or a frequency modulated continuous wave radar system Further, there are many applications that exist where the need to measure level of the product is lvgh in order t:o maintain product quality, conserve resources, improve safety, etc. However, lower cost measurement systems are needed iii order to allow a plant to iiisti-uinent its measurements fully.
There tire cert;zin process measurement applications that demand other than conventional measurement approaches. For example, applications demanding high temperature and high pressure capabilities during level measurements must typically rely on capacitance measu,ement. However, conventional capacitance measurement systems are vulnerable to errors induced by changing material characteristics.
Further, the inherent nature of capacitance measurement techniques prevents the use of such capacitance level measurement techniques i1 vessels containing more than one fluid layer.
Ultrasonic time-of flight technology has reduced concerns regarding level indications changiig as material characteristics change. However, ultrasonuc level measurement sensors cannot work under high temperatures, high pressures, or in vacuunns. In addition, such ultrasonic sensors have a low tolerance for acoustic noise.
One technological approach to solving these problems is the use of guided wave pulses. These pulses are transmitted down a dual probe transmission line iito the stored material, and are reflecaed from probe impedance changes which correlate with the fluid level. Process electronics then convert the tine-of-flight signals into a meaningful fluid level reading. Conventional ,guided wave pulse tecluniques are very expensive due to the nature of equipment needed to produce high-quality, short pulses and to measure the time-of flight for such short time events. Further, such probes are not a sinphe construction and are expensive to produce compared to simple capacitance level probes.
Recent developments. by the National Laboratory System now make it possible to generate fast, low power pulses, and to tune their return with very inexpensive circuits.
See, for example, U.S. Patent Nos. 5,345,471 and 5,361,070. However, this new technology alone will not permit proliferation of level measurement technology into process and storage measurement applications. The pulses generated by tlus new technology are broadband, and also are not square wave pulses. In addition, the generated pulses have a very low power level. Such pulses are at a frequency of 100 MHz or higher, and have an average power level of about 1nW or lower. These factors present new problems that irmst be overcome to transmit the pulses down a probe and s back and to process annd interpret the returned pulses.
The reflected pulses can include reflections that interfere with the determination of the fiducial used in aligmnent of the reflected pulse for measurement of the process variable. If the wrong pout is selected as the fiducial or if the fiducial varies from measurement to measurement, the system will produce erroneous results for the measurement of the process variable.
The process v~u-iable to be measured may be undetected for various reasons, including a broken pre~be, low amplitude reflections from the material level, loss of high '75089-38 frequency connection aad an empty vessel The first three of tl~se conNditions result in erroneous level measurements which mast be corrected whereas tt~e latter is a valid level measurement condition. It is important to be able to detect these condiflons and differentiate between them so as to avoid erroneous results.
S . The process variable to be measured may produce a reflection pulse which is similar iu amplitude to other pulses of the i'efiection signal that are unrelated to the process variable to be measured. The system must be able to determine which reflectmn pulse is due to tlye process variable to be measured in order to avoid erroneous results.
Accordingly, a need exists for a method of automatically updating the reference 0 signal on a periodic basis to track the reflections due to factors which are unrelated to the level of material in the vessel Thereby allowing the detection of the reflection due to the material level and the accurate reporting of the appropriate process variable.
SUMMARY 0~~, IN~NTION
First, a sensor apparatus must be provided for transmitting these low power, high 1S frequency pulses down a probe' and effecting their return. Such appropriate sensor apparatus is descn"bed in U.S. Patent 5,661,251 entitled SENSOR APPARATUS FOR
PROCESS MEASUREMENT and U.S. Patent 5,827,985 entitled SENSOR
APPARATUS FOR PROCESS MEASUREMENT.
The sensor apparatus is particularly adapted for the measurement of material 20 levels in process vessels and storage vessels, but is not limited thereto.
It is understood that the sensor apparatus may be used for measurement of other process variables such as flow, composition, dielectric constant, moisture content, ete. In tl~
specification and claims, t>x term "vessel" refers to pipes, chutes, bins, tanks, reservoirs or any other storage vessels. Such storage vessels may also include fuel tanks, and a host of 25 automotive or vehicular fluid storage systems or reservoirs for engine oil, hydraulic fluids, brake fluids, wiper fluids, coolant, power steering fluid, transmission fluid, and fuel.
The present invention propagates electromagnetic energy down as inexpensive, signal conductor transmission line as an alternative to conventional coax cable or dual 3U transmission lines. The Goubau line lends itself to applications for a level measurement sensor where an economical rod or cable probe (i.e., a one conductor instead of a twin or dual conductor approach) is desired. The single conductor approach enables not only taking advantage of new pulse generation and detection technologies, but also constructing probes ui a manner similar to economical capacitance level probes.
$ The present invention specifically relates to a signal processor apparatus for processing and iiiteipr~~ting the returned pulses from the conductor. Due to the low power, broadband pulses used in accordance with the present invention, such signal processing to provide a memingful indication of the process variable is difficult.
Conventional signal processing techiuques use only simple peak detection to monitor reflections of the pulsea.
The present invention provides signal processing circuitry configured for measurement of the tune-of flight of very fast, guided wave pulses. Techniques used in similar processes, such as ultrasoiuc level measurement are vastly different from and are insufficient for detecti~~n of guided electromagnetic wave pulses due to the differences in signal characteristics. For example, ultrasonic signals are much noisier and have large dynamic ranges of about 120 dB and higher. Guided electromagnetic waves in this context are low iii noise and have low dynamic ranges (less than 10:1) compared to the ultrasonic signals, and are modified by environmental impedances. The signal processor of the present invention is configured to detei~inine an appropriate reflection pulse of these low power sign~~ls from surrounding environmental influences.
Standard electromagnetic reflection measurements are known as time domain reflectometry (TDR). TDR devices for level measurement require the measuring of the tune of flight of a transit pulse and a subsequently produced reflective pulse received at the launching site of tile transit pulse. This measurement is typically accomplished by 2$ determining the time interval between the maximum amplitude of the received pulse.
The determination of this tune interval is done by counting the interval between the transmitted pulse and the received pulse.
The present invention provides an unproved signal processor for detertniniiig a valid reflective pulse ;signal caused by an interface of material in contact with a probe element of a sensor apparatus. The processor apparatus of the present invention is particularly useful for processing lvgh speed, low power pulses as discussed above. In the preferred embodiment of the signal processor apparatus, processing is performed based on a digital sampling of an analog output of the reflective pulses. It is understood, however, that sunilar signal processing techniques can be used on the analog signal in real time.
The present invention provides a method for processing a time domain reflectometry (TDR) signal havung a plurality of reflection pulses to generate a valid output result corresponding to a process variable for a material un,a vessel.
The method includes the steps of determining a reference signal along a probe in the vessel and establishing a reference end of probe location using the reference signal. The method also includes the steps of periodically detecting a TDR signal along the probe, determining a detected end of probe location on said TDR signal, determining a system status based upon the differf.nce between the reference end of probe location and the detected end of probe location, and computing the output result when the system status is functional.
The present invention provides a method for aligning the reference signal and the tune domain reflectometry ('TDR) signal for the computation and comparison of distances and locatior,.s. The method includes the steps of establislniiig a first fiducial reference point on the reference signal and establishing a second fiducial reference point on the TDR signal. The distances and locations on the reference signal are computed relative to the first fiducial reference point and the distances and locations on the TDR
signal are computed relative to the second fiducial reference poiint. One method of establishing a fiducial reference point includes the steps of detecting the reflection in the signal having the greatest number of consecutive zero values; and establishing the s fiducial reference point as the point where the reflection first crosses a fiducial threshold.
An alternative method of establislW g a fiducial reference point includes the steps of detecting the reflection in tree signal representing the greatest uninterrupted distance of zero values; aind establislnin l; the fiducial reference point as the point where the reflection first crosses a fiducial threshold. The preferred method of establishing a tiducial reference point includes the steps of detectiilg the rightmost reflection ui the signal having a greater widtl.l of zero values than a tiducial width threshold; and establishing the fiducial reference pouit as the pouit where the reflection first crosses a fiducial threshold.
One aspect of the present invention is the capability of detecting a broken cable condition. The method includes the steps of establishing a measuring length which is less than the reference end of probe location. A broken cable condition is detected when the detected end of probe location is less than the measuring length.
Another aspect of the: present invention is the capability of detecting a loss of high frequency connector condition. The method iilcludes the steps of establislmig an end of probe peak to peak threshold, detecting an end of probe negative peak and an end of probe positive peak on the; TDR signal, and computing an end of probe peak to peak amplitude as the difference between the end of probe negative peak and the end of probe ' 0 positive peak. A loss of high frequency connection condition is detected when the end of probe peak to peak amplitude is less than the end of probe peak to peak threshold.
Yet another aspect o:F the present uivention is the capability of detecting a low amplitude level reflection condition. The method includes the steps of establislW g a maximum probe length wluc:h is greater than the reference end of probe location. A low amplitude level reflection condition is detected when the detected end of probe location is greater than or equal to the maximum probe length and no level reflection was detected.
A fiwther aspe~~t of the invention is to only indicate the low amplitude level reflection condition if it occurs over an extended period of tune without au intervening level reflection beiilg detected or an empty vessel condition being detected.
Yet a further aspect of the present invention is the capability of detecting an empty vessel condition.- The: method includes the steps of establishing a measuring length which is less than the reference end of probe location, and establishing a s maximum probe length which is greater than the reference end of probe location. An empty vessel condition is detected when the end of probe location is greater than or equal to the measuring length, the end of probe location is less than or equal to the maximum probe length and no level re lection is detected.
Additional obj ects, advantages and novel features of the uwention are set forth in the description that follows, and will become apparent to those skilled in the art upon reviewing the drawin;~s in connection with the following description.
BRIEF DESCRIPTION OF THE DRAWINGS
The detailed description particularly refers to the accompanying figures iii which:
Fig. 1 is a diagrammatical view illustrating a single conductor material level sensor for measuring a level of a process variable such as a liquid in a vessel, and illustrating a block diagram of the pulse transmitter and receiver and the processing circuitry for deterniiling the level of the process variable;
Fig. 2 is au analog signal output of the tune domain reflectometry (TDR) signal generated by the transmitter ~md a receiver;
Fig. 3 is an analog output signal indicating an initial boundary condition of the ~ 0 inside of the vessel befnre the; process variable is located in the vessel;
Fig. 4 is a time aligned analog TDR output signal;
Fig. 5 is an analog derivative signal of the tune aligned TDR signal of Fig.
4;
Fig. 6 is an analog baseline signal generated when the initial boundary signal of Fig. 3 is subtracted from the time aligned TDR output signal of Fig. 4;
Fig. 7 is an analog signal of a derivative of the baseline signal of Fig. 6;
Fig. 8 is a flow chart illustrating the steps performed by the processor apparatus of the present invention to de;tennine an actual, valid level indication of the process variable based on a reflective pulse caused by the process variable;
Fig. 9 is an analog baseline signal corresponding to the signal shown in Fig.
illustrating the pattern recogiution techiuque of determining the valid baseline signal;
Fig. 10 is an analog initial boundary or probe map tune aligned signal corresponding to Fig. :3;
Fig. 11 is an analog illustration of the drift of a real tune initial boundary signal relative to the initial boundary signal shown 11 Fig. 10 caused by variations in operating conditions;
Fig. 12 is an alalog illustration of a baseline signal after the application of a correction factor according to the present invention to compensate for the drift in the signal shown in Fig. 11;
Fig. 13 is a segment of the flow chart illustrated in Fig. 8 incorporating the steps performed by the processor apparatus of the present invention to determine and apply the cor-ection factor and to use the patters recogution teclouque to determine an actual, CA 02295330 2000-02-08 , valid level indication of the process variable based on a reflective pulse caused by the process variable;
Fig. 14 is a flov~~ chart expanding the steps performed in block 250 in Fig.
13 for calculating and adding the correction factor to the initial boundary signal;
Fig. 15 shows a. background signal for the probe;
Fig. 16 shows a. sample TDR signal captured in the vessel;
Fig. 17 shows a. partial probe map generated by combining portions of the background signal and portions of the sample TDR signal;
Fig. 18 shows a digital TDR signal captured along the probe in the vessel;
l0 Fig. 19 shows a digital reference signal for the probe in the vessel;
Fig. 20 shows a digital baseline signal for the probe iii the vessel computed soon after the reference signal;
Fig. 21 shows a digital baseline signal for the probe in the vessel computed at a later time without interim updating of the reference signal;
Fig. 22 shows m updated reference signal;
Fig. 23 shows a flow diagram of the steps used for implementing periodic probe mapping;
Fig. 24 shows a TDR signal with a prefiducial reflection that crosses a fiducial threshold;
Fig. 25 shows a flow diagram for a processing procedure to overcome problems due to prefiducial reflections;, Fig. 26 shows a.digital TDR signal with emphasis on the end of probe reflection and associated parameters;
Fig. 27 shows a digitail reference signal with emphasis on the end of probe reflection and associat~:d pararrieters;
Fig. 28 shows ~z digital baseline signal with au upper threshold, a lower threshold and a threshold index;
Fig. 29 shows ;i digit;zl TDR signal after loss of the high frequency connection;
Fig. 30 shows ;z digit;~l baseline signal with low signal-to-noise ratio; and Fig. 31 shows ~z flow diagram of the steps used for implementing diagnostic and detection routines incb.iding broken cable detection, loss of high frequency coimection, valid material level reflection, activating periodic mapping when in periodic map mode, low amplitude level re:Election and empty vessel detection.
DETAILED DESCRIPTION OF THE DRAWINGS
Referring now to the drawings, Fig. 1 provides a diagrammatical illustration of S operation of the surface wave transmission line sensor apparatus for process measurement. The apparatus 10 is adapted for use with level measurement of a process variable such as an interface between a first medium 11 and a second medium 12 located within a storage vessel 14. Illustratively, the first medium 11 is air and the second medium 12 is a process variable such as a liquid or other material.
~ 0 The present invention includes a mechanical mounting apparatus 16 for securing a single conductor trmsinission line or probe element 18 to a surface 20 of the vessel 14.
The mechanical mounting apparatus 16 enables a transceiver 22 to transmit pulses onto the probe element 18 in the di-ection of arrow 24. Once the pulses reach an interface 26 between the first medium 11 and the second medium 12, such as a top surface of liquid, a 15 reflective pulse is returned back up the probe element 18 iu the direction of arrow 28.
The transceiver 22 is coupled to processing circuitry which detects the reflected pulses to interpret the return pulses and to generate au output signal indicating the level of second medium 12 iii the vessel 14. Preferably, the transceiver 22 transmits broadband pulses at very low average power levels such as about 1nW or less, or l~eW or 20 less peak power. The frequency of the pulses is preferably about 100 MHz or greater.
The transceiver 22 includes a transmit pulse generator 30 which generates a series of the high frequency pulses and transmits these pulses via a cable 32 to mountiig 16.
Transceiver 22 also includes a sequential delay generator 32 coupled to the transmit s pulse generator 30. P, sample pulse generator 34 is coupled to the sequential delay 25 generator 32. A sample and hold buffer 36 is coupled to sample pulse generator 34 and to the cable 37. Illustratively, transceiver 22 is a inicropower wide band impulse radar transmitter developed by the; Lawrence Livennore National Laboratory located at the Uiuversity of Califon~ia located in Livennore, Califonua. It is understood, however, that other transceivers 22 inay also be used with the signal processor apparatus of the present 30 invention.
'75089-38 to As discussed above, the mow~ting apparatus 16 must be specially designed to transmit and receive the low power, high frequency pulses. The above-referenced copending applications provide a suitable mounting apparatus 16 for transceiver 22. It is understood that the electronics and processing circuitry may be located at a remote mounting location spaced apart from the mounting apparatus 16.
An output from transceiver 22 on Iine 38 is coupled to an amplifier' 40. An output firam amplifier 40 provides a TDR analog signal on line 42. Although the preferred embodiment of the present invention uses a digital sampling system and t0 ~ processes digital signals related to the analog output signals, it is understood that a processor apparatus in accordance with the present invention may be built to process the analog signal directly.
In the present invention, an analog-to-digital converter 44 is coupled to amplifier 40. An output of the analog-to-digital converter 44 is coupled to an input of microprocessor 46. In the y7lustrated embodiment, microprocessor 46 is a MC68HC711E9 microprocessor available from Motorola It is understood, however, that any other suitable microprocessor may be used in accordance with present invention.
Microprocessor 46 is used to implement both a fast clock and a slow clock. A
PRF clock implemented by microprocessor 46, which is a square wave at about 2 MHz, is coupled to transmit pulse generator 30. The microprocessor 46 also implements a sync oscillator, which is illustratively a square wave having a frequency of about 40 Hz. The sync oscillator is coupled to sequential delay generator 32.
Microprocessor 46 i~ also coupled to RAM 48 and to EEPROM 50. An output -terminal of microprocessor 46 is coupled to an output 52. Illustratively, output 52 - provides a 4-20 mA output signal to provide an indication of the level of the interface 26 between the first medium 1 I and the second medium 12.
The TDR analog signal from amplifier 40 is an equivalent time signal (ETS) of the reap signal traveling on the transmission line system The ETS is expanded in time by way of digital sampling, thereby enabling the use of conventional hardware for signal conditioning and processing. The signal processor of the present invention provides means far determining a valid pulse reflection, whether in real time or from the ETS. These results allow flexibility to determine iiltormation relating to the position of mediums 11 and 12 relative to a top surface 20, a bottom surface 21, a sensor launch plate, or an end 19 of I:he probe element 18. The process material positional ulfonnation is derived from signal reflections caused by impedmce discontuiuities on the S transmission line and subsequent signal processing.
The signal responses of a transmission line which includes cable 32, mounting 16, and probe element 18 are; dependent upon the inherent transmission design characteristics and unpedance changes created by changing boundary conditions.
These boundary conditions a~-e used to determine changes in the sensor environment and are l0 directly or indirectly related to the amount or position of the bulk process materials being measured. The impedance of the sensor at a given location can change with variations of the sensor's environment or boundary condition due to interaction of the sensor, its signal, and its siu-roundings.
An example of a time domain reflectometry (TDR) analog signal from amplifier 15 40 is illustrated in Fig. 2. In Fig. 2, the fn~st large voltage fluctuation or pulse 54 is generated by the impedance change ui the mounting 16. In the preferred embodiment, the mounting 16 provides this impedance change as a reference reflective pulse. The second reflective pulse: 56 in Fig. 2 is generated by an uiherent interference within vessel 14. Tlus interference reelection 56 may be caused by a ladder, door, weld seam, material 20 buildup, or other intenzal factor from vessel 14. The third reflective pulse 58 is provided by the interface 26 between the first medium 11 and the second medium 12. The fourth reflective pulse 60 is generated by au end 19 of probe element 18.
The present iilventiou ilutializes the signal processing function by characterizing s or recording sensor perfornance at a given tune or under kIlOWll boundwy conditions so 25 that this initial characterization can be used as au iiutial boundary condition. In other words, a reference or :,nitial boundary signal is measured and stored before the first and second mediums 11 arid 12 ~u-e placed in the vessel 14.
An example of an initial boundary signal (LB.) is illustrated iil Fig. 3. The iiutial boundary signal is used to help deternule a valid impedance change iilduced reflective 30 pulse caused by interface 26 between first medium 1 l and second medium 12.
In Fig. 3, the initial voltage peak: or rellective pulse 62 is caused by the interference in the vessel 14. Pulse 62 of Fig. 3 c:oi-responds to pulse 56 iii Fig. 2. Pulse 64 iii Fig.
3 corresponds to the end 19 of probe ~~lemertt 18.
The sensor chai~acteriration may include factory calibration, environmental characterization or prohe mapping, and sensor recharacterization, or recalibration. The characterization can be done :in such a way to permit use of only one or a combination of iilitialization procedures to provide optimum pei-fornance. The characterization of the sensor and its signals inside or outside of its installation environment such as the mounting in the vessel 14 are referred to as its iiutial boundary conditions.
Factory calibration may include characterizing sensor performance in a stable, known enviroiirnent which provides a baseline for the system pei-fornance while neglecting the influencca and effects that are encountered in field installation. A field installation, such as mounting the sensor in a tank or vessel 14, can present an enviroiunent for new l~~unda~y conditions to the sensor caused by the vessel or permanent contents of the vessel which influence the sensor response due to interaction of the sensor with these: vessel contents.
The present uivention provides either an automatic recharacterization or a manual recharacterization of the sensor which can be performed to re-establish a new baseline or probe snap which enables these enviroilinental changes to be accounted for in determining the valid s;;gnal indicating the desired process variable.
A second phase. of the; signal processor of the present invention involves detecting the pulse reflection produced by a valid signal response of the impedance change along a conductor. In other words, t:he processor apparatus locates the impedance pulse reflection caused by thc: interlace 26 between the fn~st medium 11 and the second medium 12 in contact with the probe element 18. A number of mathematical teclnuques can be used to determv.ie the positional information due to impedance changes which generate a signal reflection related in tune to the position of the cause of the impedance change along the probe: element 18.
Detection of impedance changes may include one or more of the following techniques applied to tl.le TD:f~ analog output signal illustrated in Fig. 2.
One detection method is a peak amplitude detection of a Time Aligned TDR signal which is illustrated in Fig. 4. In other words, the: signal of Fig. 4 is shifted so that dine zero is set as the time of the initial reflecting pulse 54 provided by the impedance change at the mounting 16.
In Fig. 4, the first reflecaion pulse 66 is caused by the interference within vessel 14.
Second reflection pulse; 68 is caused by interface 26. The third reflection pulse 70 is caused by end 19 of thc: probe element 18.
S Another detection technique is to determine the fu-st zero crossing after the positive peak of a first derivative signal of the Tune Aligned TDR signal of Fig. 4. This derivative signal is illu~~trated in Fig. 5. Again, the first reflection pulse 72 is caused by the interference within vessel 14. The second reflection pulse 74 is caused by interface 26, and the third reflection pulse 76 is caused by end 19 of probe element 18.
Using this ~ 0 teclnuque, the processor app~~ratus deterniiies the maximum absolute value of the peak reflective pulse, which is illustratively at location 78. If the absolute maximum was a negative value, the pre~~eding zero crossing at location 80 is determined to be the location of interface 26. If the ;absolute maximum was a positive peak, the next subsequent zero crossing is used as the indication of interface 26.
15 Yet another technique for determining the valid interface 26 is the use of a baseline signal. The baseline signal is illustrated in Fig. 6. The baseline signal is determined by subtracting the initial boundary signal of Fig. 3 from the Time Aligned TDR signal of Fig. 4. 'Therefore, the pulse reflection 66 caused by the interference withili vessel 14 is canceled by the initial boundary pulse reflection 62. In Fig. 6, the 20 initial pulse reflection fit is therefore caused by the interface 26 between the first medium 1 l and the second iraedium 12. Reflective pulse 84 is caused by the end 19 of probe element 18. The; processor determines the tune of the greatest positive peak 86 as the pulse reflection caused b5r interface 26.
s Still another technique for determining the actual position of interface 26 is to use 25 the first derivative signal of the baseline signal of Fig. 6. The derivative of the baseline signal is illustrated in Fig. 7. Again, the first reflection pulse 88 is caused by the interface 26 between first medium 11 and second medium 12. The second reflection pulse 90 is caused by end 19 of probe element 18. The processor deternines the peak absolute value 92 of the pulse reflection 88. Since the peak absolute value is associated 30 with a negative voltage, the processor proceeds to the first proceeding zero crossing 94 as the time for the interfa~~e 26. If the maximn.un absolute value was a positive peak, the next subsequent zero crossing is used as the interface level.
Some embodiments of the present invention use a combination of two or more of the above-cited techniques to verify the data related to the valid detection of interface 26.
The short term listory of the signal can also be used to substantiate the validity of any change ui position of tile interface 26 alld to verify that this change is possible within the process condition presently teeing used in the vicinity of the sensor.
In a preferred embodiment of the present invention, the processor determines the location of the valid impedance discontinuity caused by interface 26 between frost medium 11 and second medium 12 using each of tile four tecluiques or methods discussed above. Each method is assigned a weighted factor. In the illustrated embodiment, the baseline signal calculation illustrated in Fig. 6 is assigned a weighted factor of 1.1, while the: other three techniques are assigned a weighted factor of 1Ø
These weighted factor~~ provide means for showing the degree of agreement among the four methods. If the calculated boundary conditions as detected by the sensor creates a conflict among the four detection methods such that there is not a substantial agreement of all four methods, then a valid result is dependent upon whether there is substantial agreement between two or three of the detection methods. If there is substantial deviation ui the detection of the valid unpedance pulse by all four methods, then the method haviilg the highest weighted factor is used as the valid detection.
In the present invention, the microprocessor 46 is programmed with software to calculate the position of the valid impedance change caused by interface 26 using each of the four methods discussed above. Fig. 8 illustrates the steps pen-forlned by the c microprocessor 46 of the present invention to determine the valid signal. The microprocessor 46 is fist initialized as illustrated at block 100. Operation mode of the signal processor is illu;;trated at block 102.
The first opera:ioual mode is to set and store the iiitial boundary (LB.) signal illustrated in Fig. 3. Tics initial boundary signal is generated before the process material is placed in vessel 14. Microprocessor 46 first receives an uiput initial boundary signal as illustrated at block 104. 'fhe data is then tune aligned based on the iiitial impedance change caused by the mounting 16 as illustrated as block 106. Microprocessor 46 then stores the time aligned data related to the initial boundary conditions in the EEPROM SO
as illustrated at block 108. Once the initial boundary signal is stored, microprocessor 46 i returns to operation mode at block 102.
In one embodiment, the signal processor of the present invention may establish S the initial boundary conditions manually only during initial installation of the sensor apparatus 10 into the vessel 14. In another instance, the initial boundary conditions may be updated at predetermined tunes during operation of the signal processor.
During normal operation of the signal processor, microprocessor 46 receives an input TDR signal as illustrated at block 110. This input TDR signal is a digital 10 representation from analog-t:o-digital converter 44 of the TDR analog signal illustrated in Fig. 2. Although reference will be made to the analog signals in Figs. 2-7, it is understood that the microprocessor 46 of the present invention uses the digital representation of then: signals. It is also understood that an analog processor may be used to process the analog signals in accordance with the present invention.
15 Microprocessor 46 next provides a time aligrunent of the TDR signal as illustrated at block 11:?. In other words, microprocessor 46 time shifts the input TDR
signal so that the tune zero begins at the location of the interface of mounting 16 which is indicated by the initial large reflection pulse 54 shown in Fig. 2.
In the illustrated embodiment, microprocessor 46 uses four different detection methods to locate a valid pulse reflection indicative of the interface 26 between the first medium 11 and the se~~ond rnediunn 12. In a first method, nicroprocessor 46 detects a peak reflection pulse c>f-the tune aligned TDR signal (illustrated in Fig. 4) as illustrated in block 114 of Fig. 8. Peak 71 in Fig. 4 is the valid reflection pulse corresponding to s interface 26. However, the peak detection step in tlis example would determine that peak 115 is the valid Freak. 1?eak 115 actually cowesponds to interference inn vessel 14 to be the valid pulse. This explains why the peak detection method of the tune aligned TDR signal, when used alone, may produce some inaccuracies. Microprocessor 46 then determines a time corresponding to the position of the maximum pulse value as illustrated at block 11 p in Fig. 8. The time value is then converted to a distance between the top surface 20 of vessel 14 and the interface 26. Tlis step is illustrated at block 118.
Tlis distance result calculated using the first detection method is then stored.
It is understood that once a time position of au unpedance change on a sensor has been derived, there are: a number of techniques that can be used to convert the detected tune to a distance equivalent position of the uiteuface 26 of the process variable. The time intervals between the impedance changes have a mathematical relationship such that the tune relation betwc;en the: impedance change is proportional to the speed of light and a continuous function of the relative dielectric constants of the subject materials. If the first medium 11 is air, the dielectric constant is substantially equal to 1Ø
The subject tune of the uiterval caii then be corrected by applying the continuous functional relation relative to the material dielecaric and the enviromnental suwoundings.
Other techniques such as using a sensor or conductor of a known length and then using the relationship c:hangea of the pulse travel tunes form a subject material interface to an end 19 of the probe element 18 may be used. In other words, once the location of the valid impedance pulse is determined, a time or distance between the impedance interface and the end 19 of probe element 18 can be used to determine the level of the interface 26. In the case of a sensor having a known length, differential time intervals from a material interfa~~e 26 t:o end 19 of the probe element 18 changes proportionally with the thickness of the subject material 12 divided by a contuiuous functional relationship of the material dielectric constant. Provided the probe element 18 has a fined location relative to the vessel 14, the material level or thickness of the material is an offset relative to sensor position. Tlis positional relationship is deternined using a simple mathematical eduations.
Similarly, the velocity of a pulse traveling on a sensor passing through multiple material layers can be used tb determine the level of each material, provided the relative s dielectric constant of each m~ateriah is known. When the sensor has a faced hocation relative to vessel 14, the position of each material can be determined as a function of the time differential, with an offset to the sensor position. A sensor can also be designed having markers at kno~Nn distances to create signal reflections that can be used for calibration and/or dete:nnining material dielectric values.
Microprocessor 46 also calculates a derivative of the time aligned TDR signal as illustrated at block 12C~. An analog representation of this derivative signal is illustrated ui Fig. 5. Microprocessor 46 then detennilles the location of a first zero crossing adjacent an absolute maximum value of the signal. If the maximum is obtained from a positive value, microprocessor 46 determines the next subsequent zero crossing after the i positive peak. If the absolutf: maximum was obtained from a negative value, the microprocessor 46 determines the fn~st zero crossing prior to the detected absolute S maximum. Tlus step is illustrated at block 122. Microprocessor 46 then determines a tune value cowespond;mg to the detected zero crossing as illustrated at block 124. Tlus time value is then converted to a distance cowesponding to the level of the interface 26 between first medium 11 aud. second medium 12 as illustrated at block 126. The distance calculated using the second detection Method is then stored.
' 0 In the third detection method, the microprocessor 46 calculates a baseline (BL) signal by subtracting the initial boundary signal stored iii EEPROM SO (Fig.
3) from the time aligned TDR signal which is illustrated in analog form in Fig. 4 as illustrated at block 128. This baseline signal is illustrated in analog foam in Fig. 6.
Microprocessor 46 then determines a location of the positive maximum value of the baseline signal as 15 illustrated at block 130. This positive maximum value is illustrated at location 86 in Fig.
6. Microprocessor 46 next determines the tune value cowesponding to the detected positive inaximuin value as illustrated at block 132. Microprocessor 46 then converts the tune value to a distance change indicating the location of interface 26 between the first medium 11 and second medium 12 as illustrated at block 134. The distance calculated 20 using the third detection methods is then stored.
In the fourth detection method, Microprocessor 46 generates a first derivative of the baseline signal as illustrated at block 136. An analog representation of the first derivative of the basevne signal is illustrated in Fig. 7. Microprocessor 46 then determines a location of a zero crossing adjacent au absolute maxiinuin value as 25 illustrated at block 138. If the absolute maximum comes from a positive value, the next subsequent zero crossing is used. If the absolute maximum is from a negative value, the first preceding zero cr~~ssing is used as a location of interface 26.
Microprocessor 46 then determines the tune position of the zero crossing at block 140. In the Fig. 7 example, the first preceding .zero crossing 94 adjacent negative peak 92 is used as the 30 time position. Microprocessor 46 then determines the tune change as illustrated at block 142. This time change: is then converted to a distance change as illustrated at block 144 to provide an indication of the level of the interface 26 between the first medium 11 and second medium 12. Ttus distance change calculated using the fourth detection method is then stored.
Microprocessor 46 next checks the validity of the detected distances from each of the four methods discussed above as illustrated at block 146. Each of the distance changes is rounded to a prede;tennined sensitivity level, for example, one millimeter. If all four stored results from each of the four methods we the same, microprocessor 46 determines that a valid output has been determined. Therefore, microprocessor formats the output into an appropriate form and sends the result to the output 52 as illustrated at ~ 0 block 150.
If the four stored results from the four detection methods are different, microprocessor 46 then takes into account weighted factors established for each of the detection methods as illustrated at block 152. At this point, microprocessor 46 may compare the four stored method results to a previous result. If any of the four stored results deviates from the previous result by more than a predetermined amount, the microprocessor 46 may disregard such a stored result. Microprocessor 46 provides a summation of the weighted reaults as illustrated at block 154. Examples of this summation by microprocessor 46 are provided below. Microprocessor 46 then selects the most appropriate distance as the valid impedance reflection from interface 26 using the weighted results at block 156. Microprocessor 46 then outputs tlus selected result at block 150.
Three different examples are provided to illustrated the effect of the weighted factors on the process measw~ement.
Method X cm W.F. Selected Result Peak TDR 29.0 1.0 Der. TDR 36.9 1.0 Max. BL 37.1 1.1 37.1 Der. BL 37.3 l.p Method X cm W.F. Selected i Result Peak TDR 36.9 1.0 Der. TDR 37.3 1.0 37.3 S Max. BL 37.1 1.1 Der. BL 37.3 -- 1.0 Method ~n~, W.F. Selected Result Peak TDR 37.1 1.0 Der. TDR 37.3 1.0 Max. BL 37.1 1.1 37.1 Der. BL 37.3 1.0 In Example l, each of the detected results for the level or distance X of the interface 26 is different. Inn this instance, the greatest weighted factor indicates that the maximum detected ba;;eline value is used. Therefore, the selected result by microprocessor 46 is ?.7.1 cm.
In Example 2, the maximum baseline method still indicates a distance of 37.1 cm.
However, both the derivative: of the TDR'signal method and the derivative of the baseline signal method provide~~ a result of 37.3 cnL Therefore, the distance of 37.3 cm has a weighted factor of 2.0 when the two identical results are added together.
Distance 36.9 cm from the peak TDR signal method has a weighted factor of 1Ø Distance 37.1 due to the maximum baseline method has a weighted factor of 1.1. Therefore, microprocessor 46 selects the greatest weighted factor of 2.0 and the corresponding distance result of 37.3 cm during the selection step at block 156 in Fig. 8.
Inn Example 3, both the peak TDR method and the maxinum baseline method provided a distance re~~ult of 37.1 cm The derivative TDR method and the derivative baseline method both produced a result of 37.3 cm. Therefore, the distance 37.1 has a weighted factor of 2.1, while the distance 37.3 cm has a weighted factor of 2Ø
Therefore, microprocessor 46 selects the result of 37.1 cm during the selection step at block 156.
5 It is understoo~3 that other detection techniques may be used in accordance with the present invention. In addition, one of the other detection tecluiques may be applied the highest weighted factor, if desired. In an alternate embodiment, each of the detection techniques may be assigned a different weighted factor. Such weighted factors are selected and applied o:n the basis of application knowledge and experience.
' 0 A further technique for determining the valid interface 26 is pattern recognition using the baseline signal illustrated iii Fig. 6. The pattern recognition technique uses the entire pattern of the reflected pulse 82 shown in Fig. 6 and a number of sampled points taken after a reflected pulse 82 has reached a threshold voltage. The timing of the points must fall within specific bomidaries for the pattern to be considered valid.
Tlis 15 technique is an improvement over existing peak detection methods in that it protects against false readings due to signal-pulse spikes produced by noise and other phenomena.
Referring to Fig. 9 a reelected signal 200 includes a positive-going component 202 and a negative-going component 204 (shown iii broken lines) and is nearly sinusoidal in shape. The baseline reflected signal 200 is centered about zero volts as can 20 be seen in Fig. 6.
In the baseline method for deterniiing the valid interface 26, the center of positive-going component 202 of the reflected signal 200 (i.e., the process material level) is determined by identifying two points 206 and 208 on the positive-going s component 202 of the reflected signal 200 with respect to a tln-eshold voltage 210. The midpoint between these points 206 and 208 is the center of the positive going component 202 of the reflected si~;nal 2C10. Points on the negative going component 204 are replaced with zeroes.
In the pattern recognition technique the points on the negative going component 206 are not replaced with zeroes. Instead the negative points are converted to their absolute value using tl~ie 2's complement tecluique. The 2's complement tecluiique is well known to those skilled in the ai-t for deternining absolute value of negative signed CA 02295330 2000-02-08 ' numbers and is described and explained in standard textbooks. See for example the textbook Digital Conccypts & Applications, published 1990 by Saunder's College i Publishing (a division of Holt., Rinehart and Wmston) p. 225. The result of the use of the 2's complement technique is a second positive-going component 212 creating dual positive-going peaks 202 and 212.
According to the pattern recognition teclu>ique the valid uiterface 26 for the process material is determined by using a four (4) point pattern and the dual positive-going peaks 202 and 212 of t:he entire reflected pulse 200. Once the first point 206 is detected relative to the: threshold voltage 210 the second point 208, third point 214 and ' 0 the fourth point 216 on the positive going peaks 202 and 212 must occur within specific time frames from the first point 206. The time frames are determined by the overall 218 width of the valid reflected pulse 200. If the four (4) points 206, 208, 214 and 216 do not occur within the specific time frames then the reflected pulse 200 is considered invalid.
If the reflected pulse 200 is found to be valid, then the center of the first positive-going peak 202 (i.e. the valid interface 26 for the process material) is determined by calculating the mid-point between the first point 206 and the second point 208. It will be understood that the number of points in the pattern need not be limited to four.
Additional points could be used without departing from the scope of the present invention.
It is well known that variations in operating conditions such as;
enviromnental variations, (temperature, hunudity, pressure,) power supply variations (voltage, cut~-ent, power) electromagnetic influences (rf/uwave radiated power creating biases on IC
outputs) and other conditions such as mes hanical vibration can induce undesired drifts of electronics parameters and output signals.
In order to compensate for drifts iii tune and voltage in reflected signals due to the above-described v~u-iations in operating conditions, a further embodiment of the present invention includes a c:owective element or factor that is calculated every tune the software executes a sil;nal processing loop. The correction element or factor is then added to each signal s~unple prior to use of the baseline subtraction method described previously.
Referring to Fig. 10, an initial boundary or probe map tune aligned signal 220 that has been digitized and stare iii a microprocessor is shown. Tlus signal corresponds to signal 6:? shown in Fig. 3. The signal 220 is time aligned relative a starting voltage V"w, wtuch is located on the starting center line 222 of the negative going component 224 of the signal 220.
Figure 11 illustrates a situation where the real time TDR signal 226 has drifted in both time and voltage relative to the iilitial boundary signal 220. When the baseline procedure is used in tlu~~ situation, the results will not be valid. This invalid result can be overcome and corrected to compensate for these signal drifts using the correction element or factor accor~~ing the present invention. The real tune TDR signal 226 has a new center line 228 which has. shifted in time Ot; and has shifted in voltage w~a",~;.
The compensation can. be accomplished by obtaining the time and voltage variations Ot; and Ov~o,~,,; and adjusting the digitized real time TDR signal 226 by the drift fit; and Ov~o",P;. The coi~i~ectio:n factor V~o,~ is calculated by subtracting a specific point 230 on the negative-going component 224 of the initial boundary of the probe snap signal 220 from its corresponding point 232 on the negative-going component 234 of the real-time TDR signal 226, then inverting the result using the 2's complement teclnlique. Tlus yields a number V~o,T that is always added to the real time TDR signal 226, regardless of offset polarity of the signals 2:20 and 226. The correction factor V~o,~~ is represented algebraically by the fomnula:
V~o,.~ _ -(V,~, - ~'p"~, where V~o,~ = correction factor _ V«, = point 232 on the real-time TDR signal 226 VN,~ = corresponding point 230 on the initial bouzldary on the probe map signal 220 The compensated sample point V~o,~~, (i.e. the center of the valid signal) is determined by the formula:
Vcomp = V~m,~n -+~ V~o~., where V~o",~, = value of the compensated sample point V~,na,,~ = value of the uncompensated point V~o,~ = cowection factor The baseline procedure can be performed upon completion of this compensation in time and voltage. The resulting baseline signal is shown in Fig. 12. Tlus compensated result provides a valid reflection pulse that is easily analyzed providing the desired valid and accurate Ot~aLd.
In order to implement the pattern recogiution technique and the correction factor shown illustrated in Figs. 9-12, the software programmed in the microprocessor 46 is modified as shown in Figs. 13 and 14. Figs. 13 and 14 illustrate the additional steps performed by the microprocessor 46 as a result of the software modifications.
The additional steps are shown inserted in the appropriate locations within the steps ~ 0 illustrated in Fig. 8. Tl:,us reference numerals iii Figs. 13 and 14 cor-esponding to reference numerals in Fig. 8 are intended to denote the same steps. Further, although not shown in Figs. 13 and 1.4, it will be understood that the remainder of the steps shown in Fig. 8 occurring before and alter steps 110 and 130 respectively would be performed in connection with the steps shown in Figs. 13 and 14. Steps 136-140, steps 120-126 and steps 114-118 would not be performed when using the pattern recognition technique.
However, the correction factor could be used without the pattern recognition technique in which case all of the steps in Fig. 8 may be performed.
Referring to Figs. 13 rind 14, the step for calculating and adding the cowection factor is shown in block 250 and is performed between blocks 112 and 128 in the process illustrated in Fig. 8. A more detailed breakdown of the steps performed in block 250 is shown in Fig. 14.
Referring to Fig;.-14, after the microprocessor 46 provides a time alignment of the TDR signal in block 112, the microprocessor 46 then subtracts the specific point 230 on s the initial boundary signal 220 from the corresponding point 232 on the real-tune signal 226 in block 252 in accordance with the foiTiiula set forth above. In block 254, the microprocessor 46 then uses the 2's complement techiuque on the negative difference value between points 2:32 and. 230.
After the 2's complement technique is applied then the correction factor V~o, determined in block 25:Z is added to the uncompensated sample point of the real tune TDR signal to produce a value of the compensated sample point V~o",~,.
Thereafter, the microprocessor 46 calculates a baseline (BL) signal by subtracting the initial boundary signal from the time aL~gned and corrected TDR signal to produce the baseline signal illustrated in analog fo;;m in Fig. 12. It will be understood that after block 123 the microprocessor 46 ma:y proceed to block 136, block 120, block 114 or use the pattern recognition technique ;zs shown in Fig. 13 at 260.
Using the patte.un recognition technique the microprocessor 46 first uses the 2's complement technique on the: negative-going component 204 of the baseline signal 200 (See Fig. 9) in block 262. Thereafter the nucroprocessor 46 searches for the predetermine four (4) aoint pattern (detennuied based upon the width 218 of the signal) in block 264 as shown in Fig. 9. If the predetermined pattern is not found then the microprocessor 46 continues to search baseline signal samples until a valid pattern is found. This step is performed in block 266. Once a valid pattern is found, then the microprocessor 46 detennines a location of the positive maximum value of the valid baseline signal in block: 130 shown in Fig. 8.
In order to determine. the baseline signal shown in Fig. 6, the initial boundary signal of Fig. 3 is subtracted from the time aligned TDR signal of Fig. 4.
Ideally the initial boundary signal or probe map over the entire sensor length is measured and stored before the first and second rr~ediums 1 l and 12 are placed iii the vessel 14.
In practice, it is often impractical to empty the vessel 14 to determine an iiutial boundary signal every time a probe 18 is instailled in the vessel 14 or when for another reason the initial background signal nee~3s to be updated. When the probe 18 is installed in the vessel 14 containing material 12; a portion of the probe 18 above the interface 26 is not immersed in the material 12 and ;~ portion of the probe 18 below the interface 26 is immersed in the material 12. Partial pr~~be mapping combines a portion of the field measured sample TDR signal with a por eion of a background signal determined at the factory or in the field to generate an initial boundary signal for the entire length of the probe 18 without having to empty the vessel 14. The partial probe mapping can be done immediately after installation of the probe 18 or during operation to update the initial boundary signal.
The partial probe mapping process is illustrated in Figs. 15, 16 and 17. Fig.
shows a background signal 300 stored for the probe 18. The background signal 300 is either initially measure~a at the factory or determined at the installation site and stored in EEPROM 50 for later use with the probe 18. The background signal 300 is divided by a transition pohit 310; portion A is the signal for the portion of the probe 18 above the transition point 310, the upper portion, and portion B is the signal for the portion of the i probe 18 below the transition point 310, the lower portion.
Fig. 16 shows ;z sample TDR signal 320 sensed by the probe 18 installed in the 5 vessel 14 when the probe 18 is partially immersed in the material 12. The sample TDR
signal 320 is captured for the generation of a partial probe map. The sample TDR signal 320 includes several reflective pulses 322 caused by internal structures of the mounting structure and artifacts of the vessel 14. The sample TDR signal 320 is divided by a transition point 310 corresponding to the transition point 310 for the background signal 10 300; portion A is the signal for the portion of the probe 18 above the transition point 310, the upper portion, and portion B is the signal for the portion of the probe 18 below the transition point 310, the lower portion. The transition point 310 is chosen such that portion A of the sample TDR signal 320 is for a portion of the probe 18 which is not immersed in or in contact with the material 12 and is hanging straight. The reflected 15 level of the interface 26 with the material 12 is indicated by the fluctuation 324 iii the sample TDR signal 320.
Fig. 17 shows a partial probe map 340. The partial probe map 340 is computed by combining the non-iininersed probe range up to a transition point 310 from the sample TDR signal 320 with the remainder of the probe range stored in the background signal 20 300. Thus, the. resultv~g partial probe map 340 shown 11 Fig. 17 is a combination of the sample TDR signal 320 above the transition point 310, portion A of Fig. 16, with the background signal 300 belovv the transition point 310, portion B of Fig. 15.
An adjustment is needed at the transition point 310 to account for the difference in the offset 306 of the background signal 300 and the offset 326 of the sample TDR signal 320. Tlus 25 adjustment accounts for offset drift of the sample TDR signal, noise and ringing attenuation, as well as reflections from extraneous objects iii the vessel 14 not mapped previously. After adjustment the partial probe map 340 has au offset 346.
A minimum pr~~be range or length of S meters ( 15 feet) is preferred for performing a partial probe inap. The transition point 310 should be chosen such that it is above the interface 26 with the material 12, while at the wine tune being at least 1 meter below the interface between the probe 18 and the mounting apparatus 16. For accuracy, partial probe mapping should not be performed near the end of the probe length The calculation of the adjustment to the offset 326 of the sample TDR signal and to the offset 306 of the background signal 300 at the transition point 310 is required for an accurate partial probe mapping. The adjustment is applied to the offset 306 of portion B of the background signal 300 to smooth the partial probe map 340 at the transition point 310. If the adjustment is not made then there is a discontinuity in the partial probe map 340 at the transition point 310, the discontinuity could be intel-preted as a signal showing the level of the material 12 il the vessel 14. The adjustment value can ' 0 be computed by many methods some of which are described below.
One method of computing the adjustment is simply to calculate the difference between the sample TI~R signal 320 at the tra11s1t1UI1 point 310 and the background signal 300 at the transition point 310. This will assure au equal signal value for both the sample TDR signal 320 and the bachgrouud signal 300 at the transition point 310 eliminating any discontinuity in the partial probe map 340.
In order to overcome: fluctuations in the sample TDR signal 320 and the background signal 300 around the transition point 310 a more robust adjustment calculation may be required such as perfonnilg averaging or root mean square (RMS) calculations over portions of the two signals. The more robust adjustment calculations, such as averaghlg or R.MS, could be done over the entire range of the signal or over a smaller portion of the signal. Accordingly, a second method is to compute the adjustment as the difference between the average values of the two signal portions used to generate the partial probe map 340. This is the difference between the average signal value over portion B c f the background signal 300 and the average signal value over portion A of the samp:,e TDR signal 320. A third method is to compute the adjustment as the difference between the; average values over the lower portions of the two signals.
This is the difference hetween the average signal value over portion B of both the background signal 300 and t:he sample TDR signal 320. A fourth method is to compute the adjustment as the difference between the average value over the entire range of both signals. This is the difference between the average signal value over the entire range of the background signal 300 a~.id the average signal value over the entire range of the sample TDR signal 32C~. A fifth method is to compute the adjustment as the difference between the average values of the upper portions of the two signals. This is the difference between the average signal value over portion A of the background signal 300 and the average signal value over portion A of the sample TDR signal 320. In the S preferred embodiment, the third method is used.
Instead of using; the entire probe range to compute the adjustment value a smaller interval on the background signal 300 and the sample TDR signal 320 could be used.
Another alternative method is to compute the adjustment as the difference between the average signal value over a small interval surrounding the transition point 310. Tllis could be the difference between the average signal value over a small interval of portion A of the~background signal 300 near the transition point 310 and the average signal value over a small interval of portion A of the sample TDR signal 320 near the transition point 310. For example for digitized signals, the adjustment could be the difference between the average of the four sample points in portion A of the background signal 300 nearest the transition point 310 and the average of the four sample points in portion A of the sample TDR signal 32C~ nearest the transition point 310.
The partial probe map 340, which is a combination of portion A of the sample TDR signal 320 and portion I3 of the background signal 300 adjusted by the chosen adjustment factor, is stored for use as the initial boundary signal. Tlus ii>itial boundary signal is used as previously described to determine the level of the material 12 iii the vessel 14.
The level measiu-ement calculations discussed above involve three primary signals: a TDR signal, ;z reference signal and a baseline signal. The TDR
signal is a measurement signal co;:itaiiiiug reflections of the signal transmitted along the probe 18.
The TDR signal is collected as an analog signal by the transceiver 22 and passes tlwough the amplifier 40. The preferred embodiment uses the analog-to-digital convertor 44 to transform the analog TIER signal into a digital TDR signal. An example of a digital TDR
signal 400 is shown in :Fig. 18. However it is understood that a processor apparatus iii accordance with the present invention could be built to process the analog TDR
signal directly. In the TDR signal 400, the first large reflective pulse 402 is due to the impedance change at th.e mounting 16, the second large reflective pulse 406 is due to the material level 26, and the third large reflective pulse 404 is due to the end 19 of die probe 18.
The reference signal is used to map background reflections due to artifacts of the measurement environment and other factors that are not related to the level to be S measured. Fig. 19 shows a reference signal 410. In the reference signal 410, the first large reflective pulse 412 is clue to the impedance change at the mounting 16 and the second large reflective pulse 414 is due to the end 19 of probe 18. There are several reference signals stored in EI?PROM 50 which are selectable for use in level measurement calculati~~ns based on the mode setting for the system. The reference signals that are availa>:~le include: a factory reference signal, a user reference signal, a partial probe map and a periodic probe map. The factory reference signal is measured at the sensor manufacturing facility, usually in a stable, known environment to characterize sensor performance, prior to shipment of the sensor to die user. The factory reference signal is stored in all four reference signal locations prior to shipment. The user reference signal is determined by the user, preferably in the actual environment in wlich the measurements will. be made when the vessel 14 is empty. Tlis provides a reference signal for the entire probe length that accounts for vessel artifacts and other ilnluences in the actual measurement enviromnent that cause background signal reflections.
The partial probe map is computed by combining the non-immersed probe range of a TDR
signal (Fig. 16) with dae remainder of the probe range from a prior reference signal (Fig.
15). Partial probe mapping .enables calculation of a reference signal 410 when it is not practical to empty the Vessel. 14. Performance of partial probe mapping requires user intervention. The per:~odic probe map, similar to the partial probe map, combines die non-immersed probe range of a TDR sig~ial with the remainder of the probe range from the prior reference signal. however, periodic probe mapping is performed automatically without user intervention, as will be explained below. The mode of the apparatus 10 can be set to use the desired reference signal. To conserve memory, ony the reference signal used in the selected ir..ode is maintailied in RAM 48.
The baseline signal is calculated by subtracting the reference signal from the TDR signal. An offset can he added to the result of the subtraction in order to eliminate negative values in die baseline signal 420. Fig. 20 shows a baseline signal calculated by subtracting the reference signal 410 from the TDR signal 400 and adding CA 02295330 2000-02-08 ' " ~ 29 au offset of 128 counts which is half of the range of the vertical axis. Iu the baseline signal 420 shown in Fig. 20, the first large reflective pulse 426 is due to the material level 26, and the second large: reflective pulse 424 is due to changes in the reflection at the end 19 of probe 18. The reflections 402, 412 due to the impedance change at the mounting 16 are cancelled out in the subtraction of the reference signal 410 from the TDR signal 400.
All three of the signals 400, 410, 420 have the same units. The vertical axis has units of digital voltage counts that represent the amplitude of the pulses. In Figs. 18-20, the amplitude information is depicted using eight bits which allows for 256 counts.
Thus, for a voltage range of .5 V, a voltage count equals approximately 20 mV
(SV / 256 counts). The hoiizont;~l axis has units of digital tune counts that represent time until reception of the associated pulse amplitude. Each digital time count also represents a digital distance count, since tune is directly related to distance by the propagation speed of the pulse. In Figs. 18-20, tle time or distance information is depicted using nine bits which allows for 512 ~:ounts on the horizontal axis. A probe map length 401 is the total distance or length covered by the distance counts of the horizontal axis.
Thus, for a distance count of 10 nun and 512 counts on the horizontal axis, the probe map length 401 is 5.12 m ( 10 mm/count * 5 l2 counts). The resolution of the distance measurements are inversely proportional to the probe map length 401. As the length of the probe 18 is shortened, the probe map length 401 can be shortened by decreasing the magnitude of the distance counts. Decreasing, the magnitude of the distance counts increases the resolution of the distance mc;asurements.
As long as conditions in the vessel 14 have not changed, the baseline signal is free of most background noise and thesreflective pulse due to the material level 26 is the first large reflective pulse 426. Unfortunately over tune, the TDR
response varies from the reference signal 410. Since these variations are not contained in the reference signal 410 until it is updated, these variations are not cancelled by the subtraction of the reference signal 410 from flue TDR signal 400 and appear as reflection pulses in the baseline signal 420. P~Iany i.~actors unrelated to the level 26 of the material 12 cause the TDR signal 400 to change over time. These factors include buildup of material on the probe 18, temperature: chanl;es, changing conditions of the vessel 14, and changing mountuig conditions. As shown in Fig. 20, the baseline signal 420 is "clean"
'~ 30 immediately following; a probe map. But variations over time cause the baseline signal to become increasingly noisier. A later baseline signal 430, shown in Fig. 21, is the result of subtracting the earlier calculated reference signal 410 from a current TDR
signal. The variation;, iii background noise that occurred in the interim, between collection of the reference signal 410 and the current TDR signal, have caused a noise pulse 432 prior to the level reflection pulse 436 in the later baseline signal 430. The noise pulse 432 could potentially be misinterpreted as a level reflection and result 11 erroneous level measurements. Initially the noise does not affect the measurement because the amplitude: of the level reflection pulse 436 is greater than the noise pulse 432, but left unchecked, the noise pulse 432 may grow and eventually become equal to or greater than the amplitude of the level reflection pulse 436.
The process of periodic probe mapping addresses the issue of keeping the reference signal 410 ~~urrent so that variations contained in the TDR signal 400 due to background factors are accounted for in computing the baseline signal 420. As long as the reference signal 410 is "periodically" updated, the baseline signal 420 remains much more noise free. Per:.odic probe mapping is similar to partial probe mapping except instead of the user m~anuall:y activating the partial probe mapping process and entei~ng the transition point, the periodic probe map process automatically activates the mapping process and detennin,es the transition point from the level reflection of the TDR signal used in the periodic probe mapping process.
As with parti;zl maF~ping, periodic mapping fits the upper portion of a current TDR signal with the lower portion of a reference signal to calculate a new reference signal. Periodic probe mapping starts with a reference signal 410 which is updated by each periodic probe mappvig operation. sThe original reference signal used in periodic probe mapping eau t~e supplied by any of the reference signal determination methods used in the various system modes.
To prevent rnappin;g out a portion of the level reflection pulse 406, periodic probe mapping waits until the level 26 of material 12 in die vessel 14 is stable.
The level 26 is considered stable enough for automatic activation of periodic probe mapping if the level reflection pulse 426 of the baseline signal 420, which corresponds to the level reflection pulse 406 of the TD:E~ signal 400, remains within a reflection window 444 for a set number of level measurements. The stability requirement for activation of periodic CA 02295330 2000-02-08 ' '~ 31 probe mapping is incre:ased by narrowing the reflection window 444. A
reflection window counter track~~ the number of consecutive times the level reflection pulse 426 remains within the reflection window 444. When the level reflection pulse 426 is outside the reflection wilidow 444, the reflection window counter is reset to zero and the bounds of the reflection window 444 are reset. When the level reflection pulse 426 remains within the reflection window 444 for the user selected number of consecutive level measurements then periodic probe mapping is automatically activated. A
preferred embodiment of the invention requires four consecutive level reflections at the same level, i.e. the reflection window 444 having a width of 0 distance counts.
When periodic: probf; mapping is activated, a TDR signal 400 is collected and a current baseline signal 430 is calculated. The level reflection location 438 in the level reflection pulse 436 is determined. A transition point 442 is chosen which is sufficiently before the level reflecrion location 438 based upon the probe map length 401 and the level reflection location 438. Table A lists the preferred location of the transition point 442 relative to the level reflection location 438 for different probe map lengths 401 in terms of the number of distance counts the transition point 442 should be prior to the level reflection locati~~n 438.
TABLE A
Length Resolution of Transition Point Location in Probe Ma Number of p Distance CountsDistance Counts Prior to Level Reflection Location <3m 6.53 mm 10 <6m 13.06 mm < 6 m 19.59 irun 4 <9m 26.12 mm 3 < 12 m 32.65 tnm 3 < 15 m 39.18 mm 3 < 18 m 45.71 rnm 3 <= 20 m 52.24 mm 3 ' " 32 The transition point 442 is also found on the prior reference signal 410, the transition point 442 representing the same location along the probe 18 in both signals.
An upper portion 408 of the TDR signal 400 prior to the transition point 442 is combined wide a lower portion 418 of the prior reference signal 410 following the transition point 442 to form a new reference signal 440. An offset adjustment is applied to eliminate any discontinuity iii the portions 408, 418 at the transition point 442 in the new reference signal 440.
The offset adjustment smooths the new reference signal 440 at the transition point 442 due to differences in the signal level 417 iii the prior reference signal 410 and the signal leve1407 iii the'TDR s~igna1400. The offset adjustment is applied to the portion 418 of the prior reference sil;nal 410 following the transition point 442 to smooth the new reference signal 440 at the transition point 442. If the adjustment is not made, there may be a discontinuity in the new reference signal 440 at the transition point 442, the discontinuity could be interpreted as a level reflection signal and cause ewoneous level measurements. The offset adjustment value can be computed by many methods including those described previously in regard to partial probe mapping.
The new reference signal 440 that results from periodic probe mapping is then used as the reference signal in level measurement calculations and is later used as die prior reference signal in coir~puting a newer new reference signal. The new reference signal 440 is held iii RAM 48 for use in level measurement calculations and periodically transferred to EEPRO;VI 50. The rate at which the new reference signal 440 is transferred to EEPROM 50 is selectable by the user.
In order to reduce the: amount of RAM 48 necessary for the system 10 the probe mapping and level measurement operatidns can be performed without actually storing die current TDR signal 400. Every tune a level measurement is pei~forned, the TDR
signal 400 is received by the microprocessor 46 as a sequential str-earn of digital voltage samples from the anal~~g-to-digital convertor 44 which represent the amplitude of the reflection pulse at a different location proceeding along dle probe map length 4OI 6'0111 the mounting 16 to the: end 19 of the probe 18. In the exemplary embodiment there are 512 samples along the probe map length 401. One method of performing level measurements is to store all S 12 samples of the TDR signal 400 along with all samples of the reference signal 410, and take the difference plus an offset to compute all S 12 samples of the baseline signal 420. This method requires that 1.5 Kbytes of the RAM 48 be allotted to store these three signals. The preferred method is to store the reference signal 410 u~ RAM 48 and to compute the 512 samples of the baseline signal 420 point by point as each point of the TDR signal 400 is received by the microprocessor S 46. The preferred metlZOd only requires that 1.0 Kbytes of RAM 48 be allotted to store the reference signal 410 and the baseline signal 420. When the calculations require a sample from the TDR signal 400, the required sample can be reconstructed by adding the corresponding sample from the reference signal 410 to the corresponding sample from the baseline signal 420 and subtracting the baseline offset.
l0 Using die preferred method, which reduces the amount of RAM 48 required for the system 10, periodic; probe: mapping is accomplished as outlined in Fig.
23. Upon entry to the periodic probe mapping routine, at step 450, the system determines whether the level reflection location 438 is in the level reflection window 444. If the level reflection location 438 is not in the level reflection window 444 then, at step 452, the 15 reflection counter is reset, at step 454, the reflection window 444 is reset and, at step 456, the periodic probe mapping routine is exited.
If the level reflection location is in the level reflection window then, at step 458, the reflection counter is incremented and, at step 460, the system checks whether the reflection counter is greater than the periodic probe map activation count. If the 20 reflection counter is not greater than the periodic probe map activation count then, at step 456, the periodic probe: map routine is exited. If the reflection counter is greater than the periodic probe map activation count then periodic probe mapping is automatically activated starting at step 462.
At step 462, dlc: location of the transition point 442 is determined and, at step 25 464, the tl-ansition point offset adjustment is computed using the points of the TDR
signal 400 and the prior reference signal 410 to smooth the new reference signal 440 at the transition point 44a!. At step 466, the upper portion 408 of the new reference signal 440 is computed by rec:onstmctiiig the TDR signal 400. The TDR signal 400 is reconstructed point by point 'up to the transition point 442 by taking the value of the prior 30 reference signal 410 plus the value of the baseline signal 420 minus the baseline offset value. The reconstructed TIER signal value is the value of the new reference signal 440 and it is stored over the°_ value; of the prior reference signal 410.
At step 468, the lower portion 418 of the nevr reference signal 440 is computed. The lower portion 418 of the new reference signal X440 is computed point by point by adding the transition point offset adjustment to each point of the prior reference signal 410 and storing the result over the point of the prior reference signal 410.
S At step 470, tr;~e system determines whether the new reference signal 440 should be stored in EEPROM S0. If the new reference signal 440 is not to be stored in EEPROM SO then, at step 4'74, die reflection counter is reset and, at step 456, the periodic probe mapping routine is exited. If the new reference signal 440 is to be stored in EEPROM SO then, at step 472, the new reference signal 440 is stored iii EEPROM S0, at step 474, the reflection counter is reset and, at step 456, the periodic probe mapping routine is exited.
A new "initial" periodic probe map reference signal may be stored in EEPROM
SO to reset or initialize: the previous periodic probe map reference signal.
Although the factory reference signal will be stored iii EEPROM SO as the initial reference signal for 1S all modes, it is recom:~:nended, if possible (if the vessel is easily emptied), to compute a user reference signal for the entire probe map length 401. If the vessel is not easily emptied, a partial probe map should be performed to map the background reflections due to the measurement environment along the non-iiriinersed portion of the probe 18. It is also important that the: probe map length 401 is greater than or equal to the length of the probe 18. If the probe: map length 401 is too short, the algoritllins based on end of probe detection will not function properly.
In the level mc:asure;ment calculations discussed above the TDR and reference signals are time aligned to tl a tune of the initial reflection pulse caused by the impedance change at the mounting 16. ')'lie time aligiirrient is done to set time zero, and 2S correspondingly distance zero, to a fiducial reference point at the tune of the reflection pulse from the mounting 16. The fiducial reference point is the point to wluch TDR
signals and reference signals are aligned before calculation of the baseline signal and other computations are performed. The fiducial reference point is the reference for all distance calculations. Thus, dine and distance measurements are calculated along the probe 18 starting at t1e location of the mounting 16 as identified by the fiducial reference point.
Under favorable conditions the fiducial reference point can be set to the first point falling below a selecte~3 fiducial threshold 486. In less favorable conditions, which may be caused by offsets and temperature drift, as shown in Fig. 24, a TDR signal 480 can contain a pre-fiducial reflection 482 and a fiducial reflection 484 due to the mounting 16 5 that both contain points falling below the fiducial threshold 486. The first point falling below the fiducial tlu~e;shold 486 is a pre-fiducial reference point 488 in the pre-fiducial reflection 482 followed by a real fiducial reference point 490 in ye fiducial reflection 484. The real fiducial reference pouit 490 due to the reflection signal of the mounting 16 occurs after the pre-fiducial reference point 488. During this condition, die fiducial ' 0 reference point used vi calculations can be incorrectly set to the pre-fiducial reference point 488 or, due to environmental factors, can toggle between the real fiducial reference point 490 and the pre-fiduci;~l point 488. This toggling causes the reference signal to be misaligned with the TIER signal 480 which causes erroneous results. When the TDR
signal 480 does not align with the reference signal, the baseline signal is corrupted and 15 level reflections can not be accurately determined.
There are several procedures that can be used in overcoming the problem caused by multiple reflection~~ crossing the fiducial threshold 486. Samples of the TDR signal 480 whose amplitude is evaluated as a zero value by the analog-to-digital convertor 44 are referred to as zero values.
20 One procedure: for overcoming the problem caused by multiple reflections crossing the fiducial threshold 486 is to count the number of consecutive zero values, points whose amplitude is evaluated as a zero value by the analog-to-digital convertor 44, in each reflection :in the 'TDR signal 480 containing zero values. The reflection with the greatest number o~- zero values is chosen as the fiducial reflection.
Using this method 25 on the TDR signal of :Fig. 24, the number of zero values in the first reflection 482 and in the second reflection 184 would be counted. The reflection 484 would be selected as the fiducial reflection siuc:e it has a greater number of consecutive zero values.
The fiducial reference poilit would then be set to the location 490 where the fiducial reflection 484 first crosses the fiducial threshold 486.
30 A second solw:ion for overcoming the problem caused by multiple reflections crossing the fiducial threshold 486 is to determine t1e reflection that represents the greatest distance along the 'fDR signal 480 with consecutive zero values.
Tllis procedure would start like the previous procedure with a detecting of each point representing a zero value. However, instead of counting the raw m.unber of points, the points would be transformed into a distance measure using the scan resolution factor. The uninterrupted distance of each refler.tion that is zero values would be tracked. The reflection in the TDR signal 480 which indicates the greatest uninterrupted distance of the TDR
signal 480 made up of zero values is selected as the tiducial reelection. The fiducial reference point would then be se;t to th.e location where the selected fiducial reflection first crosses the fiducial threshold 486.
The preferred ;~olutian for overcoming the problem caused by multiple reflections crossing the fiducial tlueshold 486 is to set the fiducial reference point to the starting location of the rightmost string of consecutive zero values in the signal which is at least as wide as a user-defined fiducial width threshold. Tlus can be performed on the TDR
signal 480 as it is being received point by point by the microprocessor 46.
Prior to this process, the fiducial width threshold is set which defines either the number of consecutive zero values that is required before the reflection will be considered a fiducial reflection, or the width in distance flat is required before the reflection will be considered a fiducial reflection. A consecutive zero counter or distance counter is used to count the number of consecutive zeroes or the width iil distance found in a potential fiducial reflection of the signal. The rightmost reflection in the TDR signal 480 which has a width of zero values greater than or equal to the fiducial width threshold is selected as the fiducial reflecti~~n. The fiducial reference point would then be set to the location where the selected fiducial reflection 484 first crosses the fiducial threshold 486. There are several ways to implement a procedure performing this function, an example being shown in Fig. 25 where the liducial widt~i threshold defines the number of consecutive zero values that is required before a reflection will be considered a fiducial reflection.
At step 496, tl;.e procedure checks to deterW ne whether this is the first point of the incoming TDR signal 4f~0. This is to initialize the fiducial flag and consecutive zero counter for a new incoming signal. If it is the first point then, at step 497, d1e fiducial flag is set to zero (0) and the: consecutive zero counter is set to zero (0).
The fiducial flag indicates whether the signal is currently in a potential fiducial reflection.
At step 498, tl:.e routine checks whether the current signal value, voltage count value, is less than or equal to the fiducial threshold. If the current signal value is not less than or equal to the fiducial threshold then, at step 499, the fiducial flag is set to zero (0) and control is transfewed to step 504 to determine whether the last signal value was a i zero value. If the current signal value is less than or equal to the fiducial threshold then the signal is in a potential fulucial reflection and con ri-ol is transferred to step 500.
At step 500, the routine checks whether the fiducial flag equals one (1) indicating that the signal was ah-c:ady in a fiducial reflection. If the fiducial flag is not equal to one, then this is the first point in the fiducial reflection and, at step 501, the fiducial flag is set equal to one (1) and tl;,e fiducial location is stored. The fiducial location is the point where the potential fid.ucial reflection first crosses below the fiducial threshold.
l0 At step 502, the routine checks whether the current signal value, voltage count value, is zero (0 voltal;e counts). If the current signal value is zero then, at step 503, the consecutive zero counter is incremented and the routine is exited until the next point of the TDR signal 480 is received by the microprocessor 46.
If the current signal value is not zero or is not below the fiducial tlu-eshold then, at step 504, the routinf: checks whether the last signal value was zero (0 voltage counts).
If the last signal value was not a zero value then the routine is exited until the next point of the TDR signal 480 is received. If the last signal value was zero then the signal just finished going through at least one consecutive zero value and processing continues at step 505.
At step 505, the routine checks whether the consecutive zero counter is greater than or equal to the fid.ucial width threshold. Tlus step is reached at the first non-zero point on the rising side; of a string of at least one consecutive zero values, and at tlus instant, the consecutive zero counter contains a count of the number of consecutive zero s values in the potential fiducial reflection. For example, for the fiducial reflection 484 of Fig. 24, the consecutive zero counter holds the count of the number of zero values in the region 492. If the consecutive zero counter is less than the fiducial width threshold, then the reflection is not considered and, at step 507, the consecutive zero counter is reset to zero and the routine is exited. until the next point of the TDR signal 480 is received.
The fiducial re=erence point is set at step 506 when the consecutive zero counter is greater than or equal. to the; fiducial width tlu-eshold. At step 506, dle fiducial reference point is set to the fiducial location which was stored at step 501. Tlus sets the fiducial reference point to the first paint below the fiducial threshold for the cuwent fiducial reflection. At step 50'x, the consecutive zero counter is reset to zero and the process is exited until the next point of the TDR signal 480 is received. The process continues to i check for potential fiducial reflections later iu the TDR signal 480.
The ability to detect the end 19 of the probe 18 enables the detection and differentiation between an empty vessel, low amplitude level reflections, and a broken probe. Being able to detect and differentiate between these conditions allows the apparatus 10 to properly indicate when the vessel 14 is empty, when the vessel 14 is not empty but no level reflection is detected, and when the probe 18 is broken.
The output 52 of the apparatus 10 includes an alarm which is activated when a broken probe condition or no level reflection condition is detected As shown in Figs. 27 and 28, an end of probe response 510, 520 caused by the end 19 of the probe 18 is ch~~racterized by a sharp negative peak 512, 522 usually adjacent to a positive peak 514, 524. The amplitudes of the negative peak 512, 522 and the positive peak S 14, 524; and the distance between the negative peak 512, 522 and the positive peak S 14, 524. can vary with the type of probe 18. For example, some factors that can cause the end of probe response 510, 520 to vary include whether the probe is coated or uncoated; whether the end of the probe has a weight or loop; and the diameter of the probe. 'Ilie end of probe response 510, 520 is also affected by the field installation conditions.
The position of the end of probe response S 10 of the TDR signal 508 provides information about the level 26 of material in the vessel 14 and the condition of the probe 18. The velocity of a pulse traveling on the probe 18 varies with the dielectric of the material in which the probe :18 is immersed. In the case of two materials, as shown in s Fig. 1, the pulse travels along the probe 18 in the first material 11 having a first dielectric constant, and in the second material 12 having a second dielectric constant.
Thus, the pulse has a first propal;ation speed in the first material 11 dependent upon the dielectric constant of material 11, and a second propagation speed in the second material dependent upon the dielectric constant of material 12. Changes in the length of probe 18 and changes iii the len;th of probe 18 immersed iii the material 12 cause the position of the end of probe respo:ose 510 of the TDR signal 508 to vary. The change in position of the end of probe respo:ase 510 of the TDR signal 508 is perceived as a distance change to the end 19 of the probE: 18. The method for detecting and differentiating an empty vessel 14, a low amplitude level reflection, and a broken probe 18 are based on the position of the end of probe response S 10 of the TDR signal 508 versus the end of probe response 520 of the reference signal 528.
During deteuninatioi~ of the reference signal 528, the position of the end 19 of the probe 18 is determined and stored in EEPROM 50. An end of probe position 526 indicating the position of the end 19 of the probe 18 is set by the location of the negative peak 522 of the end of probe response 520. The end of probe position 526 is used to calculate a measuring length 530 and a maximum probe length 532.
The measuring length 530 is calculated as the end of probe position 526 minus a shortening tolerance 5 34. In the case of a typical weight length of 25 cm and a worst case resolution of approximately ~S cm, a value of 30 cm is appropriate for the shortening tolerance 534. The mf:asurii:~g length 530 has an allowable range from a short limit of 1.0 m to a long limit of the end of probe position 526 minus the shortening tolerance 534.
The short limit prevents measurements in the region dominated by reflections from the mounting 16 and the long limit prevents measurements in the region dominated by the end of probe reflection 520. The measurilig length 530 can be manually reduced by the user up to the short unlit, but the measuring length 530 can not be manually increased by the user.
The measuring lengtl 530 computed during update of the reference signal 528 is used as a blockilig dis~:ance during analysis of the TDR signal 508.
Reflections in the TDR signal 508 that a~-e beyond the measuring length 530 are not considered in determining material l~~yel. 'IMis prevents the system from falsely detecting the ghost reflections from the end 19 o~f the probe 18 as level reflections. The measuring lengdl 530 is also used when the user shortens tie probe 18, but is unable to create a new reference signal. The ,nanual reduction of measuring length 518 allows the system to function, without map~W g tl~ie shortened probe 18.
The maximum probe length 532 is calculated during the update of the reference signal 528 as the end of probe position 526 plus a lengthening tolerance 536.
The lengthening tolerance 536 is used to differentiate between an empty vessel condition and a low amplitude level reflection condition. The lengthening tolerance 536 compensates for the effects of material build-up on the probe 18 and the dielectric of the materials in the vessel 14, which change the propagation speed of a signal along the probe 18. A
value for the lengthening tolerance 536 of 30 cm has been found to be appropriate.
The measuring length 530 and the maximum probe length 532 divide the sampled TDR signal 508, Fig. :?6, anti die reference signal 528, Fig. 27, into three sections. These 5 values are calculated l:~ased upon the end of probe position 526 which is stored in EEPROM 50 during each update to the reference signal 528. Different conditions are determined based on which of the three sections the negative peak S 12 of the end of probe response S 10 of the current TDR signal 508 is located in.
The end of probe response S 10 and a broken probe response are very similar. W
10 fact, a broken probe is just another type of end 19 for the probe 18. The end of probe position 526, stored iu EEPR OM 50, represents the location of the end 19 of the probe 18 when dle vessel 14 is empty,, which is the minimum location along the TDR
signal 508 of the negative peak 512 of the end of probe response 510. One of the conditions for detecting a broken probe is detection of a shortened probe length which is indicated by 15 the location of the negative peak 512 of the end of probe response S 10 being a shorter distance on the TDR signal _'i08 than the stored end of probe position 526 computed during determination of the reference signal 528. A broken probe condition could be caused by a broken probe or a lost weight at the end of the probe.
Broken probe detection is complicated by the fact that users will shorten the 20 lengdl of the probe 18 in the field, without detenninillg a new reference signal for the probe 18. This is sometimes necessitated by the impracticality of emptying the vessel 14 to determine a new reference; signal for the shortened probe 18. If the system used the stored end of probe lo~~ation 426, then shortening of the probe 18 in the field without determining a new refi~rence signal would cause a broken probe indication.
Therefore, 25 an adjustable criteria for broken probe detection is implemented. The measuring length 530 is used as the criteria for broken probe detection. If the negative peak 512 of tile end of probe response S 10 of the current TDR signal 508 occurs prior to the measuring length 530 then the system outputs a broken probe indication. The measuring length 530 is stored in EEPROM S0 and cau be manually decreased by the user. Thus allows the user 30 to adjust the region of the TDR signal SO8 in which a broken probe condition is detectable.
There are three conditions that all must be met to produce a broken probe indication. First, as discussed above, the current end of probe location determined by the location os the negative peak 512 of the end of probe response 510 of the current TDR
signal 508 must be less than the stored measuring length 526. The second is that the end of probe response 510 must consist of a negative peak followed by a positive peak. Tlus is to prevent large level reflection pulses from being misinterpreted as a broken probe condition. The third condition is that au end of probe peak-to-peak response between the voltage counts of the negative peak 512 and the voltage counts of the positive peak 514 of the end of probe response 510 must be greater than or equal to an end of probe delta response value. The preferred value for the end of probe delta response is 800 mV, ~Nhich for a voltage count of 20 mV is equivalent to 40 voltage counts.
When the vessel 14 is empty there is no level reflection pulse which could cause the system to make m erroneous level measurement based on system noise.
Threshold level reflection values are used in analysis of a baseline signal 540 to prevent finding a level reflection in the signal noise when the vessel 14 is empty. The baseline signal 540 (Fig. 28) is calculated. by subtracting the time-aligned reference signal 528 (Fig. 27) from the time-aligned TDR. signal 508 (Fig. 26). An upper threshold 542 is applied to the upper portion of the l;aselin~ signal 540, and a lower tln-eshold 544 is applied to dle lower portion of the l;aselin~ signal 540. A dlreshold index 546 divides the portion of the baselilie signal 540 over which the upper tln-eshold 542 is used from the portion of the baseline signal 540 aver which the lower tlweshold 544 is used.
The upper threshold 542 is greater than the lower threshold 544 due to the greater amplitudes and slopes of thf: TDR signali508 and the reference signal 528 on d1e upper portion of the signals caused by the fiducial reflections from the mounting 16 and envil-omnental factors in the vessel 14 near the fiducial. Small errors in time aligmnent in these regions of lu~;h amplitude and slope cause larger noise amplitudes ili the resulting baseline signal which the upper threshold is intended to mask. The threshold values can be set as a function of the amplitude of the level reflection, for example a fixed number of counts below the amplitude of the last level reflection.
Alternatively, the thresholds can be set to a preset level. For example, with the baseline offset set to 128 voltage counts, tl;.e upper threshold could be set to 145 counts and the lower threshold set to 133 counts. The threshold index cm be set as a function of die probe length or as a fixed value, for example 2 meters.
If there are no reflection pulses that cross the upper threshold 542 or the lower threshold 544 in the baseline signal 540, then it must be determined whether this indicates an empty vessel 14 or low amplitude level reflections. The two conditions can be differentiated based on the fact that the propagation speed of the signal along the probe 18 changes based on the material i1i which the probe 18 is immersed. If the probe 18 is immersed in a material the location of the negative peak 512 of the end of probe response 510 will move from the end of probe position 526 for an empty vessel.
Buildup of material on the probe 18 which remains after the material level has lowered will also effect the signal propagation speed along dle probe 18. To account for the effects of material buildup, the yrobe maximum length 532 is used to differentiate between an empty vessel condition and <~ low amplitude level reflection condition. If the end of probe position 526 was used as the decision criteria, then material buildup on the probe 18 could cause the system to confuse an empty vessel condition with a low amplitude level reflection condit,on.
There are two conditions that must be met to determine a low amplitude level reflection condition. First, t7ie negative peak 512 of dle end of probe response 510 must sluft beyond the probe maximum length 532, indicatuig that the material in which the probe 18 is unmersed has changed the signal propagation speed. Second, there must be no reflections in the baseline. signal 540 above the upper threshold 542 in die upper portion of the baseline ~igna:l 540 or above the lower threshold 544 in the lower portion of the baseline signal _'i40. When both of these conditions are met the system indicates a low amplitude level reflection condition.' There are two conditions that must be met to determine an empty vessel condition. First, the negative peak S 12 of the end of probe response 510 must be within the window between the measuring length 530 and the probe maximum length 532.
Second, there must be no reflections in the baseline signal 540 above the upper tlweshold 542 in the upper portion of tlae baseline signal 540 or above the lower threshold 544 in the lower portion of the baseline signal 540. When both of these conditions are met the system indicates an empty vessel condition.
The shape of tl-~e end of probe response is used to determine the loss of the high frequency connection. When the high frequency connection is lost the end of probe delta value on a TDR signal 550 becomes very small as shown in Fig. 29. This is due to the fact that without a high frequency coimection there are no significant reflection pulses past the fiducial.
Using the TDR signal of Fig. 27, which has high frequency correction, the determination of end of probe response shape will be shown. During level measurement, the TDR signal 508 is analyzed from a blocking distance 552 to the last sample, sample 511 in this case. The blockilig distance 552 is a set distance from the tiducial reference point, for example 30 cm. The end of probe location is determined using the negative peak 512 of the end of probe response 510. The system then looks for the positive peak 514 of the end of probe response 510 withili an end of probe window 540 about the negative peak 512. Tree end of probe window 540 prevents a point on the falling slope of the fiducial reflection ~?ulse from being used as the positive peak of the end of probe response. In the case of sampling 512 digital samples along the TDR signal 508, the preferred size of the end of probe window 540 is 100 distance counts to either side of the negative peak 512. If the end of probe peak-to-peak response 538 is less than an end of probe delta threshold, then tree system indicates a loss of high frequency connection. A
preferred value for the end of probe delta threshold is 5 voltage counts when the voltage count size is approximately a!0 mV.
Fig. 29 shows a TDR signal 550 after the high frequency connection has been lost. The system looks for t1e location of the end of probe response and finds a negative peak 554. The system then looks for the positive peak within the end of probe window 556 and finds positive peak .'i5$. Since, iai Fig. 29, the end of probe peak-to-peak response 560 is less than the end of probe delta threshold, the system indicates a loss of high frequency connecaion.
Referring to Fig. 30, an upper threshold signal level 564 and lower threshold signal level 566 are used in analysis of a baseline signal 562. Under favorable conditions with high signal to noise ratio, the level reflection pulse is the first pulse to cross either of the thresholds 564, 566. Fig. 30 shows a case of low signal to noise ratio where a noise reflection pulse 568, a level reflection pulse 570 and an ghost reflection pulse 572 from the end of probe reflection all cross the tlu-eshold 564. Fig. 30 also shows the blocking distance 564, the measuring length 576 and the dn-eshold index 578.
The threshold can be set to a fixed level or it can be set as a function of the amplitude of the level reflection pulse of the previous signal. In the latter case, if the previous baseline sign~.l was baseline signal 562, then the amplitude of level reflection pulse 570 would be computed and the upper du-eshold 564 would be set to a fixed number of voltage counts lower, for example 4 counts (~80 mV when each count is --20 mV), and the lower threshold 566 would be set still lower, for example 8 counts. These new thresholds 564, SE~6 would be used in deterniniiig the level reflection pulse in the next baseline signal.
The level measurement is determined by the maximum amplitude pulse of the baseline signal 562 that crosses the thresholds 564, 566 between the blocking distance 574 and the measuring length 576. In Fig. 30, the noise pulse 568, the level reflection pulse 570 and the ghost reflection pulse 572 all cross the threshold 564. Even though the amplitude of the ghost reflection pulse 572 is greater than the amplitude of the level reflection pulse 570, it is beyond the measuring length 576 and therefore not considered when pei-forning level measurement. The noise pulse 568 and dle level reelection pulse 570 both occur between the blocking distance 574 and dle measuring length 576, but the amplitude of the level reflection pulse 570 is greater than the amplitude of the noise pulse 568. Therefore, the level reflection pulse 570 is used to determine the level in the vessel 14.
The above diagnostic and level measurement techniques are implemented as shown in Fig. 31. The partially drawn boxes shown in Fig. 31 for steps 102, 112, and 150 refer to the steps by those same num~ers which we shown in Fig. 8. In the following discussion, reference is made to the TDR signal 508 shown iii Fig. 26 and the baseline signal 562 shown in Fig. 30.
At step 600 of ~~ig. 31, following the tune aligilinent of data in step 112 of Fig. 8, the system checks for a. broken probe 18. Step 600 checks whether the end of probe location 526 is less thm, occurs prior to, the measuring length 530. If the end of probe location 526 does occur prior to the measuring length 530, then, at step 602, a broken probe is indicated and control is transferred to step 150 shown in Fig. 8.
CA 02295330 2000-02-08 ' If a broken probe 18 is not detected then, at step 604, the system checks whether there has been a loss of high frequency connection. At step 604, the system determines whether the end of probe peak-to-peak response 538 is less than the end of probe delta threshold. If the end of prone peak-to-peak response 538 is less than the end of probe 5 delta threshold then, at step 606, the system indicates loss of high frequency connection and transfers control to step 150 of Fig. 8.
If a loss of hig:i~ frequency connection is not detected then,, at step 608, the system checks whether there s a level reflection in the measurement range. At step 608, the system checks whether a reflection is detected iii the measurement range. A
reflection is ~' ~ 0 detected when the amplitude of the reflection pulse in the baseline signal is greater than the upper threshold SEi4 or the lower threshold 566. The measurement range extends from the blocking distance 574 to the measuring length 576. If a reflection pulse is detected in the measurement range then, at step 610, the level of the material 12 in the vessel 14 is computed. Various methods for determining the level of the material 12 in 15 the vessel 14 are shown in steps 114-144 of Fig. 8.
After the material level is computed, at step 612, a low signal timer, which will be described below, is reset. Then at step 614, the system checks whether it is iii periodic map mode. If the system is im periodic map mode then the reference signal is automatically updated on a periodic basis, otherwise the reference signal is not updated 20 without user intervention. If the system is not iii periodic snap mode, control is transferred to step 150 of Fig. 8. If the system is in periodic map mode then, at step 616, the level measurement result is formatted aiid output, and at step 618, the periodic probe map routine shown in Fig. 2:3 is executed. After the periodic probe map routine is i complete, control is transfen-ed to step 102 shown hi Fig. 8.
25 If a level reflection is not detected in the measurement range then, at step 620, the system checks whether there is a low amplitude level reflection condition. At step 620, the system checks whether the end of probe location on the TDR signal is greater than or equal to, occurs at or heyond, the maximum probe length 532. The end of probe location on the TDR signal 50~~ is hidicated by the negative peak 512 of the end of probe response 30 510. If the end of probe location of the TDR signal occurs at or beyond the maxhnum probe length 532 then it is a low amplitude level reflection condition. The low signal timer tracks the tune since the last valid level reflection, either within the measurement range or an empty vessel, was detected. A tuner limit that is set by the user indicates how long a low amplitude level reflection condition will be tolerated before an alaum or other output is activated.
When a low amplitude level reflection condition is detected then, at step 622, the system checks whetheo the low signal timer is greater than the timer limit. If the low signal timer is greater than the timer limit then, at step 624, the system activates the necessary output to indicates a low amplitude reflection level condition and returns control to step 150 shown in Fig. 8. If the low signal tuner is not greater than the tuner l0 limit then, at step 626, the system contunues to display the last level measurement value and returns control to step 150 shown in Fig. 8.
If a low amplitude level reflection condition is not detected then, at step 628, the system checks whether there is an empty vessel 14. At step 628, the system checks whether the end of probe location of the TDR signal is greater than or equal to, occurs at or beyond, the measuring length 530. The end of probe location on the TDR
signal 508 is indicated by the negative peak 512 of the end of probe response 510. If the end of probe location of the ':('DR signal occurs at or beyond the measuring length 530 then, at step 630, the system indicates an empty vessel, which is a valid level measurement, and control is transfen-ed to step 612 to reset the low signal timer. If the end of probe does not occur at or beyond the measuring length 530 then it is treated as a low level reflection condition and COIltr01 is transferred to step 622 to determine whether the low signal timer is greater than the tuner- lunnit.
Although the unventibn has been described un detail with reference to a certaun preferred embodiment, variations and modifications exist witlnun the scope and spirit of the present invention as described and defined in the following claims.
' 0 A further technique for determining the valid interface 26 is pattern recognition using the baseline signal illustrated iii Fig. 6. The pattern recognition technique uses the entire pattern of the reflected pulse 82 shown in Fig. 6 and a number of sampled points taken after a reflected pulse 82 has reached a threshold voltage. The timing of the points must fall within specific bomidaries for the pattern to be considered valid.
Tlis 15 technique is an improvement over existing peak detection methods in that it protects against false readings due to signal-pulse spikes produced by noise and other phenomena.
Referring to Fig. 9 a reelected signal 200 includes a positive-going component 202 and a negative-going component 204 (shown iii broken lines) and is nearly sinusoidal in shape. The baseline reflected signal 200 is centered about zero volts as can 20 be seen in Fig. 6.
In the baseline method for deterniiing the valid interface 26, the center of positive-going component 202 of the reflected signal 200 (i.e., the process material level) is determined by identifying two points 206 and 208 on the positive-going s component 202 of the reflected signal 200 with respect to a tln-eshold voltage 210. The midpoint between these points 206 and 208 is the center of the positive going component 202 of the reflected si~;nal 2C10. Points on the negative going component 204 are replaced with zeroes.
In the pattern recognition technique the points on the negative going component 206 are not replaced with zeroes. Instead the negative points are converted to their absolute value using tl~ie 2's complement tecluique. The 2's complement tecluiique is well known to those skilled in the ai-t for deternining absolute value of negative signed CA 02295330 2000-02-08 ' numbers and is described and explained in standard textbooks. See for example the textbook Digital Conccypts & Applications, published 1990 by Saunder's College i Publishing (a division of Holt., Rinehart and Wmston) p. 225. The result of the use of the 2's complement technique is a second positive-going component 212 creating dual positive-going peaks 202 and 212.
According to the pattern recognition teclu>ique the valid uiterface 26 for the process material is determined by using a four (4) point pattern and the dual positive-going peaks 202 and 212 of t:he entire reflected pulse 200. Once the first point 206 is detected relative to the: threshold voltage 210 the second point 208, third point 214 and ' 0 the fourth point 216 on the positive going peaks 202 and 212 must occur within specific time frames from the first point 206. The time frames are determined by the overall 218 width of the valid reflected pulse 200. If the four (4) points 206, 208, 214 and 216 do not occur within the specific time frames then the reflected pulse 200 is considered invalid.
If the reflected pulse 200 is found to be valid, then the center of the first positive-going peak 202 (i.e. the valid interface 26 for the process material) is determined by calculating the mid-point between the first point 206 and the second point 208. It will be understood that the number of points in the pattern need not be limited to four.
Additional points could be used without departing from the scope of the present invention.
It is well known that variations in operating conditions such as;
enviromnental variations, (temperature, hunudity, pressure,) power supply variations (voltage, cut~-ent, power) electromagnetic influences (rf/uwave radiated power creating biases on IC
outputs) and other conditions such as mes hanical vibration can induce undesired drifts of electronics parameters and output signals.
In order to compensate for drifts iii tune and voltage in reflected signals due to the above-described v~u-iations in operating conditions, a further embodiment of the present invention includes a c:owective element or factor that is calculated every tune the software executes a sil;nal processing loop. The correction element or factor is then added to each signal s~unple prior to use of the baseline subtraction method described previously.
Referring to Fig. 10, an initial boundary or probe map tune aligned signal 220 that has been digitized and stare iii a microprocessor is shown. Tlus signal corresponds to signal 6:? shown in Fig. 3. The signal 220 is time aligned relative a starting voltage V"w, wtuch is located on the starting center line 222 of the negative going component 224 of the signal 220.
Figure 11 illustrates a situation where the real time TDR signal 226 has drifted in both time and voltage relative to the iilitial boundary signal 220. When the baseline procedure is used in tlu~~ situation, the results will not be valid. This invalid result can be overcome and corrected to compensate for these signal drifts using the correction element or factor accor~~ing the present invention. The real tune TDR signal 226 has a new center line 228 which has. shifted in time Ot; and has shifted in voltage w~a",~;.
The compensation can. be accomplished by obtaining the time and voltage variations Ot; and Ov~o,~,,; and adjusting the digitized real time TDR signal 226 by the drift fit; and Ov~o",P;. The coi~i~ectio:n factor V~o,~ is calculated by subtracting a specific point 230 on the negative-going component 224 of the initial boundary of the probe snap signal 220 from its corresponding point 232 on the negative-going component 234 of the real-time TDR signal 226, then inverting the result using the 2's complement teclnlique. Tlus yields a number V~o,T that is always added to the real time TDR signal 226, regardless of offset polarity of the signals 2:20 and 226. The correction factor V~o,~~ is represented algebraically by the fomnula:
V~o,.~ _ -(V,~, - ~'p"~, where V~o,~ = correction factor _ V«, = point 232 on the real-time TDR signal 226 VN,~ = corresponding point 230 on the initial bouzldary on the probe map signal 220 The compensated sample point V~o,~~, (i.e. the center of the valid signal) is determined by the formula:
Vcomp = V~m,~n -+~ V~o~., where V~o",~, = value of the compensated sample point V~,na,,~ = value of the uncompensated point V~o,~ = cowection factor The baseline procedure can be performed upon completion of this compensation in time and voltage. The resulting baseline signal is shown in Fig. 12. Tlus compensated result provides a valid reflection pulse that is easily analyzed providing the desired valid and accurate Ot~aLd.
In order to implement the pattern recogiution technique and the correction factor shown illustrated in Figs. 9-12, the software programmed in the microprocessor 46 is modified as shown in Figs. 13 and 14. Figs. 13 and 14 illustrate the additional steps performed by the microprocessor 46 as a result of the software modifications.
The additional steps are shown inserted in the appropriate locations within the steps ~ 0 illustrated in Fig. 8. Tl:,us reference numerals iii Figs. 13 and 14 cor-esponding to reference numerals in Fig. 8 are intended to denote the same steps. Further, although not shown in Figs. 13 and 1.4, it will be understood that the remainder of the steps shown in Fig. 8 occurring before and alter steps 110 and 130 respectively would be performed in connection with the steps shown in Figs. 13 and 14. Steps 136-140, steps 120-126 and steps 114-118 would not be performed when using the pattern recognition technique.
However, the correction factor could be used without the pattern recognition technique in which case all of the steps in Fig. 8 may be performed.
Referring to Figs. 13 rind 14, the step for calculating and adding the cowection factor is shown in block 250 and is performed between blocks 112 and 128 in the process illustrated in Fig. 8. A more detailed breakdown of the steps performed in block 250 is shown in Fig. 14.
Referring to Fig;.-14, after the microprocessor 46 provides a time alignment of the TDR signal in block 112, the microprocessor 46 then subtracts the specific point 230 on s the initial boundary signal 220 from the corresponding point 232 on the real-tune signal 226 in block 252 in accordance with the foiTiiula set forth above. In block 254, the microprocessor 46 then uses the 2's complement techiuque on the negative difference value between points 2:32 and. 230.
After the 2's complement technique is applied then the correction factor V~o, determined in block 25:Z is added to the uncompensated sample point of the real tune TDR signal to produce a value of the compensated sample point V~o",~,.
Thereafter, the microprocessor 46 calculates a baseline (BL) signal by subtracting the initial boundary signal from the time aL~gned and corrected TDR signal to produce the baseline signal illustrated in analog fo;;m in Fig. 12. It will be understood that after block 123 the microprocessor 46 ma:y proceed to block 136, block 120, block 114 or use the pattern recognition technique ;zs shown in Fig. 13 at 260.
Using the patte.un recognition technique the microprocessor 46 first uses the 2's complement technique on the: negative-going component 204 of the baseline signal 200 (See Fig. 9) in block 262. Thereafter the nucroprocessor 46 searches for the predetermine four (4) aoint pattern (detennuied based upon the width 218 of the signal) in block 264 as shown in Fig. 9. If the predetermined pattern is not found then the microprocessor 46 continues to search baseline signal samples until a valid pattern is found. This step is performed in block 266. Once a valid pattern is found, then the microprocessor 46 detennines a location of the positive maximum value of the valid baseline signal in block: 130 shown in Fig. 8.
In order to determine. the baseline signal shown in Fig. 6, the initial boundary signal of Fig. 3 is subtracted from the time aligned TDR signal of Fig. 4.
Ideally the initial boundary signal or probe map over the entire sensor length is measured and stored before the first and second rr~ediums 1 l and 12 are placed iii the vessel 14.
In practice, it is often impractical to empty the vessel 14 to determine an iiutial boundary signal every time a probe 18 is instailled in the vessel 14 or when for another reason the initial background signal nee~3s to be updated. When the probe 18 is installed in the vessel 14 containing material 12; a portion of the probe 18 above the interface 26 is not immersed in the material 12 and ;~ portion of the probe 18 below the interface 26 is immersed in the material 12. Partial pr~~be mapping combines a portion of the field measured sample TDR signal with a por eion of a background signal determined at the factory or in the field to generate an initial boundary signal for the entire length of the probe 18 without having to empty the vessel 14. The partial probe mapping can be done immediately after installation of the probe 18 or during operation to update the initial boundary signal.
The partial probe mapping process is illustrated in Figs. 15, 16 and 17. Fig.
shows a background signal 300 stored for the probe 18. The background signal 300 is either initially measure~a at the factory or determined at the installation site and stored in EEPROM 50 for later use with the probe 18. The background signal 300 is divided by a transition pohit 310; portion A is the signal for the portion of the probe 18 above the transition point 310, the upper portion, and portion B is the signal for the portion of the i probe 18 below the transition point 310, the lower portion.
Fig. 16 shows ;z sample TDR signal 320 sensed by the probe 18 installed in the 5 vessel 14 when the probe 18 is partially immersed in the material 12. The sample TDR
signal 320 is captured for the generation of a partial probe map. The sample TDR signal 320 includes several reflective pulses 322 caused by internal structures of the mounting structure and artifacts of the vessel 14. The sample TDR signal 320 is divided by a transition point 310 corresponding to the transition point 310 for the background signal 10 300; portion A is the signal for the portion of the probe 18 above the transition point 310, the upper portion, and portion B is the signal for the portion of the probe 18 below the transition point 310, the lower portion. The transition point 310 is chosen such that portion A of the sample TDR signal 320 is for a portion of the probe 18 which is not immersed in or in contact with the material 12 and is hanging straight. The reflected 15 level of the interface 26 with the material 12 is indicated by the fluctuation 324 iii the sample TDR signal 320.
Fig. 17 shows a partial probe map 340. The partial probe map 340 is computed by combining the non-iininersed probe range up to a transition point 310 from the sample TDR signal 320 with the remainder of the probe range stored in the background signal 20 300. Thus, the. resultv~g partial probe map 340 shown 11 Fig. 17 is a combination of the sample TDR signal 320 above the transition point 310, portion A of Fig. 16, with the background signal 300 belovv the transition point 310, portion B of Fig. 15.
An adjustment is needed at the transition point 310 to account for the difference in the offset 306 of the background signal 300 and the offset 326 of the sample TDR signal 320. Tlus 25 adjustment accounts for offset drift of the sample TDR signal, noise and ringing attenuation, as well as reflections from extraneous objects iii the vessel 14 not mapped previously. After adjustment the partial probe map 340 has au offset 346.
A minimum pr~~be range or length of S meters ( 15 feet) is preferred for performing a partial probe inap. The transition point 310 should be chosen such that it is above the interface 26 with the material 12, while at the wine tune being at least 1 meter below the interface between the probe 18 and the mounting apparatus 16. For accuracy, partial probe mapping should not be performed near the end of the probe length The calculation of the adjustment to the offset 326 of the sample TDR signal and to the offset 306 of the background signal 300 at the transition point 310 is required for an accurate partial probe mapping. The adjustment is applied to the offset 306 of portion B of the background signal 300 to smooth the partial probe map 340 at the transition point 310. If the adjustment is not made then there is a discontinuity in the partial probe map 340 at the transition point 310, the discontinuity could be intel-preted as a signal showing the level of the material 12 il the vessel 14. The adjustment value can ' 0 be computed by many methods some of which are described below.
One method of computing the adjustment is simply to calculate the difference between the sample TI~R signal 320 at the tra11s1t1UI1 point 310 and the background signal 300 at the transition point 310. This will assure au equal signal value for both the sample TDR signal 320 and the bachgrouud signal 300 at the transition point 310 eliminating any discontinuity in the partial probe map 340.
In order to overcome: fluctuations in the sample TDR signal 320 and the background signal 300 around the transition point 310 a more robust adjustment calculation may be required such as perfonnilg averaging or root mean square (RMS) calculations over portions of the two signals. The more robust adjustment calculations, such as averaghlg or R.MS, could be done over the entire range of the signal or over a smaller portion of the signal. Accordingly, a second method is to compute the adjustment as the difference between the average values of the two signal portions used to generate the partial probe map 340. This is the difference between the average signal value over portion B c f the background signal 300 and the average signal value over portion A of the samp:,e TDR signal 320. A third method is to compute the adjustment as the difference between the; average values over the lower portions of the two signals.
This is the difference hetween the average signal value over portion B of both the background signal 300 and t:he sample TDR signal 320. A fourth method is to compute the adjustment as the difference between the average value over the entire range of both signals. This is the difference between the average signal value over the entire range of the background signal 300 a~.id the average signal value over the entire range of the sample TDR signal 32C~. A fifth method is to compute the adjustment as the difference between the average values of the upper portions of the two signals. This is the difference between the average signal value over portion A of the background signal 300 and the average signal value over portion A of the sample TDR signal 320. In the S preferred embodiment, the third method is used.
Instead of using; the entire probe range to compute the adjustment value a smaller interval on the background signal 300 and the sample TDR signal 320 could be used.
Another alternative method is to compute the adjustment as the difference between the average signal value over a small interval surrounding the transition point 310. Tllis could be the difference between the average signal value over a small interval of portion A of the~background signal 300 near the transition point 310 and the average signal value over a small interval of portion A of the sample TDR signal 320 near the transition point 310. For example for digitized signals, the adjustment could be the difference between the average of the four sample points in portion A of the background signal 300 nearest the transition point 310 and the average of the four sample points in portion A of the sample TDR signal 32C~ nearest the transition point 310.
The partial probe map 340, which is a combination of portion A of the sample TDR signal 320 and portion I3 of the background signal 300 adjusted by the chosen adjustment factor, is stored for use as the initial boundary signal. Tlus ii>itial boundary signal is used as previously described to determine the level of the material 12 iii the vessel 14.
The level measiu-ement calculations discussed above involve three primary signals: a TDR signal, ;z reference signal and a baseline signal. The TDR
signal is a measurement signal co;:itaiiiiug reflections of the signal transmitted along the probe 18.
The TDR signal is collected as an analog signal by the transceiver 22 and passes tlwough the amplifier 40. The preferred embodiment uses the analog-to-digital convertor 44 to transform the analog TIER signal into a digital TDR signal. An example of a digital TDR
signal 400 is shown in :Fig. 18. However it is understood that a processor apparatus iii accordance with the present invention could be built to process the analog TDR
signal directly. In the TDR signal 400, the first large reflective pulse 402 is due to the impedance change at th.e mounting 16, the second large reflective pulse 406 is due to the material level 26, and the third large reflective pulse 404 is due to the end 19 of die probe 18.
The reference signal is used to map background reflections due to artifacts of the measurement environment and other factors that are not related to the level to be S measured. Fig. 19 shows a reference signal 410. In the reference signal 410, the first large reflective pulse 412 is clue to the impedance change at the mounting 16 and the second large reflective pulse 414 is due to the end 19 of probe 18. There are several reference signals stored in EI?PROM 50 which are selectable for use in level measurement calculati~~ns based on the mode setting for the system. The reference signals that are availa>:~le include: a factory reference signal, a user reference signal, a partial probe map and a periodic probe map. The factory reference signal is measured at the sensor manufacturing facility, usually in a stable, known environment to characterize sensor performance, prior to shipment of the sensor to die user. The factory reference signal is stored in all four reference signal locations prior to shipment. The user reference signal is determined by the user, preferably in the actual environment in wlich the measurements will. be made when the vessel 14 is empty. Tlis provides a reference signal for the entire probe length that accounts for vessel artifacts and other ilnluences in the actual measurement enviromnent that cause background signal reflections.
The partial probe map is computed by combining the non-immersed probe range of a TDR
signal (Fig. 16) with dae remainder of the probe range from a prior reference signal (Fig.
15). Partial probe mapping .enables calculation of a reference signal 410 when it is not practical to empty the Vessel. 14. Performance of partial probe mapping requires user intervention. The per:~odic probe map, similar to the partial probe map, combines die non-immersed probe range of a TDR sig~ial with the remainder of the probe range from the prior reference signal. however, periodic probe mapping is performed automatically without user intervention, as will be explained below. The mode of the apparatus 10 can be set to use the desired reference signal. To conserve memory, ony the reference signal used in the selected ir..ode is maintailied in RAM 48.
The baseline signal is calculated by subtracting the reference signal from the TDR signal. An offset can he added to the result of the subtraction in order to eliminate negative values in die baseline signal 420. Fig. 20 shows a baseline signal calculated by subtracting the reference signal 410 from the TDR signal 400 and adding CA 02295330 2000-02-08 ' " ~ 29 au offset of 128 counts which is half of the range of the vertical axis. Iu the baseline signal 420 shown in Fig. 20, the first large reflective pulse 426 is due to the material level 26, and the second large: reflective pulse 424 is due to changes in the reflection at the end 19 of probe 18. The reflections 402, 412 due to the impedance change at the mounting 16 are cancelled out in the subtraction of the reference signal 410 from the TDR signal 400.
All three of the signals 400, 410, 420 have the same units. The vertical axis has units of digital voltage counts that represent the amplitude of the pulses. In Figs. 18-20, the amplitude information is depicted using eight bits which allows for 256 counts.
Thus, for a voltage range of .5 V, a voltage count equals approximately 20 mV
(SV / 256 counts). The hoiizont;~l axis has units of digital tune counts that represent time until reception of the associated pulse amplitude. Each digital time count also represents a digital distance count, since tune is directly related to distance by the propagation speed of the pulse. In Figs. 18-20, tle time or distance information is depicted using nine bits which allows for 512 ~:ounts on the horizontal axis. A probe map length 401 is the total distance or length covered by the distance counts of the horizontal axis.
Thus, for a distance count of 10 nun and 512 counts on the horizontal axis, the probe map length 401 is 5.12 m ( 10 mm/count * 5 l2 counts). The resolution of the distance measurements are inversely proportional to the probe map length 401. As the length of the probe 18 is shortened, the probe map length 401 can be shortened by decreasing the magnitude of the distance counts. Decreasing, the magnitude of the distance counts increases the resolution of the distance mc;asurements.
As long as conditions in the vessel 14 have not changed, the baseline signal is free of most background noise and thesreflective pulse due to the material level 26 is the first large reflective pulse 426. Unfortunately over tune, the TDR
response varies from the reference signal 410. Since these variations are not contained in the reference signal 410 until it is updated, these variations are not cancelled by the subtraction of the reference signal 410 from flue TDR signal 400 and appear as reflection pulses in the baseline signal 420. P~Iany i.~actors unrelated to the level 26 of the material 12 cause the TDR signal 400 to change over time. These factors include buildup of material on the probe 18, temperature: chanl;es, changing conditions of the vessel 14, and changing mountuig conditions. As shown in Fig. 20, the baseline signal 420 is "clean"
'~ 30 immediately following; a probe map. But variations over time cause the baseline signal to become increasingly noisier. A later baseline signal 430, shown in Fig. 21, is the result of subtracting the earlier calculated reference signal 410 from a current TDR
signal. The variation;, iii background noise that occurred in the interim, between collection of the reference signal 410 and the current TDR signal, have caused a noise pulse 432 prior to the level reflection pulse 436 in the later baseline signal 430. The noise pulse 432 could potentially be misinterpreted as a level reflection and result 11 erroneous level measurements. Initially the noise does not affect the measurement because the amplitude: of the level reflection pulse 436 is greater than the noise pulse 432, but left unchecked, the noise pulse 432 may grow and eventually become equal to or greater than the amplitude of the level reflection pulse 436.
The process of periodic probe mapping addresses the issue of keeping the reference signal 410 ~~urrent so that variations contained in the TDR signal 400 due to background factors are accounted for in computing the baseline signal 420. As long as the reference signal 410 is "periodically" updated, the baseline signal 420 remains much more noise free. Per:.odic probe mapping is similar to partial probe mapping except instead of the user m~anuall:y activating the partial probe mapping process and entei~ng the transition point, the periodic probe map process automatically activates the mapping process and detennin,es the transition point from the level reflection of the TDR signal used in the periodic probe mapping process.
As with parti;zl maF~ping, periodic mapping fits the upper portion of a current TDR signal with the lower portion of a reference signal to calculate a new reference signal. Periodic probe mapping starts with a reference signal 410 which is updated by each periodic probe mappvig operation. sThe original reference signal used in periodic probe mapping eau t~e supplied by any of the reference signal determination methods used in the various system modes.
To prevent rnappin;g out a portion of the level reflection pulse 406, periodic probe mapping waits until the level 26 of material 12 in die vessel 14 is stable.
The level 26 is considered stable enough for automatic activation of periodic probe mapping if the level reflection pulse 426 of the baseline signal 420, which corresponds to the level reflection pulse 406 of the TD:E~ signal 400, remains within a reflection window 444 for a set number of level measurements. The stability requirement for activation of periodic CA 02295330 2000-02-08 ' '~ 31 probe mapping is incre:ased by narrowing the reflection window 444. A
reflection window counter track~~ the number of consecutive times the level reflection pulse 426 remains within the reflection window 444. When the level reflection pulse 426 is outside the reflection wilidow 444, the reflection window counter is reset to zero and the bounds of the reflection window 444 are reset. When the level reflection pulse 426 remains within the reflection window 444 for the user selected number of consecutive level measurements then periodic probe mapping is automatically activated. A
preferred embodiment of the invention requires four consecutive level reflections at the same level, i.e. the reflection window 444 having a width of 0 distance counts.
When periodic: probf; mapping is activated, a TDR signal 400 is collected and a current baseline signal 430 is calculated. The level reflection location 438 in the level reflection pulse 436 is determined. A transition point 442 is chosen which is sufficiently before the level reflecrion location 438 based upon the probe map length 401 and the level reflection location 438. Table A lists the preferred location of the transition point 442 relative to the level reflection location 438 for different probe map lengths 401 in terms of the number of distance counts the transition point 442 should be prior to the level reflection locati~~n 438.
TABLE A
Length Resolution of Transition Point Location in Probe Ma Number of p Distance CountsDistance Counts Prior to Level Reflection Location <3m 6.53 mm 10 <6m 13.06 mm < 6 m 19.59 irun 4 <9m 26.12 mm 3 < 12 m 32.65 tnm 3 < 15 m 39.18 mm 3 < 18 m 45.71 rnm 3 <= 20 m 52.24 mm 3 ' " 32 The transition point 442 is also found on the prior reference signal 410, the transition point 442 representing the same location along the probe 18 in both signals.
An upper portion 408 of the TDR signal 400 prior to the transition point 442 is combined wide a lower portion 418 of the prior reference signal 410 following the transition point 442 to form a new reference signal 440. An offset adjustment is applied to eliminate any discontinuity iii the portions 408, 418 at the transition point 442 in the new reference signal 440.
The offset adjustment smooths the new reference signal 440 at the transition point 442 due to differences in the signal level 417 iii the prior reference signal 410 and the signal leve1407 iii the'TDR s~igna1400. The offset adjustment is applied to the portion 418 of the prior reference sil;nal 410 following the transition point 442 to smooth the new reference signal 440 at the transition point 442. If the adjustment is not made, there may be a discontinuity in the new reference signal 440 at the transition point 442, the discontinuity could be interpreted as a level reflection signal and cause ewoneous level measurements. The offset adjustment value can be computed by many methods including those described previously in regard to partial probe mapping.
The new reference signal 440 that results from periodic probe mapping is then used as the reference signal in level measurement calculations and is later used as die prior reference signal in coir~puting a newer new reference signal. The new reference signal 440 is held iii RAM 48 for use in level measurement calculations and periodically transferred to EEPRO;VI 50. The rate at which the new reference signal 440 is transferred to EEPROM 50 is selectable by the user.
In order to reduce the: amount of RAM 48 necessary for the system 10 the probe mapping and level measurement operatidns can be performed without actually storing die current TDR signal 400. Every tune a level measurement is pei~forned, the TDR
signal 400 is received by the microprocessor 46 as a sequential str-earn of digital voltage samples from the anal~~g-to-digital convertor 44 which represent the amplitude of the reflection pulse at a different location proceeding along dle probe map length 4OI 6'0111 the mounting 16 to the: end 19 of the probe 18. In the exemplary embodiment there are 512 samples along the probe map length 401. One method of performing level measurements is to store all S 12 samples of the TDR signal 400 along with all samples of the reference signal 410, and take the difference plus an offset to compute all S 12 samples of the baseline signal 420. This method requires that 1.5 Kbytes of the RAM 48 be allotted to store these three signals. The preferred method is to store the reference signal 410 u~ RAM 48 and to compute the 512 samples of the baseline signal 420 point by point as each point of the TDR signal 400 is received by the microprocessor S 46. The preferred metlZOd only requires that 1.0 Kbytes of RAM 48 be allotted to store the reference signal 410 and the baseline signal 420. When the calculations require a sample from the TDR signal 400, the required sample can be reconstructed by adding the corresponding sample from the reference signal 410 to the corresponding sample from the baseline signal 420 and subtracting the baseline offset.
l0 Using die preferred method, which reduces the amount of RAM 48 required for the system 10, periodic; probe: mapping is accomplished as outlined in Fig.
23. Upon entry to the periodic probe mapping routine, at step 450, the system determines whether the level reflection location 438 is in the level reflection window 444. If the level reflection location 438 is not in the level reflection window 444 then, at step 452, the 15 reflection counter is reset, at step 454, the reflection window 444 is reset and, at step 456, the periodic probe mapping routine is exited.
If the level reflection location is in the level reflection window then, at step 458, the reflection counter is incremented and, at step 460, the system checks whether the reflection counter is greater than the periodic probe map activation count. If the 20 reflection counter is not greater than the periodic probe map activation count then, at step 456, the periodic probe: map routine is exited. If the reflection counter is greater than the periodic probe map activation count then periodic probe mapping is automatically activated starting at step 462.
At step 462, dlc: location of the transition point 442 is determined and, at step 25 464, the tl-ansition point offset adjustment is computed using the points of the TDR
signal 400 and the prior reference signal 410 to smooth the new reference signal 440 at the transition point 44a!. At step 466, the upper portion 408 of the new reference signal 440 is computed by rec:onstmctiiig the TDR signal 400. The TDR signal 400 is reconstructed point by point 'up to the transition point 442 by taking the value of the prior 30 reference signal 410 plus the value of the baseline signal 420 minus the baseline offset value. The reconstructed TIER signal value is the value of the new reference signal 440 and it is stored over the°_ value; of the prior reference signal 410.
At step 468, the lower portion 418 of the nevr reference signal 440 is computed. The lower portion 418 of the new reference signal X440 is computed point by point by adding the transition point offset adjustment to each point of the prior reference signal 410 and storing the result over the point of the prior reference signal 410.
S At step 470, tr;~e system determines whether the new reference signal 440 should be stored in EEPROM S0. If the new reference signal 440 is not to be stored in EEPROM SO then, at step 4'74, die reflection counter is reset and, at step 456, the periodic probe mapping routine is exited. If the new reference signal 440 is to be stored in EEPROM SO then, at step 472, the new reference signal 440 is stored iii EEPROM S0, at step 474, the reflection counter is reset and, at step 456, the periodic probe mapping routine is exited.
A new "initial" periodic probe map reference signal may be stored in EEPROM
SO to reset or initialize: the previous periodic probe map reference signal.
Although the factory reference signal will be stored iii EEPROM SO as the initial reference signal for 1S all modes, it is recom:~:nended, if possible (if the vessel is easily emptied), to compute a user reference signal for the entire probe map length 401. If the vessel is not easily emptied, a partial probe map should be performed to map the background reflections due to the measurement environment along the non-iiriinersed portion of the probe 18. It is also important that the: probe map length 401 is greater than or equal to the length of the probe 18. If the probe: map length 401 is too short, the algoritllins based on end of probe detection will not function properly.
In the level mc:asure;ment calculations discussed above the TDR and reference signals are time aligned to tl a tune of the initial reflection pulse caused by the impedance change at the mounting 16. ')'lie time aligiirrient is done to set time zero, and 2S correspondingly distance zero, to a fiducial reference point at the tune of the reflection pulse from the mounting 16. The fiducial reference point is the point to wluch TDR
signals and reference signals are aligned before calculation of the baseline signal and other computations are performed. The fiducial reference point is the reference for all distance calculations. Thus, dine and distance measurements are calculated along the probe 18 starting at t1e location of the mounting 16 as identified by the fiducial reference point.
Under favorable conditions the fiducial reference point can be set to the first point falling below a selecte~3 fiducial threshold 486. In less favorable conditions, which may be caused by offsets and temperature drift, as shown in Fig. 24, a TDR signal 480 can contain a pre-fiducial reflection 482 and a fiducial reflection 484 due to the mounting 16 5 that both contain points falling below the fiducial threshold 486. The first point falling below the fiducial tlu~e;shold 486 is a pre-fiducial reference point 488 in the pre-fiducial reflection 482 followed by a real fiducial reference point 490 in ye fiducial reflection 484. The real fiducial reference pouit 490 due to the reflection signal of the mounting 16 occurs after the pre-fiducial reference point 488. During this condition, die fiducial ' 0 reference point used vi calculations can be incorrectly set to the pre-fiducial reference point 488 or, due to environmental factors, can toggle between the real fiducial reference point 490 and the pre-fiduci;~l point 488. This toggling causes the reference signal to be misaligned with the TIER signal 480 which causes erroneous results. When the TDR
signal 480 does not align with the reference signal, the baseline signal is corrupted and 15 level reflections can not be accurately determined.
There are several procedures that can be used in overcoming the problem caused by multiple reflection~~ crossing the fiducial threshold 486. Samples of the TDR signal 480 whose amplitude is evaluated as a zero value by the analog-to-digital convertor 44 are referred to as zero values.
20 One procedure: for overcoming the problem caused by multiple reflections crossing the fiducial threshold 486 is to count the number of consecutive zero values, points whose amplitude is evaluated as a zero value by the analog-to-digital convertor 44, in each reflection :in the 'TDR signal 480 containing zero values. The reflection with the greatest number o~- zero values is chosen as the fiducial reflection.
Using this method 25 on the TDR signal of :Fig. 24, the number of zero values in the first reflection 482 and in the second reflection 184 would be counted. The reflection 484 would be selected as the fiducial reflection siuc:e it has a greater number of consecutive zero values.
The fiducial reference poilit would then be set to the location 490 where the fiducial reflection 484 first crosses the fiducial threshold 486.
30 A second solw:ion for overcoming the problem caused by multiple reflections crossing the fiducial threshold 486 is to determine t1e reflection that represents the greatest distance along the 'fDR signal 480 with consecutive zero values.
Tllis procedure would start like the previous procedure with a detecting of each point representing a zero value. However, instead of counting the raw m.unber of points, the points would be transformed into a distance measure using the scan resolution factor. The uninterrupted distance of each refler.tion that is zero values would be tracked. The reflection in the TDR signal 480 which indicates the greatest uninterrupted distance of the TDR
signal 480 made up of zero values is selected as the tiducial reelection. The fiducial reference point would then be se;t to th.e location where the selected fiducial reflection first crosses the fiducial threshold 486.
The preferred ;~olutian for overcoming the problem caused by multiple reflections crossing the fiducial tlueshold 486 is to set the fiducial reference point to the starting location of the rightmost string of consecutive zero values in the signal which is at least as wide as a user-defined fiducial width threshold. Tlus can be performed on the TDR
signal 480 as it is being received point by point by the microprocessor 46.
Prior to this process, the fiducial width threshold is set which defines either the number of consecutive zero values that is required before the reflection will be considered a fiducial reflection, or the width in distance flat is required before the reflection will be considered a fiducial reflection. A consecutive zero counter or distance counter is used to count the number of consecutive zeroes or the width iil distance found in a potential fiducial reflection of the signal. The rightmost reflection in the TDR signal 480 which has a width of zero values greater than or equal to the fiducial width threshold is selected as the fiducial reflecti~~n. The fiducial reference point would then be set to the location where the selected fiducial reflection 484 first crosses the fiducial threshold 486. There are several ways to implement a procedure performing this function, an example being shown in Fig. 25 where the liducial widt~i threshold defines the number of consecutive zero values that is required before a reflection will be considered a fiducial reflection.
At step 496, tl;.e procedure checks to deterW ne whether this is the first point of the incoming TDR signal 4f~0. This is to initialize the fiducial flag and consecutive zero counter for a new incoming signal. If it is the first point then, at step 497, d1e fiducial flag is set to zero (0) and the: consecutive zero counter is set to zero (0).
The fiducial flag indicates whether the signal is currently in a potential fiducial reflection.
At step 498, tl:.e routine checks whether the current signal value, voltage count value, is less than or equal to the fiducial threshold. If the current signal value is not less than or equal to the fiducial threshold then, at step 499, the fiducial flag is set to zero (0) and control is transfewed to step 504 to determine whether the last signal value was a i zero value. If the current signal value is less than or equal to the fiducial threshold then the signal is in a potential fulucial reflection and con ri-ol is transferred to step 500.
At step 500, the routine checks whether the fiducial flag equals one (1) indicating that the signal was ah-c:ady in a fiducial reflection. If the fiducial flag is not equal to one, then this is the first point in the fiducial reflection and, at step 501, the fiducial flag is set equal to one (1) and tl;,e fiducial location is stored. The fiducial location is the point where the potential fid.ucial reflection first crosses below the fiducial threshold.
l0 At step 502, the routine checks whether the current signal value, voltage count value, is zero (0 voltal;e counts). If the current signal value is zero then, at step 503, the consecutive zero counter is incremented and the routine is exited until the next point of the TDR signal 480 is received by the microprocessor 46.
If the current signal value is not zero or is not below the fiducial tlu-eshold then, at step 504, the routinf: checks whether the last signal value was zero (0 voltage counts).
If the last signal value was not a zero value then the routine is exited until the next point of the TDR signal 480 is received. If the last signal value was zero then the signal just finished going through at least one consecutive zero value and processing continues at step 505.
At step 505, the routine checks whether the consecutive zero counter is greater than or equal to the fid.ucial width threshold. Tlus step is reached at the first non-zero point on the rising side; of a string of at least one consecutive zero values, and at tlus instant, the consecutive zero counter contains a count of the number of consecutive zero s values in the potential fiducial reflection. For example, for the fiducial reflection 484 of Fig. 24, the consecutive zero counter holds the count of the number of zero values in the region 492. If the consecutive zero counter is less than the fiducial width threshold, then the reflection is not considered and, at step 507, the consecutive zero counter is reset to zero and the routine is exited. until the next point of the TDR signal 480 is received.
The fiducial re=erence point is set at step 506 when the consecutive zero counter is greater than or equal. to the; fiducial width tlu-eshold. At step 506, dle fiducial reference point is set to the fiducial location which was stored at step 501. Tlus sets the fiducial reference point to the first paint below the fiducial threshold for the cuwent fiducial reflection. At step 50'x, the consecutive zero counter is reset to zero and the process is exited until the next point of the TDR signal 480 is received. The process continues to i check for potential fiducial reflections later iu the TDR signal 480.
The ability to detect the end 19 of the probe 18 enables the detection and differentiation between an empty vessel, low amplitude level reflections, and a broken probe. Being able to detect and differentiate between these conditions allows the apparatus 10 to properly indicate when the vessel 14 is empty, when the vessel 14 is not empty but no level reflection is detected, and when the probe 18 is broken.
The output 52 of the apparatus 10 includes an alarm which is activated when a broken probe condition or no level reflection condition is detected As shown in Figs. 27 and 28, an end of probe response 510, 520 caused by the end 19 of the probe 18 is ch~~racterized by a sharp negative peak 512, 522 usually adjacent to a positive peak 514, 524. The amplitudes of the negative peak 512, 522 and the positive peak S 14, 524; and the distance between the negative peak 512, 522 and the positive peak S 14, 524. can vary with the type of probe 18. For example, some factors that can cause the end of probe response 510, 520 to vary include whether the probe is coated or uncoated; whether the end of the probe has a weight or loop; and the diameter of the probe. 'Ilie end of probe response 510, 520 is also affected by the field installation conditions.
The position of the end of probe response S 10 of the TDR signal 508 provides information about the level 26 of material in the vessel 14 and the condition of the probe 18. The velocity of a pulse traveling on the probe 18 varies with the dielectric of the material in which the probe :18 is immersed. In the case of two materials, as shown in s Fig. 1, the pulse travels along the probe 18 in the first material 11 having a first dielectric constant, and in the second material 12 having a second dielectric constant.
Thus, the pulse has a first propal;ation speed in the first material 11 dependent upon the dielectric constant of material 11, and a second propagation speed in the second material dependent upon the dielectric constant of material 12. Changes in the length of probe 18 and changes iii the len;th of probe 18 immersed iii the material 12 cause the position of the end of probe respo:ose 510 of the TDR signal 508 to vary. The change in position of the end of probe respo:ase 510 of the TDR signal 508 is perceived as a distance change to the end 19 of the probE: 18. The method for detecting and differentiating an empty vessel 14, a low amplitude level reflection, and a broken probe 18 are based on the position of the end of probe response S 10 of the TDR signal 508 versus the end of probe response 520 of the reference signal 528.
During deteuninatioi~ of the reference signal 528, the position of the end 19 of the probe 18 is determined and stored in EEPROM 50. An end of probe position 526 indicating the position of the end 19 of the probe 18 is set by the location of the negative peak 522 of the end of probe response 520. The end of probe position 526 is used to calculate a measuring length 530 and a maximum probe length 532.
The measuring length 530 is calculated as the end of probe position 526 minus a shortening tolerance 5 34. In the case of a typical weight length of 25 cm and a worst case resolution of approximately ~S cm, a value of 30 cm is appropriate for the shortening tolerance 534. The mf:asurii:~g length 530 has an allowable range from a short limit of 1.0 m to a long limit of the end of probe position 526 minus the shortening tolerance 534.
The short limit prevents measurements in the region dominated by reflections from the mounting 16 and the long limit prevents measurements in the region dominated by the end of probe reflection 520. The measurilig length 530 can be manually reduced by the user up to the short unlit, but the measuring length 530 can not be manually increased by the user.
The measuring lengtl 530 computed during update of the reference signal 528 is used as a blockilig dis~:ance during analysis of the TDR signal 508.
Reflections in the TDR signal 508 that a~-e beyond the measuring length 530 are not considered in determining material l~~yel. 'IMis prevents the system from falsely detecting the ghost reflections from the end 19 o~f the probe 18 as level reflections. The measuring lengdl 530 is also used when the user shortens tie probe 18, but is unable to create a new reference signal. The ,nanual reduction of measuring length 518 allows the system to function, without map~W g tl~ie shortened probe 18.
The maximum probe length 532 is calculated during the update of the reference signal 528 as the end of probe position 526 plus a lengthening tolerance 536.
The lengthening tolerance 536 is used to differentiate between an empty vessel condition and a low amplitude level reflection condition. The lengthening tolerance 536 compensates for the effects of material build-up on the probe 18 and the dielectric of the materials in the vessel 14, which change the propagation speed of a signal along the probe 18. A
value for the lengthening tolerance 536 of 30 cm has been found to be appropriate.
The measuring length 530 and the maximum probe length 532 divide the sampled TDR signal 508, Fig. :?6, anti die reference signal 528, Fig. 27, into three sections. These 5 values are calculated l:~ased upon the end of probe position 526 which is stored in EEPROM 50 during each update to the reference signal 528. Different conditions are determined based on which of the three sections the negative peak S 12 of the end of probe response S 10 of the current TDR signal 508 is located in.
The end of probe response S 10 and a broken probe response are very similar. W
10 fact, a broken probe is just another type of end 19 for the probe 18. The end of probe position 526, stored iu EEPR OM 50, represents the location of the end 19 of the probe 18 when dle vessel 14 is empty,, which is the minimum location along the TDR
signal 508 of the negative peak 512 of the end of probe response 510. One of the conditions for detecting a broken probe is detection of a shortened probe length which is indicated by 15 the location of the negative peak 512 of the end of probe response S 10 being a shorter distance on the TDR signal _'i08 than the stored end of probe position 526 computed during determination of the reference signal 528. A broken probe condition could be caused by a broken probe or a lost weight at the end of the probe.
Broken probe detection is complicated by the fact that users will shorten the 20 lengdl of the probe 18 in the field, without detenninillg a new reference signal for the probe 18. This is sometimes necessitated by the impracticality of emptying the vessel 14 to determine a new reference; signal for the shortened probe 18. If the system used the stored end of probe lo~~ation 426, then shortening of the probe 18 in the field without determining a new refi~rence signal would cause a broken probe indication.
Therefore, 25 an adjustable criteria for broken probe detection is implemented. The measuring length 530 is used as the criteria for broken probe detection. If the negative peak 512 of tile end of probe response S 10 of the current TDR signal 508 occurs prior to the measuring length 530 then the system outputs a broken probe indication. The measuring length 530 is stored in EEPROM S0 and cau be manually decreased by the user. Thus allows the user 30 to adjust the region of the TDR signal SO8 in which a broken probe condition is detectable.
There are three conditions that all must be met to produce a broken probe indication. First, as discussed above, the current end of probe location determined by the location os the negative peak 512 of the end of probe response 510 of the current TDR
signal 508 must be less than the stored measuring length 526. The second is that the end of probe response 510 must consist of a negative peak followed by a positive peak. Tlus is to prevent large level reflection pulses from being misinterpreted as a broken probe condition. The third condition is that au end of probe peak-to-peak response between the voltage counts of the negative peak 512 and the voltage counts of the positive peak 514 of the end of probe response 510 must be greater than or equal to an end of probe delta response value. The preferred value for the end of probe delta response is 800 mV, ~Nhich for a voltage count of 20 mV is equivalent to 40 voltage counts.
When the vessel 14 is empty there is no level reflection pulse which could cause the system to make m erroneous level measurement based on system noise.
Threshold level reflection values are used in analysis of a baseline signal 540 to prevent finding a level reflection in the signal noise when the vessel 14 is empty. The baseline signal 540 (Fig. 28) is calculated. by subtracting the time-aligned reference signal 528 (Fig. 27) from the time-aligned TDR. signal 508 (Fig. 26). An upper threshold 542 is applied to the upper portion of the l;aselin~ signal 540, and a lower tln-eshold 544 is applied to dle lower portion of the l;aselin~ signal 540. A dlreshold index 546 divides the portion of the baselilie signal 540 over which the upper tln-eshold 542 is used from the portion of the baseline signal 540 aver which the lower tlweshold 544 is used.
The upper threshold 542 is greater than the lower threshold 544 due to the greater amplitudes and slopes of thf: TDR signali508 and the reference signal 528 on d1e upper portion of the signals caused by the fiducial reflections from the mounting 16 and envil-omnental factors in the vessel 14 near the fiducial. Small errors in time aligmnent in these regions of lu~;h amplitude and slope cause larger noise amplitudes ili the resulting baseline signal which the upper threshold is intended to mask. The threshold values can be set as a function of the amplitude of the level reflection, for example a fixed number of counts below the amplitude of the last level reflection.
Alternatively, the thresholds can be set to a preset level. For example, with the baseline offset set to 128 voltage counts, tl;.e upper threshold could be set to 145 counts and the lower threshold set to 133 counts. The threshold index cm be set as a function of die probe length or as a fixed value, for example 2 meters.
If there are no reflection pulses that cross the upper threshold 542 or the lower threshold 544 in the baseline signal 540, then it must be determined whether this indicates an empty vessel 14 or low amplitude level reflections. The two conditions can be differentiated based on the fact that the propagation speed of the signal along the probe 18 changes based on the material i1i which the probe 18 is immersed. If the probe 18 is immersed in a material the location of the negative peak 512 of the end of probe response 510 will move from the end of probe position 526 for an empty vessel.
Buildup of material on the probe 18 which remains after the material level has lowered will also effect the signal propagation speed along dle probe 18. To account for the effects of material buildup, the yrobe maximum length 532 is used to differentiate between an empty vessel condition and <~ low amplitude level reflection condition. If the end of probe position 526 was used as the decision criteria, then material buildup on the probe 18 could cause the system to confuse an empty vessel condition with a low amplitude level reflection condit,on.
There are two conditions that must be met to determine a low amplitude level reflection condition. First, t7ie negative peak 512 of dle end of probe response 510 must sluft beyond the probe maximum length 532, indicatuig that the material in which the probe 18 is unmersed has changed the signal propagation speed. Second, there must be no reflections in the baseline. signal 540 above the upper threshold 542 in die upper portion of the baseline ~igna:l 540 or above the lower threshold 544 in the lower portion of the baseline signal _'i40. When both of these conditions are met the system indicates a low amplitude level reflection condition.' There are two conditions that must be met to determine an empty vessel condition. First, the negative peak S 12 of the end of probe response 510 must be within the window between the measuring length 530 and the probe maximum length 532.
Second, there must be no reflections in the baseline signal 540 above the upper tlweshold 542 in the upper portion of tlae baseline signal 540 or above the lower threshold 544 in the lower portion of the baseline signal 540. When both of these conditions are met the system indicates an empty vessel condition.
The shape of tl-~e end of probe response is used to determine the loss of the high frequency connection. When the high frequency connection is lost the end of probe delta value on a TDR signal 550 becomes very small as shown in Fig. 29. This is due to the fact that without a high frequency coimection there are no significant reflection pulses past the fiducial.
Using the TDR signal of Fig. 27, which has high frequency correction, the determination of end of probe response shape will be shown. During level measurement, the TDR signal 508 is analyzed from a blocking distance 552 to the last sample, sample 511 in this case. The blockilig distance 552 is a set distance from the tiducial reference point, for example 30 cm. The end of probe location is determined using the negative peak 512 of the end of probe response 510. The system then looks for the positive peak 514 of the end of probe response 510 withili an end of probe window 540 about the negative peak 512. Tree end of probe window 540 prevents a point on the falling slope of the fiducial reflection ~?ulse from being used as the positive peak of the end of probe response. In the case of sampling 512 digital samples along the TDR signal 508, the preferred size of the end of probe window 540 is 100 distance counts to either side of the negative peak 512. If the end of probe peak-to-peak response 538 is less than an end of probe delta threshold, then tree system indicates a loss of high frequency connection. A
preferred value for the end of probe delta threshold is 5 voltage counts when the voltage count size is approximately a!0 mV.
Fig. 29 shows a TDR signal 550 after the high frequency connection has been lost. The system looks for t1e location of the end of probe response and finds a negative peak 554. The system then looks for the positive peak within the end of probe window 556 and finds positive peak .'i5$. Since, iai Fig. 29, the end of probe peak-to-peak response 560 is less than the end of probe delta threshold, the system indicates a loss of high frequency connecaion.
Referring to Fig. 30, an upper threshold signal level 564 and lower threshold signal level 566 are used in analysis of a baseline signal 562. Under favorable conditions with high signal to noise ratio, the level reflection pulse is the first pulse to cross either of the thresholds 564, 566. Fig. 30 shows a case of low signal to noise ratio where a noise reflection pulse 568, a level reflection pulse 570 and an ghost reflection pulse 572 from the end of probe reflection all cross the tlu-eshold 564. Fig. 30 also shows the blocking distance 564, the measuring length 576 and the dn-eshold index 578.
The threshold can be set to a fixed level or it can be set as a function of the amplitude of the level reflection pulse of the previous signal. In the latter case, if the previous baseline sign~.l was baseline signal 562, then the amplitude of level reflection pulse 570 would be computed and the upper du-eshold 564 would be set to a fixed number of voltage counts lower, for example 4 counts (~80 mV when each count is --20 mV), and the lower threshold 566 would be set still lower, for example 8 counts. These new thresholds 564, SE~6 would be used in deterniniiig the level reflection pulse in the next baseline signal.
The level measurement is determined by the maximum amplitude pulse of the baseline signal 562 that crosses the thresholds 564, 566 between the blocking distance 574 and the measuring length 576. In Fig. 30, the noise pulse 568, the level reflection pulse 570 and the ghost reflection pulse 572 all cross the threshold 564. Even though the amplitude of the ghost reflection pulse 572 is greater than the amplitude of the level reflection pulse 570, it is beyond the measuring length 576 and therefore not considered when pei-forning level measurement. The noise pulse 568 and dle level reelection pulse 570 both occur between the blocking distance 574 and dle measuring length 576, but the amplitude of the level reflection pulse 570 is greater than the amplitude of the noise pulse 568. Therefore, the level reflection pulse 570 is used to determine the level in the vessel 14.
The above diagnostic and level measurement techniques are implemented as shown in Fig. 31. The partially drawn boxes shown in Fig. 31 for steps 102, 112, and 150 refer to the steps by those same num~ers which we shown in Fig. 8. In the following discussion, reference is made to the TDR signal 508 shown iii Fig. 26 and the baseline signal 562 shown in Fig. 30.
At step 600 of ~~ig. 31, following the tune aligilinent of data in step 112 of Fig. 8, the system checks for a. broken probe 18. Step 600 checks whether the end of probe location 526 is less thm, occurs prior to, the measuring length 530. If the end of probe location 526 does occur prior to the measuring length 530, then, at step 602, a broken probe is indicated and control is transferred to step 150 shown in Fig. 8.
CA 02295330 2000-02-08 ' If a broken probe 18 is not detected then, at step 604, the system checks whether there has been a loss of high frequency connection. At step 604, the system determines whether the end of probe peak-to-peak response 538 is less than the end of probe delta threshold. If the end of prone peak-to-peak response 538 is less than the end of probe 5 delta threshold then, at step 606, the system indicates loss of high frequency connection and transfers control to step 150 of Fig. 8.
If a loss of hig:i~ frequency connection is not detected then,, at step 608, the system checks whether there s a level reflection in the measurement range. At step 608, the system checks whether a reflection is detected iii the measurement range. A
reflection is ~' ~ 0 detected when the amplitude of the reflection pulse in the baseline signal is greater than the upper threshold SEi4 or the lower threshold 566. The measurement range extends from the blocking distance 574 to the measuring length 576. If a reflection pulse is detected in the measurement range then, at step 610, the level of the material 12 in the vessel 14 is computed. Various methods for determining the level of the material 12 in 15 the vessel 14 are shown in steps 114-144 of Fig. 8.
After the material level is computed, at step 612, a low signal timer, which will be described below, is reset. Then at step 614, the system checks whether it is iii periodic map mode. If the system is im periodic map mode then the reference signal is automatically updated on a periodic basis, otherwise the reference signal is not updated 20 without user intervention. If the system is not iii periodic snap mode, control is transferred to step 150 of Fig. 8. If the system is in periodic map mode then, at step 616, the level measurement result is formatted aiid output, and at step 618, the periodic probe map routine shown in Fig. 2:3 is executed. After the periodic probe map routine is i complete, control is transfen-ed to step 102 shown hi Fig. 8.
25 If a level reflection is not detected in the measurement range then, at step 620, the system checks whether there is a low amplitude level reflection condition. At step 620, the system checks whether the end of probe location on the TDR signal is greater than or equal to, occurs at or heyond, the maximum probe length 532. The end of probe location on the TDR signal 50~~ is hidicated by the negative peak 512 of the end of probe response 30 510. If the end of probe location of the TDR signal occurs at or beyond the maxhnum probe length 532 then it is a low amplitude level reflection condition. The low signal timer tracks the tune since the last valid level reflection, either within the measurement range or an empty vessel, was detected. A tuner limit that is set by the user indicates how long a low amplitude level reflection condition will be tolerated before an alaum or other output is activated.
When a low amplitude level reflection condition is detected then, at step 622, the system checks whetheo the low signal timer is greater than the timer limit. If the low signal timer is greater than the timer limit then, at step 624, the system activates the necessary output to indicates a low amplitude reflection level condition and returns control to step 150 shown in Fig. 8. If the low signal tuner is not greater than the tuner l0 limit then, at step 626, the system contunues to display the last level measurement value and returns control to step 150 shown in Fig. 8.
If a low amplitude level reflection condition is not detected then, at step 628, the system checks whether there is an empty vessel 14. At step 628, the system checks whether the end of probe location of the TDR signal is greater than or equal to, occurs at or beyond, the measuring length 530. The end of probe location on the TDR
signal 508 is indicated by the negative peak 512 of the end of probe response 510. If the end of probe location of the ':('DR signal occurs at or beyond the measuring length 530 then, at step 630, the system indicates an empty vessel, which is a valid level measurement, and control is transfen-ed to step 612 to reset the low signal timer. If the end of probe does not occur at or beyond the measuring length 530 then it is treated as a low level reflection condition and COIltr01 is transferred to step 622 to determine whether the low signal timer is greater than the tuner- lunnit.
Although the unventibn has been described un detail with reference to a certaun preferred embodiment, variations and modifications exist witlnun the scope and spirit of the present invention as described and defined in the following claims.
Claims (33)
1. A method for processing a time domain reflectometry (TDR) signal having a plurality of reflection pulses to generate a valid output result corresponding to a process variable for a material in a vessel, said method comprising the steps of:
periodically detecting a TDR signal along a probe in said vessel;
scanning said TDR signal for at least one potential fiducial reflection having a zero value;
selecting a fiducial reflection from said at least one potential fiducial reflection ;
setting a fiducial reference point on said fiducial reflection; and computing said output result based on said fiducial reference point.
periodically detecting a TDR signal along a probe in said vessel;
scanning said TDR signal for at least one potential fiducial reflection having a zero value;
selecting a fiducial reflection from said at least one potential fiducial reflection ;
setting a fiducial reference point on said fiducial reflection; and computing said output result based on said fiducial reference point.
2. The method of claim 1, wherein the step of selecting a fiducial reflection comprises the steps of determining a number of consecutive zero values in each of said at least one potential fiducial reflections; and selecting the one of said at least one potential fiducial reflections with the greatest number of consecutive zero values as said fiducial reflection
3. The method of claim 1, wherein the step of selecting a fiducial reflection comprises the steps of determining an uninterrupted distance represented by zero values in each of said at least one potential fiducial reflections; and selecting the one of said at least one potential fiducial reflections with the greatest uninterrupted distance of zero values as said fiducial reflection.
4. The method of claim 1, wherein the step of selecting a fiducial reflection comprises the steps of defining a fiducial width threshold; determining a width of zero values in each of said at least one potential fiducial reflections; and selecting the rightmost of said at least one potential fiducial reflections having a width of zero values greater than said fiducial width threshold as said fiducial reflection.
5. A method for processing a time domain reflectometry (TDR) signal having a plurality of reflection pulses to generate a valid output result corresponding to a process variable for a material in a vessel, said method comprising the steps of:
determining a reference signal along a probe;
establishing a first fiducial reference point on said reference signal;
periodically detecting a TDR signal along said probe in said vessel;
scanning said TDR signal for at least one potential fiducial reflection having a zero value;
selecting a fiducial reflection from said at least one potential fiducial reflection ;
setting a second fiducial reference point on said fiducial reflection; and computing said output result based on said first fiducial reference point and said second fiducial reference point.
determining a reference signal along a probe;
establishing a first fiducial reference point on said reference signal;
periodically detecting a TDR signal along said probe in said vessel;
scanning said TDR signal for at least one potential fiducial reflection having a zero value;
selecting a fiducial reflection from said at least one potential fiducial reflection ;
setting a second fiducial reference point on said fiducial reflection; and computing said output result based on said first fiducial reference point and said second fiducial reference point.
6. The method of claim 5 wherein the computing said output result step includes the steps of calculating a baseline signal by aligning said first fiducial reference point on said reference signal with said second fiducial reference point on said TDR
signal and subtracting each point of said aligned reference signal from said aligned TDR
signal; and computing said output result utilizing said baseline signal.
signal and subtracting each point of said aligned reference signal from said aligned TDR
signal; and computing said output result utilizing said baseline signal.
7. The method of claim 5, wherein the step of selecting a fiducial reflection comprises the steps of determining a number of consecutive zero values in each of said at least one potential fiducial reflections; and selecting the one of said at least one potential fiducial reflections with the greatest number of consecutive zero values as said fiducial reflection.
8. The method of claim 5, wherein the step of selecting a fiducial reflection comprises the steps of determining an uninterrupted distance represented by zero values in each of said at least one potential fiducial reflections; and selecting the one of said at least one potential fiducial reflections with the greatest uninterrupted distance of zero values as said fiducial reflection.
9. The method of claim 5, wherein the step of selecting a fiducial reflection comprises the steps of defining a fiducial width threshold; determining a width of zero values in each of said at least one potential fiducial reflections; and selecting the rightmost of said at least one potential fiducial reflections having a width of zero values greater than said fiducial width threshold as said fiducial reflection.
10. A method for processing a time domain reflectometry (TDR) signal having a plurality of reflection pulses to generate a valid output result corresponding to a process variable for a material in a vessel, said method comprising the steps of:
determining a reference signal along a probe in said vessel;
establishing a reference end of probe location using said reference signal;
periodically detecting a TDR signal along said probe;
determining a detected end of probe location on said TDR signal;
attempting to detect a process variable reflection on said TDR signal;
determining a system status based upon said reference end of probe location, said detected end of probe location and said process variable reflection; and computing said output result when said system status is functional.
determining a reference signal along a probe in said vessel;
establishing a reference end of probe location using said reference signal;
periodically detecting a TDR signal along said probe;
determining a detected end of probe location on said TDR signal;
attempting to detect a process variable reflection on said TDR signal;
determining a system status based upon said reference end of probe location, said detected end of probe location and said process variable reflection; and computing said output result when said system status is functional.
11. The method of claim 10 wherein said step of establishing a detected end of probe location includes the steps of finding a negative peak of an end of probe reflection in said TDR signal; finding a positive peak of said end of probe reflection within an end of probe window surrounding said negative peak; establishing said detected end of probe location as the location of said negative peak of said end of probe reflection.
12. The method of claim 10 further comprising the step of indicating a broken cable when said detected end of probe location is less than said reference end of probe location.
13. The method of claim 10 further comprising the steps of establishing a measuring length which is less than said reference end of probe location; and indicating a broken cable when said detected end of probe location is less than said measuring length.
14. The method of claim 10 further comprising the steps of establishing an end of probe peak to peak threshold; detecting an end of probe negative peak and an end of probe positive peak on said TDR signal; computing an end of probe peak to peak amplitude as the difference between said end of probe negative peak and said end of probe positive peak; and indicating a loss of high frequency correction condition when said end of probe peak to peak amplitude is less than said end of probe peak to peak threshold.
15. The method of claim 10 wherein said system status is functional when said end of probe reference location is less than or equal to said detected end of probe location and a process variable reflection is detected prior to said end of probe reference location.
16. The method of claim 10 further comprising the step of establishing a measuring length which is less than said reference end of probe location; and wherein said system status is fractional when said end of probe reference location is less than or equal to said detected and of probe location and a process variable reflection is detected prior to said measuring length.
17. The method of claim 10 further comprising the steps of establishing a maximum probe length which is greater than said reference end of probe location; and indicating a low amplitude reflection condition when said detected end of probe location is greater than or equal to said maximum probe length, and said process variable reflection is not detected.
18. The method of claim 10 further comprising the steps of establishing a maximum probe length which is greater than said reference end of probe location;
establishing a low signal timer which is reset when at least one of said process variable reflection is detected and an empty vessel condition is detected; indicating a low amplitude reflection condition when said detected end of probe location is greater than or equal to said maximum probe; length, said process variable reflection is not detected and said low signal tuner is greater than or equal to a low signal tuner limit;
and continuing to hold said output result computed from said prior TDR signal when said detected end of probe location is greater than or equal to said maximum probe length, said process variable reflection is not detected and said low signal tuner is less than said low signal tuner limit.
establishing a low signal timer which is reset when at least one of said process variable reflection is detected and an empty vessel condition is detected; indicating a low amplitude reflection condition when said detected end of probe location is greater than or equal to said maximum probe; length, said process variable reflection is not detected and said low signal tuner is greater than or equal to a low signal tuner limit;
and continuing to hold said output result computed from said prior TDR signal when said detected end of probe location is greater than or equal to said maximum probe length, said process variable reflection is not detected and said low signal tuner is less than said low signal tuner limit.
19. The method of claim 10 further comprising the steps of establishing a measuring length which is less than said reference end of probe location;
establishing a maximum probe length which is greater than said reference end of probe location; and indicating an empty vessel condition when said process variable reflection is not detected, said detected end of probe location is greater than or equal to said measuring length and said detected end of probe location is less than or equal to said maximum probe length.
establishing a maximum probe length which is greater than said reference end of probe location; and indicating an empty vessel condition when said process variable reflection is not detected, said detected end of probe location is greater than or equal to said measuring length and said detected end of probe location is less than or equal to said maximum probe length.
20. The method of claim 10 further comprising the steps of establishing a first fiducial reference point on said reference signal; scanning said TDR signal for at least one potential fiducial reflections having a zero value; selecting a fiducial reflection from said at least one potential fiducial reflections; and setting a second fiducial reference point on said fiducial reflection; whereby distances and locations on said reference signal are measured from said first fiducial reference point, and distances and locations on said TDR signal are measured from said second fiducial reference point.
21. A method for processing a time domain reflectometry (TDR) signal having a plurality of reflection pulses to generate a valid output result corresponding to a process variable for a material in a vessel, said method comprising the steps of:
determining a reference signal along a probe in said vessel;
establishing a reference end of probe location using said reference signal;
establishing a measuring length which is less than said reference end of probe location;
establishing a maximum probe length which is greater than said reference end of probe location;
periodically detecting a TDR signal along said probe;
determining a detected end of probe location on said TDR signal;
determining a system status based upon the position of said detected end of probe location relative to said measuring length and said maximum probe length; and computing said output result when said system status is functional.
determining a reference signal along a probe in said vessel;
establishing a reference end of probe location using said reference signal;
establishing a measuring length which is less than said reference end of probe location;
establishing a maximum probe length which is greater than said reference end of probe location;
periodically detecting a TDR signal along said probe;
determining a detected end of probe location on said TDR signal;
determining a system status based upon the position of said detected end of probe location relative to said measuring length and said maximum probe length; and computing said output result when said system status is functional.
22. The method of claim 21 wherein the step of determining a system status includes the step of indicating a broken cable when said detected end of probe location is less than said measuring length.
23. A method for processing a time domain reflectometry (TDR) signal having a plurality of reflection pulses to generate a valid output result corresponding to a process variable for a material in a vessel, said method comprising the steps of:
determining a reference signal along a probe in said vessel;
establishing a reference end of probe location using said reference signal;
establishing a measuring length which is less than said reference end of probe location;
establishing a maximum probe length which is greater than said reference end of probe location;
periodically detecting a TDR signal along said probe;
determining a detected end of probe location on said TDR signal;
attempting to determine a process variable reflection on said TDR signal;
indicating a broken cable condition when said detected end of probe location is less than said measuring length;
computing said output result when said process variable reflection is greater than a process variable threshold and said detected end of probe location is not less than said measuring length;
indicating a low amplitude reflection condition when said process variable reflection is less than said process variable threshold and said detected end of probe location is greater than or equal to said maximum probe length;
indicating an empty vessel condition when said process variable reflection is less than said process variable threshold, said detected end of probe location is less than said maximum probe length and said detected end of probe location is greater than or equal to said measuring length.
determining a reference signal along a probe in said vessel;
establishing a reference end of probe location using said reference signal;
establishing a measuring length which is less than said reference end of probe location;
establishing a maximum probe length which is greater than said reference end of probe location;
periodically detecting a TDR signal along said probe;
determining a detected end of probe location on said TDR signal;
attempting to determine a process variable reflection on said TDR signal;
indicating a broken cable condition when said detected end of probe location is less than said measuring length;
computing said output result when said process variable reflection is greater than a process variable threshold and said detected end of probe location is not less than said measuring length;
indicating a low amplitude reflection condition when said process variable reflection is less than said process variable threshold and said detected end of probe location is greater than or equal to said maximum probe length;
indicating an empty vessel condition when said process variable reflection is less than said process variable threshold, said detected end of probe location is less than said maximum probe length and said detected end of probe location is greater than or equal to said measuring length.
24. The method of claim 23 further comprising the steps of establishing a first fiducial reference point on said reference signal; and determining a second fiducial reference point on said TDR signal; whereby distances and locations on said reference signal are computed from said first fiducial reference point; and distances and locations on said TDR signal are computed from said second fiducial reference point.
25. A method for processing a tune domain reflectometry (TDR) signal having a plurality of reflection pulses to generate a valid output result corresponding to a process variable for a material in a vessel, said method comprising the steps of:
determining a reference signal along a probe in said vessel;
establishing a reference end of probe location using said reference signal;
establishing a measuring length which is less than said reference end of probe location;
establishing a maximum probe length which is greater than said reference end of probe location;
periodically detecting a TDR signal along said probe;
determining a detected end of probe location on said TDR signal;
determining an end of probe peak to peak amplitude on said TDR signal;
attempting to determine a process variable reflection on said TDR signal;
indicating a broken cable condition when said detected end of probe location is less than said measuring length;
indicating a loss of high frequency connection when said end of probe peak to peak amplitude is less than an end of probe delta threshold;
computing said output result when said process variable reflection is grater than a process variable threshold and said detected end of probe location is not less than said measuring length and said end of probe peak to peak amplitude is not less than said end of probe delta threshold;
indicating a low amplitude reflection condition when said process variable reflection is less than said process variable threshold, said detected end of probe location is greater than or equal to said maximum probe length and said end of probe peak to peak amplitude is not less than said end of probe delta threshold;
indicating an empty vessel condition when said process variable reflection is less than said process variable threshold, said detected end of probe location is less than said maximum probe length, said detected end of probe location is greater than or equal to said measuring length and said end of probe peak to peak amplitude is not less than said end of probe delta threshold.
determining a reference signal along a probe in said vessel;
establishing a reference end of probe location using said reference signal;
establishing a measuring length which is less than said reference end of probe location;
establishing a maximum probe length which is greater than said reference end of probe location;
periodically detecting a TDR signal along said probe;
determining a detected end of probe location on said TDR signal;
determining an end of probe peak to peak amplitude on said TDR signal;
attempting to determine a process variable reflection on said TDR signal;
indicating a broken cable condition when said detected end of probe location is less than said measuring length;
indicating a loss of high frequency connection when said end of probe peak to peak amplitude is less than an end of probe delta threshold;
computing said output result when said process variable reflection is grater than a process variable threshold and said detected end of probe location is not less than said measuring length and said end of probe peak to peak amplitude is not less than said end of probe delta threshold;
indicating a low amplitude reflection condition when said process variable reflection is less than said process variable threshold, said detected end of probe location is greater than or equal to said maximum probe length and said end of probe peak to peak amplitude is not less than said end of probe delta threshold;
indicating an empty vessel condition when said process variable reflection is less than said process variable threshold, said detected end of probe location is less than said maximum probe length, said detected end of probe location is greater than or equal to said measuring length and said end of probe peak to peak amplitude is not less than said end of probe delta threshold.
26. The method of claim 25 further comprising the steps of establishing a first fiducial reference point on said reference signal; and determining a second fiducial reference point on said TDR signal; whereby distances and locations on said reference signal are computed from said first fiducial reference point; and distances and locations on said TDR signal are computed from said second fiducial reference point.
27. An apparatus for processing a time domain reflectometry (TDR) signal having a plurality of reflection pulses to generate a valid output result corresponding to a process variable for a material in a vessel, said apparatus comprising:
means for periodically detecting a TDR signal along a probe in said vessel;
means for scanning said TDR signal for at least one potential fiducial reflection having a zero value;
means for selecting a fiducial reflection from said at least one potential fiducial reflection;
means for setting a fiducial reference point on said fiducial reflection; and means for computing said output result based on said fiducial reference point.
means for periodically detecting a TDR signal along a probe in said vessel;
means for scanning said TDR signal for at least one potential fiducial reflection having a zero value;
means for selecting a fiducial reflection from said at least one potential fiducial reflection;
means for setting a fiducial reference point on said fiducial reflection; and means for computing said output result based on said fiducial reference point.
28. An apparatus for processing a time domain reflectometry (TDR) signal having a plurality of reflection pulses to generate a valid output result corresponding to a process variable for a material in a vessel, said apparatus comprising:
means for determining a reference signal along a probe in said vessel;
means for establishing a reference end of probe location using said reference signal;
means for periodically detecting a TDR signal along said probe;
means for determining a detected end of probe location on said TDR signal;
means for attempting to detect a process variable reflection on said TDR
signal;
means for determining a system status based upon said reference end of probe location, said detected end of probe location and said process variable reflection; and means for computing said output result when said system status is functional.
means for determining a reference signal along a probe in said vessel;
means for establishing a reference end of probe location using said reference signal;
means for periodically detecting a TDR signal along said probe;
means for determining a detected end of probe location on said TDR signal;
means for attempting to detect a process variable reflection on said TDR
signal;
means for determining a system status based upon said reference end of probe location, said detected end of probe location and said process variable reflection; and means for computing said output result when said system status is functional.
29. The apparatus of claim 28 further comprising means for establishing a measuring length; and means for indicating a broken cable when said detected end of probe location is less than said measuring length.
30. The apparatus of claim 28 further comprising means for detecting an end of probe negative peak and an end of probe positive peak on said TDR signal;
means for computing an end of probe peak to peak amplitude as the difference between said end of probe negative peak and said end of probe positive peak; and means for indicating a loss of high frequency connection condition when said end of probe peak to peak amplitude is less than an end of probe peak to peak threshold.
means for computing an end of probe peak to peak amplitude as the difference between said end of probe negative peak and said end of probe positive peak; and means for indicating a loss of high frequency connection condition when said end of probe peak to peak amplitude is less than an end of probe peak to peak threshold.
31. The apparatus of claim 28 further comprising means for establishing a measuring length, wherein said system status is functional when said end of probe reference location is less than or equal to said detected end of probe location and a process variable reflection is detected prior to said measuring length.
32. The apparatus of claim 28 further comprising means for establishing a maximum probe length; and means for indicating a low amplitude reflection condition when said detected end of probe location is greater than or equal to said maximum probe length, and said process variable reflection is not detected.
33. The apparatus of claim 28 further comprising a low signal timer which is reset when at least one of said process variable reflection is detected and an empty vessel condition is detected; wherein said means for determining a system status takes into account said low signal, timer.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US09/229,778 | 1999-01-13 | ||
| US09/229,778 US6559657B1 (en) | 1999-01-13 | 1999-01-13 | Probe mapping diagnostic methods |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CA2295330A1 CA2295330A1 (en) | 2000-07-13 |
| CA2295330C true CA2295330C (en) | 2004-11-23 |
Family
ID=22862631
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CA002295330A Expired - Fee Related CA2295330C (en) | 1999-01-13 | 2000-01-12 | Probe mapping diagnostic methods |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US6559657B1 (en) |
| EP (1) | EP1020735A3 (en) |
| JP (1) | JP3752411B2 (en) |
| CA (1) | CA2295330C (en) |
| HU (1) | HUP9904466A3 (en) |
Families Citing this family (42)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE19949992C2 (en) * | 1999-10-15 | 2002-08-29 | Endress & Hauser Gmbh & Co Kg | Method for increasing the immunity of a time domain reflectometer |
| WO2003016835A1 (en) * | 2001-07-27 | 2003-02-27 | Endress + Hauser Gmbh + Co. Kg | Method for evaluating the measuring signals of a propagation-time based measuring device |
| US6909997B2 (en) * | 2002-03-26 | 2005-06-21 | Lockheed Martin Corporation | Method and system for data fusion using spatial and temporal diversity between sensors |
| US6801157B2 (en) * | 2002-10-02 | 2004-10-05 | Magnetrol International, Inc. | Guided wave radar level transmitter |
| US7031856B2 (en) * | 2003-02-05 | 2006-04-18 | Northrop Grumman Corporation | Automatic wire dielectric analyzer |
| US6867729B2 (en) * | 2003-07-30 | 2005-03-15 | Magnetrol International | Guided wave radar level transmitter with automatic velocity compensation |
| DE10360711A1 (en) | 2003-12-19 | 2005-07-14 | Endress + Hauser Gmbh + Co. Kg | Level measuring device and method for level measurement and monitoring |
| US20080018346A1 (en) * | 2004-09-10 | 2008-01-24 | Mehrdad Mehdizadeh | System for Detecting an Interface Between First and Second Strata of Materials |
| US7493086B2 (en) * | 2004-10-19 | 2009-02-17 | Benjamine Joel Landry | Methods of attribute collection for mapping |
| US7403153B2 (en) * | 2004-12-15 | 2008-07-22 | Valeo Raytheon Systems, Inc. | System and method for reducing a radar interference signal |
| US7683827B2 (en) | 2004-12-15 | 2010-03-23 | Valeo Radar Systems, Inc. | System and method for reducing the effect of a radar interference signal |
| US7245129B2 (en) * | 2005-02-14 | 2007-07-17 | Texas Instruments Incorporated | Apparatus for and method of cable diagnostics utilizing time domain reflectometry |
| US7592946B2 (en) * | 2005-02-14 | 2009-09-22 | Endress + Hauser Gmbh + Co. Kg | Level measurement arrangement |
| US7360418B2 (en) | 2005-06-28 | 2008-04-22 | Keurig, Incorporated | Method and apparatus for sensing liquid level using baseline characteristic |
| DE102005044724A1 (en) * | 2005-09-19 | 2007-03-22 | Endress + Hauser Gmbh + Co. Kg | Runtime measurement method for determining the distance |
| DE102005051793A1 (en) * | 2005-10-27 | 2007-05-03 | Endress + Hauser Flowtec Ag | Method for determining a process variable of a medium |
| DE102006019191A1 (en) | 2006-04-21 | 2007-10-25 | Endress + Hauser Gmbh + Co. Kg | Method for detecting and monitoring the level of a medium in a container |
| US8746045B2 (en) | 2006-11-17 | 2014-06-10 | Meggitt (Orange County), Inc. | System and method for identifying fluids and monitoring fluid quality in a vessel |
| US7650785B1 (en) * | 2006-11-17 | 2010-01-26 | Vibro-Meter, Inc. | Scan lock and track fluid characterization and level sensor apparatus and method |
| US8794063B2 (en) * | 2007-01-08 | 2014-08-05 | Meggitt (Orange County), Inc. | System and method for optimizing sweep delay and aliasing for time domain reflectometric measurement of liquid height within a tank |
| US7660893B2 (en) * | 2007-09-04 | 2010-02-09 | International Business Machines Corporation | Method and system for monitoring and instantly identifying faults in data communication cables |
| US8549909B2 (en) | 2007-10-01 | 2013-10-08 | Meggitt (Orange County), Inc. | Vessel probe connector with solid dielectric therein |
| GB2466162B (en) * | 2007-10-01 | 2012-12-05 | Vibro Meter Inc | System and method for accurately measuring fluid level in a vessel |
| US7525476B1 (en) | 2007-11-13 | 2009-04-28 | Rosemount Tank Radar Ab | System and method for filling level determination |
| US7551122B1 (en) * | 2007-12-06 | 2009-06-23 | Rosemount Tank Radar Ab | Radar level gauge system and method providing a signal indicative of process reliability |
| CA2744871A1 (en) * | 2008-11-28 | 2010-06-03 | Ametek, Inc. | Apparatus for high precision measurement of varied surface and material levels |
| GB0822283D0 (en) * | 2008-12-06 | 2009-01-14 | Mobrey Ltd | Improvements in or relating to level sensors |
| US8018373B2 (en) * | 2008-12-19 | 2011-09-13 | Rosemount Tank Radar Ab | System and method for filling level determination |
| US20120137767A1 (en) * | 2010-12-06 | 2012-06-07 | Atek Products, Llc | Time domain reflectometry device and method |
| BR112014001164A2 (en) * | 2011-08-04 | 2017-06-13 | Vega Grieshaber Kg | tracking, taking into account a linear relationship |
| JP5937901B2 (en) * | 2012-06-22 | 2016-06-22 | 株式会社キーエンス | Level meter and control method thereof |
| US20140118185A1 (en) * | 2012-10-31 | 2014-05-01 | Magnetrol International, Incorporated | Level measurement instrument fiducial diagnostics |
| FR3004252B1 (en) * | 2013-04-04 | 2015-11-06 | Areva Np | METHOD OF CALIBRATING A LEVEL SENSOR |
| US9843078B2 (en) | 2014-02-18 | 2017-12-12 | DG Systems, LLC | Unitized energy storage system enclosure |
| US20160097670A1 (en) * | 2014-10-01 | 2016-04-07 | Honeywell International Inc. | Resolution mode switching for pulsed radar |
| US9958309B2 (en) * | 2015-10-14 | 2018-05-01 | Finetek Co., Ltd. | Method for measuring level of material level measuring apparatus |
| US9702750B1 (en) * | 2016-01-12 | 2017-07-11 | Finetek Co., Ltd. | Material level indicator |
| US10184820B2 (en) * | 2016-09-30 | 2019-01-22 | Rosemount Tank Radar Ab | Guided wave radar level gauge system for interface measurement |
| US10003364B1 (en) * | 2017-11-09 | 2018-06-19 | At&T Intellectual Property I, L.P. | Guided wave communication system with interference cancellation and methods for use therewith |
| US11079473B2 (en) | 2019-04-01 | 2021-08-03 | Abb Schweiz Ag | Timing control circuit for guided wave radar level transmitter |
| US11193809B2 (en) | 2019-04-01 | 2021-12-07 | Abb Schweiz Ag | Expert control systems and methods for level measurement |
| US11415451B2 (en) | 2019-04-01 | 2022-08-16 | Abb Schweiz Ag | High and/or low energy system coupler |
Family Cites Families (62)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US2955466A (en) | 1955-12-01 | 1960-10-11 | Robertshaw Fulton Controls Co | Test probe |
| FR1230548A (en) | 1959-03-31 | 1960-09-16 | Saviem | Electrode holder unit for detecting the level of a liquid in a pressure vessel |
| US3367183A (en) | 1964-05-19 | 1968-02-06 | Pyrofax Gas Corp | Apparatus for measuring liquid levels |
| US3339411A (en) | 1965-06-23 | 1967-09-05 | Bedford Controls Inc | Electrode probe assembly |
| US3832900A (en) | 1971-06-28 | 1974-09-03 | Sperry Rand Corp | Apparatus and method for measuring the level of a contained liquid |
| US3922914A (en) | 1974-09-18 | 1975-12-02 | Us Interior | Bed level monitor |
| US3995212A (en) | 1975-04-14 | 1976-11-30 | Sperry Rand Corporation | Apparatus and method for sensing a liquid with a single wire transmission line |
| US4010537A (en) | 1975-07-03 | 1977-03-08 | General Battery Corporation | Epoxy sealed lead battery probe and method for inserting same |
| US4135397A (en) | 1977-06-03 | 1979-01-23 | Krake Guss L | Level measuring system |
| DE2744864B2 (en) | 1977-10-05 | 1979-10-18 | Endress U. Hauser Gmbh U. Co, 7867 Maulburg | Device for fastening a probe in an opening of a container |
| DE2923963C2 (en) | 1979-06-13 | 1986-03-27 | Endress U. Hauser Gmbh U. Co, 7867 Maulburg | Method for pulse spacing measurement and arrangement for carrying out the method |
| US4301681A (en) | 1979-09-06 | 1981-11-24 | Drexelbrook Controls, Inc. | Method of using capacitor probe with a semiconductive electrode |
| DE2953267C2 (en) | 1979-11-23 | 1982-04-08 | Gustav F. Gerdts GmbH & Co KG, 2800 Bremen | Capacitive level probe |
| DE3026342C2 (en) | 1980-07-11 | 1982-04-22 | Gustav F. Gerdts GmbH & Co KG, 2800 Bremen | Capacitive level probe |
| DE3029352C2 (en) | 1980-08-01 | 1982-12-23 | Endress U. Hauser Gmbh U. Co, 7867 Maulburg | Capacitive level measuring arrangement with a rod-shaped probe for measuring the level in a container |
| US4465088A (en) | 1980-09-03 | 1984-08-14 | Vosper George W | Construction of low water level sensing device for hot water boiler |
| US4408822A (en) | 1980-09-22 | 1983-10-11 | Delta Electronic Manufacturing Corp. | Coaxial connectors |
| US5020374A (en) | 1989-11-17 | 1991-06-04 | Ads Environmental Services, Inc. | Velocity measurement system |
| US4507521A (en) | 1982-09-29 | 1985-03-26 | The Clark-Reliance Corp. | High pressure electrical conductivity probe |
| GB8311256D0 (en) | 1983-04-26 | 1983-06-02 | Central Electr Generat Board | Measuring external parameter |
| DE3337690A1 (en) | 1983-10-17 | 1985-04-25 | VEGA Grieshaber GmbH & Co, 7620 Wolfach | Method and device for measuring the filling level in a container by means of sound/ultrasonic waves |
| US4813057A (en) | 1984-12-03 | 1989-03-14 | Charles A. Phillips | Time domain radio transmission system |
| US5363108A (en) | 1984-12-03 | 1994-11-08 | Charles A. Phillips | Time domain radio transmission system |
| US4743906A (en) | 1984-12-03 | 1988-05-10 | Charles A. Phillips | Time domain radio transmission system |
| US4698634A (en) | 1985-07-10 | 1987-10-06 | Alongi Anthony V | Subsurface inspection radar |
| EP0260113A3 (en) | 1986-09-08 | 1989-09-20 | Agtronics Pty. Ltd. | Ultrasonic height control system |
| FR2626666B1 (en) | 1988-01-28 | 1991-05-24 | France Etat Ponts Chaussees | METHOD FOR MEASURING THE THICKNESS OF PAVEMENT LAYERS USING A PULSE RADAR |
| US5122800A (en) | 1989-01-26 | 1992-06-16 | Harald Philipp | Variable successive approximation converter |
| US4944861A (en) | 1989-04-03 | 1990-07-31 | Barber-Colman Company | Oxygen sensing probe having improved sensor tip and tip-supporting tube |
| US5226328A (en) | 1989-11-17 | 1993-07-13 | Ads Environmental Services, Inc. | Velocity measurement system |
| ES2051079T3 (en) | 1990-02-14 | 1994-06-01 | Eaton Corp | ROTATING SPEED PROBE. |
| DE4118715C2 (en) | 1991-06-07 | 1995-02-23 | Endress Hauser Gmbh Co | Device for the electrically insulated and pressure-tight attachment of a probe electrode in the opening of a housing |
| US5159276A (en) * | 1991-07-08 | 1992-10-27 | W. L. Gore & Associates, Inc. | Capacitance measuring circuit and method for liquid leak detection by measuring charging time |
| US5305237A (en) | 1991-07-12 | 1994-04-19 | Union Tank Car Company | Method and apparatus for monitoring a flowable material in a transportable vessel |
| GB2260235B (en) | 1991-09-26 | 1995-07-12 | Schlumberger Ind Ltd | Measurement of liquid level |
| US5457990A (en) | 1991-12-03 | 1995-10-17 | Cambridge Consultants Limited | Method and apparatus for determining a fluid level in the vicinity of a transmission line |
| DE4207396A1 (en) | 1992-03-09 | 1993-09-16 | Gestra Ag | Probe eg for monitoring liquid water in steam chamber |
| US5420517A (en) | 1992-03-23 | 1995-05-30 | Soilmoisture Equipment Corp. | Probe for measuring moisture in soil and other mediums |
| GB9211086D0 (en) | 1992-05-23 | 1992-07-15 | Cambridge Consultants | Short range electromagnetic sensing signal processing |
| MY108816A (en) | 1992-05-28 | 1996-11-30 | Shell Int Research | An apparatus for measuring the water bottom of a product storage tank and providing water bottom informaiton |
| DE4218303C1 (en) | 1992-06-03 | 1994-03-03 | Endress Hauser Gmbh Co | Method and arrangement for distance measurement according to the pulse transit time principle |
| DE4241910C2 (en) | 1992-12-11 | 1996-08-01 | Endress Hauser Gmbh Co | Level measuring device working with microwaves |
| DE4301341C1 (en) | 1993-01-20 | 1993-10-21 | Honeywell Elac Nautik Gmbh | Method and circuit arrangement for determining the temporal start of a pulse signal |
| DE4308373C2 (en) | 1993-03-16 | 1995-04-13 | Siemens Ag | Process for the detection and separation of useful and false echoes in the received signal from distance sensors, which work according to the pulse-echo principle |
| US5339861A (en) | 1993-03-24 | 1994-08-23 | National Coupling Company, Inc. | Hydraulic coupling with hollow metal o-ring seal |
| US5767953A (en) | 1993-04-12 | 1998-06-16 | The Regents Of The University Of California | Light beam range finder |
| US5517198A (en) | 1993-04-12 | 1996-05-14 | The Regents Of The University Of California | Ultra-wideband directional sampler |
| US5361070B1 (en) | 1993-04-12 | 2000-05-16 | Univ California | Ultra-wideband radar motion sensor |
| US5345471A (en) | 1993-04-12 | 1994-09-06 | The Regents Of The University Of California | Ultra-wideband receiver |
| US5376888A (en) | 1993-06-09 | 1994-12-27 | Hook; William R. | Timing markers in time domain reflectometry systems |
| DE4332071C2 (en) | 1993-09-21 | 1995-09-07 | Endress Hauser Gmbh Co | Level measurement method according to the radar principle |
| DE4404745C2 (en) | 1994-02-15 | 1997-03-06 | Grieshaber Vega Kg | Level measuring device |
| US5677927A (en) | 1994-09-20 | 1997-10-14 | Pulson Communications Corporation | Ultrawide-band communication system and method |
| US5610611A (en) | 1994-12-19 | 1997-03-11 | The Regents Of The University Of California | High accuracy electronic material level sensor |
| US5609059A (en) | 1994-12-19 | 1997-03-11 | The Regents Of The University Of California | Electronic multi-purpose material level sensor |
| DE19507616B4 (en) | 1995-03-04 | 2007-02-01 | Gestra Ag | Probe for monitoring liquid with leakage protection |
| DE19515897C1 (en) | 1995-04-29 | 1996-07-25 | Bosch Gmbh Robert | Housing seating for electrochemical measuring sensor element |
| US5827985A (en) | 1995-12-19 | 1998-10-27 | Endress + Hauser Gmbh + Co. | Sensor apparatus for process measurement |
| US5661251A (en) | 1995-12-19 | 1997-08-26 | Endress + Hauser Gmbh + Co. | Sensor apparatus for process measurement |
| US5841666A (en) | 1995-12-21 | 1998-11-24 | Endress + Hauser Gmbh + Co. | Processor apparatus and method for a process measurement signal |
| US5884231A (en) * | 1995-12-21 | 1999-03-16 | Endress & Hauser Gmbh & Co. | Processor apparatus and method for a process measurement signal |
| US5656774A (en) | 1996-06-04 | 1997-08-12 | Teleflex Incorporated | Apparatus and method for sensing fluid level |
-
1999
- 1999-01-13 US US09/229,778 patent/US6559657B1/en not_active Expired - Lifetime
- 1999-12-02 HU HU9904466A patent/HUP9904466A3/en unknown
- 1999-12-17 EP EP99124899A patent/EP1020735A3/en not_active Withdrawn
-
2000
- 2000-01-12 CA CA002295330A patent/CA2295330C/en not_active Expired - Fee Related
- 2000-01-13 JP JP2000004905A patent/JP3752411B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| EP1020735A2 (en) | 2000-07-19 |
| EP1020735A3 (en) | 2003-06-04 |
| HUP9904466A2 (en) | 2000-08-28 |
| HUP9904466A3 (en) | 2004-09-28 |
| JP2000205932A (en) | 2000-07-28 |
| HU9904466D0 (en) | 2000-02-28 |
| US6559657B1 (en) | 2003-05-06 |
| JP3752411B2 (en) | 2006-03-08 |
| CA2295330A1 (en) | 2000-07-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2295330C (en) | Probe mapping diagnostic methods | |
| CA2257761C (en) | Partial probe mapping | |
| US5884231A (en) | Processor apparatus and method for a process measurement signal | |
| US5973637A (en) | Partial probe mapping | |
| US5841666A (en) | Processor apparatus and method for a process measurement signal | |
| US6445192B1 (en) | Close proximity material interface detection for a microwave level transmitter | |
| US7525476B1 (en) | System and method for filling level determination | |
| EP1770409B1 (en) | Time-of-flight-ranging system and method for calibrating such a system | |
| JP2688290B2 (en) | Level measurement method by radar system | |
| JP3806405B2 (en) | Measuring device for measuring the filling level of a filling in a container | |
| US7284425B2 (en) | Radar level gauge system | |
| CA2188910C (en) | Method for calibration in level measurement | |
| US7334451B1 (en) | Level meter threshold detection system | |
| US7542866B1 (en) | Threshold setting for a radar level transmitter | |
| WO1996007934A1 (en) | Electronic circuitry used in ultrasonic ranging systems employed in monitoring fluid in tanks | |
| US10816384B2 (en) | Radar level gauge system and method for interface measurement | |
| US7730760B2 (en) | Method for checking the proper functioning of a level indicator | |
| CA2362636C (en) | Partial probe mapping | |
| US11579006B2 (en) | Radar level gauge and method for detecting a cleaning process using the radar level gauge | |
| CA2287018C (en) | Processor apparatus and method for a process measurement signal | |
| US20220205827A1 (en) | Pulsed rlg with improved resistance to signal disturbance | |
| WO2002025227A1 (en) | Improved threshold setting for a radar level transmitter |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EEER | Examination request | ||
| MKLA | Lapsed |
Effective date: 20150112 |