Optimization of PID Controller For Three Tanks System By MATLAB/Simulink/Genetic Algorithm
DOI:
https://doi.org/10.23918/eajse.v10i3p3Keywords:
Three Tank System, Genetic Algorithm, PID Controller, Optimization, ITAE ErrorAbstract
The three-tank system is used for many purposes, including industries and education, especially in engineering. Designing and tuning a suitable controller is one of the most important things in this system. The PID controller is one of the most famous controllers used for this purpose. In this article, the three-tank system is simulated using Simulink MATLAB, and different nonlinear transfer functions are used to represent the three-tank system. The ITAE error was obtained for each of the functions. The result showed that the higher the degree of non-linearity, the ITAE error increases. To obtain the minimum error and optimal parameters of the PID controller, the genetic algorithm was used for 150 generations and the number of repetitions was 50. The optimization results showed that more favorable results are obtained by using the genetic algorithm. Also, the ITAE error obtained from the genetic algorithm optimization method is much less than other optimization methods, such as the Gray Wolf.
References
Yu, S., et al. Liquid Level Tracking Control of Three-tank Systems. in 2018 37th Chinese Control Conference (CCC). 2018.DOI: https://doi.org/10.23919/ChiCC.2018.8482966.
2. Ji, Z.P. and Z. Shi, The Research of Predictive Control Algorithm for the Three-Tank Water Level System Based on the Multi-Model. Applied Mechanics and Materials, 2012. 220-223: p. 1199-1202.DOI: https://doi.org/10.4028/www.scientific.net/AMM.220-223.1199.
3. Saurav, K., Design of controlers for three tank system, in Electronics and Communication Engineering, U.C. Pati, Editor. 2015, Dissertation, National Institute of Technology: India. p. 43.
4. Postlethwaite, I., Multivariable feedback control: analysis and design. 1996: John Wiley & Sons, Inc.
5. Gatzke, E.P., et al., Model based control of a four-tank system. Computers & Chemical Engineering, 2000. 24(2-7): p. 1503-1509.DOI: https://doi.org/10.1016/S0098-1354(00)00555-X.
6. Borbély, E., Control of the three tank system in H2/H∞ space. 2010. 1(1): p. 17-24
7. Nagammai, S. and S. Latha, Design of optimal controllers for a three tank process. Journal of Scientific and Innovative Research, 2016. 5(2): p. 65-70.
8. Chirita, D., et al., Liquid level control for industrial three tanks system based on sliding mode control. Revue Roumaine Des Sciences Techniques-Serie Electrotechnique Et Energetique, 2015. 60(4): p. 437-446.
9. Duro Carralero, N., et al., The Three-Tank System: A Remote and Virtual Control Laboratory using Easy Java Simulations. 2005.
10. Hou, M., Y.S. Xiong, and R.J. Patton, Observer design for a three-tank system SYSTEM. IFAC Proceedings Volumes, 2002. 35(1): p. 327-332.DOI: https://doi.org/10.3182/20020721-6-ES-1901.00216.
11. Voglauer, B., R. Garcia, and H.P. Jörgl, Improvements of a three-tank-system operated in real time with MATLAB in a PLC-Profibus-network. IFAC Proceedings Volumes, 2005. 38(1): p. 43-48.DOI: https://doi.org/10.3182/20050703-6-CZ-1902.02280.
12. Vinagre, G., et al., Laboratory Software for the Three-Tank Benchmark System: From PID to Multi-Agent Fault-Tolerant Fractional Control. Procedia - Social and Behavioral Sciences, 2012. 46: p. 1919-1923.DOI: https://doi.org/10.1016/j.sbspro.2012.05.403.
13. Chalupa, P., J. Novák, and V. Bobál, Comprehensive model of DTS200 three tank system in Simulink. International Journal of Mathematical Models and Methods in Applied Sciences, 2012. 6(2): p. 358-365.
14. Kouadri, A. and L. Chiter, A hybrid direct optimization algorithm of neural network based model for a three tank system. J. Appl. Environ. Biol. Sci, 2016. 6(6): p. 97-107.
15. Kubalčík, M. and V. Bobál. Predictive control of three-tank-system utilizing both state-space and input-output models. in Proceedings 30th European Conference on Modelling and Simulation. 2016.DOI: https://doi.org/10.7148/2016-0347.
16. Rammal, R., et al., Nonlinear three-tank system fault detection and isolation using differential flatness. IFAC Journal of Systems and Control, 2022. 21: p. 100197.DOI: https://doi.org/10.1016/j.ifacsc.2022.100197.
17. Kortela, J., Model-Predictive Control for the Three-Tank System Utilizing an Industrial Automation System. ACS Omega, 2022. 7(22): p. 18605-18611.DOI: 10.1021/acsomega.2c01275.
18. Iqbal, M., Q. Butt, and A. Bhatti. Linear model based diagnostic framework of three tank system. in Proceedings of the 11th WSEAS International Conference on SYSTEMS, AgiosNikolaos, Crete Island, Greece. 2007. Citeseer.
19. Kubalčík, M. and V. Bobál. Adaptive predictive control of three tank system in Proceedings of the 29th IASTED International Conference. 2010.
20. Bahita, M. and K. Belarbi, Radial Basis Function Controller of a Class of Nonlinear Systems Using Mamdani Type as a Fuzzy Estimator. Procedia Engineering, 2012. 41: p. 501-509.DOI: https://doi.org/10.1016/j.proeng.2012.07.204.
21. Amor, M., et al., Actuator Fault‐Tolerant Control Applied to Three‐Tank System. Mathematical Problems in Engineering, 2020. 2020(1): p. 8514049.DOI: https://doi.org/10.1155/2020/8514049.
22. Anbumani, K. and R. Rani Hemamalini, Three-Interacting Tank Controlled with Decentralized PI Controller Tuned Using Grey Wolf Optimization, in International Conference on Communication, Computing and Electronics Systems: Proceedings of ICCCES 2019, V. Bindhu, J. Chen, and J.M.R.S. Tavares, Editors. 2020, Springer Singapore: Singapore. p. 485-500.DOI: https://doi.org/10.1007/978-981-15-2612-1_47.
23. Anbumani, K. and R.R. Hemamalini, Optimal state feedback controller for three tank cylindrical interacting system using Grey Wolf Algorithm. Microprocessors and Microsystems, 2020. 79: p. 103269.DOI: https://doi.org/10.1016/j.micpro.2020.103269.
24. Dieter, N., Design of a Centralized PI Controller for Three-Tank Hybrid System Based on Optimization Methods. 2022.DOI: 10.1007/978-981-19-7264-5_5.
25. Cartes, D. and L. Wu, Experimental evaluation of adaptive three-tank level control. ISA transactions, 2005. 44(2): p. 283-293.DOI: https://doi.org/10.1016/S0019-0578(07)60181-5.
26. Singh, S.P., et al., Optimal PID controller design for level control of three tank system. International Journal of Advanced Technology and Engineering Explorati, 2017. 4(26).DOI: http://dx.doi.org/10.19101/IJATEE.2017.426001.
27. Medeiros, A., Application of the gray wolf (GWO) algorithm in the tuning of a PID controller in a feedback control system. J. Eng. Technol. Ind. Appl., 2017. 3(12): p. 56-62.DOI: https://doi.org/10.5935/jetia.v3i12.71.
28. Arun Jayakar, S., et al. An Investigation on Hybrid Optimization-Based Proportional Integral Derivative and Model Predictive Controllers for Three Tank Interacting System. in Proceedings of International Conference on Intelligent Computing, Information and Control Systems: ICICCS 2020. 2021. Springer.DOI: https://doi.org/10.1007/978-981-15-8443-5_11.
29. Emebu, S., et al., A comparative study of linear and nonlinear optimal control of a three-tank system. ISA Transactions, 2023. 132: p. 419-427.DOI: https://doi.org/10.1016/j.isatra.2022.06.002.
30. Ahmed, M.B.H., et al. Three Tank System Identification Based on Genetic Algorithm. in 2020 17th International Multi-Conference on Systems, Signals & Devices (SSD). 2020.DOI: https://doi.org/10.1109/SSD49366.2020.9364117.
31. Fan, W., Z. Xu, and Z. Zhang, A PID-optimality criteria method for structural topology optimization. Optimization and Engineering, 2024. 25(1): p. 439-458.DOI: https://doi.org/10.1007/s11081-023-09810-2.
32. Åström, K.J., Control System Design Lecture notes for ME 155A. 2002: California. p. 216-251.
33. Arulvadivu, J., N. Divya, and S. Manoharan, Integrated PID based intelligent control for three-tank system. ARPN Journal of Engineering and Applied Sciences, 2015. 10(9): p. 4013-4017.
34. Sahu, H. and R. Ayyagari, Interval fuzzy type-II controller for the level control of a three tank system. IFAC-PapersOnLine, 2016. 49(1): p. 561-566.DOI: https://doi.org/10.1016/j.ifacol.2016.03.114.
Downloads
Published
License
Copyright (c) 2025 Khadijeh Mirza, Ali Farzi

This work is licensed under a Creative Commons Attribution 4.0 International License.
Eurasian J. Sci. Eng is distributed under the terms of the Creative Commons Attribution License 4.0 (CC BY-4.0) https://creativecommons.org/licenses/by/4.0/