Implementation of Ultrasonic Sensor in IoT-Based Water Volume Control and Flow Rate Reading System
DOI:
https://doi.org/10.25170/jurnalelektro.v19i1.7206Keywords:
Blynk IoT, clamp-on ultrasonic flowmeter, ESP32 microcontroller, flow rate measurement, transit-time flow measurement, water volume controlAbstract
This system designs a non-intrusive water flow rate reader and volume controller based on a clamp-on transit-time ultrasonic flow meter (V-mount, 4-inch pipe) using the TUF-2000M, integrated with an ESP32. The time-of-flight difference is converted into velocity, flow rate is calculated (Q = v·A), and volume is estimated through integration. The volume controller stops the flow precisely at set points of 2, 4, and 6 liters to minimize overshoot. The Blynk IoT platform provides a remote interface for set point selection and real-time monitoring (flow rate, velocity, fluid sound). Performance is evaluated based on volume error, set point achievement time, and repeatability, with quick installation and minimal pressure loss. The ESP32 microcontroller serves as the controller and data processor, supported by a relay module to control the solenoid valve's open or closed state. Testing results show a 4% error for 2 liters (within a 10% error limit), a 0.10% error for 4 liters (within a 10% error limit), and a 2.5% error for 6 liters (within a 10% error limit).
References
[1] S. Setya Wibowo, K. Suharno, and S. Widodo, “Analisis Debit Fluida pada Pipa Elbow 90° dengan Variasi Diameter Pipa”.
[2] Y. Gao et al., “A Miniaturized Transit-time Ultrasonic Flowmeter Based on ScAlN Piezoelectric Micromachined Ultrasonic Transducers for Small-diameter Applications,” Microsyst Nanoeng, vol. 9, no. 1, Dec. 2023, doi: 10.1038/s41378-023-00518-y.
[3] E. Mandard, D. Kouamé, R. Battault, J.-P. Remenieras, and F. Patat, “Transit Time Ultrasonic Flowmeter : Velocity Profile Estimation,” 2005.
[4] P. Piechota, P. Synowiec, A. Andruszkiewicz, W. Wędrychowicz, E. Wróblewska, and A. Mrowiec, “Experimental Determination Influence of Flow Disturbances behind the Knife Gate Valve on the Indications of the Ultrasonic Flow Meter with Clamp-On Sensors on Pipelines,” Sensors, vol. 23, no. 10, May 2023, doi: 10.3390/s23104677.
[5] S. Alsaqoor et al., “Examining Transit-Time Ultrasonic Flowmeter Inaccuracies during Changing Gas Velocity Profiles,” Processes, vol. 11, no. 5, May 2023, doi: 10.3390/pr11051367.
[6] G. Xiling et al., “In Vitro Inactivation of SARS-CoV-2 by Commonly Used Disinfection Products and Methods,” Sci Rep, vol. 11, no. 1, Dec. 2021, doi: 10.1038/s41598-021-82148-w.
[7] G. Guevara-Carrion, R. Fingerhut, and J. Vrabec, “Density and Partial Molar Volumes of the Liquid Mixture Water + Methanol + Ethanol + 2-Propanol at 298.15 K and 0.1 MPa,” Journal of Chemical Engineering Data, vol. 66, no. 6, p. 2425, 2021, doi: 10.14279/depositonce-12215.
[8] J. Musić, I. Stančić, B. Džaja, and V. Pekić, “Image-Based Sensor for Liquid Level Monitoring during Bottling with Application to Craft and Home-Brewing,” Sensors, vol. 23, no. 16, Aug. 2023, doi: 10.3390/s23167126.
[9] Y. Nurdin, B. Brades, L. Gaol, and M. K. Muchamad, “Kajian Perbandingan Desain Sensor Pengukur Water Flow di WTP PDAM Tirta Daroy Lambaro,” vol. 7, no. 3, 2022.
[10] M. R. Azhari, “Desain Dan Implementasi Pengukuran Debit Air Menggunakan Portable Flow Meter Berbasis Internet Of Things (Studi Kasus Pdam Kabupaten Madiun) Design And Implementation Of Water Flow Measurement Using A Portable Flow Meter Based On The Internet Of Things (Study Case Pdam Madiun District).”
[11] M. A. GÜNGÖR, “Analyzing the Fluid Flow of Transit-Time Ultrasonic Flowmeter with Image Processing Technique and Developing a Quality Metric Depending on Pipe Profile,” Balkan Journal of Electrical and Computer Engineering, vol. 8, no. 3, pp. 193–200, Jul. 2020, doi: 10.17694/bajece.654414.
[12] S.-Iong. Ao, Oscar. Castillo, Craig. Douglas, D. Dagan. Feng, and Alexander. Korsunsky, International MultiConference of Engineers and Computer Scientists : IMECS 2017: 15-17 March, 2017, the Royal Garden Hotel, Kowloon, Hong Kong. Newswood Limited, 2017.
[13] M. Yusro and A. Diamah, “HIBAH BUKU AJAR SENSOR DAN TRANSDUSER (TEORI DAN APLIKASI)”.
[14] P. Papathanasiou, B. Kissling, O. Berberig, V. Kumar, A. Rohner, and M. Bezděk, “Flow disturbance compensation calculated with flow simulations for ultrasonic clamp-on flowmeters with optimized path arrangement,” Flow Measurement and Instrumentation, vol. 85, Jun. 2022, doi: 10.1016/j.flowmeasinst.2022.102167.
[15] A. B. Ramadhan, S. Sumaryo, and R. A. Priramadhi, “DESAIN DAN IMPLEMENTASI PENGUKURAN DEBIT AIR MENGGUNAKAN SENSOR WATER FLOW BERBASIS IoT DESIGN AND IMPLEMENTATION OF WATER DISCHARGE MEASUREMENTS USING An IoT-BASED WATER FLOW SENSOR.”



