PID controller tuning for an AVR system using Particle Swarm Optimisation Techniques and Genetic Algorithm Techniques; A comparison based approach

Authors

  • Aliyu Sabo Department of Electrical Engineering, Faculty of Engineering and Engineering Technology, Nigerian Defence Academy (NDA), Kaduna, Nigeria.
  • Mahmud Bawa Nigerian Defence Academy, Kaduna, Nigeria
  • Yunusa Yakubu Department of Electrical Engineering, Faculty of Engineering and Engineering Technology, Nigerian Defence Academy (NDA), Kaduna, Nigeria.
  • Alan Audu Ngyarmunta Department of Electrical Engineering, Faculty of Engineering Technology, Nigerian Defense Academy, Kaduna Nigeria
  • Yunusa Aliyu Department of Electrical Engineering, Faculty of Engineering and Engineering Technology, Nigerian Defence Academy (NDA), Kaduna, Nigeria.
  • Alama Musa Department of Electrical Engineering, Faculty of Engineering and Engineering Technology, Nigerian Defence Academy (NDA), Kaduna, Nigeria.
  • Mohamed Katun Department of Electrical Engineering, Faculty of Engineering and Engineering Technology, Nigerian Defence Academy (NDA), Kaduna, Nigeria.

DOI:

https://doi.org/10.26740/vubeta.v2i2.36821

Keywords:

Proportional Integral Derivative (PID), Automatic Voltage Regulator, Particle Smarm Optimization (PSO), Genetic algorithm

Abstract

This paper presents the tuning of a Proportional-Integral-Derivative (PID) controller for an Automatic Voltage Regulator (AVR) system using a metaheuristic optimization technique. The aim is to enhance the system's dynamic response by minimizing overshoot, settling time, and steady-state error. Particle Swarm Optimization (PSO), a robust and widely applied metaheuristic technique, was selected due to its simplicity and efficiency in exploring the search space for optimal solutions. The AVR system was modelled and simulated using MATLAB and the performance of the optimized PID controller was analyzed and compared with a traditional manually tuned PID controller. The results show a significant improvement in system performance with the PSO-tuned PID controller, validating the potential of metaheuristic optimization for PID tuning in control systems.

Author Biographies

Aliyu Sabo, Department of Electrical Engineering, Faculty of Engineering and Engineering Technology, Nigerian Defence Academy (NDA), Kaduna, Nigeria.

Engr. Dr. Sabo Aliyu (Ph.D.) MIEEE. PES. (Member, IEEE) completed his bachelor’s degree in electrical engineering from the Prestigious Ahmadu Bello University, Zaria, Kaduna State, Nigeria in 2011. Engr. Dr. Sabo Aliyu completed his M.Sc. and Ph.D. Degrees in Electrical Power Systems Engineering from the University of Putra Malaysia. His main research areas include the application of Neuro Fuzzy Controllers to power systems, Computational Intelligence techniques, Power System Oscillation Damping Controller Designs, Power Systems Optimizations, Power Flow and Optimal Power Flow, Power Quality, and Robust controllers with several online publications. Engr. Dr. Sabo Aliyu is currently a Senior Lecturer at the Nigerian Defence Academy, Kaduna State, Nigeria. He is a registered Engineer under the Council for the Regulation of Engineering in Nigeria (COREN). He can be contacted at email: saboaliyu98@gmail.com.

Mahmud Bawa, Nigerian Defence Academy, Kaduna, Nigeria

Department of Electrical Engineering, Faculty of Engineering Technology, Nigerian Defense Academy, Kaduna Nigeria

Yunusa Yakubu, Department of Electrical Engineering, Faculty of Engineering and Engineering Technology, Nigerian Defence Academy (NDA), Kaduna, Nigeria.

Department of Electrical Engineering, Faculty of Engineering and Engineering Technology, Nigerian Defence Academy (NDA), Kaduna, Nigeria.

Alan Audu Ngyarmunta , Department of Electrical Engineering, Faculty of Engineering Technology, Nigerian Defense Academy, Kaduna Nigeria

Department of Electrical Engineering, Faculty of Engineering Technology, Nigerian Defense Academy, Kaduna Nigeria

Yunusa Aliyu, Department of Electrical Engineering, Faculty of Engineering and Engineering Technology, Nigerian Defence Academy (NDA), Kaduna, Nigeria.

Department of Electrical Engineering, Faculty of Engineering and Engineering Technology, Nigerian Defence Academy (NDA), Kaduna, Nigeria.

Alama Musa, Department of Electrical Engineering, Faculty of Engineering and Engineering Technology, Nigerian Defence Academy (NDA), Kaduna, Nigeria.

Department of Electrical Engineering, Faculty of Engineering and Engineering Technology, Nigerian Defence Academy (NDA), Kaduna, Nigeria.

Mohamed Katun, Department of Electrical Engineering, Faculty of Engineering and Engineering Technology, Nigerian Defence Academy (NDA), Kaduna, Nigeria.

Department of Electrical Engineering, Faculty of Engineering and Engineering Technology, Nigerian Defence Academy (NDA), Kaduna, Nigeria.

References

[1] C. Kaya, Z. H. Kilimci, M. Uysal, and M. Kaya, “The Metaheuristic Optimization Techniques in Text Classification,” International Journal of Computational and Experimental Science and Engineering, vol. 10, no. 2, pp. 126–132, 2024. https://doi.org/10.22399/ijcesen.295

[2] S. Dahal, G. J. Hegglid, J. K. Nøland, B. B. Chhetri, S. Mishra, and T. Øyvang, “Integrating Multiple Slack Bus Operations and Metaheuristic Techniques for Power Flow Optimization,” Scientific Reports, vol. 15, 2024. https://doi.org/10.21203/rs.3.rs-5360850/v1

[3] A. Nayak and M. Singh, “Study of Tuning of PID Controller by Using Particle Swarm Optimization,” International Journal of Advanced Engineering Research and Studies, 2015.

[4] A. H. M. S. Ula and A. R. Hasan, “Design and Implementation of a Personal Computer Based Automatic Voltage Regulator for a Synchronous Generator,” IEEE Transactions on Energy Conversion, vol. 7, no. 1, pp. 125–131, 1992. https://doi.org/10.1109/60.124551.

[5] T. Nagunwa, “Comparative Analysis of Nature-Inspired Metaheuristic Techniques for Optimizing Phishing Website Detection,” Analytics, vol. 3, no. 3, pp. 344–367, 2024. https://doi.org/10.3390/analytics3030019.

[6] P. Govindan, “Evolutionary Algorithms-Based Tuning of PID controller for an AVR system,” International Journal of Electrical and Computer Engineering, vol. 10, no. 3, pp. 3047–3056, 2020. https://doi.org/10.11591/ijece.v10i3.pp3047-3056.

[7] O. F. Nami et al., “Performance Comparison of PID, FOPID, and NN-PID Controller for AUV Steering Problem,” Jurnal Elektronika dan Telekomunikasi, vol. 24, no. 1, p. 72, Aug. 2024. https://doi.org/10.55981/jet.596.

[8] O. M. Hesham, M. A. Attia, and S. F. Mekhamer, “Enhancement of AVR system performance by using Hybrid Harmony Search and Dwarf Mongoose Optimization Algorithms,” Science Report, vol. 14, no. 1, Dec. 2024. https://doi.org/10.1038/s41598-024-77120-3.

[9] J. Kennedy and R. Eberhart, "Particle Swarm Optimization," Proceedings of ICNN'95 - International Conference on Neural Networks, vol.4, pp. 1942-1948, 1995. https://doi.org/10.1109/ICNN.1995.488968.

[10] V. Chopra, S.K Singla, and L. Dewan, “Comparative Analysis of Tuning a PID Controller Using Intelligent Methods”, Acta Polytechnica Hungarica, vol. 11, pp. 235-249, 2014.

[11] A. Jayachitra and R. Vinodha, “Genetic Algorithm Based PID Controller Tuning Approach for Continuous Stirred Tank Reactor,” Advances in Artificial Intelligence, vol. 2014, pp. 1–8, Dec. 2014. https://doi.org/10.1155/2014/791230.

[12] P. Govindan, “Evolutionary Algorithms-based Tuning of PID Controller for an AVR System,” International Journal of Electrical and Computer Engineering, vol. 10, no. 3, pp. 3047–3056, 2020. https://doi.org/10.11591/ijece.v10i3.pp3047-3056.

