Enhanced Time-of-Flight Estimation via Type-I Discrete Cosine Transform in Ultrasonic Flow Measurement
Received: 4 March 2025 | Revised: 3 April 2025 | Accepted: 12 April 2025 | Online: 4 June 2025
Corresponding author: Nursin Catak
Abstract
This study investigated the possibility of using the Discrete Cosine Transform (DCT) method for Time-of-Flight (ToF) estimation in ultrasonic water flow measurements, as an improvement over traditional correlation-based techniques. A DN-20 ultrasonic water flow meter was employed to collect data across 13 distinct flow rates, calculating the travel time of signals through the medium. The average flow readings were compared against reference values obtained from an electromagnetic flow meter. The DCT method demonstrated superior performance, consistently yielding lower error percentages than the correlation method. At low flow rates, such as 16 L/h, the DCT method achieved an error of 4.62%, compared to the 4.75% obtained with the correlation method, while at higher flow rates, such as 4000 L/h and 5000 L/h, the DCT method maintained minimal errors of 0.02% and 0.06%, respectively, versus the 0.05% and 0.07% attained with the correlation method. The DCT method's computational efficiency, derived from its frequency domain analysis, significantly reduced the required computational resources, as well as its robustness to noise, ensuring more accurate ToF estimates in noisy environments. Overall, the DCT method offered a more accurate, efficient, and robust alternative for ToF estimation in ultrasonic flow measurements. These findings suggest potential improvements in various applications requiring precise flow measurement, with future research focusing on integrating the DCT method into embedded systems and extending its applicability to other types of flow measurements.
Keywords:
correlation, time of flight, DCT, flow meterDownloads
References
P. Kleinschmidt and V. Magori, "Ultrasonic Robotic-Sensors for Exact Short Range Distance Measurement and Object Identification," in IEEE 1985 Ultrasonics Symposium, San Francisco, CA, USA, Oct. 1985.
D. Marioli, E. Sardini, and A. Taroni, "Ultrasonic distance measurement for linear and angular position control," IEEE Transactions on Instrumentation and Measurement, vol. 37, no. 4, pp. 578–581, Dec. 1988.
C. Loughlin, "Ultrasonic measurement: keeping your distance," Sensor Review, vol. 9, no. 2, pp. 85–89, 1989.
L. Angrisani, A. Baccigalupi, and R. S. Lo Moriello, "Ultrasonic-based distance measurement through discrete extended kalman filter," in Kalman Filter Recent Advances and Applications, Rijeka, Croatia: IntechOpen, 2009, pp. 269–296.
B. Gebretsadik, K. Jdidirendi, V. Farhangi, and M. Karakouzian, "Application of Ultrasonic Measurements for the Evaluation of Steel Fiber Reinforced Concrete," Engineering, Technology & Applied Science Research, vol. 11, no. 1, pp. 6662–6667, Jan. 2021.
N. B. Catak and A. R. Ansari, "Time of Flights Estimations of Ultrasonic Signals Based on Numerical Methods," in Proceedings of the 4th International Online Conference on Intelligent Decision Science, Istanbul, Turkey, 2020.
H. Chen, D. Fan, J. Huang, W. Huang, G. Zhang, and L. Huang, "Finite Element Analysis Model on Ultrasonic Phased Array Technique for Material Defect Time of Flight Diffraction Detection," Science of Advanced Materials, vol. 12, no. 5, pp. 665–675, May 2020.
A. A. Mofakham and G. Ahmadi, "Improved Discrete Random Walk Stochastic Model for Simulating Particle Dispersion and Deposition in Inhomogeneous Turbulent Flows," Journal of Fluids Engineering, vol. 142, no. 10, Jul. 2020, Art. no. 101401.
R. Thorn, G. A. Johansen, and B. T. Hjertaker, "Three-phase flow measurement in the petroleum industry," Measurement Science and Technology, vol. 24, no. 1, Jul. 2012, Art. no. 012003.
L. Svilainis, K. Lukoseviciute, V. Dumbrava, and A. Chaziachmetovas, "Subsample interpolation bias error in time of flight estimation by direct correlation in digital domain," Measurement, vol. 46, no. 10, pp. 3950–3958, Dec. 2013.
T. Moazzeni, J. Ma, and Y. Jiang, "Measurement and Calibration of Thermal Cross-Correlation-Based Flowmeter Operating in Harsh Environment," IEEE Transactions on Instrumentation and Measurement, vol. 62, no. 8, pp. 2280–2285, Dec. 2013.
M. Catak, T. Allahviranloo, and W. Pedrycz, Probability and Random Variables for Electrical Engineering. Springer, 2022.
P. D. Lysak, D. M. Jenkins, D. E. Capone, and W. L. Brown, "Analytical model of an ultrasonic cross-correlation flow meter, part 2: Application," Flow Measurement and Instrumentation, vol. 19, no. 1, pp. 41–46, Mar. 2008.
H. Ochoa-Dominguez and K. R. Rao, Discrete Cosine Transform. 2nd ed. Boca Raton, FL, USA: CRC Press, 2019.
B. Podobnik and H. E. Stanley, "Detrended Cross-Correlation Analysis: A New Method for Analyzing Two Nonstationary Time Series," Physical Review Letters, vol. 100, no. 8, Feb. 2008, Art. no. 084102.
G. Rajita and N. Mandal, "Review on transit time ultrasonic flowmeter," in 2016 2nd International Conference on Control, Instrumentation, Energy & Communication (CIEC), Kolkata, India, Jan. 2016, pp. 88–92.
X. Li, J. Wang, B. Huang, and S. Lu, "The DCT-based oscillation detection method for a single time series," Journal of Process Control, vol. 20, no. 5, pp. 609–617, Jun. 2010.
S. Liu, Z. Pan, and H. Song, "Digital image watermarking method based on DCT and fractal encoding," IET Image Processing, vol. 11, no. 10, pp. 815–821, 2017.
J. Torres-Solis, T. H. Falk, and T. Chau, "A review of indoor localization technologies: towards navigational assistance for topographical disorientation," in Ambient Intelligence, Rijeka, Croatia: IntechOpen, 2010.
C.-C. Tseng and S.-L. Lee, "Design of Matrix Filter Using Discrete Cosine Transform and Path Graph," in 2022 IEEE Asia Pacific Conference on Circuits and Systems (APCCAS), Conference Location: Shenzhen, China, Aug. 2022, pp. 383–388.
Downloads
How to Cite
License
Copyright (c) 2025 Nursin Catak, Khadeeja Almutairi

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.