Comparative Analysis of Sensor Fusion for Angle Estimation Using Kalman and Complementary Filters

(1) Phichitphon Chotikunnan Mail (Rangsit University, Thailand)
(2) Wanida Khotakham Mail (Rangsit University, Thailand)
(3) Alfian Ma'arif Mail (Universitas Ahmad Dahlan, Indonesia)
(4) * Anuchit Nirapai Mail (Rangsit University, Thailand)
(5) Kanyanat Javana Mail (Triamudom Suksa Nomklao Uttaradit School, Thailand)
(6) Pawichaya Pisa Mail (Triamudom Suksa Nomklao Uttaradit School, Thailand)
(7) Phanassanun Thajai Mail (Triamudom Suksa Nomklao Uttaradit School, Thailand)
(8) Supachai Keawkao Mail (Triamudom Suksa Nomklao Uttaradit School, Thailand)
(9) Kittipan Roongprasert Mail (Rangsit University, Thailand)
(10) Rawiphon Chotikunnan Mail (Rangsit University, Thailand)
(11) Pariwat Imura Mail (Rangsit University, Thailand)
(12) Nuntachai Thongpance Mail (Rangsit University, Thailand)
*corresponding author

Abstract


In engineering, especially for robots, navigation, and biomedical uses, accurate angle estimation is absolutely crucial. Using data from the IMU6050 sensor, which combines accelerometer and gyroscope readings, this work contrasts two sensor fusion methods: the Kalman filter and the complementary filter. The aim of the research is to find the most efficient filtering method for preserving accuracy and resilience throughout several motion contexts, including low-noise (standard rotation) and high-noise (external disturbances). With an eye toward improving sensor accuracy in dynamic applications, the study contribution is a thorough investigation of filter performance under different noise levels. MATLAB quantified estimate accuracy using key metrics like root mean square error (RMSE) and mean absolute error (MAE). Under controlled noise levels, our approach included methodical error analysis of both filters. Results show that, especially under low-noise conditions, the Kalman filter beats the complementary filter in terms of lower MAE and RMSE; it also shows adaptability and robustness in high-noise environments with much fewer errors than accelerometer-only and complementary filter outputs. These results show the relevance of the Kalman filter in practical settings like robotic control, motion tracking, and possible biomedical equipment, including patient positioning systems and wheelchairs with balance control. Future studies might investigate the implementation of the Kalman filter in sophisticated systems requiring accuracy, such as telemedicine robots or autonomous navigation. This work develops sensor fusion techniques and offers understanding of consistent sensor data processing in several operating environments.

Keywords


IMU6050; Kalman Filter; Complementary Filter; Sensor Fusion

   

DOI

https://doi.org/10.31763/ijrcs.v5i1.1674
      

Article metrics

10.31763/ijrcs.v5i1.1674 Abstract views : 291 | PDF views : 81

   

Cite

   

Full Text

Download

References


[1] M. Barbary and M. H. A. ElAzeem, “Drones tracking based on robust cubature Kalman-TBD-multi-Bernoulli filter,” ISA Transactions, vol. 114, pp. 277-290, 2021, https://doi.org/10.1016/j.isatra.2020.12.042.

[2] K. Ansari and P. Jamjareegulgarn, "Effect of Weighted PDOP on Performance of Linear Kalman Filter for RTK Drone Data," IEEE Geoscience and Remote Sensing Letters, vol. 19, pp. 1-4, 2022, https://doi.org/10.1109/LGRS.2022.3204323

[3] M. L. Hoang, M. Carratù, V. Paciello, and A. Pietrosanto, “Fusion Filters between the No Motion No Integration Technique and Kalman Filter in Noise Optimization on a 6DoF Drone for Orientation Tracking,” Sensors, vol. 23, no. 12, p. 5603, 2023, https://doi.org/10.3390/s23125603.

[4] E. Lim, "Pose Estimation of a Drone Using Dynamic Extended Kalman Filter Based on a Fuzzy System," 2021 9th International Conference on Control, Mechatronics and Automation (ICCMA), pp. 141-145, 2021, https://doi.org/10.1109/ICCMA54375.2021.9646187.

[5] F. J. González-Castaño, F. Gil-Castiñeira, D. Rodríguez-Pereira, J. Á. Regueiro-Janeiro, S. García-Méndez and D. Candal-Ventureira, "Self-Corrective Sensor Fusion for Drone Positioning in Indoor Facilities," IEEE Access, vol. 9, pp. 2415-2427, 2021, https://doi.org/10.1109/ACCESS.2020.3048194.

[6] Z. Dai and L. Jing, "Lightweight Extended Kalman Filter for MARG Sensors Attitude Estimation," IEEE Sensors Journal, vol. 21, no. 13, pp. 14749-14758, 2021, https://doi.org/10.1109/JSEN.2021.3072887.

[7] F. Marino and G. Guglieri, “Beyond Static Obstacles: Integrating Kalman Filter with Reinforcement Learning for Drone Navigation,” Aerospace, vol. 11, no. 5, p. 395, 2024, https://doi.org/10.3390/aerospace11050395.

[8] W. An, T. Lin, and P. Zhang, “An Autonomous Soaring for Small Drones Using the Extended Kalman Filter Thermal Updraft Center Prediction Method Based on Ordinary Least Squares,” Drones, vol. 7, no. 10, p. 603, 2023, https://doi.org/10.3390/drones7100603.

[9] S. Srey and S. Srang, “Adaptive Controller Based on Estimated Parameters for Quadcopter Trajectory Tracking,” International Journal of Robotics and Control Systems, vol. 4, no. 2, pp. 480-501, 2024, https://doi.org/10.31763/ijrcs.v4i2.1342.

[10] I. Kurniasari and A. Ma'arif, “Implementing PID-Kalman Algorithm to Reduce Noise in DC Motor Rotational Speed Control,” International Journal of Robotics and Control Systems, vol. 4, no. 2, pp. 958-978, 2024, https://doi.org/10.31763/ijrcs.v4i2.1309.

[11] R. Ikhsan Alfian, A. Ma'arif, and S. Sunardi, “Noise Reduction in the Accelerometer and Gyroscope Sensor with the Kalman Filter Algorithm,” Journal of Robotics and Control (JRC), vol. 2, no. 3, pp. 180-189, 2021, https://doi.org/10.18196/jrc.2375.

[12] V. Mansur, S. Reddy, S. R and R. Sujatha, "Deploying Complementary filter to avert gimbal lock in drones using Quaternion angles," 2020 IEEE International Conference on Computing, Power and Communication Technologies (GUCON), pp. 751-756, 2020, https://doi.org/10.1109/GUCON48875.2020.9231126.

[13] A. Basiri, V. Mariani, and L. Glielmo, “Improving Visual SLAM by Combining SVO and ORB-SLAM2 with a Complementary Filter to Enhance Indoor Mini-Drone Localization under Varying Conditions,” Drones, vol. 7, no. 6, p. 404, 2023, https://doi.org/10.3390/drones7060404.

[14] H. Dong, J. Liu, C. Wang, H. Cao, C. Shen and J. Tang, "Drone Detection Method Based on the Time-Frequency Complementary Enhancement Model," IEEE Transactions on Instrumentation and Measurement, vol. 72, pp. 1-12, 2023, https://doi.org/10.1109/TIM.2023.3328072.

[15] N. Srinidhi, J. Shreyas, and E. Naresh, “Establishing Self-Healing and Seamless Connectivity among IoT Networks Using Kalman Filter,” Journal of Robotics and Control (JRC), vol. 3, no. 5, pp. 646-655, 2022, https://doi.org/10.18196/jrc.v3i5.11622.

[16] B. Skorohod, “Finite Impulse Response Filtering Algorithm with Adaptive Horizon Size Selection and Its Applications,” Journal of Robotics and Control (JRC), vol. 3, no. 6, pp. 836-847, 2023, https://doi.org/10.18196/jrc.v3i6.16058.

[17] V. Shenoy and S. Vekata, “Estimation of Liquid Level in a Harsh Environment Using Chaotic Observer,” Journal of Robotics and Control (JRC), vol. 3, no. 5, pp. 566-582, 2022, https://doi.org/10.18196/jrc.v3i5.16183.

[18] W. T. Higgins, "A Comparison of Complementary and Kalman Filtering," IEEE Transactions on Aerospace and Electronic Systems, vol. AES-11, no. 3, pp. 321-325, 1975, https://doi.org/10.1109/TAES.1975.308081.

[19] P. Vlastos, G. Elkaim and R. Curry, "Low-Cost Validation for Complementary Filter-Based AHRS," 2020 IEEE/ION Position, Location and Navigation Symposium (PLANS), pp. 1444-1451, 2020, https://doi.org/10.1109/PLANS46316.2020.9109965.

[20] M. Al Borno et al., “OpenSense: An open-source toolbox for inertial-measurement-unit-based measurement of lower extremity kinematics over long durations,” Journal of Neuroengineering and Rehabilitation, vol. 19, no. 1, p. 22, 2022, https://doi.org/10.1186/s12984-022-01001-x.

[21] R. V. Vitali, R. S. McGinnis and N. C. Perkins, "Robust Error-State Kalman Filter for Estimating IMU Orientation," IEEE Sensors Journal, vol. 21, no. 3, pp. 3561-3569, 2021, https://doi.org/10.1109/JSEN.2020.3026895.

[22] M. Khodarahmi and V. Maihami, “A review on Kalman filter models,” Archives of Computational Methods in Engineering, vol. 30, no. 1, pp. 727-747, 2023, https://doi.org/10.1007/s11831-022-09815-7.

[23] J. Khodaparast, "A Review of Dynamic Phasor Estimation by Non-Linear Kalman Filters," IEEE Access, vol. 10, pp. 11090-11109, 2022, https://doi.org/10.1109/ACCESS.2022.3146732.

[24] A. K. Singh, "Major development under Gaussian filtering since unscented Kalman filter," IEEE/CAA Journal of Automatica Sinica, vol. 7, no. 5, pp. 1308-1325, 2020, https://doi.org/10.1109/JAS.2020.1003303.

[25] H. Liu, F. Hu, J. Su, X. Wei and R. Qin, "Comparisons on Kalman-Filter-Based Dynamic State Estimation Algorithms of Power Systems," IEEE Access, vol. 8, pp. 51035-51043, 2020, https://doi.org/10.1109/ACCESS.2020.2979735.

[26] R. Hartley, M. Ghaffari, R. M. Eustice, and J. W. Grizzle, “Contact-aided invariant extended Kalman filtering for robot state estimation,” The International Journal of Robotics Research, vol. 39, no. 4, pp. 402-430, 2020, https://doi.org/10.1177/0278364919894385.

[27] Y. T. Bai, X. Y. Wang, X. B. Jin, Z. Y. Zhao, and B. H. Zhang, “A neuron-based kalman filter with nonlinear autoregressive model,” Sensors, vol. 20, no. 1, p. 299, 2020, https://doi.org/10.3390/s20010299.

[28] I. Ullah, X. Su, X. Zhang, and D. Choi, “Simultaneous localization and mapping based on Kalman filter and extended Kalman filter,” Wireless Communications and Mobile Computing, vol. 2020, p. 2138643, 2020, https://doi.org/10.1155/2020/2138643.

[29] P. Poncela, E. Ruiz, and K. Miranda, “Factor extraction using Kalman filter and smoothing: This is not just another survey,” International Journal of Forecasting, vol. 37, no. 4, pp. 1399-1425, 2021, https://doi.org/10.1016/j.ijforecast.2021.01.027.

[30] Y. Huang, Y. Zhang, Y. Zhao, P. Shi and J. A. Chambers, "A Novel Outlier-Robust Kalman Filtering Framework Based on Statistical Similarity Measure," IEEE Transactions on Automatic Control, vol. 66, no. 6, pp. 2677-2692, 2021, https://doi.org/10.1109/TAC.2020.3011443.

[31] M. Impraimakis and A. W. Smyth, “An unscented Kalman filter method for real-time input-parameter-state estimation,” Mechanical Systems and Signal Processing, vol. 162, p. 108026, 2022, https://doi.org/10.1016/j.ymssp.2021.108026.

