Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.

Slides:



Advertisements
Similar presentations
Design of Digital IIR Filter
Advertisements

Digital filters: Design of FIR filters
Chapter 8. FIR Filter Design
Chapter 14 Finite Impulse Response (FIR) Filters.
Nonrecursive Digital Filters
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Equiripple Filters A filter which has the Smallest Maximum Approximation Error among all filters over the frequencies of interest: Define: where.
Filtering Filtering is one of the most widely used complex signal processing operations The system implementing this operation is called a filter A filter.
Infinite Impulse Response (IIR) Filters
So far We have introduced the Z transform
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
LINEAR-PHASE FIR FILTERS DESIGN
Chapter 8 FIR Filter Design
EECS 20 Chapter 9 Part 21 Convolution, Impulse Response, Filters Last time we Revisited the impulse function and impulse response Defined the impulse (Dirac.
AGC DSP AGC DSP Professor A G Constantinides 1 Digital Filter Specifications Only the magnitude approximation problem Four basic types of ideal filters.
EEE422 Signals and Systems Laboratory Filters (FIR) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Systems: Definition Filter
Relationship between Magnitude and Phase (cf. Oppenheim, 1999)
Lecture 9 FIR and IIR Filter design using Matlab
Digital Signals and Systems
Unit III FIR Filter Design
1 Lecture 2: February 27, 2007 Topics: 2. Linear Phase FIR Digital Filter. Introduction 3. Linear-Phase FIR Digital Filter Design: Window (Windowing)
Practical Signal Processing Concepts and Algorithms using MATLAB
Discrete-Time and System (A Review)
DTFT And Fourier Transform
1 Diagramas de bloco e grafos de fluxo de sinal Estruturas de filtros IIR Projeto de filtro FIR Filtros Digitais.
1 Lecture 5: March 20, 2007 Topics: 1. Design of Equiripple Linear-Phase FIR Digital Filters (cont.) 2. Comparison of Design Methods for Linear- Phase.
Chapter 7 IIR Filter Design
UNIT-5 Filter Designing. INTRODUCTION The Digital filters are discrete time systems used mainly for filtering of arrays. The array or sequence are obtained.
MATLAB for Signal Processing The MathWorks Inc. Natick, MA USA Filter Design.
1 BIEN425 – Lecture 10 By the end of the lecture, you should be able to: –Describe the reason and remedy of DFT leakage –Design and implement FIR filters.
1 Lecture 3: March 6, 2007 Topic: 1. Frequency-Sampling Methods (Part I)
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Fundamentals of Digital Signal Processing. Fourier Transform of continuous time signals with t in sec and F in Hz (1/sec). Examples:
Chapter 7 Finite Impulse Response(FIR) Filter Design
1 Introduction to Digital Filters Filter: A filter is essentially a system or network that selectively changes the wave shape, amplitude/frequency and/or.
FIR Filter Design & Implementation
Chapter 9-10 Digital Filter Design. Objective - Determination of a realizable transfer function G(z) approximating a given frequency response specification.
Chapter 7. Filter Design Techniques
Design of FIR Filters. 3.1 Design with Least Squared Error Error Criterion.
Summary of Widowed Fourier Series Method for Calculating FIR Filter Coefficients Step 1: Specify ‘ideal’ or desired frequency response of filter Step 2:
The IIR FILTERs These are highly sensitive to coefficients,
FILTER DESIGN Ideal Filter Magnitude Response NumericLogaritmic.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
What is filter ? A filter is a circuit that passes certain frequencies and rejects all others. The passband is the range of frequencies allowed through.
Lecture 09b Finite Impulse Response (FIR) Filters
Chapter 6. Digital Filter Structures and Designs Section
Finite Impulse Response Filtering EMU-E&E Engineering Erhan A. Ince Dec 2015.
EEE4176 Application of Digital Signal Processing
In summary If x[n] is a finite-length sequence (n  0 only when |n|
Professor A G Constantinides 1 Digital Filter Specifications We discuss in this course only the magnitude approximation problem There are four basic types.
UNIT - 5 IIR FILTER DESIGN.
Lecture: IIR Filter Design
In summary If x[n] is a finite-length sequence (n0 only when |n|
EEE422 Signals and Systems Laboratory
Linear Constant-coefficient Difference Equations
IIR Filters FIR vs. IIR IIR filter design procedure
Digital Signal Processing Lecture 4 DTFT
Infinite Impulse Response (IIR) Filters
Fourier Series FIR About Digital Filter Design
LINEAR-PHASE FIR FILTERS DESIGN
Filter Design by Windowing
Quick Review of LTI Systems
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
Usıng the impulse sampling method Prepared by: Dr. Erhan A. INCE
Lecture 16a FIR Filter Design via Windowing
Chapter 7 Finite Impulse Response(FIR) Filter Design
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Chapter 7 Finite Impulse Response(FIR) Filter Design
DIGITAL CONTROL SYSTEM WEEK 3 NUMERICAL APPROXIMATION
Presentation transcript:

Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms of the frequency spectrum

Conditions for Non-Distortion Problem: ideally we do not want the filter to distort the signal we want to recover. IDEAL FILTER Same shape as s(t), just scaled and delayed. Consequence on the Frequency Response: constant linear

For real time implementation we also want the filter to be causal, ie. since FACT (Bad News!): by the Paley-Wiener Theorem, if h(n) is causal and with finite energy, ie cannot be zero on an interval, therefore it cannot be ideal.

Characteristics of Non Ideal Digital Filters IDEAL Positive freq. only NON IDEAL

Two Classes of Digital Filters: a) Finite Impulse Response (FIR), non recursive, of the form With N being the order of the filter. Advantages: always stable, the phase can be made exactly linear, we can approximate any filter we want; Disadvantages: we need a lot of coefficients (N large) for good performance; b) Infinite Impulse Response (IIR), recursive, of the form Advantages: very selective with a few coefficients; Disadvantages: non necessarily stable, non linear phase.

Finite Impulse Response (FIR) Filters Definition: a filter whose impulse response has finite duration.

Problem: Given a desired Frequency Response of the filter, determine the impulse response. Recall: we relate the Frequency Response and the Impulse Response by the DTFT: Example: Ideal Low Pass Filter DTFT

Notice two facts: the filter is not causal, i.e. the impulse response h(n) is non zero for n<0; the impulse response has infinite duration. This is not just a coincidence. In general the following can be shown: If a filter is causal then the frequency response cannot be zero on an interval; magnitude and phase are not independent, i.e. they cannot be specified arbitrarily As a consequence: an ideal filter cannot be causal.

Problem: we want to determine a causal Finite Impulse Response (FIR) approximation of the ideal filter. We do this by a) Windowing rectangular window hamming window infinite impulse response (ideal) finite impulse response

