AS5x40/AS5x45. User Manual AS5x40/AS5x45-AB-v bit Rotary Position Sensor with Digital Angle (Interface), ABI, UVW and PWM output

Similar documents
ams AG austriamicrosystems AG is now The technical content of this austriamicrosystems application note is still valid. Contact information:

AS General Description. 2 The AS5245 Adapter board. AS5245-AB-v1.0 Adapterboard OPERATION MANUAL. Programmable Magnetic Rotary Encoder

User Manual AS5311 AB 1.1 AS bit Linear Incremental Position Sensor with ABI and PWM output. Revision 1.1 /

ams AG austriamicrosystems AG is now The technical content of this austriamicrosystems application note is still valid. Contact information:

AS Bit 360 Programmable Magnetic Rotary Encoder. 1 General Description. 2 Key Features. 3 Applications. Benefits.

Parameter Symbol Min Typ Max Unit Note Strip Length L 300±2 mm Active length = 300mm Strip Width W 10±0.2 mm Active width = 10mm 1,3±0, 15

AS Bit Programmable Magnetic Rotary Encoder. 3 Key Features. 1 General Description. 2 Benefits. 4 Applications. Data Sheet

AS5304 / General Description. 2 Features of the AS5304/-06 Evaluation Kit. Integrated Hall ICs for Linear and Off-Axis Rotary Motion Detection

IMC-Hall Current Sensor

Please find the latest version of this datasheet and related information such as application notes on our website

ams AG austriamicrosystems AG is now The technical content of this austriamicrosystems application note is still valid. Contact information:

ams AG austriamicrosystems AG is now The technical content of this austriamicrosystems application note is still valid. Contact information:

MLX83100 Automotive DC Pre-Driver EVB83100 for Brushed DC Applications with MLX83100

- Industrial applications such as: - Motion control - Robotics - Brush-less DC motor commutation - Hand tools. - Automotive applications:

UHF RFID Micro Reader Reference Design Hardware Description

TSL257. High-Sensitivity Light-to-Voltage Converter. General Description. Key Benefits & Features

AS5045 / AS5145 Demoboard

Data Sheet. AEAT-6600-T16 10 to16-bit Programmable Angular Magnetic Encoder IC. Description. Features. Specifications.

Data Sheet AS5043 Programmable 360 Magnetic Angle Encoder with Absolute SSI and Analog Outputs 1 General Description 3 Key Features 2 Benefits

AS5311. High Resolution Magnetic Linear Encoder. 1 General Description. 2 Key Features. 3 Applications. Preliminary Data Sheet

AS BIT PROGRAMMABLE HIGH SPEED MAGNETIC ROTARY ENCODER

1 General Description

Internal VDDA typ. 3.3V. Delay. Thermal Shutdown. Current Adjust RIE RIH. Hold Current adjust. Energising Current adjust

AS1101, AS1102, AS1103, AS1104 Low-Dropout LED Drivers

AS5045B. Key Benefits & Features. Simple user-programmable zero position and settings

1 General Description

AN3134 Application note

LCD display (for standalone mode) Figure 1: AS5X40 Demoboard hardware with mounted magnet knob

AS Step (8.5 bit) Programmable High Speed Magnetic Rotary Encoder

3 Key Features. 1 General Description. 4 Applications. 2 Benefits AS5043 PROGRAMMABLE 360 MAGNETIC ANGLE ENCODER WITH ABSOLUTE SSI AND ANALOG OUTPUTS

MS23SL Magnetic Linear Sensor With Smart Limit Switches

Figure 1: Functional Block Diagram

Figure 1: Functional Block Diagram

Rotational Absolute Magnetic Kit Encoder Version 33 LP and HP Displacement Sensor

10-bit Absolute Magnetic Rotary Encoder

AS5043. Programmable 360 Magnetic Angle Encoder with Absolute SSI and Analog Outputs. General Description. Key Benefits & Features

AS5304 / AS5306 Integrated Hall ICs for Linear and Off-Axis Rotary Motion Detection

EVB /433MHz Transmitter Evaluation Board Description

EVB /915MHz Transmitter Evaluation Board Description

US2882. Bipolar Hall Switch Very High Sensitivity. Features and Benefits. Application Examples. 1 Functional Diagram 2 General Description

MPS160 Multiplying Encoder ASIC DEVICE SPECIFICATION. Revision 2.3

Features. Applications. Plastic Housing. Sensor PCB Assembly. Plastic Hub. Plastic Base Plate. 2 x screws

AS1357 Programmable Triple LDO

TSL238T. High-Sensitivity Light-to-Frequency Converter. General Description. Key Benefits & Features