[13] T. A. Faris, K. Yusoff, M. Farid Atan, N. A. Rahman, S. F. Salleh, and N. A. Wahab, “Optimization of PID Tuning Using Genetic Algorithm,” Journal of Applied Science & Process Engineering, vol. 2, no. 2, 2015. https://doi.org/10.33736/jaspe.168.2015.

[14] V. Chopra, S.K Singla, and L. Dewan, “Comparative Analysis of Tuning a PID Controller Using Intelligent Methods”, Acta Polytechnica Hungarica, vol. 11, pp. 235-249, 2014.

[15] J. C. Basilio and S. R. Matos, “Design of PI and PID Controllers with Transient Performance Specification,” IEEE Transactions on Education, vol. 45, no. 4, pp. 364–370, 2002. https://doi.org/10.1109/TE.2002.804399.

[16] O. M. Hesham, M. A. Attia, and S. F. Mekhamer, “Enhancement of AVR System Performance by using Hybrid Harmony Search and Dwarf Mongoose Optimization Algorithms,” Science Report, vol. 14, no. 1, Dec. 2024. https://doi.org/10.1038/s41598-024-77120-3.

[17] M. Abachizadeh, M. R. H. Yazdi and A. Yousefi-Koma, "Optimal Tuning of PID Controllers using Artificial Bee Colony Algorithm," IEEE/ASME International Conference on Advanced Intelligent Mechatronics, pp. 379-384, 2020. https://doi.org/10.1109/AIM.2010.5695861.

[18] M. Rayid Hasan Mojumder and N. Kumar Roy, “Review of Meta-Heuristic Optimization Algorithms to Tune The PID Controller Parameters for Automatic Voltage Regulator,” arXiv, 2024. https://doi.org/10.48550/arXiv.2409.00538.

[19] K. S. Tang, Kim Fung Man, Guanrong Chen and S. Kwong, "An Optimal Fuzzy PID controller," IEEE Transactions on Industrial Electronics, vol. 48, no. 4, pp. 757-765, Aug. 2001. https://doi.org/10.1109/41.937407.

[20] Qing-Guo Wang, Tong-Heng Lee, Ho-Wang Fung, Qiang Bi and Yu Zhang, "PID tuning for improved performance," IEEE Transactions on Control Systems Technology, vol. 7, no. 4, pp. 457-465, July 1999. https://doi.org/10.1109/41.937407.

[21] J. Kennedy and R. Eberhart, "Particle Swarm Optimization," Proceedings of ICNN'95 - International Conference on Neural Networks, vol.4, pp. 1942-1948, 1995. https://doi.org/10.1109/ICNN.1995.488968.

[22] R. Eberhart and J. Kennedy, "A new optimizer using particle swarm theory," Proceedings of the Sixth International Symposium on Micro Machine and Human Science, pp. 39-43, 1995. https://doi.org/10.1109/ICNN.1995.488968.

[23] A. Jones, “Particle Swarm Optimization,” 2023. https://doi.org/10.13140/RG.2.2.32162.20163.

[24] S. Liu et al., “An Improved Particle Swarm Optimization Method for Nonlinear Optimization,” International Journal of Intelligent Systems, vol. 2024, no. 1, 2024. https://doi.org/10.1155/2024/6628110.

[25] R. Eberhart and J. Kennedy, "A new optimizer using particle swarm theory," Proceedings of the Sixth International Symposium on Micro Machine and Human Science, pp. 39-43, 1995. https://doi.org/10.1109/ICNN.1995.488968.

[26] C. R. Reeves, C.C Wright, “Genetic Algorithms and the Design of Experiments”. The IMA Volumes in Mathematics and its Applications Springer, vol 111. Springer, 1999. https://doi.org/10.1007/978-1-4612-1542-4_12

[27] A. Jayachitra and R. Vinodha, “Genetic Algorithm Based PID Controller Tuning Approach for Continuous Stirred Tank Reactor,” Advances in Artificial Intelligence, vol. 2014, pp. 1–8, 2014. https://doi.org/10.1155/2014/791230

[28] S. S. Patil, U. B. Deshannavar, S. N. Gadekar-Shinde, A. H. Gadagi, and S. A. Kadapure, “Optimization Studies on Batch Extraction of Phenolic Compounds from Azadirachta Indica using Genetic Algorithm and Machine Learning Techniques,” Heliyon, vol. 9, no. 11, Nov. 2023. https://doi.org/10.1016/j.heliyon.2023.e21991

[29] T. A. Faris, K. Yusoff, M. Farid Atan, N. A. Rahman, S. F. Salleh, and N. A. Wahab, “Optimization of PID Tuning Using Genetic Algorithm,” Journal of Applied Science & Process Engineering, vol. 2, no. 2, 2015. https://doi.org/10.33736/jaspe.168.2015

[30] P. Aivaliotis-Apostolopoulos and D. Loukidis, “Swarming Genetic Algorithm: A Nested Fully Coupled Hybrid of Genetic Algorithm and Particle Swarm Optimization,” PLoS One, vol. 17, no. 9, 2022. https://doi.org/10.1371/journal.pone.0275094

[31] R. De Figueiredo, B. Toso, and J. Schmith, “Auto-Tuning PID Controller Based on Genetic Algorithm,” IntechOpen, 2023. https://doi.org/10.5772/intechopen.110143

[32] A. H. Fadhil and J. R. Lina, “Particle Swarm Optimization and Genetic Algorithm for Tuning PID Controller of Synchronous Generator AVR System,” Engineering and Technology Journal, vol. 29, no. 16, 2011.

[33] A. Hasibuan, F. Akbar, S. Meliala, Rosdiana, R. Putri, and I. M. Ari Nrartha, “Control and Monitoring of 1 Phase Generator Automatic Voltage Regulator Internet of Things,” International Journal of Electrical and Computer Engineering, vol. 14, no. 6, pp. 7158–7168, Dec. 2024. https://doi.org/10.11591/ijece.v14i6.pp7158-7168.

[34] T. A. Faris, K. Yusoff, M. Farid Atan, N. A. Rahman, S. F. Salleh, and N. A. Wahab, “Optimization of PID Tuning Using Genetic Algorithm,” Journal of Applied Science & Process Engineering, vol. 2, no. 2, 2015. https://doi.org/10.33736/jaspe.168.2015.

[35] M. Abdurrahman, M. A. Omer Nourain, M. O. Abdulsalam Muhieeddeen, O. H. ALnour Mahjoub, and M. A. Hassan Ahmed, “Optimizing the PID Controller by Using the Genetic Algorithm,” FES Journal of Engineering Sciences, vol. 11, no. 2, pp. 1–7, 2022. https://doi.org/10.52981/fjes.v11i2.1929.

[36] G. Renner and A. Ekart, “Genetic Algorithms in Computer-Aided Design,” Computer-Aided Design, vol. 35, no. 8, pp. 709-726, 2003. https://doi.org/10.1016/S0010-4485(03)00003-4.

[37] A. Kumar and R. Gupta, “Tuning of PID Controller Using PSO Algorithm and Compare Results of Integral Errors for AVR System,” International Journal Corner, 2013.

[38] M. A. Ibrahim, A. K. Mahmood, and N. S. Sultan, “Optimal PID Controller of a Brushless DC motor using Genetic Algorithm,” International Journal of Power Electronics and Drive Systems, vol. 10, no. 2, pp. 822–830, Jun. 2019. https://doi.org/10.11591/ijpeds.v10.i2.pp822-830.

[39] A. Jayachitra and R. Vinodha, “Genetic Algorithm Based PID Controller Tuning Approach for Continuous Stirred Tank Reactor,” Advances in Artificial Intelligence, vol. 2014, pp. 1–8, Dec. 2014. https://doi.org/10.1155/2014/791230.

Downloads

Published

2025-06-17

How to Cite

[1]
A. Sabo, “PID controller tuning for an AVR system using Particle Swarm Optimisation Techniques and Genetic Algorithm Techniques; A comparison based approach ”, Vokasi Unesa Bull. Eng. Technol. Appl. Sci., vol. 2, no. 2, pp. 270–280, Jun. 2025.

Issue

Section

Article
Abstract views: 3 , PDF Downloads: 9