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
JP7494652B2 - Apparatus and method for preparing for visual inspection - Google Patents
[go: Go Back, main page]

JP7494652B2 - Apparatus and method for preparing for visual inspection - Google Patents

Apparatus and method for preparing for visual inspection Download PDF

Info

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
Application number
JP2020141698A
Other languages
Japanese (ja)
Other versions
JP2022037516A (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.)
Proterial Ltd
Original Assignee
Proterial Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Proterial Ltd filed Critical Proterial Ltd
Priority to JP2020141698A priority Critical patent/JP7494652B2/en
Publication of JP2022037516A publication Critical patent/JP2022037516A/en
Application granted granted Critical
Publication of JP7494652B2 publication Critical patent/JP7494652B2/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

本発明は、製品の外観検査前に検査条件を設定するための外観検査準備装置および外観検査準備方法に関する。 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.

特開2007-248241号公報JP 2007-248241 A

一般的に、外観検査において欠陥を精度よく検出するためには、欠陥とその近傍のコントラストが良い画像を得られるよう、製品の表面の向きや対象とする欠陥に応じて撮像方向や照明方向を適切に調整する必要がある。 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 is a diagram showing an example of the configuration of a visual inspection preparation system according to an embodiment of the present invention; 欠陥を撮影する撮影装置の装置構成の一例を示す図である。FIG. 2 is a diagram illustrating an example of a device configuration of an imaging device that images a defect. 不良品情報テーブルの一例を示す図である。FIG. 13 is a diagram illustrating an example of a defective product information table. ユーザインタフェース装置における表示操作画面の一例を示す図である。FIG. 2 is a diagram showing an example of a display operation screen in the user interface device. 検査条件算出装置において不良品の位置・姿勢をもとに製品を撮影し、検査条件を求める処理を示すフローチャートである。13 is a flowchart showing a process of photographing a product based on the position and orientation of a defective product in an inspection condition calculation device and calculating inspection conditions. 撮像方向の角度と照明方向の角度の組み合わせを示す図である。FIG. 13 is a diagram showing combinations of the imaging direction angle and the lighting direction angle. 次の撮像方向の角度と照明方向の角度の組み合わせを示す図である。13A and 13B are diagrams illustrating the following combinations of imaging direction angles and lighting direction angles. 不良品Aの検査条件を説明する図である。FIG. 13 is a diagram for explaining the inspection conditions for defective product A. 不良品Bの検査条件を説明する図である。FIG. 13 is a diagram for explaining the inspection conditions for defective product B. 検査条件の積集合を説明する図である。FIG. 13 is a diagram for explaining a product set of inspection conditions. 撮影装置における準運動学を表す図である。FIG. 1 is a diagram showing the quasi-kinematics of an imaging device. 検査ポイント算出装置において、検査条件をもとに検査ポイントを最適化する処理を示すフローチャート(その1)である。11 is a flowchart (part 1) showing a process of optimizing inspection points based on inspection conditions in an inspection point calculation device. 検査ポイント算出装置において、検査条件をもとに検査ポイントを最適化する処理を示すフローチャート(その2)である。13 is a flowchart (part 2) showing a process of optimizing inspection points based on inspection conditions in the inspection point calculation device. 検査ポイント算出装置において、検査ポイントに係る姿勢を決める処理におけるパラメータおよびその検査ポイントにおけるカメラ姿勢を説明する図である。10A and 10B are diagrams illustrating parameters in a process for determining an attitude related to an inspection point and a camera attitude at the inspection point in an inspection point calculation device. 検査ポイント算出装置において、撮像方向と照明方向を説明する図である。1 is a diagram for explaining an imaging direction and an illumination direction in an inspection point calculation device. FIG. 第0検査ポイントから検査可能な領域を説明する図である。FIG. 13 is a diagram for explaining an area that can be inspected from the 0th inspection point. 第1検査ポイントから検査可能な領域を説明する図である。FIG. 13 is a diagram for explaining an area that can be inspected from a first inspection point. 第2検査ポイントから検査可能な領域を説明する図である。FIG. 13 is a diagram for explaining an area that can be inspected from a second inspection point. 2つの検査ポイントから検査可能な領域の論理和を説明する図である。FIG. 13 is a diagram for explaining the logical sum of areas that can be inspected from two inspection points.

以降、本発明を実施するための形態を、各図を参照して詳細に説明する。
図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 user interface device 11, an inspection condition calculation device 12, an inspection point sequence calculation device 13, an image capture device 14, and a storage device 15. This visual inspection preparation system 1 generates an inspection point sequence that can inspect the entire surface of a product at the minimum inspection cost. Here, the inspection cost includes the inspection time, the number of images captured, the cost of changing the posture of a manipulator, etc.

図2は、欠陥を撮影する撮影装置14の装置構成の一例を示す図である。
撮影装置14は、カメラ141をマニピュレータ143で把持して撮像方向を変え、照明142をマニピュレータ144で把持して照明方向を変えて、検査ステージ145に静置した製品5を撮影できる装置である。
FIG. 2 is a diagram showing an example of the configuration of the imaging device 14 that images a defect.
The photographing device 14 is a device capable of photographing a product 5 placed on an inspection stage 145 by holding a camera 141 with a manipulator 143 to change the photographing direction and holding a light 142 with a manipulator 144 to change the illumination direction.

カメラ141は、検査ステージ145に静置した製品5の光学像を撮影する装置である。マニピュレータ143は、カメラ141を把持して撮像方向を変えるものである。照明142は、製品5に可視光などを照射するものである。マニピュレータ144は、この照明142を把持して照明方向を変えるものである。 The camera 141 is a device that captures an optical image of the product 5 placed on the inspection stage 145. The manipulator 143 holds the camera 141 and changes the imaging direction. The light 142 irradiates the product 5 with visible light or the like. The manipulator 144 holds the light 142 and changes the lighting direction.

図1に戻り説明を続ける。検査条件算出装置12は、パーソナルコンピュータなどの公知要素から構成され、検査条件算出部121を備える。検査条件算出部121は、ロボットの各姿勢と、予め入力された欠陥位置に基づき、撮影装置14を用いて様々な撮像条件・照明条件下で不良品の欠陥を撮影する。そして、検査条件算出部121は、撮影によって得られた画像から欠陥が検査可能となる撮像条件および照明条件を算出する。つまり、検査条件算出装置12は、不良品の欠陥の位置に基づき、この欠陥を検査するロボットの検査条件であるカメラによる撮像方向および照明による照明方向を出力する検査条件算出手段として機能する。 Returning to FIG. 1 for further explanation, the inspection condition calculation device 12 is composed of known elements such as a personal computer, and includes an inspection condition calculation unit 121. Based on each posture of the robot and the defect position input in advance, the inspection condition calculation unit 121 uses the imaging device 14 to capture images of defects in the defective product under various imaging and lighting conditions. The inspection condition calculation unit 121 then calculates imaging and lighting conditions under which the defect can be inspected from the images obtained by imaging. In other words, the inspection condition calculation device 12 functions as an inspection condition calculation means that outputs, based on the position of the defect in the defective product, the imaging direction by the camera and the illumination direction by the light, which are the inspection conditions of the robot that inspects the defect.

検査ポイント列算出装置13は、パーソナルコンピュータなどの公知要素から構成されている。検査ポイント列算出装置13は、製品形状および検査条件をもとに、製品5の全面を最少回数で撮影するための検査ポイント列を算出する。検査ポイント列算出装置13は、検査条件および製品の形状データをもとに、検査条件の撮像方向を満たすようにカメラ141を駆動するマニピュレータの関節角度、および検査条件の照明方向を満たすように照明142を駆動するマニピュレータの関節角度の組み合わせである検査ポイント列を算出する検査ポイント列算出手段として機能する。 The inspection point sequence calculation device 13 is composed of known elements such as a personal computer. Based on the product shape and inspection conditions, the inspection point sequence calculation device 13 calculates an inspection point sequence for photographing the entire surface of the product 5 in the minimum number of times. Based on the inspection conditions and product shape data, the inspection point sequence calculation device 13 functions as an inspection point sequence calculation means for calculating an inspection point sequence which is a combination of the joint angles of the manipulator that drives the camera 141 so as to satisfy the imaging direction of the inspection conditions, and the joint angles of the manipulator that drives the lighting 142 so as to satisfy the lighting direction of the inspection conditions.

記憶装置15は、ハードディスクドライブやソリッドステートドライブなどの公知の大容量記憶装置によって構成される。記憶装置15は、検査対象記憶部151、不良品情報記憶部152、検査条件記憶部153、検査ポイント列記憶部154を備える。 The storage device 15 is configured with a known large-capacity storage device such as a hard disk drive or a solid-state drive. The storage device 15 includes an inspection target storage unit 151, a defective product information storage unit 152, an inspection condition storage unit 153, and an inspection point sequence storage unit 154.

検査対象記憶部151には、製品番号に紐づけられた製品形状データが格納されている。製品形状データは、例えば、STL(Stereolithography)等の公知のフォーマットにて定義される。 The inspection target memory unit 151 stores product shape data linked to product numbers. The product shape data is defined in a known format, such as STL (Stereolithography).

不良品情報記憶部152は、後記する図3に示す不良品情報テーブル1521に記載の情報を記憶する部分であり、不良品を識別するための個体番号情報と、不良品に係る製品番号情報と、この不良品にて発見された欠陥の位置などを記憶する。 The defective product information storage unit 152 is a section that stores information described in the defective product information table 1521 shown in FIG. 3 described below, and stores individual number information for identifying defective products, product number information relating to the defective products, and the location of defects found in the defective products.

図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 condition storage unit 153 stores the conditions of the imaging direction and the illumination direction under which defects can be detected.
The inspection point sequence storage unit 154 stores, linked to the product number, an inspection point sequence set, which is a set of the positions and orientations of the camera 141 and the lighting 142 with respect to the product 5. The positions and orientations of the camera 141 and the lighting 142 are expressed as a pair of a three-dimensional vector representing the position and an orientation represented by roll, pitch, yaw, etc., or as an enlargement matrix used in affine transformation.

図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 user interface device 11. As shown in FIG.
The user interface device 11 displays a display operation screen 6 including an inspection target input section 111 , a defect position input section 112 , an inspection condition display section 113 , and an inspection point display section 114 .

検査対象入力部111は、検査対象の製品情報を入力する部位であり、表示操作画面6のペイン(Pane)として表示される。ここでペインとは、画面を複数の表示領域に分割して使用する表示方式における、分割された個々の表示領域のことである。検査対象入力部111には、不良品個体番号テキストボックス1111と、製品番号テキストボックス1112とが表示されている。不良品個体番号テキストボックス1111には、“A-000001”が入力されている。製品番号テキストボックス1112には、“p00001”が入力されている。ここで入力された情報は、図3に示す不良品情報テーブル1521に格納される。 The inspection target input section 111 is a section for inputting product information for the inspection target, and is displayed as a pane on the display operation screen 6. A pane here refers to each divided display area in a display method in which the screen is divided into multiple display areas. The inspection target input section 111 displays a defective product individual number text box 1111 and a product number text box 1112. "A-000001" has been entered in the defective product individual number text box 1111. "p00001" has been entered in the product number text box 1112. The information entered here is stored in the defective product information table 1521 shown in FIG. 3.

欠陥位置入力部112は、不良品の欠陥の位置を入力する部位である。操作者が欠陥位置入力部112に表示された製品モデルの表面の何れかをクリックすることで、この製品において頻出する欠陥の位置を指定することができる。 The defect position input section 112 is a section for inputting the position of a defect in a defective product. By clicking anywhere on the surface of the product model displayed in the defect position input section 112, the operator can specify the position of a defect that frequently occurs in this product.

検査条件表示部113は、検査条件をグラフに表示する部位である。このグラフの縦軸は撮像方向を示し、横軸は照明方向を示している。 The inspection condition display unit 113 is a section that displays the inspection conditions in a graph. The vertical axis of this graph indicates the imaging direction, and the horizontal axis indicates the lighting direction.

検査ポイント表示部114には、検査ポイントの位置1141~1144がコンピュータグラフィックの製品画像の周囲に表示される。検査ポイント表示部114は、これら検査ポイントの位置1141~1144を生成する。また、検査ポイント表示部114は、ユーザが検査ポイントの位置1141~1144の何れかをクリックする操作により、対応する検査ポイントから検査可能な製品表面領域を、この製品画像上に重畳表示する。ここでは位置1141がユーザによってクリックされているので、位置1141の検査ポイントから検査可能な製品表面領域が、濃いハッチングによって表示されている。 In the inspection point display unit 114, inspection point positions 1141 to 1144 are displayed around the computer graphic product image. The inspection point display unit 114 generates these inspection point positions 1141 to 1144. Furthermore, when the user clicks on one of the inspection point positions 1141 to 1144, the inspection point display unit 114 displays the product surface area that can be inspected from the corresponding inspection point superimposed on the product image. In this case, since the user clicked on position 1141, the product surface area that can be inspected from the inspection point at position 1141 is displayed with dark hatching.

図5は、検査条件算出装置12において不良品の位置・姿勢をもとに製品5を撮影し、検査条件を求める処理を示すフローチャートである。
検査条件算出部121は、ステップS10~S18における処理を、全ての不良品について繰り返す。これら不良品には、製品について発生する欠陥が含まれている。
FIG. 5 is a flow chart showing a process in which the inspection condition calculation device 12 photographs the product 5 based on the position and orientation of the defective product and calculates the inspection conditions.
The inspection condition calculation unit 121 repeats the processes in steps S10 to S18 for all defective products, which include defects that occur in the products.

ステップS11において、検査条件算出部121は、この不良品の製品番号jと不良品個体番号i、欠陥の位置・姿勢情報Aを、不良品情報記憶部152から取得する。検査条件算出部121は、製品に係る複数の不良品の欠陥の位置を取得する取得手段として機能する。
検査条件算出部121は、ステップS12~S16における処理を、撮像方向と欠陥の法線の成す角度αを0度から+90度まで刻み幅Δαとして独立して動かし、照明方向と欠陥の法線の成す角度βを0度から+90度まで刻み幅Δβとして独立して動かす。つまり検査条件算出部121は、これら撮像方向と照明方向の全ての組み合わせについて処理を繰り返す。ここで欠陥の法線とは、製品をポリゴン(多面体)で表したとき、この欠陥を含むファセット(面)の法線のことをいう。
In step S11, the inspection condition calculation unit 121 acquires the product number j and defective individual number i of this defective product, and the defect position/posture information A0 from the defective product information storage unit 152. The inspection condition calculation unit 121 functions as an acquisition unit that acquires the positions of defects of multiple defective products related to the product.
The inspection condition calculation unit 121 performs the processes in steps S12 to S16 by independently changing the angle α between the imaging direction and the normal to the defect by an increment Δα from 0 degrees to +90 degrees, and independently changing the angle β between the illumination direction and the normal to the defect by an increment Δβ from 0 degrees to +90 degrees. That is, the inspection condition calculation unit 121 repeats the processes for all combinations of the imaging direction and the illumination direction. Here, the normal to the defect refers to the normal to a facet (surface) that includes the defect when the product is represented by a polygon (polyhedron).

図6Aは、撮像方向の角度αと、照明方向の角度βとの組み合わせを示す図である。
ファセット51は、製品を多面体で表したときのファセット(面)であり、かつ欠陥位置のファセットでもある。法線npは、このファセット51の法線であり、かつ欠陥の法線でもある。
FIG. 6A is a diagram showing combinations of the imaging direction angle α and the illumination direction angle β.
The facet 51 is a facet (surface) when the product is represented as a polyhedron, and is also a facet at the defect position. The normal np is a normal to this facet 51 and also a normal to the defect.

ファセット51からカメラ141へのベクトルは、撮像方向である。ここでは各撮像方向を、カメラ141へのベクトルで示している。実線で示したカメラ141は、現在の撮像方向を示している。破線で示したカメラ141は、過去または将来の撮像方向を示している。法線npと現在の撮像方向とが成す角度は、αである。撮像方向の角度の刻み幅は、Δαである。検査条件算出部121は、撮像方向と欠陥の法線の成す角度αを0度から+90度まで刻み幅Δαとして動かす。 The vector from facet 51 to camera 141 is the imaging direction. Here, each imaging direction is shown as a vector to camera 141. Camera 141 shown with a solid line indicates the current imaging direction. Camera 141 shown with a dashed line indicates a past or future imaging direction. The angle between normal np and the current imaging direction is α. The angular increment of the imaging direction is Δα. The inspection condition calculation unit 121 moves the angle α between the imaging direction and the normal to the defect from 0 degrees to +90 degrees in increments of Δα.

ファセット51から照明142へのベクトルは、照明方向である。ここでは各照明方向を、照明142へのベクトルで示している。実線で示した照明142は、現在の照明方向を示している。破線で示した照明142は、過去または将来の照明方向を示している。照明方向の角度の刻み幅は、Δβである。法線npと現在の照明方向とが成す角度は、βである。検査条件算出部121は、照明方向と欠陥の法線の成す角度βを-90度から+90度まで刻み幅Δβとして動かす。そして検査条件算出部121は、撮像方向と照明方向の全ての組み合わせについて検査する。 The vector from the facet 51 to the illumination 142 is the illumination direction. Here, each illumination direction is shown as a vector to the illumination 142. The illumination 142 shown by a solid line indicates the current illumination direction. The illumination 142 shown by a dashed line indicates a past or future illumination direction. The angle increment of the illumination direction is Δβ. The angle between the normal np and the current illumination direction is β. The inspection condition calculation unit 121 moves the angle β between the illumination direction and the normal to the defect by an increment of Δβ from -90 degrees to +90 degrees. The inspection condition calculation unit 121 then inspects all combinations of imaging directions and illumination directions.

図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 condition calculation unit 121 keeps the direction of the illumination 142 fixed, increases the angle α between the imaging direction and the normal line of the defect by an increment Δα, and calculates and combines the next imaging direction.
After that, when the inspection condition calculation unit 121 combines a certain illumination direction with all the imaging directions, it increases the angle β between the illumination direction and the normal line of the defect by the step size Δβ. In this way, the inspection condition calculation unit 121 determines the range in which defect inspection is possible among the combinations of imaging directions and illumination directions.

図5に戻り説明を続ける。ステップS13において、検査条件算出部121は、欠陥が画像中心に写る場合のカメラ141の位置および姿勢を算出する。カメラ141が画像中心に欠陥を撮影する場合とは、カメラ141が欠陥に正対する場合である。本ステップでは、欠陥に正対するカメラ141の位置・姿勢をP(α)とし、以下の式(1)で算出する。

Figure 0007494652000001
5 to continue the explanation. In step S13, the inspection condition calculation unit 121 calculates the position and orientation of the camera 141 when the defect is captured at the center of the image. The case where the camera 141 captures the defect at the center of the image is when the camera 141 faces the defect directly. In this step, the position and orientation of the camera 141 facing the defect is defined as P c (α) and is calculated using the following formula (1).
Figure 0007494652000001

欠陥に正対する照明142の位置・姿勢をP(β)とし、以下の式(2)で算出する。

Figure 0007494652000002

The position and orientation of the light 142 facing the defect is denoted as P l (β) and calculated by the following equation (2).
Figure 0007494652000002

なお、αは、撮像方向と欠陥の法線npのなす角度であり、カメラ141の光軸の入射角である。βは、照明方向と欠陥の法線npのなす角度であり、照明142の光線の入射角である。Dは、カメラ141から製品5までの距離であり、カメラ141の仕様として規定される。Dは、照明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 camera 141. β is the angle between the lighting direction and the normal np of the defect, and is the angle of incidence of the light beam of the lighting 142. Dc is the distance from the camera 141 to the product 5, and is defined as a specification of the camera 141. Dl is the distance from the lighting 142 to the product 5, and is defined as a specification of the lighting 142.

ステップS14において、検査条件算出部121は、この姿勢におけるマニピュレータ143,144の関節角を導出する。すなわち、検査条件算出部121は、カメラ141が所与の撮像方向となるときのマニピュレータ143の関節角を導出し、照明142が所与の照明方向となるときのマニピュレータ144の関節角を導出する。 In step S14, the inspection condition calculation unit 121 derives the joint angles of the manipulators 143 and 144 in this posture. That is, the inspection condition calculation unit 121 derives the joint angle of the manipulator 143 when the camera 141 has a given imaging direction, and derives the joint angle of the manipulator 144 when the lighting 142 has a given lighting direction.

図8に示すマニピュレータ143の各関節角をθ(=[θ0,θ1,…,θn])としたとき、マニピュレータ143の順運動学は式(3)で記述される。

Figure 0007494652000003
When each joint angle of the manipulator 143 shown in FIG. 8 is θ (=[θ 0 , θ 1 , . . . , θ n ]), the forward kinematics of the manipulator 143 is described by equation (3).
Figure 0007494652000003

なお、J(Θ)は、各関節の回転による姿勢変換を表す拡大行列である。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 manipulator 143. Note that the thick dashed arrows in Fig. 8 represent each posture transformation.

この順運動学を、一般的な手法を用いて逆運動学に変換することで、所与の撮像方向で製品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 manipulator 143 for photographing the product 5 in a given imaging direction. The joint angles of the manipulator 144 for illuminating the product 5 can be determined in a similar manner.

ステップS15において、検査条件算出部121は、上記姿勢になるよう、ステップS13で求めた関節角になるようマニピュレータ143,144をそれぞれ動作させ、欠陥を中心に捉えて製品5を撮影する。 In step S15, the inspection condition calculation unit 121 operates the manipulators 143 and 144 so that the joint angles are as determined in step S13 to achieve the above posture, and photographs the product 5 with the defect at its center.

検査条件算出部121は、撮影装置14を制御して、様々な撮像方向・照明方向で欠陥を中心に捉えつつ、製品5を撮影した画像群を得る。 The inspection condition calculation unit 121 controls the image capture device 14 to obtain a group of images of the product 5, focusing on the defect in various imaging and lighting directions.

ステップS16において、検査条件算出部121は、撮像方向と照明方向の全ての組み合わせについて処理を繰り返していなかったならば、ステップS12に戻る。検査条件算出部121は、撮像方向と照明方向の全ての組み合わせについて処理を繰り返していたならば、ステップS17に進む。 In step S16, if the inspection condition calculation unit 121 has not repeated the process for all combinations of imaging directions and illumination directions, the process returns to step S12. If the inspection condition calculation unit 121 has repeated the process for all combinations of imaging directions and illumination directions, the process proceeds to step S17.

ステップS17において、検査条件算出部121は、撮影した各画像による欠陥検査の可否(検査結果)を判定し、この欠陥検査の可否と撮影時の撮像方向および照明方向の組み合わせの情報とを紐付けることで検査条件を求める。手順の詳細を以下に示す。なお、以下の手順では、検査条件Cjiは、欠陥検査可能と欠陥検査不能の二値で表現され、各撮像方向に対応する水平方向のピクセル位置wと鉛直方向のピクセル位置hは、以下の式(4)と式(5)で求めるものとする。

Figure 0007494652000004
In step S17, the inspection condition calculation unit 121 determines whether or not defect inspection is possible (inspection result) based on each captured image, and determines the inspection conditions by linking this defect inspection possible or not with information on the combination of the imaging direction and the illumination direction at the time of shooting. Details of the procedure are shown below. Note that in the following procedure, the inspection condition Cji is expressed by two values, that is, defect inspection possible and defect inspection impossible, and the horizontal pixel position w and vertical pixel position h corresponding to each imaging direction are determined by the following formulas (4) and (5).
Figure 0007494652000004

Figure 0007494652000005
Figure 0007494652000005

検査条件算出部121は、撮像方向と欠陥の法線の成す角α、照明方向と欠陥の法線の成す角βにおいて撮影した画像において、画像の中心に存在する欠陥の輝度bd0と、欠陥近傍の輝度bs0を比較する。検査条件算出部121は、この差が一定値b以上であった場合には検査可能と判定し、この差が一定値b未満であった場合には検査不能と判定する。検査条件算出部121は、欠陥とその近傍の画像の輝度差により、撮影時の撮像方向および照明方向の組み合わせの検査可否を判定し、検査条件を求めることができる。
欠陥が検査可能であった場合、α、βに対応する検査条件Cji(w,h)を、式(6)のように定める。

Figure 0007494652000006
The inspection condition calculation unit 121 compares the brightness b d0 of the defect at the center of the image with the brightness b s0 of the vicinity of the defect in an image captured at an angle α 0 between the imaging direction and the normal to the defect, and an angle β 0 between the illumination direction and the normal to the defect. If this difference is equal to or greater than a certain value b c , the inspection condition calculation unit 121 determines that inspection is possible, and if this difference is less than a certain value b c , it determines that inspection is impossible. The inspection condition calculation unit 121 can determine whether or not a combination of imaging direction and illumination direction at the time of capture is capable of inspection based on the brightness difference between the images of the defect and its vicinity, and can obtain the inspection conditions.
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).
Figure 0007494652000006

ステップS18において、検査条件算出部121は、上記処理を、製品番号jに属する全ての不良品個体(個体番号i)について繰り返したか否かを判定する。検査条件算出部121は、処理されていない不良品個体があったならば、ステップS10に戻り、全ての不良品個体について処理したならば、ステップS19に進む。 In step S18, the inspection condition calculation unit 121 determines whether the above process has been repeated for all defective individual products (individual product number i) belonging to product number j. If there are any defective individual products that have not been processed, the inspection condition calculation unit 121 returns to step S10, and if all defective individual products have been processed, the inspection condition calculation unit 121 proceeds to step S19.

ステップS19において、検査条件算出部121は、製品番号jに属する全ての不良品個体(個体番号i)に対して処理を行い、不良品の検査条件Cjiを求める。そして、検査条件算出部121は、製品番号jに属する不良品の検査条件Cjiの積集合条件を製品番号jの検査条件Cとする。積集合条件とは、複数の検査条件の集合の論理積をとったものであり、下の式(7)で定義される。

Figure 0007494652000007
In step S19, the inspection condition calculation unit 121 processes all defective individual products (individual product number i) belonging to product number j to obtain inspection conditions Cji for defective products. Then, the inspection condition calculation unit 121 sets the intersection condition of the inspection conditions Cji for defective products belonging to product number j as the inspection condition Cj for product number j. The intersection condition is the logical product of a set of multiple inspection conditions, and is defined by the following formula (7).
Figure 0007494652000007

図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は、このようにして得られた検査条件Cを、検査条件記憶部153に出力する。全ての撮像方向と照明方向の組み合わせからなる空間3のうち、積集合条件3cに限定して検査することで、カメラ141の撮影回数とマニピュレータの動作回数とを限定するので、検査条件算出部121は、既知の不良品の欠陥を迅速に検査可能となる。 The inspection condition calculation unit 121 outputs the inspection condition Cj thus obtained to the inspection condition storage unit 153. By limiting the number of times the camera 141 takes pictures and the number of times the manipulator operates to the intersection set condition 3c among the space 3 consisting of all combinations of the image capturing directions and the illumination directions, the inspection condition calculation unit 121 can quickly inspect defects in known defective products.

図5に戻り説明を続ける。検査条件算出部121は、ステップS19の処理を終了すると、図5の処理を終了する。
図5の処理において、検査条件算出部121は、欠陥の検査可否の境界における輝度を、欠陥の輝度の閾値としている。これにより、製品が明確に明るく写る箇所における輝度を欠陥の輝度の閾値とした場合よりも、1枚の撮影画像が検査条件を満たす範囲を広くすることができる。
Returning to Fig. 5, the description will continue. When the inspection condition calculation unit 121 finishes the process of step S19, the process of Fig. 5 ends.
5, the inspection condition calculation unit 121 sets the luminance at the boundary between whether or not a defect can be inspected as the threshold value of the luminance of the defect. This makes it possible to widen the range in which a single captured image satisfies the inspection conditions compared to the case where the luminance at a location where the product is clearly bright is set as the threshold value of the luminance of the defect.

なお、図5の処理において、検査条件算出部121は、実際に不良品を撮像して欠陥位置に基づいて、検査条件を算出しているが、仮想的に不良品の撮像をシミュレーションして、入力された欠陥位置に基づいて検査条件を算出してもよい。 In the process of FIG. 5, the inspection condition calculation unit 121 actually images the defective product and calculates the inspection conditions based on the defect position, but it may also be possible to virtually simulate the imaging of the defective product and calculate the inspection conditions based on the input defect position.

図9Aと図9Bは、検査ポイント列算出装置13での処理のフローチャートである。
ステップS30において、検査ポイント列算出装置13は、検査対象記憶部151に記憶された製品番号jを1つ選び、その製品番号jにおける製品形状データMおよび検査条件Cを取得する。
9A and 9B are flowcharts of the process in the inspection point sequence calculation device 13. In FIG.
In step S30, the inspection point sequence calculation device 13 selects one product number j stored in the inspection target storage unit 151, and obtains the product shape data M and the inspection condition Cj for that product number j.

ステップS31において、検査ポイント列算出装置13は、製品形状データMの中心と中心を同じくし、製品形状データMを包含する球上にカメラや照明を様々に配置し、検査ポイント集合を算出する。球の中心、つまり製品形状データMの中心は、製品形状データMを構成する頂点を包含するAABB(Axis-aligned bounding box)の中心として求める。点集合に対するAABBの求め方を、以下にて説明する。検査ポイント列算出装置13は、まず、点の集合において各軸の最大値、最小値を求める。次に、頂点の座標が前記各軸の最大値ないし最小値となる直方体を求める。製品形状データMを包含する球は、このようにして求めたAABBの中心を中心とし、カメラ141や照明142の既定の作動距離を半径とする球として求める。 In step S31, the inspection point sequence calculation device 13 arranges cameras and lighting in various ways on a sphere that is centered on the center of the product shape data M and contains the product shape data M, and calculates a set of inspection points. The center of the sphere, that is, the center of the product shape data M, is found as the center of an axis-aligned bounding box (AABB) that contains the vertices that make up the product shape data M. The method of finding the AABB for a set of points is described below. The inspection point sequence calculation device 13 first finds the maximum and minimum values of each axis in the set of points. Next, it finds a rectangular parallelepiped whose vertex coordinates are the maximum or minimum values of each axis. The sphere that contains the product shape data M is found as a sphere with its center at the center of the AABB found in this way and its radius being the default working distance of the camera 141 and lighting 142.

図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 camera 141 and the lighting 142 relative to the product shape data M will be described using Figure 10. In Figure 10, a and b are angle parameters, and in a given Cartesian coordinate system, when the three axes are the x-axis, y-axis, and z-axis, a represents the rotation angle (pitch angle) around the y-axis, and b represents the rotation angle (yaw angle) around the z-axis.

図10におけるカメラ141の位置・姿勢を表現する拡大行列P(a,b)を式(8)で定義する。

Figure 0007494652000008
The enlarged matrix P c (a, b) expressing the position and orientation of the camera 141 in FIG. 10 is defined by equation (8).
Figure 0007494652000008

カメラ141の姿勢を表現する3×3行列T(a,b)を式(9)で定義する。

Figure 0007494652000009
A 3×3 matrix T c (a, b) expressing the orientation of the camera 141 is defined by equation (9).
Figure 0007494652000009

カメラ141の位置を表現する三次元ベクトルp(a,b)を式(10)で定義する。

Figure 0007494652000010
A three-dimensional vector p c (a, b) expressing the position of the camera 141 is defined by equation (10).
Figure 0007494652000010

以上のカメラ141の位置・姿勢設定と同様に、ピッチ角cとヨー角dを用いて、照明142の位置・姿勢を表現する拡大行列P(c,d)を式(11)で定義する。

Figure 0007494652000011
Similar to the above-mentioned setting of the position and orientation of the camera 141, an enlarged matrix P l (c, d) expressing the position and orientation of the light 142 is defined by equation (11) using a pitch angle c and a yaw angle d.
Figure 0007494652000011

照明142の姿勢を表現する3×3行列T(c,d)を式(12)で定義する。

Figure 0007494652000012
A 3×3 matrix T l (c, d) representing the orientation of the illumination 142 is defined by equation (12).
Figure 0007494652000012

照明142の位置を表現する三次元ベクトルp(c,d)を以下の式(13)で定義する。

Figure 0007494652000013
A three-dimensional vector p l (c, d) representing the position of the light 142 is defined by the following equation (13).
Figure 0007494652000013

以上の式に従い、カメラ141のピッチ角aと照明142のピッチ角cを0度から90度まで一定刻みで与え、カメラ141のヨー角bと照明142のヨー角dを0度から360度まで一定刻みで与える。これにより、製品5を包含する球上に、複数の検査ポイントを自動で算出することができる。 According to the above formula, the pitch angle a of the camera 141 and the pitch angle c of the lighting 142 are given in constant increments from 0 degrees to 90 degrees, and the yaw angle b of the camera 141 and the yaw angle d of the lighting 142 are given in constant increments from 0 degrees to 360 degrees. This makes it possible to automatically calculate multiple inspection points on a sphere that contains the product 5.

図9Aに戻り説明を続ける。検査ポイント列算出装置13は、ステップS32~S35において、算出した検査ポイントについて繰り返す。
ステップS33において、検査ポイント列算出装置13は、算出した検査ポイントから無作為に1つ選んだ検査ポイントについて、カメラ141の位置・姿勢をP(a,b)、照明142の位置・姿勢をP(c,d)とする。本処理では、P,Pで定義される検査ポイントに対し、撮像方向および照明方向を求めたうえで検査可能なファセットを求める。ここでファセットとは、製品形状データMをポリゴン(多面体)で表した場合の各面のことをいう。
Returning to Fig. 9A, the inspection point sequence calculation device 13 repeats steps S32 to S35 for the calculated inspection points.
In step S33, the inspection point sequence calculation device 13 sets the position and orientation of the camera 141 as Pc ( a0 , b0 ) and the position and orientation of the illumination 142 as Pl ( c0 , d0 ) for an inspection point randomly selected from the calculated inspection points. In this process, the imaging direction and illumination direction are determined for the inspection point defined by Pc and Pl , and then an inspectable facet is determined. Here, a facet refers to each surface when the product shape data M is represented as a polygon (polyhedron).

ここで、検査可能なファセットを求める処理について説明する。検査ポイント列算出装置13は、製品形状データMからファセットfを選ぶ。このファセットfの撮像方向は、カメラ141の位置からファセットfの重心へ向かうベクトルである。そしてファセットfの照明方向は、照明142の位置からファセットfの重心へ向かうベクトルである。これにより、検査ポイント列算出装置13は、カメラ141の光軸の入射角αと照明142の光線の入射角βとを定める。撮像方向と、照明方向と、ファセットの3者の関係を図11に示す。このとき、カメラ141の光軸の入射角αは、式(14)で定義される。

Figure 0007494652000014
Here, the process of determining an inspectable facet will be described. The inspection point sequence calculation device 13 selects a facet f from the product shape data M. The imaging direction of this facet f is a vector from the position of the camera 141 to the center of gravity of the facet f. The illumination direction of the facet f is a vector from the position of the illumination 142 to the center of gravity of the facet f. In this way, the inspection point sequence calculation device 13 determines the incidence angle α f of the optical axis of the camera 141 and the incidence angle β f of the light beam of the illumination 142. The relationship between the imaging direction, illumination direction, and facet is shown in FIG. 11. At this time, the incidence angle α f of the optical axis of the camera 141 is defined by equation (14).
Figure 0007494652000014

照明142の光線の入射角βは、式(15)で定義される。

Figure 0007494652000015
The angle of incidence βf of the light ray of the illumination 142 is defined by equation (15).
Figure 0007494652000015

なお、式(14)と式(15)において、n(f)はfの単位法線ベクトルである。g(f)はfの重心の位置ベクトルである。N(v)はベクトルvの単位ベクトルである。検査ポイント列算出装置13は、これらのカメラ141の光軸の入射角α、照明142の光線の入射角βについて、検査条件におけるピクセル座標w、hを求める。この時、検査ポイント列算出装置13は、ステップS30で取得した検査条件C(w、h)が1ならば、そのファセットを検査可能とする。検査ポイント列算出装置13は、以上の処理を全ファセットについて繰り返し、そのファセットの検査可否を得る。このように、検査条件C(w、h)によってファセットが検査可能か否かを判定することで、検査対象であるファセットの集合を算出して絞り込む。ここで検査対象であるファセットの集合を検査可能ファセットに絞り込む理由は、ステップ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 sequence calculation device 13 obtains pixel coordinates wf and hf in the inspection conditions for the incidence angle αf of the optical axis of the camera 141 and the incidence angle βf of the light ray of the illumination 142. At this time, if the inspection condition Cj ( wf , hf ) obtained in step S30 is 1, the inspection point sequence calculation device 13 determines that the facet can be inspected. The inspection point sequence calculation device 13 repeats the above process for all facets to obtain whether the facet can be inspected. In this way, by determining whether the facet can be inspected by the inspection condition Cj ( wf , hf ), the set of facets to be inspected is calculated and narrowed down. The reason for narrowing down the set of facets to be inspected to inspectable facets here is to extract those facets that are not obstructed by the manipulators 143 and 144 in step S34.

図9Aに戻り説明を続ける。ステップS34において、検査ポイント列算出装置13は、カメラ141の位置・姿勢Pに合致するマニピュレータ143の姿勢を算出し、照明142の位置・姿勢Pに合致するマニピュレータ144の姿勢を算出する。 9A , in step S34, the inspection point sequence calculation device 13 calculates the orientation of the manipulator 143 that matches the position and orientation Pc of the camera 141, and calculates the orientation of the manipulator 144 that matches the position and orientation Pl of the light 142.

ここで得られたマニピュレータ143,144の姿勢について、カメラ141ないし照明142と製品形状データMの検査可能ファセットを結ぶ線分と、マニピュレータ143,144とが交点を持つ場合、その検査点は、製品5の検査可能ファセットがマニピュレータ143,144によって遮蔽されるため、検査ポイントから除外する。すなわち、検査ポイント列算出手段は、製品5を包含する球上の検査ポイントのうちマニピュレータ143,144が製品5の検査可能ファセットを遮蔽しないものを抽出する。なお、マニピュレータ143,144が、所定のロボット姿勢をとったときに製品5のファセットを遮蔽したとしても、それが検査不能なファセットならば、そのロボット姿勢は問題とならない。これにより、ロボット姿勢の自由度が向上し、ロボットの姿勢変換コストをより低減可能となる。 For the postures of the manipulators 143 and 144 obtained here, if the manipulators 143 and 144 have an intersection with a line segment connecting the camera 141 or lighting 142 and an inspectable facet of the product shape data M, that inspection point is excluded from the inspection points because the inspectable facet of the product 5 is blocked by the manipulators 143 and 144. That is, the inspection point sequence calculation means extracts inspection points on the sphere that contains the product 5 at which the manipulators 143 and 144 do not block the inspectable facet of the product 5. Note that even if the manipulators 143 and 144 block a facet of the product 5 when they take a specified robot posture, if that facet is an uninspectable facet, that robot posture does not pose a problem. This improves the degree of freedom of the robot posture and makes it possible to further reduce the cost of changing the posture of the robot.

検査ポイント列算出装置13は、ステップS35において、算出した検査ポイントの処理を全て繰り返したならば、ステップS36に進み、未処理の検査ポイントがあったならば、ステップS32に戻る。 When the inspection point sequence calculation device 13 has repeated the processing of all the calculated inspection points in step S35, it proceeds to step S36, and if there are any unprocessed inspection points, it returns to step S32.

ステップS36において、検査ポイント列算出装置13は、ファセット集合Sを全検査ポイントから検査可能な領域とする。全検査ポイントから検査可能な領域は、ある検査ポイントu(i=0,1,2,…)で検査可能なファセット集合Fuを用いて、以下の式(16)で定義される。

Figure 0007494652000016
In step S36, the inspection point sequence calculation device 13 determines the facet set S as an area that can be inspected from all the inspection points. The area that can be inspected from all the inspection points is defined by the following formula (16) using a facet set Fu i that can be inspected at a certain inspection point u i (i=0, 1, 2, ...).
Figure 0007494652000016

以下のステップS37~S41までの処理を、図12Aから図12Dを用いて説明する。ある検査ポイントuについて、ファセット集合Sに含まれるファセット内で検査可能なファセット集合F´uは、以下の式(17)で求められる。

