Extended Kalman Filter-Based Gyroscope-Aided Magnetometer Calibration for Consumer Electronic Devices

Magnetometers are low-cost sensors that are widely used for orientation sensing in consumer electronic devices. The sensor is affected by non-idealities that can be greatly compensated by proper calibration and determining parameters, such as bias, non-orthogonality, gain, and hard/soft iron. This paper presents a magnetometer calibration method, with the aid of a gyroscope. The algorithm is designed on a principle that the variation of magnetometer output should be aligned with device rotation, which can be sensed by the gyroscope. Based on this notion, an extended Kalman filter is established to estimate calibration parameters. The method evaluation is achieved by first running numerous simulations, followed by a series of experiments on real devices. The result shows that the proposed method can achieve within ten degrees of accuracy, with less than 5 s of convergence. Compared with least square ellipsoid fitting, our proposed method delivers five times better accuracy and avoids over fitting on ill-distributed calibration data sets. This advantage is especially useful for autonomous dynamic calibration in consumer electronic devices.

[1]  Aboelmagd Noureldin,et al.  Magnetometer Calibration for Portable Navigation Devices in Vehicles Using a Fast and Autonomous Technique , 2014, IEEE Transactions on Intelligent Transportation Systems.

[2]  Thomas B. Schön,et al.  Calibration of a magnetometer in combination with inertial sensors , 2012, 2012 15th International Conference on Information Fusion.

[3]  Yuanxin Wu,et al.  On Misalignment Between Magnetometer and Inertial Sensors , 2016, IEEE Sensors Journal.

[4]  Xiao Zhang,et al.  A Novel Calibration Method of Magnetic Compass Based on Ellipsoid Fitting , 2011, IEEE Transactions on Instrumentation and Measurement.

[5]  Wenguang Feng,et al.  A Calibration Method of Three-axis Magnetic Sensor Based on Ellipsoid Fitting , 2013 .

[6]  Aboelmagd Noureldin,et al.  Three-Dimensional Magnetometer Calibration With Small Space Coverage for Pedestrians , 2015, IEEE Sensors Journal.

[7]  Chunhua Ren,et al.  A Novel Self-Calibration Method for MIMU , 2015, IEEE Sensors Journal.

[8]  D.S. Bernstein,et al.  Calibrating a triaxial accelerometer-magnetometer - using robotic actuation for sensor reorientation during data collection , 2005, IEEE Control Systems.

[9]  John L. Crassidis,et al.  Real-Time Attitude-Independent Three-Axis Magnetometer Calibration , 2005 .

[10]  Elder Moreira Hemerly,et al.  Explicit Solution for Magnetometer Calibration , 2014, IEEE Transactions on Instrumentation and Measurement.

[11]  Sébastien Harasse,et al.  Numerical calibration for 3-axis accelerometers and magnetometers , 2009, 2009 IEEE International Conference on Electro/Information Technology.

[12]  Hao Wang,et al.  Magnetometer Compensation Scheme and Experimental Results on ZDPS-1A Pico-satellite , 2012 .

[13]  Marko Munih,et al.  Magnetometer Calibration Using Kalman Filter Covariance Matrix for Online Estimation of Magnetic Field Orientation , 2014, IEEE Transactions on Instrumentation and Measurement.

[14]  Qi Zhang,et al.  Calibration of three-axis magnetometer diversionary error based on equipment and LMS adaptive algorithm , 2010, International Symposium on Precision Engineering Measurement and Instrumentation.

[15]  Pavel Ripka,et al.  Errors of AMR compass and methods of their compensation , 2006 .

[16]  Michal Ulvr,et al.  Precise Calibration Method for Triaxial Magnetometers Not Requiring Earth’s Field Compensation , 2015, IEEE Transactions on Instrumentation and Measurement.

[17]  Yuanxin Wu,et al.  On Calibration of Three-Axis Magnetometer , 2015, IEEE Sensors Journal.

[18]  Carlos Silvestre,et al.  A Geometric Approach to Strapdown Magnetometer Calibration in Sensor Frame , 2008 .

[19]  John L. Crassidis Sigma-point Kalman filtering for integrated GPS and inertial navigation , 2006 .