ams AG austriamicrosystems AG is now The technical content of this austriamicrosystems datasheet is still valid. Contact information:

ams AG austriamicrosystems AG is now The technical content of this austriamicrosystems datasheet is still valid. Contact information:

AS5046 Programmable 12-Bit 360 Magnetic Angle Encoder with Absolute 2-Wire Serial and Analog Interfaces

Single Turn Servo Mount Hall Effect Sensor in Size 05 (12.7 mm)

APPLICATION NOTE. ATA6629/ATA6631 Development Board V2.2 ATA6629/ATA6631. Introduction

ams AG austriamicrosystems AG is now The technical content of this austriamicrosystems datasheet is still valid. Contact information:

Rotational Position Sensor, Kit Type, Hall Effect Technology

EBR7912EBI-CA-KA Incremental Sensor Module with Reference

ams AG austriamicrosystems AG is now The technical content of this austriamicrosystems datasheet is still valid. Contact information:

ams AG Technical content still valid 1 General Description 2 Key Features 3 Applications 4 Pin Configuration

Throttle Position Sensor in Hall Effect Technology Hollow and D-Shaft Versions

ams AG TAOS Inc. is now The technical content of this TAOS datasheet is still valid. Contact information:

RM36. Rotation sensors RM36 Absolute rotary encoder

AEAT-8800-Q24. Magnetic Encoder IC 10- to 16-Bit Programmable Angular Magnetic Encoder. Data Sheet. Description. Key Features.

Functional description of BSD-01v2 Module

Table of Contents 1 Functional Diagram General Description Glossary of Terms Absolute Maximum Ratings Pin Definitions and

Evaluation Board for the AAT2428 Sixteen-Channel White LED Driver Solutionwith LED Current and Timing Control

Figure 1: Functional Block Diagram

Throttle Position Sensor in Hall Effect Technology Hollow and D-Shaft Versions

FLEXRAY SK-91F467-FLEXRAY USING SPI ON SK-91F467- FLEXRAY 32-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

SKY LF: GHz Seven-Bit Digital Attenuator with Serial and Parallel Drivers

ams AG austriamicrosystems AG is now The technical content of this austriamicrosystems datasheet is still valid. Contact information:

Figure 1: AAT2469/AAT2499 Evaluation Board Picture.

RMB20 OnAxis TM magnetic encoder module

40 Amp Digital Bidirectional PWM Motor Controller with Regenerative Braking BIDIR-340-DR

EVAL6235N. Demonstration board for L6235 DMOS driver for 3-phase brushless DC motor. Description. Features

Depending on the application the AS5311 accepts multi-pole strip magnets as well as multi-pole ring magnets, both radial and axial magnetized.

AS1976, AS1977 Ultra-Low Current, 1.8V Comparators

EDE1204 Bi-Polar Stepper Motor IC

AS mA Dual Rail Linear Regulator. ! Input Voltage: 0.7V to 4.5V. ! Bias Supply Voltage: 2.5V to 5.5V

Data Sheet. AEDT-9340 Series High Temperature 115 C 1250/2500 CPR 6-Channel Commutation Encoder. Description. Features.

AG930-07E Angle Sensor Evaluation Kit

LCC-10 Product manual

MDC V, 2A Brushless Controller. User s Guide E. Landon Drive Anaheim, CA

Evaluation Board for the AAT1210 High Power DC/DC Boost Converter

Data Sheet. AEDS-9240 Series 360/720 CPR Commutation Encoder Module. Features. Description. Applications

SKY LF: GHz Five-Bit Digital Attenuator with Serial-to-Parallel Driver (0.5 db LSB)

NSE-5310 Miniature Position Encoder with Zero Reference and I²C Output

MAR2100 MARADIN MEMS DRIVE AND CONTROL

AS Dual Step-Down Converter with Battery Monitoring

SE AAA-000 RE SE AAA-000 RE UA AAA-000 BU UA AAA-000 BU UA AAA-000 CA. SE for TSOT, UA for TO-92(Flat) BU for Bulk, CA for Ammopack

1 General Description. 2 Benefits. 3 Key Features. 4 Applications. AS5304 / AS5306 Integrated Hall ICs for Linear and Off-Axis Rotary Motion Detection

ACPL Data Sheet. Three-Channel Digital Filter for Sigma-Delta Modulators. Description. Features. Specifications.

EVAL-RHF310V1. EVAL-RHF310V1 evaluation board. Features. Description

MagAlpha MA120 Angular Sensor for Brushless Motor Commutation

Figure 1: AAT1278 Evaluation Board Picture.

AS13985 Micropower 150mA Low-Noise LDO

Data Sheet. AEDB-9340 Series 1250/2500 CPR Commutation Encoder Modules with Codewheel. Features. Description. Applications

MT6804 Magnetic Rotary Encoder IC

SKY LF: DC-3.0 GHz Six-Bit Digital Attenuator with Serial or Parallel Driver (0.5 db LSB)

AT15291: Migrating QTouch Designs from SAM D MCUs to SAM C MCUs. Scope. Features. QTouch APPLICATION NOTE

SNAP01 Class AB Power Amplifier

MT6801 Magnetic Rotary Encoder IC

EBI7903CAx-DA-IF Incremental Sensor Module

AN2979 Application note

TLE5014 Programmer. About this document. Application Note

Transcription:

User Manual AS5x40/AS5x45-AB-v2.1 AS5x40/AS5x45 10-bit Rotary Position Sensor with Digital Angle (Interface), ABI, UVW and PWM output www.ams.com Revision 1.4 / 09.08.2013 page 1/16

Table of Contents 1 General Description... 3 2 The adapter board... 3 2.1 Board description... 3 2.2 Mounting the adapter board... 4 3 Adapterboard and pinout... 6 4 Operation cases... 8 4.1 Standalone SSI output mode... 8 4.2 Standalone PWM output mode... 9 4.3 Standalone incremental Output... 10 4.4 Daisy chain mode... 12 5 Programming the... 13 6 differences to AS5045... 14 7 AB-Hardware... 15 7.1 -AB-2.1 schematics... 15 7.2 AB 2.1 PCB layout... 15 8 Copyright... 16 9 Disclaimer... 16 10 Contact Information... 16 Revision History Revision Date Owner Description 1.0 01.10.2009 Initial revision 1.3 05.07.2013 azen Updated to new template 1.4 09.08.2013 azen Minor corrections www.ams.com Revision 1.4 / 09.08.2013 page 2/16

1 General Description The AS5x40/AS5x45 series are contactless magnetic position sensors for accurate angular measurement over a full turn of 360. They are 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. (See Figure 1:) Figure 1: Rotary Position Sensor + Magnet 2 The adapter board The adapter board is a simple circuit allowing test and evaluation of the AS5x40/AS5x45 position sensor without building a test fixture or PCB. 2.1 Board description The PCB can be used as standalone unit or attached to a microcontroller. The standalone operation requires a 5V power supply only; the magnet s angle can be read on the PWM or analog output. (See Figure 2:). www.ams.com Revision 1.4 / 09.08.2013 page 3/16

Figure 2: Adapterboard AS5x40/AS5x45magnetic position sensor connector (Prg, power supply, serial interface) 4 x 2.6mm mounting holes connector (PWM, incremental and status output) 2.2 Mounting the adapter board A diametric magnet must be placed over on under the AS5x40/AS5x45 sensor and should be centered on the middle of the package with a tolerance of 0.5mm. The airgap between the magnet and the sensor casing should be maintained in the range 0.5mm~2mm. The magnet holder must not be ferromagnetic. Materials as brass, copper, aluminum, stainless steel are the best choices to make this part. (See Figure 3:) www.ams.com Revision 1.4 / 09.08.2013 page 4/16

Figure 3: adapter board mounting and dimension Magnet 0.5~2mm AS5x4x 22mm PWM Ind B A Mag Mag DEC INC Prg 5V 3V3 CSn CLK DO 28mm Diametral Magnet 4x2.6mm N S 11mm 18mm www.ams.com Revision 1.4 / 09.08.2013 page 5/16

3 Adapterboard and pinout The Adapterboard Pinout is shown below. Figure 4: adapter board connectors and sensor pinout PWM Ind B A Mag Mag DEC INC MagINCn 1 16 VDD5V Prg 5V 3V3 CSn CLK DO MagDECn 2 15 VDD3V3 AS5x40-AB-2.1 AS5x45-AB-2.1 A_LSB_U B_Dir_V NC Index_W VSS Prog 3 4 5 6 7 AS5x40/ AS5x45 14 13 12 11 10 8 9 NC NC PWM_LSB CSn CLK DO Table 1: Pin description Pin# Board Pin# AS5x40 AS5x45 Symbol Board Type Description JP1-1 7 S Supply ground JP1-2 9 DO DO_T Data Output of Synchronous Serial Interface JP1-3 10 CLK DI_ST Clock Input of Synchronous Serial Interface; Schmitt-Trigger input JP1-4 11 CSn DI_PU_ST JP1-5 15 3V3 S 3V-Regulator Output JP1-6 16 5V S 5V Supply JP1-7 8 Prg DI_PD JP2-1 7 S Supply ground JP2-2 1 MagINC DO_OD JP2-3 2 MagDEC DO_OD Chip Select, active low; Schmitt-Trigger input, internal pull-up resistor (~50k ) connect to VSS in incremental mode OTP Programming Input and Data Input for Daisy Chain mode. Internal pulldown resistor (~74k ). May be connected to VSS if programming is not used Magnet Field Magnitude INCrease; active low, indicates a distance reduction between the magnet and the device surface. Magnet Field Magnitude DECrease; active low, indicates a distance increase between the device and the magnet JP2-4 3 A DO AS5140 AS5145 (programmed) only Mode1.x: Quadrature A channel Mode2.x: Least Significant Bit www.ams.com Revision 1.4 / 09.08.2013 page 6/16

