Implementation of Kalman Filter on PID Based Quadcopter for Controlling Pitch Angle

Ernando Rizki Dalimunthe, Novan Dwiki Ananda, Jaka Persada Sembiring, Muhammad Anwar Sadat Faidar, Elka Pranita, Akhmad Jayadi, Novia Utami Putri

Submitted : 2024-12-30, Published : 2025-02-10.

Abstract

Improving quadcopter control systems poses significant challenges in unmanned flight technology development. Key issues include the intricate nature of PID and Kalman filter parameter settings, necessitating profound knowledge of system dynamics and sensor properties. Furthermore, successfully integrating the Kalman Filter with PID control demands meticulous coordination to optimize state estimation precision and system responsiveness. This research emphasizes the incorporation of the Kalman filter into PID-based control for quadcopter pitch angle regulation. The Proportional-Integral-Derivative (PID) approach governs pitch angle, augmented by the Kalman Filter, to enhance estimation accuracy and mitigate sensor uncertainty. Optimal outcomes during system response testing were achieved with parameters of Kp at 2.95, Ki at 0.23, and Kd at 0.02, resulting in superior oscillatory response, including a 9-degree overshoot, a 5-second rise time, a 15-second settling time, and a 0.15-degree steady-state error, showcasing effective regulation of the quadcopter pitch angle. A concurrent observation during testing indicated that including the Kalman filter led to a significantly reduced overshoot compared to tests without it; conversely, the settling time experienced considerable acceleration, while measurement accuracy in the steady-state condition improved by 50%.

Keywords

Quadcopter; PID; kalman filter

Full Text:

PDF

References

F. A. Permadi, R. E. Ak, and A. Fatoni, “Perancangan dan Implementasi Autonomous Landing Menggunakan Behavior-Based dan Fuzzy Controller pada Quadcopter,” JURNAL TEKNIK ITS, vol. 1, no. 1, pp. 90–95, 2012. https://doi.org/10.12962/j23373539.v1i1.260

H. Supriyanto, N. Afifah, A. Budiyarto, and K. Kunci, “Sistem Kendali Quadcopter Melalui Jaringan Internet Berbasis Lokasi dan Pengenalan Marker Menggunakan Smartphone,” in IROWN 10th Industrial Research Workshop and National Seminar, 2019, pp. 141–148.

V. Praveen and A. S. Pillai, “Modeling and Simulation of Quadcopter using PID Controller,” IJCTA, vol. 9, no. 15, pp. 7151–7158, 2016.

Y. Su, L. Ruan, L. Angeles, T. Tsao, and L. Angeles, “A Fast and Efficient Attitude Control Algorithm of a Tilt-Rotor Aerial Platform Using Inputs Redundancies,” IEEE Robotics and Automation Letters, vol. 7, no. 2, 2022. https://doi.org/10.1109/LRA.2021.3138806

C. Systems, N. H. Sahrir, M. Ariffanan, and M. Basri, “Intelligent PID Controller Based on Neural Network for AI- Driven Control Quadcopter UAV,” International Journal of Robotics and Control Systems, vol. 4, no. 2, pp. 691–708, 2024. https://doi.org/10.31763/ijrcs.v4i2.1374

A. K. Kazi et al., “Fuzzy Logic and Neural network-based self- tuned PID controller of Quadcopter,” Pakistan Journal of Emerging Science and Technologies (PJEST), vol. 12, no. 1, pp. 49–63, 2024. http://dx.doi.org/10.22555/pjets.v12i1.1085

Y. Liu, “Modelling and simulation of quadcopter UAV based on PID control,” Proceedings of the 2nd International Conference on Software Engineering and Machine Learning, pp. 202–210, 2024. http://dx.doi.org/10.54254/2755-2721/75/20240539

M. Ghanai and K. Chaf, “Kalman Filter in Control and Modeling” 2010. http://dx.doi.org/10.5772/9589.

M. S. Grewal, “Practical design and implementation methods for Kalman filtering for mission critical applications,” Journal of Institute of Navigation, vol. 66, no. 1, pp. 239-249, 2019. http://dx.doi.org/10.1002/navi.283.

S. Avisena, F. Kurniawan, and N. A. Purnami, “Penentuan Koreksi Sudut Attitude pada Quadrotor Menggunakan Algoritma Zero Acceleration Compensation,” Aviation Electronics, Information Technology, Telecommunications, Electricals, and Controls (AVITEC), vol. 4, no. 1, pp. 27–42, 2022. http://dx.doi.org/10.28989/avitec.v4i1.1109

W. M. Hui and M. Thompson, “Attitude Estimation of Four-Rotor UAV Based on Extended Kalman Filter,” International Journal of Engineering Continuity, vol. 1, no. 2, pp. 72–84, 2022. https://doi.org/10.58291/ijec.v1i2.52

D. P. Chandima, “Extended Kalman Filter Based Autonomous Flying System for Quadcopters,” in 2018 2nd International Conference On Electrical Engineering (EECON), pp. 130–137, 2018. http://dx.doi.org/10.1109/EECon.2018.8541019

H. Tominaga, F. Araki, Z. Wang, J. Cheng, Z. Miao, and H. Shi, “Adaptive dynamic kalman filter for high- performance tilt-angles estimation Adaptive dynamic kalman filter for high-performance tilt- angles estimation,” Journal of Physics: Conference Series, vol. 2616, 2023. http://dx.doi.org/10.1088/1742-6596/2616/1/012029

N. A. Razak et al., “A Study of Kalman ’ s Filter in Embedded Controller for Real-Time Quadrocopter Roll and Pitch Measurement,” in 2012 IEEE International Conference on Control System, Computing and Engineering, pp. 23–25, 2012. https://doi.org/10.1109/ICCSCE.2012.6487214

L. Lasmadi, “Attitude Estimation for Quadrotor Based on IMU with Kalman-Filter,” in Seminar Nasional Teknologi Informasi dan Kedirgantaraan, vol. 4, 2018. http://dx.doi.org/10.28989/senatik.v4i0.267

G. Sheng, B. I. Science, and G. Gao, “Fusion Attitude Solving Algorithm of Four-Rotor UAV Based on Improved Extended Kalman Filter,” in 2019 Chinese Automation Congress (CAC), pp. 3296–3299, 2019. https://doi.org/10.1109/CAC48633.2019.8996893

M. Sukmaningrum, A. W. Yulianto, M. N. Zakaria, R. H. Subrata, and R. Tarumasely, “Quadcopter Stability Control System Using PID And Kalman Filter,” Jurnal Jartel Jurnal Jaringan Telekomunikasi, vol. 13, no. 4, pp. 380–384, 2023. https://doi.org/10.33795/jartel.v13i4.470

N. Lwin and H. M. Tun, “Implementation of Flight Control System Based on Kalman And PID Controller For UAV,” International Journal of Scientific & Technology Research, vol. 3, no. 4, pp. 309–312, 2014.

F. Pan, L. Liu, and D. Xue, “Optimal PID controller design with Kalman filter for Qball-X4 quad-rotor unmanned aerial vehicle,” Transactions of the Institute of Measurement and Control, vol. 39, no. 12, 2016. https://doi.org/10.1177/0142331216656753.

W. Arfa, C. Ben Jabeur, M. Fathallah, and H. Seddik, “Nonlinear Kalman filter for gyroscopic and accelerometer noise rejection of an unmanned aerial vehicle control strategy,” IAES International Journal of Robotics and Automation (IJRA), vol. 13, no. 2, pp. 194–204, 2024. https://doi.org/10.11591/ijra.v13i2.pp194-204.

M. Idrissi, “A Review of Quadrotor Unmanned Aerial Vehicles: Applications, Architectural Design and Control Algorithms,” Journal of Intelligent & Robotic Systems, vol. 104, 2022. http://dx.doi.org/10.1007/s10846-021-01527-7

L. P. Song, D. J. Xu, J. L. Shi, and B. Jia, “The PID control algorithm based on MATLAB simulation,” Appl. Mech. Mater., vol. 494–495, pp. 1302–1305, 2014, http://dx.doi.org/10.4028/www.scientific.net/AMM.494-495.1302

J. D. Rojas, O. Arrieta, R. Vilanova, Advances in Industrial Control Industrial PID Controller Tuning With a Multiobjective Framework Using Matlab(r), Springer, 2021.

C. Urrea and R. Agramonte, “Kalman Filter: Historical Overview and Review of Its Use in Robotics 60 Years after Its Creation,” J. Sensors, vol. 2021, 2021. http://dx.doi.org/10.1155/2021/9674015

Article Metrics

Abstract view: 48 times
Download     : 11   times

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

Refbacks

  • There are currently no refbacks.