A control method based on the gray wolf optimization algorithm is proposed to solve the problem of the maximum power tracking under the partial shadow of photovoltaic array.The experimental results show that compared with the conventional multi-peak tracking algorithm,the proposed algorithm has higher efficiency and better stability,and at the same time reduces the system output signal distortion.Moreover,it shows superior control performance under different photovoltaic array structures and shadow states.