<< Chapter < Page Chapter >> Page >

The frequency-dependent FIR problem was first introduced in [link] . Following the FIR approach, one can design IIR frequency-dependent filters by merely replacing the linear weighted least squares step by a nonlinear approach, such as the quasilinearization method presented in [link] (as in the complex l p IIR case). This problem illustrates the flexibility in design for l p IRLS-based methods.

Magnitude l p Iir design

The previous sections present algorithms that are based on complex specifications; that is, the user must specify both desired magnitude and phase responses. In some cases it might be better to specify a desired magnitude response only, while allowing an algorihm to select the phase that optimally minimizes the magnitude error. Note that if an algorithm is given a phase in addition to a magnitude function, it must then make a compromise between approximating both functions. The magnitude l p IIR approximation problem overcomes this dilemma by posing the problem only in terms of a desired magnitude function. The algorithm would then find the optimal phase that provides the optimal magnitude approximation. A mathematical formulation follows,

min a , b D ( ω ) - B ( ω ; b ) A ( ω ; a ) p p
A block diagram for magnitude l_p IIR method. The diagram begining at the top starts with the phrase 'Real D' with an arrow pointing down to a rectangular box containing the phrase 'Frequency Prony'. An arrow points down from that box to a diamond shaped box labeled 'Converged'. An arrow points to the left with 'N' next to it and the arrow is labeled 'Update Phase'. The arrow points up to the first arrow pointing to the box 'Frequency Prony'. Another arrow points down from the 'Converged?' box with the letter 'Y' next to it. The arrow points to the phrase 'Equation L_2 error Magnitude soln.'. Another arrow points down from this phrase to a rectangular box containing the phrase 'Complex L_2 linearization' and another arrow points down from that box to a diamond shaped box containing the phrase 'Converged?'. An arrow points down from the left with 'N' next to it and labeled 'Update Phase'. The arrow points up to the arrow pointing to the box containg 'Complex L_2 linearization'. An arrow points down from the 'Converged?' box down with a 'Y' next to it. The arrow points to the phrase 'Solution L_2 error Magnitude soln.'. An arrow points down from that phrase to the box containing the phrase 'Solve complex L_p as weighted complex L_2 via linearization'. Another arrow points down from this box to another box containing the phrase 'Partial updating' and then another arrow points down to a diamond shaped box containing the phrase 'Converged?'. An arrow with 'N' next to it points up from the 'Converged?' box up to the arrow pointing to the box containing the phrase 'Solve complex L_p as weighted complex L_2 via linearization'. The arrow is labeled 'Update Phase'. The last three boxes and these arrows are all contained in a dashed box labeled 'For a given p solve magnitude L_p problem'. Another arrow points down from the 'Converged?' diamond with a 'Y' next to the arrow to another diamond shaped box labeled 'Desired p?'. There is and arrow pointing up and to the right with an 'N' pointing to the arrow pointing to the box containing the phrase 'Solve complex L_p as weighted complex L_2 via linearization'. This arrow is labeled 'Update p by updating weights'. To the left of the diamond is the letter 'N' and Another arrow points down from the diamond with a 'Y' next to it to an oval box containing the phrase 'End'.
Block diagram for magnitude l p IIR method.

A critical idea behind the magnitude approach is to allow the algorithm to find the optimum phase for a magnitude approximation. It is important to recognize that the optimal magnitude filter indeed has a complex frequency response. Atmadji Soewito [link] published in 1990 a theorem in the context of l 2 IIR design that demonstrated that the phase corresponding to an optimal magnitude approximation could be found iteratively by updating the desired phase in a complex approximation scenario. In other words, given a desired complex response D 0 one can solve a complex l 2 problem and take the resulting phase to form a new desired response D + from the original desired magnitude response with the new phase. That is,

D i + 1 = | D 0 | e j φ i

where D 0 represents the original desired magnitude response and e j φ i is the resulting phase from the previous iteration. This approach was independently suggested [link] by Leland Jackson and Stephen Kay in 2008.

This work introduces an algorithm to solve the magnitude l p IIR problem by combining the IRLS-based complex l p IIR algorithm from [link] with the phase updating ideas from Soewito, Jackson and Kay. The resulting algorithm is robust, efficient and flexible, allowing for different orders in the numerator and denominator as well as even or uneven sampling in frequency space, plus the optional use of specified transition bands. A block diagram for this method is presented in [link] .

The overall l p IIR magnitude procedure can be summarized as follows,

  1. Experimental analysis demonstrated that a reasonable initial solution for each of the three main stages would allow for faster convergence. It was found that the frequency domain Prony method by Burrus [link] (presented in [link] ) offered a good initial guess . In [link] this method is iterated to update the specified phase. The outcome of this step would be an equation error l 2 magnitude design.
  2. The equation error l 2 magnitude solution from the previous step initializes a second stage where one uses quasilinearization to update the desired phase. Quasilinearization solves the true solution error complex approximation. Therefore by iterating on the phase one finds at convergence a solution error l 2 magnitude design.
  3. The rest of the algorithm follows the same idea as in the previous step, except that the least squared step becomes a weighted one (to account for the necessary l p homotopy weighting). It is also crucial to include the partial updating introduced in [link] . By iterating on the weights one would find a solution error l p magnitude design.

