Keep the measured and predicted signals distinct
Represent a stable process as a rational delay-free part \(G_0(s)\) followed by transport delay \(e^{-Ls}\). Let the controller see a prediction \(y_p=y+\hat G_0u-\hat G_0e^{-\hat Ls}u\). The two model terms are the currently predicted response and a stored, delayed prediction. On a perfect model, the delayed part cancels the measured response to the command, leaving an undelayed estimate in the feedback path. The measured output remains at the physical sensor downstream. Nothing in the arrangement advances an unknown disturbance in time.
With controller \(u=C(r-y_p)\) and actual command-to-output plant \(P\), direct substitution gives
The characteristic denominator is delay-free in the exact model. The reference-to-measurement signal still includes the full delay. Internal stability requires sensible models and implementation. In particular, cancelling an unstable physical mode in a transfer expression can hide a divergent internal signal. This elementary design assumes a stable plant and meaningful initial conditions for the stored model trajectory.
Calculate the entire nominal step before adjusting a tuning knob
Take \(G_0=1/(4s+1)\), proportional gain two and a delay of three seconds. The measured unit step response is zero until three seconds. Afterwards it is \((2/3)[1-\exp(-3(t-3)/4)]\). Its final offset is one third because a proportional controller is being used. It attains 63.2 percent of its own final change at 4.333 seconds after the reference step and about 95 percent at seven seconds. A plotted prediction rising before three seconds is perfectly consistent with a real sensor trace that remains flat. Labelling a model trajectory as a sensor measurement would conceal a missing or jammed sensor.
Now suppose the true transport delay is four seconds while the model still stores three. A sinusoid of angular frequency \(\omega\) gives a mismatch between the two unit-magnitude delay factors equal to \(2|\sin[\omega(L-\hat L)/2]|\). At one radian per second and one second timing error this is 0.959, even though the steady mismatch vanishes. Multiply by the plant gain at that frequency before interpreting its effect. Time stamps, sample-and-hold, filtering and passage distance each contribute phase. Fitting a single dead time over a narrow frequency band cannot tell them apart.
Track an unknown load applied at the measured output
Let \(y=Pu+d\), where a load disturbance is added after the physical process. In the exact predictor the feedback observation becomes \(G_0u+d\). With reference zero it follows that \(u=-C d/(1+C G_0)\), so the actual output responds according to \(1-PC/(1+CG_0)\). An abrupt output disturbance appears immediately at the sensor, but the compensating physical response arrives only after transport. Input disturbances occurring upstream have a different transfer path. Sketching the injection point avoids confusing these two bench tests.
Measure the transport delay by recording a known actuator perturbation and the two temperatures on a common clock. A feature appearing at an electronic sensor downstream may include sensor lag as well as travel. Move the sensor a known distance without changing flow and repeat. A shift proportional to added distance is evidence for transport; a constant extra lag suggests sensor or actuator dynamics. Repeat at another flow rate and revise the model if the material speed has changed.
Distinguish the two delayed model buffers in a simulation
The experiment stores the output history of the first-order lag. One buffer index represents the actual transit time and another supplies the delayed copy subtracted by the predictor. When the two delay sliders match, the difference between the physical measured curve and its ideal reference is limited to the small time-discretisation error. Change only the actual delay to test mismatch. The correction begins when one delayed signal has arrived and the other has not. Watch the predicted feedback signal separately from the physical output across that interval.
Raise proportional gain at the mismatched delay. The physical transit time stays fixed but the model-based correction becomes more sensitive to cancellation errors. A measurement which shows oscillatory excursions in this demonstration can still settle to the nominal final offset, since a pure delay has unit gain at zero frequency. Agreement at the final value cannot by itself verify the timing model.
Tutorial · Distinguish two time constants on a response plot
Two labelled traces reach 0.42 output units at 1.33 s and 4.33 s respectively after a unit step. A technician calls the second plant three times slower. Explain both traces in the nominal example and design a second check.
Align the response origins
The 63.2 percent level of the 0.667 final value is about 0.421. An undelayed prediction reaches it at the closed-loop time constant of 1.33 s. The measured trace reaches it one transport interval later at 4.33 s. Shift the measured trace three seconds earlier and compare its entire shape, amplitude and late drift. Agreement at one level alone would also occur for many models combining a different lag and delay.
Tutorial · Quantify a frequency at which a delay error matters
For an error of 0.2 seconds, at what first positive angular frequency does the difference of unit delay factors reach magnitude one? Is that automatically a stability boundary?
Solve the phasor geometry and inspect the remaining loop
Set \(2\sin(0.1\omega)=1\), giving \(\omega=\pi/(0.6)=5.24\) rad/s. The physical plant magnitude there is about 0.048 for the stated first-order lag. Controller gain and phase, additional modes and the nominal denominator determine the closed-loop consequence. A unit difference of raw delay phasors is an interpretable timing-error measure and does not by itself place a closed-loop pole on the imaginary axis.
Tutorial · Explain a failed transport assumption
A predictor tuned at constant flow develops oscillatory residuals when flow periodically changes. Name observations that could distinguish model-delay variation from an oscillating load.
Use independent transport and command records
Compute the passage delay from an independent flow measurement and known pipe volume, accounting for the actual parcel history when speed varies appreciably during transit. Compare residual phase against the command and repeat with a small deliberate input perturbation at a different frequency. A response phase tracking flow supports a varying delay. An output oscillation continuing at fixed flow with no corresponding command suggests an external load or another mode. Preserve a baseline with the predictor disabled to identify plant changes independently of the feedback algorithm.
ETH Zürich · Control Systems II, dead-time compensation and the Smith predictor