The feeding path of the feeding robot on the production line is directly related to the production efficiency of the production line and the service life of the equipment. Aiming at the problem of artificially adjusting the feeding path of the feeding robot, such as unevenness and poor quality, an improved RRT algorithm is proposed to search for a smooth path and avoid obstacles. High-quality feeding path. First use AABB and K-DOPs bounding box technology to simplify the actual production line environment, then use the improved RRT algorithm to simplify the environment search path, and finally use Mathematica software to complete the obstacle avoidance path simulation. The simulation results show that the loading robot successfully bypasses the obstacle from the starting point to reach the target point, which illustrates the feasibility of the obstacle avoidance path search of the improved RRT algorithm.