Elliptic filter
# Elliptic filter

An elliptic filter (also known as a Cauer filter, named after Wilhelm Cauer, or as a Zolotarev filter, after Yegor Zolotarev) is a signal processing filter with equalized ripple (equiripple) behavior in both the passband and the stopband. The amount of ripple in each band is independently adjustable, and no other filter of equal order can have a faster transition in gain between the passband and the stopband, for the given values of ripple (whether the ripple is equalized or not). Alternatively, one may give up the ability to adjust independently the passband and stopband ripple, and instead design a filter which is maximally insensitive to component variations.

As the ripple in the stopband approaches zero, the filter becomes a type I Chebyshev filter. As the ripple in the passband approaches zero, the filter becomes a type II Chebyshev filter and finally, as both ripple values approach zero, the filter becomes a Butterworth filter.

The gain of a lowpass elliptic filter as a function of angular frequency ω is given by:

    $G_{n}(\omega )={1 \over {\sqrt {1+\epsilon ^{2}R_{n}^{2}(\xi ,\omega /\omega _{0})}}}$

where $R_n$ is the nth-order elliptic rational function (sometimes known as a Chebyshev rational function) and

    $\omega _{0}$ is the cutoff frequency
    $\epsilon$ is the ripple factor
    $\xi$ is the selectivity factor

The value of the ripple factor specifies the passband ripple, while the combination of the ripple factor and the selectivity factor specify the stopband ripple.

## Properties

* In the passband, the elliptic rational function varies between zero and unity. The gain of the passband therefore will vary between 1 and $1/{\sqrt {1+\epsilon ^{2}}}$.
* In the stopband, the elliptic rational function varies between infinity and the discrimination factor $L_{n}$ which is defined as:

    $L_{n}=R_{n}(\xi ,\xi )\,$
    The gain of the stopband therefore will vary between 0 and $1/{\sqrt {1+\epsilon ^{2}L_{n}^{2}}}$.
* In the limit of $\xi \rightarrow \infty$ the elliptic rational function becomes a Chebyshev polynomial, and therefore the filter becomes a Chebyshev type I filter, with ripple factor ε
* Since the Butterworth filter is a limiting form of the Chebyshev filter, it follows that in the limit of $\xi \rightarrow \infty$, $\omega _{0}\rightarrow 0$ and $\epsilon \rightarrow 0$ such that $\epsilon \,R_{n}(\xi ,1/\omega _{0})=1$ the filter becomes a Butterworth filter
* In the limit of $\xi \rightarrow \infty$, $\epsilon \rightarrow 0$ and $\omega _{0}\rightarrow 0$ such that $\xi \omega _{0}=1$ and $\epsilon L_{n}=\alpha$, the filter becomes a Chebyshev type II filter with gain

       $G(\omega )={\frac {1}{\sqrt {1+{\frac {1}{\alpha ^{2}T_{n}^{2}(1/\omega )}}}}}$

## Poles and zeroes

The zeroes of the gain of an elliptic filter will coincide with the poles of the elliptic rational function, which are derived in the article on elliptic rational functions.

The poles of the gain of an elliptic filter may be derived in a manner very similar to the derivation of the poles of the gain of a type I Chebyshev filter. For simplicity, assume that the cutoff frequency is equal to unity. The poles $(\omega _{pm})$ of the gain of the elliptic filter will be the zeroes of the denominator of the gain. Using the complex frequency $s=\sigma +j\omega$ this means that:

    $1+\epsilon ^{2}R_{n}^{2}(-js,\xi )=0\,$

Defining $-js=\mathrm {cd} (w,1/\xi )$ where cd is the Jacobi elliptic cosine function and using the definition of the elliptic rational functions yields:

    $1+\epsilon ^{2}\mathrm {cd} ^{2}\left({\frac {nwK_{n}}{K}},{\frac {1}{L_{n}}}\right)=0\,$

where $K=K(1/\xi )$ and $K_{n}=K(1/L_{n})$. Solving for w

    $w={\frac {K}{nK_{n}}}\mathrm {cd} ^{-1}\left({\frac {\pm j}{\epsilon }},{\frac {1}{L_{n}}}\right)+{\frac {mK}{n}}$

