The weighted resistor network is the most intuitive DAC: one weighted resistor per bit into a summing node. This page shows how digital codes become analog voltage, and the fatal flaw.
Principle: in an N-bit weighted resistor DAC, each data bit Dk reaches the op-amp summing node, the inverting input, through a resistor of 2^(N-1-k) times R. When Dk is 1 that branch contributes a current of Vref over its resistor, the branch currents add at the summing node, and the op-amp output is minus Vref times D over 2^N, an analog voltage proportional to the code. The MSB carries the smallest resistor and the largest weight.
A 4-bit example: resistors R, 2R, 4R and 8R serve D3 down to D0. D3 set contributes the largest current, Vref over 2R, and D0 the smallest, Vref over 16R. The summed output is minus Vref times 8 D3 plus 4 D2 plus 2 D1 plus D0, all over 16. Linearity is good and the idea crystal clear, the perfect entry structure for understanding a DAC.
The fatal flaw: as bits grow, the resistor spread opens as 2^N, 128 times from largest to smallest at 8 bits and 2048 times at 12. Precision resistors that large are bulky, costly and hard to match, and unequal temperature drift bends the line. So weighted resistor DACs suit low bit counts only, and everything higher moves to the R-2R ladder.
| Bit | Resistor | Weight current | Contribution |
|---|---|---|---|
| D3 | R | Vref over 2R | Largest |
| D2 | 2R | Vref over 4R | Second |
| D1 | 4R | Vref over 8R | Small |
| D0 | 8R | Vref over 16R | Smallest |
| Summing | Op-amp | Currents add | Linear |
| Many bits | Spread as 2^N | Hard to match | Abandoned |
The weighted structure is fine and intuitive at low bit counts; above a few bits the resistor spread explodes and the R-2R ladder takes over. The inverting summer output tracks the code.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: DAC principles per GB/T 4728 and IEC 60748 series. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.