Issue with DAQ rms measurement variation with frequency




Answers (1)
0 votes
4 Comments
Aaron? Thanks for the info. For frequency <=100 Hz, ReadTime is exactly 20/freq, i.e. exactly 20 cycles. The rms value varies little since you sample an exact integer number of cycles. For frequency >100, the sample time=0.2 s, so there’ll be a non-integer number of cycles. The phase of the signal when you start sampling is basically random, since you don’t sync your acquisition with the phase. So you get a partial cycle, from a random part of the waveform, with each acquisition. This adds variability to the rms value. But there are more exact integer cycles in the sample when freq is high, so the noise from the fractional cycle is smaller at high freqs. This explains your observations.

Categories
Find more on Waveform Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!