Chebyshev filter

From Self-sufficiency
Jump to: navigation, search
Linear analog electronic filters
edit

Chebyshev filters are analog or digital filters having a steeper roll-off and more passband ripple (type I) or stopband ripple (type II) than Butterworth filters. Chebyshev filters have the property that they minimize the error between the idealized and the actual filter characteristic over the range of the filter, but with ripples in the passband. This type of filter is named in honor of Pafnuty Chebyshev because its mathematical characteristics are derived from Chebyshev polynomials.

Because of the passband ripple inherent in Chebyshev filters, the ones that have a smoother response in the passband but a more irregular response in the stopband are preferred for some applications.

Type I Chebyshev filters

File:Chebyshev Type I Filter Response (4th Order).svg
The frequency response of a fourth-order type I Chebyshev low-pass filter with <math>\varepsilon=1</math>

These are the most common Chebyshev filters. The gain (or amplitude) response as a function of angular frequency <math>\omega</math> of the nth-order low-pass filter is

<math>G_n(\omega) = \left | H_n(j \omega) \right | = \frac{1}{\sqrt{1+\varepsilon^2 T_n^2\left(\frac{\omega}{\omega_0}\right)}}</math>

where <math>\varepsilon</math> is the ripple factor, <math>\omega_0</math> is the cutoff frequency and <math>T_n()</math> is a Chebyshev polynomial of the <math>n</math>th order.

The passband exhibits equiripple behavior, with the ripple determined by the ripple factor <math>\varepsilon</math>. In the passband, the Chebyshev polynomial alternates between 0 and 1 so the filter gain will alternate between maxima at G = 1 and minima at <math>G=1/\sqrt{1+\varepsilon^2}</math>. At the cutoff frequency <math>\omega_0</math> the gain again has the value <math>1/\sqrt{1+\varepsilon^2}</math> but continues to drop into the stop band as the frequency increases. This behavior is shown in the diagram on the right. The common practice of defining the cutoff frequency at −3 dB is usually not applied to Chebyshev filters; instead the cutoff is taken as the point at which the gain falls to the value of the ripple for the final time.

The order of a Chebyshev filter is equal to the number of reactive components (for example, inductors) needed to realize the filter using analog electronics.

The ripple is often given in dB:

Ripple in dB = <math>20 \log_{10}\sqrt{1+\varepsilon^2}</math>

so that a ripple amplitude of 3 dB results from <math>\varepsilon = 1.</math>

An even steeper roll-off can be obtained if we allow for ripple in the stop band, by allowing zeroes on the <math>j\omega</math>-axis in the complex plane. This will however result in less suppression in the stop band. The result is called an elliptic filter, also known as Cauer filter.

Poles and zeroes

File:Chebyshev Type I Filter s-Plane Response (8th Order).svg
Log of the absolute value of the gain of an 8th order Chebyshev type I filter in complex frequency space (s = σ + ) with ε = 0.1 and <math>\omega_0=1</math>. The white spots are poles and are arranged on an ellipse with a semi-axis of 0.3836... in σ and 1.071... in ω. The transfer function poles are those poles in the left half plane. Black corresponds to a gain of 0.05 or less, white corresponds to a gain of 20 or more.

For simplicity, assume that the cutoff frequency is equal to unity. The poles <math>(\omega_{pm})</math> of the gain of the Chebyshev filter will be the zeroes of the denominator of the gain. Using the complex frequency s:

<math>1+\varepsilon^2T_n^2(-js)=0.\,</math>

Defining <math>-js=\cos(\theta)</math> and using the trigonometric definition of the Chebyshev polynomials yields:

<math>1+\varepsilon^2T_n^2(\cos(\theta))=1+\varepsilon^2\cos^2(n\theta)=0.\,</math>

Solving for <math>\theta</math>

<math>\theta=\frac{1}{n}\arccos\left(\frac{\pm j}{\varepsilon}\right)+\frac{m\pi}{n}</math>

where the multiple values of the arc cosine function are made explicit using the integer index m. The poles of the Chebyshev gain function are then:

<math>s_{pm}=j\cos(\theta)\,</math>
<math>=j\cos\left(\frac{1}{n}\arccos\left(\frac{\pm j}{\varepsilon}\right)+\frac{m\pi}{n}\right)</math>

Using the properties of the trigonometric and hyperbolic functions, this may be written in explicitly complex form:

<math>s_{pm}^\pm=\pm \sinh\left(\frac{1}{n}\mathrm{arsinh}\left(\frac{1}{\varepsilon}\right)\right)\sin(\theta_m)</math>
<math>+j \cosh\left(\frac{1}{n}\mathrm{arsinh}\left(\frac{1}{\varepsilon}\right)\right)\cos(\theta_m)

</math>

where m = 1, 2,..., n  and

<math>\theta_m=\frac{\pi}{2}\,\frac{2m-1}{n}</math>

This may be viewed as an equation parametric in <math>\theta_n</math> and it demonstrates that the poles lie on an ellipse in s-space centered at s = 0 with a real semi-axis of length <math>\sinh(\mathrm{arsinh}(1/\varepsilon)/n)</math> and an imaginary semi-axis of length of <math>\cosh(\mathrm{arsinh}(1/\varepsilon)/n).</math>

The transfer function

The above expression yields the poles of the gain G. For each complex pole, there is another which is the complex conjugate, and for each conjugate pair there are two more that are the negatives of the pair. The transfer function must be stable, so that its poles will be those of the gain that have negative real parts and therefore lie in the left half plane of complex frequency space. The transfer function is then given by

<math>H(s)= \frac{1}{2^{n-1}\varepsilon}\ \prod_{m=1}^{n} \frac{1}{(s-s_{pm}^-)}</math>

where <math>s_{pm}^-</math> are only those poles with a negative sign in front of the real term in the above equation for the poles.

The group delay

File:Chebyshev5 GainDelay.png
Gain and group delay of a fifth-order type I Chebyshev filter with ε = 0.5.

The group delay is defined as the derivative of the phase with respect to angular frequency and is a measure of the distortion in the signal introduced by phase differences for different frequencies.

<math>\tau_g=-\frac{d}{d\omega}\arg(H(j\omega))</math>

The gain and the group delay for a fifth-order type I Chebyshev filter with ε=0.5 are plotted in the graph on the left. It can be seen that there are ripples in the gain and the group delay in the passband but not in the stopband.

Type II Chebyshev filters

File:ChebyshevII response.png
The frequency response of a fifth-order type II Chebyshev low-pass filter with <math>\varepsilon=0.01</math>

Also known as inverse Chebyshev, this type is less common because it does not roll off as fast as type I, and requires more components. It has no ripple in the passband, but does have equiripple in the stopband. The gain is:

<math>G_n(\omega,\omega_0) = \frac{1}{\sqrt{1+ \frac{1} {\varepsilon^2 T_n ^2 \left ( \omega_0 / \omega \right )}}}.</math>

In the stopband, the Chebyshev polynomial will oscillate between 0 and 1 so that the gain will oscillate between zero and

<math>\frac{1}{\sqrt{1+ \frac{1}{\varepsilon^2}}}</math>

and the smallest frequency at which this maximum is attained will be the cutoff frequency <math>\omega_o</math>. The parameter ε is thus related to the stopband attenuation γ in decibels by:

<math>\varepsilon = \frac{1}{\sqrt{10^{0.1\gamma}-1}}.</math>

For a stopband attenuation of 5dB, ε = 0.6801; for an attenuation of 10dB, ε = 0.3333. The frequency fC = ωC/2π is the cutoff frequency. The 3dB frequency fH is related to fC by:

<math>f_H = \frac{f_C}{\cosh \left(\frac{1}{n} \cosh^{-1}\frac{1}{\varepsilon}\right)}.</math>

Poles and zeroes

File:Chebyshev Type II Filter s-Plane Response (8th Order).svg
Log of the absolute value of the gain of an 8th order Chebyshev type II filter in complex frequency space (s=σ+jω) with ε = 0.1 and <math>\omega_0=1</math>. The white spots are poles and the black spots are zeroes. All 16 poles are shown. Each zero has multiplicity of two, and 12 zeroes are shown and four are located outside the picture, two on the positive ω axis, and two on the negative. The poles of the transfer function will be poles on the left half plane and the zeroes of the transfer function will be the zeroes, but with multiplicity 1. Black corresponds to a gain of 0.05 or less, white corresponds to a gain of 20 or more.

Again, assuming that the cutoff frequency is equal to unity, the poles <math>(\omega_{pm})</math> of the gain of the Chebyshev filter will be the zeroes of the denominator of the gain:

<math>1+\varepsilon^2T_n^2(-1/js_{pm})=0</math>

The poles of gain of the type II Chebyshev filter will be the inverse of the poles of the type I filter:

<math>\frac{1}{s_{pm}^\pm}=

\pm \sinh\left(\frac{1}{n}\mathrm{arsinh}\left(\frac{1}{\varepsilon}\right)\right)\sin(\theta_m)</math>

<math>\qquad+j \cosh\left(\frac{1}{n}\mathrm{arsinh}\left(\frac{1}{\varepsilon}\right)\right)\cos(\theta_m)

</math>

where m = 1, 2, ..., n . The zeroes <math>(\omega_{zm})</math> of the type II Chebyshev filter will be the zeroes of the numerator of the gain:

<math>\varepsilon^2T_n^2(-1/js_{zm})=0.\,</math>

The zeroes of the type II Chebyshev filter will thus be the inverse of the zeroes of the Chebyshev polynomial.

<math>1/s_{zm} = -j\cos\left(\frac{\pi}{2}\,\frac{2m-1}{n}\right)</math>

for m = 1, 2, ..., n

The transfer function

The transfer function will be given by the poles in the left half plane of the gain function, and will have the same zeroes but these zeroes will be single rather than double zeroes.

The group delay

File:ChebyshevII5 GainDelay.png
Gain and group delay of a fifth-order type II Chebyshev filter with ε = 0.1.

The gain and the group delay for a fifth-order type II Chebyshev filter with ε=0.1 are plotted in the graph on the left. It can be seen that there are ripples in the gain in the stop band but not in the pass band.

Implementation

Cauer topology

A passive LC Chebyshev low-pass filter may be realized using a Cauer topology. Inductor or capacitor values of a nth-order Chebyshev filter may be calculated from the following equations:

<math>G_1 =\frac{2A_1 \cosh(f_H)}{Y}</math>
<math>G_k =\frac{4A_{k-1} A_k \cosh^2(f_H)}{B_{k-1}G_{k-1}},\qquad k = 1,2,3,\dots,n </math>
G1, Gk are the capacitor or inductor element values.
fH, the 3 dB frequency is calculated with: <math>f_H = f_C \cosh \left(\frac{1}{n} \cosh^{-1}\frac{1}{\varepsilon}\right)</math>
The coefficients A, Y, β, Ak, and Bk may be calculated from the following equations:
<math>Y=\sinh\left(\frac{\beta}{2n}\right)</math>
<math>\beta=\ln\big(\coth(R_{db}/17.37)\big)</math>
<math>A_k=\sin\frac{(2k-1)\pi}{2n},\qquad k = 1,2,3,\dots, n </math>
<math>B_k=Y^2+\sin^2\left(\frac{k \pi}{n}\right),\qquad k = 1,2,3,\dots,n </math>
where RdB is the passband ripple in decibels.
File:Cauer Topology Lowpass Filter.svg
Low-pass filter using Cauer topology

The calculated Gk values may then be converted into shunt capacitors and top inductors as shown on the right, or they may be converted into top capacitors and shunt inductors.

  • For example, C1 shunt = G1, L2 top = G2, ...
  • or L1 shunt = G1, C1 top = G2, ...

The resulting circuit is a normalized low-pass filter. Using frequency transformations and impedance scaling, the normalized low-pass filter may be transformed into high-pass, band-pass, and band-stop filters of any desired cutoff frequency or bandwidth.

Digital

As with most analog filters, the Chebyshev may be converted to a digital (discrete-time) recursive form via the bilinear transform. However, as digital filters have a finite bandwidth, the response shape of the transformed Chebyshev will be warped. Alternatively, the Matched Z-transform method may be used, which does not warp the response.

Comparison with other linear filters

Here is an image showing the Chebyshev filters next to other common kind of filters obtained with the same number of coefficients (all filters are fifth order):

As is clear from the image, Chebyshev filters are sharper than the Butterworth filter; they are not as sharp as the elliptic one, but they show fewer ripples over the bandwidth.

See also

Filter design
Mathematics

References

  • Daniels, Richard W. (1974). Approximation Methods for Electronic Filter Design. New York: McGraw-Hill. ISBN 0-07-015308-6. 
  • Williams, Arthur B.; Taylors, Fred J. (1988). Electronic Filter Design Handbook. New York: McGraw-Hill. ISBN 0-07-070434-1. 

ca:Filtre de Txebixev de:Tschebyscheff-Filter es:Filtro de Chebyshev eo:Filtrilo de Ĉebiŝev fr:Filtre de Tchebychev it:Filtro di Čebyšëv he:מסנני צ'בישב ja:チェビシェフフィルタ pl:Filtr Czebyszewa pt:Filtro Chebyshev ru:Фильтр Чебышева sv:Chebyshevfilter zh:切比雪夫滤波器