•   Ajakida Eski

  •   Orion Zavalani

  •   Denald Komici


Since in Albania are still present the electromechanical meters, an urgent need to control the electricity consumption with an efficient and reliable system requires the use of the most modern measurement techniques and the realization of energy measurement devices with more efficiency and precision. This paper provides a software implementation of the real power measurement using an ARM Cortex MO, PSoC4 microcontroller which is responsible for executing algorithms required for the calculation and ensures high performances and low cost. A software based Average Active Power Converter is presented to calculate the real power from the voltage and current signals. This paper briefly covers the mathematics of active power and offers a measurement algorithm based in IIR digital filter, which is more versatile when compared to the analogue filters in their characteristics such as programming flexibility, ability to handle both low as well as high frequency signals accurately. To check the performance of the proposed measurement system, the calculated active power from the standard values of voltage and current is compared to the measured active power from our system and is concluded that the meter has been successfully completed.

Keywords: Algorithm, Digital Filter, Active Power


Charles K. Alexander, Matthew N.O. Sadiku, “Fundamentals of Electric Circuitsâ€.

Ronald J. Tocci, Neal S. Widmer, Digital System, Principles and Applicationsâ€, Eighth Edition, ISBN 0-13-085634-7, 2001.

Steven W. Smith, Digital Signal Processing, Second Edition, 1999

Martin Mienkina, “Filter-Based Algorithm for Metering Applicationsâ€, AN4265, Rev.4, 04/2016.

Rui Guo, “Efficient Hardware Implementation Techniques for Digital Filtersâ€, Summer 2011.

S. Tumanski, “Principles of Electrical Measurement†Taylor & Francis Group, ISBN 0-7503-1038-3, 2006.

Taylor, Fred J., Digital ï¬lters: principles and applications with MATLAB.—(IEEE series on digital & mobile communication; 30) ISBN 978-0-470-77039-9,2012

P.Petrovic, “New Digital Multimeter for Accurate Measurement of Synchronously Sampled AC Signals,†IEEE Trans. Instrum.Meas., vol. 53, pp. 716–725, June 2004.


Download data is not yet available.


How to Cite
Eski, A., Zavalani, O. and Komici, D. 2017. The Implementation of a Digital Filter-Based Algorithm for Active Power Measurement using an ARM Microcontroller. European Journal of Electrical Engineering and Computer Science. 1, 3 (Dec. 2017). DOI:https://doi.org/10.24018/ejece.2017.1.3.5.