Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

Transport Delay - Delay input by given amount of time

Library

Continuous

Description

The Transport Delay block delays the input by a specified amount of time. You can use this block to simulate a time delay. The input to this block should be a continuous signal.

At the start of simulation, the block outputs the Initial output parameter until the simulation time exceeds the Time delay parameter. Then, the block begins generating the delayed input. During simulation, the block stores input points and simulation times in a buffer. You specify this size with the Initial buffer size parameter.

When you want output at a time that does not correspond to times of the stored input values, the block interpolates linearly between points. When the delay is smaller than the step size, the block extrapolates from the last output point, which can produce inaccurate results. Because the block does not have direct feedthrough, it cannot use the current input to calculate an output value. For example, consider a fixed-step simulation with a step size of 1 and the current time at t = 5. If the delay is 0.5, the block must generate a point at t = 4.5. Because the most recent stored time value is at t = 4, the block performs forward extrapolation.

The Transport Delay block does not interpolate discrete signals. Instead, the block returns the discrete value at the required time.

This block differs from the Unit Delay block, which delays and holds the output on sample hits only.

Data Type Support

The Transport Delay block accepts and outputs real signals of type double.

Parameters and Dialog Box

Time delay

Specify the amount of simulation time to delay the input signal before propagation to the output.

Settings

Default: 1

This value must be nonnegative.

Command-Line Information

See Block-Specific Parameters for the command-line information.

Initial output

Specify the output that the block generates until the simulation time first exceeds the time delay input.

Settings

Default: 0

The initial output of this block cannot be inf or NaN.

Command-Line Information

See Block-Specific Parameters for the command-line information.

Initial buffer size

Define the initial memory allocation for the number of input points to store.

Settings

Default: 1024

Tips

Command-Line Information

See Block-Specific Parameters for the command-line information.

Use fixed buffer size

Specify use of a fixed-size buffer to save input data from previous time steps.

Settings

Default: Off

On

The block uses a fixed-size buffer.

Off

The block does not use a fixed-size buffer.

The Initial buffer size parameter specifies the size of the buffer. If the buffer is full, new data replaces data already in the buffer. Simulink software uses linear extrapolation to estimate output values that are not in the buffer.

Tips

Command-Line Information

See Block-Specific Parameters for the command-line information.

Direct feedthrough of input during linearization

Cause the block to output its input during linearization and trim, which sets the block mode to direct feedthrough.

Settings

Default: Off

On

Enables direct feedthrough of input.

Off

Disables direct feedthrough of input.

Tips

Command-Line Information

See Block-Specific Parameters for the command-line information.

Pade order (for linearization)

Set the order of the Pade approximation for linearization routines.

Settings

Default: 0

Command-Line Information

See Block-Specific Parameters for the command-line information.

Characteristics

Direct Feedthrough

No

Sample Time

Continuous

Scalar Expansion

Yes, of input and all parameters except Initial buffer size

Dimensionalized

Yes

Zero-Crossing Detection

No

See Also

Variable Time Delay

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS