Page 59
Set Sensor Parameter
optoNCDT 1420
7.4.8.3
Recursive Average
Formula:
MV + (N-1) x
(n)
M
rek (n-1)
N
M (n) =
rek
MV = Measurement value,
N = Averaging number,
n = Measurement value index
M
rek
= Averaging value respectively output value
Mode:
Each new measurement value MV(n) is added, as a weighted value, to the sum of the previous measurement
values M
rek
(n-1).
Characteristics:
The recursive average permits a high degree of smoothing of the measurement values. However, it requires
extremely long transient recovery times for steps in measurement values. The recursive average shows low
pass behavior. Range of values for number of average N is 1 ... 32768.
7.4.8.4
Median
The median is generated from a pre-selected number of measurement values.
Mode:
To do so, the incoming measurement values (3, 5, 7 or 9 measurement values) are resorted again after every
measurement. The average value is then given as the median. In generating the median in the sensor, 3, 5, 7
or 9 measurement values are taken into account, that is, there is never a median of 1.
Characteristics:
This averaging mode suppresses individual interference pulses. The measurement value curve is not
smoothed to a great extent.
Example: Average from five measurement values
... 1 2 4 5 1 3 5
... 0 1 2 4 5 1 3
Sorted measurement values: 1 3 4 5 5
Sorted measurement values: 1 2 3 4 5 Median
= 3
(n)
Median
= 4
(n+1)
Содержание ILD 1420-10
Страница 8: ...optoNCDT 1420...
Страница 121: ......