288 7 The Control Problem and Design of Simple Controllers
estimate of the controller parameters. Next, these are applied to the process
and manually retuned to yield the desired performance.
These drawbacks can partially be eliminated by using experimental meth-
ods that explore dynamic properites of the controlled process to find controller
parameters.
Trial-and-Error Method
A typical tuning of PID controller parameters can be as follows:
• Integral and derivative actions are turned off (T
I
is on maximum, T
D
is
zero) so that only proportional action with small controller gain results.
• The proportional gain is gradually increased until permanent oscillations
result (undamped behaviour). A care has to be taken so that the manip-
ulated variable is not on the constraints.
• The proportional gain is reduced to a half.
• Integral time constant is gradually reduced until again permanent oscilla-
tions occur. T
I
is then set to 3T
I,crit
.
• Derivative action is increased until again permanent oscillations occur. T
D
is then set to a third of the critical value.
The method cannot always be used as permanent oscillations can compromise
the safety of the technology. In any case these steps indicate influence of each
controller part and their relation to controller tuning.
Ziegler-Nichols Methods
These are among the most used and widely spread methods for PID controller
tuning that have been in use since 1950. The derivation is based on the first
order controlled system with time delay and the controller parameters are
optimised for underdamped transient response with the damping coefficient of
about 25%. The procedure can either be applied using permanent oscillations
or is based on the step response. The method of permanent oscillations is in
fact only a modification of the trial-and-error method.
Method of Permanent Oscillations The controller is at first set up only with
a proportional action and its gain is increased until permanent oscillations
occur. The closed-loop system is only marginally stable at this point. Criti-
cal proportional gain Z
Rk
amd critical time period of the oscillations T
k
are
obtained. These values are used for a given controller structure for the calcu-
lation of its parameters from Table 7.2. Several settings are given in the table
– the usual Ziegler-Nichols settings as well as the settings for more robust
controller with a smaller or zero overshoot.
Another possibility of getting permanent oscillations in the closed-loop
system can be realised using a relay with hysteresis. In this case the process
input is of rectangular shape. The advantage is that the output magnitude
can be tuned. The relay output changes every time the control error changes