基于机器视觉的汽车刹车片自动检测系统
2018-10-10费成黄影平胡兴慈文彦
费成 黄影平 胡兴 慈文彦
摘要: 为了提高汽车刹车片的检测效率和准确性,设计了基于机器视觉的汽车刹车片自动化检测系统。针对自动化检测需求搭建了基于可编程逻辑控制器(PLC)的自动化测试平台,开发了相应的视觉系统。结合VisionPro和C#语言开发了检测软件,完成了图像获取、图像校准、图像定位、尺寸测量、缺陷标示、字符识别等任务。实验结果表明,系统可快速、准确地识别出工件的尺寸、表面缺陷和字符。
关键词:机器视觉; 可编程逻辑控制器(PLC); 尺寸测量; 缺陷检测; 字符识别
中图分类号: TP 23 文献标志码: A doi: 10.3969/j.issn.1005 5630.2018.03.014
Abstract:In order to improve the detection efficiency and accuracy of automobile brake pad,an automatic testing system for automobile brake pad based on machine vision is designed.The automation control platform based on programmable logic controller(PLC) is set up to meet the requirements of automatic testing,and the corresponding visual system is developed.At the same time,the detection software is developed combined with VisionPro and C# language.Image acquisition,image calibration,image location,dimension measurement,defect marking and character recognition are completed.The experiments show that the system can quickly and precisely recognize the geometry size,surface defects and text recognition of a brake pad.
Keywords:machine vision; programmable logic controller(PLC); size measurement; defect detection; text recognition
引 言
剎车片是汽车制动系统中的重要零部件,它是影响汽车刹车性能的关键性部件[1]。随着计算机和图像处理技术的发展,基于机器视觉技术检测工件尺寸、缺陷和字符的方法正逐渐替代人工检测的方法[2]。机器视觉是通过光学的、非接触的传感器自动地获取和解释处理一个真实物体的图像,以获取所需信息
或用于控制机器运作[3]。在国外,Itoh等[4]开发了一种基于机器视觉的建筑碎石尺寸精密检测系统,经过大量实验,验证了该系统的测量精度;Meriaudeau[5]开发了检测金属工件表面缺陷的机器视觉装置,在均匀照明下,利用图像处理工具可以很方便地检测出工件的表面缺陷。在国内,Tian等[6]采用超分辨率重构技术消除图像噪声,再利用最小二乘回归亚像素边缘检测技术进行边缘定位及角点提取,最后通过实验分析了该方法测量工件尺寸的效果;……
