13
AMI 4622 Digital Signal Processing Unit 6 Convolution

Unit 6 Convolution. Introduction What is Convolution? Convolution describes how the input to a system interacts with the system to produce an output Convolution

Embed Size (px)

Citation preview

Page 1: Unit 6 Convolution. Introduction What is Convolution? Convolution describes how the input to a system interacts with the system to produce an output Convolution

AMI 4622 Digital Signal Processing

Unit 6 Convolution

Page 2: Unit 6 Convolution. Introduction What is Convolution? Convolution describes how the input to a system interacts with the system to produce an output Convolution

IntroductionWhat is Convolution?

Convolution describes how the input to a system interacts with the system to produce an output

Convolution is used in DSP to find the system response of a Linear Time-invariant System (LTI), to arbitrary inputs

Everything and anything in DSPs are involved with convolution.

If we know a systems impulse response then we can calculate, using convolution, the output from any possible input signal

This means, if we know the systems impulse, we know everything about the system

enableservice('automationserver',true)

Page 3: Unit 6 Convolution. Introduction What is Convolution? Convolution describes how the input to a system interacts with the system to produce an output Convolution

The impulse response

The output of a system owing to the impulse input will not be a corresponding impulse, but will vary with time, passing through a maximum.

Lets see what the response will be to a single impulse input to the system

ConvolutionSingleImpulse.m

Now lets introduce a single delayed impulse input

ConvolutionSingleImpulse(k)

Page 4: Unit 6 Convolution. Introduction What is Convolution? Convolution describes how the input to a system interacts with the system to produce an output Convolution

The impulse responseNow lets consider what the response will be to a

series impulses input to the system.ConvolutionSeriesImpulse.m

Page 5: Unit 6 Convolution. Introduction What is Convolution? Convolution describes how the input to a system interacts with the system to produce an output Convolution

The impulse responseThis output can only be written in this way if the system

is a linear one.

By inspection it can be seen that the output is obtained multiplying the input sequence by the time reversed impulse response function

This can also be written as:

In this case it can be seen that the output is obtained multiplying the impulse response function by the time reversed input function

Page 6: Unit 6 Convolution. Introduction What is Convolution? Convolution describes how the input to a system interacts with the system to produce an output Convolution

The impulse responseThe expression

can be expressed compactly as:

And

can be expressed compactly as:

These may be extended to waveforms of infinite duration:

and

Page 7: Unit 6 Convolution. Introduction What is Convolution? Convolution describes how the input to a system interacts with the system to produce an output Convolution

The impulse responseExample 1:

Convolution of a sequence with a unit sample sequence

This can be re-written as:

Since: the above equation reduces to:

or in other words:

Page 8: Unit 6 Convolution. Introduction What is Convolution? Convolution describes how the input to a system interacts with the system to produce an output Convolution

Properties of convolutionCommutative Property

Page 9: Unit 6 Convolution. Introduction What is Convolution? Convolution describes how the input to a system interacts with the system to produce an output Convolution

Properties of convolutionAssociative Property

Page 10: Unit 6 Convolution. Introduction What is Convolution? Convolution describes how the input to a system interacts with the system to produce an output Convolution

Properties of convolutionDistributive Property

Page 11: Unit 6 Convolution. Introduction What is Convolution? Convolution describes how the input to a system interacts with the system to produce an output Convolution

Convolution in operationConvolutionAnimation.m

Page 12: Unit 6 Convolution. Introduction What is Convolution? Convolution describes how the input to a system interacts with the system to produce an output Convolution

Convolution in operationTabular Method of Convolution Computation

n 0 1 2 3 4 5

x(n) x(0) x(1) x(2) x(3)

h(n) h(0) h(1) h(2)

x(0)h(0) x(1)h(0) x(2)h(0) x(3)h(0)

x(0)h(1) x(1)h(1) x(2)h(1) x(3)h(1)

x(0)h(2) x(1)h(2) x(2)h(2) x(3)h(2)

y(n) y(0) y(1) y(2) y(3) y(4) y(5)

Page 13: Unit 6 Convolution. Introduction What is Convolution? Convolution describes how the input to a system interacts with the system to produce an output Convolution

Convolution in operationPolynomial Method

Assume the two sequences are polynomials

Let

and

Corresponding polynomials are now constructed as follows

and

Now multiplying out the two polynomials manually

Thus we have convolved the two sequences X and H