JPB Process Calcs

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.

ProcessPCΣModelDelay
Controller PC drives the valve and a process model with a delay block, and the difference between model and measurement feeds back to the controller.

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:

SI units:

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

Control Strategies are for awareness and training. Check real control designs against the process, the instrument data and a qualified control engineer.