O slideshow foi denunciado.
Seu SlideShare está sendo baixado. ×

PID Control of Runaway Processes - Greg McMillan Deminar

Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Carregando em…3
×

Confira estes a seguir

1 de 32 Anúncio

PID Control of Runaway Processes - Greg McMillan Deminar

Baixar para ler offline

On-line demo / seminar presented by ModelingAndControl.com's Greg McMillan on August 25, 2010.

Recorded version of presentation will be available post live session at: http://www.screencast.com/users/JimCahill/folders/Deminars

On-line demo / seminar presented by ModelingAndControl.com's Greg McMillan on August 25, 2010.

Recorded version of presentation will be available post live session at: http://www.screencast.com/users/JimCahill/folders/Deminars

Anúncio
Anúncio

Mais Conteúdo rRelacionado

Diapositivos para si (20)

Semelhante a PID Control of Runaway Processes - Greg McMillan Deminar (20)

Anúncio

Mais de Jim Cahill (14)

Mais recentes (20)

Anúncio

PID Control of Runaway Processes - Greg McMillan Deminar

  1. 1. Interactive Opportunity Assessment Demo and Seminar (Deminar) Series for Web Labs – PID Control of Runaway Processes Aug 25, 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 Control Room KPIs that will NOT Lead to Process Improvement and Should NOT be Reported” Courtesy of Mike Brown (September 2010 Control Talk) <ul><li>(10) Number of coffee cups consumed on night shift </li></ul><ul><li>(9) Number of chairs broken by our favorite lead Operator, “Big Bob Gibson” </li></ul><ul><li>(8) Average length of time an Operator can keep his eyes closed before falling asleep </li></ul><ul><li>(7) Shortest recorded time for Operator handover at shift change </li></ul><ul><li>(6) Longest recorded time to bring up a DCS graphic following a control system “upgrade” </li></ul><ul><li>(5) Number of times the Operator gets the DCS alarm “MPC error - please re-invert the matrix” </li></ul><ul><li>(4) Number of Process Engineers that cannot spell PID </li></ul><ul><li>(3) Number of instrument tuning technicians with the last name Ziegler or Nichols </li></ul><ul><li>(2) Number of times an Operator shouts “Bingo!” </li></ul><ul><li>And the Number 1 KPI NOT to be Reported : </li></ul>
  4. 4. “ Top Ten Control Room KPIs that will NOT Lead to Process Improvement and Should NOT be Reported” Courtesy of Mike Brown (September 2010 Control Talk) <ul><li>(1) Any KPI that needs to be charted with a control range of -1000% to 1000% </li></ul>
  5. 5. Introduction <ul><li>Most important and difficult examples are highly exothermic reactors used to produce polymers and specialty chemicals </li></ul><ul><ul><li>Reaction rate exponentially increases with temperature </li></ul></ul><ul><ul><li>Tight temperature control is important for batch cycle time, production rate, and product quality (reaction rate maximization and off-spec production minimization depend on operating at maximum temperature that does not trigger side reactions) </li></ul></ul><ul><ul><li>Tight temperature control is important for safety (a point of return can be reached where reaction heat release rate is greater than heat removal rate causing a high temperature or high pressure trip) </li></ul></ul><ul><ul><li>Temperature control is extremely sensitive to thermal lags in heat transfer surfaces and in thermowells </li></ul></ul><ul><ul><li>Open loop tests are deceptive and potentially a safety issue since response looks like an integrator until acceleration kicks-in </li></ul></ul><ul><ul><li>Controller tuning settings required are unusual. Convention tuning rules can cause slow oscillations, overshoot, and potentially a trip of the safety instrument system (SIS). </li></ul></ul>
  6. 6. Introduction <ul><li>Biological reactors in the exponential growth phase can have a runaway response for cell concentration control but the time constant is so slow it often does not present a control problem </li></ul><ul><li>Strong acid and base pH control systems can exhibit a near runaway response for excursions toward the neutral point due to extreme nonlinearity (orders of magnitude increase in titration curve slope in approach to 7 pH causes acceleration) </li></ul><ul><li>An axial compressor speed control system can exhibit a severe extremely fast runaway response during surge due to unloading </li></ul><ul><ul><li>A speed derivative unit that tripped the compressor on high acceleration prevented rotor damage from excessive vibration (benefits: $1,000K/yr savings in eliminating damaged rotors and need to stock multiple rotors) </li></ul></ul>
  7. 7. Demos of Exothermic Reactor <ul><li>Acceleration at high temperatures </li></ul><ul><li>Dynamics and tuning for clean heat transfer surface </li></ul><ul><ul><li>Modified short cut open loop tuning method </li></ul></ul><ul><ul><li>Modified ultimate oscillation closed loop tuning method </li></ul></ul><ul><li>Dynamics and tuning for fouled heat transfer surface </li></ul><ul><ul><li>Modified ultimate oscillation closed loop tuning method </li></ul></ul><ul><li>Window of allowable controller gains </li></ul><ul><ul><li>Major decrease in controller gain </li></ul></ul>
  8. 8. Unstable Scenarios
  9. 9. Runaway Response For safety reasons, tests are terminated after 4 deadtimes Response to change in controller output with controller in manual  p  p ’ Noise Band Acceleration  CV  CO  CV K p =  CV  CO Runaway process gain (%/%) % Controlled Variable (CV) or % Controller Output (CO) Time (seconds) observed process deadtime runaway process positive feedback time constant
  10. 10. Runaway Tuning Modifications for Near Integrator Method (Deminar #6) Increase gain by 25% Increase reset time by factor of 10 Double rate time
  11. 11. Acceleration at High Temperatures <ul><li>Objective – Show how runway response initially looks like an integrating but then accelerates </li></ul><ul><li>Activities: </li></ul><ul><ul><li>For Single Runaway Loop: </li></ul></ul><ul><ul><ul><li>Set AC1-1 reset time = 1000 sec </li></ul></ul></ul><ul><ul><ul><li>Set primary process gain = 2.2 </li></ul></ul></ul><ul><ul><ul><li>Set AC1-1 manual output = 25% and setpoint = 55% </li></ul></ul></ul><ul><ul><ul><li>Momentarily set primary process Lag 2 to 1 sec to line out process at setpoint </li></ul></ul></ul><ul><ul><ul><li>Set primary process deadtime = 8 sec </li></ul></ul></ul><ul><ul><ul><li>Set primary process Lag 2 = 100 sec </li></ul></ul></ul><ul><ul><ul><li>Set primary process type = Runaway </li></ul></ul></ul><ul><ul><ul><li>Change in AC1-1 output from 25% to 35% </li></ul></ul></ul><ul><ul><ul><li>Measure the deadtime and initial rate of change </li></ul></ul></ul><ul><ul><ul><li>Note acceleration </li></ul></ul></ul><ul><ul><ul><li>Stabilize process at 55% setpoint by momentarily switching back to self-regulating process with 1 sec primary process time constant and manual output of 25% </li></ul></ul></ul><ul><ul><ul><li>Put AC1-1 in auto </li></ul></ul></ul>
  12. 12. Tuning for Today’s Example Using Short Cut Near Integrator Method Fastest initial ramp rate estimated in 2 deadtime interval For safety reasons do not keep loop in manual for more than 4 deadtimes! Process Dynamics in Single Loop Lab Near Integrator PID Tuning Modified for Runaway Processes Derivative action must be used to compensate for secondary lags and help prevent acceleration !
  13. 13. Short Cut Tuning for Clean Heat Transfer Surface <ul><li>Objective – Show performance of modified short cut method for runaway and start ultimate oscillation </li></ul><ul><li>Activities: </li></ul><ul><ul><li>For Single Runaway Loop: </li></ul></ul><ul><ul><ul><li>Set AC1-1 gain = 2.8, reset = 400 sec, and rate = 4 </li></ul></ul></ul><ul><ul><ul><li>Make setpoint change from 55% to 60% </li></ul></ul></ul><ul><ul><ul><li>To create ultimate oscillations set reset time = 10,000, rate = 0, and gain = 7 </li></ul></ul></ul>
  14. 14. Phase Shift (  ) and Amplitude Ratio (B/A) A B time phase shift  oscillation period T o If the phase shift is -180 o between the process input A and output B , then the total shift for a control loop is -360 o and the output is in phase with the input (resonance) since there is a -180 o from negative feedback (control error = set point – process variable). This point sets the ultimate gain and period that is important for controller tuning.
  15. 15. Basis of First Order Approximation  =  Tan -1 (  ) negative phase shift (as  approaches infinity,  approaches -90 o phase shift)  t = (-360  T o time shift B 1 AR = ---- = ----------------------- amplitude ratio A [1 + (   ] 1/2 Amplitude ratios are multiplicative (AR = AR 1  AR 2 ) and phase shifts are additive (     )  asis of first order approx method where gains are multiplicative and dead times are additive
  16. 16. Time (min) Process Variable Ultimate Gain is Controller Gain that Caused these Nearly Equal Amplitude Oscillations (K u ) Ultimate Period T u 0 1 K u = ---------------- K p * AR - 180 Ultimate gain of controller is inversely proportional to the product of the open loop static (process) gain and the amplitude ratio at -180 o phase shift, which is the starting point of resonance and instability (growing oscillations) 2  T u = --------  n Ultimate period of control loop occurs at natural frequency  n (at -180 phase shift) Ultimate Gain and Period
  17. 17. Runaway Ultimate Gain Calculation  [1 + (  1  u      [1 + (  p ’  T u   ] 1/2 K u = ------------------------------------------------------------------- K p For T u < <   (loop dominated by a large time constant), the error is negligible for the following simplification: (      p ’ K u = ------------------------ K p  T u 2
  18. 18. Integrating Process Data Fit from Nyquist Plots: (for  o   simplifies to Near-Integrating process T u )    0.65 T u = 4    1 +    o  o Runaway Process Data Fit from Nyquist Plots : (for  p ’   and  p ’   simplifies to Integrating process T u ) N 0.65 N = (  p ’   )  p ’   T u = 4    1 +    o D D = (  p ’   )  (  p ’  o )  o As either    or  o approach   ’ , D approaches zero, T u approaches infinity, and the controller is unstable for all tuning settings (window of allowable gains is closed) Equations to Estimate Ultimate Period Source: Tuning and Control Loop Performance - My First Book and Creative Work (1984) Self-Regulating Process Data Fit from Bode Plots: (for near-integrating process T u  o )  1  0.65 T u = 2    1 +    o  p  o
  19. 19. For a Proportional plus Integral plus Derivative (PID) controller: K c = 0.4  K u 0.5*1.25 x Ziegler-Nichols (0.64) controller gain factor T i = 10  T u 20 x Ziegler-Nichols (0.5) integral time factor T d = 0.125  T u Ziegler-Nichols (0.125) integral time factor Ultimate Oscillation Tuning Modified for Runaway Process Manual methods pose a safety risk, so damped small rather than large equal amplitude oscillations are used Auto and adaptive tuners are preferred that maintain or use closed loop control The relay method on-demand auto tuner will automatically compute the Ultimate Period and Ultimate Gain Window of Allowable Controller Gains 1/ K p > K c < K u
  20. 20. Ultimate Oscillation Tuning for Clean Heat Transfer Surface <ul><li>Objective – Show how Ziegler-Nichols tuning settings are modified for runaway </li></ul><ul><li>Activities: </li></ul><ul><ul><li>For Single Runaway Loop: </li></ul></ul><ul><ul><ul><li>Measure ultimate period and note ultimate gain </li></ul></ul></ul><ul><ul><ul><li>Compute tuning settings by factoring ultimate period and ultimate gain </li></ul></ul></ul>
  21. 21. For a Proportional plus Integral plus Derivative (PID) controller: K c = 0.4  K u  T i = 10  T u  T d = 0.125  T u  Ultimate Oscillation Tuning for Clean Heat Transfer Surface
  22. 22. Loop Block Diagram (First Order Approximation)  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 First Order Approximation :  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 Positive Feedback Time Lag K c T i T d
  23. 23. <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
  24. 24. Dynamics and Tuning for Fouled Heat Transfer Surface <ul><li>Objective – Show increase in ultimate period due to fouling of heat transfer surface </li></ul><ul><li>Activities: </li></ul><ul><ul><li>For Single Runaway Loop: </li></ul></ul><ul><ul><ul><li>Increase secondary process Lag2 from 2 to 20 sec </li></ul></ul></ul><ul><ul><ul><li>To create ultimate oscillations set reset time = 10,000, rate = 0, and gain = 4 </li></ul></ul></ul>
  25. 25. For Runaway Process: N 0.65 N = (  p ’   )  p ’   = 120*100*20 = 240,000 T u = 4    1 +    o D D = (  p ’   )  (  p ’  o )  o = 80*90*10 = 72,000 (N/D) 0.65 = (240,000/72,000) 0.65 = 2.2 T u = 4    1 +    115 sec Ultimate Period for Fouled Heat Transfer Surface pure deadtime (secondary lag taken as   )
  26. 26. Tuning for Fouled Heat Transfer Surface <ul><li>Objective – See extreme effect of secondary lag on ultimate period of runaway process </li></ul><ul><li>Activities: </li></ul><ul><ul><li>For Single Runaway Loop: </li></ul></ul><ul><ul><ul><li>Measure ultimate period and note ultimate gain </li></ul></ul></ul>
  27. 27. For a Proportional plus Integral plus Derivative (PID) controller: K c = 0.4  K u  T i = 10  T u  T d = 0.125  T u  Ultimate Oscillation Tuning for Fouled Heat Transfer Surface
  28. 28. Window of Allowable Controller Gains <ul><li>Objective – Show effect of controller gain below low gain limit (process diverges from setpoint and goes off scale) </li></ul><ul><li>Activities: </li></ul><ul><ul><li>For Single Runaway Loop: </li></ul></ul><ul><ul><ul><li>Decrease AC1-1 gain to 0.2 </li></ul></ul></ul>
  29. 29. Visit http://www.processcontrollab.com/ to Create Valuable New Skills <ul><li>Free State of the Art Virtual Plant </li></ul><ul><li>Independent Interactive Study </li></ul><ul><li>Learn in 10 minutes rather than 10 years </li></ul><ul><li>Online Performance Metrics </li></ul><ul><li>Standard Operator Graphics & Historian </li></ul><ul><li>Control Room Type Environment </li></ul><ul><li>No Modeling Expertise Needed </li></ul><ul><li>No Configuration Expertise Needed </li></ul><ul><li>Rapid Risk-Free Plant Experimentation </li></ul><ul><li>Deeper Understanding of Concepts </li></ul><ul><li>Process Control Improvement Demos </li></ul><ul><li>Sample Lessons (Recorded Deminars) </li></ul>
  30. 30. Help Us Improve These Deminars! WouldYouRecommend.Us/105679s21/
  31. 31. Join Us Sept 8, Wednesday 10:00 am CDT <ul><li>Control Loop Performance Primer (The “WHAT” and “WHY” needed to improve 90% of the 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>
  32. 32. QUESTIONS?

×