Control Engineering
Control Engineering
Manfred Schleicher
Frank Blasinger
Preface
This work is intended to be of practical assistance in control engineering technology. It will help
you to select and set up a suitable controller for various applications. It describes the different
types of controller and the options for setting them up. The explanations and definitions are provid-
ed without using advanced mathematics, and are mainly applied to temperature-control loops.
In this new and revised edition, Chapters 3 and 5 have been extensively updated.
We wish to thank our colleagues for their valuable support in writing this book.
3rd Edition
However, if the external conditions were to change, the temperature will differ from the anticipated
value. There are many different kinds of such disturbances or changes, which may be introduced
into the process at different points. They can be due to variations in external temperature or in the
Mechanical variations:
- Compact controllers (process controllers) contain all the necessary components (e.g. display,
keypad, input for setpoint etc.) and are mounted in a case which includes a power supply. The
housing usually has one of the standard case sizes, 48mm x 48mm, 48mm x 96mm,
96mm x 96mm or 72mm x 144mm.
- Surface-mounting controllers are usually installed inside control cabinets and mounted on a
DIN-rail or the like. Indicating devices such as process value display or relay status LEDs are not
usually provided, as the operator does not normally have access to these controllers.
- Rack-mounting controllers are intended for use in 19-inch racks. They are only fitted with a
front panel and do not have a complete housing.
- Card-mounted controllers consist of a microprocessor with suitable peripherals, and are used
in various housing formats. They are frequently found in large-scale installations in conjunction
with central process control systems and PLCs. These controllers again have no operating or in-
dicating devices, since they receive their process data via an interface from the central control
room through software programs.
Functional distinctions
The terms that are used here are covered and explained in more detail in later chapters (see Fig. 4).
- Continuous controllers
(usually referred to as proportional or analog controllers)
Controllers which receive a continuous (analog) input signal, and produce a controller output
signal that is also continuous (analog). The manipulating signal can take on any value within the
manipulation range. They usually produce output signals in the range 0 — 20mA, 4 — 20mA or
0 — 10V. They are used to control valve drives or thyristor units.
- Discontinuous controllers
2-state controllers (single-setpoint controllers) with one switching output are controllers that pro-
duce a discontinuous output for a continuous input signal. They can only switch the manipulating
variable on and off, and are used, for instance, in temperature-control systems, where it is only
necessary to switch the heating or cooling on or off.
3-state controllers (double-setpoint controllers) have two switching control outputs. They are sim-
ilar to 2-state controllers but have two outputs for manipulating variables. These controllers are
used for applications such as heating/cooling, humidifying/dehumidifying etc.
- Modulating controllers
Modulating controllers have two switching outputs and are specially designed for motorized actua-
tors which are used, for instance, to drive a valve to the open and closed positions.
- Actuating controllers
Actuating controllers are also used for motorized actuators and again have two switching outputs.
They differ from modulating controllers by requiring feedback of the actuator position (stroke re-
transmission).
In many cases the process value requires further processing, e.g. for a recorder or for remote indi-
cation. Most controllers provide a process value output where the process variable is given out as
a standard signal.
In order to signal movements of the process variable above or below certain values, the controllers
are provided with so-called limit comparators (limit value or alarm contacts), which provide a signal
if the process value infringes set limits. This signal can then be used to trigger alarms or similar
equipment.
y x
t
t t
z
Process
y x
∆x = K S • ∆y
∆x = K IS • ∆y • t
KIS is called the transfer coefficient of the process without self-limitation. The process value now
increases proportionally with both the manipulating variable change ∆y, as in a process with self-
limitation, and also with time t.
∆x = K S • ∆y
Example:
R A typical example of a first-order
process is the charge or discharge
Uin Uout
of a capacitor through a resistor.
The plot of the process variable
(capacitor voltage) follows a typi-
cal exponential function.
-t
Uout = Uin (1 - e RC )
-t
⎛ -----⎞
∆x = K S • ∆y • ⎜ 1 – e ⎟
T
⎜ ⎟
⎝ ⎠
The term in brackets shows that a step change in MV does not produce a corresponding immedi-
ate change in PV. Instead PV slowly approaches the final value in a characteristic manner. As the
time t increases (large value of t/T), the value of the expression in the brackets tends towards 1, so
that for the final value, ∆x = KS • ∆y.
As shown in Fig. 24, after a time t = T (time constant), the PV has reached 63% of the final value.
After a time t = 5 T, the PV has almost reached 100% of the final value.
Such processes are also referred to as T1 processes. If it is a process with self-limitation, it is re-
ferred to as a PT1 process; a process without self-limitation is an IT1 process. Processes with one
delay (first-order) occur very frequently. Examples are:
- heating and cooling of a hot water tank
- filling a container with air or gas via a throttle valve or a small bore pipe
–t –t
⎛ ------ ------⎞
⎜ T T 1 T T 2⎟
1 2
∆x = K S • ∆y • ⎜ 1 – ----------------- e + ----------------- e ⎟
⎜ T1 – T2 T1 – T2 ⎟
⎝ ⎠
Process value
y x
∆y
infinite order
t0 t t0 t
Dy
t
x Tg
inflection tangent
inflection point
Dx
Dt
t
Tu
1
A = -------------
V max
Temperature °C
Dy
300
Dx
AP2
Dy
200
Dx
AP1
100 WP: working point
Heating power kW
05 10 15
ð KS depends on the working point
Dx 100 °C °C
WP1: K S = = = 20
Dy 5 kW kW
Dx 30 °C °C
WP2: K S = = = 6
Dy 5 kW kW
3.2 P controller
In a P controller the control deviation is produced by forming the difference between the process
variable PV and the selected setpoint SP; this is then amplified to give the manipulating variable
MV, which operates a suitable actuator (see Fig. 29).
P controller
e Step response
e = (w - x)
t
y
y = KP • (w - x)
t0 t
y = KP • ( w – x )
The factor KP is called the proportionality factor or transfer coefficient of the P controller and corre-
sponds to the control amplification or gain. It should not be confused with the process gain KS of
the process.
So, in an application where the user has set a KP of 10 %/°C, a P controller will produce a manipu-
lating variable of 50 % in response to a control difference of 5 °C.
Another example would be a P controller for the regulation of a pressure, with a KP set to 4 %/bar.
In this case, a control difference of 20 bar will produce a manipulating variable of 80 %.
The X P band
Heater power
kW
Manipulating variable MV
% Setpoint
w
XP
50 100
25 50
MV
% X P1 = 50 °C
w XP2 = 150 °C
X P1
100 X P3 = 250 °C
80 XP2
50
1
X P = ------ • 100%
KP
Within the proportional band XP , the controller travels through the full manipulating range yH, so
that KP can be determined as follows:
50 X P = 100 °C
40
200
25 50 75 100 y/%
WP
50
In a P controller, the output signal has the same time course as the control deviation, and because
of this it responds to disturbances very rapidly. It is not suitable for processes with a pure dead
time, as these start to oscillate due to the P controller. On processes with self-limitation, it is not
possible to control exactly at the setpoint; a permanent deviation is always present, which can be
significantly reduced by introducing a working point correction.
1
∆y = ---- • ∆e • t
TI
Here TI is the integral time of the I controller and t the duration of the deviation. It is clear that the
change in manipulating variable y is proportional not only to the change in process variable, but
also to the time t.
1 s
TI ∫
y = ---- e • dt • ---
K
The integral time of the I controller can also be evaluated from the step response (see Fig. 34):
∆e • ∆t
T I = -----------------
∆y
If the process variable is below the setpoint on an I controller with a negative operating sense, as
used, for example, in heating applications, the I controller continually builds up its manipulating
variable. When the process variable reaches the setpoint, we now have the possibility that the ma-
nipulating variable is too large, because of delays in the process. The process variable will again in-
crease slightly; however, the manipulating variable is now reduced, because of the sign reversal of
the process variable (now above the setpoint).
It is precisely this relationship that leads to a certain disadvantage of the I controller
If the manipulating variable builds up too quickly, the control signal which arises is too large, and
too high a process variable is reached. Now the process variable is above the setpoint and the sign
of the deviation is reversed, i.e. the control signal decreases again. If the decrease is too sudden, a
lower process value is arrived at, and so on. In other words, with an I controller, oscillations about
the setpoint can occur quite frequently. This is especially the case if the I component is too strong,
i.e. when the selected integral time TI is too short. The exception to this is the zero-order process
where, because there are no energy storage possibilities, the process variable follows the manipu-
lating variable immediately, without any delay; the control loop forms a system which is not capa-
ble of oscillation.
To develop a feel for the effect of the integral time TI, it can be defined as follows: The integral
time TI is the time that the integral controller needs to produce its constant control difference at its
output (without considering sign). Imagine a P controller for a furnace, where the response time TI
is set at 60sec and the control difference is constant at 2°C. The controller requires a time TI =
60sec for a 2% increase in manipulating variable, if the control difference remains unchanged at
2°C.
Summarizing the main points, the I controller removes the control deviation completely, in contrast
to the P controller.
An I controller is not stable when operating on a process without self-limitation, and is therefore un-
suitable for control of liquid levels, for example. On processes with long time constants, the I com-
ponent must be set very low, so that the process variable does not tend to oscillate. With this small
I component, the I controller works much too slowly. For this reason, it is not particularly suitable
for processes with long time constants (e.g. temperature control systems). The I type of controller
is frequently used for pressure regulation, and in such a case Tn is set to a very low value.
3.4 PI controller
As we have found in the I controller, it takes a relatively long time (depending on Ti ) before the con-
troller has built up its manipulating variable. Conversely, the P controller responds immediately to
control differences by immediately changing its manipulating variable, but is unable to completely
remove the control difference. This would seem to suggest combining a P controller with an I con-
troller. The result is a PI controller. Such a combination can combine the advantage of the P con-
troller, the rapid response to a control deviation, with the advantage of the I controller, the exact
control at the setpoint.
De
y t0 t
I controller
y t
PI controller
S P controller
Tn t
1 1
------ • 100% • ------
XP Tn
With a PI controller, therefore, a change in proportional band XP also causes a change in the inte-
gral action. If the proportional gain of a PI controller is increased by reducing XP , the integral action
will also be increased, so the controller will make a faster integration of the control difference.
It is also possible to interpret Tn as the time interval required for the I component to produce the
same manipulating variable y (for a given deviation), as that already produced by the P component
1 1 1
XP XP Tn ∫
∆y = ------ • 100% • e + ------ • 100% • ------ • e • dt
T / °C
400 Setpoint w
300
200
100
t
T / °C
400
300
200
100
y/%
P component I component
100
50 % power required
50
3.5 PD controller
If a large disturbance occurs in a control loop which is being controlled manually, bringing with it a
change in the manipulating variable, the operator will try to cushion the effect of the disturbance by
making a large initial adjustment of the actuator. He then quickly reduces the adjustment, so that
the new equilibrium of the control loop can be approached gradually. A controller which responds
in a similar way to the above operator is the PD controller: it consists of a P component with a
known proportional action, and a D component with a derivative action. This D component re-
sponds not to the magnitude or duration of the control deviation, but to the rate of change of the
process variable. Fig. 37 shows how such a PD controller builds up its manipulating variable.
Fig. 37 explains how the PD controller works. If a new setpoint is applied, the manipulating variable
is increased by the P component; this component of the manipulating variable is always propor-
tional to the deviation. The process variable responds to the increased manipulating variable, for
example, a furnace temperature rises. As soon as the process variable changes, the D component
starts to take effect: while the process variable increases, the D component forms a negative ma-
nipulating variable, which is subtracted from the manipulating variable of the P component, finally
producing the manipulating variable at the controller output. When the process variable is tracking
the setpoint, the D component “brakes”, thus preventing the manipulating variable overshooting
above the setpoint.
If the process variable has reached its maximum value after an overshoot above the setpoint, and
is now reducing, the D component gives out a positive manipulating variable. In this case, the D
component counteracts the change in process variable.
The D component only intervenes in the process when there is a change in process variable. The
size of the manipulating variable of the D component depends on the rate of change of the process
variable, that is on the magnitude of ∆x/∆t (see the gradient triangle in Fig. 37). In addition, the ef-
fect can be changed at the controller via the time Td (derivative time), which we will get to know in
this chapter. A pure D controller is not suitable for control, as it does not intervene in the process
when there is a constant deviation, or when the process variable remains constant.
T / °C
400 Setpoint w
300
200
100
t
T / °C
200
Dx
100 Dt t
yp /%
P component
100
-100
yD /%
D component
100
-100
de
v = -----
dt
For the PD controller, this leads to the following control equation:
De
t
y
Narrow spike Theory
t
y yh
Practice
Td
De
T1
T1 t
De
t0 t
y D component
I component
Td /4 KP • De P component
Tn t
∆y = K P • ⎛ e + ------ e • dt + T d • -----⎞
1 de
⎝ Tn ∫ dt ⎠
On some controllers with PID action, Td and Tn cannot be adjusted separately. Practical experi-
ence has shown that optimum performance is obtained with a ratio Td = Tn / 4 to 5. This ratio is fre-
quently a fixed setting on the controller, and only one parameter can be varied (usually Tn ).
We can summarize by noting that the PID controller brings together the best characteristics of the
P, I and D controllers. The P component responds with a suitable manipulating variable when a de-
viation occurs. The D component counteracts changes in the process variable, and increases the
stability of the control loop. The permanent deviation is removed by the I component. The PID type
of controller is used for most applications.
1 ⎛ K P = ------ • 100 %⎞
1
⎝ XP ⎠
The control deviation is thus offered directly to the I component. We already know from Chapter 3.3
“I controller”, that an I controller requires a time equal to Tn to fully reproduce the input signal at its
output (percentage values). The I component would thus require 10sec before it has increased its
manipulating variable by 2%. XP is now set to 50, so that the gain of the P component is 2.
Now the control difference is first amplified by a factor of 2, before it is offered to the I component.
The I component now increases its manipulating variable by 4% every 10 seconds. The effect of
the I component was also amplified by a factor of 2.
Changing the proportional gain in a PID controller
changes the I and D action to the same extent
Fig. 42: Transition of the process variable in the closed control loop