austriamicrosystems AS5046 Operation Manual Download Page 16

AS5046 12-BIT PROGRAMMABLE MAGNETIC ROTARY ENCODER  
Demoboard Operation Manual

 

Revision 1.1, 3-Jun-08                                                     www.austriamicrosystems.com   

Page 16 of 21 

4

 

Pin Description 

Pin  Symbol 

Type 

Description 

MagRngn  DO_OD 

Magnet Field Magnitude RaNG
warning; active low, indicates that 
the magnetic field strength is outside 

of the recommended limits. 

2 Mode 

DI_PD, 
ST 

Mode input. Select between low 
noise (open, low) and high speed 
(high) mode. Internal pull-down 

resistor  

3 CSn 

DI_PU, 
ST 

Chip Select, active low; Schmitt-
Trigger input, internal pull-up resistor 
(~50k

Ω

). Must be connected to VSS 

for I²C data transmission. 

4 SCL  DI,ST 

Serial Clock Line. Clock input for I²C 
data transmission 

NC 

Must be left unconnected 

6 SDA  DIO 

Serial Data Line. Bi-directional I/O 
for I²C data transmission 

VSS 

Negative Supply Voltage (GND) 

8 Prog  DI_PD 

OTP Programming Input. Internal 
pull-down resistor (~74k

Ω

). Should 

be connected to VSS if programming 
is not used 

9 DACref AI 

DAC Reference voltage input for 

external reference 

10 DACout AO  DAC output (unbuffered, Ri ~8k

Ω

11 FB 

AI 

Feedback, OPAMP inverting input 

12 Vout  AO  OPAMP 

output 

13 

NC 

Must be left unconnected 

14 

NC 

Must be left unconnected 

15 VDD3V3 S 

3V-Regulator Output for internal 
core, regulated from VDD5V. 
Connect to VDD5V for 3V supply 

voltage. Do not load externally. 

16 

VDD5V 

Positive Supply Voltage, 3.0 to  5.5 V 

Figure 13: AS5046 pin-out and alignment tolerances 

DO_OD  digital output open drain 
S supply 

pin 

DO digital 

output 

DI digital 

input 

DI_PD  digital input pull-down 
DO_T digital 

output 

/tri-state 

DI_PU  digital input pull-up 
ST Schmitt-Trigger 

input 

 

MagRngn

Prog

VSS

SDA

NC

SCL

CSn

VDD5V

DACref

DACout

FB

Vout

NC

NC

1

4

3

2

13

12

11

10

9

8

7

6

5

16

15

14

Mode

VDD3V3

 

Figure 14:   AS5046 pin assignment 

 

1

Defined
 center

2.433 mm

2.433 mm

3.9 mm

3.9 mm

Area of allowed magnet
misalignment: 0.5mm diameter

Circle of Hall elements
on chip: 2.2mm diameter

 

Figure 15:   Magnet alignment tolerances 

 

 

 

 
 

 

 

 

 
 

 

 

 
 

 

4.1

 

Pin-Out and Magnet Misalignment 

Shown above is the pin assignment and description for the AS5046. The Hall Sensors are arranged as a concentric circle at 

the center of the IC with a diameter of 2.2mm (87mil). The recommended magnetic field strength at this concentric circle is 

45…75mT (see datasheet).  
Ideally, the center of the magnet should be located right above the center of the IC (see graph). The more the magnet is off-

center, the higher will be the non-linearity (deviation of actual position to indicated position). Consequently, the accuracy of 

the system depends on the misalignment of the magnet. For best performance, the magnet should be centered within a 

circle of 0.5mm diameter at the center of the chip.  

Summary of Contents for AS5046

Page 1: ...supplies Figure 1 Typical arrangement AS5046 and magnet 1 1 The AS5046 Demoboard The AS5046 demoboard is a complete rotary encoder system with built in microcontroller USB interface 4 digit 7 segment...

Page 2: ...he magnet in the vertical Z direction Signal indicators MagINC MagDEC and LIN are available as status bits in the serial data stream while MagRngn is an open drain output that indicates an out of rang...

Page 3: ...l Revision 1 1 3 Jun 08 www austriamicrosystems com Page 3 of 21 2 2 5 2 Mini Banana Connector bottom right side on demoboard The two connectors provide easy access to the analog output pin Vout pin o...

Page 4: ...AS5046 in alignment mode to aid centering the magnet over the IC 3 1 Getting Started This software allows you to become familiar with the principle of the AS5046 magnetic rotary encoder In order to ge...

Page 5: ...will automatically detect the USB controller on the demoboard When prompted for an installation file refer to the file ezusbw2k inf that was extracted during the demoboard software installation step...

Page 6: ...voltage of the rotary encoder is displayed along with other register information see Figure 5 Figure 5 SSI readout tab Absolute angle information The absolute angle information is displayed in analog...

Page 7: ...ld strength is out of the recommended range of 45 75mT 75mT to close 45mT to far The AS5046 will still continue to operate even when both bits are set but the accuracy may be out of spec Even Parity P...

Page 8: ...information is displayed in analog and digital form It is calculated as degree 360 4096 absolute position Automatic Gain Control This indicator displays the absolute encoder position as a 12 bit valu...

Page 9: ...ngular range of 45 90 180 or 360 OR1 OR0 Mode Note 0 0 360 Angular Range default mode analog resolution 10bit 4096 steps over 360 0 1 180 Angular Range analog resolution 10bit 4096 steps over 180 1 0...

Page 10: ...eference pin DACref the output is ratiometric to the external reference FB_intEn Feedback Note 0 external External resistors required at pin 11 and pin 12 see Page 17 1 internal Op Amp gain fixed at 2...

Page 11: ...ntal as well as the absolute outputs This bit should be set when the magnet is placed underneath the AS5046 to match the physical rotation with the indicated rotation Permanent programming The button...

Page 12: ...one full turn is at a minimum With AS5046 date code 612xxx switching from alignment mode to normal operation can be done by software so both values can be read one after another When clicking on the...

Page 13: ...n the cable between demo board and external encoder is longer than about 1 foot 30 cm OTP programming is only recommended with short wires max 5cm 2 inches between demo board and external AS5046 see 3...

Page 14: ...uld have equal length An OTP one time programming cycle is automatically initiated when button Permanent write is pressed The default non programmed logic state is 0 consequently the programmed logic...

Page 15: ...g Encoder external The demoboard however runs at 3 3V supply voltage The adapter PCB is configured for 5V supply voltage Connecting both boards without modifications will not harm any of the boards bu...

Page 16: ...rom VDD5V Connect to VDD5V for 3V supply voltage Do not load externally 16 VDD5V S Positive Supply Voltage 3 0 to 5 5 V Figure 13 AS5046 pin out and alignment tolerances DO_OD digital output open drai...

Page 17: ...AS5046 12 BIT PROGRAMMABLE MAGNETIC ROTARY ENCODER Demoboard Operation Manual Revision 1 1 3 Jun 08 www austriamicrosystems com Page 17 of 21 5 AS5046 Demoboard Schematic...

Page 18: ...re No user switching is required the software detects automatically which mode is required Furthermore the controller provides the proper pulse timings for OTP programming of an external AS5046 encode...

Page 19: ...be connected to the USB port of the PC 1 Connect to the USB port 2 Start the software 7 2 2 Closing the demo software After finishing the work with the demo board the software needs to be closed befo...

Page 20: ...Re install the drivers by specifying the path to the ezusbw2k inf as described in section 3 2 2 Default direcory C program files austriamicrosystems AG AS5046_DemoBoardSW_x x Note that you will only...

Page 21: ...ior to designing this product into a system it is necessary to check with austriamicrosystems for current information This product is intended for use in normal commercial applications Copyright 2007...

Reviews: