Time Delay Study of Ultrasonic Gas Flowmeters Based on VMD–Hilbert Spectrum and Cross-Correlation

Lingcai Kong,Liang Zhang,Hulin Guo,Ning Zhao,Xinhu Xu,Kong,Zhang,Guo,Zhao,Xu
DOI: https://doi.org/10.3390/s24051462
IF: 3.9
2024-02-24
Sensors
Abstract:The accuracy of ultrasonic flowmeter time delay measurement is directly affected by the processing method of the ultrasonic echo signal. This paper proposes a method for estimating the time delay of the ultrasonic gas flowmeter based on the Variational Mode Decomposition (VMD)–Hilbert Spectrum and Cross-Correlation (CC). The method improves the accuracy of the ultrasonic gas flowmeter by enhancing the quality of the echo signal. To denoise forward and reverse ultrasonic echo signals collected at various wind speeds, a Butterworth filter is initially used. The ultrasonic echo signals are then analyzed by Empirical Mode De-composition (EMD) and VMD analysis to obtain the Intrinsic Mode Function (IMF) containing distinct center frequencies, respectively. The Hilbert spectrum time–frequency diagram is used to evaluate the results of the VMD and EMD decompositions. It is found that the IMF decomposed by VMD has a better filtering performance and better anti-interference performance. Therefore, the IMF with a better effect is selected for signal reconstruction. The ultrasonic time delay is then calculated using the Cross-Correlation algorithm. The self-developed ultrasonic gas flowmeter was tested on the experimental platform of the gas flow standard devices using this signal processing method. The results show a maximum indication error of 0.84% within the flow range of 60–606 m3/h, with a repeatability of no more than 0.29%. These results meet the 1-level accuracy requirements as outlined in the national ultrasonic flowmeters calibration regulation JJG1030-2007.
engineering, electrical & electronic,chemistry, analytical,instruments & instrumentation
What problem does this paper attempt to address?
The problem that this paper attempts to solve is to improve the time - delay measurement accuracy of ultrasonic gas flowmeters. Specifically, the article proposes a method based on variational mode decomposition (VMD) - Hilbert spectrum and cross - correlation (CC) to estimate the time - delay of ultrasonic gas flowmeters. By enhancing the quality of echo signals, this method aims to improve the accuracy of ultrasonic gas flowmeters. ### Main Problems and Solutions 1. **Influence of Noise and Baseline Drift** - **Problem**: In practical applications, experimental equipment, circuit systems, and other measurement environments will introduce a certain degree of noise and baseline drift, and these factors may affect the measurement accuracy. - **Solution**: Use the Butterworth filter to pre - process the forward and reverse ultrasonic echo signals to remove significant interference and background noise. Subsequently, use VMD and Hilbert spectrum analysis to decompose and reconstruct the signals to further eliminate low - energy noise and baseline drift. 2. **Accuracy of Time - Delay Measurement** - **Problem**: Traditional time - delay measurement methods such as the threshold method and the feature - point method are easily affected by misjudgment or large amounts of calculation, resulting in inaccurate measurement. - **Solution**: Use the cross - correlation method to calculate the correlation function between the forward and reverse echo signals and determine the signal delay from its maximum value. This method is suitable for cases where the front and rear signals are similar, and the calculation method is mature and universal. 3. **Signal Decomposition and Reconstruction** - **Problem**: The traditional empirical mode decomposition (EMD) method has end - effect and mode - mixing problems when decomposing signals, and it is difficult to effectively isolate the noise in ultrasonic echo signals. - **Solution**: Use the VMD method to decompose the original signal into multiple intrinsic mode functions (IMF) with different center frequencies, and select the best IMF for signal reconstruction through Hilbert spectrum analysis. The VMD method can decompose signals more accurately, reduce noise interference, and improve frequency concentration and anti - interference performance. ### Experimental Verification Through the test of the self - made ultrasonic gas flowmeter, the results show that in the flow range of 60 to 606 m³/h, the maximum indication error is 0.84% and the repeatability does not exceed 0.29%. These results meet the first - level accuracy requirements of the national ultrasonic flowmeter calibration specification JJG 1030 - 2007. In summary, this paper effectively improves the time - delay measurement accuracy of ultrasonic gas flowmeters by combining the VMD - Hilbert spectrum and cross - correlation algorithms, and solves the influence of noise and baseline drift on measurement accuracy.