Data Sheet
AS5140H
10-Bit 360º Programmable Magnetic Rotary Encoder For High
A m b i e n t Te m p e r a t u r e s
1 General Description
The AS5140H is a contactless magnetic rotary encoder for accurate
angular measurement over a full turn of 360º and over an extended
ambient temperature range of -40ºC to +150ºC.
It is a system-on-chip, combining integrated Hall elements, analog
front end and digital signal processing in a single device.
To measure the angle, only a simple two-pole magnet, rotating over
the center of the chip, is required. The magnet may be placed above
or below the IC.
The absolute angle measurement provides instant indication of the
magnet’s angular position with a resolution of 0.35º = 1024 positions
per revolution. This digital data is available as a serial bit stream and
as a PWM signal. Furthermore, a user-programmable incremental
output is available.
An internal voltage regulator allows the AS5140H to operate at either
3.3V or 5V supplies.
The AS5140H is pin-compatible to the AS5040; however it uses low-
voltage OTP programming cells with additional programming
options.
2 Key Features
Contactless high resolution rotational position encoding over a
full turn of 360º
Two digital 10-bit absolute outputs: Serial interface and Pulse
width modulated (PWM) output
Three incremental output modes: Quadrature A/B and Index
output signal, Step / Direction and Index output signal, 3-phase
commutation for brushless DC motors
User programmable zero / index position
Failure detection mode for magnet placement monitoring and
loss of power supply
Rotational speeds up to 10.000 rpm
Pushbutton functionality detects movement of magnet in Z-axis
Serial read-out of multiple interconnected AS5140H devices
using Daisy Chain mode
Fully automotive qualified to AEC-Q100, grade 0
Wide ambient temperature range: -40ºC to +150ºC
3 Applications
Figure 1. AS5140H IC Block Diagram
The AS5140H is an ideal solution for automotive applications like
engine compartment sensors, transmission gearbox encoder, throttle
valve position control and for industrial applications like rotary
sensors in high temperature environment.
VDDV3V
MagINCn
MagDECn
PWM
Interface
Sin
Ang
VDD5V
LDO 3.3V
PWM_LSB
Hall Array
&
Frontend
Amplifier
Cos
DSP
Mag
Absolute
Interface
(SSI)
DO
CSn
CLK
OTP
Register
Programming
Parameters
Incremental
Interface
A_LSB_U
B_Dir_V
Index_W
Prog
AS5140H
www.austriamicrosystems.com/AS5140H
Revision 1.4
1 - 37
AS5140H
Data Sheet - C o n t e n t s
Contents
1 General Description
2 Key Features
3 Applications
.................................................................................................................................................................. 1
............................................................................................................................................................................ 1
.............................................................................................................................................................................. 1
....................................................................................................................................................................... 4
................................................................................................................................................................................... 4
4 Pin Assignments
4.1 Pin Descriptions
5 Absolute Maximum Ratings
6 Electrical Characteristics
...................................................................................................................................................... 6
.......................................................................................................................................................... 7
................................................................................................................................ 7
................................................................................................................................................................ 8
.......................................................................................................................................................... 8
6.1 DC Characteristics for Digital Inputs and Outputs
6.2 Magnetic Input Specification
6.4 Programming Conditions
6.5 Timing Characteristics
6.3 Electrical System Specifications
...................................................................................................................................................................... 9
........................................................................................................................................................................ 10
............................................................................................................................................ 12
7 Detailed Description
............................................................................................................................................................... 12
7.1 10-bit Absolute Angular Position Output
7.1.1 Synchronous Serial Interface (SSI) ........................................................................................................................................... 12
7.1.2 Daisy Chain Mode ..................................................................................................................................................................... 14
7.2 Incremental Outputs
........................................................................................................................................................................... 15
7.2.1 Quadrature A/B Output (Quad A/B Mode) ................................................................................................................................. 15
7.2.2 LSB Output (Step/Direction Mode) ............................................................................................................................................ 15
7.2.3 Incremental Output Hysteresis .................................................................................................................................................. 16
7.3 Pulse Width Modulation (PWM) Output
7.4 Analog Output
7.5 Brushless DC Motor Commutation Mode
7.6 Programming the AS5140H
7.6.1
7.6.2
7.6.3
7.6.4
7.6.5
7.6.6
7.6.7
............................................................................................................................................. 16
........................................................................................................................................... 18
.................................................................................................................................................................................... 17
............................................................................................................................................................... 19
OTP Memory Assignment .......................................................................................................................................................... 19
User Selectable Settings ........................................................................................................................................................... 20
OTP Default Setting ................................................................................................................................................................... 20
Redundant Programming Option ............................................................................................................................................... 20
OTP Register Entry and Exit Condition ..................................................................................................................................... 20
Incremental Mode Programming ............................................................................................................................................... 21
Zero Position Programming ....................................................................................................................................................... 22
................................................................................................................................................................................. 22
............................................................................................................................................................................ 23
............................................................................................................................................................. 24
7.7 Alignment Mode
7.8 3.3V / 5V Operation
7.9 Choosing the Proper Magnet
7.10 Simulation Modeling
7.11 Failure Diagnostics
7.9.1 Physical Placement of the Magnet ............................................................................................................................................ 24
......................................................................................................................................................................... 26
........................................................................................................................................................................... 27
7.11.1 Magnetic Field Strength Diagnosis .......................................................................................................................................... 27
7.11.2 Power Supply Failure Detection .............................................................................................................................................. 27
7.12 Angular Output Tolerances
7.12.1
7.12.2
7.12.3
7.12.4
7.12.5
............................................................................................................................................................... 27
Accuracy .................................................................................................................................................................................. 27
Transition Noise ....................................................................................................................................................................... 29
High Speed Operation ............................................................................................................................................................. 29
Propagation Delays ................................................................................................................................................................. 30
Internal Timing Tolerance ........................................................................................................................................................ 30
www.austriamicrosystems.com/AS5140H
Revision 1.4
2 - 37
AS5140H
Data Sheet - C o n t e n t s
7.12.6 Temperature ............................................................................................................................................................................ 31
8 Application Information
........................................................................................................................................................... 32
....................................................................................................................................................... 32
8.1 AS5140H Differences to AS5040
9 Package Drawings and Markings
9.1 Recommended PCB Footprint
........................................................................................................................................... 33
........................................................................................................................................................... 34
10 Ordering Information
............................................................................................................................................................. 36
www.austriamicrosystems.com/AS5140H
Revision 1.4
3 - 37
AS5140H
Data Sheet - P i n A s s i g n m e n t s
4 Pin Assignments
Figure 2. Pin Assignments (Top View)
MagINCn
MagDECn
A_LSB_U
B_Dir_V
NC
Index_W
VSS
Prog
1
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9
VDD5V
VDD3V3
NC
NC
PWM_LSB
CSn
CLK
DO
AS5140H
4.1 Pin Descriptions
The following table shows the description of each pin of the standard SSOP16 package (Shrink Small Outline Package, 16 leads, body size:
5.3mm x 6.2mmm; See
Figure 2).
Table 1. Pin Descriptions
Pin Name
MagINCn
MagDECn
A_LSB_U
Pin Number
1
2
3
Description
Magnet Field Magnitude Increase.
Active low. Indicates a distance reduction between the
magnet and the device surface.
Magnet Field Magnitude Decrease.
Active low. Indicates a distance increase between the
device and the magnet.
Mode1.x:
Quadrature A channel
Mode2.x:
Least Significant Bit
Mode3.x:
U signal (phase1)
Mode1.x:
Quadrature B channel quarter period shift to channel A
Mode2.x:
Direction of Rotation
Mode3.x:
V signal (phase2)
For internal use. Must be left unconnected.
Mode1.x and Mode2.x:
Index signal indicates the absolute zero position
Mode3.x:
W signal (phase3)
Negative Supply Voltage (GND).
OTP Programming Input and Data Input for Daisy Chain mode.
Internal pull-down
resistor (~74kΩ). May be connected to VSS if programming is not used.
Data Output of Synchronous Serial Interface.
SSI Clock Input.
Schmitt-Trigger input.
Chip Select.
Active low; Schmitt-Trigger input, internal pull-up resistor (~50kΩ) connect to
VSS in incremental mode
(see Incremental Power-up Lock Option on page 16)
B_Dir_V
NC
Index_ W
VSS
Prog
DO
CLK
CSn
4
5
6
7
8
9
10
11
www.austriamicrosystems.com/AS5140H
Revision 1.4
4 - 37
AS5140H
Data Sheet - P i n A s s i g n m e n t s
Table 1. Pin Descriptions
Pin Name
PWM_LSB
NC
NC
VDD3V3
VDD5V
Pin Number
12
13
14
15
16
Description
Pulse Width Modulation of approx. 1kHz; LSB in Mode3.x
For internal use. Must be left unconnected.
For internal use. Must be left unconnected.
3V-Regulator Output
(see Figure 17)
Positive Supply Voltage 5V
Pins 1 and 2 are the magnetic field change indicators, MagINCn and MagDECn (magnetic field strength increase or decrease through variation
of the distance between the magnet and the device). These outputs can be used to detect the valid magnetic field range. Furthermore those
indicators can also be used for contact-less push-button functionality. Pins 3, 4 and 6 are the incremental pulse output pins. The functionality of
these pins can be configured through programming the one-time programmable (OTP) register:
Table 2. Pin Assignment for Different Incremental Output Modes
Output Mode
1.x: Quadrature
2.x: Step/direction
3.x: Commutation
Mode 1.x: Quadrature A/B Output
Represents the default quadrature A/B signal mode.
Mode 2.x: Step / Direction Output
Configures pin 3 to deliver up to 512 pulses (up to 1024 state changes) per revolution. It is equivalent to the LSB (least significant bit) of the
absolute position value. Pin 4 provides the information of the rotational direction.
Note:
Both modes (mode 1.x and mode 2.x) provide an index signal (1 pulse/revolution) with an adjustable width of one LSB or three LSB’s.
Mode 3.x: Brushless DC Motor Commutation Mode
In addition to the absolute encoder output over the SSI interface, this mode provides commutation signals for brushless DC motors with either
one pole pair or two pole pair rotors. The commutation signals are usually provided by 3 discrete Hall switches, which are no longer required, as
the AS5140H can fulfill two tasks in parallel: absolute encoder + BLDC motor commutation. In this mode,
- Pin 12 provides the LSB output instead of the PWM (Pulse-Width-Modulation) signal.
- Pin 8 (Prog) is also used to program the different incremental interface modes, the incremental resolution and the zero position into the
OTP
(see page 21).
This pin is also used as digital input to shift serial data through the device in Daisy Chain configuration,
(see page 14).
- Pin 11 Chip Select (CSn; active low) selects a device within a network of AS5140H encoders and initiates serial data transfer. A logic high
at CSn puts the data output pin (DO) to tri-state and terminates serial data transfer. This pin is also used for alignment mode
(see page
22)
and programming mode
(see page 19).
- Pin 12 allows a single wire output of the 10-bit absolute position value. The value is encoded into a pulse width modulated signal with 1µs
pulse width per step (1µs to 1024µs over a full turn). By using an external low pass filter, the digital PWM signal is converted into an ana-
log voltage, allowing a direct replacement of potentiometers.
Pin 3
A
LSB
U
Pin 4
B
Direction
V
Pin 6
Index
Index
W
Pin 12
PWM
PWM
LSB
www.austriamicrosystems.com/AS5140H
Revision 1.4
5 - 37