Real Time DC Water Tank Level Control using Arduino Mega 2560

Control engineering is an interdisciplinary field requiring knowledges on math and physics, circuits, sensors, actuator, and microcontrollers (for digital control implementation). It also provides users experiences in testing, simulation and real-time implementation. This paper presents a real-time level control of a laboratory water tank plant demonstrating the essence of control engineering. The objective is to design and apply a PID controller to maintain the water level in a cylinder tank by using Arduino microcontrollers. After plant modelling and device testing, controllers are designed, and the closed-loop system is simulated. Refined controllers are then implemented through Arduino Mega 2560. By comparing the simulation and experimental closed-loop system performances, the difference caused by plant-model mismatch is discussed. The importance of integrating math, physics, and circuits with Arduino programming in embedded control systems is highlighted.

[1]  Jie Sheng Teaching Devices and Controls for Computer Engineering and Systems Students using Arduino and MATLAB/Simulink , 2018, 2018 IEEE 14th International Conference on Control and Automation (ICCA).

[2]  V. Tipsuwanporn,et al.  A design of fuzzy PID controller based on ARM7TDMI for coupled-tanks process , 2012, 2012 12th International Conference on Control, Automation and Systems.

[3]  Hanafy M. Omar Enhancing automatic control learning through Arduino-based projects , 2018 .

[4]  Robert Bieda,et al.  High performance single tank level control as an example for control teaching , 2017, 2017 25th Mediterranean Conference on Control and Automation (MED).

[5]  Robert Bieda,et al.  A New Look at Water Tanks Systems as Control Teaching Tools , 2017 .