Based on research into Photovoltaic (PV) systems under diverse conditions, and a new maximum power-point tracking approach was developed. Due to the presence of variable circumstances, PV curves have several peaks, decreasing the efficiency of the conventional techniques. As a result, the suggested algorithm, based on the technique of particulate swarm (PSO) optimization, enhances the output power of photovoltaic (PV) systems under such abnormal conditions and outperforms existing methods. The suggested method is evaluated using MATLAB under numerous scenarios involving non-uniform irradiation and varying temperature levels, and to investigate its performance sufficiently, the outputs of the method suggested are compared for the P&O technique This study aims to explain the design and simulation of a particle swarm optimization (PSO) technique with a boost converter for determining the maximum permissible power of solar photovoltaic panels under changing climatic conditions. The simulations showed that the tracker ability of the PSO algorithm is highly effective, much quicker, and has a shorter settling time and overshoot than conventional techniques.