Automatic Controls 1 - Basics (GCM - 08) PDF
Automatic Controls 1 - Basics (GCM - 08) PDF
Automatic Controls 1 - Basics (GCM - 08) PDF
Automatic Controls - 1
Contents
Introduction
The need for automatic controls
Safety
Stability
Accuracy
Automatic control terminology
Elements of automatic control
Assessing safety, stability and accuracy
Summary of terminology
Elements of a temperature control system
Assessing safety, stability and accuracy
Anticipating change
Automatic control
Components of an automatic control
Control theory
Modes of control
On/Off control
Continuous control
Proportional control
Reverse or direct acting control signal
Gain line offset
Manual reset
Automatic reset action (Integral action)
Rate action (Derivative action)
Summary of modes of control
Further terminology
Time constant (Of time control system)
Hunting
Lag
Rangeability
Turndown ratio
Control loops
Open loop system
Closed loop control
Disturbances
Feedback control
Feed forward control
Single loop control
Multi-loop control
Cascade control
Dynamics of the process
Process reactions
3
4
4
4
4
5
7
8
8
9
9
9
10
10
12
12
12
15
16
23
25
25
27
28
29
31
31
31
32
33
33
34
34
35
36
36
36
37
38
39
41
43
Contents
Piping system dynamics
Choice and selection
Application
Power source
Valves and actuators
Controllers
Installation and commissioning
Valves
Actuators/sensors
Power and signal lines
Controllers
Practical methods of setting up a controller
Trouble shooting
Bumpless transfer
Self tuning controllers
Computers in control
Communications
What is Fieldbus?
What is SCADA?
46
49
49
49
54
54
58
58
60
60
61
63
65
67
67
68
70
70
70
Introduction
The subject of Automatic Controls is an enormous one, covering
the control of temperature, pressure, flow, level, speed, time and
many more.
The objective of this Technical Reference Guide is to provide a
basic introduction to Automatic Controls. Even this can be divided
into two parts - the control of Heating, Ventilating and Air
Conditioning systems (commonly known as HVAC) and Process
Control. The latter is an immense subject in itself, ranging from
the control of a complete production system or process to the
other extreme - perhaps a simple domestic cooker.
The Controls Engineer needs to have more and more skills at his
command - a knowledge of mechanical engineering, electrics,
electronics and pneumatic systems; a working understanding of
HVAC design and process applications and, increasingly today,
an understanding of computers and digital communications. This
is a wide range of skills.
The Intent of this Technical Reference Guide
This Technical Reference Guide is not intended to transform an
individual into a Controls Engineer. It is intended rather to give
some insight into the practical and theoretical facets of automatic
control in the form of basic building blocks or foundations, to
which other skills can be added in the future.
Spirax Sarco's involvement in automatic controls is specifically
confined to the control of energy transfer fluids within pipelines.
For this reason, this Technical Reference Guide is confined to
the control of processes which use steam, water, compressed air
and hot oils as part of their conditioning cycle.
This control is generally achieved by using valves and actuators
and here we encounter the need to measure and respond to
temperature, pressure, level, humidity and flow rate. Almost
always, we must respond to changes in these physical properties
within a given time. It is, therefore, the combined manipulation of
valve/actuator with time, and the close control of the measured
variable, which we wish to explain in this Technical Reference
Guide.
Each of the Technical Reference Guide sections are intended to
form part of the whole learning process. However they may also
be used for independent reference.
Stability
Accuracy
2
3
1
Discharge
valve (fixed)
The human operator has marked three lines on the side of the
tank so that he can manipulate the water supply (inlet) valve. The
levels represent:
The lowest water level allowable which just ensures that the
bottom of the tank is covered.
The highest water level allowable which will just ensure that
there is no discharge through the overflow.
The ideal level mid-way between 1 and 2.
This simple example demonstrates that:
1. The operator is trying to maintain the water in the vessel
between levels 1 and 2. This is called the - Controlled
Condition.
2. This is achieved by controlling the flow of water through the
valve in the inlet pipe - Manipulated Variable.
3. The water itself is known as the - Control Agent.
4. By doing this, he is controlling the level of water in the tank Controlled Variable.
5. Once the water is in the tank it is known as the - Controlled
Medium.
6. The level of water he is trying to maintain is at 3 on the visual
indicator - Set Value (Set Point).
7. He could maintain the water level at any point between 1 and 2
on the visual indicator and still meet the control parameters
i.e. the bottom is covered and no overflow - Desired Value.
8. Assume he is actually maintaining the level at point 2, this is
the water level he is actually maintaining at steady state
conditions - Control Value (Control Point).
9. With reference to (7) and (8) above, the level of water he
ideally wanted to maintain was at point 3. But he is actually
maintaining the level at point 2 which is still quite satisfactory.
But there is a difference in water level between 2 and 3 Deviation.
10.If he closes the inlet valve slightly, the water level will drop
nearer to level 3 and so the deviation will change i.e. become
less. But if he does not touch the valve, the deviation will
remain as it is between Level 2 and level 3 (all other things
remaining unchanged of course).
11.A sustained deviation known as offset.
Output signal
Actuator
(Arm muscle)
Manipulated variable
Controlled device
(Valve)
Controller
(Brain)
Desired value
Process
(tank)
Input
signal
Sensor
(Eye)
Controlled
condition
His eye saw movement of the water level against the marked
scale indicator- Detector or sensor.
The eye (sensor) signalled this back to the brain which then
interpreted the signal - controller.
The brain (controller) then decided to send a signal to the arm
muscle - actuator.
The arm muscle and hand (actuator) turned the valve - controlled
device.
It is worth repeating these points in a slightly different way to
reinforce the example:
It shows that the operator's aim is to hold the tank water level at
point 3 on a simple scale. Level 3 can be considered to be his
target or - set value.
He manipulates the level physically by adjusting the inlet valve.
He is known as the - actuator.
Within this operation it it necessary to contend with the operator's
attention span and ability. It is, therefore, unlikely that he will
control exactly at level 3 all the time. Generally he will be high or
low of level 3. The position or level at which he controls is termed
the control value or actual value.
7
Summary of
terminology
Set Value - The value set on the scale of the control system in
order to obtain the required condition.
Control Value - The value of the control condition actually
maintained under steady state conditions.
Deviation - The difference between the desired value and the
measured value of the controlled condition.
Offset - Sustained deviation.
Sensor - The element which responds directly to the value of the
controlled condition.
Controlled condition - The physical quantity or condition of the
controlled medium which it is the purpose of the system to
control.
Controller - Accepts the signal from the sensor and sends a
correcting (or control) signal to the actuator.
Actuator - The element that adjusts the controlled device in
response to a signal from the controller.
Controlled device - The final controlling element in a control
system.
There are many other terms used in the Automatic Controls field.
These will be discovered as the Technical Reference Guide
progresses.
Elements of a
temperature control
system
Thermometer
Hot water to process
Alarm
Steam
Coil heat
exchanger
Thermometer
Cold water
While the simple control of water in the first example could easily
be achieved by a human operator, the control of temperature
shown above is less simple. (We are not suggesting that level
control is inherently simple, merely the example we have shown).
If the flow of water varies, conditions will change rapidly. Thus
the operator's response in changing the position of the steam
valve may not be quick enough.
Anticipating change
Experience will help but in general the operator will not be able to
anticipate change. He must wait for change.
These and other factors, such as the cost of a human operator
permanently on duty, operator fault, variations in process needs,
accuracy, rapid changes in conditions, the involvement of several
processes etc.; all lead to the need for automatic controls.
At the level of safety the need for an audible alarm has been
introduced - another reason for automatic controls.
9
Automatic control
Sensor
Controller
Actuator
Valve
10
Some of the terms used may not be familiar because they have
not yet been covered. However, in the following parts of the
Technical Reference Guide all the individual components and
items shown on the previous drawing will be addressed.
Set point
Controller
Manipulated variable
Compressed air (0.2 to 1.0 bar)
Electric current 4 to 20 mA
Proportional (P)
Proportional + Integral (P+I)
Proportional + Integral + Derivative (P+I+D)
Pneumatic / electric /
self acting actuator
Controlled
element
Temperature / pressure /
humidity sensor
Measured
variable
pressure /
temperature
signal
Measuring
equipment
Controlled
condition
Process
11
Control theory
Modes of control
On/Off control
2 port valve
and solenoid
Set point
60C
ON
T2
OFF
T3
ON
Time
13
60C
59C
Undershoot
Valve
open
Operating differential
61C
Overshoot
C
Valve
shut
E
On
Off
On
Time
15
Proportional control
Valve
'V'
A
Offset
B
Valve
'V'
17
A
B
Deviation
C
Valve
'V'
18
C
Proportional
band B
(Xp)
A
19
Offset
Controller output %
75%
50%
50%
75%
Process load %
50%
75%
Valve position %
20
Offset
Controller output %
75 %
50 %
50 %
75 %
Process load %
50 %
75 %
Valve position %
= 4 mm
= 2 mm
Clearly, the smaller movement will result in less flow change and
hence the process will be more stable.
Equally, if we reduce the proportional band to 2C, the following
is achieved:
20 = 10 mm movement
2
for every 1C temperature change
i.e. 10 x 100 = 50 % change in flow
20
This is a large movement, and a large flow change for a small
temperature change, and has the effect of moving the control
more towards an on/off, giving the system a tendency to become
unstable.
The P Band is often expressed as a percentage. The percentage
P Band is the percentage change in sensor output (of its span)
required to give 100 % change in controller output.
22
100
Percentage Proportional Band
or
% P Band = 100
Gain
As a reminder:
A wide proportional band will provide a less sensitive response.
A narrow proportional band will provide a more sensitive
response, but there is a limit to how narrow the Xp can be set.
Too narrow a proportional band will result in oscillation and
unstable control.
100
% Valve lift
Gain =
100
=5
20
Gain =
100
= 2.77
36
50
Set
value
18C
0
Temperature 100C
Xp 20C
( 10C)
Xp 36C ( 18C)
Total span (or range) of controller = 100C
Fig. 15
Reverse or direct
acting control signal
23
0%
100 %
100 %
Temperature
Temperature
0%
Set temperature
Set temperature
Proportional band
Proportional band
Generally speaking:
A reverse acting signal will be used on heating control.
A direct acting signal on cooling applications.
On mechanical controllers (e.g. a pneumatic controller) it is usual
to be able to invert the output signal of the controller by rotating
the proportional control dial. Thus, the magnitude of the
proportional band and the direction of the control action can be
determined from the same dial.
On electronic controllers, reverse acting (RA) or direct acting
(DA) is selected through the keypad.
24
Gain line
Xp = 10C
Set value
80C
(50% load)
+5C
Proportional offset
or deviation
-5C
Temperature
No load
85C
Maximum load
75C
0%
25 %
50 %
Valve position
100 %
Manual reset
25
Temperature
82.5C
Re
Set value
80C
(50% load)
set
gin
gai
al g
n li
ain
line
ne
77.5C
75C
Reset Xp = 10C
Ori
Original Xp = 10C
85C
72.5C
0%
25 %
50 %
Valve position
75 %
100 %
Temperature
Set value
Proportional
band
Time
26
Automatic reset
action
(Integral action)
Temperature
Original P band
Set value
Proportional
band displaced
Reset/integral action begins
Actual value
Time
The reset (or integral) time is adjustable. If it is too short, overreaction and instability will result. If it is too long, effectively there
will be no reset action. The reset time is denoted in time units. On
some controllers the adjustable parameter for the reset mode is
the reciprocal of this which is known as repeats per minute.
1
Repeats per minute =
Integral time constant in minutes
Integral time = , means no integral action
Integral time = 0, means infinite integral action
It is important to check the controller manual to see how the
integral action is being represented.
Rate action
(Derivative action)
28
29
Proportional
plus Integral
P+I
Proportional plus
Derivative P + D
Proportional plus
Integral plus
Derivative P + I + D
Temperature
Temperature
Proportional P
Temperature
On/Off
Control Mode
Time
Time
Time
Time
Advantages /
disadvantages
Inexpensive
Simple
Operating differential
can be outside of
process
requirements.
Simple
Stable
Easy to set up
Offset occurs
No offset
Increase in
proportional band
usually required to
overcome instability.
Increased overshoot
on start-up.
Will give best control,
no offset and
minimal overshoot
More complex to set
up manually, but
most electronic
controllers have an
'auto tune' facility.
More expensive
where pneumatic
controllers are
concerned.
30
Further teminology
Time constant
(of time control
system)
Initial rate of
movement
Actual movement
Movement %
63.2%
Time constant
0%
0%
Time
31
Two
port
valve
Large
steam
volume
Small
water
system
Pump
Fig. 23 Hunting
In the 'unbalanced' system shown in Figure 23, accurate heating
will be difficult to achieve and may result in a large proportional
band to achieve stability.
If the system load suddenly increases, the two-port valve will
open wide, filling the heat exchanger with a large volume of high
temperature steam, causing the water system to heat quickly and
overshoot. This then causes the two-port valve to close quickly,
and hence the water temperature to fall, and the two-port valve to
open again. This cycle is repeated, only ceasing when the P, I
and D terms are balanced.
Hunting of this type can cause premature wearing of system
components, in particular valves and actuators.
Lag
32
Rangeability
This relates to the control valve and is the ratio between the
maximum controllable flow and the minimum controllable flow,
between which the characteristics of the valve (linear, equal
percentage, quick opening) will be maintained. With many valves,
at some point before the fully closed position is reached, there is
no longer proper control over flow in accordance with the valve
characteristics.
Turndown ratio
Turn down ratio is the ratio between the maximum normal flow
and the minimum controllable flow. It will be substantially less
than the rangeability if the valve is oversized.
Although the official definition relates only to the valve, it is a
function of the complete control.
33
Control loops
This is really a continuation from the point at which control
systems left off, except that it now involves the complete control valve, actuator, sensor, controller and the process or system
itself.
Open loop system
Two
port
valve
Pump
Three
port
valve
Pump
Internal
space
temperature
sensor
Fig. 26 Closed loop control system with sensor for internal space temperature
36
Disturbances
Feedback control
37
40
Temperature
Time
10 - 15 seconds
Temperature
Time
10 - 15 seconds
Steady
state
Temperature
Electric
Time
Temperature
Instant changes
in temperature
Time
Tc
Temperature
Process reactions
Dt = Dead time
Tc = Time constant
Dt
Time
Response
Step change
Process reaction
Time
Response
Step change
Time
Response
Step change
Process reaction
Time
44
Ramp Response
Here the response is of a linear nature, with a
constant process reaction until the required
result is achieved.
Step change
Response
Step response
with dead time
Dead Time
The process response may be such that, with
any of the types we have looked at, there may
be no immediate dynamic response at all. In
other words, there is a period of dead time. In
broad terms, if the time constant is greater
than the dead time, control should not be
difficult. If, however, the dead time is greater
than the time constant, satisfactory control
can be very difficult to achieve.
Dead time
Time
45
AB
Constant
volume
loop
B
Variable
volume loop
Balance
valve
AB
Variable
volume
loop
B
Constant
volume loop
Balance
valve
System curve
valve to flow
System curve
valve to bypass
H1
Pump curve
Flow rate
V1
V2
Valve in a partly
closed position
Increased
head
Design
head
Pum
p cu
rve
Sys
c
tem
urv
Operating position
if no valve fitted in
the line
System pipe
pressure drop
Design flow
Reduced flow
Flow rate
48
Power source
49
50
51
Stop
Start
Stop
Load
Time
Start
Variable demand with non critical rise and fall
Set value
Start Stop
Start
Time
Stop
Temp C
Set value
Off set
Start
Time
Actual value stable within small off set from set value
52
Off set
Off set
Start
Time
Temperature wants to swing around set value
Temp C
Critical
Set value
Material temperature decay
Time
Critical Stop
Start
Start
Typical ramp control calling for an accurate
time versus temperature rate of rise
Critical dwell
Temp C
Critical
ramp
Critical
Critical ramp
Start
Time
Critical dwell
Critical
Critical
Critical
SV
SV
Critical
Time
Start
Many critical parameters
for ramp and dwell overshoot
53
Controllers
The application may call for On/Off control action only. In which
case, a controller may not be needed at all. The actuator may be
operated from a switching device such as a relay or a thermostat.
Where an application requires versatility, the multi-function ability
of an electronic controller is required - temperature and time
control, multi-loop, multi-input/output, P, P + I, or P + I + D control
action.
Having determined that a sophisticated controller is required, it
is necessary to determine which control action is necessary On/Off, P, P + I, or P + I + D.
The choice here depends on the dynamics of the process and
the types of response considered earlier, plus the degree of
control required.
Before going any further, it is necessary to define what good
control is. There is no single answer to this question. Consider
differing responses to step changes in load as shown in the
following series of figures:
54
Temp C
B
Desired value
C
A
Time
Temp C
Set point
Increasingly
out of control
Time
Temp C
Set point
Time
55
56
57
58
Air vent
Upstream
isolation
valve
Control valve
Safety valve
Downstream
isolation
valve
Strainer
Separator
Sensor
Controller
Trap set
59
Actuators/sensors
60
motor, will result in damage! Care must be taken with the wiring
system, in accordance with the manufacturers' instructions, and
subject to any local regulations.
'Noise' or interference in electrical systems is often encountered,
resulting in control system operation problems which are difficult
to diagnose. The use of screened cable, separately earthed
conduit or a self-acting or analogue controller may be necessary.
The subject of cable protection is beyond the scope of this
Technical Reference Guide and will not be covered.
Controllers
Temperature
A - Too wide
C - Correct
Set point
B - Too narrow
Time
So:
Correct P-Band = Good stability, good response - offset
Larger P-Band = Better stability, slower response - larger offset
Smaller P-Band = Instability, quicker response - smaller offset
The options concerning Integral time must also be considered.
61
Temperature
B - Too long
C - Correct
Set point
A - Too short
Time
Temperature
B - Too short
C - Correct
Set point
A - Too long
Time
62
Preparation
Before a controller is tuned several items should be reviewed.
The process should be carried out under supervision if appropriate
to the organisation concerned. Individuals who are experienced
at tuning may find they are already familiar with the items below.
However it is sensible to use the following as a checklist.
Be sure of objectives
Be aware of the rate and extent of response of the process to
the controller output. Is it straightforward to restore stability if
required?
Decide how much change is allowed in the process and the
controller output.
Decide on responsibilities i.e. who will carry out adjustments to
the controller settings? Ensure that the appropriate individual
is trained and will not become confused in a pressurised
situation.
Decide which individuals are responsible for switching between
manual and automatic control and who will carry out set point
changes if required. Once again be assured that individuals
are trained and will not become confused in a pressurised
situation.
Schedule training so that an experienced individual will be
available for a specified period of time after tuning to deal with
any problems that may be encountered.
Record all existing settings and controller output, in the event
they must be restored.
Communicate all changes to operating personnel. If a logbook
is kept for this purpose, keep it.
Periodic time
Temperature C
Practical methods
of setting up a
controller
Set point
Time
64
Trouble shooting
Temperature
Periodic time
Amplitude A in C
Frequency =
1
Periodic time
Set point
X-Plot tC and
T secs at each point
X
Time
F = Frequency in seconds
Type of control
Proportional control
P-Band = A x 1.5
Proportional and integral
P-Band = A x 2
Integral time = P x 0.85
Proportional and integral and derivative
P-Band = A x 1.7
Integral time = P x 0.5
Derivative time = P x 0.125
The sequence for setting up a commissioning test is:
1. Make sure some load is available (30 % - 40 %)
2. Set any high limit protection functions
3. Set the controller to On/Off
4. Use a squared paper pad to plot the progress of temperature
and time in the process.
5. From switch on, the following curves are typical of what may
be seen.
66
Bumpless transfer
Self tuning
controllers
67
Computers in control
It seems appropriate to end this Technical Reference Guide with
a brief, broad look at where computers fit into the control scene.
Firstly, they can be used to gather and retain information, e.g.
they can be used as data loggers, from a number of controllers.
The computer has no control over the plant and is used purely to
obtain information and display it as appropriate (Figure 49).
Analogue to digital
converter
Controller
Analogue
signal
Actuator
and valve
Sensor
Sensor
Process 2
Process 1
Sensor
Process 3
Computer
Display and record
Modem
To other
controllers
Controller
Sensor
Actuator
Process
Computer
Display and record
Analogue
to digital
converter
Digital to
Analogue
converter
Sensor
Actuator
Process
Communications
Recent introductions of control systems utilising Fieldbus and
SCADA technology allow many Sensors, Actuators, Valves and
Controllers to be linked to a communications network.
What is Fieldbus?
What is SCADA?
70
Finance
Design
Production
Directors
Sales
Controller
Temperature
transmitter
Pressure
transmitter
Actuator
Flow computer
or local display
DP cell
SCADA
process
director
Fig. 55
71
72
TR-GCM-08
CM Issue 1