b) Shifting in time, to make it causal:

Effects of windowing and shifting on the frequency response of the filter: a) Windowing: since then rectangular window hamming window

attenuation For different windows we have different values of the transition region and the attenuation in the stopband: transition region Rectangular-13dB Bartlett-27dB Hanning-32dB Hamming-43dB Blackman-58dB with

Effect of windowing and shifting on the frequency response: b) shifting: since then Therefore See what is For a Low Pass Filter we can verify the symmetry Then real for all. Then

The phase of FIR low pass filter: Which shows that it is a Linear Phase Filter. don’t care

Example of Design of an FIR filter using Windows: Specs:Pass Band kHz Stop Band > 5kHz with attenuation of at least 40dB Sampling Frequency 20kHz Step 1: translate specifications into digital frequency Pass Band Stop Band Step 2: from pass band, determine ideal filter impulse response

Step 3: from desired attenuation choose the window. In this case we can choose the hamming window; Step 4: from the transition region choose the length N of the impulse response. Choose an odd number N such that: So choose N=81 which yields the shift L=40. Finally the impulse response of the filter

The Frequency Response of the Filter:

A Parametrized Window: the Kaiser Window The Kaiser window has two parameters: Window Length To control attenuation in the Stop Band

There are some empirical formulas: Attenuation in dB Transition Region in rad Example: Sampling Freq. 20 kHz Pass Band 4 kHz Stop Band 5kHz, with 40dB Attenuation

Then we determine the Kaiser window

Then the impulse response of the FIR filter becomes ideal impulse response with

Impulse Response Frequency Response

Example: design a digital filter which approximates a differentiator. Specifications: Desired Frequency Response: Sampling Frequency Attenuation in the stopband at least 50dB. Solution. Step 1. Convert to digital frequency

Step 2: determine ideal impulse response From integration tables or integrating by parts we obtain Therefore

Step 3. From the given attenuation we use the Blackman window. This window has a transition region region of. From the given transition region we solve for the complexity N as follows which yields. Choose it odd as, for example, N=121, ie. L=60. Step 4. Finally the result

Impulse response h(n) Frequency Response