Go Down

Topic: Signal generator with >8-bit DAC (Read 3 times) previous topic - next topic

DanDare


Quote
Yes you can have a ladder like this for any resolution  you want (4, 5, 8 ,10, 16 and so on).

The problem with going to higher bit counts is the resistor matching. The more resistors you use the tighter they have to be matched to each other. With normal 1% resistors you will not get more than about 6 bits and maintain monoticity.


That's interesting Mike. I suppose that error from resistor matching will just adds up error more and more to the ladder as whole until you stop adding resolution bits?
I guess that if you really need to rely on math to expect accurate results a DAC chip is the way to go and not R/2R ladders.
By the other hand ladders can be useful (even for more than 6 bits or wathever), if you can accept constructing a calibration table from empirical measures, I mean when you don't need direct math processing out from ladder outputs but just input/output know values.

I had a interesting experiment on this some months ago assembling a simple synth. I wanted the synth to be able to play exact notes in a 5 octaves range and I got it playing exact notes after scanning (or finding), exact notes (voltages), on output by trying input values. It was a R/2R ladder tied to 2x VCO's and was able to tune perfect notes this way. To be able to find exact note frequencies (exact as 0.5Hz of tolerance), in a 5 octaves range I needed a 14bit ladder. This is some result about this experiment: https://soundcloud.com/rodrigonh/vc

Grumpy_Mike

Yes just matching a specific voltage is not so critical because you do not need monoticity so for any one piece of hardware there will be more than one set of bit patterns that give you the same voltage.
That is a ladder by the way.
Ladders no not require accuracy in the resistor's absoloute value just the relitave value. Some people think you can just keep extending ladders as long as you like but it depends on how closely they are matched. Without monoticity for generating an audio wave you get increased quantisation noise.

astrofrostbyte

Depending on your end application you might like to know about those 'dirt' cheap AD9850 DDS modules on ebay and china-wholesale site (<5$) ,  there are arduino lib's available.
Gear: Arduino- Uno,Due,Ethernet,  OLS, Buspirate, J-Link, TDS1002, Rigol DG1022

FirstName

Maybe you can use digital output in PWM(with max. value for all) mode? I am a newbie so be careful :).

Go Up