Algorithm Search⌘K

Modelcore

Time-delay system

Also called dead-time system, system with transport delay.

A system whose rate of change depends on past states or inputs, with a delay tau. Its transfer function has the factor e^(-s tau), which is not rational, and its state is a function on [-tau, 0].

A time-delay system is a dynamical system whose rate of change at time tt depends on values of the state or the input at an earlier time t−τt - \tau. Delays come from transport (a fluid in a pipe, a belt, a signal on a network), from computation and from measurement. In process control a delay is also called dead time. The simplest case, a pure delay y(t)=u(t−τ)y(t) = u(t - \tau), has the transfer function e−sτe^{-s\tau}: it does not change the gain of a sinusoid, but it adds a phase lag of ωτ\omega\tau radians at frequency ω\omega, and that lag grows without bound. Because of this, a delay limits the bandwidth of every feedback loop around it. A delay system is not finite dimensional: its transfer function is not rational, and its characteristic equation has infinitely many roots.

The machine

Notation. The delay is τ>0\tau > 0 in seconds. Write xtx_t for the segment of the past state, xt(θ)=x(t+θ)x_t(\theta) = x(t + \theta) for θ∈[−τ,0]\theta \in [-\tau, 0].

Input and output delay. A linear time-invariant system with a delay at the input is x′(t)=Ax(t)+Bu(t−τ)x'(t) = A x(t) + B u(t - \tau), y=Cxy = C x. Its transfer function is C(sI−A)−1B e−sτC(sI - A)^{-1} B\, e^{-s\tau}, by the time shift rule of the Laplace transform. A common process model of this kind is the first-order plus dead time model Ke−sτ/(T1s+1)K e^{-s\tau}/(T_1 s + 1), with gain KK, time constant T1T_1 and delay τ\tau, which the process reaction curve fits from a step test.

State delay. A linear retarded system with one delay is

x′(t)=A0x(t)+A1x(t−τ)+Bu(t),x0=φ∈C([−τ,0],Rn).x'(t) = A_0 x(t) + A_1 x(t - \tau) + B u(t), \qquad x_0 = \varphi \in C([-\tau, 0], \mathbb{R}^n).

The initial condition is a whole function φ\varphi on [−τ,0][-\tau, 0], not a vector. The state at time tt is the segment xtx_t, an element of the infinite-dimensional space C([−τ,0],Rn)C([-\tau, 0], \mathbb{R}^n). Retarded means that the highest derivative appears without delay. A neutral system also has delayed derivatives, as in x′(t)−Dx′(t−τ)=A0x(t)+A1x(t−τ)x'(t) - D x'(t - \tau) = A_0 x(t) + A_1 x(t - \tau); it needs extra conditions on DD, and the results below are for retarded systems.

Solutions by steps. On [0,τ][0, \tau] the term A1x(t−τ)=A1φ(t−τ)A_1 x(t - \tau) = A_1 \varphi(t - \tau) is known, so the equation is an ordinary differential equation for xx on that interval. Its solution gives the history for [τ,2τ][\tau, 2\tau], and so on. So for continuous φ\varphi and a locally integrable input, a unique solution exists for all t≥0t \ge 0 (a theorem; the general nonlinear case is in Hale and Verduyn Lunel). The solution need not be smooth at t=0t = 0, but each step makes it one derivative smoother.

Characteristic equation. Trying x(t)=estvx(t) = e^{st} v with u=0u = 0 gives

det⁡(sI−A0−A1e−sτ)=0,\det\bigl(sI - A_0 - A_1 e^{-s\tau}\bigr) = 0,

a quasi-polynomial equation in ss and e−sτe^{-s\tau}. It has infinitely many roots. For a retarded system, only finitely many roots lie in any half plane Re⁡s>c\operatorname{Re} s > c, and the system is exponentially stable exactly when every root has Re⁡s<0\operatorname{Re} s < 0 (a theorem). With input delay only, the characteristic equation of a feedback loop has this form as well: unity feedback around G0(s)e−sτG_0(s) e^{-s\tau} gives 1+G0(s)e−sτ=01 + G_0(s) e^{-s\tau} = 0.

Discrete time. In discrete time a delay of dd samples is z−dz^{-d}, which is rational. It adds dd states (a shift register), so a sampled delay system is finite dimensional. With a sampling period hh, a delay τ=dh\tau = d h becomes z−dz^{-d} exactly; see sampled-data system.

What it counts

  • Phase lag. At frequency ω\omega, e−iωτe^{-i\omega\tau} has gain 1 and phase −ωτ-\omega\tau rad. At ωτ=1\omega\tau = 1 the lag is 57.357.3 degrees.
  • Delay margin. For a loop L(s)L(s) with negative feedback, the delay margin is the least extra delay τ\tau in the loop that makes the closed loop not asymptotically stable. If ∣L(iω)∣=1|L(i\omega)| = 1 at exactly one frequency ωc\omega_c and the closed loop is asymptotically stable with the phase margin φm\varphi_m in radians, the delay margin is φm/ωc\varphi_m/\omega_c: the delay reduces the phase at ωc\omega_c by ωcτ\omega_c\tau and changes nothing else on the gain crossover.
  • Characteristic roots. The rightmost roots of the quasi-polynomial, which fix the decay rate of the solutions.

