Delay Function

 

 

 

Description

The Delay function models the Laplace expression e-sT, where T is the delay time and s is the Laplace operator.

 

The input signal values are placed in a queue.  As time progresses, the signal values move to the end of the queue and are placed on the output line.

 

If the delay time is much larger than the time step Dt, then the size of the queue might become excessively large.  To prevent this, sampling is used. The input values are sampled N times (# of Samples in Delay Time) in the specified Time Delay, and only these samples are placed in the queue.

 

Care must be taken so as to ensure that the number of samples is large enough to accurately represent the delayed signal, while minimizing the amount of storage required.

 

Due to the stair-case nature of the output (result of sampling), an extra delay of Time Delay/(2*N) is introduced.  This is compensated for internally by reducing the delay time slightly.  If necessary, smoothing of the stepping effect of sampling can be accomplished by filtering the Delay output through a first order lag.

Input Parameters

Configuration