EEE4176 Applications of Digital Signal Processing

Slides:



Advertisements
Similar presentations
FINITE WORD LENGTH EFFECTS
Advertisements

Signal Processing in the Discrete Time Domain Microprocessor Applications (MEE4033) Sogang University Department of Mechanical Engineering.
ECE651 Digital Signal Processing I Digital IIR Filter Design.
Digital signal processing -G Ravi kishore. INTRODUCTION The goal of DSP is usually to measure, filter and/or compress continuous real-world analog signals.
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
AMI 4622 Digital Signal Processing
Implementation of Basic Digital Filter Structures R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2003.
IIR Filters and Equalizers R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
6.1 signal flow graph representation of linear constant- coefficient difference equations 6.2 basic structures for IIR system direct forms
EE313 Linear Systems and Signals Fall 2010 Initial conversion of content to PowerPoint by Dr. Wade C. Schwartzkopf Prof. Brian L. Evans Dept. of Electrical.
Systems: Definition Filter
Lecture 9: Structure for Discrete-Time System XILIANG LUO 2014/11 1.
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
1 Diagramas de bloco e grafos de fluxo de sinal Estruturas de filtros IIR Projeto de filtro FIR Filtros Digitais.
Chapter 6 Digital Filter Structures
Husheng Li, UTK-EECS, Fall  Study how to implement the LTI discrete-time systems.  We first present the block diagram and signal flow graph. 
DISP 2003 Lecture 6 – Part 2 Digital Filters 4 Coefficient quantization Zero input limit cycle How about using float? Philippe Baudrenghien, AB-RF.
Infinite Impulse Response Filters
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Z TRANSFORM AND DFT Z Transform
EEE 503 Digital Signal Processing Lecture #2 : EEE 503 Digital Signal Processing Lecture #2 : Discrete-Time Signals & Systems Dr. Panuthat Boonpramuk Department.
Copyright © 2003 Texas Instruments. All rights reserved. DSP C5000 Chapter 15 Infinite Impulse Response (IIR) Filter Implementation.
Digital Signal Processing
1 Lecture 4: March 13, 2007 Topic: 1. Uniform Frequency-Sampling Methods (cont.)
Digital Filter Realization
Finite Precision Numerical Effects
Structures for Discrete-Time Systems
DEPARTMENTT OF ECE TECHNICAL QUIZ-1 AY Sub Code/Name: EC6502/Principles of digital Signal Processing Topic: Unit 1 & Unit 3 Sem/year: V/III.
Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
Signals and Systems Lecture Filter Structure and Quantization Effects.
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,
EEE4176 Application of Digital Signal Processing
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
FINITE word length effect in fixed point processing
EEE4176 Applications of Digital Signal Processing
Structures for Discrete-Time Systems
Lattice Struture.
Lecture: IIR Filter Design
In summary If x[n] is a finite-length sequence (n0 only when |n|
CEN352 Dr. Nassim Ammour King Saud University
EEE422 Signals and Systems Laboratory
Discrete-time Systems
Linear Constant-coefficient Difference Equations
FINITE word length effect in fixed point processing
By: Mohammadreza Meidnai Urmia university, Urmia, Iran Fall 2014
Chapter 8 Design of Infinite Impulse Response (IIR) Digital Filter
CHE 391 T. F. Edgar Spring 2012.
Infinite Impulse Response Filters
Quick Review of LTI Systems
لجنة الهندسة الكهربائية
لجنة الهندسة الكهربائية
CT-321 Digital Signal Processing
Lect5 A framework for digital filter design
z Transform Signal and System Analysis
Quantization in Implementing Systems
Multiplier-less Multiplication by Constants
Z TRANSFORM AND DFT Z Transform
Chapter 6 Discrete-Time System
DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 4
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Frequency Response Transfer Function Introduction to Filters.
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Discrete-Time Signal processing Chapter 3 the Z-transform
Zhongguo Liu Biomedical Engineering
DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 4
Chapter 9 Advanced Topics in DSP
Zhongguo Liu Biomedical Engineering
DSP-CIS Chapter 5: Filter Implementation
Digital Signal Processing II Lecture 3: Filter Realization
Presentation transcript:

EEE4176 Applications of Digital Signal Processing Fall 2011 Assistant Prof. Yangmo Yoo Dept. of Electronic Engineering Sogang University

Lecture 2: Realization of Digital Filters

Direct Realization of IIR Filters Causal, rational, stable rational function Direct realization where 3

Direct Realization of IIR Filters Canonical form Transposed form

Direct Realization of IIR Filters Direct form or direct realization (Canonical form) use minimal possible number of delays 2N+1 multipliers and 2N adders recursive realization. Transient response -> steady-state response represents delays, i.e., memory devices like latches or registers Initialization of filter : memories are initialized either to zero or to other proper values. Transposed direct realization Reverse signal flow directions in all lines Interchanging the input and the output

Parallel Realization of IIR Filters Rational transfer function : FIR + IIR ※ Note: If is complex, then is also a pole and ※ Order = (real poles) + (complex poles) where real numbers depend on

Parallel Realization of IIR Filters Ex:

Parallel Realization of IIR Filters : direct and parallel forms require the same multipliers and adders Direct form requires multiplications and additions Parallel from requires multiplications and additions # of delays are same. Better sensitivity of the frequency response to finite word length

Cascade Realization of IIR Filters Can be used to realize any IIR filters. Cascade realization Most widely used. less sensitive to quantization error The realization is not unique exist multiple ways of paring poles and zeros to make each biquads. multiple ways of ordering the biquads in the cascade connection Filtering performance can differ for different realization. Biquad 9

Cascade Realization of IIR Filters Pairing in cascade realization 1. Select the pair of complex poles nearest to the unit circles and pairs them with nearest complex zeros To make the mag respose as flat as possible Before the quantization errors accumulate too much, use poles nearest to the unit circle. 2. Continue to pair the poles and zeros according to the same rule. After complex zeros are exhausted, use real zeros 3. Pair the real poles. 10

Coupled Cascade Realization When the word length is short and filter has poles near z= + - 1 When quantization error can make the filter unstable : complex pole 11

Direct Realization of FIR Filters Standard form : N+1 Mul. N adders Transposed form Cascaded form is seldom used for FIR 12

Direct Realization of FIR FIlters Structure for linear phase FIR filters can reduce the # of multiplications by half. 13

State-space Representation State-space Concept 14

State-space Representation State equation Output equation : state vector where • State matrix and input matrix • output matrix • direct transmission matrix 15

State-space Representation For transposed direct transformation Two representations are dual or transpose to each other Note: A rational transfer function has an infinite number of state-space representations You can assign the state variables in many different ways. # of state vectors = # of memories

State-space Representation Application of state space Impulse response for and can be obtained without using z-transform and partial fraction expansion 17

State-space Representation General system response when the system is relaxed. Z-transform solution and Transfer function   18

State-space Representation Application example: Step Initialization for IIR MTI Filtering MTI(Moving Target Indicator) Filter is used for Moving target detection in RADAR, SONAR, etc. Blood flow detection in Ultrasound Imaging MTI(Moving Target Indicator) involves the detection of Doppler frequency shift from a moving object the elimination of clutter signals, which are generated by slow motions of sensors and non-target objects and MTI(Moving Target Indicator) Filtering High-pass filtering Length of an input data sequence is small Transient effect is severe. 19

State-space Representation Application example: Step Initialization for IIR MTI Filtering Transient problem Input signal can be modeled as a sum of ac signal + step function (i.e., dc offset) The response will contain the step response 20

State-space Representation Application example: Step Initialization for IIR MTI Filtering Step response 21

State-space Representation Application example: Step Initialization for IIR MTI Filtering Modified filter Conventional filter Modified filter Step response of the modified filter 22

Finite Word Length Problem Possible problems in practical filter implementation Input data has quantization error Coefficients of the difference equation are quantized Alter the pole and zero locations Intermediate data involving multiplications and additions are quantized before moving on to next step. Because of the finite word length, saturation or overflow can occur Coefficient quantization effects in digital filters Coefficient quantization affects filter response and possibly stability # of bits to represent the coefficients : For stability and 23

Finite Word Length Problem Quantized pole location in direct realization pole: High coefficient accuracy is required for a narrow band filter and high sampling rate because of the problem with the poles near 24

Finite Word Length Problem Quantized pole location in coupled realization Real and imaginary parts of the poles are independently quantized Thus the pole locations are distributed uniformly in the unit circle. Quantization of the numerator coefficients 1. Zeros of 4 common analog filters are on the imaginary axis 2. Digital filters obtained by the bilinear transformation have poles on the unit circle which are not sensitive to quantization error Sensitivity of poles Parallel or cascade realization is better than direct realization   ※ Pair the poles which are not close to each other. 25

Finite Word Length Problem Quantization effect on the frequency response Assuming the perturbations in the parameters are small, the approximate perturbation in the mag response by a first-order Taylor series is given by for a set of real parameters, to be quantized. 26

Finite Word Length Problem 27

Scaling in Fixed-point arithmetic Analog filter Saturation Polarity preserved Digital filter Overflow Reserved polarity In IIR case This causes too much problem Either or is scaled to prevent the overflow 28

Scaling in Fixed-point arithmetic Time-domain scaling where If , then 29

Scaling in Fixed-point arithmetic Frequency-domain scaling 1-norm bound Infinite-norm bound  Define : Infinite norm of : 1-norm of Note: Time-domain scaling is more conservative than freq-domain scaling  30

Scaling in Fixed-point arithmetic Scaling of Inner signals 2's complement arithmetic is preferred. Addition of all numbers does not overflow even if overflows occur in partial sums Transposed direct realization has an advantage over the direct realization Use of saturation mode is recommended   Scaling in parallel and cascade realization Read text from pp. 424-426. Quantization noise  Read text from pp. 426-436. 31