Magnetometer Calibration Using Ellipsoid Fitting Method

Document Type : Original Article


Department of Control Engineering, Damavand Branch, Islamic Azad University, Damavand, Iran


Considering various applications of magnetic sensors, it is of high importance to correctly calibrate them. Through the conducted experiment here, in order to approach to real conditions and to count for the effect of the environmental magnetic field, the magnetometer has been installed on a vehicle and is moved in a deserted area in Iran within a small radius. The values read by the sensor were then saved in a file and subsequently calibration has been applied using Ellipsoid Fitting Method and MATLAB software. In this paper we have first briefly explained about various magnetometer calibration methods and then the results of the experiments are studied and presented.


Stutters, L., Liu, H., Tiltman, C., & Brown, D. J. (2008). Navigation technologies for autonomous underwater vehicles. IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews), 38(4), 581-589. doi:10.1109/TSMCC.2008.919147
Liu, Y. X., Li, X. S., Zhang, X. J., & Feng, Y. B. (2014). Novel calibration algorithm for a three-axis strapdown magnetometer. Sensors, 14(5), 8485-8504. doi:10.3390/s140508485,       
Gebre-Egziabher, D., Elkaim, G. H., David Powell, J., & Parkinson, B. W. (2006). Calibration of strap down magnetometers in magnetic field domain. Journal of Aerospace Engineering, 19(2), 87-102. doi:10.1061/(ASCE)0893-1321(2006)19:2(87)
Bonnet, S., Bassompierre, C., Godin, C., Lesecq, S., & Barraud, A. (2009). Calibration methods for inertial and magnetic sensors. Sensors and Actuators A: Physical, 156(2), 302-311. doi:10.1016/j.sna.2009.10.008
Vasconcelos, J. F., Elkaim, G., Silvestre, C., Oliveira, P., & Cardeira, B. (2011). Geometric approach to strap down magnetometer calibration in sensor frame. IEEE Transactions on Aerospace and Electronic systems, 47(2), 1293-1306. doi:10.1109/TAES.2011.5751259
Zhu, R., & Zhou, Z. (2006). Calibration of three-dimensional integrated sensors for improved system accuracy. Sensors and Actuators A: Physical, 127(2), 340-344. doi:10.1016/j.sna.2005.12.001
Pylvänäinen, T. (2008). Automatic and adaptive calibration of 3D field sensors. Applied Mathematical Modelling, 32(4), 575-587. doi:10.1016/j.apm.2007.02.004
Beravs, T., Beguš, S., Podobnik, J., & Munih, M. (2014). Magnetometer calibration using Kalman filter covariance matrix for online estimation of magnetic field orientation. IEEE Transactions on Instrumentation and Measurement, 63(8), 2013-2020. doi:10.1109/TIM.2014.2302240
Shockley, J. A. (2012). Ground vehicle navigation using magnetic field variation. Air Force Institute of Technology.       
Alonso, R., & Shuster, M. D. (2002). Complete linear attitude-independent magnetometer calibration. Journal of the Astronautical Sciences, 50(4), 477-490. doi:10.1007/BF03546249
Merayo, J. M., Brauer, P., Primdahl, F., Petersen, J. R., & Nielsen, O. V. (2000). Scalar calibration of vector magnetometers. Measurement science and technology, 11(2), 120-132. doi:10.1088/0957-0233/11/2/304