Analog Intuition

Part 3 · Data Conversion

Quantization staircase

Key point: amplitude is discretized into \(2^N\) levels. \(\mathrm{LSB}=\mathrm{FSR}/2^N\), peak error is half an LSB, and the uniform-error model \(\sigma_e=\mathrm{LSB}/\sqrt{12}\) is the bridge into SNR.

Transfer curve & quantization error

Left: ideal line vs mid-rise staircase · Right: sine in → quantized out + error \(e=q-x\). Error axis is fixed volts (\(\pm\mathrm{FSR}/4\)), not zoomed to LSB.

Ideal \(q=v_{\mathrm{in}}\) Quantizer
Input sine Quantized Error e
Levels
LSB
Peak |e|
RMS e (ideal)
\[ \mathrm{LSB} = \dfrac{\mathrm{FSR}}{2^N} \]
=
\[ |e|_{\max} = \mathrm{LSB}/2 \]
=
\[ \sigma_e = \mathrm{LSB}/\sqrt{12} \]
=

Mid-rise uniform quantizer model. \(\sigma_e=\mathrm{LSB}/\sqrt{12}\) assumes error uniform on \([-\mathrm{LSB}/2,\mathrm{LSB}/2]\) — the bridge into Part 4’s SNR formula.

Try it: drop to 3 bits — fat stairs, large rose error. Raise to 8 bits — the blue quantized sine hugs the gray input and the error shrinks like \(2^{-N}\).