* Corresponding author: Garima Sinha, Department of Electronic Engineering, Jaipur National University, Jaipur, Rajasthan, India, 302017 , E-mail: grmsinha@gmail.com 1 Department of Electronics Engineering, Jaipur National University, Jaipur, Rajasthan, India, 302017 Copyright © JES 2018 on-line : journal/esrgroups.org/jes Garima Sinha 1,* , Pankaj Kumar Goswami 1 , Sudhir Kumar Sharma 1 J. Electrical Systems 14-3 (2018): 87-98 Regular paper                                                                                                                                                                       !        "                       #$%$&                ’() *! +                ,(-()*!         ’.,)            ///  01, Keywords: Power factor correction (PFC); PID controller; Power quality; Total Harmonic Distortion (THD); Active Power Filter; MATLAB/Simulation. Article history: Received 3 April 2018, Accepted 22 July 2018 1. Introduction With respect to rapid growth of technology, the electronic devices are used extensively in daily life applications. Most of the appliances like, refrigerator, microwave, television, laptop, desktop, mobile-phone charger etc. are electronic devices [1]. In principle, to obtain, the required operating dc voltage for electronic devices, a suitable converter is employed for the purpose of conversion of high voltage AC into low voltage filtered DC output for proper and sustainable functioning. This can be obtained by the combination of transformer and rectifier. But, since the rectifier consists of diode which is a non-linear device (whose V-I characteristics is not linear), it is observed that as the line current passes through the rectifier it gives DC output with ripples. These ripples when inject in the line current they create harmonics and the sinusoidal current becomes distorted or non-sinusoidal, which causes harmonic distortions in the current flowing through other appliances connected with the same supply as shown in figure 1(a). This distortion may also lead to hazardous radiations produced by inadequate performance of equipment on harmonic distorted feed figure 1(b). Many researchers have keen interest to find out these harmonics and their long