Analog Delta-Sigma interpolation DAC

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Disabled Account
Joined 2015
Here is the story again from the beginning.
Two fellows make a NOS DAC, non oversampling dac they see the image of 20khz the 24khz because sampled at 44.1khz
20k and its image.JPG
They parallel two DACs and manipulate the time addition to "double bit" and the 24khz image vanishes.
20k modif.JPG
What did they do?
If you sample a 20khz with 50khz, than you must generate an image of 30khz, then by adding zero's you oversample and according to legend, the image 30khz should vanish to much higher frequencies.
 
I don’t know if I understand your question but I’ll try.
Sampling 20Khz with 50Khz gives an image at 30Khz and at 70 Khz etc. etc.
That’s clearly visible in all the images I gave.
After stuffing zero’s, the 30Khz and the other mirrors are still there in the third image, BUT after the brickwall Fir in the fourth inage the 30Khz is gone. In fact everything between 20Khz and 180KHz is vanished, leaving room for a very easy analogue filter over a 3 decade transition band.

I will do the two sample time shifted version tomorrow and see what result I get. I find it hard to understand why the 24Khz mirror should be removed.
But at least you will have to face a severe Sinc^2 envelope with the first zero at 44.1Khz, whereas the sinc envelope in the 3 zero stuffing and fir filtering situation can be neglected with its first zero at 176,4Khz.

Hans
 
Sorry, obviously I haven't been clear in my explanation what I showed.
That's why I do it again, this time with text in the images.
No you can clearly see the 30Khz after sampling with 50Khz in the first image and in the second image with Fs =200k there is no 30Khz

In the third image I have now also plotted both the spectra of the result after [Fs = 200Khz] and [Fs =50Khz + 3 zero stuffing + Fir Brickwall filtering].
I also added the Sinc to show that the original Fs =50Khz now also exactly follows the sinc with it's first zero at 200Khz and no longer one with a zero at 50Khz.

With a perfect Fir fiter, both are indistinguishable.
No correction is needed at 20Khz, since only being 0.18dB, below hearing threshold.

Hans
 

Attachments

  • 50k.jpg
    50k.jpg
    467.2 KB · Views: 61
  • 200k.jpg
    200k.jpg
    444.4 KB · Views: 71
  • 50K+200K.jpg
    50K+200K.jpg
    479.7 KB · Views: 64
Hayk,
Are you kidding or are you serious, how can you think of a HOAX ?

Everybody can see that the whole spectrum with mirrors between 20Khz and 180Khz from the original 50Khz data has been removed including your 30Khz.
Or are you talking about the mirrors around 200Khz and multiples that haven't been removed.
Why should they, it's a perfect consequence of sampling.
But what I have shown is that you can transform a 44.1K into a 176.4K signal by zero stuffing and Brick wall filtering.

To remove the remains at 200Khz a very simple will do.

Hans
 
I also did the test with the two time shifted sample streams, because I had my doubts about the removed first mirror at 24.1Khz, and indeed, it's not the case.

See image below of two added samples time shifted 10usec sampled at 50Khz.
The 30Khz first image is still there, alive and kicking.

If you prefer, I could repeat this with 44.1k instead of 50K.

Hans
.
 

Attachments

  • Two Shifted.jpg
    Two Shifted.jpg
    412.1 KB · Views: 85
I tried to fit a Sinc envelope around the two time shifted signals.
On one hand the original one at Fs 50Khz should still be there and at the same time since the sample width has halved, a Sinc with it's first zero at 100Khz was expected.

Well, it seems to be a bit of both, as becomes clear in the image below for the two 10usec time shifted and added samples.
The Sinc with it's first zero at 50kHz touches the spectrum at 20K, 80K, 120K, 180K etc, while the Sinc with it's first zero at 100Khz, touches at 30k, 70K, 130K, 170K etc.
A very complex envelope !

The right image is for exactly the same sample but now on it's own without a second time shifted sample.
In this case the Sinc with its first zero at 50Khz fits perfectly.

Hans
 

Attachments

  • Two Shifted1 sinc.jpg
    Two Shifted1 sinc.jpg
    499.6 KB · Views: 77
Last edited:
Disabled Account
Joined 2015
I am looking a way to interpolate digitally the midpoint between two samples by sinc/Hamming window. for 20khz, I have 10 cycles for 1 beat 2khz, as each cycle is 3 samples, I need 30 samples to interpolate the midpoints. It will output a true 2xoversampled. Explained here http://www.audiomisc.co.uk/ArchiveMagazine/33/Upsampling.pdf
As sinc function is symmetrical, I need 15 constants representing sinx/x * Hamming variable to apply on each sample and sum to obtain the value of the midpoint. Maybe such interpolator does already exist.
 
Last edited:
I am looking a way to interpolate digitally the midpoint between two samples by sinc/Hamming window. for 20khz, I have 10 cycles for 1 beat 2khz, as each cycle is 3 samples, I need 30 samples to interpolate the midpoints. It will output a true 2xoversampled. Explained here http://www.audiomisc.co.uk/ArchiveMagazine/33/Upsampling.pdf
As sinc function is symmetrical, I need 15 constants representing sinx/x * Hamming variable to apply on each sample and sum to obtain the value of the midpoint. Maybe such interpolator does already exist.

Isn't that a standard two times interpolating filter, that is, a combination of inserting zeros and brick-wall low-pass filtering? Instead of a windowed sinc, you can also use the Parks-McClellan program (based on the Remez exchange algorithm) to find a finite impulse response that approximates the ideal sinc.
 
Yes, Marcel you ate right.
The guy inserted one zero after each sample instead of the three that I did.
For some strange reason he did not mention this zero stuffing.
So indeed, it is exactly what I did in the previous simulations.

How to find the coefficients for your FIR filter is up to the designer, but it has to be long enough and the calculation has to be accurate.
What I mentioned earlier is that you will need a fast DSP to do the math.

Hans
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.