摘要
传统的视觉检测系统不仅浪费时间和人力,检测精度也远远不足,故提出一种视觉检测系统。该检测系统主要以涂层展开板为研究对象,在流水线系统上对其进行在位检测。首先进行了检测系统总体方案设计,在硬件方面主要介绍了该检测系统相机、镜头、光源的选取以及调试;软件方面主要介绍了相机的标定、图像的预处理和增强、边缘检测等关键技术。根据谱带的形状特征,提出一种三次样条插值法与多项式拟合法相结合的算法来提取出各个谱线分割线的边缘点,同时在LabVIEW环境下进行MATLAB编程,进而提高算法效率。然后将MATLAB计算出的坐标值通过上位机发送给数控机床,数控机床对得到的数据进行实时处理,从而对同一颜色区域进行刮取。与人工检测进行对比,该检测系统在检测精度和速度上都优于传统方法。
To traditional visual detection system, not only time and manpower are wasted, but also detection accuracy is far from enough. Therefore, a visual detection system was proposed. Taking the coating deployment board as the research object, in-situ detection on the assembly line system was carried out. The overall scheme design of the detection system was done first. In terms of hardware, the selection and debugging of the camera, lens, light source of the detection system were mainly introduced. In terms of software, the key technologies were mainly introduced, such as camera calibration, image preprocessing and enhancement, edge detection and so on. According to the shape characteristics of spectral band, an algorithm combining cubic spline interpolation and polynomial fitting was proposed to extract the edge points of each spectral line segmentation line. At the same time, MATLAB programming was carried out in the environment of LabVIEW, so as to improve the efficiency of the algorithm.Then the coordinate values calculated by MATLAB were sent to the NC machine tool through the upper computer. The NC machine tool processed the data in real time, so as to scrape the same color area. Compared with manual detection, the detection system is superior to traditional methods in detection accuracy and speed.
作者
陈思宇
慕丽
王欣威
CHEN Siyu;MU Li;WANG Xinwei(School of Mechanical Engineering,Shenyang Ligong University,Shenyang Liaoning 110159,China)
出处
《机床与液压》
北大核心
2022年第12期94-99,共6页
Machine Tool & Hydraulics
关键词
视觉检测系统
混合编程
关键技术
Visual detection system
Hybrid programming
Key technologies