ams AS5510 10-bit Linear Incremental Position Sensor User Manual
AMS AS5510 is a 10-bit linear incremental position sensor that offers precise angle measurement with a resolution of 1.95µm/LSB. It employs a simple 2-pole magnet to measure lateral movement with an air gap of around 1.0mm. The device features an I²C interface, allowing for easy connectivity to microcontrollers. With its compact size and low power consumption, AS5510 is ideal for applications requiring accurate position sensing in limited spaces.
Annonce
Annonce
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
4
5
2
3
6
7
8
9
10
11
12
Revision History
General Description ............................................................................................................. 3
List of content ....................................................................................................................... 3
Board Description ................................................................................................................. 3
Pinout ................................................................................................................................... 4
Mounting the AS5510 Adapterboard .................................................................................... 5
Connecting the AS5510-AB ................................................................................................. 8
Software example ................................................................................................................ 9
Schematic and Layout ....................................................................................................... 10
Ordering Information .......................................................................................................... 11
Copyright ............................................................................................................................ 11
Disclaimer .......................................................................................................................... 11
Contact Information ............................................................................................................ 11
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 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 magnet
N S
AS5510
PCB
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 Revision 1.2 - 21/08/13 page 3/11
AS5510-AB-Manual
Figure 2:
AS5510 adapter board mounting and dimension
A
C
D
C
B
(A) (A) I2C and Power Supply
Connector
(B) I2C Adress selector
- Open: 56h (default)
- Closed: 57h
(C) Mounting holes 4x2.6mm
(D)AS5510 Linear Position Sensor
C C
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)
Pin A1 indicator
1 2 3
JP1
A
VSS ADR VDD
B
SDA SCL Test
AS5510
Description
Table 1:
Pin Description
Pin AB Pin board AS5510
J1: pin 3 A1
Symbol Type
VSS S www.ams.com
Negative supply pin, analog and digital ground.
Revision 1.2 - 21/08/13 page 4/11
AS5510-AB-Manual
JP1: pin 2 A2 ADR DI
J1: pin 4
J1: pin 2
J1: pin 1 n.c.
DO_OD
DI
DIO
S
A3
B1
B2
B3
VDD
SDA
SCL
Test
… digital output open drain
… digital input
… digital input/output
… supply pin
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
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
N S
AS5510
Airgap
PCB
22mm
JP1
4x2.6mm
AS5510
2mm www.ams.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
-X max
Bmax
1023d
Lin ear
0 ran ge
+X max
-Bmax
0d
Example 1:
Bmax = 50mT
25mT
18.5mT
12.5mT
Depending on Sensitivity setting
(register 0Bh)
X (Magnet position)
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 TD max
= ±1mm (X max
= 1mm) www.ams.com Revision 1.2 - 21/08/13 page 6/11
AS5510-AB-Manual
Sensitivity = ±25mT (Register 0Bh 01h)
Bmax = 25mT X = -1mm (= -X max
) Field
(mT)
= -25mT OUTPUT = 0
X = 0mm Field
(mT)
= 0mT OUTPUT = 511
X = +1mm (= +X max
) Field
(mT)
= +25mT OUTPUT = 1023
Dynamic range of OUTPUT over ±1mm: DELTA = 1023 – 0 = 1023 LSB
Resolution = TD max
/ 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 TD max
= ±1mm (X max
= 1mm): unchanged
Sensitivity = ±25mT (Register 0Bh 01h) : unchanged
Bmax = 20mT X = -1mm (= -X max
) Field
(mT)
= -20mT OUTPUT = 102
X = 0mm Field
(mT)
= 0mT OUTPUT = 511
X = +1mm (= +X max
) Field
(mT)
= +20mT OUTPUT = 920
Dynamic range of OUTPUT over ±1mm: DELTA = 920 – 102 = 818 LSB
Resolution = TD max
/ 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 B max
< 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 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)
MCU
I²C port
SCL SDA
2 x
2.2k ~ 10k
+2.5 ~ 3.6V
GND
Regulated
Power Supply
JP1
I²C ADDR = 56h
AS5510
JP1
I²C ADDR = 57h
Optional adapterboard
AS5510 www.ams.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) float magnetic_field;
// The value 511 is the middle point @ 0mT
// 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: case 2:
// Register [0Bh] <= 0 (+- 25mT range, 48.83uT/LSB) magnetic_field = (value - 511) * 0.04883; break;
// 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
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 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 Revision 1.2 - 21/08/13 page 11/11
Download
Annonce