Chapter 6 Basic Control Theory
Chapter 6 Basic Control Theory
Measurement
Comparison
Adjustment
Open and Closed Control Loops
An open control loop exists where the process variable is not
compared, and action is taken not in response to feedback on the
condition of the process variable, but is instead taken without regard
to process variable conditions.
Open loop control has no information or feedback about the
measured value.
The position of the correcting element is fixed.
It is unable to compensate for any disturbances in the process.
A closed control loop exists where a process variable is
measured, compared to a setpoint, and action is taken to correct
any deviation from setpoint.
1 Pne
1. Pneumatic
matic signal
signal: aree signals
ign l produced
p od ed byb changing
h nging the air
i
pressure in a signal pipe in proportion to the measured change in a
process variable. The common industry standard pneumatic signal
range is 3–15 psig.
3 Di
3. Digital
i l signal:
i l are discrete
di levels
l l or values
l that
h are combined
bi d in
i
specific ways to represent process variables and also carry other
information,, such as diagnostic
g information. The methodology
gy used to
combine the digital signals is referred to as protocol.
Controller Algorithms
g
Theactions of controllers can be divided into
groups based upon the functions of their
control mechanism.
Each
E h ttype off controller
t ll has
h advantages
d t and
d
disadvantages and will meet the needs of
diff
differentt applications.
li ti
The Controllers are g
grouped
p as:
Discrete controllers (On/ Off)
Continuous controllers
Discrete controllers (ON/ OFF): These controllers
have only two modes or positions: on and off (two-
step). This type of control doesn’t actually hold the
variable at setpoint, but keeps the variable within
proximity of setpoint in what is known as a dead
zone.
Two-step
Two step is the simplest of all the control modes. The
output from the controller is either on or off with the
controller's output changing from one extreme to the
other regardless
g of the size of the error.
Summary of "On"
On "Off"
Off Control
Two-position control can only be in one of two positions, either
0% or 100%.
100% A switchit h iis an example
l off On/Off
O /Off control.
t l
Advantages:
» On/Off control makes "troubleshooting" very easy and requires
only basic types of instruments.
Disadvantages:
» The process oscillates.
» Th
The fi
finall control
t l element
l t (usually
( ll a control
t l valve)
l ) is
i always
l
opening and closing and this cause excessive wear.
» There is no fixed operating point.
point
Discrete (On/ Off) Control Reaction Curve
Continuous Control
There are three basic control actions that
are often applied to continuous control:
1. Proportional (P)
2. Integral (I)
3. Derivative (D)
( )
It is also necessary to consider these in
combination such as P + II, P + D,D P + I + D.
D
Although it is possible to combine the
different actions, and all help to produce the
required response, it is important to
remember that both the integral and
derivative actions are usually corrective
functions of a basic proportional control
act o
action.
Continuous Controllers
Controllers automatically compare the value of the PV to the SP to determine if
an error exists. If there is an error, the controller adjusts
j its output
p according
g to
the parameters that have been set in the controller.
Th ttuning
The i parameters
t essentially
ti ll ddetermine:
t i
the
h correcting element
l is adjusted
d d In proportion to the
h change
h
in the measured value from the set point.
Usually, the set point and measured value are equal when the
output is midway of the controller output signal range.
Proportional Band (PB):
The simplest and most common form of control action to be found on
a controller is proportional. With this form of control the output
from the controller is directly proportional to the input error signal
signal,
i.e. the larger the input error the larger the output response from
the controller.
The
Th actual
t l size
i off the
th output
t t depends
d d on another
th factor,
f t the th
controller's proportional band or gain (the controller's sensitivity).
The setting for the proportional mode may be expressed as either:
» Proportional Band (PB) is another way of representing the
same information and answers this question: "What percentage
of change of the controller input span will cause a 100%
change in controller output?“ PB = ∆ Input (% Span) For 100%
∆ Output.
» Proportional Gain (Kc) answers the question: "What is the
percentage change of the controller output relative to the
percentage change in controller input?“
input? Proportional Gain is
expressed as: Gain, (Kc) = ∆ Output% / ∆ Input %
Proportional Controller Equation:
Where,
m = Controller output
Kp = Proportional gain
b = Bias
Proportional band and gain
Gain is just the inverse of PB multiplied by 100 or gain = 100/PB
PB = 100/Gain
Also recall that: Gain = 100% / PB
Gain (Kc) = ∆ Output% / ∆ Input %
PB= ∆ Input (%Span) For 100% ∆ Output
PB 100% = Gain 1 PB 200% = Gain 0.5
Where:
m = Controller Output
e = Error (difference
(d ff between
b PV and
d SP))
Kp = Proportional gain
t = Time
b = Bias
Integral Action Effect
Integral Saturation or Reset Wind-up
Summary of integral action (Reset)
Integral (Reset) Summary - Output is a repeat of the
proportional action as long as error exists. The units are in terms
of repeats per minute or minutes per repeat.
Advantages - Eliminates error
Disadvantages: Makes the process less stable and take longer
to settle down.
Can suffer from integral saturation or wind-up on batch
processes.
Fast
ast Reset
eset ((Large
a ge Repeats/Min.,
epeats/ , Small
S a Min./Repeat)
/ epeat)
» High Gain
» Fast Return to Setpoint
» Possible Cycling
Slow Reset (Small Repeats/Min., Large Min./Repeats)
» Low Gain
» Slow
Sl Return
R t to
t SSetpoint
t i t
» Stable Loop
P + I controller is used when offset must be eliminated
automatically and integral saturation due to a sustained offset is
not a problem.
P+ I Controller Reaction at Optimum
p Settings
g
Derivative Mode
Wh D
Why Derivative
i ti Mode?
M d ?
A “closed
“ l d loop”
l ” tuning
i procedure
d is
i implemented
i l d with
i h the
h
controller in automatic mode: adjusting tuning parameters
to achieve an easily-defined
f result, then using those PID
parameter values and information from a graph of the
process variable over time to calculate new PID parameters.
Ziegler-Nichols
Ziegler Nichols Closed-Loop
Closed Loop (“Ultimate
( Ultimate Gain
Gain”))
The closed loop or ultimate method involves finding
the point where the system becomes unstable and
g this as a basis to calculate the optimum
using p
settings.
The following steps may be used to determine ultimate
PB and ultimate periodic time:
The controller compares the signal from the sensor to the set
point on the controller. If there is a difference, the controller
sends a signal to the actuator of the valve, which in turn moves
the valve to a new position.
Feedback control.
Feedforward
Feedback control
Feedback control may be viewed as a sort of information “loop,”
from the transmitter, to the controller, to the final control element,
and through the process itself, back to the transmitter. Block
diagram
g of feedback control looks like a loop:
p
Feedback Control loop measures a process variable
and
d sends
d the
h measurement to a controller ll ffor
comparison to setpoint. If the process variable is not at
setpoint, control action is taken to return the process
variable to setpoint.
Feedback loops are commonly used in the process control
industry.
The slave controller does not depend on good tuning in the master
controller in order to control the slave loop.
p
If the master controller were placed in manual, the slave controller
would simply control to a constant setpoint. However, the master
controller most definitely depends on the slave controller being well-
tuned in order to fulfill the master’s “expectations.”
If the slave controller were placed in manual mode, the master
controller would not be able to exert any control over its process
variable whatsoever.
N t only
Not l ddo th
these iingredients
di t need
d to
t be
b mixed
i d in
i proper
proportion, but it is usually desirable to have the total flow
rate subject to arbitrary increases and decreases so
production rate as a whole may be altered at will.
will
A simple example of ratio control is in the production of
paint,
i t where
h a base
b liquid
li id mustt be
b mixedi d with
ith one or more
pigments to achieve a desired consistency and color.
All the human operator
p needs to do now is move the
one link to increase or decrease mixed paint
production:
Mechanical link ratio-
controll systems are
commonly used to
manage simple
burners, proportioning
the flow rates of fuel
and air for clean,
efficient combustion.
A photograph of such
a system appears
here, showing how the
fuel g
gas valve and air
damper motions are
coordinated by a
single
i l rotary
t actuator.
t t
A more automated approach to the general problem of ratio
control involves the installation of a flow control loop on one of
the lines, while keeping just a flow transmitter on the other line.
The signal coming from the uncontrolled flow transmitter becomes
the setpoint for
fo the flow
flo control
cont ol loop:
loop The ratio
atio of pigment to base
will be 1:1 (equal).
We may incorporate convenient ratio adjustment into this system by
adding another component (or function block) to the control scheme: a
device called a signal multiplying relay (or alternatively, a ratio station).
This device (or computer function) takes the flow signal from the base
(wild) flow transmitter and multiplies it by some constant value (k)
before sending the signal to the pigment (captive) flow controller as a
set point, the ratio will be 1:1 when k = 1; the ratio will be 2:1 when k =
2 etc.
2, etc
One way to achieve the proper ratio of hydrocarbon gas to steam flow is
t install
to i t ll a normall flow
fl control
t l loop
l on one off these
th two
t reactant
t t feed
f d
lines, then use that process variable (flow) signal as a setpoint to a flow
controller installed on the other reactant feed line. This way, the second
controller will maintain a proper balance of flow to proportionately match
the flow rate of the other reactant. An example P&ID is shown here,
where the methane gas flow rate establishes the setpoint for steam flow
control:
We could add another layer of sophistication to this ratio control system
by installing a gas analyzer at the outlet of the reaction furnace designed
to measure the composition of the product stream. This analyzer’s signal
could be used to adjust the value of k so the ratio of steam to methane
would automatically vary to ensure optimum production quality even if the
feedstock composition (i.e. percentage concentration of methane in the
hydrocarbon gas input) changes:
A more common method of ratio control is using separate units
t provide
to id the
th ratio
ti system.
t In
I this
thi figure,
fi the
th measurementt off
an uncontrolled flow transmitted to a ratio unit where it is
multiplied by a ratio factor, and the output of the ratio unit
becomes the set point of the secondary controller.
The ratio unit normally has a manually adjusted scale to adjust
the ratio between the two variables.
variables
Limit, Selector, and Override controls
Another
h category off controll strategies involves
l the
h use off signall relays
l or
function blocks with the ability to switch between different signal values,
or re-direct signals
g to new p
pathways.
y Such functions are useful when we
need a control system to choose between multiple signals of differing
value in order to make the best control decisions.
The “building blocks” of such control strategies are special relays (or
function blocks in a digital control system) shown here:
Limit Controls
In the following example
example, a cascade control system regulates the
temperature of molten metal in a furnace, the output of the master
(metal temperature) controller becoming the setpoint of the slave (air
temperature) controller
controller. A high limit function limits the maximum value
this cascaded setpoint can attain, thereby protecting the refractory brick
of the furnace from being exposed to excessive air temperatures:
This same control strategy could have been implemented using a low
select function block rather than a high limit:
Selector Controls
Selector control strategy is where we must select a process variable signal
from multiple transmitters. For example, consider this chemical reactor,
where the control system must throttle the flow of coolant to keep the
hottest measured temperature at setpoint, since the reaction happens to
be exothermic (heat-releasing):
Another use of selector relays (or function blocks) is for the determination
of a median process measurement
measurement. This sort of strategy is often used on
triple-redundant measurement systems, where three transmitters are
installed to measure the exact same process variable, providing a valid
measurement even in the event of transmitter failure.
failure
The median select function may be implemented one of two ways using
high- and low
high low-select
select function blocks:
Override Controls
An “override” control strategy involves a selection between
two or more controller output signals, where only one
controller at a time gets the opportunity to exert control
over a process. All other “de-selected” controllers are thus
overridden by the selected controller.
In process control systems it often becomes desirable to
limit a process variable to some low or high value to avoid
damage to process equipment or to the product. This is
accomplished by override devices. As long as the variable is
within the limits set by the override devices, normal
f
functioning off the
h controll system continues; when
h the
h set
limits are exceeded, the override devices take
predetermined
d t i d actions.
ti
Consider this water pumping system, where a water pump is
d i
driven b
by a variable-speed
i bl d electric
l t i motor
t tto draw
d water
t from
f a
well and provide constant water pressure to a customer:
A potential
t ti l problem
bl with
ith this
thi system
t iis the
th pump running
i
“dry” if the water level in the well gets too low, as might
happen during summer months when rainfall is low and
customer demand is high.
One solution to this problem would be to install a level switch in
th well,
the ll sensing
i water
t level
l l andd shutting
h tti off
ff the
th electric
l t i motor
t
driving the pump if the water level ever gets too low:
We may create just such a control strategy by replacing the well water
level switch with a level transmitter,, connecting
g the level transmitter to a
level controller, and using a low-select relay or function block to select the
lowest-valued output between the pressure and level controllers. The level
controller’s setpoint
p will be set at some low level above the acceptable
p
limit for continuous pump operation:
Bear in mind that the concept of a low-level switch completely shutting
off the p
pumpp is not an entirely
y bad idea. In fact,, it might
g be prudent
p to
integrate such a “hard” shutdown control in the override control
system, just in case something goes wrong with the level controller
(e.g. an improperly adjusted setpoint or poor tuning) or the low-select
function. With two layers of safety control for the pump, this system
provides both a “soft constraint” providing moderated action and a
“hard constraint” providing aggressive action to protect the pump from
dry operation: