AS5030 8-Bit Programmable High Speed Magnetic Rotary Encoder 1 General Description 2 Key Features 360 contactless angular position encoding The AS5030 is a contactless magnetic rotary encoder for accurate angular measurement over a full turn of 360. Two digital 8-bit absolute outputs: It is a system-on-chip, combining integrated Hall elements, analog - Serial interface front end and digital signal processing in a single device. - Pulse width modulated (PWM) output To measure the angle, only a simple two-pole magnet, rotating over User programmable zero position the center of the chip is required. Direct measurement of magnetic field strength allows exact The absolute angle measurement provides instant indication of the determination of vertical magnet distance magnets angular position with a resolution of 8 bit = 256 positions per revolution. This digital data is available as a serial bit stream and Serial read-out of multiple interconnected AS5030 devices as a PWM signal. using daisy chain mode In addition to the angle information, the strength of the magnetic field Wide magnetic field input range: 20 ~ 80mT is also available as a 6-bit code. Wide temperature range: -40C to +125C Data transmission can be configured for 1-wire (PWM), 2-wires Small Pb-free package: TSSOP 16 (CLK, DIO) or 3-wires (CLK, DIO, CS). A software programmable (OTP) zero position simplifies assembly 3 Applications as the zero position of the magnet does not need to be mechanically aligned. The AS5030 is suitable for Contactless rotary position sensing, A Power Down Mode together with fast startup- and measurement Rotary switches (human machine interface), AC/DC motor position cycles allows for very low average power consumption and makes control, Robotics and Encoder for battery operated equipment. the AS5030 also suitable for battery operated equipment. Figure 1. AS5030 Block Diagram Sin / Sinn / Cos / Cosn PWM AS5030 PWM Decoder Angle DX Sin Tracking Zero ADC & Absolute DIO Position Cos Angle Serial Decoder CS Hall Array Interface & CLK (SSI ) Mag C2 Front-end AGC Amplifier AGC MagRngn Power Management OTP PROG www.ams.com/AS5030 Revision 2.4 1 - 44AS5030 Datasheet - Contents Contents 1 General Description .................................................................................................................................................................. 1 2 Key Features............................................................................................................................................................................. 1 3 Applications............................................................................................................................................................................... 1 4 Pin Assignments ....................................................................................................................................................................... 4 4.1 Pin Descriptions.................................................................................................................................................................................... 4 5 Absolute Maximum Ratings ...................................................................................................................................................... 5 6 Electrical Characteristics........................................................................................................................................................... 6 6.1 Operating Conditions............................................................................................................................................................................ 6 6.2 System Parameters.............................................................................................................................................................................. 6 6.3 Magnet Specifications .......................................................................................................................................................................... 7 6.4 Magnetic Field Alarm Limits ................................................................................................................................................................. 7 6.5 Hall Element Sensitivity Options........................................................................................................................................................... 7 6.6 Programming Parameters .................................................................................................................................................................... 8 6.7 DC Characteristics of Digital Inputs and Outputs ................................................................................................................................. 8 6.8 8-bit PWM Output................................................................................................................................................................................. 9 6.9 Serial 8-bit Output................................................................................................................................................................................. 9 6.10 General Data Transmission Timings ................................................................................................................................................ 10 7 Detailed Description................................................................................................................................................................ 11 7.1 Connecting the AS5030...................................................................................................................................................................... 11 7.2 Serial 3-Wire R/W Connection............................................................................................................................................................ 11 7.3 Serial 3-Wire Read-only Connection .................................................................................................................................................. 13 7.4 Serial 2-Wire Connection (R/W Mode) ............................................................................................................................................... 14 7.5 Serial 2-Wire Continuous Readout..................................................................................................................................................... 15 7.6 Serial 2-Wire Differential SSI Connection........................................................................................................................................... 15 7.7 1-Wire PWM Connection ................................................................................................................................................................ 16 7.8 Analog Output..................................................................................................................................................................................... 18 7.9 Analog Sin/Cos Outputs with External Interpolator ............................................................................................................................ 19 7.10 3-Wire Daisy Chain Mode................................................................................................................................................................. 20 7.11 2-Wire Daisy Chain Mode................................................................................................................................................................. 21 8 Application Information ........................................................................................................................................................... 22 8.1 AS5030 Programming ........................................................................................................................................................................ 23 8.1.1 OTP Programming Options ....................................................................................................................................................... 23 8.1.2 Reduced Power Mode Programming Options ........................................................................................................................... 23 8.2 AS5030 Read / Write Commands ...................................................................................................................................................... 23 8.2.1 16-bit Read Command............................................................................................................................................................... 23 8.2.2 16-bit Write Command............................................................................................................................................................... 24 8.2.3 18-bit OTP Read Commands ................................................................................................................................................... 24 8.2.4 18-bit OTP Write Commands .................................................................................................................................................... 25 8.3 OTP Programming Connection .......................................................................................................................................................... 26 8.3.1 Programming in Daisy Chain Mode ........................................................................................................................................... 26 8.4 Programming Verification ................................................................................................................................................................... 27 www.ams.com/AS5030 Revision 2.4 2 - 44