The problem of interfacing a PV Generator (PVG) with a three phase grid is addressed in the presence of nonlinear loads. The connection of the PVG to the grid is performed in two stages with both a DC/DC converter and a multilevel inverter. This latter is based on a Neutral Point Converter (NPC) topology operating simultaneously as an interfacing system and as an active power filter. The main objectives of the proposed control system are threefold: (i) transferring the extracted power from PVG to the grid; (ii) cancelling the load current harmonics and compensating the reactive power requirement of non-linear loads; (iii) balancing capacitor voltages and regulating the DC bus voltage. To this end, two nonlinear closed loop controls are developed on the basis of the averaged PV system model. The control system includes an AC current controller designed by the Backstepping control technique, and a DC bus voltage controller which is designed by the sliding mode control technique. The formal analysis of the control system performances is carried out on the basis of Lyapunov's stability and Averaging Theory. Simulations show that the proposed control system achieved the listed objectives under a widely varying load and solar irradiance profile.