Page 56
Setting Sensor Parameters
optoNCDT 1900 / EtherCAT
7.5.2.3
Recursive Average
Formula:
MV
+ (
N
-1) x
(n)
M
rec (
n
-1)
N
M
(
n
) =
rec
MV
Measurement value,
N
Averaging number,
n
Measurement value index
Mrec
Averaging value or output value
Method:
The weighted value of each new measured value MV(n) is added to the sum of the previous average values
M
rec
(n-
1).
Note:
Recursive averaging enables very strong smoothing of the measured values, however it needs very long settling times for measured
value jumps. The recursive average value shows low-pass behavior. The range of values for the averaging number N is 1 ... 32000.
7.5.2.4
Median
A median value is formed from a preselected number of measurements.
Methods:
The incoming measured values (3, 5, 7 or 9 measurement values) are also sorted again after each measurement. The median value
is then output as the median. 3, 5, 7 or 9 measured values are taken into account for the calculation of the median, i.e. there is no
median 1.
Note:
This averaging type suppresses individual interference pulses. However, the smoothing of the measured value curves is not very
strong.
Example: mean value from five readings
... 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)
Summary of Contents for ILD1900-10
Page 8: ...optoNCDT 1900 EtherCAT ...
Page 110: ...Page 110 Appendix EtherCAT Documentation optoNCDT 1900 EtherCAT ...
Page 111: ......