Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Control
BITS Pilani
Pilani Campus
Swapna Kulkarni
Continuous Control
Modes
BITS Pilani
Pilani Campus
Curtis Johnson
Process Control Instrumentation Technology, 8e]
Offset
Proportional control mode produces a permanent
residual error in the operating point of the
controlled variable when a load change occurs
and is referred to as offset.
It can be minimized by larger constant Kp which
also reduces the PB
Applications
If the process lag time is small the PB can be
made very small with large Kp which reduces
offset error.
If Kp is made very large the PB becomes very
small and proportional controller is going to
work as an ON/OFF mode i.e. high gain in
proportional mode causes oscillations of the
error.
Problem
For a proportional controller the
controlled variable is a process temperature
with a range of 50 to 130 C and a setpoint of
73.5 C . Under nominal conditions the
setpoint is maintained with an output of 50%.
Find the
proportional offset resulting from a load
change that requires a 55% output if the
proportional
gain is (a) 0.1 (b) 0.7 (c) 2.0 and (d) 5.0.
BITS Pilani, Pilani Campus
Solution
Given data
Temp. Range= 50 to 130 C
Setpoint (Sp) 73.5 C
Po =50%
P =55%
Ep=?
Offset error =? for Kp0.1 0.7 2.0 5.0
FIGURE 9.14 Integral mode controller action: (a) The rate of output
change depends on error, and (b) an illustration of integral mode output
and error.
Curtis Johnson
Process Control Instrumentation Technology, 8e]
Composite Control
Modes
BITS Pilani
Pilani Campus
Applications
Eliminates the offset problem of proportional
controllers.
The mode can be used in systems frequent or
large load changes.
Disadvantage
Because of the integration time, however, the
process must have relatively slow changes in
load to prevent oscillations induced by the
integral overshoot.
Another disadvantage of this system is that
during start-up of a batch process, the integral
action causes a considerable overshoot of the
error and output before settling to the
operation point.
BITS Pilani, Pilani Campus
FIGURE 9.19 Overshoot and cycling often result when PI mode control is used
in start-up of batch processes. The dashed lines show the proportional band.
Example
Given the error of
fig., plot a graph of a
proportional integral
controller output as
a function of time
Kp=5,KI=1.0 s-1 and
pI(0)=20%
p K Pep K P K I ep dt pI (0)
BITS Pilani, Pilani Campus
Solution
1) 0t 1 (t between 0 and 1 s)
The error rises from 0% to 1 % in 1 s. It is given by ep=t.
t
p1 5t 5 tdt 20
0
t2
p1 5t 5
20
2
p1 5t 2.5t 2 20
p2 5 5(t 1) 22.5
de p
dt
p0
FIGURE 9.21 Proportional-derivative (PD) action showing the offset error from
the proportional mode. This example is for reverse action.
Curtis Johnson
Process Control Instrumentation Technology, 8e]
Example
Suppose the error,
fig. a, is applied to a
proportionalderivative controller
with KP=5, KD=0.5 s,
and p0=20%. Draw a
graph of the
resulting controller
output.
Copyright 2006 by Pearson Education, Inc.
Upper Saddle River, New Jersey 07458
All rights reserved.
Solution
In this case, we evaluate
p K Pep K P K D
de p
dt
p0
dep
dt
pI (0)
Problem
Fig. produces an
output in the three
mode controller with
Kp=5,KI=0.7 s-1 ,
KD=0.5s and
pI(0)=20% . Draw a
plot of the controlled
output.
ep=1%
ep=t%
ep=-(1/2)t+2.5%
Solution
The error an be expressed as follows:
1) 0-1 s ep=t%
2) 1-3 s ep=1%
3) 3-5 s ep=-(1/2)t+2.5%t
Or
d (t )
p1 5t 3.5 tdt 2.5
20
dt
0
p1 5t
p 5e p 3.5 e p dt 2.5
0
de p
dt
20
1) 0-1 s ep=t% :
d (t )
p1 5t 3.5 tdt 2.5
20
dt
0
p1 5t 1.75t 2 22.5
1
p2 5( t ) 3.5 (1)dt 21.75
2
1
p2 3.5(t 1) 26.75
1
1
2.5
p3 5( t 2.5) 3.5 ( t 2.5)dt
28.75
2
2
2
3
p3 0.875t 2 6.25t 21.625
Output of Example
Curtis Johnson
Process Control Instrumentation Technology, 8e]
Special Terminology
1. Proportional Band (PB): This is the percentage error
that results in a 100% change in controller output.
2. Repeats per minute: integral gain for PI and PID
controller modes. The term derives from the
observation that the integral gain, KI, has the effect
of causing the controller o/p to change every unit
time by the proportional mode amount.
By taking the derivative of the integral term in the
controller equation, this gives a change in controller
output p of
p=KI KP ep t
BITS Pilani, Pilani Campus
Special Terminology
3. Rate gain: This is nothing but derivative gain,KD.
Because KD has the units of %-s/% (or % min/%), one
often expresses the gain as time directly. Thus, a rate
gain of 0.05 min or derivative time of 0.05 min both
mean KD =0.05%-min/%
4. Direct/reverse action: This specifies whether the
controller output should increase (direct) or
decrease (reverse) for an increasing controlled
variable. The action is specified by the sign of the
proportional gain; KP <0 is direct, and KP>0 is reverse.
BITS Pilani, Pilani Campus
Summary
In controller operating modes, it is important
to know the process load, which is nominal
value of all process parameters, and the
process lag, which represents a delay in
reaction of the controller variable to a change
of load variable.
Some processes exhibit self-regulation-i.e. the
characteristics that a dynamic variable adopts
some nominal value commensurate with the
load with no control action.
BITS Pilani, Pilani Campus
Summary
The controller operation is defined through a relationship
between percentage error or derivation relative to full
scale
ep= (r-b)/(bmax-bmin)*100
And the controller o/p as a percentage of the controlling
parameter
p= (u-umin)/ (umax-umin)*100
Control lag and dead time, respectively, refer to delay in
controller response when a deviation occurs and a period
of no response of the process to a change in the
controlling variable.
Summary
Discontinuous controller modes refer to
instances where the controller output does
not change smoothly for input error. Ex. Twoposition, multiposition and floating.
Continuous controller modes are modes
where the controller o/p is smooth function of
the error input or rate of change. Ex. P, I and D
modes.
Composite controller modes combine the
continuous modes. Ex. PI,PD,PID
BITS Pilani, Pilani Campus
Summary
. Proportional plus integral:
No offset.
Better dynamic response than reset alone.
Possibilities exist for instability due to lag introduced.
Proportional plus derivative:
Stable.
Less offset than proportional alone (use of
Analog Controllers
BITS Pilani
Pilani Campus
Swapna Kulkarni
Objectives
Diagram the physical appearance of an analog
controller.
Diagram and describe how a two-position
control can be implemented using op amps.
Draw schematics and describe how op amps
can be used to implement the PI, PD and PIS
control modes.
Describe how the nozzle/flapper system can
be used to implement proportional control
using pneumatics.
BITS Pilani, Pilani Campus
Introduction
Modern implementations of controller action
is provided by computers using software to
perform the required math operations.
Some control system implementations still use
analog electronics for special purposes and
there remains vast array of equipment in
continued use in the process industry.
Introduction
The basic principles by which controller action
can be provided by analog electronics and
pneumatics.
The op-amp is used as the basic functional
unit in describing controller action by analog
electronics.
For pneumatics the nozzle/flapper system
forms the basis of controller mode
implementation.
BITS Pilani, Pilani Campus
General Features
Analog controller is a device that implements
the controller modes(P,I,D,PI,PD or PID) using
analog signals (an electric current or a
pneumatic air pressure) to represent the loop
parameters.
The controller accepts a measurement
expressed in terms of one of these signals,
calculates an o/p for the mode being used,
and o/ps and analog signal of the same type.
BITS Pilani, Pilani Campus
General Features
The controller must be able to add, subtract,
multiply, integrate and find derivatives.
It does this by working with analog voltages or
pressures.
Front Panel
The front panel of an
analog controller
displays information
for operators and
allows adjustment of
the setpoint.
Side Panel
On the side of the controller, when partially
pulled out, knobs are available to adjust
operation of the controller modes.
On this panel, the P, I(reset), and D(rate) gains
can be adjusted.
In addition, filtering action and reverse/direct
operation can often be selected.
Electronic Controllers
The use of op amps as the primary circuit
element.
Error Detector: error signal=difference
between voltages=Voltage(generated by the
process signal current passed through a
resistor)-Voltage (setpoint)
This is usually generated by a voltage divider
using a constant voltage as a source.
Single Mode
Two-Position: it can be
implemented by a
great variety of
electronic and
electromechanical
designs.
Many household AC
and heating systems
employed two position
controller constructed
from a bimetal strip
and mercury switch.
Copyright 2006 by Pearson Education, Inc.
Upper Saddle River, New Jersey 07458
All rights reserved.
Two Position
As the bimetal strip bends because of a temp.
decrease, it reaches to a point where the
mercury slides down to close an electrical
contact.
The inertia of the mercury tends to keep the
system in that position until the temp
increases to value above the setpoint temp.
This provides the required neutral zone to
prevent excessive cycling of the system.
BITS Pilani, Pilani Campus
Curtis Johnson
Process Control Instrumentation Technology, 8e]
Two Position
For this circuit, assume if the controller i/p voltage, V
, reaches a valueVH, then the comparator output
should go to the ON state, which is defined as some
voltage, V0. When the input voltage falls below a
value VL, is equal to the setpoint value, Vsp.
Analysis of this circuit shows that the high (ON)
switch voltage is
VH= Vsp
And the low (OFF) switching voltage is
VL= Vsp-(R1/R2) V0
The inverter resistance can be chosen as any consistent
value. Typically, it is in the 1 to 100 k range.
BITS Pilani, Pilani Campus
The width of the neutral zone between VL and VH can be adjusted by variation
of R2.
Curtis Johnson
Process Control Instrumentation Technology, 8e]
Example
Level measurement in a sump tank is provided
by a transducer scaled as 0.2V/m. A pump is to
be turned on by application of +5V when the
sump level exceeds 2.0 m. The pump is to be
turned back off when the sump level drops to
1.5m. Develop a two-position controller.
Solution
The high and low trip voltages will be determined
by the conditions of the problem.
From these, the values of the resistances can be
determined.VH=(0.2 V/m)(2.0m)=0.4V
And VL=(0.2V/m)(1.5m)=0.3V
This gives the following relations for the
resistances and Vsp.
0.4 V= Vsp And 0.3 V= Vsp-(R1/R2)V0
Therefore, Vsp=0.4V and, (R1/R2)=0.02
If R1=5k,then R2=250k
BITS Pilani, Pilani Campus
Proportional Mode
p= Kp ep +p0
where p= controller output 0-100%
Kp= proportional gain (% /% )
ep= error in percent of variable range
p0 =controller output with no error(%)
If we consider both the controller o/p and error
to be expressed in terms of voltage, the eq. is
simply summing amplifier.
BITS Pilani, Pilani Campus
FIGURE 10.7
Curtis Johnson
Process Control Instrumentation Technology, 8e]
Proportional Mode
Kp expresses the percent of o/p for n error of 1% of
the measurement range.
Alternatively it could be described as the PB=100/KP.
This must now be expressed in terms of the voltage
gain, Gp.
The relationship between Gp and K is given by
Gp=Kp(Vout/Vm)
Where Vout= the range of output voltage.
Vm= the range of measurement voltage.
BITS Pilani, Pilani Campus
Example
A controller is scaling so that 0-10V
corresponds to a 0-100% output. If R2=10k
and full scale error range is 10V, find the
values of V0 and R1 to support a 20%
proportional band about a 50% zero-error
controller output.
Solution
The value of V0 is simply 50% of 10V, or 5V, to
provide the zero-error controller output. To design
for a 20% proportional band means that a change of
error of 20% must cause the controller output to
vary 100%. Thus, from
Vout=GPVe+V0
We note that when the error has changed 20% of
10V, or 2 V, we must have full controller output
change. Thus,
GP=((Vout)/(Ve))=10/2=5
So that if R2=10k, then R1=R2/Gp=2k
BITS Pilani, Pilani Campus
Integral Mode
p(t)= KIepdt+p(0) (1)
where p(t)= controller o/p in percent of full
scale
ep= deviations in percent of full scale variable
value.
p(0) =controller output when the integral
action starts
KI =Integral gain (s-1)
BITS Pilani, Pilani Campus
FIGURE 10.8
controller.
An op amp integral-mode
Integral Mode
The values of R and C can be adjusted to obtain the
desired integration time.The initial controller o/p is the
integrator o/p at t=0.
The integration time constant determines the rate at
which controller o/p increases when the error is
constant.
If KI is made too large, the o/p rises so fast that
overshoots of the optimum setting occur and cycling is
produced.
The actual value of GI, and therefore of R and C, is
determined from KI and the input and output voltage
ranges.
BITS Pilani, Pilani Campus
Integral Mode
One way to do this is to recognize that the
integral gain says that an i/p error of 1% must
produce that changes as KI percent per
second.
Another way is to know that if an error of 1%
lasts for 1s, the output range of 5V, and KI=3%
Example
An integral control system will have a
measurement range of 0.4 to 2.0 V and an
output range of 0 to 6.8V. Design an op amp
integral controller to implement a gain of
KI=4% (%-min). Specify the values of GI,R, and
C.
Solution
The input range is 2.0-0.4=1.6V, and the output
range is 6.8V.
KI=[4% (%-min)][1 min/60 s]=0.0667%(%-s)
1% of the input for 1 s=(0.01)(1.6V)(1s=0.016 V.s
0.0667% of the output=(0.000667)(6.8V)=0.00454
V
So,the gain is GI=(0.00454 V/0.016 Vs)=0.283 s-1
As GI=1/(RC) this implies to RC=3.53s
If C=100F, then R=35.3 k
BITS Pilani, Pilani Campus
Derivative Mode
This mode is never used alone because it
cannot provide a controller output when the
error is zero.
p(t)= KD (dep/dt)
where p= controller o/p in percent of full o/p
KD=derivative time constant
ep= error in percent of full scale range
Derivative Mode
Vout RC
dVe
dt
Derivative Mode
Assume, the i/p voltage is given by a sinusoidal
voltage oscillating with some frequency f,
then Ve=V0 sin(2ft)
The amplitude of the o/p : |Vout|=2fRC|Ve|
The magnitude of the o/p voltage increases linearly
with frequency.
As the frequency goes to infinity, the o/p also goes to
infinity
This is unacceptable in control system.
A little high-frequency noise will cause large
excursions in o/p voltage.
BITS Pilani, Pilani Campus
Derivative Mode
In order to make a practical circuit, a modification
is provided that essentially clamps the gain
above some frequency to a constant value.
The clamped frequencies are well above anything
that could occur in the actual control system.
This way, the circuit provides a derivative o/p in
the frequencies of practical interest but simply
acts like a fixed-gain amplifier at higher
frequencies.
BITS Pilani, Pilani Campus
FIGURE 10.9
controller.
Vout R1C
dVout
dV
R2C e
dt
dt
The o/p depends upon the derivative of the i/p voltage, but there
is now an extra term involving the derivative of the o/p voltage.
Curtis Johnson
Process Control Instrumentation Technology, 8e]
Derivative Mode
For very high frequencies the impedance of
the capacitor becomes very small and can be
neglected.
Then the circuit becomes just an inverting
amplifier with a gain -(R2/R1). At low
frequency the impedance of the capacitor will
be large so R1 can be neglected.
The circuit exhibits a derivative response
provided the following inequality is satisfied,
2fR1C <<1
(10.9)
BITS Pilani, Pilani Campus
Derivative Mode
Therefore, when using a derivative action circuit, we
must estimate the max. Physical frequency at which
the system can respond, fmax, and pick R1 so that for
frequencies much higher than this, the inequality of
equation (10.9) is satisfied.
Derivative Mode
The following derivative mode design guidelines
can be followed:
1) Estimate the maximum frequency at which the
physical system can respond, fmax.
2) Set 2 fmaxR1C=0.1 and solve R1. (C is found from
the mode derivative gain requirement).
Assuming this criteria has been met, we can
ignore R1 for the controller design and define the
circuit derivative gain or derivative time in
seconds GD=R2C. GD will be determined from the
design controller derivative gain, KD.
BITS Pilani, Pilani Campus
Example
Derivative control action with a gain of
KD=0.04%(%/min) is needed to control flow
through a pipe. The flow surges with a
minimum period of 2.2 s. The input signal has
a range of 0.4 to 2.0 V, and the output varies
from 0.0 to 5.0V. Develop the op amp
derivative action circuit.
Solution
The derivative gain GD should first be
converted to the units of seconds:
[0.04%/(%/min)](60s/min)=2.4 %(%/s)
This result says that for every 1%/s rate of
change of input, the output should change by
2.4%.
So, 1%/s of the input is
(0.01)(2.0-0.4)V/s=0.016V/s.
Then 2.4% of the output is (0.024)(5)=0.12 V,
BITS Pilani, Pilani Campus
Solution
So GD=(0.12 V/0.016V/s)=7.5s
As we know the relation of GD =R2C=7.5 s
If we pick C=20F, then R2=375k.
To find R1, we need the maximum frequency.
If the minimum period is 2.2 s, then the
maximum frequency is fmax=1/2.2s=0.45Hz.
From the design guidelines, we set
2fmaxR1C=2(0.45) R1(20F)=0.1
We can now solve for R11800
BITS Pilani, Pilani Campus
Next class