Lecture 24 Examples of Bode Plots Process Control Prof. Kannan M. - - PowerPoint PPT Presentation

lecture 24 examples of bode plots
SMART_READER_LITE
LIVE PREVIEW

Lecture 24 Examples of Bode Plots Process Control Prof. Kannan M. - - PowerPoint PPT Presentation

Lecture 24 Examples of Bode Plots Process Control Prof. Kannan M. Moudgalya IIT Bombay Thursday, 26 September 2013 1/47 Process Control Examples of Bode Plots Outline 1. First order transfer function - recall 2. Gain, integral and


slide-1
SLIDE 1

Lecture 24 Examples of Bode Plots

Process Control

  • Prof. Kannan M. Moudgalya

IIT Bombay Thursday, 26 September 2013

1/47 Process Control Examples of Bode Plots

slide-2
SLIDE 2

Outline

  • 1. First order transfer function - recall
  • 2. Gain, integral and derivative
  • 3. Adding Bode plots

3.1 Two first order systems in series 3.2 Lead transfer function 3.3 First order system with delay

2/47 Process Control Examples of Bode Plots

slide-3
SLIDE 3

Recall: First order transfer function

◮ G(s) =

1 τs + 1, G(jω) = 1 jωτ + 1

◮ |G(jω)| =

1 √ ω2τ 2 + 1

◮ ω ≪ 1, |G(jω)| = 1,

3/47 Process Control Examples of Bode Plots

slide-4
SLIDE 4

Recall: First order transfer function

◮ G(s) =

1 τs + 1, G(jω) = 1 jωτ + 1

◮ |G(jω)| =

1 √ ω2τ 2 + 1

◮ ω ≪ 1, |G(jω)| = 1, M = 20 log |G(jw)| = 0 ◮ Asymptote is M = 0 ◮ ω ≫ 1, |G(jω)| =

1 ωτ , M = −20 log ωτ

◮ Asymptote is M = −20 log ωτ ◮ ω = ω1 ⇒ M = −20 log ω1τ ◮ ω = 10ω1 ⇒ M = −20 log ω1τ − 20 ◮ Slope of −20 dB per decade

3/47 Process Control Examples of Bode Plots

slide-5
SLIDE 5

Corner Frequency

◮ G(jω) =

1 jωτ + 1

◮ |G(jω)| =

1 √ ω2τ 2 + 1

◮ For ω ≪ 1, the asymptote is |G(jω)| = 1 ◮ ω ≫ 1, the asymptote is |G(jω)| =

1 ωτ

◮ Two asymptotes intersect at ω = 1/τ ◮ w = 1/τ is known as the corner frequency

4/47 Process Control Examples of Bode Plots

slide-6
SLIDE 6

Bode plot of

1 10s+1 in semilog scale

2

  • 50

Magnitude (dB)

  • 25
  • 10
  • 30
  • 35
  • 15
  • 40
  • 5
  • 45

10 10 10 10 10 10

  • 3
  • 2
  • 1

1

  • 20

Semilog

  • 80
  • 10
  • 50

Phase(deg)

  • 60
  • 20
  • 70

10 10 10 10 10 10

  • 3
  • 2
  • 1

1 2

  • 30
  • 90
  • 40

w(rad/sec)

5/47 Process Control Examples of Bode Plots

slide-7
SLIDE 7

Value at the corner frequency

◮ |G(jω)| =

1 √ ω2τ 2 + 1

◮ ω = 1/τ is known as the corner frequency ◮ At ω = 1/τ, what is M? ◮ M = −20 log

√ 2 = −10 log 2 ≃ −3 dB

6/47 Process Control Examples of Bode Plots

slide-8
SLIDE 8

Bode plot of

1 10s+1 in semilog scale

2

  • 50

Magnitude (dB)

  • 25
  • 10
  • 30
  • 35
  • 15
  • 40
  • 5
  • 45

10 10 10 10 10 10

  • 3
  • 2
  • 1

1

  • 20

Semilog

  • 80
  • 10
  • 50

