25
Finite Impulse Response (FIR) Filters

dsp09 fir

Embed Size (px)

DESCRIPTION

FIR

Citation preview

Page 1: dsp09 fir

Finite Impulse Response (FIR) Filters

Page 2: dsp09 fir

Filtering concept in time domainFiltering concept in time domain

Page 3: dsp09 fir
Page 4: dsp09 fir
Page 5: dsp09 fir
Page 6: dsp09 fir

Transformation ConsiderationsTransformation Considerations

Page 7: dsp09 fir

Filter typesFilter types

• FIRFIR– Use only current and past input samplesAlso known as non recursive filters– Also known as non‐recursive filters

• IIR– In addition to current and past input samples, also use past output samples

Page 8: dsp09 fir

FIR Example‐Averaging FilterFIR Example Averaging Filter

Page 9: dsp09 fir

Averaging Filter structureAveraging Filter structure

Page 10: dsp09 fir

Basic digital blocksBasic digital blocks

• AdderAdder• MultiplierShif i• Shift register

Page 11: dsp09 fir

Generalized Block DiagramGeneralized Block Diagram

Page 12: dsp09 fir

Averaging filter coefficients, frequency/phase (64 DFT)response (64‐pt DFT)

Page 13: dsp09 fir

Averaging filter frequency responseAveraging filter frequency response

Page 14: dsp09 fir

Sine wave input to filter with f = fs/32, f /3fs/32

Page 15: dsp09 fir

Changing filter coefficientsChanging filter coefficients

Page 16: dsp09 fir

5‐tap low pass filter block diagram5 tap low pass filter block diagram

Page 17: dsp09 fir

Low pass filter design‐window methodLow pass filter design window method

Page 18: dsp09 fir

Inverse DFT of H(m)Inverse DFT of H(m)

Page 19: dsp09 fir

Effect of truncationEffect of truncation

Page 20: dsp09 fir
Page 21: dsp09 fir

Windows in FIR filter design

• Window function:• Window function: –To minimize the stop band ripples

Page 22: dsp09 fir

Windows in FIR filter designg

Page 23: dsp09 fir

Applying windowApplying window

Page 24: dsp09 fir

Windows frequency response

Page 25: dsp09 fir

LPF Filter’s frequency response d h d ff dmagnitude with different windows