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

Similar documents
Digital Signal Processing

ECE503: Digital Signal Processing Lecture 5

Digital Signal Processing

Stability Condition in Terms of the Pole Locations

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

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

EE482: Digital Signal Processing Applications

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

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

Digital Signal Processing. Midterm 1 Solution

Lecture 9 Infinite Impulse Response Filters

Digital Signal Processing IIR Filter Design via Bilinear Transform

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

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

Design of IIR filters

Lecture 16: Filter Design: Impulse Invariance and Bilinear Transform

Filter Analysis and Design

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

Signals and Systems. Problem Set: The z-transform and DT Fourier Transform

EEL3135: Homework #4

Lecture 7 Discrete Systems

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

Filter Design Problem

LAB 6: FIR Filter Design Summer 2011

INF3440/INF4440. Design of digital filters

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

Problem Value

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

Multirate signal processing

EE 521: Instrumentation and Measurements

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

ECE 413 Digital Signal Processing Midterm Exam, Spring Instructions:

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.

ELEN 4810 Midterm Exam

Lecture 8 Finite Impulse Response Filters

Today. ESE 531: Digital Signal Processing. IIR Filter Design. Impulse Invariance. Impulse Invariance. Impulse Invariance. ω < π.

Optimal Design of Real and Complex Minimum Phase Digital FIR Filters

Massachusetts Institute of Technology

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

Q1 Q2 Q3 Q4 Q5 Total

Digital Signal Processing

Like bilateral Laplace transforms, ROC must be used to determine a unique inverse z-transform.

EE538 Final Exam Fall 2007 Mon, Dec 10, 8-10 am RHPH 127 Dec. 10, Cover Sheet

EE-210. Signals and Systems Homework 7 Solutions

Chapter 7: IIR Filter Design Techniques

Solutions: Homework Set # 5

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

/ (2π) X(e jω ) dω. 4. An 8 point sequence is given by x(n) = {2,2,2,2,1,1,1,1}. Compute 8 point DFT of x(n) by

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

1 1.27z z 2. 1 z H 2

EECE 301 Signals & Systems Prof. Mark Fowler

ELEG 305: Digital Signal Processing

ECGR4124 Digital Signal Processing Final Spring 2009

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

Let H(z) = P(z)/Q(z) be the system function of a rational form. Let us represent both P(z) and Q(z) as polynomials of z (not z -1 )

Digital Signal Processing Lecture 8 - Filter Design - IIR

EE 225a Digital Signal Processing Supplementary Material

Butterworth Filter Properties

