A new sliding-mode-control-based power conversion scheme is proposed for photovoltaic energy conversion systems. The perturbation and observation (P&O) maximum power-point tracking (MPPT) approach is adopted for optimizing the power generation capabilities from solar panels. Due to the inherent nonlinear dynamics of power converters, we need to adopt a nonlinear control approach to optimize the energy conversion efficiency and tolerate the fluctuations and changes of load and sunlight irradiance. In this manuscript, novel first-and higher-order sliding mode control approaches are proposed, aiming to provide a systematic approach for the robust and optimal control of solar energy conversion, which guarantees Lyapunov stability and consistent performance in the face of external perturbations and disturbances. Moreover, to eliminate the chattering phenomenon inherent in the first-order approach, super-twisting second-order sliding mode control is developed for the buck-boost converter. Furthermore, the output of DC–DC converter supplies a voltage-oriented-control (VOC)-based space-vector pulse-width-modulated inverter to generate three-phase AC power to the grid. To demonstrate the robustness and effectiveness of the proposed scheme, computer simulations and dSPACE hardware-in-the-loop platform have been carried on for examining the proposed sliding-mode-control-based solar energy conversion system.