Dergiler / Gazi University Journal of Science Part A: Engineering and Innovation / 2026 / Volume: 13 Issue: 3

Proactive Magnetic Anomaly Suppression Algorithm for Robust Madgwick-Based Heading Estimation

Osman Ünal(SAKARYA UNIVERSITY OF APPLIED SCIENCES)0000-0003-1101-6561
Sayfa
—
Yayın Tarihi
2026-09-30
🏛️Bu makalenin bibliyografik verileri ve tam metin bağlantısı DergiPark üzerinden sağlanmıştır.
DergiPark Kaydı ↗
✨

Yapay Zeka Hızlı Bakış & Çıkarımlar

AI Insight
⚡ TL;DR(1 Cümlede Hızlı Çıkarım)

These findings indicate that the integration of an adaptive anomaly mitigation strategy yields improved accuracy in heading estimation, thereby facilitating consistent orientation tracking in environments prone to magnetic interference.

📌 3 Maddede Bu Makale

🎯
Amaç & Hipotez:Accurate heading estimation is critical for autonomous navigation.
📊
Temel Bulgular & Veri:This study proposes an enhanced heading estimation framework that integrates a real-time magnetic anomaly detection mechanism into the conventional Madgwick filter architecture.
💡
Sonuç & Katkı:These findings indicate that the integration of an adaptive anomaly mitigation strategy yields improved accuracy in heading estimation, thereby facilitating consistent orientation tracking in environments prone to magnetic interference.
🔬Tür:Research Article
📍Kapsam:Genişletilmiş Akademik Örneklem
⚙️Değişkenler:Heading Estimation · Madgwick Filter · Magnetic Anomaly Detection

Abstract

Accurate heading estimation is critical for autonomous navigation. However, the widely utilized Madgwick filter may encounter orientation inaccuracies when subjected to environmental magnetic perturbations. This study proposes an enhanced heading estimation framework that integrates a real-time magnetic anomaly detection mechanism into the conventional Madgwick filter architecture. The proposed methodology continuously monitors the instantaneous magnetic field magnitude and inclination angle, evaluating them against threshold boundaries determined in a magnetic-interference-free environment. Upon the detection of a magnetic disturbance, the system proactively adjusts the filter’s gain parameter (β), effectively decreasing the influence of the magnetometer while increasing reliance on gyroscope data. While initial gyroscope bias is calibrated in static conditions in this study, maintaining precision over extended durations or under significant temperature variations may necessitate periodic recalibration. The algorithm was validated through eight experimental trials involving short-range navigation and rotational maneuvers under conditions of magnetic interference. Comparative analysis indicates that the proposed method demonstrates improved performance over the classical Madgwick filter, with the mean of the maximum heading errors across all trials reduced from 24.95° to 2.28°. Furthermore, the method yielded average mean error, standard deviation, and root mean square error (RMSE) values of 1.13°, 0.60°, and 1.29°, respectively. These findings indicate that the integration of an adaptive anomaly mitigation strategy yields improved accuracy in heading estimation, thereby facilitating consistent orientation tracking in environments prone to magnetic interference.

🔖

Bu Makaleye Atıf Yap

Ünal, O. (2026). Proactive Magnetic Anomaly Suppression Algorithm for Robust Madgwick-Based Heading Estimation. Gazi University Journal of Science Part A: Engineering and Innovation, Volume: 13 Issue: 3. https://doi.org/10.54287/gujsa.1939810

📄 Tam Metin PDF Okuyucu

📄

PDF görüntüleyici hazırlanıyor...

