TW550391B - Inspecting the defects on the conducting paths of printed circuit board (PCB) by using 2-D wavelet transform - Google Patents

Inspecting the defects on the conducting paths of printed circuit board (PCB) by using 2-D wavelet transform Download PDF

Info

Publication number
TW550391B
TW550391B TW90133054A TW90133054A TW550391B TW 550391 B TW550391 B TW 550391B TW 90133054 A TW90133054 A TW 90133054A TW 90133054 A TW90133054 A TW 90133054A TW 550391 B TW550391 B TW 550391B
Authority
TW
Taiwan
Prior art keywords
wavelet
order
dimensional
pixel
patent application
Prior art date
Application number
TW90133054A
Other languages
Chinese (zh)
Inventor
Chi-Hao Yeh
Original Assignee
Chi-Hao Yeh
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chi-Hao Yeh filed Critical Chi-Hao Yeh
Priority to TW90133054A priority Critical patent/TW550391B/en
Application granted granted Critical
Publication of TW550391B publication Critical patent/TW550391B/en

Links

Abstract

The aim of this research is to develop an approach for pre-selecting the serious defect candidates such as mousebite, spur, open and short on PCB conduct paths based on 2-D wavelet transform. According to the 2-D wavelet coefficients on each decomposition level and their inherent relationship between adjacent levels, the potential defects on conducting paths of PCB can be located under appropriate inter-level ratio (alpha), decomposition level, and wavelet basis.

Description

550391 92· 4· 餐下 年Λ EJ杉550391 92 · 4 · Under meal Λ EJ fir

補无 五、發明說明(1) 一·發明背景 近年來機器視覺技術已廣泛應用於印刷電路板「夂閱 第—圖」瑕疵之檢測,檢測印刷電路板瑕疵之演算/則 有許多理論研究與實際應用系統,可概分為參考方法i ^考方法與混合方法,而上述檢測印刷電路板之方法兩 ^大量模型比對或者判斷是否符合諸多之規格條件/,= 時且易受影像雜訊影響,故印刷電路板製造業者極需一 速有效的自動視覺檢測系統。目前輕巧精緻與功能、 的電子產品已成趨勢,&微細尺寸、細線寬與細線 刷電路板乃應運而生,使得印刷電路板線路瑕疵之 :困難且易出肖。現階段產業中細線寬與 刷: 路板以叫板為典型代表「參閱第二圖」 之印刷電Complement No. 5. Description of the invention (1) I. Background of the invention In recent years, machine vision technology has been widely used in the detection of defects in printed circuit boards. The calculation of detecting defects in printed circuit boards has many theoretical studies and The practical application system can be roughly divided into the reference method i ^ test method and hybrid method, and the above method of detecting printed circuit boards ^ a large number of models to compare or judge whether it meets a lot of specifications and conditions /, = time and vulnerable to image noise Impact, so printed circuit board manufacturers need a fast and effective automatic visual inspection system. At present, lightweight and exquisite and functional electronic products have become a trend. &Amp; Micro size, fine line width and fine brush circuit boards have emerged at the historic moment, making printed circuit board circuit defects: difficult and easy to appear. Fine line width and brushing in the industry at present: Printed circuit

Uous以ite)、線路突出㈤叮)、斷路(〇pen)路缺口 (short) 「參閱第:闰 ^ ^ a 丑路 JT、广>,芒呈古l 一圖」為㊅見且嚴重的印刷電路板線踗 =:有上述瑕疵則印刷電無发路 演算法則才可降低誤判機成:連有效之瑕庇檢測 二·發明概述 本發明係利用-絡 、線路突出斷—路預選印刷電路板線… 短路專瑕疵,特以細線寬與細線 550391 V/日修ι ^五、發明說0Π2) 之BGA基板「參閱第二 轉換可將於λ W ~况Λ兴肩财對泵。二維小波 部份會捕二:f多階分解為平滑與細節兩大部份,細節 垂直三部份::::區;變異而將其分解為對角、水平與 直部份上之表it故不與门正^線路在細節部份之水平與垂 每-像素在相ίί;”、,故可利用此特性計算線路邊緣 路之像素的能量群聚比值⑷,不規則線Uous uses ite), line highlights, and short cuts (see section: 闰 ^ ^ a ugly road JT, Guang > Mang Chenggu 1) as uncommon and serious. Printed circuit board line 踗 =: If there are the above defects, the printed circuit will not generate a road algorithm to reduce the misjudgment mechanism: even the effective flaw detection II. Summary of the invention The present invention uses a pre-selected printed circuit with a network and a broken circuit Board line… Short circuit defects, especially thin line width and fine line 550391 V / day repair ^ V, invention 0) 2) BGA substrate "Refer to the second conversion can be in λ W ~ situation Λ Xing shoulder pair of pumps. Two-dimensional The wavelet part will capture two: f multi-level decomposition into two parts of smoothness and detail, three parts of vertical details :::: area; mutation and decomposition into the diagonal, horizontal and straight parts The level of the detail line is not equal to that of the vertical line of the gate, so you can use this feature to calculate the energy clustering ratio of the pixels on the edge of the line.

Hi值範圍㈣ 本t月提出以群聚小波能量 % — 圍、建議應使用何種小波 / 、叹疋α值之範 層可預選出瑕疲候i = 二維小波轉換階 之印刷電路板檢測方法有真實瑕疲,傳統 故利用本發明可縮小檢測範圚。又=候選像素進行檢測, 需參考的特徵比對、計算 。士明不需訓練樣本、無 對多樣少量之印刷電路:;光源影響不明顯,故可 檢測系統。 I轾h I、一快速有效的自動視覺 二·發明的詳細說明 本务明係利用二維小 線路突出、_ & 波轉換預選印 断路、短路等瑕疵 刷電路板線路缺 [· 波轉換έ Ϊ路;故此明顯之區域變里了疵均屬強烈 皮轉換細郎部份令之水平與垂直V:八分別呈現於二維小 ―份’其原理與二維小波 第6頁 550391 . 92. 4·⑽修正 年月8補充_ 五、發明說明(3) 轉換去除影像雜訊相似。 二維小波分別由一維水平及垂直之公函數p與母函數 0所構成,亦即: Φ(χ,y) Ψν(χ,y) ΨΗχ,y) Ψά(χ,y) 其中 Φ(χ, y) Ψν(χ,y) ΨΗχ, y) Ψά(χ,y) < (χ) φγ (χ) 0h (χ) 0ν(χ) =ph(x) X φγ (γ) =0h(x) χ φγ (γ) =ph(x) χ 0v(y) =0h(x) χ 0v(y) : 二維小波公函數 : 二維垂直小波母函數 : 二維水平小波母函數 : 二維對角小波母函數 一維水平小波公函數 一維垂直小波公函數 一維水平小波母函數 一維垂直小波母函數 因此,細節部份會進一步區分為水平、垂直與對角部份, 其中Φ (χ,y )捕捉輸入影像之平滑部份;而¥h (χ,y )、 Ψν(χ,y)與¥d(x,y )分別捕捉輸入影像之細節水平、細節 垂直與細節對角部份。若一輸入影像F (χ,y )為一 m χ η之像Hi value range㈣ This month, we proposed to use the clustering wavelet energy% — range, the recommended wavelet /, and the range of sigh α values to pre-select the fatigue fatigue i = 2D wavelet transform order of printed circuit board detection The method has real flaws. Traditionally, the present invention can reduce the detection range. Again = candidate pixels for detection, feature comparison and calculation that need to be referenced. Shiming does not need training samples, and it does not have a variety of printed circuits: the influence of the light source is not obvious, so the system can be detected. I 轾 h I. A fast and effective automatic vision II. Detailed description of the invention The main task of the invention is to use two-dimensional small lines to highlight, _ & wave conversion pre-selection printing open circuit, short circuit and other defects. Kushiro; therefore, the obvious defects in the area are the strong skin transformation of the horizontal and vertical part of the Selangor order. V: Eight are presented in two-dimensional Xiaofen, its principle and two-dimensional wavelet, page 6 550391. 92. 4 · ⑽Amendment on 8th of August, supplementation_5. Description of the invention (3) The conversion to remove image noise is similar. The two-dimensional wavelet is composed of a one-dimensional horizontal and vertical common function p and a generating function 0, that is: Φ (χ, y) Ψν (χ, y) ΨΗχ, y) Ψά (χ, y) where Φ (χ , y) Ψν (χ, y) ΨΗχ, y) Ψά (χ, y) < (χ) φγ (χ) 0h (χ) 0ν (χ) = ph (x) X φγ (γ) = 0h (x ) χ φγ (γ) = ph (x) χ 0v (y) = 0h (x) χ 0v (y): 2D wavelet common function: 2D vertical wavelet mother function: 2D horizontal wavelet mother function: 2D pair Angular wavelet mother function One-dimensional horizontal wavelet common function One-dimensional vertical wavelet common function One-dimensional horizontal wavelet mother function One-dimensional vertical wavelet mother function Therefore, the details will be further divided into horizontal, vertical and diagonal parts. Among them, Φ (χ, y) captures the smooth part of the input image; and ¥ h (χ, y), Ψν (χ, y), and ¥ d (x, y) capture the detail level, detail vertical, and detail of the input image, respectively Diagonal section. If an input image F (χ, y) is an image of m χ η

第7頁 五、發明說明(4) 素矩陣組成,則F ( X,y)可由上述二維小波近似’亦即 φ^(^7)+ΣΣ^« ψν(κ,7)+ΣΣ^ν ” j4 mil 其中 ^ ll Φ J,M,M (X, y)F(x, y) dxdy d ^ JJ ψΤΓι7·,3«,Μ(χ?γ)Ρ(χ, y) dxdy ^Κλ«,» « JJ Ψκ.;>,» (x, y)F(x, y) dxdy ^ y,w,« ^ JJ Ψά.7>^ (x? y)F(x, y) dxdy 第J階平滑部份之小波係數矩陣(m χ η) :第j階細節垂直部份之小波係數矩陣(m χ ^ ) (j = 1,2,…,J ) •第〕·階細節水平部份之小波係數矩陣(m χ n ) (J·二 1,2,…,J ) 故二 滑、 在第 寫為 、細 :第j階細節對角部份之小波係數矩陣 (卜 1,2,…,J ) ’ 維小波轉換可計算每—像 細節水平、細節垂直魚所對應之 ❿會有平滑小波係數Λ即Λ角;^小:皮係1 節垂直小❹數之次縮寫為γ 縮寫為d厂與細節 550391 92年 4. 6\) Ά θ 修止補充 五 、發明說明(5) 小波係數之次影像(縮寫為 為〜—S. + 1、S -d 、d為厂』 j_Sj ⑷階分解 购八紅 J+1 dj+1 j+1〜sj+i與d川—,第四圖說明此多 :刀解程序。第五圖為一 ”x_b〇x,,圖經二維小波轉換後之 結果(J = 2,小波基底:d4)。第六圖為一BGA基板線路邊緣化 處理後經二維小波轉換後之結果(J = 2,小波基底:d4 ),其 中愈白之像素點則具有愈大之小波係數絕對值。(5) Invention description (4) The prime matrix is composed, then F (X, y) can be approximated by the above two-dimensional wavelet ', that is, φ ^ (^ 7) + ΣΣ ^ «ψν (κ, 7) + ΣΣ ^ ν ”J4 mil where ^ ll Φ J, M, M (X, y) F (x, y) dxdy d ^ JJ ψΤΓι7 ·, 3«, M (χ? Γ) P (χ, y) dxdy ^ Κλ «, »« JJ Ψκ .; >, »(x, y) F (x, y) dxdy ^ y, w,« ^ JJ Ψά.7 > ^ (x? Y) F (x, y) dxdy level J Wavelet coefficient matrix of smooth part (m χ η): Wavelet coefficient matrix (m χ ^) of vertical part of j-th order details (j = 1, 2, ..., J) Wavelet coefficient matrix (m χ n) (J · 1,2,2, ..., J) Therefore, the second slip, the first is written, and the fine: the wavelet coefficient matrix of the diagonal part of the jth order detail (bu 1, 2, ... , J) 'Dimensional wavelet transform can calculate the smooth wavelet coefficient Λ, which is the angle corresponding to every detail like the horizontal and vertical details of the fish; ^ Small: the first abbreviation of the vertical wavelet number in the leather system is abbreviated as γ Factory d and details 550391 1992. 6 \) Ά θ Revision supplement V. Description of the invention (5) Secondary image of wavelet coefficient (abbreviated as ~ —S. + 1, S-d and d are factories ”j_Sj ⑷ Decompose and purchase eight red J + 1 dj + 1 j + 1 ~ sj + i and dchuan—, the fourth picture illustrates this: the knife solution program. The fifth picture is a "x_b〇x", the picture is transformed by two-dimensional wavelet The later result (J = 2, wavelet base: d4). The sixth figure is the result of a BGA substrate line edge processing after two-dimensional wavelet transformation (J = 2, wavelet base: d4), among which the whiter pixels The point has a larger absolute value of the wavelet coefficient.

二維小波轉換常應用於去除影像雜訊’其原理為利用 二維小波轉換多階分解後第j階與第j +1階間小波係數存在 之指數關係;進而分辨此像素點屬於正常影像邊緣或影像 雜訊。對某一像素點(xQ,yG)在第j階之二維小波能量 ((x〇,y。))定義為:Two-dimensional wavelet transform is often used to remove image noise. Its principle is to use the exponential relationship between the wavelet coefficients between the jth order and the j + 1th order after multi-level decomposition of the two-dimensional wavelet transform; and then to distinguish that this pixel belongs to the edge of a normal image Or image noise. For a pixel (xQ, yG), the two-dimensional wavelet energy ((x0, y.)) In the jth order is defined as:

Aj(X0,y0) = tan Ί j(X〇,y〇)) d j(x〇,y〇)Aj (X0, y0) = tan Ί j (X〇, y〇)) d j (x〇, y〇)

其中 dS (xG,y〇) ··像素點(X。,yG)經由小波Ψ1 (X,y)轉換在第j階 的二維小波係數(Yl(x,y)=OTh(x,y)/ax )Where dS (xG, y) ··· pixel (X., yG) is transformed into a two-dimensional wavelet coefficient at the jth order via wavelet Ψ1 (X, y) (Yl (x, y) = OTh (x, y) / ax)

550391 9| 4Λ30Β?多正 補充 五、發明說明(6) d j (X〇,y。):像素點(XG,yQ)經由小波ψ2(χ,y)轉換在第j階 的_維小波係數(ψ2(χ 30 =/办)550391 9 | 4Λ30Β? Duozheng supplement V. Description of the invention (6) dj (X〇, y.): The pixel (XG, yQ) is transformed by the wavelet ψ2 (χ, y) in the j-th order wavelet coefficient ( ψ2 (χ 30 = / to do)

Aj ( X0,yG ):像素點(Xq,y。)之梯度向量之方向 亦即/σ像素點(XG,)之梯度向量之方向搜尋變異最大之二 維小波係數,對某一像素點(%,yQ)在第』階之二維小波群 聚能量(N〆%,yQ))定義為:Aj (X0, yG): the direction of the gradient vector of the pixel (Xq, y.), That is, the direction of the gradient vector of / σ pixel (XG,), searches for the two-dimensional wavelet coefficient with the greatest variation. For a certain pixel ( %, YQ) The two-dimensional wavelet grouping energy (N〆%, yQ)) in the first order is defined as:

Nj(x〇^〇)= 其中Nj (x〇 ^ 〇) = where

Ds = Kx? Υ) I (x-X〇)2 +(y-Y〇)2 ^Ks2, (y-y〇)/(x-X〇) tan'1 (AjCxo, y〇)) }Ds = Kx? Υ) I (x-X〇) 2+ + (y-Y〇) 2 ^ Ks2, (y-y〇) / (x-X〇) tan'1 (AjCxo, y〇))}

K s 小波母函數支援長度(support length)之一半 (例··小波基底d4之支援長度一半為2) (例:小波基底d 6之支援長度一半為3 ) ( j = 1,2,· · ·,J)K s wavelet mother function support length (half of support length) (example: half of the support length of wavelet basis d4 is 2) (example: half of the support length of wavelet basis d 6 is 3) (j = 1, 2, ·· ·, J)

第10頁 修止 五、發明說明(7)Page 10 Remedy V. Description of Invention (7)

再者,若像素點(χ ) A 波群聚能量(N.+1 (x v ^ ^ 衫像雜訊,·其第j + 1卩皆 ai , J 0, y〇))除以其笫Ί· n比々— 1白之二維小 J(X〇,y°))必大於或等於2。亦即 維小波群聚能量 (N; j + 1 (x〇5 y〇)/Nj(x〇, y〇))-2 ail 其申 ^ ··小波能量群聚比值 因此’ α值大於等於〇 逮,影像雜訊即可被去除‘素相被收集進而行影像重 屬強印:1電路板線路缺口、線路突出、斷路、短路等IT广 :強2不規則線路;故瑕疵之像 值a必與正常線路 波此里群聚比 值範圍包含缺π、:值不冋,只要找出正確之a 可大幅縮小檢測之、ί路突出、斷路、短路等瑕疵像素點即 質上不心°然而印刷電路板之不規則線路本 發明定義像=聚能量以符合.印刷電路板之檢測環境,本 y/))如下:’、Xl ’ yi<))在第J階之二維小波能量(WM^x/, WMiU」 ^ί°) = +|<^(Ύ)|2Furthermore, if the pixel (χ) A wave group gathers energy (N. + 1 (xv ^ ^ shirt-like noise, its j + 1 卩 卩 ai, J 0, y〇)) divided by 笫 Ί N is two-dimensionally smaller than 々—1 (J (X0, y °)) must be greater than or equal to 2. That is, the dimensional wavelet grouping energy (N; j + 1 (x〇5 y〇) / Nj (x〇, y〇))-2 ail its application ^ ·· The wavelet energy grouping ratio is therefore 'α value is greater than or equal to 〇 Catch, the image noise can be removed. The prime phase is collected and the image is reprinted. It is a strong print: 1 circuit board circuit gap, line protrusion, open circuit, short circuit, etc. IT is wide: strong 2 irregular lines; therefore, the image value of the defect a The range of the clustering ratio between normal and normal line waves includes missing π and: values are not good. As long as you find the correct a, you can greatly reduce the number of defective pixels such as protruding roads, open circuits, and short circuits. The irregular circuit of the printed circuit board The present invention defines an image = concentrating energy to comply. The testing environment of the printed circuit board, the original y /)) is as follows: ', Xl' yi <)) The two-dimensional wavelet energy at the Jth order (WM ^ x /, WMiU ”^ ί °) = + | < ^ (Ύ) | 2

叫食it曰歧一 五、發明説明(8) 立中/ d'.h0, V :像素點(x/,y/)在第j階 維小波係數 細節垂直部份的二 d'· (χΛ y/) ··像素點(χΛ V)在第 j 階 一 μ , 維小波雜 〜水平部份的 欲求像素點(XiG,y,)在第j階之二維小 定義其群聚範圍(Drj),本發明定義群 波群聚能量;需事先 聚範圍如下: pj ={(x, y) llx-xf |2<τ 52,|y-y· |2<τ ε2} 其中 r =小波母函數支援長度(SUppoj^ leDgthjs 二 2j(卜1,2, · · ·,j) 之一半 本發明定義之群聚範圍(搜尋 為中心之正方形像素點視窗,】一以像素點(χΛγι〇) ·· (2⑽[fxs])) + 1 ,、瓊長包含之像素點數目如 素黠(X/,y/)在第 階之 小波群聚能量在此正方形像 550391 92 4. 3U修止 Λ曰4、補无 五、發明說明(9) 素點視窗内求得,本發明定義其方法如下: ::象素點(χΛΥι”為中心,找出其8個 有最大二維小波能量之像素點(定義為 1 '素點中擁 大二維小波能量之像素點(定義為(x二//ι ))與次 oi零 X C為 0J W 介 錄它 紀令 2 與 後 值之 3.以像素點(Xil,y")為中心,找出其8個 有最大二維小波能量之像素點(定義為%承點中擁 居像素點中 像素點(Xi-1,y「l)為中心,找出其8個= (Xi,Yi2)),以 有最大二維小波能量之像素點(定義^居像素點中擁為(V2, y「2))。 紀錄 WMj(Xi2, yi2)與 WMj(V2, y「2)之值 時搜尋方向以雙方向進行。 7它們為〇 此 5·重覆步驟3,4 可得WMjXl3,yi3)與WM](x、 一方超越視窗邊界則此方停止。〕1 …,若任 若雙方皆超越視窗邊界則搜尋停止 故像素點(XiG,y/)在第j階之二維小 (WNjUi。,y/))如下式: 波群 聚能量It ’s called food. It ’s called the fifth. Invention description (8) Lizhong / d'.h0, V: Pixels (x /, y /) are two d '· (χΛ in the vertical part of the j-th dimension wavelet coefficient detail y /) ·· The pixel point (χΛ V) is at μ in the jth order, the dimension wavelet is mixed to the desired pixel point (XiG, y,) in the horizontal part to define its clustering range (Drj ), The present invention defines the group-wave group-focusing energy; the range of pre-focusing needs to be as follows: pj = {(x, y) llx-xf | 2 < τ 52, | yy · | 2 < τ ε2} where r = wavelet mother function support Length (SUppoj ^ leDgthjs two 2j (bu 1, 2, · · ·, j) half of the clustering range defined by the present invention (a square pixel window with the search as the center,) a pixel (χΛγι〇) ·· ( 2⑽ [fxs])) + 1, and the number of pixels contained by Qiong Chang is as the prime wavelet grouping energy of prime 黠 (X /, y /) in the first order. This square is like 550391 92 4. 3U 修 止 Λ 曰 4, Complement No. 5. Description of the invention (9) Calculated in the window of the prime point, the method defined by the present invention is as follows: :: Pixel point (χΛ 为 ι) as the center, find its eight pixels with the largest two-dimensional wavelet energy (definition 1 'prime A pixel with a large two-dimensional wavelet energy (defined as (x 二 // ι)) and a secondary oi of zero XC is 0J W. It records its order 2 and the latter 3. Take the pixel (Xil, y ") as The center, find its 8 pixels with the largest two-dimensional wavelet energy (defined as the pixel point (Xi-1, y "l) in the occupied pixel point in the% bearing point) as the center, find its 8 = (Xi , Yi2)), with the pixel point with the largest two-dimensional wavelet energy (defined as (V2, y 「2)). Record WMj (Xi2, yi2) and WMj (V2, y「 2) When the value is searched, the search direction is carried out in two directions. 7 They are 0. 5 Repeat steps 3, 4 to get WMjXl3, yi3) and WM] (x, one side stops when it crosses the window boundary.) 1 ..., if any When both sides exceed the window boundary, the search stops and the pixel (XiG, y /) is two-dimensionally small (WNjUi., Y /) at the jth order as follows:

五、發明說明(10) id :晴j(x八 yi) 8 ·恢復曾經被紀錄為零之 下_ -4* #, 京點的二維+、、士 计异(next iteration) '皮能量值以利 維 第七圖為一計算 波群聚能量之範例 經由本發明定義之二維小波群 口、一線路突出、斷路、短路等瑕龜像匕素里點丁,用來捕捉缺 )右為瑕疵像素點則其第雉.、〜像素點(0 其第j階之二維小波群聚能量小 能ΐ群聚比值(α)小於零。 0下式),亦即其小波V. Description of the invention (10) id: sunny j (x 八 yi) 8 · Recovering records that have been recorded below zero _ -4 * #, two-dimensional + of Beijing, next iteration 'skin energy The value of Levi's seventh figure is an example of calculating the wave group concentrating energy. Through the two-dimensional wavelet group mouth defined by the present invention, a line protruding, open circuit, short circuit and other defects, such as turtles, are used to capture defects.) If it is a defective pixel, then its 雉., ~ Pixels (0 its j-th order two-dimensional wavelet grouping energy small energy grouping ratio (α) is less than zero. 0 the following formula), that is, its wavelet

(WN j + l(WN j + l

Xi°iy1°)/WNJ(Xi〇,yi〇)) = 2 α + ΐ < 2, 1 a < 0 然而使用何種小波基底、 (j•值)才可完全捕捉真實 《用何種二維小波轉換階層 等瑕疵(此時有此正當绩& ^ 線路突出、斷路、短路 明之重點。實驗樣本為:Λ路轉折也被捕捉)亦為本發 像約有330 X 350個像ϋ真實BGA基板;每個BGA基板影 每觸基板i有5:n斤度約為4〇像素點/公董), 短路之人…,二Ϊ:有。個個線路突出、5個斷路?個 艾…共有6 0個人工瑕疵(見第八圖)。使 第14頁 550391 92· 4. όυ 修正 年Λ曰。士 補无 五、發明說明(11) 用 d4,s4,d6,s6,c6,d8s8f (卜1,2)具有較佳的侦測區域變波異因弟一階與第二階 第一階與第二階之二維小 〃、靶力,故本發明使用 (α ),所得之實驗結果、=算小波能量群聚比值 名筮一主丄 表所示。 表中,雖然有數百個 像素點(-像素點之…、於為瑕… 選像素點),若使用小波基底⑼於第:冉c苑候 之瑕疫候選像素點中包含每一個直第實:缺與/:階所選出 斷路、短玖榮 似具貫之缺口、線路突出、 用α小於㈤無”漏捉”之錯誤發生。再者;若使 線路突出ίΐ 範圍則無法完全捕捉真實之缺口、 義 、短路等瑕疯(見第二表)’故α小於零可Xi ° iy1 °) / WNJ (Xi〇, yi〇)) = 2 α + ΐ < 2, 1 a < 0 However, which wavelet base is used, (j • value) can fully capture the real Defects such as the two-dimensional wavelet transformation hierarchy (at this time, there are important points in this line & ^ line highlights, open circuits, short circuits. The experimental sample is: the Λ road turn has also been captured) There are also about 330 X 350 images of this image 像Real BGA substrate; each BGA substrate shadow has 5: n cataclys (about 40 pixels / mm) per contact substrate i), short-circuited person ..., two: yes. Each line is prominent and 5 open? Ai ... a total of 60 manual defects (see figure 8). Make page 14 550391 92. 4. όυ amend year Λ. Shi Buwuwu. Description of the invention (11) Using d4, s4, d6, s6, c6, d8s8f (b. 1, 2) has a better detection area. The second-order two-dimensional small chirp, target force, so the present invention uses (α), the experimental results obtained, = calculated wavelet energy clustering ratio name, as shown in the main table. In the table, although there are hundreds of pixels (-pixels ..., choose pixels), if the wavelet basis is used in the candidate pixels of Ran cyuanhou, each of the candidate pixels is included. Reality: Missing and /: The selected circuit is broken, the short gap seems to have a consistent gap, the line is prominent, and the error of "missing" with α less than ㈤ without. Moreover, if the line is highlighted, the real gaps, meanings, short circuits, etc. cannot be fully captured (see the second table) ’, so α is less than zero.

疋義為一有效之範圍。 7 J 第15頁 550391 私4· 3Q修止* Λ S補充 五、發明說明(12) 第一表· 實驗結果(α<0)Righteousness is a valid range. 7 J P.15 550391 Private 4 · 3Q repair stop * Λ S supplement V. Description of the invention (12) The first table · Experimental results (α < 0)

CL < 0 j=! j = 2 mm 找目 目 mt 錄 挪 & 找目 a?:微目 me^i) 翩 錄 娜 d4 様本一 318 5 10 370 1 1 樣本二 272 4 593 0 樣本三 372 1 54} 0 s4 樣本一 318 5 10 370 1 1 樣本二 272 4 593 0 樣本三 37S 1 54] 0 c6 樣本一 409 0 0 372 0 0 樣本二 366 0 591 0 樣本三 574 0 59B 0 άύ 樣本一 298 2 4 295 0 1 樣本二 259 1 459 1 樣本三 374 1 405 0 s6 様本一 298 2 4 295 0 1 樣本二 259 1 459 1 樣本三 374 1 405 0 d8 樣本一 19S 6 15 156 4 12 樣本二 157 6 156 6 樣本三 210 3 245 2 s8 樣本一 225 5 S 235 0 5 樣本二 189 2 271 5 樣本三 310 1 389 0 第16頁 III·· 550391 92· 4.训修正丨 年月曰i > 補无 五、發明說明(13) α<-0^ j = 2 小波基居 篇 之教目 真竄 法被ί^Ι之 偵灞 篇誤 篇《1胃 轚索點 之數目 其寶_蘸 法被保到之 偵a 篇誤 與萑本編塞 教目 (愤测類) 篇和 »目 卿箱誤) 隹和 樣本一 172 7 272 2 樣本二 159 7 19 542 2 6 樣本三 230 5 472 2 樣本一 172 7 272 2 s4 樣本二 159 7 19 542 2 6 樣本三 230 5 472 2 樣本一 349 4 304 1 c6 樣本二 169 2 % 401 2 4 樣本三 354 2 479 1 糅本一 1S9 3 348 1 d6 樣本二 227 2 9 328 2 4 樣本三 223 4 326 1 樣本一 189 3 348 1 s6 樣本二 227 2 9 328 2 4 糅本三 223 4 326 1 锸本一 113 7 126 6 d8 樣本二 92 8 20 156 8 16 糅本三 124 5 199 2 樣本一 131 6 194 1 s8 樣本二 105 5 17 350 6 8 樣本三 174 6 332 1 第二表· 實驗結果(a $-0.5) mill 第17頁 止丨補充I 圖式簡單說明 第一圖:傳統印刷電 辟^反’子見野區域:50mm X 40mm 第二圖:BGA基板,視野區域:& mm X 20mm 第二圖:常見的印刷電路柄 線路突出(C)斷路(d)t =重瑕疵種類:(a)缺口(b) 階分解程序 第四圖:二維小波轉換多 第五圖::7:Γ·圖經二維小波轉換後之結果(J = 2,小波 2 1' · (a) X —b〇x"圖(b)經二維小波轉換後之 第/、Kh -BGA基板線路邊緣圖經二維小波轉換後之結果 J 2,小波基底:d4) : (a)BGA基板線路邊緣圖(b)經 二維小波轉換後各階層之結果 第七圖:一計算二維小波群聚能量之範例:((a)-(g)) 第\圖·一個真實BGA基板之實驗樣本(已經邊緣化處理) (a)樣本一(b)樣本二(c)樣本三CL < 0 j =! J = 2 mm Finding the head mt Recording & Finding the head a ?: Weime me ^ i) Pinaru d4 Transcript 1 318 5 10 370 1 1 Sample 2 272 4 593 0 Sample Three 372 1 54} 0 s4 sample one 318 5 10 370 1 1 sample two 272 4 593 0 sample three 37S 1 54] 0 c6 sample one 409 0 0 372 0 0 sample two 366 0 591 0 sample three 574 0 59B 0 άύ Sample 1 298 2 4 295 0 1 Sample 2 259 1 459 1 Sample 3 374 1 405 0 s6 Transcript 1 298 2 4 295 0 1 Sample 2 259 1 459 1 Sample 3 374 1 405 0 d8 Sample 1 19S 6 15 156 4 12 Sample 2 157 6 156 6 Sample 3 210 3 245 2 s8 Sample 1 225 5 S 235 0 5 Sample 2 189 2 271 5 Sample 3 310 1 389 0 Page 16 III ·· 550 391 92 · 4. Training Correction Said i > Bu Wuwu, description of the invention (13) α < -0 ^ j = 2 The teaching method of wavelet base dwellings was mistakenly read by ^^ 's Detective essay "1 the number of gastric cords Treasure _ dip method is guaranteed to detect a piece of mistakes and transcripts of compiling teachings (annoyances) and »Mu Qing box mistakes) 隹 和 Sample 1 172 7 272 2 Sample 2 159 7 19 542 2 6 Sample Book 3 230 5 472 2 Sample 1 172 7 272 2 s4 Sample 2 159 7 19 542 2 6 Sample 3 230 5 472 2 Sample 1 349 4 304 1 c6 Sample 2 169 2% 401 2 4 Sample 3 354 2 479 1 Transcript 1S9 3 348 1 d6 sample two 227 2 9 328 2 4 sample three 223 4 326 1 sample one 189 3 348 1 s6 sample two 227 2 9 328 2 4 copy three 223 4 326 1 copy one 113 7 126 6 d8 Sample 2 92 8 20 156 8 16 Transcript 3 124 5 199 2 Sample 1 131 6 194 1 s8 Sample 2 105 5 17 350 6 8 Sample 3 174 6 332 1 Table 2 · Experimental results (a $ -0.5) mill Page 17 丨 Supplement I Schematic description of the first picture: the traditional printed electricity, the anti-family area: 50mm X 40mm second picture: BGA substrate, field of view: & mm X 20mm second picture: common printing Circuit handle line protruding (C) Open circuit (d) t = Type of heavy defect: (a) Notch (b) Order decomposition procedure 4th figure: Two-dimensional wavelet transforms are much more Fifth figure: 7: Γ The graph passes through two-dimensional wavelets Transformed results (J = 2, wavelet 2 1 '· (a) X —b〇x " Figure (b) is transformed by two-dimensional wavelet The second /, Kh-BGA substrate circuit edge map results after two-dimensional wavelet transformation J 2, wavelet base: d4): (a) BGA substrate circuit edge map (b) results of each layer after two-dimensional wavelet transformation Figure 7: An example of calculating the two-dimensional wavelet grouping energy: ((a)-(g)) Figure \ Experimental sample of a real BGA substrate (already marginalized) (a) Sample 1 (b) Sample (C) Sample three

第18頁Page 18

Claims (1)

六、申請專利範圍 一 〜 !· I種利用二維小波轉換(2—D Wavelet Transform)檢測 P刷電路板缺口(M〇usebite)、線路突出(SpUr)、斷路 (Open)與短路(Sh〇rt)等線路瑕疵之方法,包含: 求出2 ^電路板影像每一像素點在第一階與第二階之二維 小量和二維小波群聚能量;以及 :介每像素點之第一階與第二階的二維小波群聚能量比 2·如申請專利範圍第丨項之方法,進一步地包含: 使用之二維小波為C〇if lets小波,其支援長度為6。 3·如申請專利範圍第丨項之方法,進一步地包含·· 像素點(X,y)在第」·階之二維小波能量(WM]· (χ,以j評估為· 侧奴 y) = yP7+|^(x, y) I2 小波係 小波係 2(x,y):像素點(x,y)在第j階細節垂直部份的二維 = (x,y)··像素點(x,y)在第j階細節水平部份的二維 4·如申請專利範圍第丨項之方法,其中像 階之二維小波群聚能量(WNj(x,y))評估為/、 x,y)在第] WNj(x,y)=全 WMj(x Ά 550391 讼4· 30修正 年月日/ 補充 六、申請專利範圍 其中nl與n2為群聚範圍中影響像素點(X,y)二維小波群聚 能量之像素點編號。 ♦ 5.如申請專利範圍第1項之方法,像素點(X,y)第一階與第 二階之二維小波群聚能量比值(α )評估為: +ι WNl(x,y) WN2(k, y) 6.如申請專利範圍第5項之方法,進一步地包含: 若像素點(X,y)之二維小波群聚能量比值小於零,則其可 能為一缺口、線路突出、斷路或短路等瑕疵像素。Sixth, the scope of patent application 1 ~! I use two-dimensional wavelet transform (2-D Wavelet Transform) to detect P brush circuit board gap (Mousebite), line protrusion (SpUr), open (Open) and short circuit (Sh. rt) and other circuit defects, including: finding the two-dimensional small amount and two-dimensional wavelet grouping energy of each pixel of the 2 ^ circuit board image at the first and second orders; and: The two-dimensional wavelet grouping energy ratio of the first order and the second order 2. The method according to item 丨 of the patent application range further includes: The two-dimensional wavelet used is a Coif lets wavelet, and its support length is 6. 3. The method according to item 丨 of the scope of patent application, which further includes the two-dimensional wavelet energy (WM) of the pixel point (X, y) in the "" th order "(χ, with j as the side slave y) = yP7 + | ^ (x, y) I2 wavelet system wavelet system 2 (x, y): 2D of the vertical part of the pixel (x, y) in the j-th order detail = (x, y) ·· pixel ( x, y) 2D at the level of detail of the jth order 4. The method of item 丨 in the scope of patent application, where the two-dimensional wavelet grouping energy (WNj (x, y)) of the image order is evaluated as /, x , Y) in the first] WNj (x, y) = full WMj (x Ά 550391 lawsuit 4.30 amendment date / supplementary six, the scope of the patent application where nl and n2 are the affected pixels in the clustering range (X, y ) Number of pixel points for two-dimensional wavelet grouping energy. ♦ 5. If the method of the first item in the scope of the patent application, the pixel point (X, y) first-order and second-order two-dimensional wavelet grouping energy ratio (α) The evaluation is: + ι WNl (x, y) WN2 (k, y) 6. As the method of the scope of patent application No. 5 further includes: if the two-dimensional wavelet grouping energy ratio of the pixel (X, y) is less than Zero, it may be a gap, line And other out, open or shorted defective pixels. 第20頁Page 20
TW90133054A 2001-12-31 2001-12-31 Inspecting the defects on the conducting paths of printed circuit board (PCB) by using 2-D wavelet transform TW550391B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW90133054A TW550391B (en) 2001-12-31 2001-12-31 Inspecting the defects on the conducting paths of printed circuit board (PCB) by using 2-D wavelet transform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW90133054A TW550391B (en) 2001-12-31 2001-12-31 Inspecting the defects on the conducting paths of printed circuit board (PCB) by using 2-D wavelet transform

Publications (1)

Publication Number Publication Date
TW550391B true TW550391B (en) 2003-09-01

Family

ID=31713452

Family Applications (1)

Application Number Title Priority Date Filing Date
TW90133054A TW550391B (en) 2001-12-31 2001-12-31 Inspecting the defects on the conducting paths of printed circuit board (PCB) by using 2-D wavelet transform

Country Status (1)

Country Link
TW (1) TW550391B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10489687B2 (en) 2016-11-23 2019-11-26 Industrial Technology Research Institute Classification method, classification module and computer program product using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10489687B2 (en) 2016-11-23 2019-11-26 Industrial Technology Research Institute Classification method, classification module and computer program product using the same

Similar Documents

Publication Publication Date Title
US8810646B2 (en) Focus offset contamination inspection
TW202001798A (en) Optical inspection method, optical inspection device and optical inspection system
Mahalingam et al. Pcb-metal: A pcb image dataset for advanced computer vision machine learning component analysis
CN108520514B (en) Consistency detection method for electronic elements of printed circuit board based on computer vision
JPS60215286A (en) Method and apparatus for optoelectronic inspection of surface pattern of object
TWI734720B (en) System and method for wafer inspection
JP4617970B2 (en) Defect inspection apparatus and defect inspection method
Wu et al. An end-to-end learning method for industrial defect detection
Yeh et al. A wavelet-based approach in detecting visual defects on semiconductor wafer dies
TW550391B (en) Inspecting the defects on the conducting paths of printed circuit board (PCB) by using 2-D wavelet transform
CN103514445B (en) Strip steel surface defect identification method based on multiple manifold study
JP4479877B2 (en) Defect inspection method by image recognition
TW471016B (en) Defect detection using gray level signatures
TWM443849U (en) Optical defect detection device
Cao et al. Balanced multi-scale target score network for ceramic tile surface defect detection
IL148828A (en) Morphological tracking method
Lu et al. A new grinding surface roughness measurement method based on image quality algorithm and BP neural network
Wu et al. A surface defect detection method based on multi-feature fusion
CN114758158A (en) Quality inspection method and system for PCB
JP2006190844A (en) Method for discriminating common defect among substrates
Heasler et al. Statistically based reevaluation of PISC-II round robin test data
Li et al. A novel method for necking detection and measurement in automotive sheet metal components
JP7195977B2 (en) Board inspection device, board inspection method, and program
Li et al. A Logit Adjusting Transformer for Class Imbalance in Surface Defect Recognition
Wei et al. Research of express box defect detection based on machine vision

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees