6
$\begingroup$

In the book I'm studying from "Applied digital signal processing - Manolakis" it says:

The problem with FIR notch filters is that the bandwidth of the notches is large. A simple way to create sharper notches is to place the zeros on the unit circle and two complex conjugate poles at the same angle with the zeros, close to the zeros but inside the unit circle.

But why is that? How it changes the thing? I tested it in matlab and in fact I get a way better filter but I don't understand the reason.

$\endgroup$
1
  • 1
    $\begingroup$ When you are far from the pole and the zero, notice how your are approximately equidistant from the pole and the zero. Thus their contribution will cancel almost perfectly. $\endgroup$
    – Ben
    Nov 7, 2018 at 23:46

1 Answer 1

8
$\begingroup$

Consider the frequency response for a simple FIR notch filter given as a single pole and single zero:

$$H(z) = \frac{(z-z_0)}{(z-z_p)}$$

When the poles and zeros are plotted on the z-plane, the unit circle represents the frequency axis. So if we sweep z over all possible values where the magnitude of z = 1 (the unit circle) the resulting response will be the frequency response of the filter, both in magnitude and phase. Thus since the unit circle is $e^{j\omega}$ for $\omega$ in the range of 0 to $2\pi$, the frequency response is expressed as:

$$H(e^{j\omega})$$

That said we can easily now answer your question graphically (and thereby intuitively) if we consider the numerator and denominator of $H(e^{j\omega})$ as two vectors in the 2d space of the z-plane as the value for z makes its way around the unit circle. This is shown in the graphic below for the simple DC notch filter with a single zero at $z=1$ (which is DC), showing the numerator and denominator vectors when $\omega$ is little less than $\pi/4$: ($z=e^{j\pi/4}$). The pole at the origin is "trivial" as in all cases the magnitude will be 1, so has no effect on the overall magnitude $|H(e^{j\omega})|$, but it does modify the phase of this transfer function. Therefore the overall transfer function will start with a null at DC and then grow rather slowly as z moves its way around the unit circle (all due to the magnitude of the numerator only).

The plot shows the pole and zero on the z-plane to the left, and then the vectors for the numerator and denominator are repeated on the right. (When subtracting 2 points on a 2D plane to describe a vector, the second point becomes the origin for the vector described).

simple DC null

Now for comparison consider what happens when we move the pole from the origin to be closer to the zero for the same position of z as in the graphic below. Notice in this case how the denominator is much smaller and quickly approaches the magnitude of the numerator, thus causing the DC notch to be much tighter.

tight DC null

The overall responses for both cases are shown below. The closer we make the pole to the zero, the tighter the response, but also the more precision is needed in a fixed point design.

freq responses

This was explained simplest by using a DC notch filter. I have extended this to arbitrary notch filters for any frequency using the exact technique described by the OP (complex conjugate poles close to the complex conjugate zeros with the same angle) at this post:

Transfer function of second order notch filter

$\endgroup$
2
  • $\begingroup$ What program did you use to annotate your images? $\endgroup$
    – Ben
    Nov 8, 2018 at 4:27
  • 4
    $\begingroup$ @Ben Powerpoint. Most of the images I use are from presentations I already have for a series of DSP classes that I teach which I had done in PowerPoint. When a question comes up that is covered by my material I am happy to share it and also benefit by confirming my thinking and explanations with the talented community here. $\endgroup$ Nov 8, 2018 at 11:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.