Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Nov 3;22(21):8447.
doi: 10.3390/s22218447.

GNSS Based Low-Cost Magnetometer Calibration

Affiliations

GNSS Based Low-Cost Magnetometer Calibration

Ján Andel et al. Sensors (Basel). .

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: GNSS; calibration; data acquisition unit; magnetometer.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
Effect of magnetometer error.
Figure 2
Figure 2
Magnetic field vector.
Figure 3
Figure 3
Data acquisition unit.
Figure 4
Figure 4
Measured data after a certain path (blue color), calculated data (orange color).
Figure 5
Figure 5
The absolute error of determining magnetic north.
Figure 6
Figure 6
Map calibration and subsequent position prediction.
Figure 7
Figure 7
Boxplot of calibration results.

References

    1. Wu J. Real-Time Magnetometer Disturbance Estimation via Online Nonlinear Programming. IEEE Sens. J. 2019;19:4405–4411. doi: 10.1109/JSEN.2019.2901925. - DOI
    1. Renaudin V., Afzal M.H., Lachapelle G. Complete triaxis magnetometer calibration in the magnetic domain. J. Sens. 2010;2010:967245. doi: 10.1155/2010/967245. - DOI
    1. Vasconcelos J.F., Elkaim G., Silvestre C., Oliveira P., Cardeira B. Geometric approach to strapdown magnetometer calibration in sensor frame. IEEE Trans. Aerosp. Electron. Syst. 2011;47:1293–1306. doi: 10.1109/TAES.2011.5751259. - DOI
    1. Li Q., Griffiths J.G. Least squares ellipsoid specific fitting; Proceedings of the Geometric Modeling and Processing 2004; Beijing, China. 13–15 April 2004; pp. 335–340. - DOI
    1. Li S., Cheng D., Gao Q., Wang Y., Yue L., Wang M., Zhao J. An Improved Calibration Method for the Misalignment Error of a Triaxial Magnetometer and Inertial Navigation System in a Three-Component Magnetic Survey System. Appl. Sci. 2020;10:6707. doi: 10.3390/app10196707. - DOI

LinkOut - more resources