User Manual – AS5304/AS5306 – AB – 2.1 AS5304/AS5306 160-step Linear Incremental Position Sensor with Linear analog and ABI output www.ams.com Revision 1.1 / 09.07.2013 page 1/9 User Manual – AS5304/AS5306 – AB – 2.1 Table of Contents 1 General Description ............................................................................................................. 3 2 The AS5304/5306 adapter board......................................................................................... 3 2.1 Board description ................................................................................................................. 3 2.2 Mounting the AS5304/AS5306 adapter board ..................................................................... 4 3 AS5304/AS5306 adapter board and pinout ......................................................................... 5 4 Operation cases ................................................................................................................... 6 5 AS5304 Differences to AS5306 ........................................................................................... 7 6 AS5304/AS5306 adapter board hardware ........................................................................... 8 6.1 AS5304/AB5306 – AB – 2.1 Adapterboard schematics....................................................... 8 6.2 AS5304/AS5306 – AB – 2.1 PCB layout.............................................................................. 8 7 Copyright .............................................................................................................................. 9 8 Disclaimer ............................................................................................................................ 9 9 Contact Information .............................................................................................................. 9 Revision History Revision Date 1.0 01.10.2009 1.1 09.07.2013 www.ams.com Owner Description Initial revision azen Updated to new template Revision 1.1 / 09.07.2013 page 2/9 User Manual – AS5304/AS5306 – AB – 2.1 1 General Description The AS5304 and AS5306 are single-chip IC’s with integrated Hall elements for measuring linear motion using multi-pole magnetic strips. The AS5304/AS5306 are mounted off-axis underneath a multi-pole magnetized strip and provides a quadrature incremental output with 40 pulses per pole period (resolution of 25µm per step) at speeds of up to 20 meters/sec. A single index pulse is generated once for every pole pair at the Index output. The pole pair length is 4mm (2mm north/ 2mm south). The chip accepts a magnetic field strength down to 5mT (peak). Figure 1: Linear Position Sensor AS5304 + Multipole Magnetstrip 2 2.1 The AS5304/5306 adapter board Board description The AS5304/AS5306 adapter board is a simple circuit allowing, testing and evaluating the AS5304/AS5306 linear encoders quickly without having to build a test fixture or PCB. The normal operation requires only a 5V power supply, the quadrature AB outputs are attached to a microcontroller of quadrature counter. Figure 2: AS5304/AS5306 AB JP1 connector (Power supply, quadrature, signal level, index) AS5304/AS5306 linear & rotary motion sensor 4 x 2.6mm mounting holes www.ams.com Revision 1.1 / 09.07.2013 page 3/9 User Manual – AS5304/AS5306 – AB – 2.1 2.2 Mounting the AS5304/AS5306 adapter board A multipole magnetic strip, pole pair length = 4mm must be placed over the AS5304/AS5306 as shown on Figure 3. The middle axis of the strip and of the AS5304/AS5306 ICs is shifted by 1mm. The airgap between the magnet and the AS5304/AS5306 casing should be maintained below 0.8mm. Note that the strip side facing the AS5304/AS5306 ICs the opposite side of the metallic tape. The magnet holder must not be ferromagnetic. Materials as brass, copper, aluminum, stainless steel are the best choices to make this part. Figure 3: AS5304/AS5306 adapter board mounting and dimension ≤ 0.8mm AS5304 Strip Magnet PCB Metal tape (holder) 22mm JP1 Ind AO B A GND 5V 28mm 4x2.6mm AS5304 11mm Strip Magnet AS5304 18mm Strip Magnet 1 mm www.ams.com AS5304 Revision 1.1 / 09.07.2013 page 4/9 User Manual – AS5304/AS5306 – AB – 2.1 3 AS5304/AS5306 adapter board and pinout Figure 4: AS5304/AS5306 adapter board connectors and encoder pinout 1 20 ZPZ Ind AO B A GND A 2 19 test VDDP 3 18 test B 4 17 test test 5 16 VDDA_Hall AO 6 15 test_GND VDD 7 14 test Index 8 13 test test 9 12 test test 10 11 test 5V AS5304A AS5304A VSS JP1 Table 1: Pin description JP1 Pin# Board Pin# 1 Symbol Type Description 3, 7, 16 5V S Positive supply voltage, 4.5V to 5.5V 2 1 GND S Supply ground 3 2 A DO Clock Input of Synchronous Serial Interface; SchmittTrigger input AS530X 4 4 B DO Chip Select for serial data transmission, active high; Schmitt-Trigger input, external pull-down resistor (~50k) required in readonly mode 5 6 AO AO Data output / command input for digital serial interface 6 8 INDEX DO Command input for digital serial interface. Connect to GND if not used. Pin types: S: supply pin DO: digital output AO: analog output www.ams.com Revision 1.1 / 09.07.2013 page 5/9 User Manual – AS5304/AS5306 – AB – 2.1 4 Operation cases Connect a regulated power supply on 5V (pin #1) and GND (pin #2). Connect the A and B outputs to a quadrature counter or microcontroller inputs. The index output is optional, if a pulse is needed at each magnet pole pair transition. For more information, please refer to the AS5304/AS5306 datasheet. Figure 5: Using the analog output with the adapter board MCU or quadrature counter A B JP1 +5V Ind AO B A GND 5V GND Regulated Power Supply AS5304 www.ams.com Revision 1.1 / 09.07.2013 page 6/9 User Manual – AS5304/AS5306 – AB – 2.1 5 AS5304 Differences to AS5306 Table 2: Differences AS5304 & AS5306 Building Block AS5304 AS5306 Ring magnet radius 2mm 1.2mm Vertical Distance between Magnet and IC ≤0.8mm ≤0.4mm Resolution 1 LSB = 25µm 1 LSB = 15µm Magnetic pole pair lenght 4mm 2.4mm Magnetic ring diameter = [pole length] * [number of pole pairs] / π 4 * 22 / 3.14 = 28.01mm 2.4 * 22 / 3.14 = 16.8mm Maximum linear travelling speed = 5000 * [pole pair length] Max. linear travelling speed = 4mm * 5000 1/sec = 20,000mm/sec = 20m/sec Max. linear travelling speed = 2.4mm * 5000 1/sec = 12,000mm/sec = 12m/sec Power supply current min. 25mA ; max. 35mA min. 20mA ; max. 30mA www.ams.com Revision 1.1 / 09.07.2013 page 7/9 User Manual – AS5304/AS5306 – AB – 2.1 6 6.1 AS5304/AS5306 adapter board hardware AS5304/AB5306 – AB – 2.1 Adapterboard schematics Figure 6: AS5304/AS5306-AB-2.1 schematics 6.2 AS5304/AS5306 – AB – 2.1 PCB layout Figure 7: AS5304/AS5306-AB-2.1 layout www.ams.com Revision 1.1 / 09.07.2013 page 8/9 User Manual – AS5304/AS5306 – AB – 2.1 7 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. 8 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. 9 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.1 / 09.07.2013 page 9/9