摘要
为了实现PCB铣刀的自动磨尖和降低人工成本,本文提出了一种基于机器视觉的对刀算法。该算法首先对二值化后的图像采用区域生长算法找出目标区域,其次根据不同刀型铣刀分别采用Canny边缘检测算法和Harris角点检测算法求得图像特征点,最后依据图像特征点的几何关系求得对刀角度。该算法的重复精度检测结果表明:PCB铣刀在同一位置的对刀角度最大误差不超过0.370°。上述实验结果说明该对刀算法能够满足设备实际精度要求。
In order to realize sharpening PCB milling cutter automatically and lower labor costs,an algorithm of tool setting based on machine vision was proposed. Firstly,the region growing algorithm was used to find the target area in the binarized image,followed by using Canny edge detection algorithm and Harris corner detection algorithm to find the image feature points based on the different types of milling cutter,finally,the angle of tool setting was gotten according to the geometric relationship of image feature points. The repeatability accuracy test results of the algorithm indicate that the maximum error of angle of tool setting is no more than 0. 370° while PCB milling cutters are in the same position. The results of experiments above demonstrate that the requirement of actual accuracy in equipment is met by the algorithm of tool setting.
出处
《机床与液压》
北大核心
2015年第17期76-79,共4页
Machine Tool & Hydraulics
基金
广东省产学研结合项目(2011A090200054)