Microcontroller Based Automatic Power Factor Correction for Single-Phase Lagging and Leading Loads


  • B. M. Rija Electrical and Electronics Engineering Department, Gaziantep University, Turkey
  • M. K. Hussain Department of Energy Engineering, University of Baghdad, Iraq
  • A. M. Vural Electrical and Electronics Engineering Department, Gaziantep University, Turkey
Volume: 10 | Issue: 6 | Pages: 6515-6520 | December 2020 | https://doi.org/10.48084/etasr.3916


Power Factor (PF) correction is a major power quality function in electrical distribution systems. This paper proposes a low-cost Automatic Power Factor Correction (APFC) system to increase the PF of both lagging and leading single-phase loads. The Arduino Mega 2560 microcontroller was used to calculate the PF and activate the relays that connect the capacitor/inductor banks to the load in parallel. Thus, the required capacitive or inductive reactive power was produced by the APFC system by automatically connecting the capacitor/inductor banks to the load in parallel. The APFC system can also measure and display many electrical parameters of the load such as the rms voltage, the rms current, PF, and the real, reactive, and apparent power on an LCD display. Two zero-crossing detector circuits are used to find the phase angle difference between voltage and current waveforms of the load. The measurement ability of the APFC system was tested for resistive, inductive, and capacitive loads with two different sizes. The measurement results were compared with the measurements of a commercial digital power meter and a measurement error of less than 8.0% was observed. The PF correction ability of the APFC system was verified for inductive and capacitive loads with two different sizes. The experiments show that the PF increased to close to unity for both lagging and leading loads.


power factor correction, reactive power compensationation, Arduino Mega 2560 microcontroller


Download data is not yet available.


S. Mane, R. Sapat, P. Kor, J. Shelar, R. D. Kulkarni, and J. Mundkar, "Microcontroller based Automatic Power Factor Correction System for Power Quality Improvement," in 2020 International Conference for Emerging Technology (INCET), Jun. 2020, pp. 1-6. DOI: https://doi.org/10.1109/INCET49848.2020.9154008

M. M. Uddin, A. A. Mahmud, and N. Islam, "Design Implementation of a Microcontroller Based Automatic Power Factor Rectification System for Different Loads," in 2019 1st International Conference on Advances in Science, Engineering and Robotics Technology (ICASERT), May 2019, pp. 1-6. DOI: https://doi.org/10.1109/ICASERT.2019.8934590

M. S. Zaky, H. Z. Azazi, and E. Touti, "PFC Control for LED Lamp Driver Using Sensorless Predictive Current Controller," Engineering, Technology & Applied Science Research, vol. 8, no. 5, pp. 3373-3379, Oct. 2018. DOI: https://doi.org/10.48084/etasr.2283

A. Tsolov and B. Marinova, "Optimal Power Factor for the Reactive Load of Small Hydro Power Plants," Engineering, Technology & Applied Science Research, vol. 8, no. 2, pp. 2755-2757, Apr. 2018. DOI: https://doi.org/10.48084/etasr.1909

A. Kayabaşi and R. Akkaya, "The design and implementation of a microcontroller-based single phase on- line uninterrupted power supply with power factor correction," in 2009 International Conference on Electrical and Electronics Engineering - ELECO 2009, Bursa, Turkey, Nov. 2009, pp. I-442-I-446.

V. Sehwag, V. Dua, A. Singh, J. N. Rai, and V. Shekhar, "Power Factor Correction Using APFC Panel on Different Loads," in 2018 2nd IEEE International Conference on Power Electronics, Intelligent Control and Energy Systems (ICPEICES), Delhi, India, Oct. 2018, pp. 73-77. DOI: https://doi.org/10.1109/ICPEICES.2018.8897359

W. Ali, H. Farooq, M. Jamil, A. U. Rehman, R. Taimoor, and M. Ahmad, "Automatic Power Factor Correction for Single Phase Domestic Loads by Means of Arduino Based TRIAC Control of Capacitor Banks," in 2018 2nd International Conference on Energy Conservation and Efficiency (ICECE), Lahore, Pakistan, Oct. 2018, pp. 72-76. DOI: https://doi.org/10.1109/ECE.2018.8554986

S. B. Jarad, V. D. Lohar, S. P. Choukate, and S. D. Mangate, "Automatic Optimization and Control of Power Factor, Reactive Power and Reduction of THD for Linear and Nonlinear Load by Using Arduino UNO," in 2018 Second International Conference on Inventive Communication and Computational Technologies (ICICCT), Coimbatore, India, Apr. 2018, pp. 1128-1132. DOI: https://doi.org/10.1109/ICICCT.2018.8473191

G. Adiningtyas, N. S. Lestari, A. Triwiyatno, and A. Warsito, "An Automatic Single Phase Power Factor Compensator using Fuzzy and Gain Scheduling," in 2019 IEEE Conference on Energy Conversion (CENCON), Yogyakarta, Indonesia, Oct. 2019, pp. 12-17. DOI: https://doi.org/10.1109/CENCON47160.2019.8974735

X. Qiao, J. Bian, C. Chen, and H. Li, "Comparison and Analysis of Reactive Power Compensation Strategy in Power System," in 2019 IEEE Sustainable Power and Energy Conference (iSPEC), Beijing, China, Nov. 2019, pp. 689-692. DOI: https://doi.org/10.1109/iSPEC48194.2019.8975301

F. Zheng and W. Zhang, "Long term effect of power factor correction on the industrial load: A case study," in 2017 Australasian Universities Power Engineering Conference (AUPEC), Melbourne, Australia, Nov. 2017, pp. 1-5. DOI: https://doi.org/10.1109/AUPEC.2017.8282382

W. Qin, P. Wang, X. Han, and X. Du, "Reactive Power Aspects in Reliability Assessment of Power Systems," IEEE Transactions on Power Systems, vol. 26, no. 1, pp. 85-92, Feb. 2011. DOI: https://doi.org/10.1109/TPWRS.2010.2050788

P. N. Ekemezie, "Design of a power factor correction ac-dc converter," in AFRICON 2007, Windhoek, South Africa, Sep. 2007, pp. 1-8.


How to Cite

B. M. Rija, M. K. Hussain, and A. M. Vural, “Microcontroller Based Automatic Power Factor Correction for Single-Phase Lagging and Leading Loads”, Eng. Technol. Appl. Sci. Res., vol. 10, no. 6, pp. 6515–6520, Dec. 2020.


Abstract Views: 1018
PDF Downloads: 452

Metrics Information
Bookmark and Share