Figure 0007494652000017
The following processing steps S37 to S41 will be described with reference to Figures 12A to 12D. For a certain inspection point u i , a facet set F'u i that can be inspected among facets contained in facet set S is obtained by the following formula (17).
Figure 0007494652000017

ステップS37において、検査ポイント列算出装置13は、これをすべての検査ポイントu(i=0,1,2,…)について求める。得られたファセット集合F´uに含まれるファセットの総面積が最大のものを、検査ポイント列に追加する。なお、検査ポイント列の初期値は、空である。
図12Aに、ファセット集合Sが全検査ポイントから検査可能な領域であるときにおける、検査ポイントuにおけるファセット集合F´uを開示する。
図12Bに、ファセット集合Sが全検査ポイントから検査可能な領域であるときにおける、検査ポイントuにおけるファセット集合F´uを開示する。
図12Cに、ファセット集合Sが全検査ポイントから検査可能な領域であるときにおける、検査ポイントuにおけるファセット集合F´uを開示する。
図12Bに示すように、図12Aから図12Cに開示される例ではF´uの要素数が最大であるため、この例では検査ポイントuが検査ポイント列に追加される。
In step S37, the inspection point sequence calculation device 13 obtains this for all inspection points u i (i=0, 1, 2, ...). The facet set F'u i with the largest total area is added to the inspection point sequence. The initial value of the inspection point sequence is empty.
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は、検査ポイント列末尾の検査ポイントuから他の検査ポイントuに移動する際の姿勢変換コストf(u,u)が最少となる検査ポイント列を求める。ここで、ファセット集合F´uの総面積をA(F´u)とするとき、姿勢変換コストfは、式(18)で求められる。

Figure 0007494652000018
The inspection point sequence calculation device 13 repeats the processes of steps S38 to S41 until the facet set S becomes an empty set.
In step S39, the inspection point sequence calculation device 13 finds an inspection point sequence that minimizes the posture conversion cost f( uj , uk ) when moving from the inspection point uj at the end of the inspection point sequence to another inspection point uk . Here, when the total area of the facet set F'ui is A( F'ui ), the posture conversion cost f can be found by equation (18).
Figure 0007494652000018

ただし、ω(u,u)は、検査ポイントuからuにマニピュレータを動作させるときにおける各ジョイントの回転量の最大値である。各ジョイントの回転速度が所定値であると仮定すると、各ジョイントの回転量は、ロボットの姿勢変換の時間に比例する。
ステップS40において、検査ポイント列算出装置13は、ファセット集合Sを、以下の式(19)に従い更新する。

Figure 0007494652000019
where ω( uj , uk ) is the maximum value of the rotation amount of each joint when the manipulator is operated from the inspection point uj to uk . Assuming that the rotation speed of each joint is a predetermined value, the rotation amount of each joint is proportional to the time for the posture change of the robot.
In step S40, the inspection point sequence calculation device 13 updates the facet set S in accordance with the following formula (19).
Figure 0007494652000019

更新されたファセット集合Sの例を図12Dに示す。図12Dにおけるファセット集合Sは、図12Aから図12Cに開示される検査ポイントから検査可能な全ファセットの集合Sから、図12Bに開示される検査ポイントuから検査可能なファセットの集合F´uに含まれる集合の差を算出したものである。また、図12DにおけるF´uとは、図12Dにおけるファセット集合Sと、検査ポイントuから検査可能なファセット集合F´uとの論理積を算出したものである。 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 sequence calculation device 13 repeats the process until the facet set S becomes an empty set, it proceeds to step S42, and if the facet set S is not an empty set, it returns to step S38.

ステップS41において、検査ポイント列算出装置13は、ステップS38~S41のループ処理にて求めた検査ポイント列中の検査ポイントについて、RRT(rapidly-exploring random tree)法などを用いて検査ポイント列を経由するロボット動作を最適化する。すなわら、検査ポイント列算出装置13は、製品5の形状データを構成するファセットのうち、検査条件を満たす撮像方向および照明方向から検査可能な集合を作成し、最少の姿勢変換コストで集合を検査可能な検査ポイント列を算出する。
その後、検査ポイント列算出装置13は、得られた検査ポイント列ならびにロボット動作を出力すると、図9Bの処理を終了する。
In step S41, the inspection point sequence calculation device 13 optimizes the robot operation through the inspection point sequence determined by the loop processing of steps S38 to S41 using a rapidly-exploring random tree (RRT) method or the like. That is, the inspection point sequence calculation device 13 creates a set of facets that constitute the shape data of the product 5 that can be inspected from the imaging direction and lighting direction that satisfy the inspection conditions, and calculates an inspection point sequence that can inspect the set with the minimum posture conversion cost.
Thereafter, the inspection point sequence calculation device 13 outputs the obtained inspection point sequence and robot operation, and ends the process of FIG. 9B.

以上に開示するように、外観検査準備システム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 User interface device 111 Inspection target input section 1111 Defective product individual number text box 1112 Product number text box 112 Defect position input section 113 Inspection condition display section 114 Inspection point display section 1141 Position 12 Inspection condition calculation device (inspection condition calculation means)
121 Inspection condition calculation unit 13 Inspection point sequence calculation device (inspection point sequence calculation means)
14 Photographing device 141 Camera 142 Lighting 143, 144 Manipulator 145 Inspection stage 15 Storage device 151 Inspection target storage section 152 Defective product information storage section 1521 Defective product information table 153 Inspection condition storage section 154 Inspection point string storage section 5 Product 6 Display operation screen 61 Defective product information input pane 611 Defective product individual number 612 Product number text box 613 Defect position information text box 62 Inspection condition pane 63 Inspection point pane 631 Inspection point

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:
JP2020141698A 2020-08-25 2020-08-25 Apparatus and method for preparing for visual inspection Active JP7494652B2 (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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