This is a pseudo-mirror of www.bores.com DSP intro at http://www.bores.com/courses/intro/iir/5_scale.htm [sic] as per the policy of this site.
This mirror was created from the source on 03/08/2000 at 22:46 Central Time.
Commercial information, time-dependent information, and all the damn JAVA scripts have been removed.  All "htm" extensions have been changed to the proper "html" extensions.  Has also been edited for coherence, proper-linkage, and better document flow.
Copied without permission.




go back to start of module go back to previous page go to next page go to next module

BORES logo

Introduction to DSP

IIR filters

Quantisation in IIR filters

Quantisation errors can be minimised by keeping values large - so that the maximum number of bits is used to represent them.

There is a limit to how large numbers can be, determined by the precision of the hardware used for processing. If the maximum number size is exceeded, the hardware may allow overflow or saturation:

Saturation and overflow are both non linear quantisation errors.

Note that overflow, although looking more drastic than saturation, may be preferred. It is a property of two's complement integer arithmetic that if a series of numbers are added together, even if overflow occurs at intermediate stages, so long as the result is within the range that can be represented the result will be correct.

Overflow or saturation can be avoided by scaling the input to be small enough that overflow does not occur during the next stage of processing. There are two choices:

Scaling reduces the number of bits left to represent a signal (dividing down means some low bits are lost), so it increases quantisation errors.

Scaling requires an extra multiplier in the filter, which means more hardware:

Note that hardware with higher precision or using floating point arithmetic, may not require scaling and so can implement filters with less operations.

copyright

| Last updated: 4th January 1998 | http://www.bores.com/courses/intro/iir/5_scale.htm


Fordwater, Pond Road, Woking, Surrey GU22 0JZ
Telephone: 01483 740138 fax: 01483 740136 email: Email address for Bores Web: http://www.bores.com