Intelligent PID Controller Based on Neural Network for AI-Driven Control Quadcopter UAV

(1) * Nur Hayati Sahrir Mail (Universiti Teknologi Malaysia, Malaysia)
(2) Mohd Ariffanan Mohd Basri Mail (Universiti Teknologi Malaysia, Malaysia)
*corresponding author

Abstract


Unmanned Aerial Vehicle (UAV), specifically a quadcopter is publicly popular which it provides services in different applications such as aerial delivery, aerial photography, military, weather forecasting and more examples to date. A Proportional-Integral-Derivative (PID) controller is one of the control techniques that can provide stabilization and reliable trajectory tracking. However, proper PID gains are needed to ensure a stable flight and it should be hybridized or improved to increase the robustness, reliability, and stabilization during flight. In this paper, an intelligent PID controller using neural network is proposed based on Levenberg-Marquardt feedforward neural network training method. The PID gains are initialized using different ranges according to the optimal gains generated by Particle Swarm Optimization, and this contributes towards a good training performance using Mean Square Error (MSE) evaluation. The trained network takes desired output and references as input data to calculate the required combination of PID gains as the output. The including of the response characteristics as the input data for the network, together with reference, error, and control input is the significance of the work. The performance of this work is presented using MSE performances, attitudes and altitude stabilization, and trajectory tracking reliability through error index performances. The simulation results graphically prove that the proposed controller provides better stability with reduced overshoot and settling times. Disturbance rejection is also enhanced by 1.7% compared to manual tuned PID controller. The reliability of the proposed controller highlights avenues for further exploration in AI-driven control strategies for quadcopter systems.

Keywords


Feedforward Neural Network; Particle Swarm Optimization; PID Controller; Quadcopter UAV

   

DOI

https://doi.org/10.31763/ijrcs.v4i2.1374
      

Article metrics

10.31763/ijrcs.v4i2.1374 Abstract views : 209 | PDF views : 114

   

Cite

   

Full Text

Download

References


[1] M. Moshref-javadi and M. Winkenbach, “Applications and Research avenues for drone-based models in logistics : A classification and review,” Expert Systems with Applications, vol. 177, p. 114854, 2021, https://doi.org/10.1016/j.eswa.2021.114854.

[2] B. Chamberlain and W. Sheikh, "Design and Implementation of a Quadcopter Drone Control System for Photography Applications," 2022 Intermountain Engineering, Technology and Computing (IETC), pp. 1-7, 2022, https://doi.org/10.1109/IETC54973.2022.9796735.

[3] Y. Ko, J. Kim, D. G. Duguma, P. V. Astillo, and I. You, G. Pau, “Drone Secure Communication Protocol for Future Sensitive Applications in Military Zone,” Sensors, vol. 21, no. 6, p. 2057, 2021, https://doi.org/10.3390/s21062057.

[4] A. Jaishwal and V. M. Lakshe, “Weather Station Quadcopter Using Arduino with NRF24L01 and GPS Module,” International Research Journal of Engineering and Technology, vol. 6, no. 3, pp. 4690–4691, 2019, https://www.irjet.net/archives/V6/i3/IRJET-V6I31202.pdf.

[5] M. A. M. Basri, A. R. Husain, and K. A. Danapalasingam, “Enhanced Backstepping Controller Design with Application to Autonomous Quadrotor Unmanned Aerial Vehicle,” Journal of Intelligent & Robotic Systems, vol. 79, pp. 295–321, 2015, https://doi.org/10.1007/s10846-014-0072-3.

[6] Z. He and L. Zhao, “A simple attitude control of quadrotor helicopter based on Ziegler-Nichols rules for tuning pd parameters,” The Scientific World Journal, vol. 2014, 2014, https://doi.org/10.1155/2014/280180.

[7] S. Khatoon, M. Shahid, Ibraheem and H. Chaudhary, "Dynamic modeling and stabilization of quadrotor using PID controller," 2014 International Conference on Advances in Computing, Communications and Informatics (ICACCI), pp. 746-750, 2014, https://doi.org/10.1109/ICACCI.2014.6968383.

