AS5040_1 AMSCO [austriamicrosystems AG], AS5040_1 Datasheet
AS5040_1
Related parts for AS5040_1
AS5040_1 Summary of contents
Page 1
AS5040 10Bit 360° Programmable Magnetic Rotary Encoder 1 General Description The AS5040 is a contactless magnetic rotary encoder for accurate angular measurement over a full turn of 360° system-on-chip, combining integrated Hall elements, analog front end and ...
Page 2
AS5040 Data Sheet 4 Pin Configuration Figure 2: Pin Configuration SSOP16 MagINCn MagDECn A_LSB_U B_Dir_V Index_W Pin Description Table 2 shows the description of each pin of the standard SSOP16 package (Shrink Small Outline Package, 16 leads, body size: 5.3mm ...
Page 3
AS5040 Data Sheet Table 2 Pin Description SSOP16 Pin Symbol Type 1 MagINCn DO_OD 2 MagDECn DO_OD 3 A_LSB_U DO 4 B_Dir_V Index_W DO 7 VSS 8 Prog DI_PD 9 DO DO_T 10 CLK DI, ST ...
Page 4
AS5040 Data Sheet Pin 12 allows a single wire output of the 10-bit absolute position value. The value is encoded into a pulse width modulated signal with 1µs pulse width per step (1µs to 1024µs over a full turn). By ...
Page 5
AS5040 Data Sheet CMOS / Program Input: Prog (operating conditions -40 to +125°C, VDD5V = 3.0-3.6V (3V operation) VDD5V = 4.5-5.5V (5V operation) amb unless otherwise noted) Parameter High level input voltage High level input voltage Low level ...
Page 6
AS5040 Data Sheet Parameter Symbol Magnetic offset B off Field non-linearity f mag_abs Input frequency (rotational speed of magnet) f mag_inc Displacement radius Disp Chip placement tolerance Recommended magnet material and temperature drift Electrical System Specifications (operating conditions ...
Page 7
AS5040 Data Sheet Parameter Symbol System propagation delay incremental output Sampling rate for absolute output Read-out frequency Figure 3: Integral and Differential Non-linearity Example (exaggerated curve) α 10bit code 1023 512 0 0 ° Integral Non-Linearity (INL) ...
Page 8
AS5040 Data Sheet Parameter Symbol Read-out frequency f CLK Pulse Width Modulation Output (operating conditions -40 to +125°C, VDD5V = 3.0-3.6V (3V operation) VDD5V = 4.5-5.5V (5V operation) unless otherwise amb noted) Parameter Symbol PWM frequency f PWM ...
Page 9
AS5040 Data Sheet 6 Functional Description The AS5040 is manufactured in a CMOS standard process and uses a spinning current Hall technology for sensing the magnetic field distribution across the surface of the chip. The integrated Hall elements are placed ...
Page 10
AS5040 Data Sheet 7 10-bit Absolute Angular Position Output Synchronous Serial Interface (SSI) Figure 5: Synchronous Serial Interface with Absolute Angular Position Data CSn t T CLK FE CLK / 2 1 CLK ...
Page 11
AS5040 Data Sheet Table 3: Magnetic Magnitude Variation Indicator Mag Mag Description INCn DECn distance change; Magnetic input field OK (in range, 45..75mT) Distance increase: Pull-function. This state is dynamic only active while the magnet ...
Page 12
AS5040 Data Sheet Programming Daisy Chained Devices In Daisy Chain mode, the Prog pin is connected directly to the DO pin of the subsequent device in the chain (see Figure 6). During programming (see section 12), a programming voltage of ...
Page 13
AS5040 Data Sheet Figure 8: Incremental Output Modes Q uad A/B-M ode A B Index Step / Dir-Mode LSB Dir CSn t Increm ental outputs valid Incremental Power-up Lock Option After power-up, the incremental outputs can optionally be locked or ...
Page 14
AS5040 Data Sheet Figure 9: Hysteresis Window for Incremental Outputs Incremental Output Indication 9 Pulse Width Modulation (PWM) Output The AS5040 provides a pulse width modulated output (PWM), whose duty cycle is proportional to the measured angle: ⋅ t 1025 ...
Page 15
AS5040 Data Sheet Table 5: PWM Signal Parameters Parameter Symbol PWM frequency f PWM MIN pulse width PW MIN MAX pulse width PW MAX 10 Analog Output An analog output may be generated by averaging the PWM signal, using an ...
Page 16
AS5040 Data Sheet Figure 12 and V-signals for BLDC Motor Commutation (Div1=0, Div0=0) Commutation - Mode 3 Direction Position: 0 171 Angle: 0.0 60.12 Figure 13 and W-signals for 2-pole BLDC Motor ...
Page 17
AS5040 Data Sheet OTP Register Contents: Counter Clockwise Bit CCW ccw=0 – angular value increases in clockwise direction ccw=1 – angular value increases in counterclockwise direction Programmable Zero / Index Position Z [9:0] Index Pulse Width Selection: 1LSB / 3LSB ...
Page 18
AS5040 Data Sheet Figure 16: OTP Programming Connection of AS5040 (shown with AS5040 demoboard) Incremental Mode Programming Three different incremental output modes are available. Mode: Md1=0 / Md0=1 sets the AS5040 in quadrature mode. Mode: Md1=1 / Md0=0 sets the ...
Page 19
AS5040 Data Sheet Table 6: One Time Programmable (OTP) Register Options OTP-Mode-Register-Bit Mode Md1 Md0 Default (Mode0. quadAB-Mode1 quadAB-Mode1 quadAB-Mode1 quadAB-Mode1 quadAB-Mode1 quadAB-Mode1 quadAB-Mode1 ...
Page 20
AS5040 Data Sheet Repeated OTP Programming Although a single AS5040 OTP register bit can be programmed only once (from possible to program other, unprogrammed bits in subsequent programming cycles. However, a bit that has already ...
Page 21
AS5040 Data Sheet 13 Alignment Mode The alignment mode simplifies centering the magnet over the chip to gain maximum accuracy and XY-alignment tolerance. This electrical centering method allows a wider XY-alignment tolerance (0.485mm radius) than mechanical centering (0.25mm radius) as ...
Page 22
AS5040 Data Sheet Figure 19: Connections for 5V / 3.3V Supply Voltages 5V Operation VDD3V3 100n VDD5V LDO 4.5 - 5.5V VSS A buffer capacitor of 100nF is recommended in both cases close to pin VDD5V. Note that pin VDD3V3 ...
Page 23
AS5040 Data Sheet Figure 20: Typical Magnet and Magnetic Field Distribution N R1 Vertical field component Physical Placement of the Magnet The best linearity can be achieved by placing the center of the magnet exactly over the defined center of ...
Page 24
AS5040 Data Sheet The vertical distance should be chosen such that the magnetic field on the die surface is within the specified limits (see Figure 20). The typical distance “z” between the magnet and the package surface is 0.5mm to ...
Page 25
AS5040 Data Sheet The angular displacement (Θ) of the magnetic source with reference to the Hall sensor array may then be modelled by − Θ = ± arctan ( ) − ...
Page 26
AS5040 Data Sheet 18 Angular Output Tolerances Accuracy Accuracy is defined as the error between measured angle and actual angle influenced by several factors: the non-linearity of the analog-digital converters, internal gain and mismatch errors, non-linearity due to ...
Page 27
AS5040 Data Sheet Figure 25: Example of Linearity Error over 360° 0.5 0.4 0.3 0.2 0 109 163 217 271 325 379 433 487 541 595 649 703 757 811 865 919 973 -0.1 -0.2 -0.3 -0.4 ...
Page 28
AS5040 Data Sheet High Speed Operation Sampling Rate The AS5040 samples the angular value at a rate of 10.42k samples per second. Consequently, the incremental, as well as the absolute outputs are updated each 96µ stationary position of ...
Page 29
AS5040 Data Sheet Angular Error Caused by Propagation Delay A rotating magnet will therefore cause an angular error caused by the output delay. This error increases linearly with speed: = ∗ e rpm 6 * prop . delay sampling where: ...
Page 30
AS5040 Data Sheet Timing Tolerance over Temperature The internal RC oscillator is factory trimmed to ±5%. Over temperature, this tolerance may increase to ±10%. Generally, the timing tolerance has no influence in the accuracy or resolution of the system, as ...
Page 31
AS5040 Data Sheet 19 Package Drawings and Markings Figure 26: 16-Lead Shrink Small Outline Package SSOP-16 Dimensions mm Symbol Min Typ Max A 1.73 1.86 1.99 A1 0.05 0.13 0.21 A2 1.68 1.73 1.78 b 0.25 0.315 0.38 c 0.09 ...
Page 32
AS5040 Data Sheet 20 Packing Options Delivery: Tape and Reel (1 reel = 2000 devices) Tubes (1 box = 100 tubes à 77 devices) Order # AS5040ASSU for delivery in tubes Order # AS5040ASST for delivery in tape and reel ...
Page 33
AS5040 Data Sheet 22 Copyrights Copyright © 1997-2009, austriamicrosystems AG, Schloss Premstaetten, 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 ...