JP7494652B2 - Apparatus and method for preparing for visual inspection - Google Patents
Apparatus and method for preparing for visual inspection Download PDFInfo
- Publication number
- JP7494652B2 JP7494652B2 JP2020141698A JP2020141698A JP7494652B2 JP 7494652 B2 JP7494652 B2 JP 7494652B2 JP 2020141698 A JP2020141698 A JP 2020141698A JP 2020141698 A JP2020141698 A JP 2020141698A JP 7494652 B2 JP7494652 B2 JP 7494652B2
- Authority
- JP
- Japan
- Prior art keywords
- inspection
- product
- defect
- conditions
- lighting
- 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
Links
- 238000000034 method Methods 0.000 title claims description 36
- 238000011179 visual inspection Methods 0.000 title claims description 36
- 238000007689 inspection Methods 0.000 claims description 292
- 230000007547 defect Effects 0.000 claims description 92
- 238000004364 calculation method Methods 0.000 claims description 91
- 238000003384 imaging method Methods 0.000 claims description 70
- 230000002950 deficient Effects 0.000 claims description 56
- 238000005286 illumination Methods 0.000 claims description 48
- 238000002360 preparation method Methods 0.000 claims description 24
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 239000000284 extract Substances 0.000 claims description 2
- 230000008569 process Effects 0.000 description 25
- 238000010586 diagram Methods 0.000 description 22
- 238000003860 storage Methods 0.000 description 19
- 230000036544 posture Effects 0.000 description 18
- 239000011159 matrix material Substances 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 230000008859 change Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000009466 transformation Effects 0.000 description 4
- 230000005484 gravity Effects 0.000 description 3
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 230000012447 hatching Effects 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Landscapes
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Description
本発明は、製品の外観検査前に検査条件を設定するための外観検査準備装置および外観検査準備方法に関する。 The present invention relates to an appearance inspection preparation device and an appearance inspection preparation method for setting inspection conditions before visual inspection of a product.
製造ラインにおける製品表面のキズや欠けなどを検査する外観検査は、多くの人手に頼っており、高いスキルが必要な熟練作業となっている。近年、生産年齢人口の減少を背景に、人手不足が深刻化しており、外観検査の自動化が望まれている。 Visual inspection, which checks for scratches and chips on the surface of products on the production line, relies on a large amount of manpower and is a skilled job that requires a high level of skill. In recent years, the labor shortage has become more serious due to the decline in the working-age population, and there is a demand for the automation of visual inspection.
このような背景のもと、外観検査の自動化技術に関連して、例えば特許文献1に開示されるように、多関節ロボットを用いて製品に対するカメラや照明の位置を様々に変え、製品表面に所定方向から照明を施し、製品表面の反射光を撮影する外観検査装置や、撮影した画像において輝度やコントラスト、色彩などが周囲と明確に異なる領域を欠陥として検出する技術が提案されている。 In relation to this background, in relation to automated visual inspection technology, as disclosed in Patent Document 1, for example, there have been proposals for a visual inspection device that uses an articulated robot to change the positions of the camera and lighting relative to the product in various ways, illuminates the product surface from a specified direction, and captures the light reflected from the product surface, as well as a technology that detects areas in the captured image that are clearly different from the surrounding area in terms of brightness, contrast, color, etc. as defects.
一般的に、外観検査において欠陥を精度よく検出するためには、欠陥とその近傍のコントラストが良い画像を得られるよう、製品の表面の向きや対象とする欠陥に応じて撮像方向や照明方向を適切に調整する必要がある。 In general, to accurately detect defects in visual inspection, it is necessary to appropriately adjust the imaging direction and lighting direction according to the orientation of the product surface and the target defect so as to obtain an image with good contrast between the defect and its surroundings.
これに関し、特許文献1では、欠陥が検査しやすくなる撮像方向と照明方向の条件である検査条件をもとに、製品全面を撮影するカメラや照明の位置および姿勢である検査ポイントを複数決める技術が開示されている。特許文献1に開示の技術では、検査条件は自動的に決定されず、ユーザによって決定される。 In this regard, Patent Document 1 discloses a technology that determines multiple inspection points, which are the positions and orientations of the camera and lighting that capture the entire surface of the product, based on the inspection conditions, which are the imaging direction and lighting direction conditions that make it easier to inspect for defects. With the technology disclosed in Patent Document 1, the inspection conditions are not determined automatically, but are determined by the user.
代表的な検査条件の決定手法として、製品を撮影した画像において、欠陥の輝度が一定以上となる範囲に対して撮像方向・照明方向が満たす条件を検査条件とする明視野法がある。検査条件の撮像方向や照明方向などを満たすようにカメラや照明などを駆動するマニピュレータの関節角度の組み合わせである検査ポイント列を生成して、製品の外観検査を準備する。この検査ポイント列により、製品の外観検査を好適に実施可能である。 A typical method for determining inspection conditions is the bright field method, in which the inspection conditions are set as conditions that the imaging direction and lighting direction must satisfy for the range in which the brightness of defects in an image of the product is above a certain level. A series of inspection points is generated, which is a combination of the joint angles of the manipulator that drives the camera, lighting, etc. so as to satisfy the imaging direction and lighting direction of the inspection conditions, and then an appearance inspection of the product is prepared. This series of inspection points makes it possible to carry out an appearance inspection of the product in an optimal manner.
明視野法を用いて検査条件を決める際、欠陥を検査可能と判定する輝度の閾値は、製品が明確に明るく写る箇所における輝度が用いられることが多い。その場合、1枚の撮影画像において、検査条件を満たす範囲は、欠陥の検査可否の境界における輝度を閾値とした場合に比べ狭くなる。つまり、製品全面検査に必要な撮影回数が増えて、検査時間が長くなる。検査時間や撮影回数は、検査に係るコストである。検査時間は、より短いことが望ましい。撮影回数は、より少ないことが望ましい。 When determining inspection conditions using the bright field method, the brightness threshold for determining whether a defect can be inspected is often the brightness at the point where the product appears clearly bright. In such cases, the range that satisfies the inspection conditions in a single captured image will be narrower than when the threshold is the brightness at the boundary between whether or not a defect can be inspected. In other words, more images are required to inspect the entire product, and the inspection time will be longer. Inspection time and the number of images taken are costs associated with inspection. It is desirable to have a shorter inspection time. It is desirable to have fewer images taken.
本発明は以上の問題に着目してなされたものであり、最少の検査コストで製品を検査可能な検査ポイント列を生成することを目的とする。 The present invention was made with the above problems in mind, and aims to generate a sequence of inspection points that allows products to be inspected at the lowest possible inspection cost.
前記した課題を解決するため、本発明の外観検査準備装置は、製品に係る複数の不良品の欠陥の位置を取得する取得手段と、前記欠陥の位置に基づき、前記欠陥を検査するロボットの検査条件であるカメラによる撮像方向および照明による照明方向を出力する検査条件算出手段と、前記検査条件および前記製品の形状データをもとに、前記検査条件の撮像方向を満たすように前記カメラを駆動するマニピュレータの関節角度、および前記検査条件の照明方向を満たすように前記照明を駆動するマニピュレータの関節角度の組み合わせである検査ポイント列を算出する検査ポイント列算出手段と、を有することを特徴とする。 To solve the above-mentioned problems, the visual inspection preparation device of the present invention is characterized by having an acquisition means for acquiring the positions of defects of multiple defective products related to a product, an inspection condition calculation means for outputting the imaging direction of a camera and the lighting direction of lighting, which are the inspection conditions of a robot that inspects the defects, based on the positions of the defects, and an inspection point sequence calculation means for calculating, based on the inspection conditions and the shape data of the product, an inspection point sequence which is a combination of the joint angles of a manipulator that drives the camera so as to satisfy the imaging direction of the inspection conditions, and the joint angles of a manipulator that drives the lighting so as to satisfy the lighting direction of the inspection conditions.
本発明の外観検査準備方法は、製品に係る複数の不良品の欠陥の位置を取得するステップと、前記欠陥の位置に基づき、前記欠陥を検査するロボットの検査条件であるカメラによる撮像方向および照明による照明方向を出力するステップと、前記検査条件および前記製品の形状データをもとに、前記検査条件の撮像方向を満たすように前記カメラを駆動するマニピュレータの関節角度、および前記検査条件の照明方向を満たすように前記照明を駆動するマニピュレータの関節角度の組み合わせである検査ポイント列を算出するステップと、を有することを特徴とする。
その他の手段については、発明を実施するための形態のなかで説明する。
The visual inspection preparation method of the present invention is characterized by comprising the steps of acquiring the positions of defects in a plurality of defective products related to a product; outputting, based on the positions of the defects, an imaging direction by a camera and an illumination direction by a light, which are inspection conditions for a robot that inspects the defects; and calculating, based on the inspection conditions and shape data of the product, a sequence of inspection points, which is a combination of joint angles of a manipulator that drives the camera so as to satisfy the imaging direction of the inspection conditions, and joint angles of a manipulator that drives the light so as to satisfy the illumination direction of the inspection conditions.
Other means will be described in the description of the embodiment of the invention.
本発明によれば、最少の検査コストで製品を検査可能な検査ポイント列を生成することができる。 The present invention makes it possible to generate a sequence of inspection points that allows a product to be inspected at minimal inspection cost.
以降、本発明を実施するための形態を、各図を参照して詳細に説明する。
図1は、本発明の一実施形態に係る外観検査準備システム1の構成例を示す図である。
外観検査準備システム1は、ユーザインタフェース装置11と、検査条件算出装置12と、検査ポイント列算出装置13と、撮影装置14と、記憶装置15とを備えている。この外観検査準備システム1は、最少の検査コストで製品の全面を検査可能な検査ポイント列を生成する。ここで検査コストとは、検査時間や撮影回数やマニピュレータの姿勢変換のコストなどである。
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 is a diagram showing an example of the configuration of a visual inspection preparation system 1 according to an embodiment of the present invention.
The visual inspection preparation system 1 includes a
図2は、欠陥を撮影する撮影装置14の装置構成の一例を示す図である。
撮影装置14は、カメラ141をマニピュレータ143で把持して撮像方向を変え、照明142をマニピュレータ144で把持して照明方向を変えて、検査ステージ145に静置した製品5を撮影できる装置である。
FIG. 2 is a diagram showing an example of the configuration of the
The photographing
カメラ141は、検査ステージ145に静置した製品5の光学像を撮影する装置である。マニピュレータ143は、カメラ141を把持して撮像方向を変えるものである。照明142は、製品5に可視光などを照射するものである。マニピュレータ144は、この照明142を把持して照明方向を変えるものである。
The
図1に戻り説明を続ける。検査条件算出装置12は、パーソナルコンピュータなどの公知要素から構成され、検査条件算出部121を備える。検査条件算出部121は、ロボットの各姿勢と、予め入力された欠陥位置に基づき、撮影装置14を用いて様々な撮像条件・照明条件下で不良品の欠陥を撮影する。そして、検査条件算出部121は、撮影によって得られた画像から欠陥が検査可能となる撮像条件および照明条件を算出する。つまり、検査条件算出装置12は、不良品の欠陥の位置に基づき、この欠陥を検査するロボットの検査条件であるカメラによる撮像方向および照明による照明方向を出力する検査条件算出手段として機能する。
Returning to FIG. 1 for further explanation, the inspection
検査ポイント列算出装置13は、パーソナルコンピュータなどの公知要素から構成されている。検査ポイント列算出装置13は、製品形状および検査条件をもとに、製品5の全面を最少回数で撮影するための検査ポイント列を算出する。検査ポイント列算出装置13は、検査条件および製品の形状データをもとに、検査条件の撮像方向を満たすようにカメラ141を駆動するマニピュレータの関節角度、および検査条件の照明方向を満たすように照明142を駆動するマニピュレータの関節角度の組み合わせである検査ポイント列を算出する検査ポイント列算出手段として機能する。
The inspection point
記憶装置15は、ハードディスクドライブやソリッドステートドライブなどの公知の大容量記憶装置によって構成される。記憶装置15は、検査対象記憶部151、不良品情報記憶部152、検査条件記憶部153、検査ポイント列記憶部154を備える。
The
検査対象記憶部151には、製品番号に紐づけられた製品形状データが格納されている。製品形状データは、例えば、STL(Stereolithography)等の公知のフォーマットにて定義される。
The inspection
不良品情報記憶部152は、後記する図3に示す不良品情報テーブル1521に記載の情報を記憶する部分であり、不良品を識別するための個体番号情報と、不良品に係る製品番号情報と、この不良品にて発見された欠陥の位置などを記憶する。
The defective product
図3は、不良品情報テーブル1521の一例を示す図である。
不良品情報テーブル1521は、不良品の個体番号欄と、製品番号欄と、欠陥位置・姿勢情報欄を有する。
不良品個体番号欄は、不良品を特定するための識別番号を格納する欄である。
製品番号欄は、製品の版数などを特定するための製品番号を格納する欄である。
欠陥位置・姿勢情報欄は、不良品における欠陥の3次元的な位置・姿勢情報である。この欄に格納される情報は、位置を表す3次元ベクトルとその時のロール・ピッチ・ヨーなどで表される姿勢の組や、アフィン変換に用いられる拡大行列として表現される。
FIG. 3 is a diagram showing an example of the defective product information table 1521. As shown in FIG.
The defective product information table 1521 has a defective product individual number column, a product number column, and a defect position/posture information column.
The defective product individual number column is a column for storing an identification number for identifying a defective product.
The product number column is a column for storing a product number for identifying the version number of a product, etc.
The defect position/orientation information field contains three-dimensional position/orientation information of defects in defective products. The information stored in this field is expressed as a set of a three-dimensional vector representing a position and its orientation expressed by roll, pitch, yaw, etc. at that time, or as an expansion matrix used for affine transformation.
図1に戻り説明を続ける。検査条件記憶部153は、欠陥が検出可能になるときの撮像方向や照明方向の条件を記憶する。
検査ポイント列記憶部154には、製品5に対するカメラ141および照明142の位置・姿勢の集合である検査ポイント列集合が、製品番号に紐づけて格納されている。カメラ141および照明142の位置および姿勢は、位置を表す3次元ベクトルとロール・ピッチ・ヨーなどで表される姿勢を組にしたものや、アフィン変換に用いられる拡大行列として表現される。
Returning to Fig. 1, the description will continue. The inspection
The inspection point
図4は、ユーザインタフェース装置11における表示操作画面6の一例を示す図である。
ユーザインタフェース装置11は、検査対象入力部111、欠陥位置入力部112、検査条件表示部113、検査ポイント表示部114を含んだ表示操作画面6を表示する。
FIG. 4 is a diagram showing an example of the display operation screen 6 in the
The
検査対象入力部111は、検査対象の製品情報を入力する部位であり、表示操作画面6のペイン(Pane)として表示される。ここでペインとは、画面を複数の表示領域に分割して使用する表示方式における、分割された個々の表示領域のことである。検査対象入力部111には、不良品個体番号テキストボックス1111と、製品番号テキストボックス1112とが表示されている。不良品個体番号テキストボックス1111には、“A-000001”が入力されている。製品番号テキストボックス1112には、“p00001”が入力されている。ここで入力された情報は、図3に示す不良品情報テーブル1521に格納される。
The inspection
欠陥位置入力部112は、不良品の欠陥の位置を入力する部位である。操作者が欠陥位置入力部112に表示された製品モデルの表面の何れかをクリックすることで、この製品において頻出する欠陥の位置を指定することができる。
The defect
検査条件表示部113は、検査条件をグラフに表示する部位である。このグラフの縦軸は撮像方向を示し、横軸は照明方向を示している。
The inspection
検査ポイント表示部114には、検査ポイントの位置1141~1144がコンピュータグラフィックの製品画像の周囲に表示される。検査ポイント表示部114は、これら検査ポイントの位置1141~1144を生成する。また、検査ポイント表示部114は、ユーザが検査ポイントの位置1141~1144の何れかをクリックする操作により、対応する検査ポイントから検査可能な製品表面領域を、この製品画像上に重畳表示する。ここでは位置1141がユーザによってクリックされているので、位置1141の検査ポイントから検査可能な製品表面領域が、濃いハッチングによって表示されている。
In the inspection
図5は、検査条件算出装置12において不良品の位置・姿勢をもとに製品5を撮影し、検査条件を求める処理を示すフローチャートである。
検査条件算出部121は、ステップS10~S18における処理を、全ての不良品について繰り返す。これら不良品には、製品について発生する欠陥が含まれている。
FIG. 5 is a flow chart showing a process in which the inspection
The inspection
ステップS11において、検査条件算出部121は、この不良品の製品番号jと不良品個体番号i、欠陥の位置・姿勢情報A0を、不良品情報記憶部152から取得する。検査条件算出部121は、製品に係る複数の不良品の欠陥の位置を取得する取得手段として機能する。
検査条件算出部121は、ステップS12~S16における処理を、撮像方向と欠陥の法線の成す角度αを0度から+90度まで刻み幅Δαとして独立して動かし、照明方向と欠陥の法線の成す角度βを0度から+90度まで刻み幅Δβとして独立して動かす。つまり検査条件算出部121は、これら撮像方向と照明方向の全ての組み合わせについて処理を繰り返す。ここで欠陥の法線とは、製品をポリゴン(多面体)で表したとき、この欠陥を含むファセット(面)の法線のことをいう。
In step S11, the inspection
The inspection
図6Aは、撮像方向の角度αと、照明方向の角度βとの組み合わせを示す図である。
ファセット51は、製品を多面体で表したときのファセット(面)であり、かつ欠陥位置のファセットでもある。法線npは、このファセット51の法線であり、かつ欠陥の法線でもある。
FIG. 6A is a diagram showing combinations of the imaging direction angle α and the illumination direction angle β.
The
ファセット51からカメラ141へのベクトルは、撮像方向である。ここでは各撮像方向を、カメラ141へのベクトルで示している。実線で示したカメラ141は、現在の撮像方向を示している。破線で示したカメラ141は、過去または将来の撮像方向を示している。法線npと現在の撮像方向とが成す角度は、αである。撮像方向の角度の刻み幅は、Δαである。検査条件算出部121は、撮像方向と欠陥の法線の成す角度αを0度から+90度まで刻み幅Δαとして動かす。
The vector from
ファセット51から照明142へのベクトルは、照明方向である。ここでは各照明方向を、照明142へのベクトルで示している。実線で示した照明142は、現在の照明方向を示している。破線で示した照明142は、過去または将来の照明方向を示している。照明方向の角度の刻み幅は、Δβである。法線npと現在の照明方向とが成す角度は、βである。検査条件算出部121は、照明方向と欠陥の法線の成す角度βを-90度から+90度まで刻み幅Δβとして動かす。そして検査条件算出部121は、撮像方向と照明方向の全ての組み合わせについて検査する。
The vector from the
図6Bは、次の撮像方向の角度αと、照明方向の角度βとの組み合わせを示す図である。
この図6Bにおいて、検査条件算出部121は、照明142の方向を固定したまま、撮像方向と欠陥の法線の成す角度αを刻み幅Δαだけ増加させ、次の撮像方向を算出して組み合わせている。
その後、検査条件算出部121は、或る照明方向と全ての撮像方向とを組み合わせると、照明方向と欠陥の法線の成す角度βを刻み幅Δβだけ増加させる。このようにして、検査条件算出部121は、撮像方向と照明方向の組み合わせのうち、欠陥検査が可能な範囲を決定する。
FIG. 6B is a diagram showing the combination of the imaging direction angle α and the illumination direction angle β.
In FIG. 6B, the inspection
After that, when the inspection
図5に戻り説明を続ける。ステップS13において、検査条件算出部121は、欠陥が画像中心に写る場合のカメラ141の位置および姿勢を算出する。カメラ141が画像中心に欠陥を撮影する場合とは、カメラ141が欠陥に正対する場合である。本ステップでは、欠陥に正対するカメラ141の位置・姿勢をPc(α)とし、以下の式(1)で算出する。
欠陥に正対する照明142の位置・姿勢をPl(β)とし、以下の式(2)で算出する。
The position and orientation of the light 142 facing the defect is denoted as P l (β) and calculated by the following equation (2).
なお、αは、撮像方向と欠陥の法線npのなす角度であり、カメラ141の光軸の入射角である。βは、照明方向と欠陥の法線npのなす角度であり、照明142の光線の入射角である。Dcは、カメラ141から製品5までの距離であり、カメラ141の仕様として規定される。Dlは、照明142から製品5までの距離であり、照明142の仕様として規定される。
Here, α is the angle between the imaging direction and the normal np of the defect, and is the angle of incidence of the optical axis of the
ステップS14において、検査条件算出部121は、この姿勢におけるマニピュレータ143,144の関節角を導出する。すなわち、検査条件算出部121は、カメラ141が所与の撮像方向となるときのマニピュレータ143の関節角を導出し、照明142が所与の照明方向となるときのマニピュレータ144の関節角を導出する。
In step S14, the inspection
図8に示すマニピュレータ143の各関節角をθ(=[θ0,θ1,…,θn])としたとき、マニピュレータ143の順運動学は式(3)で記述される。
なお、Jn(Θ)は、各関節の回転による姿勢変換を表す拡大行列である。Wは、マニピュレータ143に設定された座標系における製品5の姿勢を表す拡大行列である。なお、図8中の太破線矢印は、各姿勢変換を表す。
Here, J n (Θ) is an augmented matrix representing the posture transformation caused by the rotation of each joint, and W is an augmented matrix representing the posture of the product 5 in the coordinate system set in the
この順運動学を、一般的な手法を用いて逆運動学に変換することで、所与の撮像方向で製品5を撮影するための、マニピュレータ143の各関節角を求めることができる。製品5を照明するための、マニピュレータ144の各関節角も同様にして求めることができる。
By converting this forward kinematics into inverse kinematics using a common technique, it is possible to determine the joint angles of the
ステップS15において、検査条件算出部121は、上記姿勢になるよう、ステップS13で求めた関節角になるようマニピュレータ143,144をそれぞれ動作させ、欠陥を中心に捉えて製品5を撮影する。
In step S15, the inspection
検査条件算出部121は、撮影装置14を制御して、様々な撮像方向・照明方向で欠陥を中心に捉えつつ、製品5を撮影した画像群を得る。
The inspection
ステップS16において、検査条件算出部121は、撮像方向と照明方向の全ての組み合わせについて処理を繰り返していなかったならば、ステップS12に戻る。検査条件算出部121は、撮像方向と照明方向の全ての組み合わせについて処理を繰り返していたならば、ステップS17に進む。
In step S16, if the inspection
ステップS17において、検査条件算出部121は、撮影した各画像による欠陥検査の可否(検査結果)を判定し、この欠陥検査の可否と撮影時の撮像方向および照明方向の組み合わせの情報とを紐付けることで検査条件を求める。手順の詳細を以下に示す。なお、以下の手順では、検査条件Cjiは、欠陥検査可能と欠陥検査不能の二値で表現され、各撮像方向に対応する水平方向のピクセル位置wと鉛直方向のピクセル位置hは、以下の式(4)と式(5)で求めるものとする。
検査条件算出部121は、撮像方向と欠陥の法線の成す角α0、照明方向と欠陥の法線の成す角β0において撮影した画像において、画像の中心に存在する欠陥の輝度bd0と、欠陥近傍の輝度bs0を比較する。検査条件算出部121は、この差が一定値bc以上であった場合には検査可能と判定し、この差が一定値bc未満であった場合には検査不能と判定する。検査条件算出部121は、欠陥とその近傍の画像の輝度差により、撮影時の撮像方向および照明方向の組み合わせの検査可否を判定し、検査条件を求めることができる。
欠陥が検査可能であった場合、α0、β0に対応する検査条件Cji(w0,h0)を、式(6)のように定める。
If the defect is inspectable, the inspection condition C ji (w 0 , h 0 ) corresponding to α 0 and β 0 is determined as shown in equation (6).
ステップS18において、検査条件算出部121は、上記処理を、製品番号jに属する全ての不良品個体(個体番号i)について繰り返したか否かを判定する。検査条件算出部121は、処理されていない不良品個体があったならば、ステップS10に戻り、全ての不良品個体について処理したならば、ステップS19に進む。
In step S18, the inspection
ステップS19において、検査条件算出部121は、製品番号jに属する全ての不良品個体(個体番号i)に対して処理を行い、不良品の検査条件Cjiを求める。そして、検査条件算出部121は、製品番号jに属する不良品の検査条件Cjiの積集合条件を製品番号jの検査条件Cjとする。積集合条件とは、複数の検査条件の集合の論理積をとったものであり、下の式(7)で定義される。
図7Aから図7Cに積集合条件の説明を示す。図7Aから図7Cに開示される例において、点枠内は検査条件の調査範囲、すなわち積集合画像における境界を表し、灰色ハッチング部は検査条件を表す。 Figures 7A to 7C show an explanation of the intersection condition. In the examples shown in Figures 7A to 7C, the dotted box represents the investigation range of the inspection condition, i.e., the boundary in the intersection image, and the gray hatched area represents the inspection condition.
図7Aの矩形は撮像方向と照明方向の空間3を示し、ハッチング部は、或る製品に係る不良品Aにおける検査条件3aを示している。図7Bのハッチング部は、同一の製品に係る他の不良品Bにおける検査条件3bを示している。この時、図7Cの灰色ハッチング部に示す不良品AおよびBの積集合条件3cは、不良品Aに存在する欠陥と不良品Bに存在する欠陥のうちいずれであっても検査が可能な撮像方向および照明方向の条件を表す。図7Cの破線で囲まれた検査条件3dは、不良品Aに存在する欠陥または不良品Bに存在する欠陥の何れか1つ以上の検査が可能な撮像方向および照明方向の条件を表す。 The rectangle in Figure 7A indicates the space 3 of the imaging direction and lighting direction, and the hatched portion indicates the inspection condition 3a for defective product A of a certain product. The hatched portion in Figure 7B indicates the inspection condition 3b for another defective product B of the same product. In this case, the intersection condition 3c of defective products A and B shown in the gray hatched portion in Figure 7C represents the imaging direction and lighting direction conditions that allow inspection of either the defects present in defective product A or the defects present in defective product B. Inspection condition 3d surrounded by a dashed line in Figure 7C represents the imaging direction and lighting direction conditions that allow inspection of one or more of the defects present in defective product A or the defects present in defective product B.
検査条件算出部121は、このようにして得られた検査条件Cjを、検査条件記憶部153に出力する。全ての撮像方向と照明方向の組み合わせからなる空間3のうち、積集合条件3cに限定して検査することで、カメラ141の撮影回数とマニピュレータの動作回数とを限定するので、検査条件算出部121は、既知の不良品の欠陥を迅速に検査可能となる。
The inspection
図5に戻り説明を続ける。検査条件算出部121は、ステップS19の処理を終了すると、図5の処理を終了する。
図5の処理において、検査条件算出部121は、欠陥の検査可否の境界における輝度を、欠陥の輝度の閾値としている。これにより、製品が明確に明るく写る箇所における輝度を欠陥の輝度の閾値とした場合よりも、1枚の撮影画像が検査条件を満たす範囲を広くすることができる。
Returning to Fig. 5, the description will continue. When the inspection
5, the inspection
なお、図5の処理において、検査条件算出部121は、実際に不良品を撮像して欠陥位置に基づいて、検査条件を算出しているが、仮想的に不良品の撮像をシミュレーションして、入力された欠陥位置に基づいて検査条件を算出してもよい。
In the process of FIG. 5, the inspection
図9Aと図9Bは、検査ポイント列算出装置13での処理のフローチャートである。
ステップS30において、検査ポイント列算出装置13は、検査対象記憶部151に記憶された製品番号jを1つ選び、その製品番号jにおける製品形状データMおよび検査条件Cjを取得する。
9A and 9B are flowcharts of the process in the inspection point
In step S30, the inspection point
ステップS31において、検査ポイント列算出装置13は、製品形状データMの中心と中心を同じくし、製品形状データMを包含する球上にカメラや照明を様々に配置し、検査ポイント集合を算出する。球の中心、つまり製品形状データMの中心は、製品形状データMを構成する頂点を包含するAABB(Axis-aligned bounding box)の中心として求める。点集合に対するAABBの求め方を、以下にて説明する。検査ポイント列算出装置13は、まず、点の集合において各軸の最大値、最小値を求める。次に、頂点の座標が前記各軸の最大値ないし最小値となる直方体を求める。製品形状データMを包含する球は、このようにして求めたAABBの中心を中心とし、カメラ141や照明142の既定の作動距離を半径とする球として求める。
In step S31, the inspection point
図10を用いて、製品形状データMに対するカメラ141や照明142の位置及び姿勢を求める処理を説明する。図10において、a,bは角度パラメータであり、ある直交座標系において、3軸をそれぞれx軸、y軸、z軸としたとき、aはy軸中心の回転角(ピッチ角)、bはz軸中心の回転角(ヨー角)をそれぞれ表す。
The process of determining the position and orientation of the
図10におけるカメラ141の位置・姿勢を表現する拡大行列Pc(a,b)を式(8)で定義する。
カメラ141の姿勢を表現する3×3行列Tc(a,b)を式(9)で定義する。
カメラ141の位置を表現する三次元ベクトルpc(a,b)を式(10)で定義する。
以上のカメラ141の位置・姿勢設定と同様に、ピッチ角cとヨー角dを用いて、照明142の位置・姿勢を表現する拡大行列Pl(c,d)を式(11)で定義する。
照明142の姿勢を表現する3×3行列Tl(c,d)を式(12)で定義する。
照明142の位置を表現する三次元ベクトルpl(c,d)を以下の式(13)で定義する。
以上の式に従い、カメラ141のピッチ角aと照明142のピッチ角cを0度から90度まで一定刻みで与え、カメラ141のヨー角bと照明142のヨー角dを0度から360度まで一定刻みで与える。これにより、製品5を包含する球上に、複数の検査ポイントを自動で算出することができる。
According to the above formula, the pitch angle a of the
図9Aに戻り説明を続ける。検査ポイント列算出装置13は、ステップS32~S35において、算出した検査ポイントについて繰り返す。
ステップS33において、検査ポイント列算出装置13は、算出した検査ポイントから無作為に1つ選んだ検査ポイントについて、カメラ141の位置・姿勢をPc(a0,b0)、照明142の位置・姿勢をPl(c0,d0)とする。本処理では、Pc,Plで定義される検査ポイントに対し、撮像方向および照明方向を求めたうえで検査可能なファセットを求める。ここでファセットとは、製品形状データMをポリゴン(多面体)で表した場合の各面のことをいう。
Returning to Fig. 9A, the inspection point
In step S33, the inspection point
ここで、検査可能なファセットを求める処理について説明する。検査ポイント列算出装置13は、製品形状データMからファセットfを選ぶ。このファセットfの撮像方向は、カメラ141の位置からファセットfの重心へ向かうベクトルである。そしてファセットfの照明方向は、照明142の位置からファセットfの重心へ向かうベクトルである。これにより、検査ポイント列算出装置13は、カメラ141の光軸の入射角αfと照明142の光線の入射角βfとを定める。撮像方向と、照明方向と、ファセットの3者の関係を図11に示す。このとき、カメラ141の光軸の入射角αfは、式(14)で定義される。
照明142の光線の入射角βfは、式(15)で定義される。
なお、式(14)と式(15)において、n(f)はfの単位法線ベクトルである。g(f)はfの重心の位置ベクトルである。N(v)はベクトルvの単位ベクトルである。検査ポイント列算出装置13は、これらのカメラ141の光軸の入射角αf、照明142の光線の入射角βfについて、検査条件におけるピクセル座標wf、hfを求める。この時、検査ポイント列算出装置13は、ステップS30で取得した検査条件Cj(wf、hf)が1ならば、そのファセットを検査可能とする。検査ポイント列算出装置13は、以上の処理を全ファセットについて繰り返し、そのファセットの検査可否を得る。このように、検査条件Cj(wf、hf)によってファセットが検査可能か否かを判定することで、検査対象であるファセットの集合を算出して絞り込む。ここで検査対象であるファセットの集合を検査可能ファセットに絞り込む理由は、ステップS34において、マニピュレータ143,144が製品5の検査可能ファセットを遮蔽しないものを抽出するためである。
In addition, in formula (14) and formula (15), n(f) is a unit normal vector of f. g(f) is a position vector of the center of gravity of f. N(v) is a unit vector of vector v. The inspection point
図9Aに戻り説明を続ける。ステップS34において、検査ポイント列算出装置13は、カメラ141の位置・姿勢Pcに合致するマニピュレータ143の姿勢を算出し、照明142の位置・姿勢Plに合致するマニピュレータ144の姿勢を算出する。
9A , in step S34, the inspection point
ここで得られたマニピュレータ143,144の姿勢について、カメラ141ないし照明142と製品形状データMの検査可能ファセットを結ぶ線分と、マニピュレータ143,144とが交点を持つ場合、その検査点は、製品5の検査可能ファセットがマニピュレータ143,144によって遮蔽されるため、検査ポイントから除外する。すなわち、検査ポイント列算出手段は、製品5を包含する球上の検査ポイントのうちマニピュレータ143,144が製品5の検査可能ファセットを遮蔽しないものを抽出する。なお、マニピュレータ143,144が、所定のロボット姿勢をとったときに製品5のファセットを遮蔽したとしても、それが検査不能なファセットならば、そのロボット姿勢は問題とならない。これにより、ロボット姿勢の自由度が向上し、ロボットの姿勢変換コストをより低減可能となる。
For the postures of the
検査ポイント列算出装置13は、ステップS35において、算出した検査ポイントの処理を全て繰り返したならば、ステップS36に進み、未処理の検査ポイントがあったならば、ステップS32に戻る。
When the inspection point
ステップS36において、検査ポイント列算出装置13は、ファセット集合Sを全検査ポイントから検査可能な領域とする。全検査ポイントから検査可能な領域は、ある検査ポイントui(i=0,1,2,…)で検査可能なファセット集合Fuiを用いて、以下の式(16)で定義される。
以下のステップS37~S41までの処理を、図12Aから図12Dを用いて説明する。ある検査ポイントuiについて、ファセット集合Sに含まれるファセット内で検査可能なファセット集合F´uiは、以下の式(17)で求められる。
ステップS37において、検査ポイント列算出装置13は、これをすべての検査ポイントui(i=0,1,2,…)について求める。得られたファセット集合F´uiに含まれるファセットの総面積が最大のものを、検査ポイント列に追加する。なお、検査ポイント列の初期値は、空である。
図12Aに、ファセット集合Sが全検査ポイントから検査可能な領域であるときにおける、検査ポイントu0におけるファセット集合F´u0を開示する。
図12Bに、ファセット集合Sが全検査ポイントから検査可能な領域であるときにおける、検査ポイントu1におけるファセット集合F´u1を開示する。
図12Cに、ファセット集合Sが全検査ポイントから検査可能な領域であるときにおける、検査ポイントu2におけるファセット集合F´u2を開示する。
図12Bに示すように、図12Aから図12Cに開示される例ではF´u1の要素数が最大であるため、この例では検査ポイントu1が検査ポイント列に追加される。
In step S37, the inspection point
FIG. 12A discloses a facet set F'u0 at an inspection point u0 when a facet set S is an area that can be inspected from all inspection points.
FIG. 12B discloses a facet set F′u 1 at an inspection point u 1 when the facet set S is an area that can be inspected from all inspection points.
FIG. 12C discloses a facet set F′u 2 at an inspection point u 2 when the facet set S is an area that can be inspected from all inspection points.
As shown in FIG. 12B, in the example disclosed in FIGS. 12A to 12C, since F′u 1 has the largest number of elements, in this example, check point u 1 is added to the check point string.
検査ポイント列算出装置13は、ステップS38~S41の処理を、ファセット集合Sが空集合になるまで繰り返す。
ステップS39において、検査ポイント列算出装置13は、検査ポイント列末尾の検査ポイントujから他の検査ポイントukに移動する際の姿勢変換コストf(uj,uk)が最少となる検査ポイント列を求める。ここで、ファセット集合F´uiの総面積をA(F´ui)とするとき、姿勢変換コストfは、式(18)で求められる。
In step S39, the inspection point
ただし、ω(uj,uk)は、検査ポイントujからukにマニピュレータを動作させるときにおける各ジョイントの回転量の最大値である。各ジョイントの回転速度が所定値であると仮定すると、各ジョイントの回転量は、ロボットの姿勢変換の時間に比例する。
ステップS40において、検査ポイント列算出装置13は、ファセット集合Sを、以下の式(19)に従い更新する。
In step S40, the inspection point
更新されたファセット集合Sの例を図12Dに示す。図12Dにおけるファセット集合Sは、図12Aから図12Cに開示される検査ポイントから検査可能な全ファセットの集合Sから、図12Bに開示される検査ポイントu1から検査可能なファセットの集合F´u1に含まれる集合の差を算出したものである。また、図12DにおけるF´u0とは、図12Dにおけるファセット集合Sと、検査ポイントu0から検査可能なファセット集合F´u0との論理積を算出したものである。 An example of the updated facet set S is shown in Fig. 12D. The facet set S in Fig. 12D is obtained by calculating the difference between the set S of all facets that can be inspected from the inspection points disclosed in Fig. 12A to Fig. 12C and the set included in the set F'u1 of facets that can be inspected from the inspection point u1 disclosed in Fig. 12B. Also, F'u0 in Fig. 12D is obtained by calculating the logical product of the facet set S in Fig. 12D and the facet set F'u0 that can be inspected from the inspection point u0 .
図9Bの説明に戻る。ステップS41において、検査ポイント列算出装置13は、ファセット集合Sが空集合になるまで処理を繰り返したならば、ステップS42に進み、ファセット集合Sが空集合でなければ、ステップS38に戻る。
Returning to the explanation of FIG. 9B, in step S41, if the inspection point
ステップS41において、検査ポイント列算出装置13は、ステップS38~S41のループ処理にて求めた検査ポイント列中の検査ポイントについて、RRT(rapidly-exploring random tree)法などを用いて検査ポイント列を経由するロボット動作を最適化する。すなわら、検査ポイント列算出装置13は、製品5の形状データを構成するファセットのうち、検査条件を満たす撮像方向および照明方向から検査可能な集合を作成し、最少の姿勢変換コストで集合を検査可能な検査ポイント列を算出する。
その後、検査ポイント列算出装置13は、得られた検査ポイント列ならびにロボット動作を出力すると、図9Bの処理を終了する。
In step S41, the inspection point
Thereafter, the inspection point
以上に開示するように、外観検査準備システム1は、不良品の実検査データに基づき、見逃しなく欠陥を検査可能な検査条件を設定し、この検査条件に基づき検査ポイント列を自動生成する。これにより、外観検査準備システム1は、最少の撮影回数で製品5を検査可能な検査ポイント列を自動生成して、製品の外観検査を準備する。この検査ポイント列により、製品の外観検査を好適に実施可能である。 As disclosed above, the visual inspection preparation system 1 sets inspection conditions that enable inspection of defects without overlooking them based on actual inspection data of defective products, and automatically generates an inspection point sequence based on this inspection condition. In this way, the visual inspection preparation system 1 automatically generates an inspection point sequence that enables inspection of the product 5 with the minimum number of photographs, and prepares for visual inspection of the product. This inspection point sequence makes it possible to optimally carry out visual inspection of the product.
(変形例)
本発明は上記した実施形態に限定されるものではなく、様々な変形例が含まれる。例えば上記した実施形態は、本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。ある実施形態の構成の一部を他の実施形態の構成に置き換えることが可能であり、ある実施形態の構成に他の実施形態の構成を加えることも可能である。また、各実施形態の構成の一部について、他の構成の追加・削除・置換をすることも可能である。
(Modification)
The present invention is not limited to the above-described embodiment, and includes various modified examples. For example, the above-described embodiment has been described in detail to clearly explain the present invention, and is not necessarily limited to those having all of the configurations described. It is possible to replace a part of the configuration of one embodiment with the configuration of another embodiment, and it is also possible to add the configuration of another embodiment to the configuration of one embodiment. In addition, it is also possible to add, delete, or replace a part of the configuration of each embodiment with another configuration.
上記の各構成、機能、処理部、処理手段などは、それらの一部または全部を、例えば集積回路などのハードウェアで実現してもよい。上記の各構成、機能などは、プロセッサがそれぞれの機能を実現するプログラムを解釈して実行することにより、ソフトウェアで実現してもよい。各機能を実現するプログラム、テーブル、ファイルなどの情報は、メモリ、ハードディスク、SSD(Solid State Drive)などの記録装置、または、フラッシュメモリカード、DVD(Digital Versatile Disk)などの記録媒体に置くことができる。 The above configurations, functions, processing units, processing means, etc. may be realized in part or in whole by hardware such as an integrated circuit. The above configurations, functions, etc. may be realized by software by a processor interpreting and executing a program that realizes each function. Information such as the programs, tables, and files that realize each function can be stored in a recording device such as a memory, a hard disk, or an SSD (Solid State Drive), or on a recording medium such as a flash memory card or a DVD (Digital Versatile Disk).
各実施形態に於いて、制御線や情報線は、説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。実際には、殆ど全ての構成が相互に接続されていると考えてもよい。 In each embodiment, the control lines and information lines are those that are considered necessary for the explanation, and not all control lines and information lines in the product are necessarily shown. In reality, it can be considered that almost all components are interconnected.
本発明の変形例として、例えば、次の(a)~(b)のようなものがある。
(a) 撮影装置は、カメラを固定し、第一マニピュレータで照明を把持して駆動し、第二マニピュレータで製品を把持/運搬することで、製品に対する相対的な撮像方向と照明方向を変える構成であってもよい。かかる変形例において、照明を駆動する第一マニピュレータの関節角度および製品を把持/運搬する第二マニピュレータの関節角度の組み合わせが、検査ポイント列である。
(b) 撮影装置は、照明を固定し、第一マニピュレータでカメラを把持して駆動し、第二マニピュレータで製品を把持/運搬することで、製品に対する相対的な撮像方向と照明方向を変える構成であってもよい。かかる変形例において、カメラを駆動する第一マニピュレータの関節角度および製品を把持/運搬する第二マニピュレータの関節角度の組み合わせが、検査ポイント列である。
As modified examples of the present invention, for example, the following (a) and (b) are available.
(a) The imaging device may be configured to change the imaging direction and lighting direction relative to the product by fixing the camera, gripping and driving the lighting with a first manipulator, and gripping/carrying the product with a second manipulator. In such a modified example, a combination of the joint angle of the first manipulator that drives the lighting and the joint angle of the second manipulator that grips/carries the product is the inspection point sequence.
(b) The imaging device may be configured to change the imaging direction and the illumination direction relative to the product by fixing the illumination, gripping and driving the camera with a first manipulator, and gripping/carrying the product with a second manipulator. In such a modified example, the combination of the joint angle of the first manipulator that drives the camera and the joint angle of the second manipulator that grips/carries the product is the inspection point sequence.
1 外観検査準備システム (外観検査準備装置)
11 ユーザインタフェース装置
111 検査対象入力部
1111 不良品個体番号テキストボックス
1112 製品番号テキストボックス
112 欠陥位置入力部
113 検査条件表示部
114 検査ポイント表示部
1141 位置
12 検査条件算出装置 (検査条件算出手段)
121 検査条件算出部
13 検査ポイント列算出装置 (検査ポイント列算出手段)
14 撮影装置
141 カメラ
142 照明
143,144 マニピュレータ
145 検査ステージ
15 記憶装置
151 検査対象記憶部
152 不良品情報記憶部
1521 不良品情報テーブル
153 検査条件記憶部
154 検査ポイント列記憶部
5 製品
6 表示操作画面
61 不良品情報入力ペイン
611 不良品個体番号
612 製品番号テキストボックス
613 欠陥位置情報テキストボックス
62 検査条件ペイン
63 検査ポイントペイン
631 検査ポイント
1. Visual inspection preparation system (visual inspection preparation device)
11
121 Inspection
14 Photographing
Claims (9)
前記欠陥の位置に基づき、前記欠陥を検査するロボットの検査条件であるカメラによる撮像方向および照明による照明方向を出力する検査条件算出手段と、
前記検査条件および前記製品の形状データをもとに、前記検査条件の撮像方向を満たすように前記カメラを駆動するマニピュレータの関節角度、および前記検査条件の照明方向を満たすように前記照明を駆動するマニピュレータの関節角度の組み合わせである検査ポイント列を算出する検査ポイント列算出手段と、
を有することを特徴とする外観検査準備装置。 An acquisition means for acquiring positions of defects of a plurality of defective products related to the product;
an inspection condition calculation means for outputting an imaging direction by a camera and an illumination direction by lighting, which are inspection conditions of a robot that inspects the defect, based on the position of the defect;
an inspection point sequence calculation means for calculating an inspection point sequence which is a combination of joint angles of a manipulator that drives the camera so as to satisfy the imaging direction of the inspection conditions and joint angles of a manipulator that drives the lighting so as to satisfy the lighting direction of the inspection conditions, based on the inspection conditions and the shape data of the product;
A visual inspection preparation device comprising:
前記欠陥の位置に基づき、前記欠陥を検査するロボットの検査条件であるカメラによる撮像方向および照明による照明方向を出力する検査条件算出手段と、
前記検査条件および前記製品の形状データをもとに、固定したカメラに対して、前記検査条件の撮像方向を満たすように前記製品を把持するマニピュレータの関節角度、および前記検査条件の照明方向を満たすように前記照明を駆動するマニピュレータの関節角度の組み合わせである検査ポイント列を算出する検査ポイント列算出手段と、
を有することを特徴とする外観検査準備装置。 An acquisition means for acquiring positions of defects of a plurality of defective products related to the product;
an inspection condition calculation means for outputting an imaging direction by a camera and an illumination direction by lighting, which are inspection conditions of a robot that inspects the defect, based on the position of the defect;
an inspection point sequence calculation means for calculating, based on the inspection conditions and the shape data of the product, an inspection point sequence which is a combination of joint angles of a manipulator that grips the product with respect to a fixed camera so as to satisfy the imaging direction of the inspection conditions, and joint angles of a manipulator that drives the lighting so as to satisfy the lighting direction of the inspection conditions;
A visual inspection preparation device comprising:
前記欠陥の位置に基づき、前記欠陥を検査するロボットの検査条件であるカメラによる撮像方向および照明による照明方向を出力する検査条件算出手段と、
前記検査条件および前記製品の形状データをもとに、固定した照明に対して、前記検査条件の照明方向を満たすように前記製品を把持するマニピュレータの関節角度、および前記検査条件の撮像方向を満たすように前記カメラを駆動するマニピュレータの関節角度の組み合わせである検査ポイント列を算出する検査ポイント列算出手段と、
を有することを特徴とする外観検査準備装置。 An acquisition means for acquiring positions of defects of a plurality of defective products related to the product;
an inspection condition calculation means for outputting an imaging direction by a camera and an illumination direction by lighting, which are inspection conditions of a robot that inspects the defect, based on the position of the defect;
an inspection point sequence calculation means for calculating, based on the inspection conditions and shape data of the product, an inspection point sequence which is a combination of joint angles of a manipulator that grips the product and satisfies the lighting direction of the inspection conditions with respect to fixed lighting, and joint angles of a manipulator that drives the camera and satisfies the imaging direction of the inspection conditions;
A visual inspection preparation device comprising:
ことを特徴とする請求項1から3のうち何れか1項に記載の外観検査準備装置。 the inspection condition calculation means sets a threshold value of defect brightness as a brightness at a boundary between whether or not a defect can be inspected;
4. The visual inspection preparation device according to claim 1, wherein the visual inspection preparation device is a device for performing visual inspection.
ことを特徴とする請求項1から3のうち何れか1項に記載の外観検査準備装置。 the inspection condition calculation means calculates, as the inspection condition, a product set of conditions under which the defect can be inspected;
4. The visual inspection preparation device according to claim 1, wherein the visual inspection preparation device is a device for performing visual inspection.
ことを特徴とする請求項1から3のうち何れか1項に記載の外観検査準備装置。 the inspection point sequence calculation means calculates inspection points on a sphere including the product that meet the inspection conditions;
4. The visual inspection preparation device according to claim 1, wherein the visual inspection preparation device is a device for performing visual inspection.
ことを特徴とする請求項6に記載の外観検査準備装置。 the inspection point sequence calculation means extracts inspection points on a sphere that encompasses the product, the inspection points being such that the manipulator does not obstruct any inspectable facet of the product;
7. The visual inspection preparation device according to claim 6.
ことを特徴とする請求項1から3のうち何れか1項に記載の外観検査準備装置。 the inspection point sequence calculation means creates a set of facets that can be inspected from an imaging direction and an illumination direction that satisfy the inspection conditions, from among the facets that constitute the shape data of the product, and calculates an inspection point sequence that can inspect the set with a minimum posture conversion cost.
4. The visual inspection preparation device according to claim 1, wherein the visual inspection preparation device is a device for performing visual inspection.
前記欠陥の位置に基づき、前記欠陥を検査するロボットの検査条件であるカメラによる撮像方向および照明による照明方向を出力するステップと、
前記検査条件をおよび前記製品の形状データをもとに、前記検査条件の撮像方向を満たすように前記カメラを駆動するマニピュレータの関節角度、および前記検査条件の照明方向を満たすように前記照明を駆動するマニピュレータの関節角度の組み合わせである検査ポイント列を算出するステップと、
を有することを特徴とする外観検査準備方法。 obtaining defect locations for a plurality of defective items associated with the product;
outputting an imaging direction by a camera and an illumination direction by lighting, which are inspection conditions of a robot that inspects the defect, based on the position of the defect;
calculating an inspection point sequence, which is a combination of joint angles of a manipulator that drives the camera so as to satisfy the imaging direction of the inspection conditions and joint angles of a manipulator that drives the lighting so as to satisfy the lighting direction of the inspection conditions, based on the inspection conditions and shape data of the product;
A method for preparing for visual inspection, comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020141698A JP7494652B2 (en) | 2020-08-25 | 2020-08-25 | Apparatus and method for preparing for visual inspection |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020141698A JP7494652B2 (en) | 2020-08-25 | 2020-08-25 | Apparatus and method for preparing for visual inspection |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022037516A JP2022037516A (en) | 2022-03-09 |
| JP7494652B2 true JP7494652B2 (en) | 2024-06-04 |
Family
ID=80494761
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020141698A Active JP7494652B2 (en) | 2020-08-25 | 2020-08-25 | Apparatus and method for preparing for visual inspection |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7494652B2 (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012514193A (en) | 2008-12-24 | 2012-06-21 | スネクマ | Non-destructive inspection method for machine parts |
| JP2015135253A (en) | 2014-01-16 | 2015-07-27 | アイシン精機株式会社 | Defect inspection equipment |
| JP2019045330A (en) | 2017-09-04 | 2019-03-22 | 日本電産コパル株式会社 | Visual inspection device and product manufacturing system |
| JP2019109563A (en) | 2017-12-15 | 2019-07-04 | オムロン株式会社 | Data generation device, data generation method, and data generation program |
| JP2020051806A (en) | 2018-09-25 | 2020-04-02 | 株式会社豊田中央研究所 | Optical arrangement generating apparatus, optical arrangement generating program, optical arrangement generating method, and surface inspection system |
| JP2020106295A (en) | 2018-12-26 | 2020-07-09 | 東レ株式会社 | Sheet defect inspection device |
-
2020
- 2020-08-25 JP JP2020141698A patent/JP7494652B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012514193A (en) | 2008-12-24 | 2012-06-21 | スネクマ | Non-destructive inspection method for machine parts |
| JP2015135253A (en) | 2014-01-16 | 2015-07-27 | アイシン精機株式会社 | Defect inspection equipment |
| JP2019045330A (en) | 2017-09-04 | 2019-03-22 | 日本電産コパル株式会社 | Visual inspection device and product manufacturing system |
| JP2019109563A (en) | 2017-12-15 | 2019-07-04 | オムロン株式会社 | Data generation device, data generation method, and data generation program |
| JP2020051806A (en) | 2018-09-25 | 2020-04-02 | 株式会社豊田中央研究所 | Optical arrangement generating apparatus, optical arrangement generating program, optical arrangement generating method, and surface inspection system |
| JP2020106295A (en) | 2018-12-26 | 2020-07-09 | 東レ株式会社 | Sheet defect inspection device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022037516A (en) | 2022-03-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11164289B1 (en) | Method for generating high-precision and microscopic virtual learning resource | |
| JP5791976B2 (en) | Image processing apparatus, image processing method, and program | |
| CN110261406A (en) | Inspection system, setting device, image processing device, setting method and program | |
| EP1308902A2 (en) | Three-dimensional computer modelling | |
| JP7418639B2 (en) | Particle analysis data generation method, particle analysis data generation program, and particle analysis data generation device | |
| JP4395689B2 (en) | Image data processing method and modeling apparatus | |
| JP6392922B1 (en) | Apparatus for calculating region that is not subject to inspection of inspection system, and method for calculating region that is not subject to inspection | |
| CN111583388A (en) | Scanning method and device of three-dimensional scanning system | |
| JP7151873B2 (en) | inspection equipment | |
| JP7608398B2 (en) | ROBOT TEACHING DEVICE, VISUAL INSPECTION SYSTEM, ROBOT TEACHING METHOD AND PROGRAM | |
| CN115760907A (en) | A large space material tracking system, method, equipment and medium | |
| JP7494652B2 (en) | Apparatus and method for preparing for visual inspection | |
| US12450879B2 (en) | Data creation system, learning system, estimation system, processing device, evaluation system, data creation method, and program | |
| CN113472984B (en) | Image acquisition method, device, system, storage medium and equipment | |
| JP2022111539A (en) | Visual inspection preparation device, visual inspection preparation method, and automatic visual inspection device | |
| JP6822086B2 (en) | Simulation equipment, simulation method and simulation program | |
| JP7409199B2 (en) | Visual inspection route search method, inspection route search device for visual inspection robot, inspection route search program, and visual inspection robot | |
| JP7343336B2 (en) | Inspection support device and inspection support method | |
| Nguyen et al. | Towards high-throughput 3D insect capture for species discovery and diagnostics | |
| Beňo et al. | RGBD mapping solution for low-cost robot: P. Beňo et al. | |
| CN117911613A (en) | Dense reconstruction system, method, electronic device and storage medium | |
| JP2023169481A (en) | Learning data generation apparatus, learning system, and learning data generation method | |
| WO2022102524A1 (en) | Data creation system, learning system, estimation system, processing device, data creation method, and program | |
| BARON et al. | APPLICATION OF AUGMENTED REALITY TOOLS TO THE DESIGN PREPARATION OF PRODUCTION. | |
| JP5757157B2 (en) | Method, apparatus and program for calculating head position and axis direction for detection object |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230719 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240408 |
|
| 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: 20240423 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240506 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7494652 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |