The present invention relates to magnetic sensor technology, particularly to three-axis digital compasses.
In the field of consumer electronics, for example smart phones, tablet computers, and other portable electronic devices, there is a need to use three-axis compass combined with inertial measurement devices such as a three-axis gyroscopes, and three-axis accelerometers, in order to form a complete 9-axis inertial magnetic navigation unit. These three-axis compasses can simultaneously measure three magnetic field components at the same time, and they are composed of AMR, GMR, or TMR magnetoresistive sensors. These magnetoresistive sensors detect the magnetic field in the plane of the substrate, such that two magnetic field components, X, Y, can be detected by tow orthogonal magnetoresistive sensors on the same substrate, in order t o realize a two-axis XY magnetic field sensor. However, for the Z-axis magnetic field component, one solution is to use a one-axis sensor installed on an orthogonal plane. This method has the following shortcomings:
To solve the above problems, the present invention discloses a three-axis digital compass, the elements of the compass can be produced on a single chip, which utilizes a flux concentrator to distort the magnetic field, where the Z-axis magnetic field component perpendicular to the plane is transformed into in-plane XY components, which can be detected by the two X and Y magnetic sensors, and as a result the X and Y magnetic sensors can be used to simultaneously compute the X, Y, Z magnetic field components, and these X, Y, Z magnetic field components can then be separated out by an algorithm, which is then transformed into a digital signal. The present invention proposes a three-axis magnetic field sensor, comprising
Preferably, each of the X-axis magnetic sensors and the Y-axis magnetic sensors are deposited on the substrate surface and senses a magnetic field component parallel to the substrate surface.
Preferably, the X-axis magnetic sensors and the Y-axis magnetic sensors are composed of AMR, GMR, or TMR magnetic sensor elements.
Preferably, the X-axis magnetic sensors and the Y-axis magnetic sensors are spin-valves that have an X-axis magnetic sensing element with a pinned layer magnetization direction and a Y-axis magnetic sensing element with a pinned layer magnetization direction that are aligned in mutually orthogonal directions.
Preferably, the X-axis magnetic sensors and the Y-axis magnetic sensors each include at least a sensing element and a reference element, where the reference element is located under the flux concentrator, and the sensing elements are located along the edges of the flux concentrator.
Preferably, the X-axis component of the magnetic field correlates to the sum of the two output signals from the X-axis magnetic sensors, and the Y-axis component of the magnetic field correlates to the sum of the two output signals from the Y-axis magnetic sensors.
Preferably, the Z-axis component of the magnetic field correlates to the difference between the two output signals from the X-axis magnetic sensors, or it correlates to the difference between the two output signals from the Y-axis magnetic sensors, or it correlates to the difference between the sum of the X-axis magnetic sensor signal outputs added to the difference between the Y-axis magnetic sensor outputs.
Preferably, the flux concentrator is composed of a high permeability soft magnetic material NiFe, CoFeSiB, CoZrNb, CoFeB, FeSiB or FeSiBNbCu.
Preferably, the thickness of the flux concentrator is 1 to 20 um.
Preferably, the substrate contains CMOS, and the X-axis magnetic sensor and the Y-axis magnetic sensors are lithographically patterned on top of the substrate.
Further, the X-axis component of the magnetic field correlates to the sum of two output signals from the X-axis magnetic sensors, and the Y-axis component of the magnetic field correlates to the sum of two output signals from the Y-axis magnetic sensors, and the Z-axis component of the magnetic field correlates to the difference between the sum of the X-axis magnetic sensor signal outputs added to the difference between the Y-axis magnetic sensor outputs.
Further, the Z-axis component of the magnetic field correlates to the difference between the two output signals from the X-axis magnetic sensors, or it correlates to the difference between the two output signals from the Y-axis magnetic sensors, or it correlates to the difference between the sum of the X-axis magnetic sensor signal outputs added to the difference between the Y-axis magnetic sensor outputs.
The present invention has small size, a simple manufacturing process, easy packaging, novel structure, simple algorithm, and high measurement precision.
In order to more clearly illustrate various implementations of the proposed technical solution, the following figures and text introduce simple examples in order to provide an introduction to the technical solution, obviously, the description below does not describe all possible cases, and the average person skilled in this technology, without any additional creativity, can using the appended drawings produce additional figures.
The figures below combined with preferred embodiment examples are used to describe the invention in detail.
Assuming that in the linear range, the sensor response has the following relationship with respect to an external magnetic field:
V
ij
=S
ij
B
ij
+Vo
ij
Where i=1 or 2, and j=x or y. Sij represents the magnetic sensor sensitivity, and it has the following range of values:
S
ij: 0<Sij<100 mV/V/G;
Bij represents the magnetic field at the location of each sensor location.
The external magnetic field along the X-axis, the Y-axis, and the Z-axis has three components Bx, By, and Bz which become distorted after passing through the flux concentrator. At X1, X2, Y1, and Y2 magnetic sensors positions 1-4, the magnetic fields B1x, B2x, B1y, and B2y may be expressed:
B
1x
=αB
x
+γB
z
B
2x
=αB
x
−γB
z
B
1y
=αB
y
+γB
z
B
2y
=αB
y
−γB
z
The sensor's output voltage is related to a linear combination of magnetic field component Bx, By, and Bz:
V
1x
=S
1x(αBx+γBz)+Vo1x
V
2x
=S
2x(αBx−γBz)+Vo2x
V
1y
=S
1y(αBy+γBz)+Vo1y
V
2y
=S
2y(αBy−γBz)+Vo2y
Wherein, α and γ are the magnetic field gain coefficients of the flux concentrator 5 for the external magnetic field, and they are a function of its length (L), width (W), and thickness (t).
α=α(L, W, t)
γ=γ(L, W, t)
Where,
α: 0<|α|<100
γ: 0<|γ|<100
In order to solve these Linear equations for the sensor output, we can take the four output voltage signals V1x, V2x, V1y, V2y and solve them for a unique set of magnetic field values Bx, By, Bz:
For simplicity, calibration constants can be defined:
V
0x
=Vo
1x
+Vo
2x
S
x=α(S1x+S2x)
where
B
ox
=V
ox
/S
x
V
0y
=Vo
1y
+Vo
2y
S
y=α(S1y+S2y)
where
B
oy
=V
oy
/S
y
V
0z=(Vo2x−Vo1x)+(Vo2y−Vo1y)
S
z=γ(S1x+S2x+S1y+S2y)
where
B
oz
=V
oz
/S
z
Thus, by solving the following three simple equations, using 3 sensitivity and 3 offset calibration coefficients, you can obtain the three magnetic field components Bx, By, and Bz. Therefore the calibration of this three-axis compass is the same complexity as the prior art designs.
V
1x
=S
1x(αBx)+Vo1x
V
2x
=S
2x(αBx)+Vo2x
V
1y
=Vo
1y
V
2y
=Vo
2y
From the above four equations, it can be seen that V1x, V2x are related to the external magnetic field, and V1y, V2y are unrelated to the external magnetic field, and
V
1x
=Vo
1x
V
2x
=Vo
2x
V
1y
=S
1y(αBy)+Vo1y
V
2y
=S
2y(αBy)+Vo2y
From the above four equations, it can be seen that V1x, V2x have no dependence on the external magnetic field, and V1y, V2y depend on the external magnetic field, such that
V
1x
=S
1x(γBz)+Vo1x
V
2x
=S
2x(−γBz)+Vo2x
V
1y
=S
1y(γBz)+Vo1y
V
2y
=S
2y(−γBz)+Vo2y
From this it can be seen V1x, V2x, V1y, and V2y are related to the external magnetic field, and
V
1x
=S
1x(αBx+γBz)+Vo1x
V
2x
=S
2x(αBx−γBz)+Vo2x
V
1y
=S
1y(αBy+γBz)+Vo1y
V
2y
=S
2y(αBy−γBz)+Vo2y
Wherein, α and γ are the magnetic field gain coefficients of the flux concentrator 5 for the external magnetic field, and they are a function of its length (L), width (W), and thickness (t).
α=α(L, W, t)
γ=γ(L, W, t)
Then by using the following equations the voltage signals can be converted into the three magnetic field components:
The result of the three dimensional magnetic field calculations is transferred to the signal output unit 19, enabling the three-axis digital compass to output the components of the external magnetic field measurement.
The Z-axis component of the magnetic field correlates to the difference between the two output signals from the X-axis magnetic sensors, or it correlates to the difference between the two output signals from the Y-axis magnetic sensors, or it correlates to the difference between the sum of the X-axis magnetic sensor signal outputs added to the difference between the Y-axis magnetic sensor outputs. In this embodiment of the present invention, the other methods can ultimately be described in a corresponding manner, but the first two methods have no substantial difference, and people skilled in the art can after seeing these implementations immediately and without the slightest doubt, conclude this from the first two methods, therefore the above detailed description of the methods will not be repeated.
The foregoing presents preferred embodiments of the present invention, but it does not limit the invention. For technical personnel skilled in the art, the present invention can be made to have various modifications and changes. Any changes, equivalent replacements, or improvements, within spirit and principles of the present invention, should be included within the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
201310202801.1 | May 2013 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2014/078685 | 5/28/2014 | WO | 00 |