Lecture 11: FIR Filter Designs XILIANG LUO 2014/11 1.

Post on 03-Jan-2016

218 views 2 download

Tags:

Transcript of Lecture 11: FIR Filter Designs XILIANG LUO 2014/11 1.

1

Lecture 11: FIR Filter DesignsXILIANG LUO

2014/11

2

WindowingDesired frequency response:

Fourier series for a periodic function with period 2pi

Convergence of the Fourier series

3

Windowing

4

Windowing

5

WindowingRectangular window:

6

Common Windows

7

Common Windows

8

Common Windows

Rectangular Window

M=50

9

Common Windows

Hamming Window

M=50

10

Common Windows

Blackman Window

M=50

11

Comparisons

12

Kaiser Window

13

Kaiser Window

14

Kaiser Window

15

Kaiser Window

16

Kaiser Window

17

Optimal FIR FilterDesign Type-1 FIR filter:

18

Optimal FIR Filter

19

Optimal FIR FilterParks-McClellan algorithm is based on the reformulating the filter design problem as a problem in polynomial approximation.

20

Optimal FIR Filter

Approx. Error:

only defined in interested subintervals of [0, pi]

21

Optimal FIR FilterParks-McClellan, MinMax criterion:

22

Optimal FIR Filter

23

Parks-McClellanAlternation theorem gives necessary and sufficient conditions on theerror for optimality in the Chebyshev or minimax sense!

Optimal FIR should satisfy:

24

Parks-McClellan

2(L+2) unknowns are two alternation frequencies

25

Parks-McClellanGiven set of the extremal frequencies, we can have:

26

Parks-McClellanGiven set of the extremal frequencies, we can have:

Evaluate on other frequencies

27

Parks-McClellan

28

Flow Chart ofParks-McClellen

29

30

31

0 0.5 1 1.5 2 2.5 3 3.50

0.2

0.4

0.6

0.8

1

1.2

1.4