[go: up one dir, main page]

CN106290400A - A hole inspection method and hole inspection equipment applied to boards - Google Patents

A hole inspection method and hole inspection equipment applied to boards Download PDF

Info

Publication number
CN106290400A
CN106290400A CN201610617934.9A CN201610617934A CN106290400A CN 106290400 A CN106290400 A CN 106290400A CN 201610617934 A CN201610617934 A CN 201610617934A CN 106290400 A CN106290400 A CN 106290400A
Authority
CN
China
Prior art keywords
hole
image
features
board
boards
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.)
Pending
Application number
CN201610617934.9A
Other languages
Chinese (zh)
Inventor
田洋洋
龙庆文
敖荟兰
侯志松
徐地华
郑臣
王国栋
邹杨
周江秀
肖林锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Zhengye Technology Co Ltd
Original Assignee
Guangdong Zhengye Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Zhengye Technology Co Ltd filed Critical Guangdong Zhengye Technology Co Ltd
Priority to CN201610617934.9A priority Critical patent/CN106290400A/en
Publication of CN106290400A publication Critical patent/CN106290400A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/956Inspecting patterns on the surface of objects
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/956Inspecting patterns on the surface of objects
    • G01N2021/95638Inspecting patterns on the surface of objects for PCB's
    • G01N2021/95653Through-holes

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Image Processing (AREA)

Abstract

本发明公开了一种应用于板的检孔方法及检孔设备,检孔方法包括:以背光源照射横向并列放置的N个板,扫描获得N个板的透光图像,N为大于零的正整数;从获得的图像中提取板的轮廓特征及孔特征,并基于图像特征拼接的方法,将提取的图像特征进行拼接;从拼接后的图像中获取孔特征数据,并结合轮廓特征区分出每一板体以及对应于每一板体的孔特征数据;根据标准档及对应于每一板体的孔特征数据对所述N个板分别进行判别。本发明应用于板的检孔方法及检孔设备,基于图像特征提取、特征拼接及图像检测,实现了可同时检测多块板,使检测效率提高。

The present invention discloses a hole detection method and hole detection device applied to a plate, the hole detection method comprising: irradiating N plates placed in parallel horizontally with a backlight source, scanning and obtaining light transmission images of the N plates, N being a positive integer greater than zero; extracting the contour features and hole features of the plate from the obtained image, and splicing the extracted image features based on an image feature splicing method; obtaining hole feature data from the spliced image, and distinguishing each plate body and the hole feature data corresponding to each plate body in combination with the contour features; and distinguishing the N plates respectively according to the standard file and the hole feature data corresponding to each plate body. The hole detection method and hole detection device applied to a plate of the present invention realizes the simultaneous detection of multiple plates based on image feature extraction, feature splicing and image detection, thereby improving the detection efficiency.

Description

一种应用于板的检孔方法及检孔设备A hole inspection method and hole inspection equipment applied to boards

技术领域technical field

本发明涉及板检测技术领域,特别是涉及一种应用于板的检孔方法及检孔设备。The invention relates to the technical field of board inspection, in particular to a hole inspection method and hole inspection equipment applied to boards.

背景技术Background technique

近年来,整个电路板行业都不景气,接单量下降,成本增高,生产效益降低。为了度过低迷期,各电路板厂家纷纷采取应对措施,其中,控制人员成本、提高设备效率成为主要的应对措施之一。In recent years, the entire circuit board industry has been in a downturn, the number of orders received has decreased, costs have increased, and production efficiency has decreased. In order to survive the downturn, various circuit board manufacturers have adopted countermeasures, among which controlling personnel costs and improving equipment efficiency have become one of the main countermeasures.

检孔机是一种用于检查印刷电路板成品板或钻孔板上的孔数、孔的品质(异型孔、塞孔等瑕疵),并自动作出OK/NG判断,根据判断结果将电路板进行分选的仪器,检孔机作为一种面向电路板的专业检测仪器,同样面临着客户高效率检测的要求。The hole inspection machine is used to check the number of holes and the quality of the holes (defects such as special-shaped holes and plug holes) on the finished printed circuit board or the drilled board, and automatically make an OK/NG judgment. As a sorting instrument, the hole inspection machine, as a professional testing instrument for circuit boards, also faces the requirements of customers for high-efficiency testing.

因此,如何提高检孔设备的检测效率,成为当前本领域技术人员需要考虑及解决的问题。Therefore, how to improve the detection efficiency of the hole inspection equipment has become a problem to be considered and solved by those skilled in the art.

发明内容Contents of the invention

本发明的目的是提供一种应用于板的检孔方法及检孔设备,基于图像特征提取、特征拼接及图像检测,实现了可同时检测多块板,使检测效率提高。The purpose of the present invention is to provide a hole inspection method and hole inspection equipment applied to boards. Based on image feature extraction, feature splicing and image detection, multiple boards can be inspected at the same time, and the detection efficiency is improved.

为实现上述目的,本发明提供如下技术方案:To achieve the above object, the present invention provides the following technical solutions:

一种应用于板的检孔方法,包括:A hole inspection method applied to a board, comprising:

以背光源照射横向并列放置的N个板,扫描获得所述N个板的透光图像,N为大于零的正整数;Illuminate N boards placed side by side with a backlight, and scan to obtain the light-transmitting images of the N boards, where N is a positive integer greater than zero;

从获得的图像中提取板的轮廓特征及孔特征,并基于图像特征拼接的方法,将提取的图像特征进行拼接;Extract the profile features and hole features of the board from the obtained image, and stitch the extracted image features based on the method of image feature stitching;

从拼接后的图像中获取孔特征数据,并结合轮廓特征区分出每一板体以及对应于每一板体的孔特征数据;Acquiring hole feature data from the spliced image, and distinguishing each plate body and hole feature data corresponding to each plate body in combination with contour features;

根据标准档及对应于每一板体的孔特征数据对所述N个板分别进行判别。According to the standard file and the hole feature data corresponding to each board body, the N boards are discriminated respectively.

可选地,N为6,横向并列放置6块板。Optionally, N is 6, and 6 boards are placed side by side horizontally.

可选地,在扫描所述N个板的透光图像的同时,从获得的图像中提取所述N个板的轮廓特征及孔特征。Optionally, while the light-transmitting images of the N plates are scanned, contour features and hole features of the N plates are extracted from the obtained images.

可选地,还包括:对拼接后的图像进行存储及显示。Optionally, it also includes: storing and displaying the spliced images.

可选地,在扫描获得所述N个板的透光图像之前,还包括:Optionally, before scanning to obtain the light-transmitting images of the N plates, it also includes:

载入标准档,根据标准档建立时空环数据结构;Load the standard file, and establish the space-time ring data structure according to the standard file;

所述根据标准档及对应于每一板的孔特征数据对所述N个板分别进行判别,包括:According to the standard file and the hole feature data corresponding to each plate, the N plates are respectively distinguished, including:

采用所述时空环数据结构对板的孔特征数据进行比对检测,包括对板的孔配准检测和槽孔毛刺检测,根据检测结果对板进行判别。The space-time ring data structure is used to compare and detect the hole feature data of the board, including the registration detection of the board hole and the burr detection of the slot hole, and the board is discriminated according to the detection result.

一种应用于板的检孔设备,包括:A hole inspection device applied to boards, comprising:

机架;frame;

设置在所述机架上的N个平行并列的传送带,N为大于零的正整数;N parallel conveyor belts arranged on the frame, N is a positive integer greater than zero;

扫描机构,包括设置在所述传送带下方的条形光源,以及设置在所述传送带上方的、与所述条形光源相对设置的用于扫描获得N个板的透光图像的图像传感器;A scanning mechanism, including a bar-shaped light source arranged below the conveyor belt, and an image sensor arranged above the conveyor belt and opposite to the bar-shaped light source for scanning to obtain light-transmitting images of N plates;

与所述传送带、所述扫描机构相连的控制主机,所述控制主机包括处理器,所述处理器用于从扫描获得的图像中提取板的轮廓特征及孔特征,基于图像特征拼接的方法将提取的图像特征进行拼接,并从拼接后的图像中获取孔特征数据,结合轮廓特征区分出每一板体以及对应于每一板体的孔特征数据,并根据标准档及对应于每一板体的孔特征数据对所述N个板分别进行判别。A control host connected to the conveyor belt and the scanning mechanism, the control host includes a processor, and the processor is used to extract the outline features and hole features of the board from the image obtained by scanning, and the method based on image feature stitching will extract The image features are spliced, and the hole feature data is obtained from the spliced image, combined with the contour features to distinguish each plate and the hole feature data corresponding to each plate, and according to the standard file and corresponding to each plate The hole feature data of the N plates are respectively discriminated.

可选地,还包括设置在所述传送带末端的分拣机构,所述分拣机构包括N组横向排列的传送滚轴,N组所述传送滚轴分别与N个所述传送带对应。Optionally, it also includes a sorting mechanism arranged at the end of the conveyor belt, the sorting mechanism includes N sets of conveying rollers arranged horizontally, and the N groups of conveying rollers correspond to the N conveyor belts respectively.

可选地,所述分拣机构还包括与所述传送滚轴连接的、可升降的分拣平台;Optionally, the sorting mechanism also includes a liftable sorting platform connected to the conveying roller;

所述设备还包括与所述分拣机构连接的承接台。The equipment also includes a receiving table connected with the sorting mechanism.

可选地,还包括设置在所述分拣平台与所述传送滚轴连接处的用于感应传送的板是否到达的感应器。Optionally, it also includes a sensor arranged at the connection between the sorting platform and the conveying roller for sensing whether the conveyed board arrives.

可选地,包括双排所述感应器。Optionally, double rows of said sensors are included.

由上述技术方案可以看出,本发明所提供的应用于板的检孔方法,包括:以背光源照射横向并列放置的N个板,扫描获得所述N个板的透光图像,N为大于零的正整数;从获得的图像中提取板的轮廓特征及孔特征,并基于图像特征拼接的方法,将提取的图像特征进行拼接;从拼接后的图像中获取孔特征数据,并结合轮廓特征区分出每一板体以及对应于每一板体的孔特征数据;根据标准档及对应于每一板体的孔特征数据对所述N个板分别进行判别,判别每一块板的孔是否合格,从而实现可同时检测多块板,检测效率提高。It can be seen from the above technical solution that the hole inspection method applied to boards provided by the present invention includes: illuminating N boards placed side by side with a backlight source, and scanning to obtain the light-transmitting images of the N boards, where N is greater than A positive integer of zero; extract the outline features and hole features of the board from the obtained image, and stitch the extracted image features based on the method of image feature stitching; get the hole feature data from the stitched image, and combine the outline features Distinguish each board and the hole characteristic data corresponding to each board; judge the N boards respectively according to the standard file and the hole characteristic data corresponding to each board, and judge whether the holes of each board are qualified , so that multiple boards can be detected at the same time, and the detection efficiency is improved.

本发明所提供的应用于板的检孔设备,包括机架、设置在机架上的N个平行并列的传送带,以及扫描机构和控制主机;所述扫描机构包括设置在传送带下方的条形光源,以及设置在传送带上方的用于扫描获得N个板的透光图像的图像传感器;所述控制主机包括处理器,处理器用于从扫描获得的图像中提取板的轮廓特征及孔特征,基于图像特征拼接的方法将提取的图像特征进行拼接,并从拼接后的图像中获取孔特征数据,结合轮廓特征区分出每一板体以及对应于每一板体的孔特征数据,并根据标准档及对应于每一板体的孔特征数据对所述N个板分别进行判别。本发明所提供的应用于板的检孔设备,基于图像特征提取、特征拼接及图像,实现了可同时检测多块板,使检测效率提高。The hole inspection equipment applied to boards provided by the present invention includes a frame, N parallel conveyor belts arranged on the frame, a scanning mechanism and a control host; the scanning mechanism includes a strip light source arranged under the conveyor belt , and an image sensor arranged above the conveyor belt for scanning to obtain light-transmitting images of N plates; The feature stitching method stitches the extracted image features, and obtains the hole feature data from the stitched image, and combines the contour features to distinguish each plate and the hole feature data corresponding to each plate, and according to the standard file and Corresponding to the hole feature data of each plate body, the N plates are discriminated respectively. The hole inspection equipment applied to boards provided by the present invention is based on image feature extraction, feature splicing and images, so that multiple boards can be inspected at the same time, and the detection efficiency is improved.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本发明实施例提供的一种应用于板的检孔方法的流程图;FIG. 1 is a flow chart of a hole inspection method applied to a plate provided by an embodiment of the present invention;

图2为本发明实施例提供的一种应用于板的检孔设备的结构示意图。FIG. 2 is a schematic structural diagram of a hole inspection device applied to boards provided by an embodiment of the present invention.

具体实施方式detailed description

为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

请参考图1,为本发明实施例提供的一种应用于板的检孔方法的流程图,本实施例应用于板的检孔方法,应用于对带有孔的板进行检测,检测板孔是否满足标准要求,包括孔位、孔的品质是否满足标准要求,可应用于印刷电路板、覆铜板或钻孔板等检测。Please refer to Figure 1, which is a flow chart of a hole inspection method applied to a board provided by an embodiment of the present invention. Whether it meets the standard requirements, including whether the hole position and hole quality meet the standard requirements, can be applied to the detection of printed circuit boards, copper clad laminates or drilled boards.

下面以应用于电路板为例,对本发明应用于板的检孔方法详细描述,包括步骤:Taking the application to the circuit board as an example, the hole inspection method of the present invention applied to the board is described in detail, including steps:

S10:以背光源照射横向并列放置的N个板,扫描获得所述N个板的透光图像,N为大于零的正整数;S10: irradiating N boards placed side by side with a backlight, and scanning to obtain light transmission images of the N boards, where N is a positive integer greater than zero;

以背光源照射横向并列放置的N个电路板,光照射到电路板上,电路板上有孔的位置有光透过,在采集的透光图像中可显示出,无孔的地方则显暗色。Illuminate N circuit boards placed side by side with the backlight. When the light shines on the circuit boards, light will pass through the positions where there are holes on the circuit boards, which can be displayed in the collected light-transmitting images, and the places without holes will appear dark. .

在本发明检孔方法的一种具体实施例中,可选择N为6,并列放置6块待检测板。In a specific embodiment of the hole inspection method of the present invention, N can be selected to be 6, and 6 boards to be inspected are placed side by side.

S11:从获得的图像中提取板的轮廓特征及孔特征,并基于图像特征拼接的方法,将提取的图像特征进行拼接;S11: extracting the contour features and hole features of the board from the obtained image, and splicing the extracted image features based on the image feature splicing method;

对于扫描获得的电路板的透光图像,可先进行二值化处理,然后从图像中提取电路板的图像特征,包括轮廓特征及孔特征。然后基于图像特征拼接的方法,将图像特征进行拼接。For the light-transmitting image of the scanned circuit board, it can be binarized first, and then the image features of the circuit board, including contour features and hole features, can be extracted from the image. Then, based on the method of image feature splicing, the image features are spliced.

对拼接后的图像可进行存储及显示。本实施例中,将提取的图像特征及拼接后的图像进行存储,可避免存储图像占用过多的内存空间。The stitched images can be stored and displayed. In this embodiment, the extracted image features and the spliced image are stored, which can avoid the storage of images from occupying too much memory space.

本实施例所述检孔方法中,优选的,在扫描所述N个板的透光图像的同时,从扫描获得的图像中提取N个板的轮廓特征及孔特征,即扫描N个板的透光图像与提取板的图像特征同时进行,可以节约扫描时间,提高检测效率。In the hole inspection method described in this embodiment, preferably, while scanning the light-transmitting images of the N plates, extract the contour features and hole features of the N plates from the images obtained by scanning, that is, scan the N plates. The light-transmitting image and the image feature extraction of the plate are carried out simultaneously, which can save scanning time and improve detection efficiency.

S12:从拼接后的图像中获取孔特征数据,并结合轮廓特征区分出每一板体以及对应于每一板体的孔特征数据;S12: Obtain hole feature data from the spliced images, and distinguish each plate body and hole feature data corresponding to each plate body in combination with contour features;

从拼接后的图像中获取孔特征数据,孔特征数据包括孔的中心坐标、孔径、面积等信息数据,孔包括电路板上的槽孔及圆孔。根据各电路板的轮廓特征,区分出每一电路板的边界,并根据每一电路板的边界区分出对应于每一电路板的孔特征数据。The hole feature data is obtained from the spliced images. The hole feature data includes information data such as the center coordinates, aperture, and area of the hole. The holes include slot holes and round holes on the circuit board. According to the contour features of each circuit board, the boundary of each circuit board is distinguished, and the hole feature data corresponding to each circuit board is distinguished according to the boundary of each circuit board.

