next up previous
Next: Question 2 Up: Solution to Assignment 4 Previous: Solution to Assignment 4

Question 1

1.1 For a transfer function with one pole and one zero, where (approximately) in the complex z-plane wolud you place the pole $\gamma_1$ and zero z1 to obtain a high pass filter characteristic with zero response at f=0 and maximum response at f=fs/2 ?

1.2 Draw a sketch to show the pole and zero locations.

1.3 Draw a sketch of the approximate frequency (magnitude) response.

1.4 Derive the diference equation to implement this high pass filter in terms of $\gamma_1$ and z1.

1.5 Draw a diagram of an impulse response of the filter.

Solution.

1.1

For a filter with one pole and one zero,


H[z] = $\displaystyle b_0 \frac{z-z_1}{z-\gamma_1}$ (1)

The frequency response becomes
H(f) = $\displaystyle H(z)_{z=e^{j\hat \omega} }$ (2)
  = $\displaystyle H(z)\vert _{z=e^{j2\pi f/f_s} }$ (3)
  = $\displaystyle b_0 \frac{z=e^{j2\pi f/f_s-z_1}}{z=e^{j2\pi f/f_s-\gamma_1}}$ (4)
  = $\displaystyle b_0 \frac{r_1}{d_1} e^{j(\phi_1 - \theta_1)}$ (5)

where

$\displaystyle r_1e^{j\phi_1}$ = $\displaystyle e^{j2\pi f/f_s}-z_1$ (6)
$\displaystyle d_1e^{j\theta_1}$ = $\displaystyle e^{j2\pi f/f_s}-\gamma_1$ (7)

Assume b0=1. From the table on the notes page 49, we can see that the pole $\gamma_1$ should be located on the negative real axis, whereas the zero z1 on the positive real axis. If we leave the pole $\gamma_1$ on the negative real axis within the unit circle and move the zero z1 to 1, H(f) becomes zero at f=0. For these z1 and $\gamma_1$, H(f) becomes maximum at f=fs/2.

1.2

The pole and zero locations on the z-plane are shown in Fig.1(a).

1.3

Magnitude response of the H(f) is shown in Fig.1(b).


  
Figure 1: Pole-zero locations and frequency response of the filter

1.4

From H(z) in Eq.(1),

$\displaystyle Y(z)(z-\gamma_1)$ = b0 X(z)(z-z1) (8)
$\displaystyle Y(z)(1-\gamma_1 z^{-1})$ = b0 X(z)(1-z1z-1) (9)
Y(z) = $\displaystyle \gamma_1 z^{-1} Y(z) + b_0X(z) - b_0 z_1 z^{-1} X(z)$ (10)

By applying inverse z-transform,
y[n] = $\displaystyle \gamma_1 y[n-1] + b_0 x[n] - b_0 z_1 x[n-1]$ (11)

1.5

The block diagram of the filter is shown in Fig.2.


  
Figure 2: Block diagram of the filter


next up previous
Next: Question 2 Up: Solution to Assignment 4 Previous: Solution to Assignment 4
Hyun Ho Jeon
2001-02-12