中大機構典藏-NCU Institutional Repository-提供博碩士論文、考古題、期刊論文、研究計畫等下載:Item 987654321/93249
English  |  正體中文  |  简体中文  |  全文筆數/總筆數 : 80990/80990 (100%)
造訪人次 : 42716117      線上人數 : 1421
RC Version 7.0 © Powered By DSPACE, MIT. Enhanced by NTU Library IR team.
搜尋範圍 查詢小技巧:
  • 您可在西文檢索詞彙前後加上"雙引號",以獲取較精準的檢索結果
  • 若欲以作者姓名搜尋,建議至進階搜尋限定作者欄位,可獲得較完整資料
  • 進階搜尋


    請使用永久網址來引用或連結此文件: http://ir.lib.ncu.edu.tw/handle/987654321/93249


    題名: 持續學習與對比學習應用於印刷電路板影像的瑕疵檢測;Continual learning and contrastive learning for defect inspection on images of printed circuit boards
    作者: 蔡杰;CHIEH, TSAI
    貢獻者: 資訊工程學系
    關鍵詞: 持續學習;對比學習;瑕疵檢測;最近類別均值分類器
    日期: 2023-07-25
    上傳時間: 2024-09-19 16:50:42 (UTC+8)
    出版者: 國立中央大學
    摘要: 隨著科技的進步,各種電子產品已經成為人們生活中不可或缺的物品,而印刷電路板 (printed circuit board, PCB) 是各種電子產品不可或缺的基本元件,因此印刷電路板的品質攸關所有電子產品的品質。各種電子元件的製造總會出現小量異常,要找出印刷電路板中異常的部位,才能保有優良的電子產品。過去數十年,印刷電路板的異常偵測都是透過傳統自動光學檢測 (automated optical inspection, AOI) 技術來完成;但傳統技術
    總難同時降低瑕疵的漏檢率 (mission rate) 與過殺率 (overkill rate)。如今隨著深度學習 (deep learning) 技術的進步,廠商開始將深度學習技術導入自動光學檢測中,以同時提升瑕疵的檢出率與篩除率。
    近幾年來,許多持續學習 (continual learning) 方法被應用在分類任務,希望在保有神經網路分類能力的同時,降低模型訓練的成本。因此在本研究中,我們使用持續學習的方法,在每次得到新資料時,不需要將所有的
    舊資料與新資料整合後再重新訓練模型,只需要讓模型接著訓練新資料即可,如此訓練資料不會隨著時間不斷累積。我們減少了訓練資料,同時希望網路能夠用少量資料就達到很好的訓練效果,因此我們使用對比學習 (contrastive learning) 方法來訓練模型。我們將訓練資料進行資料擴增以得到更多的正樣本與負樣本,並使用對比損失函數進行模型的訓練。讓
    同類別的訓練資料在特徵空間中靠近,不同類別的訓練資料在特徵空間中遠離,以此來增強網路模型的分類能力。
    在本研究中,我們的系統架構改自於 Mai 等人的對比學習技術,主要修改內容包含:i. 在測試階段使用最近類別均值分類器 (nearest class
    mean, NCM) 時不移除映射層,得到更好的分類效果;ii. 設計一個全連接分類器與一個卷積分類器並達到比 Mai 等人方法中的 NCM 分類器還好
    的分類效果。
    在實驗中,我們共收集了 115,692 張印刷電路板影像,分成瑕疵與正常兩種類別。訓練集共有 93,178 張,其中有 38,413 張的瑕疵影像與54,765張的正常影像;測試集共有 22,514 張,其中有 9,325 張的瑕疵影像與13,189 張的正常影像。實驗結果顯示,Mai 等人的原始架構之測試資料準確率 (accuracy) 為 94.70%,召回率 (recall) 為 89.89%,精密度 (precision) 為 97.14%;經過本研究修改與設計架構後,最終取得最好的測試資料準確率為 98.51%,召回率為 98.06%,精密度為 98.35% 的成果。;With the advancement of technology, various electronic products have become indispensable items in people’s lives. Printed circuit board (PCB) is a basic component that is essential for all electronic products. Therefore, the quality of PCB is crucial to the quality of all electronic products. Small anomalies always occur during the manufacturing of various electronic components. To maintain high-quality electronic products, it is necessary to
    identify the abnormal parts in the PCB. In the past few decades, the abnormal detection of PCB has been completed through traditional automated optical inspection (AOI) technology; however, traditional technology always has
    difficulty in reducing both the defect mission rate and overkill rate at the same time. Nowadays, with the advancement of deep learning technology, manufacturers have begun to introduce deep learning technology into AOI to
    simultaneously improve the detection rate and precision of defects.
    In recent years, many continual learning methods have been applied to classification tasks, hoping to reduce the cost of model training while maintaining the classification ability of neural networks. Therefore, in this study, we used a continual learning method that does not require all old data to be integrated with new data and retrained the model each time new data is obtained. Instead, we simply let the model continue training on new data so that the training data does not accumulate over time. We reduced the amount of
    training data and hoped that the network could achieve good training results with a small amount of data. Therefore, we used contrastive learning method to train the model. We perform data augmentation on the training data to obtain
    more positive and negative samples and use the contrastive loss function to train the model. This allows training data of the same class to be close together in feature space and training data of different classes to be far apart in feature space, thereby enhancing the network model’s classification ability.
    In this study, the architecture of the proposed system is modified from the model of Mai et al. The main modification includes: i. retaining the mapping layer with the NCM (nearest class mean) classifier in the testing phase to
    improve the classification performance; ii. designing a fully connected classifier and a convolutional classifier, they all achieve better classification performance than the NCM classifier in Mai’s model.
    In the experiment, we collected a total of 115,692 images of PCB, divided into two categories: defective and normal. The training set consisted of 93,178 images, of which 38,413 were defective images and 54,765 were normal images; the testing set consisted of 22,514 images, of which 9,325 were
    defective images and 13,189 were normal images. The experimental results show that the accuracy of the testing set of the original Mai’s model is 94.70%, the recall is 89.89%, and the precision is 97.14%. After modifying and
    designing the architecture in this study, the best accuracy of the testing set is 98.51%, the recall is 98.06%, and the precision is 98.35%.
    顯示於類別:[資訊工程研究所] 博碩士論文

    文件中的檔案:

    檔案 描述 大小格式瀏覽次數
    index.html0KbHTML17檢視/開啟


    在NCUIR中所有的資料項目都受到原著作權保護.

    社群 sharing

    ::: Copyright National Central University. | 國立中央大學圖書館版權所有 | 收藏本站 | 設為首頁 | 最佳瀏覽畫面: 1024*768 | 建站日期:8-24-2009 :::
    DSpace Software Copyright © 2002-2004  MIT &  Hewlett-Packard  /   Enhanced by   NTU Library IR team Copyright ©   - 隱私權政策聲明