EECS 123 Digital Signal Processing University of California, Berkeley: Fall 2007 Gastpar November 7, Exam 2

Similar documents
ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

NAME: ht () 1 2π. Hj0 ( ) dω Find the value of BW for the system having the following impulse response.

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science Discrete-Time Signal Processing Fall 2005

1 1.27z z 2. 1 z H 2

Grades will be determined by the correctness of your answers (explanations are not required).

ELEN 4810 Midterm Exam

Problem Value

Multirate signal processing

Problem Value

Stability Condition in Terms of the Pole Locations

6.003 (Fall 2011) Quiz #3 November 16, 2011

Problem Value

ECE 350 Signals and Systems Spring 2011 Final Exam - Solutions. Three 8 ½ x 11 sheets of notes, and a calculator are allowed during the exam.

Each problem is worth 25 points, and you may solve the problems in any order.

Problem Value Score No/Wrong Rec

Quadrature-Mirror Filter Bank

4.1 Introduction. 2πδ ω (4.2) Applications of Fourier Representations to Mixed Signal Classes = (4.1)

Grades will be determined by the correctness of your answers (explanations are not required).

Chapter 5 Frequency Domain Analysis of Systems

ECE 301 Division 1 Final Exam Solutions, 12/12/2011, 3:20-5:20pm in PHYS 114.

CITY UNIVERSITY LONDON. MSc in Information Engineering DIGITAL SIGNAL PROCESSING EPM746

Optimal Design of Real and Complex Minimum Phase Digital FIR Filters

Multirate Digital Signal Processing

Midterm Exam 1 (Solutions)

Digital Signal Processing Lecture 9 - Design of Digital Filters - FIR

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2017 Kannan Ramchandran March 21, 2017.

NAME: 11 December 2013 Digital Signal Processing I Final Exam Fall Cover Sheet

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL & COMPUTER ENGINEERING FINAL EXAM. COURSE: ECE 3084A (Prof. Michaels)

Bridge between continuous time and discrete time signals

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

(Practice Version) Midterm Exam 2

ESE 531: Digital Signal Processing

Q1 Q2 Q3 Q4 Q5 Total

Digital Signal Processing

Lecture 11: Two Channel Filter Bank

Digital Signal Processing. Midterm 1 Solution

Test 2 Electrical Engineering Bachelor Module 8 Signal Processing and Communications

EECS123 - Midterm November :10-9:30 a.m.

MULTIRATE DIGITAL SIGNAL PROCESSING

Chapter 7: IIR Filter Design Techniques

UNIVERSITY OF OSLO. Please make sure that your copy of the problem set is complete before you attempt to answer anything.

EE301 Signals and Systems In-Class Exam Exam 3 Thursday, Apr. 19, Cover Sheet

ECE 301. Division 2, Fall 2006 Instructor: Mimi Boutin Midterm Examination 3

ESE 531: Digital Signal Processing

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2018 Kannan Ramchandran February 14, 2018.

EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2014 Kannan Ramchandran November 13, 2014.

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science. Fall Solutions for Problem Set 2

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL & COMPUTER ENGINEERING FINAL EXAM. COURSE: ECE 3084A (Prof. Michaels)

Lab 4: Quantization, Oversampling, and Noise Shaping

Chapter 5 Frequency Domain Analysis of Systems

ECE-700 Review. Phil Schniter. January 5, x c (t)e jωt dt, x[n]z n, Denoting a transform pair by x[n] X(z), some useful properties are

Digital Control & Digital Filters. Lectures 21 & 22

Midterm Exam 2 (Solutions)

Optimal Discretization of Analog Filters via Sampled-Data H Control Theory

Problem Set 9 Solutions

MULTIRATE SYSTEMS. work load, lower filter order, lower coefficient sensitivity and noise,

EE538 Digital Signal Processing I Session 13 Exam 1 Live: Wed., Sept. 18, Cover Sheet

Lecture 8: Signal Reconstruction, DT vs CT Processing. 8.1 Reconstruction of a Band-limited Signal from its Samples

Problem Value Score No/Wrong Rec 3

Math 53 Final Exam, Prof. Srivastava May 11, 2018, 11:40pm 2:30pm, 155 Dwinelle Hall.

Exercises in Digital Signal Processing

University Question Paper Solution

ECE503: Digital Signal Processing Lecture 5

Filter Analysis and Design

ECE 3084 QUIZ 2 SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING GEORGIA INSTITUTE OF TECHNOLOGY APRIL 2, Name:

EE301 Signals and Systems Spring 2016 Exam 2 Thursday, Mar. 31, Cover Sheet

Digital Signal Processing

University of Illinois at Urbana-Champaign ECE 310: Digital Signal Processing

Discrete Time Signals and Systems Time-frequency Analysis. Gloria Menegaz

ECGR4124 Digital Signal Processing Exam 2 Spring 2017

School of Information Technology and Electrical Engineering EXAMINATION. ELEC3004 Signals, Systems & Control

ELEG 305: Digital Signal Processing

Homework: 4.50 & 4.51 of the attachment Tutorial Problems: 7.41, 7.44, 7.47, Signals & Systems Sampling P1

FINAL EXAM. Problem Value Score No/Wrong Rec 3

EE538 Final Exam Fall :20 pm -5:20 pm PHYS 223 Dec. 17, Cover Sheet

(Refer Slide Time: 01:28 03:51 min)

Topics: Discrete transforms; 1 and 2D Filters, sampling, and scanning

INF3440/INF4440. Design of digital filters

EECS 20. Midterm No. 2 Practice Problems Solution, November 10, 2004.

ECE 301. Division 3, Fall 2007 Instructor: Mimi Boutin Midterm Examination 3

The Johns Hopkins University Department of Electrical and Computer Engineering Introduction to Linear Systems Fall 2002.

Discrete Fourier Transform

Filter structures ELEC-E5410

UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences

2A1H Time-Frequency Analysis II

School of Information Technology and Electrical Engineering EXAMINATION. ELEC3004 Signals, Systems & Control

EEE4001F EXAM DIGITAL SIGNAL PROCESSING. University of Cape Town Department of Electrical Engineering PART A. June hours.

EECS 20N: Structure and Interpretation of Signals and Systems Final Exam Department of Electrical Engineering and Computer Sciences 13 December 2005

ECE 410 DIGITAL SIGNAL PROCESSING D. Munson University of Illinois Chapter 12

EE 521: Instrumentation and Measurements

Final Exam ECE301 Signals and Systems Friday, May 3, Cover Sheet

Digital Signal Processing. Midterm 2 Solutions

APPLIED SIGNAL PROCESSING

Digital Signal Processing Lecture 3 - Discrete-Time Systems

Lecture 7 Discrete Systems

On the Frequency-Domain Properties of Savitzky-Golay Filters

Discrete-Time David Johns and Ken Martin University of Toronto

Transform Analysis of Linear Time-Invariant Systems

Final Exam January 31, Solutions

Filter Design Problem

Transcription:

EECS 3 Digital Signal Processing University of California, Berkeley: Fall 7 Gastpar November 7, 7 Exam Last name First name SID You have hour and 45 minutes to complete this exam. he exam is closed-book and closed-notes; calculators, computing and communication devices are not permitted. No form of collaboration between the students is allowed. If you are caught cheating, you may fail the course and face disciplinary consequences. However, four single-sided US letter pages of handwritten and not photocopied notes are allowed. Additionally, you receive ables.,.,.3, 3., 3., 8., 8. from the class textbook. If we can t read it, we can t grade it. We can only give partial credit if you write out your derivations and reasoning in detail. You may use the back of the pages of the exam if you need more space. *** Good Luck! *** Problem Points earned out of Problem Problem Problem 3 Problem 4 5 Problem 5 5 otal

