Product
Document
Published by
ams OSRAM Group
Datasheet
DS000686
AS5116
On-Axis Magnetic Position Sensor with Analog
Sine-Cosine Outputs
v4-00 • 2022-Feb-18
Document Feedback
AS5116
Content Guide
Content Guide
1
General Description ...................... 3
8.1
Safety Manual ............................................. 21
1.1
1.2
1.3
Key Benefits & Features............................... 3
Applications .................................................. 3
Block Diagram .............................................. 4
9
Application Information............... 22
9.1
9.2
Differential Mode ........................................ 22
Single Ended Mode .................................... 23
2
Ordering Information .................... 5
10
Configuration and Programming 26
3
Pin Assignment ............................. 6
11
Preconfigured Versions .............. 27
3.1
3.2
Pin Diagram AS5116 .................................... 6
Pin Description AS5116 ............................... 6
11.1
11.2
AS5116A..................................................... 27
AS5116B..................................................... 28
4
Absolute Maximum Ratings ......... 7
12
Package Drawings & Markings ... 30
5
Electrical Characteristics.............. 8
13
Mechanical Data ........................... 32
6
Functional Description................ 11
14
Revision Information ................... 33
6.1
6.2
6.3
IC Power Management ............................... 11
Gain Configuration ..................................... 12
Behavior of Sensor Outputs ....................... 13
15
Legal Information ......................... 34
7
Digital Interface – UART.............. 15
7.1
Register Description ................................... 17
8
Functional Safety ........................ 21
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 2
Document Feedback
1
AS5116
General Description
General Description
The AS5116 is a contactless magnetic position sensor for accurate angular measurement over a full
mechanical turn of 360°.
Based on the Hall sensor technology, this device has a robust architecture that measures the
orthogonal component of the flux density (Bz), over a full-turn rotation. To measure the angle, only a
simple two-pole magnet rotating over the center of the package is required. The magnet can be placed
above or below the device.
The absolute angle measurement provides an instant indication of the magnet’s angular position. The
angle information is provided by means of buffered differential sine and cosine voltages. The AS5116
operates at a supply voltage of 5 V or 3.3 V.
1.1
Key Benefits & Features
The benefits and features of AS5116, On-Axis Magnetic Position Sensor with Analog Sine-Cosine
Outputs, are listed below:
Figure 1:
Added Value of Using AS5116
1.2
Benefits
Features
Highest reliability and durability
Contactless angle measurement
Accurate angle measurement
Low output noise
Low system costs – no shielding required
Low inherent INL
Enabler for safety critical applications
Magnetic stray field immunity overachieves ISO
11452-8
High precision analog output
Developed according to ISO26262
Small form factor
Fully differential buffered sine and cosine output
signals
Fully automotive qualified
AEC – Q100, Grade 0
Applications
●
●
●
●
Rotor angle sensing of electric commutated motors
Electric power steering systems
Electric pumps
Actuators in transmission systems
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 3
Document Feedback
●
●
1.3
AS5116
General Description
Starter/Generator systems
Other 360° angle measurement solutions
Block Diagram
Figure 2 shows the block diagram of the AS5116 sensor.
Figure 2:
Functional Blocks of AS5116
VDD3
AS5116
VDD5
Timing
Generator
Oscillator
LDO
POR
Biasing
UART
DIAG
OTP
Hall Biasing
Digital Part
SINP
DMOD
Hall
FE
PGA
DRV
PGA
DRV
SIN Channel
SINN
CM_SIN
COS Channel
COSP
DMOD
Hall sensor array
COSN
CM_COS
VSS
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 4
Document Feedback
2
AS5116
Ordering Information
Ordering Information
Ordering Code
Package
Marking
Delivery Form
Delivery Quantity
AS5116-HSOT
SOIC8
AS5116
13” Tape & Reel
2500 pcs/reel
AS5116-HSOM
SOIC8
AS5116
7” Tape & Reel
500 pcs/reel
AS5116A-HSOT
SOIC8
AS5116A
13” Tape & Reel
2500 pcs/reel
AS5116A-HSOM
SOIC8
AS5116A
7” Tape & Reel
500 pcs/reel
AS5116B-HSOT
SOIC8
AS5116B
13” Tape & Reel
2500 pcs/reel
AS5116B-HSOM
SOIC8
AS5116B
7” Tape & Reel
500 pcs/reel
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 5
Document Feedback
3
Pin Assignment
3.1
Pin Diagram AS5116
AS5116
Pin Assignment
Figure 3:
Pin Diagram of AS5116 in SOIC8 Package
3.2
1
8
COSP
SINN
CM_SIN
2
7
COSN
CM_COS
VSS
3
6
UART
DIAG
VDD5
4
5
VDD3
AS5116
SINP
Pin Description AS5116
Figure 4:
Pin Description of AS5116 in SOIC8 Package
Pin Number
Pin Name
Pin Type
Description
1
SINP
Analog Out
Buffered sine channel, positive output
2
SINN
CM_SIN
Analog Out
Buffered sine cannel, inverted output (default).
Common mode level for sine channel (optional).
3
VSS
Supply
Common ground
4
VDD5
Supply
Supply voltage
5
VDD3
Analog Out
On chip low-dropout regulator output voltage. Requires
an external 1 µF decoupling capacitor
UART
DIAG
Digital I/O
Digital Out
7
COSN
CM_COS
Analog Out
Buffered cosine channel, inverted output (default).
Common mode level for cosine channel (optional).
8
COSP
Analog Out
Buffered cosine channel, positive output
6
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
Communication Pin for OTP programming (default).
Diagnostic output for on-chip diagnostic functions.
This pin always has to be tied to VDD5 with the pull up
resistor Rpu.
34 │ 6
Document Feedback
4
AS5116
Absolute Maximum Ratings
Absolute Maximum Ratings
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 “Operating Conditions” is not implied. Exposure to absolute
maximum rating conditions for extended periods may affect device reliability.
Figure 5:
Absolute Maximum Ratings of AS5116
Symbol
Parameter
Min
Max
Unit
Comments
Electrical Parameters
VDD5
DC Voltage at VDD5 pin
-0.3
7
V
VREG
DC Voltage at VDD3 pin
-0.3
5
V
VSS
DC Voltage at VSS pin
-0.3
0.3
V
VIN
Input Pin Voltage to Ground
-0.3
VDD5 +
0.3
V
ISCR
Input Current (latch-up immunity)
± 100
mA
AEC-Q100-004
Continuous Power Dissipation
PT
Total Power Dissipation
150
mW
Electrostatic Discharge
ESDHBM
Electrostatic Discharge HBM
± 2000
V
AEC-Q100-002
ESDCDM
Electrostatic Discharge CDM
± 500
V
AEC-Q100-011
Temperature Ranges and Storage Conditions
TA
Operating Ambient Temperature
TJ
Operating Junction Temperature
TA_PROG
Ambient Temperature during OTP
Programming
TSTRG
Storage Temperature Range
TBODY
Package Body Temperature
RHNC
Relative Humidity (non-condensing)
MSL
Moisture Sensitivity Level
-40
150
°C
165
°C
0
45
°C
- 55
150
°C
260
°C
85
%
5
IPC/JEDEC J-STD-020 (1)
Represents a maximum
floor lifetime of 168 h
3
Temperature Soldering
TPEAK
Peak Temperature
tWELL
Well Time above 217 °C
(1)
30
260
°C
45
s
IPC/JEDEC J-STD-020
The reflow peak soldering temperature (body temperature) is specified according to IPC/JEDEC J-STD-020
“Moisture/Reflow Sensitivity Classification for Nonhermetic Solid State Surface Mount Devices.” The lead finish for
Pb-free leaded packages is “Matte Tin” (100 % Sn)
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 7
Document Feedback
5
AS5116
Electrical Characteristics
Electrical Characteristics
All limits are guaranteed over the operating temperature range (-40°C to 150°C) and lifetime, unless
otherwise noticed. The parameters with Min and Max values are guaranteed with production tests or
SQC (Statistical Quality Control) methods.
Figure 6:
Electrical Characteristics of AS5116
Symbol
Parameter
Conditions
Min
Typ
Max
Unit
VDD5
Positive Supply Voltage
5.0 V operation mode
4.5
5.0
5.5
V
VDD3
3.3 V operation mode,
LDO shorted
Supply voltage required
for programming in 3V3
operation
3.0
3.3
3.6
V
VDDBURN
Positive Supply Voltage in
3V3 Mode
Positive Supply Voltage
3.5
V
VREG
Regulated Voltage
3.6
V
VSS
Negative Supply Voltage
0
V
IDD
Supply Current
17
mA
TPOWER_ON
Power Up Time
10
ms
10
100
mT
Operating Conditions
Voltage at Vreg if sensor
is in 5 V operation mode
3.3
3.2
3.4
0
Depends on gain setting
Input Parameter
BIN
Limit for Target Bz Peak
Field
At the Hall element
position inside the sensor
VMAX
Maximum Rotation Speed
-30000
30000
RPM
VOUT
Analog Output Voltage
Amplitude Limits
GND +
0.25
VDD –
0.5
V
VCM1
Output Common Mode Level
VCM2
Output Parameter
Default level
1.275
1.375
1.475
V
Output Common Mode Level
1.975
2.125
2.275
V
IOUT
Analog Output Load Current
-1
1
mA
CLOAD
Analog Output Capacitive
Load
10
nF
Digital IO Parameter - DIAG
V_IH
High Level Input Voltage
UART mode enabled
(default)
V_IL
Low Level Input Voltage
UART mode enabled
(default)
V_OH
High Level Output Voltage
V_OL
Low Level Output Voltage
VSS +
0.4
V
C_L
Capacitive Load
50
pF
I_OUT_5V
Output Current 5V Operation
4
mA
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
0.7 *
VDD5
V
0.3 *
VDD5
VDD5 0.5
V
V
34 │ 8
Document Feedback
Symbol
Parameter
I_OUT_3V
Output Current 3V3
Operation
Conditions
AS5116
Electrical Characteristics
Min
Typ
Max
Unit
2
mA
External Components
Rpu
Pull up resistor in Figure 28
and Figure 29
10
100
kΩ
Cout
Output capacitors C1, C2,
C3 and C4 in Figure 28 and
Figure 29
0.5
10
nF
Typ
Max
Unit
Figure 7:
Key Performance Parameters
Symbol
Parameter
Conditions
Min
INL_error (1)
Based on Sensor
-40 °C to 150 °C
0.5
1
degree
Assuming N35H
0.6
1.2
degree
Internal Imperfections
INL_error + Magnet (1)
Non-Linearity @
Displacement of Magnet
and Temperature
-40 °C to 150 °C
Magnet (D=8 mm, H=3 mm)
500 μm displacement in x
and y.
Package to magnet gap
1700 μm
SINCOS_ORT_error (2)
Orthogonality Error.
Defines deviation of
ideal phase shift of 90°
between SIN and COS
output signals
Based on maximum
INL_error.
-2
2
degree
SINCOS_GAIN_error (2)
Gain Mismatch between
SIN and COS channel
Based on maximum
INL_error
-3.5
3.5
%
NOISE5V
Maximum RMS Noise.
Depending on Gain
Configuration (see
Figure 10).
VDD = 5 V (5 V operation)
2.47
mVrms
NOISE3V3
Maximum RMS Noise.
Depending on Gain
Configuration (see
Figure 10).
VDD = 3.3 V (3V3 operation)
2.61
mVrms
TD
Propagation Delay
12
20
µs
M
Magnetic Sensitivity
Differential Output Mode
8
60
mV/mT
GV
Gain Variation at 25 °C
-16
16
%
Variation of selected
absolute GAIN
16
(Part to Part Variation)
GV_Temp_AS5116
(3)
GV_Temp_AS5116A (4)
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
Gain Variation Over
Temperature
-40°C to 150 °C
Gain Variation Over
Temperature
-40 °C to 150 °C
-0.105
-0.05
0
%/°C
-0.075
-0.03
0
%/°C
(Gain drift of one single
sensor)
(Gain drift of one single
sensor)
34 │ 9
Document Feedback
AS5116
Electrical Characteristics
Symbol
Parameter
Conditions
Min
Typ
Max
Unit
GV_Temp_AS5116B (5)
Gain Variation Over
Temperature
-40 °C to 150 °C
-0.075
-0.03
0
%/°C
Hall Radius
Radius of circular Hall array
HR
(1)
(2)
(3)
(4)
(Gain drift of one single
sensor)
1.1
mm
Valid for Differential Output Mode. Assuming a minimum VoutP2P voltage of 3000 mV. Differential consideration of output
signals required.
Worst case linearity error is limited and guaranteed by INL_max parameter.
Parameter guaranteed by design. Worst case figure, valid for Gain_Code 24.
Parameter guaranteed by design. Worst case figure, valid for Gain_Code 12.
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 10
Document Feedback
6
AS5116
Functional Description
Functional Description
The Hall-based magnetic position sensor, uses an array of planar sensors that convert the magnetic
field component Bz perpendicular to the surface of the chip into a voltage. The signals coming from
the Hall sensors are amplified, filtered and buffered before the information is available as sine and
cosine voltages on the output. Gain respectively sensitivity of the complete signal path, can be defined
by programming the Gain_Code in CONFIG2 register. The sensor is as well programmable to provide
a full differential or single ended signal on the output.
Settings are in system programmable through an UART single wire interface. For achieving a high
ASIL in the application, the sensor is fully supporting the ISO26262 implementation process (Detailed
information on request).
6.1
IC Power Management
The AS5116 can be either powered from a 5.0 V supply using the on-chip low-dropout regulator (LDO)
or from a 3.3 V voltage supply. The LDO (low-dropout) regulator is not intended to power any other
loads, and it needs a 1 μF capacitor to ground located close for decoupling as shown Figure 8.
In 3V3 operation, VDD and VREG tied together.
Figure 8:
Pin Configuration in 5 V Operation Mode
SINP
SINN
AS5116
VSS
Figure 9:
Pin Configuration in 3V3 Operation Mode
COSP
SINP
COSN
SINN
UART
VSS
4.5 – 5.5 V
COSP
AS5116
COSN
UART
3.0 – 3.6 V
VDD5
100 nF
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
LDO
VDD3
1 µF
VDD5
LDO
VDD3
100 nF
34 │ 11
Document Feedback
6.2
AS5116
Functional Description
Gain Configuration
The amplitudes of the output voltages are directly proportional to the Bz field of the magnet above the
sensor. The user can select the appropriate Gain Setting out of 25 possible steps.
Figure 10:
Gain Table(1)
Gain_Code
GAIN [mV/mT]
Maximum RMSNoise [mV]
GAIN [mV/mT]
Maximum RMSNoise [mV]
CONFIG2 Register
0x17
5V Operation Mode
0
8
0.51
8
0.51
1
10
0.51
10
0.68
2
12
0.51
12
0.72
3
13.5
0.68
13
1.53
4
16
0.68
16
0.96
5
18
0.72
18
1.08
6
20
0.96
19.5
1.14
7
22.5
1.08
21.5
1.35
8
24
0.96
23
1.35
9
26.5
1.25
26
1.53
10
26.5
1.65
26.5
1.65
11
29
1.35
28.5
1.65
12
31.5
1.25
30
1.74
13
32.5
2.02
32.5
2.02
14
35
1.35
35
2.02
15
35.5
1.65
35.5
2.20
16
39
1.53
38
2.20
17
40
2.47
40
2.47
18
42.5
1.65
42.5
2.47
19
45
1.74
45
2.61
20
47.5
2.20
45
2.61
21
52
2.02
45
2.61
22
53.5
2.47
45
2.61
23
57
2.20
45
2.61
24
60
2.32
45
2.61
(1)
5V Operation Mode
3V3 Operation Mode
3V3 Operation Mode
Gain table representing typical values, maximum Part-to-Part gain variation GV is separately specified.
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 12
Document Feedback
6.3
AS5116
Functional Description
Behavior of Sensor Outputs
Following graphs show the behavior at different output settings over one mechanical 360° rotation.
6.3.1
Differential Output Mode (Default Setting)
Positive SINP and COSP signals in combination with inverted SINN and COSN are provided via the
output pins of the sensor. High immunity against common cause errors, evoked by the environment of
the sensor, is given due to the differential signal transmission. Fully differential signal inputs are
required to digitize the analog outputs. VCM is defined via OTP programming.
Vout
Figure 11:
Differential Output Behavior
2π
90°
SINP
6.3.2
180°
SINN
360°
270°
COSP
COSN
VoutP2P
VCM
Angle Position
Single-Ended Output Mode
Positive SINP and COSP signals in combination with the configured VCM level on CM_SIN and
CM_COS are provided via the output pins of the sensor. To achieve best accuracy performance, fully
differential signal inputs are recommended to digitize the analog outputs. As an alternative, singleended measurement of all output signals with associated data processing (SINP - CM_SIN, COSP CM_COS) is as well possible.
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 13
Document Feedback
AS5116
Functional Description
Vout
Figure 12:
Single-Ended Output Behavior
VCM
2π
90°
SINP
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
180°
CM_SIN
270°
COSP
360°
CM_COS
Angle Position
34 │ 14
Document Feedback
7
AS5116
Digital Interface – UART
Digital Interface – UART
The AS5116 is equipped with an UART interface, which allows reading and writing the registers as
well as permanently programming the non-volatile memory (OTP). By default (Diag_EN = 0) the
AS5116 is in the so-called Communication Mode and the UART is connected to pin 6. In this mode, it
is possible to configure the register settings.
The UART interface allows reading and writing two consecutive addresses. The standard UART
sequence consists of four frames. Each frame begins with a start bit (START), which is followed by 8
data bits (D[0:7]), one parity bit (PAR), and a stop bit (STOP), as shown in Figure 13.
Figure 13:
UART Frame
START
D[0]
D[1]
D[2]
D[3]
D[4]
D[5]
D[6]
D[7]
PAR
STOP
The PAR bit is and Even Parity, calculated over the data bits (D[0:7]). Each frame is transferred LSB
first.
Figure 14:
Standard UART Sequence
Frame Number
D[7]
1
2
D[6]
D[5]
D[4]
D[3]
D[2]
D[1]
D[0]
0x55
R/W
ADDRESS
3
DATA1
4
DATA2
The first frame is the synchronization frame and consists of D[0:7] = 0x55 followed by the parity bit
(PAR = 0) and the stop bit. This frame synchronizes the baud rate between the AS5116 and the UART
Master. The UART baud rate have to stay in a range of 1.1 – 70 kbit/s.
The second frame contains the read/write command (Write: D[7] = 0; Read: D[7] = 1) and the address
of the register (ADDRESS: D[0:6]).
The content of the third and fourth frames (DATA1 and DATA2) will be written to or read from the
location specified by ADDRESS and ADDRESS+1.
Figure 15 and Figure 16 show examples of Read and Write UART frame.
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 15
Document Feedback
AS5116
Digital Interface – UART
Figure 15:
UART – Write Example
0x55
0x16
0x68
0xA2
MSB
PAR
STOP
MSB
PAR
STOP
START
LSB
MSB
WRITE
PAR
STOP
START
LSB
START
LSB
MSB
PAR
STOP
START
LSB
0 1 0 1 0 1 0 1 0 0 1 0 0 1 1 0 1 0 0 0 1 1 0 0 0 0 1 0 1 1 0 1 1 0 0 1 0 0 0 1 0 1 1 1
In this UART – Write example the UART Master writes to CONFIG1 register 0x16 – 0x68 and to
CONFIG2 register 0x17 – 0xA2.
Figure 16:
UART – Read Example
Content of
register 0x16
MSB
READ
PAR
STOP
START
LSB
MSB
PAR
STOP
START
LSB
START
LSB
0 1 0 1 0 1 0 1 0 0 1 0 0 1 1 0 1 0 0 1 0 1 0
Content of
register 0x17
1 0
1
MSB
PAR
STOP
0x16
MSB
PAR
STOP
START
LSB
0x55
In this UART – Read example the UART Master reads from CONFIG1 register 0x16 and CONFIG2
register 0x17.
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 16
Document Feedback
7.1
AS5116
Digital Interface – UART
Register Description
The table below shows all accessible digital registers implemented in the AS5116 sensor.
Figure 17:
Register Overview
7.1.1
Address
Name
Function
Default
Description
0x01
UART_ERROR
R
0x00
Indication of framing and parity
errors
0x03
P2RAM_CONTROL
R/W
0x00
P2RAM handling
0x16
CONFIG1
R/W/P
0x00
Configuration of output setting
0x17
CONFIG2
R/W/P
0x00
Configuration of gain and diagnostic
mode
0x18
CUST_CHIP_ID1
R/W/P
0x00
Spare bits for custom chip ID
0x19
CUST_CHIP_ID2
R/W/P
0x00
Spare bits for custom chip ID
0x1A
CUST_CHIP_ID3
R/W/P
0x00
Spare bits for custom chip ID
0x1B
ECC
R/W/P
0x00
Configuration of ECC function
0x50
ECC_CHECKSUM
R
0x00
Calculated ECC checksum based on
actual register settings
0x51
ECC_STATUS
R
0x00
Indicates actual ECC status if ECC
function is enabled
UART_ERROR Register – 0x01
In the UART_ERROR Register problems during UART communication are indicated. Error bits are
sticky and clear on read.
UART_SYNC Bit indicates a problem with the synchronization frame. This is usually the case if the
Baudrate was not defined correctly. Baudrate window is defined from 1.1 kbit/s to 70 kbit/s.
UART_PARITY bit indicates a parity error during a UART-Write command. UART_FRAME bit
indicates an error, if after synchronization the UART line stays low for more than twice the usual
expected time (too long frame).
Figure 18:
UART_ERROR Register – 0x01
Bit Position
Bit Name
Default
Description
0
UART_SYNC
0
UART synchronization error
1
UART_PARITY
0
UART parity error
2
UART_FRAME
0
UART frame too long error
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 17
Document Feedback
7.1.2
AS5116
Digital Interface – UART
P2RAM_CONTROL Register – 0x03
The P2RAM_CONTROL Register handles all processes in combination with the OTP memory.
Description of OTP related commands and definition of the programming flow chart is given in section
Configuration and Programming.
Figure 19:
P2RAM_CONTROL Register
7.1.3
Bit Position
Bit Name
Default
Description
0:1
State
0
P2RAM state
2
LOAD
0
Load latch from fuse array
3
BURN
0
6
GLOAD
Burn command to permanently store setting within
OTP memory
Enabled guard band mode to check burn quality
CONFIG1 Register – 0x16
In CONFIG1 Register includes several possible configurations of the sensor outputs, like common
mode level and pin configuration
Figure 20:
CONFIG1 Register
Bit Position
Bit Name
Default
Description
0:2
n.a.
0
Not applicable
3
VCM_Level
0
4
n.a.
0
5
CM_COS
0
6
CM_SIN
0
7
INVERT_CH
0
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
Output common mode level
(0: VCM = 1.375 V, 1: VCM =2.125 V)
Not applicable
Defines the output function of pin 7
(0: COSN, 1: CM_COS)
Defines the output function of pin 2
(0: SINN, 1: CM_SIN)
Inverts the sign of the output channels
34 │ 18
Document Feedback
7.1.4
AS5116
Digital Interface – UART
CONFIG2 Register – 0x17
CONFIG 2 Register includes the sensitivity settings and a bit to enable the diagnostic mode.
Figure 21:
CONFIG2 Register
7.1.5
Bit Position
Bit Name
Default
Description
0
Diag_EN
0
Enables diagnostic mode when the bit is set to “1”
1:5
Gain_Code
0
Defines the sensitivity of the sensor
6:7
n.a.
0
Not applicable
CUST_CHIP_ID1 Register – 0x18
Figure 22:
CUST_CHIP_ID1
7.1.6
Bit Position
Bit Name
Default
Description
0:7
CUST_CHIP_ID1
0
Spare bits for customized tracking information
CUST_CHIP_ID2 Register – 0x19
Figure 23:
CUST_CHIP_ID2
7.1.7
Bit Position
Bit Name
Default
Description
0:7
CUST_CHIP_ID2
0
Spare bits for customized tracking information
CUST_CHIP_ID3 Register – 0x1A
Figure 24:
CUST_CHIP_ID3
Bit Position
Bit Name
Default
Description
0:7
CUST_CHIP_ID3
0
Spare bits for customized tracking information
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 19
Document Feedback
7.1.8
AS5116
Digital Interface – UART
ECC Register – 0x1B
Within ECC (Error-Correction Code) register, the ECC function is configured and enabled.
Figure 25:
ECC Register
Bit Position
Bit Name
Default
Description
0:6
ECC_Chsum
0
ECC checksum programmed by user
7
ECC_EN
0
Enables ECC function
Figure 26:
ECC CHECKSUM
Bit Position
Bit Name
Default
Description
0:6
ECC_Chsum_calc
0
Internal calculated ECC checksum
Figure 27:
ECC STATUS
Bit Position
Bit Name
Default
Description
0
ECC_EN_after_check
0
ECC_EN after error correction
ECC Error code:
0: P2RAM bytes in customer area are correct (or ECC_EN = 0)
1:2
ECC_Error
0
1: Single bit error in P2RAM. P2RAM output corrected by ECC
function
2: Two or more bits are defect in P2RAM block. No correction
possible - major system error
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 20
Document Feedback
8
AS5116
Functional Safety
Functional Safety
AS5116 is fully supporting the ISO26262 and enables applications to fulfill Automotive Safety Integrity
Levels up to ASIL C.
8.1
Safety Manual
The safety manual, available upon request, contains all the necessary information for the system
integrator, to integrate AS5116 in a safety related item.
AS5116 is supporting the ISO26262 as Safety Element out of Context (SEooC).
The safety manual includes the following information:
●
●
●
Product development lifecycle
Description of the technical safety concept on system level
Detailed information of Assumption of Use of the element with respect to its intended use, which
includes
●
●
●
System Safe State information
Fault Tolerant Time Interval
Coverage information
As part of the Safety Manual, the Verification and Safety Analysis Report includes following
information:
●
●
●
HW architectural metric results (Single Point Fault Metric)
Description of verifications based on the ISO26262
Detailed FMEDA
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 21
Document Feedback
9
AS5116
Application Information
Application Information
Several wiring options and configurations of AS5116 are possible. The most likely used options are
shown in the following section.
9.1
Differential Mode
By default, the configuration of the sensor is in differential output mode. Positive SINP and COSP
signals, as well as the inverted SINN and COSN signals are provided.
This is the recommended output configuration, due to the best common mode rejection. Fully
differential inputs are required on controller side. To improve the angle accuracy, a one-time end of
line calibration of offset and gain error is recommended before calculating the angle position.
9.1.1
Minimum Wiring Diagram
Figure 28:
AS5116 Minimum Wiring Diagram, Differential Output Mode
Controller Unit
in/out
Angle
Calcualation
Diff. Input
ADC
COS
Diff. Input
ADC
SIN
UART
COSN
COSP
SINP
SINP
SINN
C1
C2
C3
C4
SINN
COSP
AS5116
COSN
Rpu
VSS
UART
VDD5
VDD3
Recommended
(1)
(2)
4.5 – 5.5 V
VDD5
GND
GND
C5
100 nF
C6
1 µF
C1=C2=C3=C3=C4=Cout
Parameters for Cout and Rpu are described in chapter “Electrical Characteristics”
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 22
Document Feedback
9.2
AS5116
Application Information
Single Ended Mode
In single-ended configuration, all voltage measurements are reverenced to VSS level. For safety
reasons, it is recommended to check as well the levels of CM_SIN and CM_COS with separate analog
inputs. The measured common mode voltages should be used to calculate the differential sine/cosine
values. Otherwise, the signal common mode level has to be determined in the controller based on one
sine/cosine period. To improve the angle accuracy, a one-time end of line calibration of offset and gain
error is recommended before calculating the angle position.
9.2.1
Minimum Wiring Diagram
Figure 29:
AS5116 Minimum Wiring Diagram, Single Ended Output Mode
Controller Unit
Angle
Calcualation
in/out
UART
ADC IN1
CM_COS
ADC IN2
COSP
ADC IN3
SINP
ADC IN4
SINP
CM_SIN
C1
C2
C3
C4
CM_SIN
COSP
AS5116
CM_COS
Rpu
VSS
UART
VDD5
VDD3
Recommended
(1)
(2)
9.2.2
4.5 – 5.5 V
VDD5
GND
GND
C5
100 nF
C6
1 µF
C1=C2=C3=C3=C4=Cout
Parameters for Cout and Rpu are described in chapter “Electrical Characteristics”
Output Amplitude Calculation
The output amplitude of sine and cosine signals are directly proportional to the selected GAIN setting
and the Bz-Field of the available target magnet. Following equations explain how the calculation is
done based on a typical example. Using that approach, a very convenient estimation of the output
amplitudes is possible.
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 23
Document Feedback
Equation 1: Vout Peak to Peak – Single Ended
Input
AS5116
Application Information
Equation 2: Vout Peak to Peak – Differential
Input
𝑉𝑜𝑢𝑡𝑆𝐸_𝑃2𝑃 = 2 ∙ 𝐵𝑧𝑚𝑎𝑥 ∙ 𝐺𝐴𝐼𝑁
𝑉𝑜𝑢𝑡𝐷𝐼𝐹_𝑃2𝑃 = 4 ∙ 𝐵𝑧𝑚𝑎𝑥 ∙ 𝐺𝐴𝐼𝑁
Output Amplitude Calculation – Example
Assumptions: Gain Setting = 30 mV/mT, Bzmax = 30 mT
+Bz
-Bz
Equation 3:
Vout
Vout SE_P2P = 2 ∙ 30 ∙ 30 = 1800 mV
1800 mV
VCM
2π
90°
SINP
180°
SINN
360°
270°
COSP
COSN
Angle Position
Equation 4:
Vout
𝑉𝑜𝑢𝑡𝐷𝐼𝐹_𝑃2𝑃 = 4 ∙ 30 ∙ 30 = 3600 𝑚𝑉
90°
180°
SIN Differential
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
270°
360°
Angle
Position
3600 mV
0V
COS Differential
34 │ 24
Document Feedback
9.2.3
AS5116
Application Information
Diagnostic Mode
In default configuration, the sensor is in communication mode. Pin 6 acts as single wire UART
interface connection and can be used to configure all relevant customer setting.
During the programming process, it is possible to enable the diagnostic function by programming the
“Diag_EN” bit in the CONFIG2 Register – 0x17. In that case, pin 6 is acting as diagnostic output after
the next power on reset of the sensor.
The diagnostic function checks if the status of the OTP register is still valid and correct. It is directly
linked to the ECC_error status 1 and 2 (ECC_STATUS Register – 0x51).
Figure 30:
DIAG Output State Definition
State of DIAG Pin 6
Output Level
Description
0
GND
OTP status ok
1
VDD
OTP error
One or more bits flipped in OTP section. As result
unexpected behavior of the sensor could occur.
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 25
Document Feedback
10
AS5116
Configuration and Programming
Configuration and Programming
The non-volatile memory is used to permanently program the configuration. To program the
nonvolatile memory, the UART interface is used. The programming could be performed either in 5 V or
in 3V3 operation mode operation. Tighter limits of the supply voltage in 3V3 operation has to be
considered (VDDBURN).
Figure 31:
AS5116 Programming Flow
Start
Write: CONFIG
Start internal
programming procedure
Write: P2RAM_CONTROL
CONFIG1 (0x16)
CONFIG2 (0x17)
CUST_CHIP_ID1 (0x18)
CUST_CHIP_ID2 (0x19)
CUST_CHIP_ID3 (0x1A)
Write all required
configuratios to the
sensor
P2RAM_CONTROL (0x03) = 0x08
Read P2RAM_CONTROL
register to check if
programming is already
finished.
Read: P2RAM_CONTROL
P2RAM_CONTROL (0x03)
Write: ECC Enable
Enable ECC function
ECC (0x1B) = 0x80
Read the sensor internal
generated
ECC-Checksum
Read: ECC_CHECKSUM
FAIL
Check if register
content == 0x01. If so,
internal programming
process is finished. If
not, programming is
ongoing (it takes 10 ms
maximum).
Verify:
P2RAM_CONTROL == 0x01
ECC_Chsum_calc (0x50)
PASS
Write the previously
read ECC-Checksum into
ECC register
Write: ECC
ECC (0x1B) = 0xXX
Read content of
ECC_STATUS register to
check if ECC function is
working correctly
If ECC_STATUS register
content = 0x01, ECC
functionality is working
correctly. Otherwise go
back to step ECC Enable
Read: ECC_STATUS
ECC_STATUS (0x51)
FAIL
Verify:
ECC_STATUS == 0x01
PASS
Read: CONFIG
CONFIG1 (0x16)
CONFIG2 (0x17)
CUST_CHIP_ID1 (0x18)
CUST_CHIP_ID2 (0x19)
CUST_CHIP_ID3 (0x1A)
Read again all
configuration registers,
to check content with
previously written data
Compare read data with
written data. Regsiter
contant has to match
Verify:
FAIL
Compare with written data
Write: CONFIG
CONFIG1 (0x16) = 0x00
CONFIG2 (0x17) = 0x00
CUST_CHIP_ID1 (0x18) = 0x00
CUST_CHIP_ID2 (0x19) = 0x00
CUST_CHIP_ID3 (0x1A) = 0x00
ECC (0x1B) = 0x00
Set all previously written
and programmed
registers to 0x00.
Trigger guard band load
process, which is
proofing the OTP fuse
quality.
Write: P2RAM_CONTROL
P2RAM_CONTROL (0x03) = 0x40
Reflash register content
with programmed
configuration
Write: P2RAM_CONTROL
P2RAM_CONTROL (0x03) = 0x04
Read: CONFIG
CONFIG1 (0x16)
CONFIG2 (0x17)
CUST_CHIP_ID1 (0x18)
CUST_CHIP_ID2 (0x19)
CUST_CHIP_ID3 (0x1A)
ECC (0x1B)
Read all written and
programmed
configuration registers.
Compare read datae
with previously written
content. If the content is
eqal, programming is
finished and valid.
PASS
Verify:
Unlock programming
features within
P2RAM_CONTROL
register
Compare with written data
FAIL
Write: P2RAM_CONTROL
P2RAM_CONTROL (0x03) = 0x01
PASS
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
END
END
PASSED Programming
Process
FAILED Programming
Process
34 │ 26
Document Feedback
11
AS5116
Preconfigured Versions
Preconfigured Versions
Beside the fully flexible AS5116 version, further preconfigured variants with fixed CONFIG Register
settings are available. By using an already programmed AS5116, no further OTP configuration of the
sensor is possible.
11.1
AS5116A
AS5116A is configured in Single-Ended mode. SINN and COSN outputs represent the common mode
voltage. A fixed gain configuration of 31.5 mV/mT is chosen (Gain_Code 12). OTP Diagnostic and
internal ECC check are enabled and show the actual status on UART/DIAG pin.
Figure 32:
AS5116A – Register Settings
Gain_Code
DIAG_EN
VCM_Level
CM_COS, CM_SIN
INVERT_CH
CONFIG2
CONFIG2
CONFIG1
CONFIG1
CONFIG1
12 – 31.5 mV/mT
Enabled
2.125 V
Enabled
Disabled
Vout
Figure 33:
AS5116A – Output Behavior
VCM
2π
90°
SINP
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
180°
CM_SIN
270°
COSP
360°
CM_COS
Angle Position
34 │ 27
Document Feedback
AS5116
Preconfigured Versions
Figure 34:
AS5116A – Wiring Diagram, Single Ended Output Mode
Controller Unit
Angle
Calcualation
DIAG
in
ADC IN1
CM_COS
ADC IN2
COSP
ADC IN3
SINP
ADC IN4
SINP
CM_SIN
C1
C2
C3
CM_SIN
C4
COSP
AS5116
CM_COS
Rpu
VSS
DIAG
VDD5
VDD3
Recommended
(1)
(2)
11.2
4.5 – 5.5 V
VDD5
GND
GND
C5
100 nF
C6
1 µF
C1=C2=C3=C3=C4=Cout
Parameters for Cout and Rpu are described in chapter “Electrical Characteristics”
AS5116B
AS5116B is configured in Differential mode. A fixed gain configuration of 31.5 mV/mT is chosen
(Gain_Code 12). OTP Diagnostic and internal ECC check are enabled and show the actual status on
UART/DIAG pin.
Figure 35:
AS5116B – Register Settings
Gain_Code
DIAG_EN
VCM_Level
CM_COS, CM_SIN
INVERT_CH
CONFIG2
CONFIG2
CONFIG1
CONFIG1
CONFIG1
12 – 31.5 mV/mT
Enabled
2.125 V
Disabled
Disabled
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 28
Document Feedback
AS5116
Preconfigured Versions
Figure 36:
AS5116B – Output Behavior
Figure 37:
AS5116B – Wiring Diagram, Differential Output Mode
Controller Unit
in/out
Angle
Calcualation
Diff. Input
ADC
COS
Diff. Input
ADC
SIN
UART
COSN
COSP
SINP
SINP
SINN
C1
C2
C3
C4
SINN
COSP
AS5116
COSN
Rpu
VSS
UART
VDD5
VDD3
Recommended
4.5 – 5.5 V
GND
(1)
(2)
VDD5
GND
C5
100 nF
C6
1 µF
C1=C2=C3=C3=C4=Cout
Parameters for Cout and Rpu are described in chapter “Electrical Characteristics”
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 29
Document Feedback
12
AS5116
Package Drawings & Markings
Package Drawings & Markings
Figure 38:
SOIC8 Package Outline Drawing
Ref.
Min
Nom
Max
A
-
-
1.75
A1
0.10
-
0.25
A2
1.25
-
-
b
0.31
-
0.51
c
0.17
-
0.25
D
4.90 BSC
E
6.00 BSC
E1
3.90 BSC
e
1.27 BSC
L
0.40
-
1.27
L1
1.04 REF
L2
0.25 BSC
R
0.07
-
-
R1
0.07
-
-
h
0.25
-
0.50
0°
-
8°
2
5°
-
15°
3
0°
-
-
aaa
-
0.10
-
bbb
-
0.20
-
ccc
-
0.10
-
ddd
-
0.25
-
eee
-
0.10
-
fff
-
0.15
-
ggg
-
0.15
-
N
8
RoHS
Green
(1)
(2)
(3)
(4)
(5)
(6)
All dimensions are in millimeters (angles in degrees).
Dimensioning and tolerances conform to ASME Y14.5M-1994.
N is the total number of terminals.
Datum A&B to be determined by datum H.
This package contains no lead (Pb).
This drawing is subject to change without notice.
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 30
Document Feedback
AS5116
Package Drawings & Markings
Figure 39:
SOIC8 Package Marking/Code for AS5116
YY
WW
M
ZZ
@
Manufacturing Year
Manufacturing Week
Assembly Plant Identifier
Assembly Traceability Code
Sublot Identifier
YY
WW
M
ZZ
@
Manufacturing Year
Manufacturing Week
Assembly Plant Identifier
Assembly Traceability Code
Sublot Identifier
YY
WW
M
ZZ
@
Manufacturing Year
Manufacturing Week
Assembly Plant Identifier
Assembly Traceability Code
Sublot Identifier
Figure 40:
SOIC8 Package Marking/Code for AS5116A
Figure 41:
SOIC8 Package Marking/Code for AS5116B
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 31
Document Feedback
13
AS5116
Mechanical Data
Mechanical Data
Figure 42:
SOIC8 Die Placement and Hall Array Position
(1)
(2)
(3)
(4)
(5)
(6)
All dimensions in micrometers
The Hall array center is located in the center of the IC package. Hall array radius is 1.1 mm.
Die thickness is 356 µm nominal
Adhesive thickness 20 ± 10 µm
Leadframe downset 200 ± 25 µm
Leadframe thickness 200 ± 8 µm
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 32
Document Feedback
14
AS5116
Revision Information
Revision Information
●
●
Changes from previous version to current revision v4-00
Page
Updated Ordering information
2
Added Chapter 11.2 AS5116B
28
Added Figure 41
31
Page and figure numbers for the previous version may differ from page and figure numbers in the current revision.
Correction of typographical errors is not explicitly mentioned.
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 33
Document Feedback
15
AS5116
Legal Information
Legal Information
Copyrights & Disclaimer
Copyright ams-OSRAM AG, Tobelbader Strasse 30, 8141 Premstaetten, 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.
Devices sold by ams-OSRAM AG are covered by the warranty and patent indemnification provisions appearing in its General
Terms of Trade. ams-OSRAM AG makes no warranty, express, statutory, implied, or by description regarding the information
set forth herein. ams-OSRAM AG reserves the right to change specifications and prices at any time and without notice.
Therefore, prior to designing this product into a system, it is necessary to check with ams-OSRAM AG for current information.
This product is intended for use in commercial applications. Applications requiring extended temperature range, unusual
environmental requirements, or high reliability applications, such as military, medical life-support or life-sustaining equipment are
specifically not recommended without additional processing by ams-OSRAM AG for each application. This product is provided
by ams-OSRAM AG “AS IS” and any express or implied warranties, including, but not limited to the implied warranties of
merchantability and fitness for a particular purpose are disclaimed.
ams-OSRAM AG shall not be liable to recipient or any third party for any damages, including but not limited to personal injury,
property damage, loss of profits, loss of use, interruption of business or indirect, special, incidental or consequential damages,
of any kind, in connection with or arising out of the furnishing, performance or use of the technical data herein. No obligation or
liability to recipient or any third party shall arise or flow out of ams-OSRAM AG rendering of technical or other services.
RoHS Compliant & ams Green Statement
RoHS Compliant: The term RoHS compliant means that ams-OSRAM AG products fully comply with current RoHS directives.
Our semiconductor products do not contain any chemicals for all 6 substance categories plus additional 4 substance categories
(per amendment EU 2015/863), including the requirement that lead not exceed 0.1% by weight in homogeneous materials.
Where designed to be soldered at high temperatures, RoHS compliant products are suitable for use in specified lead-free
processes.
ams Green (RoHS compliant and no Sb/Br/Cl): ams Green defines that in addition to RoHS compliance, our products are free
of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material)
and do not contain Chlorine (Cl not exceed 0.1% by weight in homogeneous material).
Important Information: The information provided in this statement represents ams-OSRAM AG knowledge and belief as of the
date that it is provided. ams-OSRAM AG bases its knowledge and belief on information provided by third parties, and makes no
representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third
parties. ams-OSRAM AG has taken and continues to take reasonable steps to provide representative and accurate information
but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. ams-OSRAM AG
and ams-OSRAM AG suppliers consider certain information to be proprietary, and thus CAS numbers and other limited
information may not be available for release.
Headquarters
Please visit our website at www.ams.com
ams-OSRAM AG
Buy our products or get free samples online at www.ams.com/Products
Tobelbader Strasse 30
Technical Support is available at www.ams.com/Technical-Support
8141 Premstaetten
Provide feedback about this document at www.ams.com/Document-Feedback
Austria, Europe
For sales offices, distributors and representatives go to www.ams.com/Contact
Tel: +43 (0) 3136 500 0
For further information and requests, e-mail us at ams_sales@ams.com
Datasheet • PUBLIC
DS000686 • v4-00 • 2022-Feb-18
34 │ 34