(2) Ahmed Moutabir (Hassan 2nd University, Morocco)
(3) Abderrahmane Ouchatti (Hassan 2nd University, Morocco)
*corresponding author
AbstractThis article proposes implementing and comparing the effectiveness of three optimization algorithms (ACO, PSO, and FPA) for tuning a proportional-integral-derivative (PID) controller on an Arduino Mega 2560 board. This relatively unexplored approach aims to evaluate these algorithms through practical experiments. The choice of PID control is due to its design simplicity and widespread industrial use. Similarly, the permanent magnet DC motor (PMDC) was selected because of its crucial role in various industrial sectors. Tuning PID parameters using optimization algorithms has garnered increasing interest due to its demonstrated efficiency. Several studies have validated the stability of ACO, PSO, and FPA algorithms, justifying their selection. In this article, simulation results showed that ACO, with a response time of 0.322s and an overshoot of 0.68%, was more effective than PSO, which had a response time of 0.768s and an overshoot of 13%. FPA had a response time of 0.347s, close to ACO, but a higher overshoot of 6%. In practice, several factors come into play, such as speed ripples caused by the speed sensor, and machine saturation, which must be considered to ensure practical implementation. After adjusting the PID parameters and integrating a low-pass filter in the feedback loop, ACO, with a response time of 0.596s and an overshoot of 1.68%, was very close to FPA, which had a response time of 0.644s and an overshoot of 0.81%. This comparison highlighted the advantages of the FPA algorithm, which is simple to use, requires fewer parameters to adjust, and takes less time than ACO. This study suggests the potential for implementing a hybrid FPA-ACO algorithm, leveraging the strengths of both algorithms.
KeywordsAnt Colony Optimization; Particle Swarm Optimization; Flower Pollination Algorithm; PID Controller
|
DOIhttps://doi.org/10.31763/ijrcs.v4i3.1483 |
Article metrics10.31763/ijrcs.v4i3.1483 Abstract views : 346 | PDF views : 102 |
Cite |
Full TextDownload |
References
[1] V. Kumarasamy, V. KarumanchettyThottam Ramasamy, G. Chandrasekaran, G. Chinnaraj, P. Sivalingam, and N. S. Kumar, “A review of integer order PID and fractional order PID controllers using optimization techniques for speed control of brushless DC motor drive,” International Journal of System Assurance Engineering and Management, vol. 14, pp. 1139-1150, 2023, https://doi.org/10.1007/s13198-023-01952-x.
[2] S. B. Joseph, E. Gbenga Dada, A. Abidemi, D. Opeoluwa Oyewola, and M. Khammas, “Metaheuristic algorithms for PID controller parameters tuning: review, approaches and open problems,” Heliyon, vol. 8, no. 5, p. E09399, 2022, https://doi.org/10.1016/j.heliyon.2022.e09399.
[3] L. Kumar and N. P. Mandal, “Pressure control of fixed displacement variable speed radial piston pump using PID controller,” Materials Today Proceedings, vol. 56, pp. 1840-1846, 2022, https://doi.org/10.1016/j.matpr.2021.11.034.
[4] M. Z. B. A. Karim, and N. M. Thamrin, “Servo Motor Controller using PID and Graphical User Interface on Raspberry Pi for Robotic Arm,” Journal of Physics: Conference Series, vol. 2319, no. 1, p. 012015, 2022, https://doi.org/10.1088/1742-6596/2319/1/012015.
[5] A. Wahyudie, T. B. Susilo, C. S. A. Nandar, S. Fayez, and R. Errouissi, “Simple Robust PID Tuning for Magnetic Levitation Systems Using Model-free Control and ℋ∞ Control Strategies,” International Journal of Control, Automation and Systems, vol. 19, pp. 3956-3966, 2021, https://doi.org/10.1007/s12555-020-0253-8.
[6] S. Kadry and V. Rajinikanth, “Design of PID Controller for Magnetic Levitation System using Harris Hawks Optimization,” Jurnal Ilmiah Teknik Elektro Komputer dan Informatika, vol. 6, no. 2, pp. 70-78, 2020, http://dx.doi.org/10.26555/jiteki.v6i2.19167.
[7] D. Bakria, M. Azzouzi, and D. Gozim, “Chaos Control and Stabilization of a PID Controlled Buck Converter Using the Spotted Hyena Optimizer,” Engineering, Technology and Applied Science Research, vol. 11, no. 6, pp. 7922-7926, 2021, https://doi.org/10.48084/etasr.4585.
[8] D. Izci, B. Hekimoğlu, and S. Ekinci, “A new artificial ecosystem-based optimization integrated with Nelder-Mead method for PID controller design of buck converter,” Alexandria Engineering Journal, vol. 61, no. 3, pp. 2030-2044, 2022, https://doi.org/10.1016/j.aej.2021.07.037.
[9] M. Waszak and R. Łangowski, "An Automatic Self-Tuning Control System Design for an Inverted Pendulum," IEEE Access, vol. 8, pp. 26726-26738, 2020, https://doi.org/10.1109/ACCESS.2020.2971788.
[10] M. F. Q. Say, E. Sybingco, A. A. Bandala, R. R. P. Vicerra and A. Y. Chua, "A Genetic Algorithm Approach to PID Tuning of a Quadcopter UAV Model," 2021 IEEE/SICE International Symposium on System Integration (SII), pp. 675-678, 2021, https://doi.org/10.1109/IEEECONF49454.2021.9382697.
[11] R. Khandait, V. Kumar, V. Bhurse, V. Tiwari and S. Khubalkar, "Quadcopter Control using Different Controllers," 2022 International Conference on Intelligent Controller and Computing for Smart Power (ICICCSP), pp. 1-6, 2022, https://doi.org/10.1109/ICICCSP53532.2022.9862416.
[12] T. Ahmmed, I. Akhter, S. M. R. Karim, and F. A. S. Ahamed, “Genetic Algorithm Based PID Parameter Optimization,” American Journal of Intelligent Systems, vol. 10, no. 1, pp. 8-13, 2020, https://doi.org/10.5923/j.ajis.20201001.02.
[13] Y. Hong, C. Fu, and B. Merci, “Optimization and determination of the parameters for a PID based ventilation system for smoke control in tunnel fires: Comparative study between a genetic algorithm and an analytical trial-and-error method,” Tunnelling and Underground Space Technology, vol. 136, p. 105088, 2023, https://doi.org/10.1016/j.tust.2023.105088.
[14] D. Baidya, S. Dhopte and M. Bhattacharjee, "Sensing System Assisted Novel PID Controller for Efficient Speed Control of DC Motors in Electric Vehicles," IEEE Sensors Letters, vol. 7, no. 1, pp. 1-4, 2023, https://doi.org/10.1109/LSENS.2023.3234400.
[15] A. A. Abd Samat, M. A. Subani, N. F. Ab Aziz, N. A. Salim, K. Daud and A. I. Tajudin, "PSO-Based PI Controller for Speed Control Of DC Motor," 2022 IEEE International Conference on Power and Energy (PECon), pp. 481-486, 2022, https://doi.org/10.1109/PECon54459.2022.9988840.
[16] F. Z. Baghli, Y. Lakhal, and Y. A. E. Kadi, “The Efficiency of an Optimized PID Controller Based on Ant Colony Algorithm (ACO-PID) for the Position Control of a Multi-articulated System,” Journal of Robotics and Control, vol. 4, no. 3, pp. 289-298, 2023, https://doi.org/10.18196/jrc.v4i3.17709.
[17] H. Du, P. Liu, Q. Cui, X. Ma, and H. Wang, “PID Controller Parameter Optimized by Reformative Artificial Bee Colony Algorithm,” Journal of Mathematics, vol. 2022, no. 1, pp. 1-16, 2022, https://doi.org/10.1155/2022/3826702.
[18] A. I. Tajudin, M. A. D. Izani, A. A. A. Samat, S. Omar and M. A. M. Idin, "Design a Speed Control for DC Motor Using an Optimal PID Controller Implementation of ABC Algorithm," 2022 IEEE 12th International Conference on Control System, Computing and Engineering (ICCSCE), pp. 97-102, 2022, https://doi.org/10.1109/ICCSCE54767.2022.9935644.
[19] Y. Nuthalapati and R. S. R. K. Naidu, “A Novel Modulating PID Controller for a Speed Control of BLDC Motor Adopting Flower Pollination Algorithm,” Intelligent Computing in Control and Communication, vol. 702, pp. 159-168, 2021, https://doi.org/10.1007/978-981-15-8439-8_14.
[20] T. Chiranjeevi et al., “Control of electric machines using flower pollination algorithm based fractional order PID controller,” Global Transitions Proceedings, vol. 2, no. 2, pp. 227–232, 2021, https://doi.org/10.1016/j.gltp.2021.08.057.
[21] D. Guha, P. K. Roy, S. Banerjee, S. Padmanaban, F. Blaabjerg and D. Chittathuru, "Small-Signal Stability Analysis of Hybrid Power System With Quasi-Oppositional Sine Cosine Algorithm Optimized Fractional Order PID Controller," IEEE Access, vol. 8, pp. 155971-155986, 2020, https://doi.org/10.1109/ACCESS.2020.3018620.
[22] P. Dutta and S. K. Nayak, “Grey Wolf Optimizer Based PID Controller for Speed Control of BLDC Motor,” Journal of Electrical Engineering & Technology, vol. 16, no. 2, pp. 955-961, 2021, https://doi.org/10.1007/s42835-021-00660-5.
[23] J. Bhookya, M. Vijaya Kumar, J. Ravi Kumar, and A. Seshagiri Rao, “Implementation of PID controller for liquid level system using mGWO and integration of IoT application,” Journal of Industrial Information Integration, vol. 28, p. 100368, 2022, https://doi.org/10.1016/j.jii.2022.100368.
[24] M. M. Gani, M. Saiful Islam, · Muhammad, and A. Ullah, “Optimal PID tuning for controlling the temperature of electric furnace by genetic algorithm,” SN Applied Sciences, vol. 1, no. 880, 2019, https://doi.org/10.1007/s42452-019-0929-y.
[25] Y. Zhou, J. Zhang, X. Yang, and Y. Ling, “Optimization of PID Controller Based on Water Wave Optimization for an Automatic Voltage Regulator System,” Information Technology and Control, vol. 48, no. 1, pp. 160-171, 2019, https://doi.org/10.5755/j01.itc.48.1.20296.
[26] B. N. Kommula and V. R. Kota, “Direct instantaneous torque control of Brushless DC motor using firefly Algorithm based fractional order PID controller,” Journal of King Saud University: Engineering Sciences,vol. 32, no. 2, pp.133-140, 2020, https://doi.org/10.1016/j.jksues.2018.04.007.
[27] M. Ali, H. Suyono, M. A. Muslim, M. R. Djalal, Y. M. Safarudin, A. A. Firdaus, “Determination of the parameters of the firefly method for PID parameters in solar panel applications,” Sinergi, vol. 26, no. 2, pp. 265-272, 2022, https://dx.doi.org/10.22441/sinergi.2022.2.016.
[28] D. F. U. Putra, A. A. Firdaus, H. Arof, N. P. U. Putra, and V. A. Kusuma, “Improved load frequency control performance by tuning parameters of PID controller and BESS using Bat algorithm,” Bulletin of Electrical Engineering and Informatics, vol. 12, no. 5, pp. 2624-2634, 2023, https://doi.org/10.11591/eei.v12i5.4548.
[29] S. Tiacharoen, "Optimal Tuning of 2DOF-PID Controllers Using Bat Algorithm," 2023 7th International Conference on Information Technology (InCIT), pp. 388-391, 2023, https://doi.org/10.1109/InCIT60207.2023.10412900.
[30] A. Loganathan and N. S. Ahmad, "Robot Path Planning via Harris Hawks Optimization: A Comparative Assessment," 2023 International Conference on Energy, Power, Environment, Control, and Computing (ICEPECC), pp. 1-4, 2023, https://doi.org/10.1109/ICEPECC57281.2023.10209484.
[31] S. Ekinci, D. Izci and B. Hekimoğlu, "PID Speed Control of DC Motor Using Harris Hawks Optimization Algorithm," 2020 International Conference on Electrical, Communication, and Computer Engineering (ICECCE), pp. 1-6, 2020, https://doi.org/10.1109/ICECCE49384.2020.9179308.
[32] A. Najem, A. Moutabir, A. Ouchatti, and M. El Haissouf, “Experimental Validation of the Generation of Direct and Quadratic Reference Currents by Combining the Ant Colony Optimization Algorithm and Sliding Mode Control in PMSM using the Process PIL,” International Journal of Robotics and Control Systems, vol. 4, no. 1, pp. 188-216, 2024, https://doi.org/10.31763/ijrcs.v4i1.1286.
[33] S. Chauhan, B. Singh, and M. Singh, “Modified ant colony optimization based PID controller design for coupled tank system,” Engineering Research Express, vol. 3, no. 4, p. 045005, 2021, https://doi.org/10.1088/2631-8695/ac2bf3.
[34] E. S. Rahayu, A. Ma’arif, and A. Cakan, “Particle Swarm Optimization (PSO) Tuning of PID Control on DC Motor,” International Journal of Robotics and Control Systems, vol. 2, no. 2, pp. 435-447, 2022, https://doi.org/10.31763/ijrcs.v2i2.476.
[35] A. K. Kashyap and D. R. Parhi, “Particle Swarm Optimization aided PID gait controller design for a humanoid robot,” ISA Transactions, vol. 114, pp. 306-330, 2021, https://doi.org/10.1016/j.isatra.2020.12.033.
[36] Z. Guan and T. Yamamoto, “Design of a Reinforcement Learning PID Controller,” IEEJ transactions on electrical and electronic engineering, vol. 16, no. 10, pp. 1354-1360, 2021, https://doi.org/10.1002/tee.23430.
[37] A. Najem, A. Moutabir, M. Rafik and A. Ouchatti, "Comparative Study of PMSM Control Using Reinforcement Learning and PID Control," 2023 3rd International Conference on Innovative Research in Applied Science, Engineering and Technology (IRASET), pp. 1-5, 2023, https://doi.org/10.1109/IRASET57153.2023.10153024.
[38] S. Oladipo, Y. Sun, Z. Wang, “Optimization of PID Controller with Metaheuristic Algorithms for DC Motor Drives: Review,” International Review of Electrical Engineering, vol. 15, no. 5, pp. 352-381, 2020, https://doi.org/10.15866/iree.v15i5.18688.
[39] X. Zhang and Q. Zhang, "Optimization of PID Parameters Based on Ant Colony Algorithm," 2021 International Conference on Intelligent Transportation, Big Data & Smart City (ICITBS), pp. 850-853, 2021, https://doi.org/10.1109/ICITBS53129.2021.00211.
[40] A. Abushawish, M. Hamadeh, A. B. Nassif, “PID Controller Gains Tuning Using Metaheuristic Optimization Methods: A survey,” International Journal of Computers, vol. 14, pp. 87-95, 2020, https://doi.org/10.46300/9108.2020.14.14.
[41] M. Sreejeth, R. Kumar, N. Tripathi and P. Garg, "Tuning A PID Controller using Metaheuristic Algorithms," 2023 8th International Conference on Communication and Electronics Systems (ICCES), pp. 276-282, 2023, https://doi.org/10.1109/ICCES57224.2023.10192687.
[42] M. V. D. Rocha, L. P. Sampaio and S. A. O. D. Silva, "Comparative Analysis of ABC, Bat, GWO and PSO Algorithms for MPPT in PV Systems," 2019 8th International Conference on Renewable Energy Research and Applications (ICRERA), pp. 347-352, 2019, https://doi.org/10.1109/ICRERA47325.2019.8996520.
[43] T. O. Ajewole, O. Oladepo, K. A. Hassan, A. A. Olawuyi, O. Onarinde, “Comparative study of the performances of three metaheuristic algorithms in sizing hybrid-source power system," Turkish Journal of Electrical Power and Energy Systems, vol. 2, no 2, pp. 134-146, 2022, https://doi.org/10.5152/tepes.2022.22012.
[44] A. Mateen, M. Wasim, A. Ahad, T. Ashfaq, M. Iqbal, and A. Ali, “Smart energy management system for minimizing electricity cost and peak to average ratio in residential areas with hybrid genetic flower pollination algorithm,” Alexandria Engineering Journal, vol. 77, pp. 593-611, 2023, https://doi.org/10.1016/j.aej.2023.06.053.
[45] M. Dadvar, H. Navidi, H. H. S. Javadi, and M. Mirzarezaee, “A cooperative approach for combining particle swarm optimization and differential evolution algorithms to solve single-objective optimization problems,” Applied Intelligence, vol. 52, no. 4, pp. 4089-4108, 2022, https://doi.org/10.1007/s10489-021-02605-x.
[46] G. Zhou, H. Moayedi, M. Bahiraei, and Z. Lyu, “Employing artificial bee colony and particle swarm techniques for optimizing a neural network in prediction of heating and cooling loads of residential buildings,” Journal of Cleaner Production, vol. 254, p. 120082, 2020, https://doi.org/10.1016/j.jclepro.2020.120082.
[47] C. Yin, Q. Fang, H. Li, Y. Peng, X. Xu, and D. Tang, “An optimized resource scheduling algorithm based on GA and ACO algorithm in fog computing,” The Journal of Supercomputing, vol. 80, pp. 4248-4285, 2024, https://doi.org/10.1007/s11227-023-05571-y.
[48] A. I. A. Raof, M. S. Hadi, A. Jamali, H. M. Yatim, M. H. A. Talib and I. Z. M. Darus, "Intelligent PID Controller Tuned by Bacterial Foraging Optimization Algorithm for Vibration Suppression of Horizontal Flexible Structure," 2022 IEEE 8th International Conference on Smart Instrumentation, Measurement and Applications (ICSIMA), pp. 237-241, 2022, https://doi.org/10.1109/ICSIMA55652.2022.9928906.
[49] I. S. Okoro and C. O. Enwerem, “Robust control of a DC motor,” Heliyon, vol. 6, no. 12, p. E05777, 2020, https://doi.org/10.1016/j.heliyon.2020.e05777.
[50] A. Maarif and N. R. Setiawan, “Control of DC Motor Using Integral State Feedback and Comparison with PID: Simulation and Arduino Implementation,” Journal of Robotics and Control, vol. 2, no. 5, pp. 456-461, 2021, https://doi.org/10.18196/jrc.25122.
[51] A. Ma’arif and A. Çakan, “Simulation and Arduino Hardware Implementation of DC Motor Control Using Sliding Mode Controller,” Journal of Robotics and Control, vol. 2, no. 6, pp. 582-587, 2021, https://doi.org/10.18196/jrc.26140.
[52] K. G. Abdulhussein, N. M. Yasin, I. J. Hasan, and K. G. Abdulhussein, “Comparison between butterfly optimization algorithm and particle swarm optimization for tuning cascade PID control system of PMDC motor,” International Journal of Power Electronics and Drive Systems, vol. 12, no. 2, pp. 736-744, 2021, http://doi.org/10.11591/ijpeds.v12.i2.pp736-744.
[53] N. Razmjooy, Z. Vahedi, V. V. Estrela, R. Padilha, and A. C. B. Monteiro, “Speed Control of a DC Motor Using PID Controller Based on Improved Whale Optimization Algorithm,” Metaheuristics and Optimization in Computer and Electrical Engineering, vol. 696, pp. 153–167, 2021, https://doi.org/10.1007/978-3-030-56689-0_8.
[54] S. Nadweh, O. Khaddam, G. Hayek, B. Atieh, and H. Haes Alhelou, “Optimization of P& PI controller parameters for variable speed drive systems using a flower pollination algorithm,” Heliyon, vol. 6, no. 8, p. E04648, 2017, https://doi.org/10.1016/j.heliyon.2020.e04648.
Refbacks
- There are currently no refbacks.
Copyright (c) 2024 Adil NAJEM, Ahmed Moutabir, Abderrahmane Ouchatti
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
About the Journal | Journal Policies | Author | Information |
International Journal of Robotics and Control Systems
e-ISSN: 2775-2658
Website: https://pubs2.ascee.org/index.php/IJRCS
Email: ijrcs@ascee.org
Organized by: Association for Scientific Computing Electronics and Engineering (ASCEE), Peneliti Teknologi Teknik Indonesia, Department of Electrical Engineering, Universitas Ahmad Dahlan and Kuliah Teknik Elektro
Published by: Association for Scientific Computing Electronics and Engineering (ASCEE)
Office: Jalan Janti, Karangjambe 130B, Banguntapan, Bantul, Daerah Istimewa Yogyakarta, Indonesia