Partial Credit. Partial credit will be given only if there is sufficient information in your work. In general, a good way to show that you understand what s going on is for example to provide plots, sketches, and formulas for intermediate signals. hat way, if you make an error somewhere along the way, we can trace it and evaluate whether or not you understood the basics of the problem. Useful Formulae. For the continuous-time box function, b(t) = {, t, otherwise () the (continuous-time) Fourier transform is given by B(jΩ) = sin(ω). () Ω tan(/4) =

Problem (Phase Properties.) Points Given the phase characteristics of a generalized linear phase FIR filter H d (e jω ) shown below, answer the following questions. Include brief explanations to get credit. j ω H (e ) d ω (a) (6 pts) Is this a symmetric (i.e., ype-i or ype-ii) or an anti-symmetric (i.e., ype-iii or ype-iv) filter? Why? Anti-symmetric, because it has a ±/ phase shift. (b) (8 pts) Can the filter length be determined from the given information? If yes, what is the length? If not, why not? Yes, the slope of the phase is -. So, the delay is. hen M = and N = 3 (c) (6 pts) he filter magnitude response has a DC gain of. rue or False? Why? False, an anti-symmetric even-order FIR filter must have a DC gain of zero. 3

Problem (Filter Design.) Points (a) ( pts) A continuous-time filter is given by H a (s) = +s. We want to use this as a prototype filter to design a discrete-time filter via the bilinear transform with a suppression of / at ω c = /. (Note that the filter has a gain of at frequency zero.) Give H explicitly. One way to solve this problem is follows. First determine the continuous frequency with attenuation /. H a (jω c ) = + jω c = Ω c = Since Ω c = d tan(ω c /) this means that we want d =, and thus H = = + z ( + z ) +z Another approach is to solve for H in terms of d, and then to solve for the value of d such that H(e jω/ ) = /. (b) (8 pts) Sketch H(e jω ) for the filter designed in part (a) over the interval ω. H(e jω ) = e jω/ (e jω/ + e jω/ ) = e jω/ cos(ω/).5..4.6.8 4

Problem 3 (Filter Design.) Points (a) (5 pts) We want to approximate the lowpass filter in Figure with the optimal minimax (Parks-McClellan) ype-i filter h(n). Just like in class, the band ω ω p is the desired passband, and the band ω s ω is the desired stopband. In Figure, provide a sketch the form of H(e jω ) when h(n) has length 3. Recall that the amplitude of a ype-i filter has the form A(e jω ) = M/ k= a k cos(kω). Assume that ω s = ω p. e e e 3 ω p ω s e 4 Figure : (b) ( pts) Determine the filter h(n). Hint: If you find it easier, you may start by assuming that ω p = /3 and thus, ω s = /3. Since the filter has length 3, we know that A(w) = a + a cos(ω). here must be alternations at the boundaries e and e 3. Also, because cos(ω) is strictly decreasing on the interval [,] it is clear that an alternation point must occur at e or e 4. Given the symmetry of the problem and the fact that A(w) is just a shifted and stretched cosine, we see that the error at e and e 4 must be the same, that is they are both alternation points. Using this reasoning, we have a = /. Equating the error at e and e gives And so the filter is given by a + a cos() = a a cos(ω p ) a = h = [a /,a,a /] Note that if w p = /3, then h = [/3,/,/3]. + cos(ω p ). 5

(c) (5 pts) What is the largest value of ω p such that the maximum error is δ /6? he maximum error is Solving this leads to δ = a + a = + cos(ω p ) δ /6 cos(ω p ) / ω p /3 6

Problem 4 (Multirate System.) 5 Points Ideal D/A y[n] w[n] z(t) x[n] H d 8 H i ZOH H a y(t) H d (e jω ) = {, ω, else H i (e jω ) = { 8, ω 8, else he ZOH operates at interval but produces pulses of width 4, i.e. g(t) = and the output is z(t) = n= w[n]g(t n). {, t 4, else, (a) (9 pts) For X(e jω ) pictured, sketch W(e jω ). Label the magnitude and bandwidth. W(e jω ) 8 X(e jω ) 6 6 (b) (7 pts) For the same X(e jω ), sketch Z(jΩ) for Ω = [ 8, 8 ]. ( ) t F rect ( /4 4 sinc Ω ) = sin(ω/8) 8 Ω.5. Magnitude [].5..5 8 6 4 4 6 8 Ω[/ rad] See the next page for a more accurate depiction of the labels 7

Z(j Ω) 8 6 4 6 6 4 6 8 Ω 8

(c) (7 pts) For this part, we are interested in making the dashed block (with input y[n] and output y(t)) an ideal D/A converter for arbitrary y[n], i.e. ignore the effects of H d. What is the cheapest filter H a (jω) such that between y[n] and y(t) we have an ideal D/A. Sketch H a (jω) and specify its value where necessary. We start by noting that the signal y[n] used to arrive at the figure in Part (b) only occupied half of the frequency band. In order to obtain a general ideal D-to-A converter, we must allow for input signals y[n] that occupy the entire (digital) spectrum, and thus, the components of the corresponding signal z(t) will have a width of 8 (rather than only 6, as in the figure in Part (b)). However, the crucial point is that the spectrum Z(jΩ) is zero for all frequencies 5 8 < Ω < 8, and we can exploit this fact in the design of the filter H a(jω). Specifically, that filter must be the inverse of G(jΩ) inside the band Ω 8, but can be anything in the band 5 8 < Ω < 8. We can exploit this degree of freedom and use a cheaper filter, such as the one drawn in the figure below. 5 4 3.5.5.5.5 Ω [/] (d) ( pts) Explain (in words) the advantages and disadvantages of this D/A converter design over a direct implementation (as we have discussed it in class). he advantage is that we no longer need an ideal continuous-time filter in order to implement an ideal digital-to-analog conversion. Rather, we can simply use a relaxed filter such as the one found in Part (c). hat filter is cheaper to implement. he disadvantage is that we need more digital logic. (However, for the past few decades, digital has become cheaper and faster according to Moore s law (check it out on Wikipedia if you have never heard about it...), and so, this has not been considered a real issue.) Oversampling is a trick used in many digital-analog (and also analog-digital, as we will see very soon) conversion systems. the filter having the largest transition band (as we have seen in class, the smaller (i.e., steeper) the transition band, the more filter coefficients are necessary) 9

Problem 5 (Filter Bank.) 5 Points H F G x[n] y[n] H F G Figure : A two-channel filter bank. For the filter bank in Figure, find the conditions for perfect reconstruction, i.e., the conditions on the filters F i,g i,h i (for i =,) such that y[n] = x[n]. We may replace F i with the filter F i (z ) which occurs either before the downsampling or after the upsampling. Either way we get and as the conditions for perfect reconstruction. G F (z )H + G F (z )H = G F (z )H ) z) + G F (z )H ( z) =