Professional Documents
Culture Documents
All the requirements listed above dictate the need for continuous monitoring
of the operation of a chemical plant and control to guarantee the satisfaction
of the operational objectives. This is accomplished through a rational
arrangement of equipment (measuring devices, valves, controllers,
computer) and human intervention (plant designers, plant operators) which
together constitute the control system.
1
There are three general classes of needs that a control system is called on to
satisfy:
The operation of the tank is disturbed by external factors e.g. change in inlet
flow rate or inlet temperature (Fi, Ti). Thus some sort of control is needed.
If T<Ts i.e. the error ε>0 then the controller opens the steam valve so
more heat is supplied.
2
If T>Ts i.e. the error ε>0 then the controller closes the steam valve so
less heat is supplied.
It T=Ts i.e. ε=0 the controller does nothing.
If x does not return to its original value after the disturbance the process is
unstable and thus requires external control.
As an example riding a bicycle is an attempt to stabilize an unstable system
and we attain that by pedaling, steering and leaning our body right or left.
Example
Consider the CSTR shown in figure, in which an irreversible exothermic
reaction A B takes place. The heat of reaction is removed by a coolant
medium that flows through a jacket around the reactor.
3
CAi, Ti, Fi
FC, TCi
Coolant
P2
P1
T1 T2 T2’ T3 Temperature
It is clear from the curve shown above that if the reactor was working at the
middle stable steady state and is subjected to perturbation in any of its
conditions eg. Feed temperature, then the temperature of the reactor would
take off from P2 and will eventually reach either P1 or P3. On the contrary if
were operating at the steady state P3 or P1, the reactor would return naturally
to its initial steady state upon any perturbation in the reactor conditions.
Sometimes, we would like to operate the CSTR at the middle unstable
steady state for the following reasons:
The low temperature steady state P1 causes very low yields
because T1 is very low.
4
The high temperature steady state P3 may be very high, causing
unsafe conditions, destroying the catalyst for a catalytic reactor.
In such cases we need a controller that will ensure the stability of the
operation at the middle steady state.
Steam
Controller
A BC r
Condensate
The heat required for the reaction is supplied by steam which flows through
the jacket around the reactor. The desired product is B and C is an undesired
waste.
The economic objective for the operation of the batch reactor is to maximize
the profit .
tR
= {revenue from the sales of B – cost of steam }dt – cost of purchasing A
o
where tR is the period of reaction.
The only variable that we can change in order to maximize the profit is the
steam flow rate Q. The steam flow rate which can vary with time, will affect
the temperature in the batch reactor and the temperature will, in turn, affect
5
the rates of the desired and undesired reactions. The question is how we
could vary Q(t) with time so that the profit is maximized.
If Q(t) is given the largest possible value for the entire reaction period
tR , the temperature of the reacting mixture will take the largest value
that is possible. Initially, when CA is large, we will have high yields of
B but we will also pay more for the steam. As time goes on and the
concentration of B increases, the yield of C also increases.
Consequently, towards the end of the reaction period the temperature
must decrease, necessitating a decrease in the steam flow rate.
If the steam flow rate is kept at its lowest value Q(t)=0 for the entire
reaction period tR. we will have no steam cost , but we will also have
no production of B.
In the figure below we see a general trend that the steam flow rate must
follow to optimize the profit . Thus a control system is needed which will:
a. compute the best steam flow rate for every time during the
reaction period, and
b. adjust the valve inserted in the steam line son that the steam
flow rate takes its best value.
Such problems are known as optimal control problems.
Q Steam flow rate
Qmax
Qmin = 0
0 TR
Optimal profile of the steam flow rate for the batch reactor
6
2. Classification of Variables in a Chemical Process
The variables (flow rates, temperatures, pressures, concentrations,etc…)
associated with a chemical process are divided into two groups.
In the example of the tank heater system in page 2 the inputs Fi and Ti are
disturbances and Fst is the manipulated input. The output variable T which
can be easily measured is the measured output.
The figure below summarizes all the classes of variables that we have
around a chemical process.
7
3. Design Elements of a Control System
b. Select measurements:
Whatever our objectives are we need some means to monitor the
performance of a chemical process. This is done by measuring the values
of certain processing variables. It is evident that we would like to monitor
directly the variables that represent our control objectives and this is done
whenever possible. Such measurements are called „primary
measurements‟.
In the stirred tank example since our objective is to keep the temperature
of the liquid in the tank constant at T=Ts consequently, a thermocouple
was used to measure the output temperature.
Sometimes the control objectives are not measurable quantities. In such a
case we measure other variables which can be easily measured
(secondary measurements).Then a mathematical relation is developed
between the unmeasured output and the secondary measurement.
Example
Consider a simple distillation column separating a binary mixture of
pentane and hexane into two product stream of pentane (distillate) and
hexane (bottoms). Our control objective is to maintain the production of
a distillate stream with 95mole% pentane in the presence of changes in
the feed composition.
The two control schemes shown in figures (a) and (b) below depend on
the composition analyzers. However, such measuring devices are either
very costly or of very low reliability for an industrial environment. In
such cases we can measure the temperature of the liquid, at various
trays along the length of the column reliably using simple
thermocouples. Then using the material and energy balances around the
trays of the column and the thermodynamic equilibrium relationships
between liquid and vapour streams, we can develop a mathematical
relationship that gives the composition of the distillate if the temperature
of some selected trays are known. Figure c shows such a control scheme
that uses temperature measurements (secondary measurements) to
8
estimate or infer the composition of pentane in the distillate (i.e. the
value of the control objective).
Cooling water
Condenser
Reflux
Distillate
Composition
Analyzer
(a)
Feed Controller Set point
Steam
Reboiler
Bottoms
Cooling water
Controller
Condenser
Distillate
Composition Reflux
Analyzer
(b)
Feed
Steam
Reboiler
9
Set point
Controller
Cooling water
T1 Condenser
Computer: using
Ts estimates T2 Distillate
distillate Reflux
T3
concentration
(c)
Feed
Steam
Reboiler
10
4. Hardware Elements of a Control System
a. The chemical process: It represents the material equipment together
with the physical or chemical operations that occur there.
b. The measuring instruments or sensors: Such instruments are used
to measure the disturbances, the controlled output variables, or
secondary output variables, and are the main sources of information
about what is going on in the process.
Thermocouples or resistance thermometers, for measuring the
temperature.
Venturi meters, for measuring the flow rate.
Gas chromatographs, for measuring the composition of a
stream.
A mercury thermometer is not a good measuring device to be used for
control since its measurement cannot be readily transmitted. On the
other hand, a thermocouple is acceptable because it develops an
electric voltage which can be readily transmitted. Thus transmission is
a very crucial factor in selecting the measuring devices.
c. Transducers: Many measurements cannot be used for control until
they are converted to physical quantities such as electric voltages or
current or pneumatic signal i.e. compressed or liquid, which can be
easily transmitted. Transducers are used for this purpose, e.g. strain
gauge which are metallic conductors whose electric resistance
changes when they are subjected to mechanical strain, thus they are
used to convert to convert pressure signal into an electric one.
d. Transmission lines: They are used to the measurement signal from
the measuring device to the controller. Previously transmission lines
were pneumatic but now with the expanding use of computers for
control transmission lines carry electric signals. Many times the
measurement signals signal coming from the measuring device is very
weak and cannot be transmitted over a long distance.. In such case the
transmission lines are equipped with amplifiers.
e. The controller; It receives the information from the measuring
devices and decides what action should be taken, according to the
control law. Today, with the increasing use of digital computers as
controllers, very complicated control laws can be implemented.
f. The final control element: It implements the decision taken by the
controller. The control valve is the most frequently used encountered
final control element. Other typical final control elements for a
11
chemical process are; relay switches providing on-off control,
variable-speed pumps and variable-speed compressors.
g. Recording elements: They provide a visual demonstration of how a
chemical process behaves. Various types of recorders (T, P, C,…..)
can be seen in the control room. Owing to the introduction of digital
computers, recording opportunities have expanded through video
display units.
u
Final
r e Control c
Controller Process
Element
b Measuring
Device
12
Thus feedback control configuration uses direct measurements of the
controlled variables to adjust the values of the manipulated variables. The
objective is to keep the controlled variables at desired levels (set points).
Disturbances
Unmeasured outputs
Controller
Set points
The following represent some typical feedback control systems which are
often encountered in chemical processes where:
1- Flow control in figures a and b controlling the flow rate F at the
desired value FSP.
2- Pressure control in figure c controlling the pressure of the gases in the
tank at the desired pressure PSP.
3- Liquid-level control in figures d and e which show two feedback
systems used for the control of the liquid levels at the bottom of a
distillation column and its condenser accumulation tank.
4- Temperature control in figure f controlling the temperature of exiting
hot stream at the desired value TSP.
5- Composition control in figure g where composition is the controlled
variable in the blending system.
13
Examples of feedback systems
14
To simplify the presentation of a feedback control system, we usually
replace the diagrammatic details of a controller mechanism with a simple
circle. Thus figures b and d above could be replaced by the following two
figures.
The following figure shows the block diagram for the generalized closed
loop system.
U GD(s)
+
V M E M + C
A(s) GC(s) Gf (s) G(s)
+
-
B
H(s)
15
where A(s), GC(s), Gf(s),G(s), GD(s) and H (s) are the transfer between the
corresponding inputs and outputs.
C= M.G(s)+U.GD(s)
U GD(s)
+
V M E M D C
A(s) GC(s) Gf (s) G(s)
+ +
-
B
H(s)
C= M.G(s) + U. GD(s).G(s)
The series of blocks between the comparator and the controlled output
constitutes the forward path, while the block H(s) is on the feedback path
between the controlled output and the comparator.
16
give optimum controllability, but more over, the controller action required to
give best response is not necessarily the same for both types of operation.
As seen there are two types of lags in the feedback control system:
a- Transmission or distance/velocity lags whose magnitude depend upon
the length of transmission lines and type of transmission (electric,
hydraulics, pneumatic, etc…..) as in 3 and 5
b- Transfer function lags that depend on the transfer functions of the
different units in the loop as in 1, 2, 4 and 6.
17
(a) Pipe flow; (b) delayed response of exit temperature
to inlet temperature change
If U is the average velocity of the fluid over the cross-sectional area of the
pipe and L is the length, then the distance velocity lag could be calculated as
follows
L
td
U
18
Disturbances
Unmeasured outputs
(controlled variables)
Set points
Controller Estimator
Estimates of the
unmeasured controlled
variables
19
If we return to the tank heater example, we realize that in the above figure a
different control arrangement than the one used before is applied. Here the
temperature of the inlet stream is measured and the steam valve is opened or
closed to provide more or less steam.
We notice that feed forward control does not wait until the effect of the
disturbances has been felt by the system, but acts appropriately before the
external disturbance affects the system anticipating what its effect will be.
Disturbances
Controller
Unmeasured outputs
20
variables are the product withdrawal flow rate and the coolant flow
rate. The objectives are to maintain constant temperature and
composition.
5.3.1.FeedForward-Feedback Control
The table below shows the advantages of feedforward and feedback control.
Advantages Disadvantages
Feedforward
1. Acts before the effect of a 1. Requires identification of all
disturbance has been felt by the possible disturbances and their
system. direct measurement.
2. It is good for slow systems 2. Cannot cope with unmeasured
disturbance.
3. It does not introduce instability in 3. Sensitive to process parameters
21
the closed-loop response. variations
4. Requires good knowledge of the
process model.
Feedback
1. It does not require identification 1. It waits until the effect of the
and measurement of any disturbances has been felt by the
disturbance system, before control action is
taken.
2. It is insensitive to modeling errors 2. It is unsatisfactory for slow
processes or with significant dead
time.
3. It is insensitive to parameter 3. It may create instability in the
changes closed-loop response
Although feedforward control has the potential for perfect control but due to
the weaknesses stated in the above table, purely feedforward systems are not
generally used. Actual control systems are either feedback systems or a
combination of the feedforward and feedback schemes in what is known as
cascade control
5.3.2.Ratio Control
Ratio control is a special type of feedforward control where two disturbances
are measured and held in a constant ratio to each other. It is mostly used to
control the ratio of flow rates of two streams. Both flow rates are measured
but only one can be controlled. The stream whose flow rate is not under
control is usually referred to as a wild stream.
“Wild” stream
Desired
FT Ratio
Ratio
Divider GR Controller
Measured
Ratio
FT
Controllable stream
22
Keep a constant ratio between the feed flow rate and the steam in the
reboiler of a distillation column.
Hold constant the reflux ratio in a distillation column.
Keep the fuel: air ratio in a burner at its optimum value .
Consider the CSTR shown in figure. The reaction is exothermic and the heat
generated is removed by the coolant in the jacket. The control objective is to
keep the temperature T constant at a desired value.
Possible disturbances: Ti, TC
Manipulated variable: FC
23
Figure a shows a conventional feedback control system. Measured variable
is T and manipulated variable is FC.
We can improve the response of the simple feedback control to changes in
the coolant temperature by measuring TC and taking control action before its
effect has been felt by the reacting mixture.
Thus we have two control loops using two different measurements, T and
TC, but sharing a common manipulated variable, FC.
Notice that:
a- The loop that measures T is the dominant, or primary, or master
control loop and uses a set point supplied by the operator.
b- The loop that measures TC uses the output of the primary controller as
its set point and is called the secondary or slave loop.
24
a. Figure a shows a cascade control of a heat exchanger. The control
objective is to keep the exit temperature of stream 2 at a desired
value. The secondary loop is used to compensate for changes in the
flow rate of stream 1.
b. Figures b and c show how cascade control is employed to regulate the
temperature (and consequently the concentration) at the top and
bottom of a distillation column. In both cases the secondary loop is
used to compensate for flow rate changes.
c. In figure d cascade control is used to regulate the temperature of a
process stream exiting from a furnace. The secondary loop is used to
compensate for flow rate changes (fuel flow rate).
25
6. Modeling of Chemical Processes
The goal is to develop a control system for a chemical process which will
guarantee that the operational objectives of the process are satisfied in the
presence of ever changing disturbances, thus we need a simple description
of how the process reacts to various inputs i.e. we need a mathematical
model.
Example
In the feed forward arrangement, we measure value of disturbance and we
anticipate what its effect will be on the process output. In order to keep the
output at the desired level we change the value of the manipulated variable in
order to eliminate the impact of the disturbance on the output, thus we must
know the following 2 relations which are provided by a mathematical model.
Output = f1(disturbance)
Output = f2(manipulated variable)
26
amount of heat Q supplied by steam to a liquid inside a tank heater
(transport phenomena)
Kinetic rate equations: They describe the rate of chemical reaction
taking place (chemical kinetics).
Reaction and phase equilibrium relationships: They describe the
equilibrium situations reached during a chemical reaction or by two
or more phases (thermodynamics).
Equations of state: e.g. ideal gas law and van der waal‟s equation.
i.e. the model should have the following general form for every output.
i.e. describes directly the relationship between input and output variables of
a process.
This could be easily done using Laplace transforms
L[f(t)] = F(s)
f(t) y(t)
Process
input output
Laplace
Transform
Block diagram
27
G(s) is the transfer function and is equal to [output(s)/input(s)].
i.e. we use Laplace Transform to provide directly the relationship between
inputs (disturbances and manipulated variables) and outputs (controlled
variables).
The obtained T.F. describes completely the dynamic behavior of the output
when corresponding input changes are given.
Thus for a particular variation of the input f(t) we can find its transfer F(s)
and thus,
Take the inverse Lapalce of G(s) / f̂ (s) and you obtain the response y(t) in the
time domain.
N.B. To find the T.F. of a nonlinear system it must first be linearized around
the st. st.
F=V-E
F=0
28
According to the value of F, we can distinguish the following cases:
Case 1: If F=0, the solution of E equations yields unique values for the
variables. In this case we say that the process is exactly specified.
Case 2: If F>0, multiple solutions result from the E equations. In this case
we say that the system is underspecified by F equations (i.e. we
need F additional equations to have a unique solution).
Case 3: If F<0, we have more equations than variables and in general there
is no solution to the E equations. In this case we say that the system
is over specified by F equations.
It is clear from the analysis that sloppy modeling of a process may lead to a
model that does not include all the relevant equations and variables or
includes abundant equations and variables.
There are two sources that give additional equations to reduce the number of
degrees of freedom:
1- External World: Values of certain input variables e.g. an input coming
from an upstream unit that feeds the process.
2- Control systems: relationships between controlled outputs and
manipulated variables (feedback) or between manipulated
disturbances and manipulated inputs (feedforward).
Thus:
Number of variables that could be controlled=
F- number of externally specified inputs
29
Example
Consider the example of a stirred tank heater shown below
Mass Balance:
dh
Fi F A
dt
Heat Balance:
Q dT
Fi (Ti T) A.h
C p dt
Upon solving the mass and heat balance equations simultaneously, we can
find how h and T change with time.
F=6-2= 4
N.B.
- F>0 the system cannot be solved.
- F>0 the system has an infinite number of solutions
30
In the above case there is an infinite number of solutions, we can specify
arbitrary values of 4 variables and solve the above 2 equations for the
remaining variables.
a- Fi and Ti are the main two disturbances for the heater and they are
both specified by the external world (e.g. unit that precedes the
heater). Although Fi and Ti may not be known to us nevertheless they
exist and removes 2 degrees of freedom.
F= 4 – 2 = 2
b- Acceptable operation of the tank requires that the liquid level (h) and
the liquid temperature (T) in tank heater may be maintained at desired
value. These two control objectives can be achieved by the control
loops shown in figure.
Where :
Controlled variables (h,T)
Manipulated variables (F, Q(Fst))
31
b- The control system required to achieve the control objectives
removes:
No of degrees of freedom = No of control objectives
N.B.
During the reduction in F for a chemical process care must be experienced
not to specify more control objectives than it is possible for the system.
Therefore in case of the example above when we attempt to have 3 control
objectives F<0 i.e system is overspecified.
Important Remarks
- Let K be the number of controlled variables calculated, then if
actually controlled variables n>K then there are (K-n) process
variables will change „wildly‟ in an uncontrolled manner and may
cause problems to the operation of the process. But if the effects of
these uncontrolled variables on the operation of the process are
acceptable it is perfectly legitimate to have n<k.
- It is impossible to have n>k.
- F for a process at dynamic state is usually > than at steady state. This
is due to the presence of the accumulation term.
e.g. consider the simple liquid hold tank shown in figure:
Unsteady state M.B. yields Fi
dh
A Fi Fo
dt
E=1 A h
V=3(h, Fi, Fo)
A is a given value.
F=3 – 1 = 2
Since Fi is specified by the external world thus we can have only 1
controlled variable. This suggests the conventional feedback loop
between h and Fo.
N.B.: In this case we assume that the outlet flow rate was obtained
using a valve or a pump and is independent of h.. If it is to
discharge to the atmosphere thus the number of variables will
decrease by 1 .
32
V=Fi, Fo
E=1
F= 2-1=1
Therefore no controlled variable.
dh
Ff (Fv FL ) A
dt
Component M.B.
d(hx i )
Ff z i (Fv y i FL x i ) A
dt
Heat Balance:
Ff C Pf Tf (Fv C Pv T FL C PL T) UA s (Ts T)
d(hT)
C PL A
dt
yi=Ki(T,P)xi i=1,2,…………N
E= 1 + (N-1) + 1 + N
33
= 2N+1
V= 3N+5
F= (3N+5)-(2N+1) = N+4
34
6.3. Generation of Alternative Loop Configurations
The figure below shows 2 possible loop configurations for a process with 2
manipulated inputs and 2 controlled outputs.
Various criteria can be used to select the best coupling among the controlled
and manipulated variables.
35
Example
In the previous example:-
Number of controlled variables=4
Number of possible configurations = 4! = 24
36
a- Effect of Ff, Fv and FL on temperature T are indirect and slow while
that of Ws is direct and faster.
Thus only 1,3,7,9,14,18 look promising for efficient T control.
b- Effect of Ws and FL on P are indirect and slow while FP and Fv are
better manipulated variables for controlling P.
Thus only 3,7,9,14 remain.
c- Among 3,7,9,14 only 3 seems to be best because it uses F L to achieve
fast h control and manipulate Ff directly and it uses Fv for direct and
fast regulation of P.
1- Divide the process into separate blocks. Every block may contain
processing unit with an inherent, common operation goal.
Eg. * distillation column + condenser + reboiler
* 2 neighbouring heat exchangers in series or parallel
* a reactor + feed preheater
2- Determine F and the number of manipulated variables for each
block.
3- Determine all feasible loop configurations for each block and then
choose the best loop configuration for each block.
4- Recombine the blocks with their loop configurations.
5- Eliminate conflicts among the control systems of various blocks.
37
Example
The heart of the process shown in figure is the CSTR where A→B takes
place. The reactor feed is preheated first by hot reactor effluent and then by
steam coolant flowing through a jacket around the reactor moves heat
generated by the reaction in order to maintain the temperature of the reacting
mixture at the maximum allowable (for highest conversion). The coolant is
provided with two branches; one cooled and the other heated. The rate of
cooling and heating (QC and QH) are constant. With this configuration we
can fine tune the temperature of the coolant (increase or decrease) before it
enters the jacket of the CSTR. The reactor effluent is first cooled by the feed
in the feed effluent Heat Exchanger and then it is flashed in a flash drum.
Cooling water is provided to regulate the temperature in the flash drum. We
would like to develop alternative loop configurations for this process to
satisfy the following objectives.
1- Keep conversion in the reactor at its highest permissible value.
2- Maintain a constant production rate.
3- Achieve constant composition in the liquid product of the flash drum
Solution
38
1- Divide the process into 4 blocks (see figure).
2- Determine F as well as number of controlled and manipulated
variables for each block. Determine the best configuration for each
block.
a- Coolant System
39
b- Feed preheating system
c- Reactor
40
2 controlled variables (Tr, CA).
For manipulation (Fi, TCO or FCO)
41
4- Eliminate conflicts between control loops of various blocks.
Solved Problems
Q, heat in
V= 3
E=2 (M.B. & H.B.)
F=3-2=1
No. of controlled variables = 1
43
2- Consider the mixing process shown in figure
Two streams 1 and 2 are being well mixed in a well stirred tank producing
stream 3. Each of the two streams is composed of 2 components A & B with
molar concentrations CA1, CB1 and CA2 , CB2 respectively. F1 and F2 are the
volumetric flow rates of the two streams (m3/min) and T1 and T2 the
corresponding temperatures. Finally let CA3 , CB3, F3 and T3 be the
concentrations, flow rate and temperature of the product stream. A coil is
immersed to supply heat to the system with steam or remove heat with
cooling water. Write the equations describing the system and compute the
number of controlled variables if F1, T1, F2, T2 and CA2 are externally
specified variables.
Overall M.B.
dV
(F1 F2 ) F3 (1)
dt
C.M.B. on A
44
dC A3 V
C A1F1 C A 2 F2 C A3 F3
dt
dC A3 dV
V C A3 C A1F1 C A 2 F2 C A3 F3
dt dt
dC
V A3 C A3 (F1 F2 F3 ) C A1F1 C A 2 F2 C A3 F3
dt
dC
V A3 (C A1 C A3 )F1 (C A 2 C A3 )F2 (2)
dt
Heat Balance
dT
VC P 3 F1C P (T1 T3 ) F2 C P (T2 T3 ) Q
dt
V= 11 (V, F1, F2, F3, CA1, CA2, CA3, T1, T2, T3, Q)
E=3
F=11-3=8
System A:
45
E=3 ( mass balance on each tank)
V=5(h1, h2, h3, F1, F5)
N.B. F2, F3 & F4 are dependent on h1, h2 and h3
F=5-3=2
Number of controlled variables=2-1=1
7. Automatic Controllers
Between the measuring device and final control element comes the
controller. Its function is to receive the measured output signal and compare
it with the set point to produce the actuating signal in such a way as to return
the output to the desired value (set point).
The output signal p(t) of a controller depends on its construction and may be
a pneumatic signal (compressed air) for pneumatic controller or an electrical
signal for electronic controllers.
46
It is the simplest type of control which is commonly experienced. An
example is thermostatically controlled domestic heater. Depending on the
temperature of the water in the tank, the power supply is either connected to,
or disconnected from, the heater. The figure below shows the relation
between controller input and output.
On
Off
a. Proportional action:
A proportional feedback controller changes the output signal in direct
proportion to the error signal.
p(t)-poα e(t)
p(t)=KC e(t) +po
where :
p(t) = the output signal that goes to the final control element, (valve)
po = the output signal when error equals zero.
KC = controller gain
e(t) = error.
GC(s)=KC
47
It is clear that the larger the gain KC , the more the controller output will
change for a given error e, i.e. the higher the sensitivity of the controller.
Thus wide bands (high % PB) corresponds to less sensitive response and
narrow bands (low %PB) corresponds to more sensitive response.
Figure below shows the response of a closed loop system with proportional
control to a unit step change in set point.
We notice that the ultimate response, after t→∞ never reaches the desired
new set point. There is always a discrepancy called off-set.
The off-set is a characteristic effect of proportional control. It decreases as
KC becomes larger and theoretically
offset = 0 when KC →∞
48
Effect of the value of KC of a proportional controller
The gain may be made +ve or –ve . A +ve gain corresponds to having
control output increase when process signal decreases which is known as “a
reverse-acting controller”. For –ve gain the output decreases as the process
signal decreases “ direct-acting controller”.
As an example suppose we are controlling the process outlet temperature of
a heat exchanger by throttling steam through a valve. When the temperature
goes up we want steam to decrease therefore the controller should be reverse
acting.
If we are cooling instead of heating we would use direct acting controller.
Here the integral action moves the control valve based on the time integral
of the error.
1
p( t ) p o ( t ) e( t )dt
I
49
where τI is the integral or reset time (minutes).
1
G C (s)
IS
If there is no error the controller output does not move. As the error goes
+ve or –ve the integral of the error drives the controller output either up or
down (reverse or direct).
The integral action causes the output to keep changing as long as an error
exists in the process. Therefore such a controller can eliminate even very
small errors.
Thus the basic purpose of integral action is to drive the process back to its
set point when it has been disturbed. This is called “zero steady state error”
or “zero off-set”. The smaller the τI the faster the error is reduced, however
this tends to make the control loop more oscillatory and moves towards
instability if τI is too small.
c. Derivative action:
The purpose of the derivative action is to anticipate what the error will be in
the immediate future and applies a control action which is proportional to
the current rate of change in the error.
de
p( t ) p o ( t ) D
dt
G C (s) D S
Lags are reduced in derivative controllers, and it brings stabilizing effect to
the system, however:-
de
- For a response with constant error it gives no control action 0
dt
50
- For noisy response with almost zero error it can compute large
derivatives and thus yield large control action which is not needed.
The table below summarizes the effects of the different control modes on the
response of the system:
51
made clear. Consider that the error changes by a step magnitude ε. The
response of the output of a controller is shown in figure below.
Initially the controller output is KCε (the contribution of the integral term
is =0). After a period of time I the contribution of the integral term is
I
KC KC
e( t )dt I K C
I 0 I
i.e. the integral control action has repeated the response of the
proportional action. This repetition takes place every I minutes. Thus
reset time is the time needed by the controller to repeat the initial
proportional action change in its output.
52
1
G C (s) K C (1 S)
IS D
The figure below shows the response of a controlled process to a unit step
change in the load with different types of controllers. When the load
changes, the response deviates and the controller tries to bring the output
again close to desired set point.
It is clear from the figure that PID controller should be the best. It offers
flexibility to achieve the desired controlled response by having three
adjustable parameters. However its tuning is complex. Tuning is the
selection of values to be used for its adjustable parameters.
53
- Extremely simple
P - Simple
- Easy to tune.
- Experience off-set at steady state
PI - No-offset
- Better dynamic response than integral
alone
- Possibilities exist for instability
PID - Most complex
- Most expensive
- Rapid reponse.
- No offset.
- Difficult to tune.
- Best control if properly tuned.
54