<< DELAY_f Discrete_pal DLR >>

Scilab Help >> Xcos > palettes > Discrete_pal > DELAYV_f

DELAYV_f

Variable delay

Block Screenshot

Contents

Description

The Variable Delay block can be used to simulate a variable time delay between an action and its effect. The block might be used, for example, to model a system with a pipe where the speed of a motor pumping fluid in the pipe is variable.

The block accepts two inputs and one output: the first input is the signal u(t) that passes through the block (data input); the second input is the variable time delay τ(t).

The output activation ports trigger every "Max delay"/length("Register initial condition").

The input activation port and the first output activation port are meant to be linked, to get the variations of the input.

The final delay is: τ(t) + "Max delay"/length("Register initial condition").

Parameters

Default properties

Interfacing function

Computational function

Variable delay example

In this example, the sine function (in black) est delayed alternatively by 0 and 1 second. The amplitude of the GENSQR_f block is fixed at 2, but the "Max delay" parameter of the DELAVV_f block restrains that value to 1. We see that with every time GENSQR_f is activated (every 2*π seconds), the delay changes: the curves overlap (delay=0) and are shifted (delay=1) in turn.


Report an issue
<< DELAY_f Discrete_pal DLR >>