Professional Documents
Culture Documents
controller
output
Controller
manipulated
process
variable
measured
process
variable
Final
Control
Element
Process
Disturbance
feedback
signal
Measurement
Sensor/Transmitter
Copyright 2002
Douglas J. Cooper
All Rights Reserved
Copyright 2002
Douglas J. Cooper
All Rights Reserved
The controller sends a signal out on one wire and receives the result as a
change in measurement on another wire
From the controllers view, the individual gains, time constants and dead
times all lump into one overall dynamic behavior
controller
error, e(t)
Set Point
+-
Controller
controllers
process
Copyright 2002
Douglas J. Cooper
All Rights Reserved
To protect the final control element from wear, a dead band or upper and a
lower set point is used
C o n t r o l l e r O u Pt pr uo tc e s s
P ro c e s s : C u s t o m P ro c e s s
56
C o n t ro l l e r: M a n u a l M o d e
54
52
50
48
46
44
55
ON
50
45
OFF
250
Copyright 2002
Douglas J. Cooper
All Rights Reserved
300
350
400
450
500
T im e ( tim e u n its )
550
600
650
700
On/off with dead band is useful for home appliances such as furnaces,
air conditioners, ovens and refrigerators
Copyright 2002
Douglas J. Cooper
All Rights Reserved
These algorithms:
compute a complete range of actions between full on/off
require a final control element that can assume intermediate
positions between full on/off
Copyright 2002
Douglas J. Cooper
All Rights Reserved
u (t ) ubias KC e(t ) +
Proportional
term
KC
e(t )dt
Integral
term
de(t )
dt
Derivative
term
KC D
where:
y(t)
u(t)
ubias
e(t)
KC
D
Copyright 2002
Douglas J. Cooper
All Rights Reserved
P ro c e s s : G ra v i t y D ra i n e d T a n k
2 .8
2 .6
2 .4
2 .2
2 .0
1 .8
60
58
56
54
52
50
10
Copyright 2002
Douglas J. Cooper
All Rights Reserved
C o n t ro l l e r: P ID ( P = R A , I= o ff, D = o ff )
15
20
25
30
35
T im e ( m in s )
T u n i n g : B i a s = 5 5 .2 , G a i n = 1 1 .5 , S a m p l e T i m e = 1 .0 0
40
Copyright 2002
Douglas J. Cooper
All Rights Reserved
P-Only Control
KC
Copyright 2002
Douglas J. Cooper
All Rights Reserved
= controller output
= the controller bias
= controller error = set point measurement
= ysetpoint y(t)
= controller gain (a tuning parameter)
Copyright 2002
Douglas J. Cooper
All Rights Reserved
Copyright 2002
Douglas J. Cooper
All Rights Reserved
the design value for the measured process variable is where the
set point will be set during normal operation
Copyright 2002
Douglas J. Cooper
All Rights Reserved
KC
Kp
( p / p ) -1.219
KC
Copyright 2002
Douglas J. Cooper
All Rights Reserved
0.202
0.490
Kp
( p / p ) -1.084
Copyright 2002
Douglas J. Cooper
All Rights Reserved
Notes:
the designer defines best control performance
it is conservative to start with a small KC value
Thought Experiment:
Consider P-Only cruise control where u(t) is the flow of gas
If ubias were set to zero, then the flow of gas to the engine would be
zero even though the car is going 70 kph
Copyright 2002
Douglas J. Cooper
All Rights Reserved
Copyright 2002
Douglas J. Cooper
All Rights Reserved
Copyright 2002
Douglas J. Cooper
All Rights Reserved
reverse acting
direct acting
Copyright 2002
Douglas J. Cooper
All Rights Reserved
Copyright 2002
Douglas J. Cooper
All Rights Reserved
Big disadvantage:
=> the controller permits offset
Offset occurs under P-Only control when the set point and/or
disturbances are at values other than that used as the design level
of operation (that used to determine ubias)
u(t) = ubias + KC e(t)
How can the P-Only controller compute a value for u(t) that is
different from ubias at steady state?
Copyright 2002
Douglas J. Cooper
All Rights Reserved
Offset and KC
As KC increases: Offset decreases Oscillatory behavior increases
Impact of KC on Offset and Oscillatory Behavior
C o n tr o lle r O u tp u t P V / S e t p o in t
P r o c e s s : G r a v ity D r a in e d T a n k
3 .0
2 .8
2 .6
2 .4
offset
offset
2 .2
KC = 40
KC = 11.5
75
70
65
60
55
50
45
10
Copyright 2002
Douglas J. Cooper
All Rights Reserved
C o n tr o lle r : P I D ( P = R A , I = o f f , D = o f f )
20
30
40
50
T im e ( m in s )
T u n in g : B ia s = 5 5 .2 , G a in = 4 0 .0 , S a m p le T im e = 1 . 0 0
60
70
Proportional Band
100
PB
KC
Copyright 2002
Douglas J. Cooper
All Rights Reserved
Copyright 2002
Douglas J. Cooper
All Rights Reserved
Workshop 2
P-Only Control of Tank Level
Copyright 2002
Douglas J. Cooper
All Rights Reserved