General Description: Magnet Selection Guide Application Note
General Description: Magnet Selection Guide Application Note
APPLICATION NOTE
AS5000 Series Magnetic Sensor Circuits
1 General Description As the magnet rotates over the chip, The Hall sensors create
sine and cosine signals with one period per revolution. An on-
This document provides basic guidelines to the selection
chip signal processor further interpolates these sinusoidal
of magnets used in combination with the AS5000-Series
signals into absolute vectors from 0…360° with high
magnetic rotary and linear motion detection circuits. It
resolution. Consequently, this method is capable of measuring
also provided suggestions for proper mounting of these
absolute angle information.
magnets in the devices for which the rotating angle is
being measured.
2 Measurement Principle
The AS5000-series magnetic sensor circuits are using
integrated lateral Hall sensors in standard CMOS
technology. Lateral Hall elements are sensitive to the
magnetic field component perpendicular to their surface.
This means they are only sensitive to magnetic fields
vertical to the IC surface.
BZ
Example 1:
Encoder IC = AS5304, axial mounting (Fig. 4)
magnetic ring properties
(defined by the available space of the given application)
diameter: ~ 28mm
width: ~4mm
Example 2:
Encoder IC = AS5304, radial mounting (Fig. 5)
Encoder function Diametrical Axial Fig. 8: Diametrically magnetized magnet for rotation angle
angle output rotation angle direction of tilt measurements
magnitude output strength of degree of tilt
(not available on magnetic field
all products)
Table 1 shows a comparison between Neodymium-Iron-Boron (NdFeB) and Samarium-Cobalt (SmCo) magnets. Advantages
over the other type are shown with green background, disadvantages are shown with red background. SmCo-magnets have a
temperature stability that is about 3 times better than NdFeB ( -0.035 to -0.04 %/°C) and can be operated at much higher
temperatures (typ. 250 to 300°C operating, 720°C Curie temperature).
They are also less corrosive than NdFeB magnets and need no protective coating. However, they are also more expensive and
not as strong as NdFeB magnets.
It is therefore strongly recommended to ensure that the protective coating of NdFeB magnets is not scratched during the process
of inserting the magnet in a shaft or other rotating medium. The exposed NdFeB area may corrode quickly and eventually cause
the magnet to break.
As shown in Fig. 10 (grey zone), the Hall elements are Consequently, the larger the linear range, the more radial
located on the chip at a circle with a radius of 1.1mm. misalignment can be tolerated. By contrast, the slope of the
Since the difference between two opposite Hall sensors linear range decreases with increasing magnet diameter, as
is measured, there will be no difference in signal the poles are further apart. A smaller slope results in a
amplitude when the magnet is perfectly centered or if the smaller differential signal, which means that the magnet must
magnet is misaligned in any direction as long as all Hall be moved closer to the IC (smaller airgap) or the
elements stay within the linear range ! For the 6mm amplification gain must be increased which leads to a poorer
magnet shown in Fig. 10, the linear range has a radius of signal – to – noise ratio. More noise results in more jitter at
1.6mm, so this magnet allows a radial misalignment of the angle output. A good compromise is a magnet diameter
0.5mm (1.6mm linear range radius – 1.1mm Hall array in the range of 5…8mm.
radius).
N 150
S
100
50
Bz [mT]
0
-50
-100
Fig. 10: Vertical magnetic field across the center of a cylindrical magnet
160%
140%
relative peak amplitude [%]
120%
100%
80%
60%
d= 6mm x h= 2.5mm ref. magnet:
40% h/d = 0.42
rel. amplitude = 100%
20%
0%
0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8
thickness to diameter [h/d] ratio
As the graph shows, the amplitude drops significantly at h/d ratios below this value and remains relatively flat at ratios above 1.3.
Therefore, the recommended thickness of 2.5mm ( @6mm diameter) should be considered as the low limit with regards to
magnet thickness.
It is possible to get 40% or more signal amplitude by using thicker magnets. However, the gain in signal amplitude becomes less
significant for h/d ratios >~1.3. Therefore, the recommended magnet thickness for a 6mm diameter magnet is between 2.5 and
~8 mm.
The graph shows that the angle error remains below 1°,
Fig. 13: Angle error of 5mm diameter magnet at 0.5mm airgap
even if the magnet is out of center by ~0.4mm (~4 grid
steps from the center). This is the area in which the Hall
elements are within the linear range of the 5mm magnet.
As soon as the Hall elements are shifted out of the linear
Max INL error, 6mm magnet, 0.5mm gap
range, as they are shifted towards the poles where the
curve reaches its peak, the angle error increases fairly
sharp.
except that the magnet diameter is increased from 5mm Error [°]
7
6
to 6mm. The Bz gradient of the 6mm magnet is also 5
4
shown in Fig. 10. Since the diameter of the magnet has 3
2
increased by 1mm, the linear range also increases by 1
1000
-1000 0
about the same amount. This increase gains also about -500
600
Fig. 15 is again using a 6mm magnet, this time the axial Fig. 14: Angle error of 6mm diameter magnet at 0.5 mm airgap
distance is increased from 0.5mm to 1.0mm. The
misalignment range in this case drops to ~ +/- 0.5mm for
better than 1° angle error. Fig. 10 shows the Bz curve
max. INL error, 6mm magnet, 1mm gap
under the same conditions. It also reflects that there is
about 0.5mm misalignment range from the 1.1mm radius
of the Hall sensor circle, before the curve becomes non-
linear.
8
7
6
5.4.1 Summary Error [°]
5
4
Small diameter magnets (<6mm Ø) have a shorter linear 3
2
range and allow less lateral misalignment. The steeper -1000
1
0
800
slope allows larger axial distances. -600 500
Large diameter magnets (>6 mm Ø) have a wider linear -200 200
-100
200
range and allow a wider lateral misalignment. The flatter X [um] 600
-400 Y [um]
-700
slope requires shorter axial distances. 1000 -1000
The linear range decreases with airgap, Best Fig. 15: Angle error of 6mm diameter magnet at 1 mm airgap
performance is achieved at shorter airgaps.
The ideal vertical distance range can be determined by
using magnetic range indicators provided by the encoder
ICs. These indicators are named MagInc, MagDec,
MagRngn, or similar, depending on product.
200
z=1mm
150
z=2mm
100
50
Bz [mT]
0
-10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10
-50
z=3mm
-100
Similar to Fig. 10, which shows the Bz curve of a N35H magnet, Fig. 16 shows the Bz curve of a stronger, N43SH magnet with the
same mechanical dimensions: 6mm diameter, 2.5mm height.
Measured at a distance of 1mm, the N35H magnet peaks at ~110mT (Fig. 10) and the N43SH magnet has a peak around 145mT.
The critical spot is the magnetic field at the location of the Hall elements, at a radius of 1.1mm. This level should be in the range of
45…75mT (see Fig. 12).
While the N35H magnet has ~50mT at 1.1mm radius and 1mm air gap (Fig. 10), the N43SH magnet shows ~64mT at the same gap,
~40mT at 2mm distance and ~20mT at 3mm distance.
150
z=1mm
100
z=2mm
50
0
-2.5 -2 -1.5 -1 -0.5 0 0.5 1 1.5 2 2.5
z=3mm
-50
-100
-150
Fig. 17: Linear range at different vertical distances (magnified view of Fig. 16)
Fig. 17 shows an expanded view of Fig. 16 around the center of the magnet. Superimposed to each graph is a straight line which
shows the ideal linear range, which is the ideal working point for best accuracy. It shows that the linear range decreases with airgap:
While it is about +/-2.4mm at 1mm gap, it drops to +/-1.5mm at 3mm airgap, considering an allowed deviation of 5% (as shown in the
encoder datasheets)
Given a Hall sensor radius of 1.1mm, the radial misalignment tolerance is ~ +/-1.3mm at 1mm distance, which drops to +/- 0.4mm at
3mm distance. The sensors will still operate satisfactorily at larger radial misalignment, but the accuracy will be slightly reduced. This
is also reflected in graphs Fig. 14 and Fig. 15.
This is acceptable in this case, the maximum magnetic offset should be less than +/-10mT.
This reduces the characteristics of the sensor magnet to two essential curves:
• the rotational scan, which is the vertical magnetic field at the location of the Hall elements. It provides a feedback about the
quality of the sinewave that is measured by the Hall elements as the magnet rotates.
• the linearity scan, which senses the linear range between the poles and provides a feedback about the expected horizontal
misalignment tolerance of the magnet with respect to the IC
The rotational scan is a circular scan around the rotation axis of the magnet, measured at a radius of 1.1mm, which is the radius of
the Hall sensor array on the IC. Note that some rotary sensors ICs, like the AS5030 have a slightly smaller radius of 1.0mm. It is
recommended to check the parameter “Hall Array radius” in the datasheet of the rotary sensor IC intended for use; see also: 5.3.
The linearity scan is a straight scan across the poles of the magnet. Care should be taken to scan both over the poles (= location of
maximum magnetic field) and over the rotation axis of the magnet (= zero magnetic field zone); see also: 5.1.
rotational scan Bz
r=1.1mm
N S
0° 360°
linearity scan Bz
r=1.1mm N
N S
Fig. 18: Characteristic scan curves of diametric magnets for rotation angle measurements
Fig. 22: Magnetic field lines with spacer between magnet and iron
shaft
Fig. 20: Magnetic field lines in plastic or copper shaft If the magnet has to be mounted inside a magnetic shaft, a
possible solution is to place a non-magnetic spacer between
shaft and magnet, as shown in Fig. 22. While the magnetic
field is rather distorted towards the shaft, there are still
If the magnet is mounted in non-magnetic material, such adequate field lines available towards the sensor IC. The
as plastic or diamagnetic material, such as copper, the distortion remains reasonably low.
magnetic field distribution is not disturbed.
Note that austriamicrosystems does not assume responsibility on the quality of the magnets supplied by these companies.
12 Contact
Headquarters
austriamicrosystems AG
A 8141 Schloss Premstätten, Austria
Phone: +43 3136 500 0
Fax: +43 3136 525 01
13 Copyright
Devices sold by austriamicrosystems are covered by the warranty and patent indemnification provisions appearing in its Term of
Sale. austriamicrosystems makes no warranty, express, statutory, implied, or by description regarding the information set forth
herein or regarding the freedom of the described devices from patent infringement. austriamicrosystems reserves the right to
change specifications and prices at any time and without notice. Therefore, prior to designing this product into a system, it is
necessary to check with austriamicrosystems for current information. This product is intended for use in normal commercial
applications.
Copyright © 2009 austriamicrosystems. Trademarks registered ®. All rights reserved. The material herein may not be
reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. To the best of
its knowledge, austriamicrosystems asserts that the information contained in this publication is accurate and correct. However,
austriamicrosystems shall not be liable to recipient or any third party for any damages, including but not limited to personal injury,
property damage, loss of profits, loss of use, interruption of business or indirect, special, incidental or consequential damages, of
any kind, in connection with or arising out of the furnishing, performance or use of the technical data herein. No obligation or
liability to recipient or any third party shall arise or flow out of austriamicrosystems rendering of technical or other services.