Kaynakça (40)

  1. Akhlaghi, S., Zhou, N., & Huang, Z. (2017). Adaptive adjustment of noise covariance in Kalman filter for dynamic state estimation. In: 2017 IEEE Power & Energy Society General Meeting (pp. 1-5), (16-20 July 2017), Chicago, IL, USA. https://doi.org/10.1109/pesgm.2017.8273755
  2. Alaba, S. Y. (2024). GPS-IMU Sensor Fusion for Reliable Autonomous Vehicle Position Estimation. https://doi.org/10.48550/arxiv.2405.08119
  3. Alam, F., Zhou, Z., & Hu, J. (2014). A Comparative Analysis of Orientation Estimation Filters using MEMS based IMU. In: 2nd International Conference on Research in Science, Engineering and Technology (ICRSET’2014) (21-22 March 2014), Dubai, UAE. https://doi.org/10.15242/iie.e0314552
  4. Changwani, R. (2025). Optimized State Estimation for Real-Time Robotic Navigation and Mapping. In: 2025 IEEE 2nd International Conference on Energy and Electrical Engineering (EEE) (pp. 1-5) (20-21 June 2025), Nanchang, China. https://doi.org/10.1109/eee64897.2025.11162777
  5. Chen, W., Li, X., Zhang, H., Jia, P., Zou, F., Lyu, W., & Sang, S. (2023). A heading correction technology based on magnetometer calibration and adaptive anti-interference algorithm. Sensors and Actuators A: Physical, 363, 114726. https://doi.org/10.1016/j.sna.2023.114726
  6. Du, S., Chen, T., Lou, Z., & Wu, Y. (2024). A 2D-LiDAR-based localization method for indoor mobile robots using correlative scan matching. Robotica, 43(2), 514-541. https://doi.org/10.1017/s026357472400198x
  7. Fan, B., Li, Q., & Liu, T. (2017). An Adaptive Orientation Estimation Method for Magnetic and Inertial Sensors in the Presence of Magnetic Disturbances. Sensors, 17(5), 1161. https://doi.org/10.3390/s17051161
  8. Geneva, P., Eckenhoff, K., & Huang, G. (2019). A Linear-Complexity EKF for Visual-Inertial Navigation with Loop Closures. In: 2019 International Conference on Robotics and Automation (ICRA) (pp. 3535-3541), (20-24 May 2019), Montreal, QC, Canada. https://doi.org/10.1109/icra.2019.8793836
  9. Guo, Q., Yang, S., Lyu, J., Sun, J., Lin, D., & He, S. (2025). AMO-HEAD: Adaptive MARG-Only Heading Estimation for UAVs Under Magnetic Disturbances. IEEE Transactions on Instrumentation and Measurement, 74, 1-16. https://doi.org/10.1109/tim.2025.3643051
  10. Hao, N., He, F., Tian, C., Yao, Y., & Xia, W. (2022). KD-EKF: A Kalman Decomposition Based Extended Kalman Filter for Multi-Robot Cooperative Localization. https://doi.org/10.48550/arxiv.2210.16086
  11. Herrera, L., Rodríguez-Liñán, M. C., Clemente, E., Meza-Sánchez, M., & Monay-Arredondo, L. (2021). Evolved Extended Kalman Filter for first-order dynamical systems with unknown measurements noise covariance. Applied Soft Computing, 115, 108174. https://doi.org/10.1016/j.asoc.2021.108174
  12. Imani, F., & Keighobadi, J. (2026). Robust State Estimation in Atomic Inertial Navigation Systems: A Comparative Study of CI-RKF and MKMC-EKF Filters. Navigation, 73(1), navi.768. https://doi.org/10.33012/navi.768
  13. Júnior, G. P. C., Rezende, A. M. C., Miranda, V. R. F., Fernandes, R., Azpúrua, H., Neto, A. A., Pessin, G., & Freitas, G. (2022). EKF-LOAM: An Adaptive Fusion of LiDAR SLAM With Wheel Odometry and Inertial Data for Confined Spaces With Few Geometric Features. IEEE Transactions on Automation Science and Engineering, 19(3), 1458-1471. https://doi.org/10.1109/tase.2022.3169442
  14. Jwo, D.-J., Cho, T., & Demssie, B. A. (2025). Dynamic Modeling and Its Impact on Estimation Accuracy for GPS Navigation Filters. Sensors, 25(3), 972. https://doi.org/10.3390/s25030972
  15. Kim, H., & Choi, Y. (2021). Location estimation of autonomous driving robot and 3D tunnel mapping in underground mines using pattern matched LiDAR sequential images. International Journal of Mining Science and Technology, 31(5), 779–788. https://doi.org/10.1016/j.ijmst.2021.07.007
  16. Laidig, D., & Seel, T. (2022). VQF: Highly Accurate IMU Orientation Estimation with Bias Estimation and Magnetic Disturbance Rejection. Information Fusion, 91, 187-204. https://doi.org/10.1016/j.inffus.2022.10.014
  17. Leanza, A., Galati, R., Ugenti, A., Cavallo, E., & Reina, G. (2023). Where am I heading? A robust approach for orientation estimation of autonomous agricultural robots. Computers and Electronics in Agriculture, 210, 107888. https://doi.org/10.1016/j.compag.2023.107888
  18. Li, S., Li, L., Shi, D., Lou, Y., & Shi, L. (2023). Multikernel Correntropy-Based Orientation Estimation of IMUs: Gradient Descent Methods. IEEE Transactions on Instrumentation and Measurement, 73, 1-16. https://doi.org/10.1109/tim.2023.3334336
  19. Li, X., Du, S., Li, G., & Li, H. (2019). Integrate Point-Cloud Segmentation with 3D LiDAR Scan-Matching for Mobile Robot Localization and Mapping. Sensors, 20(1), 237. https://doi.org/10.3390/s20010237
  20. Madgwick, S. O. H., Harrison, A. J. L., & Vaidyanathan, R. (2011). Estimation of IMU and MARG orientation using a gradient descent algorithm. In: 2011 IEEE International Conference on Rehabilitation Robotics (pp. 1-7), (29 June - 01 July 2011), Zurich, Switzerland. https://doi.org/10.1109/icorr.2011.5975346
  21. Madgwick, S. O. H., Wilson, S., Turk, R., Burridge, J., Kapatos, C., & Vaidyanathan, R. (2020). An Extended Complementary Filter for Full-Body MARG Orientation Estimation. IEEE/ASME Transactions on Mechatronics, 25(4), 2054-2064. https://doi.org/10.1109/tmech.2020.2992296
  22. Nazarahari, M., & Rouhani, H. (2021). Sensor fusion algorithms for orientation tracking via magnetic and inertial measurement units: An experimental comparison survey. Information Fusion, 76, 8-23. https://doi.org/10.1016/j.inffus.2021.04.009
  23. Ning, Z., Fu, J., Chang, Y., & Lyu, T. (2022). Improved MEMS Magnetometer Adaptive Filter Noise Reduction and Compensation Method. IEEE Sensors Journal, 22(2), 1252-1264. https://doi.org/10.1109/jsen.2021.3130652
  24. Panigrahi, P. K., & Bisoy, S. K. (2022). Localization strategies for autonomous mobile robots: A review. Journal of King Saud University - Computer and Information Sciences, 34(8), 6019-6039. https://doi.org/10.1016/j.jksuci.2021.02.015
  25. Poulose, A., Eyobu, O. S., & Han, D. S. (2019). An Indoor Position-Estimation Algorithm Using Smartphone IMU Sensor Data. IEEE Access, 7, 11165-11177. https://doi.org/10.1109/access.2019.2891942
  26. Sabatini, A. M. (2006). Quaternion-based extended Kalman filter for determining orientation by inertial and magnetic sensing. IEEE Transactions on Biomedical Engineering, 53(7), 1346-1356. https://doi.org/10.1109/tbme.2006.875664
  27. Sarbishei, O. (2016). On the accuracy improvement of low-power orientation filters using IMU and MARG sensor arrays. In: 2016 IEEE International Symposium on Circuits and Systems (ISCAS) (pp. 1542-1545), (22-25 May 2016), Montreal, QC, Canada. https://doi.org/10.1109/iscas.2016.7538856
  28. Shi, F., Xu, X., Zhu, Y., & Zhang, Y. (2025). Adaptive Heading Estimation Method for Pedestrian Dead Reckoning With Magnetic Interference. IEEE Transactions on Instrumentation and Measurement, 74, 1-11. https://doi.org/10.1109/tim.2025.3558247
  29. Shi, Y., Zhang, Y., Li, Z., Yuan, S., & Zhu, S. (2023). IMU/UWB Fusion Method Using a Complementary Filter and a Kalman Filter for Hybrid Upper Limb Motion Estimation. Sensors, 23(15), 6700. https://doi.org/10.3390/s23156700
  30. Tannous, M., Miraglia, M., Inglese, F., Giorgini, L., Ricciardi, F., Pelliccia, R., Milazzo, M., & Stefanini, C. (2020). Haptic-based touch detection for collaborative robots in welding applications. Robotics and Computer-Integrated Manufacturing, 64, 101952. https://doi.org/10.1016/j.rcim.2020.101952
  31. Ušinskis, V., Nowicki, M., Dzedzickis, A., & Bučinskas, V. (2025). Sensor-Fusion Based Navigation for Autonomous Mobile Robot. Sensors, 25(4), 1248. https://doi.org/10.3390/s25041248
  32. Van Dijk, M. P., Kok, M., Berger, M. A. M., Hoozemans, M. J. M., & Veeger, D. H. E. J. (2021). Machine Learning to Improve Orientation Estimation in Sports Situations Challenging for Inertial Sensor Use. Frontiers in Sports and Active Living, 3, 670263. https://doi.org/10.3389/fspor.2021.670263
  33. Wöhle, L., & Gebhard, M. (2020). SteadEye-Head—Improving MARG-Sensor Based Head Orientation Measurements Through Eye Tracking Data. Sensors, 20(10), 2759. https://doi.org/10.3390/s20102759
  34. Yang, X., Li, Y., Zhao, Y., & Yang, L. (2025). Large-Scale Floating Offshore Wind Turbine Anomaly Detection and Diagnosis System Based on Spatio-Temporal Transformation Features Combining Informer and XGBoost. IEEE Transactions on Industrial Informatics, 21(8), 6137-6146. https://doi.org/10.1109/tii.2025.3558342
  35. Ye, F., Shi, F., Lai, Y., Zhou, X., & Li, K. (2020). Heading angle estimation using rotating magnetometer for mobile robots under environmental magnetic disturbances. Intelligent Service Robotics, 13(4), 459-477. https://doi.org/10.1007/s11370-020-00334-7
  36. Youn, W. (2020). Magnetic Fault–Tolerant Navigation Filter for a UAV. IEEE Sensors Journal, 20(22), 13480-13490. https://doi.org/10.1109/jsen.2020.3004133
  37. Zhang, W., Huang, T., & Sun, Z. (2024). An autonomous localisation method of wall-climbing robots on large steel components with IMU and fixed RGB-D camera. Journal of Navigation, 77(4), 469-484. https://doi.org/10.1017/s0373463325000049
  38. Zhao, H., & Wang, Z. (2012). Motion Measurement Using Inertial Sensors, Ultrasonic Sensors, and Magnetometers With Extended Kalman Filter for Data Fusion. IEEE Sensors Journal, 12(5), 943-953. https://doi.org/10.1109/jsen.2011.2166066
  39. Zhao, Y., Necsulescu, D., & Sasiadek, J. (2025). Integration of RFNN-EKF Algorithm with ROS2 for Autonomous Mobile Robot Navigation. In: 2025 IEEE International Conference on Real-time Computing and Robotics (RCAR) (pp. 1291-1298), (01-06 June 2025), Toyama, Japan. https://doi.org/10.1109/rcar65431.2025.11139758
  40. Zou, Q., Sun, Q., Chen, L., Nie, B., & Li, Q. (2021). A Comparative Analysis of LiDAR SLAM-Based Indoor Navigation for Autonomous Vehicles. IEEE Transactions on Intelligent Transportation Systems, 23(7), 6907-6921. https://doi.org/10.1109/tits.2021.3063477