austriamicrosystems AS5046 Operation Manual Download Page 1

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

Page 1 of 21 

1

 

General Description 

The AS5046 is a contactless angular measurement system-on-chip, combining 

integrated Hall elements, analog front end and digital signal processing in a 

single device. 
 

It computes the mechanical angle of a simple 2 pole diametrically magnetized 

magnet that is placed either above or below the device.  

The AS5046 has a resolution of 12bits, providing 4096 absolute positions. 
Furthermore, an analog output proportional to the angle is available. 

 

The AS5046 can be configured to specific customer requirements by 

programming a one time programmable (OTP) register. An internal voltage 
regulator allows the AS5046 to operate from either 3.3 V or 5 V 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 

display and magnitude output LED. The board is USB powered or externally supplied for standalone operation. Dimensions: 

72mm x 54mm (2.82 x 2.13 inch). 

1.1.1

 

Programming 

The demoboard also supports external circuits using the AS5046, such as the AS5046 adapter PCB (as shown below) or 

any other AS5046 customer application. These are connected to the demoboard and can be displayed, modified or 

permanently programmed using the AS5046 Demo Software. 

 

External 

supply and 

programming 

voltage

USB

connector

Reference
voltage,
feedback
and
analog output

AS5046

Connector for 

external AS5046

Knob with 

magnet

7-segment display for 

standalone operation

 

AS5046

  

PROGRAMMABLE MAGNETIC ROTARY ENCODER 

 

DEMOBOARD AND SOFTWARE  
OPERATION MANUAL 

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: