Docsity

Discrete Time System - Digital Signal Processing - Exam, Exams of Digital Signal Processing

Toggle sidebar
bg1
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)
Consider the following discrete-time system1.
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)
Find a casual and stable inverse filter G(z) such that H(z) G(z) has a flat magnitude response, orb.
| H(e^jw) G(e^jw) | = 1
(6 pts)
Is G(z) above unique ? If not, give another solution.c.
(6 pts)
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).
d.
(6 pts)
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.
e.
(35 pts)
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.
2.
(10 pts)
Professor Vetterli
1
pf3
pf4
pf5
pf8

Partial preview of the text

Download Discrete Time System - Digital Signal Processing - Exam and more Exams Digital Signal Processing in PDF only on Docsity!

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) c.Is G(z) above unique? If not, give another solution. (6 pts) 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).

d.

(6 pts) 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. e.

(35 pts) 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.

(10 pts)

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 filter with desired response a.

Hd(e^jw) = 3; H<= 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) 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 <= π.

c.

(5 pts) 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. d.

(35 pts) 3.Consider a continuous time filter with impulse response hc(t) = 1; |t|<=τ H; otherwise The Fourier Transform of hc(t) is a sinc function given by the formula Hc(jΩ ) = 2sinΩ τ/ Ω

EE123 Solution Problem a.H(z) = 1 +7/2 Z^-1 + 3/2 Z^- 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)] 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) 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 e.

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/

Problem 2 Real zero-phase type I filter N = 2L + a.H(z) = z + 3/2 + z^- H(e^jw) = e^jw + e^-jw + 3/ H(e^jw) = 2cosw + 3/ (fig 12) i.wp = π/3 ws = 2π / ii.{0, π/3, 2π /3, π} iii.yes, this is an extraripple soultion. It has alternations at 0 and π.

w = 2 arctan (Ω Td/2) Td = τ/ M = 2 arctan (π k / 2M) {k not equ to 0}

Since the bilinear transformation is a one to one mapping, we can solve this problem in Ωand map it to w. b.

|Hc(jΩ p)| = 2/π maz |Hc(jΩ )| = 2τ J |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| à π. (there are an infinite number of zeros.) 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

= sin(wM) ∑(k) [(2τ /M)/(w+2π k)] ; sin(wM) – zeros @ w=π n/M, except n= |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