CN103913468A - Multi-vision defect detecting equipment and method for large-size LCD glass substrate in production line - Google Patents
Multi-vision defect detecting equipment and method for large-size LCD glass substrate in production line Download PDFInfo
- Publication number
- CN103913468A CN103913468A CN201410125777.0A CN201410125777A CN103913468A CN 103913468 A CN103913468 A CN 103913468A CN 201410125777 A CN201410125777 A CN 201410125777A CN 103913468 A CN103913468 A CN 103913468A
- Authority
- CN
- China
- Prior art keywords
- defect
- image
- lcd glass
- glass substrate
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Abstract
Description
技术领域technical field
本发明属于电子制造生产线上视觉检测设备领域,特别涉及一种生产线上大尺寸LCD玻璃基板的多视觉缺陷检测设备及方法。The invention belongs to the field of visual inspection equipment on an electronic manufacturing production line, and in particular relates to a multi-visual defect inspection equipment and method for a large-size LCD glass substrate on a production line.
背景技术Background technique
随着电子技术的发展,消费电子产品的价格越来越低,人们对电子产品的需求量不断扩大,这也带动了LCD玻璃基板制造业的发展。然而为追求更完美视听享受,液晶显示器、液晶电视和移动终端的主流尺寸都在不断扩大,甚至会出现一些超大尺寸的LCD屏幕。因此,大尺寸的LCD玻璃基板生产将是寻求未来行业长足发展的转折点。然而大尺寸LCD玻璃基板的质量检测技术也是制约行业发展的一个瓶颈。With the development of electronic technology, the price of consumer electronic products is getting lower and lower, and people's demand for electronic products continues to expand, which also drives the development of LCD glass substrate manufacturing. However, in order to pursue a more perfect audio-visual enjoyment, the mainstream sizes of LCD monitors, LCD TVs and mobile terminals are constantly expanding, and even some super-sized LCD screens will appear. Therefore, the production of large-size LCD glass substrates will be a turning point for the rapid development of the industry in the future. However, the quality inspection technology of large-size LCD glass substrates is also a bottleneck restricting the development of the industry.
尽管LCD玻璃基板的大部分生产过程都是在高洁净度的无尘室里面完成的,但是LCD玻璃基板上还是不可避免地会出现一些缺陷,这些缺陷将会造成在基板上印刷的集成电路无法正常工作,导致LCD显示器的瑕疵。造成这些缺陷的原因有很多,在其制造的各个环节都可能有缺陷的产生。这些缺陷主要包括划痕,刮擦,孔洞,微粒,气泡,夹杂物等。有的缺陷非常细微,人眼很难观测到。Although most of the production process of LCD glass substrates is completed in a clean room with high cleanliness, some defects will inevitably appear on the LCD glass substrates, which will cause the integrated circuits printed on the substrates to fail. work properly, resulting in blemishes on the LCD display. There are many reasons for these defects, and defects may occur in all aspects of its manufacture. These defects mainly include scratches, scratches, holes, particles, air bubbles, inclusions, etc. Some defects are so subtle that it is difficult for the human eye to observe them.
在高速自动化的电子制造生产线中,如何对LCD玻璃基板进行快速、准确的质量检测,是直接关系到产品质量的重要技术难题。目前大多数生产线的质量检测主要依靠人工方法,即人工观察检测缺陷。人工检测的缺陷在于:1、检测速度慢,效率低下,无法满足高速自动化生产线的需求;2、检测精度低,检测质量受人为因素影响,误检漏检的概率较高;3、工人劳动强度大,工作环境差;4、检测数据的保存及查询不方便,不便于管理。In the high-speed automated electronic manufacturing production line, how to quickly and accurately inspect the quality of LCD glass substrates is an important technical problem directly related to product quality. At present, the quality inspection of most production lines mainly relies on manual methods, that is, manual inspection and detection of defects. The defects of manual detection are: 1. The detection speed is slow, the efficiency is low, and it cannot meet the needs of high-speed automatic production lines; 2. The detection accuracy is low, the detection quality is affected by human factors, and the probability of false detection and missed detection is high; 3. The labor intensity of workers 4. It is inconvenient to save and query the test data, and it is not easy to manage.
发明内容Contents of the invention
针对现有检测技术的不足,本发明提供了一种生产线上大尺寸LCD玻璃基板的多视觉缺陷检测设备及方法。Aiming at the deficiencies of the existing detection technology, the invention provides a multi-visual defect detection device and method for large-size LCD glass substrates on a production line.
一种生产线上大尺寸LCD玻璃基板的多视觉缺陷检测设备,包括成像检测系统和总线控制系统;A multi-vision defect detection equipment for large-size LCD glass substrates on a production line, including an imaging detection system and a bus control system;
其中,所述成像检测系统至少包括两个并排安装的线扫描相机11、一个或多个LED线光源12、传动控制装置13和检测计算机14;Wherein, the imaging detection system includes at least two line scan cameras 11 installed side by side, one or more LED line light sources 12, a transmission control device 13 and a detection computer 14;
所述传动控制装置13包括传送带131、接触传感器132、PLC133及PLC交互显示单元134;The transmission control device 13 includes a conveyor belt 131, a contact sensor 132, a PLC 133 and a PLC interactive display unit 134;
所述接触传感器132、PLC133及PLC交互显示单元134依次相连;所述传送带受控于PLC;所述接触传感器安装于传送带一侧的固定框架上,当LCD玻璃基板随传送带到达预设位置时,接触传感器发送信号至PLC;The touch sensor 132, the PLC 133 and the PLC interactive display unit 134 are connected in sequence; the conveyor belt is controlled by the PLC; the touch sensor is installed on a fixed frame on one side of the conveyor belt, and when the LCD glass substrate arrives at a preset position with the conveyor belt, The contact sensor sends a signal to the PLC;
所述线扫描相机11与所述检测计算机相连,并受控于PLC133;所述线扫描相机11在PLC的触发控制下,获得LCD玻璃基板的灰度图像,线扫描相机的光轴垂直于LCD玻璃基板的运动平面安装,LED线光源发出的光线平面与传送带的法平面的夹角θ为5°-10°;The line scan camera 11 is connected with the detection computer and is controlled by PLC133; the line scan camera 11 obtains the grayscale image of the LCD glass substrate under the trigger control of the PLC, and the optical axis of the line scan camera is perpendicular to the LCD The movement plane of the glass substrate is installed, and the angle θ between the light plane emitted by the LED line light source and the normal plane of the conveyor belt is 5°-10°;
所述总线控制系统包括监控计算机25、工业以太网总线系统21和PROFIBUS现场总线系统22;The bus control system includes a monitoring computer 25, an industrial Ethernet bus system 21 and a PROFIBUS field bus system 22;
PLC133作为控制器控制伺服电机带动传送带向固定方向做匀速运动,从而带动LCD玻璃基板匀速运动,与线扫描相机11形成稳定的相对运动,线扫描相机获得LCD玻璃基板的灰度图像,检测计算机12对LCD玻璃基板的灰度图像进行检测识别;PLC133 as a controller controls the servo motor to drive the conveyor belt to move at a constant speed in a fixed direction, thereby driving the LCD glass substrate to move at a constant speed, and forms a stable relative motion with the line scan camera 11. The line scan camera obtains the grayscale image of the LCD glass substrate, and the detection computer 12 Detect and recognize the grayscale image of the LCD glass substrate;
所述检测计算机14输出的图像处理结果通过工业以太网总线系统传送到位于工作站的监控计算机21;The image processing result output by the detection computer 14 is transmitted to the monitoring computer 21 located at the workstation through the industrial Ethernet bus system;
所述用于控制传送带运动的PLC133通过PROFIBUS现场总线系统22将传送带的运行速度以及被检测玻璃基板所在位置参数传送到工作站监控计算机25。The PLC 133 for controlling the movement of the conveyor belt transmits the running speed of the conveyor belt and the position parameters of the detected glass substrate to the monitoring computer 25 of the workstation through the PROFIBUS field bus system 22 .
所述线扫描相机中的线阵CCD传感器具有7450个像素。The line CCD sensor in the line scan camera has 7450 pixels.
所述线扫描相机的镜头距离被检测的玻璃基板距离为400mm。The distance between the lens of the line scan camera and the glass substrate to be detected is 400mm.
一种生产线上大尺寸LCD玻璃基板的多视觉缺陷检测方法,采用所述的电子制造生产线上大尺寸LCD玻璃基板的多视觉缺陷检测设备,包括如下步骤:A multi-visual defect detection method for large-size LCD glass substrates on a production line, using the multi-visual defect detection equipment for large-size LCD glass substrates on the electronic manufacturing production line, comprising the following steps:
步骤1:实时采集生产线上LCD玻璃基板的图像;Step 1: Collect images of LCD glass substrates on the production line in real time;
接触传感器接收到的玻璃基板达到预设位置的信号传送至PLC133,PLC133触发线扫描相机进行图像采集;The signal received by the contact sensor that the glass substrate has reached the preset position is transmitted to PLC133, and PLC133 triggers the line scan camera for image acquisition;
步骤2:对采集的生产线上的LCD玻璃基板图像进行去噪和锐化的预处理,提高图像质量;Step 2: Perform denoising and sharpening preprocessing on the collected LCD glass substrate images on the production line to improve image quality;
步骤3:采用kmeans聚类方法对预处理后的LCD玻璃基板图像进行缺陷存在性判断,若当前图像存在缺陷区域,则进入步骤4,否则,结束本次缺陷检测,返回步骤1对下一幅图像进行缺陷检测;Step 3: Use the kmeans clustering method to judge the existence of defects on the preprocessed LCD glass substrate image. If there is a defect area in the current image, go to step 4. Otherwise, end this defect detection and return to step 1 for the next image. Image for defect detection;
步骤4:对缺陷区域进行标记,并提取缺陷特征;Step 4: mark the defect area and extract defect features;
步骤5:采用支持向量机SVM的分类方法,依据提取的缺陷特征进行缺陷类别识别,完成缺陷检测;Step 5: Use the classification method of support vector machine SVM to identify the defect category according to the extracted defect features, and complete the defect detection;
所述步骤3采用kmeans聚类方法对预处理后的LCD玻璃基板图像进行缺陷存在性判断的过程包括以下具体步骤:In step 3, the process of using the kmeans clustering method to judge the existence of defects on the preprocessed LCD glass substrate image includes the following specific steps:
1)首先对预处理后的LCD玻璃基板图像分成若干个8*8矩形子块g(x,y),按以下二维DCT变换公式分别对每个矩形子块g(x,y)进行离散余弦变换DCT,得到每个矩形子块g(x,y)的DCT系数C(u,v);1) First, divide the preprocessed LCD glass substrate image into several 8*8 rectangular sub-blocks g(x, y), and discretize each rectangular sub-block g(x, y) according to the following two-dimensional DCT transformation formula Cosine transform DCT to obtain the DCT coefficient C(u,v) of each rectangular sub-block g(x,y);
其中,(x,y)表示每个矩形子块中的像素点坐标,N=8,u和v均取[0,7]之间的整数,
2)计算每个矩形子块的高频系数平均值mean_high和低频系数平均值mean_low;2) Calculate the mean_high of high-frequency coefficients and mean_low of low-frequency coefficients of each rectangular sub-block;
mean_high=avg{C(uh,vh)|uh,vh∈[0,2]},mean_low=avg{C(ul,vl)|ul,vl∈[3,7]},其中,agv表示求平均值运算;mean_high=avg{C(u h ,v h )|u h ,v h ∈[0,2]}, mean_low=avg{C(u l ,v l )|u l ,v l ∈[3,7] }, wherein, agv represents the average operation;
3)计算出每个矩形子块在DCT域中的高频系数平均值和低频系数平均值比值ratio:
4)利用kmeans聚类方法对每个矩形子块高频系数平均值mean_high和低频系数平均值mean_low以及二者的比值ratio所组成的三维特征量进行分类,具体步骤如下:4) Use the kmeans clustering method to classify the three-dimensional feature quantity composed of the average high-frequency coefficient mean_high and low-frequency coefficient mean_low of each rectangular sub-block and the ratio ratio of the two. The specific steps are as follows:
步骤a:对每个矩形子块高频系数平均值mean_high和低频系数平均值mean_low以及二者的比值ratio分别进行归一化处理,得到每个矩形子块归一化后的三维特征向量;Step a: Perform normalization processing on the average value mean_high of high-frequency coefficients of each rectangular sub-block, the average value mean_low of low-frequency coefficients and the ratio ratio of the two, and obtain the normalized three-dimensional feature vector of each rectangular sub-block;
步骤b:按从左至右、从上到下的顺序构建所有矩形子块的归一化后的ratio直方图序列,并对直方图序列进行一阶差分计算,以小于第一设定阈值T1的差分值对应的ratio值作为直方图峰值,计算归一化后的ratio直方图峰值个数hist_peak;T1取15-25之间的整数;Step b: Construct the normalized ratio histogram sequence of all rectangular sub-blocks in order from left to right and from top to bottom, and perform a first-order difference calculation on the histogram sequence to make it smaller than the first set threshold T1 The ratio value corresponding to the difference value is used as the peak value of the histogram, and the normalized ratio histogram peak number hist_peak is calculated; T1 takes an integer between 15-25;
步骤c:设置聚类类别数cluster=hist_peak,并随机选取一个矩形子块归一化后的三维特征向量作为聚类中心的初始值;Step c: Set the number of clustering categories cluster=hist_peak, and randomly select a normalized three-dimensional feature vector of a rectangular sub-block as the initial value of the cluster center;
步骤d:利用k-means聚类方法将所有矩形子块分为cluster类,同时得到cluster个聚类中心;Step d: use the k-means clustering method to divide all rectangular sub-blocks into cluster classes, and obtain cluster cluster centers at the same time;
步骤e:从cluster个聚类中心中,删除ratio值最大和最小的两个聚类中心,将剩余的聚类中心所表示的类别作为缺陷类别;Step e: from the cluster cluster centers, delete the two cluster centers with the largest and minimum ratio values, and use the category represented by the remaining cluster centers as the defect category;
步骤f:计算所有属于各缺陷类别的矩形子块总个数count;Step f: Calculate the total number count of all rectangular sub-blocks belonging to each defect category;
若count小于第二阈值T2,则判定当前图像中不存在缺陷,否则,判定当前图像中存在缺陷;T2的取值为50到200之间的整数;If count is less than the second threshold T2, it is determined that there is no defect in the current image, otherwise, it is determined that there is a defect in the current image; the value of T2 is an integer between 50 and 200;
所述步骤4中对缺陷区域进行标记,并提取缺陷特征,具体过程如下:In the step 4, the defect area is marked, and the defect feature is extracted, and the specific process is as follows:
1)依据步骤3的聚类结果,将被判断为缺陷的矩形子块中的每个像素点的像素值均置为255,将被判为非缺陷的矩形子块中每个像素点的像素值均置为0,得到二值图像;1) According to the clustering result of step 3, set the pixel value of each pixel in the rectangular sub-block judged as defective to 255, and set the pixel value of each pixel in the non-defective rectangular sub-block The values are all set to 0 to obtain a binary image;
2)利用opencv轮廓查找算法提取缺陷矩形区域轮廓,并以每个缺陷区域的最小外接矩形标记缺陷区域;2) Use the opencv contour search algorithm to extract the contour of the defect rectangular area, and mark the defect area with the smallest circumscribed rectangle of each defect area;
3)获取每个缺陷区域的轮廓位置(Px,Py),面积S,平均灰度L以及圆形度E;3) Obtain the contour position (Px, Py), area S, average gray level L and circularity E of each defect area;
其中,缺陷的轮廓位置(Px,Py)是缺陷部分外接矩形的左下角点坐标;Among them, the contour position (Px, Py) of the defect is the coordinate of the lower left corner point of the circumscribed rectangle of the defect part;
面积S为以缺陷区域最小外接矩形中不为零的像素数目;The area S is the number of non-zero pixels in the smallest circumscribed rectangle of the defective area;
平均灰度L为缺陷区域的最小外接矩形区域中所有像素点的灰度平均值;The average gray level L is the average gray level of all pixels in the smallest circumscribed rectangular area of the defective area;
圆形度E,P为缺陷区域最小外接矩形的周长。circularity E, P is the perimeter of the smallest circumscribed rectangle of the defect area.
圆形度E值越接近1,表示物体形状越接近圆;其取值越大,表示物体形状越细长;The closer the circularity E value is to 1, the closer the object shape is to a circle; the larger the value, the thinner the object shape;
所述步骤5中采用支持向量机SVM的分类方法,依据提取的缺陷特征进行缺陷类别识别,完成缺陷检测,具体过程如下:In the step 5, the support vector machine (SVM) classification method is adopted, and the defect category is identified according to the extracted defect features, and the defect detection is completed. The specific process is as follows:
首先采集含有缺陷区域的样本数据,样本数据中包含划痕、刮擦及孔洞;First collect the sample data of the defect area, the sample data includes scratches, scratches and holes;
分别计算每个样本数据中的缺陷区域的面积S,平均灰度L和圆形度E;Calculate the area S, average gray level L and circularity E of the defect area in each sample data respectively;
利用样本数据的面积S,平均灰度L和圆形度E三个特征向量构建两个支持向量机SVM分类器,第一个分类器对孔洞一类和划痕及刮擦组成的一类进行区分,第二个分类器对划痕和刮擦进行区分;Using the area S of the sample data, the average gray level L and the circularity E three eigenvectors to construct two support vector machine SVM classifiers, the first classifier is used to classify holes and scratches and scrapes. distinction, the second classifier differentiates between scratches and scratches;
利用构建的两个分类器对实时提取的缺陷特征进行分类识别,完成缺陷检测。The two classifiers built are used to classify and identify the defect features extracted in real time to complete the defect detection.
所述步骤2中对采集的生产线上的LCD玻璃基本图像进行去噪和锐化的预处理,是指采用3*3的窗口进行中值滤波去噪,得到去噪图像;然后采用拉普拉斯锐化算子对去噪后的图像进行锐化处理。In the step 2, the preprocessing of denoising and sharpening the LCD glass basic image collected on the production line refers to the use of a 3*3 window to perform median filter denoising to obtain a denoising image; then use Lapla The sharpening operator sharpens the denoised image.
有益效果Beneficial effect
与现有技术相比,本发明的优点在于:Compared with the prior art, the present invention has the advantages of:
本发明所述设备结构简单紧凑,成本低廉,操作简便,精确度高,检测速度快等优点,实现了LCD玻璃基板自动化生产线对于基板质量的在线实时检测,且具有每分钟3.8米以上的检测速度,每一台线扫描相机的可检测宽度为20厘米。其检测效率远高于人工检测,而且在检测过程中不会引入其他污染。另外,本发明还采用分布式控制概念,各检测工位之间并不相互依赖,同时实现了各检测工位计算机与监控主机的实时通讯。本发明的检测算法可以用于同类型的缺陷检测中,具有广泛的通用性,稍加改造即可用于同类型产品的质量检测。The equipment of the present invention has the advantages of simple and compact structure, low cost, easy operation, high precision, fast detection speed, etc., and realizes the online real-time detection of substrate quality in the LCD glass substrate automatic production line, and has a detection speed of more than 3.8 meters per minute. , the detectable width of each line scan camera is 20 cm. Its detection efficiency is much higher than that of manual detection, and no other pollution will be introduced during the detection process. In addition, the present invention also adopts the concept of distributed control, and each detection station does not depend on each other, and at the same time realizes the real-time communication between the computers of each detection station and the monitoring host. The detection algorithm of the invention can be used in the same type of defect detection, has wide versatility, and can be used for the quality detection of the same type of products with a little modification.
附图说明Description of drawings
图1为本发明中成像检测机系统结构示意图;Fig. 1 is a schematic structural diagram of the imaging detection machine system in the present invention;
图2为成像原理示意图;Figure 2 is a schematic diagram of the imaging principle;
图3是本发明装置成像检测系统工作流程图;Fig. 3 is a work flow chart of the imaging detection system of the device of the present invention;
图4是本装置所获取到的被检对象的真实图像;Fig. 4 is the real image of the detected object obtained by the device;
图5是现场总线控制系统结构示意图;Fig. 5 is a structural schematic diagram of the fieldbus control system;
图6是LCD玻璃基板缺陷检测系统的工作流程示意图;Fig. 6 is a schematic diagram of the workflow of the LCD glass substrate defect detection system;
图7是本发明中LCD玻璃基板缺陷检测方法的图像处理流程示意图;Fig. 7 is a schematic diagram of the image processing flow of the LCD glass substrate defect detection method in the present invention;
图8是DCT变换8*8子块分区图;Fig. 8 is a DCT transform 8*8 sub-block partition diagram;
图9是ratio的直方图;Figure 9 is a histogram of ratio;
图10是图像分割效果图;Figure 10 is an image segmentation effect diagram;
图11是本发明检测方法的检测效果示意图;Fig. 11 is a schematic diagram of the detection effect of the detection method of the present invention;
标号说明:Label description:
11-线扫描相机,12-LED线光源,13-运动装置,14-检测计算机,131-传送带,132-接触传感器,133-PLC,134-PLC交互显示单元,21-监控计算机,22-工业以太网总线系统,23-PROFIBUS现场总线系统。11-line scan camera, 12-LED line light source, 13-motion device, 14-detection computer, 131-conveyor belt, 132-contact sensor, 133-PLC, 134-PLC interactive display unit, 21-monitoring computer, 22-industry Ethernet bus system, 23-PROFIBUS field bus system.
具体实施方式Detailed ways
下面将结合具体实例和说明书附图对本发明做进一步详细说明。The present invention will be described in further detail below in conjunction with specific examples and accompanying drawings.
针对现有检测技术的不足,本发明提供了一种生产线上大尺寸LCD玻璃基板的多视觉缺陷检测设备及方法。Aiming at the deficiencies of the existing detection technology, the invention provides a multi-visual defect detection device and method for large-size LCD glass substrates on a production line.
一种生产线上大尺寸LCD玻璃基板的多视觉缺陷检测设备,包括成像检测系统和总线控制系统;A multi-vision defect detection equipment for large-size LCD glass substrates on a production line, including an imaging detection system and a bus control system;
其中,所述成像检测系统至少包括两个并排安装的线扫描相机11、一个或多个LED线光源12、传动控制装置13和检测计算机14;Wherein, the imaging detection system includes at least two line scan cameras 11 installed side by side, one or more LED line light sources 12, a transmission control device 13 and a detection computer 14;
所述传动控制装置13包括传送带131、接触传感器132、PLC133及PLC交互显示单元134;The transmission control device 13 includes a conveyor belt 131, a contact sensor 132, a PLC 133 and a PLC interactive display unit 134;
所述接触传感器132、PLC133及PLC交互显示单元134依次相连;所述传送带受控于PLC;所述接触传感器安装于传送带一侧的固定框架上,当LCD玻璃基板随传送带到达预设位置时,接触传感器发送信号至PLC;The touch sensor 132, the PLC 133 and the PLC interactive display unit 134 are connected in sequence; the conveyor belt is controlled by the PLC; the touch sensor is installed on a fixed frame on one side of the conveyor belt, and when the LCD glass substrate arrives at a preset position with the conveyor belt, The contact sensor sends a signal to the PLC;
所述线扫描相机11与所述检测计算机相连,并受控于PLC133;所述线扫描相机11在PLC的触发控制下,获得LCD玻璃基板的灰度图像,线扫描相机的光轴垂直于LCD玻璃基板的运动平面安装,LED线光源发出的光线平面与传送带的法平面的夹角θ为5°-10°;The line scan camera 11 is connected with the detection computer and is controlled by PLC133; the line scan camera 11 obtains the grayscale image of the LCD glass substrate under the trigger control of the PLC, and the optical axis of the line scan camera is perpendicular to the LCD The movement plane of the glass substrate is installed, and the angle θ between the light plane emitted by the LED line light source and the normal plane of the conveyor belt is 5°-10°;
所述总线控制系统包括监控计算机21、工业以太网总线系统23和PROFIBUS现场总线系统22;The bus control system includes a monitoring computer 21, an industrial Ethernet bus system 23 and a PROFIBUS field bus system 22;
PLC133作为控制器控制伺服电机带动传送带向固定方向做匀速运动,从而带动LCD玻璃基板匀速运动,与线扫描相机11形成稳定的相对运动,线扫描相机获得LCD玻璃基板的灰度图像,检测计算机12对LCD玻璃基板的灰度图像进行检测识别;PLC133 as a controller controls the servo motor to drive the conveyor belt to move at a constant speed in a fixed direction, thereby driving the LCD glass substrate to move at a constant speed, and forms a stable relative motion with the line scan camera 11. The line scan camera obtains the grayscale image of the LCD glass substrate, and the detection computer 12 Detect and recognize the grayscale image of the LCD glass substrate;
所述检测计算机14输出的图像处理结果通过工业以太网总线系统传送到位于工作站的监控计算机21;The image processing result output by the detection computer 14 is transmitted to the monitoring computer 21 located at the workstation through the industrial Ethernet bus system;
所述PLC133通过PROFIBUS现场总线系统22将传送带的运行速度以及被检测玻璃基板所在位置参数传送到工作站监控计算机21。The PLC 133 transmits the running speed of the conveyor belt and the position parameters of the detected glass substrate to the workstation monitoring computer 21 through the PROFIBUS field bus system 22 .
所述线扫描相机中的线阵CCD传感器具有7450个像素。The line CCD sensor in the line scan camera has 7450 pixels.
所述线扫描相机的镜头距离被检测的玻璃基板距离为400mm。The distance between the lens of the line scan camera and the glass substrate to be detected is 400 mm.
在本实例中,采用两个装有线性传感器镜头的线扫描相机,通过图像采集卡与计算机连接;采用PLC逻辑控制器输出线形扫描相机的触发信号,控制传送带的速度,加速度等参数。In this example, two line-scan cameras equipped with linear sensor lenses are used, which are connected to the computer through an image acquisition card; a PLC logic controller is used to output the trigger signal of the line-scan cameras to control the speed, acceleration and other parameters of the conveyor belt.
参见图1,是本发明装置成像检测机系统1结构示意图,图2是本发明成像原理示意图,镜头焦距为50mm,镜头距离被检基板400mm,水平视野为240mm。线阵相机为含有7450个像素的线阵CCD传感器,传送带带动被检测的玻璃基板以3.8米每分钟的速度运行能够使成像检测系统获得在运动方向上畸变最小的图像。Referring to Fig. 1, it is a structural schematic diagram of the imaging inspection machine system 1 of the present invention, and Fig. 2 is a schematic diagram of the imaging principle of the present invention, the focal length of the lens is 50 mm, the distance between the lens and the substrate to be inspected is 400 mm, and the horizontal field of view is 240 mm. The line-scan camera is a line-scan CCD sensor with 7450 pixels, and the conveyor belt drives the inspected glass substrate to run at a speed of 3.8 meters per minute, so that the imaging inspection system can obtain images with minimal distortion in the direction of motion.
其成像原理如下:当平行光以一定的入射角照射玻璃到玻璃表面时,若玻璃表面光滑、无缺陷,则发生镜面反射,位于正上方的摄像头接收到不到反射光线,所拍摄的图像区域应为黑色;当光线入射处有缺陷存在时,将会发生漫反射,位于正上方的摄像头会接收到被缺陷反射的光线,从而在暗背景下形成灰度值较高的缺陷图像。线扫描相机安装在被检测玻璃基板的正上方,其拍摄方向与玻璃基板运动方向垂直。线阵LED光源位于相机与玻璃基板之间,LED线光源光线与运动平面法平面成一5到10度的小角度θ安装,具体安装角度以能够获取被检测物体的清晰图像为准则。在本系统中,被检测玻璃基板下方1米内不可以有任何遮挡物体,否侧会影响成像效果。The imaging principle is as follows: when parallel light irradiates the glass surface at a certain incident angle, if the glass surface is smooth and free of defects, specular reflection occurs, and the camera directly above cannot receive the reflected light, and the captured image area It should be black; when there is a defect where the light is incident, diffuse reflection will occur, and the camera directly above will receive the light reflected by the defect, thus forming a defect image with a high gray value under a dark background. The line scan camera is installed directly above the glass substrate to be inspected, and its shooting direction is perpendicular to the moving direction of the glass substrate. The linear array LED light source is located between the camera and the glass substrate. The light from the LED line light source and the normal plane of the motion plane are installed at a small angle θ of 5 to 10 degrees. The specific installation angle is based on the ability to obtain a clear image of the detected object. In this system, there must not be any blocking objects within 1 meter below the detected glass substrate, otherwise it will affect the imaging effect.
如图3所示是本发明装置成像检测系统工作流程图,传动控制装置在PLC的控制下带动被检测的玻璃基板朝固定的运动方向匀速运动,当传送带运动到固定的触发位置时PLC触发成像检测系统开始工作,多个线扫描相机对被检玻璃基板进行图像采集,现场检测计算机对图像进行一系列的处理实现对缺陷位置,面积和类型的计算,并将检测结果传到监控计算机进行统计、保存和显示。As shown in Figure 3 is the work flow chart of the imaging detection system of the present invention. The transmission control device drives the detected glass substrate to move at a constant speed in a fixed direction of motion under the control of the PLC. When the conveyor belt moves to a fixed trigger position, the PLC triggers the imaging. The inspection system starts to work, multiple line scan cameras collect images of the inspected glass substrate, and the on-site inspection computer performs a series of processing on the images to realize the calculation of defect location, area and type, and transmits the inspection results to the monitoring computer for statistics , save and display.
如图4所示是本发明的被检对象玻璃基板的真实图像,其中包括划痕,刮擦和孔洞三种缺陷。其中2,4,5为划痕,3为刮擦,1,6为孔洞。划痕是在生产过程中玻璃基板和一些硬度较高且较尖锐的物体如螺丝、钉子等接触所产生的细长的纹理缺陷;刮擦是生产过程中玻璃基板与表面与一些表面粗糙的物体如传送带上的灰尘摩擦或者清洁环节中的器件摩擦所产生的缺陷,孔洞是由于生产工艺中用料不均或者气泡所产生的缺陷。As shown in FIG. 4 , it is a real image of the inspected glass substrate of the present invention, which includes three kinds of defects: scratches, scratches and holes. Among them, 2,4,5 are scratches, 3 are scratches, and 1,6 are holes. Scratches are elongated texture defects caused by the contact between the glass substrate and some hard and sharp objects such as screws and nails during the production process; scratches are the glass substrate and the surface and some rough objects during the production process. Such as defects caused by dust friction on the conveyor belt or device friction in the cleaning process, holes are defects caused by uneven materials or air bubbles in the production process.
如图5所示是本发明中现场总线控制系统的结构示意图,基于工业以太网和PROFIBUS总线的现场总线控制系统,其中计算机按其功能分为现场检测计算机和工作站监控计算机。检测计算机在现场对玻璃基板的图像进行处理,得到缺陷数据和处理后的图像,通过工业以太网将图像数据和处理结果传送到位于工作站的监控计算机。同时通过PROFIBUS总线将现场电机的运行速度以及现场传感器的各项参数传送到工作站。工作站的工作人员可以浏览历史缺陷数据和观看实时图像并作出对现场的远程控制决策。As shown in Figure 5, it is a structural representation of the field bus control system in the present invention, based on the field bus control system of industrial Ethernet and PROFIBUS bus, wherein the computer is divided into a field detection computer and a workstation monitoring computer according to its function. The inspection computer processes the image of the glass substrate on site to obtain defect data and processed images, and transmits the image data and processing results to the monitoring computer at the workstation through the industrial Ethernet. At the same time, the running speed of the on-site motor and various parameters of the on-site sensors are transmitted to the workstation through the PROFIBUS bus. Workstation staff can browse historical defect data and watch real-time images and make remote control decisions on site.
LCD玻璃基板缺陷检测系统的工作流程图6所示,传送带带动被检测的玻璃基板朝固定的运动方向匀速运动,PLC(133)在传送带运动到固定的触发位置时触发成像检测系统开始工作,成像检测系统采集处理单元图像传到现场检测计算机,现场工控机对图像进行处理后将处理结果通过工业以太网总线系统传到工作站检测计算机,工作站的工作人员浏览处理结果并做出决策。The working flow diagram of the LCD glass substrate defect detection system is shown in 6. The conveyor belt drives the detected glass substrate to move at a constant speed in a fixed direction of motion. When the conveyor belt moves to a fixed trigger position, the PLC (133) triggers the imaging detection system to start working. The detection system collects and processes the image of the processing unit and transmits it to the on-site detection computer. After the on-site industrial computer processes the image, the processing result is transmitted to the workstation detection computer through the industrial Ethernet bus system. The staff at the workstation browses the processing results and makes decisions.
如图7所示是所述现场检测计算机对所述成像检测系统所采集到的图像的处理流程示意图,其中主要包括采集图像,图像预处理,快速判断,特征提取,模式识别五个步骤。分别叙述如下:As shown in Fig. 7, it is a schematic diagram of the processing flow of the image collected by the imaging detection system by the on-site inspection computer, which mainly includes five steps of image acquisition, image preprocessing, quick judgment, feature extraction, and pattern recognition. They are described as follows:
步骤1:实时采集生产线上LCD玻璃基板的图像;Step 1: Collect images of LCD glass substrates on the production line in real time;
传送带带动被检测的玻璃基板朝固定的运动方向匀速运动,与位于其正上方的先扫描相机形成相对稳定的相对运动,线光源所发出的光线平面与运动平面法平面成一小角度θ照射,利用镜面发射和漫反射的原理对玻璃基板成像。PLC在传送带运动到固定的触发位置时触发成像检测系统开始工作,成像检测系统采处理单元图像传到现场工控机。The conveyor belt drives the glass substrate to be inspected to move at a constant speed in a fixed direction, and forms a relatively stable relative motion with the first-scanning camera directly above it. The principles of specular emission and diffuse reflection image glass substrates. When the conveyor belt moves to a fixed trigger position, the PLC triggers the imaging detection system to start working, and the imaging detection system collects the image of the processing unit and transmits it to the on-site industrial computer.
步骤2:图像预处理;Step 2: Image preprocessing;
图像预处理的目的是提高图像的质量,为后续的图像算法提供更好的输入图像。预处理包括去噪和锐化两个步骤。The purpose of image preprocessing is to improve the quality of images and provide better input images for subsequent image algorithms. Preprocessing includes two steps of denoising and sharpening.
采用3*3的窗口进行中值滤波。按以下公式实现,其中f(t,f)表示中值滤波后图像中位置(i,j)的像素值,Zk是以(i,j)为中心的3*3窗口内源图像数据像素值按从小到大的顺序排列后的数组,Med表示求中值运算。Use a 3*3 window for median filtering. Realize according to the following formula, where f(t, f) represents the pixel value of position (i, j) in the image after median filtering, and Z k is the source image data pixel in the 3*3 window centered on (i, j) An array of values arranged in ascending order, and Med represents the median operation.
f(i,j)=Med{Zk|k=1,2,3,4,5,6,7,8,9}f(i,j)=Med{Z k |k=1,2,3,4,5,6,7,8,9}
进而采用拉普拉斯锐化算子与图像矩阵进行卷积,将计算结果与f(t,f)相加减得到锐化结果g(x,y),实现过程如下:Then, the Laplacian sharpening operator is used to convolve with the image matrix, and the calculation result is added and subtracted with f(t, f) to obtain the sharpening result g(x, y). The implementation process is as follows:
首先使用拉普拉斯算子对图像进行卷积运算,First, the image is convolved using the Laplacian operator,
然后将卷积运算后的结果与原图像数据相结合,Then combine the result of the convolution operation with the original image data,
经过锐化后可以得到视觉效果更好的图像。为后面的缺陷特征提取提供良好的源图像。Images with better visual effects can be obtained after sharpening. Provide good source images for subsequent defect feature extraction.
步骤3:缺陷快速判断;Step 3: Defect quick judgment;
本系统实现了对玻璃基板的不间断视觉检测,但实际中玻璃基板并不是每一段都会有缺陷,如果对成像检测系统所采集的每一个处理单元图像都进行同样的处理会则造成了对资源的浪费,这也是没有必要的。因此,本发明设计了一个快速判断正在处理的图像中是否存在缺陷的方法。This system realizes the uninterrupted visual inspection of the glass substrate, but in reality, not every section of the glass substrate will have defects. If the image of each processing unit collected by the imaging inspection system is processed in the same way, it will cause a waste of resources. waste, which is also unnecessary. Therefore, the present invention designs a method for quickly judging whether there is a defect in the image being processed.
图像中缺陷部分与非缺陷背景部分的差别主要在于灰度和灰度变化。由于各种缺陷都没有特定的纹理特性,是一种没有规律的纹理图像。所以无论缺陷是孔洞、划痕还是颗粒,在灰度和灰度变化方面都具有一样的特性。而在离散余弦变换系数中,低频系数正代表了图像中的灰度均值,高频部分代表了图像中的灰度变化。正是基于这样的原因,本方案采用离散余弦变换计算的特征向量来表征缺陷。对特征空间进行分析从而得到缺陷是否存在的结论。该方法对于图像中的一些细微缺陷也具有良好的效果。The difference between the defect part and the non-defect background part in the image mainly lies in the gray scale and the gray scale change. Since various defects have no specific texture characteristics, it is an irregular texture image. So whether the defect is a hole, a scratch, or a particle, it has the same characteristics in terms of grayscale and grayscale variation. In the discrete cosine transform coefficients, the low-frequency coefficients represent the gray mean value in the image, and the high-frequency part represents the gray-scale change in the image. It is for this reason that this program uses the eigenvectors calculated by the discrete cosine transform to characterize the defects. The feature space is analyzed to get the conclusion of whether the defect exists. This method also has a good effect on some subtle defects in the image.
本方案采用对图像进行离散余弦变换DCT来判断图像中是否存在细微的缺陷。首先将图像分成若干个8*8大小的矩形块,按以下二维DCT变换公式分别对其进行离散余弦变换DCT,得到DCT系数C(u,v):This scheme adopts discrete cosine transform DCT to the image to judge whether there are subtle defects in the image. First, the image is divided into several 8*8 rectangular blocks, and the discrete cosine transform DCT is performed on them according to the following two-dimensional DCT transformation formula to obtain the DCT coefficient C(u,v):
其中,(x,y)表示每个矩形子块中的像素点坐标,N=8,u和v的取值范围均是[0,7]之间的整数,
对于8*8的矩形子块,本方案将其分为两个区域,高频区域和低频区域,如图8所示,其中的斜线阴影区域为低频区域,竖线阴影区域为高频区域。For the 8*8 rectangular sub-block, this scheme divides it into two areas, the high-frequency area and the low-frequency area, as shown in Figure 8, where the diagonally shaded area is the low-frequency area, and the vertical line shaded area is the high-frequency area .
定义高频系数平均值mean_high=agv{C(uh,vh)|uh,vh∈[0,2]},低频系数均值mean_low=agv{C(uv,ut)|uVvl∈[3,7]},agv表示求均值运算。Define the average value of high-frequency coefficients mean_high=agv{C(u h , v h )|u h , v h ∈[0,2]}, the mean value of low-frequency coefficients mean_low=agv{C(u v , u t )|u V v l ∈ [3, 7]}, agv represents the mean value operation.
计算出DCT域中的高频系数平均值和低频系数平均值以及二者的比值ratio,按以下公式计算:
用以下公式分别对mean_high、mean_low和ratio进行归一化处理,其中y为归一化后的结果,x为归一化前的数据。max和min分别代表归一化前的数据的最大值和最小值。Use the following formulas to normalize mean_high, mean_low, and ratio respectively, where y is the result after normalization, and x is the data before normalization. max and min represent the maximum and minimum values of the data before normalization, respectively.
归一化后得到若干个成表征8*8矩形子块的三维特征向量(mean_high,mean_low,ratio),本应用中,通过对ratio的直方图分析,ratio的直方图如图9所示,从图中可以得到聚类类数cluster应该取hist_peak=3,通过计算ratio的直方图序列的一阶差分,本实例中,通过对若干范例的分析发现直方图峰值位置的一阶差分值90%以上都在20以下,由此取T1=20,将差分值小于T1个像素即作为直方图峰值,从而得到直方图的峰值个数为hist_peak=3,设置聚类算法类别数cluster=count_peak。以mean_high、mean_low和ratio组成表征8*8矩形子块的三维特征向量,随机选取cluster个初始聚类中心,利用k-means聚类方法将矩形子块分为cluster类,聚类结果中raito的分布呈现区间性,不同类别的raito值分别分布在(0,0.4),(0.4,3)和(3,+∞)三个不相交的区间中。聚类结果中ratio值大小位于中间即(0.4,3)的类别属于缺陷区域。计算属于缺陷区域的8*8矩形子块的个数count。若count大于某一阈值T2是即认为图像中不存在缺陷,进而进行下一步处理,否则,判定当前矩形小方块中存在缺陷,将不进行后续的处理;T2的取值为50到200之间的整数。After normalization, several three-dimensional feature vectors (mean_high, mean_low, ratio) representing 8*8 rectangular sub-blocks are obtained. In this application, through the analysis of the histogram of ratio, the histogram of ratio is shown in Figure 9. From In the figure, the number of clusters can be obtained. Cluster should take hist_peak=3. By calculating the first-order difference of the histogram sequence of ratio, in this example, through the analysis of several examples, it is found that the first-order difference value of the peak position of the histogram is more than 90% All are below 20, so T1=20 is taken, and the difference value is less than T1 pixels as the peak of the histogram, so that the number of peaks in the histogram is hist_peak=3, and the number of clustering algorithm categories is set to cluster=count_peak. Use mean_high, mean_low and ratio to form a three-dimensional feature vector representing 8*8 rectangular sub-blocks, randomly select cluster initial cluster centers, use the k-means clustering method to divide rectangular sub-blocks into clusters, and the raito in the clustering results The distribution is interval, and the raito values of different categories are distributed in three disjoint intervals (0,0.4), (0.4,3) and (3,+∞). In the clustering results, the category whose ratio value is in the middle (0.4,3) belongs to the defect area. Calculate the number count of 8*8 rectangular sub-blocks belonging to the defect area. If the count is greater than a certain threshold T2, it is considered that there is no defect in the image, and then proceed to the next step of processing; otherwise, it is determined that there is a defect in the current small rectangular square, and no subsequent processing will be performed; the value of T2 is between 50 and 200 an integer of .
步骤4:目标区域特征提取;Step 4: Target area feature extraction;
在经过了步骤3经过以上步骤3后,将图像中被分类为缺陷区域的每个矩形子块中的8*8个像素的值全部设置为255,然后对图像进行反色处理,即缺陷部分图像的像素值变为255,背景部分的像素值变为0。从而得到分割后的二值图像,分割效果如图10所示,图中缺陷轮廓并没有被作为一个整体保存,所以接下来使用了轮廓查找算法来将每一个轮廓作为一个整体保存,以便后续的参数计算。使用opencv轮廓查找算法进行缺陷轮廓查找,用表示轮廓的一系列顶点组成轮廓序列。用轮廓的外接矩形框在原图像上将缺陷轮廓标记出来,并按照从左到右,从上到下的顺序排列标号。如图11是缺陷标记的最终效果。After step 3 and the above step 3, all the values of 8*8 pixels in each rectangular sub-block classified as defective areas in the image are set to 255, and then the image is reversed, that is, the defective part The pixel value of the image becomes 255, and the pixel value of the background part becomes 0. Thus, the segmented binary image is obtained. The segmentation effect is shown in Figure 10. The defect contours in the figure are not saved as a whole, so the contour search algorithm is used to save each contour as a whole, so that the subsequent parameter calculation. Use the opencv contour search algorithm to find the defect contour, and use a series of vertices representing the contour to form a contour sequence. Use the circumscribed rectangular frame of the contour to mark the defect contour on the original image, and arrange the labels in the order from left to right and from top to bottom. Figure 11 is the final effect of the defect mark.
分别计算每个缺陷轮廓的位置(Px,Py),面积S,平均灰度L,圆形度E参数。The position (Px, Py), area S, average gray level L, and circularity E parameters of each defect contour are calculated separately.
其中,缺陷的轮廓位置(Px,Py)是缺陷部分外接矩形的左下角点坐标;面积S以二值图像中不为零的像素数目表示,平均灰度L以矩形区域所包含像素的灰度平局值表示,圆形度E按以下公式计算:E=P2/4πS;Among them, the contour position (Px, Py) of the defect is the coordinates of the lower left corner of the rectangle circumscribing the defect; the area S is represented by the number of pixels that are not zero in the binary image, and the average gray level L is represented by the gray level of the pixels contained in the rectangular area The tie value indicates that the circularity E is calculated according to the following formula: E=P 2 /4πS;
其中,P为周长,由顶点序列之间的距离累加计算得到。S为面积,以缺陷图像像素数表示。圆形度E值越接近1,表示物体形状越接近圆;其取值越大,表示物体形状越细长。Among them, P is the perimeter, which is calculated by accumulating the distances between the vertex sequences. S is the area, represented by the number of pixels in the defect image. The closer the value of circularity E is to 1, the closer the shape of the object is to a circle; the larger the value, the thinner the shape of the object.
步骤5:缺陷类型识别;Step 5: Defect type identification;
本发明将缺陷分为划痕,刮擦,孔洞三类。首先对之前计算的面积S,圆形度E,平均灰度L三个特征量按以下公式进行归一化处理,其中y为归一化后的结果,x为归一化前的数据,max和min分别代表归一化前的数据的最大值和最小值:The present invention classifies defects into three types: scratches, scratches, and holes. First, normalize the previously calculated three feature quantities of area S, circularity E, and average gray level L according to the following formula, where y is the result after normalization, x is the data before normalization, and max and min represent the maximum and minimum values of the data before normalization, respectively:
将归一化后的三维特征向量作为输入特征量进行分类。这里采用支持向量机(SVM)的分类方法。构造2个二分类SVM分类器,实现将对数据的三类划分。定义划痕,刮擦的标签分别为1和2,孔洞类别的标签为3;分类器C1实现1与2对3的分类,分类器C2实现1对2的分类。The normalized three-dimensional feature vector is used as the input feature quantity for classification. The classification method of support vector machine (SVM) is adopted here. Construct two two-category SVM classifiers to realize the three-category division of the data. Define scratches, the labels of the scratches are 1 and 2, and the label of the hole category is 3; the classifier C1 realizes the classification of 1 and 2 to 3, and the classifier C2 realizes the classification of 1 to 2.
SVM方法是通过函数将输入空间中的样本映射到高维特征空间中,并在该特征空间中构造最优分类面。而当在特征空间中构造最优超平面的时候,训练算法仅适用特征空间中的点积,即所以,若能找到一个函数K使这样,在高维空间中实际上只需进行内积运算,甚至不必知道变换的形式。The SVM method is through the function The samples in the input space are mapped to the high-dimensional feature space, and the optimal classification surface is constructed in the feature space. When constructing the optimal hyperplane in the feature space, the training algorithm only applies the dot product in the feature space, that is Therefore, if we can find a function K such that In this way, in a high-dimensional space, only the inner product operation is actually needed, and the transformation does not even need to be known form.
经过一系列变换,SVM方法即为以下最优化问题。After a series of transformations, the SVM method is the following optimization problem.
满足条件yTα=0,0≤αi≤C,其中i=1,…nSatisfy the condition y T α=0,0≤α i ≤C, where i=1,…n
式中,C是惩罚系数,e是单位矩阵,Q是n*n的半正定矩阵Q(i,j)=yiyjK(xi,xj)本例采用RBF核函数:In the formula, C is the penalty coefficient, e is the identity matrix, and Q is the positive semi-definite matrix of n*n Q( i ,j)=yiy j K(xi,x j ) In this example, the RBF kernel function is used:
K(xi,xj)=exp(-γ||xi-xj||2),γ>0,其中γ称为径向基半径。K(x i , x j )=exp(-γ||x i -x j || 2 ), γ>0, where γ is called the radial base radius.
构造SVM分类器即确定C和γ的过程。Constructing an SVM classifier is the process of determining C and γ.
实验样本为划痕,刮擦和孔洞三类缺陷各20个,记三个样本集分别为S1,S2和S3,从划痕和刮擦样本中随机各选取10个样本组成标签为0的样本集S0。一共四组实验样本,随机选取每组样本中的14个作为训练集,6个样本作为测试集。应用本发明所述方法进行训练,样本训练数据如下表所示:The experimental samples are 20 scratches, 20 scratches and 20 holes. The three sample sets are respectively S1, S2 and S3. 10 samples are randomly selected from the scratches and scratches to form a sample with a label of 0. Set S0. There are four sets of experimental samples in total, 14 samples in each set are randomly selected as the training set, and 6 samples are used as the test set. Apply the method described in the present invention to train, and sample training data is as shown in the following table:
表1样本训练数据Table 1 Sample training data
采用试验的方法来确定参数C和γ。用样本集S0和样本集S3训练分类器C1,样本集S1和S2训练分类器C2。通过反复的测试,确定分类器参数,实验的参数范围为C∈(60,300),γ∈(0.2,3.0)分类器C1的参数C=120,γ=0.4时得到的结果是最好的,此时的测试正确率可达到100%;分类器C2的参数C=180,γ=1.2时得到的结果是最好的,此时的测试正确率可达到83.33%。Experimental methods are used to determine the parameters C and γ. The classifier C1 is trained with the sample set S0 and the sample set S3, and the classifier C2 is trained with the sample sets S1 and S2. Through repeated tests, the classifier parameters are determined. The experimental parameter range is C ∈ (60, 300), γ ∈ (0.2, 3.0). The parameter C=120, γ=0.4 of the classifier C1 is the best result. , the test accuracy rate can reach 100% at this time; the result obtained when the parameter C=180 and γ=1.2 of the classifier C2 is the best, and the test accuracy rate at this time can reach 83.33%.
如图11所示是本实例检测方案的最终处理结果示例,其中缺陷2,4,5被划分为划痕,3被划分为刮擦,1,6被划分为孔洞。As shown in Figure 11 is an example of the final processing results of the detection scheme in this example, in which defects 2, 4, and 5 are classified as scratches, 3 are classified as scratches, and defects 1 and 6 are classified as holes.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410125777.0A CN103913468B (en) | 2014-03-31 | 2014-03-31 | Many defects of vision checkout equipment and the method for large-scale LCD glass substrate on production line |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410125777.0A CN103913468B (en) | 2014-03-31 | 2014-03-31 | Many defects of vision checkout equipment and the method for large-scale LCD glass substrate on production line |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103913468A true CN103913468A (en) | 2014-07-09 |
CN103913468B CN103913468B (en) | 2016-05-04 |
Family
ID=51039310
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410125777.0A Active CN103913468B (en) | 2014-03-31 | 2014-03-31 | Many defects of vision checkout equipment and the method for large-scale LCD glass substrate on production line |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103913468B (en) |
Cited By (43)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104539878A (en) * | 2014-11-13 | 2015-04-22 | 天津市天锻压力机有限公司 | Dynamic visual monitoring system for aluminum alloy hub forging automatic production line |
CN104568977A (en) * | 2014-12-29 | 2015-04-29 | 东莞市松菱玻璃防爆技术有限公司 | Automatic detection system and detection method for surface defects of plane glass |
CN104568989A (en) * | 2014-12-30 | 2015-04-29 | 湖北优尼科光电技术股份有限公司 | Glass substrate defect detecting method |
CN104614372A (en) * | 2015-01-20 | 2015-05-13 | 佛山职业技术学院 | Detection method of solar silicon wafer |
CN105092591A (en) * | 2015-08-27 | 2015-11-25 | 任红霞 | Image-processing-based workpiece defect positioning method |
CN105286028A (en) * | 2015-11-19 | 2016-02-03 | 浙江省农业科学院 | Peeling platform citrus number control device for citrus peeling equipment |
CN105466946A (en) * | 2014-08-25 | 2016-04-06 | 研祥智能科技股份有限公司 | Machine vision based on-line detection system and detection method thereof |
WO2016070462A1 (en) * | 2014-11-03 | 2016-05-12 | 深圳市华星光电技术有限公司 | Histogram of oriented gradient-based display panel defect detection method |
WO2016095517A1 (en) * | 2014-12-18 | 2016-06-23 | 京东方科技集团股份有限公司 | Substrate inspection device and method |
CN105784331A (en) * | 2016-03-11 | 2016-07-20 | 利亚德光电股份有限公司 | Data-acquisition-equipment-based data acquisition method and data acquisition equipment |
CN106198569A (en) * | 2016-08-03 | 2016-12-07 | 广东工业大学 | A kind of LTPS/IGZO glass substrate broken hole method for quick |
CN106248686A (en) * | 2016-07-01 | 2016-12-21 | 广东技术师范学院 | Glass surface defects based on machine vision detection device and method |
CN106290391A (en) * | 2016-08-01 | 2017-01-04 | 凌云光技术集团有限责任公司 | A kind of system and method that liquid crystal display screen is carried out surface oxidation detection |
CN106409711A (en) * | 2016-09-12 | 2017-02-15 | 佛山市南海区广工大数控装备协同创新研究院 | Solar silicon wafer defect detecting system and method |
CN107289878A (en) * | 2016-04-13 | 2017-10-24 | 旭硝子株式会社 | The manufacture method of transparent panel surface examining device, transparent panel surface inspecting method and glass plate |
CN107464236A (en) * | 2017-07-28 | 2017-12-12 | 武汉华星光电半导体显示技术有限公司 | A kind of flexible display substrates defect estimation method based on AOI |
CN108020561A (en) * | 2016-11-03 | 2018-05-11 | 应用材料以色列公司 | For the method adaptively sampled in check object and its system |
CN108445020A (en) * | 2018-01-31 | 2018-08-24 | 彩虹显示器件股份有限公司 | A kind of glass substrate defect aggregation recognition methods |
CN108593651A (en) * | 2018-04-10 | 2018-09-28 | 安徽利珀科技有限公司 | A kind of light guide plate automatic detection device |
JP2018180545A (en) * | 2017-04-18 | 2018-11-15 | 三星ディスプレイ株式會社Samsung Display Co.,Ltd. | Defect detection method, system for defect detection and training method |
WO2018205742A1 (en) * | 2017-05-12 | 2018-11-15 | 京东方科技集团股份有限公司 | Substrate debris detection method, apparatus and system |
CN109001213A (en) * | 2018-07-19 | 2018-12-14 | 华南理工大学 | A kind of reel-to-reel ultrathin flexible IC exterior substrate detection method |
CN109270901A (en) * | 2018-09-29 | 2019-01-25 | 彩虹(合肥)液晶玻璃有限公司 | Glass substrate produces management-control method and device |
CN109387527A (en) * | 2017-08-09 | 2019-02-26 | 苏州精濑光电有限公司 | On a kind of film in film defect detection method |
CN109509165A (en) * | 2017-09-11 | 2019-03-22 | 凌云光技术集团有限责任公司 | Framing region choosing method and device |
CN109633951A (en) * | 2019-02-26 | 2019-04-16 | 深圳市华星光电技术有限公司 | Fragmentation detection device and fragmentation detection method |
CN109883325A (en) * | 2019-03-13 | 2019-06-14 | 成都格拉斯曼科技有限公司 | A kind of real-time detection device of float glass width |
CN109934814A (en) * | 2019-03-15 | 2019-06-25 | 英业达科技有限公司 | Surface defect detecting system and its method |
CN110049249A (en) * | 2019-05-10 | 2019-07-23 | 东莞博美特自动化科技有限公司 | Trigger Control Circuit of Line Scan Camera |
US10424059B2 (en) | 2017-09-11 | 2019-09-24 | International Business Machines Corporation | Quality evaluation |
CN110378646A (en) * | 2019-06-17 | 2019-10-25 | 北海惠科光电技术有限公司 | Manage the method and glass substrate production control system of abnormal glass substrate |
CN110470673A (en) * | 2019-08-09 | 2019-11-19 | 湖北华宁防腐技术股份有限公司 | A kind of multichannel dope board checking device and its application method |
CN111223080A (en) * | 2020-01-02 | 2020-06-02 | 长江存储科技有限责任公司 | Wafer detection method and device, electronic equipment and storage medium |
JP2020528996A (en) * | 2018-07-02 | 2020-10-01 | 北京百度網訊科技有限公司 | Display screen quality inspection methods, equipment, electronic devices and storage media |
CN112088387A (en) * | 2018-05-10 | 2020-12-15 | 因斯佩克托艾姆威有限责任公司 | System and method for detecting defects in imaged articles |
CN113019973A (en) * | 2018-07-17 | 2021-06-25 | 龙口味美思环保科技有限公司 | Online visual inspection method for manufacturing defects of ring-pull cans |
CN113256635A (en) * | 2021-07-15 | 2021-08-13 | 武汉中导光电设备有限公司 | Defect detection method, device, equipment and readable storage medium |
CN113808136A (en) * | 2021-11-19 | 2021-12-17 | 中导光电设备股份有限公司 | Liquid crystal screen defect detection method and system based on nearest neighbor algorithm |
US11249032B2 (en) | 2017-11-15 | 2022-02-15 | Corning Incorporated | Methods and apparatus for detecting surface defects on glass sheets |
CN114235847A (en) * | 2021-12-20 | 2022-03-25 | 深圳市尊绅投资有限公司 | A liquid crystal panel glass substrate surface defect detection device and detection method |
CN114279691A (en) * | 2021-12-27 | 2022-04-05 | 上海创功通讯技术有限公司 | Testing device and method |
CN114581742A (en) * | 2021-10-26 | 2022-06-03 | 中科慧远视觉技术(北京)有限公司 | Linearity-based connected domain clustering fusion method, device, system and medium |
CN116721074A (en) * | 2023-06-07 | 2023-09-08 | 昊泽吉顺新材料(深圳)有限公司 | Mobile phone protection film production quality detection system based on image analysis |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050117796A1 (en) * | 2003-11-28 | 2005-06-02 | Shigeru Matsui | Pattern defect inspection method and apparatus |
CN101871896A (en) * | 2009-04-24 | 2010-10-27 | 湖南科创信息技术股份有限公司 | On-line detection method and device for surface embossing glass blemishes |
JP2010271133A (en) * | 2009-05-20 | 2010-12-02 | Oputouea Kk | Optical scanning type plane inspection device |
CN102221563A (en) * | 2011-03-23 | 2011-10-19 | 梅州泰源科技有限公司 | Apparatus for automatically inspecting defects of PCB (printed circuit board) |
-
2014
- 2014-03-31 CN CN201410125777.0A patent/CN103913468B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050117796A1 (en) * | 2003-11-28 | 2005-06-02 | Shigeru Matsui | Pattern defect inspection method and apparatus |
CN101871896A (en) * | 2009-04-24 | 2010-10-27 | 湖南科创信息技术股份有限公司 | On-line detection method and device for surface embossing glass blemishes |
JP2010271133A (en) * | 2009-05-20 | 2010-12-02 | Oputouea Kk | Optical scanning type plane inspection device |
CN102221563A (en) * | 2011-03-23 | 2011-10-19 | 梅州泰源科技有限公司 | Apparatus for automatically inspecting defects of PCB (printed circuit board) |
Cited By (63)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105466946B (en) * | 2014-08-25 | 2023-11-17 | 深圳市研祥智慧科技股份有限公司 | Online detection system and method based on machine vision |
CN105466946A (en) * | 2014-08-25 | 2016-04-06 | 研祥智能科技股份有限公司 | Machine vision based on-line detection system and detection method thereof |
WO2016070462A1 (en) * | 2014-11-03 | 2016-05-12 | 深圳市华星光电技术有限公司 | Histogram of oriented gradient-based display panel defect detection method |
CN104539878A (en) * | 2014-11-13 | 2015-04-22 | 天津市天锻压力机有限公司 | Dynamic visual monitoring system for aluminum alloy hub forging automatic production line |
WO2016095517A1 (en) * | 2014-12-18 | 2016-06-23 | 京东方科技集团股份有限公司 | Substrate inspection device and method |
US9880408B2 (en) | 2014-12-18 | 2018-01-30 | Boe Technology Group Co., Ltd. | Substrate inspection device and method |
CN104568977A (en) * | 2014-12-29 | 2015-04-29 | 东莞市松菱玻璃防爆技术有限公司 | Automatic detection system and detection method for surface defects of plane glass |
CN104568989A (en) * | 2014-12-30 | 2015-04-29 | 湖北优尼科光电技术股份有限公司 | Glass substrate defect detecting method |
CN104614372A (en) * | 2015-01-20 | 2015-05-13 | 佛山职业技术学院 | Detection method of solar silicon wafer |
CN104614372B (en) * | 2015-01-20 | 2017-05-03 | 佛山职业技术学院 | Detection method of solar silicon wafer |
CN105092591A (en) * | 2015-08-27 | 2015-11-25 | 任红霞 | Image-processing-based workpiece defect positioning method |
CN105286028A (en) * | 2015-11-19 | 2016-02-03 | 浙江省农业科学院 | Peeling platform citrus number control device for citrus peeling equipment |
CN105286028B (en) * | 2015-11-19 | 2017-04-19 | 浙江省农业科学院 | Peeling platform citrus number control device for citrus peeling equipment |
CN105784331A (en) * | 2016-03-11 | 2016-07-20 | 利亚德光电股份有限公司 | Data-acquisition-equipment-based data acquisition method and data acquisition equipment |
CN107289878A (en) * | 2016-04-13 | 2017-10-24 | 旭硝子株式会社 | The manufacture method of transparent panel surface examining device, transparent panel surface inspecting method and glass plate |
CN106248686A (en) * | 2016-07-01 | 2016-12-21 | 广东技术师范学院 | Glass surface defects based on machine vision detection device and method |
CN106290391A (en) * | 2016-08-01 | 2017-01-04 | 凌云光技术集团有限责任公司 | A kind of system and method that liquid crystal display screen is carried out surface oxidation detection |
CN106290391B (en) * | 2016-08-01 | 2019-07-05 | 凌云光技术集团有限责任公司 | A kind of pair of liquid crystal display carries out the system and method for surface oxidation detection |
CN106198569A (en) * | 2016-08-03 | 2016-12-07 | 广东工业大学 | A kind of LTPS/IGZO glass substrate broken hole method for quick |
CN106409711B (en) * | 2016-09-12 | 2019-03-12 | 佛山市南海区广工大数控装备协同创新研究院 | A solar silicon wafer defect detection system and method |
CN106409711A (en) * | 2016-09-12 | 2017-02-15 | 佛山市南海区广工大数控装备协同创新研究院 | Solar silicon wafer defect detecting system and method |
CN108020561A (en) * | 2016-11-03 | 2018-05-11 | 应用材料以色列公司 | For the method adaptively sampled in check object and its system |
TWI754741B (en) * | 2017-04-18 | 2022-02-11 | 南韓商三星顯示器有限公司 | System and method for detecting white spot or white spot mura defects in display panel and method for training the system |
JP2018180545A (en) * | 2017-04-18 | 2018-11-15 | 三星ディスプレイ株式會社Samsung Display Co.,Ltd. | Defect detection method, system for defect detection and training method |
US10902583B2 (en) | 2017-05-12 | 2021-01-26 | Boe Technology Group Co., Ltd. | Dummy substrate detection method, dummy substrate detector device and system |
WO2018205742A1 (en) * | 2017-05-12 | 2018-11-15 | 京东方科技集团股份有限公司 | Substrate debris detection method, apparatus and system |
CN107464236B (en) * | 2017-07-28 | 2020-05-05 | 武汉华星光电半导体显示技术有限公司 | Flexible display substrate defect discrimination method based on AOI |
CN107464236A (en) * | 2017-07-28 | 2017-12-12 | 武汉华星光电半导体显示技术有限公司 | A kind of flexible display substrates defect estimation method based on AOI |
CN109387527A (en) * | 2017-08-09 | 2019-02-26 | 苏州精濑光电有限公司 | On a kind of film in film defect detection method |
CN109509165A (en) * | 2017-09-11 | 2019-03-22 | 凌云光技术集团有限责任公司 | Framing region choosing method and device |
US10424059B2 (en) | 2017-09-11 | 2019-09-24 | International Business Machines Corporation | Quality evaluation |
US11249032B2 (en) | 2017-11-15 | 2022-02-15 | Corning Incorporated | Methods and apparatus for detecting surface defects on glass sheets |
CN108445020B (en) * | 2018-01-31 | 2021-11-09 | 彩虹显示器件股份有限公司 | Glass substrate defect aggregation identification method |
CN108445020A (en) * | 2018-01-31 | 2018-08-24 | 彩虹显示器件股份有限公司 | A kind of glass substrate defect aggregation recognition methods |
CN108593651A (en) * | 2018-04-10 | 2018-09-28 | 安徽利珀科技有限公司 | A kind of light guide plate automatic detection device |
CN112088387B (en) * | 2018-05-10 | 2024-04-16 | 因斯佩克托艾姆威有限责任公司 | System and method for detecting defects in imaged articles |
CN112088387A (en) * | 2018-05-10 | 2020-12-15 | 因斯佩克托艾姆威有限责任公司 | System and method for detecting defects in imaged articles |
US11488294B2 (en) | 2018-07-02 | 2022-11-01 | Beijing Baidu Netcom Science Technology Co., Ltd. | Method for detecting display screen quality, apparatus, electronic device and storage medium |
JP2020528996A (en) * | 2018-07-02 | 2020-10-01 | 北京百度網訊科技有限公司 | Display screen quality inspection methods, equipment, electronic devices and storage media |
CN113019973B (en) * | 2018-07-17 | 2022-10-21 | 山东山科数字经济研究院有限公司 | Online visual inspection method for manufacturing defects of ring-pull cans |
CN113019973A (en) * | 2018-07-17 | 2021-06-25 | 龙口味美思环保科技有限公司 | Online visual inspection method for manufacturing defects of ring-pull cans |
CN109001213A (en) * | 2018-07-19 | 2018-12-14 | 华南理工大学 | A kind of reel-to-reel ultrathin flexible IC exterior substrate detection method |
CN109001213B (en) * | 2018-07-19 | 2021-08-10 | 华南理工大学 | Reel-to-reel ultrathin flexible IC substrate appearance detection method |
CN109270901A (en) * | 2018-09-29 | 2019-01-25 | 彩虹(合肥)液晶玻璃有限公司 | Glass substrate produces management-control method and device |
CN109633951A (en) * | 2019-02-26 | 2019-04-16 | 深圳市华星光电技术有限公司 | Fragmentation detection device and fragmentation detection method |
CN109883325A (en) * | 2019-03-13 | 2019-06-14 | 成都格拉斯曼科技有限公司 | A kind of real-time detection device of float glass width |
CN109934814A (en) * | 2019-03-15 | 2019-06-25 | 英业达科技有限公司 | Surface defect detecting system and its method |
CN109934814B (en) * | 2019-03-15 | 2022-02-01 | 英业达科技有限公司 | Surface defect detection system and method thereof |
CN110049249A (en) * | 2019-05-10 | 2019-07-23 | 东莞博美特自动化科技有限公司 | Trigger Control Circuit of Line Scan Camera |
CN110378646B (en) * | 2019-06-17 | 2023-07-28 | 北海惠科光电技术有限公司 | Method for controlling abnormal glass substrate and glass substrate production control system |
CN110378646A (en) * | 2019-06-17 | 2019-10-25 | 北海惠科光电技术有限公司 | Manage the method and glass substrate production control system of abnormal glass substrate |
CN110470673A (en) * | 2019-08-09 | 2019-11-19 | 湖北华宁防腐技术股份有限公司 | A kind of multichannel dope board checking device and its application method |
CN110470673B (en) * | 2019-08-09 | 2021-12-14 | 湖北华宁防腐技术股份有限公司 | Multi-channel anti-corrosion rubber plate detection device and application method thereof |
CN111223080A (en) * | 2020-01-02 | 2020-06-02 | 长江存储科技有限责任公司 | Wafer detection method and device, electronic equipment and storage medium |
CN113256635A (en) * | 2021-07-15 | 2021-08-13 | 武汉中导光电设备有限公司 | Defect detection method, device, equipment and readable storage medium |
CN114581742A (en) * | 2021-10-26 | 2022-06-03 | 中科慧远视觉技术(北京)有限公司 | Linearity-based connected domain clustering fusion method, device, system and medium |
CN114581742B (en) * | 2021-10-26 | 2023-01-24 | 中科慧远视觉技术(北京)有限公司 | Linearity-based connected domain clustering fusion method, device, system and medium |
CN113808136B (en) * | 2021-11-19 | 2022-02-22 | 中导光电设备股份有限公司 | Liquid crystal screen defect detection method and system based on nearest neighbor algorithm |
CN113808136A (en) * | 2021-11-19 | 2021-12-17 | 中导光电设备股份有限公司 | Liquid crystal screen defect detection method and system based on nearest neighbor algorithm |
CN114235847A (en) * | 2021-12-20 | 2022-03-25 | 深圳市尊绅投资有限公司 | A liquid crystal panel glass substrate surface defect detection device and detection method |
CN114279691A (en) * | 2021-12-27 | 2022-04-05 | 上海创功通讯技术有限公司 | Testing device and method |
CN116721074A (en) * | 2023-06-07 | 2023-09-08 | 昊泽吉顺新材料(深圳)有限公司 | Mobile phone protection film production quality detection system based on image analysis |
CN116721074B (en) * | 2023-06-07 | 2024-02-13 | 昊泽吉顺新材料(深圳)有限公司 | Mobile phone protection film production quality detection system based on image analysis |
Also Published As
Publication number | Publication date |
---|---|
CN103913468B (en) | 2016-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103913468B (en) | Many defects of vision checkout equipment and the method for large-scale LCD glass substrate on production line | |
US11310467B2 (en) | Object inspection system and method for inspecting an object | |
CN118608504B (en) | Machine vision-based part surface quality detection method and system | |
CN109816644B (en) | An automatic detection system for bearing defects based on multi-angle light source images | |
CN111179225B (en) | Test paper surface texture defect detection method based on gray gradient clustering | |
CN107941808B (en) | 3D printing forming quality detection system and method based on machine vision | |
CN110570393A (en) | A method for detecting defects in the window area of mobile phone glass cover based on machine vision | |
CN107123114A (en) | A kind of cloth defect inspection method and device based on machine learning | |
CN107886500A (en) | A kind of production monitoring method and system based on machine vision and machine learning | |
CN107389701A (en) | A kind of PCB visual defects automatic checkout system and method based on image | |
CN107870172A (en) | A Method of Cloth Defect Detection Based on Image Processing | |
CN106248686A (en) | Glass surface defects based on machine vision detection device and method | |
CN109001212A (en) | A kind of stainless steel soup ladle defect inspection method based on machine vision | |
CN201935873U (en) | Online image detection system for bottle cap | |
CN112184648A (en) | Piston surface defect detection method and system based on deep learning | |
CN114705686A (en) | Method and system for detecting surface defects of cylindrical pot, controller and industrial personal computer | |
CN105931225B (en) | A method of based on realtime graphic detection technique analyzing crystal growth form and Size Distribution | |
CN102175692A (en) | System and method for detecting defects of fabric gray cloth quickly | |
CN111805541B (en) | Deep learning-based traditional Chinese medicine decoction piece cleaning and selecting device and cleaning and selecting method | |
CN113808084B (en) | A model-fusion online cigarette package surface mildew detection method and system | |
CN111474179A (en) | Lens surface cleanliness detection device and method | |
CN111487192A (en) | Machine vision surface defect detection device and method based on artificial intelligence | |
Zhao et al. | Recognition of flooding and sinking conditions in flotation process using soft measurement of froth surface level and QTA | |
CN114235837A (en) | LED packaging surface defect detection method, device, medium and equipment based on machine vision | |
CN115791801A (en) | 3D glass online monitoring platform based on machine vision |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |