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

lecture 16 introduction to controllers and pid controllers
SMART_READER_LITE
LIVE PREVIEW

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.


slide-1
SLIDE 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

slide-2
SLIDE 2

Outline

  • 1. Recalling control loop components
  • 2. Proportional Controller
  • 3. Proportional Integral Controller

2/34 Process Control Introduction to controllers

slide-3
SLIDE 3
  • 1. Recalling control loop components

3/34 Process Control Introduction to controllers

slide-4
SLIDE 4

Recall: Feedback Control of Flow System

Q(t) = x(t)h(t) h(t) Qi(t) FC LT

4/34 Process Control Introduction to controllers

slide-5
SLIDE 5

Control loop components for flow control

Q(t) = x(t)h(t) h(t) Qi(t) FC LT

◮ 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

slide-6
SLIDE 6

Refinement of control loop components

h(t) Qi(t) Q(t) = x(t)h(t) I/P LT FC

◮ 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

slide-7
SLIDE 7

Recall: closed loop system

Controller Plant

v u −

e

y

ysp

◮ 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

slide-8
SLIDE 8

Recall: closed loop system

v Gc u G −

e

y

r

◮ For Gc, 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 ysp

8/34 Process Control Introduction to controllers

slide-9
SLIDE 9
  • 2. Proportional Controller

9/34 Process Control Introduction to controllers

slide-10
SLIDE 10

Feedback controllers

◮ Will study PID controllers ◮ Will begin with the

proportional-controller/proportional-mode

10/34 Process Control Introduction to controllers

slide-11
SLIDE 11

Proportional Controller

∆Ysp

Kc ∆U G −

E

∆Y

◮ I have put ∆ to emphasise the fact that I am

using deviation variables

◮ Proportional control law: Gc = Kc, a constant ◮ The Gc block implements the following:

u(t) = u + Kce(t) where u is steady state value or bias and e(t) ↔ E(s)

11/34 Process Control Introduction to controllers

slide-12
SLIDE 12

Proportional Controller

Proportional control law: u(t) = u + Kce(t) where u is steady state value or bias. ∆u(t) = u(t) − u = Kce(t) In the textbook, p(t) is manipulated variable: p(t) = p + Kce(t) Alternately, use Proportional Band (PB): PB = 100 Kc %

12/34 Process Control Introduction to controllers

slide-13
SLIDE 13

Linear control law is linear in a range

Control law saturates beyond a value:

u Kc uin

We assume to work in linear range: u(t) = u + Kce(t) Write it as

◮ u(t) − u(t) = Kce(t) ◮ Rewrite it as ∆u(t) = Kce(t) ◮ Take Laplace transform: ∆U(s) = KcE(s) ◮ Gain of the controller = Kc

13/34 Process Control Introduction to controllers

slide-14
SLIDE 14

Proportional controller in a feedback loop

∆Ysp

Kc ∆U G −

E

∆Y

What is the closed loop relationship? ∆Y(s) = KcG(s) 1 + KcG(s)∆Ysp(s) Let Gcl denote closed loop transfer function: ∆Y(s) = Gcl∆Ysp(s) What does response to a step in Ysp mean?

14/34 Process Control Introduction to controllers

slide-15
SLIDE 15

Step response of proportional controller

◮ What does a step change in ysp(t) mean?

∆Y(s) = KcG(s) 1 + KcG(s)∆Ysp(s)

◮ Calculate ∆y(t = ∞) for ∆Ysp = 1/s:

∆y(t = ∞) = KcG(0) 1 + KcG(0) If G(s) = K/(τs + 1), ∆y(t = ∞) = KcK 1 + KcK What is the steady state offset (or error)?

15/34 Process Control Introduction to controllers

slide-16
SLIDE 16

Steady State Offset

∆Ysp

Kc ∆U G −

E

∆Y

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

slide-17
SLIDE 17

Can we zero the offset?

◮ ∆y(t = ∞) =

KcK 1 + KcK

◮ Steady state error = 1 −

KcK 1 + KcK = 1 1 + KcK

◮ 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

Kc

◮ 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

slide-18
SLIDE 18

Step response of G(s) = 1 0.5s + 1

18/34 Process Control Introduction to controllers

slide-19
SLIDE 19

Step response of G(s) = 1 (s + 1)(s + 2)

19/34 Process Control Introduction to controllers

slide-20
SLIDE 20

MCQ: Increasing Kc

By increasing Kc 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
  • scillate

Answer: 2

20/34 Process Control Introduction to controllers

slide-21
SLIDE 21

Side effects of increasing Kc indefinitely

Recall the desired region: Is there any problem in increasing Kc indefinitely?

21/34 Process Control Introduction to controllers

slide-22
SLIDE 22

Shortcomings of indefinite increase in Kc

× ×

◮ Increase Kc to bring the closed loop poles

inside desired region

◮ Indefinite increase of Kc will take root locus

  • utside desired region

◮ What condition is violated?

22/34 Process Control Introduction to controllers

slide-23
SLIDE 23

Recall small overshoot condition

Re(s) Im(s)

◮ If poles are outside shaded region, ◮ Large overshoots and hence large oscillations

23/34 Process Control Introduction to controllers

slide-24
SLIDE 24

Trade off in increasing Kc

◮ Recall steady state error: ◮ Steady state error =

1 1 + KcK

◮ Can decrease error with large Kc ◮ Unfortunately, this may result in unacceptable

  • scillations

◮ How do we handle this situation?

24/34 Process Control Introduction to controllers

slide-25
SLIDE 25

Trade off between offset & control action

Recall the closed loop system:

∆Ysp

Kc ∆U G −

E

∆Y

◮ 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 Kc?

25/34 Process Control Introduction to controllers

slide-26
SLIDE 26

Introducing Integral Mode

u(t) = u + 1 τi t e(w)dw

◮ 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 τisE(s)

◮ Normally, we use a proportional-integral (PI)

controller

26/34 Process Control Introduction to controllers

slide-27
SLIDE 27

PI controller

PI controller: u(t) = u + Kc

  • e(t) + 1

τi t e(w)dw

  • r

∆U(s) = Kc

  • 1 + 1

τis

  • E(s)

◮ What is the steady state offset now?

27/34 Process Control Introduction to controllers

slide-28
SLIDE 28

Offset of I order system with PI Controller

Recall the closed loop system:

∆Ysp

Kc ∆U G −

E

∆Y

◮ Take G to be

K τs + 1

◮ In the place of Kc, use a PI controller, ◮ i.e. replace Kc with Gc = Kc

  • 1 + 1

τis

  • ◮ Calculate the step response of the C. L. System

◮ Calculate limt→∞ ∆y(t)

28/34 Process Control Introduction to controllers

slide-29
SLIDE 29

Why not use integral mode ALONE?

u uin

◮ 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

slide-30
SLIDE 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

slide-31
SLIDE 31

Integral mode generalises proportional mode

PI controller: ∆U(s) = Kc

  • 1 + 1

τis

  • E(s)
  • r

∆u(t) = Kc

  • e(t) + 1

τi t e(w)dw

  • = Kce(t) + Kc

1 τi t e(w)dw With e constant, after every t = τi, Kce gets added!

31/34 Process Control Introduction to controllers

slide-32
SLIDE 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

slide-33
SLIDE 33

What we learnt today

◮ Proportional Controller ◮ Proportional Integral Controller

33/34 Process Control Introduction to controllers

slide-34
SLIDE 34

Thank you

34/34 Process Control Introduction to controllers