JP2023058071A - Inspection system, inspection device, inspection method and inspection program - Google Patents
Inspection system, inspection device, inspection method and inspection program Download PDFInfo
- Publication number
- JP2023058071A JP2023058071A JP2021167816A JP2021167816A JP2023058071A JP 2023058071 A JP2023058071 A JP 2023058071A JP 2021167816 A JP2021167816 A JP 2021167816A JP 2021167816 A JP2021167816 A JP 2021167816A JP 2023058071 A JP2023058071 A JP 2023058071A
- Authority
- JP
- Japan
- Prior art keywords
- inspection
- image
- inspected
- lid
- unit
- 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.)
- Pending
Links
- 238000007689 inspection Methods 0.000 title claims abstract description 226
- 238000000034 method Methods 0.000 title claims description 14
- 238000003384 imaging method Methods 0.000 claims abstract description 27
- 238000005286 illumination Methods 0.000 claims abstract description 26
- 230000009471 action Effects 0.000 claims abstract description 10
- 230000035622 drinking Effects 0.000 claims description 7
- 230000008569 process Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 15
- 238000012545 processing Methods 0.000 description 13
- 230000007547 defect Effects 0.000 description 11
- 238000004519 manufacturing process Methods 0.000 description 9
- 235000013361 beverage Nutrition 0.000 description 5
- RFHAOTPXVQNOHP-UHFFFAOYSA-N fluconazole Chemical compound C1=NC=NN1CC(C=1C(=CC(F)=CC=1)F)(O)CN1C=NC=N1 RFHAOTPXVQNOHP-UHFFFAOYSA-N 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000010354 integration Effects 0.000 description 3
- 238000010801 machine learning Methods 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000015654 memory Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000011347 resin Substances 0.000 description 2
- 229920005989 resin Polymers 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000005338 frosted glass Substances 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000010191 image analysis Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 239000000123 paper Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000007789 sealing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000010902 straw Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Landscapes
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Abstract
Description
本発明は、検査システム、検査装置、検査方法、及び検査プログラムに関する。 The present invention relates to an inspection system, an inspection apparatus, an inspection method, and an inspection program.
近年、容器等の製品の製造工程において、画像検査等で適合品と不適合品が選別されている。例えば、特許文献1には、開口を塞ぐシール部を有する容器の欠陥を検査する検査装置について記載されている。
In recent years, in the manufacturing process of products such as containers, conforming products and non-conforming products have been sorted out by image inspection or the like. For example,
しかしながら、特許文献1記載の技術は、形状や模様に特徴が低い面については、検査ができない場合がある、という問題があった。例えば、樹脂や紙、曇りガラス等の素材を用いる製品は、面の位置によって、透過又は反射する光量が異なることがある。この場合、検査装置では、面の位置に応じた明暗の違いによって、被検査体の面を適切に検査することができないことがあった。
However, the technique described in
本開示は上記の点に鑑みてなされたものであり、被検査体を適切に検査することができる検査システム、検査装置、検査方法、及び検査プログラムを提供する。 The present disclosure has been made in view of the above points, and provides an inspection system, an inspection apparatus, an inspection method, and an inspection program capable of appropriately inspecting an object to be inspected.
(1)本開示は上記の課題を解決するためになされたものであり、本開示の一態様は、被検査体の検査を行う検査システムであって、照明装置が照明をしているときに、前記被検査体の側面を撮像する第1撮像装置と、前記被検査体の上面を撮像する第2撮像装置と、前記被検査体の側面が撮像された側面画像を取得する取得部と、前記第2撮像装置が撮像した上面画像に基づいて、前記第1撮像装置が撮像した前記側面画像における前記側面の位置を特定し、特定した第1位置において第1検査基準、及び特定した第2位置において第2検査基準で、前記側面画像を解析することで、前記側面の検査を行う側面検査部と、を備え、前記第1位置と前記第2位置では、前記側面の表面形状が同じ場合でも、前記照明の作用により、前記側面画像における前記側面の映り方が異なる検査システムである。 (1) The present disclosure has been made to solve the above problems, and one aspect of the present disclosure is an inspection system that inspects an object to be inspected. a first imaging device for imaging a side surface of the object to be inspected, a second imaging device for imaging an upper surface of the object to be inspected, an acquisition unit for acquiring a side image obtained by imaging the side surface of the object to be inspected; Based on the upper surface image captured by the second imaging device, the position of the side surface in the side image captured by the first imaging device is specified, and at the specified first position, the first inspection standard and the specified second and a side inspection unit that inspects the side surface by analyzing the side image according to a second inspection standard at a position, wherein the surface shape of the side surface is the same at the first position and the second position. However, it is an inspection system in which the appearance of the side surface in the side image differs due to the action of the illumination.
(2)また、本開示の一態様は、照明装置が照明をしているときに被検査体の側面が撮像された側面画像を取得する取得部と、前記被検査体の上面が撮像された上面画像に基づいて特定された前記側面の第1位置において第1検査基準、及び前記側面の第2位置において第2検査基準で、前記側面画像を解析することで、前記側面の検査を行う側面検査部と、を備え、前記第1位置と前記第2位置では、前記側面の表面形状が同じ場合でも、前記照明の作用により、前記側面画像における前記側面の映り方が異なる検査装置である。 (2) Further, one aspect of the present disclosure includes an acquisition unit that acquires a side image in which a side surface of an object to be inspected is captured while an illumination device is illuminating; inspecting the side surface by analyzing the side image with a first inspection criterion at a first location of the side surface and a second inspection criterion at a second location of the side surface identified based on the top image; and an inspection unit, wherein even if the surface shape of the side surface is the same at the first position and the second position, the appearance of the side surface in the side image differs due to the action of the illumination.
(3)また、本開示の一態様は、被検査体の検査を行う検査方法であって、取得部が、照明装置が照明をしているときに前記被検査体の側面が撮像された側面画像を取得する取得過程、側面検査部が、前記被検査体の上面が撮像された上面画像に基づいて特定された前記側面の第1位置において第1検査基準、及び前記側面の第2位置において第2検査基準で、前記側面画像を解析することで、前記側面の検査を行う側面検査過程、を有し、前記第1位置と前記第2位置では、前記側面の表面形状が同じ場合でも、前記照明の作用により、前記側面画像における前記側面の映り方が異なる検査方法である。 (3) Further, one aspect of the present disclosure is an inspection method for inspecting an object to be inspected, in which an acquisition unit captures a side surface of the object to be inspected while an illumination device is illuminating. In an acquisition process of acquiring an image, a side inspecting unit performs a first inspection reference at a first position of the side surface specified based on a top image in which the top surface of the object to be inspected is captured, and a second inspection reference at a second position of the side surface. a side surface inspection step of inspecting the side surface by analyzing the side surface image with a second inspection standard, and even if the surface shape of the side surface is the same at the first position and the second position, According to the inspection method, the appearance of the side surface in the side image differs depending on the action of the illumination.
(4)また、本開示の一態様は、被検査体の検査を行う検査システムのコンピュータに、照明装置が照明をしているときに前記被検査体の側面が撮像された側面画像を取得する取得手段、前記被検査体の上面が撮像された上面画像に基づいて特定された前記側面の第1位置において第1検査基準、及び前記側面の第2位置において第2検査基準で、前記側面画像を解析することで、前記側面の検査を行う側面検査手段、を実行させ、前記第1位置と前記第2位置では、前記側面の表面形状が同じ場合でも、前記照明の作用により、前記側面画像における前記側面の映り方が異なる検査プログラムである。 (4) In one aspect of the present disclosure, a computer of an inspection system that inspects an object to be inspected acquires a side image in which a side surface of the object to be inspected is captured while an illumination device is illuminating. Acquisition means, the side image with a first inspection reference at a first position of the side surface specified based on the top image in which the top surface of the object to be inspected is captured, and a second inspection reference at a second position of the side surface. By analyzing the side surface inspection means for inspecting the side surface, even if the surface shape of the side surface is the same at the first position and the second position, the side surface image is obtained by the action of the illumination. is an inspection program in which the appearance of the side surface is different.
本発明によれば、被検査体を適切に検査することができる。 ADVANTAGE OF THE INVENTION According to this invention, a to-be-tested object can be inspected appropriately.
(実施形態)
以下、図面を参照しながら本開示の実施形態について詳しく説明する。
図1は、本実施形態に関連する製品の一例を示す図である。本製品は、コーヒー容器等の使い捨ての飲料容器である。飲料容器は、カップA2に対して蓋A1(「リッド」とも呼ばれる)を嵌め込むことにより、蓋A1が閉まる。
蓋A1は、樹脂で一体形成されており、本実施形態における検査対象(「被検査体」という)である。蓋A1の上面には、凸部T111と凹部T121が形成されている。
(embodiment)
Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings.
FIG. 1 is a diagram showing an example of a product related to this embodiment. The product is a disposable beverage container such as a coffee container. The beverage container closes the lid A1 (also called a lid) by fitting the lid A1 against the cup A2.
The lid A1 is integrally formed of resin, and is an object to be inspected (referred to as an “object to be inspected”) in this embodiment. A convex portion T111 and a concave portion T121 are formed on the upper surface of the lid A1.
図2は、本実施形態に係る被検査体(蓋A1)の上面図である。蓋A1の上面には、飲み口部T1が形成されている。人が飲料を飲むとき、凸部T111が引き上げられ、フラップ部T11の一部が薄肉に沿って破断し、凹部T121側に折り返される。これにより、飲み口(穴)が現れる。凸部T111は、凹部T121に嵌め込まれることで、フラップ部T11は折り返されたまま固定される。蓋A1の上面視で円となる側壁が設けられており、人は、飲み口部T1の側壁部分の側面側に下唇を当てて、飲料を飲む。
なお、蓋A1は、別の形状であってもよく、例えば、フラップ部T11がなく、飲み口が形成されているものであってもよい。この場合、飲み口は、側壁の上面に設けられていてもよい。
FIG. 2 is a top view of the inspection object (lid A1) according to this embodiment. A drinking mouth portion T1 is formed on the upper surface of the lid A1. When a person drinks a beverage, the convex portion T111 is pulled up, and a portion of the flap portion T11 is broken along the thin wall and folded back toward the concave portion T121. This reveals a drinking spout (hole). The convex portion T111 is fitted into the concave portion T121 so that the flap portion T11 is fixed while being folded back. The lid A1 is provided with a circular side wall when viewed from above, and a person drinks the beverage by putting his/her lower lip against the side surface of the side wall portion of the mouth portion T1.
Note that the lid A1 may have a different shape, for example, it may have a drinking opening without the flap portion T11. In this case, the drinking spout may be provided on the upper surface of the side wall.
<生産ライン>
図3は、本実施形態に係る生産ラインの概略図である。この生産ラインでは、蓋A1が生産される。この図は、鉛直上向きをz方向とし、生産ラインを上から鉛直下向きに見た図である。
カートリッジ投入口P1には、蓋A1が複数(例えば100個)積み重なったカートリッジが置かれている。蓋A1は、カートリッジ投入口P1からコンベアP2へ、1個ずつ投入される。蓋A1は、コンベアP2から、ピッキングロボットP3(ピッキングロボットP31又はP32)に、1個ずつピックアップされて、検査ステージP4(検査ステージP41又はP42)の回転ステージSt1(回転ステージSt11又はSt12)上に置かれる。
<Production line>
FIG. 3 is a schematic diagram of a production line according to this embodiment. This production line produces the lid A1. This figure is a view of the production line viewed vertically downward from above, with the vertically upward direction being the z-direction.
A cartridge having a plurality (for example, 100) of lids A1 stacked thereon is placed in the cartridge slot P1. The lids A1 are introduced one by one from the cartridge inlet P1 to the conveyor P2. The lids A1 are picked up one by one from the conveyor P2 by the picking robot P3 (picking robot P31 or P32) and placed on the rotation stage St1 (rotation stage St11 or St12) of the inspection stage P4 (inspection stage P41 or P42). be placed.
検査ステージP4において、蓋A1は、回転ステージSt1とともに回転させながら、撮像され(図4参照)、検査される。つまり、複数の回転角において、蓋A1が撮像されて検査される。なお本実施形態では、蓋A1は、すべての回転角について連続して撮像されるが、特定の複数の回転角のみ撮像されてもよい。
検査では、品質に適合するか否かが判定され(「適合判定」と称する)、例えば、蓋A1に、穴や傷、割れ等の欠損がある場合、不適合となる。
適合判定には、画像解析により、欠陥を検出する欠陥検出アルゴリズムが用いられる。
On the inspection stage P4, the lid A1 is imaged (see FIG. 4) and inspected while being rotated together with the rotation stage St1. That is, the lid A1 is imaged and inspected at a plurality of rotation angles. In this embodiment, the lid A1 is continuously imaged for all rotation angles, but may be imaged only for a plurality of specific rotation angles.
In the inspection, it is judged whether or not the product conforms to the quality (referred to as “conformity judgment”).
A defect detection algorithm that detects defects by image analysis is used for conformity determination.
適合判定の結果、不適合と判定された蓋A1は、不適合品置き場P51に置かれる。一方、適合判定の結果、適合と判定された蓋A1は、ピッキングロボットP3により、コンベアP6に置かれ、ストッカーP7へ運ばれる。ストッカーP7では、蓋A1が複数積み重ねられ、カートリッジとしてまとめられる。カートリッジは、いくつかがまとめられて、梱包される。 As a result of the conformity determination, the lid A1 determined to be nonconforming is placed in the nonconforming product storage area P51. On the other hand, the lid A1 determined as conforming as a result of the conformity judgment is placed on the conveyor P6 and transported to the stocker P7 by the picking robot P3. In the stocker P7, a plurality of lids A1 are stacked to form a cartridge. Several cartridges are grouped and packed.
なお、生産ラインは、図3の一例に限られず、他の構成であってもよい。例えば、カートリッジ投入口P1には蓋A1が1個ずつ置かれてもよいし、蓋Aは、前工程のコンベア等からコンベアP2へ投入されてもよい。また、蓋Aは、コンベアP6から後工程のコンベア等へ運ばれてもよい。 Note that the production line is not limited to the example shown in FIG. 3, and may have other configurations. For example, one lid A1 may be placed in each cartridge input port P1, or the lid A may be input to the conveyor P2 from the conveyor of the preceding process or the like. Also, the lid A may be conveyed from the conveyor P6 to a subsequent conveyor or the like.
<検査システム>
図4は、本実施形態に係る検査システムSysを表す概略図である。
検査システムSysは、生産ラインに設けられ、カメラC1、C2、C3、照明L11、L12、L21、L22、L3、回転ステージSt1、及び検査装置1を備える。
<Inspection system>
FIG. 4 is a schematic diagram showing the inspection system Sys according to this embodiment.
The inspection system Sys is installed in a production line and includes cameras C1, C2, C3, lighting L11, L12, L21, L22, L3, a rotating stage St1, and an
カメラC1は、照明L11及びL12で照らされた蓋A1を、上から鉛直下向きに撮像する。カメラC1は、蓋A1の上面を撮像する。カメラC1に撮像された画像を、上面画像と称する。
カメラC2は、照明L21及びL22で照らされた蓋A1を、斜め上から鉛直斜め下向きに撮像する。カメラC2は、蓋A1の上面を斜め方向、つまり、カメラC1とは異なる方向から撮像する。カメラC2に撮像された画像を、斜視画像と称する。
カメラC3は、ラインスキャンカメラである。照明L3で照らされた蓋A1を、水平方向に撮像する。カメラC1の光軸とカメラC3の光軸は、直交、又はyz平面に射影されたときに直交する。カメラC3は、回転している蓋A1の側面を、1周する間に連続して撮像し、側面の全周分を撮像する。カメラC3に撮像された画像を、側面画像と称する。
The camera C1 takes an image of the lid A1 illuminated by the lights L11 and L12 vertically downward from above. Camera C1 images the upper surface of lid A1. An image captured by the camera C1 is referred to as a top image.
The camera C2 captures an image of the lid A1 illuminated by the lights L21 and L22 from obliquely upward and vertically obliquely downward. The camera C2 images the upper surface of the lid A1 from an oblique direction, that is, from a direction different from that of the camera C1. An image captured by the camera C2 is referred to as a perspective image.
Camera C3 is a line scan camera. An image of the lid A1 illuminated by the illumination L3 is taken in the horizontal direction. The optical axis of the camera C1 and the optical axis of the camera C3 are orthogonal, or orthogonal when projected onto the yz plane. The camera C3 continuously captures images of the side surface of the rotating lid A1 during one rotation, capturing images of the entire circumference of the side surface. An image captured by the camera C3 is called a side image.
なお、カメラC3は、エリアカメラであってもよい。また、照明L11、L12、L21、L22、L3も図4の一例に限らず、例えば照明の配置、個数、角度は、別のものであってもよい。より具体的には、図4の照明L3は、x軸の正方向に光を照射して、蓋A1を照らす。ただし、照明L3は、図4の照明L3に代えて或いは加えて、x軸の負方向に光を照射して、蓋A1を照らしてもよい。また、照明L3は、y軸の正方向或いは負方向に光を照射して、蓋A1を照らしてもよいし、x軸、y軸、又はz軸の少なくとも2つの軸の成分を有する方向に光を照射して、蓋A1を照らしてもよい。また、照明L3は、配置や角度の異なる複数の照明装置であってもよいし、蓋A1の内側、例えば、回転ステージ上から、光を照射してもよい。 Note that the camera C3 may be an area camera. Also, the lights L11, L12, L21, L22, and L3 are not limited to the example shown in FIG. More specifically, the illumination L3 in FIG. 4 emits light in the positive direction of the x-axis to illuminate the lid A1. However, instead of or in addition to the illumination L3 in FIG. 4, the illumination L3 may emit light in the negative direction of the x-axis to illuminate the lid A1. The illumination L3 may emit light in the positive or negative direction of the y-axis to illuminate the lid A1, or may emit light in a direction having at least two components of the x-axis, the y-axis, or the z-axis. Light may be applied to illuminate the lid A1. Further, the lighting L3 may be a plurality of lighting devices with different arrangements and angles, or may emit light from the inside of the lid A1, for example, from the rotating stage.
回転ステージSt1は、z軸に沿った軸を中心軸として、回転する。これにより、回転ステージSt1上に置かれた蓋A1も、回転ステージSt1とともに、回転する。
検査装置1は、カメラC1~C3が撮像した上面画像、斜視画像、側面画像を、それぞれ解析して、適合判定を行う。ここで、検査装置1は、上面画像によって、側面画像における蓋A1の側面の位置を特定する。検査装置1は、側面の位置に応じて、異なる検査基準で側面画像を解析して、適合判定を行う。
The rotary stage St1 rotates around an axis along the z-axis. As a result, the lid A1 placed on the rotating stage St1 also rotates together with the rotating stage St1.
The
<検査装置>
図5は、本実施形態に係る検査装置1の構成を示す概略ブロック図である。
検査装置1は、入出力部I1、記憶部M1、及び処理部PR1を具備する。
<Inspection device>
FIG. 5 is a schematic block diagram showing the configuration of the
The
入出力部I2は、第1画像取得部111、第2画像取得部112、第3画像取得部113、入力部114、及び出力部115を含んで構成される。
第1画像取得部111は、カメラC1から上面画像を取得する。
第2画像取得部112は、カメラC2から斜視画像を取得する。
第3画像取得部113は、カメラC3から側面画像(ラインスキャン画像:図7参照)を取得する。
入力部114は、ユーザ(生産ラインの管理者)によるキー操作等のユーザ操作を受け付ける。
出力部115は、外部装置と通信する通信チップ、及び、画面等を表示するディスプレイである。
The input/output unit I2 includes a first
The first
A second
The third
The
The
記憶部M1は、向き情報記憶部121、検査基準記憶部122、及び検査履歴記憶部123を含んで構成される。
向き情報記憶部121は、蓋A1の向き情報を記憶する。向き情報とは、蓋A1の上面の画像(「基準画像」ともいう)であり、基準画像には蓋A1の回転角が対応付けられている。例えば、図2の画像(飲み口部T1が最も下になっている画像:図2参照)には、蓋A1の回転角「0度」が対応付けられている。この画像の位置を基準に、右回りに回転した場合には正の角度となり、左回りに回転した場合には負の角度となる。
The storage unit M<b>1 includes an orientation
The orientation
検査基準記憶部122は、適合判定に用いる検査基準情報を記憶する。検査基準情報では、蓋A1の回転角に対して、側面の検査基準が対応付けられている(図6参照)。検査基準は、適合又は不適合を判定する閾値であってもよいし、検査アルゴリズムであってもよいし、検査の基準となる画像であってもよい。
検査履歴記憶部123は、検査に用いた上面画像、斜視画像、側面画像、適合判定を行った位置(蓋A1の回転角)、及び、適合判定の結果を含む検査履歴情報を記憶する。検査履歴情報には、検査日時、検査ライン(ロット番号)、又は蓋A1の識別情報が含まれてもよい。
The inspection
The inspection
処理部PR1は、設定部131、回転制御部132、検査部133、及びロボット制御部134を含んで構成される。
設定部131は、ユーザ操作に基づいて、検査装置1の設定を行う。例えば、設定部131は、蓋A1の回転角に応じて、蓋A1の基準画像を受け付ける。設定部131は、蓋A1の回転角と基準画像を対応づけて、蓋A1の向き情報を生成し、向き情報記憶部121に記憶させる。設定部131は、蓋A1の回転角に応じた検査基準を受け付ける。設定部131は、蓋A1の回転角と検査基準を対応付けて、検査基準情報を生成し、検査基準記憶部122に記憶させる。
回転制御部132は、回転ステージSt1の回転を制御する。回転制御部132は、1個の蓋A1の検査において、回転ステージSt1を1周以上、回転させる。
The processing unit PR1 includes a
The
The
検査部133は、上面画像及び斜視画像において、欠陥検出アルゴリズムによる適合判定を行う。検査部133は、上面画像に基づいて、側面画像における側面の位置を特定し、側面の位置に応じて異なる検査基準で側面画像を解析することで、側面の適合判定を行う。検査部133は、検査履歴情報を生成し、検査履歴記憶部123に記憶させる。
ロボット制御部134は、適合判定の結果、蓋A1が適合と判定された場合、その蓋A1をコンベアP6に置くよう、ピッキングロボットP3に指示する(「適合処理」とも称する)。一方、蓋A1が不適合と判定された場合、ロボット制御部134は、その蓋A1を不適合品置き場P51に置くよう、ピッキングロボットP3に指示する(「不適合処理」とも称する)。
The
When the lid A1 is determined to be suitable as a result of the suitability determination, the
図6は、本実施形態に係る検査基準情報の一例を示す概略図である。
検査基準情報には、被検査体、側面位置情報、及び検査基準の各項目が含まれる。被検査体は、被検査体の識別情報である。側面位置情報は、被検査体の回転角を表す。例えば、蓋A1の回転角が0度の場合、カメラCは飲み口部T11の側面を撮像している。
この図の検査基準情報は、例えば、側面位置情報が0度の場合には、適合判定において第1検査基準が適用され、側面位置情報が90度、180度、-90度の場合には、第2検査基準が適用されることを表す。第1検査基準は、例えば、第2検査基準を適用する場合よりも、被検査体の輝度が高い場合に適応する基準である。例えば、第1検査基準は、第2検査基準よりも、二値化や欠陥の判定基準となる輝度の閾値が高く設定される。
FIG. 6 is a schematic diagram showing an example of inspection standard information according to the present embodiment.
The inspection standard information includes each item of an object to be inspected, side position information, and inspection standard. The object to be inspected is identification information of the object to be inspected. The side position information represents the rotation angle of the object to be inspected. For example, when the rotation angle of the lid A1 is 0 degrees, the camera C captures the side surface of the mouthpiece T11.
For example, when the side position information is 0 degrees, the first inspection standard is applied in the conformity determination, and when the side position information is 90 degrees, 180 degrees, and -90 degrees, Indicates that the second inspection criterion is applied. The first inspection standard is, for example, a standard that is adapted when the luminance of the object to be inspected is higher than when the second inspection standard is applied. For example, the first inspection standard is set to have a threshold value of luminance higher than that of the second inspection standard, which is used as a criterion for binarization and defect determination.
図7は、本実施形態に係る側面画像と側面位置の関係を示す図である。
この図において、側面画像G1は、回転ステージSt1の回転角が0度(回転前)から360度まで回転する間に、カメラC3によってラインスキャンされた画像である。回転ステージSt1の回転角が0度のとき、蓋A1の回転角が-160度に対応している。例えば、回転ステージSt1の回転角が160度回転したとき、蓋A1の回転角が0度となり、飲み口部T1の側面がカメラCに対向することとなる。
FIG. 7 is a diagram showing the relationship between the side image and the side position according to this embodiment.
In this figure, the side image G1 is an image line-scanned by the camera C3 while the rotation angle of the rotary stage St1 is rotated from 0 degrees (before rotation) to 360 degrees. When the rotation angle of the rotation stage St1 is 0 degrees, the rotation angle of the lid A1 corresponds to -160 degrees. For example, when the rotation angle of the rotation stage St1 is rotated by 160 degrees, the rotation angle of the lid A1 becomes 0 degrees and the side surface of the spout portion T1 faces the camera C.
蓋A1の回転角が図6の場合について、検査部133の処理について説明する。
検査部133は、基準画像を回転させ、回転ステージSt1の回転前(回転ステージSt1の回転角が0度)に撮像された上面画像と一致する(最も類似度が高い)角度を算出する。算出された角度を、蓋A1と回転ステージSt1の相対角(単に「相対角」)という。ここで、検査部133は、基準画像を左に回転させた場合は負の角度とし、右に回転させた場合には正の角度とする。図7の例では、相対角として、-160度が算出される。
検査部133は、回転ステージSt1の回転角に、相対角を加算した角度を、蓋A1の回転角、つまり、側面位置とする。
Processing of the
The
The
検査部133は、図6の検査基準情報の場合、蓋A1の回転角が0度(回転ステージSt1の回転角が160度)の側面位置において、第1検査基準による適合判定を行う。また、検査部133は、蓋A1の回転角が90度、180度、-90度の側面位置において、第2検査基準による適合判定を行う。
側面画像G1で示されるように、蓋A1の回転角が0度の側面位置において、P11を付した部分は、他の側面位置と比較して、蓋A1の側面の輝度が高くなっている。仮に、側面画像G1に対して同じ検査基準による適合判定を行うと、側面位置によっては判定の精度が低くなる場合がある。
本実施形態では、検査部133が、側面位置に応じて検査基準を変更するので、蓋A1の側面の輝度が位置によって異なる場合でも、適切に適合判定を行うことができる。
In the case of the inspection standard information of FIG. 6, the
As shown in the side image G1, at the side position where the rotation angle of the lid A1 is 0 degrees, the brightness of the side surface of the lid A1 is higher in the portion marked with P11 than at the other side positions. If conformity determination is performed on the side image G1 based on the same inspection criteria, the accuracy of the determination may be lowered depending on the side position.
In the present embodiment, the
図8は、本実施形態に係る検査装置1の処理の一例を示すフロー図である。
(ステップS101)第1画像取得部111、第2画像取得部112は、それぞれ、回転ステージSt1の回転角に応じて、上面画像、及び斜視画像を取得する。第3画像取得部113は、カメラC3から側面画像を取得する。
(ステップS102)検査部133は、上面画像において適合判定を行うことで、蓋A1の上面を検査する。
FIG. 8 is a flowchart showing an example of processing of the
(Step S101) The first
(Step S102) The
(ステップS103)検査部133は、所定の回転ステージSt1の回転角における上面画像と、基準画像と、に基づいて相対角を算出することで、蓋A1の側面位置を検出する。
(ステップS104)検査部133は、側面画像において、ステップS103で検出した側面位置ごとに異なる検査基準を用いて適合判定を行うことで、蓋A1の側面を検査する。
(ステップS105)検査部133は、斜視画像において適合判定を行うことで、蓋A1の上面を検査する。ここで、検査部133は、上面画像には写らない部分又は上面画像では判定し難い部分について、斜視画像による検査を行う。
(Step S103) The
(Step S104) The
(Step S105) The
(ステップS106)検査部133は、ステップS102、S104及びS105の全部で適合と判定されたかを判断する。検査部133は、ステップS102、S104及びS105の全部で適合と判定された場合(YES)、ステップS107の処理を行う。一方、ステップS102、S104又はS105の少なくとも1つで不適合と判定された場合(NO)、検査部133は、ステップS108の処理を行う。
(Step S106) The
(ステップS107)検査部133は、適合処理を行う。これにより、蓋A1は、コンベアP6に置かれる。
(ステップS108)検査部133は、不適合処理を行う。これにより、蓋A1は、不適合品置き場P51に置かれる。
(ステップS109)検査部133は、ステップS101で取得された画像、ステップS102、S104又はS105での検査結果に基づいて検査履歴情報を生成し、検査履歴記憶部123に記憶させる。
(Step S107) The
(Step S108) The
(Step S109) The
以上のように、本実施形態では、第3画像取得部113(取得部の一例)は、被検査体(例えば、蓋A1)の側面が撮像された側面画像を取得する。検査部133(側面検査部の一例)は、側面位置に応じて異なる検査基準で、側面画像を解析することで、側面の検査を行う。
これにより、検査システムSysは、側面位置に応じて検査基準を変更するので、被検査体の側面の輝度が位置によって異なる場合でも、適切に適合判定を行うことができる。
As described above, in the present embodiment, the third image acquisition unit 113 (an example of the acquisition unit) acquires a side image in which the side surface of the inspection object (for example, lid A1) is captured. The inspection unit 133 (an example of the side surface inspection unit) inspects the side surface by analyzing the side image using inspection criteria that differ according to the side surface position.
As a result, the inspection system Sys changes the inspection standard according to the position of the side surface, so even if the brightness of the side surface of the object to be inspected differs depending on the position, it is possible to appropriately determine conformity.
図9は、本実施形態に係る被検査体を説明する説明図である。
この図は、蓋A1の上面図であり、蓋A1の回転角を付している。蓋A1の回転角が0度の位置では、蓋A1の回転角が90度、180度、-90度の位置と比較して、側壁が薄くなっている(図1参照)。例えば、蓋A1の回転角が0度の位置では側壁の厚さがW1、蓋A1の回転角が180度の位置では側壁厚さがW2となり、W1はW2よりも小さい。その理由は、例えば、人が飲み口に口をつけるときに、口当たりがよいからであり、飲み口部T11の側壁が薄く形成されている。
側壁が薄い部分は、厚い部分と比較して、側面をカメラC3の方へ透過する透過光の光量が多くなるため、側面の輝度が高くなる。また、照明L3の配置又は方向により、側面からカメラC3の方へ反射する反射光の光量が多くなる場合に、側面の輝度が高くなることもある。その結果、図8の側面画像G1のように、P11を付した部分の側面は、他の側面位置と比較して、輝度が高くなる。
FIG. 9 is an explanatory diagram for explaining the object to be inspected according to this embodiment.
This figure is a top view of the lid A1, with the angle of rotation of the lid A1. At the position where the rotation angle of the lid A1 is 0 degrees, the sidewall is thinner than at the positions where the rotation angle of the lid A1 is 90 degrees, 180 degrees, and -90 degrees (see FIG. 1). For example, when the rotation angle of the lid A1 is 0 degrees, the sidewall thickness is W1, and when the rotation angle of the lid A1 is 180 degrees, the sidewall thickness is W2, where W1 is smaller than W2. The reason for this is that, for example, when a person puts his or her mouth on the mouthpiece, the side wall of the mouthpiece portion T11 is formed thin.
Compared to the thick portion, the thin portion of the side wall has a large amount of transmitted light passing through the side surface toward the camera C3, and thus the brightness of the side surface is high. Also, depending on the arrangement or direction of the lighting L3, when the amount of reflected light reflected from the side toward the camera C3 increases, the brightness of the side may increase. As a result, as in the side image G1 in FIG. 8, the side surface of the portion marked with P11 has higher brightness than the other side surface positions.
このように、光が透過又は反射する素材の製品では、側壁の厚みや上面の形状によって、側面位置の輝度が異なる場合がある。
検査システムSysは、側面位置に応じて検査基準を変更するので、被検査体の側面の輝度が位置によって異なる場合でも、適切に適合判定を行うことができる。
なお、側壁の厚さとは、側壁の対向する側面の距離でもある。また、側壁は表面が樹脂形成され、中空であるが、内部が樹脂形成されていてもよい。また、光量の違いは、要因によらず、照明装置或いは照明光の位置や方向、側面以外の面の形状や素材による光の反射角や屈折、穴などの違いであってもよい。
As described above, in products made of materials that transmit or reflect light, the brightness at the side surface may vary depending on the thickness of the side wall and the shape of the top surface.
Since the inspection system Sys changes the inspection standard according to the position of the side surface, it is possible to appropriately determine conformity even when the brightness of the side surface of the object to be inspected differs depending on the position.
Note that the thickness of the sidewall is also the distance between the opposing side surfaces of the sidewall. Moreover, although the side wall is hollow with a resin-formed surface, the inside may be resin-formed. Moreover, the difference in the amount of light may be due to differences in the position and direction of the lighting device or the illumination light, the shape and material of the surfaces other than the side surfaces, the reflection angle and refraction of the light, holes, and the like, regardless of the factors.
検査部133は、蓋Aの回転角が0度(図8の例では回転ステージの回転角が160度)の側面に対して第1検査基準で検査を行い、蓋Aの回転角が90度、180度、-90度の側面に対して第2検査基準で検査を行う。蓋Aは、これらの回転角の側面について、表面形状は同じである。例えば、側面画像のみで側面位置(蓋Aの回転角)を識別できる、或いは、識別容易な模様等がない。また、蓋Aは、蓋Aの回転角が0度の側面位置と、0度、180度、-90度の側面の側面位置とでは、照明L3の作用により、側面画像における側面の映り方が異なる。例えば、これらの側面位置では、透過光又は反射光の光量が異なるので、側面の映り方が異なる(図8参照)。
検査システムSysは、側面位置に応じて検査基準を変更するので、被検査体の側面の表面形状が同じで、透過光又は反射光の光量の相違によって輝度が異なる場合でも、適切に適合判定を行うことができる。
The
Since the inspection system Sys changes the inspection standard according to the position of the side surface, even if the surface shape of the side surface of the object to be inspected is the same and the luminance differs due to the difference in the amount of transmitted light or reflected light, it is possible to appropriately determine conformity. It can be carried out.
また、本実施形態では、検査システムSysは、照明L3が照明をしているときに被検査体の側面を撮像するカメラC3と、被検査体の上面を撮像するカメラC1を備える。検査部133は、カメラC1が撮像した上面画像に基づいて、カメラC3が撮像した側面画像における側面位置を特定する。検査部133は、特定した側面位置に応じて異なる検査基準で側面画像を解析することで、側面の検査を行う。
これにより、検査システムSysは、例えば、側面画像で位置を特定できない場合、又は特定しにくい場合であっても、上面画像に基づいて側面画像における側面位置を特定できる。また例えば、検査システムSysは、上面画像の方が側面画像と比較して、側面位置を特定する精度が高い場合や処理負荷が軽い、或いは、処理速度が速い場合に、側面画像における側面位置を特定するができる。
なお、検査システムSysは、上面画像と側面画像の両方を用いて、側面位置を特定してもよいし、これらに代えて或いは加えて、斜視画像に基づいて側面画像における側面位置を特定してもよい。
Further, in this embodiment, the inspection system Sys includes a camera C3 that captures an image of the side surface of the inspection object when the illumination L3 is illuminating, and a camera C1 that captures an image of the top surface of the inspection object. The
As a result, the inspection system Sys can identify the side position in the side image based on the top image, even if the position cannot be identified in the side image or is difficult to identify. Also, for example, the inspection system Sys may determine the side position in the side image when the accuracy of specifying the side position is higher, the processing load is lighter, or the processing speed is higher than the side image, when the top image is higher than the side image. can be specified.
Note that the inspection system Sys may use both the top image and the side image to specify the side position, or alternatively or additionally, specify the side position in the side image based on the perspective image. good too.
また、本実施形態では、検査部133は、上面画像において飲み口の方向を示す形状に基づいて、側面画像における側面位置を特定し、側面位置に応じて異なる検査基準で側面画像を解析することで、側面の検査を行う。飲料用容器の蓋においては、通常、飲み口は、蓋の上面の淵部分に1箇所設けられるので、飲み口を検出することで、検査システムSysは、側面位置を特定できる。また、飲み口部分は、口当たりをよくするため、他の部分とは形状が異なる場合があるので、飲み口を検出することで、検査システムSysは、側面位置を特定できる。
なお、被検査体の上面に模様がある場合には、検査部133は、上面画像において模様に基づいて、側面画像における側面位置を特定してもよい。
Further, in the present embodiment, the
Note that if the upper surface of the object to be inspected has a pattern, the
また、本実施形態では、検査部133は、上面画像を解析することで、上面の検査を行う。つまり、検査部133は、上面画像を用いて、上面の検査を行うとともに側面位置の特定も行う。これにより、検査システムSysは、上面画像を用いて、上面画像と側面位置の特定の両方を行うことができる。
Further, in this embodiment, the
また、本実施形態では、検査システムSysは、被検査体の上面を、カメラC1とは異なる方向から撮像するカメラC2を備える。検査部133は、カメラC1が撮像した上面画像(第1上面画像の一例)に基づいて、カメラC2が撮像した斜視画像(第2上面画像の一例)における上面の位置を特定し、斜視画像を解析することで、上面の検査を行う。
これにより、検査システムSysは、カメラC1とは異なる角度から、上面の検査を行うことができる。例えば、検査システムSysは、被検査体において、カメラC1では死角となる箇所も、カメラC2では撮像することができるので、斜視画像を解析することで、上面画像では判定できない箇所についても適合判定を行うことができる。
Further, in this embodiment, the inspection system Sys includes a camera C2 that captures an image of the upper surface of the object to be inspected from a direction different from that of the camera C1. The
This allows the inspection system Sys to inspect the upper surface from an angle different from that of the camera C1. For example, since the inspection system Sys can capture an image of a blind spot of the object to be inspected with the camera C1 with the camera C2, by analyzing the oblique image, it is possible to determine conformity even with respect to the location that cannot be determined with the top image. It can be carried out.
図10は、本実施形態に係る被検査体の斜視画像を表す図である。
斜視画像G21は、蓋Aの回転角が90度のとき、カメラC2で撮像された斜視画像であり、斜視画像G22は、蓋Aの回転角が0度のとき、カメラC2で撮像された斜視画像である。斜視画像G21では、位置P21及びP22に、欠陥(異物)が検出される。これらの欠陥は、上面の凹凸部の側壁に存在するので、上面画像や側面画像でも死角となり、写らない。検査システムSysは、カメラC1とは異なる角度からカメラC2で撮像を行うので、これらの欠陥も検出でき、例えば斜視画像G21の場合には不適合と判定できる。また、斜視画像G21は、複数の回転角において、カメラC2で撮像を行うので、斜視画像G22でも死角となる箇所の異物、欠損、変形、汚れ等の欠陥を、斜視画像G21において検出できる。
FIG. 10 is a diagram showing a perspective image of an object to be inspected according to this embodiment.
A perspective image G21 is a perspective image captured by the camera C2 when the rotation angle of the lid A is 90 degrees, and a perspective image G22 is a perspective image captured by the camera C2 when the rotation angle of the lid A is 0 degrees. It is an image. Defects (foreign matter) are detected at positions P21 and P22 in the perspective image G21. Since these defects exist on the sidewalls of the irregularities on the upper surface, they are blind spots in the upper surface image and the side surface image, and are not captured. Since the inspection system Sys takes images with the camera C2 from an angle different from that of the camera C1, these defects can also be detected, and in the case of the oblique image G21, for example, it can be determined as unsuitable. Further, since the perspective image G21 is captured by the camera C2 at a plurality of rotation angles, it is possible to detect defects such as foreign matter, defects, deformation, dirt, etc. in the blind spots in the perspective image G21.
(変形例)
なお、上記実施形態において、検査部133は、例えば、側面位置の範囲ごとに、側面の検査基準を変更してもよい。また例えば、検査部133は、側面の高さ方向の領域又は位置ごとに、側面の検査基準を変更してもよい。また例えば、検査基準は、3個以上の基準が設定されてもよい。
(Modification)
In the above-described embodiment, the
図11は、本実施形態の変形例に係る検査基準情報の一例を示す概略図である。
検査基準情報には、被検査体、側面位置情報、高さ及び検査基準の各項目が含まれる。側面位置情報には、被検査体の回転角の範囲が設定されている。また、高さとして、側面の高さの範囲が設定されている。この検査基準情報では、例えば、蓋A1の側面の検査において、側面画像について、蓋A1の回転角が「-30度」から「30度」の範囲においては、高さAピクセル以上の範囲では「第1検査基準」が適用され、高さAピクセルより低い範囲では「第2検査基準」が適用される。
なお、検査基準情報には、複数の被検査体が設定されてもよく、検査部133は、被検査体及び側面位置ごとに、異なる検査基準を適用してもよい。
FIG. 11 is a schematic diagram showing an example of inspection standard information according to a modification of the present embodiment.
The inspection standard information includes each item of an object to be inspected, side position information, height, and inspection standard. A range of rotation angles of the object to be inspected is set in the side position information. Also, as the height, the range of the height of the side surface is set. For example, in the inspection of the side surface of the lid A1, for example, in the inspection of the side surface of the lid A1, for the side image, when the rotation angle of the lid A1 is in the range of "-30 degrees" to "30 degrees", in the range of the height A pixel or more, " The "first inspection standard" is applied, and the "second inspection standard" is applied in the range lower than the height A pixels.
A plurality of objects to be inspected may be set in the inspection standard information, and the
上記実施形態において、被検査体は、紙やガラス等、側面が光を透過又は反射するものであってもよい。また、被検査体は、蓋以外であってもよく、例えば、側壁の厚さや内部構造(光の反射)が側面位置によって変わるものであってもよい。また、蓋は、ストローの挿入口が設けられた蓋でもよい。 In the above-described embodiments, the test object may be paper, glass, or the like, the side surfaces of which transmit or reflect light. Also, the object to be inspected may be other than the lid, and for example, the thickness of the side wall or the internal structure (reflection of light) may vary depending on the side position. Also, the lid may be a lid provided with an insertion opening for a straw.
また蓋に限らず、上面に凹凸がある被検査体に対して、検査システムSysは、カメラC1とカメラC2を併用し、検査部133は、上面画像と斜視画像を用いて検査を行ってもよい。その際、側面画像を用いた検査を行ってもよいし、行わなくてもよい。これにより、検査システムSysは、上面画像では死角となる箇所についても、斜視画像により欠陥を検出できる場合がある。またその際、検査部133は、上面画像を用いて、上面の検査を行うとともに斜視位置の特定も行ってもよい。これにより、検査システムSysは、上面画像を用いて、上面画像と斜視画像での被検査体の向きの特定の両方を行うことができる。
The inspection system Sys may use both the camera C1 and the camera C2, and the
また、上記実施形態において、回転制御部132は、上面画像を用いて、回転ステージSt1の回転角と蓋Aの回転角が同じ角度になるように、回転ステージSt1を回転させてもよい。例えば、回転制御部132は、カメラC3が各蓋A1の撮像を開始する前に、上面画像を用いて、カメラC3と対向する位置が、蓋Aの回転角が0度の位置になるように回転ステージSt1を回転させてもよい。
In the above embodiment, the
また、上記実施形態において、検査システムSysは、回転ステージSt1は回転せずに、回転ステージSt1の中心を向いたまま、カメラC3が回転ステージSt1の周囲を回転してもよい。
複数のカメラC3が、回転ステージSt1の中心を向いて回転ステージSt1の周囲に設置されてもよい。この場合、各カメラC3が撮像した側面画像は、それぞれ側面位置が異なるため、検査部133は、各カメラC3が撮像した側面画像に対して、異なる検査基準を適用して、適合判定を行ってもよい。この場合に、回転ステージSt1が回転してもよい。例えば回転制御部132は、上面画像を用いて、カメラC3の1台が、蓋Aの回転角が0度の位置になるように回転ステージSt1を回転させてもよい。
In the above-described embodiment, the inspection system Sys may rotate the camera C3 around the rotation stage St1 while facing the center of the rotation stage St1 without rotating the rotation stage St1.
A plurality of cameras C3 may be installed around the rotation stage St1 facing the center of the rotation stage St1. In this case, since the side images captured by the respective cameras C3 have different side positions, the
上面とは、検査時の被検査体を回転させるときに、回転軸方向において被検査体に向かって見た面であってもよい。側面とは、検査時の被検査体を回転させるときに、半径方向において回転軸(被検査体)に向かってみた面であってもよい。 The upper surface may be a surface viewed toward the object to be inspected in the rotation axis direction when the object to be inspected is rotated during inspection. The side surface may be a surface viewed toward the rotation axis (object to be inspected) in the radial direction when the object to be inspected is rotated during inspection.
また、検査装置1の設定部131は、検査アルゴリズムを機械学習によって生成してもよい。例えば、教師データは、検査履歴情報に対して、人等による追加検査結果が付与されて生成される。設定部131は、上面画像、斜視画像、側面画像、及び、適合判定を行った位置を説明変数とし、付与された追加検査結果を目的変数として、機械学習を行う。検査部133は、この機械学習で生成された学習済みモデルを用いて、検査で入力された説明変数の入力に対して適合判定結果を出力することで、適合判定を行う。
この場合、設定部131は、被検査体の形状や種類或いは識別情報と、照明の光量や向き等の照明情報も、説明変数としてもよい。
Also, the
In this case, the
記憶部M1は、1又は複数のコンピュータ読み取り可能な記録媒体で実現される。処理部PR1は、1又は複数のプロセッサ及びメモリで実現される。検査装置1は、複数の装置から構成されてもよい。
The storage unit M1 is realized by one or more computer-readable recording media. The processing unit PR1 is implemented by one or more processors and memories. The
なお、上述した実施形態における検査装置1の一部をコンピュータで実現するようにしてもよい。その場合、この制御機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。なお、ここでいう「コンピュータシステム」とは、検査装置1に内蔵されたコンピュータシステムであって、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD-ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでもよい。また上記プログラムは、前述した機能の一部を実現するためのものであってもよく、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよい。
また、上述した実施形態における検査装置1の一部、または全部を、LSI(Large Scale Integration)等の集積回路として実現してもよい。検査装置1の各機能ブロックは個別にプロセッサ化してもよいし、一部、または全部を集積してプロセッサ化してもよい。また、集積回路化の手法はLSIに限らず専用回路、または汎用プロセッサで実現してもよい。また、半導体技術の進歩によりLSIに代替する集積回路化の技術が出現した場合、当該技術による集積回路を用いてもよい。
A part of the
Also, part or all of the
以上、図面を参照してこの発明の一実施形態について詳しく説明してきたが、具体的な構成は上述のものに限られることはなく、この発明の要旨を逸脱しない範囲内において様々な設計変更等をすることが可能である。 Although one embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to the above, and various design changes, etc., can be made without departing from the gist of the present invention. It is possible to
Sys 検査システム
1 検査装置
C1、C2、C3 カメラ
L11、L12、L21、L22、L3 照明
St1、St11、St12 回転ステージ
P3、P31、P32 ピッキングロボット
I1 入出力部
111 第1画像取得部
112 第2画像取得部
113 第3画像取得部
114 入力部
115 出力部
M1 記憶部
121 向き情報記憶部
122 検査基準記憶部
123 検査履歴記憶部
PR1 処理部
131 設定部
132 回転制御部
133 検査部
134 ロボット制御部
Claims (7)
照明装置が照明をしているときに、前記被検査体の側面を撮像する第1撮像装置と、
前記被検査体の上面を撮像する第2撮像装置と、
前記被検査体の側面が撮像された側面画像を取得する取得部と、
前記第2撮像装置が撮像した上面画像に基づいて、前記第1撮像装置が撮像した前記側面画像における前記側面の位置を特定し、特定した第1位置において第1検査基準、及び特定した第2位置において第2検査基準で、前記側面画像を解析することで、前記側面の検査を行う側面検査部と、
を備え、
前記第1位置と前記第2位置では、前記側面の表面形状が同じ場合でも、前記照明の作用により、前記側面画像における前記側面の映り方が異なる
検査システム。 An inspection system for inspecting an object to be inspected,
a first imaging device that captures an image of the side surface of the object to be inspected when the illumination device is illuminating;
a second imaging device for imaging the upper surface of the object to be inspected;
an acquisition unit that acquires a side image in which the side surface of the object to be inspected is captured;
Based on the upper surface image captured by the second imaging device, the position of the side surface in the side image captured by the first imaging device is specified, and at the specified first position, the first inspection standard and the specified second a side inspection unit that inspects the side surface by analyzing the side image with a second inspection criterion at a position;
with
Even if the surface shape of the side surface is the same at the first position and the second position, the appearance of the side surface in the side image differs due to the action of the illumination.
ステージ上の前記蓋を回転させる回転ステージを備え、
前記第1撮像装置は、異なる回転角での前記蓋の側面を撮像し、
前記第2撮像装置は、前記蓋の上面を撮像し、
前記側面検査部は、前記上面画像において飲み口の方向を示す形状或いは模様に基づいて、前記側面画像における前記側面の位置を特定する
請求項1に記載の検査システム。 The object to be inspected is a lid having a drinking spout,
A rotating stage that rotates the lid on the stage,
The first imaging device images the side surface of the lid at different rotation angles,
The second imaging device images an upper surface of the lid,
The inspection system according to claim 1, wherein the side inspection unit specifies the position of the side in the side image based on a shape or pattern indicating the direction of the drinking mouth in the top image.
を備える請求項2に記載の検査システム。 a top surface inspection unit that inspects the top surface by analyzing the top surface image;
3. The inspection system of claim 2, comprising:
前記上面検査部は、前記第2撮像装置が撮像した第1上面画像に基づいて、第3撮像装置が撮像した第2上面画像における上面の位置を特定し、前記第2上面画像を解析することで、前記上面の検査を行う
請求項3に記載の検査システム。 A third imaging device that images the upper surface of the object to be inspected from a direction different from that of the second imaging device,
The top surface inspection unit identifies a position of the top surface in a second top surface image captured by a third imaging device based on the first top surface image captured by the second imaging device, and analyzes the second top surface image. 4. The inspection system according to claim 3, wherein the upper surface is inspected at a.
前記被検査体の上面が撮像された上面画像に基づいて特定された前記側面の第1位置において第1検査基準、及び前記側面の第2位置において第2検査基準で、前記側面画像を解析することで、前記側面の検査を行う側面検査部と、
を備え、
前記第1位置と前記第2位置では、前記側面の表面形状が同じ場合でも、前記照明の作用により、前記側面画像における前記側面の映り方が異なる
検査装置。 an acquisition unit that acquires a side image obtained by imaging the side surface of an object to be inspected while the illumination device is illuminating;
Analyzing the side image with a first inspection criterion at a first position on the side surface and a second inspection criterion at a second position on the side surface specified based on the top image obtained by imaging the top surface of the object to be inspected. By doing so, a side inspection unit that inspects the side surface,
with
Even if the surface shape of the side surface is the same at the first position and the second position, the appearance of the side surface in the side image differs due to the action of the illumination.
取得部が、照明装置が照明をしているときに前記被検査体の側面が撮像された側面画像を取得する取得過程、
側面検査部が、前記被検査体の上面が撮像された上面画像に基づいて特定された前記側面の第1位置において第1検査基準、及び前記側面の第2位置において第2検査基準で、前記側面画像を解析することで、前記側面の検査を行う側面検査過程、
を有し、
前記第1位置と前記第2位置では、前記側面の表面形状が同じ場合でも、前記照明の作用により、前記側面画像における前記側面の映り方が異なる
検査方法。 An inspection method for inspecting an object to be inspected,
an acquisition process in which the acquisition unit acquires a side image in which the side surface of the object to be inspected is captured while the illumination device is illuminating;
The side inspection unit uses a first inspection standard at a first position on the side surface and a second inspection standard at a second position on the side surface specified based on an upper surface image of the upper surface of the object to be inspected, A side inspection process of inspecting the side by analyzing a side image;
has
Even if the surface shape of the side surface is the same at the first position and the second position, the appearance of the side surface in the side image differs due to the action of the illumination.
照明装置が照明をしているときに前記被検査体の側面が撮像された側面画像を取得する取得手段、
前記被検査体の上面が撮像された上面画像に基づいて特定された前記側面の第1位置において第1検査基準、及び前記側面の第2位置において第2検査基準で、前記側面画像を解析することで、前記側面の検査を行う側面検査手段、
を実行させ、
前記第1位置と前記第2位置では、前記側面の表面形状が同じ場合でも、前記照明の作用により、前記側面画像における前記側面の映り方が異なる
検査プログラム。 In the computer of the inspection system that inspects the object to be inspected,
Acquisition means for acquiring a side image in which the side surface of the object to be inspected is captured while the illumination device is illuminating;
Analyzing the side image with a first inspection criterion at a first position on the side surface and a second inspection criterion at a second position on the side surface specified based on the top image obtained by imaging the top surface of the object to be inspected. By doing so, side inspection means for inspecting the side surface,
and
Even if the surface shape of the side surface is the same at the first position and the second position, the appearance of the side surface in the side image differs due to the action of the illumination.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021167816A JP2023058071A (en) | 2021-10-13 | 2021-10-13 | Inspection system, inspection device, inspection method and inspection program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021167816A JP2023058071A (en) | 2021-10-13 | 2021-10-13 | Inspection system, inspection device, inspection method and inspection program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2023058071A true JP2023058071A (en) | 2023-04-25 |
Family
ID=86069159
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021167816A Pending JP2023058071A (en) | 2021-10-13 | 2021-10-13 | Inspection system, inspection device, inspection method and inspection program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2023058071A (en) |
-
2021
- 2021-10-13 JP JP2021167816A patent/JP2023058071A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11238303B2 (en) | Image scanning method for metallic surface and image scanning system thereof | |
KR101298957B1 (en) | Wood knot detecting method, device, and program | |
WO2019130307A1 (en) | System and method for set up of production line inspection | |
JPWO2004036198A1 (en) | Method and apparatus for creating reference image in glass bottle inspection apparatus | |
EP1277042B1 (en) | Directional lighting and method to distinguish three dimensional information | |
JPH0312253B2 (en) | ||
JP4747313B2 (en) | Inspection method and inspection equipment for thin plate parts | |
WO2011071035A1 (en) | Appearance inspection device | |
JP2009293999A (en) | Wood defect detector | |
TW201842327A (en) | Cover glass inspection apparatus | |
JP5352444B2 (en) | Appearance inspection apparatus, surface inspection apparatus, and appearance inspection method | |
CN102713580B (en) | Appearance inspection device | |
JP2000180382A (en) | Visual examination apparatus | |
KR101936974B1 (en) | Method and apparatus for inspecting neck finish of metal bottle | |
JP2010048602A (en) | Printed board inspection device and printed board inspection method | |
JPH0886716A (en) | System and method of lens inspection | |
WO2022030325A1 (en) | Inspection device, inspection method, and piston manufacturing method | |
TW201736832A (en) | Inspection method, inspection system, production method | |
JP4109110B2 (en) | Method and apparatus for recording cereal grain images and detecting cracks | |
JP2000180374A (en) | Method for detecting defect | |
JP2003215055A (en) | Inspection apparatus | |
JP2023058071A (en) | Inspection system, inspection device, inspection method and inspection program | |
JP6623545B2 (en) | Inspection system, inspection method, program, and storage medium | |
JP5959430B2 (en) | Bottle cap appearance inspection device and appearance inspection method | |
JP2000055640A (en) | Ptp seal inspecting device |