CN109785294A - A kind of pcb board defective locations detection system and method - Google Patents
A kind of pcb board defective locations detection system and method Download PDFInfo
- Publication number
- CN109785294A CN109785294A CN201811580905.5A CN201811580905A CN109785294A CN 109785294 A CN109785294 A CN 109785294A CN 201811580905 A CN201811580905 A CN 201811580905A CN 109785294 A CN109785294 A CN 109785294A
- Authority
- CN
- China
- Prior art keywords
- pcb board
- pcb
- gray level
- image
- segmentation
- 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
Links
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Image Analysis (AREA)
Abstract
The present invention provides a kind of pcb board method for detecting position of defect and systems.The depth gray level image of pcb board to be detected, standard pcb board is obtained respectively;It is determined in the depth gray level image of two pcb boards respectively and marks pcb board position of positioning hole;According to the image pattern of the basic discharge of part each in pcb board sequence and each part, primary segmentation is carried out to the depth gray level image of two pcb boards respectively, obtains the corresponding segmentation block of each part of two pcb boards;According to pcb board position of positioning hole, the corresponding segmentation block of each part of two pcb boards is compared one by one, searches defective locations.The position of 3 D defects is capable of detecting when by the way that the depth gray level image of pcb board to be detected, standard pcb board to be compared.
Description
Technical field
The present invention relates to a kind of pcb board defective locations detection system and methods, belong to technical field of circuit board detection.
Background technique
After each component on printed circuit board (PCB) is welded, encapsulated, need to carry out PCB circuit board
The detection of defect, to ensure that the PCB circuit board exported could be the installation or subsequent PCB circuit board of PCB circuit board as finished product
Factory sale etc. work provide safeguard, therefore, the detection for PCB circuit board, just seem very it is important.
Detection for pcb board, the prior art are generally scanned by two-dimensional method, the X-Y scheme formed to scanning
The case where finding out defect as carrying out image procossing and detection, but not measured for the defect in certain three-dimensionals there is inspection.
Summary of the invention
It is existing in the prior art to solve the purpose of the present invention is to provide a kind of pcb board method for detecting position of defect
The above problem.
In order to achieve the above objectives, the present invention provides a kind of pcb board method for detecting position of defect, include the following steps:
The depth gray level image of pcb board to be detected, standard pcb board is obtained respectively;
It is determined in the depth gray level image of two pcb boards respectively and marks pcb board position of positioning hole;
According to the image pattern of the basic discharge of part each in pcb board sequence and each part, respectively to the depth gray scale of two pcb boards
Image carries out primary segmentation, obtains the corresponding segmentation block of each part of two pcb boards;
According to pcb board position of positioning hole, the corresponding segmentation block of each part of two pcb boards is compared one by one, searches defective bit
It sets.
Further, the acquisition methods of the depth gray level image include:
Acquire the three-dimensional point cloud information of corresponding pcb board;
According to the depth information in three-dimensional point cloud information, conversion exports corresponding depth gray level image.
Further, the pcb board method for detecting position of defect further include: to the depth grayscale image of two pcb board collected
Picture is pre-processed respectively, including Slant Rectify, scaling, filtering and noise reduction.
Further, the lookup method of the defective locations includes:
Pcb board position of positioning hole alignment in two pcb board depth gray level images after making segmentation;
By the segmentation block in the pcb board depth gray level image to be detected after segmentation and the standard pcb board depth gray scale after segmentation
The segmentation block of image is compared one by one, obtains the pixel deviations between segmentation block;
If the pixel deviations of some segmentation block are greater than given threshold, determine that the segmentation block is defective locations.
In addition, the present invention also provides a kind of pcb board defective locations detection systems, comprising:
Image collection module, for obtaining the depth gray level image of pcb board to be detected, standard pcb board respectively;
Location hole determining module, for being determined simultaneously in the depth gray level image for two pcb boards that image collection module obtains respectively
Mark pcb board position of positioning hole;
Image segmentation module, it is right respectively for the image pattern according to the basic discharge of part each in pcb board sequence and each part
The depth gray level image for two pcb boards that image collection module obtains carries out primary segmentation, obtains corresponding point of each part of two pcb boards
Cut block;
Defective locations searching module, the pcb board position of positioning hole for being determined according to location hole determining module will pass through image point
The corresponding segmentation block of each part of two pcb boards for cutting module acquisition is compared one by one, searches defective locations.
Further, the system also includes image pre-processing modules, for two PCB obtained by image collection module
The depth gray level image of plate is pre-processed respectively, including Slant Rectify, scaling, filtering and noise reduction.
Compared with prior art, the advantageous effects that the present invention has are as follows: the present invention is by by pcb board to be detected, mark
The position for being capable of detecting when 3 D defects is compared in the depth gray level image of quasi- pcb board, and can be improved detection rates and
Precision simplifies algorithm.
Detailed description of the invention
Fig. 1 is the flow chart of the pcb board method for detecting position of defect of the embodiment of the present invention.
Fig. 2 is the structural block diagram of the pcb board defective locations detection system of the embodiment of the present invention.
Specific embodiment
The invention will be further described combined with specific embodiments below.Following embodiment is only used for clearly illustrating
Technical solution of the present invention, and not intended to limit the protection scope of the present invention.
As shown in Figure 1, be the flow chart of pcb board method for detecting position of defect provided in an embodiment of the present invention, it is specific as follows:
Firstly, handling standard pcb board, steps are as follows:
1) three-dimensional point cloud information that equipment acquires a standard pcb board is acquired by depth information;
2) convert depth gray level image for the depth information in obtained three-dimensional point cloud information, and to the depth gray level image into
The pretreatment such as line tilt correction, scaling, filtering and noise reduction;
3) position of standard pcb board location hole is determined and marked in depth gray level image, specifically, due to the depth of location hole
There is image fixed character to be scanned using the image processing algorithm based on template matching to depth gray level image, to determine
The position of standard pcb board location hole;
4) template matching is used according to the image pattern of specific each part according to the basic discharge of part each in pcb board sequence
Method carries out Primary Location to each part in standard pcb board, according to positioning result, the depth gray scale that step 2 is obtained
Image carries out primary segmentation, obtains the corresponding segmentation block of each part of two pcb boards;Dividing method can be gray level threshold segmentation
Method.
Secondly, handling pcb board to be detected, steps are as follows:
1) three-dimensional point cloud information that equipment acquires pcb board to be detected is acquired by depth information;
2) convert depth gray level image for the depth information in obtained three-dimensional point cloud information, and to the depth gray level image into
The pretreatment such as line tilt correction, scaling, filtering and noise reduction;
3) using and above-mentioned steps 3) identical method determines the position of pcb board location hole to be detected in depth gray level image;
4) using and above-mentioned steps 4) identical dividing method similarly divides pretreated depth gray level image.
Then, the defective locations of pcb board to be detected are detected, detection method includes:
According to pcb board position of positioning hole, the corresponding segmentation block of each part of two pcb boards is compared one by one, searches defective bit
It sets.
The lookup method of defective locations, specifically:
Pcb board position of positioning hole alignment in two pcb board depth gray level images after making segmentation;
By the segmentation block in the pcb board depth gray level image to be detected after segmentation and the standard pcb board depth gray scale after segmentation
The segmentation block of image is compared one by one, obtains the pixel deviations between segmentation block;If the pixel of some segmentation block is inclined
Difference is greater than given threshold, then determines that the segmentation block is defective locations.
Specific judgment method determines according to concrete condition, for example, to some part such as capacitor on pcb board to be detected into
When row detection, it is only necessary to analyze each point grey value profile of the segmentation block where the capacitor of pcb board to be detected, standard pcb board
Whether the gap of situation exceeds threshold value, if each point grey value profile situation of the segmentation block where two pcb board capacitors
Gap exceeds threshold value, then can determine whether the capacitor existing defects of the pcb board to be detected.
As shown in Fig. 2, be the structural block diagram of pcb board defective locations detection system provided in an embodiment of the present invention, specifically:
A kind of pcb board defective locations detection system, comprising:
Image collection module, for obtaining the depth gray level image of pcb board to be detected, standard pcb board respectively;
Location hole determining module, for being determined simultaneously in the depth gray level image for two pcb boards that image collection module obtains respectively
Mark pcb board position of positioning hole;
Image segmentation module, it is right respectively for the image pattern according to the basic discharge of part each in pcb board sequence and each part
The depth gray level image for two pcb boards that image collection module obtains carries out primary segmentation, obtains corresponding point of each part of two pcb boards
Cut block;
Defective locations searching module, the pcb board position of positioning hole for being determined according to location hole determining module will pass through image point
The corresponding segmentation block of each part of two pcb boards for cutting module acquisition is compared one by one, searches defective locations.
In a preferred embodiment of the invention, the pcb board defective locations detection system further includes image pre-processing module,
It is pre-processed respectively for the depth gray level image to two pcb boards obtained by image collection module, including Slant Rectify,
Scaling, filtering and noise reduction etc..
The present invention is capable of detecting when three-dimensional by the way that the depth gray level image of pcb board to be detected, standard pcb board to be compared
The position of defect, additionally it is possible to improve detection rates and precision, simplify algorithm.
The present invention is disclosed with preferred embodiment above, so it is not intended to limiting the invention, all to take equivalent replacement
Or the scheme technical solution obtained of equivalent transformation, it falls within the scope of protection of the present invention.
Claims (6)
1. a kind of pcb board method for detecting position of defect, which is characterized in that described method includes following steps:
The depth gray level image of pcb board to be detected, standard pcb board is obtained respectively;
It is determined in the depth gray level image of two pcb boards respectively and marks pcb board position of positioning hole;
According to the image pattern of the basic discharge of part each in pcb board sequence and each part, respectively to the depth gray scale of two pcb boards
Image carries out primary segmentation, obtains the corresponding segmentation block of each part of two pcb boards;
According to pcb board position of positioning hole, the corresponding segmentation block of each part of two pcb boards is compared one by one, searches defective bit
It sets.
2. pcb board method for detecting position of defect according to claim 1, which is characterized in that the depth gray level image
Acquisition methods include:
Acquire the three-dimensional point cloud information of corresponding pcb board;
According to the depth information in three-dimensional point cloud information, conversion exports corresponding depth gray level image.
3. pcb board method for detecting position of defect according to claim 1, which is characterized in that the method also includes: to institute
The depth gray level image of two pcb boards of acquisition is pre-processed respectively, including Slant Rectify, scaling, filtering and noise reduction.
4. pcb board method for detecting position of defect according to claim 1, which is characterized in that the lookup of the defective locations
Method includes:
Pcb board position of positioning hole alignment in two pcb board depth gray level images after making segmentation;
By the segmentation block in the pcb board depth gray level image to be detected after segmentation and the standard pcb board depth gray scale after segmentation
The segmentation block of image is compared one by one, obtains the pixel deviations between segmentation block;
If the pixel deviations of some segmentation block are greater than given threshold, determine that the segmentation block is defective locations.
5. a kind of pcb board defective locations detection system, which is characterized in that the system comprises:
Image collection module, for obtaining the depth gray level image of pcb board to be detected, standard pcb board respectively;
Location hole determining module, for being determined simultaneously in the depth gray level image for two pcb boards that image collection module obtains respectively
Mark pcb board position of positioning hole;
Image segmentation module, it is right respectively for the image pattern according to the basic discharge of part each in pcb board sequence and each part
The depth gray level image for two pcb boards that image collection module obtains carries out primary segmentation, obtains corresponding point of each part of two pcb boards
Cut block;
Defective locations searching module, the pcb board position of positioning hole for being determined according to location hole determining module will pass through image point
The corresponding segmentation block of each part of two pcb boards for cutting module acquisition is compared one by one, searches defective locations.
6. pcb board defective locations detection system according to claim 5, which is characterized in that the system also includes images
Preprocessing module pre-processes respectively for the depth gray level image to two pcb boards obtained by image collection module, packet
Include Slant Rectify, scaling, filtering and noise reduction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811580905.5A CN109785294A (en) | 2018-12-24 | 2018-12-24 | A kind of pcb board defective locations detection system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811580905.5A CN109785294A (en) | 2018-12-24 | 2018-12-24 | A kind of pcb board defective locations detection system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109785294A true CN109785294A (en) | 2019-05-21 |
Family
ID=66498110
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811580905.5A Pending CN109785294A (en) | 2018-12-24 | 2018-12-24 | A kind of pcb board defective locations detection system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109785294A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111340788A (en) * | 2020-02-28 | 2020-06-26 | 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) | Hardware trojan layout detection method and device, electronic equipment and readable storage medium |
CN111609812A (en) * | 2020-05-21 | 2020-09-01 | 荆州华力机械有限公司 | Detection system for detecting bending of steering gear input shaft |
CN111929239A (en) * | 2020-07-20 | 2020-11-13 | 浙江四点灵机器人股份有限公司 | AOI detection device and detection method for PCB part defects |
CN113034697A (en) * | 2019-12-24 | 2021-06-25 | 北京车和家信息技术有限公司 | Method, device and system for augmented reality display of target equipment |
CN113298793A (en) * | 2021-06-03 | 2021-08-24 | 中国电子科技集团公司第十四研究所 | Circuit board surface defect detection method based on multi-view template matching |
CN113674249A (en) * | 2021-08-24 | 2021-11-19 | 重庆忽米网络科技有限公司 | PCB printing quality detection method based on industrial internet |
CN114577112A (en) * | 2022-01-19 | 2022-06-03 | 格力电器(芜湖)有限公司 | Chassis bolt position detection method and detection device |
CN116223515A (en) * | 2023-05-05 | 2023-06-06 | 成都中航华测科技有限公司 | Conductive pattern defect detection method for circuit board test process |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102288613A (en) * | 2011-05-11 | 2011-12-21 | 北京科技大学 | Surface defect detecting method for fusing grey and depth information |
CN103543167A (en) * | 2013-10-08 | 2014-01-29 | 华南理工大学 | Knowledge base-based three-dimensional X-ray computed tomography (CT) detection system and method |
CN105510348A (en) * | 2015-12-31 | 2016-04-20 | 南京协辰电子科技有限公司 | Flaw detection method and device of printed circuit board and detection equipment |
CN106897994A (en) * | 2017-01-20 | 2017-06-27 | 北京京仪仪器仪表研究总院有限公司 | A kind of pcb board defect detecting system and method based on layered image |
CN107389701A (en) * | 2017-08-22 | 2017-11-24 | 西北工业大学 | A kind of PCB visual defects automatic checkout system and method based on image |
-
2018
- 2018-12-24 CN CN201811580905.5A patent/CN109785294A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102288613A (en) * | 2011-05-11 | 2011-12-21 | 北京科技大学 | Surface defect detecting method for fusing grey and depth information |
CN103543167A (en) * | 2013-10-08 | 2014-01-29 | 华南理工大学 | Knowledge base-based three-dimensional X-ray computed tomography (CT) detection system and method |
CN105510348A (en) * | 2015-12-31 | 2016-04-20 | 南京协辰电子科技有限公司 | Flaw detection method and device of printed circuit board and detection equipment |
CN106897994A (en) * | 2017-01-20 | 2017-06-27 | 北京京仪仪器仪表研究总院有限公司 | A kind of pcb board defect detecting system and method based on layered image |
CN107389701A (en) * | 2017-08-22 | 2017-11-24 | 西北工业大学 | A kind of PCB visual defects automatic checkout system and method based on image |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113034697A (en) * | 2019-12-24 | 2021-06-25 | 北京车和家信息技术有限公司 | Method, device and system for augmented reality display of target equipment |
CN111340788A (en) * | 2020-02-28 | 2020-06-26 | 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) | Hardware trojan layout detection method and device, electronic equipment and readable storage medium |
CN111340788B (en) * | 2020-02-28 | 2024-03-29 | 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) | Hardware Trojan horse layout detection method and device, electronic equipment and readable storage medium |
CN111609812A (en) * | 2020-05-21 | 2020-09-01 | 荆州华力机械有限公司 | Detection system for detecting bending of steering gear input shaft |
CN111609812B (en) * | 2020-05-21 | 2021-11-02 | 荆州华力机械有限公司 | Detection system for detecting bending of steering gear input shaft |
CN111929239A (en) * | 2020-07-20 | 2020-11-13 | 浙江四点灵机器人股份有限公司 | AOI detection device and detection method for PCB part defects |
CN113298793A (en) * | 2021-06-03 | 2021-08-24 | 中国电子科技集团公司第十四研究所 | Circuit board surface defect detection method based on multi-view template matching |
CN113298793B (en) * | 2021-06-03 | 2023-11-24 | 中国电子科技集团公司第十四研究所 | Circuit board surface defect detection method based on multi-view template matching |
CN113674249A (en) * | 2021-08-24 | 2021-11-19 | 重庆忽米网络科技有限公司 | PCB printing quality detection method based on industrial internet |
CN114577112A (en) * | 2022-01-19 | 2022-06-03 | 格力电器(芜湖)有限公司 | Chassis bolt position detection method and detection device |
CN114577112B (en) * | 2022-01-19 | 2024-05-24 | 格力电器(芜湖)有限公司 | Method and device for detecting position of chassis bolt |
CN116223515A (en) * | 2023-05-05 | 2023-06-06 | 成都中航华测科技有限公司 | Conductive pattern defect detection method for circuit board test process |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109785294A (en) | A kind of pcb board defective locations detection system and method | |
CN109752392B (en) | PCB defect type detection system and method | |
CN101995223B (en) | Chip appearance detection method and system | |
CN107543828B (en) | Workpiece surface defect detection method and system | |
CN1869667B (en) | Profile analyzing method for investigating defect of printed circuit board | |
CN109525194B (en) | Photovoltaic panel fault light spot detection and identification method and system | |
CN109472271B (en) | Printed circuit board image contour extraction method and device | |
CN111369516B (en) | Transformer bushing heating defect detection method based on infrared image recognition | |
CN103235939A (en) | Datum point positioning method based on machine vision | |
JP2745764B2 (en) | Position recognition device | |
CN110047063B (en) | Material drop detection method, device, equipment and storage medium | |
CN113325001A (en) | Automatic distinguishing and detecting equipment and method for surface appearance flaws of copper foil | |
CN108710876A (en) | A kind of battery surface mark defect inspection method and system based on machine vision | |
CN111539927B (en) | Detection method of automobile plastic assembly fastening buckle missing detection device | |
CN107490582A (en) | A kind of streamline Work Piece Verification System Based | |
CN108844961A (en) | A kind of temperature controller case vision detection system and method | |
CN108709500B (en) | Circuit board element positioning and matching method | |
CN115601359A (en) | Welding seam detection method and device | |
CN111640088A (en) | Electronic component polarity detection method and system based on deep learning and electronic device | |
CN113970560B (en) | Defect three-dimensional detection method based on multi-sensor fusion | |
CN116539620A (en) | On-machine detection method for surface defects of cutter | |
CN105404900A (en) | Positioning method of paralleled diodes and device | |
CN112419225B (en) | SOP type chip detection method and system based on pin segmentation | |
CN112415013A (en) | Copper foil defect detection system | |
CN108898584B (en) | Image analysis-based full-automatic veneered capacitor welding polarity discrimination method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |