Resistor values for an 2/2R ladder-based DAC

Thread Starter

vpoko

Joined Jan 5, 2012
267
(Sorry for the typo in the title, it's an R/2R ladder).

I'd like to build an 8 bit R/2R ladder-based DAC (with output buffer) to use for outputting low-fi audio from a microcontroller. What factors influence which exact resistor values I should use? I know I need two resistor values, one having double the resistance of the other, but how high/low do I aim? At the very least I assume they need to have enough resistance so I don't source too much current from my uC, but that still leaves quite a range.

I'm guessing this is related to input/output impedance of my DAC, but my understanding of those concepts is, shall we say, incomplete.

Thanks for any help anyone can provide!
 

Markd77

Joined Sep 7, 2009
2,806
I'd aim high, maybe around 100K, 200K. At lower values, you will find that the 5V you thought was coming out of the microprocessor pin has dropped a little and the 0V has risen a little. These differences would reduce the linearity. For best results get at least 1% tolerance resistors, preferably 0.1%.
 

Adjuster

Joined Dec 26, 2010
2,148
Don't be tempted to make the resistors too big though (many megohms?) as you may not get sufficient bandwidth - parasitic capacitances will have more effect. The input impedance and bias current of the amplifier following the resistors could also become a problem, as may other leakages.

Noise voltage also increases with resistance, though I doubt that it will be a problem in the sort of application you're planning (8 bits?).

Finally, it may not be as easy to get accurate resistors in very high values.
 
Top