Next  |  Prev  |  Up  |  Top  |  Index  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search


One-Zero

Figure B.1: Signal flow graph for the general one-zero filter
$ y(n) = b_0x(n) + b_1 x(n - 1)$ .
\includegraphics{eps/kfig2p17}

Figure B.1 gives the signal flow graph for the general one-zero filter. The frequency response for the one-zero filter may be found by the following steps:

\fbox{
\begin{tabular}{rl}
Difference equation: & $y(n) = b_0x(n) + b_1x(n - 1)$\ \\ [5pt]
{\it z} transform: & $Y(z) = b_0X(z) + b_1z^{-1}X(z)$\\ [5pt]
Transfer function: & $H(z) = b_0 + b_1z^{-1}$\\ [5pt]
Frequency response: & $H(e^{j\omega T}) = b_0 + b_1e^{-j\omega T}$
\end{tabular}}

By factoring out $ e^{-j\omega T/2}$ from the frequency response, to balance the exponents of $ e$ , we can get this closer to polar form as follows:

\begin{eqnarray*}
H(e^{j\omega T}) &=& b_0 + b_1 e^{-j\omega T}\\
&=& (b_0 - b_1) + b_1 + b_1e^{-j\omega T}\\
&=& (b_0 - b_1) + e^{-j\omega T/2}(b_1e^{j\omega T/2}+ b_1e^{-j\omega T/2})\\
&=& (b_0 - b_1) + e^{-j\omega T/2}2b_1\cos(\omega T/2)\\
&=& (b_0 - b_1) + e^{-j\pi f T} 2b_1\cos(\pi f T)
\end{eqnarray*}

Figure B.2: Family of frequency responses of the one-zero filter
$ y(n) = x(n) + b_1 x(n - 1)$
for various values of $ b_1$ . (a) Amplitude response. (b) Phase response.
\includegraphics{eps/kfig2p19}

We now apply the general equations given in Chapter 7 for filter gain $ G(\omega)$ and filter phase $ \Theta(\omega)$ as a function of frequency:

\begin{eqnarray*}
H(e^{j\omega T}) &=& b_0 + b_1e^{-j\omega T}\\
&=& b_0 + b_1 \cos(\omega T) - jb_1 \sin(\omega T)\\ [10pt]
G(\omega) &=& \sqrt{[b_0 + b_1 \cos(\omega T)]^2 + [-b_1 \sin(\omega T)]^2}\\
&=& \sqrt{b_0^2 + b_1^2 + 2b_0b_1 \cos(\omega T)}\\ [10pt]
\Theta(\omega) &=& \tan^{-1}\left[\frac{-b_1 \sin(\omega T)}{b_0 + b_1 \cos(\omega T)}\right]
\end{eqnarray*}

A plot of $ G(\omega)$ and $ \Theta(\omega)$ for $ b_0 = 1$ and various real values of $ b_1$ , is given in Fig.B.2. The filter has a zero at $ z = -b_1/b_0 = -b_1$ in the $ z$ plane, which is always on the real axis. When a point on the unit circle comes close to the zero of the transfer function the filter gain at that frequency is low. Notice that one real zero can basically make either a highpass ( $ b_1/b_0 < 0$ ) or a lowpass filter ( $ b_1/b_0 > 0$ ). For the phase response calculation using the graphical method, it is necessary to include the pole at $ z=0$ .


Next  |  Prev  |  Up  |  Top  |  Index  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

[How to cite this work]  [Order a printed hardcopy]  [Comment on this page via email]

``Introduction to Digital Filters with Audio Applications'', by Julius O. Smith III, (September 2007 Edition)
Copyright © 2024-09-03 by Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA