博碩士論文 105552010 詳細資訊




以作者查詢圖書館館藏 以作者查詢臺灣博碩士 以作者查詢全國書目 勘誤回報 、線上人數:47 、訪客IP:18.222.115.217
姓名 莊翔甯(Xiang-Ning Zhuang)  查詢紙本館藏   畢業系所 資訊工程學系在職專班
論文名稱 以膠囊網路做印刷電路板影像的瑕疵檢測
(The defect inspection on images of printed circuit boards using a capsule network)
相關論文
★ 適用於大面積及場景轉換的視訊錯誤隱藏法★ 虛擬觸覺系統中的力回饋修正與展現
★ 多頻譜衛星影像融合與紅外線影像合成★ 腹腔鏡膽囊切除手術模擬系統
★ 飛行模擬系統中的動態載入式多重解析度地形模塑★ 以凌波為基礎的多重解析度地形模塑與貼圖
★ 多重解析度光流分析與深度計算★ 體積守恆的變形模塑應用於腹腔鏡手術模擬
★ 互動式多重解析度模型編輯技術★ 以小波轉換為基礎的多重解析度邊線追蹤技術(Wavelet-based multiresolution edge tracking for edge detection)
★ 基於二次式誤差及屬性準則的多重解析度模塑★ 以整數小波轉換及灰色理論為基礎的漸進式影像壓縮
★ 建立在動態載入多重解析度地形模塑的戰術模擬★ 以多階分割的空間關係做人臉偵測與特徵擷取
★ 以小波轉換為基礎的影像浮水印與壓縮★ 外觀守恆及視點相關的多重解析度模塑
檔案 [Endnote RIS 格式]    [Bibtex 格式]    [相關文章]   [文章引用]   [完整記錄]   [館藏目錄]   [檢視]  [下載]
  1. 本電子論文使用權限為同意立即開放。
  2. 已達開放權限電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。
  3. 請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。

摘要(中) 印刷電路板 (printed circuit boards, PCB) 是各類電子產品的基本零組 件,以絕緣材料輔以導體配線所形成的機構元件。主要用以承載電子元 件,利用電路板形成之電子線路將各項電子元件連接在一起,做為電路 間溝通的橋樑;廣泛應用於航太軍用、精密儀表、電腦、通訊、各項工 業用產品、及各種消費性電子產品。
印刷電路板的品質深深影響各種電子產品的性能,有良好品質的印 刷電路板才能保有優良的電子產品。任何產品的製造總難免會有小量的 異常;這些異常的瑕疵必須檢測出來,才能出廠良好品質的印刷電路板 給下游廠商繼續製造出優良的電子產品。傳統自動光學檢測 (automated optical inspection, AOI) 的瑕疵檢測易受光源及印刷電路板本身複雜度的 影響,而無法有效提升檢測的準確度。近些年深度學習 (deep learning) 技術崛起,在各行各業都有傑出的表現。自動光學檢測自然也不落人後, 積極引入深度學習技術,以期同時提升檢測的檢出率 (detection rate) 及 篩除率 (screening rate)。
在本論文中,我們提出了基於膠囊網路 (capsule network) 的印刷電 路板的瑕疵檢測系統,第一部份為原始純粹膠囊網路,我們對膠囊網路 的設計進行了探討,分析了其中的關鍵組件;例如,動態路由演算法 (dynamic routing algorithm) 、 擠 壓 函 數 (squash function) 、 初 級 膠 囊 (primary capsule)。以此方向去優化原始的網路架構,第二部份為卷積模 組修改,我們縮減了原始膠囊網路的卷積層,以此比較原始的網路架構, 第三部份為擴增模型,我們探討了卷積層 (convolution layer) 及膠囊層 (capsule layer) 的擴充對於模型性能的影響,第四部份為深度卷積結合 膠囊,我們探討了關於不同的深度卷積種類作為提取特徵的適用性;例 如,Inception、DenseNet、ResNet、VGGNet、及 MobileNet,以此依據 作為與膠囊層結合的架構,提出了最終的改進版本。
實驗方面,原始純粹膠囊網路的階段,我們調整擠壓函數、動態路由演算法、及初級膠囊 (primary capsule) 的維度,以驗證其修改對於原始膠囊網路的真實變化,測試結果與原始膠囊網路相比,準確度、精密度、及召回率分別提升了1.86%、1.87%、及1.86%,卷積模組修改的階段,我們以簡單的卷積層組合膠囊層,測試結果與原始膠囊網路相比,準確度、精密度、及召回率分別提升了8.15%、8.08%、及7.99%,擴增模型階段,我們加深了卷積層及膠囊層,測試結果與原始膠囊網路相比,準確度優於10.49%,精密度優於9.58%,召回率優於10.58%,深度卷積結合膠囊階段,經過比較不同深度卷積的性能,我們最終選擇了 DenseNet 作為深度卷積與膠囊層結合,最後一層膠囊層的路由次數 (routing number) 由3改為7,並將訓練回合 (epoch) 由100增加到350,將優化器 Adam 改為 AdamW,並以 ReduceLROnPlateau 作為學習率策略,最終準確度、精密度、召回率、及 F-score 都達到了99.22%。
摘要(英) Printed circuit board is a basic component of various electronic products, a structural component formed by insulating materials supplemented by conductor wiring. Mainly used to carry electronic components, using the electronic circuit formed by the circuit board to connect various electronic components together, as a bridge for communication between circuits; widely used in aerospace military, precision instruments, computers, communications, various industrial products , and different consumer electronics products.
The quality of printed circuit boards deeply affects the performance of various electronic products. Only good quality printed circuit boards can maintain excellent electronic products. There will always be a small amount of abnormalities in the manufacture of any product; these abnormal flaws must be detected in order to deliver good-quality printed circuit boards to downstream manufacturers to continue to manufacture excellent electronic products. The defect detection of traditional automated optical inspection is easily affected by the complexity of the light source and the printed circuit board itself, and cannot effectively improve the detection accuracy. In recent years, deep learning technology has risen, and it has outstanding performance in all walks of life. Naturally, automatic optical inspection does not fall behind, and actively introduces deep learning technology in order to simultaneously improve the detection rate and screening rate of inspection.
In this paper, we propose a defect detection system for printed circuit boards based on a capsule network. The first part is the original pure capsule network. We discuss the design of the capsule network and analyze the key components; for example, dynamic routing algorithm, squash function, primary capsule. In this direction to optimize the original network architecture, the second part is the modification of the convolution module. We reduced the convolution layer of the original capsule network to compare the original network architecture. The third part is the expansion model, we discuss the impact of the expansion of the convolution layer and capsule layer on the performance of the model, the fourth part is the combination of depth convolution and capsule, we discuss the different types of depth convolution as extraction features applicability; for example, Inception, DenseNet, ResNet, VGGNet, and MobileNet, based on this as an architecture combined with the capsule layer, the final improved version is proposed.
In terms of experiments, in the stage of the original pure capsule network, we adjusted the squeeze function, dynamic routing algorithm, and the dimension of the primary capsule to verify the real changes of the modification to the original capsule network. The test results were consistent with the original capsule. Compared with the network, the accuracy, precision, and recall rate have increased by 1.86%, 1.87%, and 1.86% respectively. In the stage of modifying the convolution module, we combined the capsule layer with a simple convolution layer. The test results are consistent with the original capsule. Compared with the network, the accuracy, precision, and recall rate increased by 8.15%, 8.08%, and 7.99% respectively. In the expansion model stage, we deepened the convolution layer and capsule layer. The test results were compared with the original capsule network. The accuracy is better than 10.49%, the precision is better than 9.58%, and the recall rate is better than 10.58%. The depth convolution is combined with the capsule stage. After comparing the performance of different depth convolutions, we finally choose DenseNet as the depth convolution and capsule layer. In combination, the routing number of the last capsule layer was changed from 3 to 7, and the epoch was increased from 100 to 350, the optimizer Adam was changed to AdamW, and ReduceLROnPlateau was used as the learning rate strategy, and the final accuracy, precision, recall rate, and F-score all reached 99.22%.
關鍵字(中) ★ 深度學習
★ 膠囊網路
★ 瑕疵檢測
★ 卷積神經網路
★ 影像分類
關鍵字(英) ★ deep learning
★ capsule network
★ defect inspection
★ convolution neural network
★ image classification
論文目次 摘要 i
Abstract iii
致謝 vi
目錄 vii
圖目錄 viii
表目錄 xi
第一章 緒論 1
1.1 研究動機與目的 1
1.2 研究方法 2
1.3 論文特色 4
1.4 論文架構 4
第二章 相關研究 5
2.1 膠囊網路 5
2.2 膠囊網路架構的演進 16
2.3 膠囊網路與卷積神經網路的物件分類 22
第三章 印刷電路板的瑕疵檢測 27
3.1 原始純粹膠囊網路模式 27
3.2 搭配的卷積神經網路 28
3.3 原始膠囊網路模式的缺失 33
3.4 改進的膠囊網路模式 35
第四章 實驗與實驗結果 41
4.1 實驗 41
4.2 實驗結果 47
第五章 結論 63
參考文獻 65
參考文獻 [1] S. Sabour, N. Frosst, and G. E. Hinton, "Dynamic routing between capsules," arXiv:1710.09829.
[2] L. Bachatene, V. Bharmauria, and S. Molotchnikoff, "Adaptation and neuronal network in visual cortex," in Visual Cortex - Current Status and Perspectives, S. Molotchnikoff and J. Rouat, ed., Intech, Ann Arbor, 2012, Ch.15.
[3] L. A. Dombetzki, "An overview over capsule networks," Network Architectures and Services, vol.25, pp.89-95, 2018.
[4] G. Hinton, S. Sabour, and N. Frosst, "Matrix capsules with EM routing," in Proc. Int. Conf. Learn. Represent (ICLR), Vancouver, CA, 2018, pp.1-15.
[5] A. Shahroudnejad, A. Mohammadi, and K. N. Plataniotis, "Improved explainability of capsule networks: relevance path by agreement," arXiv:1802.10204.
[6] A. Krizhevsky, I. Sutskever, and G. Hinton, “Imagenet classification with deep convolutional neural networks,” in Proc. of Neural Information Processing Systems (NIPS), Harrahs and Harveys, Lake Tahoe, NV, Dec.3-8, 2012, pp.1106-1114.
[7] M. K. Patrick, A. F. Adekoya, A. A. Mighty, and B. Y. Edwar, " Capsule networks - a survey," Computer and Information Sciences, vol.34, no.1, pp.1295-1310, 2022.
[8] J. Li, Q. Zhao, N. Li, L. Ma, X. Xia, X. Zhang, N. Ding, and N. Li, "A survey on capsule networks: evolution, application, and future development," in Proc. IEEE Conf. on High Performance Big Data and Intelligent Systems (HPBD&IS) , Macau, China, Dec.5-7, 2021, pp.177-185.
[9] G. E. Hinton, A. Krizhevsky, and S. D. Wang, "Transforming auto-encoders," in Proc. Int. Corp. for Assigned Names and Numbers (ICANN), Berlin, Germany, Jun.21, 2011, pp.44-51.
[10] A. R. Kosiorek, S. Sabour, Y. W. Teh, and G. E. Hinton, "Stacked capsule autoencoders," arXiv:1906.06818.
[11] S. Venkatraman, S. Balasubramanian, and R. R. Sarma, "Building deep, equivariant capsule networks," arXiv:1908.01300.
[12] A. T. W. Sun, B. Deng, S. Sabour, S. Yazdani, G. Hinton, and K. M. Yi, "Canonical capsules: self-supervised capsules in canonical pose," arXiv:2012.04718.
[13] S. Sabour, A. Tagliasacchi, S. Yazdani, G. Hinton, and D. J. Fleet, "Unsupervised part representation by flow capsules," arXiv:2011.13920.
[14] D. Peer, S. Stabinger, and A. Rodriguez-Sanchez, "Limitation of capsule networks," Pattern Recognition Letters, vol.144, pp.68-74, 2021.
[15] I. Paik, T. Kwak, and I. Kim, "Capsule networks need an improved routing algorithm," arXiv:1907.13327.
[16] J. Gu, V. Tresp, and H. Hu, "Capsule network is not more robust than convolutional network," arXiv:2103.15459.
[17] V. Mazzia, F. Salvetti, and M. Chiaberge, "Efficient-CapsNet: capsule network with self-attention routing," Scientific Reports, vol.11, no.1, pp.1-13, 2021.
[18] J. B. Cordonnier, A. Loukas, and M. Jaggi, "On the relationship between self-attention and convolutional layers," arXiv:1911.03584.
[19] J. Zheng, X. Sun, H. Zhou, C. Tian, and H. Qiang, "Printed circuit boards defect detection method based on improved fully convolutional networks," IEEE Access, vol.10, pp.109908-109918, 2022.
[20] A. Legon, M. Deo, S. Albin, and M. Audette, "Detection and classification of PCB defects using deep learning methods," in Proc. IEEE Conf. on Microelectronics Design & Test Symposium (MDTS), NY, USA, May 23-26, 2022, pp.1-6.
[21] K. Simonyan and A. Zisserman, "Very deep convolutional networks for large-scale image recognition," arXiv:1409.1556.
[22] C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens, and Z. Wojna, "Rethinking the inception architecture for computer vision," arXiv:1512.00567.
[23] K. He, X. Zhang, S. Ren, and J. Sun, "Deep residual learning for image recognition," arXiv:1512.03385.
[24] G. Huang, Z. Liu, L. V. D. Maaten, and K. Q. Weinberger, "Densely connected convolutional networks," arXiv:1608.06993.
[25] A. G. Howard, M. Zhu, B. Chen, D. Kalenichenko, W. Wang, T. Weyand, M. Andreetto, and H. Adam, "Mobilenets: Efficient convolutional neural networks for mobile vision applications," arXiv:1704.04861.
[26] B. Ghosh, M. K. Bhuyan, P. Sasmal, Y. Iwahori, and P. Gadde, "Defect classification of printed circuit boards based on transfer learning," in Proc. IEEE Conf. on Applied Signal Processing Conference (ASPCON), Kolkata, India, Dec.7-9, 2018, pp.245-248.
[27] P. K. Sethy, S. K. Behera, P. K. Ratha, and P. Biswas, "Detection of coronavirus disease (COVID-19) based on deep features and support vector machine," Int. Journal of Mathematical, vol.5, no.4, pp.643-651, 2020.
[28] P. Afshara, S. Heidarianb, F. Naderkhania, A. Oikonomouc, K. N. Plataniotisd, and A. Mohammadi, "COVID-CAPS: A capsule network-based framework for identification of COVID-19 cases from X-ray images," Pattern Recognition Letters, vol.138, pp.638-643, 2020.
[29] H. Quan, X. Xu, T. Zheng, Z. Li, M. Zhao, and X. Cui, "DenseCapsNet: detection of COVID-19 from X-ray images using a capsule neural network," NIH Trans. Computers in Biology and Medicine, PMCID: PMC8049190, vol.133, pp.104399-104410, 2021.
[30] T. Shamik and A. Jain, "Convolutional capsule network for COVID-19 detection using radiography images," NIH Trans. Int. Journal of Imaging Systems and Technology, PMCID: PMC8014502, vol.31, pp.525-539, 2021.
[31] T. Shamik and A. Jain, "A lightweight capsule network architecture for detection of COVID-19 from lung CT scans," NIH Trans. Int. Journal of Imaging Systems and Technology, PMCID: PMC9015631, vol.32, pp.419-434, 2022.
[32] M. Sandler, A. Howard, M. Zhu, A. Zhmoginov, and L. C. Chen, "MobileNetV2: inverted residuals and linear bottlenecks," arXiv:1602.07261.
[33] A. Howard, M. Sandler, G. Chu, L. C. Chen, B. Chen, M. Tan, W. Wang, Y. Zhu, R. Pang, V. Vasudevan, Q. V. Le, and H. Adam, "Searching for MobileNetV3," arXiv:1905.02244.
[34] C. Szegedy, S. Ioffe, V. Vanhoucke, and A. Alemi, "Inception V4, Inception-ResNet and the impact of residual connections on learning," arXiv:1602.07261.
[35] R. LaLonde and U. Bagci, "Capsules for object segmentation," arXiv: 1804.04241.
指導教授 曾定章(Din-Chang Tseng) 審核日期 2023-7-25
推文 facebook   plurk   twitter   funp   google   live   udn   HD   myshare   reddit   netvibes   friend   youpush   delicious   baidu   
網路書籤 Google bookmarks   del.icio.us   hemidemi   myshare   

若有論文相關問題,請聯絡國立中央大學圖書館推廣服務組 TEL:(03)422-7151轉57407,或E-mail聯絡  - 隱私權政策聲明