PDF version

Application Information
Air-Gap-Independent Speed and Direction Sensing
Using the Allegro A1262
By Stefan Kranz,
Allegro MicroSystems, LLC
Introduction
The A1262 integrated circuit is an ultrasensitive dualchannel Hall-effect latch. As with conventional dual-channel
latches, the quadrature outputs of the A1262 indicate rotation direction and position/speed of a rotating ring magnet
target. It is unique, however, in its use of vertical Hall
technology to sense magnetic field direction in addition to
amplitude.
The A1262 contains a conventional planar Hall element to
derive one channel and a vertical Hall element to derive
the other channel. The result is that the A1262 is capable of
generating quadrature output signals (≈90° phase difference) where the phase separation is largely independent of
the air gap, ring magnet size, or pole spacing. This provides
an unprecedented level of flexibility for the system designer
in selecting the ring magnet and its position and orientation
relative to the sensor. Its small (SOT23-5) package replaces
a pair of conventional Hall-effect latches, saving space and
component count.
Case Studies
This application note will focus on two of the many possible
system configurations. In both cases, the A1262LLHLT‑T
device is assumed to use the Z sensing direction for the
planar Hall element, and Y for the vertical Hall element
(see Figure 1). An alternative version of the A1262, the
A1262LLHLT‑X‑T, is also available with sensitivity in the Z
and X directions. Detailed information on the A1262 can be
found in the A1262 datasheet and other related application
notes.
ΔZ
In both cases, the target is a ferrite ring magnet with identical overall dimensions. In Case 1, the magnet is a multipole
ring magnet. In Case 2, it is a diametrically magnetized
(1 pole-pair) ring magnet (See Photo 1).
Photo 1: Ring Magnet
CASE 1: MULTIPOLE RING MAGNET
In this case, the target is a ring magnet with the following
characteristics:
Outer diameter:
Inner diameter: Height: Pole-pairs:
Material: Magnetization:
13 mm
6 mm
4 mm
4
Ferrite Y10T, BR: ≥ 0.2 T
Radial
magnet
rotation
Y
Δ
Z
air gap
Δ
X
1
field
direction
Figure 1: A1262 Sensing Directions
296124-AN
Y
A1262
Figure 2: Mechanical Configuration for Case 1
The radial and tangential magnetic fields versus air gap around the
Case 1 ring magnet are shown in Figure 3 and Figure 4. The radial
field component excites the A1262 planar Hall element and is
shown as the Z direction. The vertical Hall element responds to the
tangential magnetic field; this is displayed as Y direction.
As shown in Figure 3 and Figure 4, the locations of the magnetic
peaks of each of the two channels are very consistent relative to
the other channel. There is very little variation with air gap. Figure 5 illustrates this more clearly by showing only the results for
the minimal and maximal air gaps, 1.5 and 5.0 mm, respectively.
6
250
Air Gap
(mm)
150
1.5
2.0
2.5
50
-40
-50
10
60
110
160
3.0
3.5
4.0
-150
5
OUTA (V) @ 2.0 mm
OUTA (V) @ 2.5 mm
3
OUTA (V) @ 3.0 mm
OUTA (V) @ 3.5 mm
2
OUTA (V) @ 4.0 mm
OUTA (V) @ 4.5 mm
1
OUTA (V) @ 5.0 mm
4.5
0
5.0
-250
OUTA (V) @ 1.5 mm
4
Output Voltage (V)
B (gauss)
350
0
20
40
60
-1
-350
magnet rotation (degrees)
80
100
120
140
160
Magnet Rotation (degrees)
Figure 6: A1262 Multipole Ring Magnet
OUTA (radial) vs. Air Gap
Figure 3: Radial B-Field Multipole
Ring Magnet vs. Air Gap
6
350
Air Gap
(mm)
B (gauss)
250
150
1.5
50
2.5
2.0
-50 0
50
100
150
3.0
3.5
Output Voltage (V)
5
OUTB (V) @ 1.5 mm
4
OUTB (V) @ 2.0 mm
OUTB (V) @ 2.5 mm
3
OUTB (V) @ 3.0 mm
OUTB (V) @ 3.5 mm
2
OUTB (V) @ 4.0 mm
1
OUTB (V) @ 4.5 mm
OUTB (V) @ 5.0 mm
0
0
20
40
-1
4.5
5.0
-250
-350
Figure 4: Tangential B-Field Multipole
Ring Magnet vs. Air Gap
400
300
Air Gap
(mm)
B (gauss)
100
0
-100
1.5
0
20
40
60
80
100
120
140
160
100
120
140
160
Figure 7: A1262 Multipole Ring Magnet
OUTB (tangential) vs. Air Gap
Figure 6 and Figure 7 show the magnetic switching behavior of
the two sensor outputs with the 8-pole ring magnet. Given the
normal variation in the magnetic switchpoints of the A1262 and
a large variation in air gap, the phase relationship of OUTA and
OUTB remain very stable. This level of air gap independence is
unique to the A1262.
Magnet Rotation (degrees)
200
80
Magnet Rotation (degrees)
4.0
-150
60
5.0
1.5
As shown in Table 1 below, both outputs also maintain near-ideal
(≈50%) duty cycle independent of air gap.
Table 1: Duty Cycle vs. Air Gap for Case 1
Air Gap
(mm)
OUTA Duty Cycle
(%)
OUTB Duty Cycle
(%)
1.5
49.71
49.83
-200
2.0
49.77
50.00
-300
2.5
49.77
49.60
-400
3.0
49.71
49.83
3.5
49.71
49.88
4.0
49.54
49.83
4.5
49.88
49.48
5.0
49.65
49.71
5.0
Magnet Rotation (degrees)
Figure 5: Radial / Tangential B-Field
Multipole Ring Magnet vs. Air Gap
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
2
CASE 2: DIAMETRIC RING MAGNET
450
In this case, the target is a ring magnet with the same dimensions and of the same material as Case 1, but with only one set of
magnetic poles:
13 mm
6 mm
4 mm
1
Ferrite Y10T,
BR: ≥ 0.2 T
Diametric
1.5
2.0
250
2.5
150
B (gauss)
Outer diameter: Inner diameter: Magnet height: Pole-pairs:
Material: Magnetization:
Air Gap
(mm)
350
3.0
3.5
50
-50 0
50
100
150
200
250
300
4.0
350
4.5
5.0
-150
5.5
6.0
-250
6.5
-350
7.0
-450
Magnet Rotation (degrees)
Figure 9: Radial B-Field Diametral
Ring Magnet vs. Air Gap
250
Air Gap
(mm)
200
1.5
150
2.0
100
3.0
0
3.5
0
50
100
150
200
250
300
4.0
350
4.5
-50
5.0
5.5
-100
Z
6.0
air gap
field
direction
2.5
50
B (gauss)
magnet
rotation
-150
6.5
7.0
-200
Y
A1262
-250
Magnet Rotation (degrees)
Figure 10: Tangential B-Field Diametral
Ring Magnet vs. Air Gap
Figure 8: Mechanical Configuration for Case 2
450
350
250
Air Gap
(mm)
150
B (gauss)
Figure 8 shows the mechanical configuration for Case 2. The
radial and tangential magnetic fields versus air gap around the
ring magnet are shown in Figure 9 and Figure 10. The radial field
component excites the A1262 planar Hall element and is shown
as the Z direction. The vertical Hall element responds to the
tangential magnetic field; this is displayed as the Y direction. As
with the Case 1 ring magnet, the locations of the magnetic peaks
of each of the two channels are very consistent relative to the
other channel. There is very little variation with air gap. Figure
11 illustrates this more clearly by showing only the results for the
minimal and maximal air gaps, 1.5 and 5.0 mm, respectively.
1.5
50
-50 0
50
100
150
200
250
300
350
7.0
1.5
7.0
-150
-250
-350
-450
Magnet Rotation (degrees)
Figure 11: Radial / Tangential B-Field Diametral
Ring Magnet vs. Air Gap
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
3
Figure 12 and Figure 13 show the magnetic switching behavior
of the two sensor outputs with the single pole-pair ring magnet.
Given the normal variation in the magnetic switchpoints of the
A1262 and a large variation in air gap, the phase relationship of
OUTA and OUTB remain very stable.
6
48.72
3.0
50.27
48.65
OUTB (V) @ 3.5 mm
3.5
50.07
48.65
OUTB (V) @ 4.0 mm
4.0
50.27
48.32
4.5
50.07
48.52
5.0
50.27
48.32
Output Voltage (V)
OUTB (V) @ 6.5 mm
-1
100
150
200
250
300
350
OUTB (V) @ 7.0 mm
Figure 12: A1262 Multipole Ring Magnet
OUTA (radial) vs. Air Gap
6
OUTB (V) @ 1.5 mm
Output Voltage (V)
OUTB (V) @ 2.5 mm
OUTB (V) @ 3.0 mm
3
OUTB (V) @ 3.5 mm
OUTB (V) @ 4.0 mm
OUTB (V) @ 4.5 mm
2
OUTB (V) @ 5.0 mm
OUTB (V) @ 5.5 mm
1
OUTB (V) @ 6.0 mm
OUTB (V) @ 6.5 mm
-1
Table 3: Duty Cycle Comparison
Ring Magnet
Case 2
OUTB (V) @ 2.0 mm
4
0
Consistent Duty-Cycle
The data in Table 3 illustrates how little influence air gap and ring
magnet pole-pitch have on the OUTA and OUTB signals.
Magnet Rotation (degrees)
5
48.86
OUTB (V) @ 2.5 mm
OUTB (V) @ 6.0 mm
50
50.34
48.72
OUTB (V) @ 5.5 mm
0
1.5
50.34
OUTB (V) @ 5.0 mm
0
OUTB Duty Cycle
(%)
50.34
OUTB (V) @ 4.5 mm
1
OUTA Duty Cycle
(%)
2.5
OUTB (V) @ 3.0 mm
2
Air Gap
(mm)
2.0
OUTB (V) @ 1.5 mm
3
Table 2: Duty Cycle vs. Air Gap for Case 2
OUTB (V) @ 2.0 mm
5
4
As shown in Table 2 below, both outputs also maintain near-ideal
(≈50%) duty cycle independent of air gap.
0
50
100
150
200
250
300
350
OUTB (V) @ 7.0 mm
Case 1
Air Gap
OUTA
Duty Cycle
(%)
OUTB
Duty Cycle
(%)
Min.
50.34
48.86
Max.
50.27
48.32
Min.
49.71
49.83
Max.
49.65
49.71
49.99
49.18
Average Duty Cycle
The duty cycle of each signal varies by only a small amount over
a 4:1 variation in pole-pitch and a >3:1 variation in air gap. The
user is free to choose the ring magnet size based purely on mechanical considerations; the pole-pitch may be almost arbitrarily chosen
to yield the desired number of cycles per revolution.
Magnet Rotation (degrees)
Figure 13: A1262 Multipole Ring Magnet
OUTB (tangential) vs. Air Gap
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
4
Phase Separation
The phase separation between the OUTA and OUTB signals
will vary somewhat with changes in the air gap. This behavior
is independent of the ring magnet configuration and is shown in
Figure 14 and Figure 15, corresponding to the Case 1 and Case 2
magnets, respectively.
The phase shifts of approximately 4.0° (26.5° – 22.5°) for the
multipole Case 1 ring magnet and approximately 12° (102° – 90°)
for the single-pole Case 2 ring magnet are caused by the interaction of the internal Hall element spacing, air gap, and magnet
dimensions and material.
The magnitude of the total phase shift (Figure 14 and Figure 15)
depends on the number of magnetic poles. The larger the number
of magnetic poles (smaller pole-pitch) for a given size of ring
magnet, the less influence air gap will have on the signal phase.
The phase separation of the OUTA and OUTB signals is generally slightly larger than 90°, because the vertical and planar Hall
elements inside the A1262 are not located in exactly the same
position on the silicon die.
This signal phase versus air gap relationship means that phase
can be used as an indication of system air gap. It could be used,
for example, to confirm that the air gap is within the system’s
design limits.
This “air-gap signal” can be derived by measuring the time
between the falling edges of OUTA and OUTB at a constant
speed of magnet rotation. The measured time indicates the air gap
distance and will increase if the air gap becomes larger.
32.00
118
31.00
116
30.00
Phase Shift (degrees)
Phase Shift (degrees)
114
112
110
108
106
104
29.00
28.00
27.00
26.00
25.00
24.00
102
23.00
diametral magnet
100
0.0
1.0
2.0
3.0
4.0
5.0
6.0
7.0
8.0
Air Gap (mm)
Figure 14: Phase Shift Difference Between Two Falling
Edges at the Multipole Ring Magnet Over Air Gap
22.00
multipole magnet
0.0
1.0
2.0
3.0
4.0
5.0
6.0
7.0
8.0
Air Gap (mm)
Figure 15: Phase Shift Difference Between Two Falling
Edges at the Diametral Magnet Over Air Gap
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
5
Observations/Conclusions
Test Circuit
As shown above, the A1262’s unique configuration of conventional planar and vertical Hall sensors has the following benefits:
The application circuit used for the case studies above is the typical application circuit shown in the A1262 datasheet and reproduced in Figure 16 below.
VS
• The A1262 is capable of generating quadrature output signals
(≈90° phase difference) where the phase separation is largely
independent of the air gap, ring magnet size, or pole spacing.
• The system designer has an unprecedented level of flexibility
in selecting the ring magnet and its position and orientation
relative to the sensor.
• The user is very likely to be able to choose a standard, off-theshelf ring magnet, selected to provide the desired number of
pulses/revolution.
• The limiting factor at larger air gaps is likely to be the
tangential field strength (X or Y in the cases shown here), as
the tangential field strength is generally lower than the radial
field strength.
• The phase relationship of the OUTA and OUTB signals can be
used as an indication of air gap.
VDD
CBYP
0.1 µF
A1262
RLOAD
RLOAD
OUTPUTA
OUTPUTB
Sensor
Outputs
GND
GND
Figure 16: Typical Application Circuit
Ring Magnet Source
The ring magnets used in Case 1 and Case 2 are available from
the following vendor, a distributor of Allegro and Sanken Semiconductors:
Matronic GmbH & Co.
Electronic Vertriebs KG
Vor dem Kreuzberg 29
D-72070 Tübingen, GERMANY
Phone: +49 7071 94440
FAX +49 7071 45943
Web: www.matronic.com
Email: [email protected]
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
6
Revision History
Revision
Revision Date
–
March 16, 2016
Description of Revision
Initial release
Copyright ©2016, Allegro MicroSystems, LLC
The information contained in this document does not constitute any representation, warranty, assurance, guaranty, or inducement by Allegro to the
customer with respect to the subject matter of this document. The information being provided does not guarantee that a process based on this information will be reliable, or that Allegro has explored all of the possible failure modes. It is the customer’s responsibility to do sufficient qualification
testing of the final product to insure that it is reliable and meets all design requirements.
For the latest version of this document, visit our website:
www.allegromicro.com
Allegro MicroSystems, LLC
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
7