Paper The following article is Open access

Highly Accurate Water Level Measurement System Using a Microcontroller and an Ultrasonic Sensor

, , and

Published under licence by IOP Publishing Ltd
, , Citation Saleem Latteef Mohammed et al 2019 IOP Conf. Ser.: Mater. Sci. Eng. 518 042025 DOI 10.1088/1757-899X/518/4/042025

1757-899X/518/4/042025

Abstract

In many conditions, the conventional liquid data monitoring based on an ultrasonic sensor provides the unreliable readings due to the dynamically changed water level. In addition, in some conditions, it needs not only measuring water level but also needs to measure the volume and control water surplus or deficiency. To solve these issues, this paper proposes an accurate non-contact water measurement system based on a microcontroller and an ultrasonic sensor to measure the level and volume of liquids in small tanks without any contact. The proposed system also provides automatically controlling the water level with an alarm system to provide early warning of water surplus or deficiency. Microcontroller PIC16F877A is used to drive the sensor circuit and measure the time change of the reflected echoes from the water surface received by the ultrasonic (PING) sensor that correspond to the changes in the water level. The experimental results illustrate the effectiveness of the proposed system to measure the level and volume of water over 30 cm range with small error rates (SSE = 0.033 cm, RMSE = 0.034 cm and MAE = 0.029 cm for level measurement and SSE = 0.025 liter, RMSE = 0.026 liter and MAE = 0.021 liter for volume measurement) and excellent correlation coefficients (SCC = 0.9997 and KCC = 0.9951), thus provide accurate results for continuous measurement of the water level and volume in industrial applications.

Export citation and abstract BibTeX RIS

Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.

Please wait… references are loading.