0
Interactive Opportunity Assessment Demo and Seminar (Deminar) Series  for Web Labs – PID Control of True Integrating Proce...
Welcome <ul><li>Gregory K. McMillan  </li></ul><ul><ul><li>Greg is a retired Senior Fellow from Solutia/Monsanto and an IS...
Top Ten Reasons to Elect a Control Engineer as a President   <ul><li>(10) Completely automated and remotely controlled com...
Top Ten Reasons to Elect a Control Engineer as a President   <ul><li>( 1)  A computer in every pocket </li></ul>
Demos of Control Loop Opportunities to Reduce Fed-Batch and Startup Time <ul><li>PID on Error Structure </li></ul><ul><ul>...
Demos of Control Loop Opportunities to Reduce Fed-Batch and Startup Time <ul><li>Full Throttle (Bang-Bang Control)  - The ...
Integrating Response Time (seconds)  o K i  =  { [ CV 2    t 2  ]   CV 1    t 1  ] }   CO  CO ramp rate is ...
Loop Block Diagram  p1  p2  p2 K pv  p1  c1  m2  m2  m1  m1 K cv  c  c2 Valve Process Controller Measurement K ...
<ul><li> CV    change in controlled variable (%) </li></ul><ul><li> CO    change in controller output (%) </li></ul><u...
PID Structure ER is external reset (e.g. secondary PV) Dynamic Reset Limit   SP   proportional derivative  Gain   ...
PID Structure Choices <ul><li>PID action on error (  = 1 and    = 1) </li></ul><ul><li>PI action on error, D action on ...
Contribution of Each PID Mode  (Step Change in the Set Point)  CO 2  =   CO 1  SP seconds/repeat  CO 1 Time (seconds) ...
Lambda Tuning for  Integrating Processes Integrating Process Gain: Controller Gain: Controller Integral (Reset) Time: Lamb...
Primary and secondary K p    secondary   p    primary   p    total  o    K i    K p   ...
Demo of Effect of PID Structure 3 on Setpoint Response <ul><li>Objective  – Show slow setpoint response from just integral...
Other Control Loop Opportunities to Reduce Fed-Batch and Startup Time <ul><li>Output Lead-Lag   </li></ul><ul><ul><li>A le...
Other Control Loop Opportunities to Reduce Fed-Batch and Startup Time <ul><li>Feed Maximization </li></ul><ul><ul><li>Mode...
Example of Advanced Regulatory Control (reduced batch cycle time by 25%) 08/11/10 feed A feed B coolant makeup CAS ratio C...
Sequence Opportunities  to Reduce Pure-Batch and Startup Time <ul><li>Reduce wait times, operator attention requests, and ...
Demo of Effect of PID Structure 1 on Setpoint Response <ul><li>Objective  – Show faster setpoint response from addition of...
Identified Responses for  Batch Profile Control
Model Predictive Control (MPC) of  Growth Rate and Product Formation Rate Product Formation Rate Biomass Growth rate Subst...
Demo of Effect of SP Feedforward on Setpoint Response <ul><li>Objective  – Show how reduce batch cycle time by use of setp...
Model Predictive Control (MPC)  Reduces Batch Cycle Time Batch Basic Fed-Batch APC Fed-Batch Batch Inoculation Inoculation...
Model Predictive Control (MPC)  Improves Batch Predictions Current Product  Yield (AY6-10D) Current Batch  Time (AY6-10A) ...
Demo of Effect of Bang-Bang Control on Setpoint Response <ul><li>Objective  – Show how to reduce batch and startup time by...
Structure 3 Rise Time = 8.5 min Settling Time = 8.5 min Overshoot = 0% Structure 1 Rise Time = 1.6 min Settling Time = 7.5...
Help Us Improve These Deminars! WouldYouRecommend.Us/105679s21/
Join Us Aug 25, Wednesday  10:00 am  CDT <ul><li>PID Control of Runaway Processes  (How to Improve the Performance of Exot...
QUESTIONS?
Upcoming SlideShare
Loading in...5
×

PID Control of True Integrating Processes - Greg McMillan Deminar

4,828

Published on

Presented August 11, 2010 by Greg McMillan as on-line demo/seminar. Video recording available at: http://www.screencast.com/users/JimCahill/folders/Public

Published in: Education
3 Comments
3 Likes
Statistics
Notes
No Downloads
Views
Total Views
4,828
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
384
Comments
3
Likes
3
Embeds 0
No embeds

No notes for slide

Transcript of "PID Control of True Integrating Processes - Greg McMillan Deminar"

  1. 1. Interactive Opportunity Assessment Demo and Seminar (Deminar) Series for Web Labs – PID Control of True Integrating Processes Aug 11, 2010 Sponsored by Emerson, Experitec, and Mynah Created by Greg McMillan and Jack Ahlers www.processcontrollab.com Website - Charlie Schliesser (csdesignco.com)
  2. 2. Welcome <ul><li>Gregory K. McMillan </li></ul><ul><ul><li>Greg is a retired Senior Fellow from Solutia/Monsanto and an ISA Fellow. Presently, Greg contracts as a consultant in DeltaV R&D via CDI Process & Industrial. Greg received the ISA “Kermit Fischer Environmental” Award for pH control in 1991, the Control Magazine “Engineer of the Year” Award for the Process Industry in 1994, was inducted into the Control “Process Automation Hall of Fame” in 2001, was honored by InTech Magazine in 2003 as one of the most influential innovators in automation, and received the ISA “Life Achievement Award” in 2010. Greg is the author of numerous books on process control, his most recent being Essentials of Modern Measurements and Final Elements for the Process Industry. Greg has been the monthly “Control Talk” columnist for Control magazine since 2002. Greg’s expertise is available on the web site: http://www.modelingandcontrol.com/ </li></ul></ul>
  3. 3. Top Ten Reasons to Elect a Control Engineer as a President <ul><li>(10) Completely automated and remotely controlled combat </li></ul><ul><li>(9) Dynamic programs </li></ul><ul><li>(8) Models of the economy </li></ul><ul><li>(7) No overshoot of the budget </li></ul><ul><li>(6) Real time optimization of manufacturing </li></ul><ul><li>(5) Regulatory control of financial markets </li></ul><ul><li>(4) Feedforward control of Congress </li></ul><ul><li>(3) Model predictive control of energy </li></ul><ul><li>(2) A nuclear reactor in every home </li></ul><ul><li>And the Number 1 Reason : </li></ul>
  4. 4. Top Ten Reasons to Elect a Control Engineer as a President <ul><li>( 1) A computer in every pocket </li></ul>
  5. 5. Demos of Control Loop Opportunities to Reduce Fed-Batch and Startup Time <ul><li>PID on Error Structure </li></ul><ul><ul><li>Maximizes the kick and bump of the controller output for a setpoint change. </li></ul></ul><ul><ul><li>Overdrive (driving of output past resting point) is essential for getting slow loops, such as vessel temperature and pH, to the optimum setpoint as fast as possible. </li></ul></ul><ul><ul><li>The setpoint change must be made with the PID in Auto mode. </li></ul></ul><ul><ul><li>“ SP track PV” will generally maximize the setpoint change and hence the kick and bump (retaining SP from last batch or startup minimizes kick and bump) </li></ul></ul><ul><li>SP Feedforward </li></ul><ul><ul><li>For low controller gains (controller gain less than inverse of process gain), a setpoint feedforward is particularly useful. For this case, the setpoint feedforward gain is the inverse of the dimensionless process gain minus the controller gain. </li></ul></ul><ul><ul><li>For slow self-regulating (e.g. continuous) processes and slow integrating (e.g. batch) processes, even if the controller gain is high, the additional overdrive can be beneficial for small setpoint changes that normally would not cause the PID output to hit a limit. </li></ul></ul><ul><ul><li>If the setpoint and controller output are in engineering units the feedforward gain must be adjusted accordingly. </li></ul></ul><ul><ul><li>The feedforward action is the process action, which is the opposite of the control action, taking into account valve action. In other words for a reverse control action, the feedforward action is direct provided the valve action is inc-open or the analog output block, I/P, or positioner reverses the signal for a inc-close. </li></ul></ul>
  6. 6. Demos of Control Loop Opportunities to Reduce Fed-Batch and Startup Time <ul><li>Full Throttle (Bang-Bang Control) - The controller output is stepped to it output limit to maximize the rate of approach to setpoint and when the projected PV equals the setpoint less a bias, the controller output is repositioned to the final resting value. The output is held at the resting value for one deadtime. For more details, check out the Control magazine article “ Full Throttle Batch and Startup Response. ” http://www.controlglobal.com/articles/2006/096.html </li></ul><ul><ul><li>A deadtime (DT) block must be used to compute the rate of change so that new values of the PV are seen immediately as a change in the rate of approach. </li></ul></ul><ul><ul><li>If the total loop deadtime (  o ) is used in the DT block, the projected PV is simply the current PV minus the output of the DT block (  PV) plus the current PV. </li></ul></ul><ul><ul><ul><li>If the PV rate of change (  PV/  t) is useful for other reasons (e.g. near integrator or true integrating process tuning), then  PV/  t =  PV/  o can be computed. </li></ul></ul></ul><ul><ul><li>If the process changes during the setpoint response (e.g. reaction or evaporation), the resting value can be captured from the last batch or startup </li></ul></ul><ul><ul><li>If the process changes are negligible during the setpoint response, the resting value can be estimated as: </li></ul></ul><ul><ul><ul><li>the PID output just before the setpoint change for an integrating (e.g. batch) process </li></ul></ul></ul><ul><ul><ul><li>the PID output just before the setpoint change plus the setpoint change divided by the process gain for a self-regulating (e.g. continuous) process </li></ul></ul></ul><ul><ul><li>For self-regulating processes such as flow with the loop deadtime (  o ) approaching or less than the largest process time constant (  p ), the logic is revised to step the PID output immediately to the resting value. The PID output is held at the resting value for the T 98 process response time (T 98  o  p ). </li></ul></ul>
  7. 7. Integrating Response Time (seconds)  o K i = { [ CV 2  t 2 ]  CV 1  t 1 ] }  CO  CO ramp rate is  CV 1  t 1 ramp rate is  CV 2  t 2 CO CV Integrating process gain (%/sec/%) Response to change in controller output with controller in manual % Controlled Variable (CV) or % Controller Output (CO) observed process deadtime
  8. 8. Loop Block Diagram  p1  p2  p2 K pv  p1  c1  m2  m2  m1  m1 K cv  c  c2 Valve Process Controller Measurement K mv  v  v K L  L  L Load Upset  CV  CO  MV  PV PID Delay Lag Delay Delay Delay Delay Delay Delay Lag Lag Lag Lag Lag Lag Lag Gain Gain Gain Gain Local Set Point  DV Total Observed Dead Time :  o  v  p1  p2  m1  m2  c  v  p1  m1  m2  c1  c2 % % % Delay => Dead Time Lag =>Time Constant K i = K mv  (K pv /  p2 )  K cv 100% / span K c T i T d
  9. 9. <ul><li> CV  change in controlled variable (%) </li></ul><ul><li> CO  change in controller output (%) </li></ul><ul><li>K c  controller gain (dimensionless) </li></ul><ul><li>K i  integrating gain (%/sec/% or 1/sec) </li></ul><ul><li>K p  process gain (dimensionless) also known as open loop gain </li></ul><ul><li>MV  manipulated variable (engineering units) </li></ul><ul><li>PV  process variable (engineering units) </li></ul><ul><li> t  change in time (sec) </li></ul><ul><li> o  total loop dead time (sec) </li></ul><ul><li> m  measurement time constant (sec) </li></ul><ul><li> p  process time constant (sec) also known as open loop time constant </li></ul><ul><li>T i  integral (reset) time setting (sec/repeat) </li></ul><ul><li>T d  derivative (rate) time setting (sec) </li></ul><ul><li>T o  oscillation period (sec) </li></ul><ul><li>  Lambda (closed loop time constant or arrest time) (sec) </li></ul><ul><li> f   Lambda factor (ratio of closed to open loop time constant or arrest time) </li></ul>Nomenclature
  10. 10. PID Structure ER is external reset (e.g. secondary PV) Dynamic Reset Limit   SP   proportional derivative  Gain     Rate    CO filter filter CV filter Filter Time   Rate Time  filter Filter Time = Reset Time ER Positive Feedback
  11. 11. PID Structure Choices <ul><li>PID action on error (  = 1 and  = 1) </li></ul><ul><li>PI action on error, D action on PV (  = 1 and  = 0) </li></ul><ul><li>I action on error, PD action on PV (  = 0 and  = 0) </li></ul><ul><li>PD action on error (  = 1 and  = 1) (no I action) </li></ul><ul><li>P action on error, D action on PV (  = 1 and  = 0) (no I action) </li></ul><ul><li>ID action on error (  = 1) (no P action) </li></ul><ul><li>I action on error, D action on PV (  = 0) (no P action) </li></ul><ul><li>Two degrees of freedom controller (  and  adjustable 0 to 1) </li></ul>The  and  factors do not affect the load response of a control loop
  12. 12. Contribution of Each PID Mode (Step Change in the Set Point)  CO 2 =  CO 1  SP seconds/repeat  CO 1 Time (seconds) Signal (%) 0 kick from proportional mode bump from filtered derivative mode repeat from integral mode For fastest setpoint response we want to maximize kick from proportional mode bump from derivative mode, and setpoint weighting factors (  = 1 and  = 1)
  13. 13. Lambda Tuning for Integrating Processes Integrating Process Gain: Controller Gain: Controller Integral (Reset) Time: Lambda (closed loop arrest time) is defined in terms of a Lambda factor (  f ): Closed loop arrest time for load disturbance Controller Derivative (Rate) Time: To prevent slow rolling oscillations: secondary lag
  14. 14. Primary and secondary K p  secondary  p  primary  p  total  o  K i  K p   p  Tuning for Today’s Example
  15. 15. Demo of Effect of PID Structure 3 on Setpoint Response <ul><li>Objective – Show slow setpoint response from just integral action </li></ul><ul><li>Activities: </li></ul><ul><ul><li>For Single Integrating Loop: </li></ul></ul><ul><ul><ul><li>Enter tuning settings, Gain = 1.7, Reset = 210 sec, Rate = 2 sec </li></ul></ul></ul><ul><ul><ul><li>Set Primary Process Delay = 9 sec, Lag 2 Inc & Lag 2 Dec = 100 sec </li></ul></ul></ul><ul><ul><ul><li>Set Primary Process Type = Integrating </li></ul></ul></ul><ul><ul><ul><li>Choose controller structure 3 ( I action on error, PD action on PV (  = 0 and  = 0)) </li></ul></ul></ul><ul><ul><ul><li>Make setpoint change from 50% to 60% </li></ul></ul></ul>
  16. 16. Other Control Loop Opportunities to Reduce Fed-Batch and Startup Time <ul><li>Output Lead-Lag </li></ul><ul><ul><li>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. </li></ul></ul><ul><ul><li>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: </li></ul></ul><ul><ul><ul><li>Deminar #1 http://www.screencast.com/users/JimCahill/folders/Public/media/5acf2135-38c9-422e-9eb9-33ee844825d3 </li></ul></ul></ul><ul><ul><ul><li>White paper http://www.modelingandcontrol.com/DeltaV-v11-PID-Enhancements-for-Wireless.pdf </li></ul></ul></ul><ul><li>Deadtime Compensation </li></ul><ul><ul><li>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-96b7-9229e4a6b5ba . </li></ul></ul><ul><ul><li>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 </li></ul></ul>
  17. 17. Other Control Loop Opportunities to Reduce Fed-Batch and Startup Time <ul><li>Feed Maximization </li></ul><ul><ul><li>Model Predictive Control described in Application Note 1 http://www.modelingandcontrol.com/repository/AdvancedApplicationNote001.pdf </li></ul></ul><ul><ul><li>Override control (next slide) is used to maximize feeds to limits of operating constraints via valve position control (e.g. maximum vent, overhead condenser, or jacket valve position with sufficient sensitivity per installed characteristic). </li></ul></ul><ul><ul><li>Alternatively, the limiting valve can be set wide open and the feeds throttled for temperature or pressure control. For pressure control of gaseous reactants, this strategy can be quite effective. </li></ul></ul><ul><ul><li>For temperature control of liquid reactants, the user needs to confirm that inverse response from the addition of cold reactants to an exothermic reactor and the lag from the concentration response does not cause temperature control problems. </li></ul></ul><ul><ul><li>All of these methods require tuning and may not be particularly adept at dealing with fast disturbances unless some feedforward is added. Fortunately the prevalent disturbance that is a feed concentration change is often slow enough due to raw material storage volume to be corrected by temperature feedback. </li></ul></ul><ul><li>Profile Control </li></ul><ul><ul><li>If you have a have batch measurement that should increase to a maximum at the batch end point (e.g. maximum reaction temperature or product concentration), the slope of the batch profile of this measurement can be maximized to reduce batch cycle time. For application examples checkout “ Direct Temperature Rate of Change Control Improves Reactor Yield ” in a Funny Thing Happened on the Way to the Control Room http://www.modelingandcontrol.com/FunnyThing/ and the Control magazine article “ Unlocking the Secret Profiles of Batch Reactors ” http://www.controlglobal.com/articles/2008/230.html . </li></ul></ul>
  18. 18. Example of Advanced Regulatory Control (reduced batch cycle time by 25%) 08/11/10 feed A feed B coolant makeup CAS ratio CAS reactor vent product maximum production rate condenser CTW PT PC-1 TT TT TC-2 TC-1 FC-1 FT FT FC-2 < TC-3 RC-1 TT ZC-1 ZC-2 CAS CAS CAS ZC-3 ZC-4 < Override Control override control ZC-1, ZC-3, and ZC-4 work to keep their respective control valves at a max throttle position with good sensitivity and room for loop to maneuver. ZC-2 will raise TC-1 SP if FC-1 feed rate is maxed out
  19. 19. Sequence Opportunities to Reduce Pure-Batch and Startup Time <ul><li>Reduce wait times, operator attention requests, and manual actions by automation. </li></ul><ul><li>Reduce excess hold times (e.g. heat release can confirm reaction start/end). </li></ul><ul><li>Improve charge times and accuracy by better sensor design (e.g. mass flow meters and valve location (e.g. minimize dribble time and holdup). </li></ul><ul><li>Minimize acquire time by improved prioritization of users (e.g. unit operation with biggest effect on production rate gets access to feeds and utilities). </li></ul><ul><li>Reduce failure expression activation by better instruments, redundancy and signal selection, and more realistic expectations of instrument performance. </li></ul><ul><li>Improve failure expression recovery by configuration and displays. </li></ul><ul><li>Eliminate steps by simultaneous actions (e.g. heat-up and pressurization). </li></ul><ul><li>Increase feed and heat transfer rate by an increase in pump impeller size. </li></ul><ul><li>Minimize non constrained processing time by all out run, cutoff, and coast. </li></ul><ul><li>Minimize processing time by better end point detection (inferential measurements by neural networks and online or at-line analyzers). </li></ul><ul><li>Mid batch correction based on adapted online virtual plant model or batch analytics projection to latent structures (PLS) and first principle relationships. </li></ul>
  20. 20. Demo of Effect of PID Structure 1 on Setpoint Response <ul><li>Objective – Show faster setpoint response from addition of kick from proportional mode and bump derivative mode </li></ul><ul><li>Activities: </li></ul><ul><ul><li>For Single Integrating Loop: </li></ul></ul><ul><ul><ul><li>Look at setpoint response for structure 3 </li></ul></ul></ul><ul><ul><ul><li>Choose controller structure 1 (P ID action on error (  = 1 and  = 1)) </li></ul></ul></ul><ul><ul><ul><li>Make setpoint change from 60% to 50% </li></ul></ul></ul>
  21. 21. Identified Responses for Batch Profile Control
  22. 22. Model Predictive Control (MPC) of Growth Rate and Product Formation Rate Product Formation Rate Biomass Growth rate Substrate Dissolved Oxygen
  23. 23. Demo of Effect of SP Feedforward on Setpoint Response <ul><li>Objective – Show how reduce batch cycle time by use of setpoint feedforward </li></ul><ul><li>Activities: </li></ul><ul><ul><li>For Single Integrating Loop: </li></ul></ul><ul><ul><ul><li>Look at setpoint response for structure 1 </li></ul></ul></ul><ul><ul><ul><li>Set SP FF Gain = 2 </li></ul></ul></ul><ul><ul><ul><li>Make setpoint change from 50% to 60% </li></ul></ul></ul>
  24. 24. Model Predictive Control (MPC) Reduces Batch Cycle Time Batch Basic Fed-Batch APC Fed-Batch Batch Inoculation Inoculation Dissolved Oxygen (AT6-2) pH (AT6-1) Estimated Substrate Concentration (AT6-4) Estimated Biomass Concentration (AT6-5) Estimated Product Concentration (AT6-6) Estimated Net Production Rate (AY6-12) Estimated Biomass Growth Rate (AY6-11) MPC in Auto
  25. 25. Model Predictive Control (MPC) Improves Batch Predictions Current Product Yield (AY6-10D) Current Batch Time (AY6-10A) Predicted Batch Cycle Time (AY6-10B) Predicted Cycle Time Improvement (AY6-10C) Predicted Final Product Yield (AY6-10E) Predicted Yield Improvement (AY6-10F) Batch Basic Fed-Batch APC Fed-Batch Batch Inoculation Inoculation MPC in Auto Predicted Final Product Yield (AY6-10E) Predicted Batch Cycle Time (AY6-10B)
  26. 26. Demo of Effect of Bang-Bang Control on Setpoint Response <ul><li>Objective – Show how to reduce batch and startup time by a full throttle setpoint response (bang-bang control) </li></ul><ul><li>Activities: </li></ul><ul><ul><li>For Single Integrating Loop: </li></ul></ul><ul><ul><ul><li>Look at setpoint response for setpoint feedforward </li></ul></ul></ul><ul><ul><ul><li>Set SP FF Gain = 0 </li></ul></ul></ul><ul><ul><ul><li>Set Bang-Bang Bias = 4% </li></ul></ul></ul><ul><ul><ul><li>Make setpoint change from 60% to 50% </li></ul></ul></ul>
  27. 27. Structure 3 Rise Time = 8.5 min Settling Time = 8.5 min Overshoot = 0% Structure 1 Rise Time = 1.6 min Settling Time = 7.5 min Overshoot = 1.7% Structure 1 + SP FF Rise Time = 1.2 min Settling Time = 6.5 min Overshoot = 1.3% Structure 1 + Bang-Bang Rise Time = 0.5 min Settling Time = 0.5 min Overshoot = 0.2% Summary of Demo Results
  28. 28. Help Us Improve These Deminars! WouldYouRecommend.Us/105679s21/
  29. 29. Join Us Aug 25, Wednesday 10:00 am CDT <ul><li>PID Control of Runaway Processes (How to Improve the Performance of Exothermic Reactor Temperature Loops) </li></ul><ul><li>Look for a recording of Today’s Deminar later this week at: </li></ul><ul><li>www.ModelingAndControl.com </li></ul><ul><li>www.EmersonProcessXperts.com </li></ul>
  30. 30. QUESTIONS?
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×