The low pass elliptic filter is defined by the gain function
where ω is the angular frequency, ωc is the cutoff frequency, ε and ξ are parameters that control the size of the ripples in the pass band and the stop band and Rn is the nth order elliptic rational function.
The elliptic rational function R does not have nice algebraic form, except in certain cases as described below. Hence, the elliptic filter is defined here with its gain function rather than with its transfer function. An example transfer function for one specific case is described below.
The function above is the gain function of the elliptic low pass filter. Changing s / ωc to ωc / s produces an elliptic high pass filter. Changing s / ωc to (s2 + ωc2) / (B s) produces the elliptic band pass filter, where ωc is the midpoint of the pass band and B is the width of the band. Changing s / ωc to B s / (s2 + ωc2) produces the elliptic band stop filter.
ε is called the ripple factor and controls the size of the ripples in the pass band. ξ is called the selectivity factor (ξ ≥ 1) and, together with the ripple factor, defines the size of the ripples in the stop band. As the ripple in the pass band approaches zero, the filter approaches the Chebychev filter of type I. As the ripple in the stop band approaches zero, the filter approaches the Chebychev filter of type II. As both ripples approach zero, the filter approaches the Butterworth filter.
The following is a plot of the gain function for orders 2 and 4 of the elliptic filter.
In this particular example, ωc = 0.6, ε = 0.5, and ξ = 1.5. As ε approaches zero, the ripples in the pass band approaches zero. As ξ increases for a given ε, the ripple in the stop band approaches zero.
An example second order elliptic filter
The second order elliptic rational function is
which means that the gain function of the second order low pass elliptic filter is
and, for the Laplace transform transfer function H(s), with s = j ω, we have
In the expression above, the four roots of the denominator are
The transfer function can be written as
where s1 and s2 are the two roots, the real part of which is negative. (As with all infinite impulse response filters, we would like a filter that does not produce unbound output. Since we care only about positive amplitudes – there are no "negative amplitudes" in practice – there should be no roots in the denominator with positive real parts. Therefore, we only pick the roots with negative real parts.) After the bilinear transformation, s = 2 (z – 1) / (z + 1), the filter becomes
s1 and s2 are complex conjugates, which means s1 s2 and s1 + s2 are real numbers and the Z transform transfer function above has only real coefficients.
With ωc = 0.6, ε = 0.5, and ξ = 1.5, and after scaling to obtain 1 in the beginning of the denominator, the transfer function is
(The cutoff frequency of the filter is technically ωc = 2 arctan(0.6/2) ≈ 0.583, due to the warping of the frequency domain by the bilinear transformation) The magnitude response of the filter is the same as the gain function for the second order filter in the graph above.
The elliptic rational function
The elliptic rational function cannot always be written out in a nice algebraic way. Its general definition involves the Jacobi elliptic cosine function and the elliptic integral. In certain cases, specifically in the cases where the order n = 2i 3j for integer values of i and j, we have:
The nesting property of the elliptic rational function allows us to compute higher orders. The nesting property is
and so on.
Higher order elliptic filters
Higher order elliptic filters can be designed in a similar way. To the extent that the elliptic rational function can be written in a closed form, it may be possible to find the roots of the denominator of the elliptic filter transfer function deterministically. In all cases, one should be able to find the roots of the denominator numerically. The paragraphs below present an example of a fourth order high pass elliptic filter.
The fourth order elliptic rational function can be expressed as follows.
The transfer function of the fourth order high pass elliptic filter then is
The eight roots of the denominator are as follows (two counts for all +- before each "j", which work together; two counts for the +- in front of the square root; and two counts the +- in the beginning).
Then the transfer function is
where s1, s2, s3, and s4 are the four roots with negative real parts.
For example, with the same parameters as above (ωc = 0.6, ε = 0.5, and ξ = 1.5), the eight roots are shown below.
The four roots with negative real parts are
The filter, after the bilinear transformation, is
The magnitude response of the filter is shown on the graph below.
This graph was computed with the sampling frequency of 2000 Hz and, hence, the cutoff frequency of ωc = 0.6 translates to 191 Hz.