<< Chapter < Page Chapter >> Page >

Fortunately, emperical formulas have been derived that give a good estimate of the relationship of the length of an optimal ChebyshevFIR filter for given pass and stopband ripple and transition band edges [link] , [link] . Kaiser's formula is

N = - 20 log 10 ( δ p δ s ) - 13 14 . 6 ( f s - f p ) + 1

and it is fairly accurate for average filter specifications (neither wide nor narrow bands).

Examples of optimal chebyshev filters

In order to better understand the nature of an optimal Chebyshev and to see the power of the Parks-McClellan algorithm, we present the design ofa length-21 linear phase FIR bandpass filter. To see the effects of the design specifications, we will fix the two pass band edges and the upperstop band edge, then look at the effects of varying the lower stop band edge. The Matlab program that generated the designs is:

% ChebyPlot9.m generates Chebyshev figures.% Change in opt frequency response as band edge is changed, csb 1/26/07 N = 20;M = [0 0 1 1 0 0];W = [7.5 10 7.5];ff = [0:512]/512; k=0;%for fk = .10:.02:.34 % k = k+1;clf; for k = 1:6fk = .1 + .02*(k-1); F = [0 fk .35 .8 .85 1]; b = firpm(N,F,M,W);%clf; axis([0 1 0 1.2]); AA = abs(fft(b,1024)); AA = AA(1:513);dd = max(AA(1:50)); ddd = dd*(W(1)/W(2));subplot(3,2,k); plot(ff,AA,'r'); hold; plot([0 F(2) F(2) F(5) F(5) 1],[dd dd 0 0 dd dd],'b');plot([0 F(3) F(3) F(4) F(4) 1],[0 0 1-ddd 1-ddd 0 0],'b'); plot([0 F(3) F(3) F(4) F(4) 1],[0 0 1+ddd 1+ddd 0 0],'b');title('L-21 Chebyshev Filter, f_s = 0.1'); ylabel('Magnitude |H(\omega)|');pause; end; hold off;

The results are shown in Figures [link] and [link] .

Figure five contains six graphs. the horizontal axes are labeled Normalized frequency: f, and the vertical axes are labeled Magnitude |H(ω)|. The horizontal axes range in value from 0 to 1 in increments of 0.5, and the vertical axes range in value from 0 to 1 in increments of 0.5. All six graphs follow a similar fashion, beginning in the bottom-left section with small sinusoidal waves, then continuing with a larger wave to a second consistent sinusoidal section in the middle, centered around a vertical value of 1, and a third section after a decrease in the curve back down to a sinusoidal section in the bottom-right section of the graph with two more waves. The graph in the top-right is titled L-21 Chebyshev Filter, f_s = 0.1. The amplitude of the first and third sections are approximately 0.1, and the amplitude of the middle section  is approximately 0.2. The wave in between the first and second sections is so large that its peak is above the visible section of the graph. The next graph is titled L-21 Chebyshev Filter, f_s = 0.12. In every visible respect, this graph is identical to the aforementioned graph titled L-21 Chebyshev Filter. The next graph is titled L-21 Chebyshev Filter, f_s = 0.14. This graph has the same amplitudes of the sections mentioned in the previous graphs in this figure, but the wave between the first and second sections is much smaller, with its peak at a vertical value of 1. The next graph is titled L-21 Chebyshev Filter, f_s = 0.16. This graph has the same amplitudes of the sections mentioned in the previous graphs in this figure, but the wave between the first and second sections is much smaller, with its peak at a vertical value of 0.5. The next graph is titled L-21 Chebyshev Filter, f_s = 0.18. This graph has the same amplitudes of the sections mentioned in the previous graphs in this figure, but the wave between the first and second sections is much smaller, with its peak at a vertical value of approximately 0.25. The next graph is titled L-21 Chebyshev Filter, f_s = 0.2. This graph has the same amplitudes of the sections mentioned in the previous graphs in this figure, but the wave between the first and second sections is much smaller, with its peak at a vertical value of approximately 0.2.
Amplitude Response of Length-21 Optimal Chebyshev Bandpass Filter with various Stop Band Edges
Figure six contains six graphs. the horizontal axes are labeled Normalized frequency: f, and the vertical axes are labeled Magnitude |H(ω)|. The horizontal axes range in value from 0 to 1 in increments of 0.5, and the vertical axes range in value from 0 to 1 in increments of 0.5. All six graphs follow a similar fashion, beginning in the bottom-left section with small sinusoidal waves, then continuing to a second consistent sinusoidal section in the middle, centered around a vertical value of 1, and a third section after a decrease in the curve back down to a sinusoidal section in the bottom-right section of the graph with two more waves. The graph in the top-right is titled L-21 Chebyshev Filter, f_s = 0.22. The amplitude of the first and third sections are approximately 0.1, and the amplitude of the middle section  is approximately 0.2. The next graph is titled L-21 Chebyshev Filter, f_s = 0.24. In every visible respect, this graph is identical to the aforementioned graph titled L-21 Chebyshev Filter, f_s = 0.22. The next graph is titled L-21 Chebyshev Filter, f_s = 0.26.  In every visible respect, this graph is identical to the aforementioned graph titled L-21 Chebyshev Filter, f_s = 0.22. The next graph is titled L-21 Chebyshev Filter, f_s = 0.28. This graph has the same amplitudes of the sections mentioned in the previous graphs in this figure, but the first peak of the second section is smaller, only reaching a vertical value of approximately 0.9. The next graph is titled L-21 Chebyshev Filter, f_s = 0.32. This graph's sinusoidal sections have significantly larger amplitudes, an increase of approximately 50 percent for each section. The next graph is titled L-21 Chebyshev Filter, f_s = 0.34.  This graph's sinusoidal sections have significantly larger amplitudes, an increase of approximately 60 percent for each section.
Amplitude Response of Length-21 Optimal Chebyshev Bandpass Filter with various Stop Band Edges

