CALIBRATION METHOD FOR ELECTRONIC COMPASS, ELECTRONIC DEVICE AND MEDIUM
DRIVE
January 9, 2025
A calibration method for an electronic compass includes: acquiring an initial sphere center coordinate of a current calibration; acquiring a preset number of magnetic field data collected by a magnetic sensor; determining a target magnetic field interference level of an environment according to the preset number of magnetic field data and the initial sphere center coordinate; determining a target number of the magnetic field data according to the target magnetic field interference level; and performing spherical magnetic field fitting according to the target number of magnetic field data to calibrate the electronic compass.
Discussion in the ATmosphere