39
The Convolution Integral Convolution operation given symbol ‘*’ d t h x t h t x t y ) ( * ) ( “y” equals “x” convolved with “h”

The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Embed Size (px)

Citation preview

Page 1: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

The Convolution Integral

• Convolution operation given symbol ‘*’

dthxthtxty )(*)(

“y” equals “x” convolved with “h”

Page 2: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

The Convolution Integral

• The time domain output of an LTI system is equal to the convolution of the impulse response of the system with the input signal

• Much simpler relationship between frequency domain input and output

• First look at graphical interpretation of convolution integral

Page 3: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Graphical Interpretation of Convolution Integral

• To correctly understand convolution it is often easier to think graphically

h(

Page 4: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Graphical Interpretation of Convolution Integral

h(

h(-

Take impulse response and reverse it in time

Page 5: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Graphical Interpretation of Convolution Integral

h(-

Then shift it by time t

h(t-

t

Page 6: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Graphical Interpretation of Convolution Integral

Overlay input function x(t) and integrate over times where functions overlap - in this case between a and t

h(t-

t a

x(

Page 7: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Graphical Interpretation of the Convolution Integral

• Convolving two functions involves– flipping or reversing one function in time– sliding this reversed or flipped function over

the other and– integrating between the times when BOTH

functions overlap

Page 8: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example

• Convolution of two gate pulses each of height 1

0 1

x1(

0 2

x2(

dtxxxxy 2121 *

Page 9: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example

-2 0 2

x2(x2(-

Reverse function

Page 10: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example

-1 0 1

x1(x2(-

Reverse function, slide x2 over x1 and evaluate integral

t

Page 11: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example

0 1

x1(x2(t-

t

tdtxxy

tt

0

21 1*

10for

Area of overlap is increasing linearly

Page 12: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example

0 1

x1(x2(t-

t)(

pulsesmaller of area

1*

21for

1

21

x

xxy

t

Area of overlap constant

t-2

1

0

1

0111 d

Page 13: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example

0 1

x1(

x2(t-

t

txxy

t

3*

32for

21

Area declining linearly -

width of shaded area = 1-(t-2)=3-t

t-2 ttdt

t

32111

1

2

2

2

Page 14: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example

0 1

x1(

x2(t-

t

0*

3for

21

xxy

t

After time t=3 the convolution integral is zero

Page 15: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example

0 1 2 3

x1(t)*x2(t)

Page 16: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

tint=0; tfinal=10; tstep=.01; t=tint:tstep:tfinal; x=5*((t>=0)&(t<=4));subplot(3,1,1), plot(t,x)axis([0 10 0 10])h=3*((t>=0)&(t<=2));subplot(3,1,2),plot(t,h)

axis([0 10 0 10])axis([0 10 0 5])t2=2*tint:tstep:2*tfinal;y=conv(x,h)*tstep;subplot(3,1,3),plot(t2,y)axis([0 10 0 40])

Page 17: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”
Page 18: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 2

• Convolve the following functions

0 1 t

1.0

x1(t)

0 1 t

x2(t)

Page 19: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 2

0 1

x2

-1

Reversal

Page 20: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 2

0 t 1

x2t

-1

Shift reversed function

Page 21: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 2

0 t 1

x2t

-1

Overlay shift reversed function onto other function and integrate overlapping section

x1

tdtxx

tt

0

21 1*

10for

Page 22: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 2

0 1 t

x2t

-1

Overlay shift reversed function onto other function and integrate overlapping section

x1

tdtxx

t

t

21*

21for 1

1

21

t-1

Page 23: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 2

x1(t)*x2(t)

0 1 2

Page 24: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 3

3.height of pulse second 4 a ish input whican todue

system thisofoutput thecompute 5)(

is system LTIan of response impulse Given the2 u(t)eth t

Page 25: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 3

5 )(5)( 2 tueth t

t0 4

3

)(tx

Page 26: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 3

5

)( h

Reverse h(

Page 27: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 3

5

)( th

Shift the reversed h(by t

t 4

Page 28: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 3

5

)( th

Performing integral for 0<t<4

t

t

t dety0

253)(Output

4

Page 29: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 3

t

tt

tt

tt

ety

ee

deedety

2

0

22

0

22

0

2

15.7)(

2

115

1515)(

Page 30: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 3

5

)( th

Performing integral for t>4

t 4

4

0

215)( dety t

Page 31: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 3

15.72

115

1515)(

824

0

22

4

0

224

0

2

eeee

deedety

tt

tt

Page 32: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 3

415.7

4015.7

00

)(82

2

tee

te

t

tyt

t

Page 33: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”
Page 34: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Commutativity of Convolution Operation

• The actions of flipping and shifting can be applied to EITHER function

)(*)(

)(*)(

txthdtxh

dthxthtx

Page 35: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 4

• Repeat example 3 by flipping and shifting x(t) rather than h(t)

0 t

tt

dedety

t

0

2

0

2 1553)(

40for

Page 36: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 4

0 t

t

tt

ety

edety

t

2

02

0

2

15.7)(

5.715)(

40for

Page 37: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 4

0 t

t

t

dety

t

4

215)(

4for

t-4

Page 38: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 4

ttt

t

t

t

t

eeeety

edety

t

28242

4

2

4

2

15.75.7)(

2

11515)(

4for

Page 39: The Convolution Integral Convolution operation given symbol ‘*’ “y” equals “x” convolved with “h”

Example 4

415.7

4015.7

00

)(82

2

tee

te

t

tyt

t

Same result as before