[8] R. Roy, M. Islam, N. Sadman, M. A. P. Mahmud, K. D. Gupta, and M. M. Ahsan, “A Review on Comparative Remarks, Performance Evaluation and Improvement Strategies of Quadrotor Controllers,” Technologies, vol. 9, no. 2, p. 37, 2021, https://doi.org/10.3390/technologies9020037.

[9] A. Latif, K. Shankar, P. T. Nguyen, “Legged Fire Fighter Robot Movement Using PID,” Journal of Robotics and Control, vol. 1, no. 1, pp. 15–18, 2020, https://doi.org/10.18196/jrc.1104.

[10] M. Mahmud, S. M. A. Motakabber, A. H. M. Z. Alam, and A. N. Nordin, “Control BLDC motor speed using PID controller,” International Journal of Advanced Computer Science and Applications, vol. 11, no. 3, pp. 477-481, 2020, https://dx.doi.org/10.14569/IJACSA.2020.0110359.

[11] J. D. S. G. Barros, L. A. Rossi, Z. M. D. Souza, “PID temperature controller in pig nursery: spatial characterization of thermal environment,” International Journal of Biometeorology, vol. 62, pp. 773-781, 2018, https://doi.org/10.1007/s00484-017-1479-x.

[12] M. R. Habib et al., "PID Controller Based Automatic Solar PowerDriven Grass Cutting Machine," 2019 International Conference on Computer, Communication, Chemical, Materials and Electronic Engineering (IC4ME2), pp. 1-4, 2019, https://doi.org/10.1109/IC4ME247184.2019.9036513.

[13] N. Bao, X. Ran, Z. Wu, Y. Xue and K. Wang, "Research on attitude controller of quadcopter based on cascade PID control algorithm," 2017 IEEE 2nd Information Technology, Networking, Electronic and Automation Control Conference (ITNEC), pp. 1493-1497, 2017, https://doi.org/10.1109/ITNEC.2017.8285044.

[14] C. S. Subudhi and D. Ezhilarasi, “Modeling and Trajectory Tracking with Cascaded PD Controller for Quadrotor,” Procedia Computer Science, vol. 133, pp. 952–959, 2018, https://doi.org/10.1016/j.procs.2018.07.082.

[15] S. Abdelhay and A. Zakriti, “Modeling of a Quadcopter Trajectory Tracking System Using PID Controller,” Procedia Manufacturing, pp. 564-571, 2019, https://doi.org/10.1016/j.promfg.2019.02.253.

[16] P. Burggräf, A. R. P. Martínez, H. Roth, and J. Wagner, “Quadrotors in factory applications: design and implementation of the quadrotor’s P-PID cascade control system: Modeling and implementation,” SN Applied Sciences, vol. 1, no. 7, p. 722, 2019, https://doi.org/10.1007/s42452-019-0698-7.

[17] J. Moreno-Valenzuela, R. Pérez-Alcocer, M. Guerrero-Medina and A. Dzul, "Nonlinear PID-Type Controller for Quadrotor Trajectory Tracking," IEEE/ASME Transactions on Mechatronics, vol. 23, no. 5, pp. 2436-2447, 2018, https://doi.org/10.1109/TMECH.2018.2855161.

[18] A. A. Najm and I. K. Ibraheem, “Nonlinear PID controller design for a 6-DOF UAV quadrotor system,” Engineering Science and Technology, an International Journal, vol. 22, no. 4, pp. 1087-1097, 2019, https://doi.org/10.1016/j.jestch.2019.02.005.

[19] A. Noordin, M. A. M. Basri, and Z. Mohamed, “Simulation and experimental study on pid control of a quadrotor MAV with perturbation,” Bulletin of Electrical Engineering and Informatics, vol. 9, no. 5, pp. 1811–1818, 2020, https://doi.org/10.11591/eei.v9i5.2158.

[20] Q. Jiao, J. Liu, Y. Zhang and W. Lian, "Analysis and design the controller for quadrotors based on PID control method," 2018 33rd Youth Academic Annual Conference of Chinese Association of Automation (YAC), pp. 88-92, 2018, https://doi.org/10.1109/YAC.2018.8406352.

[21] A. Sheta, M. Braik, D. R. Maddi, A. Mahdy, S. Aljahdali, and H. Turabieh, “Optimization of PID Controller to Stabilize Quadcopter Movements using Meta-Heuristic Search Algorithms,” Applied Science, vol. 11, no. 14, p. 6492, 2021, https://doi.org/10.3390/app11146492.

[22] I. P. Canal, M. M. R. Pérez, and M. D. Campos, “Ziegler – Nichols Customization for Quadrotor Attitude Control under Empty and Full Loading Conditions,” Computer Modeling in Engineering & Sciences, vol. 125, no. 1, pp. 65-75, 2020, https://doi.org/10.32604/cmes.2020.010741.

[23] A. Noordin, M. A. M. Basri, Z. Mohamed, and A. F. Z. Abidin, “Modelling and PSO fine-tuned PID control of quadrotor UAV,” International Journal Advanced Science Engineering Information Technology, vol. 7, no. 4, pp. 1367–1373, 2017, https://doi.org/10.18517/ijaseit.7.4.3141.

[24] J. A. Cárdenas, U. E. Carrero, E. C. Camacho, and J. M. Calderón, “Optimal PID ø axis Control for UAV Quadrotor based on Multi-Objective PSO,” IFAC-PapersOnLine, vol. 55, no. 14, pp. 101–106, 2022, https://doi.org/10.1016/j.ifacol.2022.07.590.

[25] N. H. Sahrir and M. A. M. Basri, “PSO–PID Controller for Quadcopter UAV : Index Performance Comparison,” Arabian Journal for Science and Engineering, vol. 48, pp. 15241-15255, 2023, https://doi.org/10.1007/s13369-023-08088-x.

[26] G. Sonugür, C. O. Gökçe, Y. B. Koca, Ş. S. Inci, and Z. Keleş, “Particle Swarm Optimization Based Optimal Pid Controller for Quadcopters,” Comptes rendus de l’Acade'mie bulgare des Sciences, vol. 74, no. 12, pp. 1806-1814, 2021, https://doi.org/10.7546/CRABS.2021.12.11.

[27] I. Siti, M. Mjahed, H. Ayad, and A. El Kari, “New Trajectory Tracking Approach for a Quadcopter Using Genetic Algorithm and Reference Model Methods,” Applied Science, vol. 9, no. 9, p. 1780, 2019, https://doi.org/10.3390/app9091780.

[28] 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.

[29] S. Imane, M. Mostafa, A. Hassan and E. K. Abdeljalil, "Control of a quadcopter using reference model and genetic algorithm methods," 2015 Third World Conference on Complex Systems (WCCS), pp. 1-6, 2015, https://doi.org/10.1109/ICoCS.2015.7483296.

[30] I. E. Hajjami and B. Benhala, "Simulation Experiments of Different Metaheuristics Algorithms using Benchmark Functions: A Performance Study," 2022 International Conference on Intelligent Systems and Computer Vision (ISCV), pp. 1-6, 2022, https://doi.org/10.1109/ISCV54655.2022.9806089.

[31] C. B. Jabeur and H. Seddik, “Neural networks on-line optimized PID controller with wind gust rejection for a,” International Review of Applied Sciences and Engineering, vol. 13, no. 2, pp. 133-147, 2022, https://doi.org/10.1556/1848.2021.00325.

[32] S. Bari, S. S. Zehra Hamdani, H. U. Khan, M. u. Rehman and H. Khan, "Artificial Neural Network Based Self-Tuned PID Controller for Flight Control of Quadcopter," 2019 International Conference on Engineering and Emerging Technologies (ICEET), pp. 1-5, 2019, https://doi.org/10.1109/CEET1.2019.8711864.

