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
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
1/47 Process Control Examples of Bode Plots
2/47 Process Control Examples of Bode Plots
◮ G(s) =
◮ |G(jω)| =
◮ ω ≪ 1, |G(jω)| = 1,
3/47 Process Control Examples of Bode Plots
◮ G(s) =
◮ |G(jω)| =
◮ ω ≪ 1, |G(jω)| = 1, M = 20 log |G(jw)| = 0 ◮ Asymptote is M = 0 ◮ ω ≫ 1, |G(jω)| =
◮ 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
◮ G(jω) =
◮ |G(jω)| =
◮ For ω ≪ 1, the asymptote is |G(jω)| = 1 ◮ ω ≫ 1, the asymptote is |G(jω)| =
◮ Two asymptotes intersect at ω = 1/τ ◮ w = 1/τ is known as the corner frequency
4/47 Process Control Examples of Bode Plots
2
Magnitude (dB)
10 10 10 10 10 10
1
Semilog
Phase(deg)
10 10 10 10 10 10
1 2
w(rad/sec)
5/47 Process Control Examples of Bode Plots
◮ |G(jω)| =
◮ ω = 1/τ is known as the corner frequency ◮ At ω = 1/τ, what is M? ◮ M = −20 log
6/47 Process Control Examples of Bode Plots
2
Magnitude (dB)
10 10 10 10 10 10
1
Semilog
Phase(deg)
10 10 10 10 10 10
1 2
w(rad/sec)
7/47 Process Control Examples of Bode Plots
◮ G(s) =
◮ ω ≪ 1, G(jω) = 1, φ = ∠G(jw) = 0 ◮ ω ≫ 1, G(jω) =
◮ For ω = 1/τ, G(jω) =
◮ φ = −45◦
8/47 Process Control Examples of Bode Plots
2
Magnitude (dB)
10 10 10 10 10 10
1
Semilog
Phase(deg)
10 10 10 10 10 10
1 2
w(rad/sec)
9/47 Process Control Examples of Bode Plots
10/47 Process Control Examples of Bode Plots
11/47 Process Control Examples of Bode Plots
◮ G(s)
△
◮ M = 20 log |G(jω)| and M1 = 20 log |G1(jω)| ◮ Both M and M1 are plotted in the same graph,
12/47 Process Control Examples of Bode Plots
◮ G(s)
△
◮ φ = ∠G(jω) and φ1 = ∠G1(jω) ◮ Both φ and φ1 are plotted in the same graph
13/47 Process Control Examples of Bode Plots
◮ G(s)
△
◮ 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
◮ G(s) = 1
◮ 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
1
2 3
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
10 5 10 15 20 25 30 35 40 10 10
Magnitude (dB) Semilog
Phase(deg)
10 10 10
w(rad/sec)
17/47 Process Control Examples of Bode Plots
◮ 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
19/47 Process Control Examples of Bode Plots
20/47 Process Control Examples of Bode Plots
21/47 Process Control Examples of Bode Plots
◮ 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
23/47 Process Control Examples of Bode Plots
24/47 Process Control Examples of Bode Plots
1
2
3 G1 = 1/( s +1) ; 4
5
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
1
/ / B o d e p l o t a s a s u m
c o m p o n e n t s
2 3
4 5
6 G1 mag = 20∗ log10 ( abs ( G1 freq ) ) ; 7
8
9 10
11
26/47 Process Control Examples of Bode Plots
12
13
14
15
16
17
18
19
27/47 Process Control Examples of Bode Plots
20
21
22
23 24 G1 ph = phasemag ( G1 freq ) ; 25
26 27
28
28/47 Process Control Examples of Bode Plots
29
30
31
32
33
34
35
36
29/47 Process Control Examples of Bode Plots
37
38
39
40
30/47 Process Control Examples of Bode Plots
31/47 Process Control Examples of Bode Plots
32/47 Process Control Examples of Bode Plots
33/47 Process Control Examples of Bode Plots
◮ Consider the lead transfer function:
◮ 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
◮ Phase plot of 1/(0.01s + 1) decreases, goes to
◮ Add the two ◮ Scilab code is given next
34/47 Process Control Examples of Bode Plots
35/47 Process Control Examples of Bode Plots
36/47 Process Control Examples of Bode Plots
1
2
3 G1 = 1/(0.01∗ s +1) ; 4
5
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
38/47 Process Control Examples of Bode Plots
◮ G(s)
△
◮ M = 20 log |G(jω)| and M1 = 20 log |G1(jω)| ◮ Both M and M1 are plotted in the same graph,
39/47 Process Control Examples of Bode Plots
◮ G(s)
△
◮ φ = ∠G(jω) and φ1 = ∠G1(jω) ◮ Both φ and φ1 are plotted in the same graph
40/47 Process Control Examples of Bode Plots
◮ G(s) = e−Ds ◮ G(jω) = e−jDω ◮ G(jω) = cos Dω − j sin Dω ◮ φ = ∠G(jω) = tan−1
◮ What about magnitude plot? ◮ M = 1 for all ω
41/47 Process Control Examples of Bode Plots
1
2
3 G1 = 1/( s +1) ; 4
5
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
43/47 Process Control Examples of Bode Plots
44/47 Process Control Examples of Bode Plots
◮ Axes: log axis for abscissa and normal axis for
◮ 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
◮ Bode plots of examples ◮ First order transfer function ◮ Gain, integral, derivative, delay ◮ Adding Bode plots
46/47 Process Control Examples of Bode Plots
47/47 Process Control Examples of Bode Plots