Professional Documents
Culture Documents
Opportunities - An Interactive
Exploration of Process Control
Improvements - Day 3
• (10) You can’t freeze, restore, and replay an actual plant batch
• (9) No separate programs to learn, install, interface, and support
• (8) No waiting on lab analysis
• (7) No raw materials
• (6) No environmental waste
• (5) Virtual instead of actual problems
• (4) Bioreactor batches are done in 14 minutes instead of 14 days
• (3) Plant can be operated on a tropical beach
• (2) Last time I checked my wallet I didn’t have $100,000K
• (1) Actual plant doesn’t fit in my suitcase
Improving Loops - Part 2
• Output Lead-Lag
– A lead-lag on the controller output or in the digital positioner can kick the signal
though the valve deadband and sticktion, get past split range points, and make
faster transitions from heating to cooling and vice versa.
– A lead-lag can potentially provide a faster setpoint response with less overshoot
when analyzers are used for closed loop control of integrating processes When
combined with the enhanced PID algorithm (PIDPlus) described in:
– Deminar #1
http://www.screencast.com/users/JimCahill/folders/Public/media/5acf2135-38c9-422e-9eb9-3
– White paper
http://www.modelingandcontrol.com/DeltaV-v11-PID-Enhancements-for-Wireless.pdf
• Deadtime Compensation
– The simple addition of a delay block with the deadtime set equal to the total loop
deadtime to the external reset signal for the positive feedback implementation of
integral action described in Deminar #3 for the dynamic reset limit option
http://www.screencast.com/users/JimCahill/folders/Public/media/f093eca1-958f-4d9c-9
.
– The controller reset time can be significantly reduced and the controller gain
increased if the delay block deadtime is equal or slightly less than the process
deadtime as studied in Advanced Application Note 3
http://www.modelingandcontrol.com/repository/AdvancedApplicationNote003.pdf
Improving Loops - Part 2
Insert
deadtime
block
Improving Loops - Part 2
• Deadtime is eliminated from the loop. The smith predictor, which created a PV
without deadtime, fools the controller into thinking there is no deadtime. However, for
an unmeasured disturbance, the loop deadtime still causes a delay in terms of when
the loop can see the disturbance and when the loop can enact a correction that
arrives in the process at the same point as the disturbance. The ultimate limit to the
peak error and integrated error for an unmeasured disturbance are still proportional to
the deadtime, and deadtime squared, respectively.
• Control is faster for existing tuning settings. The addition of deadtime
compensation actually slows down the response for the existing tuning settings.
Setpoint metrics, such as rise time, and load response metrics, such as peak error,
will be adversely affected. Assuming the PID was tuned for a smooth stable response,
the controller must be retuned for a faster response (see slide 11). For a PID already
tuned for maximum disturbance rejection, the gain can be increased by 250%. For
deadtime dominant systems where the total loop deadtime is much greater than the
largest loop time constant (hopefully the process time constant), the reset time must
also be decreased or there will be severe undershoot. If you decrease the reset time
to its optimum, undershoot and overshoot are about equal. For the test case where
the total loop deadtime to primary process time constant ratio was 10:1, you could
decrease the reset time by a factor of 10, smaller than what was noted on slide 11.
Further study is needed as to whether the ratio of the old to new reset time is
comparable to the ratio of deadtime to time constant and whether the PID module
execution time (0.5 sec) is the low limit to the reset time for an accurate deadtime.
Dissolved Oxygen
Substrate
Improving Loops - Part 2
Model Predictive Control (MPC)
Reduces Fed-Batch Cycle Time
MPC in Auto
Estimated Product
Concentration (AT6-6)
pH (AT6-1)
Estimated Biomass
Concentration (AT6-5)
Dissolved
Oxygen (AT6-2) Estimated Substrate
Concentration (AT6-4)
Inoculation Inoculation
Improving Loops - Part 2
Model Predictive Control (MPC)
Improves Batch Predictions
Predicted Final
Product Yield (AY6-10E)
MPC in Auto
Predicted Batch
Cycle Time (AY6-10B)
Current Product
Yield (AY6-10D)
Predicted Batch
Cycle Time (AY6-10B)
Current Batch
Time (AY6-10A) Predicted Final
Product Yield (AY6-10E)
Predicted Yield
Improvement (AY6-10F)
Inoculation
Improving Loops - Part 2
• Reduce wait times, operator attention requests, and manual actions by automation.
• Reduce excess hold times (e.g. heat release can confirm reaction start/end).
• Improve charge times and accuracy by better sensor design (e.g. mass flow meters
and valve location (e.g. minimize dribble time and holdup).
• Minimize acquire time by improved prioritization of users (e.g. unit operation with
biggest effect on production rate gets access to feeds and utilities).
• Reduce failure expression activation by better instruments, redundancy and signal
selection, and more realistic expectations of instrument performance.
• Improve failure expression recovery by configuration and displays.
• Eliminate steps by simultaneous actions (e.g. heat-up and pressurization).
• Increase feed and heat transfer rate by an increase in pump impeller size.
• Minimize non constrained processing time by all out run, cutoff, and coast.
• Minimize processing time by better end point detection (inferential measurements
by neural networks and online or at-line analyzers).
• Mid batch correction based on adapted online virtual plant model or batch analytics
projection to latent structures (PLS) and first principle relationships.
Improving Loops - Part 2
MPC-1
MPC-2
Waste
RCAS RCAS
middle selector
ROUT
AC-1 AC-2 AY kicker AY
splitter splitter AT AT AT
AY AY AY
middle selector middle selector filter
FT FT
AY AY Attenuation
Tank
Stage 1 AT AT AT Stage 2 AT AT AT
Mixer Mixer FT
Improving Loops - Part 2
Process Knowledge
Improving Loops - Part 2
Virtual
DeltaV
VIM
ProPlus Sensors
Actual Virtual MiMiC Virtual
I/O Module
DCS OTS Process
Virtual
Configuration
Valves Dynamic
Graphics
Process
Trends
Simulators
Virtual
DeltaV
SimulatePro Sensors
Virtual Virtual MiMiC Virtual
Valves
Improving Loops - Part 2
A_Vlv1
Condenser
Reflux Drum
Reflux L_R
Feed 2
Distillate product L_D
MiMiC Simulation Software
Side withdraw 2
Feed 1
Side withdraw 1
V_B
Reboiler
A_v Heating steam
HE condensate
14.00000000
14
12
12.00000000
10
10.00000000 For a strong acid and base the
pKa are off-scale and the slope
8
8.00000000 continually changes by a factor
pH of ten for each pH unit deviation
pH
Calculated pH
6
6.00000000 from neutrality (7 pH at 25 oC)
4
4.00000000
2
2.00000000
11
11.00000000
0
0.00000000
10
10.00000000
0.00000000 0.00050000 0.00100000 0.00150000 0.00200000
/ Influent
ReagentWt Frac Base Ratio
9
9.00000000
8
8.00000000
5
5.00000000
Yet titration curves are essential for every aspect of pH system 4.00000000
4
design but you must get numerical values and avoid mistakes
such as insufficient data points in the area around the set point3.00000000
3 0.00099995 0.00099996 0.00099997 0.00099998 0.00099999 0.00100000 0.00100001 0.00100002 0.00100003 0.00100004 0.00100005
Reagent / Influent
Wt Frac Base Ratio
Improving Neutralizer pH Control
12.00 12.00
pka = 10
10.00 10.00
8.00 8.00
pH
Calculated pH
pH
Calculated pH
6.00 6.00
pka = 4
4.00 4.00
2.00 2.00
0.00 0.00
0.000 0.500 1.000 1.500 2.000 0.000 0.500 1.000 1.500 2.000
Reagent / Influent
Slope moderated Reagent / Influent
Figure 3-1d: Weak Acid Titrated with a Weak Base near each pKa ! Figure 3-1e: Weak 2-Ion Acid Titrated with a Weak 2-Ion Base
Weak Acid and Weak Base Multiple Weak Acids and Weak Bases
14.00 14.00
12.00 12.00
10.00 10.00
pka = 9
8.00 8.00
pH
Calculated pH Calculated pH
pH
6.00 6.00
pka = 5
pka = 4
4.00 4.00
pka = 3
2.00 2.00
0.00 0.00
0.000 0.500 1.000 1.500 2.000 0.000 0.500 1.000 1.500 2.000
Reagent / Influent Reagent / Influent
Improving Neutralizer pH Control
pH Set Point
4
Reagent to Feed
Flow Ratio
Fluctuations or Oscillations
In Flows or Concentrations
Improving Neutralizer pH Control
8
Set point Control Band
6
B
Er = 100% ∗ Fimax ∗ −−−−
Frmax Influent pH
B Reagent Flow
Influent Flow
Frmax = A ∗ Fimax A
Feed
Big footprint
and high cost!
The large first tank offers more cross neutralization of influents
Improving Neutralizer pH Control
Reagent
Any Old Tank
Signal
Characterizer
LC LT
1-3 1-3
*IL#2 FT f(x)
1-1
Effluent AC
1-1
FC
1-2 AT
1-1
*IL#1
FT
Influent
1-2
10 to 20
pipe
diameters
Improving Neutralizer pH Control
Fuzzy
Logic
Waste
RCAS RCAS middle selector
ROUT
AC AC AY kicker AY
splitter splitter AT AT AT
AY AY AY
middle selector middle selector filter
FT FT
AY AY Attenuation
Tank
Stage 1 AT AT AT Stage 2 AT AT AT
Waste
Mixer Mixer FT
Improving Neutralizer pH Control
MPC-1
MPC-2
Waste
RCAS RCAS middle selector
ROUT
AC-1 AC-2 AY kicker AY
splitter splitter
AT AT AT
AY AY AY
middle selector middle selector filter
FT FT
AY AY Attenuation
Tank
Stage 1 AT AT AT Stage 2 AT AT AT
Waste
Mixer Mixer FT
Improving Neutralizer pH Control
12
pH
Reagent
Savings
Improving Neutralizer pH Control
Inferential Measurement
(Waste Concentration) Stage 1 and 2 Actual
and Diagnostics pH Set Points Reagent/Waste Ratio
(MPC SP)
Virtual
Reagent/Influent Ratio
(MPC CV)
Adaptation
Virtual Plant (MPC3)
Model
Influent Concentration
(MPC MV)
Model Predictive Control (MPC)
For Adaptation of Virtual Plant
Improving Neutralizer pH Control
Actual Plant’s
Reagent/Influent
Flow Ratio
Virtual Plant’s
Reagent/Influent Adapted Influent Concentration
Flow Ratio (Model Parameter)
Improving Neutralizer pH Control
AT
Cation Anion
To EO
Final caustic
Final acid
adjustment
adjustment Pit
Improving Neutralizer pH Control
• Safe
• Responsible
• Reliable
– Mechanically
– Robust controls, Operator friendly
– Ability to have one tank out of service
• Balance initial capital against reagent cost
• Little or no equipment rework
Improving Neutralizer pH Control
pH
Slope
Improving Neutralizer pH Control
AY signal
pH set point
1-3 characterizer
Signal characterizers linearize loop
via reagent demand control
AC
1-1
LC LT
1-5 1-5
signal splitter
characterizer AY
1-4
Feed
AY
1-2
middle
NaOH Acid To other Tank
signal FT FT
Tank AY
selector 1-1 1-2
1-1
AT AT AT
Eductors 1-1 1-2 1-3
Static Mixer From other Tank
To other Tank
Downstream system
Improving Neutralizer pH Control
Start of Step 4
Start of Step 2 (Slow Rinses)
(Regeneration)
Improving Neutralizer pH Control
Streams, pumps,
valves, sensors,
tanks, and mixers
are modules from
DeltaV composite
template library.
First principle
conservation of
material, energy,
components,
and ion charges
Improving Neutralizer pH Control
Exothermic Reactions
Improving Reactor Temperature Control
A low
Improving Reactor Temperature Control
Crystallizer Control
Improving Unit Op Temperature Control