TW202346795A - Detection system - Google Patents

Detection system Download PDF

Info

Publication number
TW202346795A
TW202346795A TW111119290A TW111119290A TW202346795A TW 202346795 A TW202346795 A TW 202346795A TW 111119290 A TW111119290 A TW 111119290A TW 111119290 A TW111119290 A TW 111119290A TW 202346795 A TW202346795 A TW 202346795A
Authority
TW
Taiwan
Prior art keywords
product
tested
light
light source
module
Prior art date
Application number
TW111119290A
Other languages
Chinese (zh)
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/TW202346795A/en
Publication of TW202346795A publication Critical patent/TW202346795A/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 relates to the technical field of product detection, and in particular to a detection system.

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

本申請實施例提供一種檢測系統,包括: 第一檢測模塊,包括第一拍攝裝置和第一光源,所述第一拍攝裝置用於拍攝待測產品的圖像,所述第一光源為面光源,用於在第一拍攝裝置拍攝所述待測產品的圖像時發光照射所述待測產品; 感應模塊,用於在感應到所述待測產品時產生感應訊號;以及 控制模塊,分別連接所述第一拍攝裝置、所述第一光源及所述感應模塊,用於在接收到所述感應訊號時,控制所述第一光源發光和控制所述第一拍攝裝置拍攝圖像,所述控制模塊還用於分析所述圖像以判斷所述待測產品是否合格。 The embodiment of the present application provides a detection system, including: The first detection module includes a first photographing device and a first light source. The first photographing device is used to photograph the image of the product to be tested. The first light source is a surface light source and is used to photograph the first photographing device. The image of the product to be tested emits light to illuminate the product to be tested; A sensing module for generating a sensing signal when sensing the product under test; and A control module, respectively connected to the first shooting device, the first light source and the sensing module, for controlling the first light source to emit light and controlling the first shooting device to shoot 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.

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

本申請提供的檢測系統用於檢測待測產品是否合格。本實施例中,待測產品為貼附有標簽的塑膠瓶,檢測系統用於檢測塑膠瓶的瓶口和標簽是否符合要求。本實施例中,檢測系統藉由分別拍攝塑膠瓶的瓶口和標簽的圖像以評估瓶口和標簽是否符合要求。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 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, the production line is usually equipped with a conveyor device (such as a conveyor belt) to sequentially convey a plurality of products to be tested from the first processing station to the second processing station. When the detection system of this embodiment is used in a production line, it is fixed on the side of the conveyor. That is, during the operation of the production line, the conveyor device continues to convey the products to be tested, but the position of the detection system remains fixed, and the products to be tested passing through its position are detected in sequence.

請參閱圖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, an induction module 30 and a control module 40. The control module 40 is connected to the first detection module 10 and the second detection module respectively. 20. The sensing module 30 is connected and communicates.

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

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

請參閱圖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 panels 121 . Please refer to FIG. 5 . Each light-emitting panel 121 includes a substrate 1211 and a plurality of light-emitting elements (for example, 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. The elements 1212 emit light in the same direction, and the light emitted by each light-emitting element 1212 has the same brightness, so that each light-emitting plate 121 serves as a light source and emits light with uniform brightness across the entire surface.

第一光源12還包括反光板122。反光板122包括兩個反光部1221及連接於兩個反光部1221之間的連接部1222,兩個反光部1221與連接部1222一體成型。每一反光部1221分別具有一反射面S,反射面S用於反射接收到的光線。於一些實施例中,每一反光部1221的反射面S還用於散射接收到的光線。The first light source 12 also includes a reflective plate 122 . The reflective plate 122 includes two reflective parts 1221 and a connecting part 1222 connected between the two reflective parts 1221. The two reflective parts 1221 and the connecting part 1222 are integrally formed. Each reflective part 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 part 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 part 1222 is generally a sheet-like structure with a through hole 1223 opened, and is connected to one side of the two reflective parts 1221 respectively. The two luminescent plates 121 are arranged in parallel and spaced apart, and the surfaces of the two luminescent plates 121 for emitting light are arranged opposite to each other. The two reflective parts 1221 are arranged parallel to each other at intervals, and the reflective surfaces S of the two reflective parts 1221 are arranged opposite to each other. The two opposite sides of each light-emitting plate 121 are connected to two reflective portions 1221 respectively, and the two opposite sides of each reflective portion 1221 are connected to two light-emitting plates 121 respectively. That is, the two light-emitting plates 121 and the two reflective parts 1221 together form a cylindrical structure with a hollow space 1224 .

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

本實施例中,每一反光部1221的反射面S垂直於傳送裝置2的延伸方向所在平面,第一拍攝裝置11位於第一光源12的連接部1222一側,且正對連接部1222的通孔1223設置。也即,第一拍攝裝置11在第一光源12上的正投影位於通孔1223內。如此,第一拍攝裝置11可藉由通孔1223拍攝待測產品的圖像。In this embodiment, the reflective surface S of each reflective part 1221 is perpendicular to the plane along which the transmission device 2 extends. The first shooting device 11 is located on the side of the connecting part 1222 of the first light source 12 and faces the passage of the connecting part 1222. Hole 1223 set. That is, the orthographic projection of the first photographing device 11 on the first light source 12 is located in the through hole 1223 . In this way, the first photographing device 11 can photograph 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 conveyor 2 is the direction indicated by the dotted arrow in Figure 2 or Figure 8. The moving direction of the product to be tested is parallel to the two luminous plates 121 and perpendicular to the two reflective parts. 1221. The product to be tested has a certain height. In order to facilitate the passage of the product to be tested, the length of the sides of the two reflective parts 1221 connecting the luminescent plate 121 is shorter than the length of the side of the luminescent plate 121 connecting the reflective parts 1221 . That is, the two reflective parts 1221 are farther away from the transmission 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 uniformly illuminates the product to be tested, and the first photographing device 11 captures an 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 baffles 13 . The two light shielding plates 13 are in the form of sheets of light shielding material. The two light baffles 13 are arranged in parallel and spaced apart, and are fixedly arranged on both sides of the conveyor 2 respectively. When the first light source 12 emits light, the two light baffles 13 are used to block external light to prevent the product to be tested from being illuminated by external light. That is, in this embodiment, the two light baffles 13 allow the illuminated area and brightness of the product to be tested to be determined by the first light source 12 as much as possible without being interfered by external light. When the product to be tested is transported to the first shooting device 11, the product to be tested is located between the two light baffles 13. The area between the two light baffles 13 isolates external light, so that the bottle mouth of the product to be tested is in contact with other products. The contrast of the position is increased, which is beneficial 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, 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 luminescent panels instead of a reflective panel, that is, the four luminescent panels are connected in sequence and enclosed 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 there are luminescent panels on all sides, it is no longer necessary to obtain light with uniform brightness through multiple reflections. Compared with the embodiment shown in FIG. 2, this is beneficial to improving the uniformity of light. However, the first light source 12 shown in FIG. 2 includes fewer light-emitting panels, which is beneficial to cost control.

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

第二光源22用於在第二拍攝裝置21拍攝時發光,以提升第二拍攝裝置21的拍攝環境的亮度。第二光源22中包括多顆發光元件(圖未示,例如為發光二極體),多顆發光元件間隔排列為一陣列,每顆發光元件朝向相同方向發光,且各個發光元件發射的光亮度相同,使得第二光源22作為一面光源發射一整面亮度均勻的光。The second light source 22 is used to emit light when the second photographing device 21 is photographing, so as to enhance the brightness of the photographing environment of the second photographing device 21 . The second light source 22 includes a plurality of light-emitting elements (not shown, such as light-emitting diodes). The plurality of light-emitting elements are spaced in an array. 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 serves as a light source to emit light with uniform brightness across the entire surface.

本實施例中,第二光源22整體為平板狀,其開設有通孔221。第二拍攝裝置21位於第二光源22本發射光的一側,用於通過通孔221拍攝待測產品的圖像。In this embodiment, the second light source 22 is flat as a whole and has a through hole 221 . The second photographing device 21 is located on the side of the second light source 22 that emits light, 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 photographing device 21 and the first photographing device 11 are arranged sequentially along the extension direction of the conveying device 2 (that is, the displacement direction of the transported product to be tested), thereby sequentially collecting the labels and bottle mouths of the products to be tested. image. That is to say, during the process of being transported, the product to be tested first passes through the second photographing device 21, and the image of the label is captured by the second photographing device 21, and then passes through the first photographing device 11, and the bottle mouth is photographed by the first photographing device 11 image. In other embodiments, the position order 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, because there may be multiple labels attached to the product to be tested, for example, when the product to be tested has a front label and a back label attached to it. In this embodiment, the detection system 1 includes two second detection modules 20. The two second detection modules 20 are symmetrically arranged on both sides of the conveyor 2 to respectively acquire images of different labels on the product to be tested. In other embodiments, the detection system 1 may only include one second detection module 20 .

請參閱圖8,本實施例中,感應模塊30包括第一感應器31和第二感應器32。第一感應器31和第二感應器32可為紅外感應器,用於感應在其所在位置是否有待測產品經過。第一感應器31和第二感應器32用於發射紅外光,當有待測產品經過時,紅外光照射至待測產品上被反射,第一感應器31和第二感應器32接收到反射的紅外光時即可產生感應訊號。Please refer to FIG. 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, 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 shines on the product to be tested and is reflected. The first sensor 31 and the second sensor 32 receive the reflection. Sensing signals can be generated when exposed to infrared light.

本實施例中,第二檢測模塊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 transmission device 2 . That is to say, in this embodiment, when the product to be tested is being transported, it 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 .

控制模塊40為電腦,可藉由有線或無線的方式與第一檢測模塊10、第二檢測模塊20、第一感應器31及第二感應器32進行數據或訊號傳輸。本實施例中,控制模塊40與第一檢測模塊10和第二檢測模塊20之間採用有線連接方式。控制模塊40用於控制第一拍攝裝置11和第二拍攝裝置21拍照,用於控制第一光源12和第二光源22發光且控制發光亮度,用於接收第一感應器31和第二感應器32的感應訊號,還用於對拍攝得到的圖像進行分析以得到待測產品的信息。The control module 40 is a computer and 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 in a wired or wireless manner. In this embodiment, wired connection is used between the control module 40 and the first detection module 10 and the second detection module 20 . 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, and to receive the first sensor 31 and the second sensor The sensing signal of 32 is also used to analyze the captured image to obtain information about the product to be tested.

以下結合圖8對本實施例的檢測系統1的工作過程進行闡述。The working process of the detection system 1 of this embodiment will be described below with reference to FIG. 8 .

傳送裝置2傳送待測產品過程中,待測產品先到達第二檢測模塊20。待測產品剛剛到達第二檢測模塊20處時,檢測系統1沒有任何作動。待測產品持續移動,當待測產品到達第一感應器31時,第一感應器31即可產生感應訊號。控制模塊40接收到該感應訊號即可判斷此時待測產品正對第二檢測模塊20,即控制第二光源22發光,並控制第二拍攝裝置21拍攝圖像,此時拍攝得到的圖像為標簽的圖像。During the process of conveying the product to be tested by the conveying device 2, the product to be tested first arrives at the second detection module 20. When the product to be tested has just arrived at the second detection module 20, the detection system 1 does not take any action. The product to be tested continues to move. When the product to be tested reaches the first sensor 31, the first sensor 31 can generate a sensing signal. When the control module 40 receives the sensing signal, it 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 capture an image. The image captured at this time image for 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 the product to be tested reaches the first sensor 31 to when the product to be tested completely leaves the first sensor 31 . That is, from the moment the product under test reaches the first sensor 31, in the next period of time, the first sensor 31 can continue to generate sensing signals, and the control module 40 can also continue to receive sensing signals. When the product to be tested completely leaves the first sensor 31, the first sensor 31 stops generating the induction signal, and the control module 40 switches from the state of receiving the induction signal to the state of not receiving the induction 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, and the trigger signal stops when the product to be tested completely leaves the first sensor 31 . The control module 40 can determine according to the switching of the above states that the product to be tested has reached the location of the first detection module 10 at this time, so the control module 40 controls the first light source 12 to emit light, and controls the first shooting device 11 to capture images. At this time The image taken is the 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 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 photographing device 21 and determine which language the text on the label belongs to (for example, Chinese, English) based on the outline of the text on the label, thereby determining whether the label has been misplaced. The control module 40 is also used to receive the image of the bottle mouth captured by the first shooting device 11, capture the outline of the bottle mouth, and determine whether the shape of the bottle mouth is a preset shape (for example, a circle) and whether there is any remaining material at the bottle mouth. It has not been cut off, whether the bottle mouth is blocked, etc.

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

控制模塊40分析上述圖像的過程中,待測產品持續移動。控制模塊40可在待測產品到達第二感應器32之前得到判斷結果。當待測產品到達第二感應器32處時,第二感應器32可產生感應訊號。控制模塊40用於接收該感應訊號,根據該感應訊號即可判斷待測產品已經離開第一檢測模塊10處。During the process of the control module 40 analyzing the above 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 induction signal, and based on the induction signal, it can be determined 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 and receives the induction signal returned by the second sensor 32, the product to be tested will not be operated, and the product to be tested can continue to be transferred 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 induction signal returned by the second sensor 32, the corresponding structure on the control production line will remove the product to be tested on the conveyor 2 to avoid unqualified products. The tested product is sent to the next processing node. For example, there is an air blowing structure (not shown) on the production line. The control module 40 can be electrically connected to the air blowing structure and control the air blowing structure to blow the product to be tested out of the conveyor 2 .

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

圖11為本實施例的第一拍攝裝置11正對待測產品時獲取到的瓶口的圖像,圖12為第一拍攝裝置11拍攝角度偏移時獲取的瓶口的圖像。由圖11和圖12可知,由於第一光源12為面光源,待測產品所在區域的較大範圍都被照亮,即便在拍攝角度偏移時,圖像中的高亮部分依舊對應瓶口所在位置,則控制模塊40可準確獲取瓶口的輪廓。且根據圖12可知,在拍攝角度偏移時,僅瓶口部分為高亮,瓶口與瓶內部分區分明顯,則可避免誤判為瓶口堵塞。FIG. 11 is an image of the bottle mouth acquired when the first photographing device 11 of this embodiment is testing the product, and FIG. 12 is an image of the bottle mouth acquired when the first photographing device 11 has an offset shooting angle. It can be seen from Figures 11 and 12 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 illuminated. Even when the shooting angle is shifted, the highlighted part in the image still corresponds to the bottle mouth. position, the control module 40 can accurately obtain the outline of the bottle mouth. And according to Figure 12, it can be seen that when the shooting angle is offset, only the bottle mouth is highlighted, and the bottle mouth and the inside of the bottle are clearly distinguished, which can avoid misjudgment that the bottle mouth is clogged.

本實施例的檢測系統1,包括第一檢測模塊10,第一檢測模塊10包括第一拍攝裝置11和第一光源12,其中第一光源12為面光源,在第一拍攝裝置11拍攝過程中,由於第一光源12為面光源,其發光可以保持待測產品所在的較大區域範圍內都具有均勻的亮度,即便拍攝角度有所偏移(也即第一拍攝裝置11拍攝沒有完全正對待測產品拍攝),也可拍攝得到待測產品的清晰圖像。故本實施例的檢測系統有利於提高第一拍攝裝置11拍攝的瓶口的圖像的質量。The detection system 1 of this embodiment includes a first detection module 10. The first detection module 10 includes a first shooting device 11 and a first light source 12. 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 luminescence 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 does not shoot completely directly. Test product photography), you can also take clear images of the product to be tested. Therefore, the detection system of this embodiment is beneficial to improving the quality of the image of the bottle mouth captured by the first photographing device 11 .

本技術領域之普通技術人員應當認識到,以上之實施方式僅是用來說明本發明,而並非用作為對本發明之限定,只要於本發明之實質精神範圍之內,對以上實施例所作之適當改變及變化均落於本發明要求保護之範圍之內。Those of ordinary skill in the art should realize that the above embodiments are only used to illustrate the present invention and are not used to limit the present invention. As long as the above embodiments are appropriately made within the scope of the essential spirit of the present invention, Changes and variations are within the scope of the present invention.

1:檢測系統 10:第一檢測模塊 11:第一拍攝裝置 12:第一光源 121:發光板 1211:基板 1212:發光元件 122:反光板 1221:反光部 S:反射面 1222:連接部 1223、221:通孔 1224:中空空間 13:擋光板 20:第二檢測模塊 21:第二拍攝裝置 22:第二光源 30:感應模塊 31:第一感應器 32:第二感應器 40:控制模塊 50:主體支架 2:傳送裝置 1:Detection system 10: The first detection module 11:The first shooting device 12:First light source 121: Luminous panel 1211:Substrate 1212:Light-emitting component 122: Reflective plate 1221: Reflective part S: reflective surface 1222:Connection part 1223, 221:Through hole 1224: Hollow space 13:Light baffle 20: Second detection module 21:Second shooting device 22:Second light source 30: Induction module 31:First sensor 32: Second sensor 40:Control module 50:Main Bracket 2:Transmission device

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

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

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

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

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

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

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

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

圖9為一對比例中拍攝裝置正對待測產品時拍攝的待測產品的圖像。Figure 9 is a pair of images of the product to be tested taken when the photographing device is facing the product to be tested.

圖10為一對比例中拍攝裝置在拍攝角度偏移時拍攝的待測產品的圖像。Figure 10 is a pair of images of the product under test taken by the photographing device when the photographing angle is shifted.

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

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

1:檢測系統 1:Detection system

10:第一檢測模塊 10: The first detection module

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

30:感應模塊 30: Induction module

50:主體支架 50:Main Bracket

2:傳送裝置 2:Transmission device

Claims (10)

一種檢測系統,其改良在於,包括: 第一檢測模塊,包括第一拍攝裝置和第一光源,所述第一拍攝裝置用於拍攝待測產品的圖像,所述第一光源為面光源,用於在第一拍攝裝置拍攝所述待測產品的圖像時發光照射所述待測產品; 感應模塊,用於在感應到所述待測產品時產生感應訊號;以及 控制模塊,分別連接所述第一拍攝裝置、所述第一光源及所述感應模塊,用於在接收到所述感應訊號時,控制所述第一光源發光和控制所述第一拍攝裝置拍攝圖像,所述控制模塊還用於分析所述圖像以判斷所述待測產品是否合格。 A detection system, the improvement of which includes: The first detection module includes a first photographing device and a first light source. The first photographing device is used to photograph the image of the product to be tested. The first light source is a surface light source and is used to photograph the first photographing device. When the image of the product to be tested is illuminated, the product to be tested is illuminated; A sensing module for generating a sensing signal when sensing the product under test; and A control module, respectively connected to the first shooting device, the first light source and the sensing module, for controlling the first light source to emit light and controlling the first shooting device to shoot 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所述的檢測系統,其中,所述第一光源包括反光板和兩個發光板; 每一所述發光板為面光源,所述兩個發光板平行設置且所述兩個發光板發光的面相對設置; 所述反光板用於反射來自所述兩個發光板的光。 The detection system according to claim 1, wherein the first light source includes a reflective plate and two luminous plates; Each of the luminescent panels is a surface light source, the two luminescent panels are arranged in parallel and the light-emitting surfaces of the two luminescent panels are arranged oppositely; The reflective plate is used to reflect light from the two luminous plates. 如請求項2所述的檢測系統,其中,所述反光板還用於散射來自所述兩個發光板的光。The detection system according to claim 2, wherein the reflective plate is also used to scatter the light from the two luminescent plates. 如請求項2所述的檢測系統,其中,所述反光板包括兩個反光部,所述兩個反光部為分別具有一反射面的板狀結構,所述兩個反光部平行設置且所述反射面相對設置,所述兩個反光部及所述兩個發光部依次圍合形成一具有中空空間的筒狀結構。The detection system according to claim 2, wherein the reflective plate includes two reflective parts, the two reflective parts are plate-shaped structures each having a reflective surface, the two reflective parts are arranged in parallel and the The reflective surfaces are arranged oppositely, and the two reflective parts and the two light-emitting parts are sequentially enclosed to form a cylindrical structure with a hollow space. 如請求項4所述的檢測系統,其中,所述反光板還包括連接於所述兩個反光部之間的連接部,所述連接部開設有一通孔,所述第一拍攝裝置位於所述第一光源的連接部一側,用於通過所述通孔拍攝所述待測產品的圖像。The detection system according to claim 4, wherein the reflective plate further includes a connecting part connected between the two reflective parts, the connecting part has a through hole, and the first photographing device is located on the One side of the connection part of the first light source is used to capture an image of the product to be tested through the through hole. 如請求項1所述的檢測系統,其中,所述第一檢測模塊還包括擋光板,所述擋光板用於遮擋外部光線。The detection system according to 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 according to claim 1, further comprising a second detection module connected to the control module, the second detection module being used to obtain an image of the product to be tested, the first detection module and The second detection module is 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 Test whether the product is qualified. 如請求項7所述的檢測系統,其中,所述感應模塊包括第一感應器,所述第一感應器感應到所述待測產品時,所述控制模塊控制所述第二檢測模塊獲取所述待測產品的圖像。The detection system according to 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 the An image of the product to be tested. 如請求項8所述的檢測系統,其中,所述第一感應器感應到所述待測產品離開所述第一感應器所在位置時,所述控制模塊控制所述第一檢測模塊獲取所述待測產品的圖像。The detection system according to 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 the Image of the product to be tested. 如請求項8所述的檢測系統,其中,所述感應模塊還包括第二感應器,所述第二感應器感應到所述待測產品時,所述控制模塊輸出訊號以控制移除所述待測產品。The detection system of claim 8, wherein the sensing module further includes a second sensor. When the second sensor senses the product to be tested, the control module outputs a signal to control the removal of the product. Products to be tested.
TW111119290A 2022-05-24 2022-05-24 Detection system TW202346795A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
TW202346795A true TW202346795A (en) 2023-12-01

Family

ID=90039293

Family Applications (1)

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

Country Status (1)

Country Link
TW (1) TW202346795A (en)

Similar Documents

Publication Publication Date Title
US9110035B2 (en) Method and system for detecting defects of transparent substrate
JP3129245B2 (en) Imaging device
TWI693397B (en) Inspection management system, inspection management device and inspection management method
KR20110127165A (en) System and method for detecting defects of substrate
CN107884066A (en) Optical sensor and its 3D imaging devices based on flood lighting function
WO2018041169A1 (en) Automatic optical inspection device and inspection method
KR101192118B1 (en) Apparatus for defect detection on strip surface using multiple light source
US20200378899A1 (en) Glass processing apparatus and methods
KR20150138555A (en) Object Vision Inspection Apparatus And Object Vision Inspection Method
JP2005064586A (en) Imaging apparatus for inspection/selection apparatus provided with imaging timing automatic detection function
KR20170071978A (en) System for inspecting defects of glass
JP4912083B2 (en) Fruit and vegetable inspection equipment
TW202346795A (en) Detection system
KR20180136421A (en) System and method for defect detection
CN108811483B (en) Assembled circuit board detection system and assembled circuit board detection method
JP2010261837A (en) Appearance inspection apparatus and appearance inspecting optical apparatus
CN108700529A (en) Equipment for printing image inspection
CN117147554A (en) Detection system
CN209342633U (en) Glass inspection systems and supply line
KR102598333B1 (en) System for inspecting double-sided of inspection object using a plurality of conveyors and method thereof
JP2016217825A (en) Container inspection device and inspection method
CN102063228B (en) Optical sensing system and touch screen applying same
KR101742260B1 (en) auto conveying type vision inspection device for a harness
KR20220138589A (en) Systme for recogniting label using infrared and cisible light camera and method thereof
JP2002062113A (en) Method and device for measuring object to be detected