A Time-of-Flight Extraction Method Based on Time-Sequenced Pulses for Ultrasonic Flow Measurement Using an FPGA-Based Time-to-Digital Converter
Abstract
1. Introduction
2. Materials and Methods
2.1. Overall Architecture
2.2. Principle of Time-Difference Flow Calculation
2.3. FPGA-TDC Timing Architecture
2.4. Ultrasonic Excitation and Valid-Event Extraction Mechanism
2.5. Temporal Pulse Correspondence and Four-Channel TOF Extraction
3. Experimental Platform and Evaluation Methods
3.1. Experimental Platform and Hardware Configuration
3.2. Experimental Procedure and Conditions
3.3. Evaluation Metrics and Error Calculation Methods
4. Results and Discussion
4.1. FPGA-TDC Timing Performance Results
4.2. Ultrasonic Flow Measurement Results
4.3. Theoretical Flow Calculation and Discussion
4.4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Afandi, A.; Khasani; Deendarlianto; Catrawedarma, I.G.N.B.; Wijayanta, S. The development of the ultrasonic flowmeter sensors for mass flow rate measurement: A comprehensive review. Flow Meas. Instrum. 2024, 97, 102614. [Google Scholar] [CrossRef]
- Lynnworth, L.C.; Liu, Y. Ultrasonic flowmeters: Half-century progress report, 1955–2005. Ultrasonics 2006, 44, e1371–e1378. [Google Scholar] [CrossRef]
- Chen, Q.; Li, W.; Wu, J. Realization of a multipath ultrasonic gas flowmeter based on transit-time technique. Ultrasonics 2014, 54, 285–290. [Google Scholar] [CrossRef]
- Iooss, B.; Lhuillier, C.; Jeanneau, H. Numerical simulation of transit-time ultrasonic flowmeters: Uncertainties due to flow profile and fluid turbulence. Ultrasonics 2002, 40, 1009–1015. [Google Scholar] [CrossRef]
- Zhang, H.; Guo, C.; Lin, J. Effects of velocity profiles on measuring accuracy of transit-time ultrasonic flowmeter. Appl. Sci. 2019, 9, 1648. [Google Scholar] [CrossRef]
- Ma, J.; Xu, K.-J.; Jiang, Z.; Zhang, L.; Xu, H.-R. Applications of digital signal processing methods in TOF calculation of ultrasonic gas flowmeter. Flow Meas. Instrum. 2021, 79, 101932. [Google Scholar] [CrossRef]
- Zhu, W.-J.; Xu, K.-J.; Fang, M.; Shen, Z.-W.; Tian, L. Variable ratio threshold and zero-crossing detection based signal processing method for ultrasonic gas flow meter. Measurement 2017, 103, 343–352. [Google Scholar] [CrossRef]
- Brassier, P.; Hosten, B.; Vulovic, F. High-frequency transducers and correlation method to enhance ultrasonic gas flow metering. Flow Meas. Instrum. 2001, 12, 201–211. [Google Scholar] [CrossRef]
- Maaß, S.; Laukner, M. Ultrasonic Time Delay Difference Estimation With Analytic Signals and a Model System. IEEE Trans. Circuits Syst. II Express Briefs 2020, 67, 2234–2238. [Google Scholar] [CrossRef]
- Tian, L.; Xu, K.-J.; Mu, L.-B.; Liu, B. Energy peak fitting of echo based signal processing method for ultrasonic gas flow meter. Measurement 2018, 117, 41–48. [Google Scholar] [CrossRef]
- Fang, Z.H.; Hu, L.; Mao, K.; Chen, W.Y.; Fu, X. Similarity Judgment-Based Double-Threshold Method for Time-of-Flight Determination in an Ultrasonic Gas Flowmeter. IEEE Trans. Instrum. Meas. 2018, 67, 24–32. [Google Scholar] [CrossRef]
- Zheng, D.; Mao, Y.; Yang, Z. A new characteristic peaks group judgement method for the accurate measurement of time-of-flight in the ultrasonic gas flowmeter. IET Sci. Meas. Technol. 2021, 15, 597–605. [Google Scholar] [CrossRef]
- Suñol, F.; Ochoa, D.A.; Garcia, J.E. High-precision time-of-flight determination algorithm for ultrasonic flow measurement. IEEE Trans. Instrum. Meas. 2019, 68, 2724–2732. [Google Scholar] [CrossRef]
- Ren, R.; Wang, H.; Sun, X.; Quan, H. Design and Implementation of an Ultrasonic Flowmeter Based on the Cross-Correlation Method. Sensors 2022, 22, 7470. [Google Scholar] [CrossRef] [PubMed]
- Kong, L.; Zhang, L.; Guo, H.; Zhao, N.; Xu, X. Time Delay Study of Ultrasonic Gas Flowmeters Based on VMD–Hilbert Spectrum and Cross-Correlation. Sensors 2024, 24, 1462. [Google Scholar] [CrossRef]
- Kazys, R.J.; Mazeika, L.; Sestoke, J. Development of Ultrasonic Techniques for Measurement of Spatially Non-Uniform Elastic Properties of Thin Plates by Means of a Guided Sub-Sonic A0 Mode. Appl. Sci. 2020, 10, 3299. [Google Scholar] [CrossRef]
- Rose, J.L. Ultrasonic Guided Waves in Solid Media; Cambridge University Press: Cambridge, UK, 2014. [Google Scholar] [CrossRef]
- Krautkrämer, J.; Krautkrämer, H. Ultrasonic Testing of Materials, 4th ed.; Springer: Berlin/Heidelberg, Germany, 1990. [Google Scholar] [CrossRef]
- Hamouda, A.; Manck, O.; Hafiane, M.L.; Bouguechal, N.-E. An Enhanced Technique for Ultrasonic Flow Metering Featuring Very Low Jitter and Offset. Sensors 2016, 16, 1008. [Google Scholar] [CrossRef] [PubMed]
- Wang, Y.; Xie, W.; Chen, H.; Li, D.D.-U. High-resolution time-to-digital converters (TDCs) with a bidirectional encoder. Measurement 2023, 206, 112258. [Google Scholar] [CrossRef]
- Wang, Y.; Cao, Q.; Liu, C. A Multi-Chain Merged Tapped Delay Line for High Precision Time-to-Digital Converters in FPGAs. IEEE Trans. Circuits Syst. II Express Briefs 2018, 65, 96–100. [Google Scholar] [CrossRef]
- Kwiatkowski, P.; Sondej, D.; Szplet, R. Subpicosecond resolution time interval counter with multisampling wave union type B TDCs in 28 nm FPGA device. Measurement 2023, 209, 112510. [Google Scholar] [CrossRef]
- Torres, J.; Aguilar, A.; Garcia-Olcina, R.; Martínez, P.A.; Martos, J.; Soret, J.; Benlloch, J.M.; Conde, P.; Gonzalez, A.J.; Sanchez, F. Time-to-Digital Converter Based on FPGA with Multiple Channel Capability. IEEE Trans. Nucl. Sci. 2014, 61, 107–114. [Google Scholar] [CrossRef]
- Andersson, N.U.; Vesterbacka, M. A Vernier Time-to-Digital Converter With Delay Latch Chain Architecture. IEEE Trans. Circuits Syst. II Express Briefs 2014, 61, 773–777. [Google Scholar] [CrossRef]
- Lu, P.; Wu, Y.; Andreani, P. A 2.2-ps Two-Dimensional Gated-Vernier Time-to-Digital Converter with Digital Calibration. IEEE Trans. Circuits Syst. II Express Briefs 2016, 63, 1019–1023. [Google Scholar] [CrossRef]
- Xia, H.; Yu, X.; Zhang, J.; Cao, G. A Review of Advancements and Trends in Time-to-Digital Converters Based on FPGA. IEEE Trans. Instrum. Meas. 2024, 73, 2004525. [Google Scholar] [CrossRef]
- Chen, J.; Li, Y. A dual-channel FPGA-based time measurement circuit with measurement for high-accuracy ultrasonic gas flow metering. Flow Meas. Instrum. 2026, 108, 103133. [Google Scholar] [CrossRef]
- Parsakordasiabi, M.; Vornicu, I.; Rodríguez-Vázquez, Á.; Carmona-Galán, R. A Low-Resources TDC for Multi-Channel Direct ToF Readout Based on a 28-nm FPGA. Sensors 2021, 21, 308. [Google Scholar] [CrossRef]
- Massaad, J.; van Neer, P.L.M.J.; van Willigen, D.M.; Pertijs, M.A.P.; de Jong, N.; Verweij, M.D. Measurement of Pipe and Liquid Parameters Using the Beam Steering Capabilities of Array-Based Clamp-On Ultrasonic Flow Meters. Sensors 2022, 22, 5068. [Google Scholar] [CrossRef]
- Wang, S.-Y.; Wu, J.; Yao, S.-H.; Chang, W.-C. A Field-Programmable Gate Array (FPGA) TDC for the Fermilab SeaQuest (E906) Experiment and Its Test with a Novel External Wave Union Launcher. IEEE Trans. Nucl. Sci. 2014, 61, 3592–3598. [Google Scholar] [CrossRef]
- Zheng, J.; Cao, P.; Jiang, D.; An, Q. Low-Cost FPGA TDC With High Resolution and Density. IEEE Trans. Nucl. Sci. 2017, 64, 1401–1408. [Google Scholar] [CrossRef]
- Zhang, M.; Zhao, Y.; Han, Z.; Zhao, F. A 19 ps Precision and 170 M Samples/s Time-to-Digital Converter Implemented in FPGA with Online Calibration. Appl. Sci. 2022, 12, 3649. [Google Scholar] [CrossRef]
- Johnson, A.N.; Harman, E.; Boyd, J.T. Blow-down calibration of a large ultrasonic flow meter. Flow Meas. Instrum. 2021, 77, 101848. [Google Scholar] [CrossRef]
- Jia, Z.; Wang, Y.; Ding, J.; Xu, Q.; Zhu, Y. An FPGA-Based Time-to-Digital Converter With Online Dual-Chain Calibration. IEEE Trans. Instrum. Meas. 2025, 74, 2008508. [Google Scholar] [CrossRef]














| Stage | sw_gate | EN | Function |
|---|---|---|---|
| Start-event extraction | 1 | 1 | Select the transmit path and allow four valid start edges to enter the TDC. |
| Transmit-guard blanking | 0 | 0 | Suppress subsequent excitation leakage, ringing, and transient interference. |
| Receive-waiting blanking | 1 | 0 | Suppress early clutter and front-end recovery interference before the target-echo window. |
| Target-echo extraction | 0 | 1 | Select the receive path and allow four valid target-echo edges to enter the TDC. |
| Post-capture blanking | 1 | 0 | Suppress late reflections and subsequent disturbance-induced edges. |
| Channel | DNL Range (LSB) | INL Range (LSB) | RMS (ps) |
|---|---|---|---|
| 1 | [−0.98, 3.42] | [−1.93, 9.06] | 19.44 |
| 2 | [−0.98, 6.05] | [−3.05, 6.06] | 20.13 |
| 3 | [−0.97, 3.91] | [−7.81, 3.03] | 18.75 |
| 4 | [−0.98, 4.12] | [−7.35, 4.60] | 19.64 |
| (m3/h) | (m3/h) | (%) | Repeatability Error (%) |
|---|---|---|---|
| 0.7 | 0.7031 | 0.44 | 0.27 |
| 1.0 | 1.0053 | 0.53 | 0.23 |
| 1.3 | 1.3035 | 0.27 | 0.18 |
| 1.6 | 1.5947 | −0.33 | 0.24 |
| 1.9 | 1.9065 | 0.34 | 0.15 |
| 2.1 | 2.0964 | −0.17 | 0.19 |
| 2.4 | 2.3945 | −0.23 | 0.26 |
| 2.7 | 2.7103 | 0.38 | 0.21 |
| 3.0 | 3.0049 | 0.16 | 0.24 |
| 3.3 | 3.2898 | −0.31 | 0.17 |
| 3.6 | 3.6079 | 0.22 | 0.23 |
| (m3/h) | (m/s) | (ns) |
|---|---|---|
| 0.7 | 0.686 | 23.80 |
| 1.0 | 0.980 | 33.99 |
| 1.3 | 1.274 | 44.19 |
| 1.6 | 1.568 | 54.39 |
| 1.9 | 1.861 | 64.59 |
| 2.1 | 2.057 | 71.39 |
| 2.4 | 2.351 | 81.58 |
| 2.7 | 2.645 | 91.78 |
| 3.0 | 2.939 | 101.98 |
| 3.3 | 3.233 | 112.18 |
| 3.6 | 3.527 | 122.38 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Fan, E.; Xie, T.; Wu, F. A Time-of-Flight Extraction Method Based on Time-Sequenced Pulses for Ultrasonic Flow Measurement Using an FPGA-Based Time-to-Digital Converter. Sensors 2026, 26, 3408. https://doi.org/10.3390/s26113408
Fan E, Xie T, Wu F. A Time-of-Flight Extraction Method Based on Time-Sequenced Pulses for Ultrasonic Flow Measurement Using an FPGA-Based Time-to-Digital Converter. Sensors. 2026; 26(11):3408. https://doi.org/10.3390/s26113408
Chicago/Turabian StyleFan, Enci, Tao Xie, and Fan Wu. 2026. "A Time-of-Flight Extraction Method Based on Time-Sequenced Pulses for Ultrasonic Flow Measurement Using an FPGA-Based Time-to-Digital Converter" Sensors 26, no. 11: 3408. https://doi.org/10.3390/s26113408
APA StyleFan, E., Xie, T., & Wu, F. (2026). A Time-of-Flight Extraction Method Based on Time-Sequenced Pulses for Ultrasonic Flow Measurement Using an FPGA-Based Time-to-Digital Converter. Sensors, 26(11), 3408. https://doi.org/10.3390/s26113408
