Delay line with interpolation

This function block implements a variable-length delay line for float signals. It is mainly used in control system modeling and simulations. The resulting delay error is less than half the program cycle time. The delay time constant may be changed at runtime.

Internally, a ring buffer of up to 50 values is used, and values are linearly interpolated between the points.

Signals

Name I/O Type(s) Function
X I FLOAT Input signal
Y I FLOAT Delayed signal
Ttot OI FLOAT Delay time in [s]