<< TIME_DELAY Continuous_pal Demonstrationsblocks_pal >>

Scilab Help >> Xcos > palettes > Continuous_pal > VARIABLE_DELAY

VARIABLE_DELAY

Variable delay

Block Screenshot

Contents

Description

The Variable Transport 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).

At the current time step t, the block outputs the delayed data input u(θ) where θ is the current simulation time t minus the time delay parameter τ.

The equation of the output signal is:

y(t) = y(θ) - u(t - τ(t))

Parameters

Default properties

Interfacing function

Computational function

Example

In this example, the max time delay in the Block Parameters dialog box is set to 4. The input signal is a sine wave with amplitude 1 and frequency 0.2 Hz.

The constant block is set to 2 to introduce a delay of 2 second. The input and output waveforms of the VARIABLE_DELAY block are shown below:


Report an issue
<< TIME_DELAY Continuous_pal Demonstrationsblocks_pal >>