where the multiple values of the inverse cd function are made explicit using the integer index m.

The poles of the elliptic gain function are then:

    $s_{pm}=i\,\mathrm {cd} (w,1/\xi )\,$

As is the case for the Chebyshev polynomials, this may be expressed in explicitly complex form (Lutovac & et al. 2001, § 12.8)

    $s_{pm}={\frac {a+jb}{c}}$
    $a=-\zeta _{n}{\sqrt {1-\zeta _{n}^{2}}}{\sqrt {1-x_{m}^{2}}}{\sqrt {1-x_{m}^{2}/\xi ^{2}}}$
    $b=x_{m}{\sqrt {1-\zeta _{n}^{2}(1-1/\xi ^{2})}}$
    $c=1-\zeta _{n}^{2}+x_{i}^{2}\zeta _{n}^{2}/\xi ^{2}$

where $\zeta _{n}$ is a function of $n,\,\epsilon$ and $\xi$ and $x_{m}$ are the zeroes of the elliptic rational function. $\zeta _{n}$ is expressible for all n in terms of Jacobi elliptic functions, or algebraically for some orders, especially orders 1,2, and 3. For orders 1 and 2 we have

    $\zeta _{1}={\frac {1}{\sqrt {1+\epsilon ^{2}}}}$
    $\zeta _{2}={\frac {2}{(1+t){\sqrt {1+\epsilon ^{2}}}+{\sqrt {(1-t)^{2}+\epsilon ^{2}(1+t)^{2}}}}}$

where

    $t={\sqrt {1-1/\xi ^{2}}}$

The algebraic expression for $\zeta _{3}$ is rather involved (See Lutovac & et al. (2001, § 12.8.1)).

The nesting property of the elliptic rational functions can be used to build up higher order expressions for $\zeta _{n}$:

    $\zeta _{m\cdot n}(\xi ,\epsilon )=\zeta _{m}\left(\xi ,{\sqrt {{\frac {1}{\zeta _{n}^{2}(L_{m},\epsilon )}}-1}}\right)$

where $L_{m}=R_{m}(\xi ,\xi )$.

## Minimum Q-factor elliptic filters

See Lutovac & et al. (2001, § 12.11, 13.14).

Elliptic filters are generally specified by requiring a particular value for the passband ripple, stopband ripple and the sharpness of the cutoff. This will generally specify a minimum value of the filter order which must be used. Another design consideration is the sensitivity of the gain function to the values of the electronic components used to build the filter. This sensitivity is inversely proportional to the quality factor (Q-factor) of the poles of the transfer function of the filter. The Q-factor of a pole is defined as:

    $Q=-{\frac {|s_{pm}|}{2\mathrm {Re} (s_{pm})}}=-{\frac {1}{2\cos(\arg(s_{pm}))}}$

and is a measure of the influence of the pole on the gain function. For an elliptic filter, it happens that, for a given order, there exists a relationship between the ripple factor and selectivity factor which simultaneously minimizes the Q-factor of all poles in the transfer function:

    $\epsilon _{Qmin}={\frac {1}{\sqrt {L_{n}(\xi )}}}$

This results in a filter which is maximally insensitive to component variations, but the ability to independently specify the passband and stopband ripples will be lost. For such filters, as the order increases, the ripple in both bands will decrease and the rate of cutoff will increase. If one decides to use a minimum-Q elliptic filter in order to achieve a particular minimum ripple in the filter bands along with a particular rate of cutoff, the order needed will generally be greater than the order one would otherwise need without the minimum-Q restriction. An image of the absolute value of the gain will look very much like the image in the previous section, except that the poles are arranged in a circle rather than an ellipse. They will not be evenly spaced and there will be zeroes on the ω axis, unlike the Butterworth filter, whose poles are arranged in an evenly spaced circle with no zeroes.

## Comparison with other linear filters

Here is an image showing the elliptic filter next to other common kind of filters obtained with the same number of coefficients:

As is clear from the image, elliptic filters are sharper than all the others, but they show ripples on the whole bandwidth.

