A robot signal can arrive late while preserving its waveform, or it can change shape because a dynamic system smooths it. Both effects may appear as lag on a plot. They are different mathematical models, and replacing one with the other can conceal frequency behavior that matters to interpretation.

The original examples here compare a pure transport delay with a first-order response. They are hypothetical continuous-time signal models. They do not specify controller tuning, a network performance guarantee, or a validated operating limit for a robot.

A pure delay moves the time argument

Let x(t) be an input signal. An ideal delay of D seconds produces y(t) = x(t − D). If the original signal contains a recognizable pulse, every part of that pulse appears D seconds later with the same shape and amplitude.

For a unit step that changes from zero to one at t = 0, a pure delay produces zero until t = D and one afterward. It does not gradually build up before or after that shifted transition in this ideal model.

Invent D = 0.040 second. The delayed step remains zero at 0.020 second and reaches one just after 0.040 second. Its time shift is not a rise-time parameter describing an exponential transition.

An exponential lag changes the shape

Compare a different system defined by tau dy/dt + y = x, with tau = 0.040 second and initial output zero. For the same unit step, its output is y(t) = 1 − exp(−t/tau) for nonnegative t.

At 0.020 second, that output is approximately 0.3935. At 0.040 second, it is approximately 0.6321. It began changing immediately after the input step, unlike the pure delay, and it approaches one gradually rather than jumping there.

The two models share a numerical value of 40 milliseconds in their parameters. That equality does not make their responses equivalent. One parameter shifts the waveform; the other sets the rate of a particular dynamic response.

MathWorks' time-delay documentation explicitly represents delay separately from delay-free dynamics and illustrates a shifted step response. Its frequency-response documentation describes the additional phase associated with transport delay. The following frequencies and parameters are independent examples, not reproduced software demonstrations.

Follow a sinusoid through the pure delay

Take x(t) = sin(2 pi f t). The delayed output is sin(2 pi f t − 2 pi f D). Its amplitude remains one, while its phase shift is −2 pi f D radians, or −360 f D degrees.

With D = 0.040 second, the phase shifts at 2, 5, and 10 hertz are −28.8, −72, and −144 degrees respectively. The same time delay occupies a larger fraction of a cycle as frequency increases.

The ideal delay's transfer factor is exp(−sD). On the imaginary axis its magnitude is one and its phase decreases linearly with frequency. Preserving magnitude does not mean the delayed signal is synchronized with the input.

Compare the first-order frequency response

The first-order model has transfer factor 1/(1 + s tau). At frequency f, its magnitude is 1/sqrt[1 + (2 pi f tau)²], and its phase is −atan(2 pi f tau).

For tau = 0.040 second at 5 hertz, the magnitude is approximately 0.6227 and phase is approximately −51.49 degrees. At that frequency, the pure delay instead has magnitude one and phase −72 degrees.

Thus a plot showing only one time-domain feature can hide two differences: attenuation and phase. A model that matches an apparent lag at one frequency need not match either quantity at another frequency.

At very low frequencies, atan(omega tau) is approximately omega tau, so the first-order phase can resemble that of a small delay. This is a local approximation. It does not make the first-order magnitude identically one or extend the approximation to arbitrarily high frequencies.

Phase wrapping can disguise elapsed time

At 25 hertz, a 40-millisecond delay is one complete period. Its unwrapped phase is −360 degrees, which a wrapped display may show as zero degrees. A sinusoidal comparison at that single frequency can therefore look phase-aligned even though the output is one cycle late.

At 5 hertz, the same delay was plainly visible as −72 degrees. Multiple frequencies and a consistent phase interpretation help distinguish these observations. A wrapped phase value alone does not uniquely determine elapsed time.

The MathWorks frequency-response example discusses phase wrapping when delays are absorbed into sampled frequency-response data. That software representation issue reinforces the need to keep the delay model and the displayed phase convention explicit. No execution of that example is claimed here.

Combine models without merging their meanings

A system can contain both a delay and a first-order lag. Their series transfer factor is exp(−sD)/(1 + s tau). Under zero initial conditions, its unit-step response is zero before D and then 1 − exp[−(t − D)/tau].

For an invented D of 0.030 second and tau of 0.050 second, the response at 0.030 second is zero and at 0.080 second is approximately 0.6321. The delay determines when the response begins; the time constant determines the subsequent exponential rate.

In frequency response, the magnitudes multiply and the phases add. A pure delay does not add attenuation to the first-order magnitude in this model, but it does add phase shift. Those are separate consequences of the two factors.

Keep the model's scope attached to a robot signal

A real acquisition chain may also involve sampling, jitter, filtering, or changing communication latency. A constant continuous-time delay does not represent all those effects automatically. Likewise, an exponential lag is not a universal model for every smoothing operation.

The useful record identifies which relationship is being modeled, its units, the relevant waveform or frequencies, and any approximation. A late signal and a smoothed signal can then be compared through their actual behavior rather than through one ambiguous word such as lag.

Sources checked October 23, 2026

MathWorks, Specifying Time Delays, documentation displayed as R2026b:

https://www.mathworks.com/help/control/ug/specifying-time-delays.html

MathWorks, Frequency Response Data Model with Time Delay, documentation displayed as R2026b:

https://www.mathworks.com/help/control/ug/frequency-response-data-frd-model-with-time-delay.html

All delays, time constants, frequencies, and calculations are original hypothetical examples. No source plots, example parameters, or executed software results are reproduced.

Illustration note: The accompanying robot-and-computer scene is a generic concept illustration. It does not show measured latency, an identified dynamic model, or validated controller performance.