# Chebyshev filter

Chebyshev filters are analog or digital filters having a steeper roll-off than Butterworth filters, and have passband ripple (type I) or stopband ripple (type II). Chebyshev filters have the property that they minimize the error between the idealized and the actual filter characteristic over the range of the filter (See references eg. [Daniels],[Lutovac]),[citation needed] but with ripples in the passband. This type of filter is named after Pafnuty Chebyshev because its mathematical characteristics are derived from Chebyshev polynomials. Type I Chebyshev filters are usually referred to as "Chebyshev filters", while type II filters are usually called "inverse Chebyshev filters".

Because of the passband ripple inherent in Chebyshev filters, filters with a smoother response in the passband but a more irregular response in the stopband are preferred for certain applications.[citation needed]

## Type I Chebyshev filters (Chebyshev filters)

The frequency response of a fourth-order type I Chebyshev low-pass filter with ${\displaystyle \varepsilon =1}$

Type I Chebyshev filters are the most common types of Chebyshev filters. The gain (or amplitude) response, ${\displaystyle G_{n}(\omega )}$, as a function of angular frequency ${\displaystyle \omega }$ of the nth-order low-pass filter is equal to the absolute value of the transfer function ${\displaystyle H_{n}(s)}$ evaluated at ${\displaystyle s=j\omega }$:

${\displaystyle G_{n}(\omega )=\left|H_{n}(j\omega )\right|={\frac {1}{\sqrt {1+\varepsilon ^{2}T_{n}^{2}\left({\frac {\omega }{\omega _{0}}}\right)}}}}$

where ${\displaystyle \varepsilon }$ is the ripple factor, ${\displaystyle \omega _{0}}$ is the cutoff frequency and ${\displaystyle T_{n}}$ is a Chebyshev polynomial of the ${\displaystyle n}$th order.

The passband exhibits equiripple behavior, with the ripple determined by the ripple factor ${\displaystyle \varepsilon }$. In the passband, the Chebyshev polynomial alternates between -1 and 1 so the filter gain alternate between maxima at G = 1 and minima at ${\displaystyle G=1/{\sqrt {1+\varepsilon ^{2}}}}$.

The ripple factor ε is thus related to the passband ripple δ in decibels by:

${\displaystyle \varepsilon ={\sqrt {10^{\delta /10}-1}}.}$

At the cutoff frequency ${\displaystyle \omega _{0}}$ the gain again has the value ${\displaystyle 1/{\sqrt {1+\varepsilon ^{2}}}}$ but continues to drop into the stopband 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 3 dB frequency ωH is related to ω0 by:

${\displaystyle \omega _{H}=\omega _{0}\cosh \left({\frac {1}{n}}\cosh ^{-1}{\frac {1}{\varepsilon }}\right).}$

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.

An even steeper roll-off can be obtained if ripple is allowed in the stopband, by allowing zeros on the ${\displaystyle j\omega }$-axis in the complex plane. However, this results in less suppression in the stopband. The result is called an elliptic filter, also known as Cauer filter.

### Poles and zeroes

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 ${\displaystyle \omega _{0}=1}$. 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, it is assumed that the cutoff frequency is equal to unity. The poles ${\displaystyle (\omega _{pm})}$ of the gain function of the Chebyshev filter are the zeroes of the denominator of the gain function. Using the complex frequency s, these occur when:

${\displaystyle 1+\varepsilon ^{2}T_{n}^{2}(-js)=0.\,}$

Defining ${\displaystyle -js=\cos(\theta )}$ and using the trigonometric definition of the Chebyshev polynomials yields:

${\displaystyle 1+\varepsilon ^{2}T_{n}^{2}(\cos(\theta ))=1+\varepsilon ^{2}\cos ^{2}(n\theta )=0.\,}$

Solving for ${\displaystyle \theta }$

${\displaystyle \theta ={\frac {1}{n}}\arccos \left({\frac {\pm j}{\varepsilon }}\right)+{\frac {m\pi }{n}}}$

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:

${\displaystyle s_{pm}=j\cos(\theta )\,}$
${\displaystyle =j\cos \left({\frac {1}{n}}\arccos \left({\frac {\pm j}{\varepsilon }}\right)+{\frac {m\pi }{n}}\right).}$

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

${\displaystyle s_{pm}^{\pm }=\pm \sinh \left({\frac {1}{n}}\mathrm {arsinh} \left({\frac {1}{\varepsilon }}\right)\right)\sin(\theta _{m})}$
${\displaystyle +j\cosh \left({\frac {1}{n}}\mathrm {arsinh} \left({\frac {1}{\varepsilon }}\right)\right)\cos(\theta _{m})}$

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

${\displaystyle \theta _{m}={\frac {\pi }{2}}\,{\frac {2m-1}{n}}.}$

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

### 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 are 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

${\displaystyle H(s)={\frac {1}{2^{n-1}\varepsilon }}\ \prod _{m=1}^{n}{\frac {1}{(s-s_{pm}^{-})}}}$

