Use of Butterworth Filters for Real Time RMS Value Measurement
Abstract
RMS (Root Mean Square) value is the most common value that is used quantitative evaluation of currents and voltages in electrical energy systems. The most commonly used method to obtain this value is based on numerical integration of the signal. Methods based on numerical integration have disadvantages such as high computational load, requiring precise determination of frequency and being sensitive to noise. As an alternative method, methods based on filtering for RMS calculation do not have the disadvantages mentioned. In this study, RMS value calculation using digital low-pass Butterworth filter is introduced and investigated. For investigation, Butterworth filters with various orders and cut-off frequencies are simulated and compared in MATLAB. The response of this filtering-based method to sudden changes in the amplitude and frequency of the input signal is also simulated and examined. The results clearly demonstrate that the method is suitable for real-time RMS value computation, with its low computational load and robustness to frequency changes.
References
Wang, F., & Bollen, M. H. (2004). Frequency-response characteristics and error estimation in RMS measurement. IEEE transactions on Power Delivery, 19(4), 1569-1578.
Eski, A., Zavalani, O., & Komici, D. (2017). RMS Value Measurement Using a Meter Based on ARM Cortex-MO Microprocessor. European Journal of Electrical Engineering and Computer Science, 1(2).
Novotny, M., & Slepicka, D. (2005, May). Uncertainty analysis of the phase and RMS value by non-coherent sampling in the frequency domain. In 2005 IEEE Instrumentationand Measurement Technology Conference Proceedings (Vol. 3, pp. 2114-2117). IEEE.
Vatansever, F., & Ozdemir, A. (2008). A new approach for measuring RMS value and phase angle of fundamental harmonic based on wavelet packet transform. Electric power systems research, 78(1), 74-79.
El-Hawary, M. E. (2001). Wavelet packet transform for RMS values and power measurements [J]. IEEE Power Engineering Review, 49-51.
Serov, A. N., Serov, N. A., & Makarychev, P. K. (2020, April). Comparative analysis of the RMS measurement methods based on the averaging of the squares of samples. In 2020 30th International Conference Radioelektronika (RADIOELEKTRONIKA) (pp. 1-6). IEEE.
Mujumdar, U. B., & Joshi, J. S. (2010, December). Microcontroller based true RMS current measurement under harmonic conditions. In 2010 IEEE International Conference on Sustainable Energy Technologies (ICSET) (pp. 1-5). IEEE.
Serov, A. N., Shatokhin, A. A., Serov, N. A., Dolgacheva, E. A., Makarychev, P. K., & Tzvetkov, P. M. (2023, October). A Technique for Improving the Accuracy of RMS Measurement for the Low-Pass Filtration Method. In 2023 International Conference on Electrical Engineering and Photonics (EExPolytech) (pp. 144-147). IEEE.
Suhanova, K. A., & Serov, A. N. (2020, September). Application of simulink for simulation of the RMS measurement method based on low-pass filtration. In 2020 International Russian Automation Conference (RusAutoCon) (pp. 571-576). IEEE.
MathWorks. (2025). MATLAB (R2025b). The MathWorks, Inc. https://www.mathworks.com.