A topic in the Open Knowledge Graph — a free, open map of 15,495 topics and the order to learn them in.

Dithering Techniques and Quantization Noise Shaping

Research Depth 98 in the knowledge graph ☐ I know this ☆ Set as goal
359prerequisites beneath it
See this on the map →
Quantization Error and Noise Analysis→
dithering quantization noise-shaping resolution

Core Idea

Dithering adds small random noise before quantization to randomize quantization error, converting correlated (colored) error into white noise. This prevents patterns, banding, and harmonic distortion but at the cost of slightly increased noise floor. Noise-shaping dithering distributes quantization error toward frequencies where it's less perceptible (e.g., high frequencies for audio). Delta-sigma modulation uses noise-shaping to achieve high effective resolution from low-bit quantizers.

How It's Best Learned

Quantize a low-amplitude sinusoid with and without dithering. Observe that dithering eliminates distortion at the cost of white noise. Compare frequency spectrum before and after dithering.

Common Misconceptions

Explainer

From your study of quantization error, you know that a uniform N-bit quantizer maps a continuous range into 2N discrete levels, and the rounding error at each sample lies between −LSB/2 and +LSB/2, giving a theoretical signal-to-quantization-noise ratio (SQNR) of about 6.02N + 1.76 dB. This formula assumes quantization error is white noise — uniform, uncorrelated, and independent of the input signal. That assumption holds when the signal is large and changing rapidly enough to "visit" many quantization levels. But when a signal is small relative to the step size — as in a quiet passage of audio or a slow-moving sensor reading — the signal moves through only a few levels, and the quantization error becomes deterministically correlated with the input. The result is not white noise but harmonic distortion: spurious tones at harmonics of the signal frequency that are audible even when they are far below the noise floor.

Dithering breaks this correlation by adding a small random signal to the input *before* quantization. The random noise ensures the quantizer input is constantly fluctuating through the decision boundaries, so the output toggles between adjacent levels even when the true signal is nearly constant. The quantization error that results is now randomized — it is genuinely white noise rather than a deterministic function of the signal. You can think of it as intentionally "confusing" the quantizer so that it cannot develop any periodic relationship with the input. The cost is that you have increased the noise floor slightly (you added noise); the benefit is that you have eliminated distortion. For applications where the noise floor is not the binding constraint — especially perceptual ones like audio — this trade is strongly favorable. A faint musical note buried in white noise is audible; the same note corrupted by harmonic distortion is not.

Noise shaping is a further refinement that recovers some of the cost. Instead of adding flat white dither, noise-shaping feeds the quantization error back through a filter and subtracts the filtered error from the input of the next quantization step. This creates a feedback loop that pushes quantization error toward frequencies where it is less perceptible — above 15 kHz for audio, for example. The total noise power is unchanged (energy is conserved), but it is redistributed: lower in the perceptually important band, higher where it doesn't matter. A delta-sigma (ΔΣ) modulator implements this principle aggressively: it uses a 1-bit or low-resolution quantizer running at a very high sample rate, with noise-shaped feedback, then a digital low-pass filter decimates the output. The effective resolution in the audio band can reach 20–24 bits from a 1-bit quantizer because almost all the quantization noise has been pushed above the filter cutoff. This is how modern high-resolution audio DACs and ADCs achieve their specifications without impractical multi-bit precision at high speeds.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Combining Small Groups Within 5 → Number Bonds Within 5 → Number Bonds to 10 → Tens and Ones Place Value → Reading and Writing Three-Digit Numbers → Comparing Three-Digit Numbers → Comparing and Ordering Three-Digit Quantities → Comparing and Ordering Whole Numbers → Comparing Numbers 1 to 20 → Ordering Numbers to 20 → Number Line 0 to 20 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Multiplying Binomials (FOIL) → Factoring Trinomials → Factoring Completely → Introduction to Rational Expressions → Simplifying Radical Expressions → Segments and Distance → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Similar Right Triangles and the Geometric Mean → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Special Right Triangles: 30-60-90 → Trigonometric Ratios Review → Vectors in Two Dimensions → Vectors in R^n → Vector Addition and Subtraction → Vector Spaces → Subspaces → Linear Independence and Linear Dependence → Span, Linear Independence, and Basis → Basis of a Vector Space → Orthogonal Vectors and Orthonormal Bases → Orthogonal Signal Decomposition and Basis Functions → Signal Energy and Power Classification → Signal Classification: Continuous vs. Discrete Time → Quantization Error and Noise Analysis → Dithering Techniques and Quantization Noise Shaping

Longest path: 99 steps · 359 total prerequisite topics

Prerequisites (1)

Leads To (0)

No topics depend on this one yet.