User Manual
730
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
Measurement Core Module (incl. ADC2)
23.7
Signal Processing
23.7.1
Functional Description
Figure 192 Postprocessing Channel Block Diagram for Voltage and Temperature Measurements
As shown in
an adjustable filter can be applied for the upper and the lower measurement channel,
which averages 2, 4, 8 or 16 measurement values continuously. The filtered signal or the demultiplexed ADC
output signal ADC_OUTX is compared with an upper threshold TH_UP_CHX and a lower threshold
TH_LO_CHX. When the thresholds are exceeded, the comparator outputs get active. For all measurement
modes a freely adjustable hysteresis can be defined which is defined with the HYST_UP_CHX and
HYST_LO_CHX values.
In addition to the first filter stage, the second filters (counters) integrate the comparator output values
S
TH_UP/LO_CHX
until an individual upper and lower timing threshold 2
CNT_UP/LO_CHX
is reached. When reaching the
upper timing threshold 2
CNT_UP_CHX
, the upper counter increment is stalled and the status output CHX_UP_STS
is set. For MMODE_OV = 1, the inverted lower comparator output signal S
TH_LO_CHX
is normalized again. When
the output signal is above TH_LO_CHX, the lower counter is incremented until the max. threshold 2
CNT_LO_CHX
is reached. Individual interrupts for the upper and lower channel can be triggered with the rising edge of the
status signals UP/LO_X_STS.
In general the IIR filter stage suppresses higher frequency noise efficiently and triggering with the upper and
lower threshold TH_UP/LO_CHX are dependent on the measured values. Hence short high-level spikes might
pass the thresholds. In opposite to the first stage the nature of the second filter stage is more a time filter,
which is less dependent on the measurement values but on event durations of S
TH_LO/UP_CHX
as generated by
the first comparator stage. Therefore the second stage has a lower noise suppression performance for higher
frequencies and also adds a delay for the trigger time proportional to 2
CNT_LO/HI_CHX
.
S
R
=
=
=
=
+
-
8
TH_UP_CHX
Upper Ch. X
Lower Ch. X
FILTUP_X_EN
-
+
8
FILTLO_X_EN
1
TH_LO_CHX
up/down counter
(integrator)
8
1
UP_X_STS
±1
reset
0
stop (+1)
8
S
TH_UP_CHX
CNT_UP_
CHX
S
TH _LO_CHX
8
1
±1
reset
0
stop (+1)
8
CNT_LO_
CHX
comparator
EX
OR
MMODE_OV
S
R
LO_X_STS
CNT_UP_
CHX
CNT_LO_
CHX
8
comparator
3 to 8
DEC
3 to 8
DEC
HYST_UP_CHX
8
HYST_LO_CHX
2
2
1
EX
OR
MMODE_UV
8
Postprocessing
8
Calib_Raw_Data
IIR _Data
0
1
0
1