Skip to content
Process Control

PID tuning for processes: direct synthesis, IMC and SIMC rules

Forms of the industrial PID, direct synthesis for the process with dead time with proof, choosing lambda, the SIMC correction with proof of the damping, derivative action, comparison with Ziegler-Nichols.

Once the process model is known, the PID controller can be tuned by reasoning rather than by trial and error. In this lesson we derive the direct synthesis tuning rules (related to IMC, internal model control) for the first-order-plus-dead-time process, with proof; we look at the SIMC correction for slow processes with the proof of the damping, and at how to choose the only remaining parameter, the desired closed-loop time constant. The Ziegler-Nichols rules, the PID structure and anti-windup are in the Automatic Control lesson on the PID.

The forms of the PID

In industrial controllers the PID is almost always written in the standard form (also called ISA):

    \[ u(t) = K_c\left(e(t) + \frac{1}{\tau_i}\int_0^t e\,dt' + \tau_d\,\frac{de}{dt}\right) \]

with gain K_c, integral time \tau_i and derivative time \tau_d. Some manufacturers use the proportional band PB = 100/K_c in per cent, or repeats per minute 1/\tau_i; others the “series” form, with the parameters related differently. Before entering computed numbers one must know which form one’s controller uses. In practice the derivative is computed on the measurement rather than on the error (so as not to kick the valve at every set-point change) and is always filtered.

Direct synthesis

The idea is to choose the desired closed-loop response and derive the controller from it. For a process with dead time no controller can remove the delay, so the reasonable request is

    \[ T(s) = \frac{y}{r} = \frac{e^{-\theta s}}{\lambda s + 1} \]

i.e. a first-order response with time constant \lambda, delayed by \theta. The parameter \lambda is our choice: small for a fast loop, large for a slow and robust one.

Theorem. For the process G(s) = K e^{-\theta s}/(\tau s + 1), direct synthesis with the approximation e^{-\theta s} \approx 1 - \theta s gives a PI controller with

    \[ K_c = \frac{\tau}{K(\lambda + \theta)},\qquad \tau_i = \tau \]

Proof. In closed loop T = CG/(1 + CG), whence C = T/(G(1 - T)). Substituting:

    \[ C = \frac{\tau s + 1}{K e^{-\theta s}}\cdot\frac{e^{-\theta s}/(\lambda s + 1)}{1 - e^{-\theta s}/(\lambda s + 1)} = \frac{\tau s + 1}{K}\cdot\frac{1}{\lambda s + 1 - e^{-\theta s}} \]

With e^{-\theta s} \approx 1 - \theta s the denominator becomes \lambda s + \theta s = (\lambda + \theta)s, and

    \[ C(s) = \frac{\tau s + 1}{K(\lambda + \theta)\,s} = \frac{\tau}{K(\lambda + \theta)}\left(1 + \frac{1}{\tau s}\right) \]

which is a PI in standard form with the parameters stated. ∎

The controller cancels the pole of the process with its zero (\tau_i = \tau) and its gain is lower the longer the delay. It is an intuitive result: the slower the process is to respond, the more patient the controller must be.

Choosing lambda

Closed-loop responses with the PI tuned by direct synthesis for three values of lambda
The same process controlled with lambda equal to half the delay, to the delay and to three times the delay: with small lambda the response is fast but oscillates, with large lambda it is slow but very robust.

The recommended choice is \lambda = \theta: it gives a fast response without oscillations, with a gain margin of about 3 and a phase margin of about 60°. A model identified from a step test has errors of 20-30 % in its parameters, and these margins tolerate them. Smaller values make the loop aggressive and sensitive to model errors; larger values, up to 3\theta and beyond, are used when a quiet valve matters more than speed, for instance for the levels of surge tanks.

Example. For the heat exchanger of the previous lesson, K = 0.8 °C/%, \tau = 90 s, \theta = 40 s. With \lambda = 40 s:

    \[ K_c = \frac{90}{0.8\cdot 80} \approx 1.4\ \%/°C,\qquad \tau_i = 90\ \text{s} \]

The SIMC correction for slow processes

If the process is very slow (\tau \gg \theta), cancelling its pole has a drawback: a disturbance entering at the process input, such as a change in steam pressure, is recovered with the slowness of \tau, because the cancelled pole remains in the disturbance response. The SIMC rules (Skogestad) correct the integral time:

    \[ \tau_i = \min\left(\tau,\ 4(\lambda + \theta)\right) \]

The factor 4 is not arbitrary.

Theorem. For an integrating process k'/s (the limit of a slow process) controlled by a PI with K_c = 1/(k'(\lambda + \theta)) and \tau_i = 4(\lambda + \theta), neglecting the delay, the closed loop has damping \zeta = 1.

Proof. The characteristic equation 1 + K_c(1 + 1/(\tau_i s))\,k'/s = 0, multiplied by s^2, becomes

    \[ s^2 + k'K_c\,s + \frac{k'K_c}{\tau_i} = 0 \]

Comparing with s^2 + 2\zeta\omega_n s + \omega_n^2: \omega_n^2 = k'K_c/\tau_i and 2\zeta\omega_n = k'K_c, so \zeta = \frac{1}{2}\sqrt{k'K_c\tau_i}. With the given values k'K_c\tau_i = 4, and \zeta = \frac{1}{2}\cdot 2 = 1: critical damping, the fastest response without oscillation. A smaller \tau_i would give \zeta \lt  1 and oscillations. ∎

The gain rule is consistent with the first-order one: an integrating process is the limit of K/(\tau s + 1) with \tau and K growing together, K/\tau = k', and then \tau/(K(\lambda + \theta)) tends exactly to 1/(k'(\lambda + \theta)).

When derivative action is needed

For a first-order-plus-dead-time process a PI is enough: derivative action adds little and amplifies measurement noise. If the process has a second significant time constant \tau_2 (model K e^{-\theta s}/((\tau_1 s + 1)(\tau_2 s + 1))), the same direct synthesis gives a series-form PID with \tau_d = \tau_2: the derivative cancels the second pole. This is the typical case of temperatures, where the slowness of the process adds to that of the probe in its thermowell. For pressures and flows, fast and noisy, the derivative is hardly ever used.

Comparison with the classic rules

The Ziegler-Nichols rules aim at quarter-amplitude damping: each oscillation is a quarter of the previous one. It is an aggressive response, with overshoots close to 50 %, acceptable for a disturbance but not for today’s valves and plants. The direct synthesis and SIMC rules have a single parameter with a clear meaning, the desired speed, and allow a conscious choice between quickness and robustness. In plant practice the sequence is: step test, FOPDT model, tuning with \lambda = \theta, closed-loop check with a small set-point change, adjustment of \lambda if needed.

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x