Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

FFT analysis with 24bit soundcard vs. 18bit NI-DAQ ?

Hello,

I am currently using an 18-bit NI-DAQ ADC / DAC card (PCI-6281) to perform some sensitive tone level and distortion measurements over time via FFTs. As a preamp, I am using the LT1678, which has exceptional distortion and noise specs, particular at low frequencies - the 1/f corner frequency is 5Hz or so. I also tried the same measurement with a comparable 16-bit NI-DAQ card (PCI-6221), and found that the noise in my measurements did increase.

So now that it appears that bit resolution matters in my measurements, I am thinking about 24bit acquisition. National Instruments has some very expensive 24-bit DSA cards like the PCI-4461, which I'd love to try, but these are too expensive to justify the purchase if I just want to try it - after all, chances are good that the limiting factor is my analog frontend, and not the DAQ bit resolution. Still, I wonder if 24bits would make an improvement in my measurements. Maybe I could rent one or test a PCI-4461 for a week...? Smiley Happy. Alternatively, maybe one of the many 24bit soundcards could also help me gauge the benefit of 24 bits. Especially the EMU 1212M is affordable and has a very low noise floor. The M-Audio Delta 1010LT is similarly good and inexpensive, and has 8 ADC inputs and 8 DAC outputs, so that's a potential candidate, too.

So my question is, has someone already tried and compared NI-DAQ cards to good sound cards for tone analysis? E.g., measuring the amplitude stability of a 1kHz tone over time?

I did read a related post here, which claims that even a 16bit NI-DAQ card is better than a 24bit sound card, but a few questions remain. For example, what VI was used for this comparison? I think LabView default sound VIs are limited to only 16bits when acquiring data from sound cards, unfortunately (this may have changed with more recent versions of Labview). But I also know that you can get some improved VIs over the web, for example here, which allow you to acquire up to 32bit into LabView 7.1 and up over your soundcard!

So does someone have experience with using soundcards with 24bit VIs and labview to do spectral analysis work? Any tips and sharing of test results is greatly appreciated.


Message Edited by Gustep on 07-06-2008 10:10 PM

Message Edited by Gustep on 07-06-2008 10:14 PM
0 Kudos
Message 1 of 10
(6,643 Views)
Hi Gustep,

The increase in resolution from 16- to 18-bit M Series cards will definitely improve the measurements you make. Better yet, switching to a proper DSA board will give you the best results. The M Series design is multi-purpose, so it tries to balance DC accuracy and AC clarity, but a DSA board is tailored for AC analysis and will give you the best dynamic range. The best way to see if you can test-drive one of these cards is by contacting a technical sales representative at (888) 280-7645.

I haven't seen any official comparisons done between NI DAQ cards and the various sound cards. Perhaps someone in the community has done a test or evaluation.
Joe Friedchicken
NI Configuration Based Software
Get with your fellow OS users
[ Linux ] [ macOS ]
Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
0 Kudos
Message 2 of 10
(6,588 Views)
Which product works best is very much a function of what you're trying to do. You mentioned measuring the amplitude stability of a 1kHz tone over time. The 628x DAQ product will do much better than any DSA product for this, as the DSA products are not designed for good gain and offset stability. The 407x DMM products will do even better, by the way, for this particular application. I would not expect good gain stability from any kind of sound card.

My understanding is that you care about amplitude stability and distortion. It's important to know what frequencies you're interested in and how good the stability and distortion need to be. The 628x boards have good distortion at low frequencies. At very low frequencies, the 407x DMMs will give distortion around the 1ppm (-120 dBc) level.

If you contact a sales rep to get a loaner PCI-4461 to evaluate, see if he/she will loan you a PCI-4070 as well, unless you know that one channel won't be enough. Also, have you considered the PCI-4474, a DSA product that costs less than the PCI-4461?

Chris
0 Kudos
Message 3 of 10
(6,578 Views)
Thanks to everyone for the helpful answers. Yes, my principal measurement consists of precisely measuring the amplitude stability of several tones on one line. They are in the 200Hz to 5kHz range. Since I have several tones on the same signal line, which I need to measure independently, the DMM series may not work despite the better SNR.
0 Kudos
Message 4 of 10
(6,549 Views)
Hi, Gustep. The 407x DMMs have a digitizer mode that preserves the low-frequency performance of the DMM. The signal path is the same for digitizer mode and DMM mode. You can do FFTs and separate the tones just like you can with a DAQ board.

Can I ask what range you're working with? +/-10V? What's your signal amplitude? And what degree of amplitude stability are you trying to measure? That is, +/- how many parts per million? You should be able to get really good results with both the 628x and the 407x products.

Chris
0 Kudos
Message 5 of 10
(6,532 Views)
Hi Chris,

I have a +/- 4.5V (9 Vpp) signal consisting of several tones, and I'm trying to resolve the tone amplitudes to within 3 microvolts (rms) or better if possible. That's roughly 1 ppm if I am not mistaken. I manage to get approximately this performance out of the PCI-6281 with a 1-second, 10kHz sample rate FFT, which results in a noise floor of roughly 2.5 microvolts (rms). For a single-tone signal at max amplitude, this noise floor would be around -120dBc, I think. To get this performance in 8-channel mode, I had to put eight analog anti-alias filters (-3 dB at ca. 10kHz) between my device and the signal inputs of the PCI-6281, one in each signal line. And furthermore, which components I use in my analog frontend also makes a difference.

