08-08-2007 08:33 PM
08-09-2007
05:08 PM
- last edited on
03-26-2025
11:18 AM
by
Content Cleaner
Hi Drew,
Thank you for posting on the National Instruments forums.
What you are seeing is a combination of a few factors. First, what the SINAD does is take the frequency it is looking at and the takes the next highest frequency it sees and uses that to compare to. So when you sample at 150k, you have that signal at 50k which the SINAD is using to compare to. That is why you are seeing 30-40dB. The reason the window is so bad is shown if you zoom in on the power spectrum, you’ll see that there is a peak at the frequency, but there are other signals that are pretty close a frequency or two above and below the frequency of the sine wave. That causes the SINAD of about 2dB that you are seeing when using a window. Another factor is when you sample at frequencies that are not multiples of the signal, then you are aliasing the signal which creates harmonics which the SINAD again is reading and comparing the signal frequency to.
Filtering might help out with your issue. It might be possible to use a lowpass filter to filter out the high frequency harmonics. You will also want to make sure and use a sampling rate that is a multiple of the signal.
As a last resort, you could get one of our DSA cards which have built in delta-sigma filtering that will make your signal cleaner and give you a more accurate SINAD.
08-09-2007 06:18 PM
08-10-2007 02:41 PM
08-10-2007 03:02 PM
Chris,
Thanks for your inpuit. I understand where the 50KHz is coming from now. I did change the DAC update rate last night to 1Msps as well as tried to lock it in at my analog sampling rate. I however did not clock them the same since I have a very complicated clocking scheme (not shown in the VI that I sent you). Essentially I use two counters to generate a digital output clock (for a MUX) and the second clock for an analog input. The MUX clock is 8x faster to allow for setting, setup, and selecting the two channels.
I actually do have 32 channels, I use 2 MUX's and 2 AI. Each channel has 16 sensors attached to it.
Filtering is very difficult to do in my application. It is a TDM signal so the AAF must settle to 16-18bits within 2us, ideally a little less. This means that the filter cannot be very agressive. I have attempted to add a filter on every sensor (just an RC low pass) since I am only interested in a 1KHz BW of the sensor. This still wasn't a huge benefit unfortunately.
I don't want to get too in-depth into the application, but essentially what we have is a resistive sensor that acts like a mixer with an external excitation. I excite this sensor with a 500Hz sine wave and then I am interested in measuring a 700Hz tone (the external field is 200Hz so it mixes into a 700Hz tone).
The signal path consists of a non-inverting amplifier (the sensor is in the feedback path), a differential MUX (one half for sensors and the other half for reference sensors), then an instrumentation amplifer that does the differencing and converts the signal to a differential signal for the ADC.
I woild be more than happy to share my complete VI with you if you would like.
- Drew
08-10-2007 03:32 PM
01-28-2008 10:27 PM