Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7571532B2 - Inspection Equipment - Google Patents
[go: Go Back, main page]

JP7571532B2 - Inspection Equipment - Google Patents

Inspection Equipment Download PDF

Info

Publication number
JP7571532B2
JP7571532B2 JP2020213932A JP2020213932A JP7571532B2 JP 7571532 B2 JP7571532 B2 JP 7571532B2 JP 2020213932 A JP2020213932 A JP 2020213932A JP 2020213932 A JP2020213932 A JP 2020213932A JP 7571532 B2 JP7571532 B2 JP 7571532B2
Authority
JP
Japan
Prior art keywords
mirror
feature point
camera
imaging axis
inspection device
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
JP2020213932A
Other languages
Japanese (ja)
Other versions
JP2022099875A (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.)
Nidec Powertrain Systems Corp
Original Assignee
Nidec Powertrain Systems Corp
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 Nidec Powertrain Systems Corp filed Critical Nidec Powertrain Systems Corp
Priority to JP2020213932A priority Critical patent/JP7571532B2/en
Publication of JP2022099875A publication Critical patent/JP2022099875A/en
Application granted granted Critical
Publication of JP7571532B2 publication Critical patent/JP7571532B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

この発明は、検査装置に関する。 This invention relates to an inspection device.

検査対象物の表面に設けられた特徴点をカメラで撮像し、取得された画像に含まれる特徴点に基づいて検査を行う技術が知られている。例えば、特開2005-024543号公報には、ボトルの側面に設けられたヒールコードを検査する機械が記載されている。当該機械は、カメラと、環状リング照明と、ミラーとを有する。カメラは、ボトルの垂直方向下方に配置されている。環状リング照明は、光の環状ビームを、ボトルのヒールコードに照射する。ミラーは、環状リング照明の下に配置された凹状面を有する。ミラーの凹状面は、ヒールコードで反射した光を、カメラの画像領域に反射する。
特開2005-024543号公報
There is known a technique in which a camera captures an image of a feature point on the surface of an object to be inspected, and inspection is performed based on the feature points contained in the captured image. For example, JP 2005-024543 A describes a machine for inspecting a heel code on the side of a bottle. The machine has a camera, an annular ring light, and a mirror. The camera is positioned vertically below the bottle. The annular ring light irradiates an annular beam of light onto the heel code of the bottle. The mirror has a concave surface positioned below the annular ring light. The concave surface of the mirror reflects light reflected by the heel code into the image area of the camera.
JP 2005-024543 A

ところで、検査対象物の天面にも、所定の情報を表す特徴点が設けられる場合がある。従来技術の場合、ボトルの側面と天面とを、カメラで同時に撮像できない。このため、検査対象物の天面の特徴点を検出したい場合には、カメラをもう1台設ける必要があり、装置サイズの肥大、および、装置コストの増大などといった問題が生じ得る。 Incidentally, the top surface of the object to be inspected may also have feature points that represent specific information. With conventional technology, the side and top surface of the bottle cannot be captured simultaneously by a camera. For this reason, if it is desired to detect feature points on the top surface of the object to be inspected, it is necessary to install another camera, which can lead to problems such as an increase in the size and cost of the equipment.

本発明の目的は、容器の天面および側面に設けられた各特徴点を1つのカメラで撮像し、得られた画像に基づいて容器を適切に検査する技術を提供することにある。 The objective of the present invention is to provide a technology that uses a single camera to capture images of each feature point on the top and sides of a container and properly inspects the container based on the images obtained.

上記課題を解決するため、天面および側面を有する検査対象物の検査装置は、カメラと、ミラーと、検出部と、判定部とを備える。カメラは、天面に交差する撮像軸を有する。カメラは、天面が有する第1特徴点と検査対象物の側面が有する第2特徴点を撮像する。ミラーは、検査対象物の外側に位置する。ミラーは、第2特徴点を反射することによってカメラに導く。検出部は、カメラが撮像した画像において、第1特徴点および第2特徴点を検出する。判定部は、検出部が検出した第1特徴点および第2特徴点に基づいて、判定処理を行う。 In order to solve the above problem, an inspection device for an object having a top surface and a side surface includes a camera, a mirror, a detection unit, and a judgment unit. The camera has an imaging axis that intersects with the top surface. The camera captures an image of a first feature point on the top surface and a second feature point on the side surface of the object to be inspected. The mirror is located outside the object to be inspected. The mirror guides the second feature point to the camera by reflecting it. The detection unit detects the first feature point and the second feature point in the image captured by the camera. The judgment unit performs judgment processing based on the first feature point and the second feature point detected by the detection unit.

この検査装置によると、検査対象物の側面に設けられた第2特徴点の像をミラーでカメラに導くことができる。このため、天面の第1特徴点と、側面の第2特徴点とを1つのカメラで撮像できる。カメラで取得された画像で検出された第1特徴点および第2特徴点に基づいて、容器についての判定処理を行うことができる。 With this inspection device, the image of the second feature point on the side of the object to be inspected can be guided to the camera by a mirror. This allows the first feature point on the top surface and the second feature point on the side to be captured by a single camera. A judgment process can be performed on the container based on the first feature point and the second feature point detected in the image captured by the camera.

図1は、実施形態の検査装置を示す側面図である。FIG. 1 is a side view showing an inspection device according to an embodiment. 図2は、搬送装置によって搬送される複数の容器を示す平面図である。FIG. 2 is a plan view showing a plurality of containers transported by the transport device. 図3は、図1に示す検査装置が備えるカメラとミラーを示す斜視図である。FIG. 3 is a perspective view showing a camera and a mirror provided in the inspection device shown in FIG. 図4は、制御部の構成を示すブロック図である。FIG. 4 is a block diagram showing the configuration of the control unit. 図5は、カメラによって撮像される検査画像を示す図である。FIG. 5 is a diagram showing an inspection image captured by a camera. 図6は、画像補正部による補正処理を概念的に示す図である。FIG. 6 is a diagram conceptually showing the correction process performed by the image correction unit. 図7は、登録情報を概念的に示す図である。FIG. 7 is a diagram conceptually showing the registration information. 図8は、ミラーの変形例を示す図である。FIG. 8 is a diagram showing a modified example of the mirror. 図9は、変形例に係る検査装置を示す側面図である。FIG. 9 is a side view showing an inspection device according to a modified example.

以下、添付の図面を参照しながら、本発明の実施形態について説明する。なお、この実施形態に記載されている構成要素はあくまでも例示であり、本発明の範囲をそれらのみに限定する趣旨のものではない。図面においては、理解容易のため、必要に応じて各部の寸法や数が誇張又は簡略化して図示されている場合がある。 Hereinafter, an embodiment of the present invention will be described with reference to the attached drawings. Note that the components described in this embodiment are merely examples, and are not intended to limit the scope of the present invention to those components alone. In the drawings, the dimensions and numbers of each part may be exaggerated or simplified as necessary for ease of understanding.

以下の説明では、カメラ3の撮像軸31と平行な方向を「軸方向」と称する。軸方向のうち、容器9からカメラ3に向かう軸方向の一方を「軸方向上方」、カメラ3から容器9に向かう軸方向の他方を「軸方向下方」とそれぞれ称する。また、撮像軸31に直交する方向を「径方向」と称する。径方向のうち、撮像軸31に近づく径方向の一方を「径方向内方」、撮像軸31から離れる径方向の他方を「径方向外方」とそれぞれ称する。さらに、撮像軸31を中心とする円弧に沿う方向を「周方向」と称する。上記の「平行な方向」は、略平行な方向も含む。また、上記の「直交する方向」は、略直交する方向も含む。 In the following description, the direction parallel to the imaging axis 31 of the camera 3 is referred to as the "axial direction." Of the axial directions, one of the axial directions from the container 9 to the camera 3 is referred to as the "axial upward direction," and the other of the axial directions from the camera 3 to the container 9 is referred to as the "axial downward direction." In addition, the direction perpendicular to the imaging axis 31 is referred to as the "radial direction." Of the radial directions, one of the radial directions approaching the imaging axis 31 is referred to as the "radial inward direction," and the other radial direction away from the imaging axis 31 is referred to as the "radial outward direction." Furthermore, the direction along the arc centered on the imaging axis 31 is referred to as the "circumferential direction." The above "parallel direction" also includes a direction that is approximately parallel. In addition, the above "orthogonal direction" also includes a direction that is approximately perpendicular.

<1. 実施形態>
図1は、実施形態の検査装置1を示す側面図である。図2は、搬送装置2によって搬送される複数の容器9を示す平面図である。図3は、検査装置1が備えるカメラ3とミラー4を示す斜視図である。
1. Embodiment
Fig. 1 is a side view showing an inspection device 1 of the embodiment. Fig. 2 is a plan view showing a plurality of containers 9 transported by a transport device 2. Fig. 3 is a perspective view showing a camera 3 and a mirror 4 provided in the inspection device 1.

