2D Hall-Effect Speed and Direction Sensor ICs
APS12625 and
APS12626
29
Allegro MicroSystems, LLC
955 Perimeter Road
Manchester, NH 03103-3353 U.S.A.
www.allegromicro.com
FUNCTIONAL DESCRIPTION
2-Dimensional Sensing
With dual-planar Hall sensors, the ring magnet must be properly
designed and optimized for the physical Hall element spacing
(distance) to have the two channels in quadrature or 90 degrees
out of phase. With the APS12625/6, which uses one planar and
one vertical Hall-effect sensing element, or two vertical Hall-
effect sensing elements perpendicular to one another, no target
optimization is required. When the face of the IC is facing the
ring magnet, the planar Hall senses the magnet poles and the
vertical Hall senses the transition between poles; therefore, the
two channels will inherently be in quadrature, regardless of the
ring-magnet pole spacing. The same is true in the dual-vertical
Hall configuration, with the vertical Hall element facing the mag-
net poles sensing the magnet IC poles and the other vertical Hall
element sensing the transitions between poles. The quadrature
relationship allows for the direction signal to be appropriately
updated.
Outputs
SPEED AND DIRECTION
Internal logic circuitry of the APS12625 provides outputs repre-
senting the speed and direction of the magnetic field across the
package.
The Speed (SPD) output is the XOR of the output of the two
active Hall elements, providing two times the resolution of a
single channel, while the direction (DIR) output provides the
direction of the target. The direction output, DIR, is always
updated before SPD, according to tdir-to-speed. It is updated on
every transition of either Hall sensor, allowing the use of up-
down counters without loss of pulses.
QUADRATURE
The APS12626 offers individual outputs of the two active Hall
sensors, referred to here as Channel A and Channel B. The Output
Option Table indicates which Hall sensing element corresponds
to “Channel A” and “Channel B” in each configuration.
The Channel A and Channel B outputs of the APS12626 switch
low (turn on) when the corresponding Hall element is presented
with a perpendicular south magnetic field of sufficient strength
(>BOP). The device outputs switch high (turn off) when the
strength of a perpendicular north magnetic field exceeds the
release point (BRP). The difference in the magnetic operate and
release points is the hysteresis (BHYS) of the device. See Figure 1.
Removal of the magnetic field will leave the device output
latched on if the last crossed switchpoint is BOP, or latched off if
the last crossed switchpoint is BRP.
V+ VOUT(OFF)
Switch to Low
Switch to High
VOUT(ON)
V
OUTPUT
B- 0B+
B
RP
BOP
BHYS
Figure 1: Switching Behavior of Latches
On the horizontal axis, the B+ direction indicates increasing
south polarity magnetic field strength, and the B– direction
indicates decreasing south polarity field strength (including
the case of increasing north polarity)
This built-in hysteresis allows clean switching of the output even
in the presence of external mechanical vibration and electrical
noise. The outputs will power-on in the high output state, even
when powering-on in the hysteresis region, between BOP and BRP
for both versions of the device, with and without the power-on
state setting feature.