计算机与现代化 ›› 2024, Vol. 0 ›› Issue (07): 82-86.doi: 10.3969/j.issn.1006-2475.2024.07.012

• 算法设计与分析 • 上一篇    下一篇

基于改进布谷鸟算法的PCB板焊接路径优化



  

  1. (上海第二工业大学智能制造与控制工程学院,上海 201209)
  • 出版日期:2024-07-25 发布日期:2024-08-08
  • 基金资助:
    国家自然科学基金资助项目(62003205, 62203291)

PCB Board Welding Path Optimization Based on Improved Cuckoo Algorithm

  1. (School of Intelligent Manufacturing and Control Engineering, Shanghai Polytechnic University, Shanghai 201209, China)
  • Online:2024-07-25 Published:2024-08-08

摘要: 针对印制电路板焊接过程中路径规划问题,提出一种改进的布谷鸟算法。在经典布谷鸟算法中添加2opt邻域搜索策略,在原算法搜索产生新解后,对新解进行2opt邻域搜索操作,通过搜索判断附近是否有更好的解进行替换,以此提升算法的局部搜索能力和求解精度。为了验证改进算法的有效性,针对孔数量及孔分布复杂度不同的3种PCB板进行仿真实验,并将经典布谷鸟算法、参考文献[28]算法以及本文改进的算法进行优化效果对比,实验结果表明,本文的改进算法在3种PCB板中不仅优化路径距离最短,而且求解精度也最高,收敛速度也得到了提升;当孔数量增多和孔分布复杂度提高时,本文改进算法相比于其他2种算法在路径优化效果方面体现出更大的优势。综上所述,本文改进的布谷鸟算法在优化PCB板焊接路径方面具有一定效果,具有搜索能力强、求解精度高、收敛速度较快的优点。

关键词: 印制电路板, 路径规划, 布谷鸟算法, 2opt邻域搜索

Abstract:  An improved cuckoo algorithm is proposed to solve the path planning problem in the process of PCB welding. This paper adds 2opt neighborhood search strategy to the classic cuckoo algorithm. After the original algorithm produces a new solution, 2opt neighborhood search operation is performed on the new solution, and whether the better solution nearby to be replaced is judged by search, so as to improve the local search ability and solution accuracy of the algorithm. In order to verify the effectiveness of the improved algorithm, this paper carries out simulation experiments on three kinds of PCB boards with different hole numbers and hole distribution complexity, and compares the optimization effects among the classic cuckoo algorithm, the algorithm in Reference[28] and the improved algorithm proposed in this paper. The experimental results show that, among the three PCB boards, the improved algorithm not only has the shortest optimization path distance, but also has the highest solution accuracy, and also the convergence speed is improved. When the number of holes increases and the complexity of hole distribution increases, the improved algorithm shows greater advantages in path optimization effect than the other two algorithms. To sum up, the improved cuckoo algorithm has certain effect in optimizing the welding path of PCB, and has the advantages of strong search ability, high solution accuracy and fast convergence speed.

Key words:  , printed circuit board, path planning, cuckoo algorithm, 2opt neighborhood search

中图分类号: