JP5559527B2 - Inspection device - Google Patents

Inspection device Download PDF

Info

Publication number
JP5559527B2
JP5559527B2 JP2009298005A JP2009298005A JP5559527B2 JP 5559527 B2 JP5559527 B2 JP 5559527B2 JP 2009298005 A JP2009298005 A JP 2009298005A JP 2009298005 A JP2009298005 A JP 2009298005A JP 5559527 B2 JP5559527 B2 JP 5559527B2
Authority
JP
Japan
Prior art keywords
inspection
area
abnormality
gap
small
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2009298005A
Other languages
Japanese (ja)
Other versions
JP2011137720A (en
Inventor
裕之 濱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kirin Brewery Co Ltd
Original Assignee
Kirin Brewery Co Ltd
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 Kirin Brewery Co Ltd filed Critical Kirin Brewery Co Ltd
Priority to JP2009298005A priority Critical patent/JP5559527B2/en
Publication of JP2011137720A publication Critical patent/JP2011137720A/en
Application granted granted Critical
Publication of JP5559527B2 publication Critical patent/JP5559527B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、検査対象物を撮像して得られた画像に基づいてその検査対象物を検査する検査装置に関する。   The present invention relates to an inspection apparatus that inspects an inspection object based on an image obtained by imaging the inspection object.

ケーサーのコンベアにて搬送される包装資材としてのシートのフラップが、コンベアの搬送方向に沿って設けられたフラップガイドにて正しく案内されるように折り曲げられているか否かを検査するシートフラップの折り曲げ状態検査装置が知られている(例えば、特許文献1参照)。その他、本発明に関連する先行技術文献として特許文献2及び、3が存在する。   Folding of a sheet flap that inspects whether or not a flap of a sheet as a packaging material conveyed by a caser conveyor is bent so as to be correctly guided by a flap guide provided along the conveying direction of the conveyor A state inspection device is known (see, for example, Patent Document 1). In addition, Patent Documents 2 and 3 exist as prior art documents related to the present invention.

特開2009−161211号公報JP 2009-161111 A 特開2009−126564号公報JP 2009-126564 A 特開2000−065546号公報JP 2000-065546 A

上述のようなシートには、フラップがフラップガイドにて折り曲げられることにより、四隅に斜めの面取りが形成された形状の梱包容器として構成されるものが存在する。このような梱包容器の四隅の面取りはフラップが折り曲げられることにより形成されるので、フラップの折り曲げ状態によっては面取り部に隙間が形成される場合がある。また、このような面取り部の隙間を検査する検査装置として、面取り部の隙間を撮像し、得られた画像内の明暗の分布に基づいて面取り部に形成された隙間の面積を測定し、測定した面積の大きさによって成形された包装容器に異常があるか否かを判別する検査装置が存在する。しかし、このような検査装置では、面取り部に形成された隙間の全体の面積が測定され、その全体の面積の大きさに基づいて異常の有無が判別されるため、例えば、隙間の形状が三角形の場合には、実際には異常ありと判別されるべき状態であるにもかかわらず、全体の面積としては小さく測定され、異常なしと判別されてしまう場合がある。そして、面取り部に異常がある梱包容器は、搬送途中等に梱包が崩壊する可能性が高くなってしまう。   Some of the above-described sheets are configured as a packaging container having a shape in which oblique chamfers are formed at four corners by folding a flap with a flap guide. Since the chamfers at the four corners of the packaging container are formed by folding the flap, a gap may be formed in the chamfered portion depending on the folded state of the flap. In addition, as an inspection device for inspecting the chamfered portion gap, image the chamfered portion gap, measure the area of the chamfered portion formed in the chamfered portion based on the brightness distribution in the obtained image, and measure There is an inspection device that determines whether or not there is an abnormality in the packaging container formed according to the size of the area. However, in such an inspection apparatus, since the entire area of the gap formed in the chamfered portion is measured and the presence or absence of abnormality is determined based on the size of the entire area, for example, the shape of the gap is a triangle. In the case of the above, there is a case where the entire area is measured to be small and it is determined that there is no abnormality although it is actually determined that there is an abnormality. And the packaging container which has abnormality in a chamfering part will become high possibility that a packaging will collapse in the middle of conveyance.

そこで、本発明は、検査対象部の異常の判別の精度を向上させることができる検査装置を提供することを目的とする。   SUMMARY OF THE INVENTION An object of the present invention is to provide an inspection apparatus that can improve the accuracy of determining an abnormality in a portion to be inspected.

本発明の検査装置は、検査対象物の検査対象部を含む所定の撮像範囲を撮像する撮像手段と、前記検査対象部を照明する照明手段と、前記撮像手段が取得した前記所定の撮像範囲の画像に基づいて前記検査対象部が映されている部分を含むように設定された検査領域内の前記検査対象部の面積を取得し、取得した前記検査対象部の面積に基づいて前記検査対象部の異常の有無を判別する判別手段と、を備え、前記判別手段は、前記検査対象部が複数に区分されるように前記検査領域を複数の小領域に分けて前記複数の小領域毎に異常の有無を判別するとともに、前記検査対象部が一端から他端まで延びる特定の一辺を含み、当該特定の一辺の前記一端側から延びるフラップが前記他端側に向かって折り曲げられて前記特定の一辺と前記フラップとの間に形成される隙間が前記検査対象部として検査される場合において、前記特定の一辺を基準に前記検査領域を前記複数の小領域に分けるものである。 The inspection apparatus of the present invention includes an imaging unit that images a predetermined imaging range including an inspection target part of an inspection target, an illuminating unit that illuminates the inspection target part, and the predetermined imaging range acquired by the imaging unit. Obtaining the area of the inspection object part in the inspection region set to include the portion where the inspection object part is shown based on the image, and based on the acquired area of the inspection object part Determining means for determining whether or not there is an abnormality, wherein the determining means divides the inspection area into a plurality of small areas so that the inspection target part is divided into a plurality of small areas, And the inspection target part includes a specific one side extending from one end to the other end, and a flap extending from the one end side of the specific one side is bent toward the other end side and the specific one side And the flat When the gap formed is inspected as the inspection target portion between, it is intended to divide the inspection area based on the specific side in the plurality of small regions.

本発明によれば、検査対象部が複数に区分された複数の小領域毎に異常の有無が判別されるので、検査対象部の異常を細かく判別することができる。このため、例えば、全体面積としては小さいが、一部に異常と判別すべき部分を含むような形状の検査対象部についても異常有りと判別することができる。これにより、検査対象部の異常の判別の精度を向上させることができる。   According to the present invention, since the presence / absence of abnormality is determined for each of a plurality of small regions in which the inspection target part is divided into a plurality of parts, the abnormality of the inspection target part can be determined finely. For this reason, for example, although the total area is small, it is possible to determine that an inspection target part having a shape including a part to be determined to be abnormal is partly abnormal. Thereby, the precision of the discrimination | determination of abnormality of a test object part can be improved.

判別手段として、所定の撮像範囲の画像から前記検査対象部の面積をどのように測定するものが用いられてもよい。例えば、本発明の検査装置の一態様において、前記判別手段は、前記所定の撮像範囲の画像内の各部の明度に基づいて前記検査領域内の前記検査対象部の面積を取得してもよい。   As the discriminating unit, a unit that measures the area of the inspection target portion from an image in a predetermined imaging range may be used. For example, in one aspect of the inspection apparatus of the present invention, the determination unit may acquire the area of the inspection target part in the inspection region based on the brightness of each part in the image of the predetermined imaging range.

判別手段が所定の撮像範囲の画像内の各部の明度に基づいて検査対象部の面積を測定する態様において、前記撮像手段によって取得される前記撮像範囲の画像内において前記検査対象部が映される部分以外の部分に前記照明手段の光が映されるように前記照明手段の光を前記撮像手段に導く光学系を、更に備えてもよい。この場合、光学系によって導かれた光によって撮像範囲の明暗が強調されるので、検査対象部の面積をより適切に測定することができる。   In an aspect in which the discriminating unit measures the area of the inspection target part based on the brightness of each part in the image of the predetermined imaging range, the inspection target part is reflected in the image of the imaging range acquired by the imaging unit. You may further provide the optical system which guides the light of the said illumination means to the said imaging means so that the light of the said illumination means is projected on parts other than a part. In this case, the brightness of the imaging range is enhanced by the light guided by the optical system, so that the area of the inspection target part can be measured more appropriately.

光学系を備える態様において、光学系としてどのようなものが用いられてもよい。例えば、本発明の検査装置に一態様において、前記光学系として、前記照明手段の光を前記撮像手段に反射する反射板が用いられてもよい。   In an aspect provided with an optical system, any optical system may be used. For example, in one aspect of the inspection apparatus of the present invention, a reflection plate that reflects light from the illumination unit to the imaging unit may be used as the optical system.

判別手段として、検査対象部の異常の有無の判別のために、複数の小領域毎の判別結果をどのように利用するものが用いられてもよい。例えば、本発明の検査装置の一態様において、前記判別手段は、前記複数の小領域の少なくとも一つにおいて異常ありと判別された場合に前記検査対象部に対して異常ありと判別してもよい。この場合、一部に異常と判別すべき部分を含むような形状の検査対象部をより確実に異常ありと判別することができるので、検査対象部の異常の判別の精度をより向上させることができる。   As the determination means, a method that uses the determination result for each of the plurality of small regions in order to determine whether there is an abnormality in the inspection target part may be used. For example, in one aspect of the inspection apparatus of the present invention, the determination unit may determine that there is an abnormality in the inspection target portion when it is determined that there is an abnormality in at least one of the plurality of small regions. . In this case, since it is possible to more reliably determine that there is an abnormality in the inspection target part that includes a part that should be determined as abnormal, it is possible to further improve the accuracy of determining the abnormality of the inspection target part. it can.

複数の小領域として、どのように検査対象部を区分するものが適用されてもよい。例えば、本発明の検査装置に一態様において、前記判別手段は、前記複数の小領域として、前記特定の一辺の中央を境界に含み、前記一端と前記他端とが互いに別の小領域に含まれるように前記検査領域を二つの小領域に分けることにより、前記特定の一辺を基準に前記検査領域を前記複数の小領域に分けてもよい。また、例えば、本発明の検査装置の一態様において、前記判別手段は、前記境界として、前記特定の一辺と直交する直線を用いて前記検査領域を二つの小領域に分けることにより、前記特定の一辺を基準に前記検査領域を前記複数の小領域に分けてもよい。この場合、検査対象部としての隙間が広がる領域は、フラップの折り曲げ状態により変化する。このため、隙間の形成に対して寄与が少ない特定の一辺を二等分するように直交する直線を境界として用いることにより、隙間が変化する領域を2つの小領域に適切に割り振ることができる。これにより、例えば、三角型に形成された隙間等、領域の広がりに偏りがある隙間の異常を簡易、かつ、適切に判別することができる。 As the plurality of small regions, a method for dividing the inspection target portion may be applied. For example, in one embodiment the inspection apparatus of the present invention, the discrimination means, as before Symbol plurality of small regions include a center of the specific side to the boundary, the first end and the other end is another small region to each other the Rukoto dividing the inspection area into two sub-regions to include, the inspection area may be divided into the plurality of small regions on the basis of the said specific side. Further, for example, in one embodiment of the test device of the present invention, the discrimination means, as before Symbol boundary by Rukoto dividing the inspection area into two sub-regions by using a straight line perpendicular to the particular side, the The inspection area may be divided into the plurality of small areas based on a specific side . In this case, the region where the gap as the inspection target part is widened changes depending on the folded state of the flap. For this reason, by using an orthogonal straight line as a boundary so as to bisect a specific side with little contribution to the formation of the gap, the area where the gap changes can be appropriately allocated to two small areas. As a result, for example, an abnormality in a gap having a biased area spread, such as a gap formed in a triangular shape, can be easily and appropriately determined.

以上、説明したように、本発明によれば、検査対象部の異常の判別の精度を向上させることができる。   As described above, according to the present invention, it is possible to improve the accuracy of determining abnormality of the inspection target part.

本発明の一形態に係る検査装置の全体図。1 is an overall view of an inspection apparatus according to an embodiment of the present invention. ケースの構造の一例を示す図。The figure which shows an example of the structure of a case. ケースの隅の画像の一例であって、隅に四角型の隙間が形成されている場合の画像を示す図。The figure which is an example of the image of the corner of a case, Comprising: The figure in case a square-shaped clearance gap is formed in the corner. ケースの隅の画像の一例であって、隅に三角型の隙間が形成されている場合の画像を示す図。The figure which is an example of the image of the corner of a case, Comprising: The figure in case a triangular clearance gap is formed in a corner. モニタに出力された判別状況を模式的に示す図であって、3mm幅を有する四角型の隙間を示す図。The figure which shows typically the discrimination condition output to the monitor, Comprising: The figure which shows the square-shaped clearance gap which has a width of 3 mm. モニタに出力された判別状況を模式的に示す図であって、3mm幅を有する三角型の隙間を示す図。The figure which shows typically the discrimination | determination condition output to the monitor, Comprising: The figure which shows the triangular clearance gap which has a width of 3 mm.

図1は、本発明の一形態に係る検査装置の全体図である。図1の検査装置1は、飲料用の缶を梱包するケーサー(不図示)にて缶が梱包されたケース2の検査に用いられている。図2は、ケース2の構造の一例を示す図である。図2に示すように、ケース2は、複数本(一例として24本)の缶3を縦横に並んだ状態で収容する胴部4と、胴部4の両端を閉じるように折り込まれて相互に貼り合わされる内フラップ5及び外フラップ6と、を備えている。図2では、内フラップ5が折り込まれ、外フラップ6はまだ折り込まれてない状態を示している。図2に示すように、胴部4は、缶3の底側及び天面をそれぞれ覆う底板4a及び、天板4bと、それらの底板4a及び、天板4bの間に配置される一対の側板4cとを有している。内フラップ5は側板4cの両端に連なり、外フラップ6は底板4a及び、天板4bのそれぞれの両端に連なっている。底板4a及び、天板4bの四隅Cは斜めにカットされて面取り部4dが形成されている。各内フラップ5は、2本の罫線(折り目線)5a、5bを曲げの軸として、面取り部4dに沿うように二段に折り込まれている。従って、内フラップ5及び外フラップ6を貼り合わせることにより、ケース2は直方体の4つの角部にコーナー面7が形成された形状の梱包容器として構成される。   FIG. 1 is an overall view of an inspection apparatus according to an embodiment of the present invention. The inspection apparatus 1 in FIG. 1 is used for inspection of a case 2 in which a can is packed by a caser (not shown) that packs a beverage can. FIG. 2 is a diagram illustrating an example of the structure of the case 2. As shown in FIG. 2, the case 2 includes a barrel 4 that accommodates a plurality (for example, 24) of cans 3 in a state where the cans 3 are arranged vertically and horizontally, and is folded so that both ends of the barrel 4 are closed. An inner flap 5 and an outer flap 6 to be bonded together are provided. FIG. 2 shows a state where the inner flap 5 is folded and the outer flap 6 is not yet folded. As shown in FIG. 2, the body 4 includes a bottom plate 4 a and a top plate 4 b that cover the bottom side and the top surface of the can 3, and a pair of side plates disposed between the bottom plate 4 a and the top plate 4 b. 4c. The inner flap 5 is connected to both ends of the side plate 4c, and the outer flap 6 is connected to both ends of the bottom plate 4a and the top plate 4b. The four corners C of the bottom plate 4a and the top plate 4b are cut obliquely to form a chamfered portion 4d. Each inner flap 5 is folded in two steps along the chamfered portion 4d with two ruled lines (crease lines) 5a and 5b as bending axes. Therefore, by bonding the inner flap 5 and the outer flap 6 together, the case 2 is configured as a packing container having a shape in which corner surfaces 7 are formed at four corners of a rectangular parallelepiped.

図1に戻り、検査装置1は、斜めにカットされた四隅Cの精度を検査するために用いられている。図1に示すように、検査装置1は、ケース2が載置され、載置されたケース2を搬送する搬送手段としてのコンベア9の搬送経路上に配置されている。検査装置1は、撮像手段としての2つのカメラ10と、照明手段としての2つの照明器11と、光学系としての2つ反射板12と、判別手段としての判別装置13と、を備えている。   Returning to FIG. 1, the inspection apparatus 1 is used to inspect the accuracy of the four corners C cut obliquely. As shown in FIG. 1, the inspection device 1 is placed on a conveyance path of a conveyor 9 on which a case 2 is placed and which serves as a conveyance means for conveying the placed case 2. The inspection apparatus 1 includes two cameras 10 as imaging means, two illuminators 11 as illumination means, two reflectors 12 as an optical system, and a discrimination device 13 as a discrimination means. .

2つのカメラ10は、コンベア9の上方に各軸線Axが傾けられて配置されている。各カメラ10の軸線Axは、各軸線AXの延長上にコンベア9にて搬送中のケース2の四隅Cが位置するように傾けられている。つまり、2つのカメラ10は、一方がケース2の一端側2aに位置する2つの隅C1を、他方がケース2の他端側2bに位置する2つの隅C2を、それぞれ上方から撮像可能なように配置されている。各カメラ10は、判別装置13に接続されており、各カメラ10で撮像した画像は判別装置13に入力される。   The two cameras 10 are arranged above the conveyor 9 so that each axis Ax is inclined. The axis Ax of each camera 10 is inclined so that the four corners C of the case 2 being conveyed by the conveyor 9 are positioned on the extension of each axis AX. That is, the two cameras 10 can capture images from the upper side, one of the two corners C1 located on one end side 2a of the case 2 and the other of the two corners C2 located on the other end side 2b of the case 2. Are arranged. Each camera 10 is connected to a determination device 13, and an image captured by each camera 10 is input to the determination device 13.

2つの照明器11は、ケース2及び反射板12に光を照射するように、各カメラ10の下方であって、ケース2の上方にそれぞれ配置されている。また、2つの反射板12は、各照明器11の下方であって、ケース2の一端側2aと他端側2bとにそれぞれ配置されている。各反射板12は、それぞれの上方に配置された照明器11から照射された光を反射して、各コーナー面7に光を導くことが可能なように、各反射面12aが湾曲状に形成されている。   The two illuminators 11 are respectively disposed below the cameras 10 and above the case 2 so as to irradiate the case 2 and the reflector 12 with light. Further, the two reflecting plates 12 are disposed below the respective illuminators 11 and on one end side 2a and the other end side 2b of the case 2, respectively. Each reflecting plate 12 is formed in a curved shape so that each reflecting surface 12a can reflect the light emitted from the illuminator 11 disposed above the reflecting plate 12 and guide the light to each corner surface 7. Has been.

判別装置13は、例えば、マイクロプロセッサ及びその動作に必要なRAM、ROM等の周辺機器を含んだコンピュータユニットによって実現される。判別装置13は、各カメラ10から出力された画像に基づいてケース2の四隅Cに異常があるか否かの判別を実行する。   The discriminating device 13 is realized by a computer unit including a microprocessor and peripheral devices such as RAM and ROM necessary for its operation, for example. The determination device 13 determines whether there are any abnormalities in the four corners C of the case 2 based on the images output from the cameras 10.

図3及び、図4を参照して判別装置13が実行する四隅Cの異常の有無の判別方法について説明する。カメラ10は、隅Cを含むような範囲を撮像する。カメラ10による隅Cを含む範囲の撮像は、例えば、ケース2のコンベア9上の所定位置の通過を検出可能に設けられた不図示のセンサに基づいて行われることにより実現できる。各カメラ10は、ケース2の所定位置の通過に合わせて、ケース2の一端側2aの隅C1を含む所定の撮像範囲と、ケース2の他端2bの隅C2を含む所定の撮像範囲と、をそれぞれ撮像する。図3及び、図4は、いずれもカメラ10が撮像し、判別装置13に入力されたケース2の隅Cの画像の一例を示す図である。ケース2には、内フラップ5の折り曲げ状態や、内フラップ5及び外フラップ6の貼り合わせ状態によって、隅Cの面取り部4dとコーナー面7との間に検査対象部としての隙間Dが形成される場合がある。図3で示す例では、隅Cの面取り部4dとコーナー面7との間に斜線で示す四角型の隙間Dが形成されている。図3に示すように、カメラ10が撮像した画像内には隅Cが含まれるように検査領域Tが設定されている。検査領域Tの設定は、例えば、画像内の一定の位置を予め設定することにより実現される。ケース2の所定位置の通過を検出するセンサに基づいて画像が撮像されていれば、隅Cが常に一定の位置に配置される画像となるため、この一定の位置に検査領域Tが設定されていれば、検査領域Tに隅Cが含まれる。また、検査領域Tの設定は、画像内の明暗に基づいて、エッジや隅C、或いは隙間Dを判別することにより実現されてもよい。検査領域Tは、天板4bにより形成される隙間Dの底辺Daを二等分するように、底辺Daと中央で直交する直線Sによって、外フラップ6側に位置する第1小領域T1及び、側板4c側に位置する第2小領域の2つの小領域T1、T2に等分されている。   With reference to FIG. 3 and FIG. 4, the determination method of the presence or absence of abnormality of the four corners C performed by the determination device 13 will be described. The camera 10 images a range including the corner C. Imaging of the range including the corner C by the camera 10 can be realized, for example, by being performed based on a sensor (not shown) provided so that passage of a predetermined position on the conveyor 9 of the case 2 can be detected. Each camera 10 has a predetermined imaging range including a corner C1 on one end side 2a of the case 2 and a predetermined imaging range including a corner C2 on the other end 2b of the case 2 in accordance with passage of a predetermined position of the case 2. Respectively. FIGS. 3 and 4 are diagrams illustrating an example of an image of the corner C of the case 2 captured by the camera 10 and input to the determination device 13. In the case 2, a gap D as an inspection target portion is formed between the chamfered portion 4 d of the corner C and the corner surface 7 depending on a bent state of the inner flap 5 and a bonded state of the inner flap 5 and the outer flap 6. There is a case. In the example shown in FIG. 3, a rectangular gap D indicated by hatching is formed between the chamfered portion 4 d of the corner C and the corner surface 7. As shown in FIG. 3, the inspection region T is set so that the corner C is included in the image captured by the camera 10. The setting of the inspection region T is realized, for example, by setting a certain position in the image in advance. If an image is picked up based on a sensor that detects the passage of a predetermined position in the case 2, the corner C is always placed at a fixed position. Therefore, the inspection region T is set at this fixed position. If so, the corner C is included in the inspection region T. Further, the setting of the inspection region T may be realized by discriminating an edge, a corner C, or a gap D based on brightness and darkness in the image. The inspection region T includes a first small region T1 located on the outer flap 6 side by a straight line S orthogonal to the base Da and the center so as to bisect the base Da of the gap D formed by the top plate 4b, and It is equally divided into two small areas T1, T2 of the second small area located on the side plate 4c side.

判別装置13は、カメラ10が撮像した画像に基づいて、検査領域Tに含まれる隙間Dの面積を取得する。この隙間Dの面積の取得は、第1小領域T1に含まれる第1隙間D1及び、第2小領域T2に含まれる第2隙間D2のそれぞれ毎に実行される。各隙間D1、D2の面積の取得には、周知の技術を適用可能である。例えば、各面積の取得は、基準となる明度を設け、基準値を超える明度と、基準値以下の明度とに検査領域T内を2値化したうえで、明暗を反転することにより各隙間D1、D2を特定し、その各隙間D1、D2の面積を測定あるいは算出することにより実現できる。天板4bには照明器11から光が照射され、各コーナー面7には、反射板12により光が導かれている。このため、隙間Dとそれ以外との明度の差は強調されているので、より適切に各隙間D1、D2の面積を取得することができる。   The determination device 13 acquires the area of the gap D included in the inspection region T based on the image captured by the camera 10. The area of the gap D is acquired for each of the first gap D1 included in the first small area T1 and the second gap D2 included in the second small area T2. A well-known technique can be applied to obtain the areas of the gaps D1 and D2. For example, each area is acquired by providing a lightness as a reference, binarizing the inspection area T to lightness exceeding the reference value and lightness below the reference value, and then reversing the lightness and darkness to each gap D1. , D2 is specified, and the area of each gap D1, D2 is measured or calculated. The top plate 4 b is irradiated with light from the illuminator 11, and the light is guided to each corner surface 7 by the reflecting plate 12. For this reason, since the difference in brightness between the gap D and the others is emphasized, the areas of the gaps D1 and D2 can be acquired more appropriately.

次に、判別装置13は、取得した隙間Dの面積に基づいて異常の有無を判別する。この異常の有無の判別は、各小領域T1、T2毎に実行される。具体的には、各小領域T1、T2毎に異常と判断可能な異常値が設定され、各隙間D1、D2のそれぞれと各異常値との間で大小が比較される。なお、各異常値は、互いに同じ値でもよいし、互いに異なる値でもよい。そして、判別装置13は、各小領域T1、T2の判別結果が、いずれの小領域T1、T2においても異常なしの場合には検査領域Tについて異常なしと判別し、各小領域T1、T2のいずれかにおいて異常有りの場合には検査領域Tについて異常有りと判別する。   Next, the determination device 13 determines the presence or absence of an abnormality based on the acquired area of the gap D. The determination of whether or not there is an abnormality is performed for each of the small areas T1 and T2. Specifically, an abnormal value that can be determined to be abnormal is set for each of the small regions T1 and T2, and the size is compared between each of the gaps D1 and D2 and each abnormal value. Each abnormal value may be the same value or different values. Then, when the determination result of each of the small regions T1 and T2 indicates that there is no abnormality in any of the small regions T1 and T2, the determination device 13 determines that there is no abnormality in the inspection region T, and the determination of each of the small regions T1 and T2 In any case, if there is an abnormality, it is determined that the inspection region T is abnormal.

この形態によれば、検査対象領域Tが2つの小領域T1、T2に分けられ、各小領域T1、T2毎に異常の有無が判別されるので、隙間Dの異常について細かく判別することができる。また、検査対象領域Tは、隙間Dの領域の形成に寄与する可能性が低い底辺Da、つまり、一定値と判断可能な底辺Daの中央を境界に含むような2つの小領域T1、T2に等分されているので、隙間Dの形状が変化する領域を各小領域T1、T2に比較的適切に割り振ることができる。このため、四角型以外の形状、つまり、隙間Dを形成する面積の分布が均等でなく偏りがあるような形状であって、全体の面積が小さい形状についても適切な判別をすることができる。図4は、隅Cに三角型の隙D間が形成されている場合の画像を示している。図4の例では、隙間Dの形状が三角型に形成されているので、隙間D全体の面積を算出した場合、この面積は小さい値となる。このため、検査領域Tに含まれる隙間D全体の面積と所定値との間の大小の比較のみで隙間Dに対する異常の有無が判別される場合には、異常と判別されるべき隙間であるにもかかわらず、異常なしと判別される可能性がある。即ち、隙間D全体の面積と所定値との間の大小の比較のみで異常の有無を判別する形態において、四角型の隙間Dを対象として所定値が設定された場合には、三角型の隙間Dに対して異常の検出が適切に行われず、逆に三角型の隙間Dを対象として所定値が設定された場合には、四角型の隙間Dに対して異常のないものまで検出されてしまう可能性がある。しかし、この形態によれば、面積の比較的小さい隙間D1を含む第1小領域T1で異常なしと判別された場合でも、面積の比較的大きい隙間D2を含む第2小領域T2で異常有りと判別することができるので、隙間Dの形状が三角型であっても異常の有無を適切に判別することができる。このため、隙間Dの全体面積に基づいて異常の有無を判別する場合に比べて、隙間Dの全体の面積が小さいが異常有りと判別すべき隙間Dを適切に検出することができる。これにより、隅Cの異常の判別の精度を向上させることができる。   According to this embodiment, the inspection target region T is divided into two small regions T1 and T2, and the presence / absence of abnormality is determined for each of the small regions T1 and T2. Therefore, the abnormality of the gap D can be determined in detail. . In addition, the inspection target region T is composed of two small regions T1 and T2 that include the base Da that is unlikely to contribute to the formation of the region of the gap D, that is, the center of the base Da that can be determined to be a constant value. Since it is equally divided, the area where the shape of the gap D changes can be allocated relatively appropriately to each of the small areas T1 and T2. For this reason, it is possible to appropriately determine a shape other than the square shape, that is, a shape in which the distribution of the area forming the gap D is not uniform and biased and the entire area is small. FIG. 4 shows an image when a triangular gap D is formed at the corner C. In the example of FIG. 4, since the shape of the gap D is formed in a triangular shape, when the area of the entire gap D is calculated, this area becomes a small value. For this reason, when the presence or absence of an abnormality in the gap D is determined only by comparing the size of the entire area of the gap D included in the inspection region T with a predetermined value, the gap should be determined as abnormal. Nevertheless, it may be determined that there is no abnormality. That is, in the form in which the presence or absence of abnormality is determined only by comparing the size of the entire area of the gap D with a predetermined value, when a predetermined value is set for the square gap D, a triangular gap If an abnormality is not properly detected with respect to D and a predetermined value is set for the triangular gap D, the square gap D is detected with no abnormality. there is a possibility. However, according to this embodiment, even when it is determined that there is no abnormality in the first small region T1 including the gap D1 having a relatively small area, there is abnormality in the second small region T2 including the gap D2 having a relatively large area. Since it can be determined, whether or not there is an abnormality can be appropriately determined even if the gap D has a triangular shape. For this reason, compared with the case where the presence / absence of abnormality is determined based on the entire area of the gap D, the gap D to be determined as having an abnormality although the entire area of the gap D is small can be appropriately detected. Thereby, it is possible to improve the accuracy of determining the abnormality of the corner C.

本発明は上述の形態に限定されず、適宜の形態にて実施することができる。上述の形態では、底辺Daの中央を境界に含むように検査領域Tが2等分されているが、このような形態に限定されるものではない。例えば、隙間を形成する一辺の中央を境界に含むように検査領域Tが底面Daと並行する方向に2分割されていてもよい。また、隙間を形成する一辺の中央を境界に含むように検査領域Tが2つに分けられる形態に限定されるものでもなく、検査領域が検査対象部を区分するような3つ以上の小領域に分けられていてもよい。この場合、より細かく検査領域の異常の有無を判別することができる。また、上述の形態では、2つの小領域のいずれか一つの異常ありとの判別をもって、検査対象領域について異常有りと判別されているが、検査対象領域が検査対象部を区分するような複数の小領域に分けられる形態においてはこのような形態に限定されるものではない。例えば、複数の小領域の2つ以上において異常有りと判別された場合に検査領域について異常有りと判別される形態でもよい。また、上述の形態では、光学系として反射板が用いられているが、このような形態に限定されるものではない。例えば、光学系として、別途、照明手段を設けてもよい。また、光学系は省略されてもよい。また、上述のような検査装置が適用されたケーサーには、検査装置にて異常有りと判別されたケースを搬送路から排出する排出装置が設けられていてもよい。   This invention is not limited to the above-mentioned form, It can implement with a suitable form. In the above-described embodiment, the inspection region T is divided into two equal parts so as to include the center of the base Da, but the present invention is not limited to such a form. For example, the inspection region T may be divided into two in a direction parallel to the bottom surface Da so as to include the center of one side forming the gap as a boundary. Further, the inspection region T is not limited to the form in which the inspection region T is divided into two so as to include the center of one side forming the gap as a boundary, but three or more small regions in which the inspection region divides the inspection object portion. It may be divided into. In this case, the presence / absence of an abnormality in the inspection region can be determined more finely. Further, in the above-described embodiment, it is determined that there is an abnormality in the inspection target area by determining that there is an abnormality in one of the two small areas, but there are a plurality of cases in which the inspection target area classifies the inspection target portion. The form divided into small areas is not limited to such a form. For example, it may be determined that the inspection region is determined to be abnormal when it is determined that there is an abnormality in two or more of the plurality of small regions. Moreover, in the above-mentioned form, although the reflecting plate is used as an optical system, it is not limited to such a form. For example, an illumination unit may be separately provided as the optical system. Moreover, the optical system may be omitted. In addition, the caser to which the above-described inspection apparatus is applied may be provided with a discharge device that discharges the case determined to be abnormal by the inspection apparatus from the conveyance path.

上述の実施の形態を用いて、ケース2の隅Cの異常の有無の判別を実施した。各カメラ10が撮像した画像及び、判別装置13の判別状況を不図示のモニタに出力して判別結果を確認した。   Using the above-described embodiment, the presence / absence of abnormality in the corner C of the case 2 was determined. The image captured by each camera 10 and the determination status of the determination device 13 are output to a monitor (not shown) to check the determination result.

(実施例1)
隅Cに許容限界値となる3mm幅Dsを有する四角型の隙間Dが形成されているケース2について検査を実施した。図5は、3mm幅Dsを有する四角型の隙間Dについて、モニタに出力された判別状況を模式的に示した図である。この実施例では、第1小領域T1に含まれる隙間D1に対する異常値としての上限値に800が、第2小領域T2に含まれる隙間D2に対する異常値としての上限値に700が、それぞれ設定されている。測定の結果、第1隙間D1の面積が844と、第2隙間D2の面積が761と、それぞれ測定された。第1小領域T1及び、第2小領域T2のいずれの測定値も上限値を超えているため、第1小領域T1及び、第2小領域T2のいずれに対しても異常有り(図5では、“NG”と表示)と判別され、結果として検査対象が不良と判定されている。
Example 1
An inspection was performed on Case 2 in which a square gap D having a 3 mm width Ds, which is an allowable limit value, was formed at the corner C. FIG. 5 is a diagram schematically showing the discrimination status output to the monitor for a square gap D having a width Ds of 3 mm. In this embodiment, 800 is set as the upper limit value as the abnormal value for the gap D1 included in the first small region T1, and 700 is set as the upper limit value as the abnormal value for the gap D2 included in the second small region T2. ing. As a result of the measurement, the area of the first gap D1 was measured to be 844, and the area of the second gap D2 was measured to be 761. Since both the measured values of the first small region T1 and the second small region T2 exceed the upper limit value, there is an abnormality in both the first small region T1 and the second small region T2 (in FIG. 5). , “NG” is displayed), and as a result, the inspection target is determined to be defective.

(実施例2)
隅Cに許容限界値となる3mm幅Dsを有する三角型の隙間Dが形成されているケース2について検査を実施した。図6は、3mm幅Dsを有する三角型の隙間Dについて、モニタに出力された判別状況を模式的に示した図である。この実施例では、第1小領域T1に含まれる隙間D1に対する異常値としての上限値に800が、第2小領域T2に含まれる隙間D2に対する異常値としての上限値に700が、それぞれ設定されている。測定の結果、第1隙間D1の面積が172と、第2隙間D2の面積が770と、それぞれ測定された。第1小領域T1では測定された第1隙間D1の面積が上限値内に収まっているため異常なし(図6では、“OK”と表示)と判別され、第2小領域T2では測定された第2隙間D2の面積が上限を超えているため異常有り(図6では、“NG”と表示)と判別されている。そして、これらの第1小領域T1及び、第2小領域T2の判別結果に基づいて、検査対象が不良と判定されている。
(Example 2)
An inspection was performed on Case 2 in which a triangular gap D having a 3 mm width Ds, which is an allowable limit value, was formed at the corner C. FIG. 6 is a diagram schematically showing the discrimination status output to the monitor for the triangular gap D having a width of 3 mm Ds. In this embodiment, 800 is set as the upper limit value as the abnormal value for the gap D1 included in the first small region T1, and 700 is set as the upper limit value as the abnormal value for the gap D2 included in the second small region T2. ing. As a result of the measurement, the area of the first gap D1 was measured as 172, and the area of the second gap D2 was measured as 770, respectively. In the first small region T1, the measured area of the first gap D1 is within the upper limit value, so it is determined that there is no abnormality (indicated as “OK” in FIG. 6), and the measurement is performed in the second small region T2. Since the area of the second gap D2 exceeds the upper limit, it is determined that there is an abnormality (indicated as “NG” in FIG. 6). And based on the discrimination | determination result of these 1st small area | regions T1 and 2nd small area | region T2, the test object is determined to be defective.

検査領域Tを分けずに隙間D全体の面積に基づいて異常の有無が判別される場合には、同じ3mm幅Dsを有する隙間Dでも隙間Dの形によって、面積値が異なるため、不良と判別すべき上限値の設定が難しく、検査結果が安定しなかった。一方、2つの検査領域T1、T2に分けて、検査領域T1、T2毎に検査が行われることにより、隙間Dの形の違いによる面積値の変動が少なくなり、不良と判別すべき上限値の設定が容易で検査が安定した。結果として、設定、調整が容易となり、かつ、異常の有無の判断精度が向上し品質向上につながった。また、この検査装置1を適用したケーサーに検査装置1にて異常あり(不良)と判別されたケース2を搬送路から排出するための排出装置(不図示)を設けることにより、作業者の作業低減を実現することができた。   When the presence or absence of abnormality is determined based on the entire area of the gap D without dividing the inspection region T, the area value of the gap D having the same 3 mm width Ds differs depending on the shape of the gap D. The upper limit to be set was difficult, and the test results were not stable. On the other hand, since the inspection is performed for each of the inspection regions T1 and T2 in two inspection regions T1 and T2, the variation of the area value due to the difference in the shape of the gap D is reduced, and the upper limit value to be determined as defective Easy to set up and stable inspection. As a result, setting and adjustment became easy, and the accuracy of determining the presence or absence of abnormality improved, leading to quality improvement. In addition, by providing the caser to which the inspection apparatus 1 is applied with a discharge device (not shown) for discharging the case 2 that is determined to be abnormal (defective) in the inspection apparatus 1 from the conveyance path, Reduction could be realized.

1 検査装置
2 ケース(検査対象物)
10 カメラ(撮像手段)
11 照明器(照明手段)
12 反射板(光学系)
13 判別装置(判別手段)
T 検査領域
T1 第1小領域(複数の小領域)
T2 第2小領域(複数の小領域)
D 隙間(検査対象部)
Da 底辺(特定の一辺)
S 直線
Ax 軸線
1 Inspection device 2 Case (inspection object)
10 Camera (imaging means)
11 Illuminator (illumination means)
12 Reflector (optical system)
13 Discriminating device (discriminating means)
T inspection area T1 first small area (plural small areas)
T2 Second small area (multiple small areas)
D Clearance (part to be inspected)
Da base (one specific side)
S straight line Ax axis line

Claims (7)

検査対象物の検査対象部を含む所定の撮像範囲を撮像する撮像手段と、
前記検査対象部を照明する照明手段と、
前記撮像手段が取得した前記所定の撮像範囲の画像に基づいて前記検査対象部が映されている部分を含むように設定された検査領域内の前記検査対象部の面積を取得し、取得した前記検査対象部の面積に基づいて前記検査対象部の異常の有無を判別する判別手段と、
を備え、
前記判別手段は、前記検査対象部が複数に区分されるように前記検査領域を複数の小領域に分けて前記複数の小領域毎に異常の有無を判別するとともに、前記検査対象部が一端から他端まで延びる特定の一辺を含み、当該特定の一辺の前記一端側から延びるフラップが前記他端側に向かって折り曲げられて前記特定の一辺と前記フラップとの間に形成される隙間が前記検査対象部として検査される場合において、前記特定の一辺を基準に前記検査領域を前記複数の小領域に分ける、
ことを特徴とする検査装置。
Imaging means for imaging a predetermined imaging range including an inspection target portion of the inspection target;
Illuminating means for illuminating the inspection object part;
Based on the image of the predetermined imaging range acquired by the imaging means, the area of the inspection target portion in the inspection region set to include the portion where the inspection target portion is reflected is acquired, and the acquired A discriminating means for discriminating the presence or absence of an abnormality of the inspection target part based on the area of the inspection target part;
With
The determination means is configured to determine the presence or absence of abnormality in each of the plurality of small regions by dividing the inspection area into a plurality of small regions such that the inspection target portion are divided into a plurality, said object portion from one end The inspection includes a specific side extending to the other end, and a flap formed between the specific side and the flap is formed by bending a flap extending from the one end of the specific side toward the other end. In the case of being inspected as a target portion, the inspection area is divided into the plurality of small areas based on the specific side.
Inspection apparatus characterized by that.
前記判別手段は、前記所定の撮像範囲の画像内の各部の明度に基づいて前記検査領域内の前記検査対象部の面積を取得する請求項1に記載の検査装置。   The inspection apparatus according to claim 1, wherein the determination unit acquires an area of the inspection target portion in the inspection region based on brightness of each portion in the image of the predetermined imaging range. 前記撮像手段によって取得される前記撮像範囲の画像内において前記検査対象部が映される部分以外の部分に前記照明手段の光が映されるように前記照明手段の光を前記撮像手段に導く光学系を、更に備える請求項2に記載の検査装置。   Optics for guiding the light of the illumination unit to the imaging unit so that the light of the illumination unit is reflected in a portion other than the portion where the inspection target portion is projected in the image of the imaging range acquired by the imaging unit. The inspection apparatus according to claim 2, further comprising a system. 前記光学系として、前記照明手段の光を前記撮像手段に反射する反射板が用いられる請求項3に記載の検査装置。   The inspection apparatus according to claim 3, wherein a reflection plate that reflects light of the illumination unit to the imaging unit is used as the optical system. 前記判別手段は、前記複数の小領域の少なくとも一つにおいて異常ありと判別された場合に前記検査対象部に対して異常ありと判別する請求項1〜4のいずれか一項に記載の検査装置。   The inspection apparatus according to any one of claims 1 to 4, wherein the determination unit determines that there is an abnormality in the inspection target part when it is determined that there is an abnormality in at least one of the plurality of small regions. . 前記判別手段は、前記複数の小領域として、前記特定の一辺の中央を境界に含み、前記一端と前記他端とが互いに別の小領域に含まれるように前記検査領域を二つの小領域に分けることにより、前記特定の一辺を基準に前記検査領域を前記複数の小領域に分ける、請求項1〜5のいずれか一項に記載の検査装置。 Said determining means, as a pre-Symbol plurality of small regions include a center of the specific side to the boundary, the two small regions of the examination region such that said other end and said one end is contained in another small region to each other The inspection apparatus according to claim 1 , wherein the inspection area is divided into the plurality of small areas on the basis of the specific one side . 前記判別手段は、前記境界として、前記特定の一辺と直交する直線を用いて前記検査領域を二つの小領域に分けることにより、前記特定の一辺を基準に前記検査領域を前記複数の小領域に分ける、請求項6に記載の検査装置。 Said determining means, as a pre-Symbol boundary, said by dividing the inspection area by using a line perpendicular to the specific side to two small areas, the plurality of small regions of the inspection area relative to the specific side The inspection apparatus according to claim 6 , which is divided into:
JP2009298005A 2009-12-28 2009-12-28 Inspection device Active JP5559527B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009298005A JP5559527B2 (en) 2009-12-28 2009-12-28 Inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009298005A JP5559527B2 (en) 2009-12-28 2009-12-28 Inspection device

Publications (2)

Publication Number Publication Date
JP2011137720A JP2011137720A (en) 2011-07-14
JP5559527B2 true JP5559527B2 (en) 2014-07-23

Family

ID=44349282

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009298005A Active JP5559527B2 (en) 2009-12-28 2009-12-28 Inspection device

Country Status (1)

Country Link
JP (1) JP5559527B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5539710B2 (en) * 2009-12-28 2014-07-02 麒麟麦酒株式会社 Inspection device
WO2023095250A1 (en) * 2021-11-25 2023-06-01 株式会社日立国際電気 Abnormality detection system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62284206A (en) * 1986-05-31 1987-12-10 Toshiba Corp Deciding method for soldering finish quality
JPH07239940A (en) * 1994-02-28 1995-09-12 Nippon Steel Corp Method for processing closed loop image and defect inspection method using the method
JP3904981B2 (en) * 2002-06-07 2007-04-11 ニッテツ北海道制御システム株式会社 Wrapping / unfolding determination method and apparatus for wrapping paper
JP2004205278A (en) * 2002-12-24 2004-07-22 Morinaga Milk Ind Co Ltd Superposed-object inspection device

Also Published As

Publication number Publication date
JP2011137720A (en) 2011-07-14

Similar Documents

Publication Publication Date Title
EP2538203A1 (en) Package inspection apparatus
CN107250775B (en) Inspection device and method for inspecting quality of foldable box and manufacturing equipment
JP6336735B2 (en) Appearance inspection device
JP2005195483A (en) Steel sheet corner-fold detector and corner-fold detection method
US20190154578A1 (en) Surface inspection system and surface inspection method
JP5419189B2 (en) Cigarette inspection device
JP5559527B2 (en) Inspection device
JP5240834B2 (en) Seat flap condition inspection device
KR101998038B1 (en) Cargo dulyreach inspection apparatus and method
JP5967704B2 (en) Box book inspection device and book book inspection method in the box
CA3072278C (en) Method and a machine for checking the quality of a product
CN113015901A (en) Method for producing glass plate and apparatus for producing glass plate
JP5634680B2 (en) Inspection device
JP5902067B2 (en) Paper dust adhesion amount inspection method and paper dust adhesion amount inspection device
JP2009115489A (en) Visual inspection apparatus
JP6679942B2 (en) Sheet defect inspection device
JP2014038013A (en) Method and device for detecting defective lamination state for flat paper
JP2010014735A (en) Visual inspection apparatus
JP5907051B2 (en) Inspection device and inspection method
JP4334099B2 (en) Corrugated board laminate inspection system
JP2015145817A (en) Optical inspection apparatus and box making apparatus
JP4953086B2 (en) PTP sheet inspection equipment
JP4971043B2 (en) Container quality determination method and inspection device
JP2003344017A (en) Inspection apparatus for corrugated fiberboard box and imaging device for inspection object
JP5539710B2 (en) Inspection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121122

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130806

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131004

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140520

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140606

R150 Certificate of patent or registration of utility model

Ref document number: 5559527

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250