+ All Categories
Home > Documents > ~I 1-faraday.ee.emu.edu.tr/EENG420/EE426_files/windowtypes_spectrums.pdfsin (w(M + 1)/2) 1 ... (e)...

~I 1-faraday.ee.emu.edu.tr/EENG420/EE426_files/windowtypes_spectrums.pdfsin (w(M + 1)/2) 1 ... (e)...

Date post: 23-Mar-2018
Category:
Upload: vokhue
View: 213 times
Download: 1 times
Share this document with a friend
4
468 8 1 sin (w(M + 1)/2) 1 sin (w /2) 21T 21T 1T - -- Filter Design Techniques (M=7) w (M + 1) (M + 1) L1wm 1 - Mainlobe width - Figure 7.20 Magnitude of the Fou transfo m of a rectangular window (M __ ). each lobe remains constant with increasing M, the oscillations occur more rapidly, do not decrease in amplitude as M increases. In the theory of Fourier series, it is well k nown that this nonuniform con the Gibbs phenomenon, can be modera ted through the use of a less abrupt of the Fourier series. By ta pering the window smoothly to zero at each end , the of the side lobes can be diminished; however, this is achieved at the expense of a main lobe and thus a wider transition at t he discontinuity. 7.2.1 Properties of Commonly Used Windows Some commonly used windows are shown in Figu re 7.21. 6 These windows are defined by the following equations: Rectangular . {1 ' w[n] = 0, o ::: n ::: M, otherwise Bartlett (triangular) Hanning Hamming w[n] = 2-2nIM, MI2 < n::: M , { 2nIM' 0::: n M12, 0, otherwise [ { 0 .5 - 0.5 cos(2nnl M), w n] = 0, o ::: n ::: M, otherwise 0.54 - 0.46 cos(2nnl M), o ::: n ::: M, [ w n] = { (7.47d) 0, otherwise 6The Bartlett, Hanning, Hamming, and Blackman windows are all named after their originators. The Hanning window is associated with J ul ius von Ha nn, an Austrian meteorologist, and is sometimes referred to as the Hann window. The term "hanning" was used by Black man and Tukey (1958» to the operation of applying this window to a si gnal and has since become the most widely used name for the window, with varying preferences for the choice of "Hanning" or "hanning. " {j
Transcript
Page 1: ~I 1-faraday.ee.emu.edu.tr/EENG420/EE426_files/windowtypes_spectrums.pdfsin (w(M + 1)/2) 1 ... (e) Blackman. 470 -20 ,-... . ~ .., ~ -40 . i . o _100~~~~L-o ~~~L--L~~i--L~-~ 0.47T

468

8 1 sin (w(M + 1)/2) 1

sin (w/2)

21T 21T 1T - -­

Filter Design Techniques

(M=7)

w

(M + 1) (M + 1)

~I L1wm 1- Mainlobe width

- Figure 7.20 Magnitude of the Fou transfo m of a rectangular window (M ~ __ ).

each lobe remains constant with increasing M, the oscillations occur more rapidly, do not decrease in amplitude as M increases.

In the theory of Fourier series, it is well known that this nonuniform con the Gibbs phenomenon, can be moderated through the use of a less abrupt of the Fourier series. By tapering the window smoothly to zero at each end, the of the side lobes can be diminished; however, this is achieved at the expense of a main lobe and thus a wider transition at the discontinuity.

7.2.1 Properties of Commonly Used Windows

Some commonly used windows are shown in Figure 7.21.6 These windows are defined by the following equations:

Rectangular

. {1'w[n] = 0,

o::: n ::: M,

otherwise

Bartlett (triangular)

Hanning

Hamming

w[n] = 2-2nIM, MI2 < n::: M , { 2nIM' 0::: n ~ M12,

0, otherwise

[ { 0.5 - 0.5 cos(2nnl M),

w n] = 0,

o ::: n ::: M,

otherwise

0.54 - 0.46 cos(2nnl M), o::: n ::: M,[w n] = { (7.47d)0, otherwise

6The Bartlett, Hanning, Hamming, and Blackman windows are all named after their originators. The Hanning window is associated with Julius von Hann, an Austrian meteorologist, and is sometimes referred to as the Hann window. The term "hanning" was used by Blackman and Tukey (1958» to d~scribe the operation of applying this window to a signal and has since become the most widely used name for the window, with varying preferences for the choice of "Hanning" or "hanning." {j

Page 2: ~I 1-faraday.ee.emu.edu.tr/EENG420/EE426_files/windowtypes_spectrums.pdfsin (w(M + 1)/2) 1 ... (e) Blackman. 470 -20 ,-... . ~ .., ~ -40 . i . o _100~~~~L-o ~~~L--L~~i--L~-~ 0.47T

Sec. 7.2 Design of FIR Filters by Windowing 469

w[n]

1.0

0.8

0.6

0.4

0.2

0

Rectangular

--- Hamming - - - - Hanning _. - Blackman

Bartlett

M -2 Figure 7.21 Commonly used windows.

Blackman

0.42 - 0.5 cos(2rrn/M) + 0.08 cos( 4rrn/ M) , o ::s n ::s M,]w[n = { (7.47e)0, otherwise

(For convenience, Figure 7.21 shows these windows plotted as functions of a con­tinuous variable; however, as specified in Eqs. (7.47), the window sequence is defined only at integer values of n.)

As will be discussed in Chapter 10, the windows defined in Eqs. (7.47) are com­monly used for spectrum analysis as well as for FIR filter design. They have the desirable property that their Fourier transforms are concentrated around (i) = 0, and they have a simple functional form that allows them to be computed easily. The Fourier transform of the Bartlett window can be expressed as a product of Fourier transforms of rectangular windows, and the Fourier transforms of the other windows can be expressed as sums of frequency-shifted FOl,lrier transforms of the rectangular windQw, as given by Eq. (7.46). (See Problem 7.34.)

The function 20loglO IW(ejW ) I is plotted in Figure 7.22 for each of these windows with M = 50. The rectangular window clearly has the narrowest main lobe, and thus, for a given length, it should yield the sharpest transitions of H(e jW ) at a discontinuity of Hd(e jW ). However, the first side lobe is only about 13 dB below the main peak, resulting in oscillations of H (e jW ) ofconsiderable size around discon tinui ties of Hd (e j W).

Table 7.1, which compares the windows of Eqs. (7.47), shows that, by tapering the window smoothly to zero, as with the Hamming, Hanning, and Blackman windows, the side lobes (second column) are greatly reduced in amplitude; however, the price paid is a much wider main lobe (third column) and thus wider transitions at discontinuities of Hd(e jW ). The other columns of Table 7.1 will be discussed later.

7.2.2 Incorporation of Generalized Linear Phase

In designing many types of FIR filters, it is desirable to obtain causal systems with a generalized linear phase response. All the windows of Eqs. (7.47), have been defined in

Page 3: ~I 1-faraday.ee.emu.edu.tr/EENG420/EE426_files/windowtypes_spectrums.pdfsin (w(M + 1)/2) 1 ... (e) Blackman. 470 -20 ,-... . ~ .., ~ -40 . i . o _100~~~~L-o ~~~L--L~~i--L~-~ 0.47T

Fourier transforms (log magnitude) of windows of Fig ure 7.21

50. (a) Rectangular. (b) Bartlett. (c) Hanning. (d) Ham

o~----------------------------~

-60 o N -80

-100 ~_--:::-:-__~_ _ _ 1--__---L__~ o 0.27T 0.47T 0.67T 0.87T 7T

Radian frequency (w) (a)

O~------------------------------~

-20 ,-... .~ .., ~ -40

oi -60 o N -80

0

-20 ,.-...

.~ .., '-' -40 ~

0 ..... bI) -60

..9 0 N -80

-100

,-... .~ .., '-'

~ 0 .....

bI)

..9 0 N

-20

-40

-60

-80

0.67T O. B7T

Figure 7.22 - 100

7T0 ~. ~ with M = Radian frequency (w )

(d) (e) Blackman.

470

-20 ,-...

. ~ .., ~ -40

oi

_100~~~~L-~~~L--L~~i--L~-~ o 0.47T 0.67T

Radian frequency(w)

(b)

0

Radian frequency (w)

(c)

Page 4: ~I 1-faraday.ee.emu.edu.tr/EENG420/EE426_files/windowtypes_spectrums.pdfsin (w(M + 1)/2) 1 ... (e) Blackman. 470 -20 ,-... . ~ .., ~ -40 . i . o _100~~~~L-o ~~~L--L~~i--L~-~ 0.47T

Sec. 7.2 Design of FI R Filters by Win dowing 471

...,

~

, ~

'" '-'

[S: 0

oJ) .3 0 N

0

-20

- 40

- 60

-80

-100 0

Radian frequency (w) Figure 7.22 (Continued)

(e) (e) Blackman.

TABLE 7.1

Type of Window

Rectangular Bartlett Hanning Hamming Blackman

COMPARISON OF COMMONLY USED WINDOWS

Peak Side-Lobe Approximate Amplitude Width of (Relative) Milin Lobe

-13 47T/(M+ 1) -25 87T/M -31 87T/ M -41 87T/M -57 127T/ M

Peak Approximation

Error, 20 loglO 8

(dB)

-21 - 25 - 44 - 53 - 74

Transition Equivalent Width

Kaiser of Equivalent Window, Kaiser

f3 Window

0 1.81JT/ M 1.33 2.377T/ M 3.86 5.017T/ M 4.86 6.277T / M 7.04 9.197T/ M

anticipation of this need. Specifically, note that all the windows have the property that

_ { W [M - n] , O:s n :s M, [ ] (7.48)w n - 0 h' , ot erWlse;

i.e., they are symmetric about the point M12. As a result, their Fourier transforms are " of the form

(7.49r .

where :yfe(eiw ) is a real, even function of (J) . This is illustrated by Eq. (7.46). The conven~, tion of Eq. (7.48) leads to causal filters in general, and if the desired impulse response is also symmetric about M12 , i.e., if hd[M - n] = hd [n] , then the windowed impulse ...~; .

response will also h~ve that symmetry, and the resulting frequency response will hav~ a generalized linear phase; that is,

H (e iw ) = Ae(eiw)e - iwM/2, (7.50)

where Ae(eiw ) is real and is an even function of (J). Similarly, if the desired impulse response is antisymmetric about M12, i.e., if hd[M - n] = -hd[n], then the windowed impulse response will also be antisymmetric about M12, and the resulting frequency response will have a generalized linear phase with a constant phase shift of ninety degrees; i.e.,

H (e jW ) = j Ao(eiw)e-jwM/2 , (7.51)

where Ao(e jW ) is real and is an odd function of (J) .


Recommended