TWI521191B - Correction method applied to optical detection device - Google Patents

Correction method applied to optical detection device Download PDF

Info

Publication number
TWI521191B
TWI521191B TW102146676A TW102146676A TWI521191B TW I521191 B TWI521191 B TW I521191B TW 102146676 A TW102146676 A TW 102146676A TW 102146676 A TW102146676 A TW 102146676A TW I521191 B TWI521191 B TW I521191B
Authority
TW
Taiwan
Prior art keywords
optical
calibration
pattern
detecting device
sheet
Prior art date
Application number
TW102146676A
Other languages
Chinese (zh)
Other versions
TW201525429A (en
Inventor
鄭文瑋
鄭國淵
王柏翔
Original Assignee
致茂電子股份有限公司
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 致茂電子股份有限公司 filed Critical 致茂電子股份有限公司
Priority to TW102146676A priority Critical patent/TWI521191B/en
Publication of TW201525429A publication Critical patent/TW201525429A/en
Application granted granted Critical
Publication of TWI521191B publication Critical patent/TWI521191B/en

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Description

用於光學檢測裝置之校正方法 Correction method for optical detecting device

本發明係關於一種用於光學檢測裝置之校正方法,尤指一種用於光學檢測裝置之產線上自我驗證之校正方法。 The present invention relates to a method for correcting an optical detecting device, and more particularly to a method for correcting self-verification on a line for an optical detecting device.

為確保產品品質之一致性,在產品的製造過程中都需要透過檢測儀器進行品質的監控。目前所使用之檢測儀器,都根源於一個共同認定之量測標準,並隨時修正其量測誤差值。若非如此,在製造過程中,可能會因量測標準失準而造成極大之損失。檢測儀器之誤差,通常隨使用時間而增加,因此任何檢測儀器都應定期校正,以確保準確度。 In order to ensure the consistency of product quality, quality monitoring is required through the inspection instrument during the manufacturing process. The testing instruments currently used are rooted in a common measurement standard and can be corrected at any time. If this is not the case, in the manufacturing process, it may cause great losses due to the misalignment of the measurement standards. The error of the test instrument usually increases with the time of use, so any test instrument should be regularly calibrated to ensure accuracy.

以自動光學檢測(Automated Optical Inspection,AOI)設備來說,其為精密的光學儀器,但長時間在產線上不間斷的使用之後,也會因為出現誤差,而使檢測出現錯誤。若等到週期性保養時才發現這些誤差,讓客戶將誤判的產品出貨,將會造成客戶商譽以及成本上的損失。 In the case of Automated Optical Inspection (AOI) equipment, it is a precision optical instrument. However, after an uninterrupted use on the production line for a long time, errors may occur due to errors. If you find these errors when you wait for periodic maintenance, letting customers ship the products that are misjudged will result in customer goodwill and cost loss.

因此,如何提供一種可在檢測儀器產生誤差時就快速發現之校正方法,是目前業界亟欲投入研發資源解決的問題之一。 Therefore, how to provide a correction method that can be quickly found when the detection instrument generates an error is one of the problems that the industry is eager to invest in research and development resources.

因此,本發明係提供一種用於光學檢測裝置之校正方法,以解決上述之問題。 Accordingly, the present invention provides a correction method for an optical detecting device to solve the above problems.

本發明係提供一種用於光學檢測裝置之校正方法。光學檢測裝置設置於輸送裝置上方。輸送裝置具有校正片。輸送裝置用以將待測物輸送至檢測區。校正方法包含:當該檢測區無待測物時,輸送裝置產生空位訊號給光學檢測裝置;光學檢測裝置拍攝檢測區,以獲得空位影像,其中空位影像具有第一校正片圖案,且第一校正片圖案對應完整之校正片;以及光學檢測裝置接收空位訊號後,根據第一校正片圖案判斷光學檢測裝置之光學參數是否分別介於對應之容許範圍之內。 The present invention provides a calibration method for an optical detecting device. The optical detecting device is disposed above the conveying device. The delivery device has a calibration sheet. The conveying device is configured to convey the object to be tested to the detection area. The calibration method includes: when the detection area has no object to be tested, the conveying device generates a vacancy signal to the optical detecting device; the optical detecting device captures the detection area to obtain a vacancy image, wherein the vacancy image has a first calibration sheet pattern, and the first correction The slice pattern corresponds to the complete calibration slice; and after the optical detection device receives the vacancy signal, it is determined whether the optical parameters of the optical detection device are respectively within a corresponding tolerance range according to the first calibration slice pattern.

本發明另提供一種用於光學檢測裝置之校正方法。光學檢測裝置設置於輸送裝置上方。輸送裝置具有校正片。輸送裝置用以將待測物輸送至檢測區中。校正方法包含:輸送裝置根據輸送訊號將待測物輸送至檢測區;當光學檢測裝置接收輸送訊號時,拍攝檢測區,進而獲得輸送影像,其中輸送影像具有校正片圖案,且校正片圖案對應校正片的至少一部分;以及光學檢測裝置根據校正片圖案判斷光學檢測裝置之光學參數是否分別介於對應之容許 範圍之內。 The present invention further provides a calibration method for an optical detecting device. The optical detecting device is disposed above the conveying device. The delivery device has a calibration sheet. The conveying device is used to convey the object to be tested into the detection zone. The calibration method comprises: the conveying device transports the object to be tested according to the conveying signal to the detection area; when the optical detecting device receives the conveying signal, the detection area is photographed, thereby obtaining a conveying image, wherein the conveying image has a correction piece pattern, and the correction piece pattern corresponds to the correction At least a portion of the sheet; and the optical detecting device determines whether the optical parameters of the optical detecting device are respectively corresponding to the tolerance according to the calibration sheet pattern Within the scope.

1‧‧‧光學檢測裝置 1‧‧‧Optical inspection device

10‧‧‧攝影模組 10‧‧‧Photography module

2‧‧‧輸送裝置 2‧‧‧Conveyor

20‧‧‧基座 20‧‧‧ Pedestal

22‧‧‧皮帶 22‧‧‧Land

24‧‧‧校正片 24‧‧‧ calibration film

3‧‧‧待測物 3‧‧‧Test object

4‧‧‧檢測區 4‧‧‧Detection area

S100~S306‧‧‧步驟 S100~S306‧‧‧Steps

第1圖為繪示本發明一實施方式之光學檢測裝置與輸送裝置的側視圖。 Fig. 1 is a side view showing an optical detecting device and a conveying device according to an embodiment of the present invention.

第2圖為繪示第1圖中之輸送裝置的上視圖。 Fig. 2 is a top view showing the conveying device of Fig. 1.

第3圖為繪示本發明一實施方式之用於光學檢測裝置之校正方法的流程圖。 FIG. 3 is a flow chart showing a method for correcting an optical detecting device according to an embodiment of the present invention.

第4圖為繪示本發明另一實施方式之用於光學檢測裝置之校正方法的流程圖。 4 is a flow chart showing a method for correcting an optical detecting device according to another embodiment of the present invention.

請參閱第1圖以及第2圖。第1圖為繪示本發明一實施方式之光學檢測裝置1與輸送裝置2的側視圖。第2圖為繪示第1圖中之輸送裝置2的上視圖。如第1圖與第2圖所示,於本實施方式中,校正方法是用於光學檢測裝置1,而光學檢測裝置1係設置於輸送裝置2上方。以下將詳細說明上述各元件的結構、功能以及各元件之間的連接關係。 Please refer to Figure 1 and Figure 2. Fig. 1 is a side view showing an optical detecting device 1 and a transporting device 2 according to an embodiment of the present invention. Fig. 2 is a top view showing the conveying device 2 in Fig. 1. As shown in FIGS. 1 and 2, in the present embodiment, the correction method is used for the optical detecting device 1, and the optical detecting device 1 is disposed above the transport device 2. The structure, function, and connection relationship between the above elements will be described in detail below.

如第1圖與第2圖所示,光學檢測裝置1包含攝影模組10。攝影模組10的拍攝方向朝向輸送裝置2,且攝影模組10的可視範圍定義一檢測區4(如第2圖中之虛線所示)。輸送裝置2包含基座20以及兩皮帶22。輸送裝置2 的皮帶22係平行地運轉於基座20上,並可將待測物3輸送至攝影模組10的檢測區4,藉以供光學檢測裝置1進行光學檢測。此外,輸送裝置2還具有校正片24。校正片24係設置於基座20上,介於兩皮帶22之間,並位於檢測區4中。換言之,校正片24必須位於檢測區4中,光學檢測裝置1才能據以進行校正。特別來說,由於校正片24係設置於兩皮帶22之間以及待測物3的行進路徑上(亦即,當待測物3進入檢測區4中時,校正片24會被遮住),而非設置於待測物3之外,因此實務上可配置使待測物3在檢測區4裡所佔的區域擴大,使得攝影模組10可獲得較多待測物3的資訊,進而使檢測或量測的結果也更穩定、精準。 As shown in FIGS. 1 and 2, the optical detecting device 1 includes a photographing module 10. The photographing direction of the photographing module 10 faces the transporting device 2, and the visual range of the photographing module 10 defines a detecting area 4 (as indicated by a broken line in Fig. 2). The conveyor 2 comprises a base 20 and two belts 22. Conveying device 2 The belt 22 is run in parallel on the susceptor 20, and the object to be tested 3 can be transported to the detection area 4 of the photographic module 10 for optical detection by the optical detecting device 1. Furthermore, the transport device 2 also has a correction strip 24. The correction sheet 24 is disposed on the base 20 between the two belts 22 and located in the detection area 4. In other words, the correction sheet 24 must be located in the detection area 4, and the optical detection apparatus 1 can perform correction accordingly. In particular, since the correction sheet 24 is disposed between the two belts 22 and the traveling path of the object 3 to be tested (that is, when the object to be tested 3 enters the detection area 4, the correction sheet 24 is concealed), Rather than being disposed outside the object to be tested 3, it is practically configurable to enlarge the area occupied by the object to be tested 3 in the detection area 4, so that the camera module 10 can obtain more information of the object to be tested 3, thereby enabling The results of detection or measurement are also more stable and accurate.

請參照第3圖,其為繪示本發明一實施方式之用於光學檢測裝置1之校正方法的流程圖。 Please refer to FIG. 3, which is a flow chart showing a method for correcting the optical detecting device 1 according to an embodiment of the present invention.

如第3圖所示,並配合參照第1圖與第2圖,於本實施方式中,校正方法包含步驟S100~S106,如下所示。 As shown in FIG. 3, with reference to FIGS. 1 and 2, in the present embodiment, the correction method includes steps S100 to S106 as follows.

步驟S100:當檢測區4無待測物3時,輸送裝置2產生空位訊號給光學檢測裝置1。 Step S100: When the detection area 4 has no object 3 to be tested, the conveying device 2 generates a vacancy signal to the optical detecting device 1.

步驟S102:光學檢測裝置1拍攝檢測區4,以獲得空位影像,其中空位影像具有第一校正片圖案,且第一校正片圖案對應完整之校正片24。 Step S102: The optical detecting device 1 captures the detection area 4 to obtain a vacancy image, wherein the vacancy image has a first correction sheet pattern, and the first correction sheet pattern corresponds to the complete correction sheet 24.

步驟S104:光學檢測裝置1接收空位訊號後,根據第一校正片圖案判斷光學檢測裝置1之光學參數是否分別介於對應之容許範圍之內。 Step S104: After receiving the vacancy signal, the optical detecting device 1 determines whether the optical parameters of the optical detecting device 1 are respectively within the corresponding allowable range according to the first calibration slice pattern.

若步驟S104的判斷結果為否(亦即,光學檢測裝 置1之光學參數超出了對應之容許範圍),則根據本實施方式之校正方法進一步執行步驟S106。 If the result of the determination in step S104 is no (that is, the optical detection device If the optical parameter set to 1 exceeds the corresponding allowable range, the step S106 is further performed according to the correction method of the present embodiment.

步驟S106:產生校正警示訊號。 Step S106: Generate a correction warning signal.

在產線上的實際運作過程中,不見得輸送裝置2的每個工位上都會有待測物3,有可能因為前段製程出現不良品而先被移除,或是更換原料時而出現的一段緩衝。而藉由應用本實施方式之校正方法,當輸送裝置2的工位上有待測物3且待測物3進入檢測區4時,待測物3會完全把校正片24遮蔽起來,並不會影響正常演算法檢測;當工位上沒有待測物3的時候,攝影模組10依然進行取像動作,校正片24會出現在影像正中間,即可進行自我驗證。 In the actual operation process on the production line, it is not necessary to have the object to be tested 3 at each station of the conveying device 2, which may be removed first because of defective products in the front stage process, or a section which occurs when the raw materials are replaced. buffer. By applying the correction method of the present embodiment, when the object 3 to be tested is present at the station of the conveying device 2 and the object to be tested 3 enters the detecting area 4, the object to be tested 3 completely shields the correction sheet 24, and It will affect the normal algorithm detection; when there is no object 3 on the station, the camera module 10 still performs the image capturing operation, and the calibration film 24 will appear in the middle of the image to perform self-verification.

由此可知,本實施方式之校正方法係使光學檢測裝置1在輸送裝置2的工位有空檔的時候(亦即,檢測區4中無待測物3),以攝影模組10拍攝已經放置於基座20上的校正片24,並對所拍攝的空位影像中的第一校正片圖案執行光學參數比對。若判斷的結果顯示攝影模組10的狀況已經低於可容許範圍,則可即時通知操作人員進行校正處置。 Therefore, the correction method of the present embodiment is such that when the optical detecting device 1 has a neutral position at the station of the transport device 2 (that is, there is no object 3 in the detecting region 4), the photographing module 10 has already taken the photographing module 10 The correction sheet 24 placed on the susceptor 20 performs optical parameter alignment on the first correction sheet pattern in the captured vacancy image. If the result of the judgment indicates that the condition of the photographing module 10 is already below the allowable range, the operator can be immediately notified of the correction treatment.

於一實施方式中,校正片24具有複數組線對。光學檢測裝置1之攝影模組10的光學參數包含對焦值以及解析度。根據第一校正片圖案判斷光學參數是否介於對應之容許範圍之內的步驟(亦即,步驟S104)進一步包含步驟S104a。 In one embodiment, the correction patch 24 has a complex array line pair. The optical parameters of the camera module 10 of the optical detecting device 1 include a focus value and a resolution. The step of determining whether the optical parameter is within the corresponding tolerance range according to the first correction sheet pattern (ie, step S104) further includes step S104a.

步驟S104a:根據第一校正片圖案中之第一線對圖 案判斷對焦值與解析度是否分別介於對應之容許範圍之內,其中第一線對圖案對應完整之複數組線對。 Step S104a: according to the first line pair pattern in the first correction sheet pattern The case determines whether the focus value and the resolution are respectively within a corresponding tolerance range, wherein the first line pair pattern corresponds to the complete complex array line pair.

於一實施方式中,校正片24具有灰卡。光學檢測裝置1之攝影模組10的光學參數包含影像灰階值。根據第一校正片圖案判斷光學參數是否介於對應之容許範圍之內的步驟(亦即,步驟S104)進一步包含步驟S104b。 In one embodiment, the correction sheet 24 has a gray card. The optical parameters of the camera module 10 of the optical detecting device 1 include image grayscale values. The step of determining whether the optical parameter is within the corresponding tolerance range according to the first correction sheet pattern (ie, step S104) further includes step S104b.

步驟S104b:根據第一校正片圖案中之第一灰卡圖案判斷影像灰階值是否介於對應之容許範圍之內,其中第一灰卡圖案對應完整之灰卡。 Step S104b: Determine whether the image grayscale value is within a corresponding tolerance range according to the first gray card pattern in the first calibration slice pattern, wherein the first gray card pattern corresponds to the complete gray card.

然而,攝影模組10的光學參數並不以上述之對焦值、解析度與灰階值為限。若欲校正某種光學參數,只要在校正片24上對應地設置可比對該種光學參數之校正單元,本實施方式之校正方法同樣可針對該種光學參數達到校正警示之功能。 However, the optical parameters of the photographic module 10 are not limited to the above-mentioned focus value, resolution, and gray scale value. If a certain optical parameter is to be corrected, as long as a correction unit comparable to the optical parameter is provided on the calibration sheet 24, the correction method of the present embodiment can also achieve the function of correcting the warning for the optical parameter.

另外,本實施方式之校正方法還包含步驟S108~S112,如下所示。 Further, the correction method of the present embodiment further includes steps S108 to S112 as follows.

步驟S108:輸送裝置2根據輸送訊號將待測物3輸送至檢測區4。 Step S108: The conveying device 2 conveys the object to be tested 3 to the detection zone 4 according to the conveying signal.

步驟S110:當光學檢測裝置1接收輸送訊號時,拍攝檢測區4以獲得輸送影像,其中輸送影像具有第二校正片圖案,且第二校正片圖案對應校正片24的至少一部分。 Step S110: When the optical detecting device 1 receives the transport signal, the detection region 4 is photographed to obtain a transport image, wherein the transport image has a second patch pattern, and the second patch pattern corresponds to at least a portion of the patch 24.

要說明的是,當光學檢測裝置1接收輸送訊號時,係使攝影模組10連續拍攝檢測區4,以獲得上述之輸送影像。 It should be noted that when the optical detecting device 1 receives the transmission signal, the photography module 10 continuously captures the detection area 4 to obtain the above-mentioned conveyed image.

步驟S112:光學檢測裝置1根據第二校正片圖案判斷光學檢測裝置1之光學參數是否分別介於對應之容許範圍之內。 Step S112: The optical detecting device 1 determines whether the optical parameters of the optical detecting device 1 are respectively within the corresponding allowable range according to the second correcting slice pattern.

若步驟S112的判斷結果為否(亦即,光學檢測裝置1之光學參數超出了對應之容許範圍),則根據本實施方式之校正方法再次執行步驟S106。 If the result of the determination in step S112 is NO (that is, the optical parameter of the optical detecting device 1 exceeds the corresponding allowable range), the correcting method according to the present embodiment executes step S106 again.

也就是說,本實施方式之校正方法不僅可使光學檢測裝置1在輸送裝置2的工位有空檔的時候達到校正警示之功能,在輸送裝置2的工位無空檔的時候(亦即,待測物3正進入或移出檢測區4時),仍可在不停機的狀況之下以攝影模組10拍攝已經放置於基座20上的校正片24的至少一部分,並對所拍攝的輸送影像中的第二校正片圖案執行光學參數比對。同樣地,若判斷的結果顯示攝影模組10的狀況已經低於可容許範圍,則可即時通知操作人員進行校正處置。 That is to say, the correction method of the present embodiment not only enables the optical detecting device 1 to achieve the function of correcting the warning when the station of the conveying device 2 has a neutral position, when the station of the conveying device 2 has no neutral position (ie, When the object to be tested 3 is entering or moving out of the detection area 4, at least a part of the correction sheet 24 that has been placed on the susceptor 20 can still be photographed by the photographic module 10 without stopping the machine, and the captured image is taken. The second patch pattern in the transport image performs an optical parameter alignment. Similarly, if the result of the judgment indicates that the condition of the photographing module 10 is already below the allowable range, the operator can be notified immediately of the correction treatment.

另外要說明的是,在根據第二校正片圖案判斷光學參數是否介於對應之容許範圍之內的步驟(亦即,步驟S112),同樣可進一步包含與步驟S104a、S104類似的步驟,只是被比對之圖案改為第二校正片圖案,在此不再贅述。藉此,在在輸送裝置2的工位無空檔的時候,根據本實施方式之校正方法仍可針對攝影模組10的對焦值、解析度與灰階值等光學參數達到校正警示之功能。 It should be noted that, in the step of determining whether the optical parameter is within the corresponding tolerance range according to the second calibration slice pattern (ie, step S112), steps similar to steps S104a and S104 may be further included, but only The pattern of the alignment is changed to the second calibration sheet pattern, and details are not described herein again. Therefore, when the station of the transport device 2 has no space, the correction method according to the embodiment can still achieve the function of correcting the warning for the optical parameters such as the focus value, the resolution and the gray scale value of the photographing module 10.

請參照第4圖,其為繪示本發明另一實施方式之用於光學檢測裝置1之校正方法的流程圖。 Please refer to FIG. 4, which is a flow chart showing a method for correcting the optical detecting device 1 according to another embodiment of the present invention.

如第4圖所示,並配合參照第1圖與第2圖,於本實施方式中,校正方法包含步驟S300~S306,如下所示。 As shown in Fig. 4, with reference to Figs. 1 and 2, in the present embodiment, the correction method includes steps S300 to S306 as follows.

步驟S300:輸送裝置2根據輸送訊號將待測物3輸送至檢測區4。 Step S300: The conveying device 2 conveys the object to be tested 3 to the detection zone 4 according to the conveying signal.

步驟S302:當光學檢測裝置1接收輸送訊號時,拍攝檢測區4,進而獲得輸送影像,其中輸送影像具有校正片圖案,且校正片圖案對應校正片24的至少一部分。 Step S302: When the optical detecting device 1 receives the transmission signal, the detection area 4 is photographed, thereby obtaining a transport image, wherein the transport image has a correction sheet pattern, and the correction sheet pattern corresponds to at least a portion of the correction sheet 24.

步驟S304:光學檢測裝置1根據校正片圖案判斷光學檢測裝置1之光學參數是否分別介於對應之容許範圍之內。 Step S304: The optical detecting device 1 determines whether the optical parameters of the optical detecting device 1 are respectively within the corresponding allowable range according to the calibration piece pattern.

若步驟S304的判斷結果為否(亦即,光學檢測裝置1之光學參數超出了對應之容許範圍),則根據本實施方式之校正方法進一步執行步驟S306。 If the result of the determination in step S304 is NO (that is, the optical parameter of the optical detecting device 1 exceeds the corresponding allowable range), the correcting method according to the present embodiment further performs step S306.

步驟S306:產生校正警示訊號。 Step S306: Generate a correction warning signal.

由此可知,本實施方式之校正方法可使光學檢測裝置1在輸送裝置2的工位無空檔的時候(亦即,待測物3正進入或移出檢測區4時),仍可在不停機的狀況之下以攝影模組10拍攝已經放置於基座20上的校正片24的至少一部分,並對所拍攝的輸送影像中的校正片圖案執行光學參數比對。若判斷的結果顯示攝影模組10的狀況已經低於可容許範圍,則可即時通知操作人員進行校正處置。 It can be seen that the correction method of the present embodiment can make the optical detecting device 1 still in the position when the station of the conveying device 2 has no neutral position (that is, when the object to be tested 3 is entering or moving out of the detecting area 4). Under the condition of the shutdown, at least a portion of the correction sheet 24 that has been placed on the susceptor 20 is photographed by the photographic module 10, and an optical parameter comparison is performed on the correction sheet pattern in the captured conveyed image. If the result of the judgment indicates that the condition of the photographing module 10 is already below the allowable range, the operator can be immediately notified of the correction treatment.

要說明的是,當光學檢測裝置1接收輸送訊號時,係使攝影模組10連續拍攝檢測區4,以獲得上述之輸送影像。 It should be noted that when the optical detecting device 1 receives the transmission signal, the photography module 10 continuously captures the detection area 4 to obtain the above-mentioned conveyed image.

於一實施方式中,校正片24具有複數組線對。光學參數包含對焦值以及解析度。根據校正片圖案判斷光學參數是否介於對應之容許範圍之內的步驟(亦即,步驟S304)進一步包含步驟S304a。 In one embodiment, the correction patch 24 has a complex array line pair. Optical parameters include focus values and resolution. The step of determining whether the optical parameter is within the corresponding tolerance range according to the correction patch pattern (ie, step S304) further includes step S304a.

步驟S304a:根據校正片圖案中之線對圖案判斷對焦值與解析度是否分別介於對應之容許範圍之內,其中線對圖案對應複數組線對的至少一部分。 Step S304a: Determine whether the focus value and the resolution are respectively within a corresponding tolerance range according to the line pair pattern in the calibration slice pattern, wherein the line pair pattern corresponds to at least a part of the complex array line pair.

於一實施方式中,校正片24具有灰卡。光學參數包含影像灰階值。根據校正片24圖案判斷光學參數是否介於對應之容許範圍之內的步驟(亦即,步驟S304)進一步包含步驟S304b。 In one embodiment, the correction sheet 24 has a gray card. The optical parameters contain image grayscale values. The step of determining whether the optical parameter is within the corresponding tolerance range according to the pattern of the correction sheet 24 (that is, step S304) further includes step S304b.

步驟S304b:根據校正片圖案中之灰卡圖案判斷影像灰階值是否介於對應之容許範圍之內,其中灰卡圖案對應灰卡的至少一部分。 Step S304b: Determine whether the image grayscale value is within a corresponding tolerance range according to the gray card pattern in the calibration slice pattern, wherein the gray card pattern corresponds to at least a portion of the gray card.

藉此,在輸送裝置2的工位無空檔的時候,根據本實施方式之校正方法仍可針對攝影模組10的對焦值、解析度與灰階值等光學參數達到校正警示之功能。 Therefore, when the station of the conveying device 2 has no neutral position, the correction method according to the embodiment can still achieve the function of correcting the warning for the optical parameters such as the focus value, the resolution and the gray scale value of the photographing module 10.

由以上對於本發明之具體實施例之詳述,可以明顯地看出,本發明的校正方法可使光學檢測裝置在輸送裝置的工位有空檔的時候,根據輸送裝置所傳送之空位訊號驅動攝影模組拍攝已經放置於基座上的校正片,並對所拍攝的空位影像中的校正片圖案執行光學參數比對。不僅如此,本發明的校正方法還可使光學檢測裝置在輸送裝置的工位無空檔的時候,根據輸送裝置所傳送之輸送訊號驅動 攝影模組拍攝已經放置於基座上的校正片的至少一部分,並對所拍攝的輸送影像中的校正片圖案執行光學參數比對。換言之,不論輸送裝置的工位是否有空檔,本發明的校正方法皆可在不停機的狀況之下,快速發現光學檢測裝置所產生的誤差,並即時通知操作人員對狀況低於可容許範圍之光學檢測裝置進行校正處置。並且,為了搭配本發明的校正方法,校正片可設置於兩皮帶之間以及待測物的行進路徑上,並不須設置於待測物之外,因此實務上可配置使待測物在檢測區裡所佔的區域擴大,使得攝影模組可獲得較多待測物的資訊,進而使檢測或量測的結果也更穩定、精準。 From the above detailed description of the specific embodiments of the present invention, it can be clearly seen that the correction method of the present invention enables the optical detecting device to be driven by the vacancy signal transmitted by the conveying device when the station of the conveying device has a neutral position. The photographic module captures a calibration sheet that has been placed on the pedestal and performs optical parameter alignment on the calibrated patch pattern in the captured vacancy image. Moreover, the calibration method of the present invention can also enable the optical detecting device to be driven according to the conveying signal transmitted by the conveying device when the station of the conveying device has no neutral position. The photographic module captures at least a portion of the calibrated sheet that has been placed on the pedestal and performs optical parameter alignment on the calibrated sheet pattern in the captured image being photographed. In other words, regardless of whether the station of the conveying device has a neutral position, the correction method of the present invention can quickly find the error generated by the optical detecting device without stopping the machine, and immediately notify the operator that the condition is lower than the allowable range. The optical detecting device performs correction processing. Moreover, in order to cooperate with the calibration method of the present invention, the calibration sheet can be disposed between the two belts and the path of the object to be tested, and does not need to be disposed outside the object to be tested, so that the object can be configured to be tested. The area occupied by the area is enlarged, so that the photography module can obtain more information of the object to be tested, thereby making the result of detection or measurement more stable and accurate.

雖然本發明已以實施方式揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and the present invention can be modified and modified without departing from the spirit and scope of the present invention. The scope is subject to the definition of the scope of the patent application attached.

S100~S112‧‧‧步驟 S100~S112‧‧‧Steps

Claims (10)

一種用於一光學檢測裝置之校正方法,其中該光學檢測裝置設置於一輸送裝置上方,該輸送裝置具有一校正片,該輸送裝置用以將一待測物輸送至一檢測區,該校正方法包含:當該檢測區無該待測物時,該輸送裝置產生一空位訊號給該光學檢測裝置;該光學檢測裝置拍攝該檢測區,以獲得一空位影像,其中該空位影像具有一第一校正片圖案,且該第一校正片圖案對應完整之該校正片;該光學檢測裝置接收該空位訊號後,根據該第一校正片圖案判斷該光學檢測裝置之光學參數是否分別介於對應之容許範圍之內;該輸送裝置根據一輸送訊號將該待測物輸送至該檢測區;當該光學檢測裝置接收該輸送訊號時,拍攝該檢測區以獲得一輸送影像,其中該輸送影像具有一第二校正片圖案,且該第二校正片圖案對應該校正片的至少一部分;以及該光學檢測裝置根據該第二校正片圖案判斷該些光學參數是否分別介於該對應之容許範圍之內。 A calibration method for an optical detecting device, wherein the optical detecting device is disposed above a conveying device, the conveying device has a correcting piece for conveying a sample to be detected to a detecting area, the correcting method The method includes: when the detection area has no object to be tested, the conveying device generates a vacancy signal to the optical detecting device; the optical detecting device captures the detecting area to obtain a vacancy image, wherein the vacancy image has a first correction a slice pattern, and the first calibration slice pattern corresponds to the complete calibration slice; after receiving the vacancy signal, the optical detection device determines, according to the first calibration slice pattern, whether the optical parameters of the optical detection device are respectively within a corresponding allowable range The conveying device transports the object to be tested according to a conveying signal; when the optical detecting device receives the conveying signal, the detecting area is photographed to obtain a conveying image, wherein the conveying image has a second Correcting a sheet pattern, and the second sheet pattern corresponds to at least a portion of the sheet; and the optical detecting device root The second correction pattern sheet is determined whether the plurality of the optical parameter within the range corresponding to the allowable range, respectively. 如申請專利範圍第1項所述之校正方法,其中當該 光學檢測裝置接收該輸送訊號時,係連續拍攝該檢測區以獲得該輸送影像。 For example, the calibration method described in claim 1 of the patent scope, wherein When the optical detecting device receives the transmitting signal, the detecting area is continuously captured to obtain the transport image. 如申請專利範圍第1或2項所述之校正方法,還包含:當該光學檢測裝置之光學參數是超出該對應之容許範圍時,產生一校正警示訊號。 The calibration method of claim 1 or 2, further comprising: generating a correction warning signal when the optical parameter of the optical detecting device exceeds the corresponding allowable range. 如申請專利範圍第1或2項所述之校正方法,其中該校正片具有複數組線對,該些光學參數包含一對焦值以及一解析度,根據該第一校正片圖案判斷該些光學參數是否介於該對應之容許範圍之內的步驟進一步包含:根據該第一校正片圖案中之一第一線對圖案判斷該對焦值與該解析度是否分別介於該對應之容許範圍之內,其中該第一線對圖案對應完整之該些組線對。 The calibration method of claim 1 or 2, wherein the calibration sheet has a complex array line pair, the optical parameters including a focus value and a resolution, and determining the optical parameters according to the first calibration sheet pattern. Whether the step is within the corresponding tolerance range further includes: determining, according to one of the first line pair patterns in the first calibration sheet pattern, whether the focus value and the resolution are respectively within a corresponding tolerance range, The first pair of patterns corresponds to the complete set of pairs. 如申請專利範圍第1或2項所述之校正方法,其中該校正片具有一灰卡,該些光學參數包含一影像灰階值,根據該第一校正片圖案判斷該些光學參數是否介於該對應之容許範圍之內的步驟進一步包含:根據該第一校正片圖案中之一第一灰卡圖案判斷該影像灰階值是否介於該對應之容許範圍之內,其中該第一灰卡圖案對應完整之該灰卡。 The calibration method of claim 1 or 2, wherein the calibration sheet has a gray card, and the optical parameters include an image grayscale value, and determining whether the optical parameters are interposed according to the first calibration patch pattern. The step of the corresponding tolerance range further includes: determining, according to one of the first gray card patterns in the first calibration slice pattern, whether the image grayscale value is within the corresponding tolerance range, wherein the first gray card The pattern corresponds to the complete gray card. 一種用於一光學檢測裝置之校正方法,其中該光學 檢測裝置設置於一輸送裝置上方,該輸送裝置具有一校正片,該輸送裝置用以將一待測物輸送至一檢測區中,該校正方法包含:該輸送裝置根據一輸送訊號將該待測物輸送至該檢測區;當該光學檢測裝置接收該輸送訊號時,拍攝該檢測區,進而獲得一輸送影像,其中該輸送影像具有一校正片圖案,且該校正片圖案對應該校正片的至少一部分;以及該光學檢測裝置根據該校正片圖案判斷該光學檢測裝置之光學參數是否分別介於對應之容許範圍之內。 A calibration method for an optical detecting device, wherein the optical The detecting device is disposed above a conveying device, and the conveying device has a calibration piece for conveying a sample to be detected into a detection area, the correction method comprises: the conveying device is to be tested according to a conveying signal The object is transported to the detection area; when the optical detection device receives the transmission signal, the detection area is photographed, thereby obtaining a transport image, wherein the transport image has a correction sheet pattern, and the correction sheet pattern corresponds to at least the correction sheet And a part of the optical detecting device determines whether the optical parameters of the optical detecting device are respectively within a corresponding tolerance range according to the calibration piece pattern. 如申請專利範圍第6項所述之校正方法,其中當該光學檢測裝置接收該輸送訊號時,係連續拍攝該檢測區以獲得該輸送影像。 The calibration method of claim 6, wherein when the optical detecting device receives the transmitting signal, the detecting area is continuously captured to obtain the transport image. 如申請專利範圍第6或7項所述之校正方法,其中該校正片具有複數組線對,該些光學參數包含一對焦值以及一解析度,根據該校正片圖案判斷該些光學參數是否介於對應之該些容許範圍之內的步驟進一步包含:根據該校正片圖案中之一線對圖案判斷該對焦值與該解析度是否分別介於對應之該些容許範圍之內,其中該線對圖案對應該些組線對的至少一部分。 The calibration method of claim 6 or 7, wherein the calibration sheet has a complex array line pair, the optical parameters including a focus value and a resolution, and determining whether the optical parameters are based on the calibration slice pattern The step of the corresponding tolerance range further includes: determining, according to a line pair pattern in the calibration sheet pattern, whether the focus value and the resolution are respectively within a corresponding tolerance range, wherein the line pair pattern Match at least part of the set of pairs. 如申請專利範圍第6或7項所述之校正方法,其中該校正片具有一灰卡,該些光學參數包含一影像灰階值, 根據該校正片圖案判斷該些光學參數是否介於對應之該些容許範圍之內的步驟進一步包含:根據該校正片圖案中之一灰卡圖案判斷該影像灰階值是否介於對應之該容許範圍之內,其中該灰卡圖案對應該灰卡的至少一部分。 The calibration method of claim 6 or 7, wherein the calibration sheet has a gray card, and the optical parameters include an image grayscale value. Determining, according to the calibration slice pattern, whether the optical parameters are within the corresponding tolerance ranges further comprises: determining, according to one of the gray card patterns in the calibration slice pattern, whether the image grayscale value is corresponding to the tolerance Within the scope, wherein the gray card pattern corresponds to at least a portion of the gray card. 如申請專利範圍第6或7項所述之校正方法,還包含:當該光學檢測裝置之光學參數是超出該對應之容許範圍時,產生一校正警示訊號。 The calibration method of claim 6 or 7, further comprising: generating a correction warning signal when the optical parameter of the optical detecting device exceeds the corresponding allowable range.
TW102146676A 2013-12-17 2013-12-17 Correction method applied to optical detection device TWI521191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102146676A TWI521191B (en) 2013-12-17 2013-12-17 Correction method applied to optical detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102146676A TWI521191B (en) 2013-12-17 2013-12-17 Correction method applied to optical detection device

Publications (2)

Publication Number Publication Date
TW201525429A TW201525429A (en) 2015-07-01
TWI521191B true TWI521191B (en) 2016-02-11

Family

ID=54197552

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102146676A TWI521191B (en) 2013-12-17 2013-12-17 Correction method applied to optical detection device

Country Status (1)

Country Link
TW (1) TWI521191B (en)

Also Published As

Publication number Publication date
TW201525429A (en) 2015-07-01

Similar Documents

Publication Publication Date Title
JP5041751B2 (en) X-ray inspection apparatus and X-ray inspection program
KR100882252B1 (en) Semiconductor substrate defects detection device and method of detection of defects
KR20160017659A (en) Board inspection method and board inspection system using the same
JP2015142032A (en) Quality management apparatus and control method for quality management apparatus
JP2018179939A (en) Sheet inspection device, and inspection system
JP2016038364A (en) X-ray inspection device
JP5053947B2 (en) Shape quality determination method and shape quality determination device
TWI526683B (en) Method of setting parameters for common setting between optical inspection units
KR20140148067A (en) Method for discriminating defect of optical films
CN103698910A (en) Foreign matter detection machine and detection method thereof
KR20200109236A (en) Inspection apparatus and inspection method
JP2014119432A (en) Inspection device and inspection method
TWI521191B (en) Correction method applied to optical detection device
TWI548871B (en) Plate glass inspection apparatus, plate glass inspection method, plate glass manufacturing apparatus, and plate glass manufacturing method
JP5390652B2 (en) Non-defective product judgment standard setting method and non-defective product judgment standard setting device in inspection apparatus
KR20190020589A (en) Product inspection system with multiple inspection methods
JP5010701B2 (en) Inspection apparatus and inspection method
JP6188620B2 (en) Inspection device and PTP packaging machine
JP2007132796A (en) X-ray inspection device and x-ray inspection program
CN104713584B (en) Correcting method for optical detecting device
JP2017133953A (en) Tablet inspection device
JP2015059854A (en) Defect inspection method and defect inspection device
JP2001235425A (en) Method and apparatus for inspecting thickness irregularity of pet bottle
JP2000081396A (en) Method and apparatus for automatically judging quality of side surface of taking-up roll
JP2011112593A (en) Inspection method and inspection device of printed matter