Flight-Log-Based Performance Analysis of a PID Controller for Pitch Response in a Quadcopter UAV

Authors

  • Lalu Aan Sasaka Akbar Faculty of Engineering and Technology, Defense, The Republic of Indonesia Defense University
  • Romie Oktovianus Bura Faculty of Engineering and Technology, Defense, The Republic of Indonesia Defense University
  • Dwi Mandaris National Research and Innovation Agency (BRIN)
  • Ahmad Sahid National Research and Innovation Agency (BRIN)
  • Ani Widuri Faculty of Engineering and Technology, Defense, The Republic of Indonesia Defense University

DOI:

https://doi.org/10.55927/ijar.v5i4.16442

Keywords:

Quadcopter UAV, PID Controller, Pitch Response, Flight Log, Attitude Stability

Abstract

This study analyzes the performance of an initial PID controller in the pitch channel of a quadcopter UAV using an empirical flight log exported from UAV Log Viewer. The aim is to evaluate pitch stability and command-following response by comparing desired pitch, current pitch, and North-East position data recorded during a 89.96s valid segment (2649 samples), analyzed through time-history inspection and error metrics. The method applies qualitative-quantitative log analysis with error metrics, time-history inspection, and trajectory interpretation. The results show weak pitch tracking: desired pitch varied from -1.34° to 4.14°, while measured pitch remained narrow at -0.73° to -0.50°; The log yielded MAE was 1.65°, RMSE was 2.04°, IAE = 148.46 degrees, and pitch correlation = 0.03.°. The findings imply that the initial gains are safe for data collection, but inadequate for responsive pitch control and require retuning.

Downloads

Download data is not yet available.

References

Beard, R. W., & McLain, T. W. (2012). Small Unmanned Aircraft: Theory and Practice. https://doi.org/10.1515/9781400840601

Bhar, A., & Sayadi, M. (2024). On designing a configurable UAV autopilot for unmanned quadrotors. Frontiers in Neurorobotics, 18. https://doi.org/10.3389/fnbot.2024.1363366

Cedro, L., Wieczorkowski, K., & Szcześniak, A. (2023). An Adaptive PID Control System for the Attitude and Altitude Control of a Quadcopter. Acta Mechanica et Automatica, 18(1), 29. https://doi.org/10.2478/ama-2024-0004

Djizi, H., & Zahzouh, Z. (2023). Comparative Study of PID, PD, LQR, and LQR-PD Regulators for Quadrotor Stabilization and Trajectory Tracking. Research Square (Research Square). https://doi.org/10.21203/rs.3.rs-2917613/v1

Engelsman, D., & Klein, I. (2025). AERO-LQG: Aerial-Enabled Robust Optimization for LQG-Based Quadrotor Flight Controller. arXiv (Cornell University). https://doi.org/10.48550/arxiv.2508.20888

Hodson, T. O. (2022). Root mean square error (RMSE) or mean absolute error (MAE): when to use them or not. Geoscientific Model Development Discussions. https://doi.org/10.5194/gmd-2022-64

Invernizzi, D., Panza, S., & Lovera, M. (2020). Robust Tuning of Geometric Attitude Controllers for Multirotor Unmanned Aerial Vehicles. Joural of Guidance Control and Dynamics, 43(7), 1332. https://doi.org/10.2514/1.g004457

López-Sánchez, I., & Moreno–Valenzuela, J. (2023). PID control of quadrotor UAVs: A survey. Annual Reviews in Control, 56, 100900. https://doi.org/10.1016/j.arcontrol.2023.100900

Maaruf, M., Mahmoud, M. S., & Ma’arif, A. (2022). A Survey of Control Methods for Quadrotor UAV. International Journal of Robotics and Control Systems, 2(3), 652. https://doi.org/10.31763/ijrcs.v2i4.743

Mandal, A. K. (2006). Introduction to control engineering: Modeling, analysis and design. New Age International Publishers.

Mottola, L., & Whitehouse, K. (2017). Flying Blind with Reactive Control of Aerial Drones. GetMobile Mobile Computing and Communications, 21(1), 25. https://doi.org/10.1145/3103535.3103545

Saraf, P., Gupta, M., & Parimi, A. M. (2020). A Comparative Study Between a Classical and Optimal Controller for a Quadrotor. 2021 IEEE 18th India Council International Conference (INDICON), 1. https://doi.org/10.1109/indicon49873.2020.9342485

Sheta, A., Braik, M., Maddi, D. R., Mahdy, A., Aljahdali, S., & Turabieh, H. (2021). Optimization of PID Controller to Stabilize Quadcopter Movements Using Meta-Heuristic Search Algorithms. Applied Sciences, 11(14), 6492. https://doi.org/10.3390/app11146492

Shraim, H., Awada, A., & Younès, R. (2018). A survey on quadrotors: Configurations, modeling and identification, control, collision avoidance, fault diagnosis and tolerant control. IEEE Aerospace and Electronic Systems Magazine, 33(7), 14. https://doi.org/10.1109/maes.2018.160246

Walter, A., McKay, M., Niemiec, R., Gandhi, F., & Berger, T. (2023). Hover Dynamics and Flight Control of a UAM-Scale Quadcopter With Hybrid RPM and Collective Pitch Control. Journal of the American Helicopter Society, 68(2), 143. https://doi.org/10.4050/jahs.68.022012

Published

2026-04-29

How to Cite

Akbar, L. A. S., Bura, R. O., Mandaris , D. ., Sahid, A. ., & Widuri, A. . (2026). Flight-Log-Based Performance Analysis of a PID Controller for Pitch Response in a Quadcopter UAV. Indonesian Journal of Advanced Research, 5(4), 487–496. https://doi.org/10.55927/ijar.v5i4.16442

Issue

Section

Articles