Offline Magnetometer Calibration Using Enhanced Particle Swarm Optimization

To address the decline in measurement accuracy of magnetometers due to process errors and environmental interference, as well as the insufficient robustness of traditional calibration algorithms under strong interference conditions, this paper proposes an ellipsoid fitting algorithm based on Dynamic...

Full description

Saved in:
Bibliographic Details
Main Authors: Lei Huang, Zhihui Chen, Jun Guan, Jian Huang, Wenjun Yi
Format: Article
Language:English
Published: MDPI AG 2025-07-01
Series:Mathematics
Subjects:
Online Access:https://www.mdpi.com/2227-7390/13/15/2349
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:To address the decline in measurement accuracy of magnetometers due to process errors and environmental interference, as well as the insufficient robustness of traditional calibration algorithms under strong interference conditions, this paper proposes an ellipsoid fitting algorithm based on Dynamic Adaptive Elite Particle Swarm Optimization (DAEPSO). The proposed algorithm integrates three enhancement mechanisms: dynamic stratified elite guidance, adaptive inertia weight adjustment, and inferior particle relearning via Lévy flight, aiming to improve convergence speed, solution accuracy, and noise resistance. First, a magnetometer calibration model is established. Second, the DAEPSO algorithm is employed to fit the ellipsoid parameters. Finally, error calibration is performed based on the optimized ellipsoid parameters. Our simulation experiments demonstrate that compared with the traditional Least Squares Method (LSM) the proposed method reduces the standard deviation of the total magnetic field intensity by 54.73%, effectively improving calibration precision in the presence of outliers. Furthermore, when compared to PSO, TSLPSO, MPSO, and AWPSO, the sum of the absolute distances from the simulation data to the fitted ellipsoidal surface decreases by 53.60%, 41.96%, 53.01%, and 27.40%, respectively. The results from 60 independent experiments show that DAEPSO achieves lower median errors and smaller interquartile ranges than comparative algorithms. In summary, the DAEPSO-based ellipsoid fitting algorithm exhibits high fitting accuracy and strong robustness in environments with intense interference noise, providing reliable theoretical support for practical engineering applications.
ISSN:2227-7390