2. Typical Discrete-Time Systems All-Pass Systems (5.5) 2.2. Minimum-Phase Systems (5.6) 2.3. Generalized Linear-Phase Systems (5.

EE 3054: Signals, Systems, and Transforms Spring A causal discrete-time LTI system is described by the equation. y(n) = 1 4.

The Cooper Union Department of Electrical Engineering ECE111 Signal Processing & Systems Analysis Final May 4, 2012

Optimum Ordering and Pole-Zero Pairing of the Cascade Form IIR. Digital Filter

Review of Fundamentals of Digital Signal Processing

Exercises in Digital Signal Processing

-Digital Signal Processing- FIR Filter Design. Lecture May-16

( ) John A. Quinn Lecture. ESE 531: Digital Signal Processing. Lecture Outline. Frequency Response of LTI System. Example: Zero on Real Axis

Discrete-Time Signals and Systems. The z-transform and Its Application. The Direct z-transform. Region of Convergence. Reference: Sections

24 Butterworth Filters

ECE-314 Fall 2012 Review Questions for Midterm Examination II

Solution 7 August 2015 ECE301 Signals and Systems: Final Exam. Cover Sheet

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

IIR digital filter design for low pass filter based on impulse invariance and bilinear transformation methods using butterworth analog filter

UNIVERSITY OF OSLO. Faculty of mathematics and natural sciences. Forslag til fasit, versjon-01: Problem 1 Signals and systems.

Review of Fundamentals of Digital Signal Processing

Problem Value

PS403 - Digital Signal processing

Digital Signal Processing Lecture 10 - Discrete Fourier Transform

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

Your solutions for time-domain waveforms should all be expressed as real-valued functions.

! Introduction. ! Discrete Time Signals & Systems. ! Z-Transform. ! Inverse Z-Transform. ! Sampling of Continuous Time Signals

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

Transform Analysis of Linear Time-Invariant Systems

Filter structures ELEC-E5410

Lecture 14: Windowing

Review: Continuous Fourier Transform

ESE 531: Digital Signal Processing

Review of Discrete-Time System

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

GATE EE Topic wise Questions SIGNALS & SYSTEMS

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

Massachusetts Institute of Technology

UNIT - 7: FIR Filter Design

Digital Signal Processing. Lecture Notes and Exam Questions DRAFT

EC Signals and Systems

Discrete-Time David Johns and Ken Martin University of Toronto

EE482: Digital Signal Processing Applications

Digital Signal Processing 2/ Advanced Digital Signal Processing, Audio/Video Signal Processing Lecture 10, Frequency Warping, Example

ECGR4124 Digital Signal Processing Exam 2 Spring 2017

INFINITE-IMPULSE RESPONSE DIGITAL FILTERS Classical analog filters and their conversion to digital filters 4. THE BUTTERWORTH ANALOG FILTER

Math Final Exam.

Transcription:

Professor Vetterli EECS123 - Midterm 2 15 November 1994 8:10-9:30 a.m. This is an open book exam. Calculators are allowed. Please show your work clearly if you wish to receive partial credit. Good Luck! (30 pts) 1. Consider the following discrete-time system a) Give the transfer function H(z) of this system, and sketch the magnitude response H(e^jw). What is the phase behavior (linear, minimum, maximum, or arbitrary phase)? (6 pts) b. Find a casual and stable inverse filter G(z) such that H(z) G(z) has a flat magnitude response, or H(e^jw) G(e^jw) = 1 (6 pts) (6 pts) (6 pts) c. Is G(z) above unique? If not, give another solution. d. Find a causal and stable filter F(z) such that H(z) F(z) has linear phase (that is, its impulse response is either symmetric or antisymmetric). If there is more than one solution, pick the one that minimizes the degree of H(z) F(z). e. Same as (d) above, but restrict F(z) to be an FIR filter. Give a minimum degree solution, as well as a non-minimum degree one. (35 pts) (10 pts) 2. Consider zero phase type I filters with real coefficients, that is, filters that are symmetric round the origin and have N=2L + 1 real valued taps. a. Assume the filter has a z-transform H(z) = z +3/2 + z^-1. Show that this filter is an optimum minimax design for a lowpass file:///c /Documents%20and%20Settings/Jason%20Rafte...0-%20Spring%201994%20-%20Vetterli%20-%20Mid%202.htm (1 of 8)1/27/2007 4:38:18 PM

filter with desired response Hd(e^jw) = 3; 0<= w <= w(p) 0; w(s)<= w <=π and maximum error δ = ½ In particular, indicate: i. What are w(p) and w(s)? ii. What are the alternation frequencies? iii. Is this an "extraripple" solution? (Hint: Plot H(e^jw) for 0<= w <=π. ) (10 pts) b. From H(z), devise a new filter G(z) = H(z) + δ i. Show that G(e^jw) >= 0, and for what wo, G(e^jwo) = 0. ii. Because G(e^jw) >= 0, G(z) can be factored as G(z) = R(z) R(z^-1). Given R(z) in this case. (10 pts) (35 pts) c. Assume a half band lowpass filter F(z) designed with the Parks-Ms-Clellan algorithm. Assume further that N=9 and that it has half the alternation in the pass band (0.0.4π ) and the other hapf in the stop band (0.6π.π ). From this filter, derive Fp(z) = F(z) + δ, where δ is mazimum error in the stopband. Sketch Fp(e^jw) for 0 <= w <= π. d. In part (b), we stated that if G(z) is such that G(e^jw) >= 0, then G(z) = R(z) R(z^-1). Show the converse, namely that if G (z) = R(z) R(z^-1), then necessarily G(e^jw) >= 0. 3. Consider a continuous time filter with impulse response hc(t) = 1; t <=τ 0; otherwise The Fourier Transform of hc(t) is a sinc function given by the formula Hc(jΩ ) = 2sinΩ τ / Ω For parts a-d below, consider applying the bilinear transformation to Hc(jΩ ) to derive a discrete time filter Hb(e^jw). Use Td = τ / M. file:///c /Documents%20and%20Settings/Jason%20Rafte...0-%20Spring%201994%20-%20Vetterli%20-%20Mid%202.htm (2 of 8)1/27/2007 4:38:18 PM

a. Find an expression for he zeros of Hb(e^jw). Sketch H(b) (e^jw). b. At what frequency w(p) does Hb(e^jw) evluated at (w = w(p) ) = 2/π * max Hb (e^jw)? c. Find the width (in radians) of the main lobe of Hb(e^jw). The main lobe is the lobe centered around w=0 and the width refers to the distance betwen the zeris flanking the main lobe. d. Using the characteristics of Hb(e^jw) and the properties of the DTFT, determine if the discrete time impulse response hb [n] is (1) FIR; (2) symmetric; (3) stable; (4) causal; (5) real. (explain your answers.) For parts e -f below, consider applying impulse invariance to Hc(jΩ ) to derive a discrete time filter Hi(e^jw). Again use Td = τ / M. Suggestion: Do this in the frequency domain. (8 pts) e. Are there any frequencies at which aliasing does not affect the resultant filter Hi(e^jw)? If so, find them. In other words, determine any values of w for which Hi(e^jw) = Hc(j w/td). (7 pts) f) Sketch Hi(e^jw) and find the width of the main lobe. file:///c /Documents%20and%20Settings/Jason%20Rafte...0-%20Spring%201994%20-%20Vetterli%20-%20Mid%202.htm (3 of 8)1/27/2007 4:38:18 PM

EE123 Solution Problem1 a. H(z) = 1 +7/2 Z^-1 + 3/2 Z^-2 H(z) = (1 + 3Z^-1) (1+1/2 Z^-1) (fig 1) first term : zero @ Z=-3 outside U.C. (therefore not min phase) 2 nd term : zero @ z=-1/2 inside U.C. (therefore not maz phase) h[n] is not symmetric, therefore not linear phase Ł arbitrary phase (fig 2) b. H(e^jw) G (e^jw) = 1 This product is an allpass, so its poles and zeros must be in reciprocal conjugate pairs. G(z) (fig 3) The pole @ z = -1/2 cancels the zero of H(z) @ z=-1/2. The pole @ z = -1/3 combines with the zero @ z =-3 to make an allpass filter. G(z) = 1/3 * 1/[ (1+1/2 Z^-1) (1+1/3 Z^-1) ] This is the important part; it takes care of the magnitude equalization. The scale factor of 1/3 normalizes the magnitude to 1. c. G(z) is not unique. Consider G2(z) = G(z) Hap(z) G(z) from above Hap(z) allpass filter Then H(e^jw)G2(e^jw) = H(e^jw)G(e^jw) * Hap(e^jw) = 1 (fig 4) We can canstruct G2(z) by adding reciprocal conjugate pole-zero pairs to G(z). Such pole-zero pairs constitute an allpass filter. G2(z) = 1/3 * ½ * (1-2 Z^-1) / [(1+ 1/2 Z^-1) (1+ 1/3 Z^-1) (1-1/2 Z^-1)] file:///c /Documents%20and%20Settings/Jason%20Rafte...0-%20Spring%201994%20-%20Vetterli%20-%20Mid%202.htm (4 of 8)1/27/2007 4:38:18 PM

d. linear phase =Ł symmetry or anit-sym Ł zeros are reciprocal paris H(z) (fig 5) F(z) (fig 6) causal, stable all poles and zeros are inside u.c. H(z) F(z) (fig 7) F(z) = (1+ 1/3 Z^-1) / (1+ 1/2 Z^-1) e. If F(z) is restricted to be FIR, it can t have any poles except @ z=0 or z = infinite.we need to construct F(z) so that H(z) F (z) has zeros in reciprocal pairs F(z) (fig 8) H(z) F(z) (fig 9) F(z) = (z+2)(z+ 1/3) F(z) = Z^2 + 7/2 z + 2/3 minimum degree solution F2(z) (fig 10) or F3(z), etc (fig 11) F2(z) = (Z^2 + 7/2 z + 2/3) (z+1) F2(z) = Z^3 + 10/3 Z^2 + 9/3 z + 2/3 Problem 2 Real zero-phase type I filter N = 2L +1 a. H(z) = z + 3/2 + z^-1 H(e^jw) = e^jw + e^-jw + 3/2 H(e^jw) = 2cosw + 3/2 (fig 12) i. wp = π /3 ws = 2π /3 ii. {0, π /3, 2π /3, π } iii. yes, this is an extraripple soultion. It has alternations at 0 and π. b. G(z) = H(z) + δ = z + 2 + z^-1 file:///c /Documents%20and%20Settings/Jason%20Rafte...0-%20Spring%201994%20-%20Vetterli%20-%20Mid%202.htm (5 of 8)1/27/2007 4:38:18 PM