[33] J. Gómez-Avila, C. López-Franco, A. Y. Alanis and N. Arana-Daniel, "Control of Quadrotor using a Neural Network based PID," 2018 IEEE Latin American Conference on Computational Intelligence (LA-CCI), pp. 1-6, 2018, https://doi.org/10.1109/LA-CCI.2018.8625222.

[34] O. Rodríguez-Abreo, J. Rodríguez-Reséndiz, C. Fuentes-Silva, R. Hernández-Alvarado and M. D. C. P. T. Falcón, "Self-Tuning Neural Network PID With Dynamic Response Control," IEEE Access, vol. 9, pp. 65206-65215, 2021, https://doi.org/10.1109/ACCESS.2021.3075452.

[35] K. M. Thu and A. I. Gavrilov, “Designing and Modeling of Quadcopter Control System Using L1 Adaptive Control,” Procedia Computer Science, vol. 103, pp. 528–535, 2017, https://doi.org/10.1016/j.procs.2017.01.046.

[36] M. A. Mohd Basri, A. R. Husain, and K. A. Danapalasingam, “Enhanced Backstepping Controller Design with Application to Autonomous Quadrotor Unmanned Aerial Vehicle,” Journal of Intelligent & Robotic Systems, vol. 79, pp. 295–321, 2015, https://doi.org/10.1007/s10846-014-0072-3.

[37] D. Domingos, G. Camargo, and F. Gomide, “Autonomous Fuzzy Control and Navigation of Quadcopters,” IFAC-PapersOnLine, vol. 49, no. 5, pp. 73–78, 2016, https://doi.org/10.1016/j.ifacol.2016.07.092.

[38] J. Kim, S. A. Gadsden and S. A. Wilkerson, "A Comprehensive Survey of Control Strategies for Autonomous Quadrotors," Canadian Journal of Electrical and Computer Engineering, vol. 43, no. 1, pp. 3-16, 2020, https://doi.org/10.1109/CJECE.2019.2920938.

[39] H. Voos, "Nonlinear control of a quadrotor micro-UAV using feedback-linearization," 2009 IEEE International Conference on Mechatronics, pp. 1-6, 2009, https://doi.org/10.1109/ICMECH.2009.4957154.

[40] A. Eltayeb, M. F. Rahmat, M. A. M. Basri, M. A. M. Eltoum and S. El-Ferik, "An Improved Design of an Adaptive Sliding Mode Controller for Chattering Attenuation and Trajectory Tracking of the Quadcopter UAV," IEEE Access, vol. 8, pp. 205968-205979, 2020, https://doi.org/10.1109/ACCESS.2020.3037557.

[41] M. F. Shehzad, A. Bilal and H. Ahmad, "Position & Attitude Control of an Aerial Robot (Quadrotor) With Intelligent PID and State feedback LQR Controller: A Comparative Approach," 2019 16th International Bhurban Conference on Applied Sciences and Technology (IBCAST), pp. 340-346, 2019, https://doi.org/10.1109/IBCAST.2019.8667170.

[42] N. H. Sahrir, M. A. M. Basri, “Modelling and Manual Tuning PID Control of Quadcopter,” Control, Instrumentation and Mechatronics: Theory and Practice, pp. 346–357, 2022, https://doi.org/10.1007/978-981-19-3923-5_30.

[43] A. N. Ponce, A. A. Behar, A. O. Hernández, and V. R. Sitar, “Neural Networks for Self-tuning Control Systems,” Acta Polytech., vol. 44, no. 1, pp. 49–52, 2004, https://doi.org/10.14311/514.


Refbacks

  • There are currently no refbacks.


Copyright (c) 2024 Nur Hayati Sahrir, Mohd Ariffanan Mohd Basri

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

 


About the JournalJournal PoliciesAuthor 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 IndonesiaDepartment 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