TWI758134B - System for using image features corresponding to component identification for secondary inspection and method thereof - Google Patents
System for using image features corresponding to component identification for secondary inspection and method thereof Download PDFInfo
- Publication number
- TWI758134B TWI758134B TW110109609A TW110109609A TWI758134B TW I758134 B TWI758134 B TW I758134B TW 110109609 A TW110109609 A TW 110109609A TW 110109609 A TW110109609 A TW 110109609A TW I758134 B TWI758134 B TW I758134B
- Authority
- TW
- Taiwan
- Prior art keywords
- image
- detection
- component
- target
- identification data
- Prior art date
Links
Images
Landscapes
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Electric Connection Of Electric Components To Printed Circuits (AREA)
- Image Analysis (AREA)
Abstract
Description
一種光學檢測系統及其方法,特別係指一種依據元件識別資料使用圖形特徵二次檢測之系統及方法。An optical inspection system and method thereof, particularly a system and method for secondary inspection using pattern features based on component identification data.
工業4.0(Industry 4.0),又稱為第四次工業革命,其並不是單單創造新的工業技術,而是著重於將現有的工業技術、銷售流程與產品體驗統合,透過人工智慧技術建立具有適應性、資源效率和人因工程學的智慧工廠,並在商業流程及價值流程中整合客戶以及商業夥伴,以提供完善的售後服務,進而建構出一個有感知意識的新型智慧型工業世界。Industry 4.0 (Industry 4.0), also known as the fourth industrial revolution, does not simply create new industrial technologies, but focuses on integrating existing industrial technologies, sales processes and product experience, and building adaptive capabilities through artificial intelligence technology. It integrates customers and business partners in the business process and value process to provide perfect after-sales service, and then builds a new intelligent industrial world with awareness.
隨著工業4.0的浪潮襲捲全球,製造業者無不以智能製造優化生產轉型,提升競爭力。智慧製造是架構在感測技術、網路技術、自動化技術、與人工智慧的基礎上,透過感知、人機互動、決策、執行、與回饋的過程,來實現產品設計與製造、企業管理與服務的智慧化。With the wave of Industry 4.0 sweeping the world, manufacturers are all using intelligent manufacturing to optimize production transformation and enhance competitiveness. Smart manufacturing is based on sensing technology, network technology, automation technology, and artificial intelligence. Through the process of perception, human-computer interaction, decision-making, execution, and feedback, it realizes product design and manufacturing, enterprise management and service. of intelligence.
而電子組裝業薄利多銷、產品價格競爭激烈的特性,讓業者追求對原物料及生產工具更有效的管控與最佳化,促使工廠生產資源效益最大化。舉例來說,目前在電子組裝業裡經常使用的各種技術中的一種即是表面黏著技術(Surface-Mount Technology, SMT),也就是由表面黏著裝置(通常也被稱為貼片機或黏著機)通過釺焊將電阻、電容、電晶體、積體電路等電子元件與印刷電路板(Printed circuit Board, PCB)形成電氣連接,使得電子元件貼裝於印刷電路板上。藉由使用表面黏著技術可以增加組裝印刷電路板的整體速度。The electronic assembly industry is characterized by small profits but quick turnover and fierce product price competition, which makes the industry pursue more effective control and optimization of raw materials and production tools, so as to maximize the efficiency of factory production resources. For example, one of the various technologies that are often used in the electronic assembly industry is Surface-Mount Technology (SMT), which is produced by a surface-mount device (also commonly referred to as a mounter or a bonder). ) Electronic components such as resistors, capacitors, transistors, and integrated circuits are electrically connected to the printed circuit board (PCB) by soldering, so that the electronic components are mounted on the printed circuit board. The overall speed of assembling printed circuit boards can be increased by using surface mount technology.
另一方面,由於電子元件的微小化及密度增加,電子元件在印刷電路板上的焊接不良的可能性因而隨之提高,所以,在使用表面黏著技術製造印刷電路板的過程中,焊接狀況的偵測已經變成必要的一環。其中,自動光學檢測(Automated Optical Inspection, AOI)為偵測焊接狀況的代表性手法,其運用機器視覺裝置取得待檢測物品的表面狀態,再以電腦影像處理技術來檢測焊接生產中常遇到的瑕疵,作為改良傳統上以人力使用光學儀器進行檢測的缺點。On the other hand, due to the miniaturization and increase in density of electronic components, the possibility of poor soldering of electronic components on printed circuit boards increases accordingly. Detection has become a necessary part. Among them, Automated Optical Inspection (AOI) is a representative method for detecting welding conditions. It uses machine vision devices to obtain the surface state of the object to be inspected, and then uses computer image processing technology to detect defects commonly encountered in welding production. , as an improvement to the shortcomings of the traditional manual detection using optical instruments.
更詳細的,在如「第1圖」所示之產線上,當印刷電路板110抵達貼片機(表面黏著裝置130)時,貼片機會在印刷電路板110的表面焊接電子元件,在通過貼片機之印刷電路板110抵達光學檢測裝置150時,光學檢測裝置150會通過攝影鏡頭掃描印刷電路板110,擷取印刷電路板110的測試影像,並透過影像處理技術比對測試影像中之印刷電路板110上的電子元件與資料庫中之對應電子元件的合格參數,藉以檢測印刷電路板110上是否存在異物或焊接不良等缺陷,之後,光學檢測裝置150可以輸出印刷電路板110的測試影像,如此,透過顯示裝置(圖中未示)顯示測試影像或自動在測試影像上標記,便可以把印刷電路板110上的缺陷顯示或標示出來,提供維修人員修整。In more detail, in the production line as shown in "Fig. 1", when the printed
但實際上,貼片機在將電子元件焊接在印刷電路板上時,若有電子元件缺料,則貼片機可能會在印刷電路板上焊接可以替代的其他電子元件,此時,由於印刷電路板並未更換,光學檢測裝置在檢測印刷電路板時,將會繼續使用缺料之電子元件的參數對替換後的電子元件進行檢測,如此,印刷電路板上替換後的電子元件往往無法通過光學檢測。But in fact, when the placement machine solders electronic components on the printed circuit board, if there is a shortage of electronic components, the placement machine may solder other electronic components that can be replaced on the printed circuit board. The circuit board has not been replaced. When the optical detection device detects the printed circuit board, it will continue to use the parameters of the electronic components lacking material to detect the replaced electronic components. In this way, the replaced electronic components on the printed circuit board often fail to pass. Optical detection.
綜上所述,可知先前技術中長期以來一直存在表面黏著裝置使用替代電子元件時光學檢測裝置將無法有效判斷替代電子元件之焊接狀況的問題,因此有必要提出改進的技術手段,來解決此一問題。To sum up, it can be seen that there has been a long-standing problem in the prior art that the optical inspection device cannot effectively judge the soldering condition of the substitute electronic component when the surface mount device uses the substitute electronic component. Therefore, it is necessary to propose an improved technical means to solve this problem. question.
有鑒於先前技術存在表面黏著裝置使用替代電子元件時光學檢測裝置將無法有效判斷替代電子元件之焊接狀況的問題,本發明遂揭露一種依據元件識別資料使用圖形特徵二次檢測之系統及方法,其中:In view of the problem in the prior art that the optical inspection device cannot effectively judge the soldering condition of the substitute electronic component when the surface mount device uses the substitute electronic component, the present invention discloses a system and method for secondary detection using graphic features according to the component identification data, wherein :
本發明所揭露之依據元件識別資料使用圖形特徵二次檢測之系統,至少包含:模型建立模組,用以使用圖形特徵辨識演算法產生檢測模型;資料載入模組,用以取得目標電路板上之電子元件之元件識別資料;影像載入模組,用以取得目標元件之檢測影像,目標元件為電子元件中未通過光學檢測之任電子元件;特徵取得模組,用以依據目標元件之元件識別資料取得目標元件之標準影像特徵,及用以產生檢測影像之檢測影像特徵;元件檢測模組,用以依據檢測影像特徵與標準影像特徵使用檢測模型判斷目標元件是否通過檢測。The system for using pattern feature secondary detection based on component identification data disclosed in the present invention at least includes: a model building module for generating a detection model using a pattern feature identification algorithm; a data loading module for obtaining a target circuit board The component identification data of the above electronic components; the image loading module is used to obtain the detection image of the target component, and the target component is any electronic component that has not passed the optical detection; the feature acquisition module is used to The component identification data obtains the standard image features of the target component and the detection image features used to generate the detection image; the component detection module is used to determine whether the target component passes the detection by using the detection model according to the detection image features and the standard image features.
本發明所揭露之依據元件識別資料使用圖形特徵二次檢測之方法,其步驟至少包括:使用圖形特徵辨識演算法產生檢測模型;取得目標電路板上之電子元件之元件識別資料;取得目標元件之檢測影像,目標元件為電子元件中未通過光學檢測之電子元件;依據目標元件之元件識別資料取得目標元件之標準影像特徵;產生檢測影像之檢測影像特徵;依據檢測影像特徵與標準影像特徵使用檢測模型判斷目標元件是否通過檢測。The method of using pattern feature secondary detection based on component identification data disclosed in the present invention at least includes the following steps: generating a detection model by using pattern feature identification algorithm; obtaining component identification data of electronic components on a target circuit board; Detecting images, the target component is an electronic component that has not passed the optical detection; obtains the standard image features of the target component according to the component identification data of the target component; generates the detected image features of the detected image; The model determines whether the target component passes the test.
本發明所揭露之系統與方法如上,與先前技術之間的差異在於本發明透過取得表面黏著裝置焊接在目標電路板上之電子元件的元件識別資料後,依據元件識別資料取得未通過光學檢測之目標元件的標準影像特徵,並產生目標元件之檢測影像的檢測影像特徵,及依據檢測影像特徵與標準影像特徵使用檢測模型判斷目標元件是否通過檢測,藉以解決先前技術所存在的問題,並可以達成提高光學檢測之準確率並減少人力成本的技術功效。The system and method disclosed in the present invention are as described above. The difference between the present invention and the prior art is that the present invention obtains the component identification data of the electronic components soldered on the target circuit board by the surface mount device, and then obtains the information that fails the optical inspection according to the component identification data. The standard image features of the target device, and the detected image features of the detected image of the target device are generated, and the detection model is used to determine whether the target device has passed the inspection according to the detected image features and the standard image features, so as to solve the problems existing in the prior art, and can achieve The technical efficacy of improving the accuracy of optical inspection and reducing labor costs.
以下將配合圖式及實施例來詳細說明本發明之特徵與實施方式,內容足以使任何熟習相關技藝者能夠輕易地充分理解本發明解決技術問題所應用的技術手段並據以實施,藉此實現本發明可達成的功效。The features and implementations of the present invention will be described in detail below in conjunction with the drawings and examples, and the content is sufficient to enable any person skilled in the relevant art to easily and fully understand the technical means applied to solve the technical problems of the present invention and implement them accordingly, thereby achieving The effect that the present invention can achieve.
本發明可以取得被焊接在電路板上之電子元件的元件識別資料,藉以依據未通過光學檢測之電子元件的元件識別資料取得未通過光學檢測之電子元件的標準影像特徵,並依據標準影像特徵與未通過光學檢測之電子元件的檢測影像特徵對未通過光學檢測之電子元件進行第二次檢測。The invention can obtain the component identification data of the electronic components soldered on the circuit board, so as to obtain the standard image features of the electronic components that have not passed the optical inspection according to the component identification data of the electronic components that have not passed the optical inspection, and according to the standard image features and Inspection image features of electronic components that fail the optical inspection A second inspection is performed on the electronic components that fail the optical inspection.
本發明所提之標準影像特徵與檢測影像特徵是使用卷積神經網路(Convolutional Neural Network, CNN)分別對未通過光學檢測之電子元件的標準影像及檢測影像計算所產生的資料,通常以向量的方式表示。其中,檢測影像為包含未通過光學檢測之電子元件的影像,標準影像為包含相同電子元件且可通過光學檢測的影像。另外,本發明所提之卷積神經網路包含但不限於Alexnet、VGG等。The standard image feature and the detection image feature proposed in the present invention are data generated by using a convolutional neural network (Convolutional Neural Network, CNN) to calculate the standard image and the detection image of the electronic components that have not passed the optical detection respectively. way of expressing. Wherein, the inspection image is an image including electronic components that have not passed the optical detection, and the standard image is an image that includes the same electronic components and can pass the optical detection. In addition, the convolutional neural network mentioned in the present invention includes, but is not limited to, Alexnet, VGG, and the like.
以下先以「第2圖」本發明所提之依據元件識別資料使用圖形特徵二次檢測之系統架構圖來說明本發明的系統運作。如「第2圖」所示,本發明之系統應用在二次檢測裝置200中,含有模型建立模組210、資料載入模組220、影像載入模組230、特徵取得模組250、元件檢測模組260。First, the system operation of the present invention will be described with reference to “FIG. 2” of the system architecture diagram of the present invention using the second detection of graphic features based on the component identification data. As shown in "Fig. 2", the system of the present invention is applied in the
模型建立模組210負責使用圖形特徵辨識演算法產生檢測模型。 本發明所提之圖形特徵辨識演算法包含但不限於Triplet loss/Contrastive loss/Margin loss、Pairwise Ranking loss等損失函數(或損失公式),也就是說,模型建立模組210可以透過呼叫上述損失函數(或損失公式)產生檢測模型。The
舉例來說,模型建立模組210可以取得一定數量之某個電子元件的標準影像及同一電子元件通過光學檢測之樣本影像(在本發明中被稱為「正樣本影像」),並可以取得同一電子元件未通過光學檢測之樣本影像(在本發明中被稱為「負樣本影像」),接著,模型建立模組210可以使用卷積神經網路計算標準影像、正樣本影像與負樣本影像的影像特徵(如直接使用卷積神經網路計算或呼叫特徵取得模組250計算),並可以使用所計算出之標準影像的影像特徵、正樣本影像的影像特徵及負樣本影像的影像特徵(在本發明中亦分別被稱為「標準影像特徵」、「正樣本影像特徵」、「負樣本影像特徵」)對圖形特徵辨識演算法進行訓練(如持續將標準影像特徵、正樣本影像特徵、負樣本影像特徵輸入到Triplet loss損失函數,使得模型建立模組210不斷調整Triplet loss損失函數的margin常數),直到圖形特徵辨識演算法判斷標準影像特徵與正樣本影像特徵間的歐式距離(歐基里德距離)小於門檻值且標準影像特徵與負樣本影像特徵間之歐式距離大於同一門檻值時,便可以完成檢測模型的建立。其中,上述門檻值通常是能夠在上述訓練過程中確定的數值。For example, the
資料載入模組220負責讀取目標電路板上之多個電子元件之元件識別資料。本發明所提之目標電路板即為通過貼片機(表面黏著裝置130)與光學檢測裝置150檢測之印刷電路板110;元件識別資料與電子元件具有一對一的對應關係,能夠表示相對應的電子元件,可以由任意數量的文字、數字、字母、符號任意排列而成。The
資料載入模組220可以連線到在目標電路板上焊接電子元件的貼片機(表面黏著裝置130),並由貼片機下載焊接在目標電路板上之所有電子元件的元件資訊;資料載入模組220也可以連線到特定的中繼裝置(圖中未示),例如伺服器等,並由中繼裝置下載貼片機焊接在目標電路板上之所有電子元件的元件資訊。其中,元件資訊包含元件識別資料及安裝位置資料,本發明所提之安裝位置資料可以表示電子元件在目標電路板上之位置。The
影像載入模組230負責讀取目標元件的元件識別資料及檢測影像。在本發明中,目標元件為目標電路板上之所有電子元件中未通過光學檢測的任何電子元件。The
影像載入模組230可以接收對目標電路板進行自動光學檢測之光學檢測裝置150所輸出的測試記錄,並可以由所接收到之測試記錄中讀出目標元件的元件識別資料與檢測影像;影像載入模組230也可以連線到接收並儲存光學檢測裝置150所輸出之測試記錄的中繼裝置(圖中未示),並由中繼裝置下載測試記錄所包含之目標元件的元件識別資料與檢測影像。其中,光學檢測裝置150所輸出的測試記錄可以包含目標電路板的測試影像及未通過光學檢測之目標元件的元件識別資料,其中,測試影像為光學檢測裝置所輸出之涵蓋整個目標電路板的影像。另外,測試記錄還可以包含目標元件的測試位置資訊或檢測影像,上述之測試位置資訊可以表示目標元件在測試影像中的位置及大小,例如,目標元件之對角在測試影像中的座標,又如,目標元件特定頂點在測試影像中的座標及長度與寬度。The
在部分的實施例中,若測試記錄沒有包含檢測影像,影像載入模組230還可以在接收到光學檢測裝置150所輸出的測試記錄後,由測試記錄中讀出目標元件的元件識別資料與測試位置資訊,並可以依據測試位置資訊,由測試記錄所包含之測試影像中擷取出目標元件的檢測影像。In some embodiments, if the test record does not include the test image, the
影像載入模組230也可以建立對應所取得之目標元件的元件識別資料與檢測影像的資料表,藉以提供特徵取得模組250使用,但本發明並不以此為限。其中,影像載入模組230所建立之資料表中的每一筆資料包含一個元件識別資料與相對應之電子元件的檢測影像。The
特徵取得模組250負責依據影像載入模組230所取得之目標元件的元件識別資料取得目標元件的標準影像特徵。舉例來說,特徵取得模組250可以由影像載入模組230所建立之資料表中讀出目標元件的元件識別資料,並可以由預先建立的影像資料中讀取與所讀出之元件識別資料對應之目標元件的標準影像特徵。The
在部分的實施例中,若預先建立的影像資料中沒有包含目標元件的標準影像特徵,而只包含目標元件的標準影像,特徵取得模組250也可以依據目標元件之元件識別資料讀取目標元件的標準影像,並可以使用卷積神經網路對所讀出之標準影像進行計算以產生目標元件的標準影像特徵。In some embodiments, if the pre-created image data does not include the standard image features of the target device, but only includes the standard image of the target device, the
特徵取得模組250也負責產生影像載入模組230所取得之檢測影像的檢測影像特徵。例如,特徵取得模組250可以由影像載入模組230所建立之資料表中讀出目標元件的檢測影像,並可以使用卷積神經網路對所讀出之檢測影像進行計算以產生目標元件的檢測影像特徵。The
元件檢測模組260負責依據特徵取得模組250所取得之檢測影像特徵與標準影像特徵使用模型建立模組210所建立之檢測模型判斷目標元件是否通過檢測。The
接著以一個實施例來解說本發明的運作系統與方法,並請參照「第3A圖」本發明所提之依據元件識別資料使用圖形特徵二次檢測之方法流程圖。在本實施例中,假設本發明應用在二次檢測裝置200上。其中,二次檢測裝置200設置在產線中,二次檢測裝置200的作業順序排列於光學檢測裝置150之後。Next, an embodiment is used to explain the operation system and method of the present invention, and please refer to “FIG. 3A” for the flowchart of the method for secondary detection of graphic features based on component identification data according to the present invention. In this embodiment, it is assumed that the present invention is applied to the
首先,在二次檢測裝置200開始檢測印刷電路板上的電子元件前,模型建立模組210可以先使用圖形特徵辨識演算法產生檢測模型(步驟310)。在本實施例中,假設開發人員可以預先挑選一定數量之各個電子元件的標準影像、正樣本影像及負樣本影像,並可以將所挑選出之各個電子元件的標準影像、正樣本影像及負樣本影像提供給模型建立模組210,使得模型建立模組210可以透過特徵取得模組250取得標準影像的標準影像特徵、正樣本影像的正樣本影像特徵、及負樣本影像的樣本影像特徵,接著,模型建立模組210可以使用Triplet loss損失函數比對在特徵空間中標準影像特徵與正樣本影像特徵的歐式距離及標準影像特徵與負樣本影像特徵的歐式距離,並持續調整margin常數,如此不斷重複,直到Triplet loss損失函數所計算出之標準影像特徵與正樣本影像特徵的歐式距離小於門檻值(假設為1.1),且標準影像特徵與負樣本影像特徵的歐式距離大於門檻值,及可以完成檢測模型的建立。First, before the
在模型建立模組210產生檢測模型後,二次檢測裝置200即可以在產線中被使用。在產線上,印刷電路板110將先抵達貼片機(表面黏著裝置130)而被貼片機依據預先設定之裝設資訊將多個電子元件焊接在印刷電路板110上,之後,資料載入模組220可以取得貼片機焊接在目標電路板上之電子元件的元件識別資料(步驟320)。在本實施例中,假設資料載入模組220可以連線到貼片機,並可以接收貼片機焊接在目標電路板上之電子元件的元件識別資料。After the
在印刷電路板110通過貼片機後,印刷電路板110將抵達光學檢測裝置150,光學檢測裝置150可以透過自動光學檢測對被焊接於印刷電路板110上的電子元件進行測試並產生相對應的測試記錄。After the printed
在印刷電路板110通過光學檢測裝置150後,若印刷電路板110上有任何電子元件沒有通過光學檢測裝置150所進行的光學檢測,則光學檢測裝置150所產生的測試記錄將可以包含印刷電路板110的測試影像及印刷電路板110上未通過光學檢測之目標元件的元件識別資料。After the printed
在印刷電路板110通過光學檢測裝置150後,影像載入模組230可以由光學檢測裝置150所輸出之測試記錄中取得未通過光學檢測之目標元件的檢測影像(步驟330)。在本實施例中,假設光學檢測裝置150所輸出之測試記錄中已包含目標元件的檢測影像,影像載入模組230可以由測試記錄中讀出目標元件的元件識別資料與檢測影像;而若光學檢測裝置150所輸出之測試記錄中未包含目標元件的檢測影像,則影像載入模組230可以如「第3B圖」之流程所示,先讀取光學檢測裝置150所輸出之測試記錄(步驟331),並由測試記錄中讀出目標元件的元件識別資料與測試位置資訊,及依據所讀出之測試位置資料由測試記錄所包含的測試影像中擷取出檢測影像(步驟335)。另外,影像載入模組230也可以將所讀出之元件識別資料與所取得之檢測影像做為一筆資料寫入資料表中。After the printed
在影像載入模組230取得目標元件的檢測影像後,特徵取得模組250可以依據目標元件的元件識別資料取得目標元件的標準影像特徵(步驟350)。在本實施例中,若開發人員已預先建立目標元件之元件識別資料與標準影像特徵的對應表,則特徵取得模組250可以直接由對應表中讀取與元件識別資料對應的標準影像特徵;而若開發人員僅預先儲存目標元件的標準影像,則特徵取得模組250可以如「第3C圖」之流程所示,在由影像載入模組230所建立之對應目標元件之元識別資料與標準影像的資料表中取得目標元件的元件識別資料(步驟340、351)後,先依據所取得之元件識別資料讀取目標元件的標準影像(步驟353),並使用卷積神經網路對所讀取出之標準影像進行計算以產生標準影像特徵(步驟355)。After the
同樣在影像載入模組230取得目標元件的檢測影像後,特徵取得模組250也可以產生影像載入模組230所取得之檢測影像的檢測影像特徵(步驟360)。與上述相似的,特徵取得模組250可以使用卷積神經網路對檢測影像進行計算以產生檢測影像特徵。Likewise, after the
在特徵取得模組250取得標準影像特徵並產生檢測影像特徵後,元件檢測模組260可以依據特徵取得模組250所取得之標準影像特徵及所產生之檢測影像特徵使用模型建立模組210所產生之檢測模型判斷目標元件是否通過檢測(步驟370)。在本實施例中,檢測模型可以計算標準影像特徵與檢測影像特徵的歐式距離,並依據歐式距離是否小於門檻值判斷目標元件是否通過檢測。After the
如此,當貼片機(表面黏著裝置130)在印刷電路板110上焊接替代電子元件而導致光學檢測裝置150判斷替代之電子元件沒有通過光學檢測時,透過本發明便可以更精確的判斷沒有通過光學檢測之替代的電子元件是否通過檢測。In this way, when the placement machine (surface mount device 130 ) solders the substitute electronic component on the printed
綜上所述,可知本發明與先前技術之間的差異在於具有取得表面黏著裝置焊接在目標電路板上之電子元件的元件識別資料後,依據元件識別資料取得未通過光學檢測之目標元件的標準影像特徵,並產生目標元件之檢測影像的檢測影像特徵,及依據檢測影像特徵與標準影像特徵使用檢測模型判斷目標元件是否通過檢測之技術手段,藉由此一技術手段可以來解決先前技術所存在表面黏著裝置使用替代電子元件時光學檢測裝置將無法有效判斷替代電子元件之焊接狀況的問題,進而達成提高光學檢測之準確率並減少人力成本的技術功效。From the above, it can be seen that the difference between the present invention and the prior art is that after obtaining the component identification data of the electronic components soldered on the target circuit board by the surface mount device, the standard of obtaining the target components that have not passed the optical inspection according to the component identification data Image features, and generate the detection image features of the detection image of the target element, and use the detection model to determine whether the target element has passed the detection technical means according to the detection image characteristics and the standard image characteristics. When the surface mount device uses an alternative electronic component, the optical inspection device will not be able to effectively determine the problem of the soldering condition of the alternative electronic component, thereby achieving the technical effect of improving the accuracy of optical inspection and reducing labor costs.
再者,本發明之依據元件識別資料使用圖形特徵二次檢測之方法,可實現於硬體、軟體或硬體與軟體之組合中,亦可在電腦系統中以集中方式實現或以不同元件散佈於若干互連之電腦系統的分散方式實現。Furthermore, the method for secondary detection of graphic features based on component identification data of the present invention can be implemented in hardware, software, or a combination of hardware and software, and can also be implemented in a centralized manner in a computer system or distributed with different components. Implemented in a decentralized manner across several interconnected computer systems.
雖然本發明所揭露之實施方式如上,惟所述之內容並非用以直接限定本發明之專利保護範圍。任何本發明所屬技術領域中具有通常知識者,在不脫離本發明所揭露之精神和範圍的前提下,對本發明之實施的形式上及細節上作些許之更動潤飾,均屬於本發明之專利保護範圍。本發明之專利保護範圍,仍須以所附之申請專利範圍所界定者為準。Although the embodiments disclosed in the present invention are as above, the above-mentioned contents are not intended to directly limit the scope of the patent protection of the present invention. Any person with ordinary knowledge in the technical field to which the present invention pertains, without departing from the spirit and scope disclosed by the present invention, makes slight modifications to the form and details of the implementation of the present invention, all belong to the patent protection of the present invention scope. The scope of patent protection of the present invention shall still be defined by the appended patent application scope.
110:印刷電路板 130:表面黏著裝置 150:光學檢測裝置 200:二次檢測裝置 210:模型建立模組 220:資料載入模組 230:影像載入模組 250:特徵取得模組 260:元件檢測模組 步驟310:使用圖形特徵辨識演算法產生檢測模型 步驟320:取得目標電路板上之電子元件之元件識別資料 步驟330:取得未通過光學檢測之目標元件之檢測影像 步驟331:讀取光學檢測裝置所輸出之測試記錄,測試記錄包含測試影像及目標元件之測試位置資訊 步驟335:依據目標元件之測試位置資訊由測試影像中擷取出目標元件之檢測影像 步驟340:建立對應目標元件之元件識別資料及檢測影像之資料表 步驟350:依據目標元件之元件識別資料取得目標元件之標準影像特徵 步驟351:由資料表中讀出目標元件之元件識別資料 步驟353:依據目標元件之元件識別資料讀取目標元件之標準影像 步驟355:使用卷積神經網路對標準影像計算以產生標準影像特徵 步驟360:產生檢測影像之檢測影像特徵 步驟370:依據檢測影像特徵與標準影像特徵使用檢測模型判斷目標元件是否通過檢測 110: Printed circuit boards 130: Surface Mount Device 150: Optical detection device 200: Secondary detection device 210: Model building module 220:Data loading module 230: Image loading module 250: Feature Acquisition Module 260: Component inspection module Step 310: Generate a detection model using a pattern feature identification algorithm Step 320: Obtain the component identification data of the electronic components on the target circuit board Step 330: Obtain the inspection image of the target element that fails the optical inspection Step 331: Read the test record output by the optical detection device, the test record includes the test image and the test position information of the target element Step 335: Extract the test image of the target device from the test image according to the test position information of the target device Step 340: Create a data table of the component identification data corresponding to the target component and the detection image Step 350: Obtain the standard image features of the target device according to the device identification data of the target device Step 351: Read the component identification data of the target component from the data table Step 353: Read the standard image of the target device according to the device identification data of the target device Step 355: Compute the standard image using a convolutional neural network to generate standard image features Step 360: Generate the detected image features of the detected image Step 370: Use the detection model to determine whether the target element passes the detection according to the detection image feature and the standard image feature
第1圖為習知之產線示意圖。 第2圖為本發明所提之依據元件識別資料使用圖形特徵二次檢測之系統架構圖。 第3A圖為本發明所提之依據元件識別資料使用圖形特徵二次檢測之方法流程圖。 第3B圖為本發明所提之取得檢測影像之方法流程圖。 第3C圖為本發明所提之產生標準影像特徵之方法流程圖。 Figure 1 is a schematic diagram of a conventional production line. FIG. 2 is a system architecture diagram of the second detection system based on the component identification data using the graphic feature according to the present invention. FIG. 3A is a flowchart of the method for secondary detection of graphic features based on component identification data according to the present invention. FIG. 3B is a flowchart of the method for obtaining a detection image according to the present invention. FIG. 3C is a flowchart of the method for generating standard image features proposed by the present invention.
步驟310:使用圖形特徵辨識演算法產生檢測模型 Step 310: Generate a detection model using a pattern feature identification algorithm
步驟320:取得目標電路板上之電子元件之元件識別資料 Step 320: Obtain the component identification data of the electronic components on the target circuit board
步驟330:取得未通過光學檢測之目標元件之檢測影像 Step 330: Obtain the inspection image of the target element that fails the optical inspection
步驟350:依據目標元件之元件識別資料取得目標元件之標準影像特徵 Step 350: Obtain the standard image features of the target device according to the device identification data of the target device
步驟360:產生檢測影像之檢測影像特徵 Step 360: Generate the detected image features of the detected image
步驟370:依據檢測影像特徵與標準影像特徵使用檢測模型判斷目標元件是否通過檢測 Step 370: Use the detection model to determine whether the target element passes the detection according to the detection image feature and the standard image feature
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110109609A TWI758134B (en) | 2021-03-17 | 2021-03-17 | System for using image features corresponding to component identification for secondary inspection and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110109609A TWI758134B (en) | 2021-03-17 | 2021-03-17 | System for using image features corresponding to component identification for secondary inspection and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI758134B true TWI758134B (en) | 2022-03-11 |
TW202238447A TW202238447A (en) | 2022-10-01 |
Family
ID=81710704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110109609A TWI758134B (en) | 2021-03-17 | 2021-03-17 | System for using image features corresponding to component identification for secondary inspection and method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI758134B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110692134A (en) * | 2019-06-14 | 2020-01-14 | 深圳市汇顶科技股份有限公司 | Chip packaging structure and electronic equipment |
CN111145175A (en) * | 2020-01-10 | 2020-05-12 | 惠州光弘科技股份有限公司 | SMT welding spot defect detection method based on iForest model verification |
CN112053318A (en) * | 2020-07-20 | 2020-12-08 | 清华大学 | Two-dimensional PCB defect real-time automatic detection and classification device based on deep learning |
-
2021
- 2021-03-17 TW TW110109609A patent/TWI758134B/en active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110692134A (en) * | 2019-06-14 | 2020-01-14 | 深圳市汇顶科技股份有限公司 | Chip packaging structure and electronic equipment |
CN111145175A (en) * | 2020-01-10 | 2020-05-12 | 惠州光弘科技股份有限公司 | SMT welding spot defect detection method based on iForest model verification |
CN112053318A (en) * | 2020-07-20 | 2020-12-08 | 清华大学 | Two-dimensional PCB defect real-time automatic detection and classification device based on deep learning |
Also Published As
Publication number | Publication date |
---|---|
TW202238447A (en) | 2022-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1318839C (en) | Automatic optical detecting system for blemish assembly on printed circuit board | |
JP2018025481A (en) | Surface mounting line survey instrument and quality management system | |
KR101991170B1 (en) | Apparatus and method for classifying defect | |
US20230262903A1 (en) | Inspection and production of printed circuit board assemblies | |
TW202104879A (en) | Image recognition apparatus, image recognition method, and computer program product thereof | |
CN113971654A (en) | Welding spot detection model training method, welding spot detection method and welding spot detection device | |
CN111681235A (en) | IC welding spot defect detection method based on learning mechanism | |
JP5045591B2 (en) | Method for creating area setting data for inspection area and board appearance inspection apparatus | |
JP2007285880A (en) | Sample image registration method in board inspection, and sample image producing system | |
CN117589770A (en) | PCB patch board detection method, device, equipment and medium | |
JP4454428B2 (en) | Component edge detection method, component edge detection program, and inspection apparatus | |
TWI758134B (en) | System for using image features corresponding to component identification for secondary inspection and method thereof | |
CN117858493A (en) | SMT quality control method and device based on big data | |
US20050274802A1 (en) | Circuit board inspection apparatus | |
US20230298155A1 (en) | Information processing apparatus and information processing method | |
JP2003110298A (en) | Method and device for mounted component inspection and inspecting program | |
JP2023133160A (en) | Inspection system, method for managing ai model data, and ai model data set | |
JP2008185395A (en) | Mounting substrate visual inspection method | |
CN115131264A (en) | System and method for secondary detection using pattern features based on component identification data | |
JP2007017311A (en) | Appearance inspection system | |
EP4165592A1 (en) | System and method for tracing components of electronic assembly | |
JP2008218737A (en) | Image processing device | |
Anitha et al. | Solder Joint Defect Detection in PCBA Chip Components Based on the Histogram Analysis | |
CN117790349B (en) | Pcs electrical measurement bad defect display method, device, equipment and storage medium | |
CN111542218B (en) | Electric energy meter credible production patch link acquisition verification method and system |