Real-Time Trajectory Tracking Control for UAVs via Online Genetic Algorithm-Based PID Optimization

Authors

  • Shaimaa Hadi Mohammad Ministry of Education, University of Sumer, College of Engineering, Department of Mechanical Engineering

Keywords:

Unmanned Aerial Vehicle (UAV), trajectory tracking control, adaptive PID, online genetic algorithm (OGA), real-time control, nonlinear UAV dynamics, gain optimization

Abstract

This paper presents a real-time trajectory tracking control strategy for unmanned aerial vehicles (UAVs) based on Online Genetic Algorithm (OGA) for proportional integral derivative (PID) controller optimization. The designed OGA-PID system adaptively changes controller gains during flight, providing robust adaptation against disturbances, noise, and changing operating conditions. A nonlinear UAV system was simulated under several reference trajectories, such as circular, figure-eight and helical trajectories, with performance measured through Monte Carlo experiments. Comparative results versus a baseline fixed-gain PID controller show that the OGA-PID method greatly minimizes tracking error of the X, Y and Z axes while providing smooth control input. Quantitative indices of performance, ISE, IAE and ITAE, also affirm systematic improvements of all trajectories. In addition, adaptive gain evolution during OGA updating reveals the capability of the algorithm to adjust control parameter settings at real time. the developed approach improves UAV trajectory tracking performance and robustness and presents a viable system framework for intelligent adaptive flight control.

References

A. Najm and I. K. Ibraheem, “Nonlinear PID Controller Design for a 6-DOF UAV Quadrotor System,” Engineering Science and Technology, an International Journal Volume 22, Issue 4, August 2019, Pages 1087-1097.

A. Noordin, M. A. Mohd Basri, and Z. Mohamed, “Real-Time Implementation of an Adaptive PID Controller for the Quadrotor MAV Embedded Flight Control System,” Aerospace, vol. 10, no. 1, p. 59, Jan. 2023.

Z. Mohamed, A. Noordin, and M. A. Basri, “Adaptive PID Control via Sliding Mode for Position Tracking of Quadrotor MAV: Simulation and Real-Time Experiment Evaluation,” Aerospace, vol. 10, no. 6, p. 512, May 2023.

H. K. Tran and T. N. Nguyen, “Flight motion controller design using genetic algorithm for a quadcopter,” Measurement and Control, vol. 51, no. 3-4, pp. 59–64.

S. Zouaoui, M. E. Mohamed, and K. Bendine, “Easy Tracking of UAV Using PID Controller,” Periodica Polytechnica Transportation Engineering, vol. 47, no. 3, pp. 171–177, 2018.

A. S. Qiao, Z. Liu, and Y. Zhang, “Gain Scheduling Based PID Control Approaches for Path Tracking and Fault Tolerant Control of a Quad-rotor UAV,” Int. J. Mechanical Engineering and Robotics Research, vol. 7, no. 4, pp. 401–408, July 2018.

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 Sciences, vol. 9, no. 9, p. 1780, 2019.

Ulus, Şaban & Eski, İkbal. Genetic Algorithm Based PID Parameter Optimization for Longitudinal Dynamics of a Fixed Wing Mini UAV. 2021. 10.1007/978-3-030-87383-7_36.

.[9] J.-W. Lee, N. Xuan-Mung, N. P. Nguyen, and S. K. Hong, “Adaptive Altitude Flight Control of Quadcopter Under Ground Effect and Time-Varying Load: Theory and Experiments,” J. Vibration and Control, 2023.

Boubakir, A.; Souanef, T.; Labiod, S.; Whidborne, J.F. A Robust Adaptive PID-like Controller for Quadrotor Unmanned Aerial Vehicle Systems. Aerospace 2024, 11, 980. https://doi.org/10.3390/aerospace11120980

.[11] H. Bouadi, A. Benallegue, and Y. Boudjerda, “Sliding Mode Control of a Quadrotor Unmanned Aerial Vehicle,” Int. J. Robotics and Automation, vol. 26, no. 1, pp. 94–103, 2011.

R. Mahony, V. Kumar, and P. Corke, “Multirotor Aerial Vehicles: Modeling, Estimation, and Control of Quadrotor,” IEEE Robotics and Automation Magazine, vol. 19, no. 3, pp. 20–32, Sept. 2012.

Bouktir, Yasser, Haddad, Moussa and Chettibi, Taha. Trajectory planning for a quadrotor helicopter. 2008 Mediterranean Conference on Control and Automation - Conference Proceedings, MED'08. 1258 - 1263. 2008. 10.1109/MED.2008.4602025.

Y. Zhang and J. Luo, “Intelligent Control for Quadrotor UAV Based on Nonlinear PID,” in Proc. IEEE ICCA, 2014, pp. 1630–1635.

J. Han, Y. Kim, and K. Park, “Adaptive Fuzzy PID Controller for UAV Flight Control,” Int. J. Control, Automation, and Systems, vol. 13, no. 3, pp. 604–612, 2015.

G. S. de Melo, J. R. Azinheira, and R. A. de Souza, “Sliding-Mode Control for UAV Path Tracking in Presence of Wind Disturbances,” Journal of Intelligent & Robotic Systems, vol. 87, no. 2, pp. 229–244, 2017.

A. Mokhtari and A. Benallegue, “Dynamic Feedback Controller of Euler Angles and Quaternions for a Quadrotor UAV,” Int. J. Robotics and Automation, vol. 21, no. 1, pp. 39–49, 2016.

M. H. Alsharif and S. Kim, “Design of an Adaptive PID Controller for Autonomous Quadrotor Tracking in Outdoor Environments,” Sensors, vol. 20, no. 12, p. 3417, 2020.

F. Rinaldi, A. Mantovani, and G. Quaranta, “Real-Time Adaptive Control of UAVs in Disturbance Environments,” IEEE Access, vol. 9, pp. 45100–45112, 2021.

F. Takaoğlu, A. Alshahrani, N. Ajlouni, F. Ajlouni, B. Al Kasasbah, and A. Özyavaş, “Robust Nonlinear Non-Referenced Inertial Frame Multi-Stage PID Controller for Symmetrical Structured UAV,” Symmetry, vol. 14, no. 4, article 689, 2022.

A. H. Hasan, A. N. Grachev, and S. J. Abbas, "State space parameters estimation using online genetic algorithms," International Journal of Computer Applications in Control Engineering, vol. 14, no. 3, pp. 21–29, 2014. [Online]. Available: https://iasj.rdd.edu.iq/journals/uploads/2024/12/28/04951a1b67defda456b129d1dc791114.pdf.

Downloads

Published

2025-12-11

How to Cite

Mohammad, S. H. . (2025). Real-Time Trajectory Tracking Control for UAVs via Online Genetic Algorithm-Based PID Optimization. CENTRAL ASIAN JOURNAL OF MATHEMATICAL THEORY AND COMPUTER SCIENCES, 7(1), 117–132. Retrieved from https://cajmtcs.casjournal.org/index.php/CAJMTCS/article/view/847

Issue

Section

Articles