Dither mechanisms#
Dither can supply a known excitation for parameter calibration, or randomize quantization error without estimating a parameter. Its physical injection point and digital processing depend on the ADC architecture.
Architecture |
Injection and observation |
Example |
|---|---|---|
Pipeline |
Before residue amplifier; current/triple/delayed PN correlations |
|
SAR |
Held-sample/CDAC offset; paired raw decisions and bit weights |
|
Time interleaved |
Before sampler with known analog slope; channel correlations |
|
Delta-sigma |
Input or quantizer node; transfer-aware subtraction and in-band noise |
|
The common probe is a sum of three equal PN sequences. This does not make the estimators interchangeable. The SAR example needs two conversions of one held input, the TI model needs an explicitly defined analog probe slope, and the Delta-sigma example does not identify an amplifier polynomial.
The canonical guide ships with the examples as
11_calibration/DITHER_GUIDE.md. Download the
complete guide
and the
fixed-point HDC specification.
The guides are also rendered below from the same packaged sources.
adctoolbox-get-examples
cd adctoolbox_examples
python 11_calibration/exp_cal09_pn_architectures.py --quick --output output/pn_smoke
The quick run checks execution, not convergence. Full-size runs benefit from optional Numba acceleration. Output directories must be new. The examples save source hashes, configurations, per-case measurements and figures, including controls that deliberately violate the observation assumptions.
Only the HDC example has a tested fixed-point arithmetic/resource contract;
none of these examples claims verified transistor behavior, RTL timing, or
general success on every ADC or input. The public DitherGainTracker,
apply_dither_gain and DitherHDCTracker interfaces reuse the example
algorithms; see the API reference. The sine-fit baseline
and behavioral plants remain example-only helpers.
The repository also includes the memory and capacitor model basis
and physical-state and switch-phase derivation.
The one-tap memory extension is a conditional behavioral approximation, not a
validated model of every reset/settling mechanism.
The results summary
contains representative measurements and commit-pinned links to the detailed
experiment archive.