11-22-2007 06:35 AM
11-22-2007
09:04 AM
- last edited on
07-23-2025
12:22 PM
by
Content Cleaner
11-26-2007
02:16 PM
- last edited on
07-23-2025
12:23 PM
by
Content Cleaner
Hi das.rana,
Pelle is correct that the filters are adjusted based on the sampling rate that you specify. I would also like to add that you are correct in stating that the sampling rate on the 9233 goes from 2KS/s to 50KS/s. The input frequency should be half of the sampling frequency to account for the Nyquist rate (max 25KHz). The specific data rates that can be specified by the 9233 are shown on page 16 of the manual which can be found here. I would also like to add that there is a great article that talks more about the sigma conversion method.
I hope this helps,
Paul C.
11-27-2007 02:18 AM
01-04-2008 05:00 AM
According to the NI9233 manual and this forum the sampling rates could be between 2 KHz to 50 KHz. Now I have a question which is the recommendable sampling rate in order to avoid noise. I am just interested in signals with low frequencies but there is not a problem to acquire data with 50 KHz of sampling rate and then decimate to the frequency of interest, so is the same to acquire data with 2 KHz and with 50 KHz? Thanks for your answer
01-07-2008
11:39 AM
- last edited on
07-23-2025
12:25 PM
by
Content Cleaner
Hello Rafo,
I'm not sure that I completely understand your question, but let me try to provide some information regarding the sample rates of the NI 9233. As you noted, the NI 9233 has valid data rates from 2 kHz to 50 kHz. So, what exactly do you mean by "is the same to acquire data with 2 KHz and with 50 KHz?"
One difference between data rates is described briefly above by Pelle S; the cutoff frequency of the antialiasing filter will be determined by the data rate you specify. So, if you specify a data rate of 2 kHz, the cutoff frequency of the filter would be 1 kHz due to the nyquist theorem. However, if you increase your data rate to 50 kHz, the cutoff frequency of the filter would increase to 25 kHz. This idea is demonstrated by Figure 5 on page 11 of the NI 9233 Operating Instructions and Specifications, here. I have copied the image below for your reference:
The cutoff frequency is important because, depending on the frequency of the noise you are trying to reject, it may be better to sample at a lower rate so that the filter can eliminate the high frequency components. For example, if you are trying to sample a 1 kHz signal and there is noise at 10 kHz, then it would be better to sample at a frequency below 20 kHz so that the filter will eliminate the noise component at 10 kHz. I hope this information addresses your question, let us know if you have any other questions.
Message Edited by Matt A on 01-07-2008 11:39 AM
01-07-2008 12:19 PM
01-07-2008 03:24 PM
01-07-2008
04:00 PM
- last edited on
07-23-2025
12:27 PM
by
Content Cleaner
Hello Rafo,
You could use a technique called dithering to oversample your signal and then average out white noise components over your required period. This topic is covered in a tutorial online that covers general analog input topics here. While dithering generally occurs in hardware, you could apply the same theory to perform an average on an oversamples signal in software. The Field Wiring and Noise Considerations tutorial here also discusses problems with signal noise and some processing steps to avoid them.
Perhaps I was unclear in my earlier post, but I think we are saying the same think. From my post: "then it would be better to sample at a frequency below 20 kHz so that the filter will eliminate the noise component at 10 kHz." Sampling a 1 kHz signal at 2 kS/sec would allow the filter to block any frequency components over 1 kHz, but it would also give you a very ugly signal (basically a triangle wave where the peaks are equal to the point in the sine where the sampling occurs). Though nyquist dictates that you must sample at 2x your frequency of interest to obtain the frequency information, it is generally recommended to sample at 10x your frequency of interest to get a better picture of what the signal looks like. So, going back to the previous example if we have a 1 kHz signal and 10 kHz noise and sample at 2 kS/sec, we will get 2 sample points per period of our signal and block the noise signal with the anti-aliasing filter. However, if we sample a little faster than that (say 10 kS/sec) we will still block the 10 kHz noise because the filter cutoff will be at 5 kHz, but we will also get more samples per period. In this case we'd be getting about 15 sample points per period of our signal rather than the 2 we were getting at 2 kS/sec.
I also wanted to address Wilfried's point about the AC coupling. Though the NI 9233 is designed for acquiring dynamic signals, it does have relatively good low frequency performance. Page 14 and 15 of the NI USB-9233 User Guide and Specifications provides the following information about AC cutoff frequencies:
AC cutoff frequency
–3 dB ...............................................0.5 Hz typ
–0.1 dB ............................................4.2 Hz max
So, depending on the level of attenuation that is acceptable in your application, you should still be able to use this device.
Message Edited by Matt A on 01-07-2008 04:02 PM
01-08-2008 11:12 AM