Upload
kapila
View
127
Download
5
Embed Size (px)
DESCRIPTION
LECTURE 05: CONVOLUTION OF DISCRETE-TIME SIGNALS. Objectives: Representation of DT Signals Response of DT LTI Systems Convolution Examples Properties Resources: MIT 6.003: Lecture 3 Wiki: Convolution CNX: Discrete-Time Convolution JHU: Convolution ISIP: Convolution Java Applet. Audio:. URL:. - PowerPoint PPT Presentation
Citation preview
ECE 8443 – Pattern RecognitionECE 3163 – Signals and Systems
• Objectives:Representation of DT SignalsResponse of DT LTI SystemsConvolutionExamplesProperties
• Resources:MIT 6.003: Lecture 3Wiki: ConvolutionCNX: Discrete-Time ConvolutionJHU: ConvolutionISIP: Convolution Java Applet
LECTURE 05: CONVOLUTION OFDISCRETE-TIME SIGNALS
Audio:URL:
ECE 3163: Lecture 05, Slide 2
• Are there sets of “basic” signals, xk[n], such that:
We can represent any signal as a linear combination (e.g, weighted sum) of these building blocks? (Hint: Recall Fourier Series.)
The response of an LTI system to these basic signals is easy to compute and provides significant insight.
• For LTI Systems (CT or DT) there are two natural choices for these building blocks:
Later we will learn that there are many families of such functions: sinusoids, exponentials, and even data-dependent functions. The latter are extremely useful in compression and pattern recognition applications.
Exploiting Superposition and Time-Invariance
DT LTI
Systemk
kk nxanx ][][ k
kk nybny ][][
DT Systems:(unit pulse)
CT Systems:(impulse)
0tt 0nn
ECE 3163: Lecture 05, Slide 3
Representation of DT Signals Using Unit Pulses
ECE 3163: Lecture 05, Slide 4
Response of a DT LTI Systems – Convolution
• Define the unit pulse response, h[n], as the response of a DT LTI system to a unit pulse function, [n].
• Using the principle of time-invariance:
• Using the principle of linearity:
• Comments:
Recall that linearity implies the weighted sum of input signals will produce a similar weighted sum of output signals.
Each unit pulse function, [n-k], produces a corresponding time-delayed version of the system impulse response function (h[n-k]).
The summation is referred to as the convolution sum.
The symbol “*” is used to denote the convolution operation.
DT LTIk
kk nxanx ][][ k
kk nybny ][][ nh
][][][][ knhknnhn
][][][][][][][][ nhnxknhkxnyknkxnxkk
convolution sum
convolution operator
ECE 3163: Lecture 05, Slide 5
LTI Systems and Impulse Response
• The output of any DT LTI is a convolution of the input signal with the unit pulse response:
• Any DT LTI system is completely characterized by its unit pulse response.
• Convolution has a simple graphical interpretation:
DT LTI][nx ][*][][ nhnxny nh
][][][][][][][][ nhnxknhkxnyknkxnxkk
ECE 3163: Lecture 05, Slide 6
Visualizing Convolution
• There are four basic steps to the calculation:
• The operation has a simple graphical interpretation:
ECE 3163: Lecture 05, Slide 7
Calculating Successive Values• We can calculate each output point by
shifting the unit pulse response one sample at a time:
][][][ knhkxnyk
• y[n] = 0 for n < ???
y[-1] =
y[0] =
y[1] =
…
y[n] = 0 for n > ???
• Can we generalize this result?
ECE 3163: Lecture 05, Slide 8
Graphical Convolution
1
-1
)(kx
21)(kh
-1 -1
)3( kh 0)3()()3(
k
khkxy
)2( kh 0)2()()2(
k
khkxy
)1( kh 1)1)(1()1( y
)0( kh 2)1)(2()0)(1()0( y
k = -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9
ECE 3163: Lecture 05, Slide 9
Graphical Convolution (Cont.)
1
-1
)(kx
21)(kh
-1 -1
)1( kh 2)1)(1()0)(2()1)(1()1( y
)2( kh 2)1)(1()0)(1(
)1)(2()0)(1()2(
y
)3( kh
)4( kh 1)1)(1()4( y
k = -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9
1)0)(1()1)(1(
)0)(2()0)(1()3(
y
ECE 3163: Lecture 05, Slide 10
Graphical Convolution (Cont.)
• Observations:
y[n] = 0 for n > 4
If we define the duration of h[n] as the difference in time from the first nonzero sample to the last nonzero sample, the duration of h[n], Lh, is4 samples.
Similarly, Lx = 3.
The duration of y[n] is: Ly = Lx + Lh – 1. This is a good sanity check.
• The fact that the output has a duration longer than the input indicates that convolution often acts like a low pass filter and smoothes the signal.
ECE 3163: Lecture 05, Slide 11
Examples of DT Convolution• Example: unit-pulse
][][][
][][][
][][
nxknkx
knhkxny
nnh
k
k
• Example: delayed unit-pulse
][][][
][][][
][][
00
0
nnxknnkx
knhkxny
nnnh
k
k
• Example: unit step
n
kk
k
kxknukx
knhkxny
nunh
][][][
][][][
][][
• Example: integration
01
101
...]1[)1(][)1(
][][
][][][
1][][
][][
1
na
an
nan
nuanu
knhkxny
anuanh
nunx
n
k
n
k
n
ECE 3163: Lecture 05, Slide 12
Properties of Convolution• Commutative:
][*][][*][ nxnhnhnx
• Implications
• Distributive:
])[*][(])[*][(
])[][(*][
21
21
nhnxnhnx
nhnhnx
• Associative:
][*])[*][(
][*])[*][(
][*][*][
12
21
21
nhnhnx
nhnhnx
nhnhnx
ECE 3163: Lecture 05, Slide 13
Useful Properties of (DT) LTI Systems• Causality:
• Stability:
Bounded Input ↔ Bounded Output
00][ nnh
k
kh ][
Sufficient Condition:
kk
knhxknhkxny
xnx
][][][][
][for
max
max
Necessary Condition:
kkk
k
khkhkhkhkhkx
nxnhnhnx
knh
][][/][][]0[][y[0]But
(bounded)1][then,][/][][Let
][if
*
*
ECE 3163: Lecture 05, Slide 14
• We introduced a method for computing the output of a discrete-time (DT) linear time-invariant (LTI) system known as convolution.
• We demonstrated how this operation can be performed analytically and graphically.
• We discussed three important properties: commutative, associative and distributive.
• Question: can we determine key properties of a system, such as causality and stability, by examining the system impulse response?
• There are several interactive tools available that demonstrate graphical convolution: ISIP: Convolution Java Applet.
Summary