<< Chapter < Page Chapter >> Page >
FIR filters suffer from both data and coefficient quantization; each has different effects. Double-precision accumulation inside the FIR filter structure greatly reduces the data quantization error.

In digital filters, both the data at various places in the filter, which are continually varying, and the coefficients, whichare fixed, must be quantized. The effects of quantization on data and coefficients are quite different, so they are analyzedseparately.

Data quantization

Typically, the input and output in a digital filter are quantized by the analog-to-digital and digital-to-analog converters,respectively. Quantization also occurs at various points in a filter structure, usually after amultiply, since multiplies increase the number of bits.

Direct-form structures

There are two common possibilities for quantization in a direct-form FIR filter structure:after each multiply, or only once at the end.

Single-precision accumulate; total variance M 2 12
Double-precision accumulate; variance 2 12
In the latter structure, a double-length accumulator adds all 2 B 1 bits of each product into the accumulating sum, and truncates only at the end. Obviously, this is muchpreferred, and should always be used wherever possible. All DSP microprocessors and mostgeneral-pupose computers support double-precision accumulation.

Transpose-form

Similarly, the transpose-form FIR filter structure presents two common options for quantization: after each multiply, or once at the end.

Quantize at each stage before storing intermediate sum. Output variance M 2 12

Or

Store double-precision partial sums. Costs more memory, but variance 2 12

The transpose form is not as convenient in terms of supporting double-precision accumulation, which is asignificant disadvantage of this structure.

Coefficient quantization

Since a quantized coefficient is fixed for all time, we treat it differently than data quantization. The fundamental questionis: how much does the quantization affect the frequency response of the filter?

The quantized filter frequency response is DTFT h Q DTFT h inf. prec. e H inf. prec. w H e w Assuming the quantization model is correct, H e w should be fairly random and white, with the error spread fairly equally over all frequencies w ; however, the randomness of this error destroys any equiripple property or any infinite-precision optimality of a filter.

What quantization scheme minimizes the L 2 quantization error in frequency (minimizes w H w H Q w 2 )? On average, how big is this error?

Got questions? Get instant answers now!

Ideally, if one knows the coefficients are to be quantized to B bits, one should incorporate this directly into the filter design problem, and find the M B -bit binary fractional coefficients minimizing the maximum deviation( L error). This can be done, but it is an integer program, which is known to be np-hard (i.e., requires almost abrute-force search). This is so expensive computationally that it'srarely done. There are some sub-optimal methods that are much more efficient and usually produce pretty good results.

Questions & Answers

Ayele, K., 2003. Introductory Economics, 3rd ed., Addis Ababa.
Widad Reply
can you send the book attached ?
Ariel
?
Ariel
What is economics
Widad Reply
the study of how humans make choices under conditions of scarcity
AI-Robot
U(x,y) = (x×y)1/2 find mu of x for y
Desalegn Reply
U(x,y) = (x×y)1/2 find mu of x for y
Desalegn
what is ecnomics
Jan Reply
this is the study of how the society manages it's scarce resources
Belonwu
what is macroeconomic
John Reply
macroeconomic is the branch of economics which studies actions, scale, activities and behaviour of the aggregate economy as a whole.
husaini
etc
husaini
difference between firm and industry
husaini Reply
what's the difference between a firm and an industry
Abdul
firm is the unit which transform inputs to output where as industry contain combination of firms with similar production 😅😅
Abdulraufu
Suppose the demand function that a firm faces shifted from Qd  120 3P to Qd  90  3P and the supply function has shifted from QS  20  2P to QS 10  2P . a) Find the effect of this change on price and quantity. b) Which of the changes in demand and supply is higher?
Toofiq Reply
explain standard reason why economic is a science
innocent Reply
factors influencing supply
Petrus Reply
what is economic.
Milan Reply
scares means__________________ends resources. unlimited
Jan
economics is a science that studies human behaviour as a relationship b/w ends and scares means which have alternative uses
Jan
calculate the profit maximizing for demand and supply
Zarshad Reply
Why qualify 28 supplies
Milan
what are explicit costs
Nomsa Reply
out-of-pocket costs for a firm, for example, payments for wages and salaries, rent, or materials
AI-Robot
concepts of supply in microeconomics
David Reply
economic overview notes
Amahle Reply
identify a demand and a supply curve
Salome Reply
i don't know
Parul
there's a difference
Aryan
Demand curve shows that how supply and others conditions affect on demand of a particular thing and what percent demand increase whith increase of supply of goods
Israr
Hi Sir please how do u calculate Cross elastic demand and income elastic demand?
Abari
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Digital filter structures and quantization error analysis. OpenStax CNX. Jan 02, 2005 Download for free at http://cnx.org/content/col10259/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Digital filter structures and quantization error analysis' conversation and receive update notifications?

Ask