Quantization Effects in Digital Filters



Similar documents
STATISTICAL DATA ANALYSIS IN EXCEL

What is Candidate Sampling

NPAR TESTS. One-Sample Chi-Square Test. Cell Specification. Observed Frequencies 1O i 6. Expected Frequencies 1EXP i 6

CS 2750 Machine Learning. Lecture 3. Density estimation. CS 2750 Machine Learning. Announcements

THE DISTRIBUTION OF LOAN PORTFOLIO VALUE * Oldrich Alfons Vasicek

benefit is 2, paid if the policyholder dies within the year, and probability of death within the year is ).

THE METHOD OF LEAST SQUARES THE METHOD OF LEAST SQUARES

CHOLESTEROL REFERENCE METHOD LABORATORY NETWORK. Sample Stability Protocol

Latent Class Regression. Statistics for Psychosocial Research II: Structural Models December 4 and 6, 2006

1 Example 1: Axis-aligned rectangles

SPEE Recommended Evaluation Practice #6 Definition of Decline Curve Parameters Background:

Recurrence. 1 Definitions and main statements

CHAPTER 14 MORE ABOUT REGRESSION

Luby s Alg. for Maximal Independent Sets using Pairwise Independence

Characterization of Assembly. Variation Analysis Methods. A Thesis. Presented to the. Department of Mechanical Engineering. Brigham Young University

Energies of Network Nastsemble

The Full-Wave Rectifier

How Sets of Coherent Probabilities May Serve as Models for Degrees of Incoherence

RESEARCH ON DUAL-SHAKER SINE VIBRATION CONTROL. Yaoqi FENG 1, Hanping QIU 1. China Academy of Space Technology (CAST)

Brigid Mullany, Ph.D University of North Carolina, Charlotte

Extending Probabilistic Dynamic Epistemic Logic

Logistic Regression. Lecture 4: More classifiers and classes. Logistic regression. Adaboost. Optimization. Multiple class classification

Calibration and Linear Regression Analysis: A Self-Guided Tutorial

Applied Research Laboratory. Decision Theory and Receiver Design

Optical Signal-to-Noise Ratio and the Q-Factor in Fiber-Optic Communication Systems

Support Vector Machines

The Application of Fractional Brownian Motion in Option Pricing

The circuit shown on Figure 1 is called the common emitter amplifier circuit. The important subsystems of this circuit are:

Multiplication Algorithms for Radix-2 RN-Codings and Two s Complement Numbers

Adaptive Fractal Image Coding in the Frequency Domain

Binomial Link Functions. Lori Murray, Phil Munz

Linear Circuits Analysis. Superposition, Thevenin /Norton Equivalent circuits

1. Measuring association using correlation and regression

How To Calculate The Accountng Perod Of Nequalty

Causal, Explanatory Forecasting. Analysis. Regression Analysis. Simple Linear Regression. Which is Independent? Forecasting

Effective wavelet-based compression method with adaptive quantization threshold and zerotree coding

Estimation of Dispersion Parameters in GLMs with and without Random Effects

A frequency decomposition time domain model of broadband frequency-dependent absorption: Model II

L10: Linear discriminants analysis

Economic Interpretation of Regression. Theory and Applications

CHAPTER 5 RELATIONSHIPS BETWEEN QUANTITATIVE VARIABLES

Least Squares Fitting of Data

How To Evaluate A Dia Fund Suffcency

An RFID Distance Bounding Protocol

ECONOMICS OF PLANT ENERGY SAVINGS PROJECTS IN A CHANGING MARKET Douglas C White Emerson Process Management

A machine vision approach for detecting and inspecting circular parts

PSYCHOLOGICAL RESEARCH (PYC 304-C) Lecture 12

The Choice of Direct Dealing or Electronic Brokerage in Foreign Exchange Trading

Exhaustive Regression. An Exploration of Regression-Based Data Mining Techniques Using Super Computation

Embedding lattices in the Kleene degrees

Hedging Interest-Rate Risk with Duration

SIMPLE LINEAR CORRELATION

Single and multiple stage classifiers implementing logistic discrimination

Proactive Secret Sharing Or: How to Cope With Perpetual Leakage

Figure 1. Inventory Level vs. Time - EOQ Problem

Daily O-D Matrix Estimation using Cellular Probe Data

n + d + q = 24 and.05n +.1d +.25q = 2 { n + d + q = 24 (3) n + 2d + 5q = 40 (2)

Calculating the high frequency transmission line parameters of power cables

Realistic Image Synthesis

Blind Estimation of Transmit Power in Wireless Networks

Implementation of Deutsch's Algorithm Using Mathcad

Richard W. Andrews and William C. Birdsall, University of Michigan Richard W. Andrews, Michigan Business School, Ann Arbor, MI

Can Auto Liability Insurance Purchases Signal Risk Attitude?

An Empirical Study of Search Engine Advertising Effectiveness

1 De nitions and Censoring

J. Parallel Distrib. Comput.

Risk-based Fatigue Estimate of Deep Water Risers -- Course Project for EM388F: Fracture Mechanics, Spring 2008

Analysis of Premium Liabilities for Australian Lines of Business

Addendum to: Importing Skill-Biased Technology

Module 2 LOSSLESS IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Mean Molecular Weight

Fragility Based Rehabilitation Decision Analysis

Section C2: BJT Structure and Operational Modes

INVESTIGATION OF VEHICULAR USERS FAIRNESS IN CDMA-HDR NETWORKS

Damage detection in composite laminates using coin-tap method

Formulating & Solving Integer Problems Chapter

Control Charts with Supplementary Runs Rules for Monitoring Bivariate Processes

A Practitioner's Guide to Generalized Linear Models

Optimal Bidding Strategies for Generation Companies in a Day-Ahead Electricity Market with Risk Management Taken into Account

Inter-Ing INTERDISCIPLINARITY IN ENGINEERING SCIENTIFIC INTERNATIONAL CONFERENCE, TG. MUREŞ ROMÂNIA, November 2007.

HÜCKEL MOLECULAR ORBITAL THEORY

Sensor placement for leak detection and location in water distribution networks

(6)(2) (-6)(-4) (-4)(6) + (-2)(-3) + (4)(3) + (2)(-3) = = 0

PAS: A Packet Accounting System to Limit the Effects of DoS & DDoS. Debish Fesehaye & Klara Naherstedt University of Illinois-Urbana Champaign

Descriptive Models. Cluster Analysis. Example. General Applications of Clustering. Examples of Clustering Applications

Peak Inverse Voltage

The Greedy Method. Introduction. 0/1 Knapsack Problem

Production. 2. Y is closed A set is closed if it contains its boundary. We need this for the solution existence in the profit maximization problem.

An Alternative Way to Measure Private Equity Performance

IMPACT ANALYSIS OF A CELLULAR PHONE

We are now ready to answer the question: What are the possible cardinalities for finite fields?

Chapter XX More advanced approaches to the analysis of survey data. Gad Nathan Hebrew University Jerusalem, Israel. Abstract

A Crossplatform ECG Compression Library for Mobile HealthCare Services

A Probabilistic Theory of Coherence

ADC Integral Non-Linearity Testing with Low Linearity Monotonic Signals

Evaluating the generalizability of an RCT using electronic health records data

Loop Parallelization

Shielding Equations and Buildup Factors Explained

Evaluating credit risk models: A critique and a new proposal

Multiple stage amplifiers

Transcription:

Quantzaton Effects n Dgtal Flters

Dstrbuton of Truncaton Errors In two's complement representaton an exact number would have nfntely many bts (n general). When we lmt the number of bts to some fnte value we have truncated all the lower-order bts. Suppose the number s 3/64. In two's complement bnary ths s 0.000000... If we now lmt the number of dgts to 5 we get 0.00 whch represents exactly 0/64 or 5/6. The truncaton error s 5/6-3/ 64 = 3/ 64. If the exact number s 5/ 64, ths s.000000... n two's complement. Truncatng to 5 bts yelds.00 whch exactly represents / 4. The error s / 4 ( ) 5/ 64 = / 64. Ths llustrates that n two's complement truncaton the error s always negatve.

Dstrbuton of Truncaton Errors In analyss of truncaton errors we mae the followng assumptons.. The dstrbuton of the errors s unform over a range equvalent to the value of one LSB.. The error s a whte nose process. That means that one error s not correlated wth the next error or any other error. 3. The truncaton error and the sgnal whose values are beng truncated are not correlated.

Quantzaton of Flter Coeffcents Let a dgtal flter's deal transfer functon be H = 0 ( z) = + = bz If the a's and b's are quantzed, the poles and zeros move, creatng a new transfer functon Ĥ = 0 ( z) = + = az bz ˆ az ˆ where aˆ = a + a and bˆ = b + b.

Quantzaton of Flter Coeffcents The denomnator can be factored nto the form and, wth quantzaton, where pˆ = p + p ( ) ( z = + a ) z = pz D = = ( ) ( z = + a ) z = pz Dˆ ˆ ˆ to the errors n the coeffcents by = =. The errors n the pole locatons are related p p p p p = a + a + + a = a a a a = a

Quantzaton of Flter ( z) Coeffcents The partal dervatves can be found from or D a z= p ( ) D( ) D z z p = a z a = a z= p z= p ( z) ( ) p D / a = a D z / z ( z) z= p z= p + az = z = p z= p D ( = pz ) q z z z= p q= z= p = z= p

Quantzaton of Flter Coeffcents The dervatve of the qth factor s z and the overall dervatve s = ( pz ) q D( z) p p = = z z p z= p = q= = q= q z= p q ( ) ( pz ) q pp q ( z) p ( ) = ( ) ( ) p p p q = + p p p q D z p p z= p = q= = q= q q p z q

Quantzaton of Flter Coeffcents ( ) In the summaton p p p, for any other than, q = q= q ( ) the terated product p p has a factor p p = 0. Therefore q= q q the only term n the summaton that survves s the = term and ( z) D = p p p = p p ( ) ( ) + q q z p z p q p = = q= q q

Quantzaton of Flter Coeffcents Then and p a p = = p ( p ) pq q= q = ( p ) pq q= q p ap

Quantzaton of Flter Coeffcents The error n a pole locaton caused by errors n the coeffcents s strongly ( p ) pq affected by the denomnator factor whch s a product of q= q dfferences between pole locatons. So f the poles are closely spaced, the dstances are small and the error n the pole locaton s large. Therefore systems wth wdely-spaced poles are less senstve to errors n the coeffcents.

Quantzaton of Pole Locatons Consder a nd order system wth transfer functon H ( z) = + az + az and quantze a and a wth 5 bts. If we quantze a n the range a < and a < we get a fnte set of possble pole locatons.

Quantzaton of Pole Locatons If we loo at only pole locatons for stable systems, Obvously the pole locatons are non-unformly dstrbuted.

Quantzaton of Pole Locatons Consder ths alternatve nd order system desgn. H()= z dz ( ( c + jd)z ) ( c jd)z ( ) Pole locatons are unformly dstrbuted.

Quantzaton of Pole Locatons

Quantzaton of Pole Locatons

Quantzaton of Pole Locatons

Scalng to Prevent Overflow [ n] [ ] [ ] Let y be the response at node to an nput sgnal x n and let h n be the mpulse response at node. [ n] = [ m] [ n m] [ m] [ n m] y h x h x m= m= [ n] [ n] Let the upper bound on x be A. y A x m= x [ m] [ n] ( ) If we want y to le n the range -, then x n= h h [ n] guarantees that oveflow wll not occur. A <

Scalng to Prevent Overflow The condton A x n= h [ n] may be too severe n some cases. Another type of scalng that may be more approprate n some cases s A x < = [ ] ( jω n F ) e where h H. 0 Ω π max H ( jω e )

Scalng to Prevent Overflow

Scalng to Prevent Overflow

Scalng Example Assume that the nput sgnal x s whte nose bounded between - and + and that all addtons and multplcatons are done usng 8-bt two s complement arthmetc. Also let all numbers (sgnals and coeffcents) be n the range - to. H ( z) z + 0.5z z z+ 0.5 0. 0.5 0. 0.5 = = + z z z + z

Quantze the K's to 8 bts. 0 K K Scalng Example [ Q] [ Q] = 0.353 0.344 (0.000) = 0.5 0.56 (.000) Scale and quantze the v's. v v v = = [ Q] =../ [ Q] = = [ Q].338.338/.338 0.99 (0.).338 = 0.8 0.88 (.0000) 0.5 0.5/.338 0.3737 0.367 (0.00)

Scalng Example Scalng the v s scales the output sgnal but the nput sgnal may stll need scalng to prevent overflow. The exact transfer functon s H ( z) = vmβm( z) where Α z ( ) m= 0 ( z) z z ( z) ( ) 0( ) ( ) ( ) Α = + 0. 0.5. The actual Α, after quantzng the K's s Α z = + 0.978z 0.56 z. Β z =, Β z = 0.344 + z and Β z = 0.56 + 0.978z + z Therefore the actual transfer functon s 0.7407 0.7555z + 0.367z H ( z) =. + 0.978z 0.56z.

Scalng Example ( jω e ) The maxmum magntude of H n ths example s.88 and ( jω e ) the maxmum magntude of H s.5455. So the scalng factor should be /.88 = 0.347. The smplest scalng s by shftng rght. In ths case that would requre a shft of two bts to the rght to scale by 0.5. Ths s sgnfcanly less that 0.347 so a more complcated scalng mght be preferred. We could nstead scale by 0.5 + 0.065 + 0.035 = 0.34375 by shftng two bts, then four bts and then 5 bts and addng the results.

Statstcal Analyss of Quantzaton Effects The exact estmaton of quantzaton effects requres numercal smulaton and s not amenable to exact analytcal methods. But an approach that has proven useful s to treat the quantzaton nose effects as a random process problem. In dong ths we get an approxmate analytcal estmate nstead of an exact numercal smulaton. We do ths by treatng quantzaton nose as an added nose sgnal n the system everywhere quantzaton occurs.

Statstcal Analyss of Quantzaton Effects

Statstcal Analyss of Quantzaton Effects The probablty densty functon for quantzaton nose usng two's complement representaton s, LSB < q < 0 f Q ( q). LSB 0, otherwse = ( ) The expected value of the quantzaton nose s E Q = LSB/. The varance of the quantzaton nose s σ the mean-squared quantzaton nose s ( Q ) σ Q ( Q) ( ) Q LSB /. Therefore E = + E = LSB /+ LSB/ = LSB /3 =

Statstcal Analyss of Quantzaton Effects The power spectral densty functon for quantzaton nose usng two's complement representaton s G ( F ). It has an mpulse of strength LSB / 4 at 0 and s otherwse flat wth a value n F = the range / < F < /. It repeats perodcally outsde ths range. / / ( ) ( ) ( E G LSB /4) Q = Q F df = δ ( F ) + K df = Solvng, K = / / = + = LSB / 4 K LSB / 3 LSB / and ( ) ( F = + ) δ ( F ) G LSB / LSB / 4 Q Q = K

Statstcal Analyss of Quantzaton Effects ( F) ( ) δ ( F ) GQ = LSB / + LSB / 4 s the power spectral = densty of both quantzaton nose sources. The power spectral densty of the quantzaton nose effect on the output sgnal s ( F) = ( F) + ( F) G G G y y,x y, f ( F) = ( F) = ( F) where G G H G H y,x x x y Q x y y, f ( F) = y f y ( F) = Q f y ( F) π Y( F) e ( F) f y( F π ) ( ) and G G H G H x ( F) ( ) j F jπf Y e and H xy = = and H = = Q F e a Q F e a j F jπf f

Statstcal Analyss of Quantzaton Effects The two quantzaton nose sources have the same power spectral densty and they are ndependent so the output quantzaton nose s just twce what would be produced by one of them actng alone. / jπ F e P = G ( F) df a Q,y Q jπ F e / / jπ F LSB LSB = + 6 jπ F a e a / LSB LSB Evaluatng the ntegral, PQ,y = +. a 6 a e df

Statstcal Analyss of Quantzaton Effects In LSB LSB P Q,y = + LSB LSB a 6 a s the effect of the expected value of the nput a quantzaton nose and s the effect of the varance of the nput quantzaton nose. 6 a Both are dependent on a. The closer a s to one, the larger the output quantzaton nose.