The Design of a Microcontroller-based Automatic Liquid Level Control System
Abstract
In this paper, a liquid level control system was designed and fabricated. Control of the liquid level was accomplished by adjusting the sup-ply voltage to a centrifugal pump that is delivering the liquid from a reservoir tank to an upper tank. The liquid level control system was implemented on an ATmega328 microcontroller. Three control strategies are implemented, manual mode, ON/OFF controller, and PID controller. Serial communication is used to establish the communication between the ATmega328 and a computer running MATLAB soft-ware. A graphical user interface was constructed to allow users to interact with the system. The system model is obtained using an experi-mental approach. The obtained model is then used for the design of the PID controller. Experimental results are provided to highlight the performance of the implemented controllers.
About this article
Keywords
- Liquid Level Control
- ON/OFF Controller
- PID Controller
- MATLAB GUI.
References
[1] J. D. Wagoner, N. F. Macia, “Automatic Liquid Level Controller Using A LabVIEW Based Pc”, Department of Electronics & Computer Technology Arizona State University East.
[2] T. Cheung, “Liquid-Level Control in Single Tanks and Cascades of Tanks with Proportional-Only and Proportional-Integral Feedback Controllers”, Industrial & Engineering Chemistry Fundamentals, 1979 18 (1), 15-21 https://doi.org/10.1021/i160069a004.
[3] M. Lee, J. Shin, “Constrained optimal control of liquid level loop using a conventional proportional-integral controller”, Taylor and Francis, Chem. Eng. Commun. vol. 196, pp. 729–745, 2009. https://doi.org/10.1080/00986440802557393.
[4] L. Yu, W. Liu, and H. Wu, “Automatic Liquid Level Detection System Based on LabVIEW”, Advanced Materials Research, 605-607, pp.1772-1775, 2012. https://doi.org/10.4028/www.scientific.net/AMR.605-607.1772.
[5] R. Paul, A. Sengupta, R. R. Pathak, “Wavelet based denoising technique for liquid level system”, Measurement, vol. 46, pp. 1979–1994, 2013. https://doi.org/10.1016/j.measurement.2013.02.004.
[6] B. N. Getu and H. A. Attia, "Automatic water level sensor and controller system," 2016 5th International Conference on Electronic Devices, Systems and Applications (ICEDSA), Ras Al Khaimah, pp. 1-4, 2016. https://doi.org/10.1109/ICEDSA.2016.7818550.
[7] A. Piazzi and A. Visioli, “A Noncausal Approach for PID control”, Journal of Process Control, 4 March 2006. https://doi.org/10.1016/j.jprocont.2006.03.001.
[8] M. A. Fellani and A. M. Gabaj, “PID controller design for two tanks liquid level control system using MATLAB", International Journal of Electrical and Computer Engineering (IJECE), vol. 5, ISSN 2088-8708, p. 336-342, 2015.
[9] S. Panda, B.K. Sahu, P.K. Mohanty, “Design and performance analysis of PID controller for an automatic voltage regulator system using simplified particle swarm optimization”, Journal of the Franklin Institute, Volume 349, Issue 8, 2012, Pages 2609-2625, ISSN 0016-0032. https://doi.org/10.1016/j.jfranklin.2012.06.008.
[10] S. Kumar, R. Negi, “A comparative study of PID tuning methods using anti-windup controller”, Power Control and Embedded Systems (ICPCES) 2012 2nd International Conference on, pp. 1-4, 2012. https://doi.org/10.1109/ICPCES.2012.6508138.
[11] D. K. Sambariya, R. Prasad and D. Birla, “Design and performance analysis of PID based controller for SMIB power system using Firefly algorithm”, 2015 2nd International Conference on Recent Advances in Engineering & Computational Sciences (RAECS), Chandigarh, 2015, pp. 1-8.. https://doi.org/10.1109/RAECS.2015.7453394.