Skip to main content
Terms of Service
Topic: DAC interpolation
(Read 4121 times)
0 Members and 1 Guest are viewing this topic.
Joined: 01 March, 2013
01 March, 2013, 09:25:03 PM
The Nyquist-Shannon theorem (the sampling theorem) states that if a function x(t) contains no frequencies greater than B hertz, it is completely characterized by measuring its amplitudes at a series of points spaced 1/(2B) seconds apart. It further states that to reconstruct the original signal one must use the Whittaker-Shannon interpolation theorem, computing the sum of the infinite series of normalized sinc functions for each sample. (Well,
where n is the sample number, t is the sample time, T is 1/(sampling rate), and sinc(x) is the normalized sinc function.)
I've never (in my somewhat limited experience) seen an audio DAC that does that, yet they seem to have pretty reasonable output. How accurate are the standard approximations, really? What is the interpolation error? How does one characterize it?
Joined: 30 July, 2008
01 March, 2013, 10:45:59 PM
The formula of Whittaker-Shannon contains infinite sums. Practical DACs typically evaluate this sum over 20–100 samples which is a good approximation: it allows for nearly perfect reconstruction of signals up to 0.45•Fs.
Joined: 16 December, 2010
02 March, 2013, 05:11:09 AM
Consider that in strict theory the Shannon theorem conditions never apply in reality simply because mathematically a band limited signal cannot be also time limited, thus "having an infinite number of samples, etc etc...".
In real world, with a sufficiently large number of samples, as Alexey Lukin said, the truncation error rounds toward zero and other components (quantization, sampling time uncertainty etc...) prevail.
: 02 March, 2013, 05:12:13 AM by Nessuno
... I live by long distance.
Joined: 01 December, 2007
02 March, 2013, 05:27:38 AM
E.g.: actual characteristics of PCM1794 can be found in
Joined: 07 February, 2013
03 March, 2013, 06:52:31 AM
Noteworthy is that finite "sinc interpolation" is usually windowed to reduce ripple and improve stopband attenuation. A common window is the
Joined: 09 January, 2005
03 March, 2013, 03:26:55 PM
What the OP fails to note is that if we allow a transition band between the highest frequency captured and fs/2, then we don't have to use a sinc function any longer, and we can also use a finite length filter.
Perhaps the person who wrote about the Shannon Theorem could read the proof of the Nyquest conjecture and by doing so, see how the statement above is incontrovertably proven.
Likewise the people who argue that all time-limited signals have infinite bandwidth, again, strictly speaking, this is true, however, we can trivially estimate the actual error and know its magnitude exactly, in terms of filtering, and easily move it well below the noise floor of any possible system.
Again, people need to understand the whole of the theorem and the paper, not just part of it.
Likewise people who argue from a statistical point of view, but who don't calculate error bounds.
J. D. (jj) Johnston
Joined: 01 March, 2013
03 March, 2013, 10:10:50 PM
Thanks, I think I understand a bit better now. Especially how the use of a low-pass filter approximates the use of the sinc function in the sampling theorem.
powered by ElkArte 1.0.9
SimplePortal 2.4 © 2008-2014