AS5040-ASSU austriamicrosystems, AS5040-ASSU Datasheet

no-image

AS5040-ASSU

Manufacturer Part Number
AS5040-ASSU
Description
IC ENCODER PROG 10-BIT 16-SSOP
Manufacturer
austriamicrosystems
Type
Linear, Rotary Encoder - Programmabler
Datasheet

Specifications of AS5040-ASSU

Sensing Range
45mT ~ 75mT
Voltage - Supply
3 V ~ 3.6 V, 4.5 V ~ 5.5 V
Current - Supply
21mA
Current - Output (max)
4mA
Output Type
Quadrature with Index (Incremental)
Features
Programmable
Operating Temperature
-40°C ~ 125°C
Package / Case
16-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AS5040-ASSU
Manufacturer:
AMS
Quantity:
1 000
1 General Description
The AS5040 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
magnet may be placed above or below the IC.
The absolute angle measurement provides instant
indication of the magnet’s angular position with a
resolution of 0.35° = 1024 positions per revolution. This
digital data is available as a serial bit stream and as a
PWM signal.
Furthermore, a user-programmable incremental output
is available, making the chip suitable for replacement of
various optical encoders.
An internal voltage regulator allows the AS5040 to
operate at either 3.3 V or 5 V supplies.
Figure 1: Typical Arrangement of AS5040 and Magnet
Benefits
www.austriamicrosystems.com
AS5040
10Bit 360° Programmable Magnetic Rotary Encoder
Complete system-on-chip
Flexible system solution provides absolute,
PWM and incremental outputs simultaneously
Ideal for applications in harsh environments
due to contactless position sensing
Tolerant to magnet misalignment and airgap
variations
No temperature compensation necessary
No calibration required
Revision 2.10
2 Key Features
3 Applications
Contactless high resolution rotational position
encoding over a full turn of 360 degrees
Two digital 10bit absolute outputs:
Three incremental output modes:
motors
resolution
User programmable zero / index position
Failure detection mode for magnet placement
monitoring and loss of power supply
Rotational speeds up to 30,000 rpm
Push button functionality detects movement
of magnet in Z-axis
Serial read-out of multiple interconnected
AS5040 devices using Daisy Chain mode
Wide temperature range: - 40°C to + 125°C
Fully automotive qualified to AEC-Q100,
grade 1
Small Pb-free package: SSOP 16 (5.3mm x
6.2mm)
Industrial applications:
- Contactless rotary position sensing
- Robotics
- Brushless DC motor commutation
- Power tools
Automotive applications:
- Steering wheel position sensing
- Gas pedal position sensing
- Transmission gearbox encoder
- Headlight position control
- Power seat position indicator
Office equipment: printers, scanners, copiers
Replacement of optical encoders
Front panel rotary switches
Replacement of potentiometers
- Serial interface and
- Pulse width modulated (PWM) output
- Quadrature A/B and Index output signal
- Step / Direction and Index output signal
- 3-phase commutation for brushless DC
- 10, 9, 8 or 7 bit user programmable
Data Sheet
1 - 33

Related parts for AS5040-ASSU

AS5040-ASSU Summary of contents

Page 1

... Furthermore, a user-programmable incremental output is available, making the chip suitable for replacement of various optical encoders. An internal voltage regulator allows the AS5040 to operate at either 3 supplies. Figure 1: Typical Arrangement of AS5040 and Magnet Benefits Complete system-on-chip Flexible system solution provides absolute, PWM and incremental outputs simultaneously ...

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 x 6.2mmm; see Figure 2). Pins 7, 15 and 16 are supply pins, pins 5, 13 and 14 are for internal use and must not be connected. ...

Page 3

... This pin is also used as digital input to shift serial data through the device in Daisy Chain configuration, (see page 11). Pin 11 Chip Select (CSn; active low) selects a device within a network of AS5040 encoders and initiates serial data transfer. A logic high at CSn puts the data output pin (DO) to tri-state and terminates serial data transfer. This pin is also used for alignment mode (page 21) and programming mode (page 16) ...

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 using an external low pass filter, the digital PWM signal is converted into an analog voltage, allowing a direct replacement of potentiometers. ...

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 input voltage Pull-down high level input current CMOS Output Open Drain: MagINCn, MagDECn (operating conditions -40 to +125° ...

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 -40 to +125°C, VDD5V = 3.0-3.6V (3V operation) VDD5V = 4.5-5.5V (5V operation) unless otherwise ...

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) is the maximum deviation between actual position and indicated position. ...

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 Minimum pulse width PW MIN Maximum pulse width PW MAX Incremental Outputs (operating conditions -40 to +125° ...

Page 9

... A small low cost diametrically magnetized (two-pole) standard magnet provides the angular position information (see Figure 20). The AS5040 senses the orientation of the magnetic field and calculates a 10-bit binary code. This code can be accessed via a Synchronous Serial Interface (SSI). In addition, an absolute angular representation is given by a Pulse Width Modulated signal at pin 12 (PWM) ...

Page 10

... D9:D0 absolute angular position data (MSB is clocked out first) OCF (Offset Compensation Finished), logic high indicates the finished Offset Compensation Algorithm. For fast startup, this bit may be polled by the external microcontroller. As soon as this bit is set, the AS5040 has completed the startup and the data is valid (see Table 4) COF (Cordic Overflow), logic high indicates an out of range error in the CORDIC part ...

Page 11

... Daisy Chain Mode The Daisy Chain mode allows connection of several AS5040’s in series, while still keeping just one digital input for data transfer (see “Data IN” in Figure 6 below). This mode is accomplished by connecting the data output (DO; pin 9) to the data input (Prog; pin 8) of the subsequent device filter must be implemented between each PROG pin of device n and DO pin of device n+1, to prevent the encoders to enter the alignment mode, in case of ESD discharge, long cables, or not conform signal levels or shape ...

Page 12

... CSn CLK 100R PROG DO PROG 1nF GND AS5040 AS5040 Angular Position Data 1 st Device Revision 2.10 CSn CLK 100R DO 1nF GND AS5040 Mag Mag Even D9 OCF COF LIN INC DEC PAR Status Bits Angular Position Data 2 nd PROG GND Device ...

Page 13

... This unique state (A=B=Index = high) may be used as an indicator for the external controller to shorten the waiting time at power-up. Instead of waiting for the specified maximum power up-time (0), the controller can start requesting data from the AS5040 as soon as the state (A=B=Index = high) is cleared. CSn = high or open at power-up: In this mode, the incremental outputs (A, B, Index) will remain at logic high state, until CSn goes low or a low pulse is applied at CSn ...

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 = − Position off The PWM frequency is internally trimmed to an accuracy of ±5% (±10% over full temperature range). This tolerance can be cancelled by measuring the complete duty cycle as shown above ...

Page 15

... Brushless DC Motor Commutation Mode Brushless DC motors require angular information for stator commutation. The AS5040 provides U-V-W commutation signals for one and two pole pair motors. In addition to the three-phase output signals, the step (LSB) output at pin 12 allows high accuracy speed measurement ...

Page 16

... Programming the AS5040 After power-on, programming the AS5040 is enabled with the rising edge of CSn with Prog = high and CLK = low. 16 bit configuration data must be serially shifted into the OTP register via the Prog-pin. The first “CCW” bit is followed by the zero position data (MSB first) and the incremental mode setting as shown in Table 6. Data must be valid at the rising edge of CLK (see Figure 14) ...

Page 17

... Index Pulse Width Selection: 1LSB / 3LSB Indx Divider Setting of Incremental Output Div1,Div0 Incremental Output Mode Selection Md1, Md0 OTP Default Setting The AS5040 can also be operated without programming. The default, un-programmed setting is shown in Table 6 (Mode 0.0): CCW clockwise operation programmed zero position Indx: 0 ...

Page 18

... In both modes, the incremental resolution may be reduced from 10 bit down bit using the divider OTP bits Div1 and Div0. (see Table 6 below ). Mode: Md1=1 / Md0=1 sets the AS5040 in brushless DC motor commutation mode with an additional LSB incremental signal at pin 12 (PWM_LSB). To allow programming of all bits, the default factory setting is all bits = 0. This mode is equal to mode 1:0 (quadrature A/B, 1LSB index width, 256ppr) ...

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 quadAB-Mode1 Step/Dir-Mode2 Step/Dir-Mode2 Step/Dir -Mode2 Step/Dir -Mode2 Step/Dir -Mode2 Step/Dir -Mode2 Step/Dir -Mode2 Step/Dir -Mode2 Commutation Mode3.0 Commutation- ...

Page 20

... 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 been programmed should not be programmed twice. Therefore it is recommended that bits that are already programmed are set to “0” during a programming cycle ...

Page 21

... Prog CSn 14 3. Operation The AS5040 operates either at 3.3V ±10 ±10%. This is made possible by an internal 3.3V Low-Dropout (LDO) voltage regulator. The internal supply voltage is always taken from the output of the LDO, meaning that the internal blocks are always operating at 3.3V. ...

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 must always be buffered by a capacitor. It must not be left floating, as this may cause an instable internal 3.3V supply voltage which may lead to larger than normal jitter of the measured angle ...

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 the IC package as shown in Figure 21: Figure 21: Defined IC Center and Magnet Displacement Radius 2 ...

Page 24

... With reference to Figure 23, a diametrically magnetized permanent magnet is placed above or below the surface of the AS5040. The chip uses an array of Hall sensors to sample the vertical vector of a magnetic field distributed across the device package surface. The area of magnetic sensitivity is a circular locus of 1.1mm radius with respect to the center of the die ...

Page 25

... Power Supply Failure Detection By software: If the power supply to the AS5040 is interrupted, the digital data read by the SSI will be all “0”s. Data is only valid, when bit OCF is high, hence a data stream with all “0”s is invalid. To ensure adequate low levels in the failure case, a pull-down resistor (~10kΩ ...

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 misalignment of the magnet As a sum of all these errors, the accuracy with centered magnet = (Err degrees @ 25° ...

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 -0.5 Transition Noise Transition noise is defined as the jitter in the transition between two steps. ...

Page 28

... Incremental encoders are usually required to produce no missing pulses up to several thousand rpm’s. Therefore, the AS5040 has a built-in interpolator, which ensures that there are no missing pulses at the incremental outputs for rotational speeds 30,000 rpm, even at the highest resolution of 10 bits (512 pulses per revolution). ...

Page 29

... Temperature Magnetic Temperature Coefficient One of the major benefits of the AS5040 compared to linear Hall sensors is that it is much less sensitive to temperature. While linear Hall sensors require a compensation of the magnet’s temperature coefficient, the AS5040 automatically compensates for the varying magnetic field strength over temperature. The magnet’s temperature drift does not need to be considered, as the AS5040 operates with magnetic field strengths from ± ...

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 used mainly for internal clock generation. The only concern to the user is the width of the PWM output pulse, which relates directly to the timing tolerance of the internal oscillator ...

Page 31

... E1 5.2 5.3 5.38 e 0.65 K 0° - 8° L 0.63 0.75 0.95 www.austriamicrosystems.com AYWWIZZ AS5040 Marking: AYWWIZZ inch A: Pb-free Identifier Y: Last Digit of Manufacturing Year Min Typ Max WW: Manufacturing Week .068 .073 .078 I: Plant Identifier .002 .005 .008 ZZ: Traceability Code .066 .068 ...

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 21 Recommended PCB Footprint www.austriamicrosystems.com Recommended Footprint Data mm inch A 9.02 0.355 B 6.16 ...

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 the copyright owner. All products and companies mentioned are trademarks or registered trademarks of their respective companies. ...

Related keywords