0% found this document useful (0 votes)
5 views76 pages

week_5

The document discusses the frequency response of discrete-time (DT) linear time-invariant (LTI) systems, comparing it to continuous-time (CT) systems. It covers topics such as the periodicity of DT frequency responses, the importance of DT Fourier series, and the Fast Fourier Transform (FFT) for efficient computation. Additionally, it addresses sampling, reconstruction, and the implications of the Nyquist rate in preserving signal information.

Uploaded by

adnan.amer303
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views76 pages

week_5

The document discusses the frequency response of discrete-time (DT) linear time-invariant (LTI) systems, comparing it to continuous-time (CT) systems. It covers topics such as the periodicity of DT frequency responses, the importance of DT Fourier series, and the Fast Fourier Transform (FFT) for efficient computation. Additionally, it addresses sampling, reconstruction, and the implications of the Nyquist rate in preserving signal information.

Uploaded by

adnan.amer303
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 76

ENME615

Week 5
Last week: DT Frequency Response

• The frequency response of a DT LTI system is the value of the


system function evaluated on the unit circle.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
2
Comparision of CT and DT Frequency Responses

• CT frequency response: H(s) on the imaginary axis, i.e., s = jω.


• DT frequency response: H(z) on the unit circle, i.e., 𝑧 = 𝑒 𝑗Ω .

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
3
In-class exercise

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
4
In-class exercise

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
5
In-class exercise

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
6
Effects of Phase

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
7
Effects of Phase

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
8
How does phase shift sound like?

• https://www.youtube.com/watch?v=1pJOkhPTpLo&t=43s

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
9
Last week: DT frequency response periodicity

• DT frequency responses are periodic functions of Ω, with period 2π.

• The periodicity of 𝐻(𝑒 𝑗Ω ) results because 𝐻(𝑒 𝑗Ω ) is a function of 𝑒 𝑗Ω ,


which is itself periodic in Ω. Thus DT complex exponentials have many
“aliases.”

• Because of this aliasing, there is a “highest” DT frequency: Ω = π.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
10
Last week: Periodic Sinusoids

• There are (only) N distinct complex exponentials with period N. (There


were an infinite number in CT!)

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
11
Last week: DT Fourier Series

• DT Fourier series represent DT signals in terms of the amplitudes and


phases of harmonic components.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
12
Last week: DT Fourier Series

• DT Fourier series have simple matrix interpretations.

• These matrices are inverses of each other.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
13
Scaling

• DT Fourier series are important computational tools. However, the DT


Fourier series do not scale well with the length N.

• Number of multiples increases as 𝑁 2 .

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
14
Fast Fourier “Transform”

• Exploit structure of Fourier series to simplify its calculation. Divide FS of


length 2N into two of length N (divide and conquer).

• 8 × 8 = 64 multiplications
Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
15
FFT

• Divide into two 4-point series (divide and conquer).


• Even-numbered entries in x[n]:

• Odd-numbered entries in x[n]:

• Sum of multiplications = 2 × (4 × 4) = 32: fewer than the previous 64.


Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
16
FFT

• Break the original 8-point DTFS coefficients 𝑐𝑘 into two parts:


𝑐𝑘 = 𝑑𝑘 + 𝑒𝑘
• where 𝑑𝑘 comes from the even-numbered x[n] (e.g., 𝑎𝑘 ) and 𝑒𝑘
comes from the odd-numbered x[n] (e.g., 𝑏𝑘 )

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
17
FFT

• The 4-point DTFS coefficients 𝑎𝑘 of the even-numbered x[n]

• contribute to the 8-point DTFS coefficients 𝑑𝑘 :

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
18
FFT

• The 4-point DTFS coefficients 𝑎𝑘 of the even-numbered x[n]

• contribute to the 8-point DTFS coefficients 𝑑𝑘 :

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
19
FFT

• The 4-point DTFS coefficients 𝑎𝑘 of the even-numbered x[n]

• contribute to the 8-point DTFS coefficients 𝑑𝑘 :

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
20
FFT

• The 4-point DTFS coefficients 𝑎𝑘 of the even-numbered x[n]

• contribute to the 8-point DTFS coefficients 𝑑𝑘 :

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
21
FFT

• The 𝑒𝑘 components result from the odd-number entries in x[n].

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
22
FFT

• The 𝑒𝑘 components result from the odd-number entries in x[n].

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
23
FFT

• The 𝑒𝑘 components result from the odd-number entries in x[n].

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
24
FFT

• The 𝑒𝑘 components result from the odd-number entries in x[n].

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
25
Scaling of FFT algorithm

• How does the new algorithm scale?

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
26
Fourier Transform: Generalize to Aperiodic Signals

• An aperiodic signal can be thought of as periodic with infinite period.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
27
Fourier Transform

• Represent 𝑥𝑁 [𝑛] by its Fourier series.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
28
Fourier Transform

• Doubling period doubles # of harmonics in given frequency interval.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
29
Fourier Transform

• As N → ∞, discrete harmonic amplitudes → a continuum E(Ω).

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
30
Fourier Transform

• As N → ∞, synthesis sum → integral.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
31
Fourier Transform

• Replacing E(Ω) by 𝑋 𝑒 𝑗Ω yields the DT Fourier transform relations.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
32
Relation between Fourier and Z Transforms

• If the Z transform of a signal exists and if the ROC includes the unit circle,
then the Fourier transform is equal to the Z transform evaluated on the
unit circle.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
33
Relation between Fourier and Z Transforms

• Fourier transform “inherits” properties of Z transform.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec18/
34
Sampling

• We would like to sample in a way that preserves information, which may


not seem possible.

• Information between samples is lost. Therefore, the same samples can


represent multiple signals.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
35
Sampling and Reconstruction

• To determine the effect of sampling, compare the original signal x(t) to the
signal 𝑥𝑝 (𝑡) that is reconstructed from the samples x[n].

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
36
Reconstruction

• Impulse reconstruction maps samples x[n] (DT) to 𝑥𝑝 (𝑡) (CT).

• Resulting reconstruction 𝑥𝑝 (𝑡) is equivalent to multiplying x(t) by impulse


train.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
37
Sampling

• Multiplication by an impulse train in time is equivalent to convolution by an


impulse train in frequency.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
38
In-class exercise

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
39
In-class exercise

• DTFT:

• CTFT of 𝑥𝑝 (𝑡):

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
40
In-class exercise

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
41
In-class exercise

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
42
Sampling

• The high frequency copies can be removed with a low-pass filter (also
multiply by T to undo the amplitude scaling).

• Impulse reconstruction followed by ideal low-pass filtering is called


bandlimited reconstruction.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
43
The Sampling Theorem

• If signal is bandlimited → sample without loosing information.


• If x(t) is bandlimited so that

• then x(t) is uniquely determined by its samples x(nT) if

• The minimum sampling frequency, 2𝜔𝑚 , is called the “Nyquist rate.”

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
44
Summary of Sampling

• Three important ideas:

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
45
In-class exercise

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
46
In-class exercise

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
47
In-class exercise

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
48
CT Model of Sampling and Reconstruction

• Sampling followed by bandlimited reconstruction is equivalent to


multiplying by an impulse train and then low-pass filtering.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
49
Aliasing
𝜋
• What happens if X contains frequencies 𝜔 > 𝑇 ?

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
50
Aliasing
𝜋
• What happens if X contains frequencies 𝜔 > 𝑇 ?

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
51
Aliasing
𝜋
• What happens if X contains frequencies 𝜔 > 𝑇 ?

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
52
Aliasing
𝜋
• What happens if X contains frequencies 𝜔 > 𝑇 ?

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
53
Aliasing

• The effect of aliasing is to wrap frequencies.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
54
Aliasing

• The effect of aliasing is to wrap frequencies.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
55
Aliasing

• The effect of aliasing is to wrap frequencies.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
56
Aliasing

• The effect of aliasing is to wrap frequencies.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
57
In-class exercise

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
58
In-class exercise

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
59
In-class exercise

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
60
In-class exercise

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
61
In-class exercise

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
62
In-class exercise

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
63
Aliasing

• High frequency components of complex signals also wrap.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
64
Aliasing

• High frequency components of complex signals also wrap.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
65
Aliasing

• High frequency components of complex signals also wrap.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
66
Aliasing

• High frequency components of complex signals also wrap.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
67
Aliasing

• Aliasing increases as the sampling rate decreases.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
68
Aliasing

• Aliasing increases as the sampling rate decreases.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
69
Aliasing

• Aliasing increases as the sampling rate decreases.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
70
Aliasing

• Aliasing increases as the sampling rate decreases.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
71
Anti-Aliasing Filter

• To avoid aliasing, remove frequency components that alias


before sampling.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
72
Aliasing

• Aliasing increases as the sampling rate decreases.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
73
Aliasing

• Aliasing increases as the sampling rate decreases.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
74
Aliasing

• Aliasing increases as the sampling rate decreases.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
75
Aliasing

• Aliasing increases as the sampling rate decreases.

Reference: https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/mit6_003f11_lec21/
76

You might also like