Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

33
Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16

Transcript of Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Page 1: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

Signals and Systems

EE235Lecture 16

Page 2: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

Merry Christmas!

• Q: What is Quayle-o-phobia? • A: The fear of the exponential (e).

Page 3: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

Today’s scary menu

• Wrap up LTI system properties (Midterm)• Midterm Wednesday!• Onto Fourier Series!

Page 4: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

System properties testing given h(t)

4

• Impulse response h(t) fully specifies an LTI system

• Gives additional tools to test system properties for LTI systems

• Additional ways to manipulate/simplify problems, too

Page 5: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

Causality for LTI

5

• A system is causal if the output does not depend on future times of the input

• An LTI system is causal if h(t)=0 for t<0• Generally:

• If LTI system is causal:

( ) ( ) ( )y t h x t d

0

( ) ( ) ( )y t h x t d

Page 6: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

Causality for LTI

6

• An LTI system is causal if h(t)=0 for t<0• If h(t) is causal, h(t-)=0 for all (t- )<0 or all

t <

( ) ( ) ( )t

y t x h t d

( ) ( ) ( )y t x h t d

Only Integrate to t for causal

systems

Page 7: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

Convolution of two causal signals

7

• A signal x(t) is a causal signal if x(t)=0 for all t<0

• Consider:

• If x2(t) is causal then x2(t-)=0 for all (t- )<0

• i.e. x1( )x2(t-)=0 for all t< • If x1(t) is causal then x1()=0 for all <0

• i.e. x1( )x2(t-)=0 for all <0

1 2( ) ( ) ( )y t x x t d

1 2

0

( ) ( ) ( )t

y t x x t d Only Integrate from 0 to t for

2 causal signals

Page 8: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

Step response of LTI system

8

• Impulse response h(t)

• Step response s(t)

• For a causal system:

T u(t)*h(t)u(t)

T h(t)(t)

0

( ) ( )* ( ) ( )t

s t u t h t h d

( )* ( ) ( ) ( ) ( )h t u t h u t d s t

Only Integrate from 0 to t = Causal! (Proof for causality)

Page 9: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

Step response example for LTI system

9

• If the impulse response to an LTI system is:

• First: is it causal?• Find s(t)

3( ) 5 ( )th t e u t

3( ) 5 ( ) ( )s t e u u t d

( )* ( ) ( ) ( ) ( )h t u t h u t d s t

0

( ) ( )* ( ) ( )t

s t u t h t h d

3

0

5t

e d 3

0

5

3

t

e

35 5( )

3 3e u t

351 ( )

3te u t

Page 10: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

Stability of LTI System

10

• An LTI system – BIBO stable

• Impulse response must be finite

3( )h d B

Bounded input

system

Bounded output

B1 , B2, B3 are constants

Page 11: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

Stability of LTI System

11

• Is this condition sufficient for stability?

• Prove it:

3( )h d B

abs(sum)≤sum(abs)

abs(prod)=prod(abs)

bounded input

if

Q.E.D.

Page 12: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

Stability of LTI System

12

• Is h(t)=u(t) stable?• Need to prove that 3( )h d B

Page 13: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

Invertibility of LTI System

13

• A system is invertible if you can find the input, given the output (undo-ing possible)

• You can prove invertibility of the system with impulse response h(t) by finding the impulse response of the inverse system hi(t)

• Often hard to do…don’t worry for now unless it’s obvious

( ) (

( )

( ) (( )* ( ))* ( )*( ( )* )

( ) ( )

( (

(

)

)

)

)

i

i i

h t

h t h ty t x t h t x t h t

x t t x t

h t t

Page 14: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

LTI System Properties

14

• Example

– Causal?– Stable?– Invertible?

( ) 5 ( 1)h t t

1( ) ( 1)

5ih t t YES

5 ( 1) 5t dt

YES

( ) 0 for 0h t t YES

Page 15: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

LTI System Properties

15

• Example

– Causal?– Stable? YES

YES

2( ) 3 ( )th t e u t( ) 0 for 0h t t

2 2

0

3| 3 ( ) | 3

2t te u t dt e dt

Page 16: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

LTI System Properties

16

• How about these? Causal/Stable?

| |( ) th t e

( ) ( 1)h t u t

0.5( ) 3 cos(200 ) ( )th t e t u t

Stable, not causal

Causal, not stable

Stable and causal

Page 17: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

LTI System Properties Summary

17

For ALL systems• y(t)=T{x(t)}• x-y equation

describes system• Property tests in

terms of basic definitions– Causal: Find time

region of x() used in y(t)

– Stable: BIBO test or counter-example

For LTI systems ONLY

• y(t)=x(t)*h(t)• h(t) =impulse

response• Property tests on

h(t)– Causal: h(t)=0 t<0– Stable:

| ( ) |h t dt

Page 18: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

Summary

• LTI system properties

Page 19: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

Review: Faces of exponentials

19

• Constants for with s=0+j0

• Real exponentials forwith s=a+j0

• Sine/Cosine for

with s=0+jw and a=1/2• Complex exponentials for

s=a+jw

atx )( Rastaetx )(

atetx )( Rastetx )(

)cos()( ttx R

)()( stst eeatx stetx )( Cs

Page 20: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

Exponential response of LTI system

20

• What is y(t) if ? )(*)( thety st

Given a specific s, H(s) is a constant

S

Output is just a constant times the input

Page 21: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2012

Exponential response of LTI system

21

LTI

• Varying s, then H(s) is a function of s• H(s) becomes a Transfer Function of the

input• If s is “frequency”…• Working toward the frequency domain

Page 22: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2011

Eigenfunctions

22

• Definition: An eigenfunction of a system S is any non-zero x(t) such that

• Where is called an eigenvalue.• Example:

• What is the y(t) for x(t)=eat for

• eat is an eigenfunction; a is the eigenvalue

)()( txtxS

( ) ( )d

y t x tdt

Ra)()( taxaety at

S{x(t)}

Page 23: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2011

Eigenfunctions

23

• Definition: An eigenfunction of a system S is any non-zero x(t) such that

• Where is called an eigenvalue.• Example:

• What is the y(t) for x(t)=eat for

• eat is an eigenfunction; 0 is the eigenvalue

)()( txtxS

( ) ( )d

y t x tdt

0a)(00)( txty

S{x(t)}

Page 24: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2011

Eigenfunctions

24

• Definition: An eigenfunction of a system S is any non-zero x(t) such that

• Where is called an eigenvalue.• Example:

• What is the y(t) for x(t)=u(t)

• u(t) is not an eigenfunction for S

)()( txtxS

( ) ( )d

y t x tdt

)()()( tautty

Page 25: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2011

Recall Linear Algebra

25

• Given nxn matrix A, vector x, scalar l• x is an eigenvector of A, corresponding to

eigenvalue l ifAx=lx

• Physically: Scale, but no direction change• Up to n eigenvalue-eigenvector pairs (xi,li)

Page 26: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2011

Exponential response of LTI system

26

• Complex exponentials are eigenfunctions of LTI systems

• For any fixed s (complex valued), the output is just a constant H(s), times the input

• Preview: if we know H(s) and input is est, no convolution needed!

S

Page 27: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2011

LTI system transfer function

27

LTIest H(s)est

( ) ( ) sH s h e d

• s is complex• H(s): two-sided Laplace Transform of h(t)

Page 28: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2011

LTI system transfer function

28

• Let s=jw

• LTI systems preserve frequency• Complex exponential output has same

frequency as the complex exponential input

LTIest H(s)est

( ) j tx t Ae LTI ( ) ( ) j ty t AH j e

Page 29: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2011

LTI system transfer function

29

• Example:

• For real systems (h(t) is real):

• where and• LTI systems preserve frequency

( ) j tx t Ae LTI ( ) ( ) j ty t AH j e

tjtj eettx 2

1)cos()( tjtj ejHejHty )()(

2

1)(

)()( jHjH

)cos()( tAty

)( jHA )( jH

Page 30: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2011

Importance of exponentials

30

• Makes life easier• Convolving with est is the same as

multiplication• Because est are eigenfunctions of LTI systems• cos(wt) and sin(wt) are real• Linked to est

Page 31: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2011

Quick note

31

LTIest H(s)est

( )st ste e u t

LTIestu(t) H(s)estu(t)

Page 32: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2011

Which systems are not LTI?

32

2 2

2 2

2

5

5

cos(3 ) cos(3 )

cos(3 ) sin(3 )

cos(3 ) 0

cos(3 ) cos(3 )

t t

t jt t

t

e T e

e T e e

t T t

t T t

t T

t T e t

NOT LTI

NOT LTI

NOT LTI

Page 33: Leo Lam © 2010-2012 Signals and Systems EE235 Lecture 16.

Leo Lam © 2010-2011

Summary

• Eigenfunctions/values of LTI System