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?

  

Normalizing Two-Pole Filter Gain at Resonance

The question we now pose is how to best compensate the tunable two-pole resonator of §B.1.3 so that its peak gain is the same for all tunings. Looking at Fig.B.17, and remembering the graphical method for determining the amplitude response,B.5 it is intuitively clear that we can help matters by adding two zeros to the filter, one near dc and the other near $ f_s/2$. A zero exactly at dc is provided by the term $ (1-z^{-1})$ in the transfer function numerator. Similarly, a zero at half the sampling rate is provided by the term $ (1+z^{-1})$ in the numerator. The series combination of both zeros gives the numerator $ B(z)=(1-z^{-1})(1+z^{-1})=1-z^{-2}$. The complete second-order transfer function then becomes

$\displaystyle H(z) = \frac{B(z)}{A(z)} = \frac{1 - z^{-2}}{1-2R\cos(\theta_c)z^{-1}+ R^2z^{-2}}
$

corresponding to the difference equation

$\displaystyle y(n) = x(n) - x(n-2) + [2R\cos(\theta_c)] y(n-1) - R^2 y(n-2). \protect$ (B.13)

Checking the gain for the case $ \theta_c=\pi/2$, we have

\begin{eqnarray*}
H(\pm1) &=& 0\\
\left.H(e^{j\theta_c})\right\vert _{\theta_c=\pi/2} &=& \frac{2}{1-R^2}
\end{eqnarray*}

which is better behaved, but now the response falls to zero at dc and $ f_s/2$ rather than being heavily boosted, as we found in Eq.$ \,$(B.12).


Order a Hardcopy of Introduction to Digital Filters

Previous: Time-Varying Two-Pole Filters
Next: Constant Resonance Gain

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? )