where ${\displaystyle s_{pm}^{-}}$ are only those poles of the gain with a negative sign in front of the real term in the above equation for the poles.

### The group delay

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.

${\displaystyle \tau _{g}=-{\frac {d}{d\omega }}\arg(H(j\omega ))}$

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 (inverse Chebyshev filters)

The frequency response of a fifth-order type II Chebyshev low-pass filter with ${\displaystyle \varepsilon =0.01}$

Also known as inverse Chebyshev filters, the Type II Chebyshev filter 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:

${\displaystyle G_{n}(\omega ,\omega _{0})={\frac {1}{\sqrt {1+{\frac {1}{\varepsilon ^{2}T_{n}^{2}\left(\omega _{0}/\omega \right)}}}}}.}$

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

${\displaystyle {\frac {1}{\sqrt {1+{\frac {1}{\varepsilon ^{2}}}}}}}$

and the smallest frequency at which this maximum is attained is the cutoff frequency ${\displaystyle \omega _{o}}$. The parameter ε is thus related to the stopband attenuation γ in decibels by:

${\displaystyle \varepsilon ={\frac {1}{\sqrt {10^{\gamma /10}-1}}}.}$

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

${\displaystyle f_{H}={\frac {f_{0}}{\cosh \left({\frac {1}{n}}\cosh ^{-1}{\frac {1}{\varepsilon }}\right)}}.}$

### Poles and zeroes

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 ${\displaystyle \omega _{0}=1}$. 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 are poles on the left half plane and the zeroes of the transfer function are 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.

Assuming that the cutoff frequency is equal to unity, the poles ${\displaystyle (\omega _{pm})}$ of the gain of the Chebyshev filter are the zeroes of the denominator of the gain:

${\displaystyle 1+\varepsilon ^{2}T_{n}^{2}(-1/js_{pm})=0.}$

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

${\displaystyle {\frac {1}{s_{pm}^{\pm }}}=\pm \sinh \left({\frac {1}{n}}\mathrm {arsinh} \left({\frac {1}{\varepsilon }}\right)\right)\sin(\theta _{m})}$
${\displaystyle \qquad +j\cosh \left({\frac {1}{n}}\mathrm {arsinh} \left({\frac {1}{\varepsilon }}\right)\right)\cos(\theta _{m})}$

where m = 1, 2, ..., n . The zeroes ${\displaystyle (\omega _{zm})}$ of the type II Chebyshev filter are the zeroes of the numerator of the gain:

${\displaystyle \varepsilon ^{2}T_{n}^{2}(-1/js_{zm})=0.\,}$

The zeroes of the type II Chebyshev filter are therefore the inverse of the zeroes of the Chebyshev polynomial.

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

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

### The transfer function

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

### The group delay

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 stopband but not in the pass band.

## Implementation

### Cauer topology

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

${\displaystyle G_{0}=1}$
${\displaystyle G_{1}={\frac {2A_{1}}{\gamma }}}$
${\displaystyle G_{k}={\frac {4A_{k-1}A_{k}}{B_{k-1}G_{k-1}}},\qquad k=2,3,4,\dots ,n}$
${\displaystyle G_{n+1}={\begin{cases}1&{\text{if }}n{\text{ odd}}\\\coth ^{2}\left({\frac {\beta }{4}}\right)&{\text{if }}n{\text{ even}}\end{cases}}}$

G1, Gk are the capacitor or inductor element values. fH, the 3 dB frequency is calculated with: ${\displaystyle f_{H}=f_{0}\cosh \left({\frac {1}{n}}\cosh ^{-1}{\frac {1}{\varepsilon }}\right)}$

The coefficients A, γ, β, Ak, and Bk may be calculated from the following equations:

${\displaystyle \gamma =\sinh \left({\frac {\beta }{2n}}\right)}$
${\displaystyle \beta =\ln \left[\coth \left({\frac {\delta }{17.37}}\right)\right]}$
${\displaystyle A_{k}=\sin {\frac {(2k-1)\pi }{2n}},\qquad k=1,2,3,\dots ,n}$
${\displaystyle B_{k}=\gamma ^{2}+\sin ^{2}\left({\frac {k\pi }{n}}\right),\qquad k=1,2,3,\dots ,n}$

where ${\displaystyle \delta }$ is the passband ripple in decibels. The number ${\displaystyle 17.37}$ is rounded from the exact value ${\displaystyle 40/\ln(10)}$.

Low-pass filter using Cauer topology

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

• C1 shunt = G1, L2 series = G2, ...

or

• L1 shunt = G1, C1 series = G2, ...

Note that when G1 is a shunt capacitor or series inductor, G0 corresponds to the input resistance or conductance, respectively. The same relationship holds for Gn+1 and Gn. 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 is warped. Alternatively, the Matched Z-transform method may be used, which does not warp the response.

## Comparison with other linear filters

The following illustration shows the Chebyshev filters next to other common filter types obtained with the same number of coefficients (fifth order):

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.