austriamicrosystems AS5046 Operation Manual Download Page 2

AS5046 12-BIT PROGRAMMABLE MAGNETIC ROTARY ENCODER  
Demoboard Operation Manual

 

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

Page 2 of 21 

Figure 2: 

AS5046 demoboard  

2

 

Operating the AS5046 Demoboard 

The AS5046 demoboard can be used in several ways: 

ƒ

 

As standalone unit supplied by a 9V-battery 

Connect a 9V…12V supply to pins "GND" and "+9V" at the 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 

 

ƒ

 

As input device for the AS5046 demoboard software 

This configuration uses the same USB hardware connection as above, but additionally the AS5046 demoboard software 

is running. All indicators on the demoboard will be displayed on the PC screen as well.  

 

Hardware Indicators 

Refer to Figure 2: 

2.1.1

 

7-Segment Display 

The 4-digit display shows the absolute angle position of the magnet as a 10bit digital word (0…4095). Each digit corresponds 
to (360/4096) = 0.35 degrees.  

 

Note: The absolute position is monitored continuously. It does not require moving the magnet to a zero position before it can 

calculate the absolute position. When power is lost (e.g. when you unplug the demoboard and re-connect it), it will instantly 
display the correct position.  

2.1.2

 

MagRng LED 

The AS5046 provides several options of detecting movement and distance of the 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 range status (on in YELLOW or RED range). 
 

2.2

 

Connectors 

2.2.1

 

USB Connector 

The USB connector is used to supply the demoboard with 5V power and as an interface to the AS5046 demo software, if it is 

used. 

2.2.2

 

8-pin Male Connector (left side on demoboard) 

This connector is used to connect an external AS5046 encoder that can be displayed, modified and permanently 

programmed with the AS5046 demoboard software (see Figure 11). It also fits the AS5046 adapter PCB (see Figure 2 and 
Figure 12), which is available separately. 

2.2.3

 

3-pin Male Connector (right side on demoboard) 

This connector is used to connect an external supply (pins +9V, GND) for standalone operation, in case the USB connector 

is not used. Vzapp is the connector for the programming voltage for permanently programming the external AS5046 (OTP). 

2.2.4

 

5-pin Male Connector (right side on demoboard) 

 

Vout: OPAMP analog output. 

 

DACref: Optionally, an external reference source, applied at DACref can be used. This programming option is 

useful for applications requiring a precise output voltage that is independent of supply fluctuations, for current sink 
outputs or for applications with a dynamic reference, e.g. attenuation of audio signals. 

 

FB: Per default, the gain of the Op-Amp is internally fixed at 2x. Optionally, the internal gain setting resistors may 
be switched off , allowing an external gain setting with two resistors at pins Vout ( pin #12, Op-Amp output) and FB 

(pin #11, inverting input).  

 

Ground and VDD3V3 

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: