Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

PCB defect data generation method based on deep learning

A data generation and deep learning technology, applied in image data processing, biological neural network model, image enhancement and other directions, can solve the problem of skewed sample quantity and model overfitting

Pending Publication Date: 2020-10-20
FOSHAN NANHAI GUANGDONG TECH UNIV CNC EQUIP COOP INNOVATION INST +1
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Downsampling of non-defective samples, during batch training, limit the number of non-defective samples in each batch of randomly drawn samples
In the PCB defect detection project, the number of open-circuit samples with the least amount of data is only thousands, while the number of samples without defects is on the order of 100,000. The number of category samples is seriously skewed. lead to overfitting of the model

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • PCB defect data generation method based on deep learning
  • PCB defect data generation method based on deep learning
  • PCB defect data generation method based on deep learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] Such as Figure 1 to Figure 9 As shown, this embodiment discloses a method for generating PCB defect data based on deep learning in factory PCB defect detection, including the following specific implementation steps:

[0058] 1) Collect image data sets of non-defective PCB boards in the factory, and organize the data sets.

[0059] 2) Construct a generative adversarial network model to solve the problem of category-sample imbalance. The envisaged method is unsupervised image-to-image translation, inspired by GAN-based repair and detection models, and aims to design a network structure based on two sets of unidirectional GANs that can achieve bidirectional image generation. Since there are many types of defects, and each model can only be used to generate a specific type, it is necessary to perform category migration and use the model to generate defect data sets of all types.

[0060] 3) The model is divided into generator and discriminator. Firstly, the generator mo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a PCB defect data generation method based on deep learning. In a generator network and a discriminator network, a BatchNorm layer, a Relu layer and a LeakyRelu layer are added,the Relu layer is used for the generator network, and the LeakyRelu layer is used for the discriminator network: an encoder is designed and is composed of three convolution layers, and the encoder extracts features from an input image; a converter is designed, wherein the converter is composed of six residual blocks and converts the feature vector from a source domain to a target domain; a decoder is designed, wherein the decoder is composed of three deconvolution layers; designing a discriminator, wherein the discriminator is composed of five convolution layers; a loss function is designed,wherein the loss function comprises four parts; a training set for model training is prepared, and a network is trained to automatically repair defects; a weight file under the optimal iteration frequency is selected for testing; the restored image and the test image are compared by using the LBP, so that the position of the defect can be found more accurately; and various defect data sets are obtained by utilizing the generated samples. The method is high in robustness, wide in application range and excellent in generation effect.

Description

technical field [0001] The invention relates to the field of PCB defect detection, in particular to a method for generating PCB defect data based on deep learning. Background technique [0002] Traditionally, surface defects have been visually detected by humans, which is subjective, expensive, inefficient and inaccurate. At present, the detection and classification of surface defects based on machine vision can significantly improve the efficiency of industrial production. Machine vision systems are superior to human vision, but there are still many problems and challenges in practical production applications. Since traditional image features used to distinguish defects from non-defects are manually designed based on experience, the features of traditional image feature extraction algorithms are usually at a low level, under complex production scene changes, such as illumination changes, perspective distortion, There are partial occlusions, object deformation, etc., and t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T7/00G06K9/46G06K9/62G06N3/04
CPCG06T7/0004G06T2207/30141G06V10/44G06V10/467G06N3/045G06F18/214
Inventor 杨海东黄坤山史扬艺
Owner FOSHAN NANHAI GUANGDONG TECH UNIV CNC EQUIP COOP INNOVATION INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products