System for using a 2-axis magnetic sensor for a 3-axis compass solution
First Claim
1. A compass system comprising:
- a 2-axis magnetic sensor;
a tilt sensor;
a memory;
a processor;
at least one value for the Earth'"'"'s magnetic field strength stored in the memory; and
a set of instructions stored in the memory and executable by the processor to calculate a magnetic field component, Z, that is orthogonal to measurement axes associated with the 2-axis magnetic sensor using inputs from the 2-axis magnetic sensor and using the at least one stored value for the Earth'"'"'s magnetic field strength.
2 Assignments
0 Petitions
Accused Products
Abstract
A tilt-compensated electronic compass can be realized by calculating rather than measuring Earth'"'"'s magnetic field component Z in a direction orthogonal to the two measurement axes of a 2-axis magnetic sensor. The orthogonal component Z can be calculated using a stored value for the Earth'"'"'s magnetic field strength applicable over a wide geographic region. The calculation also requires using measured field values from the 2-axis sensor. Once Z is known, and using input from a 2-axis tilt sensor, compensated orthogonal components X and Y can be calculated by mathematically rotating the measured field strength values from a tilted 2-axis sensor back to the local horizontal plane. Thus, a very flat and compact tilt-compensated electronic compass is possible.
-
Citations
9 Claims
-
1. A compass system comprising:
-
a 2-axis magnetic sensor;
a tilt sensor;
a memory;
a processor;
at least one value for the Earth'"'"'s magnetic field strength stored in the memory; and
a set of instructions stored in the memory and executable by the processor to calculate a magnetic field component, Z, that is orthogonal to measurement axes associated with the 2-axis magnetic sensor using inputs from the 2-axis magnetic sensor and using the at least one stored value for the Earth'"'"'s magnetic field strength. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of compensating for tilt in an electronic compass having a 2-axis magnetic sensor and a tilt sensor, the method comprising:
-
storing at least one value for the Earth'"'"'s magnetic field strength;
measuring the Earth'"'"'s magnetic field strength with the 2-axis magnetic sensor; and
calculating a magnetic field component, Z, that is orthogonal to the measurement axes associated with the 2-axis magnetic sensor, using the measured field strengths from the 2-axis magnetic sensor and using the at least one stored value for the Earth'"'"'s magnetic field strength. - View Dependent Claims (7, 8)
-
-
9. A method of compensating for tilt in an electronic compass having a 2-axis magnetic sensor and a tilt sensor, the method comprising:
-
storing at least one value for the Earth'"'"'s magnetic field strength;
measuring the Earth'"'"'s magnetic field strength with the 2-axis magnetic sensor;
calculating a magnetic field component, Z, that is orthogonal to the 2-axis magnetic sensor measurement axes using the measured field strengths from the 2-axis magnetic sensor and using the at least one stored value for the Earth'"'"'s magnetic field strength, wherein the orthogonal field component Z is calculated using the equation Z=√
{square root over (H2−
X2−
Y2)} where H is the at least one stored value, X is a first measurement from the 2-axis magnetic sensor and Y is a second measurement from the 2-axis magnetic sensor that is orthogonal to X;
calculating local horizontal components Xcomp and Ycomp of the Earth'"'"'s magnetic field using the calculated value of Z and inputs from the tilt sensor, wherein the tilt sensor is a 2-axis tilt sensor that measures pitch (φ
) and roll (θ
) angles and wherein the local horizontal components Xcomp and Ycomp are mutually orthogonal and are calculated using the equations;
Xcomp=X cos φ
+Y sin2 φ
−
Z cos θ
sin φ and
Ycomp=Y cos θ
+Z sin θ
; and
calculating a compensated heading using the equation
Heading=arcTan(Ycomp/Xcomp).
-
Specification