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

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

Lecture 14: Minimum Phase Systems and Linear Phase

Digital Signal Processing

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

Transform Analysis of Linear Time-Invariant Systems

ESE 531: Digital Signal Processing

Stability Condition in Terms of the Pole Locations

Digital Signal Processing. Midterm 1 Solution

ESE 531: Digital Signal Processing

Multirate signal processing

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

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

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

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

ELEN E4810: Digital Signal Processing Topic 11: Continuous Signals. 1. Sampling and Reconstruction 2. Quantization

EECE 301 Signals & Systems Prof. Mark Fowler

Digital Signal Processing IIR Filter Design via Bilinear Transform

EEL3135: Homework #4

Signals and Systems. Spring Room 324, Geology Palace, ,

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

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.

Transform Representation of Signals

Multirate Digital Signal Processing

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

ELEN 4810 Midterm Exam

Digital Signal Processing Lecture 10 - Discrete Fourier Transform

Digital Signal Processing

ECE503: Digital Signal Processing Lecture 5

Solutions: Homework Set # 5

Multidimensional digital signal processing

Z Transform (Part - II)

Discrete-Time David Johns and Ken Martin University of Toronto

EC Signals and Systems

Lecture 2 OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE

LECTURE NOTES DIGITAL SIGNAL PROCESSING III B.TECH II SEMESTER (JNTUK R 13)

The Discrete-Time Fourier

ELEG 305: Digital Signal Processing

Discrete Time Systems

Discrete-Time Fourier Transform (DTFT)

Chap 2. Discrete-Time Signals and Systems

Digital Filters Ying Sun

Review of Discrete-Time System

Review of Fundamentals of Digital Signal Processing

QUESTION BANK SIGNALS AND SYSTEMS (4 th SEM ECE)

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

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

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

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 Signal Processing Lecture 3 - Discrete-Time Systems

ECE-314 Fall 2012 Review Questions for Midterm Examination II

Z-Transform. The Z-transform is the Discrete-Time counterpart of the Laplace Transform. Laplace : G(s) = g(t)e st dt. Z : G(z) =

6.003: Signals and Systems. Sampling and Quantization

Chap 4. Sampling of Continuous-Time Signals

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

Filter structures ELEC-E5410

ECE 301 Fall 2010 Division 2 Homework 10 Solutions. { 1, if 2n t < 2n + 1, for any integer n, x(t) = 0, if 2n 1 t < 2n, for any integer n.

! Circular Convolution. " Linear convolution with circular convolution. ! Discrete Fourier Transform. " Linear convolution through circular

x[n] = x a (nt ) x a (t)e jωt dt while the discrete time signal x[n] has the discrete-time Fourier transform x[n]e jωn

EE 225a Digital Signal Processing Supplementary Material

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

Fourier Analysis of Signals Using the DFT

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

ECE 413 Digital Signal Processing Midterm Exam, Spring Instructions:

Review of Fundamentals of Digital Signal Processing

Lecture 16: Filter Design: Impulse Invariance and Bilinear Transform

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

Bridge between continuous time and discrete time signals

Digital Signal Processing

ESE 531: Digital Signal Processing

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

X. Chen More on Sampling

7.17. Determine the z-transform and ROC for the following time signals: Sketch the ROC, poles, and zeros in the z-plane. X(z) = x[n]z n.

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

Digital Signal Processing, Homework 2, Spring 2013, Prof. C.D. Chung. n; 0 n N 1, x [n] = N; N n. ) (n N) u [n N], z N 1. x [n] = u [ n 1] + Y (z) =

Discrete-time Signals and Systems in

Course and Wavelets and Filter Banks. Filter Banks (contd.): perfect reconstruction; halfband filters and possible factorizations.

Quadrature-Mirror Filter Bank

GATE EE Topic wise Questions SIGNALS & SYSTEMS

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

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF INFORMATION TECHNOLOGY. Academic Year

ELEG 305: Digital Signal Processing

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

EE482: Digital Signal Processing Applications

Determine the Z transform (including the region of convergence) for each of the following signals:

Chapter 5 Frequency Domain Analysis of Systems

V. IIR Digital Filters

Discrete-Time Signals & Systems

Discrete-Time Signals and Systems. Frequency Domain Analysis of LTI Systems. The Frequency Response Function. The Frequency Response Function

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

Lecture 7 - IIR Filters

Transform analysis of LTI systems Oppenheim and Schafer, Second edition pp For LTI systems we can write

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EC2314- DIGITAL SIGNAL PROCESSING UNIT I INTRODUCTION PART A

Lecture 7 Discrete Systems

Filter Design Problem

Lecture 19 IIR Filters

z-transform Chapter 6

Signals, Systems & Inference Alan V. Oppenheim & George C. Verghese c Chapter 2 Solutions

Final Exam January 31, Solutions

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 )

Responses of Digital Filters Chapter Intended Learning Outcomes:

Transcription:

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Issued: Tuesday, September 5. 6.: Discrete-Time Signal Processing Fall 5 Solutions for Problem Set Problem. (i) Real-valued impulse response: Poles that aren t real must be in complex conjugate pairs. Zeros that aren t real must be in complex conjugate pairs. (ii) Finite impulse response: All poles are at the origin. The ROC is the entire z-plane, except possibly z =. (iii) h[n] = h[α n] where α is an integer: Causality combined with the given symmetry property implies a finite-length h[n] that can only be nonzero between time zero and time α. Thus we must have all poles at the origin and at most α zeros. The z transform of h[α n] is z α H(/z), so any zero of H(z) at c must be paired with a zero at /c. (iii) Minimum phase: All poles and zeros are inside the unit circle (so that the inverse can be stable and causal). (iv) All-pass: Each pole is paired with a zero at the conjugate reciprocal location. Problem. (a) False. As a counterexample, consider a filter described by H(e jω ) = e jω. We know that H(z) can describe a causal, stable filter since its single pole is at z =. In the vicinity of ω =, θ(ω) is increasing, so the group delay τ(ω) is negative. The group delay evaluated at ω = for this example can be determined using equation (5.67) in OSB: grd[ re jθ e jω ] = r r cos(ω θ) re jθ e jω and substituting r = and θ =.

(b) False. Any zero-phase FIR filter may be delayed to become causal, and the resulting filter will have the same phase as the delay block which was applied to it. One counterexample is the causal, stable filter described by H(z) = + z + z. (c) True. Note that τ(ω)dω = θ(ω) ω= = θ() θ(). Setting this to, we realize that the assertion is true if having minimum phase and all poles and zeros on the real axis implies θ() = θ(). A minimum phase filter with poles and zeros on the real axis will have all poles and zeros between - and. Factoring H(e jω ) to find poles and zeros, we notice that for a given pole term, the restriction < a < yields a phase contribution of when ω = or ae jω ω =. Likewise, a given zero term be jω gives a phase contribution of when ω = or ω = as long as < b <. Since all poles and zeros of such a minimum phase filter meet these criteria, θ() = θ() = Therefore, τ(ω)dω =. (Note that τ(ω)dω = for all real minimum phase filters, even if there are complex poles and zeros.) Problem. The pole-zero diagram for the original system is as follows: Original system.5 pole at.5.5.5.5.5.5.5 (a) One way to carry out the minimum-phase and all-pass decomposition is as follows. In the first stage, collect all zeros and poles that are inside the unit circle (zero at z = /, pole

at z = /) into the minimum-phase system. The other zeros and poles (zero at z =, pole at z = ) go into the all-pass system. Minimum phase All pass pole at Next, we need to modify the first stage because we need to make sure that the all-pass system really is all-pass, so add a pole at z = / and a zero at z =. To preserve the original system, we can cancel these newcomers by placing a zero at z = / and a pole at z = in the minimum-phase system. Minimum phase All pass Combining these, the minimum-phase system and all-pass systems are as shown below.

Minimum phase All pass pole at In the minimum-phase system, the pole at z = / from the first stage has been cancelled by the zero added in the second stage. Another way to look at that is that for this particular system, we started with an all-pass pair (a pole at z = / and a zero at z =, so we could have put these into the all-pass system initially. The minimum-phase system function is: The all-pass system function is: H M (z) = z z = z H ap (z) = = z(z ) z z ( z ) z In constructing these systems, we didn t come across any decision where we could have chosen different routes. If we wanted to change one of the systems, we would have to add the same number of poles and zeros to it, and these would have to be cancelled by zeros and poles in the other system to preserve the original system. We can t add poles or zeros to the minimum phase system, because if we did, then when we added the cancelling zeros or poles to the all-pass system, they would have to be

reflected outside the unit circle to keep the latter system all-pass. These items outside the unit circle could not be cancelled in the minimum phase system. Finally, we cannot change the all-pass system because if we added a zero and a pole, then to keep the system all-pass, we would have to reflect a pole or zero to the other side of the unit circle, and the items outside the unit circle could not be cancelled in the minimum-phase system. Therefore, the decomposition is unique up to a scale factor. (b) One way to carry out the minimum-phase and FIR linear-phase decomposition is as follows. In the first stage, collect all zeros and poles that are inside the unit circle (zero at z = /, pole at z = /) into the minimum-phase system. The other zeros and poles (zero at z =, pole at z = ) go into the linear-phase system. Minimum phase Linear phase pole at Next, we need to modify the first stage because we need to make sure that the linear-phase FIR system really is linear-phase FIR, so add a zero at z = /. Since the system has to have the same number of zeros and poles, we also need to add a pole. For an FIR system, the pole must be at z = or at z =. We choose to add the pole at z = because we will have to cancel the pole by a zero in the minimum-phase system. To preserve the original system, we can cancel these newcomers by placing a pole at z = / and a zero at z = in the minimum-phase system.

Minimum phase Linear phase Combining these, the minimum-phase system and FIR linear-phase systems are as shown below. Minimum phase Linear phase pole at The minimum phase system function is: H M (z) = z ( z ( ) z = ( z z ) )

The FIR generalized linear-phase system function is: ( z H L (z) = ) (z ) z = z [( ) ( z z )] = z.5 + z Since this expression for H L (z) has even symmetry and an odd number of taps, we would not necessarily expect a zero at z = or at z =, and this is consistent with the polezero diagram above. In constructing these systems, we didn t come across any decisions where we could have chosen different routes. Furthermore, we cannot change the minimum phase system. If we tried adding a pole and zero to it, these would have to be cancelled in the FIR linear phase system. But the zero in the linear-phase system would have to be reflected outside the unit circle to maintain linear-phase, and this could not be compensated for in the minimum-phase system. Similarly, we cannot add a pole and zero to the FIR linear-phase system because if we did, then to keep it linear-phase, we would have to reflect the zero outside the unit circle, and this could not be cancelled in the minimum-phase system. Therefore, the decomposition is unique. Problem. a. We desire H(z)H c (z) =, where H c (z) is stable and causal and H(z) is not minimum phase. So, H ap (z)h min (z)h c (z) = Since H ap (z) =, we want This means we have H min (z)h c (z) = H c (z) = H min (z) which will be stable and causal since all the zeros of H min (z), which become the poles of H c (z), are inside the unit circle. b. Since We have H c (z) = H min (z) G(z) = H ap (z)

c. H(z) = (.8e j. z )(.8e j. z )(.e j.7 z )(.e j.7 z ) H min (z) = (.)(.8e j. z )(.8e j. z )( (5/6)e j.7 z )( (5/6)e j.7 z ) H c (z) = (.)(.8e j. z )(.8e j. z )( (5/6)e j.7 z )( (5/6)e j.7 z ) G(z) = H ap (z) = (z (5/6)e j.7 )(z (5/6)e j.7 ) ( (5/6)e j.7 z )( (5/6)e j.7 z ) Im H min (z) Re th order pole Im H c (z) Im H ap (z) = G(z) Re Re th order zero Problem.5 (a) Using the all-pass principle, H(z) can be represented as a cascade of the minimum phase term H min (z) and an all-pass term. We add a pole to remove the zero at z = z k, and replace it with a zero at z = zk : H(z) = H min (z) z z k z k z = Q(z)(z z k ) (b) We know that: H(z) = Q(z)(z z k ) = Q(z)z Q(z)z k Taking the inverse z-transform: H min (z) = Q(z)( z k z ) = Q(z) z k z Q(z)

h[n] = q[n ] z k q[n] (c) Using our answer from part (b): h min [n] = q[n] z k q[n ] ε = = = m m h min [n] h[n] n= n= m q[n] z k q[n ]q [n] zk q [n ]q[n] + z k q[n ] n= m q[n ] z k q[n ]q [n] zk q [n ]q[n] + z k q[n] n= m ( z k ) q[n] n= n= = ( z k ) q[m] m ( z k ) q[n ] (d) Since z k <, ( z k ) is positive and therefore ( z k ) q[m] > Then m n= h min[n] m n= h[n] > thus m n= h min[n] > m n= h[n]

Problem.6 (a) (b) (c) (d) X(e jω ) T X(e jω ) T X(e jω ) T X(e jω ) T ω ω ω 5 5 Y c (jω) 5 5 Y c (jω) Y c (jω) 5 5 Y c (jω) ω 5 5 Ω Ω Ω Ω

Problem.7 In both systems, the speech was filtered first so that the subsequent sampling results in no aliasing. Therefore, going from s[n] to s [n] basically requires changing the sampling rate by a factor of khz/5khz = /5. This is done with the following system: s[n] Digital LPF s [n] ω c = 5 5 gain = Problem.8 Split H(e jω ) into a lowpass and a delay. H(e jω ) = H LP (e jω )e jω { H LP (e jω, ω < ) = L, L < ω x c (t) C/D x[n] L H LP (e jω ) w[n] e v[n] L y c (t) jω Ideal Upsampler with gain of instead of L Then we analyze the system as follows: x[n] = x c (nt) no aliasing assumed w[n] = L x c(n T L ) rate change v[n] = w[n ] = ( L x c n T L T ), delay at higher rate L y[n] = v[nl] = ( L x c nt T ) L

Problem.9 (a) Let s rewrite System A as the cascade of two systems: an S/I (sample to impulse) converter followed by a CT filter. The S/I converter turns the DT signal x d [n] into a CT impulse train. If we allow the output of the S/I converter to be x s (t), then we have x s (t) = k= x d [k]δ(t kt ) Then, the output y c (t) of the CT filter is the convolution of x s (t) and h (t), or y c (t) = x s (t) h (t). We see that by combining the above two equations, we get the equation that describes the behavior of System A. x c (t) is bandlimited to Ω c = rad/sec. Thus, we know that we can guarantee the equality of x c (t) and y c (t) when T is sufficiently small (i.e. no aliasing from the first C/D converter) and System A is an ideal D/C converter with the same sampling period. We have no aliasing when Ω c T <, or when T <. System A is an ideal D/C converter when h (t) is an appropriate sinc function. Thus, the following conditions work: T = 5. T = 5. h (t) = sin(t/t) t/t (b) As we saw in the solution to part (a), our choices are not unique. We can choose any T such that T <. However, we see that we need T = T. We also have a choice regarding h (t). Since X d (e jω ), or the Fourier transform of x d [n], is zero for T < ω <, X s (jω), or the Fourier transform of x s (t), is zero for T T = < Ω < T. Thus, H (jω), or the Fourier transform of h (t), can be anything in that frequency range (and, by extension, any copy of this section of the frequency spectrum). If it is a constant of T for Ω < and zero for Ω > T, then we have y c(t) = x c (t).

(c) Since we are interested only in the operations between x d [n] and y d [n], we need not worry about aliasing from the first C/D converter in the whole system destroying our hopes for achieving consistent resampling. Thus, there are no absolute restrictions on T and T like we had in parts (a) and (b); they may, however, be related to each other. In other words, what is going on between x d [n] and y d [n]? System A is taking each sample of x d [n] and replacing it with h (t) delayed by nt and scaled by x d [n] at that point. Then, the C/D converter resamples the result. Let s consider what happens with x d [n] = δ[n n ] for an integer n. Then, y c (t) = h (t n T ). The sampled version of y c (t) is y d [n] = y c (nt) A condition for consistent resampling is thus = h (nt n T ). h (nt n T ) = δ[n n ]. Because of the linearity of the mapping from x d [n] to y d [n], this is actually the only condition that must be checked. To simplify the condition further, we have evaluating at n = n : = h (n(t T )) evaluating at n n : = h (nt n T )) The case of practical significance is to have T = T, in which case we find that h (t) should satisfying an interpolating condition: h () = and h (t) = for all multiples of T. (It doesn t matter what h (t) is for other values of t.)