With the continuous improvement of enterprise automation,the path planning of industrial robots is gradually getting more and more attention. The current path planning problem mainly relies on the work experience of the simulator,which is inefficient and the results are not necessarily optimal.In view of the current situation,the solder joint path is regarded as a classic TSP problem,and a calculation method using ant colony algorithm and genetic algorithm is proposed to obtain a more reasonable welding path,and is applied to a practical project to verify its feasibility. This method reduces the complicated repetitive debugging path work of the previous simulation,and can provide a more effective solution for actual simulation work. It is planned to provide an efficiency impro-vement of about 5% for the welding time of actual project.