ece538 final exam fall 2017 digital signal …ee538/finalexamf17.pdfece538 final exam fall 2017...

23
ECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open Book but Closed Notes. Three double-sided 8.5 x 11 crib sheets allowed This test contains five problems. You must show all work for each problem to receive full credit. No. Topic(s) of Problem Points 1. OFDM 20 2. Noble’s Identities 20 3. Perfect Reconstruction Filter Bank 20 4. DFT’s and Time-Domain Aliasing 20 5. Z-Transform, Difference Eqns., Bilinear Transform 20 1

Upload: others

Post on 23-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

ECE538 Final Exam Fall 2017Digital Signal Processing I 14 December 2017

Cover Sheet

Test Duration: 2 hours.Open Book but Closed Notes.

Three double-sided 8.5 x 11 crib sheets allowedThis test contains five problems.

You must show all work for each problem to receive full credit.

No. Topic(s) of Problem Points1. OFDM 202. Noble’s Identities 203. Perfect Reconstruction Filter Bank 204. DFT’s and Time-Domain Aliasing 205. Z-Transform, Difference Eqns., Bilinear Transform 20

1

Page 2: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

Problem 1. An OFDM signal is synthesized as a sum of four sinewaves of length 4 as

x̃[n] =1

4

3∑

k=0

bkej2π k

4n{u[n]− u[n− 4]}

Each of the four values bk is one of the four QPSK values listed in the symbol alphabetbelow.

bk ∈ {1 + j, 1− j,−1 + j,−1− j} k = 0, 1, 2, 3

We know in advance that the signal we transmit will be convolved with a filter of lengthL = 3. Thus, we add a cyclic prefix of length 3 which effective creates a sum of sinewaves oflength 7 as prescribed below:

x[n] =1

4

3∑

k=0

bkej2π k

4n{u[n+ 3]− u[n− 4]}

The sequence of length 7 above is convolved with the filter below of length 3

h[n] = {8, 4, 2} = 8δ[n] + 4δ[n− 1] + 2δ[n− 2]

This ultimately yields the following sequence of length 7+3-1 = 9

y[n] = x[n] ∗ h[n] = {4 + 4j,−2 + 6j, 3 + 7j, 5− j, 7 + 3j,−1 + 5j, 3 + 7j, 1 + 3j, 1 + j}

Your task is to determine the numerical values of each of the four symbols: b0, b1, b2, andb3. Explain and show all the steps in determining your answers. Please lay your work outnicely with logical ordering. Your work will be more important than your final answers.

2

Page 3: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

This page left intentionally blank for student work.

3

Page 4: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

This page left intentionally blank for student work.

4

Page 5: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

This page left intentionally blank for student work.

5

Page 6: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

Problem 2. [20 points] Determine the impulse response h[n] in Figure 2.1(b) so that theI/O relationship of the system in Figure 2.1(b) is exactly the same as the I/O relationshipof the system in Figure 2.1(a). Plot the magnitude AND the phase (two separate plots) ofthe DTFT of h[n] over −π < ω < π. Hint: Analyze the system of Figure 2.1(a) in thefrequency domain using one of Noble’s Identities.

2 2sin( π

2n)

π nBP( j)n { {

h [n]= (sin( π

2n)

π nBP( j)

n{

{

h [n]= 4 h [n]= ??

Figure 2.1(a). Figure 2.1(b).

6

Page 7: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

This page left intentionally blank for student work for Problem 2.

7

Page 8: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

This page left intentionally blank for student work for Problem 2.

8

Page 9: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

x[n]

h [n] 0

h [n] 1

h [n] 2

h [n]3

z [n]0

z [n]1

z [n]2

z [n]3

4

4

4

4

y [n]

z [n]1

z [n]0

z [n]2

z [n]3

g [n]

0

g [n]1

g [n]2

g [n] 3

4

4

4

4

Σ

Figure 1(a). Analysis Filter Bank. Figure 1(b). Synthesis Filter Bank.

Figure 3.1. For Problem 3 on Next Page.

z [n] 0

z [n] 0

z [n]1

z [n]1

z [n]2

z [n]2

z [n]3

z [n]3

h [n]0

h [n]1

2h [n]

y[n]

3h [n]

interleaver

(clockwise)

y [4n-3]

y [4n]

y [4n-2]

y [4n-1]

-

-

-

-

A

Matrix 4x4

B

Matrix 4x4

x[4n]

s [n]

x[4n-1]

x[4n-2]

x[4n-3]

h [n]0

h [n]1

2h [n]

3h [n]

s [n]0

y [n]3

y [n]2

y [n]1

y [n]0

s [n]1

2

s [n]3

+

+

+

+

Figure 3.2. For Problem 3 on Next Page.

9

Page 10: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

Problem 3. Consider the M = 4 channel Filter Bank in Figure 3.1 on the previous page.You are to determine an efficient implementation of the entire structure having the form inFigure 3.2. Then determine whether it achieves Perfect Reconstruction with the followingcausal analysis filters, each of which is of length 4 and starts at n = 0. Achieving PerfectReconstruction means the output is the same as the input except for possibly anamplitude-scaling and an integer-delay.

h0[n] = {1,−2,−1,−2}

h1[n] = {2, 1, 2,−1}

h2[n] = {1,−2, 1, 2}

h3[n] = {2, 1,−2, 1}

The first element in each vector corresponds to n = 0. The corresponding synthesis filtersare defined below. The four analysis filters and the four synthesis filters are all real-valued.

(a) Draw the efficient implementation of the top branch of the analysis side where theh0[n] is followed by decimation by a factor of 4. The inputs for the efficientimplementation should be x[4n], x[4n− 1], x[4n− 2], x[4n− 3].

(b) Draw the efficient implementation of the top branch of the synthesis side wherezero-inserts is followed filtering by g0[n] followed by decimation by a factor of 4. Theoutputs for the efficient implementation should be y[4n], y[4n− 1], y[4n− 2],y[4n− 3] and the commutator for the interleaver should operate clockwise.

(c) Since all of the analysis and synthesis filters are each of length 4, the polyphasecomponents are each of length 1. Thus, we can set

h+

0 [n] = δ[n] h+

1 [n] = δ[n] h+

2 [n] = δ[n] h+

3 [n] = δ[n]

h−

0 [n] = δ[n] h−

1 [n] = δ[n] h−

2 [n] = δ[n] h−

3 [n] = δ[n]

With this in mind, the matrices B and A operate as follows.

z0[n]z1[n]z2[n]z3[n]

=

b11 b12 b13 b14b21 b22 b23 b24b31 b21 b33 b34b41 b21 b33 b44

x[4n]x[4n− 1]x[4n− 2]x[4n− 3]

y[4n]y[4n− 1]y[4n− 2]y[4n− 3]

=

a11 a12 a13 a14a21 a22 a23 a24a31 a21 a33 a34a41 a21 a33 a44

z0[n]z1[n]z2[n]z3[n]

(1)Determine the matrices A and B in this efficient implementation.

(d) Determine if the Filter Bank achieves Perfect Reconstruction. Explain your answer.

NOTE: 1 The matrices A and B are real-valued matrices that have nothing to do witha 4-pt DFT matrix.

10

Page 11: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open
mdz
Text Box
Final Exam, Fall 2017, Partial Solution
Page 12: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

This page left intentionally blank for student work for Problem 3.

11

Page 13: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

This page left intentionally blank for student work for Problem 3.

12

Page 14: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

This page left intentionally blank for student work for Problem 3.

13

Page 15: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

Problem 4. Let x[n] be of length L = 4, i.e., x[n] = 0 for n < 0 and n ≥ 4 and h[n]be of length M = 5, i.e., h[n] = 0 for n < 0 and n ≥ 5. Let X6(k) and H6(k) denote 6-pointDFT’s of x[n] and h[n], respectively. The 6-point inverse DFT of the product Y6(k) =X6(k)H6(k), denoted y6[n], produces the following values:

n 0 1 2 3 4 5y6[n] 3 3 3 4 4 3

Let X5(k) and H5(k) denote the 5-point DFT’s of the aforementioned sequences x[n] andh[n]. The 5-point inverse DFT of the product Y5(k) = X5(k)H5(k), denoted y5[n], producesthe following values:

n 0 1 2 3 4y5[n] 4 4 4 4 4

Given y6[n] and y5[n], find the linear convolution of x[n] and h[n], i. e., list all of thenumerical values of y[n] = x[n] ∗ h[n].

14

Page 16: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

This page left intentionally blank for student work for Problem 4.

15

Page 17: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

This page left intentionally blank for student work for Problem 4.

16

Page 18: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

Problem 5. A second-order digital filter is to be designed from an analog filter having twopoles in the s-plane at −1 + 2j and −1− 2j and two zeros at j and −j, via the bilineartransformation method characterized by the mapping

s =z − 1

z + 1

(a) Is the resulting digital filter (BIBO) stable? Briefly explain why or why not.

(b) Denote the frequency response of the resulting digital filter as H(ω) (the DTFT of itsimpulse response). You are given that in the range 0 < ω < π, there is only one valueof ω for which H(ω) = 0. Determine that value of ω.

(c) Draw a pole-zero diagram for the resulting digital filter. Give the exact locations ofthe poles and zeros of the digital filter in the z-plane.

(d) Plot the magnitude of the DTFT of the resulting digital filter, |H(ω)|, over−π < ω < π. You are given that H(0) = 0.8. Be sure to indicate any frequency forwhich |H(ω)| = 0. Also, specifically note the numerical value of |H(ω)| for ω = π

2and

ω = π.

(e) Determine the difference equation for the resulting digital filter.

17

Page 19: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open
Page 20: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open
Page 21: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open
Page 22: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

This page left intentionally blank for student work for Problem 5.

18

Page 23: ECE538 Final Exam Fall 2017 Digital Signal …ee538/FinalExamF17.pdfECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December 2017 Cover Sheet Test Duration: 2 hours. Open

This page left intentionally blank for student work for Problem 5.

19