Home > Community > FPScript > calculate the true RMS value > Antwort auf: calculate the true RMS value

#12801
MAZOYER ThomasMAZOYER Thomas
Teilnehmer

Hello,

how can I calculate the “true” RMS value of a signal whose frequency varies ?
I try with the formula of the RMS “Mean(MySignal, MEAN_SQUARE + CALC_BLOCK, xx)”, but as the frequency varies, the CALC_BLOCK “xx” varies to !

My problem is with the Block-by-block calculation, where One value is calculated per interval, which interval is not constant due to frequency.

In the example join, the interval lengh is more than 1000 points at the beginning, and around 50 points at the end so I can not calculate the RMS value by block.