Notch filter


A notch filter is a frequency filter that passes all frequencies, except for a very narrow band of frequencies.

A notch filter is essentially a very narrow band stop filter. The opposite of a notch filter is a peak filter.

A notch filter can be used, for example, to remove the unwanted electrical equipment hum from a musical recording, should such hum appear in the recording. The frequency of an alternating electrical current is usually 50 Hz or 60 Hz and in this case a notch filter should be constructed to remove the frequencies of 50 Hz or 60 Hz from the signal respectively. An ideal notch filter would remove only those frequencies. Notch filters in practice would remove a narrow interval of frequencies around these frequencies.

Example: a digital infinite impulse response notch filter

The function

Normalized transfer function of a notch filter

is the normalized transfer function of an infinite impulse response notch filter of order 2n, where 1/Q is the approximate width of the notch as described below.

Suppose that we want to compute the parameters of an infinite impulse response notch filter of order 2 and notch frequency of ωcc is the frequency that should be removed by the filter, expressed as an angular frequency between 0 and π). We make the substitutions S = s / ωc (where s = jω) and n = 1 and we use the bilinear transformation substitution s = 2 (z – 1) / (z + 1). The transfer function of the second order notch filter is

Transfer function of a second order notch filter

Suppose that we want a notch at ωc = 0.6 with width 1/Q = 0.5 (technically, the notch will be at ωc = 2 arctan(0.6/2) ≈ 0.583, because of the warping of the frequency domain by the bilinear transformation). The transfer function of the second order notch filter will become

Transfer function of an example second order notch filter

The filter itself is given by the formula

y(k) = 0.935622 x(k) – 1.562232 x(k-1) + 0.935622 x(k-2) + 1.562232 y(k-1) – 0.871245 y(k-2)

where x(k) and y(k) are the input and output signal at sample k respectively.

Suppose that the sampling frequency is 2000 Hz. The following is the magnitude response of the example notch filter of order 2.

Magnitude response of an example notch filter

This filter passes all frequencies, except for a narrow band of frequencies (the "notch"). The frequency of the notch itself, given the sampling frequency of 2000 Hz, is ωc = (0.6 * 2000) / (2 π) = 191 Hz. The width of the notch is about 1/Q = (0.5 * 2000) / (2 π) = 159 Hz.

Characteristics of notch filters

The notch filter above is just an example, and there are many ways to design digital or analog notch filters, which may have different characteristics. Notch filters are primarily characterized by the width and depth of the notch in their magnitude response. The width of the notch in the notch filter in the example above is approximately 160 Hz and its depth is approximately -14 dB. For this specific filter, a larger notch depth will also mean a larger notch width.

A notch filter may be designed to remove not only one specific notch frequency, but also harmonics of the notch frequency. For example, a notch filter at 60 Hz may be designed to also remove 120 Hz, 180 Hz, 240 Hz, and so on.

Rate This Page: Poor Great   |  Rate Content |
Average rating:  5   
Number of Ratings : 2
Add Comment
No Comments Yet

Copyright 2006 by Kaliopa Publishing, LLC