Path planning for mobile robots is one of the core contents in the filed of robotics research.This article uses A-star algorithm to study the mobile robot path planning problem in known environment.The environment model is set up by grid method,the way to select the node is analyzed,and it is simulated by MATLAB.The results show that the algorithm could find the better path from starting point to target,being of effectiveness in path planning.