Analog10y

PROBLEM 098 · Easy · The R-2R ladder DAC

Binary Ladder

A 3-bit R-2R DAC

The problem

Build a 3-bit R-2R ladder DAC from resistors only. The test bench drives the three bits on the nets “b2” (most significant), “b1” and “b0” with 0 or 1.8 V. The ladder has three nodes: “out” (the output, at the most significant end), “n1” and “n0”. A 2R resistor joins each bit to its node (“b2” to “out”, “b1” to “n1”, “b0” to “n0”); a series resistor R joins “out” to “n1” and “n1” to “n0”; and a 2R resistor from “n0” to ground terminates the ladder.

At every node, looking toward the end, the resistance is 2R: each step splits the current in two, so each bit contributes half as much to the output as the bit above it: Vout = VDD·(4·b2 + 2·b1 + b0)/8. Use R = 10 kΩ and 2R = 20 kΩ.

The test bench

Numbers to hit

Design it yourself

Draw the circuit on a schematic canvas, size every transistor, and see it simulated in your browser with ngspice and the SkyWater SKY130 models. Every transistor lights up green, gold or red by operating region as you move the sliders.

Sign in or create a free account →

More on switched-capacitor and converters