<< Chapter < Page | Chapter >> Page > |
From [link] , it is seen that the passband ripple is measured by , the stopband ripple by , and the normalized transition band by . The previous section showed that
which means that the width of the transition band determines . It should be remembered that this development has assumed a passbandedge normalized to unity. For the unnormalized case, the passband edge is and the stopband edge becomes
The stopband performance is described in terms of the ripple normalized to a maximum passband response of unity, or in terms of the attenuation b in the stopband expressed in positive dB assuming a maximumpassband response of zero dB. The stopband ripple and attenuation are determined from [link] and [link] to be
This can be rearranged to give in terms of the stopband ripple or attenuation.
The order of the filter depends on and , as shown in [link] . Equations [link] , [link] , and [link] determine the relation of the frequency-response specifications and theelliptic-function parameters. The location of the transfer function poles and zeros must then be determined.
Because of the required relationships of [link] and the fact that the order must be an integer, the passband ripple, stopband ripple, and transition band cannot be independently set. Severalstraightforward procedures can be used that will always meet two of the specifications and exceed the third.
The first design step is generally the determination of the order from the desired passband ripple , the stopband ripple , and the transition band controlled by . The following formulas determine the moduli and from the passband ripple or its dB equavilent a, and the stopband ripple or its dB attenuation equivalent b:
The order is the smallest integer satisfying
This integer order will not in general exactly satisfy [link] , i.e., will not satisfy [link] with equality. Either or must to recalculated to satisfy [link] and [link] . The various possibilities for this are developed below.
Given from [link] and the specifications , , and , the parameters and are found from [link] and (refcc50). From , the complete elliptic integrals K and K' are calculated [link] . From [link] , the ratio determines the ratio . Using numerical methods from [link] , is calculated. This gives the desired , , and and minimizes the stopband ripple (or maximizes the stopband attenuation ).
Using these parameters, the zeros are calculated from (refcc31) and the poles from (refcc39). Note the zero locations do not depend on or , but only on and . This makes the tradeoff between stop and passband occur in (refcc48) and only affectsthe calculation of in (refcc38)
This approach which minimizes the stopband ripple is used in the IIR filter design program in the appendix of this book.
Given from [link] and the specifications , , and , the parameter k is found from (refcc50). From k, the complete ellipticintegrals K and K' are calculated [link] . From [link] , the ratio K/K' determines the ratio . Using numerical methods from [link] , is calculated. From and , and are found from
and
This set of parameters gives the desired , , and stopband ripple and minimizes the passband ripple. The zero and polelocations are found as above.
Given from [link] and the specifications , , and either or , the parameters and are found from [link] and (refcc48). From , the complete elliptic integrals and are calculated [link] . From [link] , the ratio determines the ratio . Using numerical methods from [link] , is calculated. This gives the desired passband and stopband ripple andminimizes the transition-band width. The pole and zero locations are found as above.
In many filter design programs, after the order is found from [link] , the design proceeds using the original e, , and , even though they do not satisfy [link] . The resulting design has the desired transition band, but both pass and stopband rippleare smaller than specified. This avoids the calculation of the modulus or from a ratio of complete elliptic integrals as was necessary in all three cases above, but produces results thatare difficult to exactly predict.
A lowpass elliptic-function filter is desired with a maximum passband ripple of or dB, a maximum stopband ripple of or dB rejection, and a normalized stopband edge of radians per second. The first step is to determine the order of the filter.
From , the modulus is calculated and then the complimentary modulus using the relations in (refcc50). Specialnumerical algorithms illustrated in Program 8 are then used to find the complete elliptic integrals and [link] .
From , is calculated using [link] , and from and , is calculated from (refcc48). , , and are then calculated.
The order is obtained from [link] by calculating
This is close enough to 3 to set . Rather than recalculate and , the already calculated values are used as discussed in the design method D in this section. The zeros are found from(refcc31) using only and from above.
To find the pole locations requires the calculation of from (refcc38) which is somewhat complicated. It is carried out using the algorithms in Program 8 in the appendix.
From this value of , and and above, the elliptic functions in (refcc40) are calculated to give
which, for the single real pole corresponding to i = 0 in (refcc39), gives
For the complex conjugate pair of poles corresponding to , the other elliptic functions in (refcc40) are
which gives from (refcc39) for the poles
The complete transfer function is
This design should be compared to the Chebyshev and inverse- Chebyshev designs.
Notification Switch
Would you like to follow the 'Digital signal processing and digital filter design (draft)' conversation and receive update notifications?