1 Diagramas de bloco e grafos de fluxo de sinal Estruturas de filtros IIR Projeto de filtro FIR Filtros Digitais.

Slides:



Advertisements
Similar presentations
Chapter 8. FIR Filter Design
Advertisements

EE513 Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
EE93 – Medical Mobile Devices and Apps
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Filtering Filtering is one of the most widely used complex signal processing operations The system implementing this operation is called a filter A filter.
So far We have introduced the Z transform
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
Chapter 8 FIR Filter Design
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)
Lecture 9 FIR and IIR Filter design using Matlab
Lecture 9: Structure for Discrete-Time System XILIANG LUO 2014/11 1.
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
Filter Design Techniques
Chapter 6 Digital Filter Structures
EE Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
MATLAB for Signal Processing The MathWorks Inc. Natick, MA USA Filter Design.
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.
Husheng Li, UTK-EECS, Fall  Study how to implement the LTI discrete-time systems.  We first present the block diagram and signal flow graph. 
Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 9: Filter Design: FIR 1.Windowed Impulse Response 2.Window Shapes 3.Design by Iterative.
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.
Chapter 9-10 Digital Filter Design. Objective - Determination of a realizable transfer function G(z) approximating a given frequency response specification.
Lecture 5 BME452 Biomedical Signal Processing 2013 (copyright Ali Işın, 2013)1 BME 452 Biomedical Signal Processing Lecture 5  Digital filtering.
Chapter 7. Filter Design Techniques
1 Digital Signal Processing Digital Signal Processing  IIR digital filter structures  Filter design.
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
Course Outline (Tentative) Fundamental Concepts of Signals and Systems Signals Systems Linear Time-Invariant (LTI) Systems Convolution integral and sum.
Structures for Discrete-Time Systems
Digital Filter Structures
Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
The IIR FILTERs These are highly sensitive to coefficients,
The IIR FILTERs These are highly sensitive to coefficients which may affect stability. The magnitude-frequency response of these filters is established.
Chapter 6 Discrete-Time System. 2/90  Operation of discrete time system 1. Discrete time system where and are multiplier D is delay element Fig. 6-1.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
Chapter 6. Digital Filter Structures and Designs Section
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
EEE4176 Application of Digital Signal Processing
z-Plane Analysis of Discrete-Time Control Systems
Chapter 4 Structures for Discrete-Time System Introduction The block diagram representation of the difference equation Basic structures for IIR system.
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)
EEE4176 Applications of Digital Signal Processing
Fourier Series FIR About Digital Filter Design
LINEAR-PHASE FIR FILTERS DESIGN
Filter Design by Windowing
لجنة الهندسة الكهربائية
Lect5 A framework for digital filter design
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.
z Transform Signal and System Analysis
UNIT V Linear Time Invariant Discrete-Time Systems
Chapter 6 Discrete-Time System
Chapter 7 Finite Impulse Response(FIR) Filter Design
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.
Zhongguo Liu Biomedical Engineering
Chapter 7 Finite Impulse Response(FIR) Filter Design
Presentation transcript:

1 Diagramas de bloco e grafos de fluxo de sinal Estruturas de filtros IIR Projeto de filtro FIR Filtros Digitais

2 Linear constant-coefficient difference equations (LCCDEs). Taking the two sided Z-transform we have H(z) is a filter transfer function, and can be used to describe any digital filter. –Expressed as a diagram or signal flow graph –Implemented as a digital circuit Filter Transfer Function

3 A signal flow graph representation of LCCDE is same as a block diagram, and it is a network of directed branches that connect at nodes which are variables Block Diagram and Signal Flow Graph Block diagram representation of a first- order digital filter. Structure of the signal flow graph. Structure of the signal flow graph with the delay branch indicated by z -1.

Block Diagram: Direct Form I Realization This structure (non-canonic, direct form I) can be too sensitive to finite word-length errors (quantization errors) – errors are summed, fed back and re-amplified over and over.

Block Diagram: Direct Form II Realization This structure (canonic direct from, direct form II) requires less delay elements. The minimum number of delays is max(N, M).

Example of LTI Implementation Consider the LTI system with system (transfer) function we have two implementation as follows

7 Given the LCCDE Signal Flow Graph: Direct Forms Signal Flow Chart of Direct From ISignal Flow Chart of Direct From II

