IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v13y2025i15p2349-d1708075.html
   My bibliography  Save this article

Offline Magnetometer Calibration Using Enhanced Particle Swarm Optimization

Author

Listed:
  • Lei Huang

    (National Key Laboratory of Transient Physics, Nanjing University of Science and Technology, Nanjing 210094, China)

  • Zhihui Chen

    (School of Automation, Jiangsu University of Science and Technology, Zhenjiang 212100, China)

  • Jun Guan

    (School of Automation, Jiangsu University of Science and Technology, Zhenjiang 212100, China)

  • Jian Huang

    (National Key Laboratory of Transient Physics, Nanjing University of Science and Technology, Nanjing 210094, China)

  • Wenjun Yi

    (National Key Laboratory of Transient Physics, Nanjing University of Science and Technology, Nanjing 210094, China)

Abstract

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.

Suggested Citation

  • Lei Huang & Zhihui Chen & Jun Guan & Jian Huang & Wenjun Yi, 2025. "Offline Magnetometer Calibration Using Enhanced Particle Swarm Optimization," Mathematics, MDPI, vol. 13(15), pages 1-14, July.
  • Handle: RePEc:gam:jmathe:v:13:y:2025:i:15:p:2349-:d:1708075
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/13/15/2349/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/13/15/2349/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:13:y:2025:i:15:p:2349-:d:1708075. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.