CN-121977663-A - Ultrasonic flow measurement method, device, chip and storage medium
Abstract
The invention discloses an ultrasonic flow measurement method, an ultrasonic flow measurement device, a chip and a storage medium, which comprise the steps of charging an integrating circuit by using a constant current source after an ultrasonic transducer emits ultrasonic signals, and triggering the integrating circuit to discharge when an ultrasonic echo signal is captured; when the voltage value of the integrating circuit meets the discharge end condition, acquiring the actual discharge time length of the integrating circuit, inputting the actual discharge time length into a calibration model to acquire the actual propagation time length of an ultrasonic signal, and determining a flow measurement result corresponding to the ultrasonic signal according to the actual propagation time length of the ultrasonic signal. The technical scheme of the embodiment of the invention can improve the precision of the ultrasonic flow measurement result and save the software cost.
Inventors
- Jiang Zhaogeng
- HUANG SHUANGFENG
- QI YUWANG
- JIN CHAOXIA
Assignees
- 天津新智感知科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260407
Claims (10)
- 1. An ultrasonic flow measurement method, the method comprising: after the ultrasonic transducer emits ultrasonic signals, the constant current source is used for charging the integrating circuit, and the integrating circuit is triggered to discharge when the ultrasonic echo signals are captured; when the voltage value of the integrating circuit meets the discharge end condition, acquiring the actual discharge time length of the integrating circuit, and inputting the actual discharge time length into a calibration model to acquire the actual propagation time length of an ultrasonic signal; the calibration model is obtained by determining the charge and discharge of the integrating circuit according to a plurality of standard propagation time lengths; and determining a flow measurement result corresponding to the ultrasonic signal according to the actual propagation time length of the ultrasonic signal.
- 2. The method of claim 1, further comprising, after the ultrasonic transducer emits the ultrasonic signal, before charging the integrating circuit with the constant current source: charging the integrating circuit by using a plurality of standard propagation time lengths with different values, and triggering the integrating circuit to discharge after the charging is completed; when the voltage value of the integrating circuit meets the discharge end condition, the corresponding standard discharge time length of the integrating circuit under different standard propagation time lengths is obtained; and determining the calibration model according to the standard propagation time lengths and the corresponding standard discharge time lengths.
- 3. The method of claim 1, wherein the ultrasonic transducer is disposed inside a pipe, wherein the ultrasonic transducer emits an ultrasonic signal, and wherein the ultrasonic signal comprises: according to the flowing direction of the fluid in the pipeline, the ultrasonic transducer emits ultrasonic signals downstream; When the voltage value of the integrating circuit meets the discharge end condition, acquiring the actual discharge time length of the integrating circuit, inputting the actual discharge time length into a calibration model to obtain the actual propagation time length of the ultrasonic signal, wherein the method comprises the following steps: and when the voltage value of the integrating circuit meets the discharge end condition, acquiring the downstream discharge time length of the integrating circuit, and inputting the downstream discharge time length into a calibration model to acquire the downstream propagation time length of the ultrasonic signal.
- 4. A method according to claim 3, wherein the ultrasonic transducer emits an ultrasonic signal, comprising: according to the flowing direction of the fluid in the pipeline, the ultrasonic transducer reversely emits ultrasonic signals; When the voltage value of the integrating circuit meets the discharge end condition, acquiring the actual discharge time length of the integrating circuit, inputting the actual discharge time length into a calibration model to obtain the actual propagation time length of the ultrasonic signal, wherein the method comprises the following steps: When the voltage value of the integrating circuit meets the discharge end condition, acquiring the countercurrent discharge time length of the integrating circuit, and inputting the countercurrent discharge time length into a calibration model to obtain the countercurrent propagation time length of the ultrasonic signal.
- 5. The method of claim 4, wherein determining a flow measurement corresponding to the ultrasonic signal based on an actual propagation duration of the ultrasonic signal comprises: determining a difference between a forward propagation time and a backward propagation time of the ultrasonic signal; and determining a flow measurement result corresponding to the ultrasonic signal according to the difference value between the forward flow propagation time length and the backward flow propagation time length.
- 6. The method of claim 5, wherein determining a flow measurement corresponding to the ultrasonic signal based on a difference between the forward propagation time period and the reverse propagation time period comprises: determining the flow velocity corresponding to the ultrasonic signal according to the difference value between the forward flow propagation time length and the backward flow propagation time length, the propagation path length of the ultrasonic signal and the included angle between the ultrasonic signal propagation path and the axis of the pipeline; and determining a flow measurement result corresponding to the ultrasonic signal according to the flow velocity corresponding to the ultrasonic signal and the cross-sectional area of the pipeline.
- 7. The method of claim 1, wherein obtaining the actual discharge duration of the integrating circuit when the voltage value of the integrating circuit satisfies the discharge end condition comprises: the current voltage value of the integrating circuit is obtained in real time through a comparator, the current voltage value is compared with a preset voltage value, and when the integrating circuit is determined to meet the discharge end condition according to the comparison result, a discharge end mark is output to a discharge timer; and determining the actual discharge time length of the integrating circuit according to the current count value of the discharge timer.
- 8. An ultrasonic flow measurement device, the device comprising: The charge-discharge module is used for charging the integrating circuit by using the constant current source after the ultrasonic wave transducer emits ultrasonic wave signals and triggering the integrating circuit to discharge when the ultrasonic wave echo signals are captured; The model input module is used for acquiring the actual discharge time length of the integrating circuit when the voltage value of the integrating circuit meets the discharge end condition, and inputting the actual discharge time length into the calibration model to acquire the actual propagation time length of the ultrasonic signal; the calibration model is obtained by determining the charge and discharge of the integrating circuit according to a plurality of standard propagation time lengths; And the flow measurement module is used for determining a flow measurement result corresponding to the ultrasonic signal according to the actual propagation duration of the ultrasonic signal.
- 9. A chip, the chip comprising: at least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the ultrasonic flow measurement method of any one of claims 1-7.
- 10. A computer readable storage medium storing computer instructions for causing a processor to perform the ultrasonic flow measurement method of any one of claims 1-7.
Description
Ultrasonic flow measurement method, device, chip and storage medium Technical Field The present invention relates to the field of ultrasonic flow measurement technologies, and in particular, to an ultrasonic flow measurement method, an ultrasonic flow measurement device, an ultrasonic flow measurement chip, and an ultrasonic flow measurement storage medium. Background Currently, with the development of intelligent sensing technology, ultrasonic flow measurement has been widely applied to the field of industrial gas analysis. In the prior art, when measuring the flow rate of an ultrasonic signal, a dedicated time-to-digital Converter (TIME DIGITAL Converter, TDC) chip is generally used to measure the propagation time data of the ultrasonic signal, or a high-speed analog-to-digital Converter (Analog Digital Converter, ADC) is used to measure the propagation time data of the ultrasonic signal. However, the existing measuring method is complex in signal processing process, needs to adopt a fast Fourier transform (Fast Fourier Transform, FFT) algorithm or other complex operation methods, is easy to cause larger software cost, and has higher occupancy rate and slower response speed of a central processing unit (Central Processing Unit, CPU), and secondly, the existing measuring method is easy to be interfered by noise to cause lower reliability of a measuring result because the existing measuring method directly measures the propagation time of an ultrasonic signal. Disclosure of Invention The invention provides an ultrasonic flow measurement method, an ultrasonic flow measurement device, a chip and a storage medium, which can improve the accuracy of ultrasonic flow measurement results and save software expenditure. According to an aspect of the present invention, there is provided an ultrasonic flow measurement method, the method comprising: after the ultrasonic transducer emits ultrasonic signals, the constant current source is used for charging the integrating circuit, and the integrating circuit is triggered to discharge when the ultrasonic echo signals are captured; when the voltage value of the integrating circuit meets the discharge end condition, acquiring the actual discharge time length of the integrating circuit, and inputting the actual discharge time length into a calibration model to acquire the actual propagation time length of an ultrasonic signal; the calibration model is obtained by determining the charge and discharge of the integrating circuit according to a plurality of standard propagation time lengths; and determining a flow measurement result corresponding to the ultrasonic signal according to the actual propagation time length of the ultrasonic signal. Optionally, after the ultrasonic transducer emits the ultrasonic signal, before the constant current source is used to charge the integrating circuit, the method further includes: charging the integrating circuit by using a plurality of standard propagation time lengths with different values, and triggering the integrating circuit to discharge after the charging is completed; when the voltage value of the integrating circuit meets the discharge end condition, the corresponding standard discharge time length of the integrating circuit under different standard propagation time lengths is obtained; and determining the calibration model according to the standard propagation time lengths and the corresponding standard discharge time lengths. Optionally, the ultrasonic transducer is disposed inside the pipeline, and the ultrasonic transducer emits ultrasonic signals, including: according to the flowing direction of the fluid in the pipeline, the ultrasonic transducer emits ultrasonic signals downstream; When the voltage value of the integrating circuit meets the discharge end condition, acquiring the actual discharge time length of the integrating circuit, inputting the actual discharge time length into a calibration model to obtain the actual propagation time length of the ultrasonic signal, wherein the method comprises the following steps: and when the voltage value of the integrating circuit meets the discharge end condition, acquiring the downstream discharge time length of the integrating circuit, and inputting the downstream discharge time length into a calibration model to acquire the downstream propagation time length of the ultrasonic signal. Optionally, the ultrasonic transducer emits an ultrasonic signal, including: according to the flowing direction of the fluid in the pipeline, the ultrasonic transducer reversely emits ultrasonic signals; When the voltage value of the integrating circuit meets the discharge end condition, acquiring the actual discharge time length of the integrating circuit, inputting the actual discharge time length into a calibration model to obtain the actual propagation time length of the ultrasonic signal, wherein the method comprises the following steps: When the voltage value of the integrating circuit meets t