6-Bit Magnetic Angular Position Encoder With Serial Interface
6-Bit Magnetic Angular Position Encoder With Serial Interface
magnet orientation)
Synchronous Serial Interface (SSI)
Cascading is possible
Chip Select Input
Small 8-Pin SOIC (SMT) Package
Ordering Information
General Description
The device provides the absolute angular position of a simple magnet that is placed under or
above the devices surface. The device includes the Hall Sensor Array, signal conditioning and
post processing needed to generate a 6-bit binary code. The binary code can be easily
accessed by a Synchronous Serial Interface (SSI). The angle between the device and the
magnetic polarisation axis is exactly represented by one of 64 sectors (of 5.625 each) in the
full 360 range. Zero-Position Programming allows one time programming of a specific zero
position between the device and the magnet. The initial zero position is shown below.
0... initial
60
56
52
8
12
48
16
20
44
40
24
36
32
4mm
Rev. n/c
28
Page 1/11
Feb 2001
Pin Description
Pin #
Symbol
Type
Description
DATA
DO
VDD
AI
VSS
AI
PROG
DI
PROGramming Input.
This pin is used to program the zero position into a non-volatile
memory (OTP). The programmed value is subtracted from the
actual measured angle.
N.C.
AI
N.C.
AI
PD/CS
DI
CLK
DI
AI:
Analogue Input
OTP: One Time Programmable
Pin Configuration
DATA
Rev. n/c
CLK
VDD
PD/CS
VSS
N.C.
PROG
N.C.
Page 2/11
Feb 2001
Functional Description
Measurement Principle
A hall sensor array is used to convert the magnetic field distribution above the chip surface into
a binary code.
Measurement is enabled by PD/CS=0. After each measurement a 6-bit value is latched, with
the first falling edge of the CLK, into an output shift register.
The measured data is accessible via a Synchronous Serial Interface (SSI) by any Controller
System.
Ratiometric measurement techniques together with hall sensor conditioning circuitry allow
robust tolerance to magnet misalignment.
Permanent Encoder Magnet
A simple two-pole magnet, e.g. a standard cylindrical permanent magnet that is diametric
magnetised, is needed.
3mm
B/mT
30
S
-30
/
180
360
Rev. n/c
Page 3/11
Feb 2001
Measurement Modes
Two measurement modes can be selected by programming:
1) Single Read Out Mode (default)
2) Continuous Read Out Mode (OTP option)
Chip Select must be active low (PD/CS=0) to enable measurement and bring the output DATA
out of high impedance state.
After a minimum measurement period, the first falling edge of CLK latches the actual measured
angular value. The following rising edges shift the data bits out of the DATA pin, beginning with
the most significant bit. An NVR bit and even parity bit are added to the 6 bit angular value. The
NVR bit indicates a non-valid range given by bad magnet positioning.
Reset not necessary in
Continuos Mode
PD/CS
1
CLK
D5
DATA
D4
D0
NVR
D5
Parity
(MSB)
(MSB)
Latch
actual value
Next
value
In Single Read Out Mode the start of a new measurement has to be initiated with a short pulse
at PD/CS of at least 1 clockcycle. The following falling edge of CLK latches a new measured
value.
If the OTP option Continuous Read Out Mode is chosen, repeated angle measurement is
enabled by PD/CS=0. After each read out sequence the output shift register is automatically
refreshed. Fast transmission of the angular data can be performed without pulsing PD/CS.
Daisy Chain Configuration
In Singe Read Out mode, cascading allows Daisy Chain structures to minimise the
interconnection lines. Connecting DATA with PROG of the cascaded Sensor (see Fig. 2) allows
the read out of n sensors with the use of only three wires. The measurement data is shifted in
this configuration through the devices
After n x 9 clock cycles each value of n sensors is visible at pin DATA of the first sensor device.
A new measurement can be started with the falling edge of CLK after a power down pulse at
PD/CS.
n
C
AS5020
PROG DATA
CLK PD/CS
2
AS5020
PROG DATA
CLK PD/CS
1
AS5020
PROG DATA
CLK PD/CS
CLK
Power Down
Data In
Rev. n/c
Page 4/11
Feb 2001
PD/CS
1
CLK
D5
DATA
Latch
actual value
D4
D0 NVR Parity
D5
angle 1
D4 D0
angle 2
NVR Parity
D5
Next
value
angle n
An optional 9th pulse after the initialisation pulse, the dummy pulse, and the 6 data pulses can
be used to set Continuous Read Out Mode (see Fig.4).
PROG [V]
Initialisation
Optional
tProgEN
Enable
Programming
Bit 0
Bit 1
Bit 4
Bit 5
0
Dummy
Bit 2
Bit 3
Calibration Position
Latched
Cont.
Mode
Measurement
Enable
CS
Figure 4 Programming sequence
Note: Daisy Chain configuration is not possible in Continuous Read Out Mode.
Rev. n/c
Page 5/11
Feb 2001
Electrical Characteristics
Absolute Maximum Ratings*
Supply Voltage ............................................................................................................... -0.3 #9DD #:9
Input Current ................................................................................................................................ 25 mA
Digital Input Voltage ......................................................................................... -0.3V #9IN #9DD + 0.3V
Electrostatic Discharge............................................................................................................+/- 1000V
Storage Temperature Range............................................................................................ -50 to +125C
Total Power Dissipation ............................................................................................................. 150mW
*Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are
stress ratings only. Functional operation of the device at these or any other conditions beyond those indicated under
Operating Conditions is not implied. Exposure to absolute maximum rating conditions for extended periods may affect
device reliability.
Operating Conditions
Symbol
Parameter
Conditions
Min.
Typ.*
Max.
Unit
VDD
Supply Voltage
Measurement mode,
VSS = 0 V
TAMB
VIL
VSS
0.3 VDD
VIH
0.7 VDD
VDD
4.5
5.0
5.5
-40
25
+85
* Typical figures are at 25C and are for design aid only; not guaranteed and not subject to production testing.
Note: External Buffer-Capacitance is needed: e.g. 4.7uF between the Supply-Pins.
** Note: At pin PROG a higher voltage (up to 8.5V) as defined for the zero position programming routine.
Parameter
Conditions
Min.
Typ.
VPROG
Programming Voltage
tZAP
4.5
tProgEN
200
tLH
V/s
Max.
Units
8.5
5.5
DC Characteristics
Symbol
Parameter
Conditions
Min.
IDD
IDD0
PD/CS=1
IOL
VOL = 0.4V
Typ.
Max.
Units
15
24
mA
0.5
mA
mA
Note: IDD in Single Read Out Mode is the same during the measurement phase
Rev. n/c
Page 6/11
Feb 2001
Timing Characteristics
Symbol
Parameter
Conditions
Min.
Typ.
Max.
Unit
tSetUp
20
tReset
tmeas
20
tclkDATA
tlatch
TCLK
us
10
ns
Vdd
PD/CS
CLK
DATA
D5
tSetUp
D4
D3
D2
D1
D0
NVR
Parity
TCLK tclkDATA
Vdd
PD/CS
1
CLK
MSB
DATA
LSB
NVR
Parity
MSB
tSetUp
Figure 6 Timing Characteristics Continuous Read Out Mode
*Note:
Rev. n/c
Multiple latching of 1 measured value in Continuous Read Out Mode is possible due to internal anticollision of the Value Update.
Page 7/11
Feb 2001
Parameter
Conditions
Min.
Typ.
Max.
Units
Bmin-max
At package surface
30
40
50
mT
Off mag
Magnetic Offset
mT
DistFmag
Td
Input frequency
-0.035
%/K
mm
Both directions
30000
rpm
Output Characteristics
Symbol
Parameter
Conditions
Min.
Typ.
RES
Resolution
bits
LSB
Minimum step
5.625
deg
INL
Integral Non-Linearity
DNL
Differential Non-Linearity
See Note 1)
Max.
Units
0.5
LSB
0.5
LSB
TN
Transition-Noise
0.1
LSB
1) Linearity is defined in terms of end point fit and guaranteed by design, proved by simulated test signals
63
6 b it
2
1
0
5 .6 2 5
32
0
0
180
360
Rev. n/c
Page 8/11
Feb 2001
Magnet Placement
Symbol
Parameter
Conditions
Min.
RDisp
Displacement radius of
rotational axis with
reference to pins
ZDist
Distance between
permanent magnet and
package surface
Typ.
Max.
Units
250
mm
ZDist
RDisp
RDisp
Referenced to pins
Rev. n/c
Page 9/11
Feb 2001
Position Control
Isolated Switching
Rotation Detection
Angular Encoding
Advantages:
No switch contacts
Long mechanical life time
Digital output
Similar to Daisy Chain configuration
multiple devices can be connected over
a serial bus structure. In this
configuration the PROG pins can be
connected together and allows
simultaneous calibration.
Address
Decoder
Parallel
1 Programming
PD/CS PROG
AS5020
CLK DATA
PD/CS PROG
AS5020
CLK DATA
n
PD/CS PROG
AS5020
CLK DATA
CLK
Data IN
Rev. n/c
Page 10/11
Feb 2001
Headquarters:
Austria Mikro Systeme
International AG
Schlo Premsttten
A-8141 Unterpremsttten, Austria
Tel:
+43 (3136) 500-0
Fax:
+43 (3136) 525 01, 536 50
email: [email protected]
http:
www.amsint.com
Sales Offices:
Germany:
Tegernseer Landstrasse 85
D-81539 Mnchen
Tel.:
+49 (89) 69 36 43-0
Fax:
+49 (89) 69 36 43-66
Wilhelm-Busch-Platz 1
D-22850 Hamburg/Norderstedt
Tel.:
+49 (40) 522 80 13
Fax:
+49 (40) 522 80 99
Amselweg 8
D-72820 Sonnenbhl
Tel.:
+49 (7128) 92 71 28
Fax:
+49 (7128) 92 71 40
France:
124 Avenue de Paris
F-94300 Vincennes
Tel.:
+33 (1) 43 74 00 90
Fax:
+33 (1) 43 74 20 98
United Kingdom:
Coliseum Business Centre
Watchmoor Park
Camberley, Surrey
England GUIS 3YL
Tel.:
+44 (1276) 23 3 99
Fax:
+44 (1276) 29 3 53
USA:
Suite 300
4030 Wake Forest Road
Raleigh
NC27609
Tel.:
+1 (919) 349 7551
Fax:
+1 (509) 696 2713
Sweden:
Sjngsvgen 7
S-19272 Sollentuna
Stockholm, Sweden
Tel.:
+46 (8) 754 93 95
Fax:
+46 (8) 754 45
ltaly:
Via Leone Tolstoi, 64
I-20146 Milano
Tel.:
+39 02 423 67 13
Fax:
+39 02 422 90 889
Japan:
Shin Yokohama Daini Center Bldg. 10F
3-19-5, Shin Yokohama
Kohoku-ku, Yokohama 222-0033
Tel.:
+81 (45) 474 0962
Fax:
+81 (45) 472 9845
Devices sold by Austria Mikro Systeme are covered by the warranty and patent idemnification provisions appearing in its Term of Sale. Austria Mikro Systeme
makes no warranty, express, statutory, implied, or by description regarding the information set forth herein or regarding the freedom of the described devices from
patent infringement. Austria Mikro Systeme reserves the right to change specifications and prices at any time and without notice. Therefore, prior to designing this
product into a system, it is necessary to check with Austria Mikro Systeme for current information. This product is intended for use in normal commercial
applications. Applications requiring extended temperature range, unusual environmental requirements, or high reliability applications, such as military, medical lifesupport or life-sustaining equipment are specifically not recommended without additional processing by Austria Mikro Systeme for each application
Copyright 2001, Austria Mikro Systeme International AG, Schloss Premsttten, 8141 Unterpremsttten, Austria. 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. The information
furnished here by Austria Mikro Systeme is believed to be correct and accurate. However, Austria Mikro Systeme 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 Austria Mikro Systeme rendering of technical or other services.
Rev. n/c
Page 11/11
Feb 2001