Magnetic Interference Detection Method Based on Vertical Gyroscope for Heading Measurement

Yutong Guan, Gang Liu, Ziqian Jin, Meifeng Guo, Mingquan Lu, and Rong Zhang

Peer Reviewed

Abstract: Magnetic disturbances significantly degrade heading estimation accuracy of low-cost inertial measurement unit (IMU) in complex environments by corrupting magnetometer observations. This paper proposes a vertical reference unit (VRU)-assisted magnetic interference detection method for robust heading estimation. The VRU provides reliable roll and pitch estimation for magnetometer tilt compensation, enabling stable magnetic heading computation under dynamic motion conditions. Based on the VRU-assisted magnetic heading, a multi-scale temporal consistency evaluation method is developed to assess the consistency between magnetic heading and inertial heading evolution for magnetic interference detection. The detection results are further incorporated into an adaptive magnetic observation management strategy within an error-state Kalman filter (ESKF), allowing magnetic heading updates to be dynamically accepted or rejected according to the estimated magnetic reliability. Simulation results demonstrate that the proposed method achieves a true positive rate of 99.85% with a false negative rate of only 0.15%, outperforming conventional Magnetic Field Norm, Magnetic Field Entropy, and Magnetometer Yaw Difference methods. Experimental results using a self-developed low-cost IMU and an OptiTrack optical motion capture system show that the proposed method significantly improves heading estimation performance. Specifically, the yaw mean absolute error is reduced from 16.4902° to 3.3567°, and the yaw root mean square error is reduced from 32.7039° to 4.2959°, while roll MAE decreases from 1.0643° to 0.9596° and pitch MAE decreases from 0.9438° to 0.8057°, demonstrating that the proposed strategy improves heading accuracy without degrading gravity-constrained attitude estimation. These results demonstrate that the proposed framework effectively suppresses the influence of magnetic disturbances and provides a reliable and computationally efficient solution for heading estimation in magnetically disturbed environments.
Published in: Proceedings of the 39th International Technical Meeting of the Satellite Division of the Institute of Navigation (ION GNSS+ 2026)
September 14 - 18, 2026
Hyatt Regency Grand Cypress
Orlando, Florida
Pages: 3129 - 3144
Cite this article: Guan, Yutong, Liu, Gang, Jin, Ziqian, Guo, Meifeng, Lu, Mingquan, Zhang, Rong, "Magnetic Interference Detection Method Based on Vertical Gyroscope for Heading Measurement," Proceedings of the 39th International Technical Meeting of the Satellite Division of the Institute of Navigation (ION GNSS+ 2026), Orlando, Florida, September 2026, pp. 3129-3144. https://doi.org/10.33012/2026.20791
Full Paper:

Sign in to download with your ION membership, download credits or subscription, or buy this article.

Sign In Buy this article: $12 for ION members, $35 for non-members
References:
Show 26 references
  1. Afzal, M. H. (2011). Use of Earth's magnetic field for pedestrian navigation (UCGE Report No. 20330) [Doctoral dissertation, University of Calgary].
  2. Fan, B., Li, Q., Wang, C., & 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
  3. Fan, B., Li, Q., & Liu, T. (2018). How magnetic disturbance influences the attitude and heading in magnetic and inertial sensor-based orientation estimation. Sensors, 18(1), 76. https://doi.org/10.3390/s18010076
  4. Fang, J., Sun, H., Cao, J., Zhang, X., & Tao, Y. (2011). A novel calibration method of magnetic compass based on ellipsoid fitting. IEEE Transactions on Instrumentation and Measurement, 60(6), 2053-2061. https://doi.org/10.1109/TIM.2011.2115330
  5. Farahan, S. B., Machado, J. J., Almeida, F. G., & Tavares, J. M. (2022). 9-DOF IMU-based attitude and heading estimation using an extended Kalman filter with bias consideration. Sensors, 22(9), 3416. https://doi.org/10.3390/s22093416
  6. Gebre-Egziabher, D., Elkaim, G. H., Powell, J. D., & Parkinson, B. W. (2006). Calibration of strapdown magnetometers in magnetic field domain. Journal of Aerospace Engineering, 19(2), 87-102. https://doi.org/10.1061/(ASCE)0893-1321(2006)19:2 https://doi.org/10.1061/(ASCE)0893-1321(2006)19:2(87
  7. 87 https://doi.org/10.1061/(ASCE)0893-1321(2006)19:2(87
  8. Ilyas, M., Cho, K., Baeg, S.-H., & Park, S. (2016). Drift reduction in pedestrian navigation system by exploiting motion constraints and magnetic field. Sensors, 16(9), 1455. https://doi.org/10.3390/s16091455
  9. Kok, M., Hol, J. D., & Schön, T. B. (2017). Using inertial sensors for position and orientation estimation. Foundations and Trends in Signal Processing, 11(1-2), 1-153. https://doi.org/10.1561/2000000094
  10. Kok, M., & Schön, T. B. (2019). A fast and robust algorithm for orientation estimation using inertial sensors. IEEE Signal Processing Letters, 26(11), 1673-1677. https://doi.org/10.1109/LSP.2019.2943995
  11. Laidig, D., Caruso, M., Cereatti, A., & Seel, T. (2021). BROAD-A benchmark for robust inertial orientation estimation. Data, 6(7), 72. https://doi.org/10.3390/data6070072
  12. Laidig, D., & Seel, T. (2023). 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
  13. Li, Q., & Griffiths, J. G. (2004). Least squares ellipsoid specific fitting. In Proceedings of the Geometric Modeling and Processing 2004 (pp. 335-340). IEEE. https://doi.org/10.1109/GMAP.2004.1290055
  14. Madgwick, S. O. H. (2010). An efficient orientation filter for inertial and inertial/magnetic sensor arrays. University of Bristol.
  15. Mahony, R. E., Hamel, T., & Pflimlin, J. M. (2008). Nonlinear complementary filters on the special orthogonal group. IEEE Transactions on Automatic Control, 53(5), 1203-1218. https://doi.org/10.1109/TAC.2008.923738
  16. Renaudin, V., Afzal, M. H., & Lachapelle, G. (2010). New method for magnetometers based orientation estimation. In 2010 IEEE/ION Position, Location and Navigation Symposium (pp. 348-356). IEEE. https://doi.org/10.1109/PLANS.2010.5507301
  17. Roetenberg, D., Luinge, H. J., Baten, C. T. M., & Veltink, P. H. (2005). Compensation of magnetic disturbances improves inertial and magnetic sensing of human body segment orientation. IEEE Transactions on Neural Systems and Rehabilitation Engineering, 13(3), 395-405. https://doi.org/10.1109/TNSRE.2005.847353
  18. Roetenberg, D., Luinge, H., & Slycke, P. (2009). Xsens MVN: Full 6DOF human motion tracking using miniature inertial sensors. Xsens Technologies B.V. 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
  19. Sabatini, A. M. (2011). Kalman-filter-based orientation determination using inertial/magnetic sensors: Observability analysis and performance evaluation. Sensors, 11(10), 9182-9206. https://doi.org/10.3390/s111009182
  20. Shao, Y., Yi, X., Yin, L., Guo, S., Yong, J., & Xu, F. (2025). MagShield: Towards better robustness in sparse inertial motion capture under magnetic disturbances [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2506.22907
  21. Suh, Y. S. (2010). Orientation estimation using a quaternion-based indirect Kalman filter with adaptive estimation of external acceleration. IEEE Transactions on Instrumentation and Measurement, 59(12), 3296-3305. https://doi.org/10.1109/TIM.2010.2047157
  22. Vasconcelos, J. F., Elkaim, G., Silvestre, C., Oliveira, P., & Cardeira, B. (2008). A geometric approach to strapdown magnetometer calibration in sensor frame. IFAC Proceedings Volumes, 41(1), 172-177. https://doi.org/10.3182/20080408-3-IE-4914.00031
  23. Wondosen, A., Jeong, J.-S., Kim, S.-K., Debele, Y., & Kang, B.-S. (2021). Improved attitude and heading accuracy with double quaternion parameters estimation and magnetic disturbance rejection. Sensors, 21(16), 5475. https://doi.org/10.3390/s21165475
  24. Yadav, N., & Bleakley, C. (2014). Accurate orientation estimation using AHRS under conditions of magnetic distortion. Sensors, 14(11), 20008-20024. https://doi.org/10.3390/s141120008
  25. Yao, Y., Liu, Y., Zhou, Z., & Xu, X. (2023). A magnetic interference detection-based fusion heading estimation method for pedestrian dead reckoning positioning. IEEE Sensors Journal, 23(1), 677-688. https://doi.org/10.1109/JSEN.2022.3224004
  26. Zhu, P., Yu, X., Han, Y., Xiao, X., & Liu, Y. (2023). Improving indoor pedestrian dead reckoning for smartphones under magnetic interference using deep learning. Sensors, 23(23), 9348. https://doi.org/10.3390/s23239348