Photovoltaic cells has a unique maximum power point under given condition of certain environment temperature and sunshine intensity. The paper first analyzes the advantages and disadvantages of traditional mountain climbing and three dots algorithm, then proposes a varied step size three dots mountain climbing algorithm based on the two, and simulates them by MATLAB. The results shows that this algorithm can effectively over come the disadvantages of the two control algorithms with better dynamic performance and steady precision.