Programmable Angle Sensor IC
with Analog and PWM Output
A1330
8
Allegro MicroSystems, LLC
955 Perimeter Road
Manchester, NH 03103-3353 U.S.A.
www.allegromicro.com
FUNCTIONAL DESCRIPTION
Operational Modes
The A1330 is a rotary position Hall-effect-based sensor IC. The
sensor IC measures the direction of the magnetic field vector
through 360° in the x-y plane (parallel to the branded face of the
device) and computes an angle measurement based on the actual
physical reading, as well as any internal parameters that have
been set by the user.
The device is a programmable system-on-chip (SoC). The
integrated circuit includes a Circular Vertical Hall (CVH) analog
front end, a high-speed sampling A-to-D converter, digital filter-
ing, digital signal processing, and a high-speed Digital-to-Analog
converter.
Internal averaging may be enabled to improve signal resolution.
Advanced offset and gain adjustment options are available in the
A1330. These options can be configured in the onboard EEPROM,
providing a wide range of sensing solutions in the same device.
Device performance can be optimized by enabling individual func-
tions or disabling them in EEPROM to minimize latency.
Angle Measurement
The A1330 can monitor the angular position of a rotating magnet
at speeds ranging from 0 to more than 7,000 rpm.
The raw angle data is received in a periodic stream, and several
samples may be accumulated and averaged, based on a user-
selected EEPROM field. This feature increases the effective resolu-
tion of the system. The amount of averaging is determined by the
user-programmable ANG_AVE field. The user can configure the
quantity of averaged samples by powers of two to determine the
refresh rate, the rate at which successive averaged angle values are
fed into the post-processing stages. The available rates are set as
follows:
ANG_AVE [2:0] Quantity of Samples Averaged Refresh Rate (µs)
000 1 25
001 2 50
010 4 100
011 8 200
100 16 400
101 32 800
110 64 1600
111 128 3200
Short Stroke
Short stroke (or fine angle scaling) allows for magnetic angle
rotations smaller than 360 degrees to be represented by full-scale
deflection. This feature is enabled in “Short Stroke” mode. In
this mode, the raw angle reading is scaled via a programmable
GAIN setting. Minimum and maximum angle thresholds may
be programmed to detect hardware malfunctions. When a raw
angle greater than the maximum angle threshold is detected, the
sensor output will tri-state, alerting the host microprocessor of an
unexpected condition. Programmable Clamp_High and Clamp_
Low settings allow the maximum or minimum output level to be
customizable.
Output Types
The A1330 is set at Allegro factory for either analog or PWM output.
ANALOG OUTPUT
The A1330LLETR-T and A1330LLETR-D-T feature an ana-
log output, proportional to a 12-bit digital angle value. Angles
0.0 through 359.9 degrees are mapped to voltages between the
default VCLAMPL and default VCLAMPH. The output voltage will
increase linearly, between the clamp settings when a linearly
increasing magnetic angle is detected.
Voltage values beyond the upper or lower clamps represent
diagnostic regions. Output voltages within these two regions will
only occur if the device detects an abnormal operating condition
or internal error.
5
4.5
4
3.5
3
2.5
2
1.5
1
0.5
00 72 144 216 288 360 432 504 576 648 720
VOUT
Angles (degrees)
Lower Diagnostic Region
Clamp Low
Linear Range
Clamp High
Upper Diagnostic Region
Figure 5: Output Value for a 0-720° Magnetic Input Signal