Advanced New problem Operating point
Settings
Problem
PROBLEM 27 · DIGITAL

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
Required analysisOperating point
Probe: V(t2)
Parallel conversion
  1. Reference ladder

    Generate 1 V, 2 V, 3 V thresholds

  2. Comparator bank

    Compare Vin against all taps at once

  3. Thermometer word

    t1, t2, t3 describe crossed thresholds

  4. 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

Flash ADCThermometer codeComparator thresholds

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.

Simulation practice available

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.

Symbol credits
W: wire · drag text: move · double-click: edit · R over label: rotate · Ctrl/⌘ + scroll: zoom
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.

0 enabled probes · 1 ms record · all instruments share the same samples.
Acquisition options
Settling advances the real solver before a finite capture. Live measurements retain their full history.
Watch your circuit respond

Set Duration and Samples / probe above, then capture all enabled probes together. Scope, FFT and logic use that same measured record.

SPICE AC · DC · transient
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
GENERATED SPICEOptional expert editing
Advanced edits stay in this preview and never affect grading. Includes, files, control blocks, and shell directives are disabled.
Probes & capture settings 0 channels · 8,192 samples
Probes 0/32Every electrical node is available, including unlabeled junctions.

Loading the CircuitJS editor…