
5
ATS650LSH-DS Rev. 0
Worcester, Massachusetts 01615-0036 (508) 853-5000
115 Northeast Cutoff, Box 15036
www.allegromicro.com
Allegro MicroSystems, Inc.
Two-Wire Direction Detection Gear Tooth Sensor with Diagnostic Output
ATS650LSH
Applications Information
Data Protocol Description
As the target passes the branded face of the sensor, each gear
tooth edge of the target generates a pulse from the sensor. The
combination of pulses is used to provide data. Examples are
shown in figure 2, on the next page.
Target rotational speed is indicated by the pulse rate (the sum of
the pulse width and the following LD). Direction is indicated by
the width of the pulse: a pulse of 180 s indicates right-to-left
rotation, and a pulse width of 45 or 90 s indicates left-to-right
rotation, as shown in figure 1.
The two pulse widths of the left-to-right rotation signal allow it
to also convey binary diagnostic information. The 45 s pulse
indicates not only left-to-right rotation, but also a logic zero data
bit. The 90 s pulse indicates a logic one data bit.
Decoding Diagnostic Data Transmissions
The protocol provides diagnostic information in the form of
3-bit data words. Each data sequence consists of a Start Data
Sequence word and two data words. To distinguish the data
words from the Start Data Sequence word, the third bit of the
data words acts as a delimiter, and is always 0 (logic low).
Because the delimiter occupies one bit, only four possible states
can be indicated by each word. The code sequence and meanings
of the diagnostic signals are shown in the table below.
Rotation Speed Considerations
As the speed of the target increases, the rate of pulse generation
increases as well, and the gap between the data pulses decreases.
The left-to-right direction can support higher rotational speeds
because of the shorter pulse widths it generates. At very high
rotational speeds, when the pulse rate exceeds the Diagnostic
Data Drop-Out Frequency, FDO, the sensor transmits only the
shortest pulse, 45 s. This allows the sensor to provide speed
and directional data at very high speeds. Because the 90 s pulse
width is not used, however, diagnostic data is not available. The
right-to-left rotational direction is indicated by the longest of
the three pulse widths, and consequently, the gaps between the
pulses begin to collapse at a lower speed.
LD
180
s, Right-to-Left
45
s, Left-to-Right / Binary 0
90
s, Left-to-Right / Binary 1
Figure 1. Data encoding pulse widths
Diagnostic Data Codes
Word
Initialization
Data 1
Data 2
Bit
123456789
Name
Description
Start Data Sequence
Initializes data stream
1
Air Gap Diagnostics
Maximum Air Gap Threshold
B < BLIMIT
000
Air Gap Warning Threshold
BLIMIT < B < BTHRESH
010
Installation Threshold
BTHRESH < B < BINSTALL
110
Air Gap OK
B > BINSTALL
100
Temperature Diagnostics
Temperature Low
TJ < TJ(LOW)
000
Temperature Midrange
TJ(LOW) < TJ < TJ(HIGH)
100
Temperature High
TJ > TJ(HIGH)
110
Preliminary - Subject to Change
Without Notice June 3, 2004