当前位置>主页 > 期刊在线 > 智能制造 >

智能制造2021年1期

基于Halcon 的工件视觉分拣系统
廖秉旺¹,林文煜 ²
(1. 广东工业大学 信息工程学院,广东 广州 510006;2. 广州有艾智能科技有限公司,广东 广州 510006)

摘  要:为了实现多种工件的准确抓取和分类,设计了一款基于Halcon 的工件视觉分拣系统。该系统利用标定算法对标定板进行标定,得到相机坐标系与机械臂坐标系间的仿射变换矩阵,利用基于形状的模板匹配算法对工件进行匹配,结合仿射变换矩阵得到工件的位置坐标。最后将工件坐标与种类信息发送到机械臂控制器,引导机械臂对工件进行抓取与放置。经过多次分拣实验,结果表明该分拣系统可实现对工件的准确分拣。


关键词:Halcon;视觉分拣;标定;模板匹配



中图分类号:TP242.62         文献标识码:A         文章编号:2096-4706(2021)01-0156-03


The Visual Sorting System of Workpiece Based on Halcon

LIAO Bingwang1,LIN Wenyu2

(1.School of Information Engineering,Guangdong University of Technology,Guangzhou 510006,China;2.Guangzhou Yourai Intelligent Technology Co.,Ltd.,Guangzhou 510006,China)

Abstract:In order to grasp and classify many kinds of workpieces accurately,a visual sorting system based on Halcon is designed.The system uses calibration algorithm to calibrate the calibration target,which obtains the affine transformation matrix between the camera coordinate system and the manipulator coordinate system. Then,the template matching algorithm based on shape is adopted to match the workpiece,and the position coordinates of the workpiece are obtained by affine transformation matrix. Finally,the workpiece coordinate and type information are sent to the manipulator controller to guide the manipulator to grasp and place the workpiece. After many sorting experiments,the results show that the sorting system can realize the accurate sorting of the workpiece.

Keywords:Halcon;visual sorting;calibration;template matching


参考文献:

[1] 卫泓宇,刘冠灵,谢爱倍,等. 基于单目视觉的智能物料分拣机器人的设计 [J]. 计算机技术与发展,2020,30(2):98-103.

[2] 张国福,沈洪艳. 机器视觉技术在工业检测中的应用综述 [J]. 电子技术与软件工程,2013(22):111.

[3] 陈为,李泽辰,张婧,等. 基于HALCON 的工业机器人视觉系统标定方法研究 [J]. 电子测量技术,2020,43(21):137-141.

[4] 冯亮,谢劲松,李根,等. 摄像机标定的原理与方法综述 [J]. 机械工程师,2016(1):18-20.

[5] 景国峰. 基于计算机视觉的相机标定方法 [J]. 北京测绘,2021,35(1):122-125.

[6] 黄玲涛,王彬,倪涛,等. 基于Kinect 的机器人抓取系统研究 [J]. 农业机械学报,2019,50(1):390-399.

[7] 孙炼杰,樊臻. 基于模板匹配的光纤收发PCB 板目标检测 [J]. 计算机应用与软件,2018,35(1):128-131+190.

[8] 李佳莹,郭斌,江文松,等. 基于共线性的机械臂视觉系统畸变矫正 [J]. 组合机床与自动化加工技术,2020(12):121-124.

[9] 王江辉,吴小俊. 基于形状轮廓特征的金字塔匹配算法 [J].计算机工程与应用,2019,55(1):191-195.

[10] 刘建春,黄勇杰,黄海滨,等. 大尺寸工件细小孔视觉定位研究 [J]. 组合机床与自动化加工技术,2018(1):98-101.


作者简介:

廖秉旺(1996—),男,汉族,广东湛江人,硕士研究生在读,研究方向:机器视觉、视觉定位;

林文煜(1990—),男,汉族,广东潮州人,工程师,硕士,研究方向:图像检索与大数据技术。