03-05-2007 06:58 PM
03-05-2007 10:40 PM
03-06-2007 04:24 AM
03-07-2007 03:32 AM
back to my first reply ...: if you want to measure a 50HZ rms signal you need a (much) higher sampling rate than 100ms!!!
If you sample a 50Hz sinewave every 100ms you get a pur DC signal because you make one measurement at the same point every fives wave.One 50Hz wave take 20ms (1s/50)
However you can try a sampling rate a little of the main frequenz 11ms (if possible ) or 99ms ....
If you sample with 99ms you need 20 values to get an idea of your 50Hz wave. Since your system isn't ideal you might need 10 or 100 times more samples to get a reasonable result.
Make youself familay with BASICS of nyquist theorem and undersampling and how to determ the minimum sampling rate for your signal. Sorry for sounding a little picky. It's learning by *DBOING*