Chapter 6. Digital Filter Structures and Designs Section

Slides:



Advertisements
Similar presentations
Chapter 8. FIR Filter Design
Advertisements

Nonrecursive Digital Filters
Signal and System IIR Filter Filbert H. Juwono
Husheng Li, UTK-EECS, Fall The specification of filter is usually given by the tolerance scheme.
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.
ECE651 Digital Signal Processing I Digital IIR Filter Design.
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
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
DTFT And Fourier Transform
1 Chapter 8 The Discrete Fourier Transform 2 Introduction  In Chapters 2 and 3 we discussed the representation of sequences and LTI systems in terms.
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
Filter Design Techniques
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Biomedical Signal processing Chapter 7 Filter Design Techniques Zhongguo Liu Biomedical.
Time-Domain Representations of LTI Systems
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.
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.
Chapter 7. Filter Design Techniques
1 Digital Signal Processing Digital Signal Processing  IIR digital filter structures  Filter design.
Digital Signal Processing
1 Lecture 4: March 13, 2007 Topic: 1. Uniform Frequency-Sampling Methods (cont.)
Signals and Systems Filter Design. Part III 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.
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,
Topics 1 Specific topics to be covered are: Discrete-time signals Z-transforms Sampling and reconstruction Aliasing and anti-aliasing filters Sampled-data.
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,
Finite Impulse Response Filtering EMU-E&E Engineering Erhan A. Ince Dec 2015.
Chapter 5. Transform Analysis of LTI Systems Section
z-Plane Analysis of Discrete-Time Control Systems
In summary If x[n] is a finite-length sequence (n  0 only when |n|
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
Chapter 8 Design of Infinite Impulse Response (IIR) Digital Filter
LINEAR-PHASE FIR FILTERS DESIGN
Filter Design by Windowing
لجنة الهندسة الكهربائية
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
Usıng the impulse sampling method Prepared by: Dr. Erhan A. INCE
Chapter 6 Discrete-Time System
Quadrature-Mirror Filter Bank
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
Presentation transcript:

Chapter 6. Digital Filter Structures and Designs Section 6. 0-6 Chapter 6. Digital Filter Structures and Designs Section 6.0-6.3 and 7.1-7.3 6.1 Block Diagram and Signal Flow Graph 6.2 Structures of IIR Filters 6.3 FIR Filter Design: Basic 6.4 FIR Filter Design: Windowing 6.5 IIR Filter Design: Impulse Invariance 6.6 IIR Filter Design Examples

6.1.1 Filter Transfer Function 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

6.1.2 Block Diagram and Signal Flow Graph 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 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.

6.1.3 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.

6.1.4 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).

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

6.1.6 Signal Flow Graph: Direct Forms Given the LCCDE Signal Flow Chart of Direct From I Signal Flow Chart of Direct From II

6.2.1 Structure of IIR: Cascade Form 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.

6.2.2 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. 

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

6.2.4 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

6.3.1 Digital Filter Design 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.

6.3.2 Finite Impulse Response (FIR) Filter Design 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.

6.3.3 FIR Filter: Advantages and Disadvantages 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.

6.3.4 FIR Filter Design: Linear Phase Condition 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

6.3.5 Linear Phase Condition 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.

6.4.1 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.

6.4.2 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

6.4.3 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.

6.4.4 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.

Ripples vs. Transition Width 6.4.5 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.

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

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

6.4.8 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).

6.5.1 Infinite Impulse Response (IIR) Filter Design Here it is assumed that Problem: Given a desired response , Find: and IIR filters are often called recursive for obvious reason. IIR filter advantages: A lower-order filter is generally sufficient to satisfy the stated specification – so fewer coefficients are needed (less storage and less computation). IIR filter disadvantages: Not necessarily stable. Quantization noise can be a problem. Cannot be designed to have exact linear phase when causal.

6.5.2 Design of Discrete-Time IIR from Continuous-Time Filters The art of continuous-time IIR filter design is highly advanced. Many useful continuous-time IIR filter design methods have relatively simple closed form design formulas. The standard approximation methods that work well for continuous-time IIR filters do not lead to simple closed-form design formulas when these methods are applied directly to the discrete-time IIR case.

6.5.3 Recall Impulse Invariance Impulse invariance: a discrete-time system is defined by sampling the impulse response of a continuous-time system by the sampling rate Td, i.e., Relationship between the frequency response of the discrete-time and continuous-time filters If the continuous-time filter is band-limited, so that then if

6.5.4 IIR Filter Design by Impulse Response Goal: Approximate a desired discrete-time frequency response by time-sampling an analog system with impulse response If were strictly or effectively band-limited to the low-pass frequency interval then can be regarded as equivalent to an ideal digital filter:

Then or using the ideal relationship between analog and digital frequency the digital filter that provides the equivalent system is Thus, in an ideal situation, the desired digital filter could be obtained by by appropriate selection of . Since the analog prototypes cannot be strictly band-limited, the above can only be approximated. Impulse invariance is a procedure for obtaining the coefficients of an IIR filter approximating the above relationship.

6.5.5 Sampling the Impulse Response Suppose we (scale) and sample the impulse response of a (causal) analog prototype : Then

6.5.6 Aliasing Effect It is very difficult to compensate for aliasing effects in the impulse invariance approach. Therefore, either sufficiently high sampling rate must be used or another design procedure must be used. Assume a sufficiently high sampling rate such that is effectively band-limited to Of course the scaled analog prototype must agree satisfactorily with the digital specification by selection of, e.g., Aliasing is an important consideration with impulse invariance design. One common strategy is that no more than 10%, or more stringently, 1% of the energy be aliased.

6.5.7 Implementation of Impulse Invariance Design Let have L distinct poles (typical for our prototypes): so The sampled filter is then The designed digital transfer function is then Which is ideal for a parallel realization of first-order section or even better combined into second-order sections.

6.5.8 Comments on Stability If a pole pm of the analog filter lies in the left-hand plane (LHP), then also So the corresponding pole of will lie inside the unit circle. Then the causal filter will be stable. Hence the important property

6.6.1 IIR Filter Design Example-1 Let us consider the design of a low-pass discrete-time filter by applying impulse invariance to an appropriate Butterworth continuous-time filter. The specifications for the discrete filter are For simplicity, in the impulse invariance design, we will take Ts=1, hence we have Thus, the specifications on the analog filter are Since the magnitude response of an analog Butterworth filter is a monotonic function of frequency, the specifications are simplified into

6.6.2 Filter Design Example-2 Specifically, the magnitude function of a Butterworth filter is so we need to determine N and  to meet the desired specifications which lead to the equations with equality The solutions are and . If we use N=6, then .

6.6.3 Filter Design Example-3 Given N=6, the 12 poles of the magnitude-squared function are uniformly distributed in angle of a circle of . Consequently, the poles of are the three pole pairs in the left half of the s-plane as

6.6.4 Filter Design Example-4 From the 6 poles of , we have We use a partial fraction expansion, and , we have a parallel form of the digital filter. The frequency-response functions of the discrete-time filter is