Calibrate a flash ADC threshold
Locate a comparator threshold error with programmed inputs and remove its offset.
Design objective
A three-comparator flash front end uses ideal 1, 2 and 3 V ladder taps. The middle comparator has an explicit 20 mV reference-path offset. Apply the 1.99 V and 2.01 V PWL plateaus, trim that offset so the middle decision brackets 2 V, and verify neighboring comparators stay correct.
Constraints
- Keep all four ladder resistors at 10 kΩ and the reference at 4 V.
- Trim the explicit VOFF source; input and reference ladder must remain unchanged.
- The 1.99 / 2.01 V input repeats every 2 ms; the default record shows four cycles. The middle output initially stays low; correcting its offset must make it alternate.
- An ideal comparator bank is used to isolate static offset. Delay and metastability are outside this check.
Concepts
Explore the stated model with probes and compare your measurements against the design objective.
Reusable circuit blocks 0
Build first: Read a flash ADC thermometer · Which side of the threshold?
Recommended blocks: Comparator5V. Insert your own saved versions and connect the labeled pins.
Select the components and external node labels that make up your block. Leave test sources and loads outside the selection. With no selection, the whole circuit is saved. Ground symbols stay internal.
No saved blocks yet.
Time capture · Oscilloscope, FFT & logic
Acquisition options
Set Duration and Samples / probe above, then capture all enabled probes together. Scope, FFT and logic use that same measured record.
Analysis, sources & models
Each run reads the current connections and values, with the sources and device models selected above.
Advanced · solver sourceThe visual circuit remains the primary design surface.615 / 12,000 bytes
Circuit design checks
Run your current schematic to check these targets. These are local practice checks.
- Middle threshold rejects 1.99 V — -0.1–0.1 V
- Middle threshold accepts 2.01 V — 4.9–5.1 V
- Lower comparator remains high — 4.9–5.1 V
- Upper comparator remains low — -0.1–0.1 V
Probes & capture settings 0 channels · 32,768 samples
Loading the CircuitJS editor…