Advanced Process Controls
Advanced Process Controls
Advanced
d a ced Process
ocess Controls
Co t o s
1. No experience
p 20% 20% 20% 20% 20%
2. School courses
3. Tuned PID controllers
4. Designed and
implemented advanced
regulatory control
strategies
5. Implemented
multivariable model
predictive control
strategies
1 2 3 4 5
2 Honeywell - CONFIDENTIAL
What is Advanced Process Control?
• Control
- Manipulating
p g something
g to get
g a desired effect to achieve
a specific purpose.
Flow rates
Temperatures
Pressures
Power
Qualities
• Process
- Pertaining to the process industries
• Advanced
- Building on top of basic single-input, single-output control
- Using more than raw measurement feedback
- Handling
H dli interactions
i t ti
- Optimizing
3 Honeywell - CONFIDENTIAL
Incentive for Advanced Control
4 Honeywell - CONFIDENTIAL
Advanced Control – What’s It all About?
5 Honeywell - CONFIDENTIAL
Nature of Control Problem
Variables that vary but cannot be
manipulated
Also called feedforward, disturbance and
independent variables
7 Honeywell - CONFIDENTIAL
Advanced Process Control
Overview
• Basic regulatory
• Advanced regulatory (intermediate regulatory)
• Multivariable, model based
• Constrained economic optimization
p
• Multi-unit constrained economic optimization
• First principles economic optimization (RTO)
• Planning, Scheduling, Supply chain optimization
Supply
Chain
Plant-wide
Optimization
Multi-Area Optimization
Model Based
Predictive
P di ti Multivariable
M lti i bl Engineering
E i i
Control Control Predictive models with
Control predictors
Advanced
Feedforward Dynamic On-stream Constraint
Regulatory
Control
control decoupling Analyzers Control
Regulatory
Single Cascade
Control
PID
10 Honeywell - CONFIDENTIAL
Basic Regulatory
11 Honeywell - CONFIDENTIAL
Advanced Regulatory
12 Honeywell - CONFIDENTIAL
Advanced Regulatory Example
13 Honeywell - CONFIDENTIAL
Multivariable, Model Based
14 Honeywell - CONFIDENTIAL
Distillation Control Example
PC
FC
H2 & CH4
C3 Refrig.
TI
LC CVs
FC
FC FC Calculated CVs
RMPCT
CV:
FC AI Product Qualities AI
Ethylene Ethylene
C2 Feed AI Reflux Drum Level
Quality Calc. T,F,P
Compressor Limits
Valve Positions
Tower Flooding AI
MV: Bottom Product
Pressure Quality
y Calc. AI
DVs
Reflux Flow
Top Product Flow
Reboiler Duty Tower Flooding T,F,P,DP
DV: Calculation
AI
Feed Flow
Feed Quality
LC Non-Linear
Level Control
AI FC
MVs
Reboiler Ethane Recycle
FC
Duty Control
C3 refrig.
C3 refrig. pres.
15 Honeywell - CONFIDENTIAL
Constrained Economic Optimization
• Premise
- So
Some
eoof controlled
co t o ed variables
a ab es are
a e not
ot controlled
co t o ed to setpoints
setpo ts
Required to be maintained between high and low ranges
16 Honeywell - CONFIDENTIAL
Constrained Economic Optimization2
17 Honeywell - CONFIDENTIAL
Class Exercise
18 Honeywell - CONFIDENTIAL
P
P
T
T C3s/C4s Propane
dPtop F Q
F Q
D b
Debutanizer
i Depropanizer
F
dPbottom F Steam Reboiler
Steam Reboiler
%C3
Feed %nC4 L
L Q
Q
T
T
C5s Butane
19 Honeywell - CONFIDENTIAL
Gas Plant 1
• Feedstock
- C2 to C8
• Products
- C2 and lighter to fuel gas
- C3 (Propane)
- C4 (Butane)
- C5+ (Heavier cut for further processing)
• Product Quality Specifications
- Max. % nC4 in C5+
- Max. % iC5 in C4
- Max. % C3 in C4
- Max. % iC4 in C3
20 Honeywell - CONFIDENTIAL
Gas Plant 2
• Objectives
- Maintain product qualities within specifications
- Minimize energy consumption (steam)
- Maximize feedrate
• Process
P C
Constraints
t i t
- Steam utilization
- Off-gas
g from debutanizer
- Flooding (both towers)
- Depropanizer reflux drum level control valve position
21 Honeywell - CONFIDENTIAL
MVs DVs CVs
22 Honeywell - CONFIDENTIAL
MVs DVs CVs
23 Honeywell - CONFIDENTIAL
Gasplant PVO Objective Function
- Product flows Product prices
J Feed flows Feed costs
Energy/utility flows Energy/Utility costs
24 Honeywell - CONFIDENTIAL
What do you think?
1. True
2. False
1 2
25 Honeywell - CONFIDENTIAL
Basic Regulatory Control
Troubleshooting
27 Honeywell - CONFIDENTIAL
Most Common Control Loop Problems
deficiency
28 Honeywell - CONFIDENTIAL
How well are our control loops performing?
• Report Card
- 10% - 20% of industrial control loops run
in manual
- About one third of controllers produce
more variabilityy in auto than in manual
- Roughly 75% of control loops are not
very effective in
setpoint following
disturbance rejection
29 Honeywell - CONFIDENTIAL
Why is this the case?
30 Honeywell - CONFIDENTIAL
Increasing Efficiency Through
Variability Reduction
=5
You will find 0.08
Cons
0.06
for
straint
0.04 = 10
improvement! Operations
Comfort
0.02
Zones
= Standard Deviation 0
0 20 40 60 80 100 120 140 160 180 200
31 Honeywell - CONFIDENTIAL
Layers Supporting Loop Performance
Controller
Most common mistake Settings
is to start with tuning.
Instrumentation &
Q. Why is that the Final Control Elements
most common
mistake? Control Strategy Design
A. Tuning is usually
the easiest to modify Process Design
32 Honeywell - CONFIDENTIAL
Addressing Control Loop Problems
Problem Experienced:
Poor
oo Co
Composition
pos t o Co
Control
to
Solution Focus:
Composition Control Loop Tuning
33 Honeywell - CONFIDENTIAL
Process Design Issues
34 Honeywell - CONFIDENTIAL
Control Strategy Problems
35 Honeywell - CONFIDENTIAL
Measurement Problems
36 Honeywell - CONFIDENTIAL
Control Valve Deficiencies
37 Honeywell - CONFIDENTIAL
Identifying Hysteresis
Output
decrease
to 40.2
Output
i
increase
to 40.2
38 Honeywell - CONFIDENTIAL
Hysteresis – Causes, Concerns, Cures
• Causes:
- Play in mechanical linkages
- Excessive friction at valve stem seal
- Undersized actuator
- Sticky positioner
• Concerns:
- It decreases control loop performance
- Adds dead time to control loop
- Increases variability
- Hysteresis results in cycling on:
On an integrating process
On self-regulating process tuned to overshoot
Output Output
increases i
increases
3 times 4 more
before times
valve before
finally valve
moves finally
and pv moves
increases again
and pv
increases
40 Honeywell - CONFIDENTIAL
Stiction: Causes, Concerns, Cures
• Causes:
- Over-tightened
g or sticky
y valve stem seal
- An undersized actuator
- A sticky positioner
• Concerns:
- It switches the process gain from zero to
excessively high
- Introduces (stick-slip)
(stick slip) cycling into the control loop
- Increases variability
• Cures:
- Replace or lubricate the valve stem seal TUNING CANNOT
- Use a larger actuator CURE STICTION!
- Install a p
positioner
- Overhaul an existing positioner
41 Honeywell - CONFIDENTIAL
Asymmetric Response
Slow Fast
response response
to output to output
decrease increase
of same
size
42 Honeywell - CONFIDENTIAL
Asymmetric Response
• Causes
- Faulty positioner
- Air Leaks in positioner / diaphragm / piping
• Concerns
- Poor Control
• Cures
- Repair valve / positioner
43 Honeywell - CONFIDENTIAL
Decreasing Loop Performance:
Decreasing Benefits
Lowering of
Reduction Setpoint to
in Benefits Maintain Safety
Margin
Variability
Increases
Over Time
27%
1 2
45 Honeywell - CONFIDENTIAL
Advanced Regulatory Control
• Cascade Control
• Feed-forward Control
• Ratio Control
• Inferential Control
- Simple process calculations – Heat and material balance
- Simple inferential estimations, duty control
• Pressure or temperature compensation
• Non Linear Control
• Multiple Input Single Output (MISO)
• Primary Goals:
- Enhanced Stability
- Enhanced performance
47 Honeywell - CONFIDENTIAL
Cascade Control
Distinguishing features:
• Two FB controllers but only a single control valve
• The output of the primary controller becomes the set point of the
secondary controller
• Two FB control loops are "nested" with the "slave" (or "secondary")
inside the "master"
master (or "primary")
primary ) control loop
• Used for Disturbance rejection
Requirements:
• Secondary loop process dynamics must be at least four times
as fast as primary loop process dynamics
• Secondary loop must have influence over the primary loop
• Secondary loop must be measured and controllable
• Secondary loop should reject disturbances quickly
• Commonly encountered in industries
- Secondary
S d lloop: Fl
Flow
- Primary loop: Level, Temp, Pressure or Composition
48 Honeywell - CONFIDENTIAL
Cascade Control: Distillation Columns
TT TC
Tray 10
SP
FC
FT
49 Honeywell - CONFIDENTIAL
Cascade Control: Furnace
50 Honeywell - CONFIDENTIAL
Feed Forward Control
Distinguishing Features
• Measures the Disturbance before its effects appear
pp in the
process measurements and computes appropriate control
action
• Veryy effective for fast load changes,
g , such as flow loops
p
• Widely used in Distillation columns
Requirements
• Disturbance must be measurable
• Sufficiently accurate model of the process needed
• Accurate measurements
Drawback of Pure Feedforward Control
• Process model mismatch results in steady-state
steady state offset from set point
• Measurement error can be more detrimental
51 Honeywell - CONFIDENTIAL
Feed Forward with Feedback Trim
• Use
U aFFeedback
db k Trim
Ti
52 Honeywell - CONFIDENTIAL
Feed Forward Control with Feedback Trim
× Ratio
TC
FT TT
Flue
SP Gas
FC
FT
Process
Fluid
Fuel
+
SP
TC PC Steam
PT
FF TT
TT
Feed
Condensate
57 Honeywell - CONFIDENTIAL
Cascade, Feed Forward & Ratio Control
58 Honeywell - CONFIDENTIAL
Inferential Control
• Possible solutions:
- Control a related variable (e.g., temperature instead of
composition).
- Inferential control: Control is based on an estimate of the
controlled
t ll d variable.
i bl
The estimate is based on available measurements
• Examples: empirical relation, Kalman filter
Modern
M d tterm: soft
ft sensor
59 Honeywell - CONFIDENTIAL
Inferential Control Scheme
• Approaches
- First principle model (usually simplified)
- Regression of process data
- ((Empirical
p models))
• Linear
- Ordinary least squares
For simple
p cases
- Partial least squares
When input data is correlated
• Non-linear
- Non-linear partial least squares
- Neural nets
60 Honeywell - CONFIDENTIAL
Inferential Modelling
Computed Qspec
Reboiler Duty
Control
AC
TT SP
FC
TT FT
AT
Quench Water
Qspec
Fsp
C p (Tin Tout )
62 Honeywell - CONFIDENTIAL
Inferential Control: Internal Reflux Control
TT
C.W.
C p Fex (Toh Tr ) Fint H vap
C p (Toh Tr )
Fint Fex 1
H vap
TT
Fintspec
Fex
C p (Toh Tr )
FT AT 1
H vap
FC
SP AC
Internal
Fex Fint
Reflux
Controller
63 Honeywell - CONFIDENTIAL
Flow Compensation
FY
PV
Flow
Compensation
Calculation
SG FI FC
Description
• Calculation to adjust the raw measurement signal to account for
differences between flowing conditions and design of flow orifice
Issues
• Gas flows are compensated
p for temperature
p and p
pressure
• Liquid flows can be compensated for temperature or density
• Critical for modeling
64 Honeywell - CONFIDENTIAL
Non Linear Control
65 Honeywell - CONFIDENTIAL
Non Linear Level Control
Level Control –
Cascade
66 Honeywell - CONFIDENTIAL
Non Linear Level Control: Gain Scheduling
• Gap controller:
- Gain divided into 2 or 3 segments
- Middle segment on either side of the
setpoint has a low gain to avoid
excessive action
- Outer segments have a higher gain for a Gain Scheduling options
rapid action
- User can set the breakpoints and gains
above & below the setpoint differently
• Implementation - P or PI but no D
67 Honeywell - CONFIDENTIAL
Non Linear Transformation
• Example
- Fuel Oil Blending: Viscosity control
- Log Transformation of Viscosity vs. Temperature
- Ln (Ln(µ+k)) = A Ln T + B
Heavy Btms
Kerosene + SP µ
Ln (Ln(µ+k)) C
Controller
ll Blending
µset
+
Sensor
Ln (Ln(µ+k))
68 Honeywell - CONFIDENTIAL
First Principle Model: FCC Severity Controller
69 Honeywell - CONFIDENTIAL
Multivariable Predictive
Control
71 Honeywell - CONFIDENTIAL
Advanced Process Control
Steady State
State,
Multi-unit Coordination Dynamic, Non-linear
Non-linear Process & Global Optimization Process Models
Models
Multivariable Control
& Unit Optmization
Advanced Regulatory
Control
The
TheHierarchical
HierarchicalLayers
Layersofof
Advanced
ProcessProcess
ControlControl
72 Honeywell - CONFIDENTIAL
Basic Feedback Control
Disturbance
Disturbance
Variable (DV)
Process
Adjustment Measurement
Controller
Manipulated
M i l d Controlled
C t ll d
Variable (MV) Variable (CV)
Setpoint
73 Honeywell - CONFIDENTIAL
Debutanizer Column
C li water
Cooling t
Interaction: CV1
L
Increase in reflux (MV1) TI
C
causes: MV1
F F
p temperature
in top p C C CV3
Feed
in base temperature
mp
C
Steam
CV5
CV Controlled variable L
Base
DV Disturbance (FF) variable C product
p
MV Manipulated variable CV2
TI
74 Honeywell - CONFIDENTIAL
Debutanizer Column
C li water
Cooling t
Interaction: CV1
L
Increase in steam (MV2) TI
Reflux C
causes: MV1
F F
p temperature
in top p C C CV3
in distillate DV1
CV4 Distillate
Feed
in bottom
m temperature
mp
Both steam and reflux
in base product MV2
F
affect most column C
variables CV5
Steam
L
Base
C product
p
CV2
TI
75 Honeywell - CONFIDENTIAL
MPC Overview
CV’s
DV’
DV’s MPC MV’s
MV s
P
Process Models
M d l
76 Honeywell - CONFIDENTIAL
What is a CV?
Controlled Variables
(CV’s)
Manipulated Variables
MPC (
(MV’s)
)
Disturbance Variables
(DV’s)
Process Models
77 Honeywell - CONFIDENTIAL
What is an MV?
Controlled Variables
(CV’s)
Manipulated Variables
MPC (
(MV’s)
)
Disturbance Variables
(DV’s)
Process Models
78 Honeywell - CONFIDENTIAL
What is a DV?
Controlled Variables
(CV’s)
Manipulated Variables
MPC (MV’s)
Disturbance Variables
(DV’s)
Process Models
79 Honeywell - CONFIDENTIAL
What is a Process Model?
Setpoints, Ranges,
Optimization
Opt at o Object
Objectives
es
CV’s
DV’s MPC MV’
MV’s
Process Models
80 Honeywell - CONFIDENTIAL
MPC Structure
Optimization Parameters
(Prices, Costs, Directions, Targets)
Controlled Variables
(CV's)
MPC Control Targets
(Setpoints/Ranges)
Disturbance Technology
Variables (DV's)
MV’s
FC FC TC PC PC
Manipulated
M i l t d
Variables (MV's)
81 Honeywell - CONFIDENTIAL
Model Predictive Control
Cooling water
CV1
LC
TI
FC MV1
FC
MPC Application
DV1
Feed
MV1 MV2
MV2 CV1
FC
Steam
LC
Base CV2
product
d
CV2
TI
82 Honeywell - CONFIDENTIAL
Objectives of MPC
83 Honeywell - CONFIDENTIAL
Why Models?
84 Honeywell - CONFIDENTIAL
What is a process model?
Adapted from “Advanced Process Control” by Mark J. Willis and Ming T. Tham, (1994)
85 Honeywell - CONFIDENTIAL
Generalized Statement of Technique
86 Honeywell - CONFIDENTIAL
Multivariable Control & Models
These predictions
Th di ti
are coming from
the model
Sampling Instant
87 Honeywell - CONFIDENTIAL
Conventional Model Predictive Control
Setpoint
Known Values e1 e2 e 3 e4 e5
CV Predicted
Unforced
Response
MV
Assumed Values
88 Honeywell - CONFIDENTIAL
Conventional Model Predictive Control
Setpoint
Known Values e1 e2 e 3 e4 e5
CV Predicted
Unforced
Response
MV
Assumed Values
MV Moves
Past t=0 Future
89 Honeywell - CONFIDENTIAL
MPC – A Novel Approach
Past Future
Optimal Response
Setpoint PPredicted
Predicted
P di di
t dt d
CV Unforced
Unforced
Response
Response
Control Funnel
MV Assumed Values
90 Honeywell - CONFIDENTIAL
MPC Features Review
• Multi-Variable
- MPC helps coordinate and decouple the effects multiple
process variable interactions.
• Model-Predictive
- Dynamic models are used to predict process behavior
and predictions are used to proactively control the
process.
• Constraint Aware
- MPC monitors and maintains MV’s and CV’s limits while
it is controlling the process.
• O
Optimized
ti i d Control
C t l
- MPC has integrated optimization capabilities to drive
applications toward specified design objectives.
91 Honeywell - CONFIDENTIAL
So Where does MPC Apply?
93 Honeywell - CONFIDENTIAL
Example: Distillation Control
PC
FC
H2 & CH4
C3 Refrig.
TI
LC CVs
FC
FC FC Calculated CVs
RMPCT
CV:
FC AI Product Qualities AI
Ethylene Ethylene
C2 Feed AI Reflux Drum Level
Quality Calc. T,F,P
Compressor Limits
Valve Positions
Tower Flooding AI
MV: Bottom Product
Pressure Quality Calc.
Calc AI
DVs
Reflux Flow
Top Product Flow
Reboiler Duty Tower Flooding T,F,P,DP
DV: Calculation
AI
Feed Flow
Feed Quality
LC Non-Linear
L
Level
l Control
C t l
AI FC
MVs
Reboiler Ethane Recycle
FC
Duty Control
C3 refrig.
C3 refrig. pres.
94 Honeywell - CONFIDENTIAL
MPC Implementation
95 Honeywell - CONFIDENTIAL
Benefits of MPC
96 Honeywell - CONFIDENTIAL
Benefits of MPC
The following are generally accepted ranges for APC and optimization benefits
Petrochemicals Benefits (/yr)
Ethylene 2-4% Increase in Production
VCM 3-5%
3 5% Increased Capacity / 1-4%
1 4% Yield Improvement
Aromatics (50KBPD) 3.4M - 5.3M US$
Chemicals Benefits (/yr)
Ammonia 2-4% Increased Capacity / 2-5% Less Energy/Ton
Polyolefins 2-5% Increase in Production/Up to 30% faster grade transition
Benefits (/yr)
Oil & Gas
1-5% Increase in Production
Upstream production
Industrial Utilities Benefits (/yr)
Cogeneration/Power Systems 2-5% Decrease in Operating Costs
Pulping Benefits (/yr)
Bleaching 10-20% Reduction in Chemical Usage
TMP (Thermo Mechanical Pulping) $1M-$2M
97 Honeywell - CONFIDENTIAL
What do you think?
1. True
2. False
1 2
98 Honeywell - CONFIDENTIAL
99 Honeywell - CONFIDENTIAL