Professional Documents
Culture Documents
Temperature
Heater supply
Heater
supply Dead band
Time On
On
Heater supply
On Switch Switch
off on
Off Off
Off
Temperature Time Temperature
Controller Controller
switch point switch points
(a) (b) (c)
elapses before the heater begins to have an effect on the room temperature. In the
meantime the temperature has fallen even more. The reverse situation occurs
when the temperature has risen to the required temperature. Since time elapses
before the control system reacts and switches the heater off, and yet more time
while the heater cools and stops heating the room, the room temperature goes
beyond the required value. The result is that the room temperature oscillates
above and below the required temperature (Figure 22.4(b)).
With the simple two-step system described above, there is the problem
that when the room temperature is hovering about the set value the ther-
mostat might be almost continually switching on or off, reacting to very
slight changes in temperature. This can be avoided if, instead of just a single
temperature value at which the controller switches the heater on or off, two
values are used and the heater is switched on at a lower temperature than
the one at which it is switched off (Figure 22.4(c)). The term dead band is
used for the values between the on and off values. A large dead band results
in large fluctuations of the temperature about the set temperature; a small
dead band will result in an increased frequency of switching. The bimetallic
element shown in Figure 2.46 has a permanent magnet for a switch contact;
this has the effect of producing a dead band.
Two-step control action tends to be used where changes are taking place
very slowly, i.e. with a process with a large capacitance. Thus, in the case of
heating a room, the effect on the room temperature of switching the heater
on or off is only a slow change. The result of this is an oscillation with a long
periodic time. Two-step control is thus not very precise, but it does involve
simple devices and is thus fairly cheap. On/off control is not restricted to
mechanical switches such as bimetallic strips or relays; rapid switching can be
achieved with the use of thyristor circuits (see Section 9.3.2); such a circuit
might be used for controlling the speed of a motor, and operational amplifiers.
22.4 Proportional
mode With the two-step method of control, the controller output is either an on or
an off signal, regardless of the magnitude of the error. With the proportional
mode, the size of the controller output is proportional to the size of the error:
the bigger the error, the bigger the output from the controller. This means
22.4 PROPORTIONAL MODE
that the correction element of the control system, e.g. a valve, will receive a
signal which is proportional to the size of the correction required. Thus
controller output 5 KPe
where e is the error and KP a constant. Thus taking Laplace transforms,
controller output s 5 KPE s
and so KP is the transfer function of the controller.
V0 Ve
Vout 5 2Rf 1
R2 R1
The input to the summing amplifier through R2 is the zero error voltage
value V0, i.e. the set value, and the input through R1 is the error signal Ve.
But when the feedback resistor Rf 5 R2, then the equation becomes
R2
Vout 5 2 Ve 2 V0
R1
If the output from the summing amplifier is then passed through an inverter,
i.e. an operational amplifier with a feedback resistance equal to the input
resistance, then
R2
Vout 5 V 1 V0
R1 e
Vout 5 KPVe 1 V0
KPG s
E s 5 R s
1 1 KPG s
Unity feedback
1 1
eSS 5 lim sE s 5 lim s
sS0 s S 0 1 1 1 KPG s s
This will have a finite value and so there is always a steady-state error. Low
values of KP give large steady-state errors but stable responses. High values
of KP give smaller steady-state errors but a greater tendency to instability.
22.5 Derivative
control With the derivative mode of control the controller output is proportional
to the rate of change with time of the error signal. This can be represented
by the equation
de
controller output 5 KD
dt
KD is the constant of proportionality. The transfer function is obtained by
taking Laplace transforms, thus
rate of change of the error signal and not its value. Rapid initial responses
to error signals thus occur. Figure 22.8 shows the controller output that
Constant rate of results when there is a constant rate of change of error signal with time. The
change of error with time
controller output is constant because the rate of change is constant and occurs
Error
0
Time immediately the deviation occurs. Derivative controllers do not, however,
respond to steady-state error signals, since with a steady error the rate of
change of error with time is zero. Because of this, derivative control is always
combined with proportional control; the proportional part gives a response to
all error signals, including steady signals, while the derivative part responds to
the rate of change. Derivative action can also be a problem if the measurement
of the process variable gives a noisy signal, the rapid fluctuations of the noise
Controller output
1
transfer function 5 KD s 1
TD
Error
0
Time
Controller output
Proportional
element
Derivative
element
Time
Figure 22.10 shows how the controller output can vary when there is
a constantly changing error. There is an initial quick change in controller
output because of the derivative action followed by the gradual change due to
proportional action. This form of control can thus deal with fast process changes.
3I0 30
dI 5 KIe dt
t
30
KIe dt
Iout 2 I0 5
0 s
Time
and so
1
transfer function 5 KI
s
Figure 22.11 illustrates the action of an integral controller when there is a
Controller output
constant error input to the controller. We can consider the graphs in two ways.
When the controller output is constant, the error is zero; when the controller
output varies at a constant rate, the error has a constant value. The alternative
way of considering the graphs is in terms of the area under the error graph:
0
Time t
30
Figure 22.11 Integral control. area under the error graph between t 5 0 and t 5 e dt
22.6 INTEGRAL CONTROL
Thus up to the time when the error occurs the value of the integral is zero.
Hence Iout 5 I0. When the error occurs it maintains a constant value. Thus
the area under the graph is increasing as the time increases. Since the area
increases at a constant rate the controller output increases at a constant rate.
Figure 22.12 shows the form of the circuit used for an electronic integral
controller. It consists of an operational amplifier connected as an integrator
and followed by another operational amplifier connected as a summer to
add the integrator output to that of the controller output at zero time. KI is
1 RIC.
+ −
V0
R +
Vout
The integral mode of control is not usually used alone but is frequently used
in conjunction with the proportional mode. When integral action is added to
a proportional control system the controller output is given by
3
controller output 5 KPe 1 KI e dt
Error
Error
0 0
− Time − Time
Controller output
Controller output
0 Time Time
Effect of just the proportional action Effect of just the proportional action
Controller output
Controller output
0 Time
Time
Effect of just the integral action Effect of just the integral action
Elements
due to
Controller output
Controller output
0
Time Time
Effect of proportional + integral action Effect of proportional + integral action
(a) (b)
3
de
controller output 5 KPe 1 KI e dt 1 KD
dt
and so
1 1
transfer function 5 KPe 1 KI 1 sKD 5 KP 1 1 1 TDs
s TIs
22.8 DIGITAL CONTROLLERS
R
−
CD
+
Error
Output
22.8 Digital
controllers Figure 22.22 shows the basis of a direct digital control system that can be used
with a continuous process; the term direct digital control is used when
the digital controller, basically a microprocessor, is in control of the closed-
loop control system. The controller receives inputs from sensors, executes
control programs and provides the output to the correction elements. Such
controllers require inputs which are digital, process the information in digital
form and give an output in digital form. Since many control systems have
analogue measurements an analogue-to-digital converter (ADC) is used for
the inputs. A clock supplies a pulse at regular time intervals and dictates when
samples of the controlled variable are taken by the ADC. These samples are
then converted to digital signals which are compared by the microprocessor
with the set point value to give the error signal. The microprocessor can then
initiate a control mode to process the error signal and give a digital output.
The control mode used by the microprocessor is determined by the program
of instructions used by the microprocessor for processing the digital signals,
i.e. the software. The digital output, generally after processing by a digital-
to-analogue converter (DAC) since correcting elements generally require
analogue signals, can be used to initiate the correcting action.
Clock
Measurement