This document describes a proposed system for improving power quality in solar photovoltaic systems using a fuzzy logic controller. The system uses a single-phase inverter controlled by a predictive control algorithm to perform maximum power point tracking from the PV array and deliver power to the grid, while also compensating for current harmonics and reactive power from nonlinear loads. A fuzzy logic control method is applied for maximum power point tracking to handle model uncertainties and nonlinearity. The performance of the proposed system is evaluated using MATLAB simulation.