8 By factoring the numerator and denominator we can write which can be drawn as a cascade of smaller sections: Advantages: Smaller sections – less feedback error. Disadvantages: Errors fed from section-to-section Structure of IIR: Cascade Form

Parallel Realization By performing a partial fraction expansion we can write which can be drawn as a parallel sum of smaller sections Advantages: smaller sections- less feedback error, and error confined to each section. 

Structure of IIR: Example (Cascade) Given a two-order system Cascade Structure (Not unique)

Structure of IIR: Example (Parallel) Given a two-order system Parallel Structure (Not unique) Parallel-form structure using second- order system (form I) Parallel-form structure using first-order system

12 Given a set specifications or stated constraints on –magnitude spectrum –phase spectrum Find where, The constraints may include –zero, small, or linear phase –specific bandlimit within a passband –amount of ripple within a passband –amount of ripple within a stopband –sharpness of transitions between passband/stopband –filter order K, M Digital Filter Design

13 Here it is assumed that Hence And so the unit pulse response of the filter is clearly: Problem: Given specifications on and, find FIR filters are often called non-recursive for obvious reasons Finite Impulse Response (FIR) Filter Design

FIR Filter: Advantages and Disadvantages Advantages: –Always stable (assume non-recursive implementation). –Quantization noise is not much of a problem. –Can be designed to have exact linear phase even when causal, while meeting a prescribed phase to arbitrary accuracy. –Design complexity generally linear. –Transients have a finite duration. Disadvantages: –A high-order filter is generally needed to satisfy the stated specification – so more coefficients are needed with more storage and computation.

15 Definition: The digital filter is linear phase if for some real number C. If C=0, then the filter has zero- phase, which is only possible when the filter is non-causal. Achieving linear phase is quite important in applications where is desirable not to distort the signal phase much –i.e., where the frequency locations are critical, such as speech signals. Many applications benefit be the linear phase thought as –shaping frequencies according to the magnitude spectrum. –Time-shifting the response by an amount -C FIR Filter Design: Linear Phase Condition

16 Theorem: a causal FIR filter with unit pulse response is linear phase if h(n) is even symmetric: Proof: Suppose M is odd. Then which finishes the proof, why? Consider case of M even to be an exercise Linear Phase Condition

FIR Filter Design: Windowing Goal: Design an FIR digital filter with M+1 coefficients that approximates a desired frequency response with Usually d(n) cannot be realized for some reasons. –d(n) has infinite duration if contains discontinuities; –If d(n) is non-causal and we want it causal; –If d(n) is longer than can be computed efficiently; –It’s generally desirable to have few coefficients; Windowing is the simplest approach to FIR filter design. One can proceed naively, and thus obtain poor results. But with little care (basic windowing strategies), windowing can be very effective.

General Windowing Approach Define where Then designed filter then has frequency response Observations: We desire conflicting goals – be time-limited to – be spectrally localized – impulse-like, if

Truncation Windowing Rectangular window: The designed filter has frequency response where –Is the frequency response a good approximation to the desired frequency response ? –Actually, for M give is optimal in the mean square sense (MSE). –However, while rectangular windowing does the best global MSE job, it suffers dramatically at frequencies.

20

Triangle (Bartlett) Windowing Suppose that which Note that (ignoring the shift) is a positive function, hence must rise monotonically at a jump discontinuity (why?). In the prior example, using the triangular window gives an approximation with smooth, but wider transition.

Windowing: Trade-off Ripples vs. Transition Width Rectangular window has a sharp transition but severe ripple. Triangular window has no ripple but a very wide transition.

Other Windows Other windows attempt to optimize this trade-off. Widely used windows that give intermediate results are: –Hamming Window: –Hanning Window: –Blackman Window:

Windowing Comparisons Rectangular: transition width is optimized. Blackman: Ripple is minimized.

Kaiser Window Design Here Where and represents the zeroth-order modified Bessel function of the first kind, and there are two important parameters: M, . –For M held constant, increasing  reduces sidelobe but increase mainlobe width. –For  held constant, increasing M reduces mainlobe width but does not affect sidelobes much. Kaiser developed an empirical but careful design procedure for windowing a filter having sharp discontinuity (e.g. an ideal LPF).

26