應用對比式演算法則於印刷電路板的自動元件檢測方法之研究

No Thumbnail Available

Date

2023

Journal Title

Journal ISSN

Volume Title

Publisher

Abstract

在現今工業的生產製程中,檢測產品上的瑕疵常會利用到自動光學檢測,透過將攝影裝置架設在產線上進行檢測。而印刷電路板做為電子工業製品的大宗,檢測上方的細小元件的數量和位置是一大難題。由於電子元件種類繁多,為了自動化檢測元件,建立並訓練類神經網路模型被視為一種解決方法。因為模型可以從大量的樣本中學習到特徵而且具備很高的辨識準確度,而其計算過程可以透過GPU的並行處理能力得到很快的推論速度。良好的模型架構可以讓模型適應不同的元件種類,同時對於增減元件可以具有更高的可擴展性來應對需求的變化。然而,現有的物件檢測模型對於小目標的檢測還無法達到高準確度,而工廠產線上的環境光源變化也增加了模型辨識元件的困難度。因此,對於現有的自動元件檢測方法,本論文以對比式理論為基礎,提出了一套使用在類神經網路模型的訓練方法。經過此方法訓練的模型可以在不同環境光線的影響下,依然能正確檢測出印刷電路板上的電子元件。由於工廠的產線不會只生產同一種產品,元件檢測方法應該要能夠應對不同的需求。但是,若元件的種類增加,會降低現有方法辨識的準確度。因此,本論文提出具有高度彈性的模型架構,可以根據不同的元件種類調整,且能檢測多種元件,也具有高準確度。實際情況下,待檢測的印刷電路板並非固定在產線上。若要做到Real-time檢測,需要邊緣運算裝置與攝影裝置搭配使用。而邊緣運算裝置的硬體資源有限,具備高準確度的模型往往有很大的計算量和總參數量。因此,本論文的模型架構會在增加少量參數的同時維持辨識的準確度,並能夠在邊緣運算裝置上正常運行。
In today's industrial production processes, automated optical inspection is often used to detect defects on products by setting up cameras on the production line. Printed Circuit Boards (PCBs) are a major product in the electronics industry, and inspecting the quantity and position of small components on them poses a significant challenge. Building and training neural network models are considered as a solution for automated component detection. These models can learn features from a large number of samples and achieve high accuracy of inspection, while their computations can be accelerated through the parallel processing capability of GPUs. Well-designed model architectures allow adaptation to different component types and provide higher flexibility to various demands in component additions or removals.However, currently existing object detection models still struggle to achieve high accuracy in detecting small objects, and the variability of ambient light on factory production lines further complicates the task of component recognition. Therefore, this thesis proposes a training method based on contrastive algorithm for neural network models in the context of automated component detection. Models trained with this method can accurately detect electronic components on PCBs even under varying ambient light conditions.As production lines in factories typically handle diverse products, the component detection method should be able to suit different requirements. However, increasing the number of component types may lead to decreased the accuracy of models trained with existing methods. To address this, the thesis proposes a highly flexible model architecture that can be adjusted for different component types and detect multiple components while maintaining high accuracy.In practical scenarios, the PCBs to be inspected are not fixed on the production line. Edge computing devices are used with cameras to achieve real-time detection. Edge computing devices have limited hardware resources, but models with high accuracy often come with high computation overhead and large parameter requirements. Therefore, the proposed model architecture in this thesis aims to increase parameter efficiency while maintaining recognition accuracy, enabling normal operation on edge computing devices.

Description

Keywords

對比式學習, 元件檢測, 物件偵測, 人工智慧, 物聯網, contrastive learning, component inspection, object detection, artificial intelligence, internet of things

Citation

Collections

Endorsement

Review

Supplemented By

Referenced By