Sign in

username:

password:



Not a member?

Search Online Books



Search tips

Free Online Books

Sponsor

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Chapters

Chapter Contents:

Search Introduction to Digital Filters

  

Book Index | Global Index


Would you like to be notified by email when Julius Orion Smith III publishes a new entry into his blog?

  

Two-Zero

The signal flow graph for the general two-zero filter is given in Fig.B.7, and the derivation of frequency response is as follows:

\fbox{
\begin{tabular}{rl}
Difference equation: & $y(n) = b_0 x(n) + b_1 x(n-1) ...
...+ b_1 \cos(\omega T) + b_2 \cos(2\omega T)}\right]$
\end{tabular}\vspace{10pt}
}

Figure B.7: Signal flow graph for the general two-zero filter
$ y(n) = b_0x(n) + b_1x(n - 1) + b_2x(n - 2)$.
\begin{figure}\input fig/twozero.pstex_t
\end{figure}

As discussed in §5.1, the parameters $ b_1$ and $ b_2$ are called the numerator coefficients, and they determine the two zeros. Using the quadratic formula for finding the roots of a second-order polynomial, we find that the zeros are located at

$\displaystyle z = \frac{-b_1 \pm \sqrt{b_1^2 - 4 b_0 b_2}}{2b_0}
$

If the zeros are real [ $ (b_1/2)^2 \geq b_2$], then the two-zero case reduces to two instances of our earlier analysis for the one-zero. Assuming the zeros to be complex, we may express the zeros in polar form as $ Re^{j\theta_c}$ and $ Re^{-j\theta_c}$, where $ \theta_c = \omega_c T = 2\pi f_c T$.

Forming a general two-zero transfer function in factored form gives

\begin{eqnarray*}
H(z) &=& b_0 (1 - Re^{j\theta_c} z^{-1}) (1 - Re^{-j\theta_c} z^{-1})\\
&=& b_0 [1 - 2R\cos(\theta_c) z^{-1}+ R^2 z^{-2}]
\end{eqnarray*}

from which we identify $ b_1/b_0 = - 2R \cos(\theta_c)$ and $ b_2/b_0 =
R^2$, so that

$\displaystyle y(n) = b_0\{ x(n) - [2R \cos(\theta_c)]x(n - 1) + R^2 x(n - 2)\}
$

is again the difference equation of the general two-zero filter with complex zeros. The frequency $ \omega$, is now viewed as a notch frequency, or antiresonance frequency. The closer R is to 1, the narrower the notch centered at $ \omega_c$.

The approximate relation between bandwidth and $ R$ given in Eq.$ \,$(B.5) for the two-pole resonator now applies to the notch width in the two-zero filter.

Figure B.8 gives some two-zero frequency responses obtained by setting $ b_0$ to 1 and varying $ R$. The value of $ \theta _c$, is again $ \pi /4$. Note that the response is exactly analogous to the two-pole resonator with notches replacing the resonant peaks. Since the plots are on a linear magnitude scale, the two-zero amplitude response appears as the reciprocal of a two-pole response. On a dB scale, the two-zero response is an upside-down two-pole response.

Figure B.8: Frequency response of the two-zero filter
$ y(n) = x(n) - 2R\cos (\theta _c) x(n - 1) + R^2 x(n - 2)$
with $ \theta _c$ fixed at $ \pi /4$ and for various values of $ R$. (a) Amplitude response. (b) Phase response.
\begin{figure}\input fig/kfig2p25.pstex_t
\end{figure}


Order a Hardcopy of Introduction to Digital Filters

Previous: Resonator Bandwidth in Terms of Pole Radius
Next: Complex Resonator

written by Julius Orion Smith III
Julius Smith's background is in electrical engineering (BS Rice 1975, PhD Stanford 1983). He is presently Professor of Music and Associate Professor (by courtesy) of Electrical Engineering at Stanford's Center for Computer Research in Music and Acoustics (CCRMA), teaching courses and pursuing research related to signal processing applied to music and audio systems. See http://ccrma.stanford.edu/~jos/ for details.


Comments


No comments yet for this page


Add a Comment
You need to login before you can post a comment (best way to prevent spam). ( Not a member? )