Finite Wordlength Effects

Slides:



Advertisements
Similar presentations
Digital filters: Design of FIR filters
Advertisements

FINITE WORD LENGTH EFFECTS
| Page Angelo Farina UNIPR | All Rights Reserved | Confidential Digital sound processing Convolution Digital Filters FFT.
DCSP-14 Jianfeng Feng Department of Computer Science Warwick Univ., UK
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
AMI 4622 Digital Signal Processing
MM3FC Mathematical Modeling 3 LECTURE 4 Times Weeks 7,8 & 9. Lectures : Mon,Tues,Wed 10-11am, Rm.1439 Tutorials : Thurs, 10am, Rm. ULT. Clinics : Fri,
Sampling, Reconstruction, and Elementary Digital Filters R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
DT systems and Difference Equations Monday March 22, 2010
MM3FC Mathematical Modeling 3 LECTURE 2 Times Weeks 7,8 & 9. Lectures : Mon,Tues,Wed 10-11am, Rm.1439 Tutorials : Thurs, 10am, Rm. ULT. Clinics : Fri,
AGC DSP AGC DSP Professor A G Constantinides 1 Digital Filter Specifications Only the magnitude approximation problem Four basic types of ideal filters.
Systems: Definition Filter
Normalised Least Mean-Square Adaptive Filtering
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
Random Processes and LSI Systems What happedns when a random signal is processed by an LSI system? This is illustrated below, where x(n) and y(n) are random.
Frequency Domain Representation of Sinusoids: Continuous Time Consider a sinusoid in continuous time: Frequency Domain Representation: magnitude phase.
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Discrete-Time and System (A Review)
Fixed-Point Arithmetics: Part II
Digital Signal Processing
DISP 2003 Lecture 6 – Part 2 Digital Filters 4 Coefficient quantization Zero input limit cycle How about using float? Philippe Baudrenghien, AB-RF.
System Function of discrete-time systems
Technion, CS department, SIPC Spring 2014 Tutorials 12,13 discrete signals and systems 1/39.
Course Outline (Tentative) Fundamental Concepts of Signals and Systems Signals Systems Linear Time-Invariant (LTI) Systems Convolution integral and sum.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Fourier Analysis of Signals and Systems
1 Digital Signal Processing Digital Signal Processing  IIR digital filter structures  Filter design.
Professor A G Constantinides 1 Finite Wordlength Effects Finite register lengths and A/D converters cause errors in:- (i) Input quantisation. (ii)Coefficient.
Finite Precision Numerical Effects
Discrete-time Random Signals
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.
Generalized Linear Phase Quote of the Day The mathematical sciences particularly exhibit order, symmetry, and limitation; and these are the greatest forms.
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 Signal Processing Lecture 2 Analog to Digital Conversion University of Khartoum Department of Electrical and Electronic.
In summary If x[n] is a finite-length sequence (n  0 only when |n|
Application of digital filter in engineering
1 Chapter 8 The Discrete Fourier Transform (cont.)
Professor A G Constantinides 1 Digital Filter Specifications We discuss in this course only the magnitude approximation problem There are four basic types.
Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.
Unit IV Finite Word Length Effects
Structures for Discrete-Time Systems
DIGITAL SIGNAL PROCESSING ELECTRONICS
In summary If x[n] is a finite-length sequence (n0 only when |n|
EEE4176 Applications of Digital Signal Processing
Spectral Analysis Spectral analysis is concerned with the determination of the energy or power spectrum of a continuous-time signal It is assumed that.
Analog to digital conversion
Linear Constant-coefficient Difference Equations
Adaptive Filters Common filter design methods assume that the characteristics of the signal remain constant in time. However, when the signal characteristics.
Linear Prediction Simple first- and second-order systems
Sampling rate conversion by a rational factor
EE Audio Signals and Systems
Quick Review of LTI Systems
لجنة الهندسة الكهربائية
Lect5 A framework for digital filter design
UNIT V Linear Time Invariant Discrete-Time Systems
لجنة الهندسة الكهربائية
Quantization in Implementing Systems
DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 4
Conceptual Representation of A/D Conversion
Chapter 7 Finite Impulse Response(FIR) Filter Design
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.
Zhongguo Liu Biomedical Engineering
DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 4
Chapter 9 Advanced Topics in DSP
Zhongguo Liu Biomedical Engineering
ELEN E4810: Digital Signal Processing Topic 11: Continuous Signals
Presentation transcript:

Finite Wordlength Effects Finite register lengths and A/D converters cause errors in:- (i) Input quantisation. (ii) Coefficient (or multiplier) quantisation (iii) Products of multiplication truncated or rounded due to machine length 1

Finite Wordlength Effects   Quantisation Q Output Input 2

Finite Wordlength Effects The pdf for e using rounding Noise power or 3

Finite Wordlength Effects Let input signal be sinusoidal of unity amplitude. Then total signal power   If b bits used for binary then  so that  Hence or dB 4

Finite Wordlength Effects   Consider a simple example of finite precision on the coefficients a,b of second order system with poles where 5

Finite Wordlength Effects   bit pattern 000 001 0.125 0.354 010 0.25 0.5 011 0.375 0.611 100 0.707 101 0.625 0.791 110 0.75 0.866 111 0.875 0.935 1.0 6

Finite Wordlength Effects Finite wordlength computations + INPUT OUTPUT 7

Limit-cycles; "Effective Pole" Model; Deadband Observe that for instability occurs when i.e. poles are (i) either on unit circle when complex (ii) or one real pole is outside unit circle. Instability under the "effective pole" model is considered as follows 8

Finite Wordlength Effects   In the time domain with With for instability we have indistinguishable from Where is quantisation 9

Finite Wordlength Effects   With rounding, therefore we have are indistinguishable (for integers) or Hence With both positive and negative numbers 10

Finite Wordlength Effects   The range of integers constitutes a set of integers that cannot be individually distinguished as separate or from the asymptotic system behaviour. The band of integers is known as the "deadband". In the second order system, under rounding, the output assumes a cyclic set of values of the deadband. This is a limit-cycle. 11

Finite Wordlength Effects   Consider the transfer function if poles are complex then impulse response is given by 12

Finite Wordlength Effects Where If then the response is sinusiodal with frequency Thus product quantisation causes instability implying an "effective “ . 13

Finite Wordlength Effects Consider infinite precision computations for 14

Finite Wordlength Effects Now the same operation with integer precision 15

Finite Wordlength Effects Notice that with infinite precision the response converges to the origin With finite precision the reponse does not converge to the origin but assumes cyclically a set of values –the Limit Cycle 16

Finite Wordlength Effects FIR filters 17

Finite Wordlength Effects Assume , ….. are not correlated, random processes etc. Hence total output noise power Where and 18

Finite Wordlength Effects ie 19

Finite Wordlength Effects For FFT A(n) B(n) B(n+1) - W(n) A(n) B(n+1) B(n)W(n) B(n) A(n+1) 20

Finite Wordlength Effects FFT AVERAGE GROWTH: 1/2 BIT/PASS 21

Finite Wordlength Effects IMAG REAL 1.0 -1.0 FFT PEAK GROWTH: 1.21.. BITS/PASS 22

Finite Wordlength Effects Linear modelling of product quantisation Modelled as x(n) x(n) q(n) + 23

Finite Wordlength Effects For rounding operations q(n) is uniform distributed between , and where Q is the quantisation step (i.e. in a wordlength of bits with sign magnitude representation or mod 2, ). A discrete-time system with quantisation at the output of each multiplier may be considered as a multi-input linear system 24

Finite Wordlength Effects FFT Then where is the impulse response of the system from the output of the multiplier to y(n). h(n) 25

Finite Wordlength Effects For zero input i.e. we can write where is the maximum of which is not more than ie 26

Finite Wordlength Effects However And hence ie we can estimate the maximum swing at the output from the system parameters and quantisation level 27