摘要 |
An interference compensation method for a geomagnetic sensor comprises the following steps: determining that a current on a power supply wire generates interference to the geomagnetic sensor (S102); acquiring multiple current values on the power supply wire, and acquiring a triaxial data compensation value according to a function correspondence between change values of triaxial data of the geomagnetic sensor and the current values (S104); and subtracting the triaxial data compensation value from current triaxial data of the geomagnetic sensor (S106). By means of the method, the problem that it is difficult to avoid interference caused by a power supply wire to a geomagnetic sensor is solved. Also provided is an interference compensation apparatus for a geomagnetic sensor. |