122kHz, 1024x oversampling DAC anyone? - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 28th November 2001, 10:51 AM   #1
hifiZen is offline hifiZen  Canada
diyAudio Member
 
hifiZen's Avatar
 
Join Date: May 2001
Location: Mountain View, CA
Hmm.. after pondering I-V conversion, a resistor really does seem to be the ultimate solution, with only one major problem - regular audio DACs can't deal with any voltage on their current outputs, so a resistor I-V (ala SDS labs) introduces non-monotonic distortion in the output. However, I deal with video circuitry quite a lot in my day job, so I thought I'd investigate the potential of using a video DAC for audio purposes...

The TI THS5671A dac runs 14-bit high-current output at 125MHz. It's also affordable. Now, if we oversample 2x for every bit we drop (dithering as we go...), we retain the full resolution of the original data. Starting from 24-bit data and dropping down to 14 bits means we need to oversample 1024x and dither the 10-bits of truncated data into the 14 bit output... dividing 125MHz by 1024 gives us a starting sample rate of just over 122kHz / 24bit. This can be conveniently acheived using an AD1896, which would simultaneously provide jitter rejection. All that's missing is a CPLD to implement the oversampling and noise-shaped dithering logic (which would take a little work, but not too much).

Another nice thing about the THS5671A: it can be configured to give differential outputs into low impedence loads, which is perfect for direct-coupling to a preamp - without a buffer opamp! All that's needed in-between the DAC and the balanced output is a pair of I-V resistors (4 if you count both sides of one channel), one on either side of a passive L-C filter. As long as the preamp's input is in the kohm range, there shouldn't be any problems! Additionally, due to the extremely high sampling frequency, our analog output filter can be a passive LC type with a corner frequency *way* up where it won't affect the frequency and phase response of the audio range much.

Now, i just have to figure out how i'm going to get all these other projects done so I'll have the time to try this out...
__________________
- Chad.
  Reply With Quote
Old 18th February 2002, 04:56 AM   #2
alvaius is offline alvaius  Canada
diyAudio Member
 
Join Date: Feb 2002
Location: Toronto
Default Oversampled Video DAC

It's late, but I think your math is off. You get 1/2 bit per 2X oversampling. I think once you delve into this, you will find it is not that simple, and that CPLD will end up as a minimum, an FPGA, and when you start processing 24 bits at 100MHz, suddenly, it is not so much fun. I would love to hear your thoughts as you progress. I have looked into this before.

You still have issues of jitter. You need to generate that high frequency clock with something. Possibly a custom crystal could be a solution. If you do a PLL, then you will have jitter issues (short and long term).
  Reply With Quote
Old 20th February 2002, 09:30 AM   #3
hifiZen is offline hifiZen  Canada
diyAudio Member
 
hifiZen's Avatar
 
Join Date: May 2001
Location: Mountain View, CA
um, i'm pretty sure it's 1 bit per 2x oversampling.. for instance, if we have a single 11-bit sample, we have:

2^11 = 2048 possible values

by oversampling 2x, and rounding down by one LSB, we get two 10-bit samples:

2 x (2^10) = 2^11 = 2048 possible values can be represented.

Unless there's some esoteric bit of logic I'm missing, it seems relatively straightforward to me. Not that keeping all the information really matters anyway if one employs sigma-delta techniques. Sigma-delta tricks might also help do away with some of the jitter issues. Of course you're right that it will take a rather large FPGA/CPLD (same thing in my books) to do the math, and running these things at 100MHz isn't trivial.

I think what attracts me the most to this concept is the possibility of driving line-level outputs directly from the DAC! A low-impedance passive reconstruction filter with no active stage at all is very appealing to me. Imagine, a direct-drive DAC with an output impedance of 37.5ohms or so... you could drive a pair of headphones straight from the DAC!

Unfortunately, I rather doubt I'll get to build this thing, at least in the foreseeable future...
__________________
- Chad.
  Reply With Quote
Old 23rd February 2002, 06:54 PM   #4
diyAudio Member
 
Join Date: Jan 2001
Location: Scandinavia
Default Multiply or divide?

I have one suggestion and one possible design idea for you:

1. Instead of starting at 125MHz and dividing, why don't you start at the sampling rate you need and multiply up to a region of interest?

2. Another way to go would be to use a PC as the DAC. As I recall, the PCI interface can handle up to 64 bits at 33MHz (or in that region). Thus, you can set up a stream 64 bits wide and build 64 summing current sources (same current or not). I believe some manufacturers are looking at something along those lines.

Another alternative is to take an SACD bitstream and multiplex it say 8 ways ... Burr Brown had a PCM1704K (*4 per channel) which did the same thing.

Petter
  Reply With Quote
Old 25th February 2002, 10:18 PM   #5
alvaius is offline alvaius  Canada
diyAudio Member
 
Join Date: Feb 2002
Location: Toronto
Default How much to oversample per bit gained

Went over the math, nope, you definately need to oversample 4 times to get an extra bit. The math is much more complex than just looking at data and samples. You need to look at how the noise spectra is spread over the sampling bandwidth.
  Reply With Quote
Old 6th March 2002, 08:23 AM   #6
hifiZen is offline hifiZen  Canada
diyAudio Member
 
hifiZen's Avatar
 
Join Date: May 2001
Location: Mountain View, CA
Petter:

re: #1. - well, i guess that's the other way of doing it. I just wanted to see what the maximum starting sample rate capability might be. 122kHz max xample rate is certainly enough to accomodate 96kHz data...

alvaius:

The calculations in my previous post were for un-dithered data only, so noise spectra do not even play a part. We can represent the same set of values by dropping one LSB per 2x oversampling. By employing dither, we should actually be able to lose MORE than 1 bit per 2x oversampling. Once you introduce dither (and human hearing threshold curves), then yes the math gets a lot more complex, and you will need to employ noise shaping to keep the dither noise out of the bandwidth of interest. This is how sigma-delta and bitstream DACs can get away with using very few bits for actual output with a mere 128x or so oversampling.
__________________
- Chad.
  Reply With Quote
Old 17th March 2002, 02:26 PM   #7
alvaius is offline alvaius  Canada
diyAudio Member
 
Join Date: Feb 2002
Location: Toronto
Default Oversampling

Please check your math again. I am also talking undithered. You need 4x for 1 bit improvement. This would represent a flat spreading of the noise spectra. Sigma-delta shapes the noise and puts it into higher frequencies that is subsequently filtered out.
  Reply With Quote
Old 20th March 2002, 09:10 AM   #8
hifiZen is offline hifiZen  Canada
diyAudio Member
 
hifiZen's Avatar
 
Join Date: May 2001
Location: Mountain View, CA
alvaius:

ah, i see what you're referring to... Yes, you are correct, presuming no dither and noise shaping are applied, thereby resulting in a flat quantisation noise spectra.

Naturally, noise shaping would be an essential element of this project... Sorry, i had been disregarding SNR and dynamic range, with the foreknowledge that noise shaping would be applied to move the dither and quantisation noise up out of the audio bandwidth.
__________________
- Chad.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is 1x oversampling amp builder jb Digital Source 4 25th July 2005 02:38 PM
Non oversampling cd-94 MK1 D.A.R.R.Y.L. Digital Source 5 1st December 2004 10:33 PM
Non-Oversampling TDA's supra Digital Source 45 24th September 2004 06:56 AM
TDA5141 oversampling or non-oversampling ? Bernhard Digital Source 4 1st September 2004 10:27 AM


New To Site? Need Help?

All times are GMT. The time now is 03:28 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2