This paper proposes a robust maximum power point tracking algorithm based on a super twisting sliding modes controller. The underlying idea is solving the classical trajectory tracking control problem where the maximum power point defines the reference path. This trajectory is determined through two approaches: a) using the simplest linear and multiple regression models that can be constructed from the solar irradiance and temperature, and b) considering optimum operating parameters derived from the photovoltaic system’s characteristics. The proposal is compared with the classical methods Perturbation and Observation and Incremental Conductance, as well as with two recently reported hybrid algorithm based on Artificial Neural Networks: one uses the Levenberg-Marquardt algorithm and the other applies Bayesian regularization to generate current and voltage references, respectively. Both use a Proportional-Integral-Derivative controller to solve the maximum power point tracking problem. Numerical simulations confirm the effectiveness of the method proposed in this work regarding convergence time, power efficiency, and amplitude of oscillations. Furthermore, it has been shown that, although no significant differences in the system response are observed with respect to the Artificial Neural Networks-based methods, the proposed algorithm with a reference generated through a linear regression constitutes a low-complexity solution that does not require a temperature sensor to efficiently solve the maximum power point tracking problem.