<< Chapter < Page Chapter >> Page >

It is worth noting that the polynomial weighting form works even when no transition bands are specified (this must become evident from [link] .c above). However, the user must be aware of some practical issues related to this approach. [link] shows a typical CLS polynomial weighting function. Its "spiky" character becomes more dramatic as p increases (the method still follows the homotopy and partial updating ideas from previous sections) as shown in [link] .b. It must be evident that the algorithm will assign heavy weights to frequencies with large errors, but at p increases the difference in weighting exaggerates. At some point the user must make sure that proper sampling is done to ensure that frequencies with large weights (from a theoretical perspective) are being included in the problem, without compromising conputational efficiency (by means of massive oversampling, which can lead to ill-conditioning in numerical least squares methods). Also as p increases, the range of frequencies with signifficantly large weights becomes narrower, thus reducing the overall weighting effect and affecting convergence speed.

A diagram of a CLS envelope weighting function. The diagram three main components. There are two horizontal dotted lines in the middle of the wave. The upper line is labeled 1|τ and the lower line is labeled | τ. The peaks and troughs of the wave are marked by rectangle caps that are labeled Weighted Frequencies.
CLS envelope weighting function.

A second weighting form can be defined where envelopes are used. The envelope weighting function approach works by assigning a weight to all frequencies not meeting a constraint. The value of such weights are assigned as flat intervals as illustrated in [link] . Intervals are determined by the edge frequencies within neighborhoods around peak error frequencies for which constraints are not met. Clearly these neighborhoods could change at each iteration. The weight of the k -th interval is still determined by our typical expression,

w k ( ω ) = | ϵ ( ω k + ) | p - 2 2

where ω k + is the frequency with largest error within the k -th interval.

Envelope weighting has been applied in practice with good results. It is particularly effective at reaching high values of p without ill-conditioning, allowing for a true alternative to minimax design. [link] shows an example using τ = 0 . 4 ; the algorithm managed to find a solution for p = 500 . By specifying transition bands and unachievable constraints one can produce an almost equiripple solution in an efficient manner, with the added flexibility that milder constraints will result in CLS designs.

This images contains two graphs. The first graph is labeled CLS Envelope Solution and the second graph is labeled Envelope Weights. The x-axes are labeled for both graphs. The y-axis of the first graph is labeled H(f) and the y-axis is labeled w(f) for the second graph. The Wave form of the first graph starts at (0,1) and progresses horizontally till (0.2,1) where the wave drops drastically to (.25,0) and then continues horizontally to (0.5,0). The second graph consist of a series of short horizontal line segments.
CLS design example using envelope weights.

Comparison with l p Problem

This chapter presented two problems with similar effects. On one hand, [link] illustrated the fact (see [link] ) that as p increases towards infinity, an l p filter will approximate an l one. On the other hand, [link] presented the constrained least squared problem, and introduced IRLS-based algorithms that produce filters that approximate equiripple behavior as the constraint specifications tighten.

A natural question arises: how do these methods compare with each other? In principle it should be possible to compare their performances, as long as the necessary assumptions about the problem to be solved are compatible in both methods. [link] shows a comparison of these algorithms with the following specifications:

  • Both methods designed length-21 Type-I lowpass linear phase digital filters with fixed transition bands defined by f = { 0 . 2 , 0 . 24 } (in normalized linear frequency).
  • The l p experiment used the following values of p :
    p = { 2 , 2 . 2 , 2 . 5 , 3 , 4 , 5 , 7 , 10 , 15 , 20 , 30 , 50 , 70 , 100 , 170 , 400 }
  • The CLS experiment used the polynomial weighting method with fixed transition bands and a value of p = 60 . The error tolerances were
    τ = { . 06 , . 077 , . 078 , . 8 , . 084 , . 088 , . 093 , . 1 , . 11 , . 12 , . 13 , . 14 , . 15 , . 16 , . 17 , . 18 }

Some conclusions can be derived from [link] . Even though at the extremes of the curves they both seem to meet, the CLS curve lies just below the l p curve for most values of p and τ . These two facts should be expected: on one hand, in principle the CLS algorithm gives an l 2 filter if the constraints are so mild that they are not active for any frequency after the first iteration (hence the two curves should match around p = 2 ). On the other hand, once the constraints become too harsh, the fixed transition band CLS method basically should design an equiripple filter, as only the active constraint frequencies are l p -weighted (this effects is more noticeable with higher values of p ). Therefore for tight constraints the CLS filter should approximate an l filter.

The reason why the CLS curve lies under the l p curve is because for a given error tolerance (which could be interpreted as for a given minimax error ε ) the CLS method finds the optimal l 2 filter. An l p filter is optimal in an l p sense; it is not meant to be optimal in either the l 2 or l senses. Hence for a given τ it cannot beat the CLS filter in an l 2 sense (it can only match it, which happens around p = 2 or p = ).

It is important to note that both curves are not drastically different. While the CLS curve represents optimality in an l 2 - l sense, not all the problems mentioned in this work can be solved using CLS filters (for example, the magnitude IIR problem presented in [link] ). Also, one of the objectives of this work is to motivate the use of l p norms for filter design problems, and the proposed CLS implementations (which absolutely depends on IRLS-based l p formulations) are good examples of the flexibility and value of l p IRLS methods discussed in this work.

This graph is a representation of the Comparison of CLS versus L_P errors. The x-axis is labeled ε_2 and the y-axis is labeled ε_∞. The graph contains two different curves. One curve represent L_p and is identified by a dotted blue line with points indicated by green stars. The other curve represents CLS curve is identified by a red dashed line with points identified by green squares. The L_p curve sits higher than the CLS curve.
Comparison between CLS and l p problems.

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