基于机器视觉与改进遗传算法的机械手分拣方法研究
Robotic sorting method based on machine vision and improved genetic algorithm
-
摘要: 针对机械零部件快速分拣需求, 提出一种基于机器视觉与天牛须改进遗传算法(BAS-GA)的机械手分拣方法。该分拣方法首先对零件图像进行预处理, 然后利用Sift特征匹配的图像识别算法提取零件图像, 并使用仿射变换对目标零件定位。接着, 对得到的零件位置建立数学模型, 使用BAS-GA算法求解该数学模型, 得到机械手的抓取路径, 实现机械手的快速分拣。实验表明BAS-GA算法相对于模拟退火算法, 遗传算法和一种改进蚁群算法都取得了较好的寻优效果。经过优化后的路径缩短了11%, 说明该方法可有效提升机械手分拣速度。Abstract: A robotic sorting method based on machine vision and beetle antennae search algorithm improved genetic algorithm is proposed for the fast-sorting demand of mechanical parts. The sorting method starts with pre-processing of the part image, then extracts the part images using an image recognition algorithm with Sift feature matching and localizes the target parts using affine transformation. Then, a mathematical model is established for the obtained part positions, and the BAS-GA algorithm is used to solve the mathematical model and obtain the grasping path of the robot to achieve fast sorting of the robot. The experiments show that the BAS-GA algorithm achieves a better finding effect compared with the SA algorithm、the GA algorithm and the PSO-ACO algorithm. And compared with the initial path, the optimized path is shortened by 11%, which indicates that the method can effectively improve the robotic sorting speed.