ee 314 signal and linear system analysis

14
EE 314 Signal and Linear System Analysis Graphical Convolution Lecture 8 EE 314 Signal and Linear System Analysis Slide 1 of 14

Upload: others

Post on 13-Jan-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EE 314 Signal and Linear System Analysis

EE 314 Signal and Linear System Analysis

Graphical Convolution

Lecture 8 EE 314 Signal and Linear System Analysis Slide 1 of 14

Page 2: EE 314 Signal and Linear System Analysis

Summary of Last Lecture

Lecture 8 EE 314 Signal and Linear System Analysis

โ€ข Applying a causal input (๐‘ฅ๐‘ฅ(๐‘ก๐‘ก)) to a causal LTI systems with impulse response โ„Ž(๐‘ก๐‘ก) gives rise to a causal output ๐‘ฆ๐‘ฆ ๐‘ก๐‘ก :

0

( ) ( ) ( )t

y t x h t dฯ„ ฯ„ ฯ„= โˆ’โˆซ

( )h t

0

( ) ( )t

h x t dฯ„ ฯ„ ฯ„= โˆ’โˆซ

Slide 2 of 14

Page 3: EE 314 Signal and Linear System Analysis

Graphical Convolution

Lecture 8 EE 314 Signal and Linear System Analysis

โ€ข Revisiting the prior RC example Let ๐‘…๐‘…๐‘…๐‘… = 1/2 = ๐œ๐œ๐‘๐‘, hence,

Input: ๐‘ฃ๐‘ฃ๐‘–๐‘–๐‘–๐‘– ๐‘ก๐‘ก = ๐‘ข๐‘ข ๐‘ก๐‘ก โˆ’ ๐‘ข๐‘ข(๐‘ก๐‘ก โˆ’ 1)โ€ข Analytical soln is: For, 0 < t < 1

2( ) 2 ( )th t e u tโˆ’=

0

( ) ( ) ( )t

out inv t v h t dฯ„ ฯ„ ฯ„= โˆ’โˆซ ( ) ( )2

0

1 2t

te dฯ„ ฯ„โˆ’ โˆ’= โˆซ 2 2

0

2t

te e dฯ„ ฯ„โˆ’= โˆซ

2 2

0

tte e ฯ„โˆ’ = ( )2 2 1t te eโˆ’= โˆ’ 21 teโˆ’= โˆ’( )( )21 ( ) ( 1)te u t u tโˆ’= โˆ’ โˆ’ โˆ’

Slide 3 of 14

Page 4: EE 314 Signal and Linear System Analysis

Graphical Convolution

Lecture 8 EE 314 Signal and Linear System Analysis

For, t > 1

Final result

1

0 1

( ) ( ) ( ) ( ) ( )t

out in inv t v h t d v h t dฯ„ ฯ„ ฯ„ ฯ„ ฯ„ ฯ„= โˆ’ + โˆ’โˆซ โˆซ1

0

( ) 0h t dฯ„ ฯ„= โˆ’ +โˆซ12 2

0

te e ฯ„โˆ’ =

( )2 2 1te eโˆ’= โˆ’ 2( 1) 2t te eโˆ’ โˆ’ โˆ’= โˆ’( )2( 1) 2 ( 1)t te e u tโˆ’ โˆ’ โˆ’= โˆ’ โˆ’

( )( ) ( )2 2( 1) 2( ) 1 ( ) ( 1) ( 1)t t toutv t e u t u t e e u tโˆ’ โˆ’ โˆ’ โˆ’= โˆ’ โˆ’ โˆ’ + โˆ’ โˆ’

( ) ( )2 2( 1)1 ( ) 1 ( 1)t te u t e u tโˆ’ โˆ’ โˆ’= โˆ’ + โˆ’ โˆ’

Slide 4 of 14

Page 5: EE 314 Signal and Linear System Analysis

Graphical Convolution

Lecture 8 EE 314 Signal and Linear System Analysis

( ) ( )2 2( 1)( ) 1 ( ) 1 ( 1)t toutv t e u t e u tโˆ’ โˆ’ โˆ’= โˆ’ + โˆ’ โˆ’

Slide 5 of 14

Page 6: EE 314 Signal and Linear System Analysis

โ„Ž โˆ’๐œ๐œ + ๐‘ก๐‘ก => Shift then flipโ„Ž(โˆ’(๐œ๐œ โˆ’ ๐‘ก๐‘ก)) => Flip then shift

Graphical Convolution

Lecture 8 EE 314 Signal and Linear System Analysis

โ€ข Letโ€™s evaluate the convolution graphically

Overlay a plot of ๐‘ฃ๐‘ฃ๐‘–๐‘–๐‘–๐‘–(๐œ๐œ) with a plot of โ„Ž(๐‘ก๐‘ก โˆ’ ๐œ๐œ), compute the area under the product (for 0 โ‰ค ๐œ๐œ โ‰ค ๐‘ก๐‘ก), then vary ๐‘ก๐‘ก.

0

( ) ( ) ( )t

out inv t v h t dฯ„ ฯ„ ฯ„= โˆ’โˆซ

( )inv t( )h t

We need ๐‘ฃ๐‘ฃ๐‘–๐‘–๐‘–๐‘–(๐œ๐œ)

We need โ„Ž(๐‘ก๐‘ก โˆ’ ๐œ๐œ)

Flip then shift by ๐‘ก๐‘ก

The area under the product!!

ORโ„Ž(๐‘ก๐‘ก โˆ’ ๐œ๐œ) = โ„Ž(โˆ’(๐œ๐œ โˆ’ ๐‘ก๐‘ก))

Shift by ๐‘ก๐‘ก then flip

Slide 6 of 14

Page 7: EE 314 Signal and Linear System Analysis

Graphical Convolution

Lecture 8 EE 314 Signal and Linear System Analysis

โ€ข Start with ๐‘ก๐‘ก < 0

0

( ) ( ) ( )t

y t x h t dฯ„ ฯ„ ฯ„= โˆ’โˆซ

( ( ))h tฯ„โˆ’ โˆ’ ( )x ฯ„๐‘ก๐‘ก = โˆ’0.5 ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ 

0=

( ( 0.5))h ฯ„โˆ’ โˆ’

The area under the product?

0.5

0

( 0.5) ( ) ( )y x h t dฯ„ ฯ„ ฯ„โˆ’

โˆ’ = โˆ’โˆซ

Slide 7 of 14

Page 8: EE 314 Signal and Linear System Analysis

Graphical Convolution

Lecture 8 EE 314 Signal and Linear System Analysis

โ€ข Now, consider 0 โ‰ค ๐‘ก๐‘ก < 1

0

( ) ( ) ( )t

y t x h t dฯ„ ฯ„ ฯ„= โˆ’โˆซ

( ( ))h tฯ„โˆ’ โˆ’ ( )x ฯ„๐‘ก๐‘ก = +0.6 ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ 

2( )

0

2t

te dฯ„ ฯ„โˆ’ โˆ’= โˆซ

2( ) 2 ( )th t e u tโˆ’=

( ) ( ( ))x h tฯ„ ฯ„โˆ’ โˆ’

Slide 8 of 14

Page 9: EE 314 Signal and Linear System Analysis

Graphical Convolution

Lecture 8 EE 314 Signal and Linear System Analysis

โ€ข Now, consider ๐‘ก๐‘ก > 1

0

( ) ( ) ( )t

y t x h t dฯ„ ฯ„ ฯ„= โˆ’โˆซ

( ( ))h tฯ„โˆ’ โˆ’

( )x ฯ„

๐‘ก๐‘ก = +1.5 ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ 

12( )

0

2 te dฯ„ ฯ„โˆ’ โˆ’= โˆซ

Slide 9 of 14

Page 10: EE 314 Signal and Linear System Analysis

Graphical Convolution

Lecture 8 EE 314 Signal and Linear System Analysis

MATLAB code

Slide 10 of 14

Page 11: EE 314 Signal and Linear System Analysis

Graphical Convolution

Lecture 8 EE 314 Signal and Linear System Analysis

โ€ข More Convolution Examples

MATLAB code

Slide 11 of 14

Page 12: EE 314 Signal and Linear System Analysis

Graphical Convolution

Lecture 8 EE 314 Signal and Linear System Analysis

โ€ข Systems connected in series

โ€ข Systems connected in parallel

( )z t1( ) ( )* ( )z t x t h t=

2( ) ( )* ( )y t z t h t=

( )1 2( )* ( ) * ( )x t h t h t=

( )1 2( )** )( ()x t h t h t=

1( ) ( )* ( ) ( )* ( )Ny t x t h t x t h t= + +

[ ]1( )* ( ) ( )Nh t tx t h+ +=

Slide 12 of 14

Page 13: EE 314 Signal and Linear System Analysis

Causal LTI System

Lecture 8 EE 314 Signal and Linear System Analysis

โ€ข Causality A LTI system is causal if it does NOT rely on future inputs in

order to determine the current output.o All real/physical systems are causal โ€“ They can not anticipate

future inputs!!

o i.e., A causal system has an impulse response that is a causal function.

( ) 0 for all 0h t tโ‡’ = <

( ) ( ) ( )y t x h t dฯ„ ฯ„ ฯ„โˆž

โˆ’โˆž

= โˆ’โˆซ Consider ๐œ๐œ > ๐‘ก๐‘ก โ€ผ

Would use future values of ๐‘ฅ๐‘ฅ ๐‘ก๐‘กto determine ๐‘ฆ๐‘ฆ(๐‘ก๐‘ก)!!

Does this system have memory?

Give an example of a system that does NOT have memory?

( )h t

0

( ) ( )t

x h t dฯ„ ฯ„ ฯ„= โˆ’โˆซ

Slide 13 of 14

Page 14: EE 314 Signal and Linear System Analysis

Next Lecture

Lecture 8 EE 314 Signal and Linear System Analysis

โ€ข LTI Sinusoidal Response

โ€ข Reading Assignment: Chap. 2.7

Slide 14 of 14