Personal Knowledge Base

A long-term research and learning notebook for posts, notes, papers, projects, and research directions.

Skip to content
← Back to notes
DSPpublished

IIR Filters and Quantization Error

A study note on how finite precision changes the behavior of recursive digital filters.

1 min read

Why recursion amplifies small errors

An IIR filter feeds part of its output back into the next step. Quantization therefore changes not only the current sample, but also the signal that will be reused in later steps.

For a stable design, the pole locations need enough margin that coefficient rounding does not move them across the unit circle.

Practical checks

CheckQuestion
CoefficientsHow many fractional bits are available?
PolesHow close are they to the unit circle?
OutputDoes the error remain bounded over long runs?

The best first experiment is usually a long constant-input simulation, followed by a sweep over coefficient precision.