Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
This formula only applied to PURE sinewave signal. Nowsaday many electrical appliances, e.g. adjustable speed drives, tend to introduce harmonics into electrical system. Consequently, the signal might not be PURE sinewave anymore.djalli said:Why not rule of thumb:
(Vpeak-to-peak)*(0.707) = Vrms
(Vrms)/(0.707) = Vpeak-to-peak
?
But to reply july's problem, in my opinion, it's a little bit easier to perform method proposed by Hughes as quoted below:july said:Can anyone tell me how to calculate the RMS values using MCU?
If I'm not mistaken, we need to perform FFT in microcontroller to obtain all harmonics, which I think the FFT method will consume more computational power.Hughes said:VRMS=sqrt(sum(V*V)/N), n=1~N
If I'm not mistaken, we need to perform FFT in microcontroller to obtain all harmonics, which I think the FFT method will consume more computational power
I'm sorry that I don't have any project that performs RMS calculation based on FFT using MCU. The data for those plots in my previous post were obtained from Fluke Power Analyser. Normally, we acquire/sample the voltage/current and then send the data to PC to process (e.g. using Matlab or writing our own program to calculate). Well, if you wish to implement FFT method to find harmonics and therefore the RMS value of voltage or current, probably you would like to consider using FFTW (Fastest Fourier Transform in the West)( http://www.fftw.org/ ). Some people claim FFTW is more efficient than conventional FFT. By the way, do you mind to share some background on your application?july said:Do you know some project which concern?If I'm not mistaken, we need to perform FFT in microcontroller to obtain all harmonics, which I think the FFT method will consume more computational power
Thanks