TLE4998C4 DataSheet v01 - 00 en
TLE4998C4 DataSheet v01 - 00 en
TLE4998C4 DataSheet v01 - 00 en
0, December 2008
TLE4998C3
TLE4998C4
Programmable Linear Hall Sensor
Sensors
N e v e r s t o p t h i n k i n g .
Edition 2008-12
Published by Infineon Technologies AG,
Am Campeon 1-12,
85579 Neubiberg, Germany
© Infineon Technologies AG 2008.
All Rights Reserved.
Attention please!
The information herein is given to describe certain components and shall not be considered as a guarantee of
characteristics.
Terms of delivery and rights to technical change reserved.
We hereby disclaim any and all warranties, including but not limited to warranties of non-infringement, regarding
circuits, descriptions and charts stated herein.
Information
For further information on technology, delivery terms and conditions and prices please contact your nearest
Infineon Technologies Office (www.infineon.com).
Warnings
Due to technical requirements components may contain dangerous substances. For information on the types in
question please contact your nearest Infineon Technologies Office.
Infineon Technologies Components may only be used in life-support devices or systems with the express written
approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure
of that life-support device or system, or to affect the safety or effectiveness of that device or system. Life support
devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain
and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may
be endangered.
Revision History: 2008-12 Rev 1.0
Previous Version: Preliminary Data Sheet Rev 0.9
Page Subjects (major changes since last revision)
TLE4998C4
1 Overview
1.1 Features
• SPC (Short PWM Code) protocol with
enhanced interface features based on SENT (Single
Edge Nibble Transmission,defined by SAE J2716)
• 20-bit Digital Signal Processing (DSP)
• Digital temperature compensation
• 16-bit overall resolution
• Operates within automotive temperature range
• Low drift of output signal over temperature and lifetime
• Programmable parameters stored in EEPROM with
single-bit error correction:
– SPC protocol modes: synchronous transmission,
dynamic range selection, ID selection mode
– SPC unit time
– Magnetic range and sensitivity (gain), polarity of the
output slope
– Offset
– Bandwidth
– Clamping levels
– Customer temperature compensation coefficients
– Memory lock
• Re-programmable until memory lock
• Supply voltage 4.5 - 5.5 V (4.1 - 16 V in extended range)
• Operation between -200 mT and +200 mT within three ranges
• Reverse-polarity and overvoltage protection for all pins
• Output short-circuit protection
• On-board diagnostics (overvoltage, EEPROM error, start up)
• Output of internal magnetic field values and temperature
• Programming and operation of multiple sensors with common power supply
• Two-point calibration of magnetic transfer function without iteration steps
• High immunity against mechanical stress, EMC, ESD
Overview
1.2 Target Applications
• Robust replacement of potentiometers
– No mechanical abrasion
– Resistant to humidity, temperature, pollution and vibration
• Linear and angular position sensing in automotive applications such as pedal position,
suspension control, throttle position, headlight levelling, and steering torque sensing
• Sensing of high current for battery management, motor control, and electronic fuses
Center of
1.625 ±0.1
Hall Probe
Branded Side
Hall-Probe
1 2 3
AEP03717
Overview
2.67
B
d
A 0.2 B
Center of
sensitive area
1.53
Branded Side
Hall-Probe
1 2 3 4
0.2 A
AEP03654
General
2 General
VDD
Supply *)
Bias EEPROM Interface TST
spinning A
HALL D
OUT
DSP
SPC
Temp. A
Sense D
GND
ROM
*) TLE4998 C4 only
General
pulling the output pin to low only. Therefore, the high level needs to be obtained by an
external pull-up resistor. This output type has the advantage that the receiver may use
an even lower supply voltage (e.g. 3.3 V). In this case the pull-up resistor must be
connected to the given receiver supply.
The IC is produced in BiCMOS technology with high voltage capability, and it also has
reverse-polarity protection.
Digital signal processing using a 16-bit DSP architecture together with digital
temperature compensation guarantee excellent long-time stability compared to analog
compensation methods.
While the overall resolution is 16 bits, some internal stages work with resolutions up to
20 bits.
General
2.4 Transfer Functions
The examples in Figure 4 show how different magnetic field ranges can be mapped to
the desired output value ranges.
• Polarity Mode:
– Bipolar: Magnetic fields can be measured in both orientations. The limit points
do not necessarily have to be symmetrical around the zero field point
• Inversion: The gain can be set to both positive and negative values
0 0 0 0 0 0
Maximum Ratings
3 Maximum Ratings
respect to ground
Supply current IDDov - 15 mA
@ overvoltage VDD max.
Reverse supply current IDDrev -1 0 mA
@ VDD min.
Voltage on output pin with VOUT -13) 184) V
respect to ground
Magnetic field BMAX - unlimited T
ESD protection VESD - 4.0 kV According HBM
JESD22-A114-B 5)
1)
For limited time of 96 h. Depends on customer temperature lifetime cycles. Please ask for support by Infineon
2)
Higher voltage stress than absolute maximum rating, e.g. 150% in latch-up tests is not applicable. In such
cases, Rseries ≥100 Ω for current limitation is required
3)
IDD can exceed 10 mA when the voltage on OUT is pulled below -1 V (-5 V at room temperature)
4)
VDD = 5 V, open drain permanent low, for max. 10 minutes
5)
100 pF and 1.5 kΩ
Note: Stresses above those listed under “Absolute Maximum Ratings” may cause
permanent damage to the device. This is a stress rating only and functional
operation of the device at these or any other conditions above those indicated in
the operational sections of this specification is not implied.
Exposure to absolute maximum rating conditions for extended periods may affect
device reliability.
Operating Range
4 Operating Range
The following operating conditions must not be exceeded in order to ensure correct
operation of the TLE4998C. All parameters specified in the following sections refer to
these operating conditions, unless otherwise indicated.
1)
For reduced output accuracy
2)
For supply voltages > 12 V, a series resistance Rseries ≥ 100 Ω is recommended
3)
Required output protocol characteristics depend on these parameters, RL must be according to max. output
current
4)
For reduced magnetic accuracy; extended limits are taken for characteristics
Note: Keeping signal levels within the limits specified in this table ensures operation
without overload conditions.
1)
Transmission time depends on the data values being sent and on int. RC oscillator frequ. variation of +/- 20%.
2)
Response time to set up output data at power on when a constant field is applied. The first value given has a
± 5% error, the second value has a ± 1% error. Measured with 640-Hz low-pass filter
3)
VDD = 5V, VOUT=2.6V, open drain high state
4)
For VDD = 5 V, RL = 2.2 kΩ, CL = 4.7 nF, at room temperature, not considering condensator tolerance or
influence of external circuitry
tlow
VDD
90% VDD
10% VDD *)
VOUTsat RL to VDD assumed
t
tfall trise
6)
Range 100 mT, Gain 2.23, internal LP filter 244 Hz, B = 0 mT, T = 25 °C
Magnetic Parameters
1) Defined as ∆OUT / ∆B
2) Programmable in steps of 0.024%
3) For any 1st and 2nd order polynomial, coefficient within definition in Chapter 8.
∆S ~
S(T)/S0-1 max. pos.
TC-error
TCmax = ∆S/∆T
∆S0
0
Tmin Tmax
T0 Tj
max. neg.
TC-error
TCmin = ∆S/∆T
Signal Processing
6 Signal Processing
The signal flow diagram in Figure 6 shows the signal path and data-processing
algorithm.
Range LP Gain
Limiter
(Clamp)
Hall A Protocol
Sensor D X + Generation
out
X
Temperature Offset
Sensor TC 2
X
X
Stored in
A 1 EEPROM
D + +
Memory
X
-T0 TC 1
Temperature
Compensation
Temperature Compensation
(Details are listed in Chapter 8)
• The output signal of the temperature cell is also A/D converted
Signal Processing
• The temperature is normalized by subtraction of the reference temperature T0 value
(zero point of the quadratic function)
• The linear path is multiplied with the TC1 value
• In the quadratic path, the temperature difference to T0 is squared and multiplied with
the TC2 value
• Both path outputs are added together and multiplied with the Gain value from the
EEPROM
Table 8 Range
Parameter Symbol Limit Values Unit Notes
min. max.
Register size R 2 bit
Signal Processing
6.2 Gain Setting
The overall sensitivity is defined by the range and the gain setting. The output of the ADC
is multiplied with the Gain value.
Table 9 Gain
Parameter Symbol Limit Values Unit Notes
min. max.
Register size G 15 bit Unsigned integer value
1)2)
Gain range Gain - 4.0 3.9998 -
Gain quantization steps ∆Gain 244.14 ppm Corresponds to 1/4096
1) For Gain values between - 0.5 and + 0.5, the numerical accuracy decreases
To obtain a flatter output curve, it is advisable to select a higher range setting
2) A gain value of +1.0 corresponds to typical 32 LSB12/mT sensitivity (100 mT range, not guaranteed). It is
crucial to do a final calibration of each IC within the application using the Gain/OUTOS value
( G – 16384 )
Gain = ------------------------------
4096
OUT OS = OS – 16384
Signal Processing
6.4 DSP Input Low-Pass Filter
A digital low-pass filter is placed between the Hall A/D converter and the DSP, and can
be used to reduce the noise level. The low-pass filter has a constant DC amplification of
0 dB (Gain of 1), which means that its setting has no influence on the internal Hall ADC
value.
The bandwidth can be set to any of 8 values.
Table 11 Low Pass Filter Setting
Note: Parameter LP Cutoff frequency in Hz (-3dB point)1)
0 80
1 240
2 440
3 640
4 860
5 1100
6 1390
7 off
1) As this is a digital filter running with an RC-based oscillator, the cutoff frequency may vary within ±20%
Signal Processing
Figure 7 shows the filter characteristics as a magnitude plot (the highest setting is
marked). The “off” position would be a flat 0 dB line. The update rate after the low-pass
filter is 16 kHz.
-1
-2
Magnitude (dB)
-3
-4
-5
-6
2 3
101 10 10
Frequency (Hz)
Figure 7 DSP Input Filter (Magnitude Plot)
Signal Processing
6.5 Clamping
The clamping function is useful for separating the output range into an operating range
and error ranges. If the magnetic field is exceeding the selected measurement range, the
output value OUT is limited to the clamping values.
Table 13 Clamping
Parameter Symbol Limit Values Unit Notes
min. max.
Register size CL,CH 2x6 bit (0...63)
Clamping value low OUTCL 0 65535 LSB16 1)
1) 2)
Clamping value high OUTCH 0 65535 LSB16
Clamping quantization ∆OUTCx 1024 LSB16 3)
steps
1) For CL = 0 and CH = 63 the clamping function is disabled
2) OUTCL < OUTCH mandatory
3)
Quantization starts for CL at 0 LSB16 and for CH at 65535 LSB16
OUT CL = CL ⋅ 64 ⋅ 16
OUT CH = ( CH + 1 ) ⋅ 64 ⋅ 16 – 1
Signal Processing
Figure 8 shows an example in which the magnetic field range between Bmin and Bmax
is mapped to output values between 10240 LSB16 and 55295 LSB16.
OUT (LSB16)
65535
Error range
55295 OUTCH
Operating range
10240 OUTCL
Error range
0
Bmin Bmax
B (mT)
Error Detection
7 Error Detection
Different error cases can be detected by the On-Board Diagnostics (OBD) and reported
to the microcontroller in the status nibble (see Chapter 13).
Temperature Compensation
8 Temperature Compensation
The magnetic field strength of a magnet depends on the temperature. This material
constant is specific for the different magnet types. Therefore, the TLE4998C offers a
second-order temperature compensation polynomial, by which the Hall signal output is
multiplied in the DSP. There are three parameters for the compensation:
• Reference temperature T0
• A linear part (1st order) TC1
• A quadratic part (2nd order) TC2
The following formula describes the sensitivity dependent on the temperature in relation
to the sensitivity at the reference temperature T0:
2
S TC ( T ) = 1 + TC 1 × ( T – T 0 ) + TC 2 × ( T – T0 )
For more information, please refer to the signal processing flow in Figure 6.
The full temperature compensation of the complete system is done in two steps:
1. Pre-calibration in the Infineon final test
The parameters TC1, TC2, T0 are set to maximally flat temperature characteristics
with respect to the Hall probe and internal analog processing parts.
2. Overall system calibration
The typical coefficients TC1, TC2, T0 of the magnetic circuitry are programmed. This
can be done deterministically, as the algorithm of the DSP is fully reproducible. The
final setting of the TC1, TC2, T0 values depend on the pre-calibrated values.
Table 15 Temperature Compensation
Parameter Symbol Limit Values Unit Notes
min. max.
Register size TC1 TL - 9 bit Unsigned integer values
1st order coefficient TC1 TC1 -1000 2500 ppm/ °C 1)
Temperature Compensation
8.1 Parameter Calculation
The parameters TC1 and TC2 may be calculated by:
TL – 160
TC 1 = ---------------------- × 1000000
65536
TQ – 128
TC 2 = ----------------------- × 1000000
8388608
Now the digital output for a given field BIN at a specific temperature can be calculated by:
B IN
- × S TC × S TCHall × S 0 × 4096 + OUT OS
OUT = 2 ⋅ ------------
B FSR
BFSR is the full-range magnetic field. It is dependent on the range setting (e.g 100 mT).
S0 is the nominal sensitivity of the Hall probe times the Gain factor set in the EEPROM.
STC is the temperature-dependent sensitivity factor calculated by the DSP.
STCHall is the temperature behavior of the Hall probe.
The pre-calibration at Infineon is performed such that the following condition is met:
S TC ( T J – T 0 ) × S TCHall ( T J ) ≈ 1
Within the application, an additional factor BIN(T) / BIN(T0) is given due to the magnetic
system. STC then needs to be modified to STCnew so that the following condition is
satisfied:
B IN ( T )
-------------------- × S TCnew ( T ) × S TCHall ( T ) ≈ S TC ( T ) × S TCHall ( T ) ≈ 1
B IN ( T 0 )
Therefore, the new sensitivity parameters STCnew can be calculated from the pre-
calibrated setup STC using the relationship:
B IN ( T )
-------------------- × S TCnew ( T ) ≈ S TC ( T )
B IN ( T 0 )
Calibration
9 Calibration
For the calibration of the sensor, a special hardware interface to a PC is required. All
calibration and setting bits can be temporarily written into a Random Access Memory
(RAM). This allows the EEPROM to remain untouched during the entire calibration
process, since the number of the EEPROM programming cycles is limited. Therefore,
this temporary setup (using the RAM only) does not stress the EEPROM.
The digital signal processing is completely deterministic. This allows a two-point
calibration to be performed in one step without iterations. After measuring the Hall output
signal for the two end points, the signal processing parameters Gain and Offset can be
calculated.
Calibration
9.1 Calibration Data Memory
When the MEMLOCK bits are programmed (two redundant bits), the memory content is
frozen and may no longer be changed. Furthermore, the programming interface is locked
out and the chip remains in application mode only, preventing accidental programming
due to environmental influences.
User-Calibration Bits
Row Parity Bits
Pre-Calibration Bits
Calibration
Application Circuit
10 Application Circuit
Figure 10 shows the connection of multiple sensors to a microcontroller.
Sensor ECU
Module Voltage Supply Voltage Supply Module
Sensor µC
VDD µC
V dd
V DD
OUT1 2k2
TLE 50
out
47nF 4998 CCin1
GND
1 nF
4.7nF GND
VGND
CCin2
2k2
V DD
OUT2
TLE out 50
47nF 4998
GND
optional 1 nF
4.7nF
5˚
4.06 ±0.05 2 A
0.1 MAX.
B
1.5 1.5 ±0.05
4.05 ±0.05
(0.25)
1)
1 ±0.2
1 2 3
2 x 1.27 = 2.54
12.7 ±1
2 C
(Useable
Length)
(10)
19 ±0.5
1-1
33 MAX.
+0.75
6 ±0.5
9 -0.50
C
18 ±0.5
A Adhesive
Tape
Tape
3.38 ±0.06
3.71±0.08
1.9 MAX. 0.25 ±0.05
7˚
7˚
(0.25)
1 MAX.1)
0.2 +0.1
4x 0.6 MAX.
0.4 ±0.05
0.5
1 2 3 4
1.27
3 x 1.27 = 3.81
12.7 ±1
(Useable Length)
(14.8)
23.8 ±0.5
38 MAX.
1-1
6 ±0.5
9 +0.75
-0.5
18 ±0.5
A Adhesive
Tape
Tape
6.35 ±0.4 4 ±0.3 0.25 -0.15
12.7 ±0.3 0.39 ±0.1
Total tolerance at 10 pitches ±1
The temperature is coded as an 8bit value. The value is transferred in unsigned integer
format and corresponds to the range between -55°C and +200°C, so a transferred value
The status nibble allows to check internal states and conditions of the sensor.
• Depending on the selected SPC mode, the first two bits of the status nibble contain
either the selected magnetic range or the ID of the sensor and allow therefore an easy
interpretation of the received data.
• The third bit is set to “1” for the first transmission after the sensor returns from an
overvoltage operation with disabled open drain stage to regular operation (see
Chapter 7.1).
• The fourth bit is switched to “1” for the first data package transferred after a reset. This
allows the detection of low-voltage situations or EMC problems of the sensor.
tmtr
OUT
Vthr,max ECU trigger
Vthf,max
Vthr,min level
Vthf,min
tmd,tot
tmlow,min
t mlow,max
Sensor CPU
VDD
OUT Capcom-Unit
Outpin (OD)
GND
Sensor 1 CPU
VDD
OUT Capcom-Unit
Outpin (OD)
GND
Sensor 2
VDD
OUT
GND
omitted if F[0] = 1*
omitted if F[1] = 1*
H1 H2 H3 H4
decimal: OUT12 decimal: OUT16 T1 T2
decimal: TEMP8
( = H1* 256+H2*16 +H3 ) ( = OUT12*16+H4 ) ( = T1*16 + T2 )
1111 1111 1111 1111 4095 (FSR) 65535 (FSR) 1111 1111 200 °C
1111 1111 1111 1110 4095 65534 1111 1110 199 °C
1111 1111 1111 : 4095 : 1111 : :
1111 1111 1111 0000 4095 65520 1111 0000 185 °C
1111 1111 1110 1111 4094 65519 1110 1111 184 °C
1111 1111 1110 1110 4094 65518 : : :
1111 1111 1110 : 4094 : 0101 0000 25 °C
1111 1111 1110 0000 4094 65504 0100 1111 24 °C
1111 1111 1101 1111 4093 65503 : : :
: : : : : : 0011 0111 0°C
0000 0000 0010 0000 2 32 0011 0110 -1°C
0000 0000 0001 1111 1 31 : : :
0000 0000 0001 : 1 : 0000 0001 -54 °C
0000 0000 0001 0000 1 16 0000 0000 -55 °C
0000 0000 0000 1111 0 15
0000 0000 0000 1110 0 14
0000 0000 0000 : 0 : Abbreviations:
TRIGGER – trigger nibble
0000 0000 0000 0001 0 1
SYNC – synchronization nibble
0000 0000 0000 0000 0 0 STATUS – status nibble
CRC – cyclic redundancy code nibble
FSR – full scale range
H1..4 – hall value
T1..2 – temperature value
OUT12 – 12 bit output value
OUT16 – 16 bit output value
* The number of nibbles is programmed TEMP8 – 8 bit temperature value
in the frame register F
CRC calculation
Pre-initialization : Nibble
next Nibble
GENERATOR = 1101 VALUE
xor
SEED = 0101 , use this
constant as old CRC
value at first call SEED
<<1
VALUE
VALUExor
xorSEED
SEED
0
4x
xor only if MSB = 1
GENPOLY
// Fast way for any µC with low memory and compute capabilities
char Data[8] = {…}; // contains the input data (status nibble , 6 data nibble , CRC)
// required variables and LUT
char CheckSum, i;
char CrcLookup[16] = {0, 13, 7, 10, 14, 3, 9, 4, 1, 12, 6, 11, 15, 2, 8, 5};
CheckSum= 5; // initialize checksum with seed "0101"
for (i=0; i<7; i++) {
CheckSum = CheckSum ^ Data[i];
CheckSum = CrcLookup[CheckSum];
}
; // finally check if Data [7] is equal to CheckSum