1. Introduction
Magnetic sensing principles are well established in the automotive industry because of their robust and reliable operation without abrasion, even in dirty environments [
1]. The automotive sector is presently moving from combustion engines to electric driven propulsion with high-power cables causing electromagnetic interference (EMI) to other electromagnetic sensitive devices inside a car. The trend for safe and autonomous systems, on the other hand, increases the number of sensors and actuators inside a vehicle, which therefore have to be smaller and more robust and reliable. Such magnetic angle sensors for
detection are traditionally made with magnetoresistive sensors (e.g., GMRand TMR) [
2,
3] or with vertical Hall-effect devices. Their angle accuracy is limited roughly to ∼0.3
…∼1
by the assembly tolerances of the sensor and magnet with respect to the rotation axis [
4,
5,
6]. Their main limitation nowadays is that relatively small magnetic disturbance fields of 5 mT give large errors of
. In-shaft magnetic angle sensing solves these problems and improves the angle accuracy to ∼0.2
[
7]. There the angle sensor devices are placed in the center of a cheap ferrite injection molded Halbach ring magnet inside the bore of a ferrous shaft, which perfectly shields external disturbances. Due to the high symmetry of the field in the Halbach magnet, assembly tolerances lead only to very small angle errors. Another strategy to cope with disturbance fields is to use gradiometric magnetic sensors. They are cheaper, because they need no magnetic shielding, and they need only smaller, simpler magnets. The basic principle of a widely used angle sensor system with Hall plates is described in [
8], but the idea dates back to [
9]. A similar system was developed in [
10]. Other angle sensor systems add small magnetic fluxguides or concentrators on the sensor chip [
11]. However, these are not gradiometers, and therefore they do not cancel out disturbances of external magnetic fields. Yet, this basic principle can be used to construct more complex gradiometers with robustness against disturbance fields [
12]. Unfortunately, it can be shown that gradiometric sensors are less robust against assembly tolerances than systems that respond to homogeneous magnetic fields [
13]. This is not a consequence of the sensing elements (e.g., TMRs or Hall plates). It is caused by the gradiometric sensing principle itself: gradients are less homogeneous than absolute field values, and therefore they are more prone to placement tolerances. This is explained in Chapter 7 of [
14] with a thorough comparison of all common magnetic sensor technologies. Apart from permanent magnetic angle sensors also inductive angle sensors are known [
15]. They are very accurate and robust against electromagnetic disturbances, and they are well suited for through-shaft arrangements, where the end of a shaft is not available. However, they are more complex and expensive for full
detection and they need more space (diameters
mm). The purpose of this paper is to look at the statistical distribution of angle errors of gradiometric angle sensors of type [
8] and to indicate how the angle accuracy can be optimized. In our case, the magnetic field component perpendicular to a chip is detected by four Hall plates, which are located at
,
,
, and
on a circle [
8]. The radius of the circle is called the reading radius,
. A schematic overview of this sensing principle is shown in
Figure 1.
Two opposite Hall plates make up one gradiometer, which detects the fields on two spaced apart positions and derives the difference of both. Therefore, in good approximation the system detects the gradients of the axial field component
and
. Therefore, it cancels out homogeneous disturbances. Imhomogeneous disturbances are not canceled out; however, as their sources are much farther away than the magnet, they are much weaker. An analytic theory of such an axial field gradient angle sensor is published in [
13]. Statistical distributions of errors due to assembly tolerances are also given in [
13]. We verified our approach by comparing our results to the ones given by [
13] in
Appendix A of this publication.
3. Model Input
This section summarizes the input values used in the computations.
We chose a diametrically polarized disc magnet with commonly used dimensions:
Diameter mm
Height mm
Table 2 specifies all statistical position and angle tolerances. Eccentricities and tilts were Gaussian-distributed with standard deviations of
and
, respectively (Gaussian-distributed random variables are denoted by
and uniformly distributed random variables are denoted by
in
Table 2). These values for assembly parameters are realistic in today’s manufacturing equipment for mass production.
Remark 2. Uniformly distributed auxiliary angles and were introduced to assure an equal probability for the sensor and the magnet to be tilted around arbitrary axes in the x–y plane of the sensor /magnet. The tilt angles of sensor and magnet are and . It holds that , , , and . This leads to non-Gaussian distributions of , , , and .
A statistical investigation was done for a set of different reading radii RR ( , , , 1 , , and mm) at two different air gaps: AG and mm with 100,000 Monte Carlo runs per setup.
5. Discussion
The results of the Monte Carlo simulations in
Figure 3 and
Figure 4 led us to the following conclusions.
The distribution of
is clearly non-Gaussian: The angle errors of rare outliers are much bigger than one would predict with a Gaussian. Non-Gaussian error distributions have also been reported for MEMS based inclinometers by [
23].
A variation of the reading radius has less influence on than assembly tolerances.
Typical angle errors (= standard deviation) and rare outliers ( percentiles) are similarly affected by , whereby small give slightly smaller angle errors.
With the analytical theory presented in [
13], we can show why the distribution of angle errors has such a long tail. In [
13], this angle error was expressed as a Taylor series in powers of small eccentricities and tilts (
Appendix B lists assembly parameters defined in this publication and equivalent ones defined in [
13]):
with the tilt shape function of the magnet:
and the eccentricity shape function of the magnet:
whereby the dipole moment of the magnet points is in the y-direction. In
Appendix C, we give these shape functions homogeneously magnetized for cylindrical magnets. In Equation (
25), there are no linear terms of placement tolerance parameters. This is due to the symmetry of the arrangement: in the ideal case the Hall plates are located symmetrically around the rotation axis. Therefore, all first-order terms in the angle error cancel out. The dominant lowest order error terms are of second order: the angle error rises with the second power of eccentricities and tilts. The important point is that there are also mixed 2
nd order terms, such as the product of eccentricity of the magnet times tilt of magnet or the eccentricity of magnet times the eccentricity of the sensor. These mixed error terms have an important consequence: the total error is more than the sum of individual errors.
Example 1. If a 1st system is perfectly accurate except for an eccentricity of the magnet, the angle error is
If a 2nd system is perfectly accurate except for an eccentricity of the sensor, the angle error is
However, if a 3rd system is perfectly accurate except for the eccentricities of the magnet and sensor, the angle error is
The angle error of the 1st system comprises one term and the error of the 2nd system also comprises one term; however, the error of the 3rd system comprises not just two terms, but three terms. The 3rd term is proportional to the product of eccentricities of sensor and magnet. Therefore, the distribution of is wider than the statistical sum of and . For mm, mm, mm, and m, it follows that , , and .
The absence of 1st order error terms means that the typical angle error is small. If a typical tilt occurs, it gives an angle error, which is proportional to the square of the small tilt.
Only in rare cases are several ones of the assembly tolerance parameters large. However, once this rare event happens, it gives a much bigger error, because the total angle error is more than the sum of individual errors for each misplacement parameter; in addition, we have to add all mixed error terms, which gives a larger total error.
With the following shorthand notation,
| worst case angle error if only the magnet is placed eccentrically |
| worst case angle error if only the sensor is placed eccentrically |
| worst case angle error if only the magnet is tilted |
| worst case angle error if only the sensor is tilted |
the total worst case angle error is given by
We clearly see that a single assembly parameter gives only a single term in the 1
st line; however, all four assembly parameters give 10 error terms, sic of which are mixed errors. It is obvious that in the rare cases, when all four assembly parameters are large, we will end up with a much larger total error due to the six mixed error terms. This is also verified numerically in
Figure 5.
According to the central limit theorem of probability theory, the sum of many Gaussian-distributed stochastic variables is again Gaussian-distributed. Yet, the angle error is the square of the sum of several Gaussian-distributed stochastic variables, and this leads to a long tail in the distribution function.
The angle error in Equation (
25) consists of three parts: the first part is proportional to
, the second part is proportional to
, and the third comprises the remainder. The remainder comprises only tilts, not eccentricities, and it gives notably smaller values than the first two parts. If the magnet produces a homogeneous field gradient (that means
does not vary in space), both shape functions vanish:
and
. In the optimization of an axial field gradient angle sensor system, one looks for magnets with vanishing shape functions. For simple magnet shapes like short cylinders, it turns out that both shape functions have a zero, yet at different air gaps. The tilt shape function vanishes at smaller air gaps than the eccentricity shape function. Due to the statistical superposition of
terms and
terms in the angle error, the total error has a relative minimum versus air gap for air gaps between both zeros. The exact location of the minimum depends on the relative magnitudes of the
- and
-terms. This is shown in
Figure 6, where we plot the standard deviation of
versus AG for
mm. In the same plot, we added an exemplary tilt error term,
, and an exemplary eccentricity error term,
.
Experiments conducted on a single test chip (with
mm) prove the statements above.
Figure 7 shows the angle error versus air gap, whereby each curve was measured for a different sensor eccentricity. The sensor eccentricity
and
was changed in the range of
mm by mounting the sensor on a translation stage. The sensor tilt was nominally zero but we could not avoid possible tilts of the sensor chip inside the sensor package (up to
). Also, the magnet was mounted as perfectly as possible, but again here we cannot exclude that there might have been small magnet eccentricities (up to
mm), small tilts of the magnet (up to
), and small tilts of the magnetization inside the magnet (up to
). However, all these unavoidable small assembly tolerances were constant for all curves, because we used a single chip and we did not change the mounting of the chip on the translation stage during the experiment, so that only the sensor eccentricity was changed via the translation stage. The measured AE angle error is defined as half the difference of maximum and minimum angle error in a 360
rotation: AE=[max
− min
/2. The remaining error results from unavoidable sensor tilt, magnet tilt, and magnet eccentricity, as well as errors generated in the signal processing path of this non calibrated part. Note that all curves were measured with the same chip and magnet with constant tilts and magnet eccentricity—only the sensor eccentricity was changed. The highlighted curves show the typical
dependency from
Figure 6.
The angle error
versus rotation angle for the two bold curves (yellow, blue) in
Figure 7 is shown explicitly in
Figure 8. The angle error curves show one pattern at large air gaps of
mm and a different pattern at small air gaps of
mm (compare this with the zeros of
and
in
Figure 6).
is dominating the error contribution for small
, whereas
is the dominating error contributor for larger
. The curves for
mm should be similar in both plots (as the tilts were not changed), and their respective minima and maxima are roughly at the same angle. The deviations between the two curves result from the contribution of
.