CN104362993A - Automatic gain adjustment control method of liquid ultrasonic flow meter - Google Patents
Automatic gain adjustment control method of liquid ultrasonic flow meter Download PDFInfo
- Publication number
- CN104362993A CN104362993A CN201410651473.8A CN201410651473A CN104362993A CN 104362993 A CN104362993 A CN 104362993A CN 201410651473 A CN201410651473 A CN 201410651473A CN 104362993 A CN104362993 A CN 104362993A
- Authority
- CN
- China
- Prior art keywords
- signal amplitude
- signal
- threshold value
- amplitude
- control method
- 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.)
- Pending
Links
Landscapes
- Measuring Volume Flow (AREA)
Abstract
The invention relates to an automatic gain adjustment control method of a liquid ultrasonic flow meter. According to the control method, whether the adjustment process achieves a predicted aim is judged in the mode that a signal amplitude measured last time is recorded, and the size relationships between a signal amplitude measured this time, the signal amplitude measured last time, the low threshold of a signal amplitude and the high threshold of the signal amplitude are compared, so that the amplitude of echo signals is optimal and stability of measurement results is guaranteed. By means of the control method, according to the measured signal amplitude, needed signal gain is automatically adjusted, the amplitude of the amplified echo signals is more stable by means of a specific signal amplifier circuit, and processing of a subsequent circuit is facilitated.
Description
Technical field
The present invention relates to ultrasonic flowmeter, particularly a kind of control method of liquid ultrasonic low automatic gain control.
Background technology
The signal processing circuits such as the echo-signal of liquid ultrasonic low generally needs after filtering, amplification, envelope detection, and then compare with Zero-cross comparator determination echo detecting point by overvoltage, calculate the propagation time, poor according to positive retrace interval, realize the function of flow measurement.The signal transmitting amplitude of liquid ultrasonic low is generally little, at a few V to tens V; After Medium Propagation, signal amplitude generally can decay to tens mV to tens mV, so have to pass through the amplification process of signal, the signal transacting such as can reliablely and stablely carry out follow-up detection and compare, the signal amplitude after amplification generally at hundreds of mV to a few V.In signal amplification circuit, if multiplication factor is excessive, excessive noise will be introduced or produce echo-signal distortion phenomenon; If multiplication factor is too small, the measurement of echo detecting point will be made unstable.In testing circuit, echo signal intensity, generally by amplitude detection circuit, through AD sampling, records signal amplitude.
The control method of general automatic gain control is by detection of echoes signal amplitude, namely calculates and complete gain-adjusted in adjustment multiplication factor to the threshold range set in advance.In order to prevent, after twice continuously adjustment, once recording Amplitude Ration low level threshold value little, it is large that another time records the high-order threshold value of Amplitude Ration, produces the concussion situation of adjustment process thus, and therefore the scope of threshold value setting is general all larger.The shortcoming of this gain adjusting method therefore is, because threshold range is large, the signal amplitude after adjustment also can change greatly because of factors such as different adjustment direction, and this can have an impact to the stability of follow-up measurement.
Summary of the invention
In view of above-mentioned existing technology status, the invention provides a kind of control method of liquid ultrasonic low automatic gain control.Its principle is the last signal amplitude size recorded of record, the amplitude that this records amplitude by comparing, the last time records, the magnitude relationship between low level threshold value and high-order threshold value, judge whether adjustment process accomplishes the end in view, make the amplitude of echo-signal reach best, guarantee the stable of measurement result.
The technical scheme that the present invention takes is: a kind of control method of liquid ultrasonic low automatic gain control, it is characterized in that, this control method is: according to liquid ultrasonic flowmeter electronics signal, the low level threshold value of the good signal amplitude of initializing set and high-order threshold value; After each detection signal amplitude, first make comparisons with low level threshold value and high-order threshold value, if the signal amplitude detected is less than low level threshold value, then signal gain rank add 1, record the signal amplitude that this detects, carry out detection signal amplitude com parison next time; If the signal amplitude detected is greater than high-order threshold value, then signal gain rank subtract 1, record the signal amplitude that this detects, carry out detection signal amplitude com parison next time; If the signal amplitude recorded is between low level threshold value and high-order threshold value, the signal amplitude then recorded the last time and low level threshold value are made comparisons, if the signal amplitude that the last time records is greater than low level threshold value, then signal gain rank subtract 1, record the signal amplitude that this detects, carry out detection signal amplitude com parison next time; If the signal amplitude that the last time records is less than or equal to low level threshold value, then automatic gain control terminates.
Signal gain rank can be understood as in a certain concrete signal amplification regulating circuit, its signal gain rank add 1 or signal gain rank subtract 1, the amplitude that signal can be made to be exaggerated rear increase or minimizing is minimum.Signal gain rank are larger, and signal amplification factor can be larger, and signal amplitude is larger.
The beneficial effect that the present invention produces is: according to the signal amplitude recorded, can automatically adjust the signal gain of needs, echo-signal amplitude after amplifying can be made more stable, be more conducive to the process of subsequent conditioning circuit in conjunction with concrete signal amplification circuit.
Accompanying drawing explanation
Fig. 1 is control program flow chart of the present invention;
Fig. 2 is liquid ultrasonic flowmeter electronics theory diagram of the present invention;
Fig. 3 is signal amplification circuit schematic diagram in Fig. 2.
Embodiment
Below in conjunction with accompanying drawing, the invention will be further described:
In the initialization of this control method, according to testing circuit and the amplifying circuit characteristic of concrete liquid ultrasonic flowmeter electronics, first the low level threshold value of circuit signal amplitude and high-order threshold size are set.As shown in Figure 2, echo-signal, by after signal amplification circuit, carries out follow-up signal process through envelope detection circuit on the one hand, and a part, by amplitude detection circuit, through AD sampling, records signal amplitude to CPU.CPU is according to this control method determination gain adjustment value, and the gain of control signal amplifying circuit, realizes the gain control process of liquid ultrasonic low.
As shown in Figure 3, in figure, SI represents the echo-signal of input, and SO represents the amplified signal of output.DC component is removed in the effect of electric capacity C1 and electric capacity C2, IC1A, IC1B, IC3A and IC3B are analog switch, control its pin KZ1, KZ2, KZ3, KZ4 to be connected with central processing unit, respectively by the on off state of control simulation switch, 16 kinds of different signal gain rank are combined into, for adjusting signal gain by resistance R1, resistance R2, resistance R3, resistance R4, resistance R5, resistance R6, resistance R7, resistance R8.Wherein 3.0V is supply power voltage, and the effect of 1.5V is to provide DC component.
As shown in Figure 1, the concrete steps of this control method are as follows:
1, detection signal amplitude, judges whether signal amplitude is less than low level threshold value, if so, jumps to step 2; If not, jump to step 3.
2, signal gain rank are added 1, and record this amplitude, carry out detection signal amplitude com parison next time, jump to step 1.
3, judge whether the signal amplitude detected is greater than high-order threshold value, if so, jumps to step 4; If not, jump to step 5.
4, signal gain rank are subtracted 1, and record this amplitude, carry out detection signal amplitude com parison next time, jump to step 1.
5, judge whether last amplitude is greater than low level threshold value, if so, jumps to step 4; If not automatic gain control terminates.
According to the above description, the present invention program can be realized in conjunction with art technology.
Claims (1)
1. a control method for liquid ultrasonic low automatic gain control, is characterized in that, this control method is: according to liquid ultrasonic flowmeter electronics signal, the low level threshold value of the good signal amplitude of initializing set and high-order threshold value; After each detection signal amplitude, first make comparisons with low level threshold value and high-order threshold value, if the signal amplitude detected is less than low level threshold value, then signal gain rank add 1, record the signal amplitude that this detects, carry out detection signal amplitude com parison next time; If the signal amplitude detected is greater than high-order threshold value, then signal gain rank subtract 1, record the signal amplitude that this detects, carry out detection signal amplitude com parison next time; If the signal amplitude recorded is between low level threshold value and high-order threshold value, the signal amplitude then recorded the last time and low level threshold value are made comparisons, if the signal amplitude that the last time records is greater than low level threshold value, then signal gain rank subtract 1, record the signal amplitude that this detects, carry out detection signal amplitude com parison next time; If the signal amplitude that the last time records is less than or equal to low level threshold value, then automatic gain control terminates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410651473.8A CN104362993A (en) | 2014-11-17 | 2014-11-17 | Automatic gain adjustment control method of liquid ultrasonic flow meter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410651473.8A CN104362993A (en) | 2014-11-17 | 2014-11-17 | Automatic gain adjustment control method of liquid ultrasonic flow meter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104362993A true CN104362993A (en) | 2015-02-18 |
Family
ID=52530226
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410651473.8A Pending CN104362993A (en) | 2014-11-17 | 2014-11-17 | Automatic gain adjustment control method of liquid ultrasonic flow meter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104362993A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106404128A (en) * | 2016-11-28 | 2017-02-15 | 中环天仪股份有限公司 | High-precision ultrasonic level meter and measuring method |
CN106643931A (en) * | 2016-09-23 | 2017-05-10 | 三川智慧科技股份有限公司 | Ultrasonic flow measuring method and device |
CN111934656A (en) * | 2020-08-20 | 2020-11-13 | 索伦特(天津)自动化技术有限公司 | Hysteresis comparison circuit for automatic gain adjustment of gas ultrasonic flowmeter and implementation method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1703774A2 (en) * | 2005-03-19 | 2006-09-20 | Microsoft Corporation | Automatic audio gain control for concurrent capture applications |
CN101060346A (en) * | 2006-04-20 | 2007-10-24 | 中兴通讯股份有限公司 | A device and method for improving the dynamic range of receiver |
CN101882918A (en) * | 2009-05-07 | 2010-11-10 | 财团法人工业技术研究院 | Automatic gain control method and device |
CN201819713U (en) * | 2010-09-14 | 2011-05-04 | 上海维思仪器仪表有限公司 | Ultrasonic transmitting and receiving circuit for ultrasonic flowmeters |
CN102111166A (en) * | 2010-12-08 | 2011-06-29 | 大唐移动通信设备有限公司 | Method and equipment for regulating gain of radio-frequency amplifier |
US20110158432A1 (en) * | 2009-12-30 | 2011-06-30 | Mstar Semiconductor, Inc. | Audio Volume Control Circuit and Method Thereof |
CN103312363A (en) * | 2012-03-12 | 2013-09-18 | 美国博通公司 | Near field communications (nfc) device having adjustable gain |
-
2014
- 2014-11-17 CN CN201410651473.8A patent/CN104362993A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1703774A2 (en) * | 2005-03-19 | 2006-09-20 | Microsoft Corporation | Automatic audio gain control for concurrent capture applications |
CN101060346A (en) * | 2006-04-20 | 2007-10-24 | 中兴通讯股份有限公司 | A device and method for improving the dynamic range of receiver |
CN101882918A (en) * | 2009-05-07 | 2010-11-10 | 财团法人工业技术研究院 | Automatic gain control method and device |
US20110158432A1 (en) * | 2009-12-30 | 2011-06-30 | Mstar Semiconductor, Inc. | Audio Volume Control Circuit and Method Thereof |
CN201819713U (en) * | 2010-09-14 | 2011-05-04 | 上海维思仪器仪表有限公司 | Ultrasonic transmitting and receiving circuit for ultrasonic flowmeters |
CN102111166A (en) * | 2010-12-08 | 2011-06-29 | 大唐移动通信设备有限公司 | Method and equipment for regulating gain of radio-frequency amplifier |
CN103312363A (en) * | 2012-03-12 | 2013-09-18 | 美国博通公司 | Near field communications (nfc) device having adjustable gain |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106643931A (en) * | 2016-09-23 | 2017-05-10 | 三川智慧科技股份有限公司 | Ultrasonic flow measuring method and device |
CN106643931B (en) * | 2016-09-23 | 2019-03-01 | 三川智慧科技股份有限公司 | A kind of ultrasonic flow rate measuring method and device |
CN106404128A (en) * | 2016-11-28 | 2017-02-15 | 中环天仪股份有限公司 | High-precision ultrasonic level meter and measuring method |
CN111934656A (en) * | 2020-08-20 | 2020-11-13 | 索伦特(天津)自动化技术有限公司 | Hysteresis comparison circuit for automatic gain adjustment of gas ultrasonic flowmeter and implementation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107131918B (en) | Echo signal processing method and circuit of low-power-consumption ultrasonic flowmeter | |
CN106404128A (en) | High-precision ultrasonic level meter and measuring method | |
CN104362993A (en) | Automatic gain adjustment control method of liquid ultrasonic flow meter | |
CN206387477U (en) | A kind of high-precision ultrasonic level meter | |
JP2016500993A5 (en) | ||
CN105306024A (en) | Peak voltage detection circuit | |
CN215833495U (en) | Power consumption detection device for computer | |
CN114073412B (en) | Temperature detection circuit and method and cooking utensil | |
US20110169480A1 (en) | Low voltage differential signaling test system and method | |
CN103529096A (en) | Oxygen partial pressure sensor signal processing circuit | |
US11143751B2 (en) | Sound sensing with time-varying thresholds | |
CN203811215U (en) | Dynamic peak detection circuit for ultrasonic gas meter | |
CN203251273U (en) | Charge amplifier | |
US20150231987A1 (en) | Adjustment Module and Battery Management System Thereof | |
CN106841751B (en) | Voltage rise and fall quantitative detection circuit/device | |
CN203933558U (en) | A kind of charge amplifying circuit | |
TWI502210B (en) | Torqueestimating circuit of remote control servo motor and torqueestimating method thereof | |
CN103869863B (en) | Sensor conditioning circuit | |
CN101419268A (en) | Amplifier tube screening instrument | |
CN105157772A (en) | Timing terminating method, circuit and ultrasonic testing system based on circuit | |
CN104660225A (en) | Nuclear pulse peak value holding circuit | |
CN204272059U (en) | There is the drive circuit of indicative function | |
CN109541633B (en) | Ground detection device, robot and ground detection method | |
US20160134247A1 (en) | Auto-zero circuit of operational amplifier | |
CN205490490U (en) | Controllable integrating circuit of discharge time |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150218 |