Pin# Board Pin# AS5x40 AS5x45 Symbol Board Type Description Mode3.x: U signal (phase1) JP2-5 4 B DO JP2-6 6 Ind DO AS5140 AS5145 (programmed) only Mode1.x: Quadrature B channel quarter period shift to channel A. Mode2.x: Direction of Rotation Mode3.x: V signal (phase2) AS5140 AS5145 (programmed) only Mode1.x and Mode2.x : Index signal indicates the absolute zero position Mode3.x: W signal (phase3) AS5045 AS5145 (unprogrammed) Mode input, connect to VDD5 (Fast mode) or (Slow mode); do not change during operation JP2-7 12 PWM DO Pulse Width Modulation of approx. 1kHz; LSB in Mode3.x Pin types: DO_OD digital output open drain S supply pin DI_PD digital input pull-down DO_T digital output /tri-state DI_PU digital input pull-up ST schmitt-trigger input DI digital input DO digital output www.ams.com Revision 1.4 / 09.08.2013 page 7/16

4 Operation cases The most complete and accurate solution for a MCU to read the angle of a magnet is the serial interface. 4.1 Standalone SSI output mode The serial word contains 16 bits for AS5x40 or 18 bits for AS5x45 and consists of 10 bit (AS5x40) or 12 bit (AS5x45) angle value and some other indicator bits like MagINC, MagDEC, which can be read at the same time. Figure 5: Using the analog output with the adapter board MCU VDDp out out in PWM Ind B A Mag Mag DEC INC Prg 5V 3V3 CSn CLK DO N S +5V +3V3 Regulated Power Supply OR 3.3V reg. Power Supply www.ams.com Revision 1.4 / 09.08.2013 page 8/16

4.2 Standalone PWM output mode The provides a pulse width modulated output (PWM), whose duty cycle is proportional to the measured angle. The PWM signal ( pin #7) with a period of 1025us (1us step) and 5V pulse voltage can be connected to the capture/timer input of a microcontroller in order to decode the angle value. Figure 6: Using the PWM output with the adapter board MCU in VDDp PWM Ind B A Mag Mag DEC INC Prg 5V 3V3 CSn CLK DO +5V Regulated Power Supply N S www.ams.com Revision 1.4 / 09.08.2013 page 9/16

Figure 7: PWM duty cycle depending on magnet position Angle PWMIN 0 deg (Pos 0) 1µs 1025µs PWMAX 359.65 deg (Pos 1023) 1024µs 4.3 Standalone incremental Output Three different incremental output modes are possible with quadrature A/B being the default mode (two-channel quadrature, step / direction incremental signal (LSB) and the direction bit in clockwise (CW) and counter-clockwise (CCW) direction. The pre-programmed version AS5145-I10 provides a 10bit and AS5145-I12 a 12bit incremental output. The AS5045 doesn t provide an incremental output. For further information, please refer to the datasheet. www.ams.com Revision 1.4 / 09.08.2013 page 10/16

Figure 8: Using the Incremental output with the adapter board MCU VDDp in in in PWM Ind B A Mag Mag DEC INC Prg 5V 3V3 CSn CLK DO +5V Regulated Power Supply N S www.ams.com Revision 1.4 / 09.08.2013 page 11/16

4.4 Daisy chain mode By using more than one adapter board, a setup in daisy chain mode is possible. Note: In this mode capacitor C3 (refer to Fig.12) must be disconnected when using the 1nF capacitor shown in Fig.9 or directly replaced by this capacitor. The serial data of all connected devices is read from the DO pin of the first device in the chain. The Prog pin of the last device in the chain should be connected to VSS. The length of the serial bit stream increases with every connected device (board) by n * (16+1) bits. Due to R = 100R and C = 1nF, the CLK is limited the maximum 1MHz. Figure 9: Using Daisy-Chain mode with the adapter board MCU VDDp out out in PWM Ind B A Mag Mag DEC INC +5V Regulated Power Supply PWM Ind B A Mag Mag DEC INC Prg 5V 3V3 CSn CLK DO N S 100R 1nF Prg 5V 3V3 CSn CLK DO N S next Board www.ams.com Revision 1.4 / 09.08.2013 page 12/16

5 Programming the After power-on, programming the 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 / 10 bit for AS5x40 and 12 bit for AS5x45) and some mode settings (please refer to datasheet). Data must be valid at the rising edge of CLK. After writing data into the OTP register it can be permanently programmed by rising the Prog pin to the programming voltage V PROG of 7.3-7.5V. 16 CLK pulses must be applied to program the fuses. For exiting the programming mode, the chip must be reset by a power-on-reset. The programmed data is available after the next power-up. Figure 10: Programming the MCU out VDDp out out PWM Ind B A Mag Mag DEC INC Prg 5V 3V3 CSn CLK DO +5V Regulated Power Supply N S www.ams.com Revision 1.4 / 09.08.2013 page 13/16

6 differences to AS5045 The Table below shows the differences between and AS5045 Table 2: Differences / AS5045 Building Block AS5045 Resolution 12bits, 0.088 /step. 10bit, 0.35 /step Data length incremental encoder Pins 1 and 2 Pin 6 Pin 12 sampling frequency Propagation delay Transition noise (rms; 1sigma) OTP programming options read: 18bits (12bits data + 6 bits status) OTP write: 18 bits (12bits zero position + 6 bits mode selection) Not used Pin 3: not used Pin 4:not used MagINCn, MagDECn: same feature as, additional OTP option for redyellow-green magnetic range MODE pin, switch between fast and slow mode PWM output: frequency selectable by OTP: 1µs / step, 4096 steps per revolution, f=244hz 2µs/ step, 4096 steps per revolution, f=122hz selectable by MODE input pin: 2.5kHz, 10kHz 384µs (slow mode) 96µs (fast mode) 0.03 degrees max. (slow mode) 0.06 degrees max. (fast mode) zero position, rotational direction, PWM disable, 2 Magnetic Field indicator modes, 2 PWM frequencies read: 16bits (10bits data + 6 bits status) OTP write: 16 bits (10bits zero position + 6 bits mode selection) quadrature, step/direction and BLDC motor commutation modes Pin 3:incremental output A_LSB_U Pin 4:incremental output B_DIR_V MagINCn, MagDECn indicate in-range or out-of-range magnetic field plus movement of magnet in z-axis Pin 6:Index output PWM output: 1µs / step, 1024 steps per revolution, 976Hz PWM frequency fixed at 10kHz @10bit resolution 48µs 0.12 degrees zero position, rotational direction, incremental modes, index bit width www.ams.com Revision 1.4 / 09.08.2013 page 14/16

7 AB-Hardware Below the schematic and layout can be found. 7.1 -AB-2.1 schematics Figure 11: -AB-2.1-Schematics A B C MagINCn 1 MagDECn 2 A 3 B 4 5 Index 6 7 PROG 8 C3 100n U1 MagINCn VDD5V MagDECn VDD3V3 A_LSB_U nc B_DIR_V nc nc PWM_LSB Index_W CSn VSS CLK Prog DO 16 15 14 13 12 11 10 9 PWM CSn CLK DO 3.3V 5V C1 C2 10u/10V 10u/10V 3.3V 5V PWM Index B A MagDECn MagINCn DO CLK CSn PROG 7 6 5 4 3 2 1 Header 7 1 2 3 4 5 6 7 Header 7 A B C 7.2 AB 2.1 PCB layout Figure 12: -AB-2.1-Layout www.ams.com Revision 1.4 / 09.08.2013 page 15/16

8 Copyright Copyright ams AG, Tobelbader Strasse 30, 8141 Unterpremstätten, 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. 9 Disclaimer Devices sold by ams AG are covered by the warranty and patent indemnification provisions appearing in its Term of Sale. ams AG makes no warranty, express, statutory, implied, or by description regarding the information set forth herein. ams 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 ams AG for current information. This product is intended for use in 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 ams AG for each application. This Product is provided by ams AS IS and any express or implied warranties, including, but not limited to the implied warranties of merchantability and fitness for a particular purpose are disclaimed. ams 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 ams AG rendering of technical or other services. 10 Contact Information Headquarters ams AG Tobelbader Strasse 30 8141 Unterpremstaetten Austria T. +43 (0) 3136 500 0 For Sales Offices, Distributors and Representatives, please visit: http://www.ams.com/contact www.ams.com Revision 1.4 / 09.08.2013 page 16/16