簡易檢索 / 詳目顯示

研究生: 喻振庭
Chen-Ting Yu
論文名稱: 改良型Otsu法在PCB自動光學檢測系統之應用
An Application of Improved Otsu Method on PCB Automatic Optical Inspection Systems
指導教授: 蔡超人
Chau-Ren Tsai
口試委員: 蘇順豐
Shun-Feng Su
王乃堅
Nai-Jian Wang
湯士滄
Shih-Tsang Tang
學位類別: 碩士
Master
系所名稱: 電資學院 - 電機工程系
Department of Electrical Engineering
論文出版年: 2014
畢業學年度: 102
語文別: 中文
論文頁數: 93
中文關鍵詞: 自動光學檢測數位信號處理器
外文關鍵詞: AOI, DSP
相關次數: 點閱:291下載:6
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報

由於現今人力的成本逐漸增加,自動化設備的需求也與日俱增,許多的企業廠商都希望以自動化設備取代傳統人力,達到增加產線效能並降低開發成本的目的。而在電路板檢測的領域,已有許多廠商推出多功能的檢測設備,皆採用工業等級的電腦為主要的運算系統,導致製造成本過高、設備體積龐大且維修不易的情況,但隨著數位訊號處理器(Digital Signal Processor, DSP)的發展,其具備運算效能高、體積小、成本低且消耗功率低等優點,適合用來取代工業電腦等高成本的運算系統。故本論文主要目的便是利用DSP做為自動光學檢測系統的運算核心,搭配GigE高解析攝影機來擷取影像資訊,透過DSP在複雜運算上的優異表現,準確的達到電路板的瑕疵檢測與判別。使用者可透過後方的人機介面進行系統的管控,除了可以介面上處理參數的設定,也可以觀看到檢測的結果。


Due to the gradual increase in the cost of workforce, demand for automatic equipment is also increasing. Many businesses and manufacturers are trying to develop automatic inspection equipment to replace inspecting by human. It could achieve the purpose of increasing efficiency of production and reduce the cost. With the development of Digital Signal Processor (DSP), DSP become faster, smaller, low-cost and low power. Replacing industrial computers and other high-cost operating system is suitable. Therefore, the purpose of this paper is to use DSP as main operating system of automatic optical inspection system. Combining with a GigE camera to capture the image and transfer image information to DSP by Ethernet. And because of DSP outstanding performance in complex operations, we can accurately inspect defects and quickly identify the type of defects. The results will be transferred to human-machine interface and users can get the information of PCB.

摘要 I Abstract II 目錄 IV 圖索引 VIII 表索引 XIII 第一章 緒論 1 1.1 研究動機與目的 1 1.2 研究方法 2 1.3 論文架構 3 第二章 系統架構 5 2.1 影像擷取程序 7 2.2 定位點與有效區域計算程序 8 2.3 樣板與分層門檻值建立程序 9 2.4 瑕疵檢測程序 10 2.5 瑕疵型態分類程序 10 2.6 人機介面網路傳輸程序 11 2.7 硬體規格與環境設置 12 第三章 攝影機數位影像擷取 18 3.1 攝影機連線建立與參數調整 19 3.1.1 GigE Vision網路模型 19 3.1.2 GVCP與GVSP封包格式 20 3.1.3 攝影機連線 23 3.1.4 攝影機影像品質參數 24 3.2 攝影機影像接收 26 3.2.1 EDMA3資料排序 26 3.2.2 Ping-Pong Buffer架構 29 3.2.3 影像封包確認與重傳 30 第四章 定位點與改良式Otsu法樣板建立 31 4.1 電路板定位點計算 31 4.1.1 YCr二值化 32 4.1.2 形態學 33 4.1.3 XY投影法 35 4.2 改良式Otsu樣板建立 36 4.2.1 色彩特性分析 37 4.2.2 改良式Otsu法 42 4.3 雜訊處理 49 第五章 電路板瑕疵檢測與分類 51 5.1 樣板比對 51 5.2 邊緣雜訊濾除 54 5.3 瑕疵型態分類 55 5.3.1 連通物件標記法 56 5.3.2 瑕疵影像擷取 59 5.3.3 分類法則 61 第六章 DM6437 EVM周邊模組 63 6.1 I2C EEPROM 63 6.1.1 I2C匯流排工作介面 63 6.1.2 I2C EEPROM資料儲存 65 6.2 Flash燒錄 66 6.2.1 Flash燒錄操作 67 6.2.2 透過人機介面的Flash燒錄實現 68 第七章 系統實現與效能 73 7.1 網路架構 73 7.1.1 網路傳輸方式 74 7.1.2 人機介面 78 7.2 系統實現 79 7.3 系統執行效能 85 7.4 系統檢測成果 87 第八章 結論 88 8.1 研究結果 88 8.2 未來發展 91 參考文獻 92

[1] W. Y. Wu, M. J. Wang and C. M. Liu, “Automated Inspection of Printed Circuit Boards Through Machine Vision,” Computers in Industry, Vol. 28, No. 2, pp. 103-111, 1996.
[2] Texas Instruments Inc., TMS320DM643x DMP Enhanced Direct Memory Access (EDMA3) Controller, March 2008.
[3] M. Moganti, E. Fikert, H. D. Cihan and T. Shou, “Automatic PCB Algorithms: A Survey,” Computer Vision and Image Understanding, Vol. 63, No. 2, pp. 287-313, 1996.
[4] W. A. Bentley, “The Inspection: An Automatic Optical Printed Circuit Board (PCB) Inspection,” Proceedings of the Society of Photo-Optical Instrumentation Engineers, Vol. 201, pp. 37-47, 1979.
[5] R. C. Gonzalez and R. E. Woods, Digital Image Processing, Prentice-Hall, New Jersey, pp. 116-123, 2002.
[6] A. Prati, I. Mikic, M. M. Trivrdi and R. Cucchiara, “Detecting Moving Shadows: Algorithms and Evaluation,” IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. 25, No. 7, pp. 918-923, 2003
[7] Automated Imaging Association, GigE Vision 2.0 Specification, November 2011.
[8] 劉國偉, “基於GigE視覺之印刷電路板自動光學檢測系統,” 國立台灣科技大學電機工程系碩士論文, pp. 18-34, 2012
[9] Basler Vision Technologies, Installation and Setup Guide for Cameras Used with Basler’s Pylon API, February 2008.
[10] U. Lamping, R. Sharpe and E. Warnicke, Wireshark User's Guide : for Wireshark 1.7, 2011.
[11] Texas Instruments Inc., TMS320C6000 TCP/IP Network Developer’s Kit User’s Guide, June 2003.
[12] Basler Vision Technologies, The Elements of GigE Vision, May 2007.
[13] Basler Vision Technologies, Controlling Packet Transmission Timing with the Interpacket and Frame Transmission Delays on Basler GigE Vision Cameras Application Notes, July 2008.
[14] J. P. Serra, Image Analysis and Mathematical Morphology, Academic Press, pp. 115-130, 1982.
[15] N. Otsu, “A Threshold Selection Method from Gray-level Histograms,” IEEE Transactions on Systems, Man and Cybernetics, Vol. 9, No. 1, pp. 377-393, 1979.
[16] Texas Instruments Inc., TMS320DM643x DMP Inter-Integrated Circuit (I2C) Peripheral User’s Guide, March 2011.
[17] Spectrum Digital Inc., TMS320DM6437 Evaluation Module Technical Reference, December 2006.
[18] Catalyst Semiconductor Inc., CAT24C256 256-Kb I2C CMOS Serial EEPROM, February 2006.
[19] Spansion Advance Information, S29GLxxxN MirrorBitTM Flash Family, October 2003.

QR CODE