Wire the SAR comparator decision path
Replay real 100 → 110 → 101 DAC trials and verify the comparator decisions in time.
Design objective
The PWL sources apply three trial codes to a resistor DAC while vin stays at 3.20 V. Wire the native comparator so its high output means “keep this trial”. Verify the high–low–high decision sequence, then save the comparator and ladder as reusable blocks for the next converter.
Constraints
- Trials change at 1, 11 and 21 µs of each 30 µs sequence; four sequences are captured by default.
- The comparator begins with its inputs reversed. Fix the two input labels/wires.
- Stimulus replays the trial register; this circuit does not implement a clocked SAR controller.
Concepts
Explore the stated model with probes and compare your measurements against the design objective.
Reusable circuit blocks 0
Build first: Three bits, two resistor values · Which side of the threshold? · Follow a SAR conversion
Recommended blocks: R2R3, 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.1,282 / 12,000 bytes
Circuit design checks
Run your current schematic to check these targets. These are local practice checks.
- Keep 100 — 4.9–5.1 V
- Clear 110 middle bit — -0.1–0.1 V
- Keep 101 — 4.9–5.1 V
- Final trial level — 3.12–3.13 V
Probes & capture settings 0 channels · 32,768 samples
Loading the CircuitJS editor…