Locate the critical imaginary-axis crossing
Use negative unity feedback with \(L(s)=K e^{-s\tau}/(1+sT)\), where K is dimensionless, T is a plant time constant and \(\tau\) is a pure delay. With \(\tau=0\) and positive K the single closed-loop pole is \(-(1+K)/T\). At a purely imaginary characteristic root \(s=j\omega\), the condition \(1+L(j\omega)=0\) requires both unit magnitude and an odd multiple of \(-\pi\) phase. Since the delay has magnitude one, the unique positive gain-crossover frequency for \(K>1\) obeys
The undelayed plant contributes \(-\arctan(\omega_cT)\). The delay contributes an unwrapped phase \(-\omega_c\tau\) in radians. The first critical delay therefore satisfies
Further crossings at the same frequency would require another \(2\pi\) of delay phase. The first one governs the delay margin because the zero-delay system is stable. For \(0<K<1\) no positive frequency reaches unit gain in this particular first-order model. At \(K=1\) the only unit magnitude occurs at zero frequency where the phase is zero.
Background · Loop delay
A pure delay leaves the magnitude unchanged and adds frequency-dependent phase. Use angular frequency when converting a margin to seconds.
Check that the first crossing enters instability
The characteristic equation can be written \(1+sT+K e^{-s\tau}=0\). Implicit differentiation and substitution of \(K e^{-s\tau}=-(1+sT)\) give
To test the direction it is simpler to invert this derivative:
A complex number and its reciprocal have real parts of the same sign. Thus the conjugate pair enters the right half-plane when the delay increases past the first critical value. The oscillation period there is \(2\pi/\omega_c\).
Latency budget at two loop gains
With \(T=0.50\) s and \(K=2\), \(\omega_c=3.464\) rad/s. The undelayed phase at crossover is −60°, leaving 120° or 2.094 rad. The critical delay is 0.605 s and the crossing period is 1.81 s. An installation with 0.30 s of delay retains about 60.5° of phase margin.
Raise K to 4 with the same T. Then \(\omega_c=7.746\) rad/s, the undelayed phase is −75.5°, and the delay margin falls to 0.235 s. The same 0.30 s installation would cross the stability boundary. Reading a phase plot wrapped modulo 360° can conceal such a crossing. Use the unwrapped curves and locate the frequency where gain equals one before judging stability.
At fixed loop gain increase delay until the reported margin vanishes. Use the frequency of that point to estimate the oscillation period. Repeat after increasing gain and check whether the same physical time delay spends the same phase budget.
A related OneSimulation calculation
Measure how a gain change affects the undelayed first-order closed loop in the course laboratory. Then use its increased bandwidth to explain the reduced delay budget calculated here.
Tutorial · allocate a reserve in degrees
With \(K=2,\ T=0.50\) s require at least 45° phase margin. Calculate the largest total delay and the spare time when fixed transport already takes 0.20 s. Explain the effect of using degrees directly in \(\omega\tau\).
Show the phase budget
Subtract the required 45° from the undelayed 120°, leaving 75° for delay. Converting to radians gives \(1.309/3.464=0.378\) s total. The remaining budget is about 0.178 s. The expression \(\omega\tau\) is in radians for \(\omega\) in rad/s. Dividing the number 75 directly by 3.464 would overestimate the budget by \(180/\pi\).
Further reading · Åström and Murray, Feedback Systems · chapter 10, Nyquist criterion and stability margins
Study the full derivation
Predicting a delayed process and testing a Smith controller · System dynamics, feedback and estimation
A heater is upstream of a temperature sensor. Its internal thermal response begins immediately while a material parcel reaches the sensor several seconds later. Build a feedback signal from two model outputs, derive which transfer function loses its delay, and then deliberately introduce a delay mismatch to see why a plausible prediction may fail.