<< Chapter < Page Chapter >> Page >
This graph represents L_2 Initial Guess. The x-axis is labeled f and the y-axis is labeled H(f). There is one wave form present in this graph. The waveform starts at the coordinate (0,1) and then drops drastically to (0.25,0) and bounces along y=0 until (0,0.5) where the graph ends.
Original l 2 guess for CLS algorithm.
This graph represents CLS Solution (τ=0.06). The x-axis is labeled f and the y-axis is labeled H(f). There is one wave form present in this graph. The waveform starts at the coordinate (0,1) and then drops drastically to (0.25,0) and bounces along y=0 until (0,0.5) where the graph ends.
CLS design example using mild constraints.
This graph represents CLS Solution (τ=0.03). The x-axis is labeled f and the y-axis is labeled H(f). There is one wave form present in this graph. The waveform starts at the coordinate (0,1) and then drops drastically to (0.25,0) and bounces along y=0 until (0,0.5) where the graph ends.
CLS design example using tight constraints.
This image contains three graphs. The upper most graph is labeled L_2 Solution. The middle graph is labeled Intermediate Solution and the bottom graph is labeled CLS Solution. The x and y-axes of all graphs are labeled f and H(f) respectively. The waveforms of all of these graphs are similar. The waveform starts at the coordinate (0,1) and then drops drastically to (0.3,0) and bounces along y=0 until (0,0.5) where the graph ends. The only main difference between the waves is the amplitude of the wave, especially the peaks directly before and after the drastic fall.
CLS design example without transition bands.

In practice the method outlined above has proven robust particularly in connection with the specified transition band design. Consider the least squares design in [link] (using a length-21 Type-I linear phase low-pass FIR filter with linear transition frequencies { 0 . 2 , 0 . 25 } ). This example illustrates the typical effect of CLS methods over l 2 designs; the largest error (in an l sense) can be located at the edges of the transition band. Figures [link] and [link] illustrate design examples using the proposed approach. [link] shows an example of a mild constraint ( τ = 0 . 6 ), whereas [link] illustrates an advantage of this method, associated to a hard constraint ( τ = 0 . 3 ). The method is trying iteratively to reduce the maximum error towards the constraint; however the specified constraint in [link] is such that even at the point where an equiripple response is reached for the specified transition bands the constraint is not met. At this point the method converges to an optimal l p solution that approximates equiripple as p increases (the examples provided use p = 50 ).

A different behavior occurs when no transition bands are defined. Departing from an initial l 2 guess (as shown in [link] .a) the proposed IRLS-based CLS algorithm begins weighting frequencies selectively in order to reduce the l error towards the constraints τ at each iteration. Eventually an equiripple behavior can be observed if the constraints are too harsh (as in [link] .b). The algorithm will keep weighting until all frequencies meet the constraints (as in [link] .c). The absence of a specified transition band presents some ambiguity in defining valid frequencies for weighting. One cannot (or rather should not) apply weights too close to the transition frequency specified as this would result in an effort by the algorithm to create a steep transition region (which as mentioned previously is counterintuitive to finding an equiripple solution). In a sense, this would mean having two opposite effects working at the same time and the algorithm cannot accommodate both, usually leading to numerical problems.

This is a diagram of a waveform. The wave is a bold line that rises and falls with a dotted line marking the middle of the peaks and troughs. Two black lines mark the upper and lower extremes of this wave. There are three peaks in this diagram with the final peak marked 'Largest Ripple'. The middle section is labeled 'weighting corridor'. The space between the dotted line and solid upper and lower bounds are marked with brackets each labeled α.
Definition of induced transition band.

In order to avoid these issues, an algorithm can be devised that selects a subset of the sampled frequencies for weighting purposes at each iteration. The idea is to identify the largest ripple per band at each iteration (the ripple associated with the largest error for a given band) and select the frequencies within that band with errors equal or smaller than such ripple error. In this way one avoids weighting frequencies around the transition frequency. This idea is illustrated in [link] .

This image contains to graphs. The upper graph is labeled 'Weights at early iteration', and the lower graph is labeled 'Weight near convergence'. The x and y-axes on both graphs are labeled f and w(f) respectively. The wave forms of both graphs are similar each has peaks along the x-axis at .05, .1, .15, .2, .3,.35, .4 and .45. The amplitude of each of the graphs increase from .05 to .2 and then the amplitudes are mirrored from .3 to.45. The main difference is the height of the amplitude. The upper graph is slightly higher than the bottom graph and the rise of the wave is more gradual than the bottom one.
CLS weights.

The previous example is fundamental since it illustrates the relevance of this method: since for a particular transition band the tightest constraint that one can get is given by the equiripple (or minimax) design (as shown in [link] ), a problem might arise when specifications are tighter than what the minimax design can meet. Adams found this problem (as reported in [link] ); his method breaks under these conditions. The method proposed here overcomes an inadequate constraint and relaxes the transition band to meet the constraint.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Iterative design of l_p digital filters. OpenStax CNX. Dec 07, 2011 Download for free at http://cnx.org/content/col11383/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Iterative design of l_p digital filters' conversation and receive update notifications?

Ask