<< Chapter < Page Chapter >> Page >

A common notion used in this work (as well as some of the literature related to linearization and filter design) is that there are two different error measures that authors often refer to. It is important to recognize the differences between them as one browses through literature. Typically one would be interested in minimizing the l 2 error given by:

ε = E ( ω ) 2 2 = D ( ω ) - B ( ω ) A ( ω ) 2 2

This quantity is often referred to as the solution error (denoted by ε s ); we refer to the function E ( ω ) in [link] as the solution error function , denoted by E s ( ω ) . Also, in linearization algorithms the following measure often arises,

ε = E ( ω ) 2 2 = A ( ω ) D ( ω ) - B ( ω ) 2 2

This measure is often referred to as the equation error ε e ; we denote the function E ( ω ) in [link] as the equation error function E e ( ω ) . Keeping the notation previously introduced, it can be seen that the two errors relate by one being a weighted version of the other,

E e ( ω ) = A ( ω ) E s ( ω )

Levy's method

E. C. Levy [link] considered in 1959 the following problem in the context of analog systems (electrical networks to be more precise): define For consistency with the rest of this document, notation has been modified from the author's original paper whenever deemed necessary.

H ( j ω ) = B 0 + B 1 ( j ω ) + B 2 ( j ω ) 2 + A 0 + A 1 ( j ω ) + A 2 ( j ω ) 2 + = B ( ω ) A ( ω )

Given L samples of a desired complex-valued function D ( j ω k ) = R ( ω k ) + j I ( ω k ) (where R , I are both real funtions of ω ), Levy defines

E ( ω ) = D ( j ω ) - H ( j ω ) = D ( j ω ) - B ( ω ) A ( ω )

or

ε = k = 0 L | E ( ω k ) | 2 = k = 0 L | A ( ω k ) D ( j ω k ) - B ( ω k ) | 2

Observing the linear structure (in the coefficients A k , B k ) of equation [link] , Levy proposed minimizing the quantity ε . He actually realized that this measure (what we would denote as the equation error) was indeed a weighted version of the actual solution error that one might be interested in; in fact, the denominator function A ( ω ) became the weighting function.

Levy's proposed method for minimizing [link] begins by writing ε as follows,

ε = k = 0 L ( R k σ k - ω k τ k I k - α k ) 2 + ( ω k τ k R k + σ k I k - ω k β k ) 2

by recognizing that [link] can be reformulated in terms of its real and imaginary parts,

H ( j ω ) = ( B 0 - B 2 ω 2 + B 4 ω 4 ) + j ω ( B 1 - B 3 ω 2 + B 5 ω 4 ) ( A 0 - A 2 ω 2 + A 4 ω 4 ) + j ω ( A 1 - A 3 ω 2 + A 5 ω 4 ) = α + j ω β σ + j ω τ

and performing appropriate manipulations For further details on the algebraic manipulations involved, the reader should refer to [link] . . Note that the optimal set of coefficients A k , B k must satisfy

ε A 0 = ε A 1 = ... = ε B 0 = ... = 0

The conditions introduced above generate a linear system in the filter coefficients. Levy derives the system

C x = y

where

C = λ 0 0 - λ 2 0 λ 4 T 1 S 2 - T 3 - S 4 T 5 0 λ 2 0 - λ 4 0 - S 2 T 3 S 4 - T 5 - S 6 λ 2 0 - λ 4 0 λ 6 T 3 S 4 - T 5 - S 6 T 7 T 1 - S 2 - T 3 S 4 T 5 U 2 0 - U 4 0 U 6 S 2 T 3 - S 4 - T 5 S 6 0 U 4 0 - U 6 0 T 3 - S 4 - T 5 S 6 T 7 U 4 0 - U 6 0 U 8

and

x = B 0 B 1 B 2 A 1 A 2 y = S 0 T 1 S 2 T 3 0 U 2 0 U 4

with

λ h = l = 0 L - 1 ω l h S h = l = 0 L - 1 ω l h R l T h = l = 0 L - 1 ω l h I l U h = l = 0 L - 1 ω l h ( R l 2 + I l 2 )

Solving for the vector x from [link] gives the desired coefficients (note the trivial assumption that A 0 = 1 ). It is important to remember that although Levy's algorithm leads to a linear system of equations in the coefficients, his approach is indeed an equation error method. Matlab's invfreqz function uses an adaptation of Levy's algorithm for its least-squares equation error solution.

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