Electronics > Projects, Designs, and Technical Stuff

PWM-ing the LSB of a DAC

<< < (2/2)

Circlotron:

--- Quote from: fcb on December 03, 2021, 09:18:52 am ---As for theoretical resolution, look at it as a 7bit DAC plus a 4bit DAC = 11 bits.

--- End quote ---
:-+

langwadt:

--- Quote from: Circlotron on December 03, 2021, 08:42:35 am ---Say we have an 8-bit DAC that we want to squeeze a bit more resolution out of. We could PWM the LSB at one of 16 different pulse widths, and provided we do it rapidly enough and then low pass filter it we have greater analog resolution. What would it be though? 12 bits or only 11?

--- End quote ---

you can also use deltasigma modulation, taken to the extreme with a single bit DAC

Berni:
Yep this is how delta sigma works.

Most audio DACs you listen to only have around 1 to 6 bits of resolution, but they run them at >10MSPS and use modulation to get those 24bits out of them at audio frequencies. The faster your DAC is the more leftover samplerate you have to turn into extra bits. Tho there are practical limits to all of this, the DACs used for audio are particularly designed for being well suited for delta sigma.

peter-h:
Yes this is done with ADCs too - you inject noise into the input voltage and then take say 100 readings, add them up, and divide by 100, for a 10x resolution improvement.

The problem is that you just get more resolution, not usually more accuracy, and the ADCs and DACs which are on-chip in most micros are crippled by noise, so the last 1-2 bits are just fiction.

fourfathom:

--- Quote from: peter-h on December 03, 2021, 05:35:53 pm --- the ADCs and DACs which are on-chip in most micros are crippled by noise, so the last 1-2 bits are just fiction.
--- End quote ---

No, they are free dithering!  (or not, of course, depending on the noise.)

Navigation

[0] Message Index

[*] Previous page

There was an error while thanking
Thanking...
Go to full version