<< Chapter < Page Chapter >> Page >

Linear phase FIR filters are important tools in signal processing. As will be shown below, they do not require the user to specify a phase response in their design (since the assumption is that the desired phase response is indeed linear). Besides, they satisfy a number of symmetry properties that allow for the reduction of dimensions in the optimization process, making them easier to design computationally. Finally, there are applications where a linear phase is desired as such behavior is more physically meaningful.

Four types of linear phase filters

The frequency response of an FIR filter h ( n ) is given by

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

In general, H ( ω ) = R ( ω ) + j I ( ω ) is a periodic complex function of ω (with period 2 π ). Therefore it can be written as follows,

H ( ω ) = R ( ω ) + j I ( ω ) = A ( ω ) e j φ ( ω )

where the magnitude response is given by

A ( ω ) = | H ( ω ) | = R ( ω ) 2 + I ( ω ) 2

and the phase response is

φ ( ω ) = sin I ( ω ) R ( ω )

However A ( ω ) is not analytic and φ ( ω ) is not continuous. From a computational point of view [link] would have better properties if both A ( ω ) and φ ( ω ) were continuous analytic functions of ω ; an important class of filters for which this is true is the class of linear phase filters [link] .

Linear phase filters have a frequency response of the form

H ( ω ) = A ( ω ) e j φ ( ω )

where A ( ω ) is the real, continuous amplitude response of H ( ω ) and

φ ( ω ) = K 1 + K 2 ω

is a linear phase function in ω (hence the name); K 1 and K 2 are constants. [link] shows the frequency response for a linear phase FIR filter. The jumps in the phase response correspond to sign reversals in the magnitude resulting as defined in [link] .

This image contains four separate graphs. The two on the left demonstrate magnitude and phase responses and the two right graphs demonstrate amplitude and linear phase responses.
Frequency response of a linear phase FIR filter. Left: magnitude and phase responses. Right: amplitude and linear phase responses.

Consider a length- N FIR filter (assume for the time being that N is odd). Its frequency response is given by

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

where M = N - 1 2 . Equation [link] can be written as follows,

H ( ω ) = e - j ω M [ h ( 0 ) e j ω M + ... + h ( M - 1 ) e j ω + h ( M ) + h ( M + 1 ) e - j ω + ... + h ( 2 M ) e - j ω M ]

It is clear that for an odd-length FIR filter to have the linear phase form described in [link] , the term inside braces in [link] must be a real function (thus becoming A ( ω ) ). By imposing even symmetry on the filter coefficients about the midpoint ( n = M ), that is

h ( k ) = h ( 2 M - k )

[link] becomes

H ( ω ) = e - j ω M h ( M ) + 2 n = 0 M - 1 h ( n ) cos ω ( M - n )

Similarly, with odd symmetry (i.e. h ( k ) = h ( 2 M - k ) ) equation [link] becomes

H ( ω ) = e j ( π 2 - ω M ) 2 n = 0 M - 1 h ( n ) tan -1 ω ( M - n )

Note that the term h ( M ) disappears as the symmetry condition requires that

h ( M ) = h ( N - M - 1 ) = - h ( M ) = 0

Similar expressions can be obtained for an even-length FIR filter,

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

It is clear that depending on the combinations of N and the symmetry of h ( n ) , it is possible to obtain four types of filters [link] , [link] , [link] . [link] shows the four possible linear phase FIR filters described by [link] .

The four types of linear phase FIR filters.
N Odd Even Symmetry A ( ω ) = h ( M ) + 2 n = 0 M - 1 h ( n ) cos ω ( M - n ) φ ( ω ) = - ω M
Odd Symmetry A ( ω ) = 2 n = 0 M - 1 h ( n ) sin ω ( M - n ) φ ( ω ) = π 2 - ω M
N Even Even Symmetry A ( ω ) = h ( M ) + 2 n = 0 N 2 - 1 h ( n ) cos ω ( M - n ) φ ( ω ) = - ω M
Odd Symmetry d A ( ω ) = 2 n = 0 N 2 - 1 h ( n ) sin ω ( M - n ) φ ( ω ) = π 2 - ω M

Irls-based methods

[link] introduced linear phase filters in detail. In this section we cover the use of IRLS methods to design linear phase FIR filters according to the l p optimality criterion. Recall from [link] that for any of the four types of linear phase filters their frequency response can be expressed as

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