<< Chapter < Page Chapter >> Page >

A Finite Impulse Response ( FIR ) filter is an ordered vector h R N (where 0 < N < ), with a complex polynomial form in the frequency domain given by

H ( ω ) = n = 0 N - 1 h n e - j ω n

The filter H ( ω ) contains amplitude and phase components A H ( ω ) , φ H ( ω ) that can be designed to suit the user's purpose.

Given a desired frequency response D ( ω ) , the general l p approximation problem is given by

min h D ( ω ) - H ( h ; ω ) p

In the most basic scenario D ( ω ) would be a complex valued function, and the optimization algorithm would minimize the l p norm of the complex error function ϵ ( ω ) = D ( ω ) - H ( ω ) ; we refer to this case as the complex l p design problem (refer to [link] ).

One of the caveats of solving complex approximation problems is that the user must provide desired magnitude and phase specifications. In many applications one is interested in removing or altering a range of frequencies from a signal; in such instances it might be more convenient to only provide the algorithm with a desired magnitude function while allowing the algorithm to find a phase that corresponds to the optimal magnitude design. The magnitude l p design problem is given by

min h D ( ω ) - | H ( h ; ω ) | p

where D ( ω ) is a real, positive function. This problem is discussed in [link] .

Another problem that uses no phase information is the linear phase l p problem. It will be shown in [link] that this problem can be formulated so that only real functions are involved in the optimization problem (since the phase component of H ( ω ) has a specific linear form).

An interesting case results from the idea of combining different norms in different frequency bands of a desired function D ( ω ) . One could assign different p -values for different bands (for example, minimizing the error energy ( ε 2 ) in the passband while using a minimax error ( ε ) approach in the stopband to keep control of noise). The frequency-varying l p problem is formulated as follows,

min h ( D - H ) ( ω p b ) p + ( D - H ) ( ω s b ) q

where ω p b , ω p b are the passband and stopband frequency ranges respectively (and 2 < p , q < ).

Perhaps the most relevant problem addressed in this work is the Constrained Least Squares ( CLS ) problem. In a continuous sense, a CLS problem is defined by

min h d ( ω ) - H ( ω ) 2 subject to | d ( ω ) - H ( ω ) | τ

The idea is to minimize the error energy across all frequencies, but ensuring first that the error at each frequency does not exceed a given tolerance τ . [link] explains the details for this problem and shows that this type of formulation makes good sense in filter design and can efficiently be solved via IRLS methods.

The irls algorithm and fir literature review

A common approach to dealing with highly structured approximation problems consists in breaking a complex problem into a series of simpler, smaller problems. Often, one can even prove important mathematical properties in this way. Consider the l p approximation problem introduced in [link] ,

min h f ( h ) p

For simplicity at this point we can assume that f ( · ) : R N R M is linear. It is relevant to mention that [link] is equivalent to

min h f ( h ) p p

In its most basic form the l p IRLS algorithm works by rewriting [link] into a weighted least squares problem of the form

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