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

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

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

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

1

Lecture 11: FIR Filter DesignsXILIANG LUO

2014/11

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

2

WindowingDesired frequency response:

Fourier series for a periodic function with period 2pi

Convergence of the Fourier series

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

3

Windowing

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

4

Windowing

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

5

WindowingRectangular window:

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

6

Common Windows

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

7

Common Windows

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

8

Common Windows

Rectangular Window

M=50

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

9

Common Windows

Hamming Window

M=50

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

10

Common Windows

Blackman Window

M=50

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

11

Comparisons

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

12

Kaiser Window

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

13

Kaiser Window

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

14

Kaiser Window

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

15

Kaiser Window

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

16

Kaiser Window

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

17

Optimal FIR FilterDesign Type-1 FIR filter:

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

18

Optimal FIR Filter

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

19

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

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

20

Optimal FIR Filter

Approx. Error:

only defined in interested subintervals of [0, pi]

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

21

Optimal FIR FilterParks-McClellan, MinMax criterion:

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

22

Optimal FIR Filter

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

23

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

Optimal FIR should satisfy:

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

24

Parks-McClellan

2(L+2) unknowns are two alternation frequencies

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

25

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

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

26

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

Evaluate on other frequencies

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

27

Parks-McClellan

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

28

Flow Chart ofParks-McClellen

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

29

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

30

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

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