[32] S. Sharma, A. Majumdar, V. Elvira and É. Chouzenoux, "Blind Kalman Filtering for Short-Term Load Forecasting," IEEE Transactions on Power Systems, vol. 35, no. 6, pp. 4916-4919, 2020, https://doi.org/10.1109/TPWRS.2020.3018623.

[33] Y. Huang, F. Zhu, G. Jia and Y. Zhang, "A Slide Window Variational Adaptive Kalman Filter," IEEE Transactions on Circuits and Systems II: Express Briefs, vol. 67, no. 12, pp. 3552-3556, 2020, https://doi.org/10.1109/TCSII.2020.2995714.

[34] E. R. Potokar, K. Norman and J. G. Mangelson, "Invariant Extended Kalman Filtering for Underwater Navigation," IEEE Robotics and Automation Letters, vol. 6, no. 3, pp. 5792-5799, 2021, https://doi.org/10.1109/LRA.2021.3085167.

[35] W. Wen, T. Pfeifer, X. Bai, and L. T. Hsu, “Factor graph optimization for GNSS/INS integration: A comparison with the extended Kalman filter,” NAVIGATION: Journal of the Institute of Navigation, vol. 68, no. 2, pp. 315-331, 2021, https://doi.org/10.1002/navi.421.

[36] K. D. T. Rocha and M. H. Terra, “Robust Kalman filter for systems subject to parametric uncertainties,” Systems & Control Letters, vol. 157, p. 105034, 2021, https://doi.org/10.1016/j.sysconle.2021.105034.

[37] M. Song, R. Astroza, H. Ebrahimian, B. Moaveni, and C. Papadimitriou, “Adaptive Kalman filters for nonlinear finite element model updating,” Mechanical Systems and Signal Processing, vol. 143, p. 106837, 2020, https://doi.org/10.1016/j.ymssp.2020.106837.

[38] H. Fang, M. A. Haile and Y. Wang, "Robust Extended Kalman Filtering for Systems With Measurement Outliers," IEEE Transactions on Control Systems Technology, vol. 30, no. 2, pp. 795-802, 2022, https://doi.org/10.1109/TCST.2021.3077535.

[39] G. Hu, B. Gao, Y. Zhong, and C. Gu, “Unscented Kalman filter with process noise covariance estimation for vehicular INS/GPS integration system,” Information Fusion, vol. 64, pp. 194-204, 2020, https://doi.org/10.1016/j.inffus.2020.08.005.

[40] W. Wang, N. He, K. Yao, and J. Tong, “Improved Kalman filter and its application in initial alignment,” Optik, vol. 226, p. 165747, 2021, https://doi.org/10.1016/j.ijleo.2020.165747.

[41] A. Tsiamis and G. J. Pappas, "Online Learning of the Kalman Filter With Logarithmic Regret," IEEE Transactions on Automatic Control, vol. 68, no. 5, pp. 2774-2789, 2023, https://doi.org/10.1109/TAC.2022.3207670.

[42] Y. Sun, W. Bao, K. Valk, C. C. Brauer, J. Sumihar, A. H. Weerts, “Improving forecast skill of lowland hydrological models using ensemble Kalman filter and unscented Kalman filter,” Water Resources Research, vol. 56, no. 8, p. e2020WR027468, 2020, https://doi.org/10.1029/2020WR027468.

[43] Y. Huang, G. Jia, B. Chen and Y. Zhang, "A New Robust Kalman Filter With Adaptive Estimate of Time-Varying Measurement Bias," IEEE Signal Processing Letters, vol. 27, pp. 700-704, 2020, https://doi.org/10.1109/LSP.2020.2983552.

[44] S. Yi and M. Zorzi, "Robust Kalman Filtering Under Model Uncertainty: The Case of Degenerate Densities," IEEE Transactions on Automatic Control, vol. 67, no. 7, pp. 3458-3471, 2022, https://doi.org/10.1109/TAC.2021.3106861.

[45] M. Bai, Y. Huang, B. Chen and Y. Zhang, "A Novel Robust Kalman Filtering Framework Based on Normal-Skew Mixture Distribution," IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 52, no. 11, pp. 6789-6805, 2022, https://doi.org/10.1109/TSMC.2021.3098299.

[46] A. Hasan, "eXogenous Kalman Filter for State Estimation in Autonomous Ball Balancing Robots," 2020 IEEE/ASME International Conference on Advanced Intelligent Mechatronics (AIM), pp. 1522-1527, 2020, https://doi.org/10.1109/AIM43001.2020.9158896.

[47] Y. Cheng, Y. Li, K. Li, X. Liu, C. Liu, X. Hao, “Fusing LSTM neural network and expanded disturbance Kalman filter for estimating external disturbing forces of ball screw drives,” Robotics and Computer-Integrated Manufacturing, vol. 89, p. 102776, 2024, https://doi.org/10.1016/j.rcim.2024.102776.

[48] Y. Kang, Z. Qiu, X. Huang, Z. Kong, F. Gu, A. D. Ball, “Field simultaneous estimation of residual unbalance and bearing dynamic coefficients for double-disk rotor-bearing system using dual augmented Kalman filter,” Journal of Sound and Vibration, vol. 577, p. 118325, 2024, https://doi.org/10.1016/j.jsv.2024.118325.

[49] A. Srichandan, J. Dhingra, and M. K. Hota, “An improved Q-learning approach with Kalman filter for self-balancing robot using OpenAI,” Journal of Control, Automation and Electrical Systems, vol. 32, no. 6, pp. 1521-1530, 2021, https://doi.org/10.1007/s40313-021-00786-x.

[50] R. Dian Alarmi, A. Husein Alasiry, N. Fajar Satria and B. Sumantri, "A Sensor Fusion Algorithm in Humanoid Robot PD Balancing Control for Walking on Slope," 2020 International Electronics Symposium (IES), pp. 289-296, 2020, https://doi.org/10.1109/IES50839.2020.9231674.

[51] J. Zhao, J. Li, and J. Zhou, “Research on two-round self-balancing robot SLAM based on the gmapping algorithm,” Sensors, vol. 23, no. 5, p. 2489, 2023, https://doi.org/10.3390/s23052489.

[52] W. Youn and S. Andrew Gadsden, "Combined Quaternion-Based Error State Kalman Filtering and Smooth Variable Structure Filtering for Robust Attitude Estimation," IEEE Access, vol. 7, pp. 148989-149004, 2019, https://doi.org/10.1109/ACCESS.2019.2946609.

[53] H. A. O. Mohamed et al., "Momentum-Based Extended Kalman Filter for Thrust Estimation on Flying Multibody Robots," IEEE Robotics and Automation Letters, vol. 7, no. 1, pp. 526-533, 2022, https://doi.org/10.1109/LRA.2021.3129258.

[54] P. Chotikunnan and B. Panomruttanarug, “The application of fuzzy logic control to balance a wheelchair,” Journal of Control Engineering and Applied Informatics, vol. 18, no. 3, pp. 41-51, 2016, http://www.ceai.srait.ro/index.php?journal=ceai&page=article&op=view&path%5B%5D=3173.

[55] C. Urrea and R. Agramonte, “Kalman filter: historical overview and review of its use in robotics 60 years after its creation,” Journal of Sensors, vol. 2021, p. 9674015, 2021, https://doi.org/10.1155/2021/9674015.

[56] L. Mei et al., “Realtime mobile bandwidth prediction using LSTM neural network and Bayesian fusion,” Computer Networks, vol. 182, p. 107515, 2020, https://doi.org/10.1016/j.comnet.2020.107515.

[57] S. O. H. Madgwick, S. Wilson, R. Turk, J. Burridge, C. Kapatos and R. Vaidyanathan, "An Extended Complementary Filter for Full-Body MARG Orientation Estimation," IEEE/ASME Transactions on Mechatronics, vol. 25, no. 4, pp. 2054-2064, 2020, https://doi.org/10.1109/TMECH.2020.2992296.


Refbacks

  • There are currently no refbacks.


Copyright (c) 2024 Asst. Prof. Dr. Phichitphon Chotikunnan

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