??? 11/11/06 11:44 Read: times |
#127775 - How about this method for THD. Responding to: ???'s previous message |
Dear Friends,
1. Measure the Line frequency to determine sampling interval. 2. Take 64 samples in one cycle using sampling interval above. 3. Determine RMS of the sample and call it SIGNALRMS. 4. Do 64 point FFT on above data and compute peak amplitude of fundamental amplitude[1] in Albertos code. 4. Compute TRMS of fundamental by Peak Amplitude of fundamental / 1.414 and call it FUNDRMS 5. Now THD = (SIGNALRMS-FUNDRMS)*100/SIGNALRMS will the above method work or ther are any loopholes. Thanks & Regards, Prahlad Purohit |