Read a flash ADC thermometer
Build the bridge from three comparator decisions to a two-bit conversion.
Design objective
A four-section reference ladder spans 0–4 V. Compare a 2.2 V input with its 1 V, 2 V, and 3 V taps. Read t1, t2, t3 and find the unsigned two-bit output code.
Constraints
- Equal 10 kΩ ladder sections; comparator inputs draw no current
- Comparator outputs are 0 V or 5 V; input is away from all thresholds
- Read the unsigned code by counting high comparator outputs; no hidden encoder circuit is substituted
- No comparator offset, propagation delay, metastability, or bubble correction modeled
- Reference ladder
Generate 1 V, 2 V, 3 V thresholds
- Comparator bank
Compare Vin against all taps at once
- Thermometer word
t1, t2, t3 describe crossed thresholds
- Encoder
Map the valid word to binary 00–11
- Reference ladder → Comparator bankThree reference taps
- Comparator bank → Thermometer wordThree parallel decisions
- Thermometer word → EncoderValid thermometer code
Concepts
Check your calculation
Worked solution
2 code
Vin exceeds 1 V and 2 V, but not 3 V. In ascending threshold order (t1,t2,t3), the thermometer word is (1,1,0). Two thresholds are crossed, so the encoded result is decimal 2, binary 10. The quantization interval is [2 V,3 V).
Accepted tolerance: ±0.1%. This calculation check records local practice progress.
Calculate your answer, compare it with the simulation, then check your calculation above.
Model notes
Use SPICE analysis for the challenge’s specified transistor models, edge timing, and frequency response.
Reusable circuit blocks 0
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.240 / 12,000 bytes
Probes & capture settings 0 channels · 8,192 samples
Loading the CircuitJS editor…