S13:根据标准档及对应于每一板体的孔特征数据对所述N个板分别进行判别。S13: Discriminate the N plates respectively according to the standard file and the hole characteristic data corresponding to each plate body.

根据各电路板的孔特征数据,分别对各电路板的孔定位检测,与标准档进行比对,对各电路板分别进行判别,包括孔位配准、孔大小检测、毛刺检测、多孔少孔检测,以判别各电路板是否合格。According to the hole feature data of each circuit board, the hole positioning detection of each circuit board is compared with the standard file, and each circuit board is judged separately, including hole position registration, hole size detection, burr detection, porous and few holes Test to determine whether each circuit board is qualified.

由以上内容可以看出,本实施例应用于板的检孔方法,以背光源照射横向并列放置的N个板,扫描获得所述N个板的透光图像;从获得的图像中提取板的轮廓特征及孔特征,并基于图像特征拼接的方法,将提取的图像特征进行拼接;从拼接后的图像中获取孔特征数据,并结合轮廓特征区分出每一板体以及对应于每一板体的孔特征数据;根据标准档及对应于每一板体的孔特征数据对所述N个板分别进行判别,从而实现可同时检测多块板,对板的检测效率提高。It can be seen from the above that this embodiment is applied to the hole inspection method of the board, and the N boards placed side by side are irradiated with the backlight, and the light-transmitting images of the N boards are scanned to obtain the light-transmitting images of the N boards; Contour features and hole features, and based on the image feature splicing method, the extracted image features are spliced; the hole feature data is obtained from the spliced image, and the contour features are used to distinguish each board and the corresponding board. The hole feature data; according to the standard file and the hole feature data corresponding to each plate body, the N plates are respectively discriminated, so that multiple plates can be detected at the same time, and the detection efficiency of the plates is improved.

本实施例所述检孔方法中,在检测前,在扫描获得所述N个板的透光图像之前,还包括:载入标准档。In the hole inspection method described in this embodiment, before the inspection, before the light-transmitting images of the N boards are obtained by scanning, it further includes: loading a standard file.

其中,载入标准档可通过调用生产的板所用原始档,将原始档作为标准档使用;或者,可选择一块板作为标准版,扫描标准板,从而制作出标准档并对资料进行存储。若应用于电路板检测,则可调用生产电路板所用的原始档,将其原始档作为标准档使用,或者选择一块电路板作为标准版,制作出标准档使用。Among them, loading the standard file can use the original file as the standard file by calling the original file used by the produced board; or, you can choose a board as the standard version and scan the standard board to make the standard file and store the data. If it is applied to circuit board inspection, the original file used in the production of circuit boards can be called, and its original file can be used as a standard file, or a circuit board can be selected as a standard version to make a standard file for use.

进一步优选的,可根据标准档建立时空环数据结构,具体为:基于标准档中的标准对象建立第一坐标信息,根据第一坐标信息建立时空环数据结构,该时空环数据结构包含有复数个标准点的点集,复数个所述标准点均具有相对应的第一距离和第一角度,使得所述时空环数据结构应用在对采集图像进行检测时,执行预置检测步骤进行基于所述第一距离和所述第一角度的比对;其中,所述第一距离为距离所述第一坐标信息的原点距离,所述第一角度为所述标准点到所述第一坐标信息的原点间的距离段与所述第一坐标信息的正向X坐标轴形成的二维夹角。Further preferably, the space-time ring data structure can be established according to the standard file, specifically: the first coordinate information is established based on the standard object in the standard file, and the space-time ring data structure is established according to the first coordinate information, and the space-time ring data structure includes a plurality of A point set of standard points, the plurality of standard points all have corresponding first distances and first angles, so that when the application of the space-time ring data structure detects the collected images, the preset detection step is performed based on the Comparison of the first distance and the first angle; wherein, the first distance is the distance from the origin of the first coordinate information, and the first angle is the distance from the standard point to the first coordinate information A two-dimensional angle formed between the distance segment between the origins and the positive X coordinate axis of the first coordinate information.

在应用于电路板的检测中,该建立的时空环数据中包含的标准点对应于电路板上的孔。In the detection applied to the circuit board, the standard points contained in the established space-time loop data correspond to the holes on the circuit board.

相应的,在步骤S13:根据标准档及对应于每一板体的孔特征数据对所述N个板分别进行判别,具体包括:Correspondingly, in step S13: according to the standard file and the hole feature data corresponding to each plate body, the N plates are respectively discriminated, specifically including:

采用所述时空环数据结构对板的孔特征数据进行比对检测,包括对板的孔配准检测和槽孔毛刺检测,根据检测结果对板进行判别。The space-time ring data structure is used to compare and detect the hole feature data of the board, including the registration detection of the board hole and the burr detection of the slot hole, and the board is discriminated according to the detection result.

本实施例检孔方法中通过根据标准档建立时空环数据结构,将时空环数据结构应用于对电路板图像中孔特征的检测,当对检测精度具有较高要求或者对检测图像分辨率具有较高要求时,通过该方法可减小计算量,降低耗费时间,提高检测效率。In the hole inspection method of this embodiment, the space-time ring data structure is established according to the standard file, and the space-time ring data structure is applied to the detection of hole features in the circuit board image. When the detection accuracy is high or the detection image resolution is high When the requirements are high, this method can reduce the amount of calculation, reduce time-consuming, and improve detection efficiency.

相应的,本发明实施例还提供一种应用于板的检孔设备,请参考图2,该检孔设备包括:Correspondingly, the embodiment of the present invention also provides a hole inspection device applied to boards, please refer to Figure 2, the hole inspection device includes:

机架1;Rack 1;

设置在所述机架上的N个平行并列的传送带2,N为大于零的正整数;N parallel conveyor belts 2 arranged on the rack, where N is a positive integer greater than zero;

扫描机构3,包括设置在所述传送带下方的条形光源,以及设置在所述传送带上方的、与所述条形光源相对设置的用于扫描获得N个板的透光图像的图像传感器30;The scanning mechanism 3 includes a bar-shaped light source arranged below the conveyor belt, and an image sensor 30 arranged above the conveyor belt and opposite to the bar-shaped light source for scanning to obtain light-transmitting images of N plates;

与所述传送带2、所述扫描机构3相连的控制主机,所述控制主机包括处理器,所述处理器用于从扫描获得的图像中提取板的轮廓特征及孔特征,基于图像特征拼接的方法将提取的图像特征进行拼接,并从拼接后的图像中获取孔特征数据,结合轮廓特征区分出每一板体以及对应于每一板体的孔特征数据,并根据标准档及对应于每一板体的孔特征数据对所述N个板分别进行判别。A control host connected to the conveyor belt 2 and the scanning mechanism 3, the control host includes a processor, and the processor is used to extract the contour features and hole features of the board from the image obtained by scanning, and the method based on image feature splicing The extracted image features are spliced, and the hole feature data are obtained from the spliced images, and each board and the hole feature data corresponding to each board are distinguished by combining the contour features, and according to the standard file and corresponding to each The hole feature data of the plate body is used to distinguish the N plates respectively.

本实施例应用于板的检孔设备,应用于对带有孔的板进行检测,检测板孔是否满足标准要求,包括孔位、孔的品质是否满足标准要求,可应用于印刷电路板、覆铜板或钻孔板等检测。This embodiment is applied to board hole inspection equipment, and is used to detect boards with holes to check whether the holes of the board meet the standard requirements, including whether the hole position and the quality of the holes meet the standard requirements. It can be applied to printed circuit boards, cladding Inspection of copper plate or drilled plate, etc.

本实施例检孔设备包括机架1、设置在机架上的N个平行并列的传送带2,以及扫描机构和控制主机。该检孔设备可同时检测N个板,通过传送带将N个板传送至扫描机构处,条形光源向并列的N个板照射光,图像传感器扫描获得N个板的透光图像;所述控制主机包括处理器,处理器用于从扫描获得的图像中提取板的轮廓特征及孔特征,基于图像特征拼接的方法将提取的图像特征进行拼接,并从拼接后的图像中获取孔特征数据,结合轮廓特征区分出每一板体以及对应于每一板体的孔特征数据,并根据标准档及对应于每一板体的孔特征数据对所述N个板分别进行判别。因此,本实施例应用于板的检孔设备,基于图像特征提取、特征拼接及图像检测,可实现同时检测多块板,使检测效率提高。The hole inspection equipment in this embodiment includes a frame 1, N parallel conveyor belts 2 arranged on the frame, a scanning mechanism and a control host. The hole inspection equipment can detect N boards at the same time, and transport the N boards to the scanning mechanism through the conveyor belt, and the bar-shaped light source irradiates light to the parallel N boards, and the image sensor scans to obtain the light-transmitting images of the N boards; the control The host computer includes a processor, which is used to extract the profile features and hole features of the board from the images obtained by scanning. The extracted image features are stitched based on the method of image feature stitching, and the hole feature data is obtained from the stitched images. Combined The outline feature distinguishes each board and the hole feature data corresponding to each board, and the N boards are respectively distinguished according to the standard file and the hole feature data corresponding to each board. Therefore, this embodiment is applied to a hole inspection device for boards. Based on image feature extraction, feature splicing and image detection, multiple boards can be inspected at the same time, so that the detection efficiency is improved.

本实施例中,条形光源为LED条形光源,LED光源使用寿命长并保证了检测的稳定性。在设备下部机箱内设置有电源控制板,与控制主机相连,该LED条形光源可调并受控于控制主机。In this embodiment, the bar-shaped light source is an LED bar-shaped light source, and the LED light source has a long service life and ensures the stability of detection. A power control board is arranged in the lower chassis of the equipment, which is connected to the control host, and the LED strip light source is adjustable and controlled by the control host.

图像传感器30与条形光源相对设置。所述图像传感器可为接触式图像传感器,该图像传感器30设置有调焦电机,用于调节图像传感器的测量焦距。所述图像传感器30可采用高分辨率的接触式图像传感器。The image sensor 30 is arranged opposite to the bar-shaped light source. The image sensor may be a contact image sensor, and the image sensor 30 is provided with a focus motor for adjusting the measurement focal length of the image sensor. The image sensor 30 may be a high-resolution contact image sensor.

在机架上设置有N个平行并列的传送带2,在一种具体实施例中可设置6条平行并列的传送带,可同时检测6块板。所述检孔设备还包括与传送带2相连的驱动电机,用于驱动传送带传送。N parallel conveyor belts 2 are arranged on the frame, and in a specific embodiment, 6 parallel conveyor belts can be arranged to detect 6 boards at the same time. The hole inspection equipment also includes a drive motor connected to the conveyor belt 2 for driving the conveyor belt to convey.

所述检孔设备还包括设置在所述传送带2末端的分拣机构4,所述分拣机构包括N组横向排列的传送滚轴40,N组所述传送滚轴40分别与N个所述传送带2对应。The hole inspection equipment also includes a sorting mechanism 4 arranged at the end of the conveyor belt 2, the sorting mechanism includes N groups of conveying rollers 40 arranged horizontally, and the N groups of conveying rollers 40 are respectively connected to the N described Conveyor belt 2 corresponds.

所述分拣机构还包括与所述传送滚轴40连接的、可升降的分拣平台41,所述检孔设备还包括与所述分拣机构连接的承接台5。The sorting mechanism also includes a liftable sorting platform 41 connected to the conveying roller 40, and the hole inspection equipment also includes a receiving platform 5 connected to the sorting mechanism.

本实施例检孔设备,控制主机设置在机架1机箱内,控制主机包括处理器、运动控制卡及驱动电机,处理器根据对各板体的判别结果发出指令,运动控制卡根据指令,通过驱动电机控制分拣机构的各传送滚轴以及分拣台动作,以对传送的板进行分拣。In this embodiment of the hole inspection equipment, the control host is arranged in the chassis of frame 1. The control host includes a processor, a motion control card and a drive motor. The driving motor controls the actions of the conveying rollers and the sorting table of the sorting mechanism to sort the conveyed boards.

待分拣的板并列放置在传送带2上,被传送带2传送到扫描结构3处,图像传感器30采集板的透过图像,处理器对图像作处理并分别对各板进行判别,判别各板是否合格,作出OK/NG判断。板被传送带传送到分拣机构,控制主机根据判别结果控制分拣机构动作,对各板进行分拣,将分拣后的板输送至承接台进行对应收料。The boards to be sorted are placed side by side on the conveyor belt 2, and are transported to the scanning structure 3 by the conveyor belt 2. The image sensor 30 collects the transmitted image of the board, and the processor processes the image and judges each board separately to determine whether each board is If it is qualified, an OK/NG judgment is made. The boards are conveyed to the sorting mechanism by the conveyor belt, and the control host controls the action of the sorting mechanism according to the judgment result, sorts each board, and transports the sorted boards to the receiving station for corresponding receiving.

所述检孔设备还包括设置在所述分拣平台41与所述传送滚轴连接处的、用于感应传送的板是否到达的感应器。当传送的板到达传送滚轴,被分拣后要送到分拣平台,通过感应器感应板是否到达,来控制分拣平台的升降。The hole inspection equipment also includes a sensor arranged at the connection between the sorting platform 41 and the conveying rollers for sensing whether the conveyed board has arrived. When the conveyed board reaches the conveying roller, it will be sent to the sorting platform after being sorted, and the up and down of the sorting platform is controlled by the sensor sensing whether the board arrives.

优选的,包括双排感应器,这样当其中一排感应器出现故障时,通过另一排感应器能够正常感应板是否到达,以正常控制分拣平台升降。Preferably, it includes double rows of sensors, so that when one row of sensors fails, the other row of sensors can normally sense whether the board has arrived, so as to control the sorting platform up and down normally.

所述检孔设备还包括与控制主机相连的显示器6,以及用于放置显示器的显示支架。显示器可放置在机架上方,操作人员可通过显示器观察各板的图像,以进行相应控制。The hole inspection equipment also includes a display 6 connected to the control host, and a display stand for placing the display. The monitor can be placed above the rack, and the operator can observe the images of each board through the monitor for corresponding control.

本实施例所述应用于板的检孔设备,整体实现多通道的检测过程,可同时检测多块板,提高了检测效率,可满足小板高效率检测,且设备采用模块化数控系统,可实现各种特殊功能以满足不同用户需求。The hole detection equipment applied to boards described in this embodiment realizes a multi-channel detection process as a whole, can detect multiple boards at the same time, improves the detection efficiency, and can meet the high-efficiency detection of small boards, and the equipment adopts a modular numerical control system, which can Realize various special functions to meet different user needs.

以上对本发明所提供的一种应用于板的检孔方法及检孔设备进行了详细介绍。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。A hole inspection method and hole inspection equipment applied to boards provided by the present invention have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention, and the descriptions of the above embodiments are only used to help understand the method and core idea of the present invention. It should be pointed out that for those skilled in the art, without departing from the principle of the present invention, some improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.

Claims (10)

1.一种应用于板的检孔方法,其特征在于,包括:1. A hole inspection method applied to a plate, characterized in that, comprising: 以背光源照射横向并列放置的N个板,扫描获得所述N个板的透光图像,N为大于零的正整数;Illuminate N boards placed side by side with a backlight, and scan to obtain the light-transmitting images of the N boards, where N is a positive integer greater than zero; 从获得的图像中提取板的轮廓特征及孔特征,并基于图像特征拼接的方法,将提取的图像特征进行拼接;Extract the profile features and hole features of the board from the obtained image, and stitch the extracted image features based on the method of image feature stitching; 从拼接后的图像中获取孔特征数据,并结合轮廓特征区分出每一板体以及对应于每一板体的孔特征数据;Acquiring hole feature data from the spliced image, and distinguishing each plate body and hole feature data corresponding to each plate body in combination with contour features; 根据标准档及对应于每一板体的孔特征数据对所述N个板分别进行判别。According to the standard file and the hole feature data corresponding to each board body, the N boards are discriminated respectively. 2.如权利要求1所述的方法,其特征在于,N为6,横向并列放置6块板。2. The method according to claim 1, wherein N is 6, and 6 boards are placed side by side side by side. 3.如权利要求1所述的方法,其特征在于,在扫描所述N个板的透光图像的同时,从获得的图像中提取所述N个板的轮廓特征及孔特征。3. The method according to claim 1, characterized in that, while scanning the light-transmitting images of the N plates, the profile features and hole features of the N plates are extracted from the obtained images. 4.如权利要求3所述的方法,其特征在于,还包括:对拼接后的图像进行存储及显示。4. The method according to claim 3, further comprising: storing and displaying the spliced images. 5.如权利要求1所述的方法,其特征在于,在扫描获得所述N个板的透光图像之前,还包括:5. The method according to claim 1, further comprising: before scanning to obtain the light transmission images of the N plates: 载入标准档,根据标准档建立时空环数据结构;Load the standard file, and establish the space-time ring data structure according to the standard file; 所述根据标准档及对应于每一板的孔特征数据对所述N个板分别进行判别,包括:According to the standard file and the hole feature data corresponding to each plate, the N plates are respectively distinguished, including: 采用所述时空环数据结构对板的孔特征数据进行比对检测,包括对板的孔配准检测和槽孔毛刺检测,根据检测结果对板进行判别。The space-time ring data structure is used to compare and detect the hole feature data of the board, including the registration detection of the board hole and the burr detection of the slot hole, and the board is discriminated according to the detection result. 6.一种应用于板的检孔设备,其特征在于,包括:6. A hole inspection device applied to boards, characterized in that it comprises: 机架;frame; 设置在所述机架上的N个平行并列的传送带,N为大于零的正整数;N parallel conveyor belts arranged on the frame, N is a positive integer greater than zero; 扫描机构,包括设置在所述传送带下方的条形光源,以及设置在所述传送带上方的、与所述条形光源相对设置的用于扫描获得N个板的透光图像的图像传感器;A scanning mechanism, including a bar-shaped light source arranged below the conveyor belt, and an image sensor arranged above the conveyor belt and opposite to the bar-shaped light source for scanning to obtain light-transmitting images of N plates; 与所述传送带、所述扫描机构相连的控制主机,所述控制主机包括处理器,所述处理器用于从扫描获得的图像中提取板的轮廓特征及孔特征,基于图像特征拼接的方法将提取的图像特征进行拼接,并从拼接后的图像中获取孔特征数据,结合轮廓特征区分出每一板体以及对应于每一板体的孔特征数据,并根据标准档及对应于每一板体的孔特征数据对所述N个板分别进行判别。A control host connected to the conveyor belt and the scanning mechanism, the control host includes a processor, and the processor is used to extract the outline features and hole features of the board from the image obtained by scanning, and the method based on image feature stitching will extract The image features are spliced, and the hole feature data is obtained from the spliced image, combined with the contour features to distinguish each plate and the hole feature data corresponding to each plate, and according to the standard file and corresponding to each plate The hole feature data of the N plates are respectively discriminated. 7.如权利要求1所述的设备,其特征在于,还包括设置在所述传送带末端的分拣机构,所述分拣机构包括N组横向排列的传送滚轴,N组所述传送滚轴分别与N个所述传送带对应。7. The equipment according to claim 1, further comprising a sorting mechanism arranged at the end of the conveyor belt, the sorting mechanism comprising N groups of horizontally arranged conveying rollers, and N groups of conveying rollers Corresponding to the N conveyor belts respectively. 8.如权利要求7所述的设备,其特征在于,所述分拣机构还包括与所述传送滚轴连接的、可升降的分拣平台;8. The device according to claim 7, wherein the sorting mechanism further comprises a liftable sorting platform connected to the conveying roller; 所述设备还包括与所述分拣机构连接的承接台。The equipment also includes a receiving table connected with the sorting mechanism. 9.如权利要求8所述的设备,其特征在于,还包括设置在所述分拣平台与所述传送滚轴连接处的用于感应传送的板是否到达的感应器。9 . The device according to claim 8 , further comprising a sensor for sensing whether the conveyed board arrives, which is arranged at the connection between the sorting platform and the conveying roller. 10 . 10.如权利要求9所述的设备,其特征在于,包括双排所述感应器。10. The apparatus of claim 9, comprising a double row of said inductors.
CN201610617934.9A 2016-07-29 2016-07-29 A hole inspection method and hole inspection equipment applied to boards Pending CN106290400A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610617934.9A CN106290400A (en) 2016-07-29 2016-07-29 A hole inspection method and hole inspection equipment applied to boards

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610617934.9A CN106290400A (en) 2016-07-29 2016-07-29 A hole inspection method and hole inspection equipment applied to boards

Publications (1)

Publication Number Publication Date
CN106290400A true CN106290400A (en) 2017-01-04

Family

ID=57663686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610617934.9A Pending CN106290400A (en) 2016-07-29 2016-07-29 A hole inspection method and hole inspection equipment applied to boards

Country Status (1)

Country Link
CN (1) CN106290400A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107704901A (en) * 2017-09-26 2018-02-16 厦门集信实科技有限公司 Wiring board production coding and identifying system and method
CN109384006A (en) * 2017-08-03 2019-02-26 惠州先进制造产业技术研究中心有限公司 A kind of pcb board sorting transmission equipment
CN112529902A (en) * 2021-01-26 2021-03-19 江苏卓玉智能科技有限公司 Hole checking method of PCB (printed circuit board)
CN114076773A (en) * 2020-08-21 2022-02-22 得力富企业股份有限公司 Drilling detection method, drilling detection system and detection device
CN116698879A (en) * 2023-08-03 2023-09-05 深圳市至诚合电子科技有限公司 PCB circuit board quality testing machine
CN117094984A (en) * 2023-09-25 2023-11-21 上海感图网络科技有限公司 Photoelectric plate multi-material parallel detection method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0785128B2 (en) * 1986-01-14 1995-09-13 三晃技研工業株式会社 Method and device for inspecting inner wall of pore
JP2500961B2 (en) * 1990-11-27 1996-05-29 大日本スクリーン製造株式会社 Printed circuit board residual inspection method
CN1365444A (en) * 2000-03-29 2002-08-21 精工爱普生株式会社 Through hole inspecting method and device
CN201333448Y (en) * 2008-10-09 2009-10-28 广东正业科技有限公司 Hole verifier of PCB
CN101887024A (en) * 2009-05-11 2010-11-17 广东正业科技有限公司 Verifier for printed circuit board and workflow thereof
CN102680495A (en) * 2011-03-15 2012-09-19 上海赫立电子科技有限公司 Device and method for automatic optical detection
CN202974890U (en) * 2012-12-24 2013-06-05 上海金东唐精机科技有限公司 Multifunctional PCB (Printed Circuit Board) testing device
CN103150715A (en) * 2013-03-13 2013-06-12 腾讯科技(深圳)有限公司 Image stitching processing method and device
CN105303579A (en) * 2015-11-11 2016-02-03 广州视源电子科技股份有限公司 Circuit board detection method and device
CN105486698A (en) * 2016-01-07 2016-04-13 苏州市璟硕自动化设备有限公司 AOI automatic detection device and detection method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0785128B2 (en) * 1986-01-14 1995-09-13 三晃技研工業株式会社 Method and device for inspecting inner wall of pore
JP2500961B2 (en) * 1990-11-27 1996-05-29 大日本スクリーン製造株式会社 Printed circuit board residual inspection method
CN1365444A (en) * 2000-03-29 2002-08-21 精工爱普生株式会社 Through hole inspecting method and device
CN201333448Y (en) * 2008-10-09 2009-10-28 广东正业科技有限公司 Hole verifier of PCB
CN101887024A (en) * 2009-05-11 2010-11-17 广东正业科技有限公司 Verifier for printed circuit board and workflow thereof
CN102680495A (en) * 2011-03-15 2012-09-19 上海赫立电子科技有限公司 Device and method for automatic optical detection
CN202974890U (en) * 2012-12-24 2013-06-05 上海金东唐精机科技有限公司 Multifunctional PCB (Printed Circuit Board) testing device
CN103150715A (en) * 2013-03-13 2013-06-12 腾讯科技(深圳)有限公司 Image stitching processing method and device
CN105303579A (en) * 2015-11-11 2016-02-03 广州视源电子科技股份有限公司 Circuit board detection method and device
CN105486698A (en) * 2016-01-07 2016-04-13 苏州市璟硕自动化设备有限公司 AOI automatic detection device and detection method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109384006A (en) * 2017-08-03 2019-02-26 惠州先进制造产业技术研究中心有限公司 A kind of pcb board sorting transmission equipment
CN109384006B (en) * 2017-08-03 2023-12-29 惠州先进制造产业技术研究中心有限公司 PCB sorting and conveying equipment
CN107704901A (en) * 2017-09-26 2018-02-16 厦门集信实科技有限公司 Wiring board production coding and identifying system and method
CN114076773A (en) * 2020-08-21 2022-02-22 得力富企业股份有限公司 Drilling detection method, drilling detection system and detection device
CN114076773B (en) * 2020-08-21 2024-05-10 得力富企业股份有限公司 Drilling detection method, drilling detection system and detection device
CN112529902A (en) * 2021-01-26 2021-03-19 江苏卓玉智能科技有限公司 Hole checking method of PCB (printed circuit board)
CN116698879A (en) * 2023-08-03 2023-09-05 深圳市至诚合电子科技有限公司 PCB circuit board quality testing machine
CN116698879B (en) * 2023-08-03 2023-10-03 深圳市至诚合电子科技有限公司 PCB circuit board quality testing machine
CN117094984A (en) * 2023-09-25 2023-11-21 上海感图网络科技有限公司 Photoelectric plate multi-material parallel detection method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106290400A (en) A hole inspection method and hole inspection equipment applied to boards
CN1318839C (en) Automated Optical Inspection Method for Defective Components on Printed Circuit Boards
CN107831175A (en) A kind of board surface defect double-side detecting device and its detection method
KR20180106856A (en) Automatic optical inspection system and operating method thereof
CN105588841A (en) Stitch inclination defect detection device based on machine vision
CN108993909B (en) Glass sorting device and method, and computer readable storage medium
CN111929239A (en) AOI detection device and detection method for PCB part defects
CN207516266U (en) A kind of two-sided detection of board surface defect and screening plant
JP2010048602A (en) Printed board inspection device and printed board inspection method
CN113030095A (en) Polaroid appearance defect detecting system
CN209911250U (en) Appearance detection platform and packaging device of battery chip
KR101742260B1 (en) auto conveying type vision inspection device for a harness
CN207663008U (en) A kind of full-automatic wiring board check machine
CN111272776A (en) Flexible circuit board defect detection method based on AI technology
CN110160959A (en) A kind of AOI detection method and system
CN110596118A (en) Print pattern detection method and print pattern detection device
CN108811483B (en) Assembly circuit board inspection system and assembly circuit board inspection method
CN211613467U (en) Keyboard finished product detection equipment
KR102085090B1 (en) Laundry tank full automatic vision inspection device
CN112763496A (en) Mobile phone battery surface defect detection device and detection method thereof
CN113640303B (en) Surface flaw inspection equipment for notebook computer and detection method thereof
CN105486698A (en) AOI automatic detection device and detection method
CN214375120U (en) PCB board detection mechanism
CN209935295U (en) Volume key outward appearance AOI check out test set
JP6358527B2 (en) Inspection device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170104

RJ01 Rejection of invention patent application after publication