Average per time| This
function block calculates the average per time.
The calculation is done similar to an integral controller,
the deviation is integrated with the parameter Time until the
input value is reached (an exponentially moving
average). This corresponds to the recursive formula of a 1st
order filter with time constant (with Te=1 step time), i.e. an
exponentially weighted moving average - new values
enter with a small fraction, old ones "decay" exponentially. |
Inputs |
||
| WT |
Value |
Value for the average calculation |
| RS |
Reset |
On a rising edge the average is set to the
current input value. |
| ZD |
Averaging time* |
Setpoint time for the average in seconds.
Optional, if the input is connected it is used,
otherwise the parameter Averaging time applies. |
Outputs |
||
| DS |
Average |
Average |
Parameters |
||
| Averaging
time |
The average is calculated over this
time. If the input Averaging time is connected, this
parameter is not used. |
|
| Output update time | The calculated average is output at the output at this interval. | |