Lecture35_notes.pdf is most important eg

tomhari2004 16 views 24 slides Aug 24, 2024
Slide 1
Slide 1 of 24
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24

About This Presentation

This is


Slide Content

Copyright © 2007 Control Station, Inc. All Rights Reserved
1
Cascade Control
The Cascade Control Architecture Benefits of a Cascade Strategy Design and Tuning a Cascade Controller Application to a Flash Drum Process Application to a Jacketed Reactor
What We Will Learn in This Section

Copyright © 2007 Control Station, Inc. All Rights Reserved
2
Architectures for improved disturbance rejection
Feed Forward Cascade
Both require additional instrumentation and
engineering time in return for a controller better able
to reject disturbances Neither architecture benefits nor detracts from set point tracking performance
Cascade Control

Copyright © 2007 Control Station, Inc. All Rights Reserved
3
Traditional Feedback Loop is in the Dashed Circle
A cascade is comprised of two ordinary PID controllers The inner secondary loop has a traditional feedback structure,
and it is nested inside the outer primary loop
primary
(outer)
SP1
inner secondary process variable, PV2
outer primary process variable, PV1
secondary
(inner)
SP2
+
+
+
+
secondary
(inner)
PV2
primary
(outer)
PV1
inner
disturb, D2

+

+
Primary
Process
Inner
Disturbance
Secondary
Controller
Secondary
Process
FCE
Primary
Controller

+

+
secondary
(inner)
CO2
e.g. valve
Copyright © 2007
by Control Station, Inc.
All Rights Reserved

Copyright © 2007 Control Station, Inc. All Rights Reserved
4
Nested Loops Work to Protect Outer Primary PV1
Cascade architectures seek to improve the disturbance
rejection performance of PV1
primary
(outer)
SP1
inner secondary process variable, PV2
outer primary process variable, PV1
secondary
(inner)
SP2
+
+
+
+
secondary
(inner)
PV2
primary
(outer)
PV1
inner
disturb, D2

+

+
Primary
Process
Inner
Disturbance
primary
(outer)
CO1
Primary
Controller

+

+
Copyright © 2007 by Control Station, Inc. All Rights Reserved
Secondary
Process
FCE
secondary
(inner)
CO2
Secondary
Controller
e.g. valve
cascade works
to protect PV1

Copyright © 2007 Control Station, Inc. All Rights Reserved
5
Early Warning is Basis for Cascade Success
Success in a cascade design depends on the measurement
and control of an "early warning" process variable PV2
primary
(outer)
SP1
inner secondary process variable, PV2
outer primary process variable, PV1
secondary
(inner)
SP2
+
+
+
+
secondary
(inner)
PV2
primary
(outer)
PV1
inner
disturb, D2

+

+
Primary
Process
Inner
Disturbance
primary
(outer)
CO1
Primary
Controller

+

+
Copyright © 2007 by Control Station, Inc. All Rights Reserved
Secondary
Process
Valve
secondary
(inner)
CO2
Secondary
Controller
requires an
“early warning”
variable

Copyright © 2007 Control Station, Inc. All Rights Reserved
6
Cascade Design
Characteristics for selecting early warning PV2 include:
it must be measurable with a sensor the same FCE (e.g., valve) used to manipulate PV1
also manipulates PV2
the same disturbances that are of concern for PV1 also disrupt PV2 PV2 responds before PV1 to disturbances of concern and to FCE manipulations

Copyright © 2007 Control Station, Inc. All Rights Reserved
7
Cascade Design
A cascade design requires:
two sensors two controllers one final control element (FCE)
The output of the outer primary controller, rather than going to
a valve, becomes the set point of the inner secondary controller
Because of this nested architecture:
Success requires that
the settling time of the inner secondary inner loop
is significantly faster
than that of the outer primary outer loop

Copyright © 2007 Control Station, Inc. All Rights Reserved
8
Example: Flash Drum Process
Level must never fall so low that vapor is sent down liquid
drain nor rise so high that liquid enters the vapor line
flash
valve
LC
L
setpoint
pressure set
down stream
(a disturbance)
P
vapor
liquid
valve position manipulated
to control liquid level
hot liquid feed
liquid
drain
overhead vapor

Copyright © 2007 Control Station, Inc. All Rights Reserved
9
Flash Drum –Single Loop Architecture
Design Objective

control liquid level in the drum
Choose valve position as manipulated variable
If level too high, open valve If level too low, close valve
Concern is that drain flow rate changes as a function of
valve position hydrostatic head (height of the liquid) pressure of vapor pushing down on liquid (a disturbance)

Copyright © 2007 Control Station, Inc. All Rights Reserved
10
Flash Drum
If pressure of vapor phase is constant, then as drain valve
opens and closes, the liquid drain flow rate increases and
decreases in predictable fashion Single loop architecture would then be satisfactory
flash
valve
LC
L
setpoint
pressure set
down stream
(a disturbance)
P
vapor
liquid
valve position manipulated
to control liquid level
hot liquid feed
liquid
drain
overhead vapor

Copyright © 2007 Control Station, Inc. All Rights Reserved
11
Flash Drum –Single Loop Architecture
Suppose the vapor phase pressure starts decreasing:
This disturbance causes pressure pushing down on the liquid
interface to decrease
If the valve position were to remain constant, the liquid drain flow rate would similarly decrease Consider that if a pressure decrease occurs quickly enough, the controller can be opening the valve yet the liquid drain flow rate can continue to decrease
This contradictory outcome can confound the controller
Observation It is liquid drain flow rate, not valve position, that
must be adjusted for high performance disturbance rejection

Copyright © 2007 Control Station, Inc. All Rights Reserved
12
Solution: Flash Drum Cascade Architecture
Two controllers (level control; drain flow rate control) Two sensors (measuring liquid level; liquid drain flow rate) One final control element (valve in the liquid drain stream)
FC
F
setpoint
flow rate manipulated
to control liquid level
LC
L
setpoint
P
vapor
liquid
liquid
drain
overhead vapor
flash
valve
hot liquid feed
pressure set
down stream
(a disturbance)

Copyright © 2007 Control Station, Inc. All Rights Reserved
13
A Cascade Control Solution
Liquid level is the outer primary PV1 and controlling it remains
the main objective
For inner secondary PV2 choose liquid drain flow rate:
liquid drain flow rate is measurable with a sensor the same valve used to manipulate liquid level (PV1) also manipulates the liquid drain flow rate (PV2) changes in vapor phase pressure that disturb PV1 also impact PV2 drain flow rate is insidethe liquid level in that it responds
well before liquid level to changes in valve position and
changes in vapor phase pressure

Copyright © 2007 Control Station, Inc. All Rights Reserved
14
Flash Drum Cascade Architecture
Liquid level control (main objective) is outer primary loop Liquid drain flow rate is inner secondary loop Output of primary controller is set point of secondary controller Flow control dynamics are much faster than level control
dynamics so this is consistent with design criteria
primary
set pointSecondary
Controller
secondary process variable (liquid drain flow rate)
primary process variable (liquid level)
Liquid
Drain
Valve
Liquid Drain
Process
Primary
Controller
Drum Level
Process
secondary
set point
Pressure to
Drain Flow
Relationship

+
+
+

+
liquid drain
flow rate
liquid
level
vapor phase
pressure
L
setpoint
F
setpoint

Copyright © 2007 Control Station, Inc. All Rights Reserved
15
Flash Drum Cascade Architecture
If liquid level is too high, the primary level controller now
calls for an increased liquid drain flow rate rather than
simply an increase in valve opening The flow controller then decides whether this means opening or closing the valve and by how much Thus, a vapor phase pressure disturbance gets addressed quickly by the secondary flow controller and this improves disturbance rejection performance

Copyright © 2007 Control Station, Inc. All Rights Reserved
16
Tuning a Cascade Implementation
Cascade loop tuning uses our existing skills:
Begin with both controllers in manual mode Select P-Only controller for the inner secondary loop (integral
action increases settling time and offset is rarely an issue for
the secondary process variable) Tune the secondary P-Only controller for set point tracking and test it to ensure satisfactory performance Leave secondary controller in automatic; it is now part of the primary process. Select a PI or PID controller for the primary loop, tune it for disturbance rejection and test it With both controllers in automatic, tuning is complete

Copyright © 2007 Control Station, Inc. All Rights Reserved
17
Exploring the Jacketed Reactor Process
Well mixed vessel with exothermic (heat producing) reaction Residence time is constant so conversion of feed to product can
be inferred from the reactor exit stream temperature
Objective maintain constant measured reactor exit stream
temperature in spite of jacket inlet temperature disturbances

Copyright © 2007 Control Station, Inc. All Rights Reserved
18
The Jacketed Reactor
To control reactor exit stream temperature, the vessel is
enclosed with a cooling jacket
If the exit stream temperature (and thus conversion) is high, the controller opens a valve to increase cooling liquid flow rate This cools the reactor, slowing the heat producing reaction The disturbance variable of concern is the cooling jacket inlet temperature

Copyright © 2007 Control Station, Inc. All Rights Reserved
19
Disturbances and the Jacketed Reactor
Consider scenario where the temperature of the cooling liquid
entering the jacket fluctuates, changing the ability of the
cooling jacket to remove heat If the cooling liquid temperature becomes colder just as the reactor temperature starts to fall, the controller can lower the cooling liquid flow rate yet be removing more heat than before Again, a contradictory resultcan confound the controller and
impact disturbance rejection performance

Copyright © 2007 Control Station, Inc. All Rights Reserved
20
Cascade Architecture for the Jacketed Reactor
Outer primary variable remains reactor exit stream temperature Inner secondary variable is cooling jacket outlet temperature

Copyright © 2007 Control Station, Inc. All Rights Reserved
21
The Reactor Cascade Architecture
Cooling jacket outlet temp is a proper secondary variable
it is measurable with a sensor valve used to manipulate reactor exit stream temperature
(PV1) also manipulates cooling jacket outlet temp (PV2)
changes in cooling jacket inlet temperature that disturb reactor exit stream temp also disturb the cooling jacket outlet temp the cooling jacket outlet temp is insidethe reactor exit temp
in that it responds first to changes in valve position and
changes in the cooling jacket inlet temperature

Copyright © 2007 Control Station, Inc. All Rights Reserved
22
The Reactor Cascade Architecture
Outer primary process (PV1) is reactor exit temperature
measured variable is reactor exit stream temperature controller output is set point of secondary controller
Inner secondary process (PV2) is the cooling jacket
measured variable is the cooling jacket outlet temperature manipulated variable is the cooling jacket liquid flow rate
primary
set pointSecondary
Controller
secondary process variable (cooling jacket outlet temperature)
primary process variable (reactor exit stream temperature)
Jacket
Flow
Valve
Cooling Jacket
Process
Primary
Controller
Reactor
Process
secondary
set point
Inlet to Outlet
Jacket Temp
Relationship

+
+
+

+
jacket outlet
temperature
reactor exit
temperature
jacket inlet
temperature
T
setpoint
T
setpoint

Copyright © 2007 Control Station, Inc. All Rights Reserved
23
Disturbance Rejection Comparison
848688 3045 404448
0
10
20
30
40
Process: Single Loop Jacketed Reactor Cont.: PID ( P= DA, I= ARW, D= off, F = off)
Tuning: Gain = -3.0, Reset Time = 1.71, Sample Time = 1.0
PV/Setpoint Controller Output Disturbance
Time (mins)
848688 6872 404448
0
10
20
30
40
Process: Cascade Jacketed Reactor Pri: PID ( P= RA, I= ARW, D= off, F = off)
Sec: PID ( P= DA, I= off, D= off, F = off)
Tuning: Gain = -5.8, Sample Time = 1.0
Tuning: Gain = 1.0, Reset Time = 0.95, Sample Time = 1.0
Primary PV Secondary PV Disturbance
Time (mins)
Disturbance Rejection Performance
of Single Loop PI Controller
Disturbance Rejection Performance
of Cascade Architecture
reactor exit
temperature
disturbance
variable steps
constant
set point
P-Only
control offset
disturbance
variable steps
constant set point
for primary variable

Copyright © 2007 Control Station, Inc. All Rights Reserved
24
Set Point Tracking Comparison
Cascade does not provide benefit in tracking set point changes
8486889092 204060
0
10
20
30
40
50
Process: Single Loop Jacketed Reactor Cont.: PID ( P= DA, I= ARW, D= off, F = off)
Tuning: Gain = -3.0, Reset Time = 1.71, Sample Time = 1.0
PV/Setpoint Controller Output
Time (mins)
8486889092 204060
0
10
20
30
40
50
Process: Cascade Jacketed Reactor Pri: PID ( P= RA, I= ARW, D= off, F = off)
Sec: PID ( P= DA, I= off, D= off, F = off)
Tuning: Gain = 1.0, Reset Time = 0.95, Sample Time = 1.0
Primary PV Secondary CO
Time (mins)
Set Point Tracking Performance
Under PI Control
Set Point Tracking Performance Under
Cascade Control
set point tracking
performance
set point tracking
performance