Improving the PQ Harmonic Detection Method for Active Power Filters in Single-Phase Power Systems
Main Article Content
Abstract
This study presents a novel improvement to the instantaneous power theory (PQ) for harmonic detection in active power filters (APFs) applied to single-phase power systems. The method is designed to eliminate harmonic currents and improve the power factor for nonlinear loads. The key contribution of this research is the development of the PQ-based harmonic detection method that significantly reduces computation time and supports electrical systems with distorted voltage sources while preserving the filter’s performance. The proposed method was verified through real-time simulation with the OPAL-RT hardware. Test results indicate that the percentage of the total harmonic distortion of source current (%THDi) was reduced from 18.11% (before compensation) to 0.16% after applying the improved PQ methods. This value is lower than the traditional PQ method and complies with IEEE standard 519-2022. Moreover, the power factor was also improved to a unity after the compensation. In addition, the improved PQ method provided computation time reduction up to 42.76% compared to the combined PQ method. The improved PQ method achieved these results with lower computational complexity, making it a practical and reliable solution for implementation in microcontroller-based real-time control systems while optimizing the resources of the high-performance microcontroller, underscoring its suitability for resource-constrained embedded systems in practical APF applications.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
This journal provides immediate open access to its content on the principle that making research freely available to the public supports a greater global exchange of knowledge.
- Creative Commons Copyright License
The journal allows readers to download and share all published articles as long as they properly cite such articles; however, they cannot change them or use them commercially. This is classified as CC BY-NC-ND for the creative commons license.
- Retention of Copyright and Publishing Rights
The journal allows the authors of the published articles to hold copyrights and publishing rights without restrictions.
References
V. Nuñez-Ramírez et al., “Harmonic distortion caused by non-linear household loads: measurement and modelling,” Results in Engineering, pp. 104483, 2025.
Q. Liu, F. Liu, Y. Li, and S. Wang, “Harmonic modeling and harmonic contribution determination:
A case study of industrial power supply system,” Electric Power Systems Research, Vol. 217, pp. 109122, 2023.
C. Panpean, K-L. Areerak, P. Santiprapan, K-N. Areerak, and S. S. Yeoh, “Harmonic mitigation in electric railway systems using improved model predictive control,” Energies, Vol. 14, No. 7, pp. 2012, 2021.
N. Radwan-Pragłowska, D. Mamcarz, P. Albrechtowicz, and B. Rozegnał, “The current Harmonic impact on active power losses and temperature distribution in power cables,” Energies, Vol. 17, No. 16, pp. 4170, 2024.
Z. M. Ali, M. Ćalasan, F. Jurado and S. H. E. Abdel Aleem, “Complexities of Power Quality and Harmonic-Induced Overheating in Modern Power Grids Studies: Challenges and Solutions,” IEEE Access, Vol. 12, pp. 151554-151597, 2024.
H. Farzin, M. Monadi, M. Fotuhi-Firuzabad, and M. Savaghebi, “A reliability model for overcurrent relays considering harmonic-related malfunctions,” International Journal of Electrical Power & Energy Systems, Vol. 131, pp. 107093, 2021.
G. Mazzanti, B. Diban, E. Chiodo, P. De Falco, and L. P. Di Noia, “Forecasting the reliability of components subjected to harmonics generated by power electronic converters,” Electronics, Vol. 9, No. 8, pp. 1266, 2020.
Y. K. Sharma and M. R. Vijay, "Capacitor Banks and its Effect on Power System with High Harmonics Loads," Proceeding of 2018 3rd International Conference for Convergence in Technology (I2CT),
pp. 1-6, 2018.
D. Oyedokun and P. Jankee, “Power system harmonic analysis with real geomagnetically induced current from the 2003 halloween storm,” Scientific African, Vol. 22, pp. e01951, 2023.
D. Li, T. Wang, W. Pan, X. Ding, and Jie Gong, “A comprehensive review of improving power quality using active power filters,” Electric Power Systems Research, Vol. 199, pp. 107389, 2021.
M.-C. Wong, Y. Pang, Z. Xiang, L. Wang, and C.-S. Lam, “Assessment of active and hybrid power filters under space vector modulation,” IEEE Transactions on Power Electronics, Vol. 36, No. 3, pp. 2947–2963, 2020.
P. Santiprapan, K. Areerak, and K. Areerak, “An adaptive gain of Proportional-Resonant controller for an active power filter,” IEEE Transactions on Power Electronics, Vol. 39, No. 1, pp. 1433–1446, 2023.
L. L. d. Souza, N. Rocha, D. A. Fernandes, R. P. R. d. Sousa and C. B. Jacobina, “Grid Harmonic Current Correction Based on Parallel Three-Phase Shunt Active Power Filter,” IEEE Transactions on Power Electronics, Vol. 37, No. 2, pp. 1422-1434, 2022.
H. Akagi, E. H. Watanabe, and M. Aredes, Instantaneous Power Theory and applications to power conditioning, John Wiley and Sons, Inc., New Jersey, 2017, ch. 3.
M. Padungsin, T. Narongrit, and K. Areerak, “The Comparison Study of Harmonic Detection Algorithms for Single-Phase Power Systems,” Proceeding of 2018 5th International Conference on Electric Power and Energy Conversion Systems (EPECS), pp. 1-6, 2018.
C. Panpean, K. Areerak, K. Areerak, S. Udomsuk and P. Santiprapan, “The Harmonic Detection for Co-Phase Railway System in Distorted Voltage Source Condition,” Proceeding of 2019 16th International Conference on Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology (ECTI-CON), pp. 545-548, 2019.
P. Santiprapan, K. Areerak, and K. Areerak, “A novel harmonic identification algorithm for the active power filters in non-ideal voltage source systems,” Journal of Power Electronics, Vol. 17, No. 6, pp. 1637–1649, 2017.
M. Takeda, K. Ikeda, A. Teramoto and T. Aritsuka, “Harmonic current and reactive power compensation with an active filter,” Proceeding of PESC '88 Record., 19th Annual IEEE Power Electronics Specialists Conference, pp. 1174-1179, 1988.
IEEE Standard for Harmonic Control in Electric Power Systems. IEEE Std 519-2022 (Revision of IEEE Std 519-2014), pp. 1-31, 2022.
C. Panpean, P. Santiprapan, J. Homjan, and K-L. Areerak, “An enhanced sliding window Fourier analysis with a time delay compensation for single-phase active power filter,” AEU - International Journal of Electronics and Communications, Vol. 190, pp. 155647, 2025.
IEEE Recommended Practice for Monitoring Electric Power Quality,” in IEEE Std 1159-2019 (Revision of IEEE Std 1159-2009), pp.1-98, 2019.