Presentation is loading. Please wait.

Presentation is loading. Please wait.

HKN ECE 310 Exam 2 Review Session

Similar presentations


Presentation on theme: "HKN ECE 310 Exam 2 Review Session"— Presentation transcript:

1 HKN ECE 310 Exam 2 Review Session
Corey Snyder

2 Topics DTFT and Frequency Response Ideal Sampling and Reconstruction
DFT

3 Discrete Time Fourier Transform
𝑋 𝑑 𝜔 = 𝑛=−∞ ∞ 𝑥[𝑛] 𝑒 −𝑗𝜔𝑛 𝑥 𝑛 = 1 2𝜋 −𝜋 𝜋 𝑋 𝑑 𝜔 𝑒 𝑗𝜔𝑛 𝑑𝜔 Important Properties: Periodicity by 𝟐𝝅! Linearity Symmetries (Magnitude, angle, real part, imaginary part) Time shift and modulation Product of signals and convolution Parseval’s Relation Know your geometric series sums!

4 Frequency Response For any stable LSI system: 𝐻 𝑑 ω =𝐻(𝑧) | 𝑧= 𝑒 𝑗ω
What is the physical interpretation of this? The DTFT is simply the z-transform evaluated along the unit circle! It makes sense that the system must be stable and LSI since the ROC will contain the unit circle, thus ensuring that the DTFT is well defined Why is the frequency response nice to use in addition to the z-transform? 𝑒 𝑗ω is an eigenfunction of LSI systems ℎ 𝑛 ∗𝐴 𝑒 𝑗 𝜔 0 =𝜆𝐴 𝑒 𝑗 𝜔 0 =𝐴 𝐻 𝑑 𝜔 0 𝑒 𝑗 𝜔 0 By extension: 𝑥 𝑛 = cos (ω 0 𝑛+𝜃) →𝑦 𝑛 =| 𝐻 𝑑 ω 0 | cos (ω 0 𝑛+𝜃+∠ 𝐻 𝑑 ( ω 0 ))

5 Magnitude and Phase Response
Very similar to ECE 210 Frequency response, and all DTFTs for that matter, are 2𝜋 periodic Magnitude response is fairly straightforward Take the magnitude of the frequency response, remembering that |𝑒 𝑗ω | = 1 For phase response: Phase is “contained” in 𝑒 𝑗ω terms Remember that cosine and sine introduce sign changes in the phase When a cosine or sine changes phase, we have a contribution of ±𝜋 phase. Limit your domain from −𝜋 to 𝜋. For real-valued signals and systems: Magnitude response is even-symmetric Phase response is odd-symmetric

6 DTFT Exercise 1 Let our signal be ℎ 𝑛 = 𝟏,2,1 .
Compute the DTFT of ℎ[𝑛]. Plot the magnitude response. Plot the phase response.

7 DTFT Exercise 2 Suppose we have a new system defined by a real-valued impulse response ℎ[𝑛] with corresponding DTFT 𝐻 𝑑 (𝜔). We also know the following about the magnitude and phase responses: 𝐻 𝑑 𝜔 = 1, 𝜋≤𝜔< 3𝜋 2 2, 3𝜋 2 ≤𝜔<2𝜋 ∠ 𝐻 𝑑 𝜔 = − 𝜋 4 , 𝜋≤𝜔< 3𝜋 2 𝜋 4 , 3𝜋 2 ≤𝜔<2𝜋 Plot the magnitude response of 𝐻 𝑑 (𝜔) on the interval −𝜋 to 𝜋. Plot the phase response of 𝐻 𝑑 𝜔 on the interval −𝜋 to 𝜋.

8 Sinusoidal Response Exercise 1
We have an LSI system defined by the following LCCDE: 𝑦 𝑛 =𝑥 𝑛 −2𝑥 𝑛−1 +𝑥 𝑛−2 . Find 𝐻(𝑧). Find 𝐻 𝑑 𝜔 . Find the output 𝑦[𝑛] to each of the following inputs: 𝑥 1 𝑛 =2+ cos (𝜋𝑛) 𝑥 2 𝑛 = 𝑒 𝑗 𝜋 4 𝑛 + sin − 𝜋 2 𝑛