Phase(deg)

  • 60
  • 20
  • 70

10 10 10 10 10 10

  • 3
  • 2
  • 1

1 2

  • 30
  • 90
  • 40

w(rad/sec)

7/47 Process Control Examples of Bode Plots

slide-9
SLIDE 9

Phase relations for a simple pole

◮ G(s) =

1 τs + 1, G(jω) = 1 jωτ + 1

◮ ω ≪ 1, G(jω) = 1, φ = ∠G(jw) = 0 ◮ ω ≫ 1, G(jω) =

1 jωτ , φ = −90◦

◮ For ω = 1/τ, G(jω) =

1 j1 + 1

◮ φ = −45◦

8/47 Process Control Examples of Bode Plots

slide-10
SLIDE 10

Bode plot of

1 10s+1 in semilog scale

2

  • 50

Magnitude (dB)

  • 25
  • 10
  • 30
  • 35
  • 15
  • 40
  • 5
  • 45

10 10 10 10 10 10

  • 3
  • 2
  • 1

1

  • 20

Semilog

  • 80
  • 10
  • 50

Phase(deg)

  • 60
  • 20
  • 70

10 10 10 10 10 10

  • 3
  • 2
  • 1

1 2

  • 30
  • 90
  • 40

w(rad/sec)

9/47 Process Control Examples of Bode Plots

slide-11
SLIDE 11

MCQ: First order system

Bode plot of a first order system has the following properties: A Slope = -20dB/decade for large frequency B w = 1/τ at corner frequency C φ = −45◦ at corner frequency D Phase reached at large frequencies = −90◦ Choose the correct answer:

  • 1. A and B only
  • 2. A and C only
  • 3. A, B and C only
  • 4. All four are correct

Answer: 4

10/47 Process Control Examples of Bode Plots

slide-12
SLIDE 12
  • 2. Gain, integral and derivative

11/47 Process Control Examples of Bode Plots

slide-13
SLIDE 13

Effect of Gain on Magnitude Bode Plot

◮ G(s)

= 100G1(s)

◮ M = 20 log |G(jω)| and M1 = 20 log |G1(jω)| ◮ Both M and M1 are plotted in the same graph,

in dB (decibel units) M and M1 are related in the following way:

  • 1. M is higher than M1 by 100 units
  • 2. M is higher than M1 by 40 units
  • 3. M is lower than M1 by 100 units
  • 4. The slopes of M and M1 are different by 100

units Answer: 2

12/47 Process Control Examples of Bode Plots

slide-14
SLIDE 14

Effect of Gain on Phase Bode Plot

◮ G(s)

= 100G1(s)

◮ φ = ∠G(jω) and φ1 = ∠G1(jω) ◮ Both φ and φ1 are plotted in the same graph

φ and φ1 are related in the following way:

  • 1. φ is higher than φ1 by 100 units
  • 2. φ is higher than φ1 by 40 units
  • 3. Both φ and φ1 plots are identical
  • 4. There is no relation between φ and φ1

Answer: 3

13/47 Process Control Examples of Bode Plots

slide-15
SLIDE 15

Effect of gain

◮ G(s)

= KG1(s), K > 0

◮ M = 20 log |G(jω)| = 20 log |KG1(jω)| ◮ M = 20 log K+ 20 log |G1(jω)|, K > 0 ◮ Example: K = 100 ◮ M = 40 + 20 log |G1(jω)| ◮ At every frequency, add 40 dB! ◮ Phase plots of G1 and G are identical

14/47 Process Control Examples of Bode Plots

slide-16
SLIDE 16

Effect of integral mode or pole at zero

◮ G(s) = 1

s

◮ G(jω) = 1

◮ M = 20 log |G(jω)| = −20 log ω ◮ Has a slope of −20 dB per decade ◮ φ = ∠G(jω) = −90◦

15/47 Process Control Examples of Bode Plots

slide-17
SLIDE 17

Scilab code bode-5.sce

1

exec ( ’ bodegen −1. s c i ’ ) ;

2 3

s = %s;

4 num = 1 ; 5 den = s ; 6 7 w = 0 . 0 1 : 0 . 0 0 2 : %pi ˆ0; 8 LF = ” s e m i l o g ” 9 10 bodegen (num , den ,w, LF ) ; 16/47 Process Control Examples of Bode Plots

slide-18
SLIDE 18

Bode plot of a pole at zero

10 5 10 15 20 25 30 35 40 10 10

  • 2
  • 1

Magnitude (dB) Semilog

  • 92

Phase(deg)

  • 100
  • 98
  • 96
  • 94
  • 90
  • 88
  • 86
  • 84
  • 82
  • 80

10 10 10

  • 2
  • 1

w(rad/sec)

17/47 Process Control Examples of Bode Plots

slide-19
SLIDE 19

Bode plot of pure derivative action

◮ G(s) = s ◮ G(jω) = jω ◮ M = 20 log |G(jω)| = 20 log ω ◮ Has a slope of +20 dB per decade ◮ φ = ∠G(jω) = +90◦

18/47 Process Control Examples of Bode Plots

slide-20
SLIDE 20

Scilab code bode-5.sce

Exchange the values of num and den and execute

19/47 Process Control Examples of Bode Plots

slide-21
SLIDE 21
  • 3. Adding Bode Plots

20/47 Process Control Examples of Bode Plots

slide-22
SLIDE 22
  • 3a. Two first order systems in series

21/47 Process Control Examples of Bode Plots

slide-23
SLIDE 23

Product of two first order systems

G(s) = 1 s + 1 1 0.01s + 1

◮ Plot M for each transfer function separately ◮ What are the corner frequencies? For the first, ◮ it is 1 ◮ For the second, it is 1/0.01 = 100 ◮ Add the two ◮ Draw φ for each transfer function separately ◮ Add the two ◮ Scilab code and the plots are given next

22/47 Process Control Examples of Bode Plots

slide-24
SLIDE 24

Magnitude Bode Plot

23/47 Process Control Examples of Bode Plots

slide-25
SLIDE 25

Phase Bode Plot

24/47 Process Control Examples of Bode Plots

slide-26
SLIDE 26

Scilab code bode-2.sce

Scilab code:

1

exec ( ’ bodesum −2. s c i ’ ) ;

2

s = %s;

3 G1 = 1/( s +1) ; 4

gai n = 1/(0.01∗ s +1) ;

5

d e l a y = 0 ;

6 w = 0 . 0 1 : 0 . 0 0 8 ∗ %pi :1000∗ %pi ; 7 bodesum 1 (G1 , delay , gain ,w) ; 25/47 Process Control Examples of Bode Plots

slide-27
SLIDE 27

Scilab code bodesum-2.sci I

Scilab code:

1

/ / B o d e p l o t a s a s u m

  • f

c o m p o n e n t s

2 3

f u n c t i o n bodesum 1 (G1 , delay , gain ,w)

4 5

G1 freq = horner (G1 , %i∗w) ;

6 G1 mag = 20∗ log10 ( abs ( G1 freq ) ) ; 7

g a i n f r e q = horner ( gain , %i∗w) ;

8

gain mag = 20∗ log10 ( abs ( g a i n f r e q ) ) ;

9 10

x s e t ( ’ window ’ ,0) ; c l f ( ) ;

11

s u b p l o t ( 3 , 1 , 1)

26/47 Process Control Examples of Bode Plots

slide-28
SLIDE 28

Scilab code bodesum-2.sci II

12

p l o t 2 d (w, G1 mag , l o g f l a g=’ l n ’ , s t y l e = 2) ;

13

x g r i d ( ) ;

14

x t i t l e ( ’ Magnitude Bode p l o t as sum

  • f

component p l o t s ’ , ’ ’ , ’G1 (dB) ’ ) ;

15

s u b p l o t ( 3 , 1 , 2)

16

p l o t 2 d (w, gain mag , l o g f l a g=” l n ” , s t y l e = 2) ;

17

x g r i d ( ) ;

18

x t i t l e ( ’ ’ , ’ ’ , ’ g a i n d e l a y (dB) ’ ) ;

19

s u b p l o t ( 3 , 1 , 3)

27/47 Process Control Examples of Bode Plots

slide-29
SLIDE 29

Scilab code bodesum-2.sci III

20

p l o t 2 d (w, G1 mag+gain mag , l o g f l a g=” l n ” , s t y l e = 2) ;

21

x g r i d ( ) ;

22

x t i t l e ( ’ ’ , ’ Phase ( deg ) ’ , ’G1+ g a i n d e l a y ’ ) ;

23 24 G1 ph = phasemag ( G1 freq ) ; 25

g a i n p h = phasemag ( g a i n f r e q ) −d e l a y ∗w∗180/%pi ;

26 27

x s e t ( ’ window ’ ,1) ; c l f ( ) ;

28

s u b p l o t ( 3 , 1 , 1)

28/47 Process Control Examples of Bode Plots

slide-30
SLIDE 30

Scilab code bodesum-2.sci IV

29

p l o t 2 d (w, G1 ph , l o g f l a g=’ l n ’ , s t y l e = 2) ;

30

x g r i d ( ) ;

31

x t i t l e ( ’ Phase Bode p l o t as sum

  • f

component p l o t s ’ , ’ ’ , ’G1 ( phase ) ’ ) ;

32

s u b p l o t ( 3 , 1 , 2)

33

p l o t 2 d (w, gain ph , l o g f l a g=” l n ” , s t y l e = 2) ;

34

x g r i d ( ) ;

35

x t i t l e ( ’ ’ , ’ ’ , ’ g a i n d e l a y ( phase ) ’ ) ;

36

s u b p l o t ( 3 , 1 , 3)

29/47 Process Control Examples of Bode Plots

slide-31
SLIDE 31

Scilab code bodesum-2.sci V

37

p l o t 2 d (w, G1 ph+gain ph , l o g f l a g=” l n ” , s t y l e = 2) ;

38

x g r i d ( ) ;

39

x t i t l e ( ’ ’ , ’ Phase ( deg ) ’ , ’G1+ g a i n d e l a y ’ ) ;

40

e n d f u n c t i o n ;

30/47 Process Control Examples of Bode Plots

slide-32
SLIDE 32

Magnitude Bode Plot

31/47 Process Control Examples of Bode Plots

slide-33
SLIDE 33

Phase Bode Plot

32/47 Process Control Examples of Bode Plots

slide-34
SLIDE 34
  • 3b. Lead Transfer Function

33/47 Process Control Examples of Bode Plots

slide-35
SLIDE 35

Lead Transfer Function

◮ Consider the lead transfer function:

G(s) = s + 1 0.01s + 1

◮ Corner frequencies are 1 and 100 ◮ Magnitude plot of s + 1 has a slope of +20 dB ◮ Phase plot of s + 1 increases, goes to 90◦ ◮ Magnitude plot of 1/(0.01s + 1) has a slope of

−20 dB

◮ Phase plot of 1/(0.01s + 1) decreases, goes to

−90◦

◮ Add the two ◮ Scilab code is given next

34/47 Process Control Examples of Bode Plots

slide-36
SLIDE 36

Magnitude Bode Plot

35/47 Process Control Examples of Bode Plots

slide-37
SLIDE 37

Phase Bode Plot

36/47 Process Control Examples of Bode Plots

slide-38
SLIDE 38

Scilab code bode-2a.sce

1

exec ( ’ bodesum −2. s c i ’ ) ;

2

s = %s;

3 G1 = 1/(0.01∗ s +1) ; 4

gai n = ( s +1) ;

5

d e l a y = 0 ;

6 w = 0 . 0 1 : 0 . 0 0 8 ∗ %pi :1000∗ %pi ; 7 bodesum 1 (G1 , delay , gain ,w) ; 37/47 Process Control Examples of Bode Plots

slide-39
SLIDE 39
  • 3c. First order system with delay

38/47 Process Control Examples of Bode Plots

