计算机工程与应用 ›› 2008, Vol. 44 ›› Issue (25): 229-232.DOI: 10.3778/j.issn.1002-8331.2008.25.069

• 工程与应用 • 上一篇    下一篇

基于遗传算法的PCB数控钻孔路径优化

卫 葳,李建勇,王 恒   

  1. 北京交通大学 机械与电子控制工程学院,北京 100044
  • 收稿日期:2007-10-29 修回日期:2008-04-16 出版日期:2008-09-01 发布日期:2008-09-01
  • 通讯作者: 卫 葳

Path optimization for PCB NC-drilling using Genetic Algorithm

WEI Wei,LI Jian-yong,WANG Heng   

  1. School of Mechanical,Electronic and Control Engineering,Beijing Jiaotong University,Beijing 100044,China
  • Received:2007-10-29 Revised:2008-04-16 Online:2008-09-01 Published:2008-09-01
  • Contact: WEI Wei

摘要: 目前,采用PCB数控钻孔自动编程系统获得的走刀路径并非最佳路径。论文将最佳走刀路径归结为TSP问题,将目标函数定位钻头走刀时间最短。详尽介绍了应用遗传算法解决该问题的具体算法。并通过实验讨论了变异算子和变异概率对优化结果的影响。

关键词: 印刷电路板, 最佳走刀路径, 旅行商问题, 遗传算法

Abstract: Currently,the drilling path by default generated by the PCB NC-drilling automatic programming system is not the optimal path.In this paper,the issue of optimal drilling path is regarded as TSP(Travel Salesman Problem).The objective function is set for the minimum moving time of the spindle.And this paper also includes more details about introducing GA(Genetic Algorithm) as the method to solve the PCB NC-drilling path optimization issue.Furthermore,we discuss the effect of both method and rate of the mutation on the result of optimizing algorithm through experiments.

Key words: Printed Circuit Board(PCB), optimal drilling path, Travel Salesman Problem(TSP), genetic algorithm