Note the large transmission peaks in the transition band of Figures [link] a, b, and c that result from the two transition bands being very different in width. As the lowertransition band narrows, this peak grows smaller and eventually disappears in [link] f. Note that there are two extremal points in the lower stop band of [link] b and seven in the pass band, while there are three in the lower stop band of Figures [link] c and d and six in the pass band. But, there are always twelve total (thirteen for a case between Figures [link] b and c). In [link] d, there are only five extremal points in the pass band but twelve total. The same filter is optimal for the conditionsgiven in Figures [link] a, b, and c. Much can be learned about optimal filters by running experiments in Matlab. Remember, all of these are optimal for the specifications given.

Chebyshev approximation usingApproximation

It is possible to approximate the effects of Chebyshev approximation by minimizing the p t h power of the error. For large p this is close to the results of a true Chebyshev approximation. This is a variation on amethod called Lawson's method. This approach is described in [link] , [link] , [link] using the iterative reweighted least squared (IRLS) error method and looks attractive in that it can use different p in different frequency bands. This would allow, for example, a least squarederror approximation in the passband and a Chebyshev approximation in the stopband. The IRLS method can also be used for complex Chebyshevapproximations [link] .

Characteristics of optimal chebyshev filters

Examples of expected and unexpected results of optimality. Rabiner's work will be used here. The non-unique designs for certain multibanddesigns will be illustrated.

Complex chebyshev approximation

Algorithms that directly use the alternation theorem, such as the standard Remez multiple exchange algorithm, are difficult to apply to the complexapproximation or 2-D approximation problem because the concept of “alternation" is difficult to define and the number of ripples in anoptimal solution is more difficult to determine [link] , [link] , [link] , [link] , [link] , [link] , [link] . Work has been done on the complex approximation problem at Rice by Parks and Chen [link] and by Burrus, Barreto, and Selesnick [link] , [link] , at Erlangen by Schuessler, Preuss, Schulist, and Lang [link] , [link] , [link] , [link] , [link] , [link] , at MIT by Alkhairy et al [link] , [link] , at USC by Tseng and Griffiths [link] , [link] , at Georgia Tech by Karam and McClellan [link] , at Cornell by Burnside and Parks [link] , and by Potchinkov and Reemtsen at Cottbus [link] , [link] , [link] , [link] , [link] . The work done byAdams which uses an implementation of a constrained quadratic programming algorithm might be useful here [link] , [link] . Lang has extended and further developed this constrained approach [link] , [link] , [link] and Selesnick is applying it to IIR filter design [link] . Tseng gives a good summary of complex approximation in [link] .

Conclusions and discussions of chebyshev design

By adding the Chebyshev filter design methods described above to the Parks-McClellan algorithm, one has a rather complete set of approachesto equal ripple filter designs that allows a wide variety of specifications. The new exchange algorithm which minimizes the transitionband width while allowing the specification of the center or either edge of the transition band edge may fit many design environments better thanthe traditional Parks-McClellan. An alternative approach which specifies the pass and stop band peak error yet has no zero weighted transition band will be presented in Constrained Least Squares Design [link] , [link] . Matlab programs are available for the Parks-McClellan algorithm, the modifiedParks-McClellan algorithm, the Hofstetter-Oppenheim-Siegel algorithm, the new minimum transition band design algorithm, and the constrained leastsquares algorithm. They are written with a common format and notation to easily see how they are programmed and how they are related. This bookgenerally presents the lowpass case. The bandpass and multi-band cases use the same ideas but are a bit more complicated and are discussed in moredetail in the references.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Digital signal processing and digital filter design (draft). OpenStax CNX. Nov 17, 2012 Download for free at http://cnx.org/content/col10598/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Digital signal processing and digital filter design (draft)' conversation and receive update notifications?

Ask