lecture 16 introduction to controllers and pid controllers
play

Lecture 16 Introduction to Controllers and PID Controllers Process - PowerPoint PPT Presentation

Lecture 16 Introduction to Controllers and PID Controllers Process Control Prof. Kannan M. Moudgalya IIT Bombay Tuesday, 27 August 2013 1/34 Process Control Introduction to controllers Outline 1. Recalling control loop components 2.


  1. Lecture 16 Introduction to Controllers and PID Controllers Process Control Prof. Kannan M. Moudgalya IIT Bombay Tuesday, 27 August 2013 1/34 Process Control Introduction to controllers

  2. Outline 1. Recalling control loop components 2. Proportional Controller 3. Proportional Integral Controller 2/34 Process Control Introduction to controllers

  3. 1. Recalling control loop components 3/34 Process Control Introduction to controllers

  4. Recall: Feedback Control of Flow System Q i ( t ) FC LT h ( t ) Q ( t ) = x ( t ) h ( t ) 4/34 Process Control Introduction to controllers

  5. Control loop components for flow control Q i ( t ) FC LT h ( t ) Q ( t ) = x ( t ) h ( t ) ◮ Sensor/Transducer: measures level ◮ LT denotes level transmitter, including level sensor ◮ Feedback controller: FC ◮ End control element: control valve 5/34 Process Control Introduction to controllers

  6. Refinement of control loop components FC Q i ( t ) I/P LT h ( t ) Q ( t ) = x ( t ) h ( t ) ◮ Flow control output goes to I/P converter ◮ I/P converter converts current into pressure signal ◮ Read about pneumatic control valves 6/34 Process Control Introduction to controllers

  7. Recall: closed loop system v y sp e u y Controller Plant − ◮ We will club the sensor, actuator, etc. dynamics into controller or plant or both ◮ Arrive at the above simplified block diagram ◮ Analysis becomes easy 7/34 Process Control Introduction to controllers

  8. Recall: closed loop system v r e u y G c G − ◮ For G c , we will substitute different controllers ◮ We will often use I and II order systems for G ◮ Often we will ignore noise, i.e. take v = 0 ◮ We will interchangeably use r and y sp 8/34 Process Control Introduction to controllers

  9. 2. Proportional Controller 9/34 Process Control Introduction to controllers

  10. Feedback controllers ◮ Will study PID controllers ◮ Will begin with the proportional-controller/proportional-mode 10/34 Process Control Introduction to controllers

  11. Proportional Controller ∆ Y sp E ∆ U ∆ Y K c G − ◮ I have put ∆ to emphasise the fact that I am using deviation variables ◮ Proportional control law: G c = K c , a constant ◮ The G c block implements the following: u(t) = u + K c e(t) where u is steady state value or bias and e(t) ↔ E(s) 11/34 Process Control Introduction to controllers

  12. Proportional Controller Proportional control law: u(t) = u + K c e(t) where u is steady state value or bias. ∆u(t) = u(t) − u = K c e(t) In the textbook, p(t) is manipulated variable: p(t) = p + K c e(t) Alternately, use Proportional Band (PB): PB = 100 % K c 12/34 Process Control Introduction to controllers

  13. Linear control law is linear in a range Control law saturates beyond a value: u in u K c We assume to work in linear range: u(t) = u + K c e(t) Write it as ◮ u(t) − u(t) = K c e(t) ◮ Rewrite it as ∆u(t) = K c e(t) ◮ Take Laplace transform: ∆U(s) = K c E(s) ◮ Gain of the controller = K c 13/34 Process Control Introduction to controllers

  14. Proportional controller in a feedback loop ∆ Y sp E ∆ U ∆ Y K c G − What is the closed loop relationship? K c G(s) ∆Y(s) = 1 + K c G(s)∆Y sp (s) Let G cl denote closed loop transfer function: ∆Y(s) = G cl ∆Y sp (s) What does response to a step in Y sp mean? 14/34 Process Control Introduction to controllers

  15. Step response of proportional controller ◮ What does a step change in y sp (t) mean? K c G(s) ∆Y(s) = 1 + K c G(s)∆Y sp (s) ◮ Calculate ∆y(t = ∞ ) for ∆Y sp = 1 / s: K c G(0) ∆y(t = ∞ ) = 1 + K c G(0) If G(s) = K / ( τ s + 1), K c K ∆y(t = ∞ ) = 1 + K c K What is the steady state offset (or error)? 15/34 Process Control Introduction to controllers

  16. Steady State Offset ∆ Y sp E ∆ U ∆ Y K c G − The steady state offset (or error) is 1. not known, not enough information is given 2. KcK/(1+KcK) 3. 1-KcK/(1+KcK) Answer: 3 16/34 Process Control Introduction to controllers

  17. Can we zero the offset? K c K ◮ ∆y(t = ∞ ) = 1 + K c K K c K 1 ◮ Steady state error = 1 − 1 + K c K = 1 + K c K ◮ Why subtract from 1? ◮ Because unit step change was used ◮ Can we make the steady state error zero? ◮ Can make it as small as required by increasing K c ◮ Are there any undesirable side effects? ◮ Because of unmodelled dynamics, G may actually be a second order system! ◮ Recall the step response of SBHS! 17/34 Process Control Introduction to controllers

  18. 1 Step response of G(s) = 0 . 5s + 1 18/34 Process Control Introduction to controllers

  19. 1 Step response of G(s) = (s + 1)(s + 2) 19/34 Process Control Introduction to controllers

  20. MCQ: Increasing K c By increasing K c indefinitely in a closed loop system with an actual plant, 1. The system will respond better and better with the steady state offset decreasing 2. The system is likely to oscillate, although, the steady state error may decrease 3. Cannot say, as first order systems will not oscillate Answer: 2 20/34 Process Control Introduction to controllers

  21. Side effects of increasing K c indefinitely Recall the desired region: Is there any problem in increasing K c indefinitely? 21/34 Process Control Introduction to controllers

  22. Shortcomings of indefinite increase in K c × × ◮ Increase K c to bring the closed loop poles inside desired region ◮ Indefinite increase of K c will take root locus outside desired region ◮ What condition is violated? 22/34 Process Control Introduction to controllers

  23. Recall small overshoot condition Im ( s ) Re ( s ) ◮ If poles are outside shaded region, ◮ Large overshoots and hence large oscillations 23/34 Process Control Introduction to controllers

  24. Trade off in increasing K c ◮ Recall steady state error: 1 ◮ Steady state error = 1 + K c K ◮ Can decrease error with large K c ◮ Unfortunately, this may result in unacceptable oscillations ◮ How do we handle this situation? 24/34 Process Control Introduction to controllers

  25. Trade off between offset & control action Recall the closed loop system: ∆ Y sp E ∆ U ∆ Y K c G − ◮ Zero error E ⇒ ∆U = 0 ◮ This implies zero control action with respect to nominal value of U ◮ Servo/tracking control (set point changes) cannot be implemented ◮ Can we have both E = 0 and ∆U � = 0 with finite K c ? 25/34 Process Control Introduction to controllers

  26. Introducing Integral Mode � t u(t) = u + 1 e(w)dw τ i 0 ◮ Even a 0 value of e(t) can give rise to nonzero values of ∆u(t)! ◮ τ i is reset time or integral time ◮ Recall u(t) ↔ U(s) ◮ ∆U(s) = 1 τ i sE(s) ◮ Normally, we use a proportional-integral (PI) controller 26/34 Process Control Introduction to controllers

  27. PI controller PI controller: � t � e(t) + 1 � u(t) = u + K c e(w)dw τ i 0 or � 1 + 1 � ∆U(s) = K c E(s) τ i s ◮ What is the steady state offset now? 27/34 Process Control Introduction to controllers

  28. Offset of I order system with PI Controller Recall the closed loop system: ∆ Y sp E ∆ U ∆ Y K c G − K ◮ Take G to be τ s + 1 ◮ In the place of K c , use a PI controller, � 1 + 1 � ◮ i.e. replace K c with G c = K c τ i s ◮ Calculate the step response of the C. L. System ◮ Calculate lim t →∞ ∆y(t) 28/34 Process Control Introduction to controllers

  29. Why not use integral mode ALONE? u in u ◮ Problem due saturation of control effort ◮ When required control effort cannot be created, there will be offset ◮ No option but to live with this error ◮ Integral mode will crank up the control action, thinking that a larger control effort is required ◮ Will take time to unwind this controller 29/34 Process Control Introduction to controllers

  30. Why not use integral mode alone? - ctd ◮ One way to handle this: monitor for mismatch and disable the integral mode ◮ For another method, see Digital Control by Moudgalya, John Wiley & Sons, 2007 ◮ Known as integral windup 30/34 Process Control Introduction to controllers

  31. Integral mode generalises proportional mode PI controller: 1 + 1 � � ∆U(s) = K c E(s) τ i s or � t e(t) + 1 � � ∆u(t) = K c e(w)dw τ i 0 � t 1 = K c e(t) + K c e(w)dw τ i 0 With e constant, after every t = τ i , K c e gets added! 31/34 Process Control Introduction to controllers

  32. Characteristics of Integral Mode ◮ Used to remove steady state offset ◮ For open loop stable plants, ◮ increase in integral action generally results in ◮ decreased steady state offset and ◮ increased oscillations ◮ Remember this while tuning integral mode 32/34 Process Control Introduction to controllers

  33. What we learnt today ◮ Proportional Controller ◮ Proportional Integral Controller 33/34 Process Control Introduction to controllers

  34. Thank you 34/34 Process Control Introduction to controllers

Recommend


More recommend