User Manual – AS5x61 / AS5x62 Programming
AS5x61 /AS5x62 Programming
Example
www.ams.com
Revision 1.0 / 2012/10/31
User Manual – AS5x61/AS5x62 Programming
Table of Contents
1.
2.
3.
4.
General Description ............................................................................................................... 2
Requirements – Applies to all output types ........................................................................... 3
AS5x62 Programming ............................................................................................................ 3
AS5x61 Programming ............................................................................................................ 8
Copyright ..................................................................................................................................... 13
Disclaimer ................................................................................................................................... 13
www.ams.com
Revision 1.0 / 10/31/12
page 1/14
User Manual – AS5x61/AS5x62 Programming
1. General Description
This document describes the programming of the AS5x61 / AS5x62.
The AS5x61 / AS5x62 is a contactless magnetic angle position sensor for accurate angular
measurement over a full turn of 360°. A sub range can be programmed to achieve the best
resolution for the application. It is a system-on-chip, combining integrated Hall elements, analog
front end, digital signal processing and best in class automotive protection features in a single
device.
To measure the angle, only a simple two-pole magnet, rotating over the center of the chip, is
required. The magnet may be placed above or below the IC.
The absolute angle measurement provides instant indication of the magnet’s angular position
with a resolution of 0.022° = 16384 positions per revolution. According to this resolution the
adjustment of the application specific mechanical positions are possible. The angular output data
is available over a 12 bit ratiometric analog output.
The ASx61 / AS5x62 operates at a supply voltage of 5V and the supply and output pins are
protected against overvoltage up to +20V. In addition the supply pins are prote cted against
reverse polarity up to –20V.
The Demo software for programminf is available on the Webpage. www.ams.com
www.ams.com
Revision 1.0 / 10/31/12
page 2/14
User Manual – AS5x61/AS5x62 Programming
2. Requirements – Applies to all output types
The following table shows the requirements to program the AS5x61/AS5x62
Table 1:
Requirements
Pos
1
Item
UART Adapter Interface
Comment
Communication over 1 PIN is necessary.
UART Interface board available
2
3
4
RS232 Connection on PC
Application Software
Labview Drivers for the Application Software
Application Software: www.ams.com
3. AS5x62 Programming
1) Connect AS5x61/AS5x62 to UART Interface board or to communication equipment.
Use VCC, GND and OUT for the communication. If the ams UART Interface board is
used, please connect an external 5V Powersupply to the board.
2) Start AS5x61/AS5x62 Evaluation Software
www.ams.com
Revision 1.0 / 10/31/12
page 3/14
User Manual – AS5x61/AS5x62 Programming
Figure 1 AS5x6y GUI
3) Choose the right device AS5162(singleDIE) or AS5262(dualDIE)
4) Click
5) Enter beginning angle, T1. Two methods are possible:
a. Manually enter an initial position value into “T1 Cordic” field or “T1 (°),or
b. Move magnet assembly to initial position and click “Get”. This will take the value
related to the magnet current physical location as the Cordic register initial position.
6) Enter final angle, T2. Two methods are possible, except that this position is the final
position of the magnet’s rotation.
a. Manually enter a final position value into “T2 Cordic” field or “T2 (°)”, or
b. Move magnet assembly to final position and click “Get”. This will take the value
related to the magnet current physical location as the Cordic register initial position.
7)
8) Enter
This is V
OUT
at the initial magnet position.
9) Enter
This is V
OUT
at the final magnet position.
10) Enter
Clamping Level Low is the voltage at the lower guard band.
11) Enter
Clamping Level High is the voltage at the upper guard band.
www.ams.com
Revision 1.0 / 10/31/12
page 4/14