Ams As5510 10-bit Linear Incremental Position Sensor With Digital Angle Output User Manual

AS5510 10-bit Linear Incremental Position Sensor with Digital Angle output

Product Information: AS5510

The AS5510 is a 10-bit linear incremental position sensor with a
digital angle output. It is designed to measure a lateral stroke of
0.5~2mm with air gaps around 1.0mm, depending on the magnet size.
The sensor can be switched to a power down state when not in use to
conserve power.

List of Content:

  • AS5510-WLCSP-AB: Adapterboard with AS5510
  • AS5000-MA4x2H-1: Axial magnet 4x2x1mm

Board Description:

The AS5510 adapter board is a simple circuit that allows for
quick testing and evaluation of the AS5510 linear encoder without
the need for a test fixture or PCB.

Mounting and Dimension:

AS5510 adapter board mounting and dimension

  • (A) I2C and Power Supply Connector
  • (B) I2C Address Selector – Open: 56h (default) / Closed:
    57h
  • (C) Mounting holes 4×2.6mm
  • (D) AS5510 Linear Position Sensor

Pinout:

Pin Configuration of AS5510

PinDescription
A1Indicator
J1VDD GND SDA SCL
JP1A VSS ADR VDD
TestAS5510

For more detailed information, please refer to the user manual.

Contact Information:

If you have any questions or need further assistance, please
contact:

Email: [email protected]

Phone: +1 123-456-7890

User Manual ­ AS5510 Adapterboard

AS5510
10-bit Linear Incremental Position Sensor with Digital Angle output

www.ams.com Downloaded from Arrow.com.

Revision 1.2 – 21/08/13

page 1/11

AS5510-AB-Manual

Table of Contents

1

General Description ………………………………………………………………………………………………. 3

2

List of content ……………………………………………………………………………………………………….. 3

3

Board Description………………………………………………………………………………………………….. 3

4

Pinout ………………………………………………………………………………………………………………….. 4

5

Mounting the AS5510 Adapterboard………………………………………………………………………… 5

6

Connecting the AS5510-AB ……………………………………………………………………………………. 8

7

Software example …………………………………………………………………………………………………. 9

8

Schematic and Layout …………………………………………………………………………………………. 10

9

Ordering Information ……………………………………………………………………………………………. 11

10

Copyright ……………………………………………………………………………………………………………. 11

11

Disclaimer ………………………………………………………………………………………………………….. 11

12

Contact Information……………………………………………………………………………………………… 11

Revision History

Revision 1.0 1.1 1.2

Date 1.09.2009 28.11.2012 21.08.2013

Owner AZEN

Description Initial revision Update Template Update, Figure Change

www.ams.com Downloaded from Arrow.com.

Revision 1.2 – 21/08/13

page 2/11

AS5510-AB-Manual

1 General Description
The AS5510 is a linear Hall sensor with 10 bit resolution and I²C interface. It can measure absolute position of lateral movement of a simple 2-pole magnet. The typical arrangement is shown below in (Figure 1).
Depending on the magnet size, a lateral stroke of 0.5~2mm can be measured with air gaps around 1.0mm. To conserve power, the AS5510 may be switched to a power down state when it is not used.
Figure 1: Linear Position Sensor AS5510 + Magnet

PCB

magnet NS
AS5510

2 List of content
Figure 2: List of content

Name
AS5510-WLCSP-AB AS5000-MA4x2H-1

Description
Adapterboard with AS5510 on it Axial magnet 4x2x1mm

3 Board Description
The AS5510 adapter board is a simple circuit allowing to test and evaluate the AS5510 linear encoder quickly without having to build a test fixture or PCB.
The adapterboard must be attached to a microcontroller via the I²C bus, and supplied with a voltage of 2.5V ~ 3.6V. A simple 2-pole magnet is placed on the top of the encoder.

www.ams.com Downloaded from Arrow.com.

Revision 1.2 – 21/08/13

page 3/11

AS5510-AB-Manual

Figure 2: AS5510 adapter board mounting and dimension

A B

C

C

D

C

C

(A) (A) I2C and Power Supply Connector
(B) I2C Adress selector – Open: 56h (default) – Closed: 57h
(C) Mounting holes 4×2.6mm (D)AS5510 Linear Position Sensor

4 Pinout
The AS5510 is available in a 6-pin Chip Scale Package with a ball pitch of 400µm.

Figure 3: Pin Configuration of AS5510 (Top View)

J1 VDD GND SDA SCL

Pin A1

indicator

1

2

3

JP1

A VSS ADR VDD

B SDA

SCL

Test

AS5510

Table 1: Pin Description

Pin AB board
J1: pin 3

Pin AS5510
A1

Symbol
VSS

Type
S

Description
Negative supply pin, analog and digital ground.

www.ams.com

Revision 1.2 – 21/08/13

page 4/11

Downloaded from Arrow.com.

AS5510-AB-Manual

JP1: pin 2 A2

J1: pin 4

A3

J1: pin 2

B1

J1: pin 1

B2

n.c.

B3

ADR
VDD SDA SCL Test

DI
S DI/DO_OD DI DIO

I²C address selection pin. Pull down by default (56h). Close JP1 for (57h). Positive supply pin, 2.5V ~ 3.6V I²C data I/O, 20mA driving capability I²C clock Test pin, connected to VSS

DO_OD DI DIO S

… digital output open drain … digital input … digital input/output … supply pin

5 Mounting the AS5510 Adapterboard

The AS5510-AB can be fixed to an existing mechanical system by its four mounting holes. A simple 2-poles magnet placed over or under the IC can be used.

Figure 4: AS5510 adapter board mounting and dimension

magnet NS

AS5510 PCB

Airgap

22mm

J1 VDD GND SDA SCL

28mm

JP1 4×2.6mm
AS5510

11mm

2mm

2mm www.ams.com Downloaded from Arrow.com.

18mm

Revision 1.2 – 21/08/13

page 5/11

AS5510-AB-Manual

The maximum horizontal travel amplitude depends on the magnet shape and size and magnetic strength (magnet material and airgap).
In order to measure a mechanical movement with a linear response, the magnetic field shape at a fixed airgap must be like on Figure 5:.
The linear range width of the magnetic field between North and South poles determines the maximum travel size of the magnet. The minimum (-Bmax) and maximum (+Bmax) magnetic field values of the linear range must be lower or equal to one of the four sensitivities available on the AS5510 (register 0Bh): Sensitivity = ± 50mT, ± 25mT, ±18.5mT, ±12.5mT
The 10-bit output register D[9..0] OUTPUT = Field(mT) * (511/Sensitivity) + 511 .
Figure 5: Magnet requirement

Magnet

N

S

Airgap
AS5510

Max. Travel Distance
Magnetic field (mT) measured on AS5510 surface with fixed airgap
10-bit result, output register AS5510

Bmax 1023d

-Xmax

Linear 0

range

+Xmax

Bmax = 50mT 25mT 18.5mT 12.5mT
Depending on Sensitivity setting (register 0Bh)
X (Magnet position)

Example 1:

-Bmax 0d

This is the ideal case: the linear range of the magnet is ±25mT, which fits to the ±25mT sensitivity setting of the AS5510. The resolution of displacement vs. output value is optimal.
Max. Travel Distance TDmax = ±1mm (Xmax = 1mm)

www.ams.com

Revision 1.2 – 21/08/13

page 6/11

Downloaded from Arrow.com.

AS5510-AB-Manual

Sensitivity = ±25mT (Register 0Bh 01h)

Bmax = 25mT X = -1mm (= -Xmax) X = 0mm X = +1mm (= +Xmax)

Field(mT) = -25mT Field(mT) = 0mT Field(mT) = +25mT

OUTPUT = 0 OUTPUT = 511 OUTPUT = 1023

Dynamic range of OUTPUT over ±1mm: DELTA = 1023 ­ 0 = 1023 LSB

Resolution = TDmax / DELTA = 2mm / 1024 = 1.95µm/LSB

Example 2:

Using the same settings on the AS5510, the linear range of the magnet over the same displacement of ±1mm is now ±20mT instead of ±25mT due to a higher airgap or a weaker magnet. In that case the resolution of displacement vs. output value is lower.

Max. Travel Distance TDmax = ±1mm (Xmax = 1mm): unchanged Sensitivity = ±25mT (Register 0Bh 01h) : unchanged

Bmax = 20mT X = -1mm (= -Xmax) X = 0mm X = +1mm (= +Xmax)

Field(mT) = -20mT Field(mT) = 0mT Field(mT) = +20mT

OUTPUT = 102 OUTPUT = 511 OUTPUT = 920

Dynamic range of OUTPUT over ±1mm: DELTA = 920 ­ 102 = 818 LSB

Resolution = TDmax / DELTA = 2mm / 818 = 2.44µm/LSB

In order to keep the best resolution of the system, it is recommended to adapt the sensitivity as close as the Bmax of the magnet, with Bmax < Sensitivity to avoid the saturation of the output value.

If a magnet holder is used, it must be made of a non-ferromagnetic material in order to keep the maximum magnetic field strength and maximum linearity. Materials as brass, copper, aluminium, stainless steel are the best choices to make this part.

www.ams.com Downloaded from Arrow.com.

Revision 1.2 – 21/08/13

page 7/11

AS5510-AB-Manual

6 Connecting the AS5510-AB
Two wires (I²C) only are required for the communication with the host MCU. Pull -up resistors are needed on both SCL and SDA line. The value depends on the length of the wires, and the amount of slaves on the same I²C line. The power supply delivering between 2.7V ~ 3.6V is connected to the adapter board and the pull-up resistors. A second AS5510 adapterboard (optional) can be connected on the same line. In that case, the I²C address must be changed by closing JP1 with a wire.

Figure 6: Typical connection to a host MCU (2nd adapterboard is optional)

J1 VDD GND SDA SCL

MCU
I²C port
SCL SDA

2 x 2.2k ~ 10k

JP1 I²C ADDR = 56h

J2

+2.5 ~ 3.6V
GND Regulated Power Supply

AS5510

J1 VDD GND
SDA SCL

J2

JP1 I²C ADDR = 57h
Optional adapterboard
AS5510

www.ams.com Downloaded from Arrow.com.

Revision 1.2 – 21/08/13

page 8/11

AS5510-AB-Manual

7 Software example

After powering up the system, a delay of >1.5ms must be performed before the first I²C Read/Write command with the AS5510.

The initialization after power up is optional. It consists of:

Sensitivity configuration (Register 0Bh)

Magnet polarity (Register 02h bit 1)

Slow or Fast mode (Register 02h bit 3)

Power Down mode (Register 02h bit 0)

Reading the magnetic field value is straight forward. The following source code reads the 10 -bit magnetic field value, and converts to the magnetic field strength in mT (millitesla).

Example: Sensitivity configured to +-50mT range (97.66mT/LSB); Polarity = 0; default setting:

– D9..0 value = 0 means -50mT on the hall sensor.

– D9..0 value = 511 means 0mT on the hall sensor (no magnetic field, or no magnet).

– D9..0 value = 1023 means +50mT on the hall sensor.

Void main_loop(unsigned char Sensitivity_Mode) {
unsigned char Data1, Data2; short value;

// 10-bit output value (0~1023)

// The value 511 is the middle point @ 0mT

float magnetic_field;

// Value of the magnetic field in mT

Data_LSB = I2C_Read8(I2C_ADDR, 0x00); // Read D7..0 Data_MSB = I2C_Read8(I2C_ADDR, 0x01); // Read D9..8 + OCF + Parity

value = ((Data_MSB & 0x03)<<8) + Data_LSB;

switch (Sensitivity_Mode) // Sensitivity_Mode is the value stored in

// register 0Bh

{

case 0:

// Register [0Bh] <= 0 (+- 50mT range, 97.66uT/LSB)

magnetic_field = (value – 511) * 0.09766;

break;

case 1:

// Register [0Bh] <= 0 (+- 25mT range, 48.83uT/LSB) magnetic_field = (value – 511) * 0.04883; break;

case 2:

// Register [0Bh] <= 0 (+- 12.5mT range, 24.41uT/LSB) magnetic_field = (value – 511) * 0.02441; break;

www.ams.com

Revision 1.2 – 21/08/13

page 9/11

Downloaded from Arrow.com.

AS5510-AB-Manual

case 3:

// Register [0Bh] <= 0 (+- 18.7mT range, 36.62uT/LSB)

magnetic_field = (value – 511) * 0.03662;

break;

}

printf(“Decimal 10-bit value = %u n”, value); printf(“Magnetic field value = %.3fmT n”, magnetic_field);

}

8 Schematic and Layout
Figure 7: AS5510-AB Schematic

Figure 8: AS5510-AB Layout

www.ams.com Downloaded from Arrow.com.

Revision 1.2 – 21/08/13

page 10/11

AS5510-AB-Manual

9 Ordering Information

Table 2: Ordering Information

Ordering Code

Description

comments

AS5510-WLCSP-AB AS5510 Adapterboard Adapterboard with sensor in wlcsp package

10 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.

11 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.

12 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 Downloaded from Arrow.com.

Revision 1.2 – 21/08/13

page 11/11

References

Documents / Resouces

Download manual
Here you can download full pdf version of manual, it may contain additional safety instructions, warranty information, FCC rules, etc.


Related Manuals