Page 26
Operation
optoNCDT 1402
Average
6.3
The optoNCDT1402 is supplied ex factory with the default setting „moving averaging, number of averaging
N = 1“ (no averaging activated).
Implemented averaging methods in the sensor:
Moving average
-
Median
-
The purpose of averaging is to:
Improve the resolution
-
Eliminate signal spikes
-
“Smooth out“ the signal.
-
Averaging has no effect on linearity. A combination of the two averaging methods is not possible.
Averaging Number N
6.3.1
In every measurement cycle (at a measurement rate of 1.5 kHz every 0.66 ms) the internal average is calcu-
lated anew. The averaging number N indicates the number of consecutive measurement values to be aver-
aged in the sensor before the measurement values are to be issued.
Averaging does not affect the measurement rate or data rates in digital measurement value output.
Moving Average (Default Setting)
6.3.2
The selected number N of successive measurement values (window width) is used to generate the moving
average value M
gl
on the basis of the following formula:
MW (k)
k=1
N
N
M =
gl
MW = Measuring value,
N = Averaging number,
k = Running index
M
gl
= Averaging value respectively output value
Mode:
Each new measurement value is added and the first (oldest) measurement value from the averaging process
(from the window) taken out again. This results in short transient recovery times for jumps in measurement
values.