I'm really curious about the voltages at the nodes between the R resistors in the R-2R DAC ladder with an Op-Amp. I've tried using KCL and Ohm's law to find them, but I haven't been able to. Simulation shows different results.

R-2R Ladder DAC with Op-Amp

The voltage source at the bottom is 3 V, in the ladder configuration, 2R resistors are vertical, and R resistors are horizontal.

R = 3 Ohm, 2R = 6 Ohm. Rf = 5 Ohm. The rightmost resistor is 1 Ohm.

One more thing to note, the switches seem to be on the ground, but when the simulation runs, I give it value of 1, and they are switched to the 2R resistors.

I've used the fact that the Op-amp has a "virtual ground" concept - when one terminal is grounded, so is the other. Therefore, the current through Rf resistor should be 4.98/Rf. The current through the rightmost 2R resistor should be just 3/2R, since one end is basically grounded. Then according to KCL, we have one current entering that node, and two currents leaving that node (one leaving to the 2R, the other leaving to the R). But this approach doesn't seem to be helping much. After a few nodes, the currents inthe ladder (and also the node voltages) stray really far away from my expected values. What am I missing here?


1 Answer 1


The switches are connected incorrectly. There should never be a possibility that the ladder resistors are not connected to anything, which is what I see in your schematic. The switch needs to be connected so that the ladder resistor is either connected to ground or to the reference voltage at all times.

For me, the easiest way to analyze an R2R ladder is with superposition.

  • \$\begingroup\$ This appeared to be the exact problem with my simulation. Rotating the switches so that the ladder's 2R resistors are either grounded or connected to the reference voltage source solved the problem. Thank you \$\endgroup\$ Jan 13, 2021 at 19:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.