Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces
A1335
7
Allegro MicroSystems, LLC
955 Perimeter Road
Manchester, NH 03103-3353 U.S.A.
www.allegromicro.com
FUNCTIONAL DESCRIPTION
The A1335 incorporates a Hall sensor IC that measures the direc-
tion of the magnetic field vector through 360° in the x-y plane
(parallel to the branded face of the device). The A1335 computes
the angle based on the actual physical reading, as well as any
internal parameters that have been set by the user. The end user
can configure the output dynamic range, output scaling, and
filtering.
This device is an advanced, programmable internal microproces-
sor-driven system-on-chip (SoC). It includes a Circular Vertical
Hall (CVH) analog front end, a high-speed sampling A-to-D con-
verter, digital filtering, a 32-bit custom microprocessor, a digital
control interface capable of supporting I2C, SPI and SENT, and
digital output of processed angle data.
Advanced linearization, offset, and gain adjustment options
are available in the A1335. These options can be configured in
onboard EEPROM providing a wide range of sensing solutions
in the same device. Device performance can be optimized by
enabling individual functions or disabling them in EEPROM to
minimize latency.
Operation
The device is designed to acquire angular position data by sam-
pling a rotating bipolar magnetic target using a multi-segmented
circular vertical Hall-effect (CVH) detector. The analog output
is processed, and then digitized, and compensated before being
loaded into the output register. Refer to Figure 1 for a depiction
of the signal process flow described here.
• Analog Front End. In this stage, the applied magnetic signal is
detected and digitized for more advanced processing.
A1 CVH Element. The CVH is the actual magnetic sensing ele-
ment that measures the direction of the applied magnetic vector.
A2 Analog Signal Conditioning. The signal acquired by the
CVH is sampled.
A3 A-to-D Converter. The analog signal is digitized and handed
off to the Digital Front End stage.
• Digital Front End. In this preprocessing stage, the digitized
signal is conditioned for analysis.
D1 Digital Signal Conditioning. The digitized signal is deci-
mated and band pass filtered.
D2 Raw Angle Computation. For each sample, the raw angle
value is calculated.
• Microprocessor. The preprocess signal is subjected to various
user-selected computations. The type and selection of computa-
tions used involves a trade-off between precision and increased
response time in producing the final output.
P1 Angle Averaging. The raw angle data is received in a periodic
stream, and several samples are accumulated and averaged, based
on user-selected output rate. This feature increases the effective
resolution of the system. The amount of averaging is determined
by the user-programmable ORATE (output rate) 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:
Table 1: Refresh Rates of Averaged Samples
ORATE
[2:0]
Quantity of Samples
Averaged
Refresh Rate
(µs)
000 1 32
001 2 64
010 4 128
011 8 256
100 16 512
101 32 1024
110 64 2048
111 128 4096
P1a IIR Filter (Optional). The optional IIR filter can provide
more advanced multi-order filtering of the input signal. Filter
coefficients can be user-programmed, and the FI bit can be pro-
grammed by the user to enable or disable this feature.
P2 Angle Compensation. The A1335 is capable of compensat-
ing for drift in angle readings that result from changes in the
device temperature through the operating ambient temperature
range. The device comes from the factory pre-programmed with
coefficient settings to allow compensation of linear shifts of angle
with temperature.
P2a Prelinearization Rotation (Optional, but required if lin-
earization used). The linearization algorithms require input func-
tions that are both continuous and monotonically increasing. The
LR bit sets which relative direction of target rotation results in an
increasing angle value. The bit must be set such that the input to
the linearization algorithm is increasing.
Overview