TWI761651B - Optical inspection system and method with high information - Google Patents
Optical inspection system and method with high information Download PDFInfo
- Publication number
- TWI761651B TWI761651B TW107147806A TW107147806A TWI761651B TW I761651 B TWI761651 B TW I761651B TW 107147806 A TW107147806 A TW 107147806A TW 107147806 A TW107147806 A TW 107147806A TW I761651 B TWI761651 B TW I761651B
- Authority
- TW
- Taiwan
- Prior art keywords
- image
- color
- calibration
- detection
- light source
- Prior art date
Links
Images
Landscapes
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Abstract
本發明提供一種具有高度資訊之光學檢測系統與方法,該方法包含:啟動不同顏色之光源裝置照射一平台所承載之一校正片,並從該校正片拍攝一校正影像;記錄該校正影像之顏色分佈;啟動不同顏色之光源裝置照射該平台所承載之一待檢測物,並從該待檢測物拍攝一檢測影像;計算該檢測影像之顏色分佈;比對該校正影像與該檢測影像之顏色分佈,若兩者之顏色分佈至少一部份不一致,則記錄該待檢測物具有高度資訊之瑕疵;以及轉換該檢測影像中與該校正影像之顏色分佈一致的部份為一預設顏色,並儲存該轉換的檢測影像用於後續複檢該待檢測物之瑕疵。 The present invention provides an optical detection system and method with height information. The method includes: activating light source devices of different colors to illuminate a calibration sheet carried on a platform, and shooting a calibration image from the calibration sheet; recording the color of the calibration image distribution; activate light source devices of different colors to illuminate an object to be detected carried by the platform, and shoot a detection image from the object to be detected; calculate the color distribution of the detected image; compare the color distribution of the corrected image and the detected image , if at least a part of the color distribution of the two is inconsistent, record the defect that the object to be inspected has height information; and convert the part of the inspection image that is consistent with the color distribution of the calibration image into a preset color, and store The converted inspection image is used for subsequent re-inspection of the object to be inspected for defects.
Description
本發明是關於一種光學檢測系統與方法,特別是,本發明是一種藉由不同顏色之光源裝置照射一待檢測物以獲得高度資訊之光學檢測系統與方法。 The present invention relates to an optical detection system and method, in particular, the present invention relates to an optical detection system and method for illuminating an object to be detected by light source devices of different colors to obtain height information.
請同時參考第一圖與第二圖,分別顯示習知光學檢測系統之系統架構圖與系統方塊圖。習知光學檢測系統包含:一影像拍攝系統以及一光源裝置,該影像拍攝系統從一平台2所承載的一待檢測物1上界定一拍攝光軸18,以拍攝一檢測影像,其中該待檢測物1以電路板為例,在其表面上可分布複數個零件或其佈線,該影像拍攝系統包括:一具有鏡頭12之相機11,該相機11定義該拍攝光軸18;以及一偏光鏡13,配置於該相機11的拍攝光軸18以濾掉雜散光源。該光源裝置照射該待檢測物1的檢測面,以讓待檢測物1的瑕疵與缺陷可以顯現於該檢測影像中。該光源裝置包含:一分光鏡14,配置於該相機1的拍攝光軸18;一正光源15,搭配該分光鏡14以提供該待檢測物1的正光源供相機11拍攝取像;以及,一左側光源17與一右側光源16,從旁提供待檢測物1的拍攝輔助光。習知光學檢測系統利用該檢測影像決定該待檢測物1為OK件(表示無瑕疵存在)或NG件(表示有瑕疵存在),以便於後續作業人員在瑕疵覆檢程序中,藉由白光照射NG件進行人眼辨識瑕疵的狀況。
Please refer to the first figure and the second figure at the same time, which show a system structure diagram and a system block diagram of a conventional optical detection system, respectively. The conventional optical inspection system includes: an image capturing system and a light source device. The image capturing system defines a capturing
在習知光學檢測系統中,待檢測物1上高度的差異是一般光學系統無法得到資訊,常常必須使用可量測高度差異的設備,去檢測得知高度的變化程度,也因此會增加習知光學檢測系統的成本。 In the conventional optical detection system, the height difference of the object to be detected 1 cannot be obtained by the general optical system, and equipment that can measure the height difference is often used to detect the degree of change in height, which increases the knowledge of the conventional optical system. Cost of optical inspection systems.
待檢測物1的高度檢測手段可搭配不同的光學系統去量測,一種常見的手段會以不同顏色的光源去打光在待檢測物1上,藉由檢測影像顯現不同的顏色反射,以產生高度差的資訊。但也因為如此,得到的檢測影像不是真實人眼看到的白光照射的反應,直接的非白光照射所得到的影像,雖然可以呈現高度的變化,但該影像卻不利於後續的人眼辨識輔以白光照射的瑕疵覆檢程序。 The height detection method of the object to be detected 1 can be measured with different optical systems. A common method is to illuminate the object to be detected 1 with light sources of different colors, and the detection images show different color reflections to generate height difference information. But also because of this, the obtained detection image is not the response of white light irradiation seen by real human eyes. Although the image obtained by direct non-white light irradiation can show a high degree of change, the image is not conducive to subsequent human eye recognition. Defect review procedure for white light exposure.
依先前技術,雖然可以得到待檢測物1的高度變化差異,但也因為光源裝置使用非白光的顏色,所以檢測影像整體的呈現與實際白光照射的結果會有差異。但光源裝置如果只是用白光,又看不出待檢測物1的高度差異變化,且單純用同色光源去照射高度有差異的料號,可能會看到料號有陰影的現象,但此現象是因為高度差異所造成,還是原本是黑色的髒污所影響,使先前技術無法辨識。因此,依先前技術的高度檢測,待檢測物1並非存在高度資訊即表示瑕疵,導致後續瑕疵覆檢程序可能因待檢測物1原有的零件或IC在檢測影像中產生高度資訊而重複檢查。 According to the prior art, although the height variation difference of the object to be detected 1 can be obtained, because the light source device uses non-white light color, the overall appearance of the detected image will be different from the actual white light irradiation result. However, if the light source device only uses white light, the height difference change of the object to be detected 1 cannot be seen, and the same color light source is used to illuminate the item numbers with different heights, and the phenomenon of shadows on the item numbers may be seen, but this phenomenon is Due to the difference in height, it is also caused by the original black dirt, which cannot be recognized by the prior art. Therefore, according to the height detection of the prior art, the absence of height information on the object to be inspected 1 indicates a defect, and the subsequent defect review process may repeat inspections due to the original parts or IC of the object to be inspected 1 generating height information in the inspection image.
有鑑於先前技術所存在的問題與應用上的需求,本發明的目的之一在於提供一種使用多角度多顏色的對稱光源獲得高度資訊之光學檢測系統與方法。 In view of the problems and application requirements of the prior art, one of the objectives of the present invention is to provide an optical detection system and method for obtaining height information by using a multi-angle multi-color symmetrical light source.
本發明的目的之一在於提供一種使用多角度多顏色的光 源,將檢測影像中無瑕疵的高度資訊轉換為一預設顏色之光學檢測系統與方法,以便於後續作業人員基於轉換的檢測影像,對NG件輔以光源進行瑕疵覆檢程序。 One of the objects of the present invention is to provide a multi-angle multi-color light The source is an optical inspection system and method that converts flawless height information in the inspection image into a preset color, so that subsequent operators can perform defect review procedures on NG parts supplemented by a light source based on the converted inspection image.
為實現本發明之上述目的之一,本發明提出一種具有高度資訊之光學檢測系統,包含:一平台,用以承載一待檢測物;一影像拍攝系統,在該待檢測物上界定一拍攝光軸,以拍攝一檢測影像;以及一光源裝置,包含複數個不同顏色的光源,該等不同顏色的光源照射該待檢測物;其中,該等不同顏色的光源至少分為兩群光源,分別配置於該拍攝光軸的兩側,藉由該群光源的配置,以賦予該檢測影像包含該待檢測物的高度資訊。 In order to achieve one of the above-mentioned objects of the present invention, the present invention provides an optical detection system with high-level information, comprising: a platform for carrying an object to be detected; an image capturing system for defining a photographing light on the object to be detected an axis to capture a detection image; and a light source device including a plurality of light sources of different colors, and the light sources of different colors illuminate the object to be detected; wherein, the light sources of different colors are at least divided into two groups of light sources, which are respectively arranged On both sides of the photographing optical axis, the detection image is provided with height information of the object to be detected by the configuration of the group of light sources.
其中,該平台用以承載一校正片,且該等不同顏色的光源照射該校正片,使該影像拍攝系統在該校正片上拍攝一校正影像,且該校正影像用以決定一校正參數。 Wherein, the platform is used to carry a calibration sheet, and the light sources of different colors illuminate the calibration sheet, so that the image capturing system shoots a calibration image on the calibration sheet, and the calibration image is used to determine a calibration parameter.
其中,該校正參數用以將該檢測影像中無瑕疵的高度資訊的區域之顏色校正為白色,且該檢測影像的顏色分佈包含與該校正影像之顏色分佈不一致的部份,以及白色。 Wherein, the calibration parameter is used for correcting the color of the region with flawless height information in the inspection image to white, and the color distribution of the inspection image includes the part inconsistent with the color distribution of the calibration image and white.
為實現本發明之上述目的之一,本發明提出一種具有高度資訊之光學檢測方法,包含:啟動不同顏色之光源裝置照射一平台所承載之一校正片,並從該校正片拍攝一校正影像;記錄該校正影像之顏色分佈;啟動不同顏色之光源裝置照射該平台所承載之一待檢測物,並從該待檢測物拍攝一檢測影像;計算該檢測影像之顏色分佈;比對該校正影像與該檢測影像之顏色分佈,若兩者之顏色分佈至少一部份不一致,則記錄該待檢 測物具有高度資訊之瑕疵;以及轉換該檢測影像中與該校正影像之顏色分佈一致的部份為一預設顏色,並儲存該轉換的檢測影像用於後續複檢該待檢測物之瑕疵。 In order to achieve one of the above objects of the present invention, the present invention provides an optical detection method with height information, comprising: activating light source devices of different colors to illuminate a calibration sheet carried on a platform, and shooting a calibration image from the calibration sheet; Record the color distribution of the corrected image; activate light source devices of different colors to illuminate an object to be inspected carried by the platform, and shoot a detected image from the object to be inspected; calculate the color distribution of the detected image; compare the corrected image with The color distribution of the detected image, if at least a part of the color distribution of the two is inconsistent, record the to-be-detected The test object has defects of height information; and the part of the inspection image that is consistent with the color distribution of the calibration image is converted into a preset color, and the converted inspection image is stored for subsequent re-inspection of the defects of the object to be inspected.
其中本發明更包括:設定至少一檢測區之參數;根據該檢測區之參數,比對該校正影像與該檢測影像之顏色分佈;根據該檢測區之參數,記錄該校正影像之一校正參數;以及,根據該檢測區之參數與該校正參數,轉換該檢測影像中與該校正影像之顏色分佈一致的部份為該預設顏色。 The present invention further comprises: setting parameters of at least one detection area; comparing the color distribution of the calibration image and the detection image according to the parameters of the detection area; recording a calibration parameter of the calibration image according to the parameters of the detection area; And, according to the parameter of the detection area and the calibration parameter, the part of the detection image that is consistent with the color distribution of the calibration image is converted into the preset color.
其中本發明更包括:設定一色差門檻值;以及若該校正影像與該檢測影像之顏色分佈的色差超過該色差門檻值,則判定兩者之顏色分佈至少一部份不一致。 The present invention further comprises: setting a color difference threshold; and if the color difference of the color distribution of the correction image and the detection image exceeds the color difference threshold, determining that the color distributions of the two are at least partially inconsistent.
其中,該校正影像之顏色分佈包含全平面資訊或零件之高度資訊,且該轉換的檢測影像的顏色分佈包含與該校正影像之顏色分佈不一致的部份,以及該預設顏色,而該預設顏色較佳為白色,以利於瑕疵覆檢程序輔以白光檢查待檢測物。 Wherein, the color distribution of the calibration image includes full plane information or height information of parts, and the color distribution of the converted inspection image includes the part inconsistent with the color distribution of the calibration image, and the preset color, and the preset color distribution The color is preferably white, so as to facilitate the defect review process and white light to inspect the object to be inspected.
根據本發明所實施的具有高度資訊之光學檢測系統與方法,在檢測影像得到高度差異的顏色分布後,將無瑕疵的高度資訊轉換為白光,而保留與校正影像不一致之顏色分佈,讓後續作業人員輔以白光進行瑕疵覆檢程序可便於確認高度資訊是否為瑕疵,且除瑕疵高度檢查外,同時檢查確認,如刮傷,偏位等缺陷。 According to the optical detection system and method with height information implemented in the present invention, after detecting the image to obtain the color distribution of the height difference, the flawless height information is converted into white light, and the color distribution inconsistent with the corrected image is retained for subsequent operations. Personnel supplemented by white light to carry out the defect review process can easily confirm whether the height information is a defect.
1‧‧‧待檢測物 1‧‧‧Object to be tested
2‧‧‧移動平台 2‧‧‧Mobile Platform
11‧‧‧相機 11‧‧‧Camera
12‧‧‧鏡頭 12‧‧‧Lens
13‧‧‧偏光鏡 13‧‧‧Polarizer
14‧‧‧分光鏡 14‧‧‧Beamsplitter
15‧‧‧正光源 15‧‧‧Positive light source
16‧‧‧右側光源 16‧‧‧Light source on the right
17‧‧‧左側光源 17‧‧‧Left light source
18‧‧‧拍攝光軸 18‧‧‧Shooting optical axis
21‧‧‧左側R光源 21‧‧‧R light source on the left
22‧‧‧右側R光源 22‧‧‧R light source on the right
31‧‧‧左側G光源 31‧‧‧Left G light source
32‧‧‧右側G光源 32‧‧‧Right G light source
41‧‧‧左側B光源 41‧‧‧Left B light source
42‧‧‧右側B光源 42‧‧‧B light source on the right
100‧‧‧檢測校正方法 100‧‧‧Detection and correction method
200‧‧‧光學檢測方法 200‧‧‧Optical detection methods
101~107‧‧‧步驟 101~107‧‧‧Steps
201~214‧‧‧步驟 201~214‧‧‧Steps
A、B、B’‧‧‧區域 A, B, B’‧‧‧ area
第一圖是習知光學檢測系統之系統架構圖。 The first figure is a system architecture diagram of a conventional optical detection system.
第二圖是習知光學檢測系統之系統方塊圖。 The second figure is a system block diagram of a conventional optical detection system.
第三A圖是本發明光學檢測系統第一實施例之系統架構圖。 Figure 3 A is a system architecture diagram of the first embodiment of the optical detection system of the present invention.
第三B圖是本發明光學檢測系統第二實施例之系統架構圖。 Figure 3 B is a system architecture diagram of the second embodiment of the optical detection system of the present invention.
第三C圖是本發明光學檢測系統第三實施例之系統架構圖。 The third diagram C is a system architecture diagram of the third embodiment of the optical detection system of the present invention.
第三D圖是本發明光學檢測系統第四實施例之系統架構圖。 Figure 3 D is a system architecture diagram of the fourth embodiment of the optical detection system of the present invention.
第四圖是本發明光學檢測系統之校正流程圖。 The fourth figure is the calibration flow chart of the optical detection system of the present invention.
第五圖是本發明光學檢測系統之檢測流程圖。 The fifth figure is the detection flow chart of the optical detection system of the present invention.
第六A圖是本發明系統使用多角度多顏色的對稱光源之校正影像示意圖。 FIG. 6A is a schematic diagram of a calibration image of the system of the present invention using a multi-angle and multi-color symmetrical light source.
第六B圖是本發明系統使用多角度多顏色的對稱光源之檢測影像示意圖。 FIG. 6B is a schematic diagram of a detection image of the system of the present invention using symmetrical light sources with multiple angles and colors.
第六C圖是本發明系統將檢測影像中無瑕疵的高度資訊轉換為白色之檢測影像示意圖。 The sixth figure C is a schematic diagram of the detection image in which the system of the present invention converts the flawless height information in the detection image into white.
首先請參考第三A圖,係顯示本發明光學檢測系統第一實施例之系統架構圖。在第一實施例中,本發明光學檢測系統包含一平台2;一影像拍攝系統以及一光源裝置,其中該平台2用以承載一待檢測物1或一校正片,而該校正片可視為無瑕疵狀況之待檢測物1。本發明影像拍攝系統包括:一具有鏡頭12之相機11,該相機11從該平台2所承載的待檢測物1上界定一拍攝光軸18,以拍攝一檢測影像;以及一偏光鏡13,配置於該相機11的拍攝光軸18以濾掉雜散光源。該光源裝置配置以照射該待檢測物1的檢測面,讓待檢測物1的瑕疵與缺陷可以顯現於該相機11所拍攝的檢測影像中。
First, please refer to FIG. 3 A, which shows a system structure diagram of the first embodiment of the optical detection system of the present invention. In the first embodiment, the optical detection system of the present invention includes a
在此第一實施例中,本發明光源裝置,包含:左側群光源(左側R光源21、左側G光源31與左側B光源41);以及,右側群光源(右側R光源22、右側G光源32與右側B光源42),其中,R、G、B分別表示紅色、綠色與藍色。本發明光源裝置使用多角度多顏色的兩群對稱光源,係在影像拍攝系統之拍攝光軸18之兩側配置以相同數量的光源,但夾角位置與顏色可以不一樣。其中,在影像拍攝系統之拍攝光軸18之一側配置以左側R光源21、左側G光源31與左側B光源41等左側群光源,且各色左側光源21、31、41的照射角度分別與該拍攝光軸18或該待檢測物1的檢測面之間具有不同的夾角,例如各色光源的夾角彼此相差5度;並在影像拍攝系統之拍攝光軸18之另一側對稱配置以右側R光源22、右側G光源32與右側B光源42等右側群光源,且各色右側光源22、32、42的照射角度分別對稱於各色左側光源21、31、41的照射角度。
In this first embodiment, the light source device of the present invention includes: left group light sources (left R
當本發明光學檢測系統啟動第一實施例所配置不同顏色之光源21、22、31、32、41、42共同照射平台2所承載之一校正片時,影像拍攝系統可從該校正片拍攝一校正影像,其中該校正片可視為無瑕疵狀況之待檢測物1。因此本發明光學檢測系統可從校正影像獲得無瑕疵狀況之顏色分佈,並加以儲存記錄。之後,當本發明光學檢測系統啟動第一實施例所配置不同顏色之光源21、22、31、32、41、42共同照射平台2所承載之一待檢測物1時,影像拍攝系統可從該待檢測物1拍攝一檢測影像。本發明光學檢測系統計算該檢測影像之顏色分佈,並比對該校正影像與該檢測影像之顏色分佈,若兩者之顏色分佈至少一部份不一致,則記錄該待檢測物1具有高度資訊之瑕疵,認定為NG件;若兩者之顏色分佈一致,則記錄該待檢測
物1無瑕疵狀況,認定為OK件。本發明光學檢測系統對NG件的檢測影像將無瑕疵的高度資訊轉換為白光,而保留與校正影像不一致之顏色分佈,讓後續作業人員根據轉換的檢測影像,輔以白光對NG件進行瑕疵覆檢程序可便於確認高度資訊是否為瑕疵狀況。
When the optical detection system of the present invention activates the
請參考第三B圖,係顯示本發明光學檢測系統第二實施例之系統架構圖。在第二實施例中,本發明光學檢測系統的平台2與影像拍攝系統相同於第一實施例的平台2與影像拍攝系統,但光源裝置不同於第一實施例的光源裝置的對稱方式。在此第二實施例中,本發明光源裝置,包含:左側群光源(左側R光源21、左側G光源31與左側B光源41);以及,右側群光源(右側R光源22、右側G光源32與右側B光源42)。本發明光源裝置使用多角度多顏色的兩群對稱光源,係在影像拍攝系統之拍攝光軸18之兩側配置以相同數量的光源,但夾角位置與顏色可以不一樣。其中,在影像拍攝系統之拍攝光軸18之一側配置以左側R光源21、左側G光源31與左側B光源41等左側群光源,且各色左側光源21、31、41的照射角度分別與該拍攝光軸18或該待檢測物1的檢測面之間具有不同的夾角;並在影像拍攝系統之拍攝光軸18之另一側對稱配置以右側R光源22、右側G光源32與右側B光源42等右側群光源,但各色右側光源22、32、42的照射角度分別對稱於各色左側光源31、21、41的照射角度。換言之,第一實施例與第二實施例的左側R光源21與左側G光源31在位置上對調。
Please refer to FIG. 3 B, which shows a system structure diagram of the second embodiment of the optical detection system of the present invention. In the second embodiment, the
在第二實施例中,本發明光學檢測系統啟動不同顏色之光源共同照射平台2所承載之一校正片或一待檢測物,以拍攝一校正影像或一檢測影像並藉以比對兩者之顏色分佈來決定該待檢測物是否為NG件的運作
方式,係相同於第一實施例所示的光學檢測系統。
In the second embodiment, the optical inspection system of the present invention activates light sources of different colors to jointly illuminate a calibration sheet or an object to be inspected carried on the
請參考第三C圖,係顯示本發明光學檢測系統第三實施例之系統架構圖。在第三實施例中,本發明光學檢測系統的平台2與影像拍攝系統相同於第一實施例的平台2與影像拍攝系統,但光源裝置不同於第一實施例的光源裝置的對稱方式。在此第三實施例中,本發明光源裝置,包含:左側群光源(左側R光源21與左側G光源31);以及,右側群光源(右側R光源22與右側G光源32)。本發明光源裝置使用多角度多顏色的兩群對稱光源,係在影像拍攝系統之拍攝光軸18之兩側配置以相同數量的光源,但夾角位置與顏色可以不一樣。其中,在影像拍攝系統之拍攝光軸18之一側配置以左側R光源21與左側G光源31等左側群光源,且各色左側光源21、31的照射角度分別與該拍攝光軸18或該待檢測物1的檢測面之間具有不同的夾角;並在影像拍攝系統之拍攝光軸18之另一側對稱配置以右側R光源22與右側G光源32等右側群光源,但各色右側光源22、32的照射角度分別對稱於各色左側光源21、31的照射角度。換言之,第三實施例與第一實施例的差異在於未使用左側B光源41與右側B光源42。
Please refer to FIG. 3 C, which shows a system structure diagram of the third embodiment of the optical detection system of the present invention. In the third embodiment, the
在第三實施例中,本發明光學檢測系統啟動不同顏色之光源共同照射平台2所承載之一校正片或一待檢測物,以拍攝一校正影像或一檢測影像並藉以比對兩者之顏色分佈來決定該待檢測物是否為NG件的運作方式,係相同於第一實施例所示的光學檢測系統。
In the third embodiment, the optical inspection system of the present invention activates light sources of different colors to jointly illuminate a calibration sheet or an object to be inspected carried on the
請參考第三D圖,係顯示本發明光學檢測系統第四實施例之系統架構圖。在第四實施例中,本發明光學檢測系統的平台2與影像拍攝系統相同於第一實施例的平台2與影像拍攝系統,但光源裝置不同於第一實施
例的光源裝置的對稱方式。在此第四實施例中,本發明光源裝置,包含:左側群光源(左側R光源21與左側G光源31);以及,右側群光源(右側G光源32與右側B光源42)。本發明光源裝置使用多角度多顏色的兩群對稱光源,係在影像拍攝系統之拍攝光軸18之兩側配置以相同數量的光源,但夾角位置與顏色可以不一樣。其中,在影像拍攝系統之拍攝光軸18之一側配置以左側R光源21與左側G光源31等左側群光源,且各色左側光源21、31的照射角度分別與該拍攝光軸18或該待檢測物1的檢測面之間具有不同的夾角;並在影像拍攝系統之拍攝光軸18之另一側對稱配置以右側G光源32與右側B光源42等右側群光源,但各色右側光源32、42的照射角度分別對稱於各色左側光源31、21的照射角度。換言之,第四實施例與第一實施例的差異在於未使用左側B光源41與右側R光源22,且拍攝光軸18之兩側配置不同顏色的光源組合。
Please refer to FIG. 3 D, which shows a system structure diagram of the fourth embodiment of the optical detection system of the present invention. In the fourth embodiment, the
在第四實施例中,本發明光學檢測系統啟動不同顏色之光源共同照射平台2所承載之一校正片或一待檢測物,以拍攝一校正影像或一檢測影像並藉以比對兩者之顏色分佈來決定該待檢測物是否為NG件的運作方式,係相同於第一實施例所示的光學檢測系統。
In the fourth embodiment, the optical inspection system of the present invention activates light sources of different colors to jointly illuminate a calibration sheet or an object to be inspected carried on the
根據本發明的各種實施例,光源裝置不限於顏色排列與光源數量,重點是不同顏色依照不同角度去排列,本發明系統可獲得不同顏色對應到的瑕疵翹曲的角度高低。相較於第三與第四實施例,本發明第一與第二實施例的光學檢測系統使用較多數量的光源,因此第一與第二實施例所獲得的校正影像與檢測影像在高度資訊的精準度比第三與第四實施例所獲得的校正影像與檢測影像為高。相較於第一與第三實施例,本發明第二
與第四實施例的光學檢測系統在拍攝光軸18之兩側配置不同顏色的光源組合,因此第二與第四實施例所獲得的校正影像與檢測影像可以分辨到底是左邊高度有缺陷還是右側高度造成的缺陷,因為左右兩側的光源顏色不同,又可以多得到瑕疵翹曲位置的資訊,如第三D圖所示,左邊翹曲在檢測影像會反射出紅光,右邊翹曲在檢測影像會反射出藍光。
According to various embodiments of the present invention, the light source device is not limited to the arrangement of colors and the number of light sources. The key point is that different colors are arranged according to different angles. Compared with the third and fourth embodiments, the optical detection systems of the first and second embodiments of the present invention use a larger number of light sources, so the corrected images and the detected images obtained in the first and second embodiments have height information. The accuracy is higher than the calibration images and detection images obtained in the third and fourth embodiments. Compared with the first and third embodiments, the second embodiment of the present invention
In combination with the optical inspection system of the fourth embodiment, light sources of different colors are arranged on both sides of the photographing
請參考第四圖,顯示本發明光學檢測系統之校正流程圖。在本發明前述實施例中,對待檢測物1進行瑕疵檢測前,本發明光學檢測系統需先執行檢測校正方法100或校正流程,以獲得必要的校正參數。如第四圖所示本發明光學檢測系統之檢測校正方法100或校正流程包含以下步驟:步驟101:放置一校正片至平台2,其中該校正片可為一無瑕疵狀況之待檢測物,或一全平面(表示無高度資訊)之校正片。步驟102:啟動包含不同顏色之光源裝置照射該平台2所承載的校正片。步驟103:本發明影像拍攝系統掃描拍攝該平台2所承載之該校正片,若校正片的面積超過相機11的取像範圍,在本發明進一步的實施例中,該平台2為一移動平台,可在一往復方向上運動,俾使本發明影像拍攝系統掃描拍攝該校正片的全部面積。步驟104:執行完步驟103,本發明光學檢測系統可獲得一校正影像。步驟105:本發明光學檢測系統計算該校正影像的顏色分布。步驟106:本發明光學檢測系統轉換無瑕疵高度資訊之顏色為一預設顏色,較佳為白色,在不同實施例中,本發明轉換全平面的顏色為白色,或將正常的高度畫面顏色轉換成一般白光的自然色或是使用者需要的單色光;以及步驟107:本發明光學檢測系統記錄校正參數,該校正參數包含檢測位置座標、命名、規格與顏色分布參數等。
Please refer to FIG. 4 , which shows the calibration flow chart of the optical detection system of the present invention. In the aforementioned embodiments of the present invention, before performing flaw detection on the
在本發明不同實施例中,校正片的不同位置可能因不同材料受不同顏色光源的照射而呈現差異。因此,校正片即使是平面無高度資訊受不同顏色光源的照射所反射的顏色也未必一致,所以本發明除了記錄校正影像的顏色分布,並計算顏色分布與白色的色差參數,加以記錄。一般來說,本發明系統執行第四圖的校正流程,是為了設備出廠前作調整參數,以記錄校正參數。在本發明不同實施例中,若待檢測物的高低起伏比較均勻,則校正流程可使用全平面(表示無高度資訊)之校正片來記錄校正參數當參考,而在進行檢測流程時,起伏均勻的程度可藉由編輯檢測參數來定義,以調整顏色比對的靈敏度。若待檢測物的高低起伏有些特點無法用平坦校正片來表達,則可選用一片OK件的待檢測物當校正片來記錄校正參數當參考,以便於後續檢測流程經檢測參數編輯位置的框選後,再實際與待檢測物的檢測影像作比對。以下進一步說明本發明光學檢測系統之檢測流程。 In different embodiments of the present invention, different positions of the calibration sheet may be different because different materials are illuminated by light sources of different colors. Therefore, even if the calibration sheet is flat without height information, the colors reflected by different color light sources may not be the same. Therefore, the present invention not only records the color distribution of the calibration image, but also calculates and records the color difference parameters between the color distribution and white. Generally speaking, the system of the present invention executes the calibration process shown in Fig. 4 in order to adjust the parameters before the equipment leaves the factory, so as to record the calibration parameters. In different embodiments of the present invention, if the height fluctuation of the object to be detected is relatively uniform, the calibration process can use a full-plane (indicating no height information) calibration sheet to record the calibration parameters for reference, and during the detection process, the fluctuation is uniform The degree of color matching can be defined by editing the detection parameters to adjust the sensitivity of color matching. If the fluctuation of the object to be detected has some characteristics that cannot be expressed by the flat calibration sheet, a piece of the object to be detected of an OK piece can be used as the calibration sheet to record the calibration parameters as a reference, so that the subsequent detection process can be edited by the frame selection of the detection parameters. Then, it is actually compared with the detection image of the object to be detected. The detection process of the optical detection system of the present invention is further described below.
請參考第五圖,顯示本發明光學檢測系統之檢測流程圖。在本發明前述實施例中,本發明光學檢測系統之光學檢測方法200或檢測流程包含以下步驟:步驟201:放置一待檢測物1至平台2。步驟202:編輯檢測參數,編輯設定該待檢測物1欲進行瑕疵檢測之檢測區包含:位置座標、框選尺寸定義、命名與規格等參數。步驟203:啟動包含不同顏色之光源裝置照射該平台2所承載的待檢測物1,此步驟203與校正流程的步驟102使用相同的光源配置與組合。步驟204:本發明影像拍攝系統掃描拍攝該平台2所承載之該待檢測物1,若待檢測物的面積超過相機11的取像範圍,在本發明進一步的實施例中,該平台2為一移動平台,可在一往復方向上運動,俾使本
發明影像拍攝系統掃描拍攝該待檢測物的全部面積。步驟205:執行完步驟204,本發明光學檢測系統可獲得一檢測影像。
Please refer to FIG. 5, which shows the detection flow chart of the optical detection system of the present invention. In the aforementioned embodiments of the present invention, the
接著,步驟206:根據步驟202所設定檢測參數,本發明光學檢測系統計算每一檢測區的顏色分布。步驟207:本發明光學檢測系統比對校正影像與檢測影像對應檢測區的顏色是否一致,若所有對應檢測區的兩者顏色一致,則執行步驟208,若有任一對應檢測區的兩者顏色不一致,則執行步驟210。步驟208:當比對校正影像與檢測影像所有對應檢測區的顏色為一致時,本發明光學檢測系統判定該待檢測物為OK件,即該待檢測物無瑕疵狀況。步驟209:本發明光學檢測系統記錄該待檢測物為OK件,即完成待檢測物的OK件檢測流程。在本發明進一步的實施例,在第三A圖至第三D圖所示光源裝置下判定該待檢測物為OK件時,本發明光學檢測系統可進一步將該記錄OK件不具高度瑕疵的顏色轉換成一般白光的自然色或是使用者需要的單色光。
Next, step 206: According to the detection parameters set in
步驟210:當比對校正影像與檢測影像任一對應檢測區的顏色為不一致時,本發明光學檢測系統判定該待檢測物為NG件,即該待檢測物有瑕疵狀況。步驟211:本發明光學檢測系統根據比對顏色為不一致的檢測區,從該校正流程帶入該檢測區的校正參數。步驟212:根據步驟211帶入該檢測區的校正參數,本發明光學檢測系統校正該檢測影像在該檢測區的顏色分布,而轉換該檢測影像在檢測區內與該校正影像的顏色分佈一致的部份為一預設顏色,較佳為白色,並保留該檢測影像在檢測區內與該校正影像的顏色分佈不一致的部份,該不一致的部份表示該檢測影像在檢測區內存在與該校正影像不同的高度資訊。步驟213:儲存轉換的檢測影像,
該轉換的檢測影像的顏色分佈包含與該校正影像之顏色分佈不一致的部份,以及該預設顏色。步驟214:本發明光學檢測系統記錄該待檢測物為NG件,即完成待檢測物的NG件檢測流程。
Step 210 : When the color of any corresponding detection area of the compared and corrected image is inconsistent with the detection image, the optical detection system of the present invention determines that the object to be inspected is an NG piece, that is, the object to be inspected is defective. Step 211 : The optical detection system of the present invention brings in the correction parameters of the detection area from the calibration process according to the detection areas whose colors are inconsistent in comparison. Step 212: According to the calibration parameters brought into the detection area in
為了降低瑕疵檢測的資訊計算量,本發明檢測流程在步驟202編輯設定該待檢測物1欲進行瑕疵檢測之檢測區,使得步驟206、207只針對設定的檢測區計算顏色分布以及比對顏色,而避免後續比對校正影像與檢測影像的資訊計算量過於龐大,而影響本發明系統判斷瑕疵的時間。
In order to reduce the amount of information calculation for defect detection, the detection process of the present invention edits and sets the detection area for defect detection of the object to be inspected 1 in
在後續瑕疵覆檢程序中,由本發明光學檢測系統判定NG件之待檢測物被取出交由作業人員進行人眼辨識瑕疵的狀況。判定NG件之待檢測物輔以白光照射,再由作業人員檢視本發明步驟213所儲存的檢測影像,該檢測影像的顏色分佈包含與該校正影像之顏色分佈不一致的部份,以及白色,使作業人員易於在白光照射下覆檢待檢測物對應檢測影像的顏色分佈不一致的部份是否存在瑕疵。
In the subsequent defect re-inspection procedure, the optical inspection system of the present invention determines that the object to be inspected of the NG piece is taken out and handed over to the operator to identify the defect with the human eye. The object to be inspected in the NG piece is irradiated with white light, and then the operator checks the inspection image stored in
請參考第六A圖、第六B圖與第六C圖,分別顯示本發明系統使用多角度多顏色的對稱光源之校正影像示意圖、本發明系統使用多角度多顏色的對稱光源之檢測影像示意圖與本發明系統將檢測影像中無瑕疵的高度資訊轉換為白色之檢測影像示意圖。第六A圖所示校正影像是本發明方法步驟104使用多角度多顏色的對稱光源照射所呈無高度瑕疵資訊的影像。第六B圖所示檢測影像是本發明方法步驟206所計算一檢測區的顏色分布,其中包含使用多角度多顏色的對稱光源照射所呈現的高度資訊,如區域A所示。因此,在本發明方法步驟207的比對步驟中,該第六B圖所示的檢測區將因區域A的顏色與第六A圖所示校正影像的顏色不一致,而在步驟
210將待檢測物判定為NG件,經步驟211帶入校正參數後,在步驟212校正該檢測區的顏色分布,而轉換該檢測區內與該校正影像的顏色一致的區域B為一預設顏色,較佳為白色,並保留該檢測區內與該校正影像的顏色不一致的區域A。於步驟213儲存轉換的檢測影像,該轉換的檢測影像的顏色分佈包含與該校正影像之顏色分佈不一致的區域A,以及經轉換為白色的區域B’,如第六C圖所示。因此,在後續瑕疵覆檢程序中,由作業人員進行人眼辨識該檢測區的瑕疵狀況時,作業人員對待檢測物輔以白光照射該檢測區,並參考第六C圖所示轉換的檢測影像,可易於檢測該檢測區的區域A是否為瑕疵凹凸。
Please refer to Figure 6A, Figure 6B, and Figure 6C, respectively showing a schematic diagram of a calibration image of the system of the present invention using a symmetrical light source with multiple angles and colors, and a schematic diagram of a detection image of the system of the present invention using a symmetrical light source of multiple angles and colors. The system of the present invention converts the flawless height information in the inspection image into a schematic diagram of a white inspection image. The corrected image shown in FIG. 6A is an image without highly flawed information obtained by illuminating a symmetrical light source with multiple angles and multiple colors in
200‧‧‧光學檢測方法 200‧‧‧Optical detection methods
201~214‧‧‧步驟 201~214‧‧‧Steps
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107147806A TWI761651B (en) | 2018-12-28 | 2018-12-28 | Optical inspection system and method with high information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107147806A TWI761651B (en) | 2018-12-28 | 2018-12-28 | Optical inspection system and method with high information |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202026629A TW202026629A (en) | 2020-07-16 |
TWI761651B true TWI761651B (en) | 2022-04-21 |
Family
ID=73005198
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107147806A TWI761651B (en) | 2018-12-28 | 2018-12-28 | Optical inspection system and method with high information |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI761651B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01282410A (en) * | 1988-05-09 | 1989-11-14 | Omron Tateisi Electron Co | Curved surface nature inspection device |
CN103792705A (en) * | 2014-01-28 | 2014-05-14 | 北京京东方显示技术有限公司 | Detecting method and detecting device for detecting substrate defects |
-
2018
- 2018-12-28 TW TW107147806A patent/TWI761651B/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01282410A (en) * | 1988-05-09 | 1989-11-14 | Omron Tateisi Electron Co | Curved surface nature inspection device |
CN103792705A (en) * | 2014-01-28 | 2014-05-14 | 北京京东方显示技术有限公司 | Detecting method and detecting device for detecting substrate defects |
Also Published As
Publication number | Publication date |
---|---|
TW202026629A (en) | 2020-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6945245B2 (en) | Visual inspection equipment | |
CN108445007B (en) | Detection method and detection device based on image fusion | |
KR102178903B1 (en) | Visual inspection device and illumination condition setting method of visual inspection device | |
JP5228490B2 (en) | Defect inspection equipment that performs defect inspection by image analysis | |
KR101590831B1 (en) | Method of inspecting foreign substance on a board | |
US20090046922A1 (en) | Surface Inspecting Apparatus | |
JP2005127989A (en) | Flaw detector and flaw detecting program | |
JP2022533848A (en) | Systems and methods for determining if camera components are damaged | |
JP2007147442A (en) | Method, device, and program for inspecting wood | |
TWI495867B (en) | Application of repeated exposure to multiple exposure image blending detection method | |
US6760096B2 (en) | Lens-evaluating method and lens-evaluating apparatus | |
TWI668439B (en) | Method of measuring surface topography | |
TWI761651B (en) | Optical inspection system and method with high information | |
KR101802812B1 (en) | Inspecting apparatus for product appearance and inspection method for product appearance using the same | |
JP2009264876A (en) | Inspection system of product quality, and its method | |
CN111380869B (en) | Optical detection system and method with height information | |
JP2009264882A (en) | Visual inspection device | |
JP7362324B2 (en) | Inspection method, manufacturing method and inspection device for image display device | |
TWI493177B (en) | Method of detecting defect on optical film with periodic structure and device thereof | |
JP2017198462A (en) | Method for inspecting appearance | |
KR20110118820A (en) | Polarization imaging | |
TWI749409B (en) | Optical measuring method | |
KR100939600B1 (en) | Product-quality inspection system and method thereof | |
TWI783370B (en) | Method of color deviation and surface examination | |
TWM577944U (en) | Optical defect detection system with brightness adjustment |