Complete Tri-Axis Magnetometer Calibration with a Gyro Auxiliary

Deng Yang, Zheng You, Bin Li, Wenrui Duan, Binwen Yuan2017

TL;DR

This paper introduces a novel, low-complexity algorithm for calibrating tri-axis magnetometers using a gyroscope as an auxiliary sensor. The method effectively compensates for various magnetic distortions and sensor errors, including misalignment, achieving a heading error reduction to 0.5° (1σ), and is significantly faster than existing ellipsoid-fitting methods.

What Problem Does This Paper Address?

Orientation estimation in systems like IMUs often relies on magnetometers, but their readings are prone to significant errors due to magnetic field distortions (hard and soft iron effects) and sensor imperfections (bias, scale factor, non-orthogonality, misalignment). While existing calibration methods exist, they often require expensive specialized equipment (like Helmholtz coils) or are computationally intensive. Furthermore, some methods struggle to fully compensate for misalignment errors, which are crucial for accurate orientation. This paper aims to provide a complete, accurate, and computationally efficient calibration solution.

Methods

The proposed method, termed the "Proposed Method" (PM), utilizes a tri-axis gyroscope as an auxiliary to a tri-axis magnetometer. The core idea involves:

  • Cuboid Frame Setup: A non-magnetic cuboid frame is used to mount the sensor set. This frame is rotated such that each of its six sides faces upwards sequentially.
  • Gyroscope-Assisted Interpolation: During rotation, the gyroscope's output is used to precisely track the rotation angles. This allows for the calculation of interpolated magnetometer outputs at specific angular intervals, even with non-constant rotation speeds.
  • Linear Algebra for Calibration: The interpolated magnetometer data, combined with known orientations relative to the Earth's magnetic field (derived from the cuboid frame's orientation), are used in a series of linear algebra operations. This approach directly solves for the error coefficient matrix (K) and bias error vector (b), which encapsulate all the calibration parameters.
  • Error Analysis: The paper also includes a detailed analysis of potential calibration errors introduced by gyro bias, gyro misalignment, cuboid frame non-orthogonality, and rotation deviation, demonstrating that these errors are generally minor.

Datasets

The paper uses simulated data generated with known error parameters and experimental data collected using an SBG IG-500N MARG unit. The magnetic field environment for simulation was based on the World Magnetic Model. No new benchmark datasets were introduced.

Key Insights and Ideas

  • Gyroscope as a "Virtual Turntable": The gyroscope's precise angle measurement effectively replaces the need for a physical, non-magnetic turntable for controlled rotations, simplifying the setup and reducing cost.
  • Linear Algebra Efficiency: Shifting from iterative optimization (common in ellipsoid-fitting) to linear algebra operations significantly reduces computational complexity and processing time.
  • Complete Calibration: The method claims to compensate for a comprehensive set of errors, including misalignment, which is a known challenge for some ellipsoid-fitting techniques.
  • Universality: The error model and calibration approach are noted to be applicable to tri-axis accelerometers as well, given their similar error characteristics.

Key Results

  • Accuracy: The proposed method achieved a heading error reduction to 0.5° (1σ) in simulations and experiments.
  • Computational Efficiency: The PM's computation time was found to be over 10 times faster than a standard ellipsoid-fitting method (EM) in both simulations and experiments. For example, in experiments, the PM took 0.0174s total compared to the EM's 0.2188s.
  • Error Compensation: Simulations and experiments demonstrated that the PM effectively compensated for hard iron, soft iron, zero bias, scale factor, non-orthogonal, and misalignment errors. In contrast, the EM could not fully compensate for the total misalignment error.

Limitations and Future Work

  • Cuboid Frame Requirement: The method requires a physical non-magnetic cuboid frame for mounting the sensors. While described as inexpensive and easy to obtain, it's still an additional piece of hardware.
  • Magnetic Field Assumption: The calibration assumes a stable geomagnetic field during the process. For applications in highly dynamic magnetic environments, this might be a limitation.
  • Future Work: The paper suggests that the method can be applied to tri-axis accelerometers. Further exploration into real-time calibration or adaptive calibration in dynamic environments could be future directions.

Summary updated

BibTeX
@misc{yang2017complete,
  author = {Deng Yang and Zheng You and Bin Li and Wenrui Duan and Binwen Yuan},
  title = {{Complete Tri-Axis Magnetometer Calibration with a Gyro Auxiliary}},
  year = {2017},
  doi = {10.3390/s17061223},
}

Loading related content...

Figure