Movatterモバイル変換


[0]ホーム

URL:


CN110530875A - A kind of FPCB open defect automatic detection algorithm based on deep learning - Google Patents

A kind of FPCB open defect automatic detection algorithm based on deep learning
Download PDF

Info

Publication number
CN110530875A
CN110530875ACN201910806577.4ACN201910806577ACN110530875ACN 110530875 ACN110530875 ACN 110530875ACN 201910806577 ACN201910806577 ACN 201910806577ACN 110530875 ACN110530875 ACN 110530875A
Authority
CN
China
Prior art keywords
defect
fpcb
deep learning
detection
sample
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
CN201910806577.4A
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.)
Zhuhai Boda Creative Technology Co Ltd
Original Assignee
Zhuhai Boda Creative 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 Zhuhai Boda Creative Technology Co LtdfiledCriticalZhuhai Boda Creative Technology Co Ltd
Priority to CN201910806577.4ApriorityCriticalpatent/CN110530875A/en
Publication of CN110530875ApublicationCriticalpatent/CN110530875A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses a kind of FPCB open defect automatic detection algorithm based on deep learning, the following steps are included: A, in mating machine vision hardware system-based, acquire defect sample color RGB image and sample image be divided into the discrete component subgraphs of fixed sizes a series of according to part dimension;B, sample image degree of comparing is enhanced before mark and laplacian spectral radius is to protrude defect characteristic.The present invention highlights defect part to the enhancing of image degree of comparing and Edge contrast before mark, effectively reduce data mark difficulty, and open defect detection is carried out to FPCB using the fasterrcnn algorithm in deep learning, from the adverse effect of deformation and defect diversification to detection performance for having evaded flexible circuit board in conventional template matching detection technology in principle, simultaneously, fasterrcnn algorithm is improved and optimized in conjunction with FPCB appearance detection practical application scene, improves the positive inspection rate and recall rate of defect.

Description

A kind of FPCB open defect automatic detection algorithm based on deep learning
Technical field
The present invention relates to deep learning and industrial automatic measurement technique field, specially a kind of FPCB based on deep learningOpen defect automatic detection algorithm.
Background technique
Flexible circuit board abbreviation FPCB, with light weight, thickness it is thin, can the excellent performances such as free bend by electronics industry bluenessLook at, the quality testing of domestic FPCB product relies primarily on artificial range estimation or traditional shortcoming detection algorithm, it is artificial estimate real-time it is poor,It is costly and inefficient, with unmanned intelligent and board design high-precision, the densification of field of industrial manufacturing, peopleWork visual inspection mode is gradually difficult to meet production requirement.
Traditional shortcoming detection generally carries out industry defects detection, key step with mode identification method are as follows: 1., image adoptsCollection: the original image containing product to be measured is collected based on a set of NI Vision Builder for Automated Inspection;2., image preprocessing: removal imageNoise carries out image segmentation to whole figure, obtains part component subgraph;3., image rectification registration: according to pre-processed results to everyIt opens part subgraph and carries out picture position calibration;4., feature extraction: based on algorithm for pattern recognition to step 3. in picture extract it is specialSign, obtains the textural characteristics figure of image;5., the textural characteristics figure of part to be detected carry out similarity mode;6., according to similarityMatched result output test result.
For flexible circuit panel products, the case where circuit board bending, deformation, is more universal in practical producing line, and it is fixed to be easy to causePosition and template matching inaccuracy, and then missing inspection and erroneous detection are formed, in addition, the diversity complexity of defect type is also to traditional algorithmLarger challenge is proposed, for this purpose, it is proposed that a kind of FPCB open defect automatic detection algorithm based on deep learning.
Summary of the invention
The purpose of the present invention is to provide a kind of FPCB open defect automatic detection algorithm based on deep learning, to solveThe problems mentioned above in the background art.
To achieve the above object, the invention provides the following technical scheme: a kind of FPCB open defect based on deep learningAutomatic detection algorithm, comprising the following steps:
A, in mating machine vision hardware system-based, defect sample color RGB image is acquired and according to part dimensionSample image is divided into a series of discrete component subgraph of fixed sizes;
B, sample image degree of comparing is enhanced before mark and laplacian spectral radius is to protrude defect characteristic;
C, the component defects sample image in step B is labeled using marking software;
D, structure improvement is carried out to fasterrcnn and is instructed on GPU or GPU server based on Detectron framePractice;
E, update and optimization training parameter, and false detection rate and omission factor of the statistical model on target verification collection, according to realityBorder demand comprehensive assessment false detection rate and omission factor obtain optimal models, and are detected using optimal models;
F, error detection sample is collected according to testing result and original model is added and is trained and double optimization, and specific excellentChange process is the same as step E;
G, 5 are repeated as needed several times, are obtained the final mask detected for FPCB appearance and are carried out with final maskDetection.
Preferably, the specific size of element subgraph is different because of component size and camera resolution in the step A, preferably1600*2200。
Preferably, the defect upper left corner and lower right corner pixel coordinate are mainly marked in the step C in a manner of rectangle frameAnd defect generic.
Preferably, main to improve are as follows: 1., using convolutional network Resnet series+feature pyramid knot in the step DStructure is as feature extraction network;2., training process using data enhance technology, be added according to sample size 1:1 flip horizontal,Flip vertical, 90 ° of rotations, 270 ° of rotations, translation, color jitter, luminance contrast adjustment totally 7 kinds of data enhancings;3., consider lackThe more extreme situation of sunken shape increases 2 kinds of length-width ratios newly on the basis of original anchor length-width ratio (1:2,1:1,2:1);4., will be formerThere is the common convolution of the 3*3 of rpn network to be improved to the cavity 3*3 convolution.
Preferably, in the step E, when being detected using optimal models, it is specific on picture that algorithm exports defectPosition and defect classification.
Compared with prior art, beneficial effects of the present invention are as follows:
The present invention highlights defect part to the enhancing of image degree of comparing and Edge contrast before mark, effectively reducesData mark difficulty, and carry out open defect detection to FPCB using the fasterrcnn algorithm in deep learning, from principleEvade the adverse effect of deformation and defect diversification to detection performance of flexible circuit board in conventional template matching detection technology,Meanwhile fasterrcnn algorithm is improved and optimized in conjunction with FPCB appearance detection practical application scene, improve defectPositive inspection rate and recall rate, compared to Manual Visual Inspection, the technical program is highly efficient, accuracy rate is higher, be substituted part repetitionMachinery labour is more conducive to promote the unmanned degree of production line automation, compared to tradition in the case where industry manufactures intelligent backgroundTemplate matching technique scheme or appearance detection scheme based on feature, the technical program adapt to flexible circuit board in deformation, curvedDetection in the defects of folding more complicated situation, and number of drawbacks can be identified simultaneously, the detection effect of defect is more excellentIt is different.
Specific embodiment
Below in conjunction with the embodiment of the present invention, technical solution in the embodiment of the present invention is clearly and completely retouchedIt states, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on the present inventionIn embodiment, every other implementation obtained by those of ordinary skill in the art without making creative effortsExample, shall fall within the protection scope of the present invention.
A kind of FPCB open defect automatic detection algorithm based on deep learning, comprising the following steps:
A, in mating machine vision hardware system-based, defect sample color RGB image is acquired and according to part dimensionSample image is divided into a series of discrete component subgraph of fixed sizes;
B, sample image degree of comparing is enhanced before mark and laplacian spectral radius is to protrude defect characteristic, reduce peopleThe mistake mark and spill tag note of work annotation process;
C, the component defects sample image in step B is labeled using marking software;
D, structure improvement is carried out to fasterrcnn and is instructed on GPU or GPU server based on Detectron framePractice;
E, update and optimization training parameter, and false detection rate and omission factor of the statistical model on target verification collection, according to realityBorder demand comprehensive assessment false detection rate and omission factor obtain optimal models, and are detected using optimal models;
F, error detection sample is collected according to testing result and original model is added and is trained and double optimization, and specific excellentChange process is the same as step E;
G, 5 are repeated as needed several times, are obtained the final mask detected for FPCB appearance and are carried out with final maskDetection.
Defect part is highlighted to the enhancing of image degree of comparing and Edge contrast before mark, effectively reduces data markDifficulty is infused, and open defect detection is carried out to FPCB using the fasterrcnn algorithm in deep learning, is evaded from principleThe deformation and defect diversification of flexible circuit board be to the adverse effect of detection performance in conventional template matching detection technology, meanwhile,Fasterrcnn algorithm is improved and optimized in conjunction with FPCB appearance detection practical application scene, improves the positive inspection of defectRate and recall rate, compared to Manual Visual Inspection, the technical program is highly efficient, accuracy rate is higher, part is substituted repeats mechanical laborIt is dynamic, it is more conducive to promote the unmanned degree of production line automation in the case where industry manufactures intelligent background, compared to conventional templateAppearance detection scheme with technical solution or based on feature, the technical program adapt to flexible circuit board and lack in deformation, bending etc.The detection in more complicated situation is fallen into, and number of drawbacks can be identified simultaneously, the detection effect of defect is more excellent.
The specific size of element subgraph is different because of component size and camera resolution in step A, preferably 1600*2200.
It is mainly marked in a manner of rectangle frame belonging to the defect upper left corner and lower right corner pixel coordinate and defect in step CClassification.
It is main to improve are as follows: 1., using convolutional network Resnet series+feature pyramid structure as feature to mention in step DNetwork is taken, improves ratio of the low layer simple semantic information beneficial for defects detection in entire characteristic pattern, and reinforceEach layer of Fusion Features, improve the recall rate of small-sized defect (such as bright spot, dim spot);2., training process increased using dataStrong technology, be added according to sample size 1:1 flip horizontal, flip vertical, 90 ° of rotations, 270 ° of rotations, translation, color jitter,Luminance contrast adjustment totally 7 kinds of data enhancings, so that model in the case where defect sample limited amount, is efficiently utilized existingData improve algorithm Generalization Capability and the stability to unknown sample;3., consider the more extreme situation of defect shape, in originalHave and increase 2 kinds of length-width ratios on the basis of anchor length-width ratio (1:2,1:1,2:1) newly, enriches candidate frame form, improve long strip typeThe detection effect of defect;4., the common convolution of 3*3 of original rpn network is improved to the cavity 3*3 convolution, keep calculation amount not increaseThe receptive field that rpn network is improved in the case where adding improves the performance of model.
In step E, when being detected using optimal models, algorithm exports specific location and defect class of the defect on pictureNot.
In use, highlighting defect part to the enhancing of image degree of comparing and Edge contrast before mark, it is effectively reducedData mark difficulty, and using fasterrcnn algorithm in deep learning to FPCB progress open defect detection, from principleOn evaded the unfavorable shadow of deformation and defect diversification to detection performance of flexible circuit board in conventional template matching detection technologyIt rings, meanwhile, fasterrcnn algorithm is improved and optimized in conjunction with FPCB appearance detection practical application scene, is improved scarceSunken positive inspection rate and recall rate, compared to Manual Visual Inspection, the technical program is highly efficient, accuracy rate is higher, part weight is substitutedTool of answering a pager's call labour is more conducive to promote the unmanned degree of production line automation, compared to biography in the case where industry manufactures intelligent backgroundUnite template matching technique scheme or the appearance detection scheme based on feature, the technical program adapt to flexible circuit board deformation,Detection in the defects of bending more complicated situation, and number of drawbacks can be identified simultaneously, the detection effect of defect is moreIt is excellent.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be withA variety of variations, modification, replacement can be carried out to these embodiments without departing from the principles and spirit of the present invention by understandingAnd modification, the scope of the present invention is defined by the appended.

Claims (5)

4. a kind of FPCB open defect automatic detection algorithm based on deep learning according to claim 1, feature existIn: it is main to improve are as follows: 1., using convolutional network Resnet series+feature pyramid structure as feature to mention in the step DTake network;2., training process using data enhance technology, flip horizontal, flip vertical, 90 ° are added according to sample size 1:1Rotation, 270 ° of rotations, translation, color jitter, luminance contrast adjustment totally 7 kinds of data enhancings;3., consider defect shape it is more extremeThe case where, increase 2 kinds of length-width ratios newly on the basis of original anchor length-width ratio (1:2,1:1,2:1);4., by original rpn networkThe common convolution of 3*3 is improved to the cavity 3*3 convolution.
CN201910806577.4A2019-08-292019-08-29A kind of FPCB open defect automatic detection algorithm based on deep learningPendingCN110530875A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910806577.4ACN110530875A (en)2019-08-292019-08-29A kind of FPCB open defect automatic detection algorithm based on deep learning

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910806577.4ACN110530875A (en)2019-08-292019-08-29A kind of FPCB open defect automatic detection algorithm based on deep learning

Publications (1)

Publication NumberPublication Date
CN110530875Atrue CN110530875A (en)2019-12-03

Family

ID=68665136

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910806577.4APendingCN110530875A (en)2019-08-292019-08-29A kind of FPCB open defect automatic detection algorithm based on deep learning

Country Status (1)

CountryLink
CN (1)CN110530875A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111145164A (en)*2019-12-302020-05-12上海感图网络科技有限公司IC chip defect detection method based on artificial intelligence
CN111524119A (en)*2020-04-222020-08-11征图新视(江苏)科技股份有限公司Two-dimensional code defect detection method based on deep learning
CN111652883A (en)*2020-07-142020-09-11征图新视(江苏)科技股份有限公司Glass surface defect detection method based on deep learning
CN111830048A (en)*2020-07-172020-10-27苏州凌创电子系统有限公司Automobile fuel spray nozzle defect detection equipment based on deep learning and detection method thereof
CN111951239A (en)*2020-08-042020-11-17上海微亿智造科技有限公司Over-label over-detection method and system
WO2021109627A1 (en)*2019-12-032021-06-10歌尔股份有限公司Defect classification method and device for small sample, and computing apparatus
CN113591965A (en)*2021-07-262021-11-02格力电器(南京)有限公司AOI detection image processing method and device, storage medium and computer equipment
CN114113137A (en)*2021-11-102022-03-01佛山科学技术学院Defect detection system and method for thin film material
CN114113109A (en)*2021-11-262022-03-01科士恩智能科技(上海)有限公司 An automated and intelligent vehicle instrument panel defect detection method

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109145769A (en)*2018-08-012019-01-04辽宁工业大学The target detection network design method of blending image segmentation feature
CN109142371A (en)*2018-07-312019-01-04华南理工大学High density flexible exterior substrate defect detecting system and method based on deep learning
CN109239102A (en)*2018-08-212019-01-18南京理工大学A kind of flexible circuit board open defect detection method based on CNN
CN109242830A (en)*2018-08-182019-01-18苏州翔升人工智能科技有限公司A kind of machine vision technique detection method based on deep learning
CN109636772A (en)*2018-10-252019-04-16同济大学The defect inspection method on the irregular shape intermetallic composite coating surface based on deep learning
CN109711295A (en)*2018-12-142019-05-03北京航空航天大学 An optical remote sensing image nearshore ship detection method
CN110097534A (en)*2019-03-042019-08-06华北电力大学A kind of nuclear fuel rod open defect detection method based on deep learning

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109142371A (en)*2018-07-312019-01-04华南理工大学High density flexible exterior substrate defect detecting system and method based on deep learning
CN109145769A (en)*2018-08-012019-01-04辽宁工业大学The target detection network design method of blending image segmentation feature
CN109242830A (en)*2018-08-182019-01-18苏州翔升人工智能科技有限公司A kind of machine vision technique detection method based on deep learning
CN109239102A (en)*2018-08-212019-01-18南京理工大学A kind of flexible circuit board open defect detection method based on CNN
CN109636772A (en)*2018-10-252019-04-16同济大学The defect inspection method on the irregular shape intermetallic composite coating surface based on deep learning
CN109711295A (en)*2018-12-142019-05-03北京航空航天大学 An optical remote sensing image nearshore ship detection method
CN110097534A (en)*2019-03-042019-08-06华北电力大学A kind of nuclear fuel rod open defect detection method based on deep learning

Cited By (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2021109627A1 (en)*2019-12-032021-06-10歌尔股份有限公司Defect classification method and device for small sample, and computing apparatus
US11836967B2 (en)2019-12-032023-12-05Goertek, Inc.Method and device for small sample defect classification and computing equipment
CN111145164A (en)*2019-12-302020-05-12上海感图网络科技有限公司IC chip defect detection method based on artificial intelligence
CN111524119A (en)*2020-04-222020-08-11征图新视(江苏)科技股份有限公司Two-dimensional code defect detection method based on deep learning
CN111652883A (en)*2020-07-142020-09-11征图新视(江苏)科技股份有限公司Glass surface defect detection method based on deep learning
CN111652883B (en)*2020-07-142024-02-13征图新视(江苏)科技股份有限公司Glass surface defect detection method based on deep learning
CN111830048A (en)*2020-07-172020-10-27苏州凌创电子系统有限公司Automobile fuel spray nozzle defect detection equipment based on deep learning and detection method thereof
CN111951239A (en)*2020-08-042020-11-17上海微亿智造科技有限公司Over-label over-detection method and system
CN113591965A (en)*2021-07-262021-11-02格力电器(南京)有限公司AOI detection image processing method and device, storage medium and computer equipment
CN114113137A (en)*2021-11-102022-03-01佛山科学技术学院Defect detection system and method for thin film material
CN114113109A (en)*2021-11-262022-03-01科士恩智能科技(上海)有限公司 An automated and intelligent vehicle instrument panel defect detection method

Similar Documents

PublicationPublication DateTitle
CN110530875A (en)A kind of FPCB open defect automatic detection algorithm based on deep learning
CN110807355B (en) A pointer meter detection and reading recognition method based on mobile robot
CN111611643B (en) House type vectorization data acquisition method, device, electronic equipment and storage medium
WO2021138995A1 (en)Fully automatic detection method for checkerboard corners
CN107169487B (en)Salient object detection method based on superpixel segmentation and depth feature positioning
CN102704215B (en)Automatic cutting method of embroidery cloth based on combination of DST file parsing and machine vision
CN107657639A (en)A kind of method and apparatus of quickly positioning target
CN105574161B (en)A kind of brand logo key element recognition methods, device and system
CN112070137A (en)Training data set generation method, target object detection method and related equipment
CN109284718A (en)Inspection robot-oriented variable-view-angle multi-instrument simultaneous identification method
CN109389165A (en)Oil level gauge for transformer recognition methods based on crusing robot
CN116704516B (en)Visual inspection method for water-soluble fertilizer package
CN108022245B (en) Automatic generation method of photovoltaic panel template based on surface line primitive association model
CN115082776A (en)Electric energy meter automatic detection system and method based on image recognition
CN107633507A (en)LCD defect inspection methods based on contour detecting and characteristic matching
CN114187253A (en) A kind of circuit board parts installation detection method
CN108960231A (en)A kind of thin pointer watch dial identification number reading method based on machine vision
CN112381747A (en)Terahertz and visible light image registration method and device based on contour feature points
CN113205136A (en)Real-time high-precision detection method for appearance defects of power adapter
CN112465883B (en) A High-precision Surface Non-Uniform Image Registration Method
CN117392201A (en)Target paper bullet hole identification and target reporting method based on visual detection
CN115184362A (en)Rapid defect detection method based on structured light projection
CN117372339A (en)PCB defect detection and identification method based on YOLO-SEE
CN119672685A (en) Pointer-type meter reading recognition method, device, system and product
CN113159015A (en)Seal identification method based on transfer learning

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20191203

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp