Skip to main content

Delay

The historical input signal is output according to the set delay time, which is used to describe the response lag in measurement, communication or execution links.

Component Appearance and Location​

Expand Controller in the component library on the left and find "Delayer".

Created with Fabric.js 5.3.0

Ports and Connections​

Port KeyTypeDirectionInterface NameDisplay Conditions
0CONTROLinputInput signal portalways show
1CONTROLoutputOutput signal portalways show

The input terminal receives the current signal, and the output terminal provides the delayed historical signal. This component only connects to the signaling network.

Parameter List​

Basic Parameters

NamekeyTypeDefault / OptionsDescription
Delay Time [s]DelayTimereal5Delay Time
Initial Output SignalInitialValuereal0Initial Output Signal

Parameter Guidance​

  • Delay Time (s). A positive value delays changes by that duration; zero passes the current input directly.
  • Initial Output Signal. With positive delay, used until the first input sample arrives after the delay. Match input units, initial conditions, and downstream range.

Modeling Steps​

  1. Connect input to port 0 and set Delay Time and Initial Output Signal.
  2. Connect port 1 downstream. Place oscilloscopes at input and output if needed.
  3. Run transient simulation and compare when the same change appears on each side. Oscilloscope

View Results​

With positive delay, output first holds its initial value, then reproduces recorded input changes in sequence. Subtract input change times from output change times. Between valid updates, the previous output is held.

Professional Theory​

For delay τ>0\tau>0 and recorded samples (ti,ui)(t_i,u_i), output at control instant tt is the latest sample satisfying ti≤t−τt_i\le t-\tau. If none qualifies, output is initial value y0y_0.

y(t)={y0,{i:ti≤t−τ}=∅,uj,tj=max⁡{ti:ti≤t−τ}.y(t)= \begin{cases} y_0, & \{i:t_i\le t-\tau\}=\varnothing,\\ u_j, & t_j=\max\{t_i:t_i\le t-\tau\}. \end{cases}

Pure signal simulation can schedule updates at sample arrival times. In coupled network simulation, arrived historical samples are read at actual control evaluations. With zero delay, y(t)=u(t)y(t)=u(t). Output units match input units in both cases.

Applicability and Limits​

  • Fixed transmission delay. Models a late-arriving signal. Gradual change or attenuation requires separate dynamics.
  • Feedback. Positive delay uses history and can break instantaneous dependency loops. Zero delay remains a direct path.
  • Continuation. Continuing the same runtime state preserves history; a new transient job starts new history from Initial Output Signal.

Common Inspections​

  • Output stays initial. Check first sample arrival time and whether input changed.
  • Initial jump. Check initial units, conditions, and downstream limits.
  • No visible delay. Compare time axes, delay, and recording times.
  • Dependency loop remains. Check that the feedback delay is positive.