To address the multi-peak characteristics of the P-U output characteristic curve when the photovoltaic array is partially shaded, a Maximum Power Point Tracking (MPPT) method combining Harris Hawk optimization, and a variable step conductance increment method is proposed in this article. Although the Harris Hawk Optimization algorithm has advantages in optimizing multi-modal P-U curves, when the lighting conditions suddenly change, the output characteristic curve will undergo drastic changes, causing the algorithm to oscillate repeatedly at the maximum power point. Moreover, due to its inherent limitations, the Harris Hawk algorithm has a low convergence accuracy, slow tracking speed, and is prone to getting trapped in a local optimum. In order to compensate for the shortcomings of the Harris Hawk Optimization algorithm, the variable step conductance increment method is switched for local exploration to improve the algorithm’s ability to escape from the local optimal solution and reduce power oscillation. Finally, the MPPT control of the proposed strategy was simulated and verified on the MATLAB/Simulink simulation (2021) platform. In the MPPT test experiment, the proposed composite algorithm was applied to simulate and verify uneven irradiance conditions.