Three bits, two resistor values
Turn binary 101 into a voltage with a three-bit R–2R ladder.
Design objective
With a 5 V reference, the MSB and LSB are high and the middle bit is low. Find the unloaded DAC output and explain why full scale is below the reference.
Constraints
- R = 10 kΩ, 2R = 20 kΩ; matched ideal resistors
- Ideal 0 V / 5 V bit drivers; no output load
- LSB = Vref/8; the largest three-bit code is 7
- 3-bit word
b2 b1 b0 = 101
- Bit drivers
Select 0 V or Vref for each branch
- R–2R ladder
Weight branches by 1/2, 1/4, 1/8
- DAC output
High-impedance voltage measurement
- 3-bit word → Bit driversThree digital controls
- Bit drivers → R–2R ladderReference-switched branches
- R–2R ladder → DAC outputAnalog voltage
Concepts
Check your calculation
Worked solution
3.125 V
Code 101₂ is 5. VDAC = 5 V × (1/2 + 0/4 + 1/8) = 3.125 V. One LSB is 0.625 V; code 111 reaches 4.375 V, one LSB below the reference.
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 six ladder resistors, ground and four external labels; leave all three bit sources outside your selection. Reuse the saved ladder in the timed DAC and SAR exercises. Ports: b2, b1, b0, dac.
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.120 / 12,000 bytes
Probes & capture settings 0 channels · 8,192 samples
Loading the CircuitJS editor…