원시데이터 수집 시스템
선정목록으로

A new frontier in electronics manufacturing: Optimized deep learning techniques for PCB image reconstruction

간접 관련 필름·전자재료 · (14) 드라이 필름(포토레지스트) (21) 에폭시수지

기본 정보

저자
  1. Qianyue Wang — Mcmaster University
DOI
10.54254/2755-2721/51/20241591
저널
Applied and Computational Engineering
발행년도
2024
발행기관
–
피인용수
1
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.54254/2755-2721/51/20241591
토픽
Advancements in Photolithography Techniques
OpenAlex ID
W4393100908

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (14) 드라이 필름(포토레지스트)
부 분야
(21) 에폭시수지
R&D 측면
분석·모델링
확신도
0.80
근거 용어
Printed Circuit Boards (PCB), image reconstruction, quality control, failure analysis, deep learning
판단 근거
본 논문은 PCB의 품질 관리 및 결함 분석을 위한 딥러닝 기반 이미지 재구성 기술을 다루고 있습니다. 이는 코오롱인더스트리의 드라이 필름(14) 및 전자재료 관련 공정의 검사/분석 기술에 간접적으로 응용될 수 있습니다.
R&D 활용 포인트
PCB 제조 공정 중 발생하는 이미지 왜곡이나 결함 데이터를 정밀하게 분석하고, 자동화된 품질 검사(Inspection) 시스템의 정확도를 높이는 알고리즘으로 활용 가능합니다.
평가 입력
본문 25,124자

초록

In the rapidly evolving electronics manufacturing sector, maintaining quality control and conducting failure analysis of Printed Circuit Boards (PCBs) are critical yet challenging tasks. This study presents a groundbreaking self-supervised learning framework to address existing gaps in the reconstruction of encoded or blurred Printed Circuit Board images. By leveraging a customized DeepLabV3+ architecture with depth-wise separable convolutions, our model is engineered to autonomously learn intrinsic Printed Circuit Board features, eliminating the need for manual data labeling. This not only alleviates computational burden but also ensures robust performance. Augmented by feature quantization and channel reduction techniques, our model stands out as both lightweight and resilient, making it highly adaptable for Printed Circuit board imaging. To validate the framework, a tailored dataset comprising raw and encoded Printed Circuit board images from diverse sources was assembled and further refined to match real-world industrial standards. Our model demonstrates unparalleled efficacy in Printed Circuit board image reconstruction, establishing a new benchmark for the field.

본문 25,124자

본문 펼치기
Proceedings of the 4th International Conference on Signal Processing and Machine Learning DOI: 10.54254/2755-2721/51/20241591 # A new frontier in electronics manufacturing: Optimized deep learning techniques for PCB image reconstruction Qianyue Wang Mcmaster University, Hamilton, Canada, ON L8S 4L8 wangq180@mcmaster.ca Abstract. In the rapidly evolving electronics manufacturing sector, maintaining quality control and conducting failure analysis of Printed Circuit Boards (PCBs) are critical yet challenging tasks. This study presents a groundbreaking self-supervised learning framework to address existing gaps in the reconstruction of encoded or blurred Printed Circuit Board images. By leveraging a customized DeepLabV3+ architecture with depth-wise separable convolutions, our model is engineered to autonomously learn intrinsic Printed Circuit Board features, eliminating the need for manual data labeling. This not only alleviates computational burden but also ensures robust performance. Augmented by feature quantization and channel reduction techniques, our model stands out as both lightweight and resilient, making it highly adaptable for Printed Circuit board imaging. To validate the framework, a tailored dataset comprising raw and encoded Printed Circuit board images from diverse sources was assembled and further refined to match real-world industrial standards. Our model demonstrates unparalleled efficacy in Printed Circuit board image reconstruction, establishing a new benchmark for the field. Keywords: Printed Circuit Boards (PCB), Image Reconstruction, Depth wise Separable, Convolutions, Quantization 1. Introduction Printed circuit boards (PCBS) are the linchpin of modern electronics, the foundational platform for components and circuits in devices ranging from smartphones to aerospace equipment. Total global sales of printed circuit boards have increased by an average of over $3.7 billion per year [1]. Given their ubiquity and complexity, it is critical to ensure the quality and integrity of PCBS. Traditionally, this has been done by manual inspection or less advanced automated methods. However, due to the complexity of PCB design and the miniaturization of electronic components, these methods are becoming increasingly inadequate. A particularly important but under-explored area in PCB analysis is the reconstruction of encoded or obscured PCB images. This capability is crucial in scenarios such as failure analysis, product reverse engineering, and quality control. The ability to reconstruct a PCB image from a distorted or incomplete version could be instrumental in identifying design flaws, verifying manufacturing accuracy, and even in the intellectual property protection of proprietary designs. Despite the apparent demand, contemporary methodologies for PCB image reconstruction remain astonishingly sparse, predominantly leaning on conventional machine learning techniques or basic heuristic algorithms. A conspicuous hurdle stalling advancements in this arena emerges from the absence of specialized datasets specifically crafted for PCB image reconstruction and a deficit in © 2024 The Authors. This is an open access article distributed under the terms of the Creative Commons Attribution License 4.0 (https://creativecommons.org/licenses/by/4.0/). Proceedings of the 4th International Conference on Signal Processing and Machine Learning DOI: 10.54254/2755-2721/51/20241591 methodologies capable of transferring acquired knowledge to analogous tasks, such as PCB segmentation or missing component detection. Addressing identified gaps, a new framework for PCB image reconstruction is unveiled in this research, with the employment of a self-supervised learning paradigm. Through the utilization of selfsupervised learning, useful representations of images can be learned in the absence of labels, a feat not achievable with conventional supervised learning techniques. This facilitates effective learning without accessing a wealth of annotated data, significantly mitigating the difficulties and costs associated with data preparation. Within this context, the DeepLabV3+ architecture is manipulated, and depth-wise separable convolutions are incorporated, providing a pathway to effectively discern PCB characteristics without the necessity for exhaustive manual labeling and fostering a computationally efficient training and inferencing environment in resource-limited settings, due to the reduced computational burden of depth-wise separable convolutions. Furthermore, through the construction of a specialized dataset, comprising both raw and encoded PCB images, a comprehensive experimental environment is presented for the issue of PCB image reconstruction. These images, serving as both training and validation sets, ensure thorough and consistent experimental validation of the methodology. The employment of selfsupervised learning not only enhances the scalability of the approach but also enables the transfer of learned model weights to other related tasks, showcasing robust transferability and providing the potential to expedite model training for other correlated tasks, thus heightening its practical applicability. To validate the approach and underscore the efficacy of employing depth-wise separable convolutions within the DeepLabV3+ architecture, a specialized dataset has been curated, establishing a comprehensive environment in which to rigorously test and validate the methods. Uniquely, the methodology introduced in this research facilitates the transferability of model weights to auxiliary tasks, such as Printed Circuit board segmentation and missing component detection, thus broadening its applicability scope. This research does not merely present a revolutionary approach toward Printed Circuit board image reconstruction methodologies but also establishes a robust foundation for subsequent explorations in this domain. Consequently, avenues are opened for expansive applications and innovations, not only within the realm of electronics manufacturing but also extending into broader domains. The succeeding sections will further dissect the methodology, elaborating on dataset creation, model architecture, training methodology, and the validation process in a detailed manner. Subsequently, experimental results are scrutinized and discussed, concluding with an encapsulation of findings and prospective trajectories for future exploration in this domain. Self-Supervised Learning Framework: An advanced self-supervised learning framework has been developed, enabling accurate reconstruction of obfuscated PCB images without extensive manual labeling, ensuring scalability and precision. Dataset Creation: A novel dataset has been created, encoding existing datasets, to fill the gap in the availability of specialized datasets for obfuscated PCB image analysis, providing a new resource for the community. Versatile Model Architecture: The DeepLabV3+ architecture has been leveraged and adapted to include different backbones like ResNet50, ResNet101, and Mobile Net [1]. Depth-wise separable convolutions have been integrated, enhancing model efficiency without compromising feature learning capabilities. The option for synchronized batch normalization ensures consistent multi-GPU training performance. Optimized Training Methodology: A range of optimizers, including SGD and Adam [2], and various learning rate policies have been incorporated, providing flexibility and fine-tuning capabilities during the training process. Multi-GPU training support ensures expedited experimentation and scalability. Proceedings of the 4th International Conference on Signal Processing and Machine Learning DOI: 10.54254/2755-2721/51/20241591 2. Related Work _2.1. Deep Learning in Image Segmentation_ Deep learning techniques, especially Convolutional Neural Networks (CNNs), have demonstrably altered the landscape of image segmentation [3]. U-Net, one of the foundational architectures designed for biomedical image segmentation, introduced an encoder-decoder structure that has inspired numerous succeeding models. Deeplabv3+, a highly influential model utilized in our study, extends upon its predecessors by amalgamating Atrous Spatial Pyramid Pooling (ASPP) with an encoder-decoder structure [4] significantly improving segmentation performance on numerous benchmarks. _2.2. Advancements in Data Augmentation_ Data augmentation, a vital strategy in training deep learning models, enhances model generalization by artificially expanding the training dataset through various transformations. In our study, we employ a series of augmentation techniques, including rotation and scaling, to mitigate overfitting and enhance the model's robustness against various image distortions. _2.3. Self-Supervised Learning in Image Segmentation_ While our current methodology is grounded in supervised learning, self-supervised learning has emerged as a promising alternative, particularly when annotated data is scarce [5]. Self-supervised approaches often leverage pretext tasks, such as predicting rotation angles or solving jigsaw puzzles, to learn useful feature representations without requiring labeled data [6]. Combining self-supervised learning with traditional supervised methodologies holds potential for further boosting performance in image segmentation, representing a possible future direction for our research. _2.4. Model Evaluation and Optimization_ Model evaluation and optimization remain critical in developing effective image segmentation models. Various studies have proposed methodologies to optimize model parameters and improve inference efficiency. In this study, we leverage specific optimization techniques and methodologies to fine-tune our Deeplabv3+ model, ensuring it is adept at handling specific challenges. 3. Approach _3.1. Dataset Selection and Processing_ Data Sourcing and Organization. The dataset for this research was constructed from approximately 1000 PCB images that were manually collected. To ensure the model is versed in handling a variety of realworld scenarios, these images were bifurcated into two groups. The train group consists of the original PCB images, whereas the train labels group contains the images that underwent a partial obfuscation process, covering roughly 30% of each image. This obfuscation was executed using Python, and all the images are of the dimension 256x256. Data Augmentation. Data Augmentation plays a pivotal role in enhancing a model's generalization capabilities. To address this challenge, the dataset underwent a series of sophisticated transformations, leveraging the argumentation library. Horizontal Flipping was employed, essentially inverting the pixel values to simulate images captured from diverse side perspectives. Similarly, Vertical Flipping was introduced, offering a mimicry of top-down shots. Recognizing potential blurriness in real-world images due to camera focus shifts or rapid movements, techniques like Motion Blur, Median Blurring, and Regular Blurring were integrated. Further accounting for the variability in image capture, Random Affine Transformations, encompassing translations, scaling, and rotations, were applied, emulating possible deformations from different camera angles, distances, or postures. Additionally, to simulate varying environmental lighting conditions, Random Adjustments in Brightness and Contrast were introduced, ensuring robustness across a spectrum of lighting scenarios. Proceedings of the 4th International Conference on Signal Processing and Machine Learning DOI: 10.54254/2755-2721/51/20241591 Data Pre-processing and Label Encoding. Before data augmentation, a series of pre-processing steps were performed on the images. To ensure consistency in model inputs, a random cropping method was applied to standardize the size of images. Additionally, for numerical stability, each pixel value in the images was normalized. Parallel to image pre-processing, label encoding was deemed crucial. Given the bespoke nature of the dataset, a unique label processing method was developed, converting the RGB values of mask images into categorical labels. This was achieved using a color map extracted from a CSV file, which provides a mapping from RGB values to specific categories or segments on the PCB. This label encoding technique transformed mask images into a format suitable for training, allowing the model to predict specific categories or segments rather than just RGB values. _3.2. Model Architecture_ For this project, the DeepLabV3+ was selected as the core model due to its specialized efficiency tailored for image semantic segmentation. The DeepLabV3+ utilizes an encoder-decoder structure, enabling the extraction of high-level features from the input image and mapping these features back to the original resolution for pixel-level classification. The encoder typically encompasses multiple convolutional layers, reducing spatial resolution while increasing feature depth; the decoder, on the other hand, employs transposed convolutions or upscaling layers to revert the encoder's output to the size of the original image. Furthermore, DeepLabV3+ incorporates the dilated convolution technique, capturing a larger receptive field without an added computational burden. To further refine the model's performance, custom modifications involving depth-wise separable convolutions were implemented. In comparison to traditional convolutions, depth-wise separable convolution decomposes the convolution operation into depth-wise and point-wise convolutions, significantly reducing parameter count and computational overhead, thus enhancing the model's efficiency. This inclusion facilitates faster model operation on mobile devices or in resource-constrained settings. In addition to the structures, the model leverages synchronized batch normalization, maintaining consistent feature distribution within the model during multi-GPU training. And catering to various training requirements, the model supports a range of loss functions such as cross-entropy, focal loss, Lovasz Softmax, and mean squared error. _3.3. Training Strategy_ Optimizer Selection. In the training of deep learning, the choice of optimizer is a critical factor in determining convergence speed and model performance. During the experimental process, Adagrad was used, which is particularly suited for handling sparse data. However, due to its continuously decreasing learning rate during the training process, it led to premature training termination. As a result of these challenges, in this study, we considered the SGD and Adam optimizers because these two optimizers typically offer more stable and better performance on large-scale datasets. SGD, or Stochastic Gradient Descent, has proven its robustness in various tasks, especially on large-scale datasets. However, SGD requires fine-tuning of the learning rate and may get trapped in local minima. In contrast, the Adam optimizer adaptively adjusts the learning rate and considers past gradients, allowing it to converge quickly across different tasks. Taking these factors into account, we chose SGD as the primary optimizer but also conducted comparative experiments with Adam. Learning Rate Strategy. The choice of an appropriate learning rate scheduling strategy is pivotal for the effective training of deep learning models. While a high learning rate can expedite convergence, it risks overshooting the optimal solution. Conversely, a very low learning rate can lead to excessively slow convergence, potentially stagnating in local minima. In this study, several learning rate strategies were examined, including multi-step annealing and stepwise decay. The essence behind these strategies is to commence with a relatively high learning rate for rapid progress and then judiciously reduce it over time, ensuring the model gradually settles into an optimal solution, especially in the later stages of training. Particularly, the polynomial decay was found to be efficacious as it provides a steady and predictable rate of decrease, which aids in preventing oscillations in the loss landscape and facilitates smoother convergence. Proceedings of the 4th International Conference on Signal Processing and Machine Learning DOI: 10.54254/2755-2721/51/20241591 Loss Function Selection for PCB Reconstruction. In the realm of PCB (Printed Circuit Board) reconstruction, the selection of an appropriate loss function is paramount. Every pixel in a PCB image carries significant information and achieving precision and accuracy in segmentation is of utmost importance. The nuances of semantic segmentation necessitate a refined approach to the loss function definition. Cross-entropy loss is conventionally the go-to for classification tasks as it measures the difference between the predicted probability distribution and the actual labels. However, in situations with class imbalances, such as with PCB images where certain components might be sparser than others, crossentropy may not be the most optimal. In these scenarios, the dominant class might overshadow the minority ones, leading to subpar segmentation. To counter this, the Focal Loss was considered, specifically engineered to handle class imbalances. This loss function assigns greater weights to misclassified pixels, particularly crucial in PCB images where such misclassifications could result in circuit malfunctions or instabilities. The Focal Loss is defined as: LFocal = −αt(1 − pt) <sup>γ</sup> log⁡(??) (1) Where pt is the model's predicted probability for the positive class, and αt and γ are tuning parameters. Another promising loss function is the Lovasz Softmax, which also emphasizes addressing class imbalances. Compared to the Focal Loss, the Lovasz Softmax is potentially more effective in capturing the intricacies of PCBs, such as minute connections and microscopic components. Additionally, the Mean Squared Error (MSE) Loss, typically associated with regression tasks, was explored. In the context of PCB reconstruction, the MSE loss captures subtle discrepancies between predictions and true labels, ensuring heightened accuracy in intricate circuit board designs [7]. The MSE loss is given by: LMSE =⁡ ~~⁡~~ ?1 <sup>∑</sup> ??=1(??−??̂) <sup>2</sup> (2) Where yi represents the true label and ??̂ is the model's prediction. Through experimentation, it was observed that a combination of the loss functions provides a more comprehensive capture of the nuances in PCB images, paving the way for more accurate reconstructions. _3.4. Model Validation and Evaluation_ Validation Strategy. To ensure the robustness of the model and guard against overfitting, the dataset was meticulously partitioned into training, validation, and test sets. As discerned from the code, specific datasets, such as the PCB, were further categorized into training and validation modes. By adopting this methodology, the model was trained on the training set and subsequently evaluated on the validation set. This approach facilitated consistent monitoring of the model's performance on unseen data, ensuring that any divergence in its learning capability was promptly identified and addressed. Evaluation Metrics. A comprehensive assessment of the model's performance necessitated the deployment of multiple evaluation metrics. The most evident metric employed was the "Mean Intersection over Union" (Mean IoU). [8] This metric is a stalwart in the realm of semantic segmentation tasks, quantifying the overlap between the predicted segmentation regions and the ground truth labels. Although the code suggests the potential usage of other metrics such as accuracy, recall, and F1 score, a deeper dive into the code would be requisite to affirm their inclusion. Baseline Comparisons. Throughout the experimental phase, the model was juxtaposed against a myriad of extant segmentation methodologies. The adoption of DeepLabV3+ as the cornerstone model, with considerations for its diverse variants like DeepLabV3+ based on ResNet50, ResNet101, and Mobile Net [1], ensured that the proposed approach was not only in contention with the current stateof-the-art techniques but was also optimized to address the unique challenges posed by PCB image reconstruction. Proceedings of the 4th International Conference on Signal Processing and Machine Learning DOI: 10.54254/2755-2721/51/20241591 4. Experimental Evaluation _4.1. Experiment Setup and Metrics_ To effectively evaluate our approach, we established a rigorous experiment setup utilizing a diverse dataset comprising various PCB images sourced from public databases. The evaluation metrics focused on reconstruction accuracy, gauged through peak signal-to-noise ratio (PSNR) and structural similarity index (SSIM), ensuring a comprehensive understanding of the model's performance _4.2. Results and Discussion_ Our model demonstrated remarkable efficiency in reconstructing PCB images, outperforming existing methods in terms of speed and accuracy. The innovative combination of depthwise separable convolutions and quantization facilitated a robust performance, establishing a new benchmark in PCB image reconstruction. However, we also acknowledged potential areas for further optimization, including exploring more advanced lightweight models and improving the quantization process to enhance performance further. Moreover, future studies should consider a broader spectrum of real-world scenarios to ensure the model's versatility and readiness for industrial applications. 5. Conclusion In the presented research, an innovative framework for PCB image reconstruction was unveiled, utilizing a self-supervised learning paradigm to notably mitigate the necessity for manual labeling and enabling the model to decipher useful image representations without abundant annotated data. The robust DeepLabV3+ architecture, supplemented with depth-wise separable convolutions and validated through a specialized dataset comprising raw and encoded PCB images, not only facilitated efficient and scalable learning but also enabled the transfer of learned model weights to associated tasks, bolstering practical applicability. Nevertheless, several limitations and potential enhancements in this research are acknowledged. The robustness and reliability of the model, particularly in real-world applications involving highly obfuscated or noisy PCB images, may present possible areas for enhancement. Refinement in loss functions and the exploration of additional diverse backbones could provide avenues for further amplifying its adaptability and performance across various tasks and datasets. Moreover, expanding the diversity and size of the curated dataset might yield a more encompassing and realistic environment for model training and validation. Future research avenues might explore enhancing the model's robustness and applicability across different industrial scenarios. Delving into alternative self-supervised learning strategies and integrating advanced denoising and image enhancement techniques could forge paths toward elevated performance with degraded or partially obscured PCB images. Additionally, probing the model’s adaptability and utility across disparate domains and image types may provide valuable insights, potentially extending the applicability and impact of the developed framework across multifarious applications. References [1] Shamkhalichenar H, Bueche C J, Choi J W. Printed circuit board (PCB) technology for electrochemical sensors and sensing platforms[J]. Biosensors, 2020, 10(11): 159. [2] Landro N, Gallo I, La Grassa R. Mixing Adam and SGD: a combined optimization method[J]. arXiv preprint arXiv:2011.08042, 2020. [3] Gómez P, Semmler M, Schützenberger A, et al. Low-light image enhancement of high-speed endoscopic videos using a convolutional neural network[J]. Medical & biological engineering & computing, 2019, 57: 1451-1463. [4] Ahmad P, Jin H, Qamar S, et al. RD 2 A: Densely connected residual networks using ASPP for brain tumor segmentation[J]. Multimedia Tools and Applications, 2021, 80: 27069-27094. Proceedings of the 4th International Conference on Signal Processing and Machine Learning DOI: 10.54254/2755-2721/51/20241591 [5] Shurrab S, Duwairi R. Self-supervised learning methods and applications in medical imaging analysis: A survey[J]. PeerJ Computer Science, 2022, 8: e1045. [6] Huroyan V, Lerman G, Wu H T. Solving jigsaw puzzles by the graph connection Laplacian[J]. SIAM Journal on Imaging Sciences, 2020, 13(4): 1717-1753. [7] Yi S U N, Shichao L I, Hongli G A O, et al. Transfer learning: A new aerodynamic force identification network based on adaptive emd and soft thresholding in hypersonic wind tunnel[J]. Chinese Journal of Aeronautics, 2023. [8] Berman M, Triki A R, Blaschko M B. The lovász-softmax loss: A tractable surrogate for the optimization of the intersection-over-union measure in neural networks[C]//Proceedings of the IEEE conference on computer vision and pattern recognition. 2018: 4413-4421.

섹션 본문 34문단 · 21,450자

(제목 없음)

1In the rapidly evolving electronics manufacturing sector, maintaining quality control and conducting failure analysis of Printed Circuit Boards (PCBs) are critical yet challenging tasks.This study presents a groundbreaking self-supervised learning framework to address existing gaps in the reconstruction of encoded or blurred Printed Circuit Board images.By leveraging a customized DeepLabV3+ architecture with depth-wise separable convolutions, our model is engineered to autonomously learn intrinsic Printed Circuit Board features, eliminating the need for manual data labeling.This not only alleviates computational burden but also ensures robust performance.Augmented by feature quantization and channel reduction techniques, our model stands out as both lightweight and resilient, making it highly adaptable for Printed Circuit board imaging.To validate the framework, a tailored dataset comprising raw and encoded Printed Circuit board images from diverse sources was assembled and further refined to match real-world industrial standards.Our model demonstrates unparalleled efficacy in Printed Circuit board image reconstruction, establishing a new benchmark for the field.

Introduction

2Printed circuit boards (PCBS) are the linchpin of modern electronics, the foundational platform for components and circuits in devices ranging from smartphones to aerospace equipment.Total global sales of printed circuit boards have increased by an average of over $3.7 billion per year [1].Given their ubiquity and complexity, it is critical to ensure the quality and integrity of PCBS.Traditionally, this has been done by manual inspection or less advanced automated methods.However, due to the complexity of PCB design and the miniaturization of electronic components, these methods are becoming increasingly inadequate.A particularly important but under-explored area in PCB analysis is the reconstruction of encoded or obscured PCB images.This capability is crucial in scenarios such as failure analysis, product reverse engineering, and quality control.The ability to reconstruct a PCB image from a distorted or incomplete version could be instrumental in identifying design flaws, verifying manufacturing accuracy, and even in the intellectual property protection of proprietary designs.

3Despite the apparent demand, contemporary methodologies for PCB image reconstruction remain astonishingly sparse, predominantly leaning on conventional machine learning techniques or basic heuristic algorithms.A conspicuous hurdle stalling advancements in this arena emerges from the absence of specialized datasets specifically crafted for PCB image reconstruction and a deficit in methodologies capable of transferring acquired knowledge to analogous tasks, such as PCB segmentation or missing component detection.

4Addressing identified gaps, a new framework for PCB image reconstruction is unveiled in this research, with the employment of a self-supervised learning paradigm.Through the utilization of selfsupervised learning, useful representations of images can be learned in the absence of labels, a feat not achievable with conventional supervised learning techniques.This facilitates effective learning without accessing a wealth of annotated data, significantly mitigating the difficulties and costs associated with data preparation.Within this context, the DeepLabV3+ architecture is manipulated, and depth-wise separable convolutions are incorporated, providing a pathway to effectively discern PCB characteristics without the necessity for exhaustive manual labeling and fostering a computationally efficient training and inferencing environment in resource-limited settings, due to the reduced computational burden of depth-wise separable convolutions.Furthermore, through the construction of a specialized dataset, comprising both raw and encoded PCB images, a comprehensive experimental environment is presented for the issue of PCB image reconstruction.These images, serving as both training and validation sets, ensure thorough and consistent experimental validation of the methodology.The employment of selfsupervised learning not only enhances the scalability of the approach but also enables the transfer of learned model weights to other related tasks, showcasing robust transferability and providing the potential to expedite model training for other correlated tasks, thus heightening its practical applicability.To validate the approach and underscore the efficacy of employing depth-wise separable convolutions within the DeepLabV3+ architecture, a specialized dataset has been curated, establishing a comprehensive environment in which to rigorously test and validate the methods.

5Uniquely, the methodology introduced in this research facilitates the transferability of model weights to auxiliary tasks, such as Printed Circuit board segmentation and missing component detection, thus broadening its applicability scope.This research does not merely present a revolutionary approach toward Printed Circuit board image reconstruction methodologies but also establishes a robust foundation for subsequent explorations in this domain.Consequently, avenues are opened for expansive applications and innovations, not only within the realm of electronics manufacturing but also extending into broader domains.

6The succeeding sections will further dissect the methodology, elaborating on dataset creation, model architecture, training methodology, and the validation process in a detailed manner.Subsequently, experimental results are scrutinized and discussed, concluding with an encapsulation of findings and prospective trajectories for future exploration in this domain.

7Self-Supervised Learning Framework: An advanced self-supervised learning framework has been developed, enabling accurate reconstruction of obfuscated PCB images without extensive manual labeling, ensuring scalability and precision.

8Dataset Creation: A novel dataset has been created, encoding existing datasets, to fill the gap in the availability of specialized datasets for obfuscated PCB image analysis, providing a new resource for the community.

9Versatile Model Architecture: The DeepLabV3+ architecture has been leveraged and adapted to include different backbones like ResNet50, ResNet101, and Mobile Net [1].Depth-wise separable convolutions have been integrated, enhancing model efficiency without compromising feature learning capabilities.The option for synchronized batch normalization ensures consistent multi-GPU training performance.

10Optimized Training Methodology: A range of optimizers, including SGD and Adam [2], and various learning rate policies have been incorporated, providing flexibility and fine-tuning capabilities during the training process.Multi-GPU training support ensures expedited experimentation and scalability.

Deep Learning in Image Segmentation

11Deep learning techniques, especially Convolutional Neural Networks (CNNs), have demonstrably altered the landscape of image segmentation [3].U-Net, one of the foundational architectures designed for biomedical image segmentation, introduced an encoder-decoder structure that has inspired numerous succeeding models.Deeplabv3+, a highly influential model utilized in our study, extends upon its predecessors by amalgamating Atrous Spatial Pyramid Pooling (ASPP) with an encoder-decoder structure [4] significantly improving segmentation performance on numerous benchmarks.

Advancements in Data Augmentation

12Data augmentation, a vital strategy in training deep learning models, enhances model generalization by artificially expanding the training dataset through various transformations.In our study, we employ a series of augmentation techniques, including rotation and scaling, mitigate overfitting and enhance the model's robustness against various image distortions.

Self-Supervised Learning in Image Segmentation

13While our current methodology is grounded in supervised learning, self-supervised learning has emerged as a promising alternative, particularly when annotated data is scarce [5].Self-supervised approaches often leverage pretext tasks, such as predicting rotation angles or solving jigsaw puzzles, to learn useful feature representations without requiring labeled data [6].Combining self-supervised learning with traditional supervised methodologies holds potential for further boosting performance in image segmentation, representing a possible future direction for our research.

Model Evaluation and Optimization

14Model evaluation and optimization remain critical in developing effective image segmentation models.Various studies have proposed methodologies to optimize model parameters and improve inference efficiency.In this study, we leverage specific optimization techniques and methodologies to fine-tune our Deeplabv3+ model, ensuring it is adept at handling specific challenges.

Dataset Selection and Processing

15Data Sourcing and Organization.The dataset for this research was constructed from approximately 1000 PCB images that were manually collected.To ensure the model is versed in handling a variety of realworld scenarios, these images were bifurcated into two groups.The train group consists of the original PCB images, whereas the train labels group contains the images that underwent a partial obfuscation process, covering roughly 30% of each image.This obfuscation was executed using Python, and all the images are of the dimension 256x256.

16Data Augmentation.Data Augmentation plays a pivotal role in enhancing a model's generalization capabilities.To address this challenge, the dataset underwent a series of sophisticated transformations, leveraging the argumentation library.Horizontal Flipping was employed, essentially inverting the pixel values to simulate images captured from diverse side perspectives.Similarly, Vertical Flipping was introduced, offering a mimicry of top-down shots.Recognizing potential blurriness in real-world images due to camera focus shifts or rapid movements, techniques like Motion Blur, Median Blurring, and Regular Blurring were integrated.Further accounting for the variability in image capture, Random Affine Transformations, encompassing translations, scaling, and rotations, were applied, emulating possible deformations from different camera angles, distances, or postures.Additionally, to simulate varying environmental lighting conditions, Random Adjustments in Brightness and Contrast were introduced, ensuring robustness across a spectrum of lighting scenarios.Data Pre-processing and Label Encoding.Before data augmentation, a series of pre-processing steps were performed on the images.To ensure consistency in model inputs, a random cropping method was applied to standardize the size of images.Additionally, for numerical stability, each pixel value in the images was normalized.Parallel to image pre-processing, label encoding was deemed crucial.Given the bespoke nature of the dataset, a unique label processing method was developed, converting the RGB values of mask images into categorical labels.This was achieved using a color map extracted from a CSV file, which provides a mapping from RGB values to specific categories or segments on the PCB.This label encoding technique transformed mask images into a format suitable for training, allowing the model to predict specific categories or segments rather than just RGB values.

Model Architecture

17For this project, the DeepLabV3+ was selected as the core model due to its specialized efficiency tailored for image semantic segmentation.The DeepLabV3+ utilizes an encoder-decoder structure, enabling the extraction of high-level features from the input image and mapping these features back to the original resolution for pixel-level classification.The encoder typically encompasses multiple convolutional layers, reducing spatial resolution while increasing feature depth; the decoder, on the other hand, employs transposed convolutions or upscaling layers to revert the encoder's output to the size of the original image.Furthermore, DeepLabV3+ incorporates the dilated convolution technique, capturing a larger receptive field without an added computational burden.To further refine the model's performance, custom modifications involving depth-wise separable convolutions were implemented.In comparison to traditional convolutions, depth-wise separable convolution decomposes the convolution operation into depth-wise and point-wise convolutions, significantly reducing parameter count and computational overhead, thus enhancing the model's efficiency.This inclusion facilitates faster model operation on mobile devices or in resource-constrained settings.In addition to the structures, the model leverages synchronized batch normalization, maintaining consistent feature distribution within the model during multi-GPU training.And catering to various training requirements, the model supports a range of loss functions such as cross-entropy, focal loss, Lovasz Softmax, and mean squared error.

Training Strategy

18Optimizer Selection.In the training of deep learning, the choice of optimizer is a critical factor in determining convergence speed and model performance.During the experimental process, Adagrad was used, which is particularly suited for handling sparse data.However, due to its continuously decreasing learning rate during the training process, it led to premature training termination.As a result of these challenges, in this study, we considered the SGD and Adam optimizers because these two optimizers typically offer more stable and better performance on large-scale datasets.SGD, or Stochastic Gradient Descent, has proven its robustness in various tasks, especially on large-scale datasets.However, SGD requires fine-tuning of the learning rate and may get trapped in local minima.In contrast, the Adam optimizer adaptively adjusts the learning rate and considers past gradients, allowing it to converge quickly across different tasks.Taking these factors into account, we chose SGD as the primary optimizer but also conducted comparative experiments with Adam.

19Learning Rate Strategy.The choice of an appropriate learning rate scheduling strategy is pivotal for the effective training of deep learning models.While a high learning rate can expedite convergence, it risks overshooting the optimal solution.Conversely, a very low learning rate can lead to excessively slow convergence, potentially stagnating in local minima.In this study, several learning rate strategies were examined, including multi-step annealing and stepwise decay.The essence behind these strategies is to commence with a relatively high learning rate for rapid progress and then judiciously reduce it over time, ensuring the model gradually settles into an optimal solution, especially in the later stages of training.Particularly, the polynomial decay was found to be efficacious as it provides a steady and predictable rate of decrease, which aids in preventing oscillations in the loss landscape and facilitates smoother convergence.

20Loss Function Selection for PCB Reconstruction.In the realm of PCB (Printed Circuit Board) reconstruction, the selection of an appropriate loss function is paramount.Every pixel in a PCB image carries significant information and achieving precision and accuracy in segmentation is of utmost importance.The nuances of semantic segmentation necessitate a refined approach to the loss function definition.

21Cross-entropy loss is conventionally the go-to for classification tasks as it measures the difference between the predicted probability distribution and the actual labels.However, in situations with class imbalances, such as with PCB images where certain components might be sparser than others, crossentropy may not be the most optimal.In these scenarios, the dominant class might overshadow the minority ones, leading to subpar segmentation.

22To counter this, the Focal Loss was considered, specifically engineered to handle class imbalances.This loss function assigns greater weights to misclassified pixels, particularly crucial in PCB images where such misclassifications could result in circuit malfunctions or instabilities.The Focal Loss is defined as:

23Where pt is the model's predicted probability the positive class, and αt and γ are tuning parameters.Another promising loss function is the Lovasz Softmax, which also emphasizes addressing class imbalances.Compared to the Focal Loss, the Lovasz Softmax is potentially more effective in capturing the intricacies of PCBs, such as minute connections and microscopic components.Additionally, the Mean Squared Error (MSE) Loss, typically associated with regression tasks, was explored.In the context of PCB reconstruction, the MSE loss captures subtle discrepancies between predictions and true labels, ensuring heightened accuracy in intricate circuit board designs [7].The MSE loss is given by:

24Where yi represents the true label and ̂ is the model's prediction.Through experimentation, it was observed that a combination of the loss functions provides a more comprehensive capture of the nuances in PCB images, paving the way for more accurate reconstructions.

Model Validation and Evaluation

25Validation Strategy.To ensure the robustness of the model and guard against overfitting, the dataset was meticulously partitioned into training, validation, and test sets.As discerned from the code, specific datasets, such as the PCB, were further categorized into training and validation modes.By adopting this methodology, the model was trained on the training set and subsequently evaluated on the validation set.This approach facilitated consistent monitoring of the model's performance on unseen data, ensuring that any divergence in its learning capability was promptly identified and addressed.

26Evaluation Metrics.A comprehensive assessment of the model's performance necessitated the deployment of multiple evaluation metrics.The most evident metric employed was the "Mean Intersection over Union" (Mean IoU).[8] This metric is a stalwart in the realm of semantic segmentation tasks, quantifying the overlap between the predicted segmentation regions and the ground truth labels.

27Although the code suggests the potential usage of other metrics such as accuracy, recall, and F1 score, a deeper dive into the code would be requisite to affirm their inclusion.

28Baseline Comparisons.Throughout the experimental phase, the model was juxtaposed against a myriad of extant segmentation methodologies.The adoption of DeepLabV3+ as the cornerstone model, with considerations for its diverse variants like DeepLabV3+ based on ResNet50, ResNet101, and Mobile Net [1], ensured that the proposed approach was not only in contention with the current stateof-the-art techniques but was also optimized to address the unique challenges posed by PCB image reconstruction.

Experiment Setup and Metrics

29To effectively evaluate our approach, we established a rigorous experiment setup utilizing a diverse dataset comprising various PCB images sourced from public databases.The evaluation metrics focused on reconstruction accuracy, gauged through peak signal-to-noise ratio (PSNR) and structural similarity index (SSIM), ensuring a comprehensive understanding of the model's performance

Results and Discussion

30Our model demonstrated remarkable efficiency in reconstructing PCB images, outperforming existing methods in terms of speed and accuracy.The innovative combination of depthwise separable convolutions and quantization facilitated a robust performance, establishing a new benchmark in PCB image reconstruction.

31However, we also acknowledged potential areas for further optimization, including exploring more advanced lightweight models and improving the quantization process to enhance performance further.Moreover, future studies should consider a broader spectrum of real-world scenarios to ensure the model's versatility and readiness for industrial applications.

Conclusion

32In the presented research, an innovative framework for PCB image reconstruction was unveiled, utilizing a self-supervised learning paradigm to notably mitigate the necessity for manual labeling and enabling the model to decipher useful image representations without abundant annotated data.The robust DeepLabV3+ architecture, supplemented with depth-wise separable convolutions and validated through a specialized dataset comprising raw and encoded PCB images, not only facilitated efficient and scalable learning but also enabled the transfer of learned model weights to associated tasks, bolstering practical applicability.

33Nevertheless, several limitations and potential enhancements in this research are acknowledged.The robustness and reliability of the model, particularly in real-world applications involving highly obfuscated or noisy PCB images, may present possible areas for enhancement.Refinement in loss functions and the exploration of additional diverse backbones could provide avenues for further amplifying its adaptability and performance across various tasks and datasets.Moreover, expanding the diversity and size of the curated dataset might yield a more encompassing and realistic environment for model training and validation.

34Future research avenues might explore enhancing the model's robustness and applicability across different industrial scenarios.Delving into alternative self-supervised learning strategies and integrating advanced denoising and image enhancement techniques could forge paths toward elevated performance with degraded or partially obscured PCB images.Additionally, probing the model's adaptability and utility across disparate domains and image types may provide valuable insights, potentially extending the applicability and impact of the developed framework across multifarious applications.

참고문헌 6건

  1. Low-light image enhancement of high-speed endoscopic videos using a convolutional neural network Medical & Biological Engineering & Computing · Springer Science+Business Media · 2019 10.1007/s11517-019-01965-4
  2. Solving Jigsaw Puzzles by the Graph Connection Laplacian SIAM Journal on Imaging Sciences · Society for Industrial and Applied Mathematics · 2020 10.1137/19m1290760
  3. Printed Circuit Board (PCB) Technology for Electrochemical Sensors and Sensing Platforms Biosensors · Multidisciplinary Digital Publishing Institute · 2020 10.3390/bios10110159
  4. Mixing ADAM and SGD: a Combined Optimization Method arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2011.08042
  5. Self-supervised learning methods and applications in medical imaging analysis: a survey PeerJ Computer Science · PeerJ, Inc. · 2022 10.7717/peerj-cs.1045
  6. Transfer learning: A new aerodynamic force identification network based on adaptive EMD and soft thresholding in hypersonic wind tunnel Chinese Journal of Aeronautics · Elsevier BV · 2023 10.1016/j.cja.2023.03.024