Strategy 18 of 24 · Tuning & Dynamics · Advanced
Smith Predictor
The Patient Planner
A Smith predictor runs a model of the process in parallel to cancel dead time from the feedback loop. It depends on an accurate dead time.
US and SI units Helps when dead time exceeds the time constant
The setup
Long dead time is the hardest thing for feedback to handle. The controller moves the valve and then sees nothing for a while, so it cannot tell whether its move worked. If it keeps pushing, it overshoots when the effect finally shows up.
A Smith predictor runs a model of the process inside the controller. The model has two parts, a part without the delay and a part with it. The controller acts on the model without delay, which gives it an immediate picture of what its move will do. The difference between the real measurement and the delayed model corrects for what the model gets wrong.
The reality
The predictor helps most when the dead time is longer than the main time constant of the process. In that case, a plain controller has to be detuned heavily to stay stable. A predictor lets the controller be tuned as if the dead time were not there.
It depends on a good model. The delay in the model must match the real delay. If the real dead time is different from the model by a few tens of percent, the loop can perform worse than a well detuned controller without a predictor. A transport delay that changes with flow, such as fluid in a long line, makes this a real problem. The delay in the model needs to follow flow.
The predictor also assumes the process does not change. A fouled line, a different fluid or a changed valve alters the process gain. The loop can drift to a poor state without anybody seeing it.
Before using a predictor, check that the dead time is real and cannot be shortened. Moving the measurement closer to the valve can cut dead time for free. The dead time trap pitfall covers this. This card is about the predictor, not about detuning. A well detuned controller is often the better choice for modest dead time and a process that changes.
The liquid line pressure drop calculator gives the velocity in a transfer line and with it the delay.
Run the numbers
A product line is 1 mile long and the liquid moves at 5 ft/s. The process time constant is about 6 minutes.
US units:
- Dead time = 5,280 ÷ 5 = 1,056 seconds, which is 17.6 minutes
- Dead time ÷ time constant = 17.6 ÷ 6 = 2.9, so dead time dominates and a predictor can help
- If flow drops and the real dead time becomes 22 minutes, the model is 25% short
- A mismatch of that size can make the loop cycle
SI units:
- The line is 1.61 km long and the liquid moves at 1.52 m/s
- Dead time = 1,609 ÷ 1.524 = 1,056 seconds, which is 17.6 minutes
- The ratio of 2.9 and the model error of 25% are the same in any unit system
- The model delay must follow flow, or the line must run at a steady rate
Where it goes wrong
A model dead time that is wrong gives a loop that is worse than plain feedback.
A process that changes, through fouling or flow, moves the model away from the truth.
A noisy measurement makes the correction term noisy.
A model with the wrong gain gives a steady offset in the prediction.
Commissioning without a step test leaves the model settings as guesses.
What to check in the field
- Make a step test of the valve and measure the dead time and time constant before setting the model
- Test the loop with the model dead time 20% too long and 20% too short and compare
- Confirm the model delay follows flow where the delay depends on flow
- Compare the loop with a well detuned controller and keep whichever is more robust
Calculators that check it
- Liquid Line Pressure Drop (Darcy-Weisbach): Friction and elevation pressure drop for a liquid line, with optional fittings and a cavitation check. Open in the app
Related pitfalls
Related strategies
Link to this strategy: jpbprocess.com/control-strategies/smith-predictor
Control Strategies are for awareness and training. Check real control designs against the process, the instrument data and a qualified control engineer.