CN114111972A - Method for automatically adjusting echo of ultrasonic meter - Google Patents
Method for automatically adjusting echo of ultrasonic meter Download PDFInfo
- Publication number
- CN114111972A CN114111972A CN202111272091.0A CN202111272091A CN114111972A CN 114111972 A CN114111972 A CN 114111972A CN 202111272091 A CN202111272091 A CN 202111272091A CN 114111972 A CN114111972 A CN 114111972A
- Authority
- CN
- China
- Prior art keywords
- low
- ref
- wave
- height
- groups
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 238000005259 measurement Methods 0.000 claims abstract description 31
- 230000003321 amplification Effects 0.000 claims description 17
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 17
- 239000000463 material Substances 0.000 claims description 3
- 238000002592 echocardiography Methods 0.000 abstract 3
- 238000010586 diagram Methods 0.000 description 5
- 238000011161 development Methods 0.000 description 2
- 230000004807 localization Effects 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 238000012356 Product development Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 239000012533 medium component Substances 0.000 description 1
- 238000002604 ultrasonography Methods 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Images
Landscapes
- Length Measuring Devices Characterised By Use Of Acoustic Means (AREA)
- Investigating Or Analyzing Materials By The Use Of Ultrasonic Waves (AREA)
Abstract
The invention provides a method for automatically adjusting echoes of an ultrasonic meter, and provides a method for comparing multiple groups of threshold values. The method comprises the steps of setting reference voltages of a plurality of groups of comparators, and automatically adjusting the head wave amplitude of ultrasonic wave echoes according to the average value of the ultrasonic wave flight time obtained by comparing different groups of reference voltages, wherein the head wave amplitude is larger than a high area group in n groups of reference voltages, and the noise of the echoes cannot be larger than a low area group in n groups of reference voltages, so that the reliability of the ultrasonic wave flight time is ensured. The method can quickly realize the automatic adjustment of the size of the ultrasonic wave echo, control the size of the echo within a required range, ensure the accurate measurement of the flight time of the ultrasonic wave and finally ensure the accuracy and the reliability of the ultrasonic wave measurement.
Description
Technical Field
The invention belongs to the field of ultrasonic gas meter measurement, and particularly relates to a method for automatically adjusting echo of an ultrasonic meter.
Background
Ultrasonic metering technology, with its unique advantages, is becoming more and more focused and focused in the gas and water industries. With the large-scale popularization of domestic and foreign markets for over ten years, the application of the ultrasonic metering technology is more and more mature, and the new metering technology is accepted and accepted by the market. From the development of the current industry, the ultrasonic metering technology will be the trend of the future electronic metering development of the gas and water industry.
However, the core technology of ultrasound is still held in foreign enterprises, such as: loose, love, west gram, etc. Thus, during domestic use, the verbal rights of price and supply are often limited. To get rid of the limitation and fully popularize the ultrasonic metering technology, the localization of the core technology is imperative.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a method for automatically adjusting the echo of an ultrasonic meter, which compares the first wave of the echo of the ultrasonic meter with a plurality of groups of threshold values with different sizes and adjusts the amplitude of the first wave of the echo through different flight time difference values obtained after comparison, thereby realizing the automatic gain function of the ultrasonic meter.
In order to solve the phenomenon of wave jump, the method provides a method for comparing a plurality of groups of threshold values. I.e. setting the reference voltages V of the plurality of sets of comparatorsrefThrough different groups VrefComparing the obtained average value of the flight time of the ultrasonic wave to automatically adjust the head wave amplitude of the ultrasonic wave echo, namely the head wave amplitude is larger than n groups of VrefMedium high block, while the echo noise cannot be larger than n blocks VrefAnd (4) low area group in the middle, thereby ensuring the reliability of the flight time of the ultrasonic wave.
A method for automatically adjusting echo of an ultrasonic meter comprises the following steps:
and (1) setting reference voltages of n groups of comparators according to different proportions of the minimum value of the head wave based on the minimum value of the head wave amplitude required by the ultrasonic flight time timing. Then according to the proportion from large to small, the materials are divided into high area groups Vref is highMiddle zone group VIn refAnd low block group Vref is low;
Step (2), respectively setting normal ranges of echo periods, wherein the normal ranges are respectively T according to the sizesBig (a)、TSmallAnd the hopping threshold is T.
Step (3) time measurement of one period is carried out according to reference voltages of the n groups of comparators, the flight time of the arriving head wave is collected, and three subareas V are calculatedref is high、VIn ref、Vref is lowCorresponding time of flight mean THeight of、TInTIs low in。
And (4) judging the average value of the flight time according to the set normal range size and the wave-hopping threshold of the echo period.
When T isIs low in<TSmallOr TIs low in>TBig (a)If the noise is judged to be excessive due to an excessive amplification factor, the amplification factor of the variable amplifier is reduced by N times (3. ltoreq. N) of the minimum variable quantity of the variable amplifier. And (4) restarting the step (3).
Step (5) when T is reachedHeight of<TSmallOr THeight of>TBig (a)Or TIn<TSmallOr TIn>TBig (a)The influence of noise is determined. And (4) restarting the step (3).
Step (6) when T is reachedHeight of-TIn>And T, judging that the 'jump wave' occurs, increasing the amplification factor of the variable amplifier according to the minimum variable quantity of the variable amplifier, restarting the step (3), and measuring a new period until THeight of-TIn<T; when T isHeight of-TIs low in<And T, judging the noise influence, ignoring the measurement data of the current round, and performing measurement of a new period again.
Step (7) when T is reachedIn-TIs low in>T, judging that the 'jump wave' occurs, increasing the amplification factor of the variable amplifier according to the minimum variable quantity of the variable amplifier, restarting the step (3), and measuring a new period; t isHeight of-TIs low in<And T, judging the noise influence, ignoring the current round of measurement data and restarting the step (3).
Step (8) and finally, when T is reachedHeight of-TIn<T and TIn-TIs low in<T, obtaining the effective flight time T in the quilt periodIn。
Further, dividing n groups of comparator reference voltages into partitions according to the proportion of the amplitude of the head wave: when 0.7 Vol is not less than Vref not more than 0.9 Vol, the block is divided into high blocks Vref is highWhen 0.4 Vol is not more than Vref and less than 0.7 Vol, the intermediate block V is divided intoIn refWhen 0.2 Vol is not more than Vref and less than 0.4 Vol, the low-level block V is divided intoref is low。
The invention has the following beneficial effects:
the method can quickly realize the automatic adjustment of the size of the ultrasonic wave echo, control the size of the echo within a required range, ensure the accurate measurement of the flight time of the ultrasonic wave and finally ensure the accuracy and the reliability of the ultrasonic wave measurement. Of course, the application of this method needs high-quality echo signals as a basis, so the localization of the ultrasonic metering core technology puts high requirements on hardware design.
Drawings
FIG. 1 is a schematic block diagram of an ultrasonic meter receiving section;
FIG. 2 is a diagram of an ultrasonic metrology echo waveform;
FIG. 3 is a waveform diagram of an ultrasonic measurement echo compared to a reference voltage;
fig. 4 is a comparative level change waveform diagram.
Detailed Description
The method of the invention is further described below with reference to the accompanying drawings and examples.
The schematic block diagram of the ultrasonic measurement receiving part is shown in fig. 1, and generally comprises a receiving end ultrasonic transducer, one-stage or multi-stage fixed amplification, two-stage variable amplification, a comparator and a TDC timing chip. The original waveform received by the transducer at the receiving end is generally only dozens of mv different, and enters the comparator after fixed and variable multi-stage amplification, and the comparator outputs standard pulse waves to reach a TDC timing chip to finish time measurement transmitted to the receiving.
The waveform after multistage amplification, i.e. the comparator front-end waveform, is shown as 1 in fig. 2. Wherein the amplitude of the head wave is close to 1 v. Reference voltage V of comparatorrefIs a fixed value, assume that V is nowref500mv, the amplitude of the head wave is larger than VrefThe time of the head wave will be measured as shown in figure 3. However, the amplitude of the original waveform at the receiving end changes with the difference of temperature, pressure and medium components, the amplitude of the head wave before reaching the comparator changes, if the amplitude of the head wave is smaller than the reference voltage of the comparator, the time of the head wave is ignored, the phenomenon is generally called as the wave jump phenomenon of ultrasonic measurement, and the phenomenon is also the ultrasonic measurement technologyThe most central and difficult problem in the art.
A method for automatically adjusting echo of an ultrasonic meter comprises the following steps:
and (1) setting reference voltages of n groups of comparators according to different proportions of the minimum value of the head wave based on the minimum value of the head wave amplitude required by the ultrasonic flight time timing. Then according to the proportion from large to small, the materials are divided into high area groups Vref is highMiddle zone group VIn refAnd low block group Vref is low;
Dividing reference voltages of n groups of comparators in a partition mode according to the proportion of the amplitude of the head wave: when 0.7 Vol is not less than Vref not more than 0.9 Vol, the block is divided into high blocks Vref is highWhen 0.4 Vol is not more than Vref and less than 0.7 Vol, the intermediate block V is divided intoIn refWhen 0.2 Vol is not more than Vref and less than 0.4 Vol, the low-level block V is divided intoref is low。
Step (2), respectively setting normal ranges of echo periods, wherein the normal ranges are respectively T according to the sizesBig (a)、TSmallAnd the hopping threshold is T.
Step (3) time measurement of one period is carried out according to reference voltages of the n groups of comparators, the flight time of the arriving head wave is collected, and three subareas V are calculatedref is high、VIn ref、Vref is lowCorresponding time of flight mean THeight of、TInTIs low in。
And (4) judging the average value of the flight time according to the set normal range size and the wave-hopping threshold of the echo period.
When T isIs low in<TSmallOr TIs low in>TBig (a)If the noise is judged to be excessive due to an excessive amplification factor, the amplification factor of the variable amplifier is reduced by N times (3. ltoreq. N) of the minimum variable quantity of the variable amplifier. And (4) restarting the step (3).
Step (5) when T is reachedHeight of<TSmallOr THeight of>TBig (a)Or TIn<TSmallOr TIn>TBig (a)The influence of noise is determined. And (4) restarting the step (3).
Step (6) when T is reachedHeight of-TIn>T, judging outAnd (4) increasing the amplification factor of the variable amplifier according to the minimum variable quantity of the variable amplifier, restarting the step (3), and measuring a new period until THeight of-TIn<T; when T isHeight of-TIs low in<And T, judging the noise influence, ignoring the measurement data of the current round, and performing measurement of a new period again.
Step (7) when T is reachedIn-TIs low in>T, judging that the 'jump wave' occurs, increasing the amplification factor of the variable amplifier according to the minimum variable quantity of the variable amplifier, restarting the step (3), and measuring a new period; t isHeight of-TIs low in<And T, judging the noise influence, ignoring the current round of measurement data and restarting the step (3).
Step (8) and finally, when T is reachedHeight of-TIn<T and TIn-TIs low in<T, obtaining the effective flight time T in the quilt periodIn。
In this patent, three groups of V are usedrefFor example. In connection with FIG. 2, assume three groups VrefAre each Vref1=700mv,Vref2=500mv,Vref3300 mv. During a period of time measurement, according to Vref1、Vref2、Vref3The flight times of the collected first arrival waves are respectively T1、T2、T3Magnification is defined as DxThe normal range of the echo period is Ta、TbThe hopping threshold is Tc. After completion of a measurement cycle, when T3<TbOr T3>TaWhen the amplification factor is too large, the noise is too large, and D is setx=Dx-5, a new measurement period; when T isb<T3<TaWhile at the same time Tb<T2<TaAnd Tb<T1<TaEntering a process of judging 'wave jumping', otherwise judging as noise influence, and restarting a new measurement period; after entering judgment of 'wave jump', the signal is processed as T1-T2>Tc, judging the occurrence of 'wave jump', at this moment, setting DX=DX+1, restart a new measurement cycle;;T1-T2<and Tc, judging the influence of noise, ignoring the measurement data of the current round and restarting a new measurement period. When is-T<T1-T2<At Tc, then T is determined2And T3. In the same way, when T2-T3>Tc, judging the occurrence of 'wave jump', at this moment, setting DX=DX+1, restart a new measurement cycle; t is2-T3<And Tc, judging the influence of noise, ignoring the measurement data of the current round and restarting a new measurement period. Finally, when is-Tc<T3-T2<Tc, and-Tc<T2-T1<Tc, to obtain the effective flight time T2And applied to subsequent algorithms.
This method has been applied to actual product development, as shown in fig. 4, 2, and achieves good results.
Claims (2)
1. A method for automatically adjusting echo of an ultrasonic meter is characterized by comprising the following steps:
step (1), setting reference voltages of n groups of comparators according to different proportions of the minimum value of the head wave based on the minimum value of the head wave amplitude required by ultrasonic flight time timing; then according to the proportion from large to small, the materials are divided into high area groups Vref is highMiddle zone group VIn refAnd low block group Vref is low;
Step (2), respectively setting normal ranges of echo periods, wherein the normal ranges are respectively T according to the sizesBig (a)、TSmallThe wave hopping threshold is T;
step (3) time measurement of one period is carried out according to reference voltages of the n groups of comparators, the flight time of the arriving head wave is collected, and three subareas V are calculatedref is high、VIn ref、Vref is lowCorresponding time of flight mean THeight of、TInTIs low in;
Step (4), judging the average value of the flight time according to the set normal range size and the wave-hopping threshold value of the echo period;
when T isIs low in<TSmallOr TIs low in>TBig (a)If the noise is over-large due to over-large amplification factor, reducing the amplification factor of the variable amplifier according to N times (N is more than or equal to 3) of the minimum variable quantity of the variable amplifier; restarting the step (3);
step (5) when T is reachedHeight of<TSmallOr THeight of>TBig (a)Or TIn<TSmallOr TIn>TBig (a)Judging the influence of noise; restarting the step (3);
step (6) when T is reachedHeight of-TIn>And T, judging that the 'jump wave' occurs, increasing the amplification factor of the variable amplifier according to the minimum variable quantity of the variable amplifier, restarting the step (3), and measuring a new period until THeight of-TIn<T; when T isHeight of-TIs low in<T, judging the noise influence, neglecting the measurement data of the current round, and measuring the new period again;
step (7) when T is reachedIn-TIs low in>T, judging that the 'jump wave' occurs, increasing the amplification factor of the variable amplifier according to the minimum variable quantity of the variable amplifier, restarting the step (3), and measuring a new period; t isHeight of-TIs low in<-T, judging as noise influence, ignoring the current round of measurement data, and restarting the step (3);
step (8) and finally, when T is reachedHeight of-TIn<T and TIn-TIs low in<T, obtaining the effective flight time T in the quilt periodIn。
2. The method for automatically adjusting the echo of an ultrasonic meter according to claim 1, wherein the n groups of comparator reference voltages are partitioned according to the ratio of the head wave amplitude: when 0.7 Vol is not less than Vref not more than 0.9 Vol, the block is divided into high blocks Vref is highWhen 0.4 Vol is not more than Vref and less than 0.7 Vol, the intermediate block V is divided intoIn refWhen 0.2 Vol is not more than Vref and less than 0.4 Vol, the low-level block V is divided intoref is low。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111272091.0A CN114111972B (en) | 2021-10-29 | 2021-10-29 | Method for automatically adjusting echo of ultrasonic meter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111272091.0A CN114111972B (en) | 2021-10-29 | 2021-10-29 | Method for automatically adjusting echo of ultrasonic meter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114111972A true CN114111972A (en) | 2022-03-01 |
CN114111972B CN114111972B (en) | 2024-05-17 |
Family
ID=80379815
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111272091.0A Active CN114111972B (en) | 2021-10-29 | 2021-10-29 | Method for automatically adjusting echo of ultrasonic meter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114111972B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115993158A (en) * | 2023-02-24 | 2023-04-21 | 北京安超微电子有限公司 | Head wave detection threshold setting method for ultrasonic flow metering device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040020307A1 (en) * | 2002-08-05 | 2004-02-05 | Osamu Eguchi | Flow meter |
US20050055171A1 (en) * | 2003-09-08 | 2005-03-10 | Daniel Industries, Inc. | Self-tuning ultrasonic meter |
US20140096586A1 (en) * | 2012-10-06 | 2014-04-10 | Spire Metering Technology LLC | Device and method for measurement of ultrasonic transit times |
CN106643939A (en) * | 2017-02-20 | 2017-05-10 | 重庆川仪自动化股份有限公司 | Method for calculating ultrasonic transmission time through ultrasonic flowmeter |
CN107131918A (en) * | 2017-07-02 | 2017-09-05 | 中国计量大学 | A kind of low-consumption ultrasonic flow measurement meter echo signal processing method and circuit |
CN206905826U (en) * | 2017-07-02 | 2018-01-19 | 中国计量大学 | Low-consumption ultrasonic flow measurement meter echo signal processing circuit |
CN108548578A (en) * | 2018-03-29 | 2018-09-18 | 中国计量大学 | A kind of ultrasonic echo signal characteristic peak recognition methods based on adaptive threshold |
CN111121894A (en) * | 2019-12-25 | 2020-05-08 | 金卡智能集团股份有限公司 | Flow calibration method for ultrasonic gas meter |
-
2021
- 2021-10-29 CN CN202111272091.0A patent/CN114111972B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040020307A1 (en) * | 2002-08-05 | 2004-02-05 | Osamu Eguchi | Flow meter |
US20050055171A1 (en) * | 2003-09-08 | 2005-03-10 | Daniel Industries, Inc. | Self-tuning ultrasonic meter |
US20140096586A1 (en) * | 2012-10-06 | 2014-04-10 | Spire Metering Technology LLC | Device and method for measurement of ultrasonic transit times |
CN106643939A (en) * | 2017-02-20 | 2017-05-10 | 重庆川仪自动化股份有限公司 | Method for calculating ultrasonic transmission time through ultrasonic flowmeter |
CN107131918A (en) * | 2017-07-02 | 2017-09-05 | 中国计量大学 | A kind of low-consumption ultrasonic flow measurement meter echo signal processing method and circuit |
CN206905826U (en) * | 2017-07-02 | 2018-01-19 | 中国计量大学 | Low-consumption ultrasonic flow measurement meter echo signal processing circuit |
CN108548578A (en) * | 2018-03-29 | 2018-09-18 | 中国计量大学 | A kind of ultrasonic echo signal characteristic peak recognition methods based on adaptive threshold |
CN111121894A (en) * | 2019-12-25 | 2020-05-08 | 金卡智能集团股份有限公司 | Flow calibration method for ultrasonic gas meter |
Non-Patent Citations (1)
Title |
---|
谭超;胡诗俊;宫浩;王家成;李宗燎;: "基于TDC-GP22芯片的超声波流量计", 电子器件, no. 04, 20 August 2018 (2018-08-20) * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115993158A (en) * | 2023-02-24 | 2023-04-21 | 北京安超微电子有限公司 | Head wave detection threshold setting method for ultrasonic flow metering device |
CN115993158B (en) * | 2023-02-24 | 2023-08-22 | 北京安超微电子有限公司 | Head wave detection threshold setting method for ultrasonic flow metering device |
Also Published As
Publication number | Publication date |
---|---|
CN114111972B (en) | 2024-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114111972A (en) | Method for automatically adjusting echo of ultrasonic meter | |
CN108548578A (en) | A kind of ultrasonic echo signal characteristic peak recognition methods based on adaptive threshold | |
CN107607168B (en) | Household ultrasonic water meter self-adaption method | |
CN115993158B (en) | Head wave detection threshold setting method for ultrasonic flow metering device | |
CN111323101B (en) | Self-adaptive automatic calibration method for ultrasonic meter | |
CN105698886A (en) | Gas flow detection method based on ultrasonic detection technique | |
CN109579950A (en) | A kind of mistake proofing wave detection device of Ultrasonic Wave Flowmeter | |
CN114859002B (en) | Quality monitoring method and system based on wastewater monitoring data | |
CN112505519A (en) | Method, device and computer readable storage medium for monitoring and confirming aging state of semiconductor device | |
US8872540B2 (en) | Method of sharing in use an impedance matching circuit of a memory circuit to perform an initial calibration and a full time refresh mode calibration, and memory circuit with an impedance matching circuit capable of being used in an initial calibration and a full time refresh mode calibration | |
CN116027311A (en) | Synchronous trigger circuit and method for wave trough of ultrasonic wave measurement echo | |
CN111157066A (en) | Gas ultrasonic flowmeter transit time calculation method based on first envelope contact ratio | |
CN114152298B (en) | Method for ultrasonic metering flight time sampling | |
CN105157772B (en) | Timer expiration method and circuit and ultrasonic wave detecting system based on the circuit | |
CN114543949A (en) | Self-adaptive metering method of ultrasonic water meter | |
CN114323211A (en) | System, method, electronic device and storage medium for reliable acquisition of time of flight | |
CN103486987A (en) | Method for improving ultrasonic thickness measurement accuracy by using curve fitting | |
CN114257301A (en) | Method for improving optical module optical signal loss debugging precision | |
CN118129848B (en) | Excitation signal adjusting method suitable for ultrasonic water meter | |
CN114355089B (en) | Electromagnetic environment effect boundary testing method for electronic system | |
CN116930808B (en) | Stability testing method, device and equipment for power loop and storage medium | |
CN118129847B (en) | Method for improving flow measurement precision of ultrasonic water meter | |
Liang et al. | Research and Implementation of Automatic Gain Control Method for Time-Difference Ultrasonic Gas Meter | |
CN117268512B (en) | Consistency optimization method suitable for ultrasonic water meter | |
CN110500960B (en) | Grating signal compensation method and compensation system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |