Sensors (Nov 2022)
GNSS Based Low-Cost Magnetometer Calibration
Abstract
With the development of MEMS sensors, the magnetometer has increasingly become a part of various wearable devices. The magnetometer measures the intensity of the magnetic field in all three axes, resulting in a 3D vector—direction and power. Calibration must be done before using a magnetometer, especially in wearable electronics, due to the low quality of the sensor and high proximity to other electromagnetic emission sources. Several magnetometer calibration algorithms exist in the literature, with most of them requiring multi-sided rotation. However, such calibration is highly impractical when the sensor is mounted on larger objects, e.g., vehicles, which cannot easily be rotated. Vehicles contain a large amount of ferromagnetic soft and hard material that affects the measured magnetic field. A magnetometer can be useful for an INS system in a car as long as it does not drift over time. This article describes how to calibrate a magnetometer using the GNSS motion vector. The calibration is performed using data from the initial section of the vehicle’s trajectory. The quality of the calibration is then validated using the remaining section of the trajectory, comparing the deviation between the azimuth obtained by GNSS and by the calibrated magnetometer. Based on the azimuth and speed of the vehicle, we predicted the position of the vehicle and plotted the prediction on the map. The experiment showed that such calibration is functional. The uncalibrated data were unusable due to the strong effect of ferromagnetic soft and hard materials in the vehicle.
Keywords