Figures [link] through [link] illustrate the effectiveness of this algorithm at each of the three different stages for length-5 filters a and b , with transition edge frequencies of 0.2 and 0.24 (in normalized frequency) and p = 30 . A linear transition band was specified. Figures [link] , [link] and [link] show the equation error l 2 , solution error l 2 and solution error l p . [link] shows a comparison of the magnitude error functions for the solution error l 2 and l p designs. [link] shows the phase responses for the three designs.

This image contains two graphs. The first graph is a representation of the 'Equation Error L_2 Magnitude'. There is one wave form. It is identified by a solid red line and labeled 'ε_e L_2 solution'. The desired function is indicated with a blue dotted line. The wave form starts at (0,1) and then at about (0.2,0) the wave has its largest peak before falling drastically to about (0.25,0). The wave then continues along the x-axis till (.5,0) where the graph ends. The dotted blue line runs along y=1 to (.2,1). Then the dotted blue line continues at y=0 from (0.25,0) to (0.5,0). The second graph is a representation of 'Equation Error L_2 Phase'. There is a single wave form in the graph represented by a solid red line. The wave starts at (0,0) drops slightly then rises to (0.5,6).
Equation error l 2 magnitude design.
This image contains two graphs. The first graph is a representation of the 'Solution Error L_2 Magnitude'. There is one wave form. It is identified by a solid red line and labeled 'ε_s L_2 solution'. The desired function is indicated with a blue dotted line. The wave form starts at (0,1) and then at about (0.2,0) the wave has its largest peak before falling drastically to about (0.25,0). The wave then continues along the x-axis till (.5,0) where the graph ends. The dotted blue line runs along y=1 to (.2,1). Then the dotted blue line continues at y=0 from (0.25,0) to (0.5,0). The second graph is a representation of 'Solution Error L_2 Phase'. There is a single wave form in the graph represented by a solid red line. The wave starts at (0,0) drops slightly then rises to (0.5,6).
Solution error l 2 magnitude design.
This image contains two graphs. The first graph is a representation of the 'Solution Error L_p Magnitude'. There is one wave form. It is identified by a solid red line and labeled 'ε_s L_p solution'. The desired function is indicated with a blue dotted line. The wave form starts at (0,1) and then at about (0.2,0) the wave has its largest peak before falling drastically to about (0.25,0). The wave then continues along the x-axis till (.5,0) where the graph ends. The dotted blue line runs along y=1 to (.2,1). Then the dotted blue line continues at y=0 from (0.25,0) to (0.5,0). The second graph is a representation of 'Solution Error L_p Phase'. There is a single wave form in the graph represented by a solid red line. The wave starts at (0,0) drops slightly then rises to (0.5,6).
Solution error l p magnitude design.
This graph is a representation of 'L_2 versus L_p Magnitude Error'. There are two wave forms represented on this graph. One is labeled 'L_2 Error' and is represented by a blue dashed line. The other wave is labeled 'L_p Error' and is represented by a solid red line. The wave form represented by the dashed blue line starts on the left at (0,0.01) and then the wave peaks three times before rising to a drastic peak at (0.25,0.1). The wave then drops back to (0.26,0.01) rises to (0.3,0.03) drops to (0.4,0.005) and then exits the graph at (0.5,0.02). The other wave starts on the left at (0,0.04) drops to (0.05,0). There are two more peaks and the the wave flatlines along the x-axis from (0.2,0) to (0.24,0). The wave then rises to (0.25,0.05). The wave then drops to (0.26,0.01) rises to (0.28,0.05) drops to (0.35,0.02) and then exits the graph at (0.5,0.045).
Comparison of l 2 and l p IIR magnitude designs
This is a graph of 'Phase Comparison'. There are three phase responses. One is labeled 'ε_e L_2 Phase' and is identified by a line of black dots. Another is labeled 'ε_s L_2 Phase' identified by a blue dashed line. The final phase is labeled 'L_p Phase' and identified with a solide red line. All three phases follow the same general path. All start at (0,0) drop to about (0.15,-1) then  at this point the lines split apart. The red line is highest on the y axis and furtherest  left on the x axis. The black dotted line is lowest on the y axis and furtherest right on the x axis. The blue dashed line is in the middle of these two lines. All three lines exit the graph at about (0.5,6).
Phase responses for l 2 and l p IIR magnitude designs.

From Figures [link] and [link] one can see that the algorithm has changed the phase response in a way that makes the maximum magnitude error (located in the stopband edge frequency) to be reduced by approximately half its value. Furthermore, [link] demonstrates that one can reach quasiequiripple behavior with relatively low values of p (for the examples shown, p was set to 30).

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