Relation to other models

  • Finite-dimensional LTI systems. With τ=0\tau = 0 the model is an ordinary linear time-invariant system. The transfer function G0(s)e−sτG_0(s) e^{-s\tau} has the same gain as G0G_0 at every frequency but more phase lag. So a delay acts like an all-pass factor with zeros in the right half plane, such as (1−s)/(1+s)(1 - s)/(1 + s): both add phase lag without changing the gain, and both limit the achievable bandwidth.
  • Rational approximation. The Padé approximation replaces e−sτe^{-s\tau} by an all-pass rational function. The first-order one is (1−sτ/2)/(1+sτ/2)(1 - s\tau/2)/(1 + s\tau/2), and the second-order one is (1−sτ/2+(sτ)2/12)/(1+sτ/2+(sτ)2/12)(1 - s\tau/2 + (s\tau)^2/12)/(1 + s\tau/2 + (s\tau)^2/12). Both have gain exactly 1 on the imaginary axis, so the error is in the phase only:
ωτ\omega\tau exact phase (deg) first order (deg) second order (deg)
0.5 -28.65 -28.07 -28.65
1 -57.30 -53.13 -57.22
2 -114.59 -90.00 -112.62
3 -171.89 -112.62 -161.08

A Padé model is a design rule of thumb, not an equivalent model: it is accurate only below some ωτ\omega\tau (for the first-order form, up to about ωτ=1\omega\tau = 1), and it has right half plane zeros that the delay does not have. Check a design based on it against the exact delay.

  • Sampled data. A zero-order hold behaves, at frequencies well below the sampling rate, like a delay of h/2h/2 (a rule of thumb used to estimate the phase cost of sampling).
  • Smith predictor. The Smith predictor uses a model of the delay inside the controller so that, when the model is exact, the delay leaves the characteristic equation.

Known results in the model

  • The scalar equation (a theorem). x′(t)=−kx(t−τ)x'(t) = -k x(t - \tau) with k>0k > 0 is asymptotically stable if and only if kτ<π/2k\tau < \pi/2. Proof sketch: for τ=0\tau = 0 the only root of s+ke−sτ=0s + k e^{-s\tau} = 0 is −k-k, and as τ\tau grows the roots move continuously, with the new roots coming from Re⁡s=−∞\operatorname{Re} s = -\infty. A root crosses the imaginary axis at s=iωs = i\omega only if kcos⁡ωτ=0k\cos\omega\tau = 0 and ω=ksin⁡ωτ\omega = k \sin\omega\tau, which first happens at ω=k\omega = k, kτ=π/2k\tau = \pi/2. A numerical solution with τ=1\tau = 1 (a measurement) decays for k=1.4k = 1.4 and 1.51.5 and grows for k=1.65k = 1.65 and 1.71.7.
  • An integrator loop. The same equation is the closed loop of unity negative feedback around L(s)=ke−sτ/sL(s) = k e^{-s\tau}/s. Here ωc=k\omega_c = k and the phase margin is 90−kτ⋅180/π90 - k\tau \cdot 180/\pi degrees; for k=1k = 1 and τ=0.5\tau = 0.5 it is 61.3561.35 degrees. Without delay the delay margin is π/(2k)\pi/(2k), which agrees with the bound kτ<π/2k\tau < \pi/2.
  • A third-order loop. For L(s)=1/(s(s+1)(s+2))L(s) = 1/(s(s + 1)(s + 2)) there is one gain crossover, at ωc=0.44575\omega_c = 0.44575 rad/s, with the phase margin 53.4153.41 degrees, so the delay margin is 0.93219/0.44575=2.09130.93219/0.44575 = 2.0913 s.
  • Stability for all delays (a theorem). If there are symmetric P>0P > 0 and Q>0Q > 0 with
(A0TP+PA0+QPA1A1TP−Q)<0,\begin{pmatrix} A_0^{\mathsf T} P + P A_0 + Q & P A_1 \\ A_1^{\mathsf T} P & -Q \end{pmatrix} < 0,

then x′=A0x+A1x(t−τ)x' = A_0 x + A_1 x(t - \tau) is asymptotically stable for every τ≥0\tau \ge 0. The proof uses the Lyapunov-Krasovskii functional V(xt)=x(t)TPx(t)+∫t−τtx(θ)TQ x(θ) dθV(x_t) = x(t)^{\mathsf T} P x(t) + \int_{t - \tau}^{t} x(\theta)^{\mathsf T} Q\, x(\theta)\, d\theta, whose derivative along solutions is the quadratic form of this matrix in (x(t),x(t−τ))(x(t), x(t - \tau)). Conditions that depend on τ\tau, such as the bound kτ<π/2k\tau < \pi/2 above, need functionals with more terms; Gu, Kharitonov and Chen treat them.

  • The Nyquist test. For a loop G0(s)e−sτG_0(s) e^{-s\tau} with a rational G0G_0, the Nyquist stability criterion still holds, with the plot of G0(iω)e−iωτG_0(i\omega) e^{-i\omega\tau}, which spirals in toward the origin when G0G_0 is strictly proper.

References

  1. Jean-Pierre Richard, Time-delay systems, an overview of some recent advances and open problems, Automatica 39(10), 2003, pp. 1667 to 1694 (the classes of delay equations, the characteristic quasi-polynomial and the Lyapunov-Krasovskii approach)
  2. Keqin Gu, Vladimir L. Kharitonov and Jie Chen, Stability of Time-Delay Systems, Birkhäuser, 2003, the chapters Introduction to Time-Delay Systems and Systems with Single Delay (frequency-domain tests and Lyapunov-Krasovskii functionals)
  3. Jack K. Hale and Sjoerd M. Verduyn Lunel, Introduction to Functional Differential Equations, Applied Mathematical Sciences 99, Springer, 1993, the whole book (existence and uniqueness, the state space of continuous functions, the characteristic equation and stability of retarded and neutral equations)
  4. Gene F. Franklin, J. David Powell and Abbas Emami-Naeini, Feedback Control of Dynamic Systems, eighth edition, Pearson, 2019, Section 6.8, Time Delay (the phase lag of a delay in the frequency response, and Pade approximations), and Section 5.6.3, Time Delay (an online section)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/7TPQZY/text.yaml