TLE5012B: 1 Features
TLE5012B: 1 Features
1 Overview
Features
• Giant Magneto Resistance (GMR)-based principle
• Integrated magnetic field sensing for angle measurement
• 360° angle measurement with revolution counter and angle speed
measurement
• Two separate highly accurate single bit SD-ADC
• 15 bit representation of absolute angle value on the output (resolution of 0.01°)
• 16 bit representation of sine / cosine values on the interface
• Max. 1.0° angle error over lifetime and temperature-range with activated auto-calibration
• Bi-directional SSC Interface up to 8 Mbit/s
• Supports Safety Integrity Level (SIL) with diagnostic functions and status information
• Interfaces: SSC, PWM, Incremental Interface (IIF), Hall Switch Mode (HSM), Short PWM Code (SPC, based on
SENT protocol defined in SAE J2716)
• Output pins can be configured (programmed or pre-configured) as push-pull or open-drain
• Bus mode operation of multiple sensors on one line is possible with SSC or SPC interface
• 0.25 µm CMOS technology
• Automotive qualified: -40°C to 150°C (junction temperature)
• ESD > 4 kV (HBM)
• RoHS compliant (Pb-free package)
• Halogen-free
PRO-SIL™ Features
• Test vectors switchable to ADC input (activated via SSC interface)
• Inversion or combination of filter input streams (activated via SSC interface)
• Data transmission check via 8-bit Cyclic Redundancy Check (CRC) for SSC communication and 4-bit CRC
nibble for SPC interface
• Built-in Self-test (BIST) routines for ISM, CORDIC, CCU, ADCs run at startup
• Two independent active interfaces possible
• Overvoltage and undervoltage detection
Potential applications
The TLE5012B GMR-based angle sensor is designed for angular position sensing in automotive applications
such as:
• Electrical commutated motor (e.g. used in Electric Power Steering (EPS))
• Rotary switches
• Steering angle measurements
• General angular sensing
Product validation
Qualified for automotive applications. Product validation according to AEC-Q100.
Description
The TLE5012B is a 360° angle sensor that detects the orientation of a magnetic field. This is achieved by
measuring sine and cosine angle components with monolithic integrated Giant Magneto Resistance (iGMR)
elements. These raw signals (sine and cosine) are digitally processed internally to calculate the angle
orientation of the magnetic field (magnet).
The TLE5012B is a pre-calibrated sensor. The calibration parameters are stored in laser fuses. At start-up the
values of the fuses are written into flip-flops, where these values can be changed by the application-specific
parameters. Further precision of the angle measurement over a wide temperature range and a long lifetime
can be improved by enabling an optional internal autocalibration algorithm.
Data communications are accomplished with a bi-directional Synchronous Serial Communication (SSC) that
is SPI-compatible. The sensor configuration is stored in registers, which are accessible by the SSC interface.
Additionally four other interfaces are available with the TLE5012B: Pulse-Width-Modulation (PWM) Protocol,
Short-PWM-Code (SPC) Protocol, Hall Switch Mode (HSM) and Incremental Interface (IIF). These interfaces can
be used in parallel with SSC or alone. Pre-configured sensor derivates with different interface settings are
available (see Table 1 and Chapter 5).
Online diagnostic functions are provided to ensure reliable operation.
Table of Contents
1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.1 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 Functional block description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2.1 Internal power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2.2 Oscillator and PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2.3 SD-ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2.4 Digital Signal Processing Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2.5 Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2.6 Safety features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 Sensing principle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.4 Pin configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.5 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3 Application circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1 IIF interface and SSC (IIF in push-pull configuration) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.2 HSM interface and SSC (HSM in push-pull configuration) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.3 HSM interface and SSC (HSM in open-drain configuration) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.4 PWM interface (push-pull configuration) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.5 PWM interface (open-drain configuration) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.6 SPC interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.7 SSC interface (push-pull configuration) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.8 SSC interface (open-drain configuration) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.9 Sensor supply in bus mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4 Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.1 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.2 Operating range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.3 Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.3.1 Input/Output characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.3.2 ESD protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.3.3 GMR parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.3.4 Angle performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.3.5 Autocalibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.3.6 Signal processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.3.7 Clock supply (CLK timing definition) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.4 Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.4.1 Synchronous Serial Communication (SSC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.4.1.1 SSC timing definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.4.1.2 SSC data transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.4.2 Pulse Width Modulation (PWM) interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.4.3 Short PWM Code (SPC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
4.4.3.1 Unit time setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
4.4.3.2 Master trigger pulse requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.4.3.3 Checksum nibble details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.4.4 Hall Switch Mode (HSM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
4.4.5 Incremental Interface (IIF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
2 Functional description
TLE5012B
VDD
Osc PLL
2.2.3 SD-ADC
The Sigma-Delta Analog-Digital-Converters (SD-ADC) transform the analog GMR voltages and temperature
voltage into the digital domain.
2.2.5 Interfaces
Bi-directional communication with the TLE5012B is enabled by a three-wire SSC interface. In parallel to the
SSC interface, one secondary interface can be selected, which is available on the IFA, IFB, IFC pins:
• PWM
• Incremental Interface
• Hall Switch Mode
• Short PWM Code
By using pre-configured derivates (see Chapter 5), the TLE5012B can also be operated with the secondary
interface only, without SSC communication.
Disclaimer
PRO-SIL™ is a Registered Trademark of Infineon Technologies AG.
The PRO-SIL™ Trademark designates Infineon products which contain SIL Supporting Features.
SIL Supporting Features are intended to support the overall System Design to reach the desired SIL (according
to IEC61508) or A-SIL (according to ISO26262) level for the Safety System with high efficiency.
SIL respectively A-SIL certification for such a System has to be reached on system level by the System
Responsible at an accredited Certification Authority.
SIL stands for Safety Integrity Level (according to IEC 61508)
A-SIL stands for Automotive-Safety Integrity Level (according to ISO 26262)
GMR Resistors
VX VY
0°
S N
90°
Attention: Due to the rotational placement inaccuracy of the sensor IC in the package, the sensors 0° position
may deviate by up to 3° from the package edge direction indicated in Figure 2.
In Figure 2, the arrows in the resistors represent the magnetic direction which is fixed in the reference layer. If
the external magnetic field is parallel to the direction of the Reference Layer, the resistance is minimal. If they
are anti-parallel, resistance is maximal.
The output signal of each bridge is only unambiguous over 180° between two maxima. Therefore two bridges
are oriented orthogonally to each other to measure 360°.
With the trigonometric function ARCTAN2, the true 360° angle value is calculated out of the raw X and Y signals
from the sensor bridges.
Y Component (SIN)
VY
X Component (COS)
VX
V
VX (COS)
VY (SIN)
8 7 6 5 Center of Sensitive
Area
1 2 3 4
3 Application circuits
The application circuits in this chapter show the various communication possibilities of the TLE5012B. The pin
output mode configuration is device-specific and it can be either push-pull or open-drain. The bit IFAB_OD
(register IFAB, 0DH) indicates the output mode for the IFA, IFB and IFC pins. The SSC pins are by default push-
pull (bit SSC_OD, register MOD_3, 09H). Every application circuits below are using otherwise specified SSC
with push-pull configuration and the internal clock.
3.0 – 5.5V
TLE5012B
VDD
100nF
CSQ Rs1
DATA Rs2
(IIF_A)
IFA
(IIF_B)
IFB IIF
(IIF_IDX)
IFC
GND
Figure 5 Application circuit for TLE5012B with IIF interface and SSC
3.0 – 5.5V
TLE5012B
VDD
100nF
CSQ Rs1
DATA Rs2
(HS1)
IFA
(HS2)
IFB HSM
(HS3)
IFC
GND
Figure 6 Application circuit for TLE5012B with HSM interface (push-pull configuration) and SSC
3.0 – 5.5V
TLE5012B
VDD
100nF
Rpu
Rpu
Rpu
CSQ Rs1
DATA Rs2
(HS1)
IFA
(HS2)
IFB HSM
(HS3)
IFC
GND
Figure 7 Application circuit for TLE5012B with HSM interface (open-drain configuration) and SSC
3.0 – 5.5V
TLE5012B
VDD
100nF
CSQ
SCK
DATA
(PWM)
IFA PWM
IFB
IFC
GND
Figure 8 Application circuit for TLE5012B with PWM (push-pull configuration) interface
3.0 – 5.5V
TLE5012B
VDD
100nF
Rpu
CSQ
SCK
DATA
(PWM)
IFA PWM
IFB
IFC
GND
Figure 9 Application circuit for TLE5012B with PWM (open-drain configuration) interface
3.0 – 5.5V
TLE5012B
VDD
100nF
Rpu
CSQ
SCK
DATA
(SPC)
IFA SPC
IFB
IFC
GND
DATA MTSR
Shift Reg. Rs2 Shift Reg.
EN
EN
MRST
SCK SCK
Rs1 Clock Gen.
CSQ CSQ
Rs1
Rs1 recommended, e.g. 100Ω
Rs2 recommended, e.g. 470Ω
Rpu
DATA MTSR
Shift Reg. Rs1 Rs1 Shift Reg.
EN
EN
MRST
SCK SCK
Rs1 Clock Gen.
CSQ CSQ
Rs1
Rs1 recommended, e.g. 100Ω
Rpu required, e.g. 1kΩ
Rpu
OUT CCU
GND
VDD
Sensor x
VDD
OUT
GND
4 Specification
Attention: Stresses above the max. values listed here may cause permanent damage to the device. Exposure
to absolute maximum rating conditions for extended periods may affect device reliability. Maximum
ratings are absolute ratings; exceeding only one of these values may cause irreversible damage to
the device.
The field strength of a magnet can be selected within the colored area of Figure 14. By limitation of the
junction temperature, a higher magnetic field can be applied. In case of a maximum temperature TJ = 100°C,
a magnet with up to 60 mT at TJ = 25°C is allowed.
It is also possible to widen the magnetic field range for higher temperatures. In that case, additional angle
errors have to be considered.
4.3 Characteristics
VY
+A
Offset
0
0° 90° 180° 270° 360°
Angle
-A
If autocalibration (see Chapter 4.3.5) is enabled and the temperature changes by more than 5 Kelvin during 1.5
revolutions an additional error has to be added to the specified angle error in Table 11. This error depends on
the temperature change (Delta Temperature) as well as from the initial temperature (Tstart) as shown in
Figure 16. Once the temperature stabilizes and the application completes 1.5 revolutions, then the angle error
is as specified in Table 11.
For negative Delta Temperature changes (from higher to lower temperatures) the additional angle error will
be smaller than the corresponding positive Delta Temperature changes (from lower to higher temperatures)
shown in Figure 16. The Figure 16 applies to the worst case.
3.5
3
Additional angle error (°)
2.5
2
Tstart -40°C
1.5 Tstart 25°C
Tstart 85°C
1 Tstart 105°C
Tstart 125°C
0.5 Tstart 135°C
Tstart >135°C
0
0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190
Delta Temperature (Kelvin) within 1.5 revolutions
Figure 16 Additional angle error for temperature changes above 5 Kelvin within 1.5 revolutions
4.3.5 Autocalibration
The autocalibration enables online parameter calculation and therefore reduces the angle error due to
temperature and lifetime drifts.
The TLE5012B is a pre-calibrated sensor, so autocalibration is only enabled in some devices by default. The
update mode can be chosen with the AUTOCAL setting in the MOD_2 register. The TLE5012B needs
1.5 revolutions to generate new autocalibration parameters. These parameters are continuously updated.
The parameters are updated in a smooth way (one Least-Significant Bit within the chosen range or time) to
avoid an angle jump on the output.
AUTOCAL Modes:
• 00: No autocalibration.
• 01: Autocalibration Mode 1. One LSB to final values within the update time tupd (depending on FIR_MD
setting).
• 10: Autocalibration Mode 2. Only one LSB update over one full parameter generation (1.5 revolutions).
After update of one LSB, the autocalibration will calculate the parameters again.
• 11: Autocalibration Mode 3. One LSB to final values within an angle range of 11.25°.
TLE5012B Microcontroller
X SD-
Filter
GMR ADC
Angle
IF
Calculation
Y SD-
Filter
GMR ADC
t adelSSC t delIF
t adelIIF
The signal path of the TLE5012B is depicted in Figure 17. It consists of the GMR-bridge, ADC, filter and angle
calculation. The delay time between a physical change in the GMR elements and a signal on the output
depends on the filter and interface configurations. In fast turning applications, this delay causes an additional
rotation speed dependent angle error.
The TLE5012B has an optional prediction feature, which serves to reduce the speed dependent angle error in
applications where the rotation speed does not change abruptly. Prediction uses the difference between
current and last two angle values to approximate the angle value which will be present after the delay time
(see Figure 18). The output value is calculated by adding this difference to the measured value, according to
Equation (4.1).
α (t + 1) = α (t ) + α (t − 1) − α (t − 2) (4.1)
Sensor output
Angle
With Without
Magnetic field Prediction Prediction
direction
All delay times specified in Table 12 are valid for an ideal internal oscillator frequency of 24 MHz. For the exact
timing, the variation of the internal oscillator frequency has to be taken into account (see Chapter 4.3.7).
In order to fix the IC timing and synchronize the TLE5012B with other ICs in a system, it can be switched to
operate with an external clock signal supplied to the IFC pin. The clock input signal must fulfill certain
requirements:
• The high or low pulse width must not exceed the specified values, because the PLL needs a minimum pulse
width and must be spike-filtered.
• The duty cycle factor should typically be 50%, but it can vary between 30% and 70%.
• The PLL is triggered at the positive edge of the clock. If more than 2 edges are missing, a chip reset is
generated automatically and the sensor restarts with the internal clock. This is indicated by the S_RST, and
CLK_SEL bits, and additionally by the Safety Word (see Chapter 4.4.1.2).
tCLK
tCLKh tCLKl
VH
VL
t
4.4 Interfaces
CSQ
tSCKh tSCKl
SCK
DATA
tDATAs tDATAh
Figure 20 SSC timing
twr_delay
twr_delay
Command Word
SSC Communication between the TLE5012B and a microcontroller is generally initiated by a command word.
The structure of the command word is shown in Table 17. If an update is triggered by shortly pulling low CSQ
without a clock on SCK a snapshot of all system values is stored in the update registers simultaneously. A read
command with the UPD bit set then allows to readout this consistent set of values instead of the current
values. Bits with an update buffer are marked by an “u” in the Type column in register descriptions. The
initialization of such an update is described on page 30.
Safety Word
The safety word consists of the following bits:
Bit Types
The types of bits used in the registers are listed here:
SSC Transfer
twr_delay
Command Word Data Word (s)
SCK
CSQ
CSQ
tCSupdate
The data communication via SSC interface has the following characteristics:
• The data transmission order is Most-Significant Bit (MSB) first, Last-Significant Bit (LSB) last.
• Data is put on the data line with the rising edge on SCK and read with the falling edge on SCK.
• The SSC Interface is word-aligned. All functions are activated after each transmitted word.
• After every data transfer with ND ≥ 1, the 16-bit Safety Word is appended by the TLE5012B.
• A “high” condition on the Chip Select pin (CSQ) of the selected TLE5012B interrupts the transfer
immediately. The CRC calculator is automatically reset.
• After changing the data direction, a delay twr_delay (see Table 16) has to be implemented before continuing
the data transfer. This is necessary for internal register access.
• If in the Command Word the number of data is greater than 1 (ND > 1), then a corresponding number of
consecutive registers is read, starting at the address given by ADDR.
• In case an overflow occurs at address 3FH, the transfer continues at address 00H.
• If in the Command Word the number of data is zero (ND = 0), the register at the address given by ADDR is
read, but no Safety Word is sent by the TLE5012B. This allows a fast readout of one register.
• At a rising edge of CSQ without a preceding data transfer (no SCK pulse, see Figure 24), the content of all
registers which have an update buffer is saved into the buffer. This procedure serves to take a snapshot of
all relevant sensor parameters at a given time. The content of the update buffer can then be read by
sending a read command for the desired register and setting the UPD bit of the Command Word to “1”.
• After sending the Safety Word, the transfer ends. To start another data transfer, the CSQ has to be
deselected once for at least tCSoff.
• By default, the SSC interface is set to push-pull. The push-pull driver is active only if the TLE5012B has to
send data, otherwise the DATA pin is set to high-impedance.
Serial X7 X6 X5 X4 X3 X2 X1 X0
CRC 1 1 1 1 xor 1 xor 1 xor 1 1 & xor Input
output
TX_CRC
parallel
Remainder
ton
Duty Cycle =
t PWM
t PWM = t on + toff
1
f PWM =
t PWM
(4.2)
The duty cycle range between 0 - 6.25% and 93.75 - 100% is used only for diagnostic purposes. In case the
sensor detects an error, the corresponding error bit in the Status register is set and the PWM duty cycle goes
to the lower (0 - 6.25%) or upper (93.75 - 100%) diagnostic range, depending on the kind of error (see “Output
duty cycle range” in Table 20). Except for an S_ADCT error, an error is only indicated by the corresponding
diagnostic duty-cycle as long as it persists, but at least once. However the value in the status register will
remain until a read-out via the SSC interface or a chip reset is performed. An S_ADCT error on the other side
will be transmitted until the next chip reset. This fail-safe diagnostic function can be disabled via the MOD_4
register.
Sensors with preset PWM are available as TLE5012B E50x0.
tON
UIFA ON = High level
tPWM
OFF = Low level Duty cycle = 6.25%
Vdd
tOFF
‚0'
UIFA Duty cycle = 50%
Vdd t
‚0'
UIFA Duty cycle = 93.75% t
Vdd
‚0'
t
Figure 26 Typical example of a PWM signal
1)
fPWM3 929 977 1050 Hz
1)
fPWM4 1855 1953 2099 Hz
Output duty cycle range DYPWM 6.25 93.75 % Absolute angle1)
2 % Electrical Error (S_RST;
S_VR)1)
98 % System error (S_FUSE;
S_OV; S_XYOL; S_MAGOL;
S_ADCT)1)
0 1 % Short to GND1)
99 100 % Short to VDD, power loss1)
1) Not subject to production test - verified by design/characterization.
(4.3)
f DIG * 2 IFAB_RES
f PWM =
24 * 4096
The min/max values given in Table 20 take into account the internal digital clock variation specified in
Chapter 4.3.7. If external clock is used, the variation of the PWM frequency can be derived from the variation
of the external clock using Equation (4.3).
24,34,51,78 tck 56 tck 12..27 tck 12..27 tck 12..27 tck 12..27 tck 12..27 tck 12 tck
The CRC checksum includes the status nibble and the data nibbles, and can be used to check the validity of
the decoded data. The sensor is available for the next trigger pulse 90 µs after the falling edge of the end pulse
(see Figure 28).
Trigger Nibble Synchronisation Frame End-Pulse Trigger Nibble Synchronisation Frame End-Pulse
... ...
µC Activity
Sensor Activity > 90 µs
In SPC mode, the sensor does not continuously calculate an angle from the raw data. Instead, the angle
calculation is started by the trigger nibble from the master. In this mode, the AVAL register, which stores the
angle value and can be read via SSC, contains the angle which was calculated after the last SPC trigger nibble.
In parallel to SPC, the SSC interface can be used for individual configuration. The number of transmitted SPC
nibbles can be changed to customize the amount of information sent by the sensor. The frame contains a 16-
bit angle value and an 8-bit temperature value in the full configuration (Table 21).
Sensors with preset SPC are available as TLE5012B E9000.
The status nibble, which is sent with each SPC data frame, provides an error indication similar to the Safety
Word of the SSC protocol. In case the sensor detects an error, the corresponding error bit in the Status register
is set and either the bit SYS_ERR or the bit ELEC_ERR of the status nibble will be “high”, depending on the kind
of error (see Table 22). Except for an S_ADCT error, an error is only indicated by the corresponding error bit in
the status nibble as long as it persists, but at least once. However the value in the status register will remain
until a read-out via the SSC interface or a chip reset is performed. An S_ADCT error on the other side will be
transmitted until the next chip reset. The fail-safe diagnostic function can be disabled via the MOD_4 register.
tmtr
SPC
tmlow t md,tot
HS1
HS2
HS3
Angle
To avoid switching due to mechanical vibrations of the rotor, an artificial hysteresis is recommended
(Figure 31).
α HShystel αHShystel
αelect 0° αelect
Figure 31 HS hysteresis
1) Decreasing the number of bits does not increase the maximum rotation speed.
A/B Mode
The phase shift between phases A and B indicates either a clockwise (A follows B) or a counterclockwise
(B follows A) rotation of the magnet.
Incremental Interface
(A/B Mode)
90° el . Phase shift
VH
Phase A
VL
VH
Phase B
VL
Counter 0 1 2 3 4 5 6 7 6 5 4 3 2 1
Step/Direction Mode
Phase A pulses out the increments and phase B indicates the direction.
Incremental Interface
(Step /Direction Mode)
Step VH
VL
Direction VH
VL
Counter 0 1 2 3 4 5 6 7 6 5 4 3 2 1
Note: The 100% values typically correspond to 21700 digits and the 70% values to 15500 digits.
ADCTV_Y
122.1%
141.4%
0% 100 .0%
70% ADCTV_X
VDDA
REF - 10µs
VDD Spike xxx_OV
VRG Filter
VRA +
VRD
GND GND
Figure 35 Overvoltage comparator
VDD
VDDA
Diode-
reference
GND
Figure 36 GND - Off comparator
VDDA
GND GND
Figure 37 VDD - Off comparator
5 Pre-configured derivates
Derivates of the TLE5012B are available with different pre-configured register settings for specific
applications. The configuration of all derivates can be changed via SSC interface.
6 Package information
6.3 Footprint
1.31
0.65
5.69
1.27
6.4 Packing
8 0.3
12 ±0.3
5.2
6.4 1.75
2.1
6.5 Marking
Processing
7 Revision history
IMPORTANT NOTICE
Edition 2018-06-20 The information given in this document shall in no For further information on technology, delivery terms
event be regarded as a guarantee of conditions or and conditions and prices, please contact the nearest
Published by
characteristics ("Beschaffenheitsgarantie"). Infineon Technologies Office (www.infineon.com).
Infineon Technologies AG With respect to any examples, hints or any typical
81726 Munich, Germany values stated herein and/or any information regarding
the application of the product, Infineon Technologies WARNINGS
hereby disclaims any and all warranties and liabilities
© 2018 Infineon Technologies AG. of any kind, including without limitation warranties of Due to technical requirements products may contain
All Rights Reserved. non-infringement of intellectual property rights of any dangerous substances. For information on the types
third party. in question please contact your nearest Infineon
In addition, any information given in this document is Technologies office.
Do you have a question about any subject to customer's compliance with its obligations
aspect of this document? stated in this document and any applicable legal Except as otherwise explicitly approved by Infineon
Email: [email protected] requirements, norms and standards concerning Technologies in a written document signed by
customer's products and any use of the product of authorized representatives of Infineon Technologies,
Infineon Technologies in customer's applications. Infineon Technologies’ products may not be used in
The data contained in this document is exclusively any applications where a failure of the product or any
Document reference consequences of the use thereof can reasonably be
intended for technically trained staff. It is the
Doc_Number expected to result in personal injury.
responsibility of customer's technical departments to
evaluate the suitability of the product for the intended
application and the completeness of the product
information given in this document with respect to
such application.