Re: Purpose of interpolation in DACs?



Hi Ben,

I think your analysis so far is correct.

There is another reason for upsampling a signal to a DAC: to increase
the effective resolution of the DAC. In order for this to work, your
digital signal resolution must be wider than the DAC resolution. For
example, if your digital signal was 16 bits and your DAC was only 12
bits, you could use this technique.

The key to understanding this is realizing that the total quantization
noise power (or, in this case, "re"quantization noise, since we're
converting a digital signal to a lower-resolution digital signal)
depends ONLY on the amount of quantization and NOT on the sample
rate. For example, if I drop the resolution by one bit, I get q^2/12
total noise power [1] spread out over the entire digital bandwidth
from 0 to Fs/2, where q is the quantization step-size (ultimately
determined by your DAC reference voltage and resolution).

So let's say, e.g., that you have a digital signal that's 16 bits wide
and originally at 32 kHz sampling rate. If you upsample as you
described, keeping the digital signal at 16 bits, to 64 kHz,
and then *at the 64 kHz rate* requantize the signal to 12 bits, then
you'd introduce (4*q)^2 / 12 quantization noise power into your 16-bit
signal. But that noise power would be spread from 0 to 32 kHz, whereas
your bandwidth of interest (from the original "baseband" sample rate)
is only 0 to 16 kHz. So the total quantization noise power in your
bandwidth of interest is now 1/2 of what it would have been had
you not upsampled.

It's easy to see that every doubling of the sample rate gives you a 3
dB decrease in quantization noise, and so it takes an oversampling
ratio of 4 to get a 6 dB reduction, or 1 bit of extra resolution. In
general, oversampling by M gives you log_4(M) bits of resolution.

--Randy



[1] This makes the standard assumption that the input signal is
sufficiently complex that the quantization noise is white and
uniformly distributed.

.



Relevant Pages

  • Re: DAC resolution vs. smoothing filter cutoff-freq
    ... DAC resolution is low, a number of successive samples will be of the ... of the signals that you do transfer. ... you can still carry all of the same frequencies you used to be able to. ...
    (sci.electronics.design)
  • Re: NCO SFDR
    ... I have a weird problem with my NCO simulation in MATLAB ... resolution and 2^9 ... I was expecting SFDR to be less than 1.76 + 10*6.02 cause of the ... If ALL of the quantization noise power was in one spur, ...
    (comp.dsp)
  • Re: ARM controller with integrated DAC
    ... Meanwhile I found that the LPC1765/66/68 come with a DAC. ... are your requirements for the DAC - channels, resolution, speed, etc.? ... My knowledge of analog conversion is limited to ... The AT91SAM3 has a mode where you can do DMA from internal SRAM to a parallel PIO port which might be useful. ...
    (comp.arch.embedded)
  • Re: digital vertical resolution / vertical sensitivity
    ... it states the vartical resolution is 8 bit, ... my question is where typically is the DAC located? ... is it after the vertical sensitivity switch in which case at 2 mV / ... i read that for audio purposes, ...
    (sci.electronics.equipment)
  • Re: screen resolution madness
    ... There was time I ran that kind of resolution on ... difference the video DAC can make. ... fellow man is despicable and worthy of condemnation." ...
    (borland.public.delphi.non-technical)