Part 5: Advanced Control + Case Studies
Part 5: Advanced Control + Case Studies
1
Control layers
CV1s
“Advanced “control
CV2s
PID
2
u (valves)
Outline
3
”Summary Advanced control”
STEP S6. SUPERVISORY LAYER
Implementation:
• Alternative 1: Advanced control based on ”simple elements” (decentralized control)
• Alternative 2: MPC
4
Summary of some simple elements
Feeforward control with Multiple feeds etc. (extensive variables).: Ratio control
•Ratio setpoint usually set by feedback in a cascade manner
Feedback
5
Control configuration elements
6
Most important control structures
1. Feedback control
2. Ratio control (special case of feedforward)
3. Cascade control
7
Ratio control (most common case of
feedforward)
General: Use for extensive variables (usually flows) with constant optimal ratio
Example: Process with two feeds q1(d) and q2 (u), where ratio should be
constant.
Use multiplication block (x):
(q2/q1)s
(desired flow ratio)
q1 q2
(measured x (MV: manipulated variable)
flow
disturbance)
9
Example
Cascade control
• Controller (“master”) gives setpoint to another controller (“slave”)
– Without cascade: “Master” controller directly adjusts u (input, MV) to control y
– With cascade: Local “slave” controller uses u to control “extra”/fast measurement (y’). “Master” controller adjusts
setpoint y’s.
flow in
Hs flow in
Hs
H H
LC LC
MV=z MV=qs
valve position
q
FC
measured
z flow
flow out
flow out
10 WITHOUT CASCADE WITH CASCADE
What are the benefits of adding a
flow controllerq (inner cascade)?
s
Extra measurement y’ = q
q z
f(z)
1. Counteracts nonlinearity in valve, f(z) 1
alv
e
v
• With fast flow control we can assume q = q s il ne
ar
0
2. Eliminates effect of disturbances in p1 and p2 0 1 z
(valve opening)
11
Example (again): Evaporator with heating
qF [m3/s]
TF [K]
From cF [mol/m3] evaporation
reactor
level measurement
H
temperature measurement
T ∞
q [m3/s]
T [K]
c [mol/m3]
Heating fluid concentrate
qH [m3/s]
TH [K]
Split-Range
Temperature
Cooling Controller
Water
RSP
Steam
TT
TT TC
13
Split Range Temperature Control
100
Signal to Control Valve
80
60
(%)
Cooling Steam
40 Water
20
0 E0
Error from Setpoint for Jacket Temperature
15
Use of extra measurements: Cascade
control (conventional)
The reference r2 (= setpoint ys2) is an output from another controller
General case (“parallel cascade”)
16
Series cascade
1. Disturbances arising within the secondary loop (before y 2) are corrected by the secondary
controller before they can influence the primary variable y 1
2. Phase lag existing in the secondary part of the process (G2) is reduced by the secondary
loop. This improves the speed of response of the primary loop.
3. Gain variations in G2 are overcome within its own loop.
Thus, use cascade control (with an extra secondary measurement y2) when:
• The disturbance d2 is significant and G1 has an effective delay
• The plant G2 is uncertain (varies) or nonlinear
Design / tuning (see also in tuning-part): Example: Flow cascade for level control
• First design K2 (“fast loop”) to deal with d2 u = z, y2=F, y1=M,
K1= LC, K2= FC
17 • Then design K1 to deal with d1
Pressure control distillation
18
Use of extra inputs
2. Need several inputs to cover whole range (because primary input may
saturate) (steady-state)
Split-range control
Example 1: Control of room temperature using AC (summer), heater
(winter), fireplace (winter cold)
Example 2: Pressure control using purge and inert feed (distillation)
19
Extra inputs, dynamically
20
QUIZ: Heat exchanger with bypass
closed
CW
qB
Thot
Nvalves
•Want tight = 3,of Thot
control N0valves = 2 (of 3), Nss = 3 – 2 = 1
•Primary input: CW
•Secondary input: qB
•Proposed control structure?
21
Alternative 1
closed
CW
qB
TC Thot
Nvalves = 3, N0valves = 2 (of 3), Nss = 3 – 2 = 1
Use primary input CW: TOO SLOW
22
Alternative 2
closed
CW
qB
Thot
Nvalves = 3, N0valves TC
= 2 (of 3), Nss = 3 – 2 = 1
23
Alternative 3: Use both inputs (with input resetting of dynamic input)
closed
CW
qB
qBs
Thot
FC
Nvalves = 3, N0valves TC
= 2 (of 3), Nss = 3 – 2 = 1
24 Also called: “valve position control” (Shinskey) and “midranging control” (Sweden)
Too few inputs
25
Divided wall column example
26
Control of primary variables
27
Decentralized control
(single-loop controllers)
Use for: Noninteracting process and no change in active constraints
+ Tuning may be done on-line
+ No or minimal model requirements
+ Easy to fix and change
- Need to determine pairing
- Performance loss compared to multivariable control
- Complicated logic required for reconfiguration when active constraints
move
28
Multivariable control
(with explicit constraint handling = MPC)
Use for: Interacting process and changes in active constraints
+ Easy handling of feedforward control
+ Easy handling of changing constraints
• no need for logic
• smooth transition
- Requires multivariable dynamic model
- Tuning may be difficult
- Less transparent
- “Everything goes down at the same time”
29
Model predictive control (MPC) =
“online optimal control”
24
TI
1020
24 B = C2
AR
C = C3
1008
D = iC4 24 24
TI LC
24-HA-103 1021 24-VA-102 1010
A/B
48
40
24
TI
1011 39 Kjølevann
35
24 34
TI 24
1017 33 FC
24 24 1008
TI LC
21
1005 1001
25
24LC1001.VYA 24
TI FI
1038 1003
24 24
20 FC TI 24-PA-102A/B Propane
Bottoms from deetaniser 24 1009 1013
PD
18 1009
24
TI
1012 17 Normally 0 flow, used for start-ups to remove inerts
24
TC
6
5
Controlled variables (CV) = Product qualities, column deltaP ++
1022
1
Manipulated variables (MV) = Set points to PID controllers
24
Disturbance variables (DV) = Feedforward AR
1005
C = C3
E = nC4
24 F = C5+
PC
1010 24-VE-107
24
LC
1009
LP steam 24
LC
1026 Debutaniser 24-VE-108
LP condensate
32 32 24
TI
1018
Depropaniser Train100 step testing
• 3 days – normal operation during night
•
DV =Feedrate
MV1 = L
MV2 = Ts
CV1=TOP COMPOSITION
CV2=BOTTOM COMPOSITION
CV3=¢p
33 33
Estimator: inferential models
• Analyser responses are delayed – temperature measurements respond 20 min earlier
• Combine temperature measurements predicts product qualities well
CV1=TOP COMPOSITION
CV2=BOTTOM COMPOSITION
Calculated by 24TC1022 (t5), 24TI1018 (bottom), 24TI1012 (t17) and 24TI1011 (t39)
34 34
Depropaniser Train100 step testing – Final model
• Step response models:
• MV1=reflux set point increase of 1 kg/h
• MV2=temperature set point increase of 1 degree C
• DV=output increase of 1%.
V2=BOTTOM COMPOSITION
CV3=¢p
35 35
Depropaniser Train100 MPC – controller activation
• Starts with 1 MV and 1 CV – CV set point changes, controller tuning, model verification and
corrections
• Shifts to another MV/CV pair, same procedure
• Interactions verified – controls 2x2 system (2 MV + 2 CV)
• Expects 3 – 5 days tuning with set point changes to achieve satisfactory performance
MV1 = L
CV1=TOP COMPOSITION
DV =Feedrate
36
CV3=¢p
36
Another column:
0 – 65%
Deethanizer PC 65-100%
CV Flare
34
28
FC
LC
23 Reflux drum
FC 21
DV FC
FC
16
Product pumps
10
MV MV Reflux pumps
TC 1 Quality estimator
PC
LC
CV
LP Steam
LC
CV
Quality estimator
37 LP Condensate
To Depropaniser
Top: Binary separation in this case
Quality estimator vs. gas chromatograph
(use logarithmic composition to reduce nonlinearity, CV = - ln ximpurity)
7 temperatures
2 temperatures
38
=little difference if the right temperatures are chosen
The final test: MPC in closed-loop
CV1
MV1
CV2
MV2
CV3
DV
39
Conclusion MPC
40
Outline
41
Sigurd Skogestad
CVs
MPC
PID
MVs
Process
42
An RTO sucess story: Statoil Mongstad Crude
oil preheat train
Max T
44
European Symposium on Computer Aided Process Engineering 11,
Kolding, Denmark, 27-30 May 2001, Elsevier, pp. 1041-1046.
45
Data reconcilation
47
In service for 20 years
Improvements
Max T
MPC
PID
MVs
50 Process
Step S7. Optimization layer (RTO)
51
Question
PID
MVs
Process
52