US20140096586A1 - Device and method for measurement of ultrasonic transit times - Google Patents
Device and method for measurement of ultrasonic transit times Download PDFInfo
- Publication number
- US20140096586A1 US20140096586A1 US13/646,665 US201213646665A US2014096586A1 US 20140096586 A1 US20140096586 A1 US 20140096586A1 US 201213646665 A US201213646665 A US 201213646665A US 2014096586 A1 US2014096586 A1 US 2014096586A1
- Authority
- US
- United States
- Prior art keywords
- ultrasonic wave
- measurement
- wave transit
- time
- transit times
- 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.)
- Abandoned
Links
- 238000005259 measurement Methods 0.000 title claims abstract description 75
- 238000000034 method Methods 0.000 title claims abstract description 15
- 238000012935 Averaging Methods 0.000 claims abstract description 4
- 230000000977 initiatory effect Effects 0.000 claims description 4
- 238000000691 measurement method Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 6
- 239000012530 fluid Substances 0.000 description 4
- 238000011144 upstream manufacturing Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000001902 propagating effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F25/00—Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume
Definitions
- the present disclosure relates to a device for measuring ultrasonic wave transit times from the transmitter to the receiver of an ultrasonic flow sensor.
- An ultrasonic flow sensor measures the average velocity of liquid or gaseous media by means of ultrasonic transducers based on the principle that the transit time of an ultrasonic wave from the transmitter of a transducer to the corresponding receiver is determined by the fluid velocity and the ultrasonic wave propagating direction.
- a pair of transducers is used, one is installed in upstream and the other is installed in downstream.
- Each transducer can be used as a transmitter or a receiver.
- One ultrasonic wave is transmitted from the upstream transducer to the downstream transducer.
- the second ultrasonic pulse is transmitted from the downstream transducer to the upstream transducer.
- the transit time in each direction is measured by an electronic device. The difference of the two transit-time data is proportional to flow velocity. It is then used to calculate the average flow velocity of the fluid.
- the ultrasonic wave transit time is measured by a time counter to count a reference clock using the following method. 1) Sending ultrasonic pulse wave to the transmitter, starting the timer counter. 2) Monitoring the ultrasonic signal received by the receiver, when the received signal becomes higher than the predefined threshold value, immediately stopping the time counter, and recording the arriving time. This arriving time is treated as the transmit time.
- an analog integrator may be used to measure the residual time from the counter stopping moment to the rising edge of the next cycle of the reference clock. This residual time is then combined with the previous transit-time to obtain a transit-time with higher accuracy.
- this measurement method is susceptible to electronic noise and condition variation. Both the strength of the received signal and the predefined threshold value are subject to electronic noise. In addition, the strength of the received signal varies with the fluid properties such as temperature, velocity, turbulence, solids concentration, etc. As a result, the measured transit time changes not only with flow velocity, but with the fluid properties and electronic noise level. This significantly reduces the velocity measurement accuracy and stability of an ultrasonic flow sensor.
- the object of the present invention is to provide an electronic device which can accurately and reliably measure the transit times from the transmitter to the receiver and hence improving the velocity measurement accuracy of an ultrasonic flow sensor.
- the present invention provides an electronic device for measurement of ultrasonic wave transit times of an ultrasonic flow sensor consists of: 1) a synchronization signal generator, 2) a reference pulse generator, 3) a sine wave generator, 4) an analog signal amplifier, 5) a comparator, 6) a plurality of latch circuits, 7) a digital adder, 8) an integrator, 9) an A/D converter, 10) a master counter, 11) a plurality of edge counters, and 12) an arithmetic circuit (microprocessor).
- the device measures the ultrasonic wave transit times using a threshold level to trigger both the rising edge and falling edge of the received ultrasonic signal, and using a method of averaging the ultrasonic wave arriving times at different measuring points.
- This method has less dependency on the threshold level and the ultrasonic signal amplitude, thus, has less dependency on threshold drift, threshold stability, system gain fluctuation, electronic noise and signal amplitude variations. As a result, this method can greatly improve the velocity measurement accuracy and system robustness of an ultrasonic flow sensor.
- FIG. 1 shows a block diagram of the first embodiment of a device for measurement of the ultrasonic wave transit times of the present disclosure.
- FIG. 2 shows the operational waveform diagram of the device shown in FIG. 1 .
- FIG. 3( a ) illustrates the transit time measurement error caused by the threshold fluctuation of prior art.
- FIG. 3( b ) illustrates the transit time measurement error caused by the signal amplitude fluctuation of prior art.
- FIG. 4( a ) illustrates the transit time measurement error reduction of the first embodiment of the present disclosure against threshold fluctuation interference.
- FIG. 4( b ) illustrates the transit time measurement error reduction of the first embodiment of the present disclosure against signal amplitude fluctuation interference.
- FIG. 5 shows a block diagram of the second embodiment of a device for measurement of the ultrasonic wave transit times of the present disclosure.
- FIG. 6 shows the operational waveform diagram of the device shown in FIG. 5 .
- FIG. 7( a ) illustrates the transit time measurement error reduction of the second embodiment of the present disclosure against threshold level fluctuation interference.
- FIG. 7( b ) illustrates the transit time measurement error reduction of the second embodiment of the present disclosure against signal amplitude fluctuation interference.
- FIG. 8 shows a block diagram of the third embodiment of a device for measurement of the ultrasonic wave transit times of the present disclosure.
- FIG. 9 shows the operational waveform diagram of the device shown in FIG. 8 .
- FIG. 10 illustrates the transit time measurement error reduction of the third embodiment of the present disclosure.
- FIG. 1 illustrates the first embodiment of an electronic device for measuring the ultrasonic wave transit times of the present disclosure.
- the device 10 consists of a synchronization signal generator 20 , a reference pulse generator 30 , a sine wave generator 40 , an analog signal amplifier 60 , a comparator 70 , two latch circuits 80 and 81 , a digital adder 90 , an integrator 100 , an A/D converter 110 , a master pulse counter 120 , an edge counter 121 , and an arithmetic circuit 130 .
- the synchronization signal generator 20 outputs a pulse shown in FIG. 2 a .
- This pulse is used to perform the following functions: 1) initiating the measurement cycle, 2) triggering the sine wave generator 40 to start sending sine wave signal to the transmitter of the ultrasonic flow sensor 50 , 3) triggering the reference pulse generator 30 to start generating high frequency clock signal, and 4) commanding the master counter 120 to start counting the reference pulses.
- the reference pulse generator 30 After receiving the synchronization pulse, the reference pulse generator 30 starts sending high frequency clock signal to: 1) the master counter 120 , 2) the edge counter 121 , and 3) the two latch circuits 80 - 81 , as shown in FIG. 2 e.
- the sine wave generator 40 starts sending sine wave signals ( FIG. 2 b ) to the transmitter of the ultrasonic flow sensor 50 .
- the sine wave signal arrives at the receiver of the ultrasonic flow sensor 50 with modulated amplitude, as shown in FIG. 2 c.
- the AC-coupled analog signal amplifier 60 amplifies the output signal from the receiver of the ultrasonic flow sensor 50 .
- the comparator 70 compares the signal received from the analog signal amplifier 60 with the predefined threshold value. When the received signal becomes higher than the threshold value, it outputs a positive pulse. On the other hand, when the received signal becomes lower than the threshold value, it outputs a negative pulse, as shown in FIG. 2 d.
- the master counter 120 After receiving the positive pulse from the comparator 70 , the master counter 120 stops counting the reference clock, as shown in FIG. 2 e .
- the time interval, C0, measured by the master counter 120 can be described by the equation:
- Tr is the period of the reference clock.
- the master counter 120 can only count complete clock cycles, its output N is a positive integer number, any time less than one clock cycle will not be counted.
- the edge counter 121 After receiving the positive pulse from the comparator 70 , the edge counter 121 starts counting the reference pulses. After receiving the negative pulse from the comparator 70 , the edge counter 121 stops counting the pulses, as shown in FIG. 2 e .
- the time interval, C1 measured by the edge counter 121 can be described by the equation:
- N1 is the output of the first counter 121 . Similar to the master counter, the edge counter 121 can only count complete clock cycles, its output N1 is a positive integer number, any time less than one clock cycle will not be counted.
- the latch circuit 80 is used to measure the time interval t1, between the positive pulse from the comparator 70 and the first upward edge of the reference clock fed into the edge counter 121 , as shown in FIG. 2 f.
- the latch circuit 81 is used to measure the time interval t2, between the negative pulse from the comparator 70 and the next upward edge of the reference clock after the edge counter 121 is stopped, as shown in FIG. 2 f.
- the outputs of the latch circuits 80 and 81 are fed into the adder circuit 90 . They are added together, and then output to the integrator circuit 100 .
- the integrator circuit 100 is used to convert these short pulses to analog exponential waves, as shown in FIG. 2 g.
- the analog signal from the integrator 100 is then converted to a digital value by the A/D converter 110 , and fed into the arithmetic circuit 130 .
- the arriving time of the ultrasonic wave, T1, measured at the first measurement point P1 can be described by the equation:
- the arriving time of the ultrasonic wave, T2, measured at the second measurement point P2 can be described by the equation:
- the arithmetic circuit 130 calculates the ultrasonic wave transit time based on the following formula:
- the ultrasonic wave transit time with prior art is based on the following formula:
- FIG. 3 ( a ) illustrates the transit time measurement error caused by the threshold level fluctuation of prior art.
- the time measurement error is:
- FIG. 3 ( b ) illustrates the transit time measurement error caused by signal amplitude fluctuation of prior art.
- the time measurement error is:
- FIG. 4( a ) illustrates the transit time measurement error caused by threshold fluctuation of the first embodiment of the present disclosure.
- the time measurement error is:
- ⁇ Tm
- FIG. 4( b ) illustrates the transit time measurement error caused by signal amplitude fluctuation of the first embodiment of the present disclosure.
- the time measurement error is:
- ⁇ Tm
- the transit-time obtained by the present invention does not change with threshold drifting or signal amplitude variation.
- the transit-time obtained by prior art is sensitive to threshold drifting and signal amplitude variation.
- the transit time measurement accuracy and reliability are greatly improved by using the method of the present disclosure compared to the method of prior art.
- FIG. 5 illustrates the second embodiment of an electronic device for measuring the ultrasonic wave transit times of the present disclosure.
- the device 10 consists of a synchronization signal generator 20 , a reference pulse generator 30 , a sine wave generator 40 , an analog signal amplifier 60 , a comparator 70 , four latch circuits 80 - 83 , a digital adder 90 , an integrator 100 , an A/D converter 110 , a master counter 120 , three edge counters 121 - 123 , and an arithmetic circuit 130 .
- the synchronization signal generator 20 outputs a pulse shown in FIG. 6 a .
- This pulse is used to perform the following functions: 1) initiating the measurement cycle, 2) triggering the sine wave generator 40 to start sending sine wave signal to the transmitter of the ultrasonic flow sensor 50 , 3) triggering the reference pulse generator 30 to start generating high frequency clock signal, and 4) commanding the master counter 120 to start counting the reference clock cycles.
- the reference pulse generator 30 After receiving the synchronization pulse, the reference pulse generator 30 starts sending high frequency clock signal to: 1) the master counter 120 , 2) the edge counters 121 - 123 , and 3) the latch circuits 80 - 83 , as shown in FIG. 6 e.
- the sine wave generator 40 starts sending sine waves ( FIG. 6 b ) to the transmitter of the ultrasonic flow sensor 50 .
- the sine wave signal arrives at the receiver of the flow meter with modulated amplitude, as shown in FIG. 6 c.
- the AC-coupled analog signal amplifier 60 amplifies the output signal from the receiver of the ultrasonic flow sensor 50 .
- the comparator 70 compares the signal received from the analog signal amplifier 60 with the predefined threshold value. When the received signal becomes higher than the threshold value, it outputs a positive pulse. On the other hand, when the received signal becomes lower than the threshold value, it outputs a negative pulse, as shown in FIG. 6 d.
- the master counter 120 After receiving the positive pulse from the comparator 70 , the master counter 120 stops counting the reference clock, as shown in FIG. 6 e .
- the time interval, C0, measured by the master counter 120 can be described by the equation:
- N is the output of the mater counter 120
- Tr is the period of the reference clock.
- the master counter 120 can only count complete clock cycles, its output N is a positive integer number, any time less than one clock cycle will not be counted.
- the edge counter 121 After receiving the first positive pulse from the comparator 70 , the edge counter 121 starts counting the reference clock. After receiving the first negative pulse from the comparator 70 , the edge counter 121 stops counting the clock, as shown in FIG. 6 e .
- the time interval, C1 measured by the edge counter 121 can be described by the equation:
- N1 is the output of the counter 121 . Similar to the master counter 120 , the edge counter 121 can only count complete clock cycles, its output N1 is a positive integer number, any time less than one clock cycle will not be counted.
- the edge counter 122 After receiving the first negative pulse from the comparator 70 , the edge counter 122 starts counting the reference clock. After receiving the second positive pulse from the comparator 70 , the edge counter 122 stops counting the clock, as shown in FIG. 6 e .
- the time interval, C2 measured by the edge counter 122 can be described by the equation:
- N2 is the output of the counter 122 . Similar to the master counter 120 , the edge counter 122 can only count complete clock cycles, its output N2 is a positive integer number, any time less than one cycle pulse will not be counted.
- the edge counter 123 After receiving the second positive pulse from the comparator 70 , the edge counter 123 starts counting the reference clock. After receiving the second negative pulse from the comparator 70 , the edge counter 123 stops counting the reference clock, as shown in FIG. 6 e .
- the time interval, C3, measured by the edge counter 123 can be described by the equation:
- N3 is the output of the counter 123 . Similar to the master counter 120 , the edge counter 123 can only count complete clock cycles, its output N3 is a positive integer number, any time less than one clock cycle will not be counted.
- the latch circuit 80 is used to measure the time interval t1 between the first positive pulse from the comparator 70 and the first upward edge of the reference clock fed into the edge counter 121 , as shown in FIG. 6 f . Since time interval t1 is less than one complete reference clock, it cannot be measured by the master counter 120 .
- the latch circuit 81 is used to measure the time interval t2 between the first negative pulse from the comparator 70 and the first upward edge of the reference clock fed into the edge counter 122 , as shown in FIG. 6 f . Since time interval t2 is less than one complete reference clock, it cannot be measured by the edge counter 121 .
- the latch circuit 82 is used to measure the time interval t3 between the second positive pulse from the comparator 70 and the first upward edge of the reference clock fed into the edge counter 123 , as shown in FIG. 6 f . Since time interval t3 is less than one complete reference clock, it cannot be measured by the edge counter 122 .
- the latch circuit 83 is used to measure the time interval t4 between the second negative pulse from the comparator 70 and the next upward edge of the reference clock after the edge counter 123 is stopped, as shown in FIG. 6 f . Since time interval t4 is less than one complete reference clock, it cannot be measured by the edge counter 123 .
- the outputs of latch circuits 80 - 83 are fed into the adder circuit 90 . They are added together and then output to the integrator circuit 100 .
- the integrator circuit 100 is used to convert these short pulses to triangular waves, as shown in FIG. 2 g.
- the analog signal from the integrator 100 is then converted to a digital value by the A/D converter 110 , and fed into the arithmetic circuit 130 .
- the arriving time of the ultrasonic wave, T1, measured at the first measurement point P1 can be described by the equation:
- the arriving time of the ultrasonic wave, T2, measured at the second measurement point P2 can be described by the equation:
- the arriving time of the ultrasonic wave, T3, measured at the third measurement point P3, can be described by the equation:
- the arriving time of the ultrasonic wave, T4, measured at the fourth measurement point P4 can be described by the equation:
- the arithmetic circuit 130 calculates the ultrasonic wave transit time based on the following formula:
- T — 123 (3 N 1+2 N 2 +N 3) Tr/ 4 ⁇ Tx/ 2.
- FIG. 7 illustrates the transit time measurement error of the second embodiment of the present disclosure.
- the time measurement error is:
- ⁇ Tm
- FIG. 8 illustrates the third embodiment of an electronic device for measuring the ultrasonic wave transit times of the present disclosure.
- the device 10 consists of a synchronization signal generator 20 , a reference pulse generator 30 , a sine wave generator 40 , an analog signal amplifier 60 , a comparator 70 , eight latch circuits 80 - 87 , a digital adder 90 , an integrator 100 , an A/D converter 110 , a master counter 120 , seven edge counters 121 - 127 , and an arithmetic circuit 130 .
- the synchronization signal generator 20 outputs a pulse shown in FIG. 9 a .
- This pulse is used to perform the following functions: 1) initiating the measurement cycle, 2) triggering the sine wave generator 40 to start sending sine wave signal to the transmitter of the ultrasonic flow sensor 50 , 3) triggering the reference pulse generator 30 to start generating high frequency clock signal, and 4) commanding the master counter 120 to start counting the reference clock cycles.
- the reference pulse generator 30 After receiving the synchronization pulse, the reference pulse generator 30 starts sending high frequency clock signal to: 1) the master counter 120 , 2) the edge counters 121 - 127 , and 3) the latch circuits 80 - 87 , as shown in FIG. 9 e.
- the sine wave generator 40 starts sending sine wave signals ( FIG. 9 b ) to the transmitter of the ultrasonic flow sensor 50 .
- the sine wave signal arrives at the receiver of the ultrasonic flow sensor 50 with modulated amplitude, as shown in FIG. 9 c.
- the AC-coupled analog signal amplifier 60 amplifies the output signal from the receiver of the ultrasonic flow sensor 50 .
- the comparator 70 compares the signal received from the analog signal amplifier 60 with the predefined threshold value. When the received signal becomes higher than the threshold value, it outputs a positive pulse. On the other hand, when the received signal becomes lower than the threshold value, it outputs a negative pulse, as shown in FIG. 9 d.
- the master counter 120 After receiving the positive pulse from the comparator 70 , the master counter 120 stops counting the reference clock, as shown in FIG. 9 e .
- the time interval, C0, measured by the master counter 120 can be described by the equation:
- N is the output of the mater counter 120
- Tr is the period of the reference clock.
- the master counter 120 can only count complete clock cycles, its output N is a positive integer number, any time less than one clock cycle will not be counted.
- the edge counter 121 After receiving the first positive pulse from the comparator 70 , the edge counter 121 starts counting the reference clock. After receiving the first negative pulse from the comparator 70 , the edge counter 121 stops counting the reference clock, as shown in FIG. 9 e .
- the time interval, C1 measured by the edge counter 121 can be described by the equation:
- N1 is the output of the counter 121 . Similar to the master counter 120 , the edge counter 121 can only count complete clock cycles, its output N1 is a positive integer number, any time less than one clock cycle will not be counted.
- the edge counter 122 After receiving the first negative pulse from the comparator 70 , the edge counter 122 starts counting the reference clock. After receiving the second positive pulse from the comparator 70 , the edge counter 122 stops counting the reference clock, as shown in FIG. 9 e .
- the time interval, C2 measured by the edge counter 122 can be described by the equation:
- N2 is the output of the counter 122 . Similar to the master counter 120 , the edge counter 122 can only count complete clock cycles, its output N2 is a positive integer number, any time less than one clock cycle will not be counted.
- the edge counter 123 After receiving the second positive pulse from the comparator 70 , the edge counter 123 starts counting the reference clock. After receiving the second negative pulse from the comparator 70 , the edge counter 123 stops counting the reference clock, as shown in FIG. 9 e .
- the time interval, C3, measured by the edge counter 123 can be described by the equation:
- N3 is the output of the counter 123 . Similar to the master counter 120 , the edge counter 123 can only count complete clock cycles, its output N3 is a positive integer number, any time less than one clock cycle will not be counted.
- the edge counter 124 After receiving the second negative pulse from the comparator 70 , the edge counter 124 starts counting the reference clock. After receiving the third positive pulse from the comparator 70 , the edge counter 124 stops counting the reference clock, as shown in FIG. 9 e .
- the time interval, C4 measured by the edge counter 124 can be described by the equation:
- N4 is the output of the counter 124 . Similar to the master counter 120 , the edge counter 124 can only count complete clock cycles, its output N4 is a positive integer number, any time less than one clock cycle will not be counted.
- the edge counter 125 After receiving the third positive pulse from the comparator 70 , the edge counter 125 starts counting the reference clock. After receiving the third negative pulse from the comparator 70 , the edge counter 125 stops counting the reference clock, as shown in FIG. 9 e .
- the time interval, C5, measured by the edge counter 125 can be described by the equation:
- N5 is the output of the counter 125 . Similar to the master counter 120 , the edge counter 125 can only count complete clock cycles, its output N5 is a positive integer number, any time less than one clock cycle will not be counted.
- the edge counter 126 After receiving the third negative pulse from the comparator 70 , the edge counter 126 starts counting the reference clock. After receiving the fourth positive pulse from the comparator 70 , the edge counter 126 stops counting the reference clock, as shown in FIG. 9 e .
- the time interval, C6, measured by the edge counter 126 can be described by the equation:
- N6 is the output of the counter 126 . Similar to the master counter 120 , the edge counter 126 can only count complete clock cycles, its output N6 is a positive integer number, any time less than one clock cycle will not be counted.
- the edge counter 127 After receiving the fourth positive pulse from the comparator 70 , the edge counter 127 starts counting the reference clock. After receiving the fourth negative pulse from the comparator 70 , the edge counter 127 stops counting the reference clock, as shown in FIG. 9 e .
- the time interval, C7, measured by the edge counter 127 can be described by the equation:
- N7 is the output of the counter 127 . Similar to the master counter 120 , the edge counter 127 can only count complete clock cycles, its output N7 is a positive integer number, any time less than one clock cycle will not be counted.
- the latch circuit 80 is used to measure the time interval t1 between the first positive pulse from the comparator 70 and the first upward edge of the reference clock fed into the edge counter 121 , as shown in FIG. 9 f . Since time interval t1 is less than one complete reference clock, it cannot be measured by the master counter 120 .
- the latch circuit 81 is used to measure the time interval t2 between the first negative pulse from the comparator 70 and the first upward edge of the reference clock fed into the edge counter 122 , as shown in FIG. 9 f . Since time interval t2 is less than one complete reference clock, it cannot be measured by the edge counter 121 .
- the latch circuit 82 is used to measure the time interval t3 between the second positive pulse from the comparator 70 and the first upward edge of the reference clock fed into the edge counter 123 , as shown in FIG. 9 f . Since time interval t3 is less than one complete reference clock, it cannot be measured by the edge counter 122 .
- the latch circuit 83 is used to measure the time interval t4 between the second negative pulse from the comparator 70 and the first upward edge of the reference clock fed into the edge counter 124 , as shown in FIG. 9 f . Since time interval t4 is less than one complete reference clock, it cannot be measured by the edge counter 123 .
- the latch circuit 84 is used to measure the time interval t5 between the third positive pulse from the comparator 70 and the first upward edge of the reference clock fed into the edge counter 125 , as shown in FIG. 9 f . Since time interval t5 is less than one complete reference clock, it cannot be measured by the edge counter 124 .
- the latch circuit 85 is used to measure the time interval t6 between the third negative pulse from the comparator 70 and the first upward edge of the reference clock fed into the edge counter 126 , as shown in FIG. 9 f . Since time interval t6 is less than one complete reference clock, it cannot be measured by the edge counter 125 .
- the latch circuit 86 is used to measure the time interval t7 between the fourth positive pulse from the comparator 70 and the first upward edge of the reference clock fed into the edge counter 127 , as shown in FIG. 9 f . Since time interval t7 is less than one complete reference clock, it cannot be measured by the edge counter 126 .
- the latch circuit 87 is used to measure the time interval t8 between the fourth negative pulse from the comparator 70 and the upward edge of the next reference clock after the edge counter 127 is stopped, as shown in FIG. 9 f . Since time interval t8 is less than one complete reference clock, it cannot be measured by the edge counter 127 .
- the outputs of the latch circuits 80 - 87 are fed into the adder circuit 90 . They are added together and then output to the integrator circuit 100 .
- the integrator circuit 100 is used to convert these short pulses to triangular waves, as shown in FIG. 9 g.
- the analog signal from the integrator 100 is then converted to a digital value by the A/D converter 110 , and fed into the arithmetic circuit 130 .
- the arriving time of the ultrasonic wave, T1, measured at the first measurement point P1 can be described by the equation:
- the arriving time of the ultrasonic wave, T2, measured at the second measurement point P2 can be described by the equation:
- the arriving time of the ultrasonic wave, T3, measured at the third measurement point P3, can be described by the equation:
- the arriving time of the ultrasonic wave, T4, measured at the fourth measurement point P4, can be described by the equation:
- the arriving time of the ultrasonic wave, T5, measured at the fourth measurement point P5, can be described by the equation:
- the arriving time of the ultrasonic wave, T6, measured at the fourth measurement point P6, can be described by the equation:
- the arriving time of the ultrasonic wave, T7, measured at the fourth measurement point P7 can be described by the equation:
- the arriving time of the ultrasonic wave, T8, measured at the fourth measurement point P8, can be described by the equation:
- the arithmetic circuit 130 calculates the ultrasonic wave transit time based on the following formula:
- Tx is the period of the received ultrasonic signal.
- the center of T3 and T4 is always one period away from the center of T1 and T2.
- the center of T5 and T6 is always one period away from the center of T3 and T4, and etc.
- T — 1 — 8 can be expressed as follows,
- T — 1 — 8 (7 N 1+6 N 2+5 N 3+4 N 4+3 N 5+2 N 6 +N 7) Tr/ 8 ⁇ 1.5 Tx.
- FIG. 10 illustrates the transit time measurement error of the third embodiment of the present disclosure.
- the time measurement error is:
- ⁇ Tm
Landscapes
- Physics & Mathematics (AREA)
- Fluid Mechanics (AREA)
- General Physics & Mathematics (AREA)
- Measurement Of Unknown Time Intervals (AREA)
- Measuring Volume Flow (AREA)
Abstract
A device for measurement of ultrasonic wave transit times of an ultrasonic flow sensor consists of: 1) a synchronization signal generator, 2) a reference pulse generator, 3) a sine wave generator, 4) an analog signal amplifier, 5) a comparator, 6) a plurality of latch circuits, 7) a digital adder, 8) an integrator, 9) an A/D converter, 10) a master counter, 11) a plurality of edge counters, and 12) an arithmetic circuit. The device measures the ultrasonic wave transit times using a method of averaging the ultrasonic wave arriving times at different measuring points (triggering point). This method has less dependency on triggering threshold level and the ultrasonic signal amplitude, and thus has less dependency on threshold drift, threshold stability, system gain fluctuation, electronic noise and signal amplitude variations. As a result, the method can greatly improve the velocity measurement accuracy and system robustness of an ultrasonic flow sensor.
Description
- Not Applicable.
- Not Applicable.
- Not Applicable.
- The present disclosure relates to a device for measuring ultrasonic wave transit times from the transmitter to the receiver of an ultrasonic flow sensor.
- The statements in this section merely provide background information related to the present disclosure and may not constitute prior art.
- An ultrasonic flow sensor measures the average velocity of liquid or gaseous media by means of ultrasonic transducers based on the principle that the transit time of an ultrasonic wave from the transmitter of a transducer to the corresponding receiver is determined by the fluid velocity and the ultrasonic wave propagating direction. Normally, a pair of transducers is used, one is installed in upstream and the other is installed in downstream. Each transducer can be used as a transmitter or a receiver. One ultrasonic wave is transmitted from the upstream transducer to the downstream transducer. The second ultrasonic pulse is transmitted from the downstream transducer to the upstream transducer. The transit time in each direction is measured by an electronic device. The difference of the two transit-time data is proportional to flow velocity. It is then used to calculate the average flow velocity of the fluid.
- In conventional electronic devices of an ultrasonic flow sensor, the ultrasonic wave transit time is measured by a time counter to count a reference clock using the following method. 1) Sending ultrasonic pulse wave to the transmitter, starting the timer counter. 2) Monitoring the ultrasonic signal received by the receiver, when the received signal becomes higher than the predefined threshold value, immediately stopping the time counter, and recording the arriving time. This arriving time is treated as the transmit time.
- In the above approach, an analog integrator may be used to measure the residual time from the counter stopping moment to the rising edge of the next cycle of the reference clock. This residual time is then combined with the previous transit-time to obtain a transit-time with higher accuracy.
- However, this measurement method is susceptible to electronic noise and condition variation. Both the strength of the received signal and the predefined threshold value are subject to electronic noise. In addition, the strength of the received signal varies with the fluid properties such as temperature, velocity, turbulence, solids concentration, etc. As a result, the measured transit time changes not only with flow velocity, but with the fluid properties and electronic noise level. This significantly reduces the velocity measurement accuracy and stability of an ultrasonic flow sensor.
- Further areas of applicability will become apparent from the description provided herein. It should be understood that the description and specific examples are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure.
- The object of the present invention is to provide an electronic device which can accurately and reliably measure the transit times from the transmitter to the receiver and hence improving the velocity measurement accuracy of an ultrasonic flow sensor.
- In more detail the present invention provides an electronic device for measurement of ultrasonic wave transit times of an ultrasonic flow sensor consists of: 1) a synchronization signal generator, 2) a reference pulse generator, 3) a sine wave generator, 4) an analog signal amplifier, 5) a comparator, 6) a plurality of latch circuits, 7) a digital adder, 8) an integrator, 9) an A/D converter, 10) a master counter, 11) a plurality of edge counters, and 12) an arithmetic circuit (microprocessor). The device measures the ultrasonic wave transit times using a threshold level to trigger both the rising edge and falling edge of the received ultrasonic signal, and using a method of averaging the ultrasonic wave arriving times at different measuring points. This method has less dependency on the threshold level and the ultrasonic signal amplitude, thus, has less dependency on threshold drift, threshold stability, system gain fluctuation, electronic noise and signal amplitude variations. As a result, this method can greatly improve the velocity measurement accuracy and system robustness of an ultrasonic flow sensor.
- The drawings described herein are for illustration purposes only and are not intended to limit the scope of the present disclosure in any way.
-
FIG. 1 shows a block diagram of the first embodiment of a device for measurement of the ultrasonic wave transit times of the present disclosure. -
FIG. 2 shows the operational waveform diagram of the device shown inFIG. 1 . -
FIG. 3( a) illustrates the transit time measurement error caused by the threshold fluctuation of prior art. -
FIG. 3( b) illustrates the transit time measurement error caused by the signal amplitude fluctuation of prior art. -
FIG. 4( a) illustrates the transit time measurement error reduction of the first embodiment of the present disclosure against threshold fluctuation interference. -
FIG. 4( b) illustrates the transit time measurement error reduction of the first embodiment of the present disclosure against signal amplitude fluctuation interference. -
FIG. 5 shows a block diagram of the second embodiment of a device for measurement of the ultrasonic wave transit times of the present disclosure. -
FIG. 6 shows the operational waveform diagram of the device shown inFIG. 5 . -
FIG. 7( a) illustrates the transit time measurement error reduction of the second embodiment of the present disclosure against threshold level fluctuation interference. -
FIG. 7( b) illustrates the transit time measurement error reduction of the second embodiment of the present disclosure against signal amplitude fluctuation interference. -
FIG. 8 shows a block diagram of the third embodiment of a device for measurement of the ultrasonic wave transit times of the present disclosure. -
FIG. 9 shows the operational waveform diagram of the device shown inFIG. 8 . -
FIG. 10 illustrates the transit time measurement error reduction of the third embodiment of the present disclosure. - The following description is merely exemplary in nature and is not intended to limit the present disclosure, application, or uses. It should be understood that throughout the drawings, corresponding reference numerals indicate like or corresponding parts and features.
-
FIG. 1 illustrates the first embodiment of an electronic device for measuring the ultrasonic wave transit times of the present disclosure. In this first embodiment, thedevice 10 consists of asynchronization signal generator 20, areference pulse generator 30, asine wave generator 40, ananalog signal amplifier 60, acomparator 70, two 80 and 81, alatch circuits digital adder 90, anintegrator 100, an A/D converter 110, amaster pulse counter 120, anedge counter 121, and anarithmetic circuit 130. - Referring to
FIGS. 1 and 2 , thesynchronization signal generator 20 outputs a pulse shown inFIG. 2 a. This pulse is used to perform the following functions: 1) initiating the measurement cycle, 2) triggering thesine wave generator 40 to start sending sine wave signal to the transmitter of theultrasonic flow sensor 50, 3) triggering thereference pulse generator 30 to start generating high frequency clock signal, and 4) commanding themaster counter 120 to start counting the reference pulses. - Referring to
FIGS. 1 and 2 , after receiving the synchronization pulse, thereference pulse generator 30 starts sending high frequency clock signal to: 1) themaster counter 120, 2) theedge counter 121, and 3) the two latch circuits 80-81, as shown inFIG. 2 e. - Referring to
FIGS. 1 and 2 , after receiving the synchronization pulse, thesine wave generator 40 starts sending sine wave signals (FIG. 2 b) to the transmitter of theultrasonic flow sensor 50. After certain period of time delay, the sine wave signal arrives at the receiver of theultrasonic flow sensor 50 with modulated amplitude, as shown inFIG. 2 c. - Referring to
FIGS. 1 and 2 , the AC-coupledanalog signal amplifier 60 amplifies the output signal from the receiver of theultrasonic flow sensor 50. - Referring to
FIGS. 1 and 2 , thecomparator 70 compares the signal received from theanalog signal amplifier 60 with the predefined threshold value. When the received signal becomes higher than the threshold value, it outputs a positive pulse. On the other hand, when the received signal becomes lower than the threshold value, it outputs a negative pulse, as shown inFIG. 2 d. - Referring to
FIGS. 1 and 2 , after receiving the positive pulse from thecomparator 70, themaster counter 120 stops counting the reference clock, as shown inFIG. 2 e. The time interval, C0, measured by themaster counter 120 can be described by the equation: -
C0=NTr. - Where N is the output of the
mater counter 120, Tr is the period of the reference clock. Themaster counter 120 can only count complete clock cycles, its output N is a positive integer number, any time less than one clock cycle will not be counted. - Referring to
FIGS. 1 and 2 , after receiving the positive pulse from thecomparator 70, theedge counter 121 starts counting the reference pulses. After receiving the negative pulse from thecomparator 70, theedge counter 121 stops counting the pulses, as shown inFIG. 2 e. The time interval, C1, measured by theedge counter 121 can be described by the equation: -
C1=N1Tr. - Where N1 is the output of the
first counter 121. Similar to the master counter, theedge counter 121 can only count complete clock cycles, its output N1 is a positive integer number, any time less than one clock cycle will not be counted. - Referring to
FIGS. 1 and 2 , thelatch circuit 80 is used to measure the time interval t1, between the positive pulse from thecomparator 70 and the first upward edge of the reference clock fed into theedge counter 121, as shown inFIG. 2 f. - Referring to
FIGS. 1 and 2 , thelatch circuit 81 is used to measure the time interval t2, between the negative pulse from thecomparator 70 and the next upward edge of the reference clock after theedge counter 121 is stopped, as shown inFIG. 2 f. - Referring to
FIG. 1 , the outputs of the 80 and 81 are fed into thelatch circuits adder circuit 90. They are added together, and then output to theintegrator circuit 100. - Referring to
FIGS. 1 and 2 , since the t1 and t2 time intervals from the 80 and 81 are very short, thelatch circuits integrator circuit 100 is used to convert these short pulses to analog exponential waves, as shown inFIG. 2 g. - Referring to
FIG. 1 , the analog signal from theintegrator 100 is then converted to a digital value by the A/D converter 110, and fed into thearithmetic circuit 130. - Referring to
FIG. 2 , the arriving time of the ultrasonic wave, T1, measured at the first measurement point P1, can be described by the equation: -
T1=C0−t1=NTr−t1 - Referring to
FIG. 2 , the arriving time of the ultrasonic wave, T2, measured at the second measurement point P2, can be described by the equation: -
T2=C0+C1−t2=(N+N1)Tr−t2. - Referring to
FIG. 2 , thearithmetic circuit 130 calculates the ultrasonic wave transit time based on the following formula: -
Tm=(T1+T2)/2=NTr+N1Tr/2−(t1+t2)/2. - Referring to
FIGS. 3( a) and (b), the ultrasonic wave transit time with prior art is based on the following formula: -
Tm=NTr−t1. -
- Obviously, the transit-time Tm obtained by prior art differs from the one obtained by the first embodiment of the present disclosure by N1Tr/2. This difference does not have any impact on the flow measurement, because the flow rate is calculated based on transit-time difference between upstream Tm and downstream Tm. In addition, the difference can be calibrated so to have accurate transit-time measurement.
-
FIG. 3 (a) illustrates the transit time measurement error caused by the threshold level fluctuation of prior art. In this case the time measurement error is: -
ΔTm=|Δt1|. -
FIG. 3 (b) illustrates the transit time measurement error caused by signal amplitude fluctuation of prior art. In this case the time measurement error is: -
ΔTm=|Δt1|. -
FIG. 4( a) illustrates the transit time measurement error caused by threshold fluctuation of the first embodiment of the present disclosure. In this case the time measurement error is: -
ΔTm=|Δt1+Δt2|/2. -
FIG. 4( b) illustrates the transit time measurement error caused by signal amplitude fluctuation of the first embodiment of the present disclosure. In this case the time measurement error is: -
ΔTm=|Δt1+Δt2|/2. - It is noted from the
FIGS. 4( a) and (b) that Δt1 and Δt2 change in opposite direction in similar magnitude, when Δt1 increases, Δt2 decreases, and vice versa. i.e.: -
Δt1≈−Δt2 - As a result, their average, ΔTm, is always smaller than |Δt1|. In effect,
-
ΔTm≈0. - This indicates that the transit-time obtained by the present invention does not change with threshold drifting or signal amplitude variation. By contract, the transit-time obtained by prior art is sensitive to threshold drifting and signal amplitude variation. As a result of this, the transit time measurement accuracy and reliability are greatly improved by using the method of the present disclosure compared to the method of prior art.
-
FIG. 5 illustrates the second embodiment of an electronic device for measuring the ultrasonic wave transit times of the present disclosure. In this second embodiment, thedevice 10 consists of asynchronization signal generator 20, areference pulse generator 30, asine wave generator 40, ananalog signal amplifier 60, acomparator 70, four latch circuits 80-83, adigital adder 90, anintegrator 100, an A/D converter 110, amaster counter 120, three edge counters 121-123, and anarithmetic circuit 130. - Referring to
FIGS. 5 and 6 , thesynchronization signal generator 20 outputs a pulse shown inFIG. 6 a. This pulse is used to perform the following functions: 1) initiating the measurement cycle, 2) triggering thesine wave generator 40 to start sending sine wave signal to the transmitter of theultrasonic flow sensor 50, 3) triggering thereference pulse generator 30 to start generating high frequency clock signal, and 4) commanding themaster counter 120 to start counting the reference clock cycles. - Referring to
FIGS. 5 and 6 , after receiving the synchronization pulse, thereference pulse generator 30 starts sending high frequency clock signal to: 1) themaster counter 120, 2) the edge counters 121-123, and 3) the latch circuits 80-83, as shown inFIG. 6 e. - Referring to
FIGS. 5 and 6 , after receiving the synchronization pulse, thesine wave generator 40 starts sending sine waves (FIG. 6 b) to the transmitter of theultrasonic flow sensor 50. After certain period of time delay, the sine wave signal arrives at the receiver of the flow meter with modulated amplitude, as shown inFIG. 6 c. - Referring to
FIGS. 5 and 6 , the AC-coupledanalog signal amplifier 60 amplifies the output signal from the receiver of theultrasonic flow sensor 50. - Referring to
FIGS. 5 and 6 , thecomparator 70 compares the signal received from theanalog signal amplifier 60 with the predefined threshold value. When the received signal becomes higher than the threshold value, it outputs a positive pulse. On the other hand, when the received signal becomes lower than the threshold value, it outputs a negative pulse, as shown inFIG. 6 d. - Referring to
FIGS. 5 and 6 , after receiving the positive pulse from thecomparator 70, themaster counter 120 stops counting the reference clock, as shown inFIG. 6 e. The time interval, C0, measured by themaster counter 120 can be described by the equation: -
C0=NTr, - where N is the output of the
mater counter 120, Tr is the period of the reference clock. Themaster counter 120 can only count complete clock cycles, its output N is a positive integer number, any time less than one clock cycle will not be counted. - Referring to
FIGS. 5 and 6 , after receiving the first positive pulse from thecomparator 70, theedge counter 121 starts counting the reference clock. After receiving the first negative pulse from thecomparator 70, theedge counter 121 stops counting the clock, as shown inFIG. 6 e. The time interval, C1, measured by theedge counter 121 can be described by the equation: -
C1=N1Tr, - where N1 is the output of the
counter 121. Similar to themaster counter 120, theedge counter 121 can only count complete clock cycles, its output N1 is a positive integer number, any time less than one clock cycle will not be counted. - Referring to
FIGS. 5 and 6 , after receiving the first negative pulse from thecomparator 70, theedge counter 122 starts counting the reference clock. After receiving the second positive pulse from thecomparator 70, theedge counter 122 stops counting the clock, as shown inFIG. 6 e. The time interval, C2, measured by theedge counter 122 can be described by the equation: -
C2=N2Tr, - where N2 is the output of the
counter 122. Similar to themaster counter 120, theedge counter 122 can only count complete clock cycles, its output N2 is a positive integer number, any time less than one cycle pulse will not be counted. - Referring to
FIGS. 5 and 6 , after receiving the second positive pulse from thecomparator 70, theedge counter 123 starts counting the reference clock. After receiving the second negative pulse from thecomparator 70, theedge counter 123 stops counting the reference clock, as shown inFIG. 6 e. The time interval, C3, measured by theedge counter 123 can be described by the equation: -
C3=N3Tr, - where N3 is the output of the
counter 123. Similar to themaster counter 120, theedge counter 123 can only count complete clock cycles, its output N3 is a positive integer number, any time less than one clock cycle will not be counted. - Referring to
FIGS. 5 and 6 , thelatch circuit 80 is used to measure the time interval t1 between the first positive pulse from thecomparator 70 and the first upward edge of the reference clock fed into theedge counter 121, as shown inFIG. 6 f. Since time interval t1 is less than one complete reference clock, it cannot be measured by themaster counter 120. - Referring to
FIGS. 5 and 6 , thelatch circuit 81 is used to measure the time interval t2 between the first negative pulse from thecomparator 70 and the first upward edge of the reference clock fed into theedge counter 122, as shown inFIG. 6 f. Since time interval t2 is less than one complete reference clock, it cannot be measured by theedge counter 121. - Referring to
FIGS. 5 and 6 , thelatch circuit 82 is used to measure the time interval t3 between the second positive pulse from thecomparator 70 and the first upward edge of the reference clock fed into theedge counter 123, as shown inFIG. 6 f. Since time interval t3 is less than one complete reference clock, it cannot be measured by theedge counter 122. - Referring to
FIGS. 5 and 6 , thelatch circuit 83 is used to measure the time interval t4 between the second negative pulse from thecomparator 70 and the next upward edge of the reference clock after theedge counter 123 is stopped, as shown inFIG. 6 f. Since time interval t4 is less than one complete reference clock, it cannot be measured by theedge counter 123. - Referring to
FIG. 5 , the outputs of latch circuits 80-83 are fed into theadder circuit 90. They are added together and then output to theintegrator circuit 100. - Referring to
FIGS. 5 and 6 , since the time intervals t1-t4 from the latch circuits 80-83 are very short, theintegrator circuit 100 is used to convert these short pulses to triangular waves, as shown inFIG. 2 g. - Referring to
FIG. 5 , the analog signal from theintegrator 100 is then converted to a digital value by the A/D converter 110, and fed into thearithmetic circuit 130. - Referring to
FIG. 6 , the arriving time of the ultrasonic wave, T1, measured at the first measurement point P1, can be described by the equation: -
T1=C0−t1=NTr−t1. - Referring to
FIG. 6 , the arriving time of the ultrasonic wave, T2, measured at the second measurement point P2, can be described by the equation: -
T2=C0+C1−t2=(N+N1)Tr−t2. - Referring to
FIG. 6 , the arriving time of the ultrasonic wave, T3, measured at the third measurement point P3, can be described by the equation: -
- Referring to
FIG. 6 , the arriving time of the ultrasonic wave, T4, measured at the fourth measurement point P4, can be described by the equation: -
- Referring to
FIG. 5 , thearithmetic circuit 130 calculates the ultrasonic wave transit time based on the following formula: -
-
- Here Tx is the period of the received ultrasonic signal. The center of T3 and T4 is always one period away from the center of T1 and T2.
T —123 is expressed as following,
- Here Tx is the period of the received ultrasonic signal. The center of T3 and T4 is always one period away from the center of T1 and T2.
-
T —123=(3N1+2N2+N3)Tr/4−Tx/2. -
FIG. 7 illustrates the transit time measurement error of the second embodiment of the present disclosure. In this case the time measurement error is: -
ΔTm=|Δt1+Δt2+Δt3+Δt4|/4. - Since (Δt1, Δt2) and (Δt3, Δt4) change in opposite directions, their average is always smaller than |t1|. This indicates that the ultrasonic wave transit time measurement accuracy is greatly improved using the method of the present disclosure compared to the method of prior art.
-
FIG. 8 illustrates the third embodiment of an electronic device for measuring the ultrasonic wave transit times of the present disclosure. In this embodiment, thedevice 10 consists of asynchronization signal generator 20, areference pulse generator 30, asine wave generator 40, ananalog signal amplifier 60, acomparator 70, eight latch circuits 80-87, adigital adder 90, anintegrator 100, an A/D converter 110, amaster counter 120, seven edge counters 121-127, and anarithmetic circuit 130. - Referring to
FIGS. 8 and 9 , thesynchronization signal generator 20 outputs a pulse shown inFIG. 9 a. This pulse is used to perform the following functions: 1) initiating the measurement cycle, 2) triggering thesine wave generator 40 to start sending sine wave signal to the transmitter of theultrasonic flow sensor 50, 3) triggering thereference pulse generator 30 to start generating high frequency clock signal, and 4) commanding themaster counter 120 to start counting the reference clock cycles. - Referring to
FIGS. 8 and 9 , after receiving the synchronization pulse, thereference pulse generator 30 starts sending high frequency clock signal to: 1) themaster counter 120, 2) the edge counters 121-127, and 3) the latch circuits 80-87, as shown inFIG. 9 e. - Referring to
FIGS. 8 and 9 , after receiving the synchronization pulse, thesine wave generator 40 starts sending sine wave signals (FIG. 9 b) to the transmitter of theultrasonic flow sensor 50. After certain period of time delay, the sine wave signal arrives at the receiver of theultrasonic flow sensor 50 with modulated amplitude, as shown inFIG. 9 c. - Referring to
FIGS. 8 and 9 , the AC-coupledanalog signal amplifier 60 amplifies the output signal from the receiver of theultrasonic flow sensor 50. - Referring to
FIGS. 8 and 9 , thecomparator 70 compares the signal received from theanalog signal amplifier 60 with the predefined threshold value. When the received signal becomes higher than the threshold value, it outputs a positive pulse. On the other hand, when the received signal becomes lower than the threshold value, it outputs a negative pulse, as shown inFIG. 9 d. - Referring to
FIGS. 8 and 9 , after receiving the positive pulse from thecomparator 70, themaster counter 120 stops counting the reference clock, as shown inFIG. 9 e. The time interval, C0, measured by themaster counter 120 can be described by the equation: -
C0=NTr, - where N is the output of the
mater counter 120, Tr is the period of the reference clock. Themaster counter 120 can only count complete clock cycles, its output N is a positive integer number, any time less than one clock cycle will not be counted. - Referring to
FIGS. 8 and 9 , after receiving the first positive pulse from thecomparator 70, theedge counter 121 starts counting the reference clock. After receiving the first negative pulse from thecomparator 70, theedge counter 121 stops counting the reference clock, as shown inFIG. 9 e. The time interval, C1, measured by theedge counter 121 can be described by the equation: -
C1=N1Tr, - where N1 is the output of the
counter 121. Similar to themaster counter 120, theedge counter 121 can only count complete clock cycles, its output N1 is a positive integer number, any time less than one clock cycle will not be counted. - Referring to
FIGS. 8 and 9 , after receiving the first negative pulse from thecomparator 70, theedge counter 122 starts counting the reference clock. After receiving the second positive pulse from thecomparator 70, theedge counter 122 stops counting the reference clock, as shown inFIG. 9 e. The time interval, C2, measured by theedge counter 122 can be described by the equation: -
C2=N2Tr, - where N2 is the output of the
counter 122. Similar to themaster counter 120, theedge counter 122 can only count complete clock cycles, its output N2 is a positive integer number, any time less than one clock cycle will not be counted. - Referring to
FIGS. 8 and 9 , after receiving the second positive pulse from thecomparator 70, theedge counter 123 starts counting the reference clock. After receiving the second negative pulse from thecomparator 70, theedge counter 123 stops counting the reference clock, as shown inFIG. 9 e. The time interval, C3, measured by theedge counter 123 can be described by the equation: -
C3=N3Tr, - where N3 is the output of the
counter 123. Similar to themaster counter 120, theedge counter 123 can only count complete clock cycles, its output N3 is a positive integer number, any time less than one clock cycle will not be counted. - Referring to
FIGS. 8 and 9 , after receiving the second negative pulse from thecomparator 70, theedge counter 124 starts counting the reference clock. After receiving the third positive pulse from thecomparator 70, theedge counter 124 stops counting the reference clock, as shown inFIG. 9 e. The time interval, C4, measured by theedge counter 124 can be described by the equation: -
C4=N4Tr, - where N4 is the output of the
counter 124. Similar to themaster counter 120, theedge counter 124 can only count complete clock cycles, its output N4 is a positive integer number, any time less than one clock cycle will not be counted. - Referring to
FIGS. 8 and 9 , after receiving the third positive pulse from thecomparator 70, theedge counter 125 starts counting the reference clock. After receiving the third negative pulse from thecomparator 70, theedge counter 125 stops counting the reference clock, as shown inFIG. 9 e. The time interval, C5, measured by theedge counter 125 can be described by the equation: -
C5=N5Tr, - where N5 is the output of the
counter 125. Similar to themaster counter 120, theedge counter 125 can only count complete clock cycles, its output N5 is a positive integer number, any time less than one clock cycle will not be counted. - Referring to
FIGS. 8 and 9 , after receiving the third negative pulse from thecomparator 70, theedge counter 126 starts counting the reference clock. After receiving the fourth positive pulse from thecomparator 70, theedge counter 126 stops counting the reference clock, as shown inFIG. 9 e. The time interval, C6, measured by theedge counter 126 can be described by the equation: -
C6=N6Tr, - where N6 is the output of the
counter 126. Similar to themaster counter 120, theedge counter 126 can only count complete clock cycles, its output N6 is a positive integer number, any time less than one clock cycle will not be counted. - Referring to
FIGS. 8 and 9 , after receiving the fourth positive pulse from thecomparator 70, theedge counter 127 starts counting the reference clock. After receiving the fourth negative pulse from thecomparator 70, theedge counter 127 stops counting the reference clock, as shown inFIG. 9 e. The time interval, C7, measured by theedge counter 127 can be described by the equation: -
C7=N7Tr, - where N7 is the output of the
counter 127. Similar to themaster counter 120, theedge counter 127 can only count complete clock cycles, its output N7 is a positive integer number, any time less than one clock cycle will not be counted. - Referring to
FIGS. 8 and 9 , thelatch circuit 80 is used to measure the time interval t1 between the first positive pulse from thecomparator 70 and the first upward edge of the reference clock fed into theedge counter 121, as shown inFIG. 9 f. Since time interval t1 is less than one complete reference clock, it cannot be measured by themaster counter 120. - Referring to
FIGS. 8 and 9 , thelatch circuit 81 is used to measure the time interval t2 between the first negative pulse from thecomparator 70 and the first upward edge of the reference clock fed into theedge counter 122, as shown inFIG. 9 f. Since time interval t2 is less than one complete reference clock, it cannot be measured by theedge counter 121. - Referring to
FIGS. 8 and 9 , thelatch circuit 82 is used to measure the time interval t3 between the second positive pulse from thecomparator 70 and the first upward edge of the reference clock fed into theedge counter 123, as shown inFIG. 9 f. Since time interval t3 is less than one complete reference clock, it cannot be measured by theedge counter 122. - Referring to
FIGS. 8 and 9 , thelatch circuit 83 is used to measure the time interval t4 between the second negative pulse from thecomparator 70 and the first upward edge of the reference clock fed into theedge counter 124, as shown inFIG. 9 f. Since time interval t4 is less than one complete reference clock, it cannot be measured by theedge counter 123. - Referring to
FIGS. 8 and 9 , thelatch circuit 84 is used to measure the time interval t5 between the third positive pulse from thecomparator 70 and the first upward edge of the reference clock fed into theedge counter 125, as shown inFIG. 9 f. Since time interval t5 is less than one complete reference clock, it cannot be measured by theedge counter 124. - Referring to
FIGS. 8 and 9 , thelatch circuit 85 is used to measure the time interval t6 between the third negative pulse from thecomparator 70 and the first upward edge of the reference clock fed into theedge counter 126, as shown inFIG. 9 f. Since time interval t6 is less than one complete reference clock, it cannot be measured by theedge counter 125. - Referring to
FIGS. 8 and 9 , thelatch circuit 86 is used to measure the time interval t7 between the fourth positive pulse from thecomparator 70 and the first upward edge of the reference clock fed into theedge counter 127, as shown inFIG. 9 f. Since time interval t7 is less than one complete reference clock, it cannot be measured by theedge counter 126. - Referring to
FIGS. 8 and 9 , thelatch circuit 87 is used to measure the time interval t8 between the fourth negative pulse from thecomparator 70 and the upward edge of the next reference clock after theedge counter 127 is stopped, as shown inFIG. 9 f. Since time interval t8 is less than one complete reference clock, it cannot be measured by theedge counter 127. - Referring to
FIG. 8 , the outputs of the latch circuits 80-87 are fed into theadder circuit 90. They are added together and then output to theintegrator circuit 100. - Referring to
FIGS. 8 and 9 , since the time intervals t1-t8 from the latch circuits 80-87 are short pulses, theintegrator circuit 100 is used to convert these short pulses to triangular waves, as shown inFIG. 9 g. - Referring to
FIG. 8 , the analog signal from theintegrator 100 is then converted to a digital value by the A/D converter 110, and fed into thearithmetic circuit 130. - Referring to
FIG. 9 , the arriving time of the ultrasonic wave, T1, measured at the first measurement point P1, can be described by the equation: -
T1=C0−t1=NTr−t1. - Referring to
FIG. 9 , The arriving time of the ultrasonic wave, T2, measured at the second measurement point P2, can be described by the equation: -
T2=C0+C1−t2=(N+N1)Tr−t2. - Referring to
FIG. 9 , The arriving time of the ultrasonic wave, T3, measured at the third measurement point P3, can be described by the equation: -
T3=C0+C1+C2−t3=(N+N1+N2)Tr−t3. - Referring to
FIG. 9 , The arriving time of the ultrasonic wave, T4, measured at the fourth measurement point P4, can be described by the equation: -
T4=C0+C1+C2+C3−t4=(N+N1+N2+N3)Tr−t4. - Referring to
FIG. 9 , The arriving time of the ultrasonic wave, T5, measured at the fourth measurement point P5, can be described by the equation: -
- Referring to
FIG. 9 , The arriving time of the ultrasonic wave, T6, measured at the fourth measurement point P6, can be described by the equation: -
- Referring to
FIG. 9 , The arriving time of the ultrasonic wave, T7, measured at the fourth measurement point P7, can be described by the equation: -
- Referring to
FIG. 9 , The arriving time of the ultrasonic wave, T8, measured at the fourth measurement point P8, can be described by the equation: -
- Referring to
FIG. 8 , thearithmetic circuit 130 calculates the ultrasonic wave transit time based on the following formula: -
- Here Tx is the period of the received ultrasonic signal. The center of T3 and T4 is always one period away from the center of T1 and T2. Similarly, the center of T5 and T6 is always one period away from the center of T3 and T4, and etc. The
term T —1—8 can be expressed as follows, -
T —1—8=(7N1+6N2+5N3+4N4+3N5+2N6+N7)Tr/8−1.5Tx. -
FIG. 10 illustrates the transit time measurement error of the third embodiment of the present disclosure. In this case the time measurement error is: -
ΔTm=|Δt1+Δt2+Δt3+Δt4+Δt5+Δt6+Δt7+Δt8|/8. - (Δt1, Δt2), (Δt3, Δt4), (Δt5, Δt6), and (Δt7, Δt8) change in opposite directions. As a result, their average is always smaller than |Δt1|. In effect, ΔTm≈0. This indicates that the ultrasonic wave transit time measurement accuracy is greatly improved using the method of the present disclosure compared to the method of prior art.
- Noise in the received signal could cause threshold triggering error, thus, cause transit time measurement error. However, with multiple triggering mechanisms as illustrated in
FIGS. 7 and 10 , the transit times obtained at each triggering point are averaged to provide a result with reduced error. This not only makes the whole system more robust, but also improves the transit-time measurement accuracy, thus, the flow velocity accuracy, significantly.
Claims (20)
1. A device for measurement of ultrasonic wave transit times of an ultrasonic flow sensor consists of:
a synchronization signal generator,
a reference pulse generator,
a sine wave generator,
an analog signal amplifier,
a comparator,
a plurality of latch circuits,
a digital adder,
an integrator,
an A/D converter,
a master counter,
a plurality of edge counters, and
an arithmetic circuit.
2. The device for measurement of ultrasonic wave transit times of claim 1 , wherein the synchronization signal generator performs the following functions: 1) initiating the measurement cycle, 2) triggering the sine wave generator to start sending sine wave signal to the transmitter of the ultrasonic flow sensor, 3) triggering the reference pulse generator to start generating high frequency clock signal, and 4) commanding the master counter to start counting the reference clock.
3. The device for measurement of ultrasonic wave transit times of claim 1 , wherein the reference pulse generator sends high frequency clock signal to: 1) the master counter, 2) the edge counters, and 3) the latch circuits. These clocks are used to measure the arriving time of the ultrasonic wave at different measuring points.
4. The device for measurement of ultrasonic wave transit times of claim 1 , wherein the sine wave generator sends sine waves to the transmitter of the ultrasonic flow sensor. After certain period of time delay, the sine wave signal arrives at the receiver of the ultrasonic flow sensor with modulated amplitudes.
5. The device for measurement of ultrasonic wave transit times of claim 1 , wherein the analog signal amplifier is AC-coupled. It amplifies the output signal from the receiver of the ultrasonic flow sensor.
6. The device for measurement of ultrasonic wave transit times of claim 1 , wherein the comparator compares the signal received from the analog signal amplifier with the predefined threshold value. When the received signal becomes higher than the threshold value, it outputs a positive pulse. On the other hand, when the received signal becomes lower than the threshold value, it outputs a negative pulse.
7. The device for measurement of ultrasonic wave transit times of claim 1 , wherein the latch circuits are employed to measure the time intervals which are less than one reference clock cycle and cannot be counted by the master counter and the edge counters.
8. The device for measurement of ultrasonic wave transit times of claim 1 , wherein the digital adder is used to add the outputs of all the latch circuits together and then output the summed signal to the integrator.
9. The device for measurement of ultrasonic wave transit times of claim 1 , wherein the integrator converts the short pulse from the adder to an analog exponential signal.
10. The device for measurement of ultrasonic wave transit times of claim 1 , wherein the A/D converter converts the analog output of the integrator to a digital value.
11. The device for measurement of ultrasonic wave transit times of claim 1 , wherein the master counter is used to measure the arriving time of ultrasonic wave at the first measuring point.
12. The device for measurement of ultrasonic wave transit times of claim 1 , wherein the edge counters are used to measure the arriving time of ultrasonic wave at the subsequent measuring points after the first measuring point.
13. The device for measurement of ultrasonic wave transit times of claim 1 , wherein the arithmetic circuit calculates the ultrasonic wave transit times from the inputs of the master counter, the edge counters and the A/D converter, by averaging the arriving times at different measuring points. This time measurement method has less dependency on triggering threshold level and ultrasonic signal amplitudes, and thus has less dependency on threshold drift, threshold stability, system gain fluctuation and signal amplitude variations. With multi-point triggering and multiple transit-time averaging as explained in previous section, this time measurement method is also more robust again noise interference than prior art. As a result, the method can greatly improve the velocity measurement accuracy of an ultrasonic flow sensor.
14. The device for measurement of ultrasonic wave transit times of claim 1 , wherein an even number of latch circuits are employed. And the number of edge counters is always one less than the total number of the latch circuits. For example, if the total number of latch circuits is eight, the total number of the edge counters is seven.
15. The device for measurement of ultrasonic wave transit times of claim 14 , wherein two latch circuits and one edge counter are employed. The ultrasonic wave transit time is calculated based on the average of the arriving times at the first and second measuring points.
16. The device for measurement of ultrasonic wave transit times of claim 14 , wherein four latch circuits and three edge counters are employed. The ultrasonic wave transit time is calculated based on the average of arriving times at the 1-4 measuring points.
17. The device for measurement of ultrasonic wave transit times of claim 16 , wherein the ultrasonic wave transit time is calculated based on the average of arriving times at the third and fourth measuring points.
18. The device for measurement of ultrasonic wave transit times of claim 14 , wherein eight latch circuits and seven edge counters are employed. The ultrasonic wave transit time is calculated based on the average of arriving times at the 1-8 measuring points.
19. The device for measurement of ultrasonic wave transit times of claim 18 , the ultrasonic wave transit time is calculated based on the average of arriving times at the fifth and sixth measuring points.
20. The device for measurement of ultrasonic wave transit times of claim 18 , the ultrasonic wave transit time is calculated based on the average of arriving times at the seventh and eighth measuring points.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US13/646,665 US20140096586A1 (en) | 2012-10-06 | 2012-10-06 | Device and method for measurement of ultrasonic transit times |
| US16/460,650 US11313714B2 (en) | 2012-10-06 | 2019-07-02 | Device and method for measurement of ultrasonic transit times |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US13/646,665 US20140096586A1 (en) | 2012-10-06 | 2012-10-06 | Device and method for measurement of ultrasonic transit times |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/460,650 Continuation US11313714B2 (en) | 2012-10-06 | 2019-07-02 | Device and method for measurement of ultrasonic transit times |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| US20140096586A1 true US20140096586A1 (en) | 2014-04-10 |
Family
ID=50431672
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US13/646,665 Abandoned US20140096586A1 (en) | 2012-10-06 | 2012-10-06 | Device and method for measurement of ultrasonic transit times |
| US16/460,650 Active 2033-01-30 US11313714B2 (en) | 2012-10-06 | 2019-07-02 | Device and method for measurement of ultrasonic transit times |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/460,650 Active 2033-01-30 US11313714B2 (en) | 2012-10-06 | 2019-07-02 | Device and method for measurement of ultrasonic transit times |
Country Status (1)
| Country | Link |
|---|---|
| US (2) | US20140096586A1 (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140303910A1 (en) * | 2013-04-04 | 2014-10-09 | Texas Instruments Incorporated | Extended range adc flow meter |
| CN106294259A (en) * | 2016-08-18 | 2017-01-04 | 长沙丰灼通讯科技有限公司 | Sequential adaptation method is write from asynchronous bus to synchronous bus |
| US20180171848A1 (en) * | 2016-12-21 | 2018-06-21 | Robert Bosch Gmbh | Method for diagnosing a quality signal, control device, control device program and control device program product |
| CN112729484A (en) * | 2020-12-24 | 2021-04-30 | 天信仪表集团有限公司 | Flow rate measuring circuit, flow rate measuring method, flow rate measuring device, gas correction instrument, and storage medium |
| CN114111972A (en) * | 2021-10-29 | 2022-03-01 | 浙江威星智能仪表股份有限公司 | Method for automatically adjusting echo of ultrasonic meter |
| CN116027311A (en) * | 2023-02-10 | 2023-04-28 | 胡龙山 | Synchronous trigger circuit and method for wave trough of ultrasonic wave measurement echo |
| CN117073810A (en) * | 2023-08-22 | 2023-11-17 | 阿米检测技术有限公司 | Ultrasonic flowmeter transit time measurement accuracy detection correction method and application |
| US12247952B2 (en) * | 2021-10-21 | 2025-03-11 | Council Of Scientific And Industrial Research | Ultrasonic pulse velocity tester device with threshold error correction |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111121894B (en) * | 2019-12-25 | 2023-10-20 | 金卡智能集团股份有限公司 | Flow calibration method for ultrasonic gas meter |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4934196A (en) * | 1989-06-02 | 1990-06-19 | Micro Motion, Inc. | Coriolis mass flow rate meter having a substantially increased noise immunity |
| US5748504A (en) * | 1996-06-12 | 1998-05-05 | Welch Allyn, Inc. | Calibration method for use with ultrasonic flowmeters |
| US6928369B2 (en) * | 2001-05-16 | 2005-08-09 | Tokimec, Inc. | Ultrasonic current meter |
| US20090277281A1 (en) * | 2002-03-29 | 2009-11-12 | Invensys Systems, Inc. | Startup techniques for a digital flowmeter |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01301134A (en) | 1988-05-30 | 1989-12-05 | Nippon Beeles- Kk | Pressure transmitter |
-
2012
- 2012-10-06 US US13/646,665 patent/US20140096586A1/en not_active Abandoned
-
2019
- 2019-07-02 US US16/460,650 patent/US11313714B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4934196A (en) * | 1989-06-02 | 1990-06-19 | Micro Motion, Inc. | Coriolis mass flow rate meter having a substantially increased noise immunity |
| US5748504A (en) * | 1996-06-12 | 1998-05-05 | Welch Allyn, Inc. | Calibration method for use with ultrasonic flowmeters |
| US6928369B2 (en) * | 2001-05-16 | 2005-08-09 | Tokimec, Inc. | Ultrasonic current meter |
| US20090277281A1 (en) * | 2002-03-29 | 2009-11-12 | Invensys Systems, Inc. | Startup techniques for a digital flowmeter |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140303910A1 (en) * | 2013-04-04 | 2014-10-09 | Texas Instruments Incorporated | Extended range adc flow meter |
| US10955273B2 (en) * | 2013-04-04 | 2021-03-23 | Texas Instruments Incorporated | Extended range ADC flow meter |
| CN106294259A (en) * | 2016-08-18 | 2017-01-04 | 长沙丰灼通讯科技有限公司 | Sequential adaptation method is write from asynchronous bus to synchronous bus |
| US20180171848A1 (en) * | 2016-12-21 | 2018-06-21 | Robert Bosch Gmbh | Method for diagnosing a quality signal, control device, control device program and control device program product |
| US10458304B2 (en) * | 2016-12-21 | 2019-10-29 | Robert Bosch Gmbh | Method for diagnosing a quality signal, control device, control device program and control device program product |
| CN112729484A (en) * | 2020-12-24 | 2021-04-30 | 天信仪表集团有限公司 | Flow rate measuring circuit, flow rate measuring method, flow rate measuring device, gas correction instrument, and storage medium |
| US12247952B2 (en) * | 2021-10-21 | 2025-03-11 | Council Of Scientific And Industrial Research | Ultrasonic pulse velocity tester device with threshold error correction |
| CN114111972A (en) * | 2021-10-29 | 2022-03-01 | 浙江威星智能仪表股份有限公司 | Method for automatically adjusting echo of ultrasonic meter |
| CN116027311A (en) * | 2023-02-10 | 2023-04-28 | 胡龙山 | Synchronous trigger circuit and method for wave trough of ultrasonic wave measurement echo |
| CN117073810A (en) * | 2023-08-22 | 2023-11-17 | 阿米检测技术有限公司 | Ultrasonic flowmeter transit time measurement accuracy detection correction method and application |
Also Published As
| Publication number | Publication date |
|---|---|
| US20190323878A1 (en) | 2019-10-24 |
| US11313714B2 (en) | 2022-04-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11313714B2 (en) | Device and method for measurement of ultrasonic transit times | |
| US10330508B2 (en) | Ultrasonic flowmeter using windowing of received signals | |
| US3762221A (en) | Measurement of fluid flow rates | |
| JP4904289B2 (en) | Ultrasonic flow sensor using modulo 2pi residue tracking | |
| US8972208B2 (en) | Flow meter device | |
| US11378686B2 (en) | Ultrasonic echo processing in presence of Doppler shift | |
| CN101248331A (en) | Low power ultrasonic flow measurement | |
| CN103542901A (en) | Flow meter | |
| CN103868555A (en) | Circulatory time difference detection method for ultrasonic flow meter | |
| JPH0285762A (en) | Speed measuring device | |
| EP2642256B1 (en) | Measurement arrangement and method | |
| US7958786B2 (en) | Flow measurement system and method using enhanced phase difference detection | |
| US20170138773A1 (en) | Method Of Measuring Time Of Flight Of An Ultrasound Pulse | |
| CN102866261B (en) | Method for detecting flight time of ultrasonic wave in flow speed measurement | |
| US12146776B2 (en) | Propagation time measurement device | |
| US20120146838A1 (en) | Method & Device for Measuring a Change in Distance | |
| US20120271569A1 (en) | Ultrasonic flow meter | |
| Han et al. | Measurement range expansion of continuous wave ultrasonic anemometer | |
| JP4976287B2 (en) | Detection of ultrasonic signal reception point by pulse waveform detection | |
| JP2012058186A (en) | Ultrasonic flowmeter | |
| US20130063127A1 (en) | Noise reduction system and method | |
| CN107532933B (en) | Method for determining the transit time of an ultrasonic pulse train, in particular in an ultrasonic flow meter, flow meter | |
| RU2791667C1 (en) | Method for ultrasonic measurement of parameters of gas-air homogeneous flows | |
| CN113124947A (en) | Flow detection device, flowmeter and flow detection method | |
| Chande et al. | Ultrasonic flow velocity sensor based on picosecond timing system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: FINAL REJECTION MAILED |
|
| STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |