Compensating magnetic interference for electronic magnetometer sensors
First Claim
1. An electronic device configured to sense a magnetic field and compensate at least one measured value, the electronic device comprising:
- a magnetometer configured to measure at least one value of an external magnetic field along at least one axis; and
at least one processor configured to receive magnetic field data from the magnetometer and to calculate radii r1, r2 and r3 of an ellipsoid, wherein the magnetic field data is representative of the ellipsoid,wherein the at least one processor is configured to calculate eigenvalues λ
1, λ
2, and λ
3 of a matrix of coefficients relating to an equation that is descriptive of the ellipsoid and to calculate the radii r1, r2, and r3 of the ellipsoid as
r1=1/√
{square root over (λ
1)}, r2=1/√
{square root over (λ
2)}, r3=1/√
{square root over (λ
3)},and wherein the at least one processor is further configured to compensate, based on the calculated radii, at least one measured value of the external magnetic field.
0 Assignments
0 Petitions
Accused Products
Abstract
Apparatus and methods to compensate hard iron and soft iron magnetic interference in magnetic sensing devices are described. Hard and soft iron interference may be modeled using an ellipsoidal surface generated by a plurality of magnetic field measurements. A displacement of the ellipsoid from a reference frame origin corresponds to hard iron or permanent magnetic field interference. A shape and orientation of the ellipsoid corresponds to soft iron magnetic field interference. The ellipsoidal surface may be analyzed to obtain magnetic field compensation values for cancelling hard iron and soft iron interference.
-
Citations
24 Claims
-
1. An electronic device configured to sense a magnetic field and compensate at least one measured value, the electronic device comprising:
-
a magnetometer configured to measure at least one value of an external magnetic field along at least one axis; and at least one processor configured to receive magnetic field data from the magnetometer and to calculate radii r1, r2 and r3 of an ellipsoid, wherein the magnetic field data is representative of the ellipsoid, wherein the at least one processor is configured to calculate eigenvalues λ
1, λ
2, and λ
3 of a matrix of coefficients relating to an equation that is descriptive of the ellipsoid and to calculate the radii r1, r2, and r3 of the ellipsoid as
r1=1/√
{square root over (λ
1)}, r2=1/√
{square root over (λ
2)}, r3=1/√
{square root over (λ
3)},and wherein the at least one processor is further configured to compensate, based on the calculated radii, at least one measured value of the external magnetic field. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method for compensating a sensed magnetic field wherein the magnetic field is sensed by a device having at least one processor and a magnetic sensor, the method comprising:
-
measuring, with a magnetic sensor, at least one value of an external magnetic field along at least one axis; receiving, by the at least one processor, magnetic field data from the magnetometer; calculating, by the at least one processor, a center and radii of an ellipsoid, wherein the magnetic field data is representative of the ellipsoid; and compensating, by the at least one processor, at least one measured value of the external magnetic field based on the calculated center and the calculated radii. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
Specification