9 Ideal A/D Conversion 𝑋 𝑑 𝜔 = 1 𝑇 𝑘∈ℤ 𝑋 𝑎 𝜔−2𝜋𝑘 𝑇
Sampling via an impulse train will yield infinitely many copies of the analog spectrum in the digital frequency domain 𝑋 𝑑 𝜔 = 1 𝑇 𝑘∈ℤ 𝑋 𝑎 𝜔−2𝜋𝑘 𝑇 Important relations to recall: Nyquist Sampling Theorem: 1 𝑇 = 𝑓 𝑠 >2𝐵=2 𝑓 𝑚𝑎𝑥 Relationship between digital 𝜔 and analog frequencies Ω: 𝜔=Ω𝑇

10 Ideal D/A Conversion Recall that our DTFT has infinitely many copies of our sampled analog spectrum. Ideal D/A conversion requires we perfectly recover only the central copy between −𝜋 and 𝜋. Digital signal is given notion of continuous-time back with a sampling period 𝑇. We suppose that we have an ideal low-pass analog filter (“interpolation filter”) with cutoff frequency corresponding to 𝜋 𝑇 .

11 Sampling Exercise 1 Suppose we sampled some analog signal defined by
𝑥 𝑎 𝑡 = cos ( Ω 0 𝑡) with sampling period 𝑇= 𝑠 to obtain the digital signal 𝑥 𝑛 = cos 𝜋 4 𝑛 . Which of the following are possible values for Ω 0 ? (There may be more than one!) 250𝜋 rad/s 𝜋 rad/s −1750𝜋 rad/s 4250𝜋 rad/s 1 8 rad/s

12 Sampling Exercise 2 We have an analog signal 𝑥 𝑎 𝑡 with CTFT 𝑋 𝑎 Ω with maximum frequency 𝜋. For each of the following sampling periods 𝑇, draw the sampled DTFT spectrum 𝑋 𝑑 (𝜔) on the interval −3𝜋 to 3𝜋. 𝑇 1 = 𝑠 𝑇 2 = 𝑠 𝑇 3 = 𝑠

13 Discrete Fourier Transform
𝑋 𝑘 = 𝑛=0 𝑁−1 𝑥[𝑛] 𝑒 −𝑗2𝜋𝑘𝑛 𝑁 , 0≤𝑘≤𝑁−1 𝑥 𝑛 = 1 𝑁 𝑘=0 𝑁−1 𝑋 𝑘 𝑒 𝑗2𝜋𝑘𝑛 𝑁 , 0≤𝑛≤𝑁−1 What is the relationship between the DTFT and the DFT? 𝜔 𝑘 = 2𝜋𝑘 𝑁 𝜔 𝑘 ∈ 0, 2𝜋 𝑁 , 4𝜋 𝑁 ,…, 2𝜋 𝑁−1 𝑁

14 DFT Properties Circular shift Circular modulation Circular convolution
We must amend our DTFT properties with the “circular” term because the DFT is defined over a finite length signal and assumes periodic extension of that finite signal.

15 Zero-Padding We can improve the resolution of the DFT simply by adding zeros to the end of the signal. This doesn’t change the frequency content of the DTFT! No information/energy is being added. Instead, it increases the number of samples the DFT takes of the DTFT. This can be used to improve spectral resolution.

16 DFT Exercise 1 Surprisingly, we have another signal
𝑥 𝑛 = cos 𝜋 3 𝑛 , 0≤𝑛<18. For which value(s) of 𝑘 is the DFT of 𝑥[𝑛], 𝑋[𝑘], largest? Suppose now that we zero-pad our sequence with 72 zeros to obtain 𝑦[𝑛]. For which value(s) of 𝑘 is 𝑌[𝑘] largest?


Download ppt "HKN ECE 310 Exam 2 Review Session"

Similar presentations


Ads by Google