Hello All,
I would like to do a continuous RMS calculation in the C2000's MCU core using digital calculations. Essentially I have a potentially noisy sine wave with potentially varying amplitude that I would like to do a digital "RMS to DC" conversion on.
My understanding of the RMS calculation is that it is: sqrt{ (1/period)*integral(x[n]^2) }. Does this change for a continuous streaming RMS calculation? Does anyone have any suggestions on how I might sensibly do this?
Thank you,
Alex