Precision Angle Sensor IC with Incremental and
Motor Commutation Outputs and On-Chip Linearization
AAS33001
8
Allegro MicroSystems, LLC
955 Perimeter Road
Manchester, NH 03103-3353 U.S.A.
www.allegromicro.com
FUNCTIONAL DESCRIPTION
Overview
The AAS33001 is a rotary position Hall-sensor-based device.
It incorporates one or two electrically independent Hall sensor
dies in the same surface-mount package to provide solid-state
consistency and reliability, and to support a wide variety of
automotive applications. Each Hall-sensor-based die 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
output of each die is used by the host microcontroller to provide a
single channel of target data.
This device is an advanced, programmable system-on-chip (SoC).
Each integrated circuit includes a circular vertical Hall (CVH)
analog front end, a high-speed sampling A-to-D converter, digital
filtering, digital signal processing, a digital control SPI interface,
motor commutation outputs (UVW), and encoder outputs (A, B, I).
Advanced offset, gain, and linearization adjustment options are
available in the AAS33001. These options can be configured in
onboard EEPROM, providing a wide range of sensing solutions
in the same device.
Angle Measurement
The AAS33001 can monitor the angular position of a rotating
magnet at speeds ranging from 0 to more than 15,000 rpm. The
AAS33001 has a typical output refresh rate of 1 µs.
Readout in SPI is possible with 12-bit resolution, with error
flags included in the same word, or in 15-bit resolution without
included error flags. Reading out the angle takes 16 SPI clock
cycles. See SPI Interface section for details on SPI usage.
PWM output is always resolved to a 12-bit angle resolution.
ABI/UVW resolution can be set to the level desired by the
customer.
The sensor readout is processed and linearized in various steps.
These are detailed in Figure 3.
System Level Timing
Internal registers are updated with a new angle value every tANG.
Due to signal path delay, the angle is tRESPONSE old at each update.
In other words, tRESPONSE is the delay from time of magnet sam-
pling until generation of a processed angle value. The streaming
protocols ABI and UVW, which require no external trigger, will
update every tANG (if an angle change has occurred). SPI, which
is asynchronously clocked, results in a varying latency depending
on sampling frequency and SCLK speed. The values which are
presented to the user are copied from the data path to the output
registers between 0 and 125 ns after the SPI falling chip select
edge. The first bit never contains data. If the SPI clock is 10 MHz,
the data will be clocked out after 1.6 µs. As the data were sampled
in at the first clock edge at an age of maximum tRESPONSE, their
age after the SPI transaction has finished will be between 1.6 and
1.6 + tRESPONSE µs.
Figure 2 shows the update rate and the signal delay of the differ-
ent angle output paths depending on the sensor settings.
The value of the “angle_zcd” register is updated approximately
every 32 µs. The value of the register “gauss” is update approxi-
mately every 128 µs.
Power-Up
Upon applying power to the AAS33001, the device automatically
runs through an initialization routine. The purpose of this
initialization is to ensure that the device comes up in the
same predictable operating condition every power cycle. This
initialization routine takes a finite amount of time to complete,
which is referred to as Power-On Time, tPO. Regardless of the
state of the device before a power cycle, the device will repower
with EEPROM shadow bits copied from the EEPROM anew,
and serial registers in their default states. For example, on every
power-up, the device will power with the “zero_offset” that was
stored in the EEPROM. The extended write access field “write_
adr” will be set back to its default value, zero.
PWM Output
The AAS33001 provides a pulse-width-modulated output with
duty cycle proportional to measured angle. The PWM duty cycle
is clamped at 5% and 95% DC for diagnostic purposes. 5% DC
corresponds to 0 degrees of angle; 95% DC corresponds to 360°
of angle. The 0% and 100% (pulled low and pulled high) states
are reserved for error condition notifications. The rising edges of
the output are always at the same points in time, while the falling
edge moves from 5% to 95% over angles of 0 to 360 degrees.
In case of errors, the setting “peo” = 1 will make errors affect the
PWM pin. The setting “pes” = 0 will tristate the PWM pin, while
with setting “pes” = 1, the output frequency will be halved, and
the outputs will be fixed to the levels in Table 1.