1 of 18

����PRESENTATION ON �FIR FILTER

  • BRANCH-E & TC ENGG
  • SUBJECT- DIGITAL SIGNAL PROCESSING
  • CHAPTER – 5 – FAST FOURIER TRANSFORMALGORITHM & DIGITAL FILTER
  • TOPIC- FIR FILTER
  • SEM-6TH
  • FACULTY – Er. DEBASHISH PARIDA (LECTURER E & TC ENGG DEPARTMENT)
  • AY-2021-2022, SUMMER-2022

2 of 18

FIR FILTER

  • Filter design steps

- The design of a digital filter involves five steps:

(1) Specifications of the filter requirements

(2) calculation of suitable filter coefficients

(3) Representation of the filter by a suitable structure (realization)

(4) Analysis of the effects of finite wordlength on the filter performance

(5) Implementation of filter in software and/or hardware

2/77

3 of 18

  • Filter design
    • Need to decide :
      • Type of filter
      • Amplitude and/or phase responses
      • Tolerances
      • Sampling frequency
      • Wordlength of the input data

3/77

4 of 18

  • Filter specifications
    • Important parameters

    • Another important parameter

peak passband deviation (or ripples)

stopband deviation

passband edge frequency

stopband edge frequency

sampling frequency

Filter order N

4/77

5 of 18

ILPF

Fig. 7-3.

5/77

6 of 18

  • FIR coefficient calculation

    • Most common methods used for calculating
      • Window method
      • Optimal method

6/77

7 of 18

  • The window method of calculating FIR filter coefficients
    • Step 1 : specify the desired frequency response of filter,
    • Step 2 : obtain the impulse response, , of desired filter by

evaluating the inverse Fourier transform

    • Step 3 : select a window function and then determine the number of

coefficients using the appropriate relationship between the filter

length and the transition width,

    • Step 4 : obtain values of for chosen window function and the values

of the actual FIR coefficient, , by multiplying by

(7-26)

7/77

8 of 18

  • Design of FIR filter using window method
    • Frequency response of filter,
    • Impulse response,

    • Ideal lowpass response

Window method

(7-20)

(7-19)

8/77

9 of 18

Table 7.2 Summary of ideal impulse responses for standard frequency selective filters

and are the normalized passband or stopband cutoff frequencies

9/77

10 of 18

Fig. 7-4.

(The frequency scale is normalized by T = 1)

10/77

11 of 18

  • Truncation for FIR

    • Rectangular window

11/77

12 of 18

Fig. 7-5.

12/77

13 of 18

Fig. 7-6.

13/77

14 of 18

Fig. 7-7.

14/77

15 of 18

  • Some common window functions
    • Hamming window

      • Appropriate relationship between transition width and filter length

where N is filter order and

is normalized transition width

(7-21)

(7-22)

15/77

16 of 18

Fig. 7-8. Window functions: (a) Rectangular, (b) Hamming, (c) Blackman

16/77

17 of 18

Table 7.3 Summary of important features of common window functions

17/77

18 of 18

THANK YOU

18/77