An enhanced D*Lite algorithm for safe path planning of autonomous mobile robot is proposed. Based on the grid modeling method,this algorithm use the detection of obstacles' sharp corners and connections to plan paths satisfied the robot's safe requirements and presents a method to optimize the complex obstacle's unnecessary paths. The simulation results show the method can achieve safe paths planning and path optimization.