ams-OSRAM USA INC. 的 AS5134 规格书

austriamicrosystems AG
is now
ams AG
The technical content of this austriamicrosystems datasheet is still valid.
Contact information:
Headquarters:
ams AG
Tobelbaderstrasse 30
8141 Unterpremstaetten, Austria
Tel: +43 (0) 3136 500 0
e-Mail: ams_sales@ams.com
Please visit our website at www.ams.com
flausz‘namlcrosystems —I-. a leap ahead In analog ule numuts: Senal mlerface d (PWM) ompul swim and senswlivny 5 rpm magnetic field svenglh a‘lnws exam niml magma: dwstance ms AB‘ Quadralure: 90 ppr, slap dwrecnon: ed pulse wwdlh 360ppr DC Outputs UVW,selectab‘efor1.2,3,4,5,6 po‘e pairs I Dawsy-Cham mode formscading afmultime sensors I 9-hi: mum tum counter I Low power mode wim las: siarlup I Wwde magnelwc field mpm range: 20- 30 mT emhly chanically I Wide kemperalure range: 40°C to MAW: l Fully aummawe qualified m AEC-Q100 “"“P 3"“ measuremem . Small Pb-lree package: ssop 20 ansumpnon, 3 Appl Icatlons " d The/65134 is suitab‘e '0 p05. ‘0“ MC” "‘9 swimhes (human machine and Brushless DC 34 Magnetic Rotary Encoder Block Diagram D 5 V U V W A B In Cummmahn {tr-“1:: Irma g PWM Decoder PWM [CL—13 —7 = — U mo HaIlArray l- Fromend H Amplifier
AS5134
360 Step Programmable High Speed Magnetic Rotary Encoder
www.austriamicrosystems.com/AS5134 Revision 2.3 1 - 32
Datasheet
1 General Description
The AS5134 is a contactless magnetic rotary encoder for accurate
angular measurement over a full turn of 360º. It is a system-on-chip,
combining integrated Hall elements, analog front-end and digital
signal processing in a single device.
To measure the angle, only a simple two-pole magnet, rotating over
the center of the chip is required. The absolute angle measurement
provides instant indication of the magnet’s angular position with a
resolution of 8.5 bit = 360 positions per revolution. This digital data is
available as a serial bit stream and as a PWM signal. In addition to
the angle information, the strength of the magnetic field is also
available as a 6-bit code.
Data transmission can be configured for 1-wire (PWM), 2-wires
(DCLK, DIO) or 3-wires (DCLK, DIO, CS).
A software programmable (OTP) zero position simplifies assembly
as the zero position of the magnet does not need to be mechanically
aligned.
A Power Down Mode together with fast startup and measurement
cycles allows a very low average power consumption.
2 Key Features
360º contactless angular position encoding
Two digital 360 step (8.5 bit) absolute outputs: Serial interface
and Pulse width modulated (PWM) output
User programmable zero position and sensitivity
High speed: up to 76875 rpm
Direct measurement of magnetic field strength allows exact
determination of vertical magnet distance
Incremental Outputs ABI Quadrature: 90 ppr, step direction:
180ppr, fixed pulse width 360ppr
BLDC Outputs UVW, selectable for 1,2,3,4,5,6 pole pairs
Daisy-Chain mode for cascading of multiple sensors
9-bit multi turn counter
Low power mode with fast startup
Wide magnetic field input range: 20- 80 mT
Wide temperature range: -40ºC to +140ºC
Fully automotive qualified to AEC-Q100
Small Pb-free package: SSOP 20
3 Applications
The AS5134 is suitable for contactless rotary position sensing, rotary
switches (human machine interface), AC/DC motor position control
and Brushless DC motor position control.
Tracking ADC
& Angle
Decoder
Hall Array
&
Frontend
Amplifier
Power Management OTP
Absolute
Serial
Interface
(SSI)
DIO
PWM
CLK
PROG
CS
PWM Decoder
AGC
C2
Mag
Zero
Pos.
AGC
Angle
Incremental
Interface
Commutation
Interface
U V W A B Index
VDD 5 V
GND
DX
Multiturn
Counter
AS5134
Figure 1. AS5134 Magnetic Rotary Encoder Block Diagram
ams AG
Technical content still valid
@ausrnamicrusysrems “Nam-#9393444 grammmg Cannecfion Frugrammmg Verifxcamn .. 34 Slams Indxcamrs. Lock Slalus Bxl 8.2 2 Magnelm field strength Indicalors 8.3 Multi Tum Caunler ..... 8.4 High Speed Operanon 8.41 Fmpagamn Delay 8.4 2 Digxla‘ Readout Ram. 8.4 3 Low Power Mode .. 9 Package Drawmgs and Markings 9.1 Recommended PCB Footprm 10 Ordering Information ..
www.austriamicrosystems.com/AS5134 Revision 2.3 2 - 32
AS5134
Datasheet - Contents
Contents
1 General Description .................................................................................................................................................................. 1
2 Key Features............................................................................................................................................................................. 1
3 Applications............................................................................................................................................................................... 1
4 Pin Assignments ....................................................................................................................................................................... 3
4.1 Pin Descriptions.................................................................................................................................................................................... 3
5 Absolute Maximum Ratings ...................................................................................................................................................... 4
6 Electrical Characteristics........................................................................................................................................................... 5
6.1 Timing Characteristics .......................................................................................................................................................................... 6
7 Detailed Description.................................................................................................................................................................. 7
7.1 Connecting the AS5134........................................................................................................................................................................ 7
7.2 Serial 3-Wire R/W Connection.............................................................................................................................................................. 8
7.3 Serial 3-Wire Read-only Connection .................................................................................................................................................... 9
7.4 Serial 2-Wire Connection (R/W Mode) ............................................................................................................................................... 10
7.5 Serial 2-Wire Differential SSI Connection........................................................................................................................................... 11
7.6 1-Wire PWM Connection .................................................................................................................................................................... 12
7.7 Analog Output..................................................................................................................................................................................... 14
7.8 Quadrature A/B/Index Output............................................................................................................................................................. 14
7.9 Brushless DC Motor Commutation Mode........................................................................................................................................... 15
7.10 Daisy Chain Mode ............................................................................................................................................................................ 15
7.11 Serial Synchronous Interface (SSI) .................................................................................................................................................. 18
7.12 Redundancy ..................................................................................................................................................................................... 20
8 Application Information ........................................................................................................................................................... 21
8.1 AS5134 Programming ........................................................................................................................................................................ 21
8.1.1 OTP Programming Connection.................................................................................................................................................. 21
8.1.2 Programming Verification .......................................................................................................................................................... 22
8.2 AS5134 Status Indicators................................................................................................................................................................... 24
8.2.1 Lock Status Bit........................................................................................................................................................................... 24
8.2.2 Magnetic Field Strength Indicators ............................................................................................................................................ 24
8.3 Multi Turn Counter.............................................................................................................................................................................. 25
8.4 High Speed Operation ........................................................................................................................................................................ 25
8.4.1 Propagation Delay ..................................................................................................................................................................... 25
8.4.2 Digital Readout Rate.................................................................................................................................................................. 26
8.4.3 Low Power Mode ....................................................................................................................................................................... 26
9 Package Drawings and Markings ........................................................................................................................................... 27
9.1 Recommended PCB Footprint............................................................................................................................................................ 29
10 Ordering Information............................................................................................................................................................. 31
ams AG
Technical content still valid
g1? fiusIHam/‘crusvsrems c<§> Pin Number Description 1 Programming vuiiage input musi be ieil open in normal 0 Maximum ioad : ZOpF (excepi during programmm 2 Suppiyground 3 Chip seieci uuipui for 2-wue mode and A Chip seieci inpui for Brwue made 5 Seieci belween 27wire (C2 a V PWM 6 PWM uulpui VDD 7 Positive supply vo Tesi COM 8 Tesi pin DDCLK 9 Cluck inpui DiO 10 Data U 11 V 12 W 13 A B Index TBO TB1
www.austriamicrosystems.com/AS5134 Revision 2.3 3 - 32
AS5134
Datasheet - Pin Assignments
4 Pin Assignments
Figure 2. Pin Assignments (Top View)
4.1 Pin Descriptions
Table 1. Pin Descriptions
Pin Name Pin Number Description
Prog 1 Programming voltage input, must be left open in normal operation.
Maximum load = 20pF (except during programming)
VSS 2 Supply ground
DX 3 Chip select output for 2-wire mode and Daisy Chain cascading
CS 4 Chip select input for 3-wire mode
C2 5 Select between 2-wire (C2 VDD) and 3-wire (C2 VSS) mode
PWM 6 PWM output
VDD 7 Positive supply voltage (double bond to VDD_A and VDD_D)
Test Coil 8 Test pin
DDCLK 9 Clock input for serial interface
DIO 10 Data I/O for serial interface
U11
Commutation output
V12
Commutation output
W13
Commutation output
A14
Incremental output
B15
Incremental output
Index 16 Incremental output
TB0 17 Test pin
TB1 18 Test pin
TB2 19 Test pin
TB3 20 Test pin
AS5134
1
2
3
4
5
6
7
8
12
16
15
14
13
VDD
Prog
VSS
TestCoil
PWM
C2
CS
DX
TB0
TB1
B
W
U
V
11
10
9
Index
A
20
19
18
17
TB2
TB3
DCLK
DIO
ams AG
Technical content still valid
g1? fiusIHam/‘crusvsrems al uperaliun of osure :0 absolum Comments Exoepl durmg OTP programmmg Norm. ElA/JESD78 Classll Leve‘ A kV Norm. JESDQZ-AHAE 150 “C 260 “C The reflow peak so‘deving |empereluve (bu :emperature) specified is in accurdenoe w JEDEC .I-STD-020 “MoisturflReflow Classrlrcanon for Nun-Hermetic 50/111 5 Mount Devices" The bad fimsh for Pvaee \eaded p (100% Sn). B5 “A: SL) Represenls a ma
www.austriamicrosystems.com/AS5134 Revision 2.3 4 - 32
AS5134
Datasheet - Absolute Maximum Ratings
5 Absolute Maximum Ratings
Stresses beyond those listed in Table 2 may cause permanent damage to the device. These are stress ratings only, and functional operation of
the device at these or any other conditions beyond those indicated in Electrical Characteristics on page 5 is not implied. Exposure to absolute
maximum rating conditions for extended periods may affect device reliability.
Table 2. Absolute Maximum Ratings
Parameter Min Max Units Comments
Electrical Parameters
Supply voltage (VDD) -0.3 7 V Except during OTP programming
Input Pin Voltage (VIN) VSS-0.5 VDD V
Input Current (latch up immunity), (Iscr)-100 100 mA Norm: EIA/JESD78 ClassII Level A
Electrostatic Discharge
ESD ±2 kV Norm: JESD22-A114E
Temperature Ranges and Storage Conditions
Storage Temperature (Tstrg)-55 150 ºC
Body temperature, (Tbody)260 ºC
The reflow peak soldering temperature (body
temperature) specified is in accordance with IPC/
JEDEC J-STD-020 “Moisture/Reflow Sensitivity
Classification for Non-Hermetic Solid State Surface
Mount Devices”.
The lead finish for Pb-free leaded packages is matte tin
(100% Sn).
Humidity non-condensing 5 85 %
Moisture Sensitive Level (MSL) 3 Represents a maximum floor time of 168h
ams AG
Technical content still valid
g1? ausmam/‘crusvsrems surface. measured along a concentric crrcle With a radms alt mm Max Units +5.5 V 22 mA 70 120 “A 8.5 Ell 1 Deg $4100 ps w Power made 3500 p rate oftracking ADC. lslep :1. 5.2 psls Centered Magnet 72 2 thin nonmntal displaoement radius 73 3 lnternal srgnal processing time PeakrPeak Required vertical cumponent arms 5 Input Range magnetrc field strength on the Chip 20 et rotation speed to maintain locked state PWM period PWM frequency 1 l PWM per Programming Parameters OG Programmrng Vultage Static volta TamprOG Prugrammrng ambient temperature D was ngrammmg lime VR mg Analog readback voltage Dun" anpms Hall Element Sensitivity Options sens Hall Element sens DC Characteristics at VlH
www.austriamicrosystems.com/AS5134 Revision 2.3 5 - 32
AS5134
Datasheet - Electrical Characteristics
6 Electrical Characteristics
TAMB = -40 to 140ºC, VDD5V = 4.5-5.5V, all voltages referenced to VSS, unless otherwise noted.
Table 3. Electrical Characteristics
Symbol Parameter Conditions Min Typ Max Units
VDD Positive Supply Voltage 4.5 +5.5 V
IDD Operating Current No load on outputs. Supply current can be
reduced by using stronger magnets. 22 mA
Ioff Power down current Low Power Mode 70 120 µA
System Parameters
NResolution 8.5 Bit
1Deg
TPwrUp Power Up Time Startup from zero 4100 µs
Startup from Low Power mode 500
tsTracking rate Step rate of tracking ADC;
1 step = 1º 5.2 µs/step
INLcm Accuracy Centered Magnet -2 2 Deg
INLdm Within horizontal displacement radius -3 3 Deg
tdelay Propagation delay Internal signal processing time 22 µs
TN Transition noise Peak-Peak 1.41 Deg
Magnet Specifications
BiMagnetic Input Range
Required vertical component of the
magnetic field strength on the chip
surface, measured along a concentric
circle with a radius of 1 mm
20 80 mT
ViMagnet rotation speed to maintain locked state 76875 rpm
PWM Output
tPWM PWM period 600 750 900 µs
fPWM PWM frequency 1 / PWM period 1.11 1.33 1.66 kHz
Programming Parameters
VPROG Programming Voltage Static voltage at pin Prog 8.0 8.5 V
TambPROG Programming ambient temperature During programming 0 85 ºC
tPROG Programming time Timing is internally generated 2 4 µs
VR,prog Analog readback voltage During analog readback mode at pin Prog 0.5 V
VR,unprog 23.5
Hall Element Sensitivity Options
sens Hall Element sensitivity setting
sens = 00 (default) 1.60 1.65 1.75
X
sens = 01 1.79 1.88 1.98
sens = 10 2.01 2.11 2.22
sens = 11 2.23 2.35 2.47
DC Characteristics of Digital Inputs and Outputs
CMOS Inputs: DDCLK, CS, DIO, C2
VIH High level input voltage 0.7*VDD VDD V
VIL Low level input voltage 00.3*VDD V
ILEAK Input leakage current A
ams AG
Technical content still valid
g1? fil/sIHam/‘crusvsrems :1 ans ‘ Min ‘ Typ ‘ Max ‘ Unils Interface Noimai operalinn 5 6 During OTP programming 200 650 2-Wire Interface Normal eperalien 0 l 5 my During OTP prugrammmg 200 g DCLK lo CS 15 Silwe edge 01 DCLK elecl lo drive me exlemaily Selup lime command bil, Dala valid lo posuive edge of DCLK Huid lime command bil, Dale valid afler posmve edge cf DCLK Final lime, l5 Pusnive edge cf DCLK for last command ml lo bus fioal Bus driving lime, (6 Pusnive edge cf DCLK for last command ml la bus drive Selup lime dela bil, Dala valid lo pdsuive edge of D Huid lime data bil, Dale valid afler posmve edge l7 l8 Held lime chip 9 Pusmve edge DCLKlo c MO Negalive m)
www.austriamicrosystems.com/AS5134 Revision 2.3 6 - 32
AS5134
Datasheet - Electrical Characteristics
6.1 Timing Characteristics
CMOS Outputs: DIO, PWM, DX
VOH High level output voltage Source current < 4mA VDD-0.5 VDD V
VOL Low level output voltage Sink current < 4mA 0 VSS+0.4 V
CL Capacitive load 35 pF
CMOS Tristate Output: DIO
IOZTristate leakage current CS = low 1 µA
Table 4. Timing Characteristics
Symbol Parameter Conditions Min Typ Max Units
2-/3-Wire Data Transmission
3-Wire Interface
fDCLK Clock Frequency Normal operation 5 6 MHz
fDCLK,P Clock Frequency During OTP programming 200 650 kHz
2-Wire Interface
fDCLK Clock Frequency Normal operation 0.1 5 6 MHz
fDCLK,P Clock Frequency During OTP programming 200 500 kHz
General Data Transmission
t0 Rising DCLK to CS 15 - ns
t1 Chip select to positive edge of DCLK 15 - ns
t2 Chip select to drive bus externally - - ns
t3 Setup time command bit,
Data valid to positive edge of DCLK 30 - ns
t4 Hold time command bit,
Data valid after positive edge of DCLK 30 ns
t5
Float time,
Positive edge of DCLK for last command
bit to bus float
30 DCLK/2 ns
t6
Bus driving time,
Positive edge of DCLK for last command
bit to bus drive
DCLK/2
+0
DCLK/2
+30 ns
t7 Setup time data bit,
Data valid to positive edge of DCLK
DCLK/2
+0
DCLK/2
+30 ns
t8 Hold time data bit,
Data valid after positive edge of DCLK
DCLK/2
+0
DCLK/2
+30 ns
t9
Hold time chip select,
Positive edge DCLK to negative edge of
chip select
30 ns
t10 Bus floating time,
Negative edge of chip select to float bus 030ns
tTO Timeout period in 2-wire mode (from
rising edge of DCLK) 17 27 µs
tCLK Clock Timing 200 ns
Table 3. Electrical Characteristics (Continued)
Symbol Parameter Conditions Min Typ Max Units
ams AG
Technical content still valid
é? ai/srriamicrusysrems Connecting the A85134 The A35134 can be connecied in an exiemal oonimiier in severai wa Seriai 3-wwe R/W connection Seriai 3-wwe Read-aniy connection Seriai Z-Wire connection (RIW Mode) Seriai Z-Wire Diiierermal Ssi conneciiun i-Wire PWM connection Anaiog auipul Quadrature NB/lndex outpui Brushiess DC Molar Comm Daisy Chain Mode
www.austriamicrosystems.com/AS5134 Revision 2.3 7 - 32
AS5134
Datasheet - Detailed Description
7 Detailed Description
Figure 3. Typical Arrangement of AS5134 and Magnet
7.1 Connecting the AS5134
The AS5134 can be connected to an external controller in several ways as listed below:
Serial 3-wire R/W connection
Serial 3-wire Read-only connection
Serial 2-Wire connection (R/W Mode)
Serial 2-Wire Differential SSI connection
1-Wire PWM connection
Analog output
Quadrature A/B/Index output
Brushless DC Motor Commutation Mode
Daisy Chain Mode
ams AG
Technical content still valid
g1? fiusIHam/‘crusvsrems dweclmna‘ DIO h as reading Fxgure 5) Is not reunited. 02 \s a havdware mnfiguralinn Inpul. 02 s ‘ cummznd phase ”ma-c wne‘ Table 5. Sena! Bit Write Com
www.austriamicrosystems.com/AS5134 Revision 2.3 8 - 32
AS5134
Datasheet - Detailed Description
7.2 Serial 3-Wire R/W Connection
In this mode, the AS5134 is connected to the external controller via three signals: Chip Select (CS), Clock (DCLK) inputs and bi-directional DIO
(Data In/Out) output. The controller sends commands over the DIO pin at the beginning of each data transmission sequence, such as reading
the angle or putting the AS5134 in and out of the reduced power modes.
Figure 4. SSI Read/Write Serial Data Transmission
A pull-down resistor (as shown in Figure 5) is not required. C2 is a hardware configuration input. C2 selects 3-wire mode (C2 = low) or 2-wire
mode (C2 = high).
Table 5. Serial Bit Sequence (16bit read/write)
Write Command Read/Write Data
C4 C3 C2 C1 C0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
+5V
VDD
AS5134
Micro Controller
VDD
CS
DCLK
DIO
VSS
VSS
C2
100nF
VSS
VDD
I/O
Output
Output
CMD0CMD4 CMD3
1234567 21
20
D15 D14 D1 D0
DCLK
DIO
CS
DIO
command phase data phase
tCLK
t1 t9
t5
t3
t4 t6 t7 t8 t10
DIO read
DIO write
ams AG
Technical content still valid
g1? fiusIHam/‘crusvsrems Salem (CS) IO cunnecnon As Igured as dugxla‘ Ihe hrsl 5 bus whmh un‘ess otherwise med cummznd phase dzla p DCLK ‘ I 2 3 A wua ‘ CS mg _ _ 7 7 [NO Tab/e 6. 27m 3rwrre Rea Command ‘ “WM \\\\\\\\\\\\\\\
www.austriamicrosystems.com/AS5134 Revision 2.3 9 - 32
AS5134
Datasheet - Detailed Description
7.3 Serial 3-Wire Read-only Connection
This connection is possible when the AS5134 is only used to provide the angular data (no power down or OTP access). The Chip Select (CS)
and Clock (DCLK) connection is the same as in the R/W mode, but only a digital input pin (not an I/O pin) is required for the DIO connection. As
the first 5 bits of the data transmission are command bits sent to the AS5134, both the microcontroller and the AS5134 are configured as digital
inputs during this phase. Therefore, a pull-down resistor must be added to make sure that the AS5134 reads “00000” as the first 5 bits, which
sets the Read_Angle command.
Note: All further application examples are shown in R/W mode, however read-only mode is also possible unless otherwise noted.
Figure 5. SSI Read-only Serial Data Transmission
Table 6. 2-or 3-wire Read-only Serial Bit Sequence (21bit read)
Command Read Data
C4 C3 C2 C1 C0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
0 0 0 0 0 lock AGC Angle
+5V
VDD
AS5134
Micro Controller
VDD
CS
DCLK
DIO
VSS
VSS
C2
100nF
VSS
VDD
Input
Output
Output
10k…
100k
123456721
20
D15 D14 D1 D0
DCLK
DIO
CS
DIO
command phase data phase
t1 t9
t10
DIO read
DIO write
8
D13 D12
ams AG
Technical content still valid
g1? fiusIHam/‘crusvsrems K) and Data Is am cummznd phase m D mo
www.austriamicrosystems.com/AS5134 Revision 2.3 10 - 32
AS5134
Datasheet - Detailed Description
7.4 Serial 2-Wire Connection (R/W Mode)
By connecting the configuration input C2 to VDD, the AS5134 is configured to 2-wire data transmission mode. Only Clock (DCLK) and Data
(DIO) signals are required. A Chip Select (CS) signal is automatically generated by the DX output, when a time-out of DCLK occurs.
Note: Read-only mode is also possible in this configuration.
Figure 6. 2-Wire R/W Mode
+5V
VDD
AS5134
Micro Controller
VDD
DCLK
DIO
VSS
VSS
C2
100nF
VSS
VDD
I/O
Output
1234567
D15 D14 D1 D0
DCLK
DIO
CS
DIO
command phase data phase
t1
DIO read
DIO write
8
DX
CMD4 CMD3 CMD2 CMD1 CMD0
22
timeout phase
tTO
t0
t5
t6
ams AG
Technical content still valid
g1? fiusIHam/‘crusvsrems nderdis lmesoflhe X 30810”me IWHF:: \an H ‘ w: WWWISWWWLW!‘ \ x x x x x x x x " ¢—t—>‘ D. x x x x x x x x x N ‘ w ‘ x x x x x \ \K_X_X_“_X_X_ \ W \ \ \ \ \ \ \ "/ W \ Referlo Tame 6 on page
www.austriamicrosystems.com/AS5134 Revision 2.3 11 - 32
AS5134
Datasheet - Detailed Description
7.5 Serial 2-Wire Differential SSI Connection
With the addition of a RS-422 / RS-485 transceiver, a fully differential data transmission, according to the 21-bit SSI interface standard is
possible. To be compatible with this standard, the DCLK signal must be inverted. This is done by reversing the Data+ and Data- lines of the
transceiver.
Note: This type of transmission is read-only.
Figure 7. 2-Wire SSI Read-only Mode
Refer to Table 6 on page 9 for information on 2-or 3-wire Read-only Serial Bit Sequence (21-bit read).
+5V
VDD
AS5134
Micro Controller
VDD
DCLK
DIO
VSS
VSS
C2
100nF
VSS
VDD
Input
Output
DCLK
DI
D+
D- D+
D-
D- D-
D+ D+
MAX 3081 or similar
1234567820 21
D15 D14 D1 D0
timeout
tTO
DCLK
DI
ams AG
Technical content still valid
g1? aI/sIIIam/‘crusvsxems reeI incIuding onfiguramn‘ as w mgn hm I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I lllllll|l| ......IIII WWW—WWIIIIIIIIIIIIIIIIIIIIIII \mt Lock Zemdegree Smacks The PWM SIgnaI wHI be generaled from PWM-sequence Is slaned To a
www.austriamicrosystems.com/AS5134 Revision 2.3 12 - 32
AS5134
Datasheet - Detailed Description
7.6 1-Wire PWM Connection
This configuration uses the least number of wires: only one line (PWM) is used for data, leaving the total number of connection to three, including
the supply lines. This type of configuration is especially useful for remote sensors. Ultra Low Power Mode is not possible in this configuration, as
there is no bi-directional data transmission. Pins that are not shown may be left open.
Figure 8. Data Transmission with Pulse Width Modulated (PWM) Output
The PWM signal will be generated from the actual stored angle information. The zero-angle corrected value is buffered and fixed until the next
PWM-sequence is started. To ease the filtering of the PWM signal, a minimum pulse width is implemented in the protocol.
+5V
VDD
AS5134
Micro Controller
VDD
PWM
VSS
VSS
CS
100nF
VSS
VDD
Input
C2
Init
Zero degree Angle Position
8 clocks 359 clocks
exit
8 clocks
thigh tlow
Lock
tPWM
ams AG
Technical content still valid
EgaI/smam/‘crusysrems I I I I I *I—I—I—I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I IIIIIIIIIIIIIIIIIIIIIIIII I I I I I I I I I / V V V V V V F H V VIIIIIIIIIIIIIIIIIIIIIIIV V V V V V V V V V V V V \I 4—» am Bdacks lnmal 0° with a Programmed Zero Positron T-Iaw InII ‘ Lock DIagnusIIc AngIe Po a ducks 359 Afler a sIarIup a! me A85134 a| the IniIIal zero during e‘aburalion of Ihe PWM duly cy Afler a mechamca‘ movemenl (1“) the FIgure a.
www.austriamicrosystems.com/AS5134 Revision 2.3 13 - 32
AS5134
Datasheet - Detailed Description
Figure 9. Output PWM Signal After Start-up at 0º Unprogrammed Zero Position
Figure 10. Output PWM Signal After Start-up at Initial 0º with a Programmed Zero Position
After a startup of the AS5134 at the initial zero position the PWM signal indicates a permanent lock diagnostic. This behavior can be ignored
during elaboration of the PWM duty cycle. Figure 9 and Figure 10 show the different outputs depending on the OTP zero position programming.
After a mechanical movement (1º) the signal will change as shown in Figure 8. A startup at any other position will also look like as shown in
Figure 8.
Init
Angle Position
8 clocks 359 clocks
exit
8 clocks
T-high T-low
Init + Lock Diagnostic
Init
Angle Position
8 clocks 359 clocks
exit
8 clocks
T-high T-low
Init + Lock Diagnostic
ams AG
Technical content still valid
g1? fiusIHam/‘crusvsrems s finerallhe hown m angu‘av dale is upen. Anzkzg am VF ex Output A and B mdicateslhe dxrecliun loe magnetmuvemem Channe‘ Aleads ca‘ degrees Channe‘ B leads channe‘ A at a caunlevrcluckwise ml a/ Output Modes Mechzmca‘ Ouad A’BHndeXVMnde m 2;" Puma” \ fl Table 7. Programming Optiuns Ahi (I
www.austriamicrosystems.com/AS5134 Revision 2.3 14 - 32
AS5134
Datasheet - Detailed Description
7.7 Analog Output
This configuration is similar to the PWM connection (only three lines including supply are required). With the addition of a lowpass filter at the
PWM output, this configuration produces an analog voltage that is proportional to the angle. This filter can be either passive (as shown in
Figure 11) or active. The lower the bandwidth of the filter, the less ripple of the analog output can be achieved. If the AS5134 angular data is
invalid, the PWM output will remain at low state and thus the analog output will be 0V. Pins that are not shown may be left open.
Figure 11. Data Transmission with Pulse Width Modulated (PWM) Output
7.8 Quadrature A/B/Index Output
The phase shift between channel A and B indicates the direction of the magnet movement. Channel A leads channel B at a clockwise rotation of
the magnet (top view) by 90 electrical degrees. Channel B leads channel A at a counter-clockwise rotation.
Figure 12. Incremental Output Modes
Table 7. Programming Options for the Quadrature Signals A/B/Index
Abi (13:12) Function: output multiplexer for pin A,B,I
00 A pin A, B pin B, I(index) pin I default value)
01 step pin A, direction pin B, I(index) pin I
10 pulse pin A, direction pin B, I(index) pin I
1 1 off: LO pin A, LO pin B, LO pin I
+5V
VDD
AS5134
VDD
PWM
VSS
C2
CS
100nF >=4k7>=4k7
>=1µF >=1µF
Analog
out
VSS
5V
0V
180º 36
Analog out
PWM out
Angle
Index
B
A
Quad A/B/Index-Mode
max.
3 LSB
Index=0
1 LSB Hyst=
2LSB
Mechanical
Zero Position
Mechanical
Zero Position
Rotation Direction
Change
ams AG
Technical content still valid
g1? fiusmamicrusvsrems chanical angie page 18 m m— 2“: 3m 0 so 120 180 angle eiedncai 120 150 180 210 zoo 27o angie me: > Commutation Signals U/V/W Funnlon 0 BLDC Pole Paws 1 a eiecmcal angle 1 BLDC Pole Paws 2 a eiecmcal angle 0 BLDC Pole Paws 3 ~> eiec 1 1 BLDC Pole Paws 4 ~> eiec 0 0 BLDG Pole Paws 5 0 1 BLDC Pole P 1 1 1 7.10 Daisy Chain Mode Tne angie inioimation from Ihe device and ihe selup for ihe de impiemeni a daisy chain mode Depending an Ihe config mode, each commumcaiiun scans With me rising edge a one device lo we nexi. Reiei in Figure 14 and Fig resei if ihere is no ciock some avaiiable fur a exiernai used digiiai clack some in! ihe digiia Remark: Resel ior ine digilai mierface 3 wwe mode ~> via chip seieci 2 wwe made ~> via iimeoui Port cm: s
www.austriamicrosystems.com/AS5134 Revision 2.3 15 - 32
AS5134
Datasheet - Detailed Description
7.9 Brushless DC Motor Commutation Mode
The BLDC signals will be used to control the electrical angle information – according to the amount of pole pairs and the actual mechanical angle
position. Refer Figure 13 for an example of n_pole_pairs:=2. For the programming, refer to Serial Synchronous Interface (SSI) on page 18.
Figure 13. Commutation Mode
7.10 Daisy Chain Mode
The angle information from the device and the setup for the device is handled over the digital interface. A special port (Dx) can be used to
implement a daisy chain mode. Depending on the configuration, it is possible to implement a two wire or a three wire mode. In the three wire
mode, each communication starts with the rising edge of the chip select signal. The Port Dx is used to transfer the chip select information from
one device to the next. Refer to Figure 14 and Figure 15. In the two wire interface mode, a timeout logic ensures that the digital interface will be
reset if there is no clock source available for a certain time. The synchronization between the internal free running analog clock oscillator and the
external used digital clock source for the digital interface is done in a way that the digital clock frequency can vary in a wide range.
Remark: Reset for the digital interface:
3 wire mode via chip select
2 wire mode via timeout
Table 8. Programming Options for the Commutation Signals U/V/W
uvw (11:9) Function
0 0 0 BLDC Pole Pairs : 1 electrical angle of 60º = mechanical angle: 6
0 0 1 BLDC Pole Pairs : 2 electrical angle of 60º = mechanical angle: 30º
0 1 0 BLDC Pole Pairs : 3 electrical angle of 60º = mechanical angle: 20º
0 1 1 BLDC Pole Pairs : 4 electrical angle of 60º = mechanical angle: 15º
1 0 0 BLDC Pole Pairs : 5 electrical angle of 60º = mechanical angle: 12º
1 0 1 BLDC Pole Pairs : 6 electrical angle of 60º = mechanical angle: 10º
111 off LO pad U, V, W, PWM
Port Symbol Function
Chip Select CS Indicates the start of a new access cycle to the device
CS = LO reset of the digital interface.
DCLK DCLK Clock source for the communication over the digital interface. The maximum and
minimum frequency depends on the mode.
120 180 240 300 120 180
180120 240 270210
150
60
0
0
60
60 90
30
0angle electrical
angle mechanical
U
V
W
pole pair : 2
electrical := mechanical*npole_pairs
ams AG
Technical content still valid
g1? fiusIHam/‘crusvsrems 9 command \e Dx can be used as me ng edge of DCLK and henoe‘ indxcams end cf Ihe command sequence or 5019! a chxp se‘ec: signal in me two wile mode ‘ ‘ 1) ‘ CMD(2) ‘ Dala[2] ‘ CMD[3] ‘ Data[3] ‘ ‘ ye mIIIImém-m ,9de Im 45‘ ‘1 V ‘ u 4““ ‘x—A—w ‘ V w > ’ ‘ H ' u 5mm) ‘1“ j \ \
www.austriamicrosystems.com/AS5134 Revision 2.3 16 - 32
AS5134
Datasheet - Detailed Description
Waveform – Digital Interface at Three Wire Daisy Chain Mode
Note: Defined if the Pin C2 is set to LO at all devices.
Figure 14. 3-Wire Daisy Chain Mode
Bidirectional data input output DIO Command and data information over one single line. The first bit of the command
defines a read or write access.
Daisy Chain Port Dx
This port enables the daisy chain configuration of several devices.
Three wire mode: Indicates the end of an interface cycle. Dx can be used as the
chip select signal for the next device in the chain.
Two wire mode: Will be set with the first falling edge of DCLK and hence, indicates
a running clock; it will be cleared at the end of the command sequence or after a
timeout phase. Dx can be used as a chip select signal in the two wire mode.
Port Symbol Function
C4 C3 C2 C1 C0 D15 D14 D13 D0 C4 C0 D15 D14 D0 C4 C0 D15 D14 D0
DCLK
CS(1)
CS_INT(1)
DX(1) = CS(2)
CS_INT(2)
DX(2) = CS(3)
CS_INT(3)
CMD(1) Data(1) CMD(2) Data(2) CMD(3) Data(3) CMD(1)
DIO
CLK
CS
DIO
CLK
CS
DIO
CLK
CS
DX DX DX
C2 C2 C2
LO LO LO
DIO
CLK
CS
DX(1) DX(2)
ams AG
Technical content still valid
g1? fiusIHam/‘crusvsrems 013) ‘ DzIaI3) H mum Ex 1 ux 2) as u>< (="" )="" as="" ux="" ‘="" i="" we="" i="" mo="" i="" elk="" clk="" 02="" lu;="" ¢="" ¢="" mo="" dclk="">
www.austriamicrosystems.com/AS5134 Revision 2.3 17 - 32
AS5134
Datasheet - Detailed Description
Waveform – Digital Interface at Two Wire Daisy Chain Mode
Note: Defined, if the Pin C2 is set to LO at all devices except the last one where the Pin C2 is set to HI.
Figure 15. 2-Wire Daisy Chain Mode
C4 C3 C2 C1 C0 D15 D14 D13 D0 C4 C0 D15 D14 D0 C4 C0 D15 D14 D0
DCLK
DX(3)
CS(1)
CS_INT(1)
DX(1) = CS(2)
CS_INT(2)
DX(2) = CS(3)
CMD(1) Data(1) CMD(2) Data(2) CMD(3) Data(3) CMD(1)
C4
CS_INT(3)
t14_2
t14_3
t16
CS
DIO
CLK
DX DX DX
C2 C2 C2
LO LO LO
DIO
DCLK
DX(1) DX(2)
CS
DIO
CLK
CS
DIO
CLK
DX(3)
ams AG
Technical content still valid
g1? fil/sIHam/‘crusvsrems OTP .0> angle <820> el). nded Mode ASSlSA The power consumpllon l5 slgniflcanlly reduoed. LP LO relums bil m command 0 is LO. rn register llhe OTP reglslev afler slanup. The ml is valld NI lne nexl OTP access ngle value and ABC value (agc). “Lock“ mdmales a locked ADC usl be lell unchanged) an be selwa lne digllal lnlerlace 0‘ 1,2(defaullm LSE Hysl The hysleresis can be changed over me inlerlace. An achvallon of lh 1. Use WRITE CONFlG 1 command and wrile Ihe selec 2. Use agam WRITE CONFIG 1 command and release SET MT COUNTER: Command lor semng lne Mulll Tur LP: Defaull "0‘2 "1"loruslnglhelaw power funcllon lockjdc: lndicales lhal lne hacking adc l5 in lndlcaled by me ago value) a! a mlssmg magn
www.austriamicrosystems.com/AS5134 Revision 2.3 18 - 32
AS5134
Datasheet - Detailed Description
7.11 Serial Synchronous Interface (SSI)
Normal mode is used for normal operations, whereas extended mode is for accessing the OTP.
SM_RES: State machine reset of the digital part of the device (soft reset).
EN PROG: Enables the access to the OTP register in Extended Mode.
WRITE CONFIG: LP HI activates the sleep mode of the AS5134. The power consumption is significantly reduced. LP LO returns to normal
operation mode. During sleep mode, the lock_adc bit in command 0 is LO.
RD_MT Counter: Command for read out of multi turn register.
OTP_OK: Bit shows correct readout of the OTP register after startup. The bit is valid till the next OTP access.
RD_ANGLE: Command for read out of angle value and AGC value (agc). “Lock” indicates a locked ADC.
tst: Test bits for internal testing (must be left unchanged).
Hyst (11:10): Digital Hysteresis can be set via the digital interface 0, 1, 2 (default), 3 LSB
The hysteresis can be changed over the interface. An activation of the SM_RES bit is required. This can be performed in two steps -
1. Use WRITE CONFIG 1 command and write the selected hysteresis and SM_RES = ‘1’ into the device.
2. Use again WRITE CONFIG 1 command and release SM_RES = ‘0’ with the same hysteresis setting.
SET MT COUNTER: Command for setting the Multi Turn Counter to a defined value.
LP: Default "0"; "1" for using the low power function.
lock_adc: Indicates that the tracking adc is in a locked status. For a valid angle (the magnetic field has to be in a certain range, which is
indicated by the agc value) or a missing magnet the lock_adc is set.
Table 9. Commands of the SSI in Normal Mode
Digital interface at normal mode
#cmd bin mode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
23 WRITE
CONFIG 1 10111 write LP SM_
RES tst tst Hyst <1:0> tst tst tst
20 SET MT
COUNTER 10100 write multi-turn-counter <8:0>
16EN PROG10000write1 0 00110010101110
4RD MT
COUNTER 00100 read multi-turn-counter <8:0> OTP
_OK
0 RD_ANGLE 00000 read lock_
adc agc <5:0> angle <8:0>
Hyst Function
0 0 2 LSB (default value)
01 1
10 3
11 0
ams AG
Technical content still valid
é? ausrrramicrusysrems lemal magnelrc fields gram any rolalron angle of lire magnel as lire new zero need in be mechanically adjusled lo lire eleclrrcal zero hed lo lhe mechanical zero posilron by zero posilron programming The B‘S-brl (command WRlTE OTP, #31) or permanenlly (command PRDG CTR #25) llows Ihe user in malclr Ihe verlical drslance of lhe magnel wim Ihe uplim level The 2»bil user programmable sensitivity selling can be applied bath ommand PROG OTR #25) or require a dedicated programming hardware. The programmrng can be Figure 17) or me oplronal 2»wrre inlerlace (see Figure 6) For pennanenl programming 0-8.5V musl be cannecled lo pin 1 (FROG) For temporary OTP wrile l“sefl wr quired. The capacilers must be as close as possible in the pin, lo ensure l ance could lranslale inlo a cable lengm oi approximalely Scm ng Connection .5v VDD Mm Conlmller r vss
www.austriamicrosystems.com/AS5134 Revision 2.3 21 - 32
AS5134
Datasheet - Application Information
8 Application Information
The benefits of AS5134 are as follows:
Complete system-on-chip, no angle calibration required
Flexible system solution provides absolute serial, ABI, UVW and PWM outputs
Ideal for applications in harsh environments due to magnetic sensing principle
High reliability due to non-contact sensing
Robust system, tolerant to horizontal misalignment, airgap variations, temperature variations and external magnetic fields
8.1 AS5134 Programming
The AS5134 offers the following user programmable options:
Zero Position Programming. This programming option allows the user to program any rotation angle of the magnet as the new zero
position. This useful feature simplifies the assembly process as the magnet does not need to be mechanically adjusted to the electrical zero
position. It can be assembled in any rotation angle and later matched to the mechanical zero position by zero position programming. The 8,5-bit
user programmable zero position can be applied both temporarily (command WRITE OTP, #31) or permanently (command PROG OTP, #25).
Magnetic Field Optimization. This programming option allows the user to match the vertical distance of the magnet with the optimum
magnetic field range of the AS5134 by setting the sensitivity level. The 2-bit user programmable sensitivity setting can be applied both
temporarily (command WRITE OTP, #31) or permanently (command PROG OTP, #25).
8.1.1 OTP Programming Connection
Programming of the AS5134 OTP memory does not require a dedicated programming hardware. The programming can be simply accomplished
over the serial 3-wire interface (see Figure 17) or the optional 2-wire interface (see Figure 6). For permanent programming (command PROG
OTP, #25), a constant DC voltage of 8.0-8.5V must be connected to pin 1 (PROG). For temporary OTP write (“soft write”; command WRITE OTP,
#31), the programming voltage is not required. The capacitors must be as close as possible to the pin, to ensure that a serial inductance of 50nH
is not to be exceeded. The 50nH inductance could translate into a cable length of approximately 5cm.
Figure 16. OTP Programming Connection
+5V
VDD
AS5134
Micro Controller
VDD
CS
DCLK
DIO
VSS
VSS
C2
100nF
VSS
VDD
I/O
Output
Output
PROG
8.0 – 8.5V
10µF
100nF
+
-
ams AG
Technical content still valid
é? ausrrramicrusysrems VSUPPLY VDD FROG c1 c2 our) —— ':' PROM Cell mum: mpF load a| PROG in normal operation is less lhan 20oF, However‘ during prog gramming voltage during currenl spikes‘ but they must be removed for norm ommendation is to add a diode (4143 or similarl between PROG and V tors can not be removed al final assembly D1, the capacrlors cucz are loaded with VDD-D 7V a| startup‘ hence not gramming Ihe OTR the diode ensures lnal no current is flowrng from P ndard case (see Figure 17)‘ the verification of a correct OTP rea or win Ihe aid of lhe OTPJK IN The special case setup provrdes o OTP Analog readback is nol usable in the special case model asl The OTP70K bit can be aocessed with command #4 (see Table 9) As long as the PROG pin is accessible it is recommended to assembly‘ Ihe special setup is recommended. 5.1.2 ProgrammingVerification After programming, Ihe programmed OTP bils must be v Digital Read Out (Mandatory): After sending informalion. Otherwise it indicates lhat the pro Note: Either ‘Digilal Verification" or Digital Verification: Checking the 0 i) At room temperature ll) Right after Ihe prog Analog Verifica analog vollage wit
www.austriamicrosystems.com/AS5134 Revision 2.3 22 - 32
AS5134
Datasheet - Application Information
Figure 17. OTP Programming Connection
Note: The maximum capacitive load at PROG in normal operation is less than 20pF. However, during programming the capacitors C1+C2 are
needed to buffer the programming voltage during current spikes, but they must be removed for normal operation. To overcome this
contradiction, the recommendation is to add a diode (4148 or similar) between PROG and VDD as shown in Figure 17 (special case
setup), if the capacitors can not be removed at final assembly.
Due to D1, the capacitors C1+C2 are loaded with VDD-0.7V at startup, hence not influencing the readout of the internal OTP registers.
During programming the OTP, the diode ensures that no current is flowing from PROG (8-8.5V) to VDD (5V).
In the standard case (see Figure 17), the verification of a correct OTP readout can be done either by analog readback of the OTP reg-
ister or with the aid of the OTP_OK bit. The special case setup provides only the OTP_OK bit for verifying the correct reading of the
OTP. Analog readback is not usable in the special case mode, as the diode pulls the PROG pin to VDD.
The OTP_OK bit can be accessed with command #4 (see Table 9).
As long as the PROG pin is accessible it is recommended to use standard setup. In case the PROG pin is not accessible at final
assembly, the special setup is recommended.
8.1.2 Programming Verification
After programming, the programmed OTP bits must be verified in two ways:
Digital Read Out (Mandatory): After sending a READ OTP command, the readback information must be the same as programmed
information. Otherwise, it indicates that the programming was not performed correctly.
Note: Either “Digital Verification” or “Analog Verification” must be carried out in addition to the “Digital Read Out”.
Digital Verification: Checking the OTP_OK bit (0 = OK, 1 = error)
i) At room temperature
ii) Right after the programming
Analog Verification: By switching into Extended Mode and sending a READ ANA command, the pin PROG becomes an output sending an
analog voltage with each clock representing a sequence of the bits in the OTP register (starting with D61). A voltage of <500mV indicates a
correctly programmed bit (“1”) while a voltage level between 2V and 3.5V indicates a correctly unprogrammed bit (“0”). Any voltage level in
between indicates incorrect programming.
VDD
VSUPPLY
PROG
GND
C1 C2
100nF 10µF
Vzapp Vprog
PROM Cell
maximum
parasitic cable
inductance
L<50nH
Standard Case
VDD
VSUPPLY
PROG
GND
C1 C2
100nF 10µF
Vzapp Vprog
PROM Cell
L<50nH
Special Case
Remove for normal operation
ams AG
Technical content still valid
g1? fiusIHam/‘crusvsrems ming ofAna/og Readout cMojHAsE DATAiPHASEiEX 1 fui ‘ x ‘ w \ ‘ H ’ ‘ 41 ‘ ‘ ‘ ‘ w ‘ ‘ ‘ \_ ‘ ‘ \ ‘ +‘5‘4H ‘ ‘ ‘ ° 4(HEW/4- : : «3+ ‘ x 45.447 mg wwe * '6 % 4’ a / ‘DCIX 7 w \ ‘ w 4%, mo 777777777 * e 4C 777777777 m m7
www.austriamicrosystems.com/AS5134 Revision 2.3 23 - 32
AS5134
Datasheet - Application Information
Figure 18. Analog OTP Verification
Figure 19. Extended Operation Mode: Timing of Analog Readout
+5V
VDD
AS5134
Micro Controller
VDD
CS
DCLK
DIO
VSS
VSS
C2
100nF
VSS
VDD
I/O
Output
Output
PROG
8.0 – 8.5V
V
CMD0CMD4 CMD2
HI
D61
D61
D60
D60
D0
D0
CMD_PHASE DATA_PHASE_EXTENDED
t0 t1
t3
t4
t5
t6
t7
t8 t10
t10
t9
t12
t11
CMD
READ
WRITE
DCLK
CS
DIO
DIO
DIO
ams AG
Technical content still valid
é? ausrrramicrusvsrems w). To determine hanical rotation (1") the lock status e accuracy ot the A351 34 is reduced due to measure the magnetic field strength (and hence the vertical veral purposes: d proper vertical distance ot the magnet it test anual input devices orms: The serial data that l5 obtained by command READ ANGLE contains the 6 trol that adyusts the internal signal amplitude obtained from the Hall elemen arge vertical gap between magnet and it). With a weak magnet or at elevated tem kewrse, the AGC value will be lower when the magnet is closer to the IC. whe he A85134 Will be achieved when operating within the AGC range. It Will still be ope lly with a weak magnetic field due to increased noise. C Value. In practical use, the AGC value will depend on several fact at the magnet. Aging magnets show a reducing magnetic held over 5 phenomenon is relatively small and can easily be compensate stance of the magnet. Depending on the mechanical setup and al distance between magnet and IC over the meme of the application ompensated by the AGC The temperature and material at the magnet. The recommended ma NdFeB (Neodymium-lron»Eoron) magnet Other magnets may a AGC range. Every magnet has a temperature dependence or on the used material. At elevated temperatures. the magn value. At low temperatures. the magnetic field strength is field strength over temperature is automatically com OTF Sensitivity Adjustment. To obtain best at normal operating temperature is in the midd “vertical centering" of the magnet+lC assembl adjustment is recommended. when the God = low sensitivity, Any value >00H w
www.austriamicrosystems.com/AS5134 Revision 2.3 24 - 32
AS5134
Datasheet - Application Information
8.2 AS5134 Status Indicators
8.2.1 Lock Status Bit
The Lock signal indicates, whether the angle information is valid (ADC locked, Lock = high) or invalid (ADC unlocked, Lock = low). To determine
a valid angular signal at best performance, the following indicators can be set:
Lock = 1
AGC = >00H and < 3FH
After a startup of the AS5134 at the initial zero position the lock status bit will remain at (Lock=0). After a mechanical rotation (1º) the lock status
bit will change to (Lock=1).
Note: The angle signal is also valid (Lock = 1), when the AGC is out of range (00H or 3FH), but the accuracy of the AS5134 is reduced due to
the out of range condition of the magnetic field strength.
8.2.2 Magnetic Field Strength Indicators
The AS5134 is not only able to sense the angle of a rotating magnet, it can also measure the magnetic field strength (and hence the vertical
distance) of the magnet. This additional feature can be used for several purposes:
- as a safety feature by constantly monitoring the presence and proper vertical distance of the magnet
- as a state-of-health indicator, e.g. for a power-up self test
- as a pushbutton feature for rotate-and-push types of manual input devices
The magnetic field strength information is available in two forms:
Magnetic Field Strength Software Indicator. The serial data that is obtained by command READ ANGLE contains the 6-bit AGC
information. The AGC is an automatic gain control that adjusts the internal signal amplitude obtained from the Hall elements to a constant level.
If the magnetic field is weak, e.g. with a large vertical gap between magnet and IC, with a weak magnet or at elevated temperatures of the
magnet, the AGC value will be high. Likewise, the AGC value will be lower when the magnet is closer to the IC, when strong magnets are used
and at low temperatures.
The best performance of the AS5134 will be achieved when operating within the AGC range. It will still be operational outside the AGC range, but
with reduced performance especially with a weak magnetic field due to increased noise.
Factors Influencing the AGC Value. In practical use, the AGC value will depend on several factors:
The initial strength of the magnet. Aging magnets show a reducing magnetic field over time which results in an increase of the AGC
value. The effect of this phenomenon is relatively small and can easily be compensated by the AGC.
The vertical distance of the magnet. Depending on the mechanical setup and assembly tolerances, there will always be some variation of
the vertical distance between magnet and IC over the lifetime of the application using the AS5134. Again, vertical distance variations can be
compensated by the AGC.
The temperature and material of the magnet. The recommended magnet for the AS5134 is a diametrically magnetized, 5-6mm diameter
NdFeB (Neodymium-Iron-Boron) magnet. Other magnets may also be used as long as they can maintain to operate the AS5134 within the
AGC range. Every magnet has a temperature dependence of the magnetic field strength. The temperature coefficient of a magnet depends
on the used material. At elevated temperatures, the magnetic field strength of a magnet is reduced, resulting in an increase of the AGC
value. At low temperatures, the magnetic field strength is increased, resulting in a decrease of the AGC value. The variation of magnetic
field strength over temperature is automatically compensated by the AGC.
OTP Sensitivity Adjustment. To obtain best performance and tolerance against temperature or vertical distance fluctuations, the AGC value
at normal operating temperature is in the middle between minimum and maximum, hence it is around 100000 bin (20hex). To facilitate the
“vertical centering” of the magnet+IC assembly, the sensitivity of the AS5134 can be adjusted in the OTP register in 4 steps. A sensitivity
adjustment is recommended, when the AGC value at normal operation is close to its lower limit (around 00H). The default sensitivity setting is
00H = low sensitivity. Any value >00H will increase the sensitivity (see Table 3).
ams AG
Technical content still valid
g1? ausmamrcmsysrems ounler ls wrse rotalion ve lurn count 0000 by using command 20 7 SET MT Counler, lt lS immedlalely resel by edge and the next counler readoul changes Ihe counter value Speed Operation ing a lasl Iracking ADC lTADC) lo determine lne angle of Ihe mag it in the slatus register ln worsl case‘ usually al start-up, the TADC requ e to track the moving magnel The ASSlBA can operale in locked m Low Power Mode‘ Ihe poslllon ollhe TADC is froxen. |twrl| conlinue lrom moved during the power down phase, several cycles will be required magnel angle can be roughly calculaled as 7 2 is" Na 11 7107 OMAN I9 '2er ’ 1,406 Where: ‘LQCK : 'fime required to acquire Ihe new angle a OldAngle : Angle posllion when one of Ihe re NewAngle : Angle position after resurhlng from 8.4.1 Propagation Delay The Propagation delay lS Ihe lim lne serial or PWM interface Wh longer the propagation d posllion error increases | document.
www.austriamicrosystems.com/AS5134 Revision 2.3 25 - 32
AS5134
Datasheet - Application Information
8.3 Multi Turn Counter
A 9-bit register is used for counting the magnet’s revolutions. With each zero transition in any direction, the output of a special counter is
incremented or decremented. The initial value after reset is 0 LSB. The multi turn value is encoded as complement on two. Clockwise rotation
gives increasing angle values and positive turn count. Counter clockwise rotation exhibits decreasing angle values and a negative turn count
respectively.
The counter output can be reset by using command 20 – SET MT Counter. It is immediately reset by the rising clock edge of this bit. Any zero
crossing between the clock edge and the next counter readout changes the counter value.
8.4 High Speed Operation
The AS5134 is using a fast tracking ADC (TADC) to determine the angle of the magnet. Once the TADC is synchronized with the angle, it sets
the LOCK bit in the status register. In worst case, usually at start-up, the TADC requires up to 179 steps to lock. Once it is locked, it requires only
one cycle to track the moving magnet. The AS5134 can operate in locked mode at rotational speeds up to 76875 rpm.
In Low Power Mode, the position of the TADC is frozen. It will continue from the frozen position once it is powered up again. If the magnet has
moved during the power down phase, several cycles will be required before the TADC is locked again. The tracking time to lock in with the new
magnet angle can be roughly calculated as:
(EQ 1)
Where:
tLOCK = Time required to acquire the new angle after power up from one of the reduced power modes [µs]
OldAngle = Angle position when one of the reduced power modes is activated [º]
NewAngle = Angle position after resuming from reduced power mode [º]
8.4.1 Propagation Delay
The Propagation delay is the time required from reading the magnetic field by the Hall sensors to calculating the angle and making it available on
the serial or PWM interface. While the propagation delay is usually negligible on low speeds, it is an important parameter at high speeds. The
longer the propagation delay, the larger becomes the angle error for a rotating magnet as the magnet is moving while the angle is calculated. The
position error increases linearly with speed. The main factors that contribute to the propagation delay are discussed in detail further in this
document.
Bit Code Decimal Value
011111111 256
--- ---
01111111 127
--- ---
00000011 +3
00000010 +2
00000001 +1
00000000 0
11111111 -1
11111110 -2
11111101 -3
--- ---
10000000 -128
--- ---
100000000 -255
tLOCK
2sNewAngle OldAngle
1.406
--------------------------------------------------------------------------
=
ams AG
Technical content still valid
@ausmamicrusysrems PWM signal 15 no: occur at me oi Zps/siep. A in GMHz. a compieie sei icaiions,w1inoutiosmg ihe aciuai imzen and Ihe snip siaris from inis frozen stale i' from zero. If Ihe A55134 is cycled between he achieved. The minimum dweliing iime is <0 5="" ms.="" 4="" was="" in="" reduced="" power="" mode.="" tne="" angle="" daia="" is="" vaiid,="" the="" #65134="" can="" be="" pui="" back="" in="" reduced="" power="" mode="" tne="" i="" ,w="" 11="" ,="" n="" ”um="" ant="" irutuudmin="" 0/7="" sampiinginien/aiflmrlu”="" (e="" ed="" power="" mode="" (max.="" 120%)="" is="" uperaied="" in="" aciive="" made="" in="" reduced="" power="" mode="" lp‘="" (15=""> oi |he digiial inleriace has in be sei in ‘1‘. nneciron CI ASS134 Reducing Pawer Sup add an RC-iiiier 1R especiaiiy during |
www.austriamicrosystems.com/AS5134 Revision 2.3 26 - 32
AS5134
Datasheet - Application Information
8.4.2 Digital Readout Rate
Apart from the chip-internal propagation delay, the chip requires time to read and process the angle data. Due to its nature, a PWM signal is not
usable at high speeds, as you get only one reading per PWM period. Increasing the PWM frequency improves it. But problems will occur at the
receiving controller to resolve the PWM steps. The frequency on the AS5134 PWM output is typical 1.33kHz with a resolution of 2µs/step. A
more suitable approach for high speed absolute angle measurement is using the serial interface. With a clock rate of up to 6MHz, a complete set
of data (21bits) can be read in >3.5µs.
8.4.3 Low Power Mode
The target of this mode is to reduce the long time power consumption of the device for battery powered applications, without losing the actual
angle information.
In Low Power Mode, the AS5134 is inactive. The last state (for e.g. the angle, AGC value, etc.) is frozen and the chip starts from this frozen state
when it resumes active operation. This method provides much faster start-up than a “cold start” from zero. If the AS5134 is cycled between
active and reduced current mode, a substantial reduction of the average supply current can be achieved. The minimum dwelling time is <0.5 ms.
The actual active time depends on how much the magnet has moved while the AS5134 was in reduced power mode. The angle data is valid,
when the status bit LOCK has been set. Once a valid angle has been measured, the AS5134 can be put back to reduced power mode. The
average power consumption can be calculated as:
sampling interval = ton + toff (EQ 2)
Where:
Iavg = Average current consumption
Iactive = Current consumption in active mode
Ipower_down = Ioff : Current consumption in reduced power mode (max. 120µA)
ton = Time period during which the chip is operated in active mode
toff = Time period during which the chip is in reduced power mode
To access the Low Power Mode, the bit ‘LP’ <15> of the digital interface has to be set to “1”.
Figure 20. Low Power Mode Connection
Reducing Power Supply Peak Currents. When the AS5134 is toggled between active and reduced power mode, there is the option to
add an RC-filter (R1/C1) to avoid peak currents at power supply. The value of R1 is set that it maintains a VDD voltage of 4.5V – 5.5V and
especially during long active periods the R1 must maintain the charge which C1 has expired. C1 can be set in such a way as it can support peak
currents during the active operation period. In case of long active periods, C1 has a great value and R1 has a small value.
Iavg
Iactiveton Ipowerdowntoff
+
ton toff
+
---------------------------------------------------------------------
=
R1
AS5134
VDD
C1
C2
100nF
VSS
+5V
VDD
Micro
Controller
CS
DCLK
DIO
VSS
VSS
VDD
on/off
SN
Ion
Ioff
ton toff
ams AG
Technical content still valid
@ausrnamicrusysrems SEE VIEW C \ VIEW A-A E 2 NX R R1 GAUGE PLANE‘LAriiJgi LEJ H + SEATING PLANE ”- VIEW C -10.. ¥ c t SECTIEIN BiB r— A «fl I ) \ i Q n.1n I: NX ' — _ SEATING PLANE A1— AL 1% gé 5 <5 h="" a="" 5="" id="" notes:="" 1.="" dxmensmns="" and="" 2.="" nldxmensxons="" marking:="" yyww="">
www.austriamicrosystems.com/AS5134 Revision 2.3 27 - 32
AS5134
Datasheet - Package Drawings and Markings
9 Package Drawings and Markings
The device is available in a 20-Lead Shrink Small Outline package.
Figure 21. Package Drawings and Dimensions
Notes:
1. Dimensions and tolerancing conform to ASME Y14.5M-1994.
2. All dimensions are in millimeters. Angles are in degrees.
Marking: YYWWMZZ.
YY WW MZZ
Last two digits of the manufacturing year Manufacturing week Plant identifier Assembly traceability code
Symbol Min Nom Max
A 1.73 1.86 1.99
A1 0.05 0.13 0.21
A2 1.68 1.73 1.78
b 0.22 0.30 0.38
c 0.09 0.17 0.25
D 6.90 7.20 7.50
E 7.40 7.80 8.20
E1 5.00 5.30 5.60
e - 0.65 BSC -
L 0.55 0.75 0.95
L1 - 1.25 REF -
L2 - 0.25 BSC -
R0.09 - -
0º 4º 8º
N20
AS5134
YYWWMZZ
ams AG
Technical content still valid
gym/smam/‘crusysrems 988 016 8 \ \ met/L 7 ,7 1 1 DiEC/L Dnrknge outhne Package Duflme i0 015 0 576:0100 :U‘UES 058910100 2:0 008 10038 L1282t0150
www.austriamicrosystems.com/AS5134 Revision 2.3 28 - 32
AS5134
Datasheet - Package Drawings and Markings
Figure 22. Vertical Cross Section of SSOP-20
Notes:
1. All dimensions in mm.
2. Die is slightly off centered.
ams AG
Technical content still valid
J _| I: |:| |:| w E! El CIT ,4: I: g? ausmamicrusysrems Recommended Foalprlm Data mm Inch 9.02 0.355 E 6.16 0.242 C 0.46 0.018 D 0.65 0.025 E 6.31 0.248
www.austriamicrosystems.com/AS5134 Revision 2.3 29 - 32
AS5134
Datasheet - Package Drawings and Markings
9.1 Recommended PCB Footprint
Figure 23. PCB Footprint
Recommended Footprint Data
Symbol mm inch
A 9.02 0.355
B 6.16 0.242
C 0.46 0.018
D 0.65 0.025
E 6.31 0.248
ams AG
Technical content still valid
gym/striamicrusysrenis pg Readout (page 231 ciensiias pi Digiiai inputs and e 26] e Drawings and Markings (page 27) ming Characteristics (page a), 27m 37wire Read-uniy Serial en quence (21pm read] (page 91.0TP Programming Connecliun (page 21). grammmg Veniicaiipn (page 22) Updated Eieclricai Characteristics (page 51 Maximum speed modified from 25 000 rpm to 140.000 rpm across dalasheel Maximum speed modified from 140.000 rpm to 82.000 rpm a dalasneel apg Updated Package Drawmgs and Markings (page 2 Modified the following cnaplers: Key Features (page 1) . 2010 mub Absolute Maximum Ratings (page 4) Electrical Characteristics (page 5) Timing Characteristics (page 6) un 29. 2010 apg Updated PWM period (p Updated Absolute Maxim May 23' 2W "Mb Drawmgs and Ma Updated PWM w 2.1 N0v25( 2011 Vertical C 6an Updated E 2.2 Feb 29‘ 2012 20 2.3 Apr 26, 2012 Mill) Note: Typos may not be explicitly mentioned under r
www.austriamicrosystems.com/AS5134 Revision 2.3 30 - 32
AS5134
Datasheet - Revision History
Revision History
Note: Typos may not be explicitly mentioned under revision history.
Revision Date Owner Description
1.3 Jun 01, 2007
apg
Initial revision
1.5 May 21, 2008 Added Extended Operation Mode: Timing of Analog Readout (page 23)
1.6 Jul 07, 2008 Updated Connecting the AS5134 (page 7)
1.7 Jul 23, 2008
Updated Key Features (page 1), DC Characteristics of Digital Inputs and
Outputs (page 5)
Added Daisy Chain Mode (page 15)
1.8 Aug 12, 2008
Added Low Power Mode (page 26)
Added topic on ‘Accuracy’
Added Package Drawings and Markings (page 27)
1.9 Mar 10, 2009 rfu
Updated Timing Characteristics (page 6), 2-or 3-wire Read-only Serial Bit
Sequence (21bit read) (page 9), OTP Programming Connection (page 21),
Programming Verification (page 22)
1.10 Apr 29, 2009 mub Updated Electrical Characteristics (page 5)
1.11 Jun 24, 2009
jja
Maximum speed modified from 25.000 rpm to 140.000 rpm across the
datasheet.
1.12 Sep 25, 2009 Maximum speed modified from 140.000 rpm to 82.000 rpm across the
datasheet.
1.13 Jan 27, 2010 apg Updated Package Drawings and Markings (page 27)
1.14 Mar 30, 2010 mub
Modified the following chapters:
Key Features (page 1)
Absolute Maximum Ratings (page 4)
Electrical Characteristics (page 5)
Timing Characteristics (page 6)
1.15 Jun 29, 2010 apg Updated PWM period (page 5), PWM frequency (page 5)
2.0 May 23, 2011 mub Updated Absolute Maximum Ratings, 1-Wire PWM Connection, Package
Drawings and Markings
2.1 Nov 25, 2011
ekno
Updated PWM width (see Table 3), Programming Verification (page 22) and
Vertical Cross Section of SSOP-20 (page 28)
2.2 Feb 29, 2012
Updated Electrical Characteristics (page 5), Vertical Cross Section of SSOP-
20 (page 28), Rewrote Digital Readout Rate (page 26), Reducing Power
Supply Peak Currents (page 26)
2.3 Apr 26, 2012 mub Updated ‘2FH’ to ‘3FH’ in Lock Status Bit (page 24)
ams AG
Technical content still valid
gym/smam/‘crusysrems -ZSST‘ -ZSSM e & Ree‘
www.austriamicrosystems.com/AS5134 Revision 2.3 31 - 32
AS5134
Datasheet - Ordering Information
10 Ordering Information
The devices are available as the standard products shown in Table 12.
Note: All products are RoHS compliant and austriamicrosystems green.
Buy our products or get free samples online at ICdirect: http://www.austriamicrosystems.com/ICdirect
Technical Support is available at http://www.austriamicrosystems.com/Technical-Support
For further information and requests, please contact us mailto: sales@austriamicrosystems.com
or find your local distributor at http://www.austriamicrosystems.com/distributor
Table 12. Ordering Information
Ordering Code Description Delivery Form Package
AS5134-ZSST, -ZSSM 360 Step Programmable High Speed Magnetic Rotary Encoder Tape & Reel 20-pin SSOP
ams AG
Technical content still valid
@ausrnamicrusysrems Registered ®. written consent ol sians appearing in its Term of Sale. the information set larth herein or regarding s the right to change specmcations and prices at essary to check with auslnamiorosystems AG tor ns Applioatians requiring extended temperature range. edical life-support or life-sustaining equipment are terns AG tor each application. For shipments at less than 100 production tlow‘ such as test flow or test location. ed to be oorrent and accurate. Howeven austriamim’osystems AG shall n uding but not limited to personal inlury‘ property damage, loss of profits loss nsequential damages, ol any kind‘ in connection with or arising out at the l or liability to recipient or any third party shall anse or tlow out at ervioes. a? austriamicrosystems Information arters striamicrosystems AG Tahelbaderstrasse 30 A-8141 Unterprernstaetten, Austria Tel: +43 (0) 3136 500 0 Fax +43 (0) 3136 525 01 For Sales Offices, Distributors and Representa hltp //www.austriamicrosystems com/contact
www.austriamicrosystems.com/AS5134 Revision 2.3 32 - 32
AS5134
Datasheet - Copyrights
Copyrights
Copyright © 1997-2012, austriamicrosystems AG, Tobelbaderstrasse 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.
All products and companies mentioned are trademarks or registered trademarks of their respective companies.
Disclaimer
Devices sold by austriamicrosystems AG are covered by the warranty and patent indemnification provisions appearing in its Term of Sale.
austriamicrosystems AG 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. austriamicrosystems AG 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 austriamicrosystems AG 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 life-support or life-sustaining equipment are
specifically not recommended without additional processing by austriamicrosystems AG for each application. For shipments of less than 100
parts the manufacturing flow might show deviations from the standard production flow, such as test flow or test location.
The information furnished here by austriamicrosystems AG is believed to be correct and accurate. However, austriamicrosystems 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
austriamicrosystems AG rendering of technical or other services.
Contact Information
Headquarters
austriamicrosystems AG
Tobelbaderstrasse 30
A-8141 Unterpremstaetten, Austria
Tel: +43 (0) 3136 500 0
Fax: +43 (0) 3136 525 01
For Sales Offices, Distributors and Representatives, please visit:
http://www.austriamicrosystems.com/contact
ams AG
Technical content still valid