Step Response Analysis. Frequency Response, Relation Between Model - - PowerPoint PPT Presentation

step response analysis frequency response relation
SMART_READER_LITE
LIVE PREVIEW

Step Response Analysis. Frequency Response, Relation Between Model - - PowerPoint PPT Presentation

Step Response Analysis. Frequency Response, Relation Between Model Descriptions Automatic Control, Basic Course, Lecture 3 Gustav Nilsson 17 November 2016 Lund University, Department of Automatic Control Content 1. Step Response Analysis 2.


slide-1
SLIDE 1

Step Response Analysis. Frequency Response, Relation Between Model Descriptions

Automatic Control, Basic Course, Lecture 3

Gustav Nilsson 17 November 2016

Lund University, Department of Automatic Control

slide-2
SLIDE 2

Content

  • 1. Step Response Analysis
  • 2. Frequency Response
  • 3. Relation between Model Descriptions

2

slide-3
SLIDE 3

Step Response Analysis

slide-4
SLIDE 4

Steup Response

From the last lecture, we know that if the input u(t) is a step, then the

  • utput in the Laplace domain is

Y (s) = G(s)U(s) = G(s)1 s It is possible to do an inverse transform of Y (s) to get y(t), but is it possible to claim things about y(t) by only studying Y (s)? We will study how the poles affects the step response. (The zeros will be discussed later)

4

slide-5
SLIDE 5

Initial and Final Value Theorem

Let F(s) be the Laplace transformation of f (t), i.e., F(s) = L(f (t))(s). Given that the limits below exist, it holds that: Initial value theorem limt→0 f (t) = lims→+∞ sF(s) Final value theorem limt→+∞ f (t) = lims→0 sF(s) For a step response we have that: lim

t→+∞ y(t) = lim s→0 sY (s) = lim s→0 sG(s)1

s = G(0)

5

slide-6
SLIDE 6

First Order System

−1.5 −1 −0.5 0.5 −1 −0.5 0.5 1

T = 1 T = 2T = 5

Re Im Singularity Chart 5 10 15 0.5 1 t y(t) Step Response

G(s) = K 1 + sT One pole in s = −1/T Step response: Y (s) = G(s)1 s = K s(1 + sT)

L−1

− − → y(t) = K

  • 1 − e−t/T

6

slide-7
SLIDE 7

First Order System

−1.5 −1 −0.5 0.5 −1 −0.5 0.5 1

T = 1 T = 2T = 5

Re Im Singularity Chart 5 10 15 0.5 1 t y(t) Step Response

G(s) = K 1 + sT Final value: lim

t→+∞ y(t) = lim s→0 sY (s) = lim s→0

K s(1 + sT) = K

6

slide-8
SLIDE 8

First Order System

−1.5 −1 −0.5 0.5 −1 −0.5 0.5 1

T = 1 T = 2T = 5

Re Im Singularity Chart 5 10 15 0.5 1 t y(t) Step Response

G(s) = K 1 + sT T is called the time-constant: y(T) = K(1 − e−T/T) = K(1 − e−1) ≈ 0.63K I.e., T is time it takes for the step response to reach 63% of its final value

6

slide-9
SLIDE 9

First Order System

−1.5 −1 −0.5 0.5 −1 −0.5 0.5 1

T = 1 T = 2T = 5

Re Im Singularity Chart 5 10 15 0.5 1 t y(t) Step Response

G(s) = K 1 + sT Derivative at zero: lim

t→0 ˙

y(t) = lim

s→+∞ s · sY (s) =

lim

s→+∞

s2K s(1 + sT) = K T

6

slide-10
SLIDE 10

Second Order System With Real Poles

−1.5 −1 −0.5 0.5 −1 −0.5 0.5 1

T = 1 T = 2

Re Im Singularity Chart 5 10 15 0.5 1 t y(t) Step Response

G(s) = K (1 + sT1)(1 + sT2) Poles in s = −1/T1 and s = −1/T2. Step response: y(t) =    K

  • 1 − T1e−t/T1−T2e−t/T2

T1−T2

  • T1 = T2

K

  • 1 − e−t/T − t

T e−t/T

T1 = T2 = T

7

slide-11
SLIDE 11

Second Order System With Real Poles

−1.5 −1 −0.5 0.5 −1 −0.5 0.5 1

T = 1 T = 2

Re Im Singularity Chart 5 10 15 0.5 1 t y(t) Step Response

G(s) = K (1 + sT1)(1 + sT2) Final value: lim

t→+∞ = lim s→0 sY (s) = lim s→0

sK s(1 + sT1)(1 + sT2) = K

7

slide-12
SLIDE 12

Second Order System With Real Poles

−1.5 −1 −0.5 0.5 −1 −0.5 0.5 1

T = 1 T = 2

Re Im Singularity Chart 5 10 15 0.5 1 t y(t) Step Response

G(s) = K (1 + sT1)(1 + sT2) Derivative at zero: lim

t→0 ˙

y(t) = lim

s→+∞ s · sY (s) =

lim

s→+∞

s2K s(1 + sT1)(1 + sT2) = 0

7

slide-13
SLIDE 13

Second Order System With Complex Poles

G(s) = Kω2 s2 + 2ζω0s + ω2 , 0 < ζ < 1 Relative damping ζ, related to the angle ϕ ζ = cos(ϕ)

−1 1 −1 −0.5 0.5 1 ω0 ϕ Re Im Singularity Chart

8

slide-14
SLIDE 14

Second Order System With Complex Poles

G(s) = Kω2 s2 + 2ζω0s + ω2 , 0 < ζ < 1 Inverse transformation yields: y(t) = K

  • 1 −

1

  • 1 − ζ2 e−ζω0t sin
  • ω0
  • 1 − ζ2t + arccos ζ
  • 8
slide-15
SLIDE 15

Second Order System With Complex Poles

G(s) = Kω2 s2 + 2ζω0s + ω2 , 0 < ζ < 1

−1 1 −1 1 ω0 = 1 ω0 = 1.5 ω0 = 0.5 Re Im Singularity Chart 5 10 15 0.5 1 t y(t) Step Response

8

slide-16
SLIDE 16

Second Order System With Complex Poles

G(s) = Kω2 s2 + 2ζω0s + ω2 , 0 < ζ < 1

−1 1 −1 1 ζ = 0.3 ζ = 0.7 ζ = 0.9 Re Im Singularity Chart 5 10 15 0.5 1 1.5 t y(t) Step Response

8

slide-17
SLIDE 17

Frequency Response

slide-18
SLIDE 18

Sinusoidial Input

Given a transfer function G(s), what happens if we let the input be u(t) = sin(ωt)?

5 10 15 20 −1 −0.5 0.5 1 t y(t) 5 10 15 20 −1 −0.5 0.5 1 t u(t)

10

slide-19
SLIDE 19

Sinusoidial Input

It can be shown that if the input is u(t) = sin(ωt), the output will be y(t) = a sin(ωt + ϕ) where a = |G(iω)| ϕ = arg G(iω) So if we determine a and ϕ for different frequencies, we have a description of the transfer function.

11

slide-20
SLIDE 20

Bode Plot

Idea: Plot |G(iω)| and arg G(iω) for different frequencies ω.

10−2 10−1 100 101 102 10−3 10−2 10−1 100 101 Magnitude (abs) 10−2 10−1 100 101 102 −180 −135 −90 −45 Frequency (rad/s) Phase (deg)

12

slide-21
SLIDE 21

Bode Plot - Products of Transfer Functions

Let G(s) = G1(s)G2(s)G3(s) then log |G(iω)| = log |G1(iω)| + log |G2(iω)| + log |G3(iω)| arg G(iω) = arg G1(iω) + arg G2(iω) + arg G3(iω) This means that we can construct Bode plots of transfer functions from simple ”building blocks” for which we know the Bode plots.

13

slide-22
SLIDE 22

Bode Plot of G(s) = K

If G(s) = K then log |G(iω)| = log(K) arg G(iω) = 0

14

slide-23
SLIDE 23

Bode Plot of G(s) = K

10−2 10−1 100 101 102 10−1 100 101 K = 0.5 K = 1 K = 4 Magnitude (abs) 10−2 10−1 100 101 102 −180 −135 −90 −45 45 Frequency (rad/s) Phase (deg)

14

slide-24
SLIDE 24

Bode Plot of G(s) = sn

If G(s) = sn then log |G(iω)| = n log(ω) arg G(iω) = nπ 2

15

slide-25
SLIDE 25

Bode Plot of G(s) = sn

10−1 100 101 102 10−4 10−3 10−2 10−1 100 101 102 n = 1 n = −1 n = −2 Magnitude (abs) 10−2 10−1 100 101 102 −180 −135 −90 −45 45 90 Frequency (rad/s) Phase (deg)

15

slide-26
SLIDE 26

Bode Plot of G(s) = (1 + sT)n

If G(s) = (1 + sT)n then log |G(iω)| = n log(

  • 1 + ω2T 2)

arg G(iω) = n arg(1 + iωT) = n arctan (ωT) For small ω log |G(iω)| → 0 arg G(iω) → 0 For large ω log |G(iω)| → n log(ωT) arg G(iω) → nπ 2

16

slide-27
SLIDE 27

Bode Plot of G(s) = (1 + sT)n

10−1 100 101 10−2 10−1 100 101 n = 1 n = −1 n = −2 1 T Magnitude (abs) 10−1 100 101 −180 −135 −90 −45 45 90 Frequency (rad/s) Phase (deg)

16

slide-28
SLIDE 28

Bode Plot of G(s) = (1 + 2ζs/ω0 + (s/ω0)2)n

G(s) = (1 + 2ζs/ω0 + (s/ω0)2)n For small ω log |G(iω)| → 0 arg(iω) → 0 For large ω log |G(iω)| → 2n log ω ω0

  • arg G(iω) → nπ

17

slide-29
SLIDE 29

Bode Plot of G(s) = (1 + 2ζs/ω0 + (s/ω0)2)n

10−1 100 101 10−2 10−1 100 101 102 Magnitude (abs) ζ = 0.2 ζ = 0.1 ζ = 0.05 10−1 100 101 −180 −135 −90 −45 Frequency (rad/s) Phase (deg)

17

slide-30
SLIDE 30

Bode Plot of G(s) = e−sL

G(s) = e−sL Describes a pure time delay with delay L, i.e, y(t) = u(t − L) log |G(iω)| = 0 arg G(iω) = −ωL

18

slide-31
SLIDE 31

Bode Plot of G(s) = e−sL

10−1 100 101 102 10−1 100 101 Magnitude (abs) 10−1 100 101 102 −200 −400 −600 L = 5 L = 0.5 L = 0.1 Frequency (rad/s) Phase (deg)

18

slide-32
SLIDE 32

Bode Plot of Composite Transfer Function

Example Draw the Bode plot of the transfer function G(s) = 100(s + 2) s(s + 20)2 First step, write it as product of sample transfer functions: G(s) = 100(s + 2) s(s + 20)2 = 0.5 · s−1 · (1 + 0.5s) · (1 + 0.05s)−2 Then determine the corner frequencies: G(s) = 100(s + 2) s(s + 20)2 = 0.5 · s−1 ·

wc1=2

  • (1 + 0.5s) ·

wc2=20

  • (1 + 0.05s)−2

19

slide-33
SLIDE 33

Bode Plot of Composite Transfer Function

G(s) = 100(s + 2) s(s + 20)2 = 0.5 · s−1 ·

wc1 =2

  • (1 + 0.5s) ·

wc2 =20

  • (1 + 0.05s)−2

10−1 100 101 102 103 10−4 10−3 10−2 10−1 100 101 Frequency (rad/s) Magnitude (abs)

20

slide-34
SLIDE 34

Bode Plot of Composite Transfer Function

G(s) = 100(s + 2) s(s + 20)2 = 0.5 · s−1 ·

wc1 =2

  • (1 + 0.5s) ·

wc2 =20

  • (1 + 0.05s)−2

10−1 100 101 102 103 10−4 10−3 10−2 10−1 100 101 −1 Frequency (rad/s) Magnitude (abs)

20

slide-35
SLIDE 35

Bode Plot of Composite Transfer Function

G(s) = 100(s + 2) s(s + 20)2 = 0.5 · s−1 ·

wc1 =2

  • (1 + 0.5s) ·

wc2 =20

  • (1 + 0.05s)−2

10−1 100 101 102 103 10−4 10−3 10−2 10−1 100 101 −1 Frequency (rad/s) Magnitude (abs)

20

slide-36
SLIDE 36

Bode Plot of Composite Transfer Function

G(s) = 100(s + 2) s(s + 20)2 = 0.5 · s−1 ·

wc1 =2

  • (1 + 0.5s) ·

wc2 =20

  • (1 + 0.05s)−2

10−1 100 101 102 103 10−4 10−3 10−2 10−1 100 101 −1 −2 Frequency (rad/s) Magnitude (abs)

20

slide-37
SLIDE 37

Bode Plot of Composite Transfer Function

G(s) = 100(s + 2) s(s + 20)2 = 0.5 · s−1 ·

wc1 =2

  • (1 + 0.5s) ·

wc2 =20

  • (1 + 0.05s)−2

10−1 100 101 102 103 10−4 10−3 10−2 10−1 100 101 −1 −2 Frequency (rad/s) Magnitude (abs)

20

slide-38
SLIDE 38

Bode Plot of Composite Transfer Function

G(s) = 100(s + 2) s(s + 20)2 = 0.5 · s−1 ·

wc1 =2

  • (1 + 0.5s) ·

wc2 =20

  • (1 + 0.05s)−2

10−1 100 101 102 103 −180 −135 −90 −45 45 Frequency (rad/s) Phase (deg)

21

slide-39
SLIDE 39

Bode Plot of Composite Transfer Function

G(s) = 100(s + 2) s(s + 20)2 = 0.5 · s−1 ·

wc1 =2

  • (1 + 0.5s) ·

wc2 =20

  • (1 + 0.05s)−2

10−1 100 101 102 103 −180 −135 −90 −45 45 Frequency (rad/s) Phase (deg)

21

slide-40
SLIDE 40

Bode Plot of Composite Transfer Function

G(s) = 100(s + 2) s(s + 20)2 = 0.5 · s−1 ·

wc1 =2

  • (1 + 0.5s) ·

wc2 =20

  • (1 + 0.05s)−2

10−1 100 101 102 103 −180 −135 −90 −45 45 Frequency (rad/s) Phase (deg)

21

slide-41
SLIDE 41

Bode Plot of Composite Transfer Function

G(s) = 100(s + 2) s(s + 20)2 = 0.5 · s−1 ·

wc1 =2

  • (1 + 0.5s) ·

wc2 =20

  • (1 + 0.05s)−2

10−1 100 101 102 103 −180 −135 −90 −45 45 Frequency (rad/s) Phase (deg)

21

slide-42
SLIDE 42

Bode Plot of Composite Transfer Function

G(s) = 100(s + 2) s(s + 20)2 = 0.5 · s−1 ·

wc1 =2

  • (1 + 0.5s) ·

wc2 =20

  • (1 + 0.05s)−2

10−1 100 101 102 103 −180 −135 −90 −45 45 Frequency (rad/s) Phase (deg)

21

slide-43
SLIDE 43

Nyquist Plot

By removing the frequency information, we can plot the transfer function in one plot instead of two

0.5 −0.5 0.5 arg G(iω) |G(iω)|

22

slide-44
SLIDE 44

Nyquist Plot

By removing the frequency information, we can plot the transfer function in one plot instead of two

0.5 −0.5 0.5 arg G(iω) |G(iω)|

Split the transfer function into real and imaginary part: G(s) = 1 1 + s G(iω) = 1 1 + iω = 1 1 + ω2 − i ω 1 + ω2 Is this the transfer function in the plot above?

22

slide-45
SLIDE 45

From Bode Plot to Nyquist Plot

10−2 10−1 100 101 102 10−4 10−3 10−2 10−1 100 101 Frequency (rad/s) Magnitude (abs) 10−2 10−1 100 101 102 −270 −180 −90 Frequency (rad/s) Phase (deg) −0.5 0.5 1 −0.5 0.5 Re G(iω) Im G(iω)

23

slide-46
SLIDE 46

From Bode Plot to Nyquist Plot

10−2 10−1 100 101 102 10−4 10−3 10−2 10−1 100 101 Frequency (rad/s) Magnitude (abs) 10−2 10−1 100 101 102 −270 −180 −90 Frequency (rad/s) Phase (deg) −0.5 0.5 1 −0.5 0.5 Re G(iω) Im G(iω)

23

slide-47
SLIDE 47

From Bode Plot to Nyquist Plot

10−2 10−1 100 101 102 10−4 10−3 10−2 10−1 100 101 Frequency (rad/s) Magnitude (abs) 10−2 10−1 100 101 102 −270 −180 −90 Frequency (rad/s) Phase (deg) −0.5 0.5 1 −0.5 0.5 Re G(iω) Im G(iω)

23

slide-48
SLIDE 48

From Bode Plot to Nyquist Plot

10−2 10−1 100 101 102 10−4 10−3 10−2 10−1 100 101 Frequency (rad/s) Magnitude (abs) 10−2 10−1 100 101 102 −270 −180 −90 Frequency (rad/s) Phase (deg) −0.5 0.5 1 −0.5 0.5 Re G(iω) Im G(iω)

23

slide-49
SLIDE 49

From Bode Plot to Nyquist Plot

10−2 10−1 100 101 102 10−4 10−3 10−2 10−1 100 101 Frequency (rad/s) Magnitude (abs) 10−2 10−1 100 101 102 −270 −180 −90 Frequency (rad/s) Phase (deg) −0.5 0.5 1 −0.5 0.5 Re G(iω) Im G(iω)

23

slide-50
SLIDE 50

From Bode Plot to Nyquist Plot

10−2 10−1 100 101 102 10−4 10−3 10−2 10−1 100 101 Frequency (rad/s) Magnitude (abs) 10−2 10−1 100 101 102 −270 −180 −90 Frequency (rad/s) Phase (deg) −0.5 0.5 1 −0.5 0.5 Re G(iω) Im G(iω)

23

slide-51
SLIDE 51

Relation between Model Descrip- tions

slide-52
SLIDE 52

Single-capacitive Processes

−1.5 −1 −0.5 0.5 −1 −0.5 0.5 1 Singularity chart 2 4 0.5 1 Step response 0.5 1 −0.6 −0.4 −0.2 0.2 Nyquist plot 10−1 100 Bode plot 10−1 100 101 −90

25

slide-53
SLIDE 53

Multi-capacitive Processes

−1.5 −1 −0.5 0.5 −1 −0.5 0.5 1 Singularity chart 2 4 6 8 10 0.5 1 Step response 0.5 1 −0.6 −0.4 −0.2 0.2 Nyquist plot 10−2 10−1 100 Bode plot 10−1 100 101 −180 −90

26

slide-54
SLIDE 54

Integrating Processes

−1.5 −1 −0.5 0.5 −1 −0.5 0.5 1 Singularity chart 2 4 2 4 Step response −0.5 0.5 −1 −0.5 Nyquist plot 10−1 100 101 Bode plot 10−1 100 101 −90

27

slide-55
SLIDE 55

Oscillative Processes

−1.5 −1 −0.5 0.5 −1 1 Singularity chart 10 20 30 0.5 1 1.5 Step response −2 2 −3 −2 −1 1 Nyquist plot 10−2 10−1 100 101 Bode plot 10−1 100 101 −180 −90

28

slide-56
SLIDE 56

Delay Processes

2 4 6 8 0.5 1 Step response −1 1 −1 1 Nyquist plot 10−1 100 Bode plot 100 101 102 −6000 −3000

29

slide-57
SLIDE 57

Process with Inverse Responses

−1 1 −1 −0.5 0.5 1 Singularity chart 2 4 6 8 10 0.5 1 Step response −0.5 0.5 1 −1 −0.5 Nyquist plot 10−1 100 Bode plot 10−1 100 101 −270 −180 −90

30