2003-10-14Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 6: Filters - Introduction 1.Simple Filters 2.Ideal Filters 3.Linear Phase and FIR filter.

Slides:



Advertisements
Similar presentations
Design of Digital IIR Filter
Advertisements

Chapter 8. FIR Filter Design
Nonrecursive Digital Filters
EE513 Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Signal and System IIR Filter Filbert H. Juwono
IIR FILTERS DESIGN BY POLE-ZERO PLACEMENT
ELEN 5346/4304 DSP and Filter Design Fall Lecture 8: LTI filter types Instructor: Dr. Gleb V. Tcheslavski Contact:
Filtering Filtering is one of the most widely used complex signal processing operations The system implementing this operation is called a filter A filter.
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
Unit 9 IIR Filter Design 1. Introduction The ideal filter Constant gain of at least unity in the pass band Constant gain of zero in the stop band The.
LINEAR-PHASE FIR FILTERS DESIGN
Chapter 8 FIR Filter Design
Lect22EEE 2021 Passive Filters Dr. Holbert April 21, 2008.
Z-Transform Fourier Transform z-transform. Z-transform operator: The z-transform operator is seen to transform the sequence x[n] into the function X{z},
5.1 the frequency response of LTI system 5.2 system function 5.3 frequency response for rational system function 5.4 relationship between magnitude and.
What is a filter Passive filters Some common filters Lecture 23. Filters I 1.
AGC DSP AGC DSP Professor A G Constantinides 1 Digital Filter Specifications Only the magnitude approximation problem Four basic types of ideal filters.
Relationship between Magnitude and Phase (cf. Oppenheim, 1999)
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
Digital Signals and Systems
Unit III FIR Filter Design
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Chapter 7 IIR Filter Design
Filter Design Techniques
Chapter 7 LTI Discrete-Time Systems in the Transform domain.
EE Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
IIR Filter design (cf. Shenoi, 2006) The transfer function of the IIR filter is given by Its frequency responses are (where w is the normalized frequency.
Copyright © 2001, S. K. Mitra Digital Filter Structures The convolution sum description of an LTI discrete-time system be used, can in principle, to implement.
Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 9: Filter Design: FIR 1.Windowed Impulse Response 2.Window Shapes 3.Design by Iterative.
Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 4: The Z Transform 1.The Z Transform 2.Inverse Z Transform.
Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 8: Filter Design: IIR 1.Filter Design Specifications 2.Analog Filter Design 3.Digital.
11/22/20151 Digital Filters. 11/22/20152 Time domain to Frequency Domain and vice versa Filter Characteristics.
1 Introduction to Digital Filters Filter: A filter is essentially a system or network that selectively changes the wave shape, amplitude/frequency and/or.
Transform Analysis of LTI systems 主講人:虞台文. Content The Frequency Response of LTI systems Systems Characterized by Constant- Coefficient Difference Equations.
Chapter 9-10 Digital Filter Design. Objective - Determination of a realizable transfer function G(z) approximating a given frequency response specification.
1 Conditions for Distortionless Transmission Transmission is said to be distortion less if the input and output have identical wave shapes within a multiplicative.
2/17/2007DSP Course-IUST-Spring Semester 1 Digital Signal Processing Electrical Engineering Department Iran University of Science & Tech.
1 Digital Signal Processing. 2 Digital Signal Processing Topic 6: Filters-Introduction 1. Simple Filters 2. Ideal Filters 3. Linear Phase and FIR filter.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Discrete-Time Signals and Systems
Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 7: Filter types and structures 1.Some filter types 2.Minimum and maximum phase 3.Filter.
Transform Analysis of LTI Systems Quote of the Day Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke Content and Figures.
Chapter 4 LTI Discrete-Time Systems in the Transform Domain
Digital Filter Structures
Z Transform The z-transform of a digital signal x[n] is defined as:
Sampling and Reconstruction The impulse response of an continuous-time ideal low pass filter is the inverse continuous Fourier transform of its frequency.
6.0 Time/Frequency Characterization of Signals/Systems
Lecture 8: Transform Analysis of LTI System XILIANG LUO 2014/10 1.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
Digital Signal Processing Lecture 6 Frequency Selective Filters
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
Generalized Linear Phase Quote of the Day The mathematical sciences particularly exhibit order, symmetry, and limitation; and these are the greatest forms.
Finite Impulse Response Filtering EMU-E&E Engineering Erhan A. Ince Dec 2015.
Lecture 13 Outline: FIR Filter Design: Freq. Response Matching, Causal Design, Windowing Announcements: Reading: “4: FIR Discrete-Time Filters” pp
Chapter 5. Transform Analysis of LTI Systems Section
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
In summary If x[n] is a finite-length sequence (n  0 only when |n|
 What is Filter ? A Filter is an electrical network that can transmit signal within a specified frequency range. This Frequency range is called PASS BAND.
Relationship between Magnitude and Phase Quote of the Day Experience is the name everyone gives to their mistakes. Oscar Wilde Content and Figures are.
Professor A G Constantinides 1 Digital Filter Specifications We discuss in this course only the magnitude approximation problem There are four basic types.
IIR Filter design (cf. Shenoi, 2006)
LINEAR-PHASE FIR FILTERS DESIGN
Quick Review of LTI Systems
Frequency Response (FR) Transfer Function (TF)
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Simple Filters Comb Filters (Optional reading) Allpass Transfer.
ELEN E4810: Digital Signal Processing Topic 9: Filter Design: FIR
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Presentation transcript:

Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 6: Filters - Introduction 1.Simple Filters 2.Ideal Filters 3.Linear Phase and FIR filter types

Dan Ellis 2 1. Simple Filters Filter = system for altering signal in some ‘useful’ way LSI systems: are characterized by H(z) (or h[n] ) have different gains (& phase shifts) at different frequencies can be designed systematically for specific filtering tasks

Dan Ellis 3 FIR & IIR FIR = finite impulse response  no feedback in block diagram  no poles (only zeros) IIR = infinite impulse response  poles (and perhaps zeros)

Dan Ellis 4 Simple FIR Lowpass h L [n] = { 1 / 2 1 / 2 } (2 pt moving avg.)   ZP zero at z = -1 n /21/2 hL[n]hL[n]   HL(ej)HL(ej) 1 / 2 sample delay e j  /2 +e -j  /2

Dan Ellis 5 Filters are often characterized by their cutoff frequency  c : Cutoff frequency is most often defined as the half-power point i.e. If then Simple FIR Lowpass cc H(ej)H(ej)

Dan Ellis 6 deciBels Filter magnitude responses are very often described in deciBels (dB) dB is simply a scaled log value: Half-power also known as 3dB point: power = level 2

Dan Ellis 7 We often plot magnitudes in dB: A gain of 0 corresponds to -  dB deciBels

Dan Ellis 8 Simple FIR Highpass h H [n] = { 1 / / 2 } 3dB point  c =  / 2 ( again)  ZP zero at z = 1   HH(ej)HH(ej) n /21/2 hH[n]hH[n] -1/2-1/2 cc

Dan Ellis 9 FIR Lowpass and Highpass Note: h L [n] = { 1 / 2 1 / 2 } h H [n] = { 1 / / 2 } i.e. i.e. 180° rotation of the z-plane,   shift of frequency response  z  j -j  -z  -j j  HL(ej)HL(ej)   HH(ej)HH(ej)

Dan Ellis 10 Simple IIR Lowpass IIR  feedback, zeros and poles, conditional stability, h[n] less useful scale to make gain = 1 at  = 0  K = (1 -  )/2 pole-zero diagram frequency response FR on log-log axes

Dan Ellis 11 Simple IIR Lowpass Cutoff freq.  c from max = 1 using K=(1-  )/2 Design Equation

Dan Ellis 12 Simple IIR Highpass Pass  =   H HP (-1) = 1  K = (1+  )/2 Design Equation: (again)

Dan Ellis 13 Highpass and Lowpass Consider lowpass filter: Then: However, (unless H(e j  ) is pure real - not for IIR) Highpass  1  H LP z   1  H z  c/w (-1) n h[n] just another z poly

Dan Ellis 14 Simple IIR Bandpass where Center freq 3dB bandwidth Design

Dan Ellis 15 Simple Filter Example Design a second-order IIR bandpass filter with  c = 0.4 , 3dB b/w of 0.1   M sensitive..

Dan Ellis 16 Simple IIR Bandstop Design eqns: zeros at  c same poles as H BP

Dan Ellis 17 Cascading Filters Repeating a filter (cascade connection) makes its characteristics more abrupt: Repeated roots in z-plane: H(ej)H(ej)H(ej)H(ej)H(ej)H(ej)H(ej)H(ej)  H(ej)H(ej)  H(ej)H(ej)  ZP

Dan Ellis 18 1/81/8 1/41/4 Cascading Filters Cascade systems are higher order e.g. longer (finite) impulse response: In general, cascade filters will not be optimal (...) for a given order n /21/2 h[n]h[n] -1/2-1/2 n /2-1/2 n /8-3/8 h[n]h[n]h[n]h[n]h[n]h[n]h[n]h[n]h[n]h[n]

Dan Ellis 19 Cascading Filters Cascading filters improves rolloff slope: But: 3dB cutoff frequency will change (gain at  c  3N dB) cc

Dan Ellis Ideal filters Typical filter requirements: gain = 1 for wanted parts (pass band) gain = 0 for unwanted parts (stop band) “Ideal” characteristics would be like: no phase distortion etc. What is this filter? can calculate IR h[n] as IDFT of ideal response...  |H(e j  )| “brickwall LP filter”

Dan Ellis 21 Ideal Lowpass Filter Given ideal H(e j  ) : (assume  )   cc  c Ideal lowpass filter

Dan Ellis 22 Ideal Lowpass Filter Problems! doubly infinite ( n = - ..  ) no rational polynomial  very long FIR excellent frequency-domain characteristics  poor time-domain characteristics (blurring, ringing – a general problem)

Dan Ellis 23 lower-order realization (less computation) better time-domain properties (less ringing) easier to design... Practical filter specifications |H(e j  )| / dB  Pass bandStop band Transition allow PB ripples allow SB ripples allow transition band

Dan Ellis 24 | H(e j  ) | alone can hide phase distortion differing delays for adjacent frequencies can mangle the signal Prefer filters with a flat phase response e.g.  “zero phase filter” A filter with constant delay  p = D at all freq’s has  D  “linear phase” Linear phase can ‘shift’ to zero phase 3. Linear-phase Filters pure-real (zero-phase) portion

Dan Ellis 25 Time reversal filtering v[n] = x[n]  h[n]  V(e j  ) = H(e j  )X(e j  ) u[n] = v[-n]  U(e j  ) = V(e -j  ) = V * (e j  ) w[n] = u[n]  h[n]  W(e j  ) = H(e j  )U(e j  ) y[n] = w[-n]  Y(e j  ) = W * (e j  ) = (H(e j  )(H(e j  )X(e j  )) * ) *  Y(e j  ) = X(e j  )  H(e j  )  2 Achieves zero-phase result Not causal! Need whole signal first H(z)H(z) x[n]x[n] Time reversal H(z)H(z) y[n]y[n] v[n]v[n]u[n]u[n]w[n]w[n] if v real

Dan Ellis 26 Linear Phase FIR filters (Anti)Symmetric FIR filters are almost the only way to get zero/linear phase 4 types: Odd lengthEven length Symmetric Anti- symmetric Type 1Type 2 Type 3 Type 4 n n n n

Dan Ellis 27 Linear Phase FIR: Type 1 Length L odd  order N = L - 1 even Symmetric  h[n] = h[N - n] ( h[N/2] unique) linear phase D = -  (  )/  = N/2 pure-real H(  ) from cosine basis ~

Dan Ellis 28 Linear Phase FIR: Type 1 Where are the N zeros? thus for a zero  Reciprocal zeros (as well as cpx conj) Reciprocal pair Conjugate reciprocal constellation No reciprocal on u.circle

Dan Ellis 29 Linear Phase FIR: Type 2 Length L even  order N = L - 1 odd Symmetric  h[n] = h[N - n] (no unique point) Non-integer delay of N/2 samples H(  ) from double-length cosine basis ~ always zero at 

Dan Ellis 30 Linear Phase FIR: Type 2 Zeros: at z = -1, odd LPF-like

Dan Ellis 31 Linear Phase FIR: Type 3 Length L odd  order N = L - 1 even Antisymmetric  h[n] = -h[N - n]  h[N/2]= -h[N/2] = 0  (  ) =  /2 -  ·N/2 Antisymmetric   /2 phase shift in addition to linear phase

Dan Ellis 32 Linear Phase FIR: Type 3 Zeros:

Dan Ellis 33 Linear Phase FIR: Type 4 Length L even  order N = L - 1 odd Antisymmetric  h[n] = -h[N - n] (no center point) fractional-sample delay  offset offset sine basis

Dan Ellis 34 Linear Phase FIR: Type 4 Zeros: ( H(-1) OK because N is odd)

Dan Ellis 35 4 Linear Phase FIR Types Odd lengthEven length Antisymmetric Symmetric h[n]h[n] n  H()H() ~ ZP h[n]h[n] n  H()H() ~ DD  h[n]h[n] n  H()H() ~ D  h[n]h[n] n  H()H() ~ D 