This document presents an adaptive control scheme for maximizing power output from a grid-connected photovoltaic (PV) system, addressing challenges posed by varying environmental conditions. The approach utilizes an online sliding mode estimator to dynamically manage three parameters influenced by solar irradiance and temperature without needing sensors for these variables. The paper emphasizes the robustness of the proposed controller in maintaining optimal performance under uncertainties and non-linear behaviors typical in PV systems.