DIY Analog-to-Digital Converter project.Audio measurements tool

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
I really don't see the AKM beating the faster, better AD parts on most specs

you do have to allow for differing meaurement bandwidths to compare S/N - but the AD graphs clearly beat on distortion vs audio frequencies

and as SAR there are no helpful hints like AKM's on providing DC offest to keep the Delta-Simga modulator from producing spur tones
 
The SAR ADCs mentioned here all seem to be clocked by FPGA on their respective EVM designs.

Which will have a certain level of jitter leading to a reduction in SNR at higher input freq. I've been daydreaming for a little while on ways to replace the sample clock with a OSC + counter/logic. As yet I haven't found counters that have very good AC specs, the one that concerns me is that most seem to have a wide spread of propagation delay times, even with stable temp. Anyone got any better ideas because it seems to me that looking for high(er) freq analysis with these chips the sample clock is rather important.
 
I'd like to sample out to 250kHz - 500kHz so 1MSPS+ would be my preferred sample rate. I'd like to not be limiting the SNR of the ADC with jitter, so for 18bit (AD7986, LTC2377-20 etc) I think we're at single digit ps range for RMS jitter if I'm not confused by the formula below given in this article - http://cds.linear.com/docs/en/design-note/dn1013f.pdf

SNR(dBFS) = –20log(2.pi.f.tj)

Deriving RMS jitter from the propagation delay variation isn't something I'm sure of but a wide variation doesn't seem like a great place to start.
 
Confirming my understanding of the AD7986 sample clock timing requirements:

CNV clock triggers sample, pulse can be from 15 - 70ns long.
CNV line low for the following (1000ns - (CNV pulse width above)) [for 1MSPS, other sample rate substitute clock period as required]


I'm thinking the answer will use some sort of flip flop divider - possibly PO74G374A would be a good chip to work with, though it gives little detail on the variation of propagation delay and cascading flip flops to achieve frequency divider then feeding into an OR to satisfy the above requirements doesn't feel like the right solution either.
 
Last edited:
Member
Joined 2004
Paid Member
Watch for the release of the AK5397 with 4dB more dynamic range than the AK5394. A preliminary datasheet (or samples/development boards) is not available yet.
So far it seems the best bet for diy (with a very good front end.....:))

I met with the designer of the chip last week. Its in process (has been since 2008) but don't expect anything this year. However you can bond 2 AK5394A's and get an improvement. The AK5394A is still clearly the best performing chip I have tested.
 
Member
Joined 2004
Paid Member
If I were making the effort to build a high performance digitizer with a bandwidth higher than audio (100 KHz) I would use this: http://cds.linear.com/docs/en/datasheet/22165f.pdf It expensive ($70+ for the chip) but it can deliver the goods. Here is a device build from it that demonstrates what is possible, complete with schematics from which you can get ideas for clocking and other processing: http://www.miles.io/TimePod_5330A_user_manual.pdf

However you can buy USB scopes that can do this for a pretty reasonable price. Check that the software is good. Here is an example of a really good value: QA100 USB Oscilloscope $349 It beats reinventing the wheel, since none of this stuff will work with audio software.
 
If I were making the effort to build a high performance digitizer with a bandwidth higher than audio (100 KHz) I would use this: http://cds.linear.com/docs/en/datasheet/22165f.pdf It expensive ($70+ for the chip) but it can deliver the goods. Here is a device build from it that demonstrates what is possible, complete with schematics from which you can get ideas for clocking and other processing: http://www.miles.io/TimePod_5330A_user_manual.pdf

However you can buy USB scopes that can do this for a pretty reasonable price. Check that the software is good. Here is an example of a really good value: QA100 USB Oscilloscope $349 It beats reinventing the wheel, since none of this stuff will work with audio software.

Thanks for the links Demian!

That chip is certainly very interesting indeed, datasheet saved for more detailed reading over the next few days.

I'm not wedded to the idea of doing it myself but I quite like the learning and I'm a bit averse to buying a windows computer specifically for this task. Though that may be the eventual conclusion after I do a read around.

So I was looking into options and it's an interesting way to learn something new. I'm hoping to do the capture in embedded linux and use iPython Notebooks + numpy/scipy for the signal analysis. The ARM based linux board would just do data capture.

The SPI/I2C output of the SAR chips that I mentioned was appealing from a data capture from the embedded linux point of view.

Another option that I thought of is to use PWM from realtime co-processor (PRU-ICSS) in the AM3359 that I'll have in the BeagleBone initially eventually in BeagleBone Black or Olimex A10S. However that PWM is operating from a synthetic 100MHz clock and I'm not finding much info about how stable it is, except that they had jitter problems using an internal clock for 25MHz clock for RMII comms in their realtime RISC co-processor. So that doesn't inspire confidence. I'm also looking into the clock management in there to see if I can get the PWM interface to slave to another clock ... even if that works, it's hard to know in advance if that will be 'good enough'. There is over 1500 pages of tech docs on this processor though so it's hard to read and digest in a hurry ;)

I may have a few too many options to digest now but that's better than having no options!
 
Confirming my understanding of the AD7986 sample clock timing requirements:

For best accuracy you get better results if yu think of the clock as an analog signal. After all, it really is just volts in a wire. Now you can apply what you know about noise to a clock. Don't think of "jitter" that is a time domain concept that is a result of noise. Work on the root causes which are various types of noise.

When you are dealing with MHz level clocks, what you have is radio frequency (RF) signals and you can aply RF techniques that have MUCH lower noise then flip-flops and the like. Thinks about frequency dividers, mixers and filters.
noise is measured in units of db/Hz

Any clock is going to have amplitude the phase error and all kinds of harmonic distortions just like any other signal. The finally when you convert it to a square wave these errors show up a "jitter" and BTW "jitter" will have a distribution, a mean and a sigma on it. Just thing abot what a 120Hz ripple will do to the clock it will inter mod withthe 1MHz clock. "thinking digital" will never uncover stuff like that.

The trick is to have a very clean, low phase noise sine wave of the correct frequency and then "square it". You are not going to get to "picoseconds" by "thinking digital" it blinds you to all the real problems
 
Hello mrsavage and RNMarsh,

I'm not sure about who you are talk on your previous post...
I'm the author of this thread, and if you speak about it
i will answer with great pleasure, but i'm little confusing
because some others previous post speak also about ADC....
Could you be more precise from what you are talking about ?
Thank you.

Frex
 
Yes, that's the one!

Yes, that's the one! If I could obtain a couple of these PCB's that would be great.
You stated that after you built the PCB it did not measure up to your specs?
Explain and post your analysis, maybe we can improve on the design, or the
layout has a problem. Other threads have stated that doing these types of
PCB's is difficult because is critical for proper operation. Providing feedback
and suggestions is what DIYAUDIO.COM is all about.:p Take care.
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.