検査装置1は、搬送装置2が搬送する容器9を検査する装置である。搬送装置2は、検査装置1とは別の構成であるが、検査装置1の一部として構成されていてもよい。 The inspection device 1 is a device that inspects the container 9 transported by the transport device 2. The transport device 2 is configured separately from the inspection device 1, but may be configured as a part of the inspection device 1.

搬送装置2は、検査対象物である容器9を保持しつつ、容器9を水平方向と平行な搬送方向に搬送する装置である。搬送装置2は、ベルトコンベヤであって、無端ベルト21と、複数のローラ23とを有する。複数のローラ23は、搬送方向に所定の間隔をあけて配置されている。無端ベルト21は、複数のローラ23に掛け渡されている。 The conveying device 2 is a device that holds the container 9, which is the object to be inspected, and conveys the container 9 in a conveying direction parallel to the horizontal direction. The conveying device 2 is a belt conveyor, and has an endless belt 21 and a plurality of rollers 23. The plurality of rollers 23 are arranged at predetermined intervals in the conveying direction. The endless belt 21 is stretched around the plurality of rollers 23.

各ローラ23は、搬送方向と直交する方向に延びる回転軸を中心に回転可能である。複数のローラ23のうち少なくとも一部は、不図示のモータから駆動力を受けて回転する。モータによってローラ23の一部が回転すると、無端ベルト21が複数のローラ23の周りを回転する。 Each roller 23 can rotate around a rotation axis extending in a direction perpendicular to the conveying direction. At least some of the rollers 23 rotate by receiving a driving force from a motor (not shown). When some of the rollers 23 are rotated by the motor, the endless belt 21 rotates around the rollers 23.

容器9は、別の装置によって1つずつ無端ベルト21の上面に載置される。搬送装置2は、複数の容器9を同時に搬送可能である。図2に示す例では、複数の容器9は、搬送方向に所定の間隔をあけた状態で、搬送装置2により搬送される。図2に示すように、搬送装置2は、各容器9が検査装置1のカメラ3の視野FV1内を通過するように、各容器9を搬送する。図1は、搬送装置2によって、容器9が搬送方向における所定の検査位置L1にある状態を示している。 The containers 9 are placed one by one on the top surface of the endless belt 21 by another device. The conveying device 2 is capable of conveying multiple containers 9 simultaneously. In the example shown in FIG. 2, multiple containers 9 are conveyed by the conveying device 2 with a predetermined interval between them in the conveying direction. As shown in FIG. 2, the conveying device 2 conveys each container 9 so that each container 9 passes through the field of view FV1 of the camera 3 of the inspection device 1. FIG. 1 shows a state in which the container 9 is located at a predetermined inspection position L1 in the conveying direction by the conveying device 2.

<容器>
容器9は、検査対象物の一例である。以下では、搬送装置2で搬送されている状態の容器9について説明する。容器9は、容器本体部91と、蓋部93とを有する。容器本体部91は、有底筒状を有する。より具体的には、容器本体部91は、有底円筒状である。容器本体部91の径方向外方を臨む面が、容器9の側面911である。容器本体部91の軸方向下方を臨む面が、容器9の底面913である。蓋部93は、容器本体部91の軸方向上端に位置する。蓋部93の軸方向上方を臨む面が、容器9の天面931である。
<Container>
The container 9 is an example of an object to be inspected. The following describes the container 9 being transported by the transport device 2. The container 9 has a container body 91 and a lid 93. The container body 91 has a bottomed cylindrical shape. More specifically, the container body 91 is cylindrical with a bottom. The surface of the container body 91 facing radially outward is a side surface 911 of the container 9. The surface of the container body 91 facing axially downward is a bottom surface 913 of the container 9. The lid 93 is located at the axial upper end of the container body 91. The surface of the lid 93 facing axially upward is a top surface 931 of the container 9.

容器9の側面911は、軸方向上方に向かうにつれて外径が次第に大きくなる形状を有する。容器9の天面931および底面913は、互いに平行である。天面931および底面913は、水平面と平行である。天面931および底面913は、円形状を有する。天面931の直径は、底面913の直径よりも大きい。すなわち、容器9は、円錐台状を有する。なお、容器9の形状は、円柱状または角柱状など、円錐台状以外であってもよい。 The side surface 911 of the container 9 has a shape in which the outer diameter gradually increases going axially upward. The top surface 931 and the bottom surface 913 of the container 9 are parallel to each other. The top surface 931 and the bottom surface 913 are parallel to the horizontal plane. The top surface 931 and the bottom surface 913 have a circular shape. The diameter of the top surface 931 is larger than the diameter of the bottom surface 913. In other words, the container 9 has a truncated cone shape. Note that the shape of the container 9 may be other than a truncated cone shape, such as a cylindrical shape or a prismatic shape.

第1特徴点F1および第2特徴点F2は、容器9に関する情報を表す。容器9に関する情報は、例えば、容器9の種類を表す情報(容器9の内容物、商品名、または商品番号など)である。第1特徴点F1および第2特徴点F2は、文字、図形、または、文字と図形の組合せで構成される。第1特徴点F1および第2特徴点F2は、1方向のみに情報を持つ一次元コード(バーコードなど)であってもよいし、2方向に情報を持つ二次元コードであってもよい。 The first feature point F1 and the second feature point F2 represent information about the container 9. The information about the container 9 is, for example, information representing the type of container 9 (such as the contents of the container 9, the product name, or the product number). The first feature point F1 and the second feature point F2 are composed of characters, figures, or a combination of characters and figures. The first feature point F1 and the second feature point F2 may be a one-dimensional code (such as a barcode) that has information in only one direction, or a two-dimensional code that has information in two directions.

本実施形態では、第1特徴点F1は、文字(具体的には、「ABC」)を図案化したロゴで構成されているものとする。また、第2特徴点F2は、二次元コードであるマトリックスコードで構成されているものとする。マトリックスコードは、正方形等の図形を上下左右に二次元配列する表示形式の情報である。 In this embodiment, the first feature point F1 is configured as a logo of stylized letters (specifically, "ABC"). The second feature point F2 is configured as a matrix code, which is a two-dimensional code. A matrix code is information in a display format in which figures such as squares are arranged two-dimensionally in the up, down, left, and right directions.

検査装置1は、カメラ3を備える。カメラ3は、例えば、CCDカメラ、またはCMOSカメラなどである。カメラ3が撮像する画像は、カラー画像であってもよいし、モノクロのグレースケール画像であってもよい。カメラ3は、撮像した画像(検査画像M1)を、制御部7へ出力する。 The inspection device 1 includes a camera 3. The camera 3 is, for example, a CCD camera or a CMOS camera. The image captured by the camera 3 may be a color image or a monochrome grayscale image. The camera 3 outputs the captured image (inspection image M1) to the control unit 7.

カメラ3は、撮像軸31を有する。撮像軸31は、カメラ3の画角を二等分する仮想直線である。カメラ3の撮像軸31は、搬送装置2に保持されている容器9の天面931に交差し、より好ましくは直交する。カメラ3は、容器9に設けられた第1特徴点F1および第2特徴点F2を撮像する。 The camera 3 has an imaging axis 31. The imaging axis 31 is a virtual line that bisects the angle of view of the camera 3. The imaging axis 31 of the camera 3 intersects with the top surface 931 of the container 9 held by the conveying device 2, and more preferably is perpendicular to the top surface 931. The camera 3 captures an image of a first feature point F1 and a second feature point F2 on the container 9.

なお、図1に示すように、容器9が検査位置L1にある状態では、カメラ3から視て、容器9の側面911は、容器9の天面931の裏側(軸方向下側)に位置する。このため、カメラ3は、容器9の側面911に設けられた第2特徴点F2を直接撮像することが困難である。そこで、検査装置1では、後述するミラー4を利用することにより、第2特徴点F2をカメラ3で撮像する。 As shown in FIG. 1, when the container 9 is in the inspection position L1, the side surface 911 of the container 9 is located behind (axially below) the top surface 931 of the container 9 as viewed from the camera 3. This makes it difficult for the camera 3 to directly image the second feature point F2 provided on the side surface 911 of the container 9. Therefore, the inspection device 1 uses a mirror 4, which will be described later, to image the second feature point F2 with the camera 3.

カメラ3は、所定の時間間隔で撮像を行うようにしてもよい。また、カメラ3は、各容器9が搬送方向における所定の検査位置L1(図1参照)に到達したタイミングで撮像を行うようにしてもよい。この場合、検査装置1は、容器9が検査位置L1に到達したことを検出する位置センサを備えていてもよい。図1に示すように、検査位置L1を撮像軸31と一致させることにより、容器9の撮像を良好に行うことができる。 The camera 3 may be configured to capture images at a predetermined time interval. The camera 3 may also be configured to capture images when each container 9 reaches a predetermined inspection position L1 (see FIG. 1) in the conveying direction. In this case, the inspection device 1 may be equipped with a position sensor that detects when the container 9 reaches the inspection position L1. As shown in FIG. 1, by aligning the inspection position L1 with the imaging axis 31, images of the container 9 can be captured well.

検査装置1は、ミラー4を備える。ミラー4は、容器9の側面911に設けられた第2特徴点F2を反射することによって、第2特徴点F2の像をカメラ3に導く。 The inspection device 1 includes a mirror 4. The mirror 4 reflects the second feature point F2 provided on the side surface 911 of the container 9, thereby directing an image of the second feature point F2 to the camera 3.

より具体的には、ミラー4は、第1ミラー41と第2ミラー42とを含む。第1ミラー41は、第1反射面41Sを有する。第2ミラー42は、第2反射面42Sを有する。図3に示すように、第1反射面41Sおよび第2反射面42Sは、撮像軸31を囲む環状を有し、好ましくは、円環状を有する。 More specifically, the mirror 4 includes a first mirror 41 and a second mirror 42. The first mirror 41 has a first reflecting surface 41S. The second mirror 42 has a second reflecting surface 42S. As shown in FIG. 3, the first reflecting surface 41S and the second reflecting surface 42S have an annular shape surrounding the imaging axis 31, and preferably have a circular annular shape.

軸方向において、第2ミラー42の第2反射面42Sは、第1ミラー41の第1反射面41Sとカメラ3との間に位置する。第1ミラー41の第1反射面41Sは、第2ミラー42の第2反射面42Sよりも撮像軸31から離れて位置する。 In the axial direction, the second reflecting surface 42S of the second mirror 42 is located between the first reflecting surface 41S of the first mirror 41 and the camera 3. The first reflecting surface 41S of the first mirror 41 is located farther from the imaging axis 31 than the second reflecting surface 42S of the second mirror 42.

第1ミラー41の第1反射面41Sは、径方向内方を臨む。第2ミラー42の第2反射面42Sは、径方向外方を臨む。第1ミラー41の第1反射面41Sは、容器9の第2特徴点F2の像を反射して、第2ミラー42の第2反射面42Sに導く。第2ミラー42の第2反射面42Sは、第1ミラー41から放出された第2特徴点F2の像を、さらに撮像軸31の近くへ反射する。このように、第2ミラー42が第2特徴点F2の像を反射することによって、カメラ3の視野が狭くても、容器9の第1特徴点F1および第2特徴点F2を一括に撮像できる。このため、広角レンズなどにより視野を広げる場合よりも、カメラ3の分解能を高くすることができる。 The first reflecting surface 41S of the first mirror 41 faces radially inward. The second reflecting surface 42S of the second mirror 42 faces radially outward. The first reflecting surface 41S of the first mirror 41 reflects the image of the second feature point F2 of the container 9 and guides it to the second reflecting surface 42S of the second mirror 42. The second reflecting surface 42S of the second mirror 42 reflects the image of the second feature point F2 emitted from the first mirror 41 further closer to the imaging axis 31. In this way, the second mirror 42 reflects the image of the second feature point F2, so that the first feature point F1 and the second feature point F2 of the container 9 can be captured at the same time even if the field of view of the camera 3 is narrow. Therefore, the resolution of the camera 3 can be increased compared to when the field of view is widened by a wide-angle lens or the like.

第1ミラー41および第2ミラー42を用いることによって、単一のミラーを用いる場合に比べて、第2特徴点F2の像をカメラへ容易に導くことができる。 By using the first mirror 41 and the second mirror 42, the image of the second feature point F2 can be more easily guided to the camera than when a single mirror is used.

第1反射面41Sおよび第2反射面42Sは、それぞれ円錐台状を有する。より具体的には、第1反射面41Sは、軸方向上方に向かって、径方向外方に傾いている。第2反射面42Sは、軸方向下方に向かって、径方向外方に傾いている。第1反射面41Sの中心軸と第2反射面42Sの中心軸は好ましくは共通である。また、第1反射面41Sの中心軸と第2反射面42Sの中心軸は、好ましくは撮像軸31と共通である。 The first reflecting surface 41S and the second reflecting surface 42S each have a truncated cone shape. More specifically, the first reflecting surface 41S is inclined radially outward toward the axially upward direction. The second reflecting surface 42S is inclined radially outward toward the axially downward direction. The central axis of the first reflecting surface 41S and the central axis of the second reflecting surface 42S are preferably common. In addition, the central axis of the first reflecting surface 41S and the central axis of the second reflecting surface 42S are preferably common to the imaging axis 31.

図1に示す例では、第1ミラー41は、軸方向において、容器9の天面931よりもカメラ3側に位置する。すなわち、第1ミラー41は、容器9の天面931よりも軸方向上方に位置する。このような配置によって、搬送装置2が容器9を撮像軸31と直交する方向に移動させたとしても、第1ミラー41が容器9に干渉することを抑制できる。 In the example shown in FIG. 1, the first mirror 41 is located axially closer to the camera 3 than the top surface 931 of the container 9. In other words, the first mirror 41 is located axially above the top surface 931 of the container 9. This arrangement makes it possible to prevent the first mirror 41 from interfering with the container 9 even if the conveying device 2 moves the container 9 in a direction perpendicular to the imaging axis 31.

図1に示すように、第2ミラー42は、第1ミラー41よりも径方向内方にあることが好ましい。これにより、カメラ3の視野を狭くすることができるため、カメラの分解能を高めることができる。 As shown in FIG. 1, it is preferable that the second mirror 42 is located radially inward from the first mirror 41. This allows the field of view of the camera 3 to be narrowed, thereby increasing the resolution of the camera.

第1ミラー41および第2ミラー42は、容器9の外側に位置する。より具体的には、第1ミラー41および第2ミラー42の少なくとも一部が、カメラ3と容器9の天面931の縁部とを結ぶ境界線BL1よりも、径方向外側に位置する。 The first mirror 41 and the second mirror 42 are located outside the container 9. More specifically, at least a portion of the first mirror 41 and the second mirror 42 is located radially outward of the boundary line BL1 connecting the camera 3 and the edge of the top surface 931 of the container 9.

図1に示すように、検査装置1は、照明部5を備える。照明部5は、搬送装置2が搬送する容器9の外表面を照らす。照明部5は、光源として、LEDまたは蛍光灯などを有する。 As shown in FIG. 1, the inspection device 1 includes an illumination unit 5. The illumination unit 5 illuminates the outer surface of the container 9 transported by the transport device 2. The illumination unit 5 has an LED or a fluorescent lamp as a light source.

照明部5は、第1照明部51と第2照明部52とを有する。第1照明部51および第2照明部52は、軸方向において、容器9の天面931よりも軸方向上方に位置する。第1照明部51および第2照明部52は、軸方向において、カメラ3よりも軸方向下方に位置する。軸方向において、第1照明部51は、第2照明部52よりも上側に位置する。第1照明部51は、容器9の天面931を照らすことにより、第1特徴点F1を照らす。第2照明部52は、容器9の側面を照らすことにより、第2特徴点F2を照らす。 The lighting unit 5 has a first lighting unit 51 and a second lighting unit 52. The first lighting unit 51 and the second lighting unit 52 are located axially above the top surface 931 of the container 9 in the axial direction. The first lighting unit 51 and the second lighting unit 52 are located axially below the camera 3 in the axial direction. The first lighting unit 51 is located above the second lighting unit 52 in the axial direction. The first lighting unit 51 illuminates the top surface 931 of the container 9, thereby illuminating the first characteristic point F1. The second lighting unit 52 illuminates the side surface of the container 9, thereby illuminating the second characteristic point F2.

第1照明部51は、例えば、リング照明である。リング照明は、撮像軸の周りを囲む環状(より好ましくは、円環状)の光源を備えた照明具である。第1照明部51が容器9の天面931を照らすことによって、天面931に位置する第1特徴点F1をカメラ3で良好に撮像できる。また、第1照明部51をリング照明とすることによって、容器9の天面931を、360°の各方向から照らすことができる。このため、検査装置1に対する容器9の向きが周方向に変化しても、容器9の天面931に位置する第1特徴点F1を有効に照らすことができる。 The first illumination unit 51 is, for example, a ring illumination. A ring illumination is an illumination device equipped with a ring-shaped (more preferably, circular) light source that surrounds the imaging axis. The first illumination unit 51 illuminates the top surface 931 of the container 9, so that the first feature point F1 located on the top surface 931 can be well imaged by the camera 3. Furthermore, by making the first illumination unit 51 a ring illumination, the top surface 931 of the container 9 can be illuminated from all directions of 360°. Therefore, even if the orientation of the container 9 relative to the inspection device 1 changes in the circumferential direction, the first feature point F1 located on the top surface 931 of the container 9 can be effectively illuminated.

第2照明部52は、撮像軸の周りを囲むように周方向に沿って配置された複数のライン照明で構成される。ライン照明は、直線状の光源を備えた照明具である。第2照明部52が容器9の側面911を照らすことによって、側面911に位置する第2特徴点F2をカメラ3で良好に撮像できる。また、第2照明部52を複数のライン照明で構成することによって、容器9の側面911を複数の方向から照らすことができる。このため、検査装置1に対する容器9の向きが周方向に変化しても、容器9の側面911に位置する第2特徴点F2を有効に照らすことができる。 The second illumination unit 52 is composed of multiple line lights arranged circumferentially so as to surround the imaging axis. The line lights are lighting fixtures equipped with linear light sources. The second illumination unit 52 illuminates the side surface 911 of the container 9, so that the second feature point F2 located on the side surface 911 can be well imaged by the camera 3. Furthermore, by configuring the second illumination unit 52 with multiple line lights, the side surface 911 of the container 9 can be illuminated from multiple directions. Therefore, even if the orientation of the container 9 relative to the inspection device 1 changes in the circumferential direction, the second feature point F2 located on the side surface 911 of the container 9 can be effectively illuminated.

なお、第1照明部51は、第2照明部52と同様に、複数のライン照明で構成されてもよい。また、第2照明部52は、第1照明部51と同様に、リング照明で構成されてもよい。 The first illumination unit 51 may be configured with multiple line lights, similar to the second illumination unit 52. The second illumination unit 52 may be configured with a ring light, similar to the first illumination unit 51.

図1に示すように、好ましくは、第1照明部51および第2照明部52の内径は、容器9の天面931の外径よりも大きい。これにより、カメラ3の視野FV1内において、検査位置L1にある容器9の天面931の一部が、第1照明部51または第2照明部52に隠れることを抑制できる。したがって、容器9の天面931を、カメラ3で良好に撮像できる。 As shown in FIG. 1, the inner diameters of the first illumination unit 51 and the second illumination unit 52 are preferably larger than the outer diameter of the top surface 931 of the container 9. This makes it possible to prevent a portion of the top surface 931 of the container 9 at the inspection position L1 from being hidden by the first illumination unit 51 or the second illumination unit 52 within the field of view FV1 of the camera 3. Therefore, the top surface 931 of the container 9 can be well imaged by the camera 3.

図1に示すように、好ましくは、第2ミラー42は、第1照明部51と軸方向に重なる。また、好ましくは、第2ミラー42は、第1照明部51よりも軸方向上方に位置する。このような配置により、カメラ3の視野FV1内において、第2ミラー42で第1照明部51を隠すことができる。 As shown in FIG. 1, the second mirror 42 preferably overlaps with the first illumination unit 51 in the axial direction. Also, the second mirror 42 is preferably positioned axially above the first illumination unit 51. With this arrangement, the second mirror 42 can hide the first illumination unit 51 within the field of view FV1 of the camera 3.

図1に示すように、好ましくは、第2ミラー42の径方向内方の端部は、照明部5の径方向内方の端部よりも撮像軸31の近くに配置される。また、好ましくは、第1ミラー41は、照明部5よりも径方向外側に配置される。 As shown in FIG. 1, the radially inner end of the second mirror 42 is preferably positioned closer to the imaging axis 31 than the radially inner end of the illumination unit 5. Also, the first mirror 41 is preferably positioned radially outward from the illumination unit 5.

なお、照明部5が第1照明部51および第2照明部52を備えていることは必須ではない。例えば、照明部5は、第1照明部51のみで構成されてもよい。この場合、第1照明部51が1つのリング照明で構成され、当該1つのリング照明で容器9の側面911および天面931が照らされてもよい。このとき、リング照明の光を、直接容器9の側面911および天面931に照射させてもよいし、あるいは、リング照明の光を、拡散板(不図示)を介して、容器9の側面911および天面931に照射させてもよい。このように、拡散板を用いることによって、1つの照明であっても、容器9の側面911および天面931に対して光をより均一に照射でき、明瞭に第1特徴点F1および第2特徴点F2を撮像することができる。 It is not essential that the illumination unit 5 includes the first illumination unit 51 and the second illumination unit 52. For example, the illumination unit 5 may be configured with only the first illumination unit 51. In this case, the first illumination unit 51 may be configured with one ring illumination, and the side surface 911 and the top surface 931 of the container 9 may be illuminated by the one ring illumination. At this time, the light of the ring illumination may be directly irradiated onto the side surface 911 and the top surface 931 of the container 9, or the light of the ring illumination may be irradiated onto the side surface 911 and the top surface 931 of the container 9 via a diffusion plate (not shown). In this way, by using a diffusion plate, even with one illumination, the light can be more uniformly irradiated onto the side surface 911 and the top surface 931 of the container 9, and the first feature point F1 and the second feature point F2 can be clearly imaged.

図1に示すように、検査装置1は、凸レンズ6を備える。凸レンズ6は、第1特徴点F1を含む容器9の天面931の像をカメラ3に結像する。凸レンズ6は、平面である下面と、軸方向上方に凸状である上面とを有する。凸レンズ6は、撮像軸31上に位置する。凸レンズ6の光軸は、撮像軸31と平行である。好ましくは、撮像軸31は、凸レンズ6の中心(光軸)と一致している。 As shown in FIG. 1, the inspection device 1 includes a convex lens 6. The convex lens 6 forms an image of the top surface 931 of the container 9, including the first feature point F1, on the camera 3. The convex lens 6 has a flat lower surface and an upper surface that is convex upward in the axial direction. The convex lens 6 is located on the imaging axis 31. The optical axis of the convex lens 6 is parallel to the imaging axis 31. Preferably, the imaging axis 31 coincides with the center (optical axis) of the convex lens 6.

凸レンズ6を設けることによって、容器9の側面911からミラー4を経由してカメラ3に入射する光の光路長に合わせて、容器9の天面931からカメラ3に直接入射する光の光路長を調整できる。これにより、第1特徴点F1および第2特徴点F2を1つのカメラ3で一括に撮像したとしても、第1特徴点F1および第2特徴点F2をそれぞれ明瞭に撮像できる。 By providing the convex lens 6, the optical path length of the light directly incident on the camera 3 from the top surface 931 of the container 9 can be adjusted to match the optical path length of the light incident on the camera 3 from the side surface 911 of the container 9 via the mirror 4. This allows the first feature point F1 and the second feature point F2 to be clearly imaged, even if they are imaged together by a single camera 3.

図1に示すように、検査装置1は、制御部7を備える。制御部7は、プロセッサ71と、ROM73と、RAM75と、記憶部77とを備える。プロセッサ71は、CPUまたはGPU等で構成される。ROM73、RAM75、および記憶部77は、バス配線を介してプロセッサ71と電気的に接続されている。ROM73は、読み出し専用のメモリであって、基本プログラムを記憶する。RAM75は、読み書き自在のメモリであって、各種情報を記憶する。記憶部77は、ハードディスクドライブなどの非一過性の記録媒体であって、プログラムPを記憶する。制御部7は、カメラ3と電気的に接続されている。 As shown in FIG. 1, the inspection device 1 includes a control unit 7. The control unit 7 includes a processor 71, a ROM 73, a RAM 75, and a storage unit 77. The processor 71 is composed of a CPU or a GPU, etc. The ROM 73, the RAM 75, and the storage unit 77 are electrically connected to the processor 71 via a bus wiring. The ROM 73 is a read-only memory and stores a basic program. The RAM 75 is a readable and writable memory and stores various information. The storage unit 77 is a non-transitory recording medium such as a hard disk drive, and stores a program P. The control unit 7 is electrically connected to the camera 3.

図4は、制御部7の構成を示すブロック図である。プロセッサ71がプログラムPを実行することによって、制御部7は、画像補正部711、検出部713、および判定部715として機能する。なお、プロセッサ71の代わりに、専用回路(ASICなど)を備えていてもよい。そして、画像補正部711、検出部713、または判定部715がハードウェア的に実現されていてもよい。 Figure 4 is a block diagram showing the configuration of the control unit 7. When the processor 71 executes the program P, the control unit 7 functions as an image correction unit 711, a detection unit 713, and a determination unit 715. Note that a dedicated circuit (such as an ASIC) may be provided instead of the processor 71. The image correction unit 711, the detection unit 713, or the determination unit 715 may be realized in hardware.

画像補正部711は、カメラ3が撮像した画像の歪みを補正する。検出部713は、カメラ3が撮像した画像において、容器9の第1特徴点F1および第2特徴点F2を検出する。判定部715は、検出部713が検出した第1特徴点F1および第2特徴点F2に基づいて、容器9に関する判定処理を行う。 The image correction unit 711 corrects distortion of the image captured by the camera 3. The detection unit 713 detects a first characteristic point F1 and a second characteristic point F2 of the container 9 in the image captured by the camera 3. The determination unit 715 performs a determination process regarding the container 9 based on the first characteristic point F1 and the second characteristic point F2 detected by the detection unit 713.

制御部7には、ディスプレイ791および入力デバイス793が接続されている。ディスプレイ791は、各種情報を表示する装置である。入力デバイス793は、ユーザが制御部7に対して各種情報を入力する装置である。入力デバイス793は、マウスまたはキーボードなどを含む。ディスプレイ791をタッチパネルで構成することによって、ディスプレイ791が入力デバイスとして機能してもよい。 A display 791 and an input device 793 are connected to the control unit 7. The display 791 is a device that displays various information. The input device 793 is a device that allows the user to input various information to the control unit 7. The input device 793 includes a mouse or a keyboard. The display 791 may function as an input device by configuring the display 791 as a touch panel.

図5は、カメラ3によって撮像される検査画像M1を示す図である。検査画像M1は、第1画像M11と第2画像M12とを含む。第1画像M11は、容器9の天面931の画像である。第1画像M11は、第1特徴点F1の画像を有する。第2画像M12は、第1ミラー41および第2ミラー42で反射した、容器9の側面911の画像である。このため、第2画像M12は、第2特徴点F2の画像を有する。図5に示すように、第2ミラー42が円環状である場合、第2画像M12は円環状となる。検出部713は、検査画像M1の第1画像M11において、第1特徴点F1の画像を検出する。また、検出部713は、検査画像M1の第2画像M12において、第2特徴点F2の画像を検出する。第1特徴点F1および第2特徴点F2の検出方法は特に限定されない。例えば、検出部713は、キャニー法によりエッジを検出し、検出されたエッジの中から、第1特徴点F1および第2特徴点F2を、テンプレートマッチングで抽出するようにしてもよい。 FIG. 5 is a diagram showing an inspection image M1 captured by the camera 3. The inspection image M1 includes a first image M11 and a second image M12. The first image M11 is an image of the top surface 931 of the container 9. The first image M11 has an image of the first feature point F1. The second image M12 is an image of the side surface 911 of the container 9 reflected by the first mirror 41 and the second mirror 42. Therefore, the second image M12 has an image of the second feature point F2. As shown in FIG. 5, when the second mirror 42 is annular, the second image M12 becomes annular. The detection unit 713 detects an image of the first feature point F1 in the first image M11 of the inspection image M1. The detection unit 713 also detects an image of the second feature point F2 in the second image M12 of the inspection image M1. The method of detecting the first feature point F1 and the second feature point F2 is not particularly limited. For example, the detection unit 713 may detect edges using the Canny algorithm, and extract the first feature point F1 and the second feature point F2 from the detected edges using template matching.

図6は、画像補正部711による補正処理を概念的に示す図である。画像補正部711は、第1画像M11または第2画像M12を補正してもよい。具体的には、画像補正部711は、回転補正、台形補正、色調補正、または、拡大縮小補正を行ってもよい。また、画像補正部711は、円環状である第2画像M12を、直線状に変換する補正を行ってもよい。図6に示すように、画像補正部711が画像補正を行うことによって、形状が補正された第2特徴点F2を取得することができる。これにより、検出部713は、第2特徴点F2を良好に検出できる。 FIG. 6 is a diagram conceptually illustrating the correction process by the image correction unit 711. The image correction unit 711 may correct the first image M11 or the second image M12. Specifically, the image correction unit 711 may perform rotation correction, keystone correction, color correction, or enlargement/reduction correction. The image correction unit 711 may also perform correction to convert the second image M12, which is annular, into a linear shape. As shown in FIG. 6, the image correction unit 711 performs image correction to obtain the second feature point F2 whose shape has been corrected. This allows the detection unit 713 to detect the second feature point F2 well.

判定部715は、検出部713が検出した第1特徴点F1および第2特徴点F2に基づいて、判定処理を行う。判定部715は、第1特徴点F1が表す情報と、第2特徴点F2とが表す情報との組合せの適否を判定する。 The determination unit 715 performs a determination process based on the first feature point F1 and the second feature point F2 detected by the detection unit 713. The determination unit 715 determines whether or not the combination of the information represented by the first feature point F1 and the information represented by the second feature point F2 is appropriate.

例えば、容器9の種類が複数存在する場合、第1特徴点F1と第2特徴点F2とは、容器9の種類を特定するための情報としてもよい。この場合、記憶部77は、容器9の種類毎に、第1特徴点F1と第2特徴点F2とのそれぞれに対応する登録情報R1を記憶する。 For example, if there are multiple types of containers 9, the first characteristic point F1 and the second characteristic point F2 may be information for identifying the type of container 9. In this case, the storage unit 77 stores registration information R1 corresponding to each of the first characteristic point F1 and the second characteristic point F2 for each type of container 9.

図7は、登録情報R1を概念的に示す図である。図7に示す例では、容器9の種類として、第1品種、第2品種、第3品種が存在する。そして、登録情報R1として、第1~第3品種のそれぞれに対応する第1特徴点F1(第1特徴点F1a,F1b,F1c)の画像と、第1品種~第3品種のそれぞれに対応する第2特徴点F2(第2特徴点F2a,F2b,F2c)の画像とが登録されている。 Figure 7 is a diagram conceptually illustrating the registered information R1. In the example shown in Figure 7, there are a first variety, a second variety, and a third variety as the types of container 9. Images of the first characteristic points F1 (first characteristic points F1a, F1b, F1c) corresponding to each of the first to third varieties, and images of the second characteristic points F2 (second characteristic points F2a, F2b, F2c) corresponding to each of the first to third varieties are registered as the registered information R1.

判定部715は、検出部713が検出した第1特徴点F1と一致する画像を、登録情報R1において検索することにより、容器9の種類を特定する。また、判定部715は、検出部713が検出した第2特徴点F2と一致する画像を登録情報R1において検索することにより、容器9の種類を特定する。そして、判定部715は、第1特徴点F1に基づいて特定した容器9の種類と、第2特徴点F2に基づいて特定した容器9の種類とが、一致するかどうかを判定する。 The determination unit 715 identifies the type of container 9 by searching the registered information R1 for an image that matches the first feature point F1 detected by the detection unit 713. The determination unit 715 also identifies the type of container 9 by searching the registered information R1 for an image that matches the second feature point F2 detected by the detection unit 713. The determination unit 715 then determines whether the type of container 9 identified based on the first feature point F1 matches the type of container 9 identified based on the second feature point F2.

なお、第2特徴点F2が文字列をコード化したものである場合、記憶部77は、第2特徴点F2が表す文字列を、登録情報R1として記憶していてもよい。この場合、判定部715は、検出部713が検出した第2特徴点F2を画像処理によって文字列に変換するとともに、取得した文字列を登録情報R1において検索する。これにより、判定部715は、第2特徴点F2が表す容器9の種類を特定してもよい。 If the second feature point F2 is a coded character string, the storage unit 77 may store the character string represented by the second feature point F2 as the registered information R1. In this case, the determination unit 715 converts the second feature point F2 detected by the detection unit 713 into a character string by image processing, and searches for the acquired character string in the registered information R1. In this way, the determination unit 715 may identify the type of container 9 represented by the second feature point F2.

第1特徴点F1が表す情報と第2特徴点F2が表す情報とが適合しないと判定部715が判定した場合、制御部7は、所定の出力装置に、不適合であったことを表す出力を行わせてもよい。出力装置は、例えば、画像を表示するディスプレイ791、画像を出力するプリンタ(不図示)、警告灯、または、警告音を発するスピーカーである。また、出力処理において、制御部7は、特定の容器9について不適合と判定したことを示すログを、RAM75または記憶部77に記憶させてもよい。 If the determination unit 715 determines that the information represented by the first feature point F1 and the information represented by the second feature point F2 do not match, the control unit 7 may cause a specified output device to output information indicating the non-match. The output device is, for example, a display 791 that displays an image, a printer (not shown) that outputs an image, a warning light, or a speaker that emits a warning sound. In addition, in the output process, the control unit 7 may store in the RAM 75 or the memory unit 77 a log indicating that a specific container 9 has been determined to be non-matching.

以上のように、検査装置1によれば、容器9の側面911に設けられた第2特徴点F2の像を、ミラー4でカメラ3に導くことができる。このため、容器9の天面931の第1特徴点F1と、容器9の側面911の第2特徴点F2とを1つのカメラ3で撮像できる。また、検査装置1によれば、カメラ3で取得された検査画像M1で検出された第1特徴点F1および第2特徴点F2に基づいて、容器9に関する判定処理を行うことができる。 As described above, the inspection device 1 can guide the image of the second feature point F2 on the side surface 911 of the container 9 to the camera 3 using the mirror 4. Therefore, the first feature point F1 on the top surface 931 of the container 9 and the second feature point F2 on the side surface 911 of the container 9 can be captured by a single camera 3. Furthermore, the inspection device 1 can perform a judgment process regarding the container 9 based on the first feature point F1 and the second feature point F2 detected in the inspection image M1 acquired by the camera 3.

<2. 変形例>
以上、実施形態について説明してきたが、本発明は上記のようなものに限定されるものではなく、様々な変形が可能である。
2. Modifications
Although the embodiment has been described above, the present invention is not limited to the above, and various modifications are possible.

<ミラーの変形例>
図8は、ミラー4の変形例を示す図である。図8に示すミラー4は、第1ミラー41の代わりに、第1ミラー41aを備える。また、図8に示すミラー4は、第2ミラー42の代わりに、第2ミラー42aを備える。第1ミラー41aは、容器9の側面911の像を第2ミラー42aへ反射する。また、第2ミラー42aは、第1ミラー41aが放出した像を反射して、カメラ3へ導く。
<Modifications of the mirror>
Fig. 8 is a diagram showing a modified example of the mirror 4. The mirror 4 shown in Fig. 8 includes a first mirror 41a instead of the first mirror 41. Moreover, the mirror 4 shown in Fig. 8 includes a second mirror 42a instead of the second mirror 42. The first mirror 41a reflects an image of the side surface 911 of the container 9 to the second mirror 42a. Moreover, the second mirror 42a reflects the image emitted by the first mirror 41a and guides it to the camera 3.

第1ミラー41aは、複数(例えば、5個)の第1平面ミラー411(サブミラー)を有する。複数の第1平面ミラー411は、周方向に等間隔で配置されている。各第1平面ミラー411は、平面状の第1反射面41Saを有する。第1反射面41Saは、径方向内方を臨む。各第1反射面41Saは、軸方向上方に向かって径方向外方に傾いている。第1平面ミラー411および第1反射面41Saは、周方向に長手であり、軸方向に短手である。第1反射面41Saは、例えば長方形状を有する。 The first mirror 41a has a plurality of (e.g., five) first plane mirrors 411 (sub-mirrors). The plurality of first plane mirrors 411 are arranged at equal intervals in the circumferential direction. Each first plane mirror 411 has a planar first reflecting surface 41Sa. The first reflecting surface 41Sa faces radially inward. Each first reflecting surface 41Sa is inclined radially outward toward the axially upward direction. The first plane mirror 411 and the first reflecting surface 41Sa are long in the circumferential direction and short in the axial direction. The first reflecting surface 41Sa has, for example, a rectangular shape.

周方向に長手の第1平面ミラー411を採用することによって、容器9の側面911の第2特徴点F2を撮像することが容易となる。また、第2特徴点F2を撮像するために必要となる第1平面ミラー411の数を少なくすることができる。これにより、検査装置1の部品点数を削減できるため、装置コストを下げることができる。 By employing a first plane mirror 411 that is elongated in the circumferential direction, it becomes easier to image the second feature point F2 on the side surface 911 of the container 9. In addition, the number of first plane mirrors 411 required to image the second feature point F2 can be reduced. This allows the number of parts in the inspection device 1 to be reduced, thereby lowering the device cost.

第2ミラー42aは、複数(例えば、5個)の第2平面ミラー421を有する。複数の第2平面ミラー421は、周方向に等間隔で配置されている。各第2平面ミラー421は、平面状の第2反射面42Saを有する。第2反射面42Saは、径方向外方を臨む。各第2反射面42Saは、軸方向上方に向かって径方向内方に傾いている。第2平面ミラー421および第2反射面42Saは、軸方向に長手であり、周方向に短手である。第2反射面42Saは、例えば長方形状を有する。 The second mirror 42a has a plurality of (e.g., five) second plane mirrors 421. The plurality of second plane mirrors 421 are arranged at equal intervals in the circumferential direction. Each second plane mirror 421 has a planar second reflection surface 42Sa. The second reflection surface 42Sa faces radially outward. Each second reflection surface 42Sa is inclined radially inward toward the axially upward direction. The second plane mirror 421 and the second reflection surface 42Sa are long in the axial direction and short in the circumferential direction. The second reflection surface 42Sa has, for example, a rectangular shape.

図8に示す例では、第1平面ミラー411と、第2平面ミラー421とは、1対1対応で設けられている。すなわち、第1平面ミラー411の数量と、第2平面ミラー421の数量とは同じである。周方向において、第2平面ミラー421は、対応する第1平面ミラー411と、同じ位置にある。こうすることによって、各第1平面ミラー411は、容器9の側面911の像を、対応する第2平面ミラー421に導くことができる。 In the example shown in FIG. 8, the first plane mirrors 411 and the second plane mirrors 421 are provided in one-to-one correspondence. That is, the number of first plane mirrors 411 is the same as the number of second plane mirrors 421. In the circumferential direction, the second plane mirrors 421 are located at the same position as the corresponding first plane mirror 411. In this way, each first plane mirror 411 can guide an image of the side surface 911 of the container 9 to the corresponding second plane mirror 421.

第1ミラー41aの第1反射面41Saは、容器9の第2特徴点F2の像を反射して、第2ミラー42aの第2反射面42Saへ導く。第2ミラー42aの第2反射面42Saは、第1ミラー41から放出された第2特徴点F2の像を、さらに撮像軸31の近くへ反射する。 The first reflecting surface 41Sa of the first mirror 41a reflects the image of the second feature point F2 of the container 9 and guides it to the second reflecting surface 42Sa of the second mirror 42a. The second reflecting surface 42Sa of the second mirror 42a further reflects the image of the second feature point F2 emitted from the first mirror 41 closer to the imaging axis 31.

第1ミラー41aを採用した場合、容器9の側面911の第2特徴点F2の像が、隣接する2つの第1平面ミラー411に入射することによって、検査画像M1に2つの第2特徴点F2の像が出現する可能性がある。このため、検出部713は、2つの第2特徴点F2の像のうち、歪み(変形)が小さい方を検出するようにしてもよい。この場合、検出部713は、検査画像M1におけるエッジの曲がりに基づいて、第2特徴点F2の歪みを定量化してもよい。 When the first mirror 41a is used, the image of the second feature point F2 on the side surface 911 of the container 9 may be incident on two adjacent first plane mirrors 411, causing two images of the second feature point F2 to appear in the inspection image M1. For this reason, the detection unit 713 may detect the image of the second feature point F2 that has the smaller distortion (deformation). In this case, the detection unit 713 may quantify the distortion of the second feature point F2 based on the curvature of the edge in the inspection image M1.

<第1特徴点および第2特徴点の変形例>
実施形態では、第1特徴点F1および第2特徴点F2が、複数ある容器9の種類の1つを表す情報であるものとしている。しかしながら、第1特徴点F1および第2特徴点F2は、容器9に関する情報であればどのような情報であってもよい。容器9に関する情報は、製造情報(製造日、ロット番号など)や、容器9の内容物に関する情報消費期限、賞味期限等であってもよい。
<Modifications of the First and Second Feature Points>
In the embodiment, the first characteristic point F1 and the second characteristic point F2 are information representing one of a plurality of types of container 9. However, the first characteristic point F1 and the second characteristic point F2 may be any information related to the container 9. The information related to the container 9 may be manufacturing information (manufacturing date, lot number, etc.) or information related to the contents of the container 9, such as a consumption date or a best-before date.

実施形態では、判定部715が実行する判定処理は、第1特徴点F1が表す情報と第2特徴点F2が適合するかを判定しているが、当該処理に限定されるものではない。例えば、判定部715は、第1特徴点F1が所定の情報と適合するか、または、第2特徴点F2が所定の情報と適合するかを判定するようにしてもよい。例えば、第1特徴点F1が製造年月日を表す情報である場合、判定部715は、第1特徴点F1が表す製造年月日が適正なものであるかを判定するようにしてもよい。 In the embodiment, the determination process executed by the determination unit 715 determines whether the information represented by the first feature point F1 matches the second feature point F2, but is not limited to this process. For example, the determination unit 715 may determine whether the first feature point F1 matches specified information, or whether the second feature point F2 matches specified information. For example, if the first feature point F1 is information representing the date of manufacture, the determination unit 715 may determine whether the date of manufacture represented by the first feature point F1 is appropriate.

実施形態では、第1ミラー41および第1ミラー41aは、容器9の天面931よりも軸方向上方に配置されているが、容器9の天面931よりも軸方向下方に配置されていてもよい。 In the embodiment, the first mirror 41 and the first mirror 41a are arranged axially above the top surface 931 of the container 9, but they may also be arranged axially below the top surface 931 of the container 9.

実施形態では、搬送装置2搬送されている状態の容器9を撮像するようにしているが、停止した状態の容器9を撮像するようにしてもよい。例えば、搬送装置2の代わりに台を設けて、当該台に容器9を載置した状態で、撮像を行うようにしてもよい。 In the embodiment, the container 9 is imaged while being transported by the transport device 2, but it may also be imaged while the container 9 is stationary. For example, a stage may be provided in place of the transport device 2, and the container 9 may be placed on the stage and imaged.

図9は、変形例に係る検査装置1の側面図である。変形例に係る検査装置1では、容器9が、円盤状である台101の上面に載置される。第1ミラー41は、容器9の天面931よりも軸方向下方に位置し、かつ、台101の上面よりも軸方向下方に位置する。第1ミラー41の一部は、境界線BL1よりも径方向外側に位置する。第2ミラー42の第2反射面42Sは、径方向内方を臨む。第1ミラー41および第2ミラー42は、それぞれ1つのミラーで構成されていてもよいし、周方向に配列された複数のミラーで構成されていてもよい。本変形例では、容器9の側面911に設けられた第2特徴点F2の像は、台101よりも軸方向外側を通って、第1ミラー41の第1反射面41Sにて反射される。そして、第2特徴点F2の像は、第2ミラー42の第2反射面42Sで反射されて、カメラ3に導かれる。台101は、透明な部材で構成されていてもよい。これにより、容器9の第2特徴点F2の像が、台101で遮られて第1ミラー41の第1反射面41Sに入射できなくなることを抑制できる。 9 is a side view of the inspection device 1 according to the modified example. In the inspection device 1 according to the modified example, the container 9 is placed on the upper surface of the disk-shaped base 101. The first mirror 41 is located axially lower than the top surface 931 of the container 9 and axially lower than the upper surface of the base 101. A part of the first mirror 41 is located radially outward from the boundary line BL1. The second reflecting surface 42S of the second mirror 42 faces radially inward. The first mirror 41 and the second mirror 42 may each be composed of one mirror, or may be composed of multiple mirrors arranged in the circumferential direction. In this modified example, the image of the second feature point F2 provided on the side surface 911 of the container 9 passes axially outward from the base 101 and is reflected by the first reflecting surface 41S of the first mirror 41. Then, the image of the second feature point F2 is reflected by the second reflecting surface 42S of the second mirror 42 and guided to the camera 3. The base 101 may be composed of a transparent member. This prevents the image of the second feature point F2 of the container 9 from being blocked by the base 101 and being unable to enter the first reflecting surface 41S of the first mirror 41.

この発明は詳細に説明されたが、上記の説明は、すべての局面において、例示であって、この発明がそれに限定されるものではない。例示されていない無数の変形例が、この発明の範囲から外れることなく想定され得るものと解される。上記各実施形態および各変形例で説明した各構成は、相互に矛盾しない限り適宜組み合わせたり、省略したりすることができる。 Although this invention has been described in detail, the above description is illustrative in all respects and does not limit the invention. It is understood that countless variations not illustrated can be imagined without departing from the scope of this invention. The configurations described in the above embodiments and variations can be combined or omitted as appropriate as long as they are not mutually contradictory.

本発明は、検査装置に利用することができる。 This invention can be used in inspection devices.

1 検査装置
3 カメラ
31 撮像軸
4 ミラー
41,41a 第1ミラー
411 第1平面ミラー(サブミラー)
41S,41Sa 第1反射面
42,42a 第2ミラー
5 照明部
51 第1照明部
52 第2照明部
6 凸レンズ
711 画像補正部
713 検出部
715 判定部
77 記憶部
9 容器
911 側面
931 天面
F1 第1特徴点
F2 第2特徴点
M1 検査画像

REFERENCE SIGNS LIST 1 Inspection device 3 Camera 31 Imaging axis 4 Mirror 41, 41a First mirror 411 First plane mirror (sub-mirror)
41S, 41Sa First reflecting surface 42, 42a Second mirror 5 Illumination section 51 First illumination section 52 Second illumination section 6 Convex lens 711 Image correction section 713 Detection section 715 Determination section 77 Memory section 9 Container 911 Side surface 931 Top surface F1 First feature point F2 Second feature point M1 Inspection image

Claims (13)

天面および側面を有する検査対象物の検査装置であって、
前記検査対象物の前記天面に交差する撮像軸を有し、前記天面が有する第1特徴点と前記側面が有する第2特徴点を撮像するカメラと、
前記検査対象物の外側に位置し、前記第2特徴点を反射することによって前記カメラに導くミラーと、
前記カメラが撮像した画像において、前記第1特徴点および前記第2特徴点を検出する検出部と、
前記検出部が検出した前記第1特徴点および前記第2特徴点に基づいて、判定処理を行う判定部と、
前記検査対象物を照らす照明部と、を備え、
前記ミラーは、第1ミラーと、第2ミラーと、を有し、
前記第1ミラーは、前記撮像軸と平行な軸方向において、前記天面よりも上側かつ前記カメラよりも下側に位置し、
前記第2ミラーは、前記撮像軸と平行な軸方向において、前記第1ミラーと前記カメラとの間に位置し、
前記第1ミラーは、前記撮像軸と直交する径方向において、前記第2ミラーよりも前記撮像軸から離れて位置し、
前記照明部は、前記天面よりも前記撮像軸と平行な軸方向において上側かつ前記第1ミラーよりも前記撮像軸側に配置され、
前記第2ミラーは、前記撮像軸と平行な軸方向において、前記照明部の少なくとも一部と重なり、前記照明部よりも前記カメラ側に配置される、検査装置。
An inspection apparatus for an inspection object having a top surface and a side surface,
a camera having an imaging axis intersecting the top surface of the object to be inspected, the camera imaging a first feature point of the top surface and a second feature point of the side surface;
a mirror positioned outside the inspection object and reflecting the second feature point toward the camera;
a detection unit that detects the first feature point and the second feature point in an image captured by the camera;
a determination unit that performs a determination process based on the first feature point and the second feature point detected by the detection unit;
An illumination unit that illuminates the inspection object,
The mirror includes a first mirror and a second mirror,
the first mirror is located above the top surface and below the camera in an axial direction parallel to the imaging axis,
the second mirror is located between the first mirror and the camera in an axial direction parallel to the imaging axis,
the first mirror is located farther from the imaging axis than the second mirror in a radial direction perpendicular to the imaging axis,
the illumination unit is disposed above the top surface in an axial direction parallel to the imaging axis and on the imaging axis side of the first mirror,
An inspection device, wherein the second mirror overlaps with at least a portion of the illumination unit in an axial direction parallel to the imaging axis and is positioned closer to the camera than the illumination unit.
請求項1に記載の検査装置であって、
前記照明部は、環状であり、
前記照明部の内径は、前記天面の外径よりも大きい、検査装置。
2. The inspection device according to claim 1,
the illumination portion is annular;
An inspection apparatus, wherein an inner diameter of the illumination unit is larger than an outer diameter of the top surface.
請求項1または請求項2に記載の検査装置であって、
前記第2ミラーにおける前記撮像軸に直交する径方向内方の端部は、前記照明部における前記撮像軸に直交する径方向内方の端部よりも前記撮像軸の近くに配置される、検査装置。
The inspection device according to claim 1 or 2,
An inspection device, wherein a radially inner end of the second mirror perpendicular to the imaging axis is positioned closer to the imaging axis than a radially inner end of the illumination unit perpendicular to the imaging axis.
請求項1または請求項2に記載の検査装置であって、
前記第1ミラーの反射面は、第2特徴点から放出された像を前記撮像軸側に反射し、
前記第2ミラーの反射面は、前記第1ミラーから放出された像をさらに前記撮像軸の近くへ反射する、検査装置。
The inspection device according to claim 1 or 2,
a reflecting surface of the first mirror reflecting the image emitted from the second feature point toward the imaging axis;
An inspection apparatus, wherein the reflective surface of the second mirror reflects the image emitted from the first mirror further toward the imaging axis.
請求項2から請求項のいずれか1項に記載の検査装置であって、
前記第1ミラーが、周方向に並ぶ複数のサブミラーで構成され、
前記サブミラーが、周方向に長手である、検査装置。
The inspection device according to any one of claims 2 to 4 ,
The first mirror is composed of a plurality of sub-mirrors arranged in a circumferential direction,
An inspection apparatus, wherein the sub-mirror is elongated in a circumferential direction.
請求項1から請求項のいずれか1項に記載の検査装置であって、
前記撮像軸上に位置し、前記第1特徴点を前記カメラに結像する凸レンズ、
をさらに備える、検査装置。
The inspection device according to any one of claims 1 to 5 ,
a convex lens located on the imaging axis and configured to form an image of the first feature point on the camera;
The inspection device further comprises:
請求項1から請求項のいずれか1項に記載の検査装置であって、
前記カメラが撮像した画像の歪みを補正する画像補正部、
をさらに備える、検査装置。
The inspection device according to any one of claims 1 to 6 ,
an image correction unit that corrects distortion of the image captured by the camera;
The inspection device further comprises:
請求項6に記載の検査装置であって、
前記凸レンズは、前記撮像軸と直交する径方向において前記第2ミラーと重なり、前記第2ミラーよりも前記撮像軸側に配置される、検査装置
7. The inspection device according to claim 6,
the convex lens overlaps with the second mirror in a radial direction perpendicular to the imaging axis, and is disposed closer to the imaging axis than the second mirror.
請求項1に記載の検査装置であって、
前記照明部は、前記撮像軸を囲む環状のリング照明を含む、検査装置。
2. The inspection device according to claim 1,
An inspection apparatus, wherein the illumination unit includes an annular ring illumination that surrounds the imaging axis.
請求項1または請求項に記載の検査装置であって、
前記照明部は、
前記検査対象物の前記第1特徴点を照らす第1照明部と、
前記検査対象物の前記第2特徴点を照らす第2照明部と、を含む、検査装置。
The inspection device according to claim 1 or claim 9 ,
The illumination unit includes:
a first illumination unit that illuminates the first feature point of the inspection object;
and a second illumination unit that illuminates the second feature point of the object to be inspected.
請求項1から請求項10のいずれか1項に記載の検査装置であって、
前記第1特徴点または前記第2特徴点のうち少なくとも一方に対応する情報を記憶する記憶部、をさらに備える、検査装置。
The inspection device according to any one of claims 1 to 10,
The inspection apparatus further comprises a storage unit configured to store information corresponding to at least one of the first feature point or the second feature point.
請求項11に記載の検査装置であって、
前記第1特徴点または前記第2特徴点のうち一方は、前記検査対象物の種類を表し、
前記記憶部は、前記第1特徴点または前記第2特徴点のうち一方が表し得る前記検査対象物の種類に対応する情報を記憶する、検査装置。
12. The inspection device according to claim 11,
one of the first feature point and the second feature point represents a type of the inspection object;
An inspection apparatus, wherein the memory unit stores information corresponding to a type of the inspection object that can be represented by either the first feature point or the second feature point.
請求項12に記載の検査装置であって、
前記判定部は、前記第1特徴点に対応する情報と前記第2特徴点に対応する情報との組合せの適否を判定する処理を実行する、検査装置。
13. The inspection device according to claim 12,
The determination unit executes a process of determining whether a combination of information corresponding to the first feature point and information corresponding to the second feature point is appropriate.
JP2020213932A 2020-12-23 2020-12-23 Inspection Equipment Active JP7571532B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020213932A JP7571532B2 (en) 2020-12-23 2020-12-23 Inspection Equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020213932A JP7571532B2 (en) 2020-12-23 2020-12-23 Inspection Equipment

Publications (2)

Publication Number Publication Date
JP2022099875A JP2022099875A (en) 2022-07-05
JP7571532B2 true JP7571532B2 (en) 2024-10-23

Family

ID=82269597

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020213932A Active JP7571532B2 (en) 2020-12-23 2020-12-23 Inspection Equipment

Country Status (1)

Country Link
JP (1) JP7571532B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2024000897A (en) 2022-06-21 2024-01-09 東洋インキScホールディングス株式会社 Carbon nanotube dispersion, composite slurry for electrode films, electrode films, and secondary batteries
JP2024092565A (en) * 2022-12-26 2024-07-08 株式会社日立国際電気 Visual Inspection System

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002310629A (en) 2001-04-13 2002-10-23 Toyo Seikan Kaisha Ltd Peripheral surface imaging device and peripheral surface inspection device
JP2002369044A (en) 2001-06-04 2002-12-20 Juki Corp Lighting equipment
JP2004109064A (en) 2002-09-20 2004-04-08 Asahi-Seiki Mfg Co Ltd Appearance image deployment mirror device and appearance image automatic inspection system
WO2006059647A1 (en) 2004-11-30 2006-06-08 Shibaura Mechatronics Corporation Surface inspection device and surface inspection method
JP2007114180A (en) 2006-05-29 2007-05-10 Lion Engineering Co Ltd Appearance inspection method and device for it
JP2010085179A (en) 2008-09-30 2010-04-15 Yutaka:Kk Side-surface inspecting device
JP2019517670A (en) 2016-06-02 2019-06-24 ロベルト・ボッシュ・ゲゼルシャフト・ミト・ベシュレンクテル・ハフツングRobert Bosch Gmbh Device and method for inspecting a container
CN111842219A (en) 2020-07-30 2020-10-30 红云红河烟草(集团)有限责任公司 Error correction device for finished cigarette box

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002310629A (en) 2001-04-13 2002-10-23 Toyo Seikan Kaisha Ltd Peripheral surface imaging device and peripheral surface inspection device
JP2002369044A (en) 2001-06-04 2002-12-20 Juki Corp Lighting equipment
JP2004109064A (en) 2002-09-20 2004-04-08 Asahi-Seiki Mfg Co Ltd Appearance image deployment mirror device and appearance image automatic inspection system
WO2006059647A1 (en) 2004-11-30 2006-06-08 Shibaura Mechatronics Corporation Surface inspection device and surface inspection method
JP2007114180A (en) 2006-05-29 2007-05-10 Lion Engineering Co Ltd Appearance inspection method and device for it
JP2010085179A (en) 2008-09-30 2010-04-15 Yutaka:Kk Side-surface inspecting device
JP2019517670A (en) 2016-06-02 2019-06-24 ロベルト・ボッシュ・ゲゼルシャフト・ミト・ベシュレンクテル・ハフツングRobert Bosch Gmbh Device and method for inspecting a container
CN111842219A (en) 2020-07-30 2020-10-30 红云红河烟草(集团)有限责任公司 Error correction device for finished cigarette box

Also Published As

Publication number Publication date
JP2022099875A (en) 2022-07-05

Similar Documents

Publication Publication Date Title
US5699152A (en) Electro-optical inspection system and method
KR101900123B1 (en) Device for inspecting neck finish of metal bottle
JP4968138B2 (en) Illumination light source and pattern inspection apparatus using the same
JP6912504B2 (en) Camera and image data acquisition method
TWI449878B (en) Apparatus and method for optically converting a three-dimensional object into a two-dimensional planar image
JP7571532B2 (en) Inspection Equipment
JPWO2018061196A1 (en) Glass container burn inspection device
US5126556A (en) Bottle thread imaging apparatus having a light seal means between the light assembly means and the thread
US5045688A (en) Method and apparatus for inspection of bottle thread having a unitary image plane
KR101936974B1 (en) Method and apparatus for inspecting neck finish of metal bottle
US7281662B2 (en) Methods and apparatus for information capture illumination
JP6893242B2 (en) Container inspection device and container inspection method
JP4243431B2 (en) Method and apparatus for reading a relief carried in a transparent or translucent container
JP6117324B2 (en) Imaging device and illumination device
JP2010151473A (en) Apparatus for inspecting screw-top bottle
JP2004219399A (en) Method of inspecting foreign substance, apparatus for inspecting foreign substance, and illumination apparatus for inspecting foreign substance
JP4687248B2 (en) Appearance inspection device
JP2006226724A (en) Label inspection method and label inspection device
CN107110790A (en) Optical detection system
JP2007183225A (en) Light irradiation apparatus, surface shape inspection system, and surface shape inspection method
JP5959430B2 (en) Bottle cap appearance inspection device and appearance inspection method
JP5359919B2 (en) Method and apparatus for inspecting surface condition of inspection object having flexibility
JP4069535B2 (en) Collapsed lid detector
JP3678850B2 (en) Defect inspection device for cylindrical inner wall surface
JP6073261B2 (en) Bottle bottom inspection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231128

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20231128

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240716

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240723

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240805

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240827

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240830

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: 20240910

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240923

R150 Certificate of patent or registration of utility model

Ref document number: 7571532

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150