Operation Manual

Eval Kit Manual
DN[Document ID]
AS5601
Adapter Board
AS5601-SO_EK_AB
ams Eval Kit Manual, Confidential
[v1-00] 2014-Jul-31
Page 1
Document Feedback
AS5601 Adapter Board
Table of Contents
1
Introduction .......................................................................................................................... 3
2
Kit Content ........................................................................................................................... 3
3
Getting Started ..................................................................................................................... 3
3.1
Adapter Board Pin-Out ......................................................................................................... 3
4
Adapter Board Description ................................................................................................... 4
5
Mechanical Setup................................................................................................................. 4
5.1
Electrical Setup .................................................................................................................... 5
5.1.1
I2C Mode .............................................................................................................................. 5
5.1.2
Incremental Mode ................................................................................................................ 6
6
AS5601 Configuration .......................................................................................................... 6
6.1
Configuring the grid offset .................................................................................................... 6
6.2
Configuring the grid push button threshold .......................................................................... 7
6.3
Permanently programming a configuration .......................................................................... 7
6.3.1
Low Power Mode ................................................................................................................. 7
6.3.2
Hysteresis ............................................................................................................................ 8
6.3.3
Slow Filter ............................................................................................................................ 8
6.3.4
Fast Filter ............................................................................................................................. 8
6.3.5
Watchdog ............................................................................................................................. 8
7
Board Schematics, Layout and BOM ................................................................................... 8
7.1
Schematics ........................................................................................................................... 8
7.2
Layout and Board Dimensions ............................................................................................. 9
7.3
Bill of Materials ..................................................................................................................... 9
8
Evaluation tools .................................................................................................................. 10
9
Ordering & Contact Information ......................................................................................... 11
10
Copyrights & Disclaimer ..................................................................................................... 12
11
Revision Information .......................................................................................................... 13
ams Eval Kit Manual, Confidential
[v1-00] 2014-Jul-31
Page 2
Document Feedback
AS5601 Adapter Board
1
Introduction
The adapter board allows an easy and fast evaluation of the AS5601 rotary magnetic position
sensor in the lab or together with an existing system. This small factor board is fully assembled with
AS5601 position sensor and its necessary external components. All relevant signals are available
on a dual-row 2.54mm 4-pin header footprint and can be easily wired to an existing application.
The AS5601 is an easy-to-program magnetic rotary position sensor with incremental quadrature
(A/B) and 12-bit digital outputs. Additionally, the PUSH output indicates fast airgap changes
between the AS5601 and magnet which can be used to implement a contactless pushbutton
function in which the knob can be pressed to move the magnet toward the AS5601.
The I²C interface is used for configuration and user programming of non-volatile parameters in the
AS5601.
2
Kit Content
This kit contains following material listed in Table 1. Additional material can be found on our
webpage.
Table 1:
Kit Content
No.
Item
1
AS5601-SO_EK_AB
2
AS5000-MD6H-1
3
Description
Info
Reference Magnet
Find the datasheet online at
http://ams.com/eng/AS5000-MD6H-1
Getting Started
The AS5601 adapter board is ideal for rapid setup of a contactless encoder knob. Additionally to the
adapter board, a sensor magnet in a mechanical setup is required. A reference magnet comes with
the kit.
3.1
Adapter Board Pin-Out
The pin-out of the adapter board is shown in Table 2. For additional information on the AS5601 pins
refer to the product datasheet.
Table 2:
Adapter Board Pin-Out
Header
Pin
Symbol
Description
Info
J3
1
SCL
I2C Clock
Use R3 if pull-up is required
J3
2
SDA
I2C Data
Use R4 if pull-up is required
J3
3
GND
Ground
J3
4
VDD
Positive Power
Supply
J2
1
VRG
LDO Pin in 5V
ams Eval Kit Manual, Confidential
[v1-00] 2014-Jul-31
Leave open in 5V mode. Pull to VDD using
Page 3
Document Feedback
AS5601 Adapter Board
Header
Pin
Symbol
Description
Mode
Info
J1 in 3.3V Mode
J2
2
B
Output Pin
Quadrature incremental signal B
J2
3
A
Output Pin
Quadrature incremental signal A
J2
4
PUSH
Output Pin
Contactless pushbutton function output
4
Adapter Board Description
The AS5601 is connected over the dual-row 2.54mm 4-pin header footprint. Connect the desired
pins of the AS5601 using the headers and resistors.
Figure 1:
Adapterboard Description
Short J1 to
operate in
3.3V mode
I2C pull-up
resistors
5
Mechanical Setup
To set up a contactless potentiometer a magnet holder and a magnet are needed to be used with
the AS5601 position sensor on a PCB. The configuration is shown in Figure 2.
ams Eval Kit Manual, Confidential
[v1-00] 2014-Jul-31
Page 4
Document Feedback
AS5601 Adapter Board
Figure 2:
Mechanical Configuration
Magnet Holder (non-magnetic)
airgap
0.5 - 2.5mm
Sensor Magnet (d6x2,5)
AS5601
PCB
The magnet should be aligned by reading the output of the AGC register of the AS5601. For optimal
alignment, the AGC value is in the middle of the AGC range.
Note: If the magnetic field seen by the AS5601 is below 8mT, the output is disconnected and
permanent angle programming is not possible. The AB output will not show any change until the
magnet is present again.
5.1
Electrical Setup
The Adapterboard can be used in 5V or in 3.3V mode in the configurations shown below. Short J1
to operate in 3.3V mode.
5.1.1 I2C Mode
Using the I2C Interface, all functions of the AS5601 can be configured and permanently
programmed. Additionally the output and a raw angle (unmodified value) can be read from the
output registers.
Figure 3:
Using the board in I2C mode
+
-
µC
SDA
SCL
ams Eval Kit Manual, Confidential
[v1-00] 2014-Jul-31
Page 5
Document Feedback
AS5601 Adapter Board
5.1.2 Incremental Mode
The incremental mode is used to set up a contactless encoder knob. In addition to the incremental
output, a push button output is available to integrate a contactless push-button.
Figure 4:
Using the board in incremental mode
Push
+
µC
-
A
B
Note: The grid and grid offset must be configured.
Note: To use the push-button functionality
6
AS5601 Configuration
All options to configure the AS5601 are shown below. To use the AS5601 in incremental mode for a
contactless rotary knob, the electrical signal must be aligned with the mechanical grid. As well the
push-button threshold must be configured for the mechanical setup.
6.1
Configuring the grid offset
An ideal mechanical grid and the electrical output are shown below in Figure 5 for a 3-bit encoder.
The transition of electrical signal should ideally be in the middle between two mechanical positions.
ams Eval Kit Manual, Confidential
[v1-00] 2014-Jul-31
Page 6
Document Feedback
AS5601 Adapter Board
Figure 5:
Aligning electrical and mechanical grid
Mechanical
position 1
Mechanical
position 8
Electrical
pos ition 1
Mechanical
position 2
Electrical
pos ition 2
Electrical
pos ition 8
Electrical
pos ition 3
Mechanical
position 7
Mechanical
position 3
Electrical
pos ition 7
Mechanical
position 6
Electrical
pos ition 4
Electrical
pos ition 6
Electrical
pos ition 5
Mechanical
position 4
Mechanical
position 5
If the electrical are mechanical grid are not aligned due to production, it can easily be configured
using a grid offset. The grid offset is calculated as shown below:
πΊπ‘Ÿπ‘–π‘‘ 𝑂𝑓𝑓𝑠𝑒𝑑 π‘†π‘’π‘”π‘šπ‘’π‘›π‘‘ = 𝑀𝑂𝐷 (πΆπ‘’π‘Ÿπ‘Ÿπ‘’π‘›π‘‘π΄π‘›π‘”π‘™π‘’;
360°
360°
)βˆ’
2𝑛
2 βˆ— 2𝑛
𝑛 … π‘…π‘’π‘ π‘œπ‘™π‘’π‘‘π‘–π‘œπ‘› [𝑏𝑖𝑑]
πΆπ‘’π‘Ÿπ‘Ÿπ‘’π‘›π‘‘π΄π‘›π‘”π‘™π‘’ … πΆπ‘’π‘Ÿπ‘Ÿπ‘’π‘›π‘‘ 𝑂𝑒𝑑𝑝𝑒𝑑 𝐴𝑛𝑔𝑙𝑒 [°]
Note: To configure the grid offset, the offset value in degrees must be converted and written into
the ZPOS register.
6.2
Configuring the grid push button threshold
The push-button threshold must be configured for optimal output. Therefor the threshold must be
determined and written into the PUSHTHR register.
The swing of the pushbutton function can be found by subtracting the AGC value of the pressed
button from the AGC value of the released button. The threshold value for the contactless
pushbutton should be half of the swing.
6.3
Permanently programming a configuration
A configuration is written using the I2C interface. The Burn_Setting command (Write 0x40 into
register 0xFF) can be used to permanently program a configuration.
6.3.1 Low Power Mode
Three low power modes are available to reduce the power consumption down to 1,5mA max.
ams Eval Kit Manual, Confidential
[v1-00] 2014-Jul-31
Page 7
Document Feedback
AS5601 Adapter Board
6.3.2 Hysteresis
A 1 to 3 LSB hysteresis of the 12-bit resolution can be enabled.
6.3.3 Slow Filter
The slow filter allows improving the output noise. The default setting for the Slow Filter is 16x and
can be reduced for faster response.
6.3.4 Fast Filter
The fast filter is active by selecting a Fast Filter Threshold. If the output value remains below the
threshold, the output noise is defined by the slow filter setting. When exceeding the threshold, the
output noise is defined from the fast filter for fast output response. The output noise is again defined
by the slow filter as soon as the output stays in the threshold again.
6.3.5 Watchdog
If the watchdog is active, the AS5601 automatically enters Low Power Mode 3 after one minute if
the output value stays within a threshold of 4 LSB.
7
Board Schematics, Layout and BOM
2
3
4
The schematic, layout and BOM of the adapterboard are shown below for reference.
7.1
Schematics
A
The schematic of the board is shown below in Figure 6.
Figure 6:
Adapterboard Schematic
VDD
VDD
U1
AS5601
J2
A1
1
2
3
4
VREG
A2
B
A
A3
PUSH
Stiftleiste4_THMD
not populated
A4
VDD
A
VREG I2CLK
PUSH
GND
I2CD
B
B1
A
B2
1
2
3
4
SCL
SDA
B3
B4
B
y
V
B
Stiftleiste4_THMD
AS5601
GND
J3
not populated
GND
C
Note3:
Note2: Optional pull-ups
Adapterboard can be used with AS5XXX-UCB-1.0
3.3V
(Use 4pin I2C header in 3.3V mode)
VREG
VDD
Note4:
VDD
AS5601 I2C Address is 0x36h
R3
NC
R4
NC
SDA
C2
C0805
10uF
1833804
Farnell
SCL
ulated
ams Eval Kit Manual, Confidential
[v1-00] 2014-Jul-31
Size
GND
A4
Project Title
3
D
Revision
1
AS5601-AB-1.4
Date 29.01.2014
Originator RPH
2
Page 8
Document Feedback
Sheet 3
4
of
3
B
Stiftleiste4_THMD
not populated
VDD
VDD
A4
GND
B
B4
B
Stiftleiste4_THMD
AS5601
not populated
U1
J2
AS5601
A1
AS5601 Adapter VDD
Board A
1
2
3
4
B1
A
GND
VREG
A2
B
A
VREG I2CLK
A3
PUSH
Stiftleiste4_THMD
not populated
PUSH
A4
I2CD
GND
B
B2
B3
B4
B
B
Stiftleiste4_THMD
AS5601
not populated
GND
C
GND
J3
1
2
3
4
SCL
SDA
GND
Note1: Supply
J1=OPEN: 5V
Note3:
Note2: Optional pull-ups
Adapterboard can be used with
J1=CLOSED: 3.3V
VDD
VREG
VDD
(Use 4pin I2C header in 3.3V m
AS5601 I2C Address is 0x36h
R3
NC
J1
Note2: Optional pull-ups
Note4:
VDD
R4
NC
D
VDD
VDD
GND
SDA
Adapterboard can be used with AS5XXX-UCB-1.0
(Use 4pin I2C header in 3.3V mode)
Note4:
Size
AS5601 I2C Address is 0x36h
GND
Project Title
AS5601-AB-1.4
A4
R4
NC
Date 29.01.2014
Originator RPH
SDA
SCL
R3
NC
C2
C0805
10uF
1833804
Farnell
SCL
not populated
C1
C0603
100nF
1740614
Farnell
C
Note3:
1
2
3
D
7.2
Layout and Board Dimensions
Size
A4
The PCB layout is shown below in Figure 7.
Figure 7:
Adapterboard layout
2
7.3
Project Title
Revision
1
AS5601-AB-1.4
Date 29.01.2014
Originator RPH
3
Sheet 3
of
3
4
Bill of Materials
The BOM of the pcb is below in Table 3.
Table 3:
Bill of Materials
Designator
Part
J1
Jumper
J2
Header
J3
Header
C1
C0603
ams Eval Kit Manual, Confidential
[v1-00] 2014-Jul-31
Footprint
Manufacturer
Comment
0603
Page 9
Document Feedback
AS5601 Adapter Board
Designator
Part
Footprint
C2
C0603
0603
R3
Resistor / not populated
R0603
R4
Resistor / not populated
R0603
U1
AS5601
SOIC-8
8
Manufacturer
Comment
amsAG
Smart Encoder IC
Evaluation tools
To configure the AS5601, no dedicated programmer is needed. For fast setup time the USB I&P
Box can be used to configure the AS5601 over I 2C. The USB I&P Box can be ordered from the ams
webpage.
Additionally a magnet holder kit is available with consist of a distance block and a Knob which holds
the sensor magnet.
Please find the ordering information below in Table 4.
Table 4:
Ordering Information for Evaluation Tools
Ordering Code
Description
USB I&P Box
To configure the AS5601
RMH05-DK-XX-1.0
Rotary Magnet Holder for
adapterboard
ams Eval Kit Manual, Confidential
[v1-00] 2014-Jul-31
Image
Page 10
Document Feedback
AS5601 Adapter Board
9
Ordering & Contact Information
Ordering Code
Description
AS5601-SO_EK_AB
AS5601 Eval Kit Adapter Board
Buy our products or get free samples online at:
www.ams.com/ICdirect
Technical Support is available at:
www.ams.com/Technical-Support
Provide feedback about this document at:
www.ams.com/Document-Feedback
For further information and requests, e-mail us at:
[email protected]
For sales offices, distributors and representatives, please visit:
www.ams.com/contact
Headquarters
ams AG
Tobelbaderstrasse 30
8141 Unterpremstaetten
Austria, Europe
Tel: +43 (0) 3136 500 0
Website: www.ams.com
ams Eval Kit Manual, Confidential
[v1-00] 2014-Jul-31
Page 11
Document Feedback
AS5601 Adapter Board
10 Copyrights & Disclaimer
Copyright ams AG, Tobelbader Strasse 30, 8141 Unterpremstaetten, Austria-Europe. Trademarks
Registered. All rights reserved. The material herein may not be reproduced, adapted, merged,
translated, stored, or used without the prior written consent of the copyright owner.
Demo Kits, Evaluation Kits and Reference Designs are provided to recipient on an β€œas is” basis for
demonstration and evaluation purposes only and are not considered to be finished end-products
intended and fit for general consumer use, commercial applications and applications with special
requirements such as but not limited to medical equipment or automotive applications. Demo Kits,
Evaluation Kits and Reference Designs have not been tested for compliance with electromagnetic
compatibility (EMC) standards and directives, unless otherwise specified. Demo Kits, Evaluation
Kits and Reference Designs shall be used by qualified personnel only.
ams AG reserves the right to change functionality and price of Demo Kits, Evaluation Kits and
Reference Designs at any time and without notice.
Any express or implied warranties, including, but not limited to the implied warranties of
merchantability and fitness for a particular purpose are disclaimed. Any claims and demands and
any direct, indirect, incidental, special, exemplary or consequential damages arising from the
inadequacy of the provided Demo Kits, Evaluation Kits and Reference Designs or incurred losses of
any kind (e.g. loss of use, data or profits or business interruption however caused) as a
consequence of their use are excluded.
ams AG shall not be liable to recipient or any third party for any damages, including but not limited
to personal injury, property damage, loss of profits, loss of use, interruption of business or indirect,
special, incidental or consequential damages, of any kind, in connection with or arising out of the
furnishing, performance or use of the technical data herein. No obligation or liability to recipient or
any third party shall arise or flow out of ams AG rendering of technical or other services.
ams Eval Kit Manual, Confidential
[v1-00] 2014-Jul-31
Page 12
Document Feedback
AS5601 Adapter Board
11
Revision Information
Initial version 1-00
Changes from 0-01 (2014-Jun-26) to current revision 1-00 (2014-Jul-31)
Page
Initial revision
Note: Page numbers for the previous version may differ from page numbers in the current revision.
ams Eval Kit Manual, Confidential
[v1-00] 2014-Jul-31
Page 13
Document Feedback