[go: up one dir, main page]

TWI855329B - Detection system - Google Patents

Detection system Download PDF

Info

Publication number
TWI855329B
TWI855329B TW111119290A TW111119290A TWI855329B TW I855329 B TWI855329 B TW I855329B TW 111119290 A TW111119290 A TW 111119290A TW 111119290 A TW111119290 A TW 111119290A TW I855329 B TWI855329 B TW I855329B
Authority
TW
Taiwan
Prior art keywords
product
light
tested
module
image
Prior art date
Application number
TW111119290A
Other languages
Chinese (zh)
Other versions
TW202346795A (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 TW111119290A priority Critical patent/TWI855329B/en
Publication of TW202346795A publication Critical patent/TW202346795A/en
Application granted granted Critical
Publication of TWI855329B publication Critical patent/TWI855329B/en

Links

Images

Landscapes

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

Abstract

The present disclosure provides a detection system including a first detection module, a sensing module, and a control module. The first detection module includes a first photographing device and a first light source. The first photographing device is used to capture an image of a product to be tested, and the first light source is an area light source, which is used to illuminate the product when the first photographing device captures the image of the product. The sensing module is used to generate a sensing signal when sensing the product. The control module connects the first photographing device, the first light source, and the sensing module, which is used to control the first light source emitting light and the first photographing device capturing the image when receiving the sensing signal. The control module is also used to analyze the image to determine whether the product is qualified.

Description

檢測系統 Detection system

本申請涉及產品檢測技術領域,尤其涉及一種檢測系統。 This application involves the field of product testing technology, and in particular, a testing system.

生產一個完整的產品往往需要經過複數生產工序,在每一個生產工序完成後通常需要對產品進行質量檢測,以評估前一個生產工序加工得到的產品是否合格。一種用於檢測產品是否合格的檢測裝置,藉由拍攝產品的圖像的方式獲取產品的形狀、結構等信息,從而評估產品是否合格。該檢測裝置藉由環形光源照射產品,並拍攝產品的圖像。由於環形光源的照射範圍較小,其照射到產品上時產品不同位置亮暗不同,拍攝角度改變時,拍攝到的圖像中亮暗分佈也會改變,而分析圖像過程中是抓取圖像中的高亮部分,故拍攝角度改變時,會導致後續抓取到的高亮部分偏移。由此可知,採用這種使用環形光源的檢測裝置檢測產品質量時,對拍攝角度要求較高。也即,只有在特定角度下拍攝的產品的圖像才能被用於獲取產品的形狀、結構等信息,若拍攝角度存在偏移,即會導致拍攝的圖像不可用,無法有效地獲取產品的信息。 The production of a complete product often requires multiple production processes. After each production process is completed, the product usually needs to be quality inspected to evaluate whether the product obtained by the previous production process is qualified. A detection device for detecting whether a product is qualified obtains information such as the shape and structure of the product by taking an image of the product, thereby evaluating whether the product is qualified. The detection device illuminates the product with an annular light source and takes an image of the product. Since the illumination range of the annular light source is small, different positions of the product are bright and dark when it is illuminated on the product. When the shooting angle changes, the distribution of light and dark in the captured image will also change. In the process of analyzing the image, the highlight part of the image is captured. Therefore, when the shooting angle changes, the highlight part captured subsequently will be offset. It can be seen that when using this kind of detection device using a ring light source to detect product quality, the shooting angle requirement is relatively high. That is, only images of products shot at a specific angle can be used to obtain information such as the shape and structure of the product. If the shooting angle is offset, the image taken will be unusable and the product information cannot be effectively obtained.

本申請實施例提供一種檢測系統,包括:第一檢測模塊,包括第一拍攝裝置和第一光源,所述第一拍攝裝置用於拍攝待測產品的圖像,所述第一光源為面光源,用於在第一拍攝裝置拍攝所述待測產品的圖像時發光照射所述待測產品;感應模塊,用於在感應到所述待測產品時產生感應訊號;以及控制模塊,分別連接所述第一拍攝裝置、所述第一光源及所述感應模塊,用於在接收到所述感應訊號時,控制所述第一光源發光和控制所述第一拍攝裝置拍攝圖像,所述控制模塊還用於分析所述圖像以判斷所述待測產品是否合格。 The present application embodiment provides a detection system, comprising: a first detection module, including a first camera and a first light source, the first camera is used to capture an image of a product to be detected, the first light source is a surface light source, used to emit light to illuminate the product to be detected when the first camera captures the image of the product to be detected; a sensing module, used to generate a sensing signal when sensing the product to be detected; and a control module, respectively connected to the first camera, the first light source and the sensing module, used to control the first light source to emit light and control the first camera to capture an image when receiving the sensing signal, and the control module is also used to analyze the image to determine whether the product to be detected is qualified.

上述檢測系統,包括第一檢測模塊,第一檢測模塊包括第一拍攝裝置和第一光源,其中第一光源為面光源,在第一拍攝裝置拍攝過程中,由於第一光源為面光源,其發出的光可以保持待測產品所在的較大區域範圍內都具有均勻的亮度,即便拍攝角度有所偏移(也即第一拍攝裝置拍攝沒有完全正對待測產品拍攝),也可拍攝得到待測產品的清晰圖像。 The above detection system includes a first detection module, which includes a first camera and a first light source, wherein the first light source is a surface light source. During the shooting process of the first camera, since the first light source is a surface light source, the light emitted by the first light source can maintain uniform brightness in a large area where the product to be tested is located. Even if the shooting angle is offset (that is, the first camera is not shooting completely facing the product to be tested), a clear image of the product to be tested can be captured.

1:檢測系統 1: Detection system

10:第一檢測模塊 10: First detection module

11:第一拍攝裝置 11: First shooting device

12:第一光源 12: The first light source

121:發光板 121: Luminous board

1211:基板 1211: Substrate

1212:發光元件 1212: Light-emitting element

122:反光板 122: Reflector

1221:反光部 1221: Reflective part

S:反射面 S: Reflective surface

1222:連接部 1222:Connection part

1223、221:通孔 1223, 221: through hole

1224:中空空間 1224: Hollow Space

13:擋光板 13: Light baffle

20:第二檢測模塊 20: Second detection module

21:第二拍攝裝置 21: Second camera device

22:第二光源 22: Second light source

30:感應模塊 30:Sensor module

31:第一感應器 31: First sensor

32:第二感應器 32: Second sensor

40:控制模塊 40: Control module

50:主體支架 50: Main frame

2:傳送裝置 2: Transmission device

圖1為本申請實施例中檢測系統的模塊結構示意圖。 Figure 1 is a schematic diagram of the module structure of the detection system in the embodiment of this application.

圖2為本申請實施例中檢測系統的一結構示意圖。 Figure 2 is a schematic diagram of the structure of the detection system in the embodiment of this application.

圖3為圖2中第一檢測模塊的立體結構示意圖。 Figure 3 is a schematic diagram of the three-dimensional structure of the first detection module in Figure 2.

圖4為圖3中第一光源的拆解示意圖。 Figure 4 is a schematic diagram of the disassembly of the first light source in Figure 3.

圖5為圖4中發光板的結構示意圖。 Figure 5 is a schematic diagram of the structure of the light-emitting panel in Figure 4.

圖6為本申請實施例中檢測系統的另一結構示意圖。 Figure 6 is another structural schematic diagram of the detection system in the embodiment of this application.

圖7為本申請實施例中檢測系統的另一結構示意圖。 Figure 7 is another schematic diagram of the structure of the detection system in the embodiment of this application.

圖8為本申請實施例中檢測系統的另一結構示意圖。 Figure 8 is another structural schematic diagram of the detection system in the embodiment of this application.

圖9為一對比例中拍攝裝置正對待測產品時拍攝的待測產品的圖像。 Figure 9 shows an image of the product to be tested taken when the shooting device is facing the product to be tested in a comparative example.

圖10為一對比例中拍攝裝置在拍攝角度偏移時拍攝的待測產品的圖像。 Figure 10 shows an image of the product to be tested taken by the shooting device when the shooting angle is offset in a comparative example.

圖11為本實施例中第一拍攝裝置正對待測產品時拍攝的待測產品的圖像。 Figure 11 is an image of the product to be tested taken when the first shooting device in this embodiment is facing the product to be tested.

圖12為本實施例中第一拍攝裝置在拍攝角度偏移時拍攝的待測產品的圖像。 Figure 12 is an image of the product to be tested taken by the first shooting device in this embodiment when the shooting angle is offset.

本申請提供的檢測系統用於檢測待測產品是否合格。本實施例中,待測產品為貼附有標簽的塑膠瓶,檢測系統用於檢測塑膠瓶的瓶口和標簽是否符合要求。本實施例中,檢測系統藉由分別拍攝塑膠瓶的瓶口和標簽的圖像以評估瓶口和標簽是否符合要求。 The detection system provided in this application is used to detect whether the product to be tested is qualified. In this embodiment, the product to be tested is a plastic bottle with a label attached, and the detection system is used to detect whether the bottle mouth and label of the plastic bottle meet the requirements. In this embodiment, the detection system evaluates whether the bottle mouth and label meet the requirements by taking images of the bottle mouth and label of the plastic bottle respectively.

為了批量生產產品,產線上通常設置有傳送裝置(例如傳送帶)將複數待測產品依次從第一加工工站傳送至第二加工工站。本實施例的檢測系統應用於產線時,固定於傳送裝置的側邊上。也即,在產線運作過程中,傳送裝置持續傳送待測產品,然檢測系統位置保持固定不變,對經過其所在位置處的待測產品依次進行檢測。 In order to mass produce products, a conveying device (such as a conveyor belt) is usually installed on the production line to sequentially convey multiple products to be tested from the first processing station to the second processing station. When the detection system of this embodiment is applied to the production line, it is fixed on the side of the conveying device. That is, during the operation of the production line, the conveying device continuously conveys the products to be tested, and the position of the detection system remains fixed, and the products to be tested passing through its position are detected sequentially.

請參閱圖1,本實施例中,檢測系統1包括第一檢測模塊10、第二檢測模塊20、感應模塊30及控制模塊40,其中控制模塊40分別與第一檢測模塊10、第二檢測模塊20、感應模塊30連接並通信。 Please refer to Figure 1. In this embodiment, the detection system 1 includes a first detection module 10, a second detection module 20, a sensing module 30 and a control module 40, wherein the control module 40 is connected and communicates with the first detection module 10, the second detection module 20 and the sensing module 30 respectively.

請參閱圖2,本實施例中,檢測系統1還包括主體支架50。主體支架50為剛性電絕緣材料(Rigid Electrical Insulating Material),主要用於支撐第一檢測模塊10、第二檢測模塊20及感應模塊30,並用於固定和保持第一檢測模塊10、第二檢測模塊20及感應模塊30之間的相對位置。 Please refer to FIG. 2 . In this embodiment, the detection system 1 further includes a main support 50 . The main support 50 is a rigid electrical insulating material, which is mainly used to support the first detection module 10 , the second detection module 20 , and the sensing module 30 , and to fix and maintain the relative positions of the first detection module 10 , the second detection module 20 , and the sensing module 30 .

請參閱圖3,本實施例中,第一檢測模塊10包括第一拍攝裝置11和第一光源12。本實施例中,第一拍攝裝置11為工業相機,用於拍攝待測產品的待檢測部位(本實施例為瓶口)的圖像。第一光源12用於在第一拍攝裝置11拍攝時發光,以提升和均勻第一拍攝裝置11的拍攝環境的亮度。本實施例中,作為待測產品的瓶子放置於傳送裝置2上時,其瓶底直接接觸傳送裝置2,在瓶子經過第一拍攝裝置11時,瓶口遠離傳送裝置2且朝向第一拍攝裝置11,以便於第一拍攝裝置11拍攝。 Please refer to Figure 3. In this embodiment, the first detection module 10 includes a first camera 11 and a first light source 12. In this embodiment, the first camera 11 is an industrial camera, which is used to capture images of the part to be detected of the product to be detected (the bottle mouth in this embodiment). The first light source 12 is used to emit light when the first camera 11 is shooting, so as to enhance and even out the brightness of the shooting environment of the first camera 11. In this embodiment, when the bottle as the product to be tested is placed on the conveying device 2, its bottom directly contacts the conveying device 2. When the bottle passes through the first camera 11, the bottle mouth is away from the conveying device 2 and faces the first camera 11, so that the first camera 11 can shoot.

請參閱圖4,本實施例中,第一光源12包括兩個發光板121。請參閱圖5,每一發光板121中包括基板1211和位於基板1211同一表面上的多顆發光元件(例如為發光二極體)1212,多顆發光元件1212間隔排列為一陣列,每顆發光元件1212朝向相同方向發光,且各個發光元件1212發射的光亮度相同,使得每一發光板121作為一面光源發射一整面亮度均勻的光。 Please refer to FIG. 4. In this embodiment, the first light source 12 includes two light-emitting plates 121. Please refer to FIG. 5. Each light-emitting plate 121 includes a substrate 1211 and a plurality of light-emitting elements (such as light-emitting diodes) 1212 located on the same surface of the substrate 1211. The plurality of light-emitting elements 1212 are arranged in an array at intervals. Each light-emitting element 1212 emits light in the same direction, and the light brightness emitted by each light-emitting element 1212 is the same, so that each light-emitting plate 121 acts as a light source to emit a whole surface of uniform brightness.

第一光源12還包括反光板122。反光板122包括兩個反光部1221及連接於兩個反光部1221之間的連接部1222,兩個反光部1221與連接部1222一體成型。每一反光部1221分別具有一反射面S,反射面S用於反射接收到的光線。於一些實施例中,每一反光部1221的反射面S還用於散射接收到的光線。 The first light source 12 also includes a reflector 122. The reflector 122 includes two reflective portions 1221 and a connecting portion 1222 connected between the two reflective portions 1221. The two reflective portions 1221 and the connecting portion 1222 are integrally formed. Each reflective portion 1221 has a reflective surface S, and the reflective surface S is used to reflect the received light. In some embodiments, the reflective surface S of each reflective portion 1221 is also used to scatter the received light.

本實施例中,每一發光板121、每一反光部1221皆大致為矩形的片狀結構。連接部1222大致為一開設有通孔1223的片狀結構,且分別與兩個反光 部1221的一個邊連接。兩個發光板121間隔平行設置,且兩個發光板121用於發射光線的面相對設置。兩個反光部1221間隔平行設置,且兩個反光部1221的反射面S相對設置。每一發光板121相對的兩個邊分別連接兩個反光部1221,且每一反光部1221相對的兩個邊分別連接兩個發光板121。也即,兩個發光板121和兩個反光部1221共同圍合形成一具有中空空間1224的筒狀結構。 In this embodiment, each light-emitting plate 121 and each reflective portion 1221 are substantially rectangular sheet structures. The connecting portion 1222 is substantially a sheet structure with a through hole 1223, and is respectively connected to one edge of the two reflective portions 1221. The two light-emitting plates 121 are arranged in parallel with each other, and the surfaces of the two light-emitting plates 121 for emitting light are arranged opposite to each other. The two reflective portions 1221 are arranged in parallel with each other, and the reflection surfaces S of the two reflective portions 1221 are arranged opposite to each other. The two opposite edges of each light-emitting plate 121 are respectively connected to the two reflective portions 1221, and the two opposite edges of each reflective portion 1221 are respectively connected to the two light-emitting plates 121. That is, the two light-emitting plates 121 and the two reflective portions 1221 together form a cylindrical structure with a hollow space 1224.

如此,當兩個發光板121發光時,發光板121發射的光經過兩個反光部1221多次反射,可以在中空空間1224內形成亮度均勻的光以照射待測產品。且本實施例中,兩個發光板121皆為面光源,可在一較大的空間內形成亮度均勻的拍攝環境,有利於提升拍攝品質。 In this way, when the two light-emitting plates 121 emit light, the light emitted by the light-emitting plates 121 is reflected multiple times by the two reflective parts 1221, and light with uniform brightness can be formed in the hollow space 1224 to illuminate the product to be tested. In this embodiment, the two light-emitting plates 121 are both surface light sources, which can form a shooting environment with uniform brightness in a larger space, which is conducive to improving the shooting quality.

本實施例中,每一反光部1221的反射面S垂直於傳送裝置2的延伸方向所在平面,第一拍攝裝置11位於第一光源12的連接部1222一側,且正對連接部1222的通孔1223設置。也即,第一拍攝裝置11在第一光源12上的正投影位於通孔1223內。如此,第一拍攝裝置11可藉由通孔1223拍攝待測產品的圖像。 In this embodiment, the reflection surface S of each reflective portion 1221 is perpendicular to the plane where the extension direction of the transmission device 2 is located, and the first camera 11 is located on one side of the connecting portion 1222 of the first light source 12, and is arranged opposite to the through hole 1223 of the connecting portion 1222. That is, the orthographic projection of the first camera 11 on the first light source 12 is located in the through hole 1223. In this way, the first camera 11 can capture the image of the product to be tested through the through hole 1223.

本實施例中,待測產品在傳送裝置2上的移動方向為圖2或圖8中虛線箭頭所指示的方向,待測產品的移動方向平行於兩個發光板121且垂直於兩個反光部1221。待測產品具有一定的高度,為了便於待測產品通過,兩個反光部1221連接發光板121的邊的長度小於發光板121連接反光部1221的邊的長度。也即,兩個反光部1221相較於兩個發光板121更遠離傳送裝置2。當待測產品位於第一拍攝裝置11的正下方時,第一光源12發射的光均勻照射待測產品,第一拍攝裝置11拍攝待測產品的瓶口的圖像,獲得較清晰的瓶口輪廓。 In this embodiment, the moving direction of the product to be tested on the conveying device 2 is the direction indicated by the dotted arrow in FIG. 2 or FIG. 8 , and the moving direction of the product to be tested is parallel to the two light-emitting plates 121 and perpendicular to the two reflective portions 1221. The product to be tested has a certain height, and in order to facilitate the passing of the product to be tested, the length of the side where the two reflective portions 1221 connect to the light-emitting plate 121 is shorter than the length of the side where the light-emitting plate 121 connects to the reflective portion 1221. That is, the two reflective portions 1221 are farther from the conveying device 2 than the two light-emitting plates 121. When the product to be tested is located directly below the first photographing device 11, the light emitted by the first light source 12 evenly illuminates the product to be tested, and the first photographing device 11 photographs the image of the bottle mouth of the product to be tested to obtain a clearer bottle mouth outline.

本實施例中,第一檢測模塊10還包括兩個擋光板13。兩個擋光板13為遮光材料形成的薄片狀。兩個擋光板13間隔平行設置,分別固定設置於傳送裝置2的兩側。第一光源12發光時,兩個擋光板13用於遮擋外部光線,避免待測產品被外部光線照射。也即,本實施例中兩個擋光板13使得待測產品被照射的區域和亮度盡可能地由第一光源12決定,而不受到外部光線的干擾。當待測產品被傳輸至正對第一拍攝裝置11時,待測產品位於兩個擋光板13之間,兩個擋光板13之間的區域隔絕外部光線,使得待測產品的瓶口與其他位置的對比度增加,有利於獲取瓶口的清晰輪廓。上述的外部光線,例如為產線上其他加工工站發出的光線、或環境光線或來自第二檢測模塊20的光線(第一檢測模塊10與第二檢測模塊20位置靠近時)。 In this embodiment, the first detection module 10 further includes two light shielding plates 13. The two light shielding plates 13 are thin sheets formed of light-shielding materials. The two light shielding plates 13 are arranged in parallel and fixedly disposed on both sides of the conveying device 2. When the first light source 12 emits light, the two light shielding plates 13 are used to shield external light to prevent the product to be tested from being irradiated by external light. That is, in this embodiment, the two light shielding plates 13 make the area and brightness of the product to be tested to be determined by the first light source 12 as much as possible without being disturbed by external light. When the product to be tested is transmitted to the first camera 11, the product to be tested is located between the two light-blocking plates 13. The area between the two light-blocking plates 13 isolates the external light, so that the contrast between the bottle mouth of the product to be tested and other positions is increased, which is conducive to obtaining a clear outline of the bottle mouth. The above-mentioned external light is, for example, light emitted by other processing stations on the production line, or ambient light, or light from the second detection module 20 (when the first detection module 10 and the second detection module 20 are close to each other).

於其他實施例中,第一光源12包括四個發光板而不包括反光板,也即四個發光板依次連接圍合形成一具有中空空間的筒狀結構。該實施例中筒狀結構可參圖2。該實施例中,由於四面都是發光板,無需再藉由多次反射獲取亮度均勻的光線,相對圖2所示實施例,有利於提升光線均勻度。然圖2所示的第一光源12包括更少的發光板,有利於控制成本。 In other embodiments, the first light source 12 includes four light-emitting panels but no reflective panels, that is, the four light-emitting panels are connected in sequence to form a cylindrical structure with a hollow space. The cylindrical structure in this embodiment can be seen in Figure 2. In this embodiment, since all four sides are light-emitting panels, it is no longer necessary to obtain light with uniform brightness through multiple reflections. Compared with the embodiment shown in Figure 2, it is beneficial to improve the uniformity of light. However, the first light source 12 shown in Figure 2 includes fewer light-emitting panels, which is beneficial to control costs.

第二檢測模塊20用於拍攝待測產品的標簽的圖像。請參閱圖6,本實施例中,第二檢測模塊20包括第二拍攝裝置21和第二光源22。本實施例中,第二拍攝裝置21為工業相機,用於拍攝待測產品的標簽的圖像。待測產品還具有連接瓶口與瓶底的瓶身,標簽貼附於瓶身外表面,待測產品放置於傳送裝置2上時,標簽朝向第二拍攝裝置21。 The second detection module 20 is used to capture the image of the label of the product to be tested. Please refer to Figure 6. In this embodiment, the second detection module 20 includes a second camera 21 and a second light source 22. In this embodiment, the second camera 21 is an industrial camera, which is used to capture the image of the label of the product to be tested. The product to be tested also has a bottle body connecting the bottle mouth and the bottle bottom, and the label is attached to the outer surface of the bottle body. When the product to be tested is placed on the conveying device 2, the label faces the second camera 21.

第二光源22用於在第二拍攝裝置21拍攝時發光,以提升第二拍攝裝置21的拍攝環境的亮度。第二光源22中包括多顆發光元件(圖未示,例如為發光二極體),多顆發光元件間隔排列為一陣列,每顆發光元件朝向相同方向發光,且各個發光元件發射的光亮度相同,使得第二光源22作為一面光源發射一整面亮度均勻的光。 The second light source 22 is used to emit light when the second shooting device 21 shoots, so as to increase the brightness of the shooting environment of the second shooting device 21. The second light source 22 includes a plurality of light-emitting elements (not shown in the figure, such as light-emitting diodes), which are arranged in an array at intervals, each light-emitting element emits light in the same direction, and the brightness of the light emitted by each light-emitting element is the same, so that the second light source 22, as a light source, emits a whole surface of light with uniform brightness.

本實施例中,第二光源22整體為平板狀,其開設有通孔221。第二拍攝裝置21位於第二光源22本發射光的一側,用於通過通孔221拍攝待測產品的圖像。 In this embodiment, the second light source 22 is in the shape of a flat plate, and is provided with a through hole 221. The second photographing device 21 is located on the light emitting side of the second light source 22, and is used to photograph the image of the product to be tested through the through hole 221.

本實施例中,第二拍攝裝置21和第一拍攝裝置11沿傳送裝置2的延伸方向(也即被傳送的待測產品的位移方向)依次設置,從而依次採集待測產品的標簽和瓶口的圖像。也即,待測產品在被傳送的過程中,先經過第二拍攝裝置21,被第二拍攝裝置21獲取標簽的圖像,再經過第一拍攝裝置11,被第一拍攝裝置11拍攝瓶口的圖像。於其他實施例中,第一拍攝裝置11和第二拍攝裝置21的位置順序可以不同。 In this embodiment, the second camera 21 and the first camera 11 are sequentially arranged along the extension direction of the conveying device 2 (i.e., the displacement direction of the conveyed product to be tested), so as to sequentially collect images of the label and the bottle mouth of the product to be tested. That is, during the conveying process, the product to be tested first passes through the second camera 21, and the second camera 21 obtains the image of the label, and then passes through the first camera 11, and the first camera 11 takes the image of the bottle mouth. In other embodiments, the position sequence of the first camera 11 and the second camera 21 may be different.

請參閱圖7,由於待測產品上可能貼附有複數標簽,例如當待測產品上貼附有正面標簽和反面標簽。本實施例中,檢測系統1包括兩個第二檢測模塊20,兩個第二檢測模塊20在傳送裝置2的兩側對稱設置,以分別獲取待測產品上不同標簽的圖像。於其他實施例中,檢測系統1可僅包括一個第二檢測模塊20。 Please refer to Figure 7. Since the product to be tested may be attached with multiple labels, for example, when the product to be tested has a front label and a back label attached. In this embodiment, the detection system 1 includes two second detection modules 20, and the two second detection modules 20 are symmetrically arranged on both sides of the conveying device 2 to respectively obtain images of different labels on the product to be tested. In other embodiments, the detection system 1 may include only one second detection module 20.

請參閱圖8,本實施例中,感應模塊30包括第一感應器31和第二感應器32。第一感應器31和第二感應器32可為紅外感應器,用於感應在其所在位 置是否有待測產品經過。第一感應器31和第二感應器32用於發射紅外光,當有待測產品經過時,紅外光照射至待測產品上被反射,第一感應器31和第二感應器32接收到反射的紅外光時即可產生感應訊號。 Please refer to Figure 8. In this embodiment, the sensing module 30 includes a first sensor 31 and a second sensor 32. The first sensor 31 and the second sensor 32 may be infrared sensors, which are used to sense whether a product to be tested passes by at their location. The first sensor 31 and the second sensor 32 are used to emit infrared light. When a product to be tested passes by, the infrared light is irradiated on the product to be tested and reflected. When the first sensor 31 and the second sensor 32 receive the reflected infrared light, a sensing signal can be generated.

本實施例中,第二檢測模塊20、第一感應器31、第一檢測模塊10及第二感應器32沿傳送裝置2的延伸方向依次設置。也即本實施例中,待測產品在被傳送的過程中,先經過第二檢測模塊20,然後經過第一感應器31,再經過第一檢測模塊10,最後經過第二感應器32。 In this embodiment, the second detection module 20, the first sensor 31, the first detection module 10 and the second sensor 32 are sequentially arranged along the extension direction of the conveying device 2. That is, in this embodiment, the product to be tested first passes through the second detection module 20, then passes through the first sensor 31, then passes through the first detection module 10, and finally passes through the second sensor 32 during the conveying process.

控制模塊40為電腦,可藉由有線或無線的方式與第一檢測模塊10、第二檢測模塊20、第一感應器31及第二感應器32進行數據或訊號傳輸。本實施例中,控制模塊40與第一檢測模塊10和第二檢測模塊20之間採用有線連接方式。控制模塊40用於控制第一拍攝裝置11和第二拍攝裝置21拍照,用於控制第一光源12和第二光源22發光且控制發光亮度,用於接收第一感應器31和第二感應器32的感應訊號,還用於對拍攝得到的圖像進行分析以得到待測產品的信息。 The control module 40 is a computer, which can transmit data or signals with the first detection module 10, the second detection module 20, the first sensor 31 and the second sensor 32 by wired or wireless means. In this embodiment, the control module 40 is connected to the first detection module 10 and the second detection module 20 by wired means. The control module 40 is used to control the first shooting device 11 and the second shooting device 21 to take pictures, to control the first light source 12 and the second light source 22 to emit light and control the brightness of the light, to receive the sensing signals of the first sensor 31 and the second sensor 32, and to analyze the captured images to obtain information about the product to be tested.

以下結合圖8對本實施例的檢測系統1的工作過程進行闡述。 The following describes the working process of the detection system 1 of this embodiment in conjunction with Figure 8.

傳送裝置2傳送待測產品過程中,待測產品先到達第二檢測模塊20。待測產品剛剛到達第二檢測模塊20處時,檢測系統1沒有任何作動。待測產品持續移動,當待測產品到達第一感應器31時,第一感應器31即可產生感應訊號。控制模塊40接收到該感應訊號即可判斷此時待測產品正對第二檢測模塊20,即控制第二光源22發光,並控制第二拍攝裝置21拍攝圖像,此時拍攝得到的圖像為標簽的圖像。 When the conveying device 2 conveys the product to be tested, the product to be tested first reaches the second detection module 20. When the product to be tested just reaches the second detection module 20, the detection system 1 does not move. The product to be tested continues to move, and when the product to be tested reaches the first sensor 31, the first sensor 31 can generate a sensing signal. The control module 40 receives the sensing signal and can determine that the product to be tested is facing the second detection module 20 at this time, that is, it controls the second light source 22 to emit light, and controls the second shooting device 21 to shoot an image. The image captured at this time is an image of the label.

待測產品具有一定的體積,故從待測產品到達第一感應器31到待測產品完全離開第一感應器31,需要一定的時長。也即,從待測產品到達第一感應器31的時刻開始,在接下來的一個時段內,第一感應器31都可以持續產生感應訊號,控制模塊40也可持續接收到感應訊號。當待測產品完全離開第一感應器31時,第一感應器31停止產生感應訊號,則控制模塊40由接收感應訊號的狀態切換到不接收感應訊號的狀態。換句話說,從待測產品到達第一感應器31的時刻開始,第一感應器31產生觸發訊號,直至待測產品完全離開第一感應器31時,觸發訊號停止。控制模塊40可根據上述狀態的切換判斷此時待測產品已經到達第一檢測模塊10的所在位置,故控制模塊40控制第一光源12發光,並控制第一拍攝裝置11拍攝圖像,此時拍攝得到的圖像為瓶口的圖像。 The product to be tested has a certain volume, so it takes a certain amount of time from the time when the product to be tested reaches the first sensor 31 to the time when the product to be tested completely leaves the first sensor 31. That is, starting from the moment when the product to be tested reaches the first sensor 31, in the next period of time, the first sensor 31 can continue to generate a sensing signal, and the control module 40 can also continue to receive the sensing signal. When the product to be tested completely leaves the first sensor 31, the first sensor 31 stops generating the sensing signal, and the control module 40 switches from the state of receiving the sensing signal to the state of not receiving the sensing signal. In other words, starting from the moment when the product to be tested reaches the first sensor 31, the first sensor 31 generates a trigger signal until the product to be tested completely leaves the first sensor 31, and the trigger signal stops. The control module 40 can judge that the product to be tested has reached the location of the first detection module 10 according to the switching of the above state, so the control module 40 controls the first light source 12 to emit light and controls the first shooting device 11 to shoot an image. The image captured at this time is an image of the bottle mouth.

第一拍攝裝置11和第二拍攝裝置21還用於將拍攝的圖像回傳至控制模塊40。控制模塊40用於接收第二拍攝裝置21拍攝的標簽的圖像,根據標簽上文字的輪廓判斷標簽上文字屬哪種語言(例如中文、英文),從而判斷標簽是否誤貼。控制模塊40還用於接收第一拍攝裝置11拍攝的瓶口的圖像,抓取瓶口的輪廓,判斷瓶口的形狀是否為預設形狀(例如為圓形)、瓶口是否存在餘料未切除、瓶口是否被堵塞等。 The first camera 11 and the second camera 21 are also used to transmit the captured images back to the control module 40. The control module 40 is used to receive the image of the label captured by the second camera 21, and determine the language (e.g., Chinese, English) of the text on the label based on the outline of the text on the label, thereby determining whether the label is misplaced. The control module 40 is also used to receive the image of the bottle mouth captured by the first camera 11, capture the outline of the bottle mouth, and determine whether the shape of the bottle mouth is a preset shape (e.g., circular), whether there is any residual material on the bottle mouth that has not been cut off, whether the bottle mouth is blocked, etc.

當控制模塊40判斷標簽貼附正確、瓶口形狀正確、瓶口無餘料且瓶口無堵塞時,判斷待測產品合格,否則判斷待測產品不合格。 When the control module 40 determines that the label is correctly attached, the bottle mouth shape is correct, there is no residual material in the bottle mouth, and the bottle mouth is not blocked, the product to be tested is judged to be qualified, otherwise it is judged that the product to be tested is unqualified.

控制模塊40分析上述圖像的過程中,待測產品持續移動。控制模塊40可在待測產品到達第二感應器32之前得到判斷結果。當待測產品到達第二感應器32處時,第二感應器32可產生感應訊號。控制模塊40用於接收該感應訊號,根據該感應訊號即可判斷待測產品已經離開第一檢測模塊10處。 During the process of the control module 40 analyzing the above-mentioned image, the product to be tested continues to move. The control module 40 can obtain the judgment result before the product to be tested reaches the second sensor 32. When the product to be tested reaches the second sensor 32, the second sensor 32 can generate a sensing signal. The control module 40 is used to receive the sensing signal, and according to the sensing signal, it can be judged that the product to be tested has left the first detection module 10.

若控制模塊40判斷待測產品合格,在接收到第二感應器32回傳的感應訊號時,不對待測產品進行操作,待測產品可繼續被傳送裝置2傳送至下一加工節點。若控制模塊40判斷待測產品不合格,在接收到第二感應器32回傳的感應訊號時,將控制產線上相應的結構移除傳送裝置2上的待測產品,以避免不合格的待測產品被傳送至下一加工節點。例如產線上設置有吹氣結構(圖未示),控制模塊40可電連接吹氣結構,控制吹氣結構將待測產品吹出傳送裝置2。 If the control module 40 determines that the product to be tested is qualified, when receiving the sensing signal returned by the second sensor 32, no operation is performed on the product to be tested, and the product to be tested can continue to be transmitted to the next processing node by the conveying device 2. If the control module 40 determines that the product to be tested is unqualified, when receiving the sensing signal returned by the second sensor 32, the corresponding structure on the production line is controlled to remove the product to be tested on the conveying device 2 to prevent the unqualified product to be tested from being transmitted to the next processing node. For example, a blowing structure (not shown) is provided on the production line, and the control module 40 can be electrically connected to the blowing structure to control the blowing structure to blow the product to be tested out of the conveying device 2.

圖9為一對比例中拍攝裝置正對待測產品時獲取到的瓶口的圖像,圖10為拍攝裝置拍攝角度偏移時獲取的瓶口的圖像。控制模塊接收到拍攝裝置回傳的圖像時,會抓取圖像中的高亮處,將其作為瓶口的輪廓。由於該對比例中使用環形的光源,其照射範圍較小,拍攝角度偏移時,待測產品上被光找到的位置會發生改變,使得圖像中高亮區域偏移瓶口所在的位置。也即,拍攝角度偏移時,拍攝得到的圖像中,高亮區域不再全完對應瓶口的位置,一部分瓶身所在的位置也為高亮。此時控制模塊抓取圖像中的高亮處作為瓶口的輪廓,會導致對待測產品是否合格產生誤判。並且,由圖10可知,待測產品內部(也即瓶子內部)也為高亮,此時若抓取高亮部分作為瓶口輪廓,也將誤判為瓶口堵塞。 FIG9 is an image of the bottle mouth obtained when the camera is facing the product to be tested in a comparative example, and FIG10 is an image of the bottle mouth obtained when the camera is at an offset shooting angle. When the control module receives the image sent back by the camera, it will capture the highlight in the image and use it as the outline of the bottle mouth. Since a ring-shaped light source is used in this comparative example, its illumination range is relatively small. When the shooting angle is offset, the position found by the light on the product to be tested will change, causing the highlighted area in the image to shift away from the position of the bottle mouth. That is, when the shooting angle is offset, in the image obtained by shooting, the highlighted area no longer completely corresponds to the position of the bottle mouth, and the position where a part of the bottle body is located is also highlighted. At this time, the control module captures the highlight in the image as the outline of the bottle mouth, which will lead to a misjudgment of whether the product to be tested is qualified. Moreover, as shown in Figure 10, the inside of the product to be tested (i.e., the inside of the bottle) is also highlighted. At this time, if the highlighted part is captured as the bottle mouth contour, it will also be misjudged as a blocked bottle mouth.

圖11為本實施例的第一拍攝裝置11正對待測產品時獲取到的瓶口的圖像,圖12為第一拍攝裝置11拍攝角度偏移時獲取的瓶口的圖像。由圖11和 圖12可知,由於第一光源12為面光源,待測產品所在區域的較大範圍都被照亮,即便在拍攝角度偏移時,圖像中的高亮部分依舊對應瓶口所在位置,則控制模塊40可準確獲取瓶口的輪廓。且根據圖12可知,在拍攝角度偏移時,僅瓶口部分為高亮,瓶口與瓶內部分區分明顯,則可避免誤判為瓶口堵塞。 FIG11 is an image of the bottle mouth obtained when the first shooting device 11 of this embodiment is facing the product to be tested, and FIG12 is an image of the bottle mouth obtained when the shooting angle of the first shooting device 11 is offset. It can be seen from FIG11 and FIG12 that since the first light source 12 is a surface light source, a large range of the area where the product to be tested is located is illuminated. Even when the shooting angle is offset, the highlighted part in the image still corresponds to the position of the bottle mouth, and the control module 40 can accurately obtain the outline of the bottle mouth. And according to FIG12, when the shooting angle is offset, only the bottle mouth part is highlighted, and the bottle mouth and the inner part of the bottle are clearly distinguished, so that the misjudgment of the bottle mouth being blocked can be avoided.

本實施例的檢測系統1,包括第一檢測模塊10,第一檢測模塊10包括第一拍攝裝置11和第一光源12,其中第一光源12為面光源,在第一拍攝裝置11拍攝過程中,由於第一光源12為面光源,其發光可以保持待測產品所在的較大區域範圍內都具有均勻的亮度,即便拍攝角度有所偏移(也即第一拍攝裝置11拍攝沒有完全正對待測產品拍攝),也可拍攝得到待測產品的清晰圖像。故本實施例的檢測系統有利於提高第一拍攝裝置11拍攝的瓶口的圖像的質量。 The detection system 1 of this embodiment includes a first detection module 10, which includes a first shooting device 11 and a first light source 12, wherein the first light source 12 is a surface light source. During the shooting process of the first shooting device 11, since the first light source 12 is a surface light source, its light emission can maintain uniform brightness in a large area where the product to be tested is located. Even if the shooting angle is offset (that is, the first shooting device 11 is not completely facing the product to be tested), a clear image of the product to be tested can be captured. Therefore, the detection system of this embodiment is conducive to improving the quality of the image of the bottle mouth captured by the first shooting device 11.

本技術領域之普通技術人員應當認識到,以上之實施方式僅是用來說明本發明,而並非用作為對本發明之限定,只要於本發明之實質精神範圍之內,對以上實施例所作之適當改變及變化均落於本發明要求保護之範圍之內。 Ordinary technical personnel in this technical field should recognize that the above implementation methods are only used to illustrate the present invention, and are not used as limitations on the present invention. As long as they are within the spirit of the present invention, appropriate changes and modifications to the above implementation examples are within the scope of protection required by the present invention.

1:檢測系統 1: Detection system

10:第一檢測模塊 10: First detection module

20:第二檢測模塊 20: Second detection module

30:感應模塊 30:Sensor module

50:主體支架 50: Main body bracket

2:傳送裝置 2: Transmission device

Claims (10)

一種檢測系統,其改良在於,包括:第一檢測模塊,包括第一拍攝裝置和第一光源,所述第一拍攝裝置用於拍攝待測產品的圖像,所述第一光源為面光源,用於在第一拍攝裝置拍攝所述待測產品的圖像時發光照射所述待測產品,所述第一光源包括反光板和兩個發光板,所述反光板包括兩個反光部,所述兩個反光部及所述兩個發光板依次圍合形成一具有中空空間的筒狀結構,所述兩個反光部用於多次反射來自所述兩個發光板的光,以保持所述待測產品所在的區域內具有均勻的亮度;感應模塊,用於在感應到所述待測產品時產生感應訊號;以及控制模塊,分別連接所述第一拍攝裝置、所述發光板及所述感應模塊,用於在接收到所述感應訊號時,控制所述發光板發光和控制所述第一拍攝裝置拍攝圖像,所述控制模塊還用於分析所述圖像以判斷所述待測產品是否合格。 A detection system, which is improved in that it comprises: a first detection module, comprising a first camera and a first light source, wherein the first camera is used to capture an image of a product to be detected, the first light source is a surface light source, and is used to illuminate the product to be detected when the first camera captures the image of the product to be detected, the first light source comprises a reflector and two light-emitting plates, the reflector comprises two reflective parts, the two reflective parts and the two light-emitting plates are sequentially enclosed to form a cylindrical structure with a hollow space, the two reflective parts are The light part is used to reflect the light from the two light-emitting boards multiple times to maintain uniform brightness in the area where the product to be tested is located; the sensing module is used to generate a sensing signal when sensing the product to be tested; and the control module is respectively connected to the first shooting device, the light-emitting board and the sensing module, and is used to control the light-emitting board to emit light and control the first shooting device to shoot images when receiving the sensing signal. The control module is also used to analyze the image to determine whether the product to be tested is qualified. 如請求項1所述的檢測系統,其中,每一所述發光板為面光源,所述兩個發光板平行設置且所述兩個發光板發光的面相對設置。 As described in claim 1, the detection system, wherein each of the light-emitting plates is a surface light source, the two light-emitting plates are arranged in parallel and the light-emitting surfaces of the two light-emitting plates are arranged opposite to each other. 如請求項2所述的檢測系統,其中,所述反光板還用於散射來自所述兩個發光板的光。 A detection system as described in claim 2, wherein the reflective plate is also used to scatter light from the two light-emitting plates. 如請求項2所述的檢測系統,其中,所述兩個反光部為分別具有一反射面的板狀結構,所述兩個反光部平行設置且所述反射面相對設置。 As described in claim 2, the detection system, wherein the two reflective parts are plate-shaped structures each having a reflective surface, the two reflective parts are arranged in parallel and the reflective surfaces are arranged opposite to each other. 如請求項4所述的檢測系統,其中,所述反光板還包括連接於所述兩個反光部之間的連接部,所述連接部開設有一通孔,所述第一拍攝裝置位於所述第一光源的連接部一側,用於通過所述通孔拍攝所述待測產品的圖像。 As described in claim 4, the reflector further includes a connecting portion connected between the two reflective portions, the connecting portion is provided with a through hole, and the first shooting device is located on one side of the connecting portion of the first light source, and is used to shoot the image of the product to be tested through the through hole. 如請求項1所述的檢測系統,其中,所述第一檢測模塊還包括擋光板,所述擋光板用於遮擋外部光線。 The detection system as described in claim 1, wherein the first detection module further includes a light blocking plate, and the light blocking plate is used to block external light. 如請求項1所述的檢測系統,其中,還包括連接所述控制模塊的第二檢測模塊,所述第二檢測模塊用於獲取所述待測產品的圖像,所述第一檢測模塊和所述第二檢測模塊用於拍攝所述待測產品不同位置的圖像,所述控制模塊用於分析所述第一檢測模塊和所述第二檢測模塊獲取的圖像,以判斷所述待測產品是否合格。 The detection system as described in claim 1, further comprising a second detection module connected to the control module, the second detection module is used to obtain an image of the product to be tested, the first detection module and the second detection module are used to take images of different positions of the product to be tested, and the control module is used to analyze the images obtained by the first detection module and the second detection module to determine whether the product to be tested is qualified. 如請求項7所述的檢測系統,其中,所述感應模塊包括第一感應器,所述第一感應器感應到所述待測產品時,所述控制模塊控制所述第二檢測模塊獲取所述待測產品的圖像。 The detection system as described in claim 7, wherein the sensing module includes a first sensor, and when the first sensor senses the product to be tested, the control module controls the second detection module to obtain an image of the product to be tested. 如請求項8所述的檢測系統,其中,所述第一感應器感應到所述待測產品離開所述第一感應器所在位置時,所述控制模塊控制所述第一檢測模塊獲取所述待測產品的圖像。 The detection system as described in claim 8, wherein when the first sensor senses that the product to be tested leaves the position of the first sensor, the control module controls the first detection module to obtain an image of the product to be tested. 如請求項8所述的檢測系統,其中,所述感應模塊還包括第二感應器,所述第二感應器感應到所述待測產品時,所述控制模塊輸出訊號以控制移除所述待測產品。 The detection system as described in claim 8, wherein the sensing module further includes a second sensor, and when the second sensor senses the product to be tested, the control module outputs a signal to control the removal of the product to be tested.
TW111119290A 2022-05-24 2022-05-24 Detection system TWI855329B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111119290A TWI855329B (en) 2022-05-24 2022-05-24 Detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111119290A TWI855329B (en) 2022-05-24 2022-05-24 Detection system

Publications (2)

Publication Number Publication Date
TW202346795A TW202346795A (en) 2023-12-01
TWI855329B true TWI855329B (en) 2024-09-11

Family

ID=90039293

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111119290A TWI855329B (en) 2022-05-24 2022-05-24 Detection system

Country Status (1)

Country Link
TW (1) TWI855329B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3008796B2 (en) * 1994-12-22 2000-02-14 住友電装株式会社 Illumination method and illumination device in wire processing unit inspection device of stripped terminal crimping machine
CN108454981A (en) * 2018-03-21 2018-08-28 红云红河烟草(集团)有限责任公司 Visual detection device for appearance of cigarette carton at outlet of high-speed packaging machine
CN106052792B (en) * 2016-05-18 2019-02-26 湖南大学 A method and device for liquid level detection of PET bottles based on machine vision
CN209764743U (en) * 2019-01-30 2019-12-10 广东利元亨智能装备股份有限公司 visual detection device and appearance detection equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3008796B2 (en) * 1994-12-22 2000-02-14 住友電装株式会社 Illumination method and illumination device in wire processing unit inspection device of stripped terminal crimping machine
CN106052792B (en) * 2016-05-18 2019-02-26 湖南大学 A method and device for liquid level detection of PET bottles based on machine vision
CN108454981A (en) * 2018-03-21 2018-08-28 红云红河烟草(集团)有限责任公司 Visual detection device for appearance of cigarette carton at outlet of high-speed packaging machine
CN209764743U (en) * 2019-01-30 2019-12-10 广东利元亨智能装备股份有限公司 visual detection device and appearance detection equipment

Also Published As

Publication number Publication date
TW202346795A (en) 2023-12-01

Similar Documents

Publication Publication Date Title
CN102954970B (en) Apparatus for detecting surface defects of glass substrates
CN101999260B (en) Optical detection device and method for detecting surfaces of components
CN206725466U (en) Cover-plate glass defect detecting device based on multi-angle combination dark field imaging
KR101192118B1 (en) Apparatus for defect detection on strip surface using multiple light source
KR20110127165A (en) System and method for detecting defects in substrate
KR101585916B1 (en) Object Vision Inspection Apparatus And Object Vision Inspection Method
JP4154523B2 (en) Container foreign matter detection device
KR20160047360A (en) System and method for defect detection
CN209342633U (en) Glass inspection systems and supply line
CN110809731A (en) Glass processing apparatus and method
WO2018041169A1 (en) Automatic optical inspection device and inspection method
KR101779974B1 (en) System for inspecting defects of glass
US5451795A (en) Apparatus for spotting labels onto a surface having a transparent conveyor means
WO2026011534A1 (en) Material strip hole detection system and method
CN110873638B (en) Optical module automatic detection equipment
JP6707443B2 (en) Defect inspection image capturing system, defect inspection system, film manufacturing apparatus, defect inspection image capturing method, defect inspection method and film manufacturing method
CN104655646A (en) Glass substrate internal defect checking system and checking method for height position of internal defect
JP2005069989A (en) Inspection apparatus
CN103907013B (en) Coccoid checks device
TWI855329B (en) Detection system
CN117147554A (en) Detection Systems
CN108956628B (en) Plastic cover plate defect imaging detection system
CN108811483B (en) Assembly circuit board inspection system and assembly circuit board inspection method
KR20180136421A (en) System and method for defect detection
CN108700529A (en) Equipment for Printed Image Inspection