Process Control System
Process Control System
15
OUTCOME 2
PROCESS CONTROL SYSTEMS AND CONTROLLERS
2
Need for process control: quality; safety; consistency of product; optimum plant performance;
human limitations; efficiency; cost; environmental
Process controller terminology: deviation; range; span; absolute deviation; control effect; set point;
process variable; manipulated variable; measured variable; bumpless transfer; process variable
tracking; direct and reverse acting; offset; on-off control; two step control; cycling; three-term
control (proportional band, gain, proportional, proportional with integral, proportional with integral
and derivative, proportional with derivative)
System terminology: distance velocity lags; transfer lags; multiple transfer lags; capacity; resistance;
dead time; reaction rate; inherent regulation; open loop; closed loop; load; supply; static gain;
dynamic gain; stability; loop gain
Tuning techniques: Zeigler-Nichols; continuous cycling; reaction curve; decay methods; tuning
for no overshoot on start-up; tuning for some overshoot on start-up
Represent systems using: P and I diagrams; loop diagrams; wiring diagrams; constructing and using
diagrams to appropriate standards
A full understanding of control can only be achieved through studies of system models and the
mathematics behind it. If you want to study this you should study the tutorials at
www.freestudy.co.uk/d227.htm
You will find excellent tutorials on this topic at http://www.spiraxsarco.com/resources
D.J.Dunn www.freestudy.co.uk
D.J.Dunn www.freestudy.co.uk
Those of us old enough to remember what cars were like before the 1980's remember that there
were very few models and variants of the model to choose. The engine oil had to be changed from
summer to winter because the viscosity index of the fuel was to poor to cope with the temperature
change (look it up).
The engines wore out rapidly and the bodywork rusted away in a few short years. The spark plugs
and cylinder head valves got covered in carbon deposits and so the cylinder head had to be removed
at regular intervals to be 'de-coked'. The brake linings and the clutch plates wore away in no time at
all and needed regular replacement. A new engine had to be "run in" a process of letting the big
end and main bearings wear themselves gradually into the best fit and likewise the pistons, gears
and valves. Throughout the life of the engine and particularly during "running in" the oil had to be
changed regularly to remove the wear particles and the carbon deposits leaking past the piston.
Why does a modern car perform so much better? Thanks to modern measurement and control we
have fuels and oils that are made and blended to a high standard so that the viscosity is always
correct and they keep the engine clean and even protect it.
We have brake and clutch materials that are made from better materials accurately mixed and
manufactured using efficient controlled production methods.
The parts of the engine and bodywork are manufactured more accurately and more consistently so
that they always fit. Valves, pistons, gears and so on are made and controlled to precise dimensions
so that they work correctly right from the start.
The cost of a new car in the 1960's was more than one year's average salary and that was for a basic
car with no radio and no heating. The cost of a modern car with many advanced features is much
less than half a year's average salary. This has come about through the use of automation and
control that brings down the cost of the raw materials and the cost of producing the vehicle. A
modern production line enables variants of the model to be produced at will by changing the
programme in the controller so we have a much wider choice of model.
D.J.Dunn www.freestudy.co.uk
Note that the signal path forms a CLOSED LOOP and all automatic systems are closed loop
systems. The CONTROLLED VARIABLE is the temperature (o is used generally for output
values). This is measured with the SENSOR. The voltage representing o is amplified. This is
compared to a voltage created by the SET VALUE (i for input value) and the resulting error (e) is
used to make correcting action. The ERROR is processed by the CONTROLLER (in this case a
switching action) and the resulting signal (electric power) is applied to the CONTROLLED
ELEMENT (the heater). Because e = i - o such systems use NEGATIVE FEEDBACK. Note
the symbol used for a comparer (the element that produces the error). This might be a simple
differential amplifier in an electronic system.
D.J.Dunn www.freestudy.co.uk
The control unit (typical one shown) has many adjustments that are made by a skilled technician to
obtain optimum performance. The sensor can often be connected directly to the regulator. In
particular there is the control action which has up to three adjustments called PROPORTIONAL,
INTEGRAL and DIFFERENTIAL (PID). This will be explained later. The block diagram of this
system is like this.
D.J.Dunn www.freestudy.co.uk
To control the flow of a fluid, we must measure it and a popular method is with differential pressure
flow meters (DP Meters) such as venturi meters, orifice meters and so on. These produce a
differential pressure representing the flow rate. The differential pressure is connected to a
pneumatic D.P. Cell. The D. P. cell will have controls for adjusting the zero point and the span.
The output of the D. P. cell connects to the controller. Inside the controller you can set the input
value. You can also set the zero point, the span and the three constants for PID control (this is
discussed later). The flow rate is compared to the set value by purely mechanical and pneumatic
means and the output to the actuator will change until the flow rate and the set value are the same
(ideally).
The actuator may be designed to be fully open at 0.2 bar and fully closed at 1 bar or it can be the
other way round (DIRECT OR REVERSE ACTING). The controller can also be set to be direct
or reverse to match the actuator.
The important point is STANDARDISATION. The standard shown here is 0.2 1 bar. The only
thing not standard is the flow range so a technician would have to calibrate the d.p. cell to produce a
standard signal to represent the actual flow rate span. Typically this would involve doing the
following.
1. Close the isolating valves and open the equalising valve to make the differential pressure zero.
2. Adjust the zero point control on the D.P. cell to produce an output of 0.2 bar.
3. Close the equalising valve and open the isolators.
4. Set the flow to the maximum (control valve fully open).
5. Adjust the span control on the D.P. cell to give the standard maximum output of 1 bar.
6. Because adjusting the span affects the zero setting, repeat until the output pressure is 0.2 bar at
zero flow and 1 bar at maximum flow.
7. A calibration of flow against output pressure should show a linear relationship.
The setting of the controller or regulator is discussed later. The system described here shows a valve
that moves from open to close from the range 0.2 to 1 bar. Often a VALVE POSITIONER is used
because this is not sufficient pressure to operate the valve.
Next let's see how we could use an entirely electric control system.
D.J.Dunn www.freestudy.co.uk
The converter will be ready calibrated with the standard input and output and should need no further
calibration. The d.p. cell will need to be calibrated to match the required span of flow rates.
VALVE POSITIONER
In some cases the actuator on the valve may require a higher operating
pressure than 0.2 1 bar. In this case a VALVE POSITIONER is used.
These are a complete regulated system. They are attached to the valve
and operate from the standard signal pressure but supply a higher pressure
to the actuator. There is mechanical feedback from the valve stem to the
unit so that no matter what force is required to move the valve, the
pressure will build up until the valve moves.
CASE 4 ALL ELECTRIC SYSTEM - PUMP SPEED CONTROL
It is more efficient to control flow by adjusting the speed of a pump rather than throttling the fluid
with a valve. This example shows in simple form the use of an electric/electronic control unit.
The 4 20 mA output from the d.p. cell is compared to the set value and a regulating signal of 4
20 mA is applied to the motor which has its own electronics for converting this into power. The
result is the pump changes the flow until the difference between actual and set flow rate is zero
(ideally).
D.J.Dunn www.freestudy.co.uk
D.J.Dunn www.freestudy.co.uk
DIGITAL SYSTEMS
Modern systems are increasingly DIGITAL. This simply means that all the signals in the previous
examples are either converted into digital numbers or created as digital numbers. The controller
becomes a computer in which the error is calculated and processed and then the result is applied to
the control element. The diagram shows a basic digital system for controlling the speed of a motor.
The computer is most likely a PROGRAMMABLE LOGIC CONTROLLER (PLC). The digital
signal applied to the controlled element must be converted into power (pneumatic or electric) to
operate the actuator. The processes will involve ANALOGUE to DIGITAL CONVERSION (ADC)
and DIGITAL to ANALOGUE (DAC) conversion.
In a process industry it is probable that all the digital systems are controlled from a central control
room and to do this everything is linked by a FIELDBUS. It is arranged as a hierarchy with a
central computer at the top (probably in the control room) where an operator can monitor
everything. The next layer will be the PLCs each controlling a process. The lowest level is the one
containing all the process variables and signals to and from the sensors, actuators, lights, switches
and so on.
D.J.Dunn www.freestudy.co.uk
SYSTEM RESPONSE
For any of the systems described, the controlled variable is o and the set point is i.
The error is e = i - o for a system using negative feedback. If the set point (i) is changed or if a
DISTURBANCE occurs to the controlled variable (o), the system must bring the controlled
variable back to the set point. The way that the controlled variable changes with time is called the
SYSTEM RESPONSE and this is a plot of the input and output signals against time. In dynamic
systems such as robots, the changes occur rapidly and time responses are measured in seconds or
smaller. In process control the responses are slower and the responses are more likely to be
measured in minutes.
CAUSES OF TIME DELAYS IN THE SYSTEM
INERTIA/INERTANCE/INDUCTANCE
These properties make it difficult to speed up and slow down and so makes things act out of phase
with the correcting action. For example hitting the brakes on a car does not produce an instant stop
because of the inertia. Putting your foot down on the accelerator does not produce an instant
increase in speed because of the inertia. The same effect occurs with any pipe carrying a fluid so a
change in flow might happen at one end but not at the other until a small time later. Inductance in
electrical circuits delays the change in current but these are small in comparison.
ELASTICITY/COMPRESSIBILITY/CAPACITANCE
This is a property that delays things happening because it absorbs some of the input action. For
example if you had a spring between your brake peddle and the lever you would have to press it
further before sufficient force is transmitted to the lever. You get the same affect if air gets into
your hydraulic lines because the air compresses and this would make a delay. In electronic systems
capacitors affect the electrical signals the same way. The filling of tanks takes time (e.g. the level
control previously) and this introduces time delays. The raising of pressure in a gas vessel takes
time because of the compressibility of the gas. The raising of temperatures takes time because of the
thermal capacity of the system (e.g. temperature control).
FRICTION/RESISTANCE
Friction reduces signal strength and resistance reduces electrical signal strength. This combined
with the other effects has a dramatic affect on the time lags. For example pressurising a gas vessel
through a partly closed valve takes longer than when the valve is fully open. When capacitive and
resistive elements combine to delay a signal the lag is called the TRANSPORT LAG or
TRANSFER LAG.
STEPS and RAMPS
If the set point is changed suddenly or a sudden disturbance occurs, the change resembles a step on
the response diagram. If the changes occur at a constant rate, they resemble ramps on the diagrams
(also known as velocity change). Other forms of changes can occur such as cyclic sinusoidal
changes but these are more applicable to dynamic systems rather than process control. The
diagrams do not show how the output responds to the changes.
D.J.Dunn www.freestudy.co.uk
10
Let's take a superficial look at how a level control system responds to a change.
The actual level o is sensed by the pressure transducer. The electrical output will be converted into
a standard air pressure. This is sent to the control unit. The set value for the level is i and the error
is e = i o. The error is present inside the controller in signal form and this results in a signal to
the control valve and a flow rate into the tank p. Any error results in the supply valve being opened
or closed to increase the inflow and outflow.
Consider that the level is correct. In this case there will be no
inflow. When liquid is drawn off, the level will drop and the
valve will open to allow an inflow. It is impossible to maintain
the correct level while liquid is flowing out of the tank because
we need an error to keep to the valve open. The level will only
settle at the set point when there is no outflow and no inflow.
In a system like this, we get an OFFSET ERROR as shown.
D.J.Dunn www.freestudy.co.uk
11
DEAD TIME
This is also called DISTANCE - VELOCITY LAG.
Suppose the input is changed suddenly. Due to various
affects, some time will pass before the output starts to
change. This is the dead time. For example a long
pneumatic control line and inertia and back lash in the
actuator mechanism will produce a time delay before the
actuator moves. The result is illustrated.
PROCESS CONTROL UNITS (PCU)
Now we should have a closer look at how to set the regulator for optimal performance. In particular
we want to examine the PID controls, (Proportional, Integral and Derivative). This involves the
setting of three values. On pneumatic controllers the settings are made by physically adjusting the
mechanism. On electrical and digital controllers, it is done by setting the values with a key pad.
PNEUMATIC CONTROLLER
ELECTRONIC CONTROLLER
The mathematics behind this are too complex to give a full analysis here.You will find the topic
fully covered in the tutorial at www.freestudy.co.uk/control/t11.pdf
First consider the block diagram of the level control system previously discussed.
The PCU contains the signal summing device and the processing elements. It is this processing that
we are now discussing. The principles apply to all closed loop systems with negative feedback. The
error between the set value and the actual value of the process variable is e. This is processed by
some means to provide an output signal to the controlling element p. We may think of the
processing as three parallel processors as shown.
D.J.Dunn www.freestudy.co.uk
12
PROPORTIONAL
If we only have proportional control then p = kp e
kp is the proportional constant or GAIN that basically governs the amplification of the signal and so
sets the magnitude and rate of response. Most PCUs have a control called the PROPORTIONAL
BAND.
The proportional band is defined as P =100/kp so kp = 100/proportional band
p = 100 e /P
The proportional band is usually the adjustment to be made from 0 to 100%
With proportional control only and typical transfer lags in the system, the output response to a
STEP CHANGE will produce a change in the output. This is typically an exponential growth as
shown.
The speed of response is often defined by a TIME
CONSTANT 'T' or ''. The mathematics would show us
that for a simple system T is the time taken to reach
63.2% of the change. It takes a time of 4T to reach
99.9% of the change (near enough the time to get to the
new value). T depends on the proportional constant so in
theory reducing T makes the system change faster and
this is one of the adjustments to be made on the
regulator.
In the case of the temperature control system described
earlier the temperature will rise to the correct value. In
the case of the level control we would get OFF SET as
described earlier. In order to prevent this we have
INTEGRAL ACTION.
INTEGRAL
This is also called automatic offset and was described briefly earlier. A PCU with integral control
action will increase or decrease the output in response to an error so long as the error is present. In
affect it alters the set point to compensate for the offset. Mathematically, integral control is given by
the equation: p K edt where K is the gain. It is never used on its own but is added to the
proportional control term so in reality we have:
1
k p e edt
p
Ti
The term Ti is called the integral time and this is the constant that must be adjusted on the PCU. We
can see that so long as there is a positive error present p will increase with time and so long as there
is a negative error present p will decrease with time. In this way p will change until e is zero. The
overall gain is still kp and this will affect the rate of change of the output.
p k p e K edt
k p e
kp
edt
Ti
DIFFERENTIAL
d e
dt
This tells us that the output of the PCU is directly proportional to the rate of change of the error. T d
is the differential time constant and this is the third item to be set on the PCU. The affect of this
control action is to speed up the rate of response. When a step change occurs de/dt is large at the
start and p is greater. Near the end of the correction de/dt is small and p is smaller. This means
the error is corrected more quickly.
For differential control on its own we have the mathematical relationship p k pTd
D.J.Dunn www.freestudy.co.uk
13
PID CONTROL
Normally all three control terms are available in the PCU and the technician must adjust kp, Ti and
Td to get optimal response. In this case the output of the PCU is given by:
kp
d
1
d
p k p e
edt k pTd e k p e edt Td e
Ti
dt
Ti
dt
If the settings are incorrect, especially for the differential term and the gain, the output may
overshoot and undershoot causing the output to cycle above and below the set value. This must be
avoided by TUNING the PCU. The following describes the affects of tuning the PID constants.
ADJUSTING THE PROPORTIONAL BAND
This produces the affects shown when a step change is
made. If the P-band is too wide we have a small gain and
a large offset may occur (Graph A) but the output does
not cycle. Narrowing the P-band will increase the gain
and reduce the offset (Graph C). This is the optimal
condition with proportional control only. Reducing P
further produces too much gain and the output will cycle
about the set value (Graph B).
ADJUSTING THE INTEGRAL ACTION
If the integral time is small (too short) the output will
overshoot and cycle about the set point (Graph A). If the
integral time is too long, the output will cycle but in a
decaying manner and settle after a long time period.
(Graph B). When the adjustment is optimal, the output
will overshoot slightly just once and then settle at the set
point. (curve C)
ADJUSTING THE DERIVATIVE ACTION
If the derivative time is too big then overshoot will occur
and the output will cycle (curve B). If the derivative time
is too small the output will take too long to reach the set
value (curve A). When the time is optimal, the output will
settle in the shortest time with no overshoot (curve C).
SUMMARY
Action
Increase P
Increase Ti
Increase Td
Stability
Increased
Increased
Decreased
Response
Slower
Slower
Faster
SETTING UP A PCU
Each PCU has to be adjusted to match the characteristics of a particular system. The idea is to
produce the fastest correction without offset error or cycling. There are several techniques for doing
this. In order to optimise the performance of a system, the controller parameters need to be set. The
late Zeigler and Nichols produced a practical guide for setting up three term controllers for plant
systems dating back to the 1940s. The following is still useful for that purpose.
D.J.Dunn www.freestudy.co.uk
14
Td = Tp /8
This will produce a response to a step change in the form of a decaying oscillation and the
amplitude of the second cycle will be of the initial amplitude as shown. This is accepted as a
reasonable setting for most process plant systems.
These figures are different when there is no differential control (P + I) and when only P is used. The
figures are given in the table below.
PROCEDURE LIST
1. Remove integral action on the controller by increasing the integral time (Ti) to its maximum.
2. Remove the derivative action by setting the derivation time (T d) to 0.
3. Wait until the process reaches a stable condition.
4. Reduce the proportional band (increase gain) until the instability point is reached.
5. Measure the time for one period (Tp) and register the proportional band setting at this point.
6. Using this setting as the start point, calculate the appropriate controller settings according to the
table below.
Type of control used.
P+I+D
P+I
P
Integral Time Ti
Tp/2
Tp/1.2
k p 1.2
T H1
H2
Ti = 2
D.J.Dunn www.freestudy.co.uk
Td = 0.5
15
Derivative Time Td
Tp/8
BUMPLESS TRANSFER
Sometimes it is necessary to remove the automatic control and most PCUs have a switch for manual
control. When this is done the feedback o becomes zero and the error would suddenly change. The
system would try to respond to this step change. To avoid this, the value of o is locked when
switching to manual control. In a digital system this would involve storing and holding the digital
value of o in a register and performing the numerical comparison with this value instead of the live
value.
SELF-TUNING CONTROLLERS
Modern systems and sub-systems especially digital systems, provide the ability for automatic or self
tuning of the PID parameters. The self-tune controller switches to on/off control for a certain period
of time. During this period it analyses the results of its responses, and calculates and sets its own P I
D parameters. The modern controller can now operate what is termed an adaptive function, which
not only sets the required initial P I D terms, but monitors and re-sets these terms if necessary,
according
to
changes
in
the
process
during
normal
running
conditions.
Such controllers are readily available and relatively inexpensive. Their use is becoming increasingly
widespread, even for relatively unsophisticated control tasks.
D.J.Dunn www.freestudy.co.uk
16