MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › How the R-2R ladder DAC works
HomeModels
Table of contents

On this page

Electrical & Electronic Basics (600 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

How the R-2R ladder DAC works

The R-2R ladder solves the resistor explosion of the weighted network and is the mainstream DAC structure. This page shows how two resistor values build any bit count.

1. How it works

Network structure: the ladder alternates series R legs and shunt 2R legs. Looking right or left from any node the impedance is always 2R, so each bit contributes a current strictly half of the one before, independent of position. Only two values, R and 2R, are needed, easy to match with equal temperature drift, which is exactly why it displaced the weighted network.

2. Numbers and practice

Operation: each bit Dk drives a switch, throwing its node to Vref when 1 and to ground when 0. Because of the constant impedance seen at every node, each node contributes exactly its binary weight of current, on the order of Vref over 3R times 2^k. All the currents meet at the op-amp summing node and the output tracks the code, the weights falling naturally from MSB to LSB.

3. Pitfalls and fixes

Advantages and implementation: two resistor values match precisely even at 12 bits, and CMOS switches give speed with easy monotonicity. Real chips, the DAC0808 and most integrated DACs, are R-2R inside. Switch on-resistance and parasitic capacitance add small nonlinearity but far less than the weighted network. Keep supply and reference steady.

4. R-2R versus weighted resistor comparison

AspectR-2RWeighted resistor
Resistor valuesTwo, R and 2RN different
Value spreadFixed factor 2Factor 2^N
Matching difficultyEasyHard
Bit countHigh, 12 and upLow, 4 or fewer
MonotonicityEasy to keepHard to keep
ApplicationMainstreamTeaching

5. Notes

Practical DACs are almost all R-2R because two values match easily. With clean switches and reference, both monotonicity and linearity hold well.

6. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: DAC networks per GB/T 4728 and IEC 60748 series. Always check the device datasheet and the product design file for ratings and derating.

7. Cautions

⚠️ Three common pitfalls:
① Assuming many resistor values are needed:R-2R uses only R and 2R
② Switch on-resistance too high:nonlinearity creeps in and linearity suffers
③ Wobbling reference voltage:the whole output scale drifts and codes read wrong

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL