This document presents two multilevel inverter topologies for interfacing a photovoltaic system to the power grid: a single-phase five-level inverter and a seven-level inverter. The five-level inverter uses pulse width modulation with two reference signals, while the seven-level inverter uses three reference signals. Both inverter topologies provide lower total harmonic distortion compared to a conventional H-bridge inverter. A proportional-integral controller is used to regulate the current injected into the grid and maintain a constant DC link voltage under varying solar irradiance conditions. Simulation results in MATLAB/Simulink verify the operation and performance of the proposed multilevel inverter systems for grid-connected photovolta