In this paper proposes a single-phase seven-level inverter for grid-connected photovoltaic systems, with a novel pulse width-modulated (PWM) control scheme. Three reference signals that are identical to each other with an offset that is equivalent to the amplitude of the triangular carrier signal were used to generate the PWM signals. The inverter is capable of producing seven levels of output-voltage levels (Vdc, 2Vdc/3, Vdc/3, 0 ,−Vdc,−2Vdc/3,−Vdc/3) from the dc supply voltage. The photovoltaic (PV) energy is presented as one of the most promising source of clean energy, and so a good way for greenhouse gas emissions mitigation and reduce the fossil fuel dependence. Within it, the photovoltaic energy has caused a huge interest in the electronic converters, and the need to improve their efficiency and reducing their cost. With this work I present a solution for a module scale grid-connected single-phase inverter. The solution consists in a two-stage inverter insolated with a grid line transformer. To the boost control it is implemented a Maximum Power Point Tracking algorithm that can optimize the power extraction from the PV source and for the inverter it is used a sliding mode hysteretic control.