The Unified Power Quality Conditioner plays an important role in the constrained delivery of electrical power from a source to an isolated pool of load or from a source to the grid. This article is presented new control approaches for both series and shunt inverter. The proposed control algorithm for series and shunt converters based on FLC and synchronous reference frame theory respectively. The proposed approach eliminates the total harmonic distortions (THD) efficiently, and mitigates sag and swell present in the linear and nonlinear loads.