Process identification: gain, time constant and dead time
Get the gain K, time constant τ and dead time θ of a process from its step-test reaction curve, by the two-point or the tangent method, for PID tuning.
Before tuning a PID you need to know the process. The simplest way is the step test: with the controller in manual and the process steady, step its output and record how the measurement responds. That reaction curve gives the three numbers of the first-order-plus-dead-time model, which almost every tuning method uses.
The model
- K, gain: how much the measurement finally changes per unit change of the output, K = Δy / Δu, both in % of span.
- θ, dead time: how long the measurement takes to start moving after the step (transport in pipes or belts, slow sensors).
- τ, time constant: how long it then takes to cover 63.2 % of the change. After 3τ it is at 95 % and after 4τ at 98 %.
Two-point method
t28 and t63 are the times, counted from the step, at which the measurement reaches 28.3 % and 63.2 % of its final change. They are the two points where the model curve passes through θ + τ/3 and θ + τ. It is the most repeatable method because you only read two crossings.
Tangent method
Draw the tangent to the curve at its steepest point; where it crosses the starting line is tL. With noisy signals the tangent is hard to draw and tends to give a longer dead time than the real one, which leads to more cautious tuning.
Test tips
- Make the step big enough to stand out from the noise (5 to 10 % is usually enough), but stay within the normal operating range.
- Wait until the measurement has fully settled before reading Δy. If it never settles and keeps ramping, the process is integrating and this model does not apply.
- Repeat the step up and down: if the values differ a lot, the process is non-linear (a badly sized valve, for example) and you should tune for the faster case.
- θ/τ shows how easy the loop is: below 0.3 it is easy; above 1 dead time dominates and Lambda tuning is advisable.
Worked example
The steam valve of a heat exchanger is opened by 10 % and the temperature rises by 20 % of its span. It reaches 28.3 % of the change at 30 s and 63.2 % at 70 s. K = 20 / 10 = 2, τ = 1.5 · (70 − 30) = 60 s and θ = 70 − 60 = 10 s. θ/τ = 0.17: an easy process. It settles in about θ + 4τ = 250 s. «Tune the PID for this process» opens the tuning calculator with these values.
Frequently asked questions
How is the time constant found with two points?
Note when the measurement reaches 28.3 % and 63.2 % of its final change. Then τ = 1.5 · (t63 − t28) and θ = t63 − τ. With 30 and 70 s: τ = 60 s and θ = 10 s.
What is the process gain?
How much the measurement changes per unit change of the controller output, both in %. If 10 % more valve raises the measurement by 20 % of its span, K = 2.
Two points or tangent?
The two-point method is more repeatable, because the steepest tangent is hard to draw on a noisy signal. The tangent tends to give a somewhat longer dead time.
What if the measurement never settles?
It is an integrating process (like many levels): it has no finite gain and this model does not apply. It is identified from the slope of the ramp.
