Due to the nonlinear nature of photovoltaic (PV) cells and the dependence of the maximum achievable power on environmental conditions, a robust nonlinear controller is essential to warrant maximum power point tracking (MPPT) by managing the nonlinearities of the system and making it robust against varying environmental conditions. Most methods used to obtain MPPT have some disadvantages; one of them is the oscillation around the operating point. In this paper, to minimize these problems, a robust nonlinear sliding mode controller based on the power curve of a PV (SMC-PCPV) was proposed to determine the maximum power point (MPP) of a PV panel, for a quasi Z-source inverter (qZSI) as a single-stage inverter. Single-stage inverters have lower components and prices, smaller sizes, more simplicity, and higher efficiency than two-stage inverters. One of the important features of this controller is its ease of implementation compared to other methods presented in the articles. To show the effectiveness and robustness of the proposed scheme, the SMC-PCPV was carried out on computer simulations and laboratory prototypes. The simulation and experimental results showed that the proposed controller was properly resistant to changes in input parameters, such as temperature and radiation, and controlled the converter at the best point to obtain the most power from the PV panel, and it had good speed in response to the changing environmental condition.