Document 13475415

advertisement

NETWORK STRUCTURES FOR FIR SYSTEMS AND PARAMETER QUANTIZATION EFFECTS

IN DIGITAL FILTER STRUCTURES

Solution 13.1

(i) Since H(z) has only real zeros we will use only first-order sections in the cascade form. Then Figure S13.1-1 represents one possible ordering for these sections.

x(n) y(n)

Figure S13.l-1

(ii) For the direct form we first express H(z) as

H(z) = 1

-

7 -l

4

69 -2 -

8 zZ- TZ

-3 + z-4

The direct-form structure is then as shown in Figure S13.1-2 x(n) y(n)

Figure 13.1-2

S13.1

(iii) Since the unit-sample response is symmetrical the filter is in fact linear phase. The linear phase form is as shown in

Figure S13.1-3. x(n)

69

8 y(n)

Figure S13.l-3

(iv) The coefficients in the frequency-sampling structure are the samples of the frequency response equally spaced in frequency. To evaluate these frequency samples it is convenient to rewrite H(z) in the form

H(z) = z z z+ z or

H(z) = z (z +z) (z+z

1

) 6]

Then

81 f(0)

= H(z) Iz1

H(1) = H (z) z=e

2 5

=e

. 4r

(2cos

S13.2

cos 2 ­

H(2) = H(z) z=e

3

= e

. 87

L

2 cos cos -

O

5

-

69

8J

Because of the conjugate symmetry of the Fourier transform,

H(3) = H (5-3) = H (2) = e j87T

5 O87T

cos

52

-

7

cos

4 r

­

691

H(4) = H (5-4) = H (1) = e

.47r

5

L

cosLT

5 -

7 2r

Cos 5

69

8

The frequency sampling structure, in the form of chalkboard (b) lecture 13, is then as shown below:

H(0)

-l z

H(1)

-j2r eZ x(n) H 1/5

T

y(n)

-j

87r

5 z1

Figure S13.1-4

In this form the sections involve complex coefficients. By utilizing the conjugate symmetry of the frequency samples the network can be rearranged in terms of second-order sections with real coefficients.

S13.3

Specifically the transfer function corresponding to the recursive part of the network of Figure S13.1-4 is given by

G(Z) = H(0)

-l1

+

1-z~

H(1)

.2rT

+

-j3l 1

+ l-e z l-e

H(4) z

-1

J7

+

H(3)

1-e 5

The terms paired in brackets are complex conjugates, i.e.,

*i

H(l) = H (4) and e

~f

= e e

8 7T

= e

.27r

.67

H(2) = H (3) and e

-J-g-

=

.47

J-a e.

Continuing these complex conjugate terms, G(z) can be expressed as

G = 1-z

1

+

2Tr

2Re [H (1) ]-2z~

1

Re [R (1) e J 5

1 2os -2

47T

2Re[H(2)]-2z

1Re

[H(2.)eJ 5

1-2z~1c

4+r

+ z

-2 leading to the structure shown in Figure S13.1-5.

S13.4

H (0 ) z x (n)

2 Re H (1) l/5

1 y(n)

-z z~ -2 Re IH(1) e5

2 cos z

2 Re H(2)

-2 Re e (2) e

Jw5 cr 2

Oos

4

Figure S13.1-5

Solution 13.2

(a) The form of the desired transfer function is easily obtained by expressing h(n) in the form h (n) = [e e jw0nu(n) + e je jOn u (n) ]

Thus

A e $ j$

H(z) = 1 l-Ve2zl­

S13.5

Thus, a

1

(b) The form of the transfer function for the coupled form network is (see Problem 11.3)

H2(z) = b z~1/[i-2a

2

Z

1

+ (a

2

+b

2

)z2

Thus to obtain a unit-sample response of the desired form, A cos$ = 0 and A cos(w

0

-q)=-l. The coefficients a2 and b2 are given by a2 = cosw 0 ~ b = sin0 ~7

(c) For the direct form filter since the coefficient b is unity, it is not affected by quantization. For the coefficient a

1

, the quantized value is a

1

1 = 1.375

The resulting transfer function is

H

1

(z) =

1

1

1li +z

8 z

2

1+z-2z

Since this is still in the form of the desired H(z), the unit-sample response will still be of the form of Eq. (13.2-1). With the quantized coefficient, 2 cosw

0 is now equal to 11/8 so that

0 = .26w

For the coupled form, the quantized coefficients are given by

S13.6

^ a

2

^

= b

2

5

=

T = 0.625

Thus H

2

(z) with quantized coefficients becomes

H

2

(z) = (5/8)z~

1

5 25 -2

In comparing this with the desired H(z) we note that since the co­ efficient of z-2 is not unity, the resulting unit-sample response will not be of the desired form. In particular, the unit-sample response will be of the form of a damped sinusoidal sequence, corresponding to the fact that the poles of the coupled form system with quantized coefficients have moved inside the unit circle. In contrast, the poles of the direct form system with quantized coefficients remain on the unit circle but are displaced in angle. These results are of course consistent with the differences in the quantization grids for the two stru'tures, as illustrated in Figures 6.49 and 6.51 of the text.

Solution 13.3

N-1

(a) H(k) = n=O h(n) Wnk

N

N N

= n=O h(n) Wnk + n=O h(N-1-n) W N-n)k which, because of the symmetry constraint becomes

N _

H(k) h(n) _W + W;N-n)k n=O

For k = N

S13.7

N

-1 n=o h (n) [e-jTrn + e-jT (N-l-n)

N

-1 h (n) [ejTn _ ejTrn n=0

0

-0

(b) H (k)

N n=0 h (n) [Wnk + W 1-n)k

= N n=0

1

N-1 h (n) WN 2 k

[Wk(nN-) +

N

2

N

(Nl ) k 2f'r

=W 2 )knd

Nn=0

2h (n) cos [2k

N2

(n-

N1

The summation in the above expression is real. Let us assume for convenience that it is also positive. If it is not, then for those values of k for which it is negative, an additional phase of 7 will be added. Then, with this assumption, e j(k) e=

WN

N-1

2 or

6 (k) = T(N-l)k

= -

NT

7rk +

N

S13.8

(c) Hk (z) = cos(Rk 7k) z

1 cos -k -

1-2z cos(-) + Z

N

Tk)

(-1)kcosr (1-z~1

1-2z~ cos (-) + z-2

N

Thus, from Equation (4.49) of the text.

H(z) =

1

-N k=l

(d) k I (k) 12 cos( k/N)

(1-z

-1

) -

H(0)

1

1-2z -1cos (2Tk/N) + z-2 + 1-z] _i

H (0)

H

1 z1

(z) 2

1(1)

-N

1/N

H

2

(z) 21H 2

21H(2)

I

2 1H(3)

I

H

3

(Z)

0

-~ p

H

N

2-1

(z)

2| (N 1)

0

Figure S13.3-1

S13.9

where the subnetworks Hk (z) are of the form

0

Cos n

-1

Figure S13.3-2

S13.10

MIT OpenCourseWare http://ocw.mit.edu

Resource: Digital Signal Processing

Prof. Alan V. Oppenheim

The following may not correspond to a particular course on MIT OpenCourseWare, but has been provided by the author as an individual learning resource.

For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms .

Download