as5046 austriamicrosystems, as5046 Datasheet
![no-image](/images/manufacturer_photos/0/0/84/austriamicrosystems_sml.jpg)
as5046
Available stocks
Related parts for as5046
as5046 Summary of contents
Page 1
... system-on-chip, combining integrated Hall elements, analog front end and digital signal processing in a single device. The AS5046 provides a digital serial 12-bit as well as a programmable 10-bit ratiometric analog output that is directly proportional to the angle of a magnet, rotating over the chip. ...
Page 2
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet 4 Pin Configuration 16 VDD5V MagRngn 1 Mode 2 15 VDD3V3 CSn SCL 13 Vout SDA VSS DACout 7 10 Prog DACref 8 9 Figure 3: AS5046 pin configuration SSOP16 Package = SSOP16 (16 lead Shrink Small Outline Package) ...
Page 3
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet 5 Electrical Characteristics 5.1 Absolute Maximum Ratings (non operating) Stresses beyond those listed under “Absolute Maximum Ratings“ may cause permanent damage to the device. These are stress ratings only. Functional operation of the device at these or any other conditions beyond those indicated under “ ...
Page 4
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet 5.3 DC Characteristics for Digital Inputs and Outputs 5.3.1 CMOS Schmitt-Trigger Inputs: SCL, CSn (internal Pull-up), Mode (internal Pull-down) (operating conditions -40 to +125°C, VDD5V = 3.0-3.6V (3V operation) VDD5V = 4.5-5.5V (5V operation) unless otherwise noted) amb Parameter ...
Page 5
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet 5.3.5 Digital-to-Analog Converter Parameter Symbol Min Resolution Output Range V 0 OUTM1 V 0.10 *V OUTM2 ref Output resistance R Out,DAC 0.2 DAC reference voltage V ref (DAC full scale range) Integral Non-Linearity INL DAC Differential Non-Linearity ...
Page 6
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet 5.4 Magnetic Input Specification (operating conditions -40 to +125°C, VDD5V = 3.0-3.6V (3V operation) VDD5V = 4.5-5.5V (5V operation) amb unless otherwise noted) Two-pole cylindrical diametrically magnetised source: Parameter Symbol Min Diameter d mag Thickness t 2.5 mag Magnetic input field amplitude ...
Page 7
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet Parameter Symbol Min 2.48 Internal sampling rate for absolute f S,mode0 output 2.35 9.90 Internal sampling rate for absolute f S,mode1 output 9.38 Read-out frequency CLK >0 Note: 1) digital interface α 10bit code 1023 INL 0 0.35° ...
Page 8
... A small low cost diametrically magnetized (two-pole) standard magnet, centered over the chip, is used as the input device. The AS5046 senses the orientation of the magnetic field and calculates a 12-bit binary code. This code can be accessed via a bi-directional serial two-wire interface. In addition to the digital output, the absolute angle is converted into a 1024-step (10-bit) analog signal, ratiometric to the supply voltage. The analog output can be configured in many ways, such as 360° ...
Page 9
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet The AS5046 is tolerant to magnet misalignment and unwanted external magnetic fields due to differential measurement technique and Hall sensor conditioning circuitry also tolerant to airgap and temperature variations due to Sin-/Cos- signal evaluation. ...
Page 10
... CSn must be low during serial data transmission. 8.1 Serial Interface Timing Diagrams The registers in the AS5046 are available in a data length of 8 bit (1 byte), 24 bit (3 bytes) and 32 bit (4 bytes). Shown below in Figure common 8-bit data transfer. Figure 6: 8-bit serial Read / Write timing Figure 7 shows a transfer timing diagram for the first 16 bits of the Serial Interface Unit ...
Page 11
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet Notes: 1) This address is also modified with the analog mode setting 2) Writing a value to any of the SIN- COS- registers halts the conversion loop and calculates an angle that is given by the values in the SIN and COS registers. A Read command from these registers restarts the automatic conversion loop. ...
Page 12
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet 9.2 Hall Sensor Front End (Type ID: 0001) The Hall Sensor Front End allows configuration of each Hall Sensor. Each sensor can be disabled or connected to either the SIN or COS signal bus. Additionally, each sensor can be inverted for differential measurement. ...
Page 13
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet 9.3 Hall Sensor Front-End Configuration The default configuration for the Hall Sensor Front-End is set for angle measurement. This configuration must always be programmed when an angle should be measured and read from the Serial Interface Unit register. ...
Page 14
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet 9.4 Analog-Digital Converter Outputs, SIN/COS Signal Bus (Type ID: 0100) Type ID: Byte 1 0100 12-bit ADC output: COS signal bus Addr. 000 Upper 8 bits The analog signals on the SIN- and COS- buses are converted into a signed 12-bit digital value by two ADC’s, one for each bus ...
Page 15
... B1 / B2) the magnitude will be <32 and the AGC will be at maximum: 255. the LIN status bit will be set (red range not recommended to operate in this range, although the AS5046 will still produce usable results at very weak magnetic fields. ...
Page 16
... Z-Axis Range Indication (Push Button Feature, Red/Yellow/Green Indicator 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). Additionally, the analog output provides a safety feature in the form that it will be turned off when the magnetic field is too strong or too weak (RED range) ...
Page 17
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet Switching the MODE pin affects the following parameters: Slow Mode Fast Mode Parameter (Pin MODE = 0 or (Pin MODE = 1) open) sampling rate 2.61 kHz 10.42 kHz (383µs) (95.9µs) transition noise ≤ 0.03° rms ≤ ...
Page 18
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet An on-chip diagnostic feature turns the analog output off in case of an error (broken supply or magnetic field out of range; see Table 7).The DAC output can be accessed directly at pin #10 DACout. The addition of an OPAMP to the DAC output allows a variety of user configurable options, such as variable output voltage ranges and variable output voltage versus angle response ...
Page 19
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet It is possible to enable the analog output permanently (it will not be switched off even if the magnetic field is out of range). To enable this feature an OTP bit in the factory setting must be set. The corresponding bit is FS6. See application note AS5040-20 (Extended features of OTP programming) for further details ...
Page 20
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet 12 Programming the AS5046 After power-on, programming the AS5046 is enabled with the rising edge of CSn and Prog = logic high. 16 bit configuration data must be serially shifted into the OTP register via the Prog-pin. The first “CCW” bit is followed by the zero position data (MSB first) and the Analog Output Mode setting as shown in Table 9 ...
Page 21
... SCL t Load PROG Figure 14: Complete OTP programming sequence Figure 15: OTP programming hardware connection of AS5046 (shown with AS5046 demoboard) 12.1 Zero Position Programming The AS5046 allows easy assembly of the system, as the actual angle of the magnet does not need to be considered. By OTP programming, any position can be assigned as the new permanent zero position with an accuracy of 0.35° ...
Page 22
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet VDD5V 5V analog output voltage 2V 0V 0° 90° Figure 16: Zero position programming (shown for 360° mode) 12.2 Analog Mode Programming The analog output can be configured in many ways: It consists of three major building blocks, ...
Page 23
... In addition, the slope is mirrored at 180° for 45°- and 90°- modes and has a step response at 270° for the 180°-mode. This allows the AS5046 to be used in a variety of applications. In these three modes, the output remains ...
Page 24
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet Output Output Mode Range1 Range0 ° lt ° ° ° ...
Page 25
... Therefore it is recommended that bits that are already programmed are set to “0” during a programming cycle. 12.4 Non-permanent Programming It is also possible to re-configure the AS5046 in a non- permanent way by overwriting the OTP register. This procedure is essentially a “Write Data” sequence (see Figure 13) without a subsequent OTP programming cycle. The “ ...
Page 26
... In order to verify the quality of the programmed bits, an analog level can be read for each zener diode, giving an indication whether this particular bit was properly programmed or not. To put the AS5046 in Analog Readback Mode, a digital sequence must be applied to pins CSn, PROG and CLK as shown in Figure 18. The digital level for this pin depends on the supply configuration (3.3V or 5V; see section 7, page 9). ...
Page 27
... AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet 14 Alignment Mode The alignment mode simplifies centering the magnet over the chip to gain maximum accuracy and XY-alignment tolerance. This electrical centering method allows a wider XY- alignment tolerance (0.485mm radius) than mechanical centering (0 ...
Page 28
... Figure 24: Arrangement of Hall sensor array on chip (principle) With reference to Figure 24, a diametrically magnetized permanent magnet is placed above or below the surface of the AS5046. The chip uses an array of Hall sensors to sample the vertical vector of a magnetic field distributed across the device package surface. The area of magnetic sensitivity is a circular locus of 1 ...
Page 29
... DAC and OP-Amp. The analog output will be 0V, when the magnetic field is out of range (all analog modes). 17.2 Power Supply Failure Detection By software: If the power supply to the AS5046 is interrupted, the digital data read by the serial interface will be all “0”s. Data is only valid, when bit OCF is high, hence a data stream with all “ ...
Page 30
... High Speed Operation 18.4.1 Sampling Rate The AS5046 samples the angular value at a rate of 10.42k samples per second (ksps) in fast mode and 2.61ksps in slow mode. Consequently, a new reading is performed each 96µs. (fast mode) or 384µs (slow mode stationary position of the magnet, this sampling rate creates no additional error ...
Page 31
... Temperature 18.7.1 Magnetic Temperature Coefficient One of the major benefits of the AS5046 compared to linear Hall sensors is that it is much less sensitive to temperature. While linear Hall sensors require a compensation of the magnet’s temperature coefficients, the AS5046 automatically compensates for the varying magnetic field strength over temperature. The magnet’ ...
Page 32
... AS5046 Programmable 360° Magnetic Angle Encoder 19 Package Drawings and Markings 16-Lead Shrink Small Outline Package SSOP-16 AYWWIZZ AS5046 Dimensions mm inch Symbol Min Typ Max Min A 1.73 1.86 1.99 .068 .073 A1 0.05 0.13 0.21 .002 .005 A2 1.68 1.73 1.78 .066 .068 b 0.25 0.315 0.38 .010 .012 c 0.09 - 0.20 .004 - D 6.07 6.20 6.33 .239 .244 E 7.65 7.8 7.9 .301 .307 E1 5.2 5.3 5.38 .205 ...
Page 33
... AS5046 Programmable 360° Magnetic Angle Encoder 21 Recommended PCB Footprint 22 Contact 22.1 Headquarters austriamicrosystems AG A 8141 Schloss Premstätten, Austria Phone: +43 3136 500 0 Fax: www.austriamicrosystems.com Copyrights Copyright © 1997-2007, austriamicrosystems AG, Schloss Premstaetten, 8141 Unterpremstaetten, 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 ...