slide-40
SLIDE 40

Effect of Delay on Magnitude Bode Plot

◮ G(s)

= G1(s)e−Ds

◮ M = 20 log |G(jω)| and M1 = 20 log |G1(jω)| ◮ Both M and M1 are plotted in the same graph,

in dB (decibel units) M and M1 are related in the following way:

  • 1. M is lower than M1 by D units
  • 2. M is lower than M1 by 1 unit
  • 3. M and M1 are identical
  • 4. There is no relation between M and M1

Answer: 3

39/47 Process Control Examples of Bode Plots

slide-41
SLIDE 41

Effect of Delay on Phase Bode Plot

◮ G(s)

= G1(s)e−Ds

◮ φ = ∠G(jω) and φ1 = ∠G1(jω) ◮ Both φ and φ1 are plotted in the same graph

φ and φ1 are related in the following way:

  • 1. φ is lower than φ1 by D units
  • 2. φ is obtained from φ1 by subtracting Dω at

every ω

  • 3. Both φ and φ1 plots are identical
  • 4. There is no relation between φ and φ1

Answer: 2

40/47 Process Control Examples of Bode Plots

slide-42
SLIDE 42

Scilab code for delay

◮ G(s) = e−Ds ◮ G(jω) = e−jDω ◮ G(jω) = cos Dω − j sin Dω ◮ φ = ∠G(jω) = tan−1

  • − sin Dω

cos Dω

  • ◮ φ = −Dω

◮ What about magnitude plot? ◮ M = 1 for all ω

41/47 Process Control Examples of Bode Plots

slide-43
SLIDE 43

Scilab code bode-3.sce

Bode plot of G(s) = 1 s + 1e−0.01s

1

exec ( ’ bodesum −2. s c i ’ ) ;

2

s = %s;

3 G1 = 1/( s +1) ; 4

gai n = 1 ;

5

d e l a y = 0 . 0 1 ;

6 w = 0 . 0 1 : 0 . 0 0 8 ∗ %pi :10∗ %pi ; 7 bodesum 1 (G1 , delay , gain ,w) ; 42/47 Process Control Examples of Bode Plots

slide-44
SLIDE 44

Magnitude Bode Plot

43/47 Process Control Examples of Bode Plots

slide-45
SLIDE 45

Phase Bode Plot

44/47 Process Control Examples of Bode Plots

slide-46
SLIDE 46

Guidelines for drawing Bode plots

◮ Axes: log axis for abscissa and normal axis for

  • rdinate

◮ For each component transfer function,

◮ Draw the asymptotes ◮ Locate the value at corner frequency ◮ Connect approximately and complete the plots

◮ Add the component values

45/47 Process Control Examples of Bode Plots

slide-47
SLIDE 47

Lecture 25 Stability Analysis through Bode Plots

Process Control

  • Prof. Kannan M. Moudgalya

IIT Bombay Monday, 30 September 2013

1/36 Process Control Stability Analysis through Bode Plots

slide-48
SLIDE 48

Outline

  • 1. Self study of a second order underdamped

system

  • 2. Stability analysis
  • 3. Gain margin and phase crossover

frequency

  • 4. Phase margin and gain crossover

frequency

2/36 Process Control Stability Analysis through Bode Plots

slide-49
SLIDE 49
  • 1. Second order underdamped system

3/36 Process Control Stability Analysis through Bode Plots

slide-50
SLIDE 50

Homework: Bode plot of a second order underdamped system

4/36 Process Control Stability Analysis through Bode Plots

slide-51
SLIDE 51

Tutorial problem

Draw the bode plot of G(s) = 1 s2 + 8s + 64

◮ ωn = 8, ζ = 0.5

5/36 Process Control Stability Analysis through Bode Plots

slide-52
SLIDE 52

Scilab code bode-6.sce

1

exec ( ’ bodegen −1. s c i ’ ) ;

2 3

s = %s;

4 num = 1 ; 5 den = s ˆ2+8∗ s +64; 6 7 w = 0 . 1 : 0 . 0 2 : 1 0 0 ∗ %pi ; 8 LF = ” s e m i l o g ” 9 10 bodegen (num , den ,w, LF ) ; 6/36 Process Control Stability Analysis through Bode Plots

slide-53
SLIDE 53

Bode plot of an underdamped pole

10

  • 60

2

  • 70

Magnitude (dB)

  • 80
  • 30
  • 90
  • 1

3

  • 100
  • 40
  • 50

10 10 10 10 1 Semilog Phase(deg) 10 10 10 10 10

  • 1

1 2 3

  • 180
  • 160
  • 140
  • 120
  • 100
  • 80
  • 60
  • 40
  • 20

w(rad/sec)

7/36 Process Control Stability Analysis through Bode Plots

slide-54
SLIDE 54
  • 2. Stability analysis using Bode plots

8/36 Process Control Stability Analysis through Bode Plots

slide-55
SLIDE 55

Instability Problem Statement

◮ G(s) is open loop transfer function ◮ Does not have poles and zeros on RHP ◮ Put in a closed loop with a proportional

controller Kc

◮ As Kc increases, closed loop system

becomes unstable

◮ We will first see the root locus plot

conditions

9/36 Process Control Stability Analysis through Bode Plots

slide-56
SLIDE 56

Root locus stability conditions

◮ Root locus is the locus of roots of

1 + KcG(s) = 0, as Kc goes from 0 to ∞

◮ 1 + KcG(s) = 0 or KcG(s) = −1 ◮ Magnitude and phase relations: ◮ |KcG(s)| = 1

∠KcG(s) = −180◦, +180◦, ±540◦, etc.

◮ We will now see the conditions using

Bode plot

10/36 Process Control Stability Analysis through Bode Plots

slide-57
SLIDE 57

Stability conditions for Bode plots

◮ To obtain Bode plots, substitute s = jω ◮ This corresponds to the imaginary axis of

s plane

◮ Root locus conditions become,

|KuG(jω)| = 1, ∠KuG(jω) = −180◦, ±540, etc.

◮ Because it is the boundary of instability,

we have used Ku

◮ Kc > Ku ⇒ closed loop system unstable ◮ Can analyse stability using Bode plot ◮ Can check by how much we can move

◮ magnitude plot by adding gain ◮ phase plot by adding delay 11/36 Process Control Stability Analysis through Bode Plots

slide-58
SLIDE 58

Restrict focus to class of systems

◮ Restrict Bode plot analysis to a class of

systems

◮ For Kc < Ku, system is stable ◮ For Kc ≥ Ku, system is unstable

12/36 Process Control Stability Analysis through Bode Plots

slide-59
SLIDE 59

Example

Find a proportional controller Kc that will make G(s) = 15 (s + 1)(s + 2)(s + 3) unstable, when put in a feedback loop.

13/36 Process Control Stability Analysis through Bode Plots

slide-60
SLIDE 60

Stability condition for example

◮ 1 + KcG(s) = 0 ◮ 1 +

15Kc (s + 1)(s + 2)(s + 3) = 0

◮ (s + 1)(s + 2)(s + 3) + 15Kc = 0 ◮ s3 + 6s2 + 11s + (15Kc + 6) = 0 ◮ Cuts imaginary axis at Kc = 4 ◮ Ku = 4 ◮ Stable for Kc < 4

14/36 Process Control Stability Analysis through Bode Plots

slide-61
SLIDE 61

Scilab code bode-10.sce

1

exec ( ’ bodedel . s c i ’ ) ;

2 3

s = %s;

4 K = 1 ; 5 D = 0 . 1 ; 6 num = 15; 7 den = ( s +1) ∗( s +2) ∗( s +3) ; 8 G = num/den ; 9 10 w = 0 . 0 1 : 0 . 0 2 : 5 ; 11 12

bodedel (G,D,K,w) ;

15/36 Process Control Stability Analysis through Bode Plots

slide-62
SLIDE 62

Scilab code bodedel.sci I

1

/ / B o d e p l o t w i t h d e l a y a n d g a i n

2 3

f u n c t i o n bodedel (G1 , delay , gain ,w )

4 5

G1 freq = horner (G1 , %i∗w) ;

6 G1 mag = 20∗ log10 ( abs ( G1 freq ) ) ; 7

g a i n f r e q = horner ( gain , %i∗w) ;

8

gain mag = 20∗ log10 ( abs ( g a i n f r e q ) ) ;

9 10

/ / x s e t ( ’ w i n d o w ’ , 0 ) ; c l f ( ) ;

16/36 Process Control Stability Analysis through Bode Plots

slide-63
SLIDE 63

Scilab code bodedel.sci II

11 12

s u b p l o t ( 2 , 1 , 1)

13

x g r i d ( ) ;

14

x t i t l e ( ’ Bode p l o t ’ , ’ ’ , ’G1 (dB) ’ ) ;

15

p l o t 2 d (w, G1 mag+gain mag , l o g f l a g =” l n ” , s t y l e = 1) ;

16 17 G1 ph = phasemag ( G1 freq ) ; 18

g a i n p h = phasemag ( g a i n f r e q ) − d e l a y ∗w∗180/%pi ;

19 17/36 Process Control Stability Analysis through Bode Plots

slide-64
SLIDE 64

Scilab code bodedel.sci III

20

s u b p l o t ( 2 , 1 , 2)

21

x t i t l e ( ’ ’ , ’w i n rad ’ , ’ Phase ’ ) ;

22

p l o t 2 d (w, G1 ph+gain ph , l o g f l a g=” l n ” , s t y l e = 1) ;

23

x g r i d ( ) ;

24

e n d f u n c t i o n ;

18/36 Process Control Stability Analysis through Bode Plots

slide-65
SLIDE 65
  • 3. Gain margin and

phase crossover frequency

19/36 Process Control Stability Analysis through Bode Plots

slide-66
SLIDE 66

Increasing the gain

G1 (dB)

  • 2
  • 1

1

10 15 10 5 10

  • 5
  • 10
  • 15
  • 20
  • 25

10 10 Bode plot

  • 250
  • 200
  • 150
  • 100
  • 50

10 10 10 10

  • 2
  • 1

1

Phase

When K is increased, Magnitude plot goes up

20/36 Process Control Stability Analysis through Bode Plots

slide-67
SLIDE 67

Increasing the gain further

G1 (dB)

  • 1

1 10 10 20 15 10 5

  • 5
  • 10
  • 15
  • 20
  • 25

10 10

  • 2

Bode plot

  • 250
  • 200
  • 150
  • 100
  • 50

10 10 10 10

  • 2
  • 1

1 Phase

  • mag. plot goes through 0dB

When Kc is increased to 4 ωpc Gain Margin = 4 = 12dB

21/36 Process Control Stability Analysis through Bode Plots

slide-68
SLIDE 68

Phase Crossover Frequency

◮ The frequency ω at which

∠G(jω) = −180◦

◮ is called Phase Crossover Frequency ◮ It is denoted by ωpc ◮ That is, ∠G(jωpc) = −180◦ ◮ Some people call it as simply crossover

frequency, and denote it as ωc

22/36 Process Control Stability Analysis through Bode Plots

slide-69
SLIDE 69

Gain Margin

◮ Locate ωc, where ∠G(jωc) = −180◦ ◮ Find |G(jωc)| at that point ◮ Can increase gain of the system by Kc

until Kc|G(jωc)| = 1

◮ Can verify that we can increase Kc until 4 ◮ Gain margin = 4 or 12 dB ◮ Draw the Bode plot and verify

23/36 Process Control Stability Analysis through Bode Plots

slide-70
SLIDE 70
  • 3. Phase margin and

gain crossover frequency

24/36 Process Control Stability Analysis through Bode Plots

slide-71
SLIDE 71

Gain Crossover Frequency

10

  • 25
  • 20
  • 15
  • 10
  • 5

5 10 10 10 10

  • 2
  • 1

1 G1 (dB) Bode plot

  • 150
  • 300
  • 250
  • 200
  • 100
  • 50

10 10 10 10

  • 2
  • 1

1 Phase

ωg

The frequency where |G(jω)| = 0 dB is called gain crossover frequency

25/36 Process Control Stability Analysis through Bode Plots

slide-72
SLIDE 72

Increasing the delay

10

  • 25
  • 20
  • 15
  • 10
  • 5

5 10 10 10 10

  • 2
  • 1

1 G1 (dB) Bode plot

  • 150
  • 300
  • 250
  • 200
  • 100
  • 50

10 10 10 10

  • 2
  • 1

1 Phase

When D increases Phase lag increases

26/36 Process Control Stability Analysis through Bode Plots

slide-73
SLIDE 73

Increasing the delay further

10 G1 (dB)

  • 25
  • 20
  • 15
  • 10
  • 5

5 10 10 10 10

  • 2
  • 1

1 Bode plot 10

  • 100

10

  • 150

10

  • 200

Phase 10

  • 250
  • 300
  • 2
  • 350
  • 1
  • 400

1

  • 50

Phase becomes −180 deg When D is increased to 0.63

27/36 Process Control Stability Analysis through Bode Plots

slide-74
SLIDE 74

Bode plot by changing delay

◮ Suppose G(s) changes to

G1(s) = G(s)e−Ds

◮ What is D such that when |G1(jω)| = 1,

∠G1(jω) = −180◦?

◮ Call this ω as ωg, or

gain crossover frequency

28/36 Process Control Stability Analysis through Bode Plots

slide-75
SLIDE 75

Calculation of Delay

◮ |G(jωg)| = 1 ◮ G(s) =

15 (s + 1)(s + 2)(s + 3)

◮ (ω2

g + 1)(ω2 g + 4)(ω2 g + 9) = 225

◮ ωg ≃ 1.57 ◮ φ(jωg) =

− tan−1(ωg) − tan−1(ωg/2) − tan−1(ωg/3)

◮ = −123.2◦ ◮ If delay contributes −56.8◦

(= 180 − 123.2◦), instability

◮ Dωg = 56.8

180 × π ⇒ D = 0.63

29/36 Process Control Stability Analysis through Bode Plots

slide-76
SLIDE 76

Application to example

◮ Can find ωg = 1.57, approximately ◮ Can increase D to D = 0.63

30/36 Process Control Stability Analysis through Bode Plots

slide-77
SLIDE 77

Restrictions

This analysis is valid only for systems that have

◮ stable systems, with at most one pole on

imaginary axis

◮ only one ωc ◮ only one ωg

31/36 Process Control Stability Analysis through Bode Plots

slide-78
SLIDE 78

Gain margin

G1 (dB)

  • 1

1 10 10 20 15 10 5

  • 5
  • 10
  • 15
  • 20
  • 25

10 10

  • 2

Bode plot Phase

  • 2
  • 1

1 10

  • 50
  • 100

10

  • 150
  • 200
  • 250
  • 300
  • 350
  • 400

10 10

Gain Margin = 12 dB

32/36 Process Control Stability Analysis through Bode Plots

slide-79
SLIDE 79

Phase margin

G1 (dB)

  • 1

1

10 10 20 15 10 5

  • 5
  • 10
  • 15
  • 20
  • 25

10 10

  • 2

Bode plot Phase

  • 2
  • 1

1

10

  • 50
  • 100

10

  • 150
  • 200
  • 250
  • 300
  • 350
  • 400

10 10

Phase Margin = 56.8 deg ωgc

33/36 Process Control Stability Analysis through Bode Plots

slide-80
SLIDE 80

Stabilising through derivative mode

34/36 Process Control Stability Analysis through Bode Plots

slide-81
SLIDE 81

What we learnt today

◮ Stability conditions using Bode plot ◮ Stability margins

35/36 Process Control Stability Analysis through Bode Plots

slide-82
SLIDE 82

Thank you

36/36 Process Control Stability Analysis through Bode Plots