If possible, I would like to improve the measurement resolution further, and two things caught my attention. First, switching over to a PCI-6221 decreased my measurement precision, all other things being equal. Second, the sales literature of the 24-bit DSA boards featured a beautiful FFT with a -150dBc noise floor on a single-tone signal. But thanks to your info on the digitizer mode of the 407x, I'll also look into that, even though apparently they only have up to 4 channels.


Message Edited by Gustep on 07-14-2008 08:00 PM

Message Edited by Gustep on 07-14-2008 08:01 PM

Message Edited by Gustep on 07-14-2008 08:02 PM
0 Kudos
Message 6 of 10
(6,505 Views)
Very interesting. At this point I think your best bet is the 6281. Its noise density on the +/-5V range is lower than that of the 4070 on the +/-10V range. The DMM offers ranges only in powers of 10. Although I suppose you could adjust your preamp to utilize the full +/-10V range of the DMM. But anyway, the DMM is a single-channel device, and it sounds like you need more channels.

Your sample rate of 10kS/s seems low to me. You'll get a lower noise density (i.e. lower noise for the same measurement time) with as fast a sample rate as you can manage, because that will reduce the aliasing of broadband noise. I'm worried about the multi=channel case, though. You may get "ghosting" and crosstalk, which couples signals from one channel to another and could easily corrupt measurements beyond the 1ppm level. In single-channel mode, you can enable the onboard lowpass filter, which lowers noise density somewhat.

I'm curious how you're testing your setup. What AC signal source do you have that is stable to 1ppm?

Regarding the DSA boards, I don't know their noise density offhand, nor do I have one to test. I'll try to find out how it compares. Its short-term stability may be adequate, but I'm pretty sure over the long term it will drift around much more than the 6281, which in turn will drift somewhat more than the 4070.

Chris
0 Kudos
Message 7 of 10
(6,496 Views)
It turns out that the PCI-6281 analog out is among the best AC signal sources that I have at this point - it is definitely better than a $1500 discrete function generator that I was using until just recently.

I still don't know if it is accurate to 1ppm - how is this defined? The amplitude accuracy from one sine cycle to the next sine cycle? I'd say, the 1-second average amplitude of as many sine cycles (i.e. the 500-cycle average amplitude for 500Hz) is probably reproducible to within 1ppm, i.e. from one second to the next.

I know that the AO is only 16 bits on this card, but some discrete generators have only 14 bits. Are you suggesting that this is one area that could be improved? I'm already sending the AO signal (DAC sampling rate is 100kHz or so) through a low-pass filter after generation, so I think as long as the 16-bit output is stable, the bit depth at the AO may not be a limiting factor right now.

I am indeed worried about settling time, which is why I try to find a compromise between sampling rate and channel cross-talk. Overall, cross-talk is a lesser concern, since the signals on different channels are largely identical and change very little over time, meaning that even with a bit of cross-talk, the final effect may be acceptable. I ran several cross-talk tests, and 10kHz seemed to work well, also in part because the FFT bins fall on nice frequencies this way, but yes, I may try to optimize that again. I don't want to lower the impedance of my AA filter too much, however, otherwise the switching noise from the MUX on the PCI-6281 seems to feed back into my analog frontend and exacerbate the noise.
0 Kudos
Message 8 of 10
(6,493 Views)
Well if the source of the signals you want to measure is the 6281, then measuring with the 6281 is a good idea, because the analog input and analog output circuits share the same reference on that board. Thus any drift in the reference will be ignored. I agree that it is one of the most stable AC sources around. I once tried to evaluate the measurement noise of the 4070 DMM for AC volts measurements, and I got better results using an M-series analog output, probably on a 6289, than I did with a Fluke 5700A calibrator or any other source I could find.

It sounds like you know what you're doing, and are watching out for the right things. I'd be interested in hearing more about your application if you're comfortable posting it.

Chris
0 Kudos
Message 9 of 10
(6,488 Views)

Hi, I have a similar issue. I'm trying to do quality stereo I/O measurements, using either an M series NI USB-6211 device, or a sound card.

I'm playing out two tones (4 kHz and 4.8 kHz) continuously and simultaneously measuring the signal with a microphone (particularly distortion components).

 

I can make the recordings using my USB-6211 DAC/ADC but the inherent glitches on the DAC output are just too high generating distortion components, and I would like to avoid implementing deglitching harware.

I can also record using my crappy laptop sound card, but it's SNR isn't very good.

Currently, with 16-bit I/O on either device, I'm restricted to a SNR of <80 dB, and the equipment noise+distortion is just above the signals that I'm trying to record.

 

So, I've been thinking about buying a quality 24-bit external sound card, like an E-Mu 0404 or similar M-Audio device, which would only cost around $250.

I realize that there are other more expensive NI DAC/ADC devices that could accomodate the quality I need for my recordings (such as the USB-6281, which has deglitching, or a PCI-4661), but I'd like a device that is both USB and doesn't cost an arm and a leg.

 

Amplitude stablity or drift isn't too much of an issue (I don't think), and as far as I can tell a quality external sound card would do the trick, but I'm not sure just yet.

Has anyone got any advice on whether I should use a sound card or stick with NI DAC/ADCs? Or how to remove the glitching on my USB-6211 output?

 

I'm quite willing to hear that I'm a moron and that I've overlooked something too (such as the noise floor or SNR being limited by 16-bit recording).

 

 

 

 

0 Kudos
Message 10 of 10
(6,187 Views)