DSP Blockset    
Triggered Delay Line

Buffer a sequence of inputs into a frame-based output.

Library

Signal Management / Buffers

Description

The Triggered Delay Line block acquires a collection of Mo input samples into a frame, where Mo is specified by the Delay line size parameter. The block buffers a single sample from input 1 whenever it is triggered by the control signal at input 2 (). The newly acquired input sample is appended to the output frame (when the next triggering event occurs) so that the new output overlaps the previous output by Mo-1 samples. Between triggering events the block ignores input 1 and holds the output at its last value.

The triggering event at input 2 is specified by the Trigger type pop-up menu, and can be one of the following:

The Triggered Delay Line block has zero latency, so the new input appears at the output in the same simulation time step. The output frame period is the same as the input sample period, Tfo=Tsi.

Sample-Based Operation

In sample-based operation, the Triggered Delay Line block buffers a sequence of sample-based length-N vector inputs (1-D, row, or column) into a sequence of overlapping sample-based Mo-by-N matrix outputs, where Mo is specified by the Delay line size parameter (Mo>1). That is, each input vector becomes a row in the sample-based output matrix. When Mo=1, the input is simply passed through to the output, and retains the same dimension. Sample-based full-dimension matrix inputs are not accepted.

Frame-Based Operation

In frame-based operation, the Triggered Delay Line block rebuffers a sequence of frame-based Mi-by-N matrix inputs into an sequence of overlapping frame-based Mo-by-N matrix outputs, where Mo is the output frame size specified by the Delay line size parameter (i.e., the number of consecutive samples from the input frame to rebuffer into the output frame). Mo can be greater or less than the input frame size, Mi. Each of the N input channels is rebuffered independently.

Initial Conditions

The Triggered Delay Line block's buffer is initialized to the value specified by the Initial condition parameter. The block always outputs this buffer at the first simulation step (t=0). If the block's output is a vector, the Initial condition can be a vector of the same size, or a scalar value to be repeated across all elements of the initial output. If the block's output is a matrix, the Initial condition can be a matrix of the same size, a vector (of length equal to the number of matrix rows) to be repeated across all columns of the initial output, or a scalar to be repeated across all elements of the initial output.

Dialog Box

Trigger type
The type of event that triggers the block's execution.
Delay line size
The length of the output frame (number of rows in output matrix), Mo.
Initial condition
The value of the block's initial output, a scalar, vector, or matrix.

Supported Data Types

To learn how to convert to the above data types in MATLAB and Simulink, see Supported Data Types and How to Convert to Them.

See Also

Buffer
DSP Blockset
Delay Line
DSP Blockset
Unbuffer
DSP Blockset

Also see Buffers for a list of all the blocks in the Buffers library.


  Transpose Triggered Signal From Workspace