i. G(e^jw) = 2cosw +2 = 2(cosw + 1) >= 0 for all w G(e^jwo) = 0 for wo = π ii. G(z) = R(z) R(z^-1) = z + 2 + z^-1 = (1 + z) (1 + z^-1) R(z) = 1+ z (or R(z) = 1 + z^-1) c. N = 9 =Ł L = 4 half of alternations n passband implies an even number of alternations r = L + 2 = 6 half of alternations in stopband Adding the stopband error δ shifts the response up so that Fp(e^jw) >= 0 for all w. (fig 13) alternations of F(e^jw) are makred with x s d. G(z) = R(z) R(z^-1) G(e^jw) = R(e^jw) R(e^-jw) R(e^jw) is conjugate symemetric since r[n] is real, so R(e^-jw) = R*(e^jw) G(e^jw) = R(e^jw) R(e^jw) G(e^jw) = R(e^jw) ^2 >= 0 for all w. problem 3 a. Hc(jΩ ) = 2 sinω π /Ω The zeros of Hc(jΩ ) are at Ω π = π k { k not equal to 0} Ω = π k / τ. To find the zeros of Hb(e^jw), find where the zeros of Hc(jΩ ) are mapped to using the bilinear transformation equation (7.28b) w = 2 arctan (Ω Td/2) Td = τ / M = 2 arctan (π k / 2M) {k not equ to 0} file:///c /Documents%20and%20Settings/Jason%20Rafte...0-%20Spring%201994%20-%20Vetterli%20-%20Mid%202.htm (6 of 8)1/27/2007 4:38:18 PM

b. Since the bilinear transformation is a one to one mapping, we can solve this problem in Ω and map it to w. Hc(jΩ p) = 2/π maz Hc(jΩ ) = 2τ 2 sin Ω pτ / Ω p = 4τ /π By inspection Ω pπ = π /2, Ω p = π /2τ wp = 2 arctan(ω ptd/2) = 2 arctan (π /2τ * ½ * τ /M) = 2 arctan (π /4M) c. The first zero of Hc(jΩ ) is at Ω = π /τ The first zero of Hb(e^jw) is at w = 2 arctan (π /2M) So the width of the main lobe is 4 arctan(π /2M) d. (1) Not FIR H3(e^jw) has an infinite number of zeros 2. Symmetric Hb(e^jw) is real 1. Stable No poles on the U.C. 2. Not casual Since it s symmetric and not FIR, it mush be not causal 3. Real Hb(e^jw) is conjugate symmetric I left out the sjetch for part (a).. (fig 14) Since the entire jω axis is mapped into the w range [-π,π ], the zeros get closer and closer together as w infinite number of zeros.) π. (there are an e. For the impulse invariance method, we have Hi(e^jw) = (k = - infinite to + infinite) Hc(j w/td + j 2π k/td) = (k) sin [(w/td + 2π k/td) τ ] [2/(w/Td + 2π k/td)] ;Td=τ /M = (k) sin [(wm+2π km)*τ /τ ] [(2τ /M)/(w+2π k)] = (k) sin (wm+2π km) [(2τ /M)/(w+2π k)] ; 2π km integer multiple of file:///c /Documents%20and%20Settings/Jason%20Rafte...0-%20Spring%201994%20-%20Vetterli%20-%20Mid%202.htm (7 of 8)1/27/2007 4:38:18 PM

2π = sin(wm) (k) [(2τ /M)/(w+2π k)] ; sin(wm) zeros @ w=π n/m, except n=0 Hi(e^jw) w=0 = lim(w 0) sin(wm) (k) [(2τ /M)/(w+2π k)] = 2τ We know that Hc(jΩ ) has zeros @ Ω =π n/τ. Note Ω Td = π n/τ * τ /M = π n/m = zeros in w So Hi(e^jw) = Hc(jw/Td) at w=π n/m f. (fig 15) Main lobe width = 2π /M file:///c /Documents%20and%20Settings/Jason%20Rafte...0-%20Spring%201994%20-%20Vetterli%20-%20Mid%202.htm (8 of 8)1/27/2007 4:38:18 PM