ee120 - fall'19 - lecture 16 notes

8
EE120 - Fall’19 - Lecture 16 Notes 1 1 Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Murat Arcak 31 October 2019 Transfer Functions of LTI Systems Section 9.7 in Oppenheim & Willsky x(t) h(t) y(t) From the convolution property: Y(s)= H(s)X(s) where H(s)= R -h(t)e -st dt is called the “transfer function” or “system function." Transfer function from differential equations N k=0 a k d k y(t) dt k = M k=0 b k d k x(t) dt k Take the Laplace transform of both sides and use differentiation property: N k=0 a k s k Y(s)= M k=0 b k s k X(s) H(s)= Y(s) X(s) = M k=0 b k s k N k=0 a k s k = b M s M + b M-1 s M-1 + ... + b 0 a N s N + a N-1 s N-1 + ... + a 0 Poles of the system: roots of a N s N + a N-1 s N-1 + ... + a 0 Zeros of the system: roots of b M s M + b M-1 s M-1 + ... + b 0 Figure 1: Oliver Heaviside (1850-1925), a self-taught electrical engineer, in- vented the "operational calculus" where the differential operator d dt is treated as a symbol (’s’ in our case) and a linear differential equation is manipulated algebraically. Dynamic circuit elements could now be represented with simple algebraic expressions similar to Ohm’s Law (e.g. Ls for inductance). Heavi- side’s method had found widespread use by the time others established the full mathematical justification with the help of a transform used by Laplace a century earlier. Heaviside had many other contributions, including condens- ing Maxwell’s theory of electromag- netism into the four vector equations known today. He further coined the terms "inductance" and "impedance," and the unit step u(t) is sometimes referred to as the Heaviside function. Example: + - R L C x(t) i = y Consider the RLC circuit above and define the output to be the cur- rent: y(t) := i (t). Then, C d dt x(t) - Ry(t) - L dy dt | {z } voltage across capacitor = y(t)

Upload: others

Post on 13-Jan-2022

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EE120 - Fall'19 - Lecture 16 Notes

EE120 - Fall’19 - Lecture 16 Notes11 Licensed under a Creative CommonsAttribution-NonCommercial-ShareAlike4.0 International License.Murat Arcak

31 October 2019

Transfer Functions of LTI SystemsSection 9.7 in Oppenheim & Willsky

x(t) → h(t) → y(t)

From the convolution property:

Y(s) = H(s)X(s)

where H(s) =∫ ∞−∞ h(t)e−stdt is called the “transfer function” or

“system function."

Transfer function from differential equations

N

∑k=0

akdky(t)

dtk =M

∑k=0

bkdkx(t)

dtk

Take the Laplace transform of both sides and use differentiationproperty:

N

∑k=0

akskY(s) =M

∑k=0

bkskX(s)

H(s) =Y(s)X(s)

=∑M

k=0 bksk

∑Nk=0 aksk

=bMsM + bM−1sM−1 + ... + b0

aNsN + aN−1sN−1 + ... + a0

Poles of the system: roots of aNsN + aN−1sN−1 + ... + a0

Zeros of the system: roots of bMsM + bM−1sM−1 + ... + b0

Figure 1: Oliver Heaviside (1850-1925),a self-taught electrical engineer, in-vented the "operational calculus" wherethe differential operator d

dt is treated asa symbol (’s’ in our case) and a lineardifferential equation is manipulatedalgebraically. Dynamic circuit elementscould now be represented with simplealgebraic expressions similar to Ohm’sLaw (e.g. Ls for inductance). Heavi-side’s method had found widespreaduse by the time others established thefull mathematical justification with thehelp of a transform used by Laplace acentury earlier. Heaviside had manyother contributions, including condens-ing Maxwell’s theory of electromag-netism into the four vector equationsknown today. He further coined theterms "inductance" and "impedance,"and the unit step u(t) is sometimesreferred to as the Heaviside function.

Example:

+−

R L

Cx(t)

i = y

Consider the RLC circuit above and define the output to be the cur-rent: y(t) := i(t). Then,

Cddt

(x(t)− Ry(t)− L

dydt

)

︸ ︷︷ ︸voltage across capacitor

= y(t)

Page 2: EE120 - Fall'19 - Lecture 16 Notes

ee120 - fall’19 - lecture 16 notes 2

Rearrange terms:

LCd2ydt2 + RC

dydt

+ y = Cdxdt

.

Then, the transfer function is:

H(s) =Cs

LCs2 + RCs + 1.

Poles: s = −RC∓√

R2C2−4LC2LC . Zero: s = 0.

How do poles affect the system response?

If there are no repeated poles, partial fraction expansion gives:

H(s) =N

∑i=1

Ais− αi

(1)

where αi, i = 1, ..., N, are the poles. Then, assuming causality:

h(t) =N

∑i=1

Aieαitu(t) (2)

Each pole αi contributes an exponential term eαit to the response.2 2 See Figure 2 on the next page whichwe discussed in Lecture 3.

If αi is repeated m times, then the system response includes:

tm−1eαit, ..., teαit, eαit

Example: In the RLC circuit above, we expect oscillatory response if

R2C2 < 4LC.

How do zeros affect the system response?

Suppose s = β is a zero of H(s), i.e., H(β) = 0. Then:

eβt → h(t) → y(t) = H(β)eβt = 0

Thus, the zero s = β blocks inputs of the form eβt from appearing atthe output.

Example: In the RLC circuit above the zero at s = 0 blocks constantinputs: when x(t) = e0t ≡ 1, y(t) ≡ 0.

Page 3: EE120 - Fall'19 - Lecture 16 Notes

ee120 - fall’19 - lecture 16 notes 3

0 1 2 3 4 5 6 7 8 9 101

1.2

1.4

1.6

1.8

2

2.2

2.4

2.6

2.8

0 1 2 3 4 5 6 7 8 9 10-3

-2

-1

0

1

2

3

0 1 2 3 4 5 6 7 8 9 10-3

-2

-1

0

1

2

3

0 1 2 3 4 5 6 7 8 9 100

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

2

0 1 2 3 4 5 6 7 8 9 10-1.5

-1

-0.5

0

0.5

1

1.5

0 1 2 3 4 5 6 7 8 9 10-1.5

-1

-0.5

0

0.5

1

1.5

0 1 2 3 4 5 6 7 8 9 10-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

0 1 2 3 4 5 6 7 8 9 10-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

0 1 2 3 4 5 6 7 8 9 10-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

0 1 2 3 4 5 6 7 8 9 10-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

0 1 2 3 4 5 6 7 8 9 100.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

0 1 2 3 4 5 6 7 8 9 100.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Re{s}

Im{s} Figure 2: The real part of est for variousvalues of s in the complex plane.Note that est is oscillatory when s hasan imaginary component. It growsunbounded when Re{s} > 0, decays tozero when Re{s} < 0, and has constantamplitude when Re{s} = 0.

Determining Stability from H(s)

x(t) → h(t) → y(t) Y(s) = H(s)X(s)

Causality: h(t) = 0 ∀t < 0 Stability:∫ ∞−∞ |h(t)|dt < ∞

A causal LTI system with rational transfer function H(s) is stableif and only if all poles of H(s) have strictly negative real parts

(i.e., they lie to the left of the imaginary axis).

The stability criterion above follows from two observations:

1) If H(s) is rational, causality is equivalent to the ROC being the halfplane to the right of the rightmost pole.

2) The absolute integrability condition∫ ∞−∞ |h(t)|dt < ∞ means the

imaginary axis is within the ROC.

Example: A causal LTI system with transfer function H(s) = 1s+1 is

stable, because the only pole is s = −1, which is negative. Indeed theimpulse response is h(t) = e−tu(t) which is absolutely integrable.Note that h(t) = −e−tu(−t) gives the same H(s) but is ruled out bycausality.

Example: H(s) =s− 1

(s + 1)(s− 2)=

2/3s + 1

+1/3s− 2

is unstable because the pole s = 2 is positive. Due to causality the

Page 4: EE120 - Fall'19 - Lecture 16 Notes

ee120 - fall’19 - lecture 16 notes 4

impulse response is:

h(t) =(

23

e−t +13

e2t)

u(t)

which is not absolutely integrable.

Example (poles on the imaginary axis cause instability):

H(s) =1s

(integrator)

If the input is x(t) = u(t), then X(s) = 1s and Y(s) = H(s)X(s) = 1

s2 .Then, y(t) = tu(t) which is unbounded although x(t) is bounded.

Example (Butterworth filters):

|H(jω)|2 =1

1 + (ω/ωc)2N ωc : cutoff frequency, N : filter order

ωωc

11√2

|H(jω)|larger N:

sharper transition

Derive the transfer function of a causal and stable LTI system withreal-valued h(t) that gives this frequency response.

|H(jω)|2 = H(jω)H∗(jω)︸ ︷︷ ︸H(−jω)

since h(t) is real

=1

1 +(

jωjωc

)2N =⇒ H(s)H(−s) =1

1 +(

sjωc

)2N

Thus, the roots of 1 +(

sjωc

)2N= 0

︸ ︷︷ ︸are the poles of H(s) combined

with the poles of H(−s).

sjωc

= ej( π2N +k 2π

2N ) k = 0, 1, ..., 2N − 1

s = ej π2︸︷︷︸

j

ωcej( π2N +k 2π

2N )

Page 5: EE120 - Fall'19 - Lecture 16 Notes

ee120 - fall’19 - lecture 16 notes 5

k = 4

k = 1

k = 5k = 0

30o

k = 2 k = 3︸ ︷︷ ︸H(−s)

︸ ︷︷ ︸H(s)

N = 3

Since the filter is to be causal and stable, H(s) must contain the Npoles in the left-half plane (k = 0, 1, ..., N − 1) and H(−s) mustcontain the rest k = N, ..., 2N − 1.

Denominator of H(s) for N = 3:

(s + ωc)(s + ωcej π3 )(s + ωce−j π

3 )︸ ︷︷ ︸s2+2cos(

π

3)

︸ ︷︷ ︸=1

ωcs+ω2c

= (s + ωc)(s2 + ωcs + ω2c ) = s3 + 2ωcs2 + 2ω2

c s + ω3c

Therefore, H(s) = ω3c

s3+2ωcs2+2ω2c s+ω3

c(so that H(0) = dc-gain = 1)

Normalized transfer function for the N = 3 example above:

H0(s) =1

s3 + 2s2 + 2s + 1H(s) = H0

(s

ωc

)for any desired ωc

Evaluating the Frequency Response from the Pole-Zero Plot

Example: H(s) = 1s+1 |H(jω)| = 1

|jω+1|

Page 6: EE120 - Fall'19 - Lecture 16 Notes

ee120 - fall’19 - lecture 16 notes 6

jω − (−1)= jω + 1

−1

Re

Im

jω+

1

Re

Im

∡jω + 1

ω

1

|H(jω)|

ω

−90o

∡H(jω)

Note that H(s) = 1s+1 is a first order (N = 1) Butterworth filter.

Try to apply this geometric interpretation of the frequency responseto higher order Butterworth filters, such as N = 3 discussed in theprevious example.

Example: To see the effect of a zero let H(s) = s+1s+10 .

+1

jω+

10

−1−10 Re

Im

∡H(jω)

ω

1

1/10

|H(jω)|

ω

∡H(jω)

Example (second order system):

H(s) =ω2

ns2 + 2ζωns + ω2

n(3)

H(jω) =ω2

n(jω)2 + 2ζωn(jω) + ω2

n

ζ : damping ratio, ωn : natural frequency

Recall from Lecture 7: resonance occurs if ζ < 1√2≈ 0.7

Poles of H(s): s2 + 2ζωns + ω2n = 0, or

(s

ωn

)2+ 2ζ

(s

ωn

)+ 1 = 0.

Then, sωn

= −ζ ∓√

ζ2 − 1

Therefore, complex conjugate poles if ζ < 1:

s1,2 = ωn(−cos(θ)∓ jsin(θ)) where θ defined by cosθ = ζ

Page 7: EE120 - Fall'19 - Lecture 16 Notes

ee120 - fall’19 - lecture 16 notes 7

jωnsinθ

−jωncosθ Re

Im

θ

ωn

Resonance condition ζ < 1√2

means θ > 45o

jωnsinθ

= jωn

q

1 − ζ2

Re

Im

ω

|H(jω)|

1

peak at ω = ωn

√1 − 2ζ2

See Figure 3 below which we discussed in Lecture 7.

Page 8: EE120 - Fall'19 - Lecture 16 Notes

ee120 - fall’19 - lecture 16 notes 8

!10-1 100 101

-50-40-30-20-10

01020

Frequency response (magnitude)

1 = 0.11 = 0.21 = 0.41 = 0.71 = 1.01 = 1.5

t0 5 10 15

-1

-0.5

0

0.5

1Impulse response

t0 5 10 15

0

0.5

1

1.5

2Step response

20 log10 |H(jω)|

↙bigger

ζ

ωn ωn ωn

h(t)/ωn

ωn ωn ωn

s(t)

ωn ωn ωn

Figure 3: The frequency, impulse, andstep responses for the second ordersystem (3). Note from the frequencyresponse (top) that a resonance peakoccurs when ζ < 0.7.