<< Chapter < Page | Chapter >> Page > |
Parks and McClellan formulated the basic Chebyshev FIR filter design problem by specifying the desired amplitude response and the transition band edges, then minimizing the weighted Chebyshev error overthe pass and stop bands. For the basic lowpass filter illustrated in [link] , the pass band edge and the stop band edge are specified, the maximum passband error is related to the maximum stop band error by and they are minimized.
Notice that if there is no transition band, i.e. , that and no minimization is possible. While not the case for a least squares approximation, a transition band is necessaryfor the Chebyshev approximation problem to be well-posed. The effects of a small transition band are large pass and stopband ripple as illustratedin [link] b.
The alternation theorem states that the optimal approximation for this problem will have an error function with extremal points with alternating signs. The theorem also states that there exists frequencies such that, if the Chebyshev error at those frequencies are equal and alternate in sign, it will be minimized over the pass band andstop band. Note that there are nine extremal points in the length-15 example shown in [link] , counting those at the band edges in addition to those that are interior to the pass and stopbands. For this case, which agree with the example.
Parks and McClellan applied the Remez exchange algorithm [link] to this filter design problem by writing equations using Equation 37 from FIR Digital Filters and Equation 1 from Design of IIR Filters by Frequency Transformations evaluated at the extremal frequencies with unknown cosine parameters and the unknown ripple value, . In matrix form this becomes
These equations are solved for and using an initial guess as to the location of the extremal frequencies . This design is optimal but only over the guessed frequencies, and we want optimality overall of the pass and stopbands. Therefore, the amplitude response of the filter is calculated over a dense set of frequency samples using Equation 34 from FIR Digital Filters and a new set of estimates of the extremal frequencies is found from the local minima and maxima and these are used to replace the initialguesses (they are exchanged). This process is iteratively performed until the guaranteed convergence is achieved and the optimal filter is designed.
The detailed steps of the Parks-McClellan algorithm are:
Notification Switch
Would you like to follow the 'Digital signal processing and digital filter design (draft)' conversation and receive update notifications?