Analog Intuition

Transfer, then the datasheet plots

Top: 5-bit staircase on a 5 V box · middle: INL vs code · bottom: DNL vs code (red line = missing)

Ideal 1:1 Actual staircase INL DNL

Transfer · 5-bit · 5 V · offset shifts · gain tilts · INL bows · DNL changes step width

INL vs code · leftover after the best-fit line · Y is fixed ±6.5 LSB (not zoomed to the bow)

DNL vs code · step width − 1 LSB · rose line = missing code

Offset—
Gain—
Peak INL—
Worst DNL—
Missing code—
Offset, gain, INL, DNL
\[ v_{\mathrm{out}} = (1+\varepsilon_g)\,v_{\mathrm{in}} + V_{\mathrm{os}} + \mathrm{INL}(v_{\mathrm{in}}) \]
\[ \mathrm{DNL}_k = \dfrac{\Delta v_k}{\mathrm{LSB}} - 1 \]
→ —
\[ \mathrm{INL} \approx \sum \mathrm{DNL}\quad\text{(plus a smooth bow)} \]
→ —

5-bit, 5 V on purpose — a 12-bit LSB is 1.2 mV and would vanish on this plot. Offset and gain still calibrate out (two points). INL and a missing code do not.