Abstract

Deep learning has been widely used in recent years for printed circuit board (PCB) defect detection because of its excellent performance. However, deep-learning-based approaches often suffer from the over-fitting problem due to the lack of sufficient training data in real applications. Meanwhile, these approaches still have some challenges to detect these defects with small sizes and irregular shapes. To address these problems, this article has developed a novel deep Siamese semantic segmentation network which integrates the similarity measurement of the Siamese network with the encoder–decoder semantic segmentation network for PCB welding defect detection. This network includes two encoders sharing weighted values, a decoder, and some correlation modules, in which the decoder integrates deep features from two decoders with their feature difference computed by some correlation modules via skipping connections to recover spatial information on multiple output layers, and thus this proposed network can perform PCB welding small defect semantic segmentation. Moreover, via these correlation modules, this proposed network can pay more attention to semantic difference and further alleviate the over-fitting issue because of insufficient defect samples. Finally, we propose a combined loss function which combines the weighted cross-entropy loss, the Lovasz softmax loss, and the weighted precision–recall loss for network training to further improve small defect segmentation and recall improvement. Experimental results demonstrate that the proposed network can be trained on limited training images and achieve high efficiency and outstanding effects for PCB welding small defect segmentation.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.