請用此 Handle URI 來引用此文件:
http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/96593完整後設資料紀錄
| DC 欄位 | 值 | 語言 |
|---|---|---|
| dc.contributor.advisor | 丁肇隆 | zh_TW |
| dc.contributor.advisor | Chao-Lung Ting | en |
| dc.contributor.author | 楊佩儒 | zh_TW |
| dc.contributor.author | Pei-Ju Yang | en |
| dc.date.accessioned | 2025-02-19T16:40:45Z | - |
| dc.date.available | 2025-02-20 | - |
| dc.date.copyright | 2025-02-19 | - |
| dc.date.issued | 2025 | - |
| dc.date.submitted | 2025-01-19 | - |
| dc.identifier.citation | [1] Deng, Y. S., Luo, A. C., and Dai, M. J., "Building an automatic defect verification system using deep neural network for PCB defect classification," 2018 4th International Conference on Frontiers of Signal Processing (ICFSP), Poitiers, France, Sep. 2018, pp. 145–149. doi: 10.1109/ICFSP.2018.8552045.
[2] Q. Ling and N. A. M. Isa, "Printed Circuit Board Defect Detection Methods Based on Image Processing, Machine Learning and Deep Learning: A Survey," IEEE Access, vol. 11, pp. 15921–15944, 2023, doi: 10.1109/ACCESS.2023.3245093. [3] A. P. S. Chauhan and S. C. Bhardwaj, "Detection of bare PCB defects by image subtraction method using machine vision," in Proceedings of the World Congress on Engineering, vol. 2, pp. 6–8, July 2011. [4] J. Ma, "Defect Detection and Recognition of Bare PCB Based on Computer Vision," in Proceedings of the 36th Chinese Control Conference (CCC), pp. 11023– 11028, Jul. 2017. [5] R. A. Melnyk and R. B. Tushnytskyy, "Detection of Defects in Printed Circuit Boards by Clustering the Etalon and Defected Samples," in Proceedings of the IEEE 15th International Conference on Advanced Trends in Radioelectronics, Telecommunications and Computer Engineering (TCSET), pp. 961–964, Feb. 2020. [6] J. Onshaunjit and J. Srinonchat, "Algorithmic Scheme for Concurrent Detection and Classification of Printed Circuit Board Defects," Computers, Materials & Continua, vol. 71, no. 1, pp. 1–13, 2022. [7] T. S. Yun, K. J. Sim, and H. J. Kim, "Support Vector Machine-Based Inspection of Solder Joints Using Circular Illumination," Electronics Letters, vol. 36, no. 11, p. 1, 2000. [8] R. Ding, L. Dai, G. Li, and H. Liu, "TDD-Net: A Tiny Defect Detection Network for Printed Circuit Boards," CAAI Transactions on Intelligence Technology, vol. 4, no. 2, pp. 110–116, 2019. [9] B. Hu and J. Wang, "Detection of PCB Surface Defects with Improved Faster- RCNN and Feature Pyramid Network," IEEE Access, vol. 8, pp. 108335–108345, 2020. [10] H. Zhang, L. Jiang, and C. Li, "CS-ResNet: Cost-Sensitive Residual Convolutional Neural Network for PCB Cosmetic Defect Detection," Expert Systems with Applications, vol. 185, p. 115673, 2021. [11] V. A. Adibhatla et al., "Defect Detection in Printed Circuit Boards Using You-Only- Look-Once Convolutional Neural Networks," Electronics, vol. 9, no. 9, p. 1547, 2020. [12] X. Liao et al., "YOLOv4-MN3 for PCB Surface Defect Detection," Applied Sciences, vol. 11, no. 24, p. 11701, 2021. [13] V. A. Adibhatla, H. C. Chih, C. C. Hsu, J. Cheng, M. F. Abbod, and J. S. Shieh, "Applying deep learning to defect detection in printed circuit boards via a newest model of You-Only-Look-Once," 2021. [14] B. Liu, D. Chen, and X. Qi, "YOLO-pdd: A Novel Multi-scale PCB Defect Detection Method Using Deep Representations with Sequential Images," arXiv preprint arXiv:2407.15427, 2024. [15] H. Lan et al., "PCB Defect Detection Algorithm of Improved YOLOv8," in Proceedings of the 8th International Conference on Image and Vision Computing (ICIVC), IEEE, 2023. [16] H. Wang, S. Shen, and M. Li, "PCB Defect Detection Algorithm Based on Improved YOLOv8," in Proceedings of the 5th International Conference on Electronics, Communications and Artificial Intelligence (ICECAI), IEEE, 2024. [17] J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, "You Only Look Once: Unified, Real-Time Object Detection," in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, pp. 779–788, Jun. 2016. [18] J. Redmon and A. Farhadi, "YOLO9000: Better, Faster, Stronger," in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017. [19] A. Farhadi and J. Redmon, "YOLOv3: An incremental improvement," arXiv preprint, arXiv:1804.02767, 2018. [Online]. Available: https://arxiv.org/abs/1804.02767. [20] A. Bochkovskiy, C.-Y. Wang, and H.-Y. M. Liao, "YOLOv4: Optimal speed and accuracy of object detection," arXiv preprint, arXiv:2004.10934, 2020. [Online]. Available: https://arxiv.org/abs/2004.10934. [21] G. Jocher, "YOLOv5 by Ultralytics," 2020. [Online]. Available: https://docs.ultralytics.com/zh/yolov5/#explore-and-learn. [22] C.-Y. Wang, I.-H. Yeh, and H.-Y. M. Liao, "You only learn one representation:Unified network for multiple tasks," arXiv preprint, arXiv:2105.04206, 2021. [Online]. Available: https://arxiv.org/abs/2105.04206. [23] C.-Y. Wang, A. Bochkovskiy, and H.-Y. M. Liao, "Scaled-YOLOv4: Scaling Cross Stage Partial Network," arXiv preprint, arXiv:2107.08430, 2021. [Online]. Available: https://arxiv.org/abs/2107.08430. [24] C. Li, L. Li, H. Jiang, K. Weng, Y. Geng, L. Li, and X. Wei, "YOLOv6: A single- stage object detection framework for industrial applications," arXiv preprint, arXiv:2209.02976, 2022. [Online]. Available: https://arxiv.org/abs/2209.02976. [25] C.-Y. Wang, A. Bochkovskiy, and H.-Y. M. Liao, "YOLOv7: Trainable Bag-of- Freebies Sets New State-of-the-Art for Real-Time Object Detectors," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023. [26] Ultralytics, "YOLOv8 Documentation," 2024. [Online]. Available: https://docs.ultralytics.com/zh/models/yolov8/. [27] J. Terven, D. M. Córdova-Esparza, and J. A. Romero-González, "A Comprehensive Review of YOLO Architectures in Computer Vision: From YOLOv1 to YOLOv8 and YOLO-NAS," Machine Learning and Knowledge Extraction, vol. 5, no. 4, pp. 1680–1716, 2023. | - |
| dc.identifier.uri | http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/96593 | - |
| dc.description.abstract | 本研究針對印刷電路板(Printed Circuit Board, PCB)瑕疵檢測中的準確性與效率問題,提出了一種基於深度學習模型 YOLOv8 的改進方法。隨著電子產品日益精密化,PCB 製造過程中出現的各類缺陷,包括 Missing Hole、Mouse Bite、Open Circuit、Short、Spur 和Spurious Copper,成為影響產品品質的主要挑戰。傳統的人工檢測與自動光學檢測(Automated Optical Inspection, AOI)系統存在準確性與效率的限制,促使本研究探索深度學習技術的應用。本研究設計的實驗架構,包含資料擴增策略、模型架構設計、損失函數改進與訓練策略。資料擴增過程中,對影像進行旋轉、縮放、亮度與對比度調整,產生多樣化的訓練樣本。模型選擇了 YOLOv8作為基礎,並針對其邊界框定位損失函數進行改進,依次測試了CIoU、MSE、MAE、 Huber Loss 與中心點距離損失等多種函數,尋求最佳配置。實驗採用了 K-fold 交叉驗證法,以評估不同參數組合的模型性能。結果顯示,MSE 與 Huber Loss 在模型性能上表現最佳,特別是在精度與召回率的平衡上具有顯著優勢。此外,針對新瑕疵類別的引入,本研究提出了兩種訓練策略:整合式訓練與單類別訓練。以調整新瑕疵類別的損失權重與數據分佈,成功提高了模型在少數樣本場景下的檢測準確性。綜合實驗結果顯示,經改進的 YOLOv8 模型在 PCB 瑕疵檢測中的精度和穩健性均達到了令人滿意的水準。 | zh_TW |
| dc.description.abstract | This study addresses the challenges of accuracy and efficiency in printed circuit board (PCB) defect detection by proposing an improved method based on the deep learning model YOLOv8. As electronic products become increasingly sophisticated, various defects such as missing holes, mouse bites, open circuits, shorts, spurs, and spurious copper frequently occur during PCB manufacturing, posing significant quality assurance challenges. Traditional manual inspections and automated optical inspection (AOI) systems have limitations in terms of accuracy and efficiency, motivating this research to explore deep learning applications.The proposed experimental framework includes data augmentation strategies, model architecture design, loss function improvements, and training strategies. During data augmentation, images were processed with rotations, scaling, brightness, and contrast adjustments to generate diverse training samples. The model selected YOLOv8 as the foundation and improved its bounding box localization loss function by testing various alternatives such as CIoU, MSE, MAE, Huber Loss, and Center Point Distance Loss to identify the best configuration. A K-fold cross-validation approach was used to evaluate model performance under different parameter combinations.Results indicate that MSE and Huber Loss demonstrated the best model performance, particularly in balancing precision and recall. Additionally, the study proposed two training strategies for introducing new defect types: integrated training and single-class training. Adjusting the loss weights and data distribution of the new defect class successfully improved detection accuracy in limited-sample scenarios. Comprehensive experimental results show that the improved YOLOv8 model achieved satisfactory accuracy and robustness in PCB defect detection. | en |
| dc.description.provenance | Submitted by admin ntu (admin@lib.ntu.edu.tw) on 2025-02-19T16:40:45Z No. of bitstreams: 0 | en |
| dc.description.provenance | Made available in DSpace on 2025-02-19T16:40:45Z (GMT). No. of bitstreams: 0 | en |
| dc.description.tableofcontents | 誌謝 i
摘要 ii ABSTRACT iii 目次 iv 圖次 vi 表次 vii Chapter 1 緒論 1 1.1 研究背景與動機 1 1.2 研究目的 2 1.3 論文架構 2 Chapter 2 文獻回顧 3 2.1 PCB 瑕疵檢測技術的發展 3 2.1.1 人工瑕疵檢測 3 2.1.2 基於影像處理的瑕疵檢測 3 2.1.3 基於機器學習的瑕疵檢測 5 2.2 基於 YOLO 的 PCB 瑕疵檢測技術綜述 6 2.3 YOLO 模型的發展與演進 7 Chapter 3 研究方法 12 3.1 資料擴增 12 3.2 實驗網路架構 13 3.2.1 MSE(Mean-Square Error) 15 3.2.2 MAE(Mean-Absolute Error) 16 3.2.3 Huber Loss 16 3.2.4 Center Point Distance Loss 16 3.3 模型訓練 17 3.3.1 基礎模型訓練與 YOLOv8 損失函數調整 17 3.3.2 新瑕疵產生時之模型訓練方式 18 Chapter 4 實驗結果與討論 19 4.1 實驗環境 19 4.2 實驗資料集 20 4.3 基礎模型訓練與損失函數實驗 21 4.3.1 評估模型性能的標準與考量 21 4.3.2 使用不同資料增強變數組合的訓練結果 22 4.3.3 使用不同 Batch Size 的訓練結果 25 4.3.4 損失函數實驗 26 4.4 新瑕疵檢測之訓練策略比較 28 4.4.1 新瑕疵類型選擇 28 4.4.2 不同比例的訓練資料對模型性能的影響 29 4.4.3 調整新瑕疵類別的損失權重 32 4.4.4 新瑕疵在最佳訓練組合下的檢測性能與其他類別比較 35 4.4.5 新瑕疵單類別模型訓練比較 37 4.4.6 模型整合與綜合性能比較 39 Chapter 5 結論與未來展望 41 5.1 結論 41 5.2 未來展望 41 參考文獻 43 | - |
| dc.language.iso | zh_TW | - |
| dc.subject | 機器學習 | zh_TW |
| dc.subject | 資料擴增 | zh_TW |
| dc.subject | 損失函數 | zh_TW |
| dc.subject | YOLOv8 | zh_TW |
| dc.subject | 深度學習 | zh_TW |
| dc.subject | 印刷電路板瑕疵檢測 | zh_TW |
| dc.subject | YOLOv8 | en |
| dc.subject | deep learning | en |
| dc.subject | machine learning | en |
| dc.subject | PCB defect detection | en |
| dc.subject | data augmentation | en |
| dc.subject | loss function | en |
| dc.title | 應用機器學習於 PCB 瑕疵檢測 | zh_TW |
| dc.title | The Application of Machine Learning in PCB Defect Detection | en |
| dc.type | Thesis | - |
| dc.date.schoolyear | 113-1 | - |
| dc.description.degree | 碩士 | - |
| dc.contributor.oralexamcommittee | 黃乾綱;張恆華;陳昭宏;謝傳璋 | zh_TW |
| dc.contributor.oralexamcommittee | Chien-Kang Huang;Heng-Hua Chang;Jau-Hung Chen;Chuan-Jang Shie | en |
| dc.subject.keyword | 印刷電路板瑕疵檢測,機器學習,深度學習,YOLOv8,損失函數,資料擴增, | zh_TW |
| dc.subject.keyword | PCB defect detection,machine learning,deep learning,YOLOv8,loss function,data augmentation, | en |
| dc.relation.page | 45 | - |
| dc.identifier.doi | 10.6342/NTU202500158 | - |
| dc.rights.note | 未授權 | - |
| dc.date.accepted | 2025-01-19 | - |
| dc.contributor.author-college | 工學院 | - |
| dc.contributor.author-dept | 工程科學及海洋工程學系 | - |
| dc.date.embargo-lift | N/A | - |
| 顯示於系所單位: | 工程科學及海洋工程學系 | |
文件中的檔案:
| 檔案 | 大小 | 格式 | |
|---|---|---|---|
| ntu-113-1.pdf 未授權公開取用 | 2.5 MB | Adobe PDF |
系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。
