Everything You Ever Wanted to Know About Filters*

Slides:



Advertisements
Similar presentations
Chapter 14 Finite Impulse Response (FIR) Filters
Advertisements

Chapter 14 Finite Impulse Response (FIR) Filters.
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
AMI 4622 Digital Signal Processing
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.
LINEAR-PHASE FIR FILTERS DESIGN
Implementation of Basic Digital Filter Structures R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2003.
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.
Analysis of Discrete Linear Time Invariant 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.
DSP. What is DSP? DSP: Digital Signal Processing---Using a digital process (e.g., a program running on a microprocessor) to modify a digital representation.
Discrete-Time and System (A Review)
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.
Digital Signal Processing
Chapter 6 Digital Filter Structures
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.
LIST OF EXPERIMENTS USING TMS320C5X Study of various addressing modes of DSP using simple programming examples Sampling of input signal and display Implementation.
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
Technological Educational Institute Of Crete Department Of Applied Informatics and Multimedia Neural Networks Laboratory Slide 1 FOURIER TRANSFORMATION.
Analog and Digital Filters used in Audio Contexts Tufts University – ME 93 October 22, 2015.
Digital Signal Processing
Nov '03csDSP61 CS3291: Section 6 IIR discrete time filter design Introduction: Many design techniques for IIR discrete time filters have adopted ideas.
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
EEE4176 Application of Digital Signal Processing
Real time DSP Professors: Eng. Julian Bruno Eng. Mariano Llamedo Soria.
Application of digital filter in engineering
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)
Introduction to the ARM mbed Platform– A Hands-on Course
Signal Processing First
Lecture 11 FIR Filtering Intro
Amplitude Modulation X1(w) Y1(w) y1(t) = x1(t) cos(wc t) cos(wc t)
EEE422 Signals and Systems Laboratory
Speech Signal Processing
Linear Constant-coefficient Difference Equations
蔡宗珉 : Multi-stage Filter Implementation
Lecture 12 Linearity & Time-Invariance Convolution
Discrete-Time Structure
Everything You Ever Wanted to Know About Filters*
ECET 350 Competitive Success/snaptutorial.com
ECET 350 Education for Service-- snaptutorial.com.
ECET 350 Teaching Effectively-- snaptutorial.com.
LINEAR-PHASE FIR FILTERS DESIGN
Everything You Ever Wanted to Know About Filters*
Quick Review of LTI Systems
لجنة الهندسة الكهربائية
Lecture 4: Discrete-Time Systems
Lect5 A framework for digital filter design
Everything You Ever Wanted to Know About Filters*
The Z-Transform of a given discrete signal, x(n), is given by:
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.
UNIT V Linear Time Invariant Discrete-Time Systems
لجنة الهندسة الكهربائية
Lect6 Finite Impulse response (FIR) filter design
Lecture 13 Frequency Response of FIR Filters
Everything You Ever Wanted to Know About Filters*
Chapter 7 Finite Impulse Response(FIR) Filter Design
Signal Processing First
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Zhongguo Liu Biomedical Engineering
Chapter 7 Finite Impulse Response(FIR) Filter Design
Lecture 22 IIR Filters: Feedback and H(z)
Presentation transcript:

Everything You Ever Wanted to Know About Filters* Class 5: Digital Filters III: Finite Impulse Response Filters / Conclusion June 12, 2015 Charles J. Lord, PE President, Consultant, Trainer Blue Ridge Advanced Design and Automation * But were afraid to ask

This Week’s Agenda 6/8 Analog Filters I: Resonant Circuits and Passive Filters 6/9 Analog Filters II: Active Filters 6/10 Digital Filters I: Sampling and the Z-Transform 6/11 Digital Filters II: Infinite Impulse Response Filters 6/12 Digital Filters III: Finite Impulse Response Filters and Conclusion

This Week’s Agenda 6/8 Analog Filters I: Resonant Circuits and Passive Filters 6/9 Analog Filters II: Active Filters 6/10 Digital Filters I: Sampling and the Z-Transform 6/11 Digital Filters II: Infinite impulse response filters 6/12 Digital Filters III: Finite Impulse Response Filters and Conclusion

Why the FIR? Amongst all the obvious advantages that digital filters offer, the FIR filter can guarantee linear phase characteristics. Neither analogue or IIR filters can achieve this. There are many commercially available software packages for filter design. However, without basic theoretical knowledge of the FIR filter, it will be difficult to use them.

Finite Impulse Response Filter

Properties of an FIR Filter Filter coefficients: x[n] represents the filter input, bk represents the filter coefficients, y[n] represents the filter output, N is the number of filter coefficients (order of the filter).

Properties of an FIR Filter Filter coefficients: FIR equation Filter structure

Properties of an FIR Filter If the signal x[n] is replaced by an impulse [n] then:

Properties of an FIR Filter Finally: where The coefficients of a FIR filter are the same as the impulse response samples of the filter!

Frequency Response of an FIR Filter By taking the z-transform of h[n] H(z): Replacing z by ej in order to find the frequency response leads to:

Frequency Response of an FIR Filter Since e-j2k = 1 then: Therefore: FIR filters have a periodic frequency response and the period is 2.

Phase Linearity of an FIR Filter A causal FIR filter whose impulse response is symmetrical is guaranteed to have a linear phase response. Even symmetry Odd symmetry

Design Procedure To fully design and implement a filter five steps are required: (1) Filter specification. (2) Coefficient calculation. (3) Structure selection. (4) Simulation (optional). (5) Implementation.

Filter Specification - Step 1

Coefficient Calculation - Step 2 There are several different methods available, the most popular are: Window method. Frequency sampling. Parks-McClellan. We will just consider the window method.

Window Method First stage of this method is to calculate the coefficients of the ideal filter. This is calculated as follows:

Window Method Second stage of this method is to select a window function based on the passband or attenuation specifications, then determine the filter length based on the required width of the transition band.

Window Method The third stage is to calculate the set of truncated or windowed impulse response coefficients, h[n]: for Where: for

Designing in the Real World Matlab has been a tool of choice for many for many years for designing FIR and IIR filters Like we saw for analog filters, there are an increasing amount of vendor-supplied tools, particularly for using ‘DSP enabled’ microcontrollers For those of us in the ARM world, we return to CMSIS…

CMSIS and CMSIS-DSP

Filters in CMSIS DSP • Biquad Cascade IIR Filters Using Direct Form I Structure • Biquad Cascade IIR Filters Using a Direct Form II Transposed Structure • High Precision Q31 Biquad Cascade Filter • Convolution • Partial Convolution • Correlation • Finite Impulse Response (FIR) Decimator • Finite Impulse Response (FIR) Filters • Finite Impulse Response (FIR) Lattice Filters • Finite Impulse Response (FIR) Sparse Filters • Infinite Impulse Response (IIR) Lattice Filters • Least Mean Square (LMS) Filters • Normalized LMS Filters • Finite Impulse Response (FIR) Interpolator

But WAIT – There’s more… Upcoming blog on integrating digital filters on ARM Posted ‘hands-on’ project(s) on using CMSIS and K64 Stay tuned to Design News website as well as my company (see last slide)

Filters – a Review Passive filters: Active Filters: simple to implement require no power supplies Have some finite Z Active Filters: Require power Subject to clipping, saturation, and amp BW More components and cost Allow amplification

Filters – part 2 Digital Filters Ideal if the signals are already digitized (sampled) Allows for additional effects (warping, etc) No additional parts or real estate * Provide finite time delay Aliasing

This Week’s Agenda 6/8 Analog Filters I: Resonant Circuits and Passive Filters 6/9 Analog Filters II: Active Filters 6/10 Digital Filters I: Sampling and the Z-Transform 6/11 Digital Filters II: Infinite impulse response filters 6/12 Digital Filters III: Finite impulse response filters and Conclusion

Please stick around as I answer your questions! Please give me a moment to scroll back through the chat window to find your questions I will stay on chat as long as it takes to answer! I am available to answer simple questions or to consult (or offer in-house training for your company) c.j.lord@ieee.org http://www.blueridgetechnc.com http://www.linkedin.com/in/charleslord Twitter: @charleslord