AMS AS5311 Operation Manual Download Page 3

3

 

Operating the AS5311 Demoboard 

The AS5311 demoboard can be used in several ways: 

 

As standalone unit supplied by a 9V battery 

Connect a 9V battery to the battery connector on the top right side of the board. No other connections are required. 

 

As standalone unit supplied by an USB port 

Connect the demoboard to a PC using a USB/USB cable (included in demoboard shipment). The board is supplied by the 5V 

supply of the USB port. No other connections are required. 

3.1

 

Hardware Indicators and Connectors 

3.1.1

 

Graphic LCD display 

The LCD display shows the realtime absolute and relative position of the magnet: 

- The 

absolute

 

position

 is read from the AS5311 serial output. The resolution is 0.488µm = 4096 positions per pole pair 

(2mm). To use this feature with the onboard encoder, switch SW1 must be on position 

INT

- The 

relative

 

position

 is read from the incremental counter connected on the AB outputs of the AS5311. The resolution is 

1.95µm / step. To use this feature with the onboard encoder, jumpers P1 and P2 (Bottom side) must be 

CLOSED

 

Moving the slider from right to left will increase the absolute value until 4095 (1999µm) with 0.488µm steps, then returns to 

0. 

The incremental counter will increment on the same way with 1.95µm steps. To reset the relative position, press the push 

button S1. 

 
The magnet status indicator   (magnet OK), 

U

 (magnet too close or too far, reduced accuracy), 

±

 (magnet too close or 

too far , values not valid and display stopped) is related to the magnet position. 

 

 

 

 

 

 

Figure 2: LCD display in standalone mode (9V battery or USB powered without GUI) 

 

3.1.2

 

PWM LED 

Absolute position in a pole pair (2mm) 

12 bit value (0 ~ 4095) 

1 step = 0.488µm 

Relative position from 

quadrature AB counter in µm

 

Relative position from 

quadrature AB counter 

1 step = 1.95µm 

Absolute position in a pole pair 

0 ~ 1999µm

 

RELATIVE POSITION 

1.95µm/step

 

ABSOLUTE POSITION 

0.488µm/step

 

Magnetic field status: 

 

 Magnet OK 

U

   Magnet too far or too close,  

reduced accuracy

 

±

 

 Magnet too far or too close, 

value not valid

 

Absolute position bargraph 

0~100% in a pole pair

 

This LED is connected to the PWM output of the AS5311. The PWM output is a pulse width that is proportional to the 

position of a pole-pair of the magnet  

The pulse width varies from 1

μ

s to 4096

μ

s typ with a repetition rate of 244 Hz typ.. When the position of the pole-pair is 0, 

the LED is almost dark, as it is 1

μ

s on and 4095

μ

s off. Moving the magnet to the left increases the brightness of the PWM 

LED, since the ON-pulse becomes longer and the OFF-pulse becomes shorter. The brightness of the PWM LED follows the 

absolute position bargraph. 
Likewise, the PWM output can be used as an analog output proportional to the angle, when the PWM signal is filtered by a 

RC (or active) lowpass filter. 

The PWM signal (0 ~ 3V3) can be directly taken from the connector J4. 

 

3.1.3

 

Incremental quadrature AB-Index LED 

The phase shift between channel A and B indicates the direction of the magnet movement. Channel A leads channel B 

during a right-to-left movement of the magnet by 90 electrical degrees. Channel B leads channel A during a left-to-right 
movement. 

One Index pulse (3V3) is generated at each pole pair changes (see AS5311 datasheet Figure 9). 

The AB-Index LEDs are directly connected to the A B Index outputs of the AS5311. These quadrature signals (0 ~ 3V3) are 

available on connector J7. 

Revision 1.0, 09 April 2009 

Page 2 of 9 

www.austriamicrosystems.com 

ams 

AG 

Technical 

content 

still 

valid

Summary of Contents for AS5311

Page 1: ...al content of this austriamicrosystems application note is still valid Contact information Headquarters ams AG Tobelbaderstrasse 30 8141 Unterpremstaetten Austria Tel 43 0 3136 500 0 e Mail ams_sales...

Page 2: ...ed once for every pole pair once per 2 0mm The travelling speed in incremental mode is up to 650mm second An internal voltage regulator allows the AS5311 to operate at either 3 3 V or 5 V supplies An...

Page 3: ...ue 0 4095 1 step 0 488 m Relative position from quadrature AB counter in m Relative position from quadrature AB counter 1 step 1 95 m Absolute position in a pole pair 0 1999 m RELATIVE POSITION 1 95 m...

Page 4: ...solute position 1 INT Bottom position default Onboard AS5311 2 EXT Top Position External AS5311 connected on J6 The signals of the synchronous serial interface DO CLK CSn and the power supply 3 3V GND...

Page 5: ...C8 1u 16V C10 1u 16V C11 1u 16V GND C9 1u 16V R2 nc C6 100n C7 100n 3V GND C2CK C2D C1 100n C5 1u GND P0 1 1 P0 0 2 P2 7 11 P2 6 12 P2 5 13 P2 4 14 P2 3 15 P2 2 16 P2 1 17 P2 0 18 P1 7 19 P1 6 20 P1 5...

Page 6: ...S5311 Demoboard OPERATIONAL MANUAL Figure 4 AS5311 Demoboard PCB Layout Revision 1 0 03 April 2009 www austriamicrosystems com Page 5 of 9 a m s A G T e c h n i c a l c o n t e n t s t i l l v a l i d...

Page 7: ...raphic LCD display 2 3 1 2 PWM LED 2 3 1 3 Incremental quadrature AB Index LED 2 3 1 4 MagINCn and MagDECn 3 3 1 5 Encoder selection switch 3 4 AS5311 Demoboard bloc diagram schematics layout 4 Index...

Page 8: ...RATIONAL MANUAL Revision History Revision Date Description R1 0 March 16 2009 First version Revision 1 0 03 April 2009 www austriamicrosystems com Page 7 of 9 a m s A G T e c h n i c a l c o n t e n t...

Page 9: ...9 G 55 FI 00910 Helsinki Finland Phone 358 9 72688 170 Fax 358 9 72688 171 austriamicrosystems AG Biv gen 3B S 19163 Sollentuna Sweden Phone 46 8 6231 710 austriamicrosystems USA Inc 8601 Six Forks Ro...

Page 10: ...rights reserved The material herein may not be reproduced adapted merged translated stored or used without the prior written consent of the copyright owner To the best of its knowledge austriamicrosys...

Page 11: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information ams AS5311 DB...

Reviews: