JP2021018247A - Design information proposal device of product inspection apparatus - Google Patents

Design information proposal device of product inspection apparatus Download PDF

Info

Publication number
JP2021018247A
JP2021018247A JP2020120195A JP2020120195A JP2021018247A JP 2021018247 A JP2021018247 A JP 2021018247A JP 2020120195 A JP2020120195 A JP 2020120195A JP 2020120195 A JP2020120195 A JP 2020120195A JP 2021018247 A JP2021018247 A JP 2021018247A
Authority
JP
Japan
Prior art keywords
camera
inspection
cpu
lighting
imaging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2020120195A
Other languages
Japanese (ja)
Inventor
圭司 羽田
Keiji Haneda
圭司 羽田
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.)
Revox Inc
Original Assignee
Revox Inc
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 Revox Inc filed Critical Revox Inc
Publication of JP2021018247A publication Critical patent/JP2021018247A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a device capable of selecting an optimal lighting device among a plurality of lighting devices, and proposing an optimal device and its installation condition obtained from a measurement result for an inspection condition of various devices such as a lighting device, a camera and a table.SOLUTION: This invention comprises: a camera 300 that can change an imaging condition including an imaging position for an inspection object; a lighting device 200 that can change a lighting condition including a lighting position for the inspection object; a memory that stores a determination result of determining the surface state of the inspection object from an imaging signal, the imaging condition, and the lighting condition in association with each other; and a monitor that displays the associated determination result, imaging condition and lighting condition.SELECTED DRAWING: Figure 1

Description

本発明は、製品検査等に用いる検査装置を設計するための装置に関する。 The present invention relates to an apparatus for designing an inspection apparatus used for product inspection and the like.

一般に、製品検査に用いる装置は、照明装置と、カメラと、被検査物を載置するテーブルとを主に備えている。検査装置の設計は、検査場に適した設計となるように人為的に決められていた。 Generally, a device used for product inspection mainly includes a lighting device, a camera, and a table on which an object to be inspected is placed. The design of the inspection device was artificially determined so as to be suitable for the inspection site.

照明装置、カメラ、テーブル等の適切な配置位置について、計算により算出する方法があった。 There was a method of calculating an appropriate arrangement position of a lighting device, a camera, a table, etc. by calculation.

特開2000−121931号公報Japanese Unexamined Patent Publication No. 2000-121931

しかしながら、従来の検査装置は、予め使用する照明装置を検査装置の利用者が決定した上で、照明装置の設置の設計を所定の計算に基づいて行っているに過ぎない。 However, in the conventional inspection device, the user of the inspection device determines the lighting device to be used in advance, and then the design of the installation of the lighting device is performed based on a predetermined calculation.

そこで、本発明は、上記事情に鑑みてなされたものであり、複数の照明装置の中から最適な照明装置を選択するとともに、照明装置、カメラ、テーブル等の各種の検査条件に対する測定結果から得られる最適な装置及びその設置条件を提案することが可能な装置の提供を目的とする。 Therefore, the present invention has been made in view of the above circumstances, and is obtained from the measurement results for various inspection conditions such as a lighting device, a camera, a table, etc., while selecting the optimum lighting device from a plurality of lighting devices. It is an object of the present invention to provide a device capable of proposing the optimum device and its installation conditions.

本発明による設計情報提案装置の特徴は、
検査対象物を撮像して撮像信号を出力するカメラであって、検査対象物に対する撮像位置を含む撮像条件を変更可能なカメラと、
光を発して検査対象物を照明する照明装置であって、検査対象物に対する照明位置を含む照明条件を変更可能な照明装置と、
検査対象物の表面の状態を前記撮像信号から判断した判断結果と、撮像条件と、照明条件とを関連付けて記憶するメモリと、
関連付けられた判断結果と、撮像条件と、照明条件とを表示するモニタと、を備えることである。
The features of the design information proposal device according to the present invention are
A camera that captures an inspection object and outputs an imaging signal, and a camera that can change the imaging conditions including the imaging position with respect to the inspection object.
A lighting device that emits light to illuminate an inspection object and can change the lighting conditions including the lighting position with respect to the inspection object.
A judgment result of determining the surface state of the inspection object from the imaging signal, a memory for storing the imaging condition and the lighting condition in association with each other,
It is provided with a monitor for displaying the associated determination result, the imaging condition, and the lighting condition.

本発明によれば、照明装置、カメラ、テーブル等の各種の検査条件に対する測定結果から得られる最適な装置及びその設置条件を提案できる。 According to the present invention, it is possible to propose an optimum device and its installation conditions obtained from measurement results for various inspection conditions such as a lighting device, a camera, and a table.

第1の実施の形態による設計装置の全体を示す斜視図である。It is a perspective view which shows the whole of the design apparatus by 1st Embodiment. 第1の実施の形態における設計装置の全体を示す斜視図である。It is a perspective view which shows the whole of the design apparatus in 1st Embodiment. 第1の実施の形態によるロボットの構成を示す斜視図である。It is a perspective view which shows the structure of the robot by 1st Embodiment. 第1の実施の形態によるロボットの構成を示す斜視図である。It is a perspective view which shows the structure of the robot by 1st Embodiment. 第1の実施の形態によるロボットの構成を示す斜視図である。It is a perspective view which shows the structure of the robot by 1st Embodiment. 第1の実施の形態による検査台の全体を示す斜視図である。It is a perspective view which shows the whole of the inspection table by 1st Embodiment. 第1の実施の形態による検査台の全体を示す斜視図である。It is a perspective view which shows the whole of the inspection table by 1st Embodiment. 第1の実施の形態による欠陥を検査するときにおける照明装置とカメラとテーブルと検査対象物との配置を示す正面図である。It is a front view which shows the arrangement of a lighting apparatus, a camera, a table, and an inspection object at the time of inspecting a defect by 1st Embodiment. 第1の実施の形態による欠陥を検査するときにおける照明装置とカメラとテーブルと検査対象物との配置を示す正面図である。It is a front view which shows the arrangement of a lighting apparatus, a camera, a table, and an inspection object at the time of inspecting a defect by 1st Embodiment. 第1の実施の形態による設計装置のシステム構成を示す図である。It is a figure which shows the system configuration of the design apparatus by 1st Embodiment. 第1の実施の形態によるロボットのシステム構成を示す図である。It is a figure which shows the system configuration of the robot by 1st Embodiment. 第1の実施の形態による検査台側のシステム構成を示す図である。It is a figure which shows the system configuration of the inspection table side by 1st Embodiment. 第1の実施の形態による検査設計処理のフローチャートである。It is a flowchart of inspection design processing by 1st Embodiment. 第1の実施の形態による検査設計処理のフローチャートである。It is a flowchart of inspection design processing by 1st Embodiment. 第1の実施の形態による準備処理のフローチャートである。It is a flowchart of the preparation process according to 1st Embodiment. 第1の実施の形態による照明切替処理のフローチャートである。It is a flowchart of lighting switching processing by 1st Embodiment. 第1の実施の形態による照明切替処理のフローチャートである。It is a flowchart of lighting switching processing by 1st Embodiment. 第1の実施の形態による照明切替処理のフローチャートである。It is a flowchart of lighting switching processing by 1st Embodiment. 第1の実施の形態によるカメラ角度調整処理のフローチャートである。It is a flowchart of the camera angle adjustment process by 1st Embodiment. 第1の実施の形態による照明角度調整処理のフローチャートである。It is a flowchart of the illumination angle adjustment process by 1st Embodiment. 第1の実施の形態による照明距離調整処理のフローチャートである。It is a flowchart of the illumination distance adjustment processing by 1st Embodiment. 第1の実施の形態による照明X位置調整処理のフローチャートである。It is a flowchart of the illumination X position adjustment process by 1st Embodiment. 第1の実施の形態による拡散板調整処理のフローチャートである。It is a flowchart of the diffusion plate adjustment process by 1st Embodiment. 第1の実施の形態による画像取得処理のフローチャートである。It is a flowchart of the image acquisition process by 1st Embodiment. 第1の実施の形態による画像評価処理のフローチャートである。It is a flowchart of image evaluation processing by 1st Embodiment. 第1の実施の形態によるS/N比評価処理のフローチャートである。It is a flowchart of the S / N ratio evaluation process by 1st Embodiment. 第1の実施の形態による波高値評価処理のフローチャートである。It is a flowchart of the peak value evaluation process by 1st Embodiment. 第1の実施の形態による地合ばらつき評価処理のフローチャートである。It is a flowchart of the formation variation evaluation processing by 1st Embodiment. 第1の実施の形態による走査周期評価処理のフローチャートである。It is a flowchart of the scanning cycle evaluation process by 1st Embodiment. 第1の実施の形態によるハンドの上面イメージ図である。It is a top view image figure of the hand by 1st Embodiment. 第1の実施の形態によるハンドの側面イメージ図である。It is a side image view of the hand by 1st Embodiment. 第1の実施の形態によるハンドの上面イメージ図である。It is a top view image figure of the hand by 1st Embodiment. 第1の実施の形態によるハンドの側面イメージ図である。It is a side image view of the hand by 1st Embodiment. 第1の実施の形態による検査イメージ図である。It is an inspection image diagram by 1st Embodiment. 第1の実施の形態による検査イメージ図である。It is an inspection image diagram by 1st Embodiment. 第1の実施の形態による検査イメージ図である。It is an inspection image diagram by 1st Embodiment. 第1の実施の形態による検査イメージ図である。It is an inspection image diagram by 1st Embodiment. 第1の実施の形態によるモニタ表示画面の一例である。This is an example of a monitor display screen according to the first embodiment. 第1の実施の形態によるシステム構成を示す図である。It is a figure which shows the system configuration by 1st Embodiment. 第2の実施の形態による検査対象物660の例(a)と、ハイパースペクトルカメラ300−2で検査対象物660を撮像したときに得られる撮像結果(b)及び(c)である。The example (a) of the inspection object 660 according to the second embodiment, and the imaging results (b) and (c) obtained when the inspection object 660 is imaged by the hyperspectral camera 300-2. 第2の実施の形態によるハイパースペクトルカメラ300−2で検査対象物660を撮像したときの検査対象物660の例(a)〜(d)である。Examples (a) to (d) of the inspection target object 660 when the inspection target object 660 is imaged by the hyperspectral camera 300-2 according to the second embodiment. 第2の実施の形態による検査台600−2の全体を示す斜視図である。It is a perspective view which shows the whole of the inspection table 600-2 by 2nd Embodiment. 第2の実施の形態による設計装置のシステム構成を示す図である。It is a figure which shows the system configuration of the design apparatus by 2nd Embodiment. 第2の実施の形態による検査台側のシステム構成を示す図である。It is a figure which shows the system configuration of the inspection table side by 2nd Embodiment. 欠陥を評価するための評価用画像を生成する処理を示すフローチャートである。It is a flowchart which shows the process of generating the evaluation image for evaluating a defect. 欠陥を検出するための最適な波長を決定する処理を示すフローチャートである。It is a flowchart which shows the process of determining the optimum wavelength for detecting a defect.

<<<<検査装置の設計装置の概要>>>>
検査装置の設計情報提案装置(以下、設計装置と称することもある)は、主に、検査対象物に欠陥が存在するか否かの検査に用いる検査装置を製造するために用いる装置である。実際に検査装置を製造する前にこれを用いることにより、事前に検査対象物にあわせた最適な検査装置を製造することができる。検査装置の設計装置は、複数の照明装置から最適なものを選択し、さらに、検査装置として最適な照明装置の位置、角度、カメラの向き、距離、検査対象物の位置(検査対象物を載置するテーブルの位置)やテーブルの移動速度等を設計することができる。
<<<< Overview of inspection equipment design equipment >>>>>
The design information proposal device of the inspection device (hereinafter, also referred to as a design device) is a device used mainly for manufacturing an inspection device used for inspecting whether or not a defect exists in an inspection object. By using this before actually manufacturing the inspection device, it is possible to manufacture the optimum inspection device according to the inspection target in advance. The inspection device design device selects the optimum one from multiple lighting devices, and further, the optimum lighting device position, angle, camera orientation, distance, and inspection target position (inspection target is listed). It is possible to design the position of the table to be placed) and the moving speed of the table.

<<<<第1の実施の形態の概要>>>>
第1の実施の形態の設計装置は、ロボットと、検査台とを主に有している。ロボットは、照明装置を把持し、位置や角度の調整並びに照明装置の変更等を行う。検査台は、カメラ、テーブル、拡散板等を備え、テーブル上の検査対象物の欠陥を最適に発見できるように、カメラの位置や角度、テーブルの高さや移動速度等を変更できる。
<<<< Overview of the first embodiment >>>>>
The design device of the first embodiment mainly includes a robot and an inspection table. The robot grips the lighting device, adjusts the position and angle, and changes the lighting device. The inspection table is provided with a camera, a table, a diffuser, etc., and the position and angle of the camera, the height of the table, the moving speed, etc. can be changed so that defects on the inspection object on the table can be optimally detected.

<第1の実施の態様>
第1の実施の態様の設計情報提案装置は、
検査対象物を撮像して撮像信号を出力するカメラであって、検査対象物に対する撮像位置を含む撮像条件を変更可能なカメラと、
光を発して検査対象物を照明する照明装置であって、検査対象物に対する照明位置を含む照明条件を変更可能な照明装置と、
検査対象物の表面の状態を前記撮像信号から判断した判断結果と、撮像条件と、照明条件とを関連付けて記憶するメモリと、
関連付けられた判断結果と、撮像条件と、照明条件とを表示するモニタと、を備える設計情報提案装置である。
<First embodiment>
The design information proposing device of the first embodiment is
A camera that captures an image of an inspection object and outputs an imaging signal, and a camera that can change the imaging conditions including the imaging position with respect to the inspection object.
A lighting device that emits light to illuminate an inspection object and can change the lighting conditions including the lighting position with respect to the inspection object.
A judgment result of determining the surface state of the inspection object from the imaging signal, a memory for storing the imaging condition and the lighting condition in association with each other,
It is a design information proposal device including a monitor for displaying the associated determination result, imaging conditions, and lighting conditions.

第1の実施の態様の設計情報提案装置は、カメラ(例えば、カメラ300)と照明装置(例えば、照明装置200)とメモリ(例えば、RAM730)とモニタ(例えば、モニタ831)を備える。照明装置は、検査対象物を照明する。カメラは、検査対象物を撮像する。メモリは、判断結果と、撮像した際のカメラの撮像条件と、照明装置の照明条件を関連付けて記憶する。モニタは、関連付けられた判断結果と撮像条件と照明条件を表示する。 The design information proposing device of the first embodiment includes a camera (for example, camera 300), a lighting device (for example, lighting device 200), a memory (for example, RAM 730), and a monitor (for example, monitor 831). The illuminator illuminates the object to be inspected. The camera captures the object to be inspected. The memory stores the determination result, the imaging condition of the camera at the time of imaging, and the lighting condition of the lighting device in association with each other. The monitor displays the associated determination result, imaging condition, and lighting condition.

検査対象物の検査対象となる欠陥は、代表的なものとして、凸状の欠陥やスジ状の欠陥や凹状の欠陥や打痕のほかにゴミなどであり、これらの欠陥は、検査対象物の表面に存在する。検査対象物を照明装置で照明することによって、これらの欠陥を検出することができる。なお、検査対象物である欠陥は、これらには限られず、光学的に検出できるものであれば、他の種類のものでもよい。 Defects to be inspected for inspection objects are typically convex defects, streak-like defects, concave defects, dents, and dust, and these defects are the inspection objects. Present on the surface. These defects can be detected by illuminating the inspection object with a lighting device. The defects to be inspected are not limited to these, and other types may be used as long as they can be optically detected.

図1に示すように、設計情報提案装置は、カメラ300と、照明装置200とを備える。図34に示すように、PC700は、判断結果(例えば、得点)と、カメラ300が撮像した際の撮像条件(例えば、カメラ角度)と、照明条件(例えば、照明角度、照明距離、照明X位置、調光出力値)を関連づけて記憶しており、関連付けられた判断結果(例えば、得点)と、撮像条件と、照明条件と、をモニタ831に表示する。 As shown in FIG. 1, the design information proposal device includes a camera 300 and a lighting device 200. As shown in FIG. 34, the PC 700 has a determination result (for example, a score), an imaging condition (for example, a camera angle) when the camera 300 takes an image, and an illumination condition (for example, an illumination angle, an illumination distance, and an illumination X position). , Dimming output value) is stored in association with each other, and the associated determination result (for example, score), imaging condition, and illumination condition are displayed on the monitor 831.

このように、PC700(CPU710)でカメラ300の撮像結果を判断し、撮像結果と、撮像した際の撮像条件と、撮像した際の照明条件とを関連付けてモニタでデータを表示することで、最適な検査装置の設計情報を提案することができる。 In this way, the PC 700 (CPU 710) determines the imaging result of the camera 300, and the imaging result, the imaging condition at the time of imaging, and the lighting condition at the time of imaging are associated with each other and the data is displayed on the monitor. It is possible to propose design information of various inspection devices.

<第2の実施の態様>
第2の実施の態様の設計情報提案装置は、第1の実施の態様において、
コントローラを更に備え、
前記コントローラは、
検査対象物の表面の凹凸の形状を判定することで、検査対象物の表面の状態を判断する、設計情報提案装置である。
<Second embodiment>
The design information proposing device of the second embodiment is described in the first embodiment.
With more controllers
The controller
It is a design information proposal device that determines the state of the surface of an inspection object by determining the shape of the unevenness on the surface of the inspection object.

PC700(CPU710)は、検査対象物の表面の状態ついて、複数の評価(ステップ2500のS/N比評価処理、ステップ2600の波高値評価処理、ステップ2700の地合ばらつき評価処理)を行い、検査対象物の表面の凹凸の形状を判定することで、表面の状態を判断する。 The PC700 (CPU710) performs a plurality of evaluations (S / N ratio evaluation processing in step 2500, peak value evaluation processing in step 2600, formation variation evaluation processing in step 2700) for the surface condition of the inspection object, and inspects the surface condition. The state of the surface is determined by determining the shape of the unevenness on the surface of the object.

このように、検査対象物の表面の凹凸の形状を判定し、検査対象物の表面の状態を判断することで、表面の状態(例えば、欠陥がある場合)を最も明確に検出できた設計情報を提案することができる。 In this way, by determining the shape of the unevenness on the surface of the inspection object and determining the surface condition of the inspection object, the surface condition (for example, when there is a defect) can be detected most clearly. Can be proposed.

<第3の実施の態様>
第3の実施の態様の設計情報提案装置は、第2の実施の態様において、
照明装置を把持して所定の照明位置に移動させるロボットを更に備え、
コントローラは、前記ロボットを制御する、設計情報提案装置である。
<Third embodiment>
In the second embodiment, the design information proposing device according to the third embodiment is used.
Further equipped with a robot that grips the lighting device and moves it to a predetermined lighting position.
The controller is a design information proposal device that controls the robot.

図1、図9及び図12等に示すように、設計情報提案装置のPC700は、ロボット100を制御して、照明装置200の位置を移動させることが可能である。 As shown in FIGS. 1, 9, 12, 12 and the like, the PC 700 of the design information proposal device can control the robot 100 to move the position of the lighting device 200.

このように、PC700(CPU710)は、撮像条件の変更、照明条件の変更、撮像データの判断を行い、これらを関連づけてモニタ831に表示することができるため、設計情報提案装置内で得られたデータを基に最適な設計情報を提案することができる。 In this way, the PC 700 (CPU710) can change the imaging conditions, change the lighting conditions, determine the imaging data, and display them on the monitor 831 in association with each other. Therefore, the information was obtained in the design information proposal device. Optimal design information can be proposed based on the data.

<<<<第1の実施の形態>>>>
以下、図面を参照しながら、本発明の第1の実施の形態について説明する。本明細書及び図面においては、同一の符号が付された構成要素は、実質的に同一の構造または機能を有するものとする。
<<<<< First Embodiment >>>>>
Hereinafter, the first embodiment of the present invention will be described with reference to the drawings. In the present specification and drawings, the components having the same reference numerals shall have substantially the same structure or function.

<<<検査装置の設計情報提案装置(設計装置)の構成>>>
図1及び図2を参照しながら、第1の実施の形態に係る検査装置の設計装置について説明する。第1の実施の形態に係る検査装置の設計装置は、ロボット100と、検査台600とを主に有する。
<<< Configuration of design information proposal device (design device) for inspection device >>>
The design apparatus of the inspection apparatus according to the first embodiment will be described with reference to FIGS. 1 and 2. The design device for the inspection device according to the first embodiment mainly includes a robot 100 and an inspection table 600.

図1には、互いに直交する3つの軸としてx軸、y軸およびz軸が図示されており、各軸を示す矢印の先端側を「+(正)」、基端側を「−(負)」とする。また、図1中のz軸方向を「z方向」又は「鉛直方向」とし、x−y平面に沿った方向を「水平方向」とする。また、+z軸側を「上方」とし、−z軸側を「下方」とする。 In FIG. 1, the x-axis, the y-axis, and the z-axis are shown as three axes orthogonal to each other. The tip side of the arrow indicating each axis is "+ (positive)" and the base end side is "-(negative)". ) ”. Further, the z-axis direction in FIG. 1 is defined as the "z direction" or the "vertical direction", and the direction along the xy plane is defined as the "horizontal direction". Further, the + z-axis side is "upper" and the -z-axis side is "downward".

以下では、説明の都合上、上方を「上」または「上側」、下方を「下」または「下側」と言うこともある。また、図1中の第2収納部910が設置されている側を「基端(側)」、その反対側を「先端(側)」と言うこともある。また、上下方向が鉛直方向である。 In the following, for convenience of explanation, the upper part may be referred to as "upper" or "upper side", and the lower part may be referred to as "lower side" or "lower side". Further, the side in which the second storage portion 910 is installed in FIG. 1 may be referred to as a "base end (side)", and the opposite side thereof may be referred to as a "tip (side)". The vertical direction is the vertical direction.

本明細書において、「水平」とは、地球の重力と直角に交わる方向をいい、完全に水平な場合のみならず、水平に対して±5°以内で傾斜している場合も含む。同様に、本明細書において、「鉛直」とは、重力の方向や、水平面に垂直な方向をいい、完全に鉛直な場合のみならず、鉛直に対して±5°以内で傾斜している場合も含む。また、本明細書において、「平行」とは、同一平面上の2直線(あるいは空間の2平面または1直線と1平面)がどこまで延長しても交わらないことをいい、2つの線(軸を含む)または面が、互いに完全な平行である場合のみならず、±5°以内で傾斜している場合も含む。また、本明細書において、「直交」とは、2つの線(軸を含む)または面が、互いに完全な直交である場合のみならず、±5°以内で傾斜している場合も含む。 As used herein, the term "horizontal" refers to a direction that intersects the gravity of the earth at right angles, and includes not only a case where it is completely horizontal but also a case where it is tilted within ± 5 ° with respect to the horizontal. Similarly, as used herein, the term "vertical" refers to the direction of gravity or the direction perpendicular to the horizontal plane, not only when it is completely vertical, but also when it is tilted within ± 5 ° with respect to the vertical. Also includes. Further, in the present specification, "parallel" means that two straight lines on the same plane (or two planes of space or one straight line and one plane) do not intersect with each other no matter how long they extend, and the two lines (axises). Includes) or planes are not only perfectly parallel to each other, but also tilted within ± 5 °. Further, as used herein, the term "orthogonal" includes not only the case where two lines (including axes) or planes are completely orthogonal to each other but also the case where they are inclined within ± 5 °.

ロボット100と検査台600は、互いに対向するように設けられる。ロボット100の一方の側方には、第1収納部900が設けられ、他方の側方には、第2収納部910が設けられる。第1収納部900には複数のライン照明210(本例では6本)を収納し、第2収納部910には複数の板状ライトガイド220(本例では2本)を収納する。ロボット100は、第1収納部900で1つのライン照明210を把持して第1収納部900からライン照明210を取り出すことができる。第1収納部900には、第1ライン照明211、第2ライン照明212、第3ライン照明213、第4ライン照明214、第5ライン照明215、第6ライン照明216が収納される。ロボット100は、第2収納部910で1つの板状ライトガイド220を把持して第2収納部910から板状ライトガイド220を取り出すことができる。第2収納部910には、第1板状ライトガイド221、第2板状ライトガイド222が収納される。以下では、ライン照明210及び板状ライトガイド220を照明装置200と総称する場合がある。 The robot 100 and the inspection table 600 are provided so as to face each other. A first storage unit 900 is provided on one side of the robot 100, and a second storage unit 910 is provided on the other side. A plurality of line lights 210 (six in this example) are stored in the first storage unit 900, and a plurality of plate-shaped light guides 220 (two in this example) are stored in the second storage unit 910. The robot 100 can grasp one line illumination 210 by the first storage unit 900 and take out the line illumination 210 from the first storage unit 900. The first storage unit 900 houses the first line illumination 211, the second line illumination 212, the third line illumination 213, the fourth line illumination 214, the fifth line illumination 215, and the sixth line illumination 216. The robot 100 can grasp one plate-shaped light guide 220 by the second storage unit 910 and take out the plate-shaped light guide 220 from the second storage unit 910. The first plate-shaped light guide 221 and the second plate-shaped light guide 222 are stored in the second storage portion 910. Hereinafter, the line illumination 210 and the plate-shaped light guide 220 may be collectively referred to as an illumination device 200.

ライン照明210は、複数の光源(例えば、LED等)とロッドレンズとディフューザレンズとを主に備える照明装置である。ライン照明210は、長尺の箱状であり、所定の1つの面から光を出射することができるように開口されている。ライン照明210は、後述する電源装置810から電力を供給される。ライン照明210は、後述するPC700のCPU710から発せられた制御信号を、電源装置810を介して受信し、光の出力制御を行う。 The line illumination 210 is an illumination device mainly including a plurality of light sources (for example, LEDs and the like), a rod lens, and a diffuser lens. The line illumination 210 has a long box shape and is opened so that light can be emitted from one predetermined surface. The line illumination 210 is supplied with electric power from the power supply device 810 described later. The line illumination 210 receives a control signal emitted from the CPU 710 of the PC 700, which will be described later, via the power supply device 810, and controls the output of light.

第1ライン照明211は、例えば、白色光を発する照明装置である。第2ライン照明212は、例えば、赤色光を発する照明装置である。第3ライン照明213は、例えば、青色光を発する照明装置である。第4ライン照明214は、例えば、照明装置内に拡散板を備える照明装置である。第5ライン照明215は、例えば、他のライン照明よりも発光面が細い照明装置である。第6ライン照明216は、例えば、発光面の短手方向の略中央部分の一定幅において、ライン状に暗視野マスクが施されている照明装置である。 The first line illumination 211 is, for example, an illumination device that emits white light. The second line illumination 212 is, for example, an illumination device that emits red light. The third line illumination 213 is, for example, an illumination device that emits blue light. The fourth line illumination 214 is, for example, an illumination device including a diffuser in the illumination device. The fifth line illumination 215 is, for example, an illumination device having a thinner light emitting surface than other line illuminations. The sixth line illumination 216 is, for example, an illumination device in which a dark field mask is applied in a line shape at a constant width of a substantially central portion in the lateral direction of the light emitting surface.

板状ライトガイド220は、光ファイバーの先端が板状ライトガイド220の出口の一面に列状に並べれられて光を外部へ出射させることで所定の方向を照明する照明装置である。後述するボックス照明820の光がケーブル(液体ライトガイド157)を通して出射され、当該出射された光が板状ライトガイド220に入射することで、板状ライトガイド220は、検査対象物を照明することができる。なお、板状ライトガイド220と液体ライトガイド157は、着脱可能に当接して取り付けられる。このようにすることで、ボックス照明820から発せられた光を漏れなく板状ライトガイド220に案内することができ、検査対象物を的確に照明することができる。 The plate-shaped light guide 220 is a lighting device in which the tips of optical fibers are arranged in a row on one surface of the outlet of the plate-shaped light guide 220 to emit light to the outside to illuminate a predetermined direction. The light of the box lighting 820, which will be described later, is emitted through a cable (liquid light guide 157), and the emitted light is incident on the plate-shaped light guide 220, whereby the plate-shaped light guide 220 illuminates the object to be inspected. Can be done. The plate-shaped light guide 220 and the liquid light guide 157 are detachably attached in contact with each other. By doing so, the light emitted from the box lighting 820 can be guided to the plate-shaped light guide 220 without leakage, and the inspection object can be accurately illuminated.

板状ライトガイド220(本例では2本)は、例えば、拡散の度合いが互いに異なる。 The plate-shaped light guides 220 (two in this example) have different degrees of diffusion, for example.

検査台600は、カメラ300と、検査対象物660を載置するためのテーブル400と、拡散板500(第1拡散板510、第2拡散板520)と、第3収納部920と、第4収納部930とを有する。 The inspection table 600 includes a camera 300, a table 400 on which an inspection object 660 is placed, a diffusion plate 500 (first diffusion plate 510, a second diffusion plate 520), a third storage unit 920, and a fourth. It has a storage unit 930.

このように構成することで、ロボット100が把持する照明装置200から発せられた光で検査対象物660を照明し、カメラ300で検査対象物660を撮像することができる。検査対象物660の撮像により、検査対象物660の欠陥を発見でき、検査対象物660の欠陥を適切に発見できた際の照明装置の種類、照明装置の位置及び角度、カメラの位置及び角度等の光学系の設計のデータを得ることができる。 With this configuration, the inspection target object 660 can be illuminated with the light emitted from the lighting device 200 held by the robot 100, and the inspection target object 660 can be imaged by the camera 300. By imaging the inspection target 660, defects in the inspection target 660 can be found, and when the defects in the inspection target 660 can be found appropriately, the type of lighting device, the position and angle of the lighting device, the position and angle of the camera, etc. Data on the design of the optical system can be obtained.

<<<構成要素の説明>>>
<<ロボット100>>
次に、図3乃至図5を用いてロボット100の構成について説明する。ロボット100は、基台101と、ベース110と、第1アーム120と、第2アーム130と、第3アーム140と、ハンド150とを主に有する。ロボット100は、6軸ロボットであり、さらにハンド150を有する。なお、ロボット100は下方から、基台101⇒ベース110⇒第1アーム120⇒第2アーム130⇒第3アーム140⇒ハンド150の順に取り付けられ、基台101側を後端側(近端側)、ハンド150側を前端側(遠端側)ということがある。例えば、ベース110の前端側は、第1アーム120の後端側と取り付けられる等のように用いることがある。
<<< Explanation of components >>>
<< Robot 100 >>
Next, the configuration of the robot 100 will be described with reference to FIGS. 3 to 5. The robot 100 mainly has a base 101, a base 110, a first arm 120, a second arm 130, a third arm 140, and a hand 150. The robot 100 is a 6-axis robot and further has a hand 150. The robot 100 is attached in the order of base 101 ⇒ base 110 ⇒ first arm 120 ⇒ second arm 130 ⇒ third arm 140 ⇒ hand 150 from below, and the base 101 side is the rear end side (near end side). , The hand 150 side may be referred to as the front end side (far end side). For example, the front end side of the base 110 may be used so as to be attached to the rear end side of the first arm 120.

<基台101>
基台101は、床や設計装置の台の一定の位置に設置される。基台101の上部に、ベース110の下部が取り付けられる。
<Base 101>
The base 101 is installed at a fixed position on the floor or the base of the design device. The lower part of the base 110 is attached to the upper part of the base 101.

<ベース110>
ベース110は、基台101の上部に取り付けられる。ベース110は、ベース回転部111を有する。ベース回転部111は、ベース回転軸ax1回りに回転する、つまり、図中に示すa1方向(ベース回転方向a1)の正逆可能に回転する。なお、ベース回転部111がa1方向に回転する場合であっても、ベース110は回転しない。
<Base 110>
The base 110 is attached to the upper part of the base 101. The base 110 has a base rotating portion 111. The base rotation unit 111 rotates around the base rotation axis ax1, that is, it rotates in the a1 direction (base rotation direction a1) shown in the drawing in the forward and reverse directions. Even when the base rotating portion 111 rotates in the a1 direction, the base 110 does not rotate.

<第1アーム120>
第1アーム120は、ベース110に取り付けられる。第1アーム120は、第1アーム揺動部121を有する。第1アーム揺動部121は、第1アーム揺動軸ax2を中心にして揺動(360度以下の角度で正逆回転)する、つまり、図中に示すa2方向(第1アーム揺動方向a2)に揺動する。第1アーム揺動部121がa2方向に揺動することで、第1アーム120がa2方向に揺動する。
<First arm 120>
The first arm 120 is attached to the base 110. The first arm 120 has a first arm swinging portion 121. The first arm swing portion 121 swings (forward and reverse rotation at an angle of 360 degrees or less) about the first arm swing shaft ax2, that is, in the a2 direction (first arm swing direction) shown in the figure. Swing to a2). When the first arm swinging portion 121 swings in the a2 direction, the first arm 120 swings in the a2 direction.

<第2アーム130>
第2アーム130は、第1アーム120に取り付けられる。第2アーム130は、第2アーム揺動部131と、第2アーム回転部132と、第2アーム本体部135とを有する。第2アーム揺動部131は、第2アーム揺動軸ax3を中心にして揺動(360度以下の角度で正逆回転)する、つまり、図中に示すa3方向(第2アーム揺動方向a3)に揺動する。第2アーム揺動部131がa3方向に揺動することで、第2アーム130がa3方向に揺動する。第2アーム回転部132は、第2アーム回転軸ax4回りに回転する、つまり、図中に示すa4方向(第2アーム回転方向a4)の正逆可能に回転する。第2アーム回転部132がa4方向に回転することで、第2アーム本体部135がa4方向に回転する。なお、第2アーム回転部132がa4方向に回転する場合であっても、第2アーム揺動部131は回転しない。
<Second arm 130>
The second arm 130 is attached to the first arm 120. The second arm 130 has a second arm swinging portion 131, a second arm rotating portion 132, and a second arm main body portion 135. The second arm swing portion 131 swings (forward and reverse rotation at an angle of 360 degrees or less) about the second arm swing shaft ax3, that is, in the a3 direction (second arm swing direction) shown in the figure. Swing to a3). When the second arm swinging portion 131 swings in the a3 direction, the second arm 130 swings in the a3 direction. The second arm rotation unit 132 rotates around the second arm rotation axis ax4, that is, rotates in the a4 direction (second arm rotation direction a4) shown in the drawing in the forward and reverse directions. When the second arm rotating portion 132 rotates in the a4 direction, the second arm main body portion 135 rotates in the a4 direction. Even when the second arm rotating portion 132 rotates in the a4 direction, the second arm swinging portion 131 does not rotate.

<第3アーム140>
第3アーム140は、第2アーム130の第2アーム本体部135の一端側に取り付けられる。第3アーム140は、第3アーム揺動部141と、第3アーム回転部142とを有する。第3アーム揺動部141は、第3アーム揺動軸ax5を中心にして揺動(360度以下の角度で正逆回転)する、つまり、図中に示すa5方向(第3アーム揺動方向a5)に揺動する。第3アーム揺動部141がa5方向に揺動することで、第3アーム140がa5方向に揺動する。第3アーム回転部142は、第3アーム回転軸ax6回りに回転する、つまり、図中に示すa6方向(第3アーム回転方向a6)の正逆可能に回転する。なお、第3アーム回転部142がa6方向に回転する場合であっても、第3アーム揺動部141は回転しない。
<Third arm 140>
The third arm 140 is attached to one end side of the second arm main body 135 of the second arm 130. The third arm 140 has a third arm swinging portion 141 and a third arm rotating portion 142. The third arm swing portion 141 swings (forward and reverse rotation at an angle of 360 degrees or less) about the third arm swing shaft ax5, that is, in the a5 direction (third arm swing direction) shown in the figure. Swing to a5). When the third arm swinging portion 141 swings in the a5 direction, the third arm 140 swings in the a5 direction. The third arm rotation unit 142 rotates around the third arm rotation axis ax6, that is, rotates in the a6 direction (third arm rotation direction a6) shown in the drawing in the forward and reverse directions. Even when the third arm rotating portion 142 rotates in the a6 direction, the third arm swinging portion 141 does not rotate.

<ハンド150>
ハンド150は、第3アーム140の第3アーム回転部142に取り付けられる。ハンド150の詳細は後述する(必要であれば図5参照)が、第1把持部151と、第2把持部152と、固定部153とを主に有する。第1把持部151及び第2把持部152は、固定部153に備えられるエアシリンダ等(図示せず)によりa7方向に移動する。第1把持部151及び第2把持部152により、照明装置200を把持する。
<Hand 150>
The hand 150 is attached to the third arm rotating portion 142 of the third arm 140. The details of the hand 150 will be described later (see FIG. 5 if necessary), but it mainly has a first grip portion 151, a second grip portion 152, and a fixing portion 153. The first grip portion 151 and the second grip portion 152 move in the a7 direction by an air cylinder or the like (not shown) provided in the fixing portion 153. The lighting device 200 is gripped by the first grip portion 151 and the second grip portion 152.

<ロボット100の動作>
ロボット100は、基本的に、第3アーム回転部142の端部が、所望する位置及び所望する向きとなるように駆動する。これにより、ハンド150で把持された照明装置200が所望する位置及び所望する向きとなり、所望する距離や角度で検査対象物660を照明することができる。
<Operation of robot 100>
The robot 100 is basically driven so that the end portion of the third arm rotating portion 142 is in a desired position and a desired orientation. As a result, the illuminating device 200 gripped by the hand 150 has a desired position and a desired orientation, and the inspection object 660 can be illuminated at a desired distance and angle.

<<検査台600>>
次に、図6及び図7を用いて検査台600の構成について説明する。検査台600は、検査対象物660を載置して、検査対象物660の欠陥を撮像するための装置である。検査台600は、テーブル400の位置、カメラ300の位置、角度、検査対象物660との距離、第1拡散板510又は第2拡散板520の有無、位置等を変更可能に構成されている。第1拡散板510や第2拡散板520は、微小な凹凸が表面に形成され、透過する光を拡散させる(ディフューザレンズ)。凹凸の大きさや形状によって拡散の度合いを決めることができる。
<< Inspection table 600 >>
Next, the configuration of the inspection table 600 will be described with reference to FIGS. 6 and 7. The inspection table 600 is a device for mounting the inspection target object 660 and imaging a defect of the inspection target object 660. The inspection table 600 is configured so that the position of the table 400, the position and angle of the camera 300, the distance to the inspection object 660, the presence / absence of the first diffusion plate 510 or the second diffusion plate 520, the position, and the like can be changed. In the first diffuser plate 510 and the second diffuser plate 520, minute irregularities are formed on the surface to diffuse the transmitted light (diffuser lens). The degree of diffusion can be determined by the size and shape of the unevenness.

検査台600は、検査台ベース610と、テーブルXステージ620と、テーブルZステージ621と、支持部630と、第1拡散板Xステージ631と、第1拡散板Zステージ632と、第2拡散板Xステージ640と、第2拡散板Zステージ641と、カメラθステージ650と、カメラθガイド651と、カメラ直動ステージ652と、第3収納部920とを主に有する。 The inspection table 600 includes an inspection table base 610, a table X stage 620, a table Z stage 621, a support portion 630, a first diffusion plate X stage 631, a first diffusion plate Z stage 632, and a second diffusion plate. It mainly has an X stage 640, a second diffusion plate Z stage 641, a camera θ stage 650, a camera θ guide 651, a camera linear motion stage 652, and a third storage unit 920.

<検査台ベース610>
検査台ベース610は、検査台600の基礎となる部分であり、床や設計装置の台の所定の位置に設置される。検査台ベース610には、テーブルXステージ620、カメラ直動ステージ652、支持部630、第2拡散板Xステージ640、第3収納部920等が主に取り付けられる。
<Inspection table base 610>
The inspection table base 610 is a base portion of the inspection table 600, and is installed at a predetermined position on the floor or the table of the design device. A table X stage 620, a camera linear motion stage 652, a support portion 630, a second diffusion plate X stage 640, a third storage portion 920, and the like are mainly attached to the inspection table base 610.

<テーブルXステージ620>
テーブルXステージ620は、検査台ベース610に取り付けられる。テーブルXステージ620は、テーブル400をX軸方向(図中のXT方向)に移動させるためのステージである。テーブルXステージ620には、テーブルZステージ621が取り付けられる。テーブルXステージ620に備えられたモータ等が駆動することにより、テーブルZステージ621はXT方向に移動する、すなわち、+X方向及び−X方向に往復移動することができる。
<Table X stage 620>
The table X stage 620 is attached to the inspection table base 610. The table X stage 620 is a stage for moving the table 400 in the X-axis direction (XT direction in the drawing). A table Z stage 621 is attached to the table X stage 620. By driving a motor or the like provided on the table X stage 620, the table Z stage 621 can move in the XT direction, that is, reciprocate in the + X direction and the −X direction.

<テーブルZステージ621>
テーブルZステージ621は、テーブル400を図中のZT方向(+Z方向にも−Z方向にも)に移動させるためのステージである。テーブルZステージ621には、テーブル400が取り付けられる。テーブルZステージ621に備えられたモータ等が駆動することにより、テーブル400はZT方向に移動する。すなわち、+Z方向及び−Z方向に往復移動することができる。
<Table Z stage 621>
The table Z stage 621 is a stage for moving the table 400 in the ZT direction (both the + Z direction and the −Z direction) in the drawing. A table 400 is attached to the table Z stage 621. The table 400 moves in the ZT direction by driving a motor or the like provided on the table Z stage 621. That is, it can reciprocate in the + Z direction and the −Z direction.

<テーブル400>
テーブル400は、検査対象物660を載置するための台である。テーブル400には、開口部410が形成されている。開口部410は、照明装置200から発せられた光を通過させる。検査対象物660を透過光によって検査するときには、開口部410に検査対象物660を載置するとともに、照明装置200をテーブル400の下方に位置づけて、照明装置200から発せられた光を開口部410を介して検査対象物660に照射する。また、検査対象物660を反射光によって検査するときには、開口部410に検査対象物660を載置するとともに、照明装置200をテーブル400の上方に位置づけて、照明装置200から発せられた光を検査対象物660に照射する。なお、検査対象物660を照明装置200にてテーブル400より上方から照明する場合には開口部410にガラス板等を載せてもよい。検査対象物660を照明装置200にてテーブル400より下方から照明する場合には、開口部410にガラス板等を載せない方が好ましい。
<Table 400>
The table 400 is a table on which the inspection object 660 is placed. An opening 410 is formed in the table 400. The opening 410 allows light emitted from the illuminating device 200 to pass through. When the inspection object 660 is inspected by transmitted light, the inspection object 660 is placed in the opening 410, the lighting device 200 is positioned below the table 400, and the light emitted from the lighting device 200 is emitted from the opening 410. The inspection object 660 is irradiated through. When the inspection target object 660 is inspected by reflected light, the inspection target object 660 is placed in the opening 410, and the lighting device 200 is positioned above the table 400 to inspect the light emitted from the lighting device 200. The object 660 is irradiated. When the inspection object 660 is illuminated by the lighting device 200 from above the table 400, a glass plate or the like may be placed in the opening 410. When the inspection object 660 is illuminated by the lighting device 200 from below the table 400, it is preferable not to place a glass plate or the like on the opening 410.

<カメラ直動ステージ652>
カメラ直動ステージ652は、検査台ベース610に取り付けられる。カメラ直動ステージ652には、カメラθステージ650、カメラθガイド651及びカメラ支持部653が取り付けられる。カメラ直動ステージ652は、カメラ300とテーブル400の検査対象物660との距離を調整するためのステージであり、図6では、LC方向に移動する。なお、後述するように、カメラ直動ステージ652は、カメラθステージ650によって回転可能であり、LC方向は、半径方向となる。カメラ直動ステージ652に備えられたモータ等が駆動することにより、後述するカメラ支持部653がLC方向に移動し、カメラ300の位置がLC方向に移動する。このように、カメラ300を検査対象物660に近づけたり遠ざけたりして位置を調整することができる。
<Camera direct motion stage 652>
The camera direct-acting stage 652 is attached to the inspection table base 610. A camera θ stage 650, a camera θ guide 651, and a camera support portion 653 are attached to the camera direct motion stage 652. The camera linear motion stage 652 is a stage for adjusting the distance between the camera 300 and the inspection object 660 of the table 400, and in FIG. 6, it moves in the LC direction. As will be described later, the camera direct-acting stage 652 can be rotated by the camera θ stage 650, and the LC direction is the radial direction. When a motor or the like provided in the camera direct-acting stage 652 is driven, the camera support portion 653, which will be described later, moves in the LC direction, and the position of the camera 300 moves in the LC direction. In this way, the position of the camera 300 can be adjusted by moving the camera 300 closer to or further from the inspection object 660.

<カメラθステージ650、カメラθガイド651>
カメラθステージ650は、カメラ直動ステージ652の傾き、言い換えると、カメラ300の傾きを調整するためのステージである。カメラθステージ650に備えられたモータ等が駆動することにより、カメラ直動ステージ652は、カメラθガイド651に沿って移動するため、図6中のθC方向に移動する。つまり、カメラ300の傾きもθC方向に移動する。なお、θ=0のときは、鉛直方向となる。
<Camera θ stage 650, camera θ guide 651>
The camera θ stage 650 is a stage for adjusting the tilt of the camera direct motion stage 652, in other words, the tilt of the camera 300. When the motor or the like provided in the camera θ stage 650 is driven, the camera direct motion stage 652 moves along the camera θ guide 651, and thus moves in the θC direction in FIG. That is, the tilt of the camera 300 also moves in the θC direction. When θ = 0, the direction is vertical.

<カメラ支持部653>
カメラ支持部653は、カメラ300を一定の位置に保持する。前述した通り、カメラ支持部653は、カメラ直動ステージ652に取り付けられる。カメラ直動ステージ652に備えられたモータ等が駆動することにより、カメラ支持部653がLC方向に移動し、カメラ300の位置がLC方向に移動する。
<Camera support 653>
The camera support portion 653 holds the camera 300 in a fixed position. As described above, the camera support portion 653 is attached to the camera linear motion stage 652. By driving a motor or the like provided in the camera direct motion stage 652, the camera support portion 653 moves in the LC direction, and the position of the camera 300 moves in the LC direction.

<カメラ300>
カメラ300は、ラインセンサカメラである。カメラ300は、カメラ支持部653に取り付けられる。カメラ300は、例えば、CCDイメージングセンサ素子やCMOSイメージング素子などの撮像素子を有する。カメラ300は、撮像素子によって、検査対象物660の表面や欠陥を撮影して、撮像信号を出力する。
<Camera 300>
The camera 300 is a line sensor camera. The camera 300 is attached to the camera support portion 653. The camera 300 has, for example, an image pickup element such as a CCD imaging sensor element or a CMOS imaging element. The camera 300 uses an image sensor to photograph the surface and defects of the inspection object 660 and outputs an image pickup signal.

<支持部630>
支持部630は、長尺の形状を有し、鉛直方向に延びるように検査台ベース610に取り付けられる。支持部630には、第1拡散板Xステージ631が取り付けられる。
<Support part 630>
The support portion 630 has an elongated shape and is attached to the inspection table base 610 so as to extend in the vertical direction. The first diffusion plate X stage 631 is attached to the support portion 630.

<第1拡散板Xステージ631>
第1拡散板Xステージ631は、支持部630に取り付けられる。第1拡散板Xステージ631には、第1拡散板Zステージ632が取り付けられる。第1拡散板Xステージ631は、第1拡散板Zステージ632を図中のXD1方向に移動させるためのステージである。すなわち、+X方向及び−X方向に往復移動することができる。第1拡散板Xステージ631に備えられたモータ等が駆動することにより、第1拡散板Zステージ632はXD1方向に移動する。
<1st diffusion plate X stage 631>
The first diffusion plate X stage 631 is attached to the support portion 630. The first diffusion plate Z stage 632 is attached to the first diffusion plate X stage 631. The first diffusion plate X stage 631 is a stage for moving the first diffusion plate Z stage 632 in the XD1 direction in the drawing. That is, it can reciprocate in the + X direction and the −X direction. The first diffusion plate Z stage 632 moves in the XD1 direction by driving a motor or the like provided on the first diffusion plate X stage 631.

<第1拡散板Zステージ632>
第1拡散板Zステージ632は、第1拡散板Xステージ631に取り付けられる。第1拡散板Zステージ632には、第1拡散板支持部633が取り付けられる。第1拡散板Zステージ632は、第1拡散板支持部633を図中のZD1方向に移動させるためのステージである。すなわち、+Z方向及び−Z方向に往復移動することができる。第1拡散板Zステージ632に備えられたモータ等が駆動することにより、第1拡散板支持部633はZD1方向に移動する。
<1st diffusion plate Z stage 632>
The first diffusion plate Z stage 632 is attached to the first diffusion plate X stage 631. The first diffusion plate support portion 633 is attached to the first diffusion plate Z stage 632. The first diffusion plate Z stage 632 is a stage for moving the first diffusion plate support portion 633 in the ZD1 direction in the drawing. That is, it can reciprocate in the + Z direction and the −Z direction. The first diffuser plate support portion 633 moves in the ZD1 direction by being driven by a motor or the like provided on the first diffuser plate Z stage 632.

<第1拡散板支持部633、第1拡散板把持部634>
第1拡散板支持部633は、第1拡散板Zステージ632に取り付けられる。第1拡散板支持部633は、第1拡散板把持部634を有している。第1拡散板把持部634は、2本の把持板にて上下から第1拡散板510を挟んで把持することが可能である。2本の把持板は、ソレノイド等の駆動により第1拡散板510を把持することができる。さらに、圧縮空気で図示しない第1拡散板進退シリンダ507が作動することにより、第1拡散板支持部633は、第1拡散板510を進出位置と退避位置に変更可能となっている。また、圧縮空気で第1拡散板把持シリンダ509が作動することにより、第1拡散板把持部634は、第1拡散板510を把持することが可能に構成されている。
<First diffusion plate support portion 633, first diffusion plate grip portion 634>
The first diffusion plate support portion 633 is attached to the first diffusion plate Z stage 632. The first diffusion plate support portion 633 has a first diffusion plate grip portion 634. The first diffusion plate gripping portion 634 can be gripped by sandwiching the first diffusion plate 510 from above and below with two gripping plates. The two grip plates can grip the first diffusion plate 510 by driving a solenoid or the like. Further, by operating the first diffusion plate advancing / retreating cylinder 507 (not shown) with compressed air, the first diffusion plate support portion 633 can change the first diffusion plate 510 to the advance position and the retracted position. Further, by operating the first diffusion plate gripping cylinder 509 with compressed air, the first diffusion plate gripping portion 634 is configured to be able to grip the first diffusion plate 510.

<第1拡散板510>
第1拡散板510は、第1拡散板把持部634によって把持され、必要に応じてテーブル400の上方に配置される。テーブルの上方から照明装置200が検査対象物660を照明した際に、照明装置200から出射された光が第1拡散板510にて拡散し、拡散した光が検査対象物660に照射される。なお、第1拡散板510は、図示しない第1拡散板角度モータ505により、角度φを変更可能となっている。
<First diffusion plate 510>
The first diffusion plate 510 is gripped by the first diffusion plate grip portion 634 and is arranged above the table 400 as needed. When the illuminating device 200 illuminates the inspection object 660 from above the table, the light emitted from the illuminating device 200 is diffused by the first diffusing plate 510, and the diffused light is irradiated to the inspection object 660. The angle φ of the first diffuser plate 510 can be changed by a first diffuser plate angle motor 505 (not shown).

<第2拡散板Xステージ640>
第2拡散板Xステージ640は、検査台ベース610に取り付けられる。第2拡散板Xステージ640には、第2拡散板Zステージ641が取り付けられる。第2拡散板Xステージ640は、第2拡散板Zステージ641を図中のXD2方向に移動させるためのステージである。すなわち、+X方向及び−X方向に往復移動することができる。第2拡散板Xステージ640に備えられたモータ等が駆動することにより、第2拡散板Zステージ641はXD2方向に移動する。
<Second diffusion plate X stage 640>
The second diffuser plate X stage 640 is attached to the inspection table base 610. The second diffusion plate Z stage 641 is attached to the second diffusion plate X stage 640. The second diffusion plate X stage 640 is a stage for moving the second diffusion plate Z stage 641 in the XD2 direction in the drawing. That is, it can reciprocate in the + X direction and the −X direction. The second diffuser plate Z stage 641 moves in the XD2 direction by being driven by a motor or the like provided in the second diffuser plate X stage 640.

<第2拡散板Zステージ641>
第2拡散板Zステージ641は、第2拡散板Xステージ640に取り付けられる。第2拡散板Zステージ641には、第2拡散板支持部642が取り付けられる。第2拡散板Zステージ641は、第2拡散板支持部642を図中のZD2方向に移動させるためのステージである。すなわち、+Z方向及び−Z方向に往復移動することができる。第2拡散板Zステージ641に備えられたモータ等が駆動することにより、第2拡散板支持部642はZD2方向に移動する。
<Second diffusion plate Z stage 641>
The second diffuser plate Z stage 641 is attached to the second diffuser plate X stage 640. A second diffuser plate support portion 642 is attached to the second diffuser plate Z stage 641. The second diffusion plate Z stage 641 is a stage for moving the second diffusion plate support portion 642 in the ZD2 direction in the drawing. That is, it can reciprocate in the + Z direction and the −Z direction. The second diffuser plate support portion 642 moves in the ZD2 direction by being driven by a motor or the like provided in the second diffuser plate Z stage 641.

<第2拡散板支持部642、第2拡散板把持部643>
第2拡散板支持部642は、第2拡散板Zステージ641に取り付けられる。第2拡散板支持部642は、第2拡散板把持部643を有している。第2拡散板把持部643は、2本の把持板にて上下から第2拡散板520を挟んで把持することが可能である。さらに、圧縮空気で図示しない第2拡散板進退シリンダ517が作動することにより、第2拡散板支持部642は、第2拡散板520を進出位置と退避位置に変更可能となっている。また、圧縮空気で第2拡散板把持シリンダ519が作動することにより、第2拡散板把持部643は、第2拡散板520を把持することが可能に構成されている。
<Second diffusion plate support portion 642, second diffusion plate grip portion 643>
The second diffuser plate support portion 642 is attached to the second diffuser plate Z stage 641. The second diffuser plate support portion 642 has a second diffuser plate grip portion 643. The second diffusion plate gripping portion 643 can be gripped by sandwiching the second diffusion plate 520 from above and below with two gripping plates. Further, by operating the second diffusion plate advancing / retreating cylinder 517 (not shown) with compressed air, the second diffusion plate support portion 642 can change the second diffusion plate 520 to the advance position and the retracted position. Further, by operating the second diffusion plate gripping cylinder 519 with compressed air, the second diffusion plate gripping portion 643 is configured to be able to grip the second diffusion plate 520.

<第2拡散板520>
第2拡散板520は、第2拡散板把持部643によって把持され、必要に応じてテーブル400の下方に配置される。テーブルの下方から照明装置200が検査対象物660を照明した際に、照明装置200から出射された光が第2拡散板520にて拡散し、拡散した光が検査対象物660に照射される。なお、第2拡散板520は、図示しない第2拡散板角度モータ515により、角度φ2を変更可能となっている。
<Second diffusion plate 520>
The second diffuser plate 520 is gripped by the second diffuser plate gripping portion 643 and is arranged below the table 400 as needed. When the lighting device 200 illuminates the inspection object 660 from below the table, the light emitted from the lighting device 200 is diffused by the second diffuser plate 520, and the diffused light is irradiated to the inspection object 660. The angle φ2 of the second diffuser plate 520 can be changed by a second diffuser plate angle motor 515 (not shown).

<第3収納部920>
第3収納部920は、検査台ベース610に取り付けられる。第3収納部920は、複数の第1拡散板510(本例では2枚)を収納する。拡散の度合いが互いに異なる複数の拡散板を収納することができる。
<Third storage unit 920>
The third storage unit 920 is attached to the inspection table base 610. The third storage unit 920 stores a plurality of first diffusion plates 510 (two in this example). It is possible to store a plurality of diffusion plates having different degrees of diffusion.

<第4収納部930>
第4収納部930は、検査台ベース610に取り付けられる。第4収納部930は、複数の第2拡散板520(本例では2枚)を収納する。拡散の度合いが互いに異なる複数の拡散板を収納することができる。
<4th storage unit 930>
The fourth storage unit 930 is attached to the inspection table base 610. The fourth storage unit 930 stores a plurality of second diffusion plates 520 (two in this example). It is possible to store a plurality of diffusion plates having different degrees of diffusion.

なお、第1拡散板510と第2拡散板520は、1枚又は複数枚が同じ拡散の度合いであってもよい。 The first diffusion plate 510 and the second diffusion plate 520 may have the same degree of diffusion.

<<<ロボット100の機能の補足>>>
次に、図3乃至図5を用いてロボット100の機能について補足説明する。
<<< Supplement to the functions of Robot 100 >>>
Next, the functions of the robot 100 will be supplementarily described with reference to FIGS. 3 to 5.

<ベース回転部111>
ベース110のベース回転部111がa1方向に回転することで、ベース110よりも遠端側の部材(第1アーム120以遠の第2アーム130、第3アーム140、ハンド150)が一体としてa1方向に回転する。
<Base rotating part 111>
By rotating the base rotating portion 111 of the base 110 in the a1 direction, the members on the far end side of the base 110 (the second arm 130, the third arm 140, and the hand 150 beyond the first arm 120) are integrated in the a1 direction. Rotate to.

<第1アーム揺動部121>
第1アーム120の第1アーム揺動部121がa2方向に揺動することで、第1アーム120がa2方向に揺動し、これに伴い第1アーム120よりも遠端側の部材(第2アーム130以遠の第3アーム140、ハンド150)が一体としてa2方向に揺動する。
<First arm swing portion 121>
When the first arm swinging portion 121 of the first arm 120 swings in the a2 direction, the first arm 120 swings in the a2 direction, and accordingly, a member on the far end side of the first arm 120 (the first member). The third arm 140 beyond the two arms 130 and the hand 150) integrally swing in the a2 direction.

<第2アーム揺動部131>
第2アーム130の第2アーム揺動部131がa3方向に揺動することで、第2アーム130がa3方向に揺動し、これに伴い第2アーム130よりも遠端側の部材(第3アーム140以遠のハンド150)が一体としてa3方向に揺動する。
<Second arm swinging part 131>
When the second arm swinging portion 131 of the second arm 130 swings in the a3 direction, the second arm 130 swings in the a3 direction, and accordingly, a member on the far end side of the second arm 130 (the first member). The hands 150) beyond the 3 arms 140 swing in the a3 direction as a unit.

<第2アーム回転部132>
第2アーム130の第2アーム回転部132がa4方向に回転することで、第2アーム本体部135がa4方向に回転し、これに伴い第2アーム130よりも遠端側の部材(第3アーム140以遠のハンド150)が一体としてa4方向に回転する。
<Second arm rotating part 132>
When the second arm rotating portion 132 of the second arm 130 rotates in the a4 direction, the second arm main body portion 135 rotates in the a4 direction, and accordingly, a member on the far end side of the second arm 130 (third). The hand 150) beyond the arm 140 rotates as a unit in the a4 direction.

<第3アーム揺動部141>
第3アーム140の第3アーム揺動部141がa5方向に揺動することで、第3アーム140がa5方向に揺動し、これに伴い第3アーム140よりも遠端側の部材(ハンド150)が一体としてa5方向に揺動する。
<Third arm swinging part 141>
When the third arm swinging portion 141 of the third arm 140 swings in the a5 direction, the third arm 140 swings in the a5 direction, and accordingly, a member (hand) on the far end side of the third arm 140. 150) swings in the a5 direction as a unit.

<第3アーム回転部142>
第3アーム140の第3アーム回転部142がa6方向に回転することで、ハンド150がa6方向に回転する。
<Third arm rotating part 142>
When the third arm rotating portion 142 of the third arm 140 rotates in the a6 direction, the hand 150 rotates in the a6 direction.

<<<照明装置200の位置・角度の変更等>>>
次に、図8(A)を用いて照明装置200の位置及び角度の変更について説明する。図8(A)は、欠陥を検査するときにおける照明装置200とカメラ300とテーブル400と検査対象物660との配置を示す正面図である。前述した通り、照明装置200は、ロボット100の第1把持部151及び第2把持部152により把持されている。照明装置200から照明光Iをテーブル400の上に載せられた検査対象物660へ照射している。
<<< Change of position / angle of lighting device 200 >>>
Next, the change of the position and the angle of the lighting device 200 will be described with reference to FIG. 8A. FIG. 8A is a front view showing the arrangement of the lighting device 200, the camera 300, the table 400, and the inspection object 660 when inspecting a defect. As described above, the lighting device 200 is gripped by the first grip portion 151 and the second grip portion 152 of the robot 100. Illumination light I is emitted from the illumination device 200 to the inspection object 660 placed on the table 400.

ロボット100の各揺動部の揺動により、照明装置200と検査対象物660との位置を調整可能である。具体的には、図8(A)中の検査対象物660との距離方向及びテーブル400と水平であり且つX方向に照明装置200の位置を移動させることが可能である。 The position of the lighting device 200 and the inspection object 660 can be adjusted by swinging each swinging portion of the robot 100. Specifically, it is possible to move the position of the lighting device 200 in the distance direction from the inspection object 660 in FIG. 8A, horizontal to the table 400, and in the X direction.

ロボット100の各回転部の回転により、照明装置200の角度、言い換えると、照明光Iの出射角度を調整可能である。具体的には、図8(A)中の照明装置200及び照明光Iの角度θを変化させることが可能である。 By rotating each rotating portion of the robot 100, the angle of the lighting device 200, in other words, the emission angle of the illumination light I can be adjusted. Specifically, it is possible to change the angle θ of the illumination device 200 and the illumination light I in FIG. 8 (A).

<<<拡散板の位置・角度の変更等>>>
次に、図8(B)を用いて第1拡散板510の位置及び角度の変更について説明する。図8(B)は、欠陥を検査するときにおける照明装置200とカメラ300とテーブル400と第1拡散板510と検査対象物660との配置を示す正面図である。照明装置200は、ロボット100の第1把持部151及び第2把持部152により把持されている。照明装置200から照明光Iをテーブル400の上に載置された検査対象物660へ照射している。図8(B)では、照明装置200と検査対象物660との間に第1拡散板510が設けられている。第1拡散板510は、第1拡散板Xステージ631及び第1拡散板Zステージ632により、図8(B)中に示す検査対象物660との距離方向に移動可能となっている。さらに、第1拡散板510は、第1拡散板角度モータ505により、角度φを変更可能となっている。
<<< Change the position and angle of the diffuser >>
Next, the change of the position and the angle of the first diffusion plate 510 will be described with reference to FIG. 8 (B). FIG. 8B is a front view showing the arrangement of the lighting device 200, the camera 300, the table 400, the first diffusion plate 510, and the inspection object 660 when inspecting a defect. The lighting device 200 is gripped by the first grip portion 151 and the second grip portion 152 of the robot 100. Illumination light I is emitted from the illumination device 200 to the inspection object 660 placed on the table 400. In FIG. 8B, a first diffusion plate 510 is provided between the lighting device 200 and the inspection object 660. The first diffusion plate 510 can be moved in the distance direction from the inspection object 660 shown in FIG. 8B by the first diffusion plate X stage 631 and the first diffusion plate Z stage 632. Further, the angle φ of the first diffusion plate 510 can be changed by the first diffusion plate angle motor 505.

なお、詳細な説明は省略するが、テーブル400の下方から照明装置200にて検査対象物660を照明する場合には、照明装置200は、テーブル400との間を移動可能、言い換えると、照明装置200とテーブル400との距離方向に移動可能である。第2拡散板520は、照明装置200とテーブル400との間を移動可能(距離方向に移動可能)であり、さらに、第2拡散板角度モータ515により、角度φ2を変更可能となっている。 Although detailed description is omitted, when the illuminating device 200 illuminates the inspection object 660 from below the table 400, the illuminating device 200 can move between the table 400 and the illuminating device 200, in other words, the illuminating device 200. It is movable in the distance direction between the 200 and the table 400. The second diffuser plate 520 is movable between the lighting device 200 and the table 400 (movable in the distance direction), and the angle φ2 can be changed by the second diffuser plate angle motor 515.

<<<システム構成>>>
次に、図9を用いて、設計装置のシステム構成について説明する。
<<< System configuration >>>
Next, the system configuration of the design apparatus will be described with reference to FIG.

PC(パーソナルコンピュータ)700は、CPU710と、ROM720と、RAM730と、ロボットコントローラ740と、カメラコントローラ750と、モーションコントローラ760と、通信インターフェース780、通信インターフェース830とを主に有する。 The PC (personal computer) 700 mainly includes a CPU 710, a ROM 720, a RAM 730, a robot controller 740, a camera controller 750, a motion controller 760, a communication interface 780, and a communication interface 830.

PC700は、ロボット100の制御、カメラ300の位置及び角度の制御、テーブル400の位置の制御、第1拡散板510の位置及び角度の制御、第2拡散板520の位置及び角度の制御、ライン照明210の調光制御等を行う。 The PC 700 controls the robot 100, the position and angle of the camera 300, the position of the table 400, the position and angle of the first diffusion plate 510, the position and angle of the second diffusion plate 520, and line illumination. Dimming control of 210 and the like are performed.

ロボットコントローラ740は、ロボット100の駆動源(モータ等)を制御するためのコントローラである。ロボットコントローラ740は、CPU710から出力された制御信号から駆動信号を生成し、ロボット100の各揺動部及び各回転部の駆動源に駆動信号を送信する。各駆動源は、駆動信号に応じた回転方向や回転速度などで駆動される。 The robot controller 740 is a controller for controlling a drive source (motor or the like) of the robot 100. The robot controller 740 generates a drive signal from the control signal output from the CPU 710, and transmits the drive signal to the drive sources of each swinging portion and each rotating portion of the robot 100. Each drive source is driven in a rotation direction, a rotation speed, or the like according to a drive signal.

カメラコントローラ750は、カメラ300の撮像に関する制御やカメラ300が撮像した画像を処理するためのコントローラである。カメラコントローラ750とカメラ300は、ケーブル等で接続される。 The camera controller 750 is a controller for controlling the imaging of the camera 300 and processing the image captured by the camera 300. The camera controller 750 and the camera 300 are connected by a cable or the like.

モーションコントローラ760は、検査台600に備えられるテーブルXステージ620、テーブルZステージ621、第1拡散板Xステージ631、第1拡散板Zステージ632、第1拡散板角度モータ505、第2拡散板Xステージ640、第2拡散板Zステージ641、第2拡散板角度モータ515、カメラθステージ650、カメラ直動ステージ652の駆動源(モータ等)を制御するためのコントローラである。モーションコントローラ760は、モータドライバを含み、CPU710から出力された制御信号から駆動信号を生成し、各ステージの駆動源に駆動信号を送信する。各駆動源は、駆動信号に応じた回転方向や回転速度などで駆動される。モーションコントローラ760とモーション端子台770がケーブル等で接続されており、モーション端子台770と各ステージ等がケーブル等で接続されている。モーションコントローラ760から送信された駆動信号は、モーション端子台770を介して、対応するステージ等の駆動源へ送信されることとなる。 The motion controller 760 includes a table X stage 620, a table Z stage 621, a first diffusion plate X stage 631, a first diffusion plate Z stage 632, a first diffusion plate angle motor 505, and a second diffusion plate X provided in the inspection table 600. This is a controller for controlling the drive sources (motors, etc.) of the stage 640, the second diffuser plate Z stage 641, the second diffuser plate angle motor 515, the camera θ stage 650, and the camera linear motion stage 652. The motion controller 760 includes a motor driver, generates a drive signal from the control signal output from the CPU 710, and transmits the drive signal to the drive source of each stage. Each drive source is driven in a rotation direction, a rotation speed, or the like according to a drive signal. The motion controller 760 and the motion terminal block 770 are connected by a cable or the like, and the motion terminal block 770 and each stage or the like are connected by a cable or the like. The drive signal transmitted from the motion controller 760 will be transmitted to a drive source such as a corresponding stage via the motion terminal block 770.

通信インターフェース780は、I/Oユニット790とケーブル等で接続される。I/Oユニット790は、I/O端子台800とケーブル等で接続される。I/O端子台800は、電源装置810、ボックス照明820、第1拡散板進退シリンダ507、第2拡散板進退シリンダ517、第1拡散板把持シリンダ509、第2拡散板把持シリンダ519及びハンド把持シリンダ190とそれぞれケーブル等で接続される。電源装置810は、ライン照明210とケーブル等で接続される。ボックス照明820は、板状ライトガイド220と液体ライトガイド157等で接続される。電源装置810は、CPU710から送信された制御コマンドに基づいてライン照明210へコマンドを送信し、ライン照明210は、受信したコマンドに基づいた調光値で発光する。ボックス照明820は、CPU710から送信された制御コマンドに基づいて発光し、光を液体ライトガイド157を介して板状ライトガイド220へ入射させる。第1拡散板進退シリンダ507は、CPU710から送信された制御コマンドに基づいて作動する。第2拡散板進退シリンダ517は、CPU710から送信された制御コマンドに基づいて作動する。第1拡散板把持シリンダ509は、CPU710から送信された制御コマンドに基づいて作動する。第2拡散板把持シリンダ519は、CPU710から送信された制御コマンドに基づいて作動する。ハンド把持シリンダ190は、CPU710から送信された制御コマンドに基づいて作動する。 The communication interface 780 is connected to the I / O unit 790 with a cable or the like. The I / O unit 790 is connected to the I / O terminal block 800 with a cable or the like. The I / O terminal block 800 includes a power supply device 810, a box lighting 820, a first diffusion plate advance / retreat cylinder 507, a second diffusion plate advance / retreat cylinder 517, a first diffusion plate grip cylinder 509, a second diffusion plate grip cylinder 519, and a hand grip. It is connected to the cylinder 190 with a cable or the like. The power supply device 810 is connected to the line illumination 210 by a cable or the like. The box lighting 820 is connected to the plate-shaped light guide 220 by a liquid light guide 157 or the like. The power supply device 810 transmits a command to the line illumination 210 based on the control command transmitted from the CPU 710, and the line illumination 210 emits light at a dimming value based on the received command. The box illumination 820 emits light based on a control command transmitted from the CPU 710, and causes the light to enter the plate-shaped light guide 220 via the liquid light guide 157. The first diffusion plate advance / retreat cylinder 507 operates based on a control command transmitted from the CPU 710. The second diffuser plate advance / retreat cylinder 517 operates based on a control command transmitted from the CPU 710. The first diffusion plate gripping cylinder 509 operates based on a control command transmitted from the CPU 710. The second diffuser plate gripping cylinder 519 operates based on the control command transmitted from the CPU 710. The hand gripping cylinder 190 operates based on a control command transmitted from the CPU 710.

通信インターフェース830は、モニタ831(本例では、第1モニタ8310と第2モニタ8311を備える)と、マウス832と、キーボード833と接続されている。モニタ831は、カメラ300で撮像された画像を表示する。マウス832及びキーボード833は、測定条件の設定等に用いる。 The communication interface 830 is connected to a monitor 831 (in this example, the first monitor 8310 and the second monitor 8311 are provided), a mouse 832, and a keyboard 833. The monitor 831 displays an image captured by the camera 300. The mouse 832 and the keyboard 833 are used for setting measurement conditions and the like.

<<<ロボット100のシステム構成>>>
次に、図10を用いて、ロボット100のシステム構成について説明する。前述した通り、ロボットコントローラ740は、ロボット100の各揺動部及び各回転部の駆動源に駆動信号を送信する。ハンドシリンダコントローラ747は、I/O端子台800と接続されており、CPU710は、I/O端子台800を介してハンド把持シリンダ190へ駆動信号を送信する。
<<< System configuration of robot 100 >>>
Next, the system configuration of the robot 100 will be described with reference to FIG. As described above, the robot controller 740 transmits a drive signal to the drive sources of each swinging portion and each rotating portion of the robot 100. The hand cylinder controller 747 is connected to the I / O terminal block 800, and the CPU 710 transmits a drive signal to the hand gripping cylinder 190 via the I / O terminal block 800.

具体的には、ロボットコントローラ740から第1軸モータコントローラ741に駆動信号が送信されると、第1軸モータコントローラ741は、受信した駆動信号に基づいて第1軸駆動モータ112へ駆動信号を送信する。第1軸駆動モータ112は、駆動信号に応じた回転方向や回転速度などで駆動され、ベース回転部111が図3乃至図5に示すa1方向に回転する。 Specifically, when a drive signal is transmitted from the robot controller 740 to the first axis motor controller 741, the first axis motor controller 741 transmits a drive signal to the first axis drive motor 112 based on the received drive signal. To do. The first-axis drive motor 112 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, and the base rotation unit 111 rotates in the a1 direction shown in FIGS. 3 to 5.

ロボットコントローラ740から第2軸モータコントローラ742に駆動信号が送信されると、第2軸モータコントローラ742は、受信した駆動信号に基づいて第2軸駆動モータ122へ駆動信号を送信する。第2軸駆動モータ122は、駆動信号に応じた回転方向や回転速度などで駆動され、第1アーム揺動部121が図3乃至図5に示すa2方向に揺動する。 When the drive signal is transmitted from the robot controller 740 to the second axis motor controller 742, the second axis motor controller 742 transmits the drive signal to the second axis drive motor 122 based on the received drive signal. The second axis drive motor 122 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, and the first arm swing portion 121 swings in the a2 direction shown in FIGS. 3 to 5.

ロボットコントローラ740から第3軸モータコントローラ743に駆動信号が送信されると、第3軸モータコントローラ743は、受信した駆動信号に基づいて第3軸駆動モータ133へ駆動信号を送信する。第3軸駆動モータ133は、駆動信号に応じた回転方向や回転速度などで駆動され、第2アーム揺動部131が図3乃至図5に示すa3方向に揺動する。 When the drive signal is transmitted from the robot controller 740 to the third axis motor controller 743, the third axis motor controller 743 transmits the drive signal to the third axis drive motor 133 based on the received drive signal. The third axis drive motor 133 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, and the second arm swing portion 131 swings in the a3 direction shown in FIGS. 3 to 5.

ロボットコントローラ740から第4軸モータコントローラ744に駆動信号が送信されると、第4軸モータコントローラ744は、受信した駆動信号に基づいて第4軸駆動モータ134へ駆動信号を送信する。第4軸駆動モータ134は、駆動信号に応じた回転方向や回転速度などで駆動され、第2アーム回転部132が図3乃至図5に示すa4方向に回転する。 When the drive signal is transmitted from the robot controller 740 to the fourth axis motor controller 744, the fourth axis motor controller 744 transmits the drive signal to the fourth axis drive motor 134 based on the received drive signal. The fourth axis drive motor 134 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, and the second arm rotation unit 132 rotates in the a4 direction shown in FIGS. 3 to 5.

ロボットコントローラ740から第5軸モータコントローラ745に駆動信号が送信されると、第5軸モータコントローラ745は、受信した駆動信号に基づいて第5軸駆動モータ143へ駆動信号を送信する。第5軸駆動モータ143は、駆動信号に応じた回転方向や回転速度などで駆動され、第3アーム揺動部141が図3乃至図5に示すa5方向に揺動する。 When the drive signal is transmitted from the robot controller 740 to the fifth axis motor controller 745, the fifth axis motor controller 745 transmits the drive signal to the fifth axis drive motor 143 based on the received drive signal. The fifth-axis drive motor 143 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, and the third arm swing portion 141 swings in the a5 direction shown in FIGS. 3 to 5.

ロボットコントローラ740から第6軸モータコントローラ746に駆動信号が送信されると、第6軸モータコントローラ746は、受信した駆動信号に基づいて第6軸駆動モータ144へ駆動信号を送信する。第6軸駆動モータ144は、駆動信号に応じた回転方向や回転速度などで駆動され、第3アーム回転部142が図3乃至図5に示すa6方向に回転する。 When the drive signal is transmitted from the robot controller 740 to the 6-axis motor controller 746, the 6-axis motor controller 746 transmits the drive signal to the 6-axis drive motor 144 based on the received drive signal. The sixth axis drive motor 144 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, and the third arm rotation unit 142 rotates in the a6 direction shown in FIGS. 3 to 5.

CPU710からI/O端子台800を介してハンドシリンダコントローラ747に駆動信号が送信されると、ハンドシリンダコントローラ747は、受信した駆動信号に基づいてハンド把持シリンダ190へ駆動信号を送信する。ハンド把持シリンダ190は、駆動信号に応じた回転方向や回転速度などで駆動され、第1把持部151及び第2把持部152が図5に示すa7方向に移動する。 When a drive signal is transmitted from the CPU 710 to the hand cylinder controller 747 via the I / O terminal block 800, the hand cylinder controller 747 transmits a drive signal to the hand grip cylinder 190 based on the received drive signal. The hand gripping cylinder 190 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, and the first grip portion 151 and the second grip portion 152 move in the a7 direction shown in FIG.

<<<検査台600側のシステム構成>>>
次に、図11を用いて、検査台600側のシステム構成について説明する。前述した通り、モーションコントローラ760は、モーション端子台770を介して検査台600側の各ステージ等の駆動源(モータ等)に駆動信号を送信する。
<<< System configuration on the inspection table 600 side >>>
Next, the system configuration on the inspection table 600 side will be described with reference to FIG. As described above, the motion controller 760 transmits a drive signal to a drive source (motor or the like) such as each stage on the inspection table 600 side via the motion terminal block 770.

モーションコントローラ760からカメラθコントローラ771に駆動信号が送信されると、カメラθコントローラ771は、受信した駆動信号に基づいてカメラθステージ650のカメラθ駆動モータ310へ駆動信号を送信する。カメラθ駆動モータ310は、駆動信号に応じた回転方向や回転速度などで駆動され、カメラ直動ステージ652がカメラθガイド651に沿って傾き(図6のθC方向)、これに伴ってカメラ300が図6のθC方向に傾く。 When the drive signal is transmitted from the motion controller 760 to the camera θ controller 771, the camera θ controller 771 transmits the drive signal to the camera θ drive motor 310 of the camera θ stage 650 based on the received drive signal. The camera θ drive motor 310 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, and the camera direct motion stage 652 is tilted along the camera θ guide 651 (in the θC direction in FIG. 6), and the camera 300 is accompanied by this. Tilts in the θC direction of FIG.

モーションコントローラ760からカメラ直動コントローラ772に駆動信号が送信されると、カメラ直動コントローラ772は、受信した駆動信号に基づいてカメラ直動ステージ652のカメラ直動駆動モータ320へ駆動信号を送信する。カメラ直動駆動モータ320は、駆動信号に応じた回転方向や回転速度などで駆動され、カメラ支持部653が図6及び図7に示すLC方向に移動し、これに伴ってカメラ300が図6及び図7のLC方向に移動する。 When the drive signal is transmitted from the motion controller 760 to the camera direct motion controller 772, the camera linear motion controller 772 transmits a drive signal to the camera direct motion drive motor 320 of the camera linear motion stage 652 based on the received drive signal. .. The camera direct drive motor 320 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, the camera support portion 653 moves in the LC direction shown in FIGS. 6 and 7, and the camera 300 moves accordingly in FIG. And move in the LC direction of FIG.

モーションコントローラ760からテーブルXコントローラ773に駆動信号が送信されると、テーブルXコントローラ773は、受信した駆動信号に基づいてテーブルXステージ620のテーブルX駆動モータ430へ駆動信号を送信する。テーブルX駆動モータ430は、駆動信号に応じた回転方向や回転速度などで駆動され、テーブル400が図6及び図7に示すXT方向に移動する。なお、テーブル400に検査対象物660が載置されている場合、載置されている検査対象物660もXT方向に移動することとなる。 When the drive signal is transmitted from the motion controller 760 to the table X controller 773, the table X controller 773 transmits the drive signal to the table X drive motor 430 of the table X stage 620 based on the received drive signal. The table X drive motor 430 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, and the table 400 moves in the XT direction shown in FIGS. 6 and 7. When the inspection target object 660 is placed on the table 400, the placed inspection target object 660 also moves in the XT direction.

モーションコントローラ760からテーブルZコントローラ774に駆動信号が送信されると、テーブルZコントローラ774は、受信した駆動信号に基づいてテーブルZステージ621のテーブルZ駆動モータ440へ駆動信号を送信する。テーブルZ駆動モータ440は、駆動信号に応じた回転方向や回転速度などで駆動され、テーブル400が図6及び図7に示すZT方向に移動する。なお、テーブル400に検査対象物660が載置されている場合、載置されている検査対象物660もZT方向に移動することとなる。 When the drive signal is transmitted from the motion controller 760 to the table Z controller 774, the table Z controller 774 transmits the drive signal to the table Z drive motor 440 of the table Z stage 621 based on the received drive signal. The table Z drive motor 440 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, and the table 400 moves in the ZT direction shown in FIGS. 6 and 7. When the inspection target object 660 is placed on the table 400, the placed inspection target object 660 also moves in the ZT direction.

モーションコントローラ760から第1拡散板Xコントローラ775に駆動信号が送信されると、第1拡散板Xコントローラ775は、受信した駆動信号に基づいて第1拡散板Xステージ631の第1拡散板X駆動モータ501へ駆動信号を送信する。第1拡散板X駆動モータ501は、駆動信号に応じた回転方向や回転速度などで駆動され、第1拡散板Zステージ632等が一体として図6及び図7に示すXD1方向に移動し、これに伴って第1拡散板510が図6及び図7のXD1方向に移動する。 When a drive signal is transmitted from the motion controller 760 to the first diffusion plate X controller 775, the first diffusion plate X controller 775 drives the first diffusion plate X of the first diffusion plate X stage 631 based on the received drive signal. A drive signal is transmitted to the motor 501. The first diffusion plate X drive motor 501 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, and the first diffusion plate Z stage 632 and the like are integrally moved in the XD1 direction shown in FIGS. 6 and 7. Along with this, the first diffusion plate 510 moves in the XD1 direction of FIGS. 6 and 7.

モーションコントローラ760から第1拡散板Zコントローラ776に駆動信号が送信されると、第1拡散板Zコントローラ776は、受信した駆動信号に基づいて第1拡散板Zステージ632の第1拡散板Z駆動モータ502へ駆動信号を送信する。第1拡散板Z駆動モータ502は、駆動信号に応じた回転方向や回転速度などで駆動され、第1拡散板支持部633等が一体として図6及び図7に示すZD1方向に移動し、これに伴って第1拡散板510が図6及び図7のZD1方向に移動する。 When a drive signal is transmitted from the motion controller 760 to the first diffusion plate Z controller 776, the first diffusion plate Z controller 776 drives the first diffusion plate Z of the first diffusion plate Z stage 632 based on the received drive signal. A drive signal is transmitted to the motor 502. The first diffusion plate Z drive motor 502 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, and the first diffusion plate support portion 633 or the like is integrally moved in the ZD1 direction shown in FIGS. 6 and 7. Along with this, the first diffusion plate 510 moves in the ZD1 direction of FIGS. 6 and 7.

モーションコントローラ760から第1拡散板角度コントローラ504に駆動信号が送信されると、第1拡散板角度コントローラ504は、受信した駆動信号に基づいて第1拡散板角度モータ505へ駆動信号を送信する。第1拡散板角度モータ505は、駆動信号に応じた回転方向や回転速度などで駆動され、第1拡散板把持部634が回転し、これに伴って第1拡散板510の角度が変化する。 When the drive signal is transmitted from the motion controller 760 to the first diffuser angle controller 504, the first diffuser angle controller 504 transmits the drive signal to the first diffuser angle motor 505 based on the received drive signal. The first diffusion plate angle motor 505 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, and the first diffusion plate grip portion 634 rotates, and the angle of the first diffusion plate 510 changes accordingly.

モーションコントローラ760から第2拡散板Xコントローラ777に駆動信号が送信されると、第2拡散板Xコントローラ777は、受信した駆動信号に基づいて第2拡散板Xステージ640の第2拡散板X駆動モータ511へ駆動信号を送信する。第2拡散板X駆動モータ511は、駆動信号に応じた回転方向や回転速度などで駆動され、第2拡散板Zステージ641等が一体として図6及び図7に示すXD2方向に移動し、これに伴って第2拡散板520が図6及び図7のXD2方向に移動する。 When a drive signal is transmitted from the motion controller 760 to the second diffuser plate X controller 777, the second diffuser plate X controller 777 drives the second diffuser plate X of the second diffuser plate X stage 640 based on the received drive signal. A drive signal is transmitted to the motor 511. The second diffusion plate X drive motor 511 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, and the second diffusion plate Z stage 641 and the like are integrally moved in the XD2 direction shown in FIGS. 6 and 7. Along with this, the second diffusion plate 520 moves in the XD2 direction of FIGS. 6 and 7.

モーションコントローラ760から第2拡散板Zコントローラ778に駆動信号が送信されると、第2拡散板Zコントローラ778は、受信した駆動信号に基づいて第2拡散板Zステージ641の第2拡散板Z駆動モータ512へ駆動信号を送信する。第2拡散板Z駆動モータ512は、駆動信号に応じた回転方向や回転速度などで駆動され、第2拡散板支持部642等が一体として図6及び図7に示すZD2方向に移動し、これに伴って第2拡散板520が図6及び図7のZD2方向に移動する。 When a drive signal is transmitted from the motion controller 760 to the second diffusion plate Z controller 778, the second diffusion plate Z controller 778 drives the second diffusion plate Z of the second diffusion plate Z stage 641 based on the received drive signal. A drive signal is transmitted to the motor 512. The second diffusion plate Z drive motor 512 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, and the second diffusion plate support portion 642 or the like is integrally moved in the ZD2 direction shown in FIGS. 6 and 7. Along with this, the second diffusion plate 520 moves in the ZD2 direction of FIGS. 6 and 7.

モーションコントローラ760から第2拡散板角度コントローラ514に駆動信号が送信されると、第2拡散板角度コントローラ514は、受信した駆動信号に基づいて第2拡散板角度モータ515へ駆動信号を送信する。第2拡散板角度モータ515は、駆動信号に応じた回転方向や回転速度などで駆動され、第2拡散板把持部643が回転し、これに伴って第2拡散板520の角度が変化する。 When the drive signal is transmitted from the motion controller 760 to the second diffuser angle controller 514, the second diffuser angle controller 514 transmits the drive signal to the second diffuser angle motor 515 based on the received drive signal. The second diffusion plate angle motor 515 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, and the second diffusion plate grip portion 643 rotates, and the angle of the second diffusion plate 520 changes accordingly.

I/O端子台800から第1拡散板進退コントローラ506に駆動信号が送信されると、第1拡散板進退コントローラ506は、受信した駆動信号に基づいて第1拡散板進退シリンダ507へ駆動信号を送信する。第1拡散板進退シリンダ507は、駆動信号に応じて駆動され、第1拡散板510の位置が進出位置と退避位置に変化する。 When a drive signal is transmitted from the I / O terminal block 800 to the first diffusion plate advance / retreat controller 506, the first diffusion plate advance / retreat controller 506 sends a drive signal to the first diffusion plate advance / retreat cylinder 507 based on the received drive signal. Send. The first diffusion plate advance / retreat cylinder 507 is driven in response to a drive signal, and the position of the first diffusion plate 510 changes to an advance position and a retract position.

I/O端子台800から第1拡散板把持コントローラ508に駆動信号が送信されると、第1拡散板把持コントローラ508は、受信した駆動信号に基づいて第1拡散板把持シリンダ509へ駆動信号を送信する。第1拡散板把持シリンダ509は、駆動信号に応じて駆動され、第1拡散板把持部634は、第1拡散板510を把持することができる。 When a drive signal is transmitted from the I / O terminal block 800 to the first diffusion plate gripping controller 508, the first diffusion plate gripping controller 508 sends a drive signal to the first diffusion plate gripping cylinder 509 based on the received drive signal. Send. The first diffusion plate gripping cylinder 509 is driven in response to a drive signal, and the first diffusion plate gripping portion 634 can grip the first diffusion plate 510.

I/O端子台800から第2拡散板進退コントローラ516に駆動信号が送信されると、第2拡散板進退コントローラ516は、受信した駆動信号に基づいて第2拡散板進退シリンダ517へ駆動信号を送信する。第2拡散板進退シリンダ517は、駆動信号に応じて駆動され、第2拡散板520の位置が進出位置と退避位置に変化する。 When a drive signal is transmitted from the I / O terminal block 800 to the second diffuser plate advance / retreat controller 516, the second diffuser plate advance / retreat controller 516 sends a drive signal to the second diffuser plate advance / retreat cylinder 517 based on the received drive signal. Send. The second diffusion plate advance / retreat cylinder 517 is driven in response to a drive signal, and the position of the second diffusion plate 520 changes to an advance position and a retract position.

I/O端子台800から第2拡散板把持コントローラ518に駆動信号が送信されると、第2拡散板把持コントローラ518は、受信した駆動信号に基づいて第2拡散板把持シリンダ519へ駆動信号を送信する。第2拡散板把持シリンダ519は、駆動信号に応じて駆動され、第2拡散板把持部643は、第2拡散板520を把持することができる。 When a drive signal is transmitted from the I / O terminal block 800 to the second diffusion plate gripping controller 518, the second diffusion plate gripping controller 518 sends a drive signal to the second diffusion plate gripping cylinder 519 based on the received drive signal. Send. The second diffusion plate gripping cylinder 519 is driven in response to a drive signal, and the second diffusion plate gripping portion 643 can grip the second diffusion plate 520.

前述した通り、照明装置200は、テーブル400の上方から検査対象物660を照明する場合(図11中の実線で示す照明装置200)と、テーブル400の下方から検査対象物660を照明する場合(図11中の破線で示す照明装置200)がある。 As described above, the illuminating device 200 illuminates the inspection object 660 from above the table 400 (illuminating device 200 shown by the solid line in FIG. 11) and illuminates the inspection object 660 from below the table 400 (lighting device 200). There is a lighting device 200) shown by a broken line in FIG.

<<<検査設計処理>>>
次に、図12及び図13は、検査装置を設計するための検査設計処理のフローチャートである。なお、検査装置を設計するための手順を順番に説明するため、検査者(当該設計装置を操作する者)が行う処理と設計装置が行う処理との双方が含まれることを補足しておく。説明を省略したが、電源投入時には初期化処理が行われ、検査設計処理の時点では、以前の検査に関するデータ等が残っておらず、新たな検査に関する設定を入力可能な状態となっている。
<<< Inspection design process >>>
Next, FIGS. 12 and 13 are flowcharts of the inspection design process for designing the inspection device. In order to explain the procedure for designing the inspection device in order, it should be added that both the process performed by the inspector (the person who operates the design device) and the process performed by the design device are included. Although the explanation is omitted, the initialization process is performed when the power is turned on, and at the time of the inspection design process, the data related to the previous inspection does not remain and the setting related to the new inspection can be input.

まず、ステップ1400で、後述する準備処理を実行する。次に、ステップ1202で、CPU710は、検査者により検査開始ボタンが押下されたか否かを判断する。なお、検査開始ボタンとは、PC700に接続されるモニタ831に表示されるボタンを模した画像であり、マウス832又はキーボード833の操作によりボタンを模した画像を押下することで検査開始ボタンの押下となる。ステップ1202でNOの場合、再度ステップ1202となり、検査開始ボタンが押下されるまで待機する。 First, in step 1400, a preparatory process described later is executed. Next, in step 1202, the CPU 710 determines whether or not the inspection start button has been pressed by the inspector. The inspection start button is an image imitating a button displayed on the monitor 831 connected to the PC 700, and the inspection start button is pressed by pressing the image imitating the button by operating the mouse 832 or the keyboard 833. It becomes. If NO in step 1202, step 1202 is performed again, and the process waits until the inspection start button is pressed.

ステップ1202でYESの場合、ステップ1500で、CPU710は、後述する照明切替処理を実行する。次に、ステップ1800で、CPU710は、後述するカメラ角度調整処理を実行する。次に、ステップ1900で、CPU710は、後述する照明角度調整処理を実行する。次に、ステップ2000で、CPU710は、後述する照明距離調整処理を実行する。次に、ステップ2100で、CPU710は、後述する照明X位置調整処理を実行する。次に、ステップ2200で、CPU710は、後述する拡散板調整処理を実行する。次に、ステップ1206で、CPU710は、自動調光処理を実行し、所定の調光値になるように照明装置200の光量を調整する。また、自動調光処理では、テーブル400の走査周期も調整する。つまり、自動調光処理では、照明装置200の光量とテーブル400の走査周期を調整することで、カメラ300の素子が取り込む光の量を調整する。次に、ステップ2800で、CPU710は、後述する走査周期評価処理を実行する。次に、ステップ2300で、CPU710は、後述する画像取得処理を実行する。次に、ステップ1208で、CPU710は、欠陥を検出するための欠陥検出処理を実行する。次に、ステップ2400で、CPU710は、後述する画像評価処理を実行する。次に、ステップ1210で、CPU710は、欠陥検出処理の結果に基づき、モニタ831等に結果を表示する結果出力処理を実行する。 If YES in step 1202, in step 1500, the CPU 710 executes the lighting switching process described later. Next, in step 1800, the CPU 710 executes a camera angle adjustment process described later. Next, in step 1900, the CPU 710 executes the illumination angle adjustment process described later. Next, in step 2000, the CPU 710 executes the illumination distance adjustment process described later. Next, in step 2100, the CPU 710 executes the illumination X position adjustment process described later. Next, in step 2200, the CPU 710 executes a diffuser plate adjustment process described later. Next, in step 1206, the CPU 710 executes an automatic dimming process and adjusts the amount of light of the lighting device 200 so as to have a predetermined dimming value. Further, in the automatic dimming process, the scanning cycle of the table 400 is also adjusted. That is, in the automatic dimming process, the amount of light taken in by the element of the camera 300 is adjusted by adjusting the amount of light of the lighting device 200 and the scanning period of the table 400. Next, in step 2800, the CPU 710 executes a scanning cycle evaluation process described later. Next, in step 2300, the CPU 710 executes an image acquisition process described later. Next, in step 1208, the CPU 710 executes a defect detection process for detecting defects. Next, in step 2400, the CPU 710 executes an image evaluation process described later. Next, in step 1210, the CPU 710 executes a result output process of displaying the result on the monitor 831 or the like based on the result of the defect detection process.

次に、ステップ1220で、CPU710は、拡散板距離(図8で示すテーブル400との距離方向)の切り替えが完了したか否か、言い換えると、拡散板500の距離方向の位置が最大許容位置まで到達したか否かを判定する。 Next, in step 1220, the CPU 710 has completed switching of the diffuser plate distance (distance direction from the table 400 shown in FIG. 8), in other words, the position of the diffuser plate 500 in the distance direction reaches the maximum allowable position. Determine if it has been reached.

ステップ1220でNOの場合、ステップ2200の拡散板調整処理へ移行し、CPU710は、拡散板500の位置を距離方向に移動させる。 If NO in step 1220, the process proceeds to the diffuser plate adjustment process of step 2200, and the CPU 710 moves the position of the diffuser plate 500 in the distance direction.

ステップ1220でYESの場合、ステップ1222で、CPU710は、照明X位置(テーブル400と水平であり且つX方向)の切り替えが完了したか否か、言い換えれば、照明装置200のX位置(テーブル400と水平であり且つX方向の位置)が最大許容位置まで到達したか否かを判定する。 If YES in step 1220, in step 1222, the CPU 710 has completed switching of the illumination X position (horizontal to the table 400 and in the X direction), in other words, the X position of the illumination device 200 (with the table 400). It is determined whether or not the horizontal position (position in the X direction) has reached the maximum allowable position.

ステップ1222でNOの場合、ステップ2100の照明X位置調整処理へ移行し、CPU710は、ロボット100を制御して照明装置200の位置をテーブル400と水平であり且つX方向に移動させる。 If NO in step 1222, the process proceeds to the illumination X position adjustment process in step 2100, and the CPU 710 controls the robot 100 to move the position of the illumination device 200 horizontally with the table 400 and in the X direction.

ステップ1222でYESの場合、CPU710は、照明X位置を開始位置に戻した後、ステップ1224で、CPU710は、照明距離(図8で示すテーブル400との距離方向)の切り替えが完了したか否か、言い換えると、照明装置200の距離方向の位置が最大許容位置まで到達したか否かを判定する。 If YES in step 1222, after the CPU 710 returns the illumination X position to the start position, in step 1224, the CPU 710 has completed switching of the illumination distance (distance direction from the table 400 shown in FIG. 8). In other words, it is determined whether or not the position of the lighting device 200 in the distance direction has reached the maximum allowable position.

ステップ1224でNOの場合、ステップ2000の照明距離調整処理へ移行し、CPU710は、ロボット100を制御して照明装置200の位置を距離方向に移動させる。 If NO in step 1224, the process proceeds to the illumination distance adjustment process in step 2000, and the CPU 710 controls the robot 100 to move the position of the illumination device 200 in the distance direction.

ステップ1224でYESの場合、CPU710は、照明距離を開始位置に戻した後、ステップ1226で、CPU710は、照明角度の切り替えが完了したか否か、言い換えると、照明装置200の角度が、最大許容角度まで到達したか否かを判定する。 If YES in step 1224, the CPU 710 returns the illumination distance to the start position, and then in step 1226, the CPU 710 determines whether or not the illumination angle switching is completed, in other words, the angle of the illumination device 200 is the maximum allowable. Determine if the angle has been reached.

ステップ1226でNOの場合、ステップ1900の照明角度調整処理へ移行し、CPU710は、ロボット100を制御して照明装置200の角度を変化させる。 If NO in step 1226, the process proceeds to the illumination angle adjustment process of step 1900, and the CPU 710 controls the robot 100 to change the angle of the illumination device 200.

ステップ1226でYESの場合、CPU710は、照明角度を開始角度に戻した後、ステップ1228で、CPU710は、カメラ角度(図6で示すθC方向)の切り替えが完了したか否か、言い換えると、カメラ300の角度が、最大許容角度まで到達したか否かを判定する。 If YES in step 1226, after the CPU 710 returns the illumination angle to the start angle, in step 1228, the CPU 710 has completed the switching of the camera angle (θC direction shown in FIG. 6), in other words, the camera. It is determined whether or not the angle of 300 has reached the maximum allowable angle.

ステップ1228でNOの場合、ステップ1800のカメラ角度調整処理へ移行し、CPU710は、カメラθステージ650を移動させ、カメラ300の角度を変化させる。 If NO in step 1228, the process proceeds to the camera angle adjustment process of step 1800, and the CPU 710 moves the camera θ stage 650 to change the angle of the camera 300.

ステップ1228でYESの場合、CPU710は、カメラ角度を開始角度に戻した後、ステップ1230で、CPU710は、検査が完了したか否か、言い換えると、選択・設定された条件にて全ての検査を行ったか否かを判定する。 If YES in step 1228, the CPU 710 returns the camera angle to the start angle, and then in step 1230, the CPU 710 performs all inspections under the selected and set conditions, in other words, whether or not the inspection is completed. Determine if it has been done.

ステップ1230でNOの場合、ステップ1500の照明切替処理へ移行し、CPU710は、照明装置200の切り替えを行う。 If NO in step 1230, the process proceeds to the lighting switching process of step 1500, and the CPU 710 switches the lighting device 200.

ステップ1230でYESの場合、CPU710は、最後に検査した照明装置200(例えば、第6ライン照明216が選択された場合の第6ライン照明216)を収納部(本例では、第1収納部900)に戻した後、ステップ1232で、CPU710は、検査設計終了処理を実行し、検査を終了させる。 If YES in step 1230, the CPU 710 stores the last inspected lighting device 200 (for example, the sixth line lighting 216 when the sixth line lighting 216 is selected) (in this example, the first storage unit 900). After returning to), in step 1232, the CPU 710 executes the inspection design end processing and ends the inspection.

検査設計終了処理は、例えば、ロボット100、カメラ300、テーブル400等が初期位置に戻されているか否かを確認し、戻されていない場合には初期位置に戻す、照明装置200、第1拡散板510、第2拡散板520等が収納されているか否かを確認し、収納されていない場合には収納する等の処理を行う。初期位置は、ロボット100、カメラ300、テーブル400、第1拡散板510、第2拡散板520等の制御(移動させる等の制御)のための基準とする位置(ホームポジション)である。 In the inspection design end process, for example, it is confirmed whether or not the robot 100, the camera 300, the table 400, etc. have been returned to the initial position, and if not, the robot 100, the camera 300, the table 400, etc. are returned to the initial position. It is confirmed whether or not the plate 510, the second diffusion plate 520, etc. are stored, and if they are not stored, processing such as storing them is performed. The initial position is a reference position (home position) for controlling (control such as moving) the robot 100, the camera 300, the table 400, the first diffusion plate 510, the second diffusion plate 520, and the like.

検査が終了すると、検査者又は利用者(検査装置の設計の依頼者)は、PC700に接続されたモニタ831等で検査結果を確認し、検査対象物660の欠陥が最も鮮明に撮像された際の照明装置200の種類、照明装置200の位置及び角度、カメラ300の位置及び角度、第1拡散板510又は第2拡散板520の有無及び種類等を把握することができる。利用者は、この結果に基づいて利用者の検査場にて検査装置を組み立てる(製造する)ことができる。なお、この結果に基づいて、検査範囲や各装置の移動量等を小さくして再度検査を行うことで、さらに詳細な検査を行うことができる。 When the inspection is completed, the inspector or the user (requester of the inspection device design) confirms the inspection result on the monitor 831 or the like connected to the PC 700, and when the defect of the inspection object 660 is most clearly imaged. It is possible to grasp the type of the lighting device 200, the position and angle of the lighting device 200, the position and angle of the camera 300, the presence / absence and type of the first diffusion plate 510 or the second diffusion plate 520, and the like. Based on this result, the user can assemble (manufacture) the inspection device at the user's inspection site. In addition, based on this result, a more detailed inspection can be performed by reducing the inspection range, the amount of movement of each device, and the like and performing the inspection again.

<<準備処理>>
次に、図14は、図12におけるステップ1400の準備処理のフローチャートである。なお、第1の実施の形態では、この準備処理は、検査者の動作を示す処理も含むが、自動化することによって、プログラムの処理とすることができる。初めに、ステップ1402で、検査者は、検査対象物660をテーブル400にセットする。
<< Preparation process >>
Next, FIG. 14 is a flowchart of the preparatory process of step 1400 in FIG. In the first embodiment, this preparatory process includes a process indicating the operation of the inspector, but can be made into a program process by automating. First, in step 1402, the inspector sets the inspection object 660 on the table 400.

次に、ステップ1404で、検査者は、検査対象物660の厚みに応じてテーブル400の高さを調整する。具体的には、検査者は、PC700に検査対象物660の厚みを設定する。PC700(CPU710)は、設定された値に応じてテーブルZステージ621を駆動させて、テーブル400の高さを調整する。 Next, in step 1404, the inspector adjusts the height of the table 400 according to the thickness of the inspection object 660. Specifically, the inspector sets the thickness of the inspection object 660 on the PC 700. The PC 700 (CPU 710) drives the table Z stage 621 according to the set value to adjust the height of the table 400.

次に、ステップ1406で、検査者は、カメラ300のフォーカス設定を行う。具体的には、検査者は、PC700を用いてカメラ300の回転軸とカメラ300のフォーカス位置を一致させる。 Next, in step 1406, the inspector sets the focus of the camera 300. Specifically, the inspector uses the PC 700 to match the rotation axis of the camera 300 with the focus position of the camera 300.

次に、ステップ1408で、検査者は、PC700を用いて仮画像取得用の測定条件を設定する。 Next, in step 1408, the inspector sets the measurement conditions for acquiring a temporary image using the PC 700.

次に、ステップ1410で、CPU710は、照明装置200を発光させ、カメラ300で仮画像を取得し、モニタ831等に出力する。 Next, in step 1410, the CPU 710 causes the lighting device 200 to emit light, acquires a temporary image with the camera 300, and outputs the temporary image to the monitor 831 or the like.

次に、ステップ1412で、検査者は、ステップ1410の出力結果を参考に、検査における測定条件を設定する。なお、検査者により検査に用いる測定条件が設定されない場合は、予め定められた測定条件が設定される。設定する測定条件は、例えば、
(1)検査する照明装置200の種類
(2)カメラ角度の検査範囲
(3)カメラ角度調整処理で変化させるカメラ300の角度
(4)照明角度の検査範囲
(5)照明角度調整処理で変化させる照明装置200の角度
(6)照明距離の検査範囲
(7)照明距離調整処理で変化させる照明装置200の移動量
(8)照明X位置の検査範囲
(9)照明X位置調整処理で変化させる照明装置200の移動量
(10)拡散板500の有無及び種類
(11)拡散板調整処理で変化させる拡散板500の移動量
等である。ステップ1412の処理が完了すると、呼び出し元に復帰する。
Next, in step 1412, the inspector sets the measurement conditions in the inspection with reference to the output result of step 1410. If the inspector does not set the measurement conditions used for the inspection, the predetermined measurement conditions are set. The measurement conditions to be set are, for example,
(1) Type of lighting device 200 to be inspected (2) Inspection range of camera angle (3) Angle of camera 300 changed by camera angle adjustment processing (4) Inspection range of lighting angle (5) Change by lighting angle adjustment processing Angle of lighting device 200 (6) Inspection range of lighting distance (7) Movement amount of lighting device 200 changed by lighting distance adjustment processing (8) Inspection range of lighting X position (9) Lighting changed by lighting X position adjustment processing The amount of movement of the device 200 (10) the presence / absence and type of the diffuser plate 500 (11) the amount of movement of the diffuser plate 500 to be changed by the diffuser plate adjustment process. When the process of step 1412 is completed, the caller returns.

<<照明切替処理>>
次に、図15乃至図17は、図12におけるステップ1500の照明切替処理のフローチャートである。初めに、ステップ1501で、CPU710は、ステップ1412で第1板状ライトガイド221が選択されているか否かを判定する。ステップ1501でYESの場合、ステップ1502で、CPU710は、第1板状ライトガイド221で検査済みであるか否かを判定する。ステップ1502でNOの場合、ステップ1508で、CPU710は、ロボット100を制御して、ハンド150に第1板状ライトガイド221をセットして照明の開始位置へ移動させ、呼び出し元に復帰する。
<< Lighting switching process >>
Next, FIGS. 15 to 17 are flowcharts of the lighting switching process of step 1500 in FIG. First, in step 1501, the CPU 710 determines whether or not the first plate-shaped light guide 221 is selected in step 1412. If YES in step 1501, in step 1502, the CPU 710 determines whether or not the inspection has been completed by the first plate-shaped light guide 221. If NO in step 1502, in step 1508, the CPU 710 controls the robot 100, sets the first plate-shaped light guide 221 on the hand 150, moves it to the lighting start position, and returns to the caller.

ステップ1502でYESの場合、つまり、第1板状ライトガイド221で検査済みの場合、ステップ1504で、CPU710は、第1板状ライトガイド221を第2収納部910に収納済みであるか否かを判定する。ステップ1504でNOの場合、ステップ1506で、CPU710は、ロボット100を制御し、第1板状ライトガイド221を第2収納部910に収納し、ステップ1509の処理へ移行する。ステップ1501でNOの場合及びステップ1504でYESの場合も、ステップ1509の処理へ移行する。 If YES in step 1502, that is, if the inspection has been performed by the first plate-shaped light guide 221, in step 1504, the CPU 710 has stored the first plate-shaped light guide 221 in the second storage unit 910. To judge. If NO in step 1504, in step 1506, the CPU 710 controls the robot 100, stores the first plate-shaped light guide 221 in the second storage unit 910, and proceeds to the process of step 1509. In the case of NO in step 1501 and the case of YES in step 1504, the process proceeds to step 1509.

次に、ステップ1509で、CPU710は、ステップ1412で第2板状ライトガイド222が選択されているか否かを判定する。ステップ1509でYESの場合、ステップ1510で、CPU710は、第2板状ライトガイド222で検査済みであるか否かを判定する。ステップ1510でNOの場合、ステップ1516で、CPU710は、ロボット100を制御して、ハンド150に第2板状ライトガイド222をセットして照明の開始位置へ移動させ、呼び出し元に復帰する。 Next, in step 1509, the CPU 710 determines whether or not the second plate-shaped light guide 222 is selected in step 1412. If YES in step 1509, in step 1510 the CPU 710 determines whether or not the second plate-shaped light guide 222 has been inspected. If NO in step 1510, in step 1516, the CPU 710 controls the robot 100, sets the second plate-shaped light guide 222 on the hand 150, moves it to the lighting start position, and returns to the caller.

ステップ1510でYESの場合、つまり、第2板状ライトガイド222で検査済みの場合、ステップ1512で、CPU710は、第2板状ライトガイド222を第2収納部910に収納済みであるか否かを判定する。ステップ1512でNOの場合、ステップ1514で、CPU710は、ロボット100を制御し、第2板状ライトガイド222を第2収納部910に収納し、ステップ1517の処理へ移行する。ステップ1509でNOの場合及びステップ1512でYESの場合も、ステップ1517の処理へ移行する。 If YES in step 1510, that is, if the inspection has been performed by the second plate-shaped light guide 222, in step 1512, the CPU 710 has stored the second plate-shaped light guide 222 in the second storage unit 910. To judge. If NO in step 1512, in step 1514, the CPU 710 controls the robot 100, stores the second plate-shaped light guide 222 in the second storage unit 910, and proceeds to the process of step 1517. In the case of NO in step 1509 and the case of YES in step 1512, the process proceeds to step 1517.

次に、ステップ1517で、CPU710は、ステップ1412で第1ライン照明211が選択されているか否かを判定する。ステップ1517でYESの場合、ステップ1518で、CPU710は、第1ライン照明211で検査済みであるか否かを判定する。ステップ1518でNOの場合、ステップ1524で、CPU710は、ロボット100を制御して、ハンド150に第1ライン照明211をセットして照明の開始位置へ移動させ、呼び出し元に復帰する。 Next, in step 1517, the CPU 710 determines whether or not the first line illumination 211 is selected in step 1412. If YES in step 1517, in step 1518, the CPU 710 determines whether or not the first line illumination 211 has been inspected. If NO in step 1518, in step 1524, the CPU 710 controls the robot 100 to set the first line illumination 211 on the hand 150, move it to the illumination start position, and return to the caller.

ステップ1518でYESの場合、つまり、第1ライン照明211で検査済みの場合、ステップ1520で、CPU710は、第1ライン照明211を第1収納部900に収納済みであるか否かを判定する。ステップ1520でNOの場合、ステップ1522で、CPU710は、ロボット100を制御し、第1ライン照明211を第1収納部900に収納し、ステップ1525の処理へ移行する。ステップ1517でNOの場合及びステップ1520でYESの場合も、ステップ1525の処理へ移行する。 If YES in step 1518, that is, if the inspection has been performed by the first line illumination 211, in step 1520, the CPU 710 determines whether or not the first line illumination 211 has been stored in the first storage unit 900. If NO in step 1520, in step 1522, the CPU 710 controls the robot 100, stores the first line illumination 211 in the first storage unit 900, and proceeds to the process of step 1525. In the case of NO in step 1517 and the case of YES in step 1520, the process proceeds to step 1525.

次に、ステップ1525で、CPU710は、ステップ1412で第2ライン照明212が選択されているか否かを判定する。ステップ1525でYESの場合、ステップ1526で、CPU710は、第2ライン照明212で検査済みであるか否かを判定する。ステップ1526でNOの場合、ステップ1532で、CPU710は、ロボット100を制御して、ハンド150に第2ライン照明212をセットして照明の開始位置へ移動させ、呼び出し元に復帰する。 Next, in step 1525, the CPU 710 determines whether or not the second line illumination 212 is selected in step 1412. If YES in step 1525, in step 1526, the CPU 710 determines whether or not the second line illumination 212 has been inspected. If NO in step 1526, in step 1532, the CPU 710 controls the robot 100, sets the second line illumination 212 on the hand 150, moves it to the illumination start position, and returns to the caller.

ステップ1526でYESの場合、つまり、第2ライン照明212で検査済みの場合、ステップ1528で、CPU710は、第2ライン照明212を第1収納部900に収納済みであるか否かを判定する。ステップ1528でNOの場合、ステップ1530で、CPU710は、ロボット100を制御し、第2ライン照明212を第1収納部900に収納し、ステップ1533の処理へ移行する。ステップ1525でNOの場合及びステップ1528でYESの場合も、ステップ1533の処理へ移行する。 If YES in step 1526, that is, if the inspection has been performed by the second line illumination 212, in step 1528, the CPU 710 determines whether or not the second line illumination 212 has been stored in the first storage unit 900. If NO in step 1528, in step 1530, the CPU 710 controls the robot 100, stores the second line illumination 212 in the first storage unit 900, and proceeds to the process of step 1533. In the case of NO in step 1525 and the case of YES in step 1528, the process proceeds to step 1533.

次に、ステップ1533で、CPU710は、ステップ1412で第3ライン照明213が選択されているか否かを判定する。ステップ1533でYESの場合、ステップ1534で、CPU710は、第3ライン照明213で検査済みであるか否かを判定する。ステップ1534でNOの場合、ステップ1540で、CPU710は、ロボット100を制御して、ハンド150に第3ライン照明213をセットして照明の開始位置へ移動させ、呼び出し元に復帰する。 Next, in step 1533, the CPU 710 determines whether or not the third line illumination 213 is selected in step 1412. If YES in step 1533, in step 1534 the CPU 710 determines whether or not it has been inspected by the third line illumination 213. If NO in step 1534, in step 1540, the CPU 710 controls the robot 100 to set the third line illumination 213 on the hand 150, move it to the illumination start position, and return to the caller.

ステップ1534でYESの場合、つまり、第3ライン照明213で検査済みの場合、ステップ1536で、CPU710は、第3ライン照明213を第1収納部900に収納済みであるか否かを判定する。ステップ1536でNOの場合、ステップ1538で、CPU710は、ロボット100を制御し、第3ライン照明213を第1収納部900に収納し、ステップ1541の処理へ移行する。ステップ1533でNOの場合及びステップ1536でYESの場合も、ステップ1541の処理へ移行する。 If YES in step 1534, that is, if the third line illumination 213 has been inspected, in step 1536, the CPU 710 determines whether or not the third line illumination 213 has been stored in the first storage unit 900. If NO in step 1536, in step 1538, the CPU 710 controls the robot 100, stores the third line illumination 213 in the first storage unit 900, and proceeds to the process of step 1541. In the case of NO in step 1533 and the case of YES in step 1536, the process proceeds to step 1541.

次に、ステップ1541で、CPU710は、ステップ1412で第4ライン照明214が選択されているか否かを判定する。ステップ1541でYESの場合、ステップ1542で、CPU710は、第4ライン照明214で検査済みであるか否かを判定する。ステップ1542でNOの場合、ステップ1548で、CPU710は、ロボット100を制御して、ハンド150に第4ライン照明214をセットして照明の開始位置へ移動させ、呼び出し元に復帰する。 Next, in step 1541, the CPU 710 determines whether or not the fourth line illumination 214 is selected in step 1412. If YES in step 1541, in step 1542, the CPU 710 determines whether or not the fourth line illumination 214 has been inspected. If NO in step 1542, in step 1548, the CPU 710 controls the robot 100 to set the fourth line illumination 214 on the hand 150, move it to the illumination start position, and return to the caller.

ステップ1542でYESの場合、つまり、第4ライン照明214で検査済みの場合、ステップ1544で、CPU710は、第4ライン照明214を第1収納部900に収納済みであるか否かを判定する。ステップ1544でNOの場合、ステップ1546で、CPU710は、ロボット100を制御し、第4ライン照明214を第1収納部900に収納し、ステップ1549の処理へ移行する。ステップ1541でNOの場合及びステップ1544でYESの場合も、ステップ1549の処理へ移行する。 If YES in step 1542, that is, if the inspection has been performed by the fourth line illumination 214, in step 1544, the CPU 710 determines whether or not the fourth line illumination 214 has been stored in the first storage unit 900. If NO in step 1544, in step 1546, the CPU 710 controls the robot 100, stores the fourth line illumination 214 in the first storage unit 900, and proceeds to the process of step 1549. If NO in step 1541 and YES in step 1544, the process proceeds to step 1549.

次に、ステップ1549で、CPU710は、ステップ1412で第5ライン照明215が選択されているか否かを判定する。ステップ1549でYESの場合、ステップ1550で、CPU710は、第5ライン照明215で検査済みであるか否かを判定する。ステップ1550でNOの場合、ステップ1556で、CPU710は、ロボット100を制御して、ハンド150に第5ライン照明215をセットして照明の開始位置へ移動させ、呼び出し元に復帰する。 Next, in step 1549, the CPU 710 determines whether or not the fifth line illumination 215 is selected in step 1412. If YES in step 1549, in step 1550 the CPU 710 determines whether or not the fifth line illumination 215 has been inspected. If NO in step 1550, in step 1556, the CPU 710 controls the robot 100 to set the fifth line illumination 215 on the hand 150, move it to the illumination start position, and return to the caller.

ステップ1550でYESの場合、つまり、第5ライン照明215で検査済みの場合、ステップ1552で、CPU710は、第5ライン照明215を第1収納部900に収納済みであるか否かを判定する。ステップ1552でNOの場合、ステップ1554で、CPU710は、ロボット100を制御し、第5ライン照明215を第1収納部900に収納し、ステップ1557の処理へ移行する。ステップ1549でNOの場合及びステップ1552でYESの場合も、ステップ1557の処理へ移行する。 If YES in step 1550, that is, if the fifth line illumination 215 has been inspected, in step 1552, the CPU 710 determines whether or not the fifth line illumination 215 has been stored in the first storage unit 900. If NO in step 1552, in step 1554, the CPU 710 controls the robot 100, stores the fifth line illumination 215 in the first storage unit 900, and proceeds to the process of step 1557. When NO in step 1549 and YES in step 1552, the process proceeds to step 1557.

次に、ステップ1557で、CPU710は、ステップ1412で第6ライン照明216が選択されているか否かを判定する。ステップ1557でYESの場合、ステップ1558で、CPU710は、第6ライン照明216で検査済みであるか否かを判定する。ステップ1558でNOの場合、ステップ1564で、CPU710は、ロボット100を制御して、ハンド150に第6ライン照明216をセットして照明の開始位置へ移動させ、呼び出し元に復帰する。 Next, in step 1557, the CPU 710 determines whether or not the sixth line illumination 216 is selected in step 1412. If YES in step 1557, in step 1558 the CPU 710 determines whether or not the sixth line illumination 216 has been inspected. If NO in step 1558, in step 1564, the CPU 710 controls the robot 100 to set the sixth line illumination 216 on the hand 150, move it to the illumination start position, and return to the caller.

ステップ1558でYESの場合、つまり、第6ライン照明216で検査済みの場合、ステップ1560で、CPU710は、第6ライン照明216を第1収納部900に収納済みであるか否かを判定する。ステップ1560でNOの場合、ステップ1562で、CPU710は、ロボット100を制御し、第6ライン照明216を第1収納部900に収納し、呼び出し元に復帰する。ステップ1557でNOの場合及びステップ1560でYESの場合も、呼び出し元に復帰する。 If YES in step 1558, that is, if the inspection has been performed by the sixth line illumination 216, in step 1560, the CPU 710 determines whether or not the sixth line illumination 216 has been stored in the first storage unit 900. If NO in step 1560, in step 1562, the CPU 710 controls the robot 100, stores the sixth line illumination 216 in the first storage unit 900, and returns to the caller. In the case of NO in step 1557 and the case of YES in step 1560, the caller is returned.

<<カメラ角度調整処理>>
次に、図18は、図12におけるステップ1800のカメラ角度調整処理のフローチャートである。初めに、ステップ1802で、CPU710は、測定条件におけるカメラ角度の開始角度で検査済みであるか否かを判定する。
<< Camera angle adjustment processing >>
Next, FIG. 18 is a flowchart of the camera angle adjustment process of step 1800 in FIG. First, in step 1802, the CPU 710 determines whether or not the inspection has been completed at the start angle of the camera angle under the measurement conditions.

ステップ1802でYESの場合、ステップ1804で、CPU710は、カメラθステージを制御して測定条件として設定された角度分(ΔθC)だけカメラ角度を変化させる。 If YES in step 1802, in step 1804, the CPU 710 controls the camera θ stage to change the camera angle by the angle (ΔθC) set as the measurement condition.

ステップ1802でNOの場合及びステップ1804の処理が終了すると、呼び出し元に復帰する。 If NO in step 1802 and the process in step 1804 is completed, the caller is returned.

なお、前述した通り、検査者により検査に用いる測定条件が設定されなかった場合は、予め定められた測定条件が設定される。 As described above, if the inspector does not set the measurement conditions used for the inspection, the predetermined measurement conditions are set.

<<照明角度調整処理>>
次に、図19は、図12におけるステップ1900の照明角度調整処理のフローチャートである。初めに、ステップ1902で、CPU710は、測定条件における照明角度の開始角度で検査済みであるか否かを判定する。
<< Lighting angle adjustment processing >>
Next, FIG. 19 is a flowchart of the illumination angle adjustment process of step 1900 in FIG. First, in step 1902, the CPU 710 determines whether or not it has been inspected at the start angle of the illumination angle under the measurement conditions.

ステップ1902でYESの場合、ステップ1904で、CPU710は、ロボット100を制御し、測定条件として設定された角度分(Δθ)だけ照明角度を変化させる。 If YES in step 1902, in step 1904, the CPU 710 controls the robot 100 and changes the illumination angle by an angle (Δθ) set as a measurement condition.

ステップ1902でNOの場合及びステップ1904の処理が終了すると、呼び出し元に復帰する。 If NO in step 1902 and the process in step 1904 is completed, the caller is returned.

なお、前述した通り、検査者により検査に用いる測定条件が設定されなかった場合は、予め定められた測定条件が設定される。 As described above, if the inspector does not set the measurement conditions used for the inspection, the predetermined measurement conditions are set.

<<照明距離調整処理>>
次に、図20は、図12におけるステップ2000の照明距離調整処理のフローチャートである。初めに、ステップ2002で、CPU710は、測定条件における照明距離の開始位置で検査済みであるか否かを判定する。
<< Lighting distance adjustment processing >>
Next, FIG. 20 is a flowchart of the illumination distance adjustment process in step 2000 in FIG. First, in step 2002, the CPU 710 determines whether or not the inspection has been completed at the start position of the illumination distance under the measurement conditions.

ステップ2002でYESの場合、ステップ2004で、CPU710は、ロボット100を制御し、測定条件として設定された距離分(ΔLL)だけ照明距離を距離方向に変化させる。 If YES in step 2002, in step 2004, the CPU 710 controls the robot 100 and changes the illumination distance in the distance direction by the distance (ΔLL) set as the measurement condition.

ステップ2002でNOの場合及びステップ2004の処理が終了すると、呼び出し元に復帰する。 If NO in step 2002 and the process in step 2004 is completed, the caller is returned.

なお、前述した通り、検査者により検査に用いる測定条件が設定されなかった場合は、予め定められた測定条件が設定される。 As described above, if the inspector does not set the measurement conditions used for the inspection, the predetermined measurement conditions are set.

<<照明X位置調整処理>>
次に、図21は、図12におけるステップ2100の照明X位置調整処理のフローチャートである。初めに、ステップ2102で、CPU710は、測定条件における照明X位置の開始位置で検査済みであるか否かを判定する。
<< Lighting X position adjustment processing >>
Next, FIG. 21 is a flowchart of the illumination X position adjustment process in step 2100 in FIG. First, in step 2102, the CPU 710 determines whether or not the inspection has been completed at the start position of the illumination X position under the measurement conditions.

ステップ2102でYESの場合、ステップ2104で、CPU710は、ロボット100を制御し、テーブル400と水平であり且つX方向に測定条件として設定された距離分(ΔXL)だけ照明X位置を変化させる。 If YES in step 2102, in step 2104, the CPU 710 controls the robot 100 and changes the illumination X position by a distance (ΔXL) that is horizontal to the table 400 and is set as a measurement condition in the X direction.

照明X位置を変更することで、照明光Iが欠陥からズレた位置に照射され、照明光Iの拡散反射により、欠陥を直接照射した際には検出できない欠陥を検出することができる又は欠陥を直接照射した際には検出しづらい欠陥を検出しやすくすることができる場合がある。 By changing the illumination X position, the illumination light I is irradiated to a position deviated from the defect, and the diffuse reflection of the illumination light I makes it possible to detect a defect that cannot be detected when the defect is directly irradiated, or to detect a defect. In some cases, defects that are difficult to detect when directly irradiated can be easily detected.

ステップ2102でNOの場合及びステップ2104の処理が終了すると、呼び出し元に復帰する。 If NO in step 2102 and the process in step 2104 is completed, the caller is returned.

なお、前述した通り、検査者により検査に用いる測定条件が設定されなかった場合は、予め定められた測定条件が設定される。 As described above, if the inspector does not set the measurement conditions used for the inspection, the predetermined measurement conditions are set.

<<拡散板調整処理>>
次に、図22は、図12におけるステップ2200の拡散板調整処理のフローチャートである。初めに、ステップ2202で、CPU710は、ステップ1412で第1拡散板510が測定条件として設定されているか否かを判定する。ステップ2202でYESの場合、ステップ2204で、CPU710は、第1拡散板510で検査済みであるか否かを判定する。
<< Diffusion plate adjustment processing >>
Next, FIG. 22 is a flowchart of the diffuser plate adjusting process in step 2200 in FIG. First, in step 2202, the CPU 710 determines whether or not the first diffusion plate 510 is set as a measurement condition in step 1412. If YES in step 2202, in step 2204, the CPU 710 determines whether or not the first diffusion plate 510 has been inspected.

ステップ2204でNOの場合、ステップ2206で、CPU710は、設定された第1拡散板510がセット済みであるか否かを判定する。 If NO in step 2204, in step 2206, the CPU 710 determines whether or not the set first diffusion plate 510 has been set.

ステップ2206でNOの場合、つまり、設定された第1拡散板510がセットされていない場合、ステップ2208で、CPU710は、設定された第1拡散板510をセットし、ステップ2218の処理へ移行する。ステップ2206でYESの場合、つまり、第1拡散板510をセット済みである場合もステップ2218の処理へ移行する。 If NO in step 2206, that is, if the set first diffusion plate 510 is not set, in step 2208, the CPU 710 sets the set first diffusion plate 510 and proceeds to the process of step 2218. .. If YES in step 2206, that is, even if the first diffusion plate 510 has already been set, the process proceeds to step 2218.

他方、ステップ2202でNOの場合及びステップ2204でYESの場合、ステップ2210の処理へ移行する。 On the other hand, if NO in step 2202 and YES in step 2204, the process proceeds to step 2210.

次に、ステップ2210で、CPU710は、ステップ1412で第2拡散板520が測定条件として設定されているか否かを判定する。 Next, in step 2210, the CPU 710 determines whether or not the second diffuser plate 520 is set as a measurement condition in step 1412.

ステップ2210でYESの場合、ステップ2212で、CPU710は、第2拡散板520で検査済みであるか否かを判定する。 If YES in step 2210, in step 2212, the CPU 710 determines whether or not the second diffuser plate 520 has been inspected.

ステップ2212でNOの場合、つまり、第2拡散板520で未だ検査済みでない場合は、ステップ2214の処理へ移行する。 If NO in step 2212, that is, if the second diffuser plate 520 has not yet been inspected, the process proceeds to step 2214.

次に、ステップ2214で、CPU710は、設定された第2拡散板520がセット済みであるか否かを判定する。 Next, in step 2214, the CPU 710 determines whether or not the set second diffuser plate 520 has been set.

ステップ2214でNOの場合、つまり、設定された第2拡散板520がセットされていない場合、ステップ2216で、CPU710は、測定条件として設定された第2拡散板520をセットし、ステップ2218の処理へ移行する。 If NO in step 2214, that is, if the set second diffuser plate 520 is not set, in step 2216, the CPU 710 sets the second diffuser plate 520 set as the measurement condition, and the process of step 2218 is performed. Move to.

ステップ2214でYESの場合、つまり、第2拡散板520をセット済みである場合もステップ2218の処理へ移行する。 If YES in step 2214, that is, even if the second diffusion plate 520 has already been set, the process proceeds to step 2218.

次に、ステップ2218で、測定条件として設定された拡散板500(第1拡散板510又は第2拡散板520)の角度を照明角度にあわせる。具体的には、CPU710は、第1拡散板角度モータ505又は第2拡散板角度モータ515を駆動させ、拡散板500の角度(φ又はφ2)を照明角度にあわせる。 Next, in step 2218, the angle of the diffuser plate 500 (first diffuser plate 510 or second diffuser plate 520) set as the measurement condition is adjusted to the illumination angle. Specifically, the CPU 710 drives the first diffuser plate angle motor 505 or the second diffuser plate angle motor 515, and adjusts the angle (φ or φ2) of the diffuser plate 500 to the illumination angle.

次に、ステップ2220で、CPU710は、第1(第2)拡散板Xステージ及び第1(第2)拡散板Zステージを制御し、拡散板500のX方向(XD1方向、XD2方向)及び拡散板500のZ方向(ZD1方向、ZD2方向)の移動を行う。これにより、第1拡散板510又は第2拡散板520は、図8(B)に示す距離方向へ移動する。 Next, in step 2220, the CPU 710 controls the first (second) diffusion plate X stage and the first (second) diffusion plate Z stage, and diffuses the diffusion plate 500 in the X direction (XD1 direction, XD2 direction). The plate 500 is moved in the Z direction (ZD1 direction, ZD2 direction). As a result, the first diffusion plate 510 or the second diffusion plate 520 moves in the distance direction shown in FIG. 8 (B).

次に、ステップ2222で、CPU710は、距離方向への移動が最大許容位置を超過したか否かを判定する。 Next, in step 2222, the CPU 710 determines whether or not the movement in the distance direction exceeds the maximum allowable position.

ステップ2222でYESの場合、ステップ2224で、CPU710は、設定された拡散板500を開始状態(例えば、開始位置、開始角度)に戻し、呼び出し元に復帰する。 If YES in step 2222, in step 2224, the CPU 710 returns the set diffuser plate 500 to the start state (for example, start position, start angle) and returns to the caller.

ステップ2210でNOの場合、ステップ2212でYESの場合、ステップ2222でNOの場合も、呼び出し元に復帰する。 If NO in step 2210, YES in step 2212, and NO in step 2222, the caller is returned.

なお、前述した通り、検査者により検査に用いる測定条件が設定されなかった場合は、予め定められた測定条件が設定される。 As described above, if the inspector does not set the measurement conditions used for the inspection, the predetermined measurement conditions are set.

<<画像取得処理>>
次に、図23は、図12におけるステップ2300の画像取得処理のフローチャートである。初めに、ステップ2302で、CPU710により、カメラコントローラ750からカメラ300に制御信号が送信され、カメラ300は、受信した制御信号に基づいて画像取得を開始する。例えば、カメラ300は、テーブル400が移動開始位置(初期位置)から10mm移動後に撮像を開始する。なお、カメラ300が撮像した画像は、カメラコントローラ750内のRAM等に保存される。
<< Image acquisition process >>
Next, FIG. 23 is a flowchart of the image acquisition process of step 2300 in FIG. First, in step 2302, the CPU 710 transmits a control signal from the camera controller 750 to the camera 300, and the camera 300 starts image acquisition based on the received control signal. For example, the camera 300 starts imaging after the table 400 has moved 10 mm from the movement start position (initial position). The image captured by the camera 300 is stored in a RAM or the like in the camera controller 750.

ステップ2302で画像取得が開始されると、ステップ2304で、CPU710は、テーブルXステージ620を制御してテーブル400の図6及び図7に示すXT方向(+X方向)への移動を開始する。テーブル400は、予め定められた移動量分の移動が行われる。 When the image acquisition is started in step 2302, in step 2304, the CPU 710 controls the table X stage 620 and starts moving the table 400 in the XT direction (+ X direction) shown in FIGS. 6 and 7. The table 400 is moved by a predetermined amount of movement.

次に、ステップ2306で、カメラ300は、撮像処理を実行し、所定タイミング毎に撮像を行い、予め定められた枚数の画像を取得することで、検査対象物660を撮像する。つまり、撮像処理では、カメラ300は、テーブル400の移動中にカメラ300の撮像範囲内で画像を何度も取得する。カメラ300は、テーブル400が停止するまで撮像することで、検査対象物660の全て表面の撮像を行うことができる。 Next, in step 2306, the camera 300 executes an imaging process, performs imaging at predetermined timing intervals, and acquires a predetermined number of images to image the inspection object 660. That is, in the imaging process, the camera 300 repeatedly acquires an image within the imaging range of the camera 300 while the table 400 is moving. The camera 300 can take an image of the entire surface of the inspection object 660 by taking an image until the table 400 is stopped.

次に、ステップ2308で、CPU710は、テーブル400の予め定められた移動量分の+X方向の移動が完了すると、テーブル400の+X方向の移動を停止させる。 Next, in step 2308, when the movement of the table 400 in the + X direction by a predetermined movement amount is completed, the CPU 710 stops the movement of the table 400 in the + X direction.

なお、予め定められた移動量分の移動制御が完了しても最大許容範囲に到達しない場合には、何らかの異常(例えば、テーブルXステージ620のモータ不具合等)が発生したとしてテーブル400の+X方向への移動を中止し、モニタ831にエラーである旨を報知する構成としてもよい。 If the maximum permissible range is not reached even after the movement control for the predetermined movement amount is completed, it is assumed that some abnormality (for example, a motor malfunction of the table X stage 620) has occurred and the + X direction of the table 400 is reached. The movement to the monitor 831 may be stopped and the monitor 831 may be notified that an error has occurred.

次に、ステップ2310で、CPU710によりカメラコントローラ750からカメラ300に制御信号が送信され、カメラ300は、受信した制御信号に基づいて画像取得を終了する。 Next, in step 2310, the CPU 710 transmits a control signal from the camera controller 750 to the camera 300, and the camera 300 ends image acquisition based on the received control signal.

次に、ステップ2312で、CPU710は、テーブルXステージ620を制御してテーブル400を初期位置に戻し、呼び出し元に復帰する。 Next, in step 2312, the CPU 710 controls the table X stage 620 to return the table 400 to the initial position and return to the caller.

このように、カメラ300は、カメラ300の撮像範囲内における撮像を何度も繰り返すことで、検査対象物660の全体を検査することができる。 In this way, the camera 300 can inspect the entire inspection object 660 by repeating the imaging within the imaging range of the camera 300 many times.

<<画像評価処理>>
次に、図24は、図13におけるステップ2400の画像評価処理のフローチャートである。画像評価処理は、撮像した画像の評価を行う処理である。まず、ステップ2500で、CPU710は、後述するS/N比評価処理を実行する。次に、ステップ2600で、CPU710は、後述する波高値評価処理を実行する。次に、ステップ2700で、CPU710は、後述する地合ばらつき評価処理を実行する。次に、ステップ2402で、CPU710は、各評価処理(走査周期評価処理、S/N比評価処理、波高値評価処理、地合ばらつき評価処理)の評価結果を合計する。ステップ2402の処理が終了すると、呼び出し元に復帰する。
<< Image evaluation processing >>
Next, FIG. 24 is a flowchart of the image evaluation process of step 2400 in FIG. The image evaluation process is a process for evaluating an captured image. First, in step 2500, the CPU 710 executes the S / N ratio evaluation process described later. Next, in step 2600, the CPU 710 executes a peak value evaluation process described later. Next, in step 2700, the CPU 710 executes the formation variation evaluation process described later. Next, in step 2402, the CPU 710 sums the evaluation results of each evaluation process (scanning cycle evaluation process, S / N ratio evaluation process, crest value evaluation process, formation variation evaluation process). When the process of step 2402 is completed, the caller returns.

地合とは、カメラ300で検査対象物660を撮像した際の欠陥がない箇所における表面の状態、例えば、検査対象物660に入射する入射光や検査対象物660を透過する透過光の散乱の度合いや吸収の度合いや反射の度合いによって定まる表面の状態をいう。具体的には、光の強度(明、暗)や色(明度、色相、彩度)などによって、表面の状態を特定することができる。地合ばらつきとは、光の強度(明、暗)のばらつきや、色(明度、色相、彩度)のばらつきなどである。波高とは、カメラ300で検査対象物660を撮像することで得られる欠陥部の光の強度や色であり、地合を基準にした光の強度や色である。 The formation is the state of the surface where there is no defect when the inspection object 660 is imaged by the camera 300, for example, the scattering of the incident light incident on the inspection object 660 and the transmitted light transmitted through the inspection object 660. The state of the surface determined by the degree of absorption, the degree of absorption, and the degree of reflection. Specifically, the state of the surface can be specified by the intensity of light (brightness, darkness), color (brightness, hue, saturation), and the like. The formation variation is a variation in light intensity (brightness, darkness), a variation in color (brightness, hue, saturation), and the like. The wave height is the light intensity or color of the defective portion obtained by photographing the inspection object 660 with the camera 300, and is the light intensity or color based on the formation.

<S/N比評価処理>
次に、図25は、図24におけるステップ2500のS/N比評価処理のフローチャートである。まず、ステップ2502で、CPU710は、S/N比(波高値/地合ばらつき)の算出を行う。波高値は、地合平均値と欠陥の最大輝度との差/地合平均値と欠陥の最小輝度との差である。地合ばらつきは、地合部分の最大輝度と最小輝度の差である。
<S / N ratio evaluation processing>
Next, FIG. 25 is a flowchart of the S / N ratio evaluation process of step 2500 in FIG. 24. First, in step 2502, the CPU 710 calculates the S / N ratio (peak value / formation variation). The crest value is the difference between the formation average value and the maximum brightness of the defect / the difference between the formation average value and the minimum brightness of the defect. The formation variation is the difference between the maximum brightness and the minimum brightness of the formation portion.

次に、ステップ2504で、CPU710は、算出結果が2以下であるか否かを判定する。ステップ2504でYESの場合、ステップ2506で、CPU710は、得点(0点)を記憶する。算出結果が2以下である場合、欠陥判別ができないため、低い点数(ここでは0点)としている。 Next, in step 2504, the CPU 710 determines whether or not the calculation result is 2 or less. If YES in step 2504, the CPU 710 stores the score (0 points) in step 2506. When the calculation result is 2 or less, the defect cannot be discriminated, so the score is low (0 points here).

次に、ステップ2504でNOの場合、ステップ2508で、CPU710は、算出結果が2〜10であるか否かを判定する。ステップ2508でNOの場合、ステップ2512で、CPU710は、得点(100点)を記憶する。算出結果が10以上である場合、欠陥が明確に判別できるため、一律の高い点数(ここでは100点)としている。 Next, if NO in step 2504, in step 2508, the CPU 710 determines whether or not the calculation result is 2 to 10. If NO in step 2508, the CPU 710 stores the score (100 points) in step 2512. When the calculation result is 10 or more, the defect can be clearly identified, so that the score is uniformly high (100 points here).

ステップ2508でYESの場合、ステップ2510で、CPU710は、算出結果に応じて得点(0〜100点)を記憶する。ステップ2510では、Xを算出結果、Yを得点とする、(X1、)=(2、0)、(X2、)=(10、100)の2点を通る直線の関数により得点を求めることができる。 If YES in step 2508, in step 2510, the CPU 710 stores a score (0 to 100 points) according to the calculation result. In step 2510, a function of a straight line passing through two points (X 1, Y 1 ) = (2, 0), (X 2, Y 2 ) = (10, 100), where X is calculated and Y is scored. The score can be obtained by.

ステップ2506、ステップ2510、ステップ2512の処理が終了すると、呼び出し元に復帰する。 When the processing of step 2506, step 2510, and step 2512 is completed, the caller returns.

なお、波高値は、欠陥の平均輝度を用いてもよい。 The average brightness of the defect may be used as the peak value.

<波高値評価処理>
次に、図26は、図24におけるステップ2600の波高値評価処理のフローチャートである。まず、ステップ2602で、CPU710は、波高値/閾値(波高値/2値化閾値)比の算出を行う。閾値として、画像を2値化する(例:白と黒にする)ための閾値である2値化閾値を用いる。
<Wave height evaluation process>
Next, FIG. 26 is a flowchart of the peak value evaluation process of step 2600 in FIG. 24. First, in step 2602, the CPU 710 calculates the crest value / threshold value (crest value / binarization threshold value) ratio. As the threshold value, a binarization threshold value, which is a threshold value for binarizing an image (eg, white and black), is used.

次に、ステップ2604で、CPU710は、算出結果が1.5以下であるか否かを判定する。ステップ2604でYESの場合、ステップ2606で、CPU710は、得点(0点)を記憶する。算出結果が1.5以下である場合、安定して欠陥を判別ができなくなる可能性があるため、低い点数(ここでは0点)としている。 Next, in step 2604, the CPU 710 determines whether or not the calculation result is 1.5 or less. If YES in step 2604, the CPU 710 stores the score (0 points) in step 2606. If the calculation result is 1.5 or less, it may not be possible to stably determine the defect, so the score is set low (0 points here).

次に、ステップ2604でNOの場合、ステップ2608で、CPU710は、算出結果が1.5〜4であるか否かを判定する。ステップ2608でNOの場合、ステップ2612で、CPU710は、得点(100点)を記憶する。算出結果が4以上である場合、欠陥を安定して判別できるため、一律の高い点数(ここでは100点)としている。 Next, if NO in step 2604, in step 2608, the CPU 710 determines whether or not the calculation result is 1.5 to 4. If NO in step 2608, the CPU 710 stores the score (100 points) in step 2612. When the calculation result is 4 or more, the defect can be stably determined, so that the score is uniformly high (100 points in this case).

ステップ2608でYESの場合、ステップ2610で、CPU710は、算出結果に応じて得点(0〜100点)を記憶する。ステップ2610では、Xを算出結果、Yを得点とする、(X1、)=(1.5、0)、(X2、)=(4、100)の2点を通る直線の関数により得点を求めることができる。 If YES in step 2608, in step 2610, the CPU 710 stores a score (0 to 100 points) according to the calculation result. In step 2610, a straight line passing through two points (X 1, Y 1 ) = (1.5, 0) and (X 2, Y 2 ) = (4, 100), where X is calculated and Y is scored. The score can be calculated by the function of.

ステップ2606、ステップ2610、ステップ2612の処理が終了すると、呼び出し元に復帰する。 When the processing of step 2606, step 2610, and step 2612 is completed, the caller returns.

<地合ばらつき評価処理>
次に、図27は、図24におけるステップ2700の地合ばらつき評価処理のフローチャートである。まず、ステップ2702で、CPU710は、閾値/地合ばらつき(2値化閾値/地合ばらつき)比の算出を行う。
<Formation variation evaluation processing>
Next, FIG. 27 is a flowchart of the formation variation evaluation process of step 2700 in FIG. 24. First, in step 2702, the CPU 710 calculates the threshold value / formation variation (binarization threshold value / formation variation) ratio.

次に、ステップ2704で、CPU710は、算出結果が0.5以下であるか否かを判定する。ステップ2704でYESの場合、ステップ2706で、CPU710は、得点(0点)を記憶する。算出結果が0.5以下である場合、安定して欠陥を判別ができなくなる可能性がある、つまり、誤検出しやすくなるため、低い点数(ここでは0点)としている。 Next, in step 2704, the CPU 710 determines whether or not the calculation result is 0.5 or less. If YES in step 2704, the CPU 710 stores the score (0 points) in step 2706. If the calculation result is 0.5 or less, it may not be possible to stably determine the defect, that is, it is easy to make a false detection, so a low score (0 points in this case) is set.

次に、ステップ2704でNOの場合、ステップ2708で、CPU710は、算出結果が0.5〜3であるか否かを判定する。ステップ2708でNOの場合、ステップ2712で、CPU710は、得点(100点)を記憶する。算出結果が3以上である場合、欠陥を安定して判別できるため、一律の高い点数(ここでは100点)としている。 Next, if NO in step 2704, in step 2708, the CPU 710 determines whether or not the calculation result is 0.5 to 3. If NO in step 2708, the CPU 710 stores the score (100 points) in step 2712. When the calculation result is 3 or more, the defect can be stably determined, so that the score is uniformly high (100 points in this case).

ステップ2708でYESの場合、ステップ2710で、CPU710は、算出結果に応じて得点(0〜100点)を記憶する。ステップ2710では、Xを算出結果、Yを得点とする、(X1、)=(0.5、0)、(X2、)=(3、100)の2点を通る直線の関数により得点を求めることができる。 If YES in step 2708, in step 2710, the CPU 710 stores a score (0 to 100 points) according to the calculation result. In step 2710, a straight line passing through two points (X 1, Y 1 ) = (0.5, 0) and (X 2, Y 2 ) = (3, 100), where X is calculated and Y is scored. The score can be calculated by the function of.

ステップ2706、ステップ2710、ステップ2712の処理が終了すると、呼び出し元に復帰する。 When the processing of step 2706, step 2710, and step 2712 is completed, the caller returns.

<走査周期評価処理>
次に、図28は、図14におけるステップ2800の走査周期評価処理のフローチャートである。走査周期とは、カメラ300が所定の範囲を1回撮像するためにかかる時間である。つまり、カメラ300は、複数回の撮像を繰り返して1つの画像を作成する。なお、カメラ300の分解能が固定であれば、走査周期(言い換えると、テーブル400の移動速度)を遅くすると、カメラ300の素子が取り込む光の量が多くなり、画像は明るくなる。
<Scanning cycle evaluation process>
Next, FIG. 28 is a flowchart of the scanning cycle evaluation process of step 2800 in FIG. The scanning cycle is the time required for the camera 300 to take an image of a predetermined range once. That is, the camera 300 repeats imaging a plurality of times to create one image. If the resolution of the camera 300 is fixed, slowing down the scanning cycle (in other words, the moving speed of the table 400) increases the amount of light taken in by the elements of the camera 300, and the image becomes brighter.

まず、ステップ2802で、CPU710は、テーブル400の移動速度に係る、速度/目標速度の算出を行う。目標速度は、設計装置を使用して製造する検査装置を使用する者(利用者)が、実際に検査装置を使用する際の想定速度である。 First, in step 2802, the CPU 710 calculates the speed / target speed related to the moving speed of the table 400. The target speed is an assumed speed when a person (user) who uses the inspection device manufactured by using the design device actually uses the inspection device.

次に、ステップ2804で、CPU710は、算出結果が1.25以下であるか否かを判定する。ステップ2804でNOの場合、ステップ2806で、CPU710は、得点(100点)を記憶する。算出結果が1.25以上である場合、利用者が想定するスピード以上で検査することが可能であるため、一律の高い点数(ここでは100点)としている。 Next, in step 2804, the CPU 710 determines whether or not the calculation result is 1.25 or less. If NO in step 2804, the CPU 710 stores the score (100 points) in step 2806. When the calculation result is 1.25 or more, it is possible to inspect at a speed higher than the user expects, so the score is uniformly high (100 points here).

ステップ2804でYESの場合、ステップ2808で、CPU710は、算出結果に応じて得点(0〜100点)を記憶する。ステップ2808では、Xを算出結果、Yを得点とする、(X1、)=(0、0)、(X2、)=(1.25、100)の2点を通る直線の関数により得点を求めることができる。 If YES in step 2804, in step 2808, the CPU 710 stores a score (0 to 100 points) according to the calculation result. In step 2808, a straight line passing through two points (X 1, Y 1 ) = (0, 0) and (X 2, Y 2 ) = (1.25, 100), where X is calculated and Y is scored. The score can be calculated by the function of.

評価結果が所定値以下である場合には、画像を適切に撮像できない又は利用者が所望する設計条件を満たさないもの等と判断し、撮像しない(例えば、所定の設定条件における検査を行わない等)ようにしてもよい。 If the evaluation result is less than or equal to the predetermined value, it is judged that the image cannot be properly imaged or does not satisfy the design conditions desired by the user, and the image is not imaged (for example, the inspection under the predetermined setting conditions is not performed, etc. ) May be done.

<<<ハンド150の上面図(ライン照明210)>>>
次に、図29(A)は、ハンド150の上面図のイメージ図である。図29(A)は、ハンド150にライン照明210を把持させる際のイメージ図である。前述したとおり、第3アーム140では、第3アーム揺動部141の前端側と第3アーム回転部142の後端側が取り付けられている。
<<< Top view of hand 150 (line lighting 210) >>>
Next, FIG. 29 (A) is an image view of a top view of the hand 150. FIG. 29A is an image diagram when the hand 150 grips the line illumination 210. As described above, in the third arm 140, the front end side of the third arm swinging portion 141 and the rear end side of the third arm rotating portion 142 are attached.

次に、第3アーム回転部142の前端側は、ハンド150の固定部153の後端側に取り付けられている。固定部153の両側方には、ハンド駆動部154が取り付けられている。ハンド駆動部154にはさらに、ハンド150の前端側に延びる長尺の把持部が取り付けられており、一方が第1把持部151、他方が第2把持部152となっている。ハンド駆動部154は、固定部153に備えられたハンド把持シリンダ190(図示せず)等により駆動し、第1把持部151及び第2把持部152が図5に示すa7方向に移動する。 Next, the front end side of the third arm rotating portion 142 is attached to the rear end side of the fixing portion 153 of the hand 150. Hand drive units 154 are attached to both sides of the fixed portion 153. Further, a long grip portion extending toward the front end side of the hand 150 is attached to the hand drive portion 154, one of which is the first grip portion 151 and the other of which is the second grip portion 152. The hand driving unit 154 is driven by a hand gripping cylinder 190 (not shown) provided in the fixing unit 153, and the first gripping unit 151 and the second gripping unit 152 move in the a7 direction shown in FIG.

第1把持部151及び第2把持部152には、把持部凸部158が備えられており、本例では、第1把持部151には、前端側に1つの把持部凸部158が備えられ、第2把持部152には、前端側に1つと中央付近に1つの計2つの把持部凸部158が備えられている。なお、本例では、第1把持部151よりも第2把持部152の方が長く構成されているが、同じ長さであってもよい。 The first grip portion 151 and the second grip portion 152 are provided with a grip portion convex portion 158, and in this example, the first grip portion 151 is provided with one grip portion convex portion 158 on the front end side. The second grip portion 152 is provided with a total of two grip portion convex portions 158, one on the front end side and one near the center. In this example, the second grip portion 152 is longer than the first grip portion 151, but the length may be the same.

次に、固定部153の前端側には、アダプター155が取り付けられている。アダプター155の下部には、下孔159が備えられ、ライン照明ケーブル156を通すことが可能となっている。 Next, the adapter 155 is attached to the front end side of the fixing portion 153. A pilot hole 159 is provided in the lower portion of the adapter 155 so that the line illumination cable 156 can be passed through.

次に、アダプター155の前端側には、照明固定具170が取り付けられている。照明固定具170は、前端側に延びる2本の位置決め突起171が設けられている。ステップ1500の照明切替処理において照明装置200を変更する際に、当該位置決め突起171が照明装置200の位置決め受け部(図示せず)に嵌らなかった場合にはエラーとなり、設計装置の動作が一旦停止又は停止する。 Next, a lighting fixture 170 is attached to the front end side of the adapter 155. The lighting fixture 170 is provided with two positioning protrusions 171 extending toward the front end side. When the lighting device 200 is changed in the lighting switching process of step 1500, if the positioning projection 171 does not fit into the positioning receiving portion (not shown) of the lighting device 200, an error occurs and the operation of the design device is temporarily operated. Stop or stop.

ライン照明ケーブル156は、ライン照明210の後端側に備えられたライン照明接続部218と接続される。これにより、PC700から送信される制御コマンドがライン照明210に送信される。 The line illumination cable 156 is connected to a line illumination connection portion 218 provided on the rear end side of the line illumination 210. As a result, the control command transmitted from the PC 700 is transmitted to the line illumination 210.

ライン照明210の側方には、ライン照明凹部217が備えられており、第1把持部151の把持部凸部158に対応するライン照明凹部217が1つ備えられ、第2把持部152の把持部凸部158に対応するライン照明凹部217が2つ備えられている。 A line illumination recess 217 is provided on the side of the line illumination 210, and one line illumination recess 217 corresponding to the convex portion 158 of the grip portion 151 of the first grip portion 151 is provided to grip the second grip portion 152. Two line illumination recesses 217 corresponding to the convex portions 158 are provided.

前述したハンド駆動部154がハンド把持シリンダ190(図示せず)等により駆動し、第1把持部151及び第2把持部152が図5に示すa7方向に移動することにより、第1把持部151及び第2把持部152の把持部凸部158と、ライン照明凹部217とが嵌合することで、ライン照明210は、ハンド150に把持される。 The hand drive unit 154 described above is driven by a hand grip cylinder 190 (not shown) or the like, and the first grip portion 151 and the second grip portion 152 move in the a7 direction shown in FIG. 5, whereby the first grip portion 151 The line illumination 210 is gripped by the hand 150 by fitting the convex portion 158 of the grip portion of the second grip portion 152 and the concave portion 217 of the line illumination.

<<<ハンド150の側面図(ライン照明210)>>>
次に、図29(B)は、ハンド150の側面図のイメージ図である。図29(B)は、ハンド150にライン照明210を把持させる際のイメージ図である。図29(A)で説明した部分については省略し、図29(B)では、図29(A)にて簡単に説明したアダプター155の構成について補足説明する。
<<< Side view of hand 150 (line lighting 210) >>>
Next, FIG. 29B is an image of a side view of the hand 150. FIG. 29B is an image diagram when the hand 150 grips the line illumination 210. The portion described with reference to FIG. 29 (A) will be omitted, and FIG. 29 (B) will supplementarily explain the configuration of the adapter 155 simply described with reference to FIG. 29 (A).

アダプター155は、L字型であり、下部の上面と固定部153の下面とが当接して固定される。上部の一部には、第1孔160が設けられている。ライン照明ケーブル156は、第1孔160を通して、ライン照明接続部218に接続される。 The adapter 155 is L-shaped, and the upper surface of the lower portion and the lower surface of the fixing portion 153 are in contact with each other and fixed. A first hole 160 is provided in a part of the upper part. The line illumination cable 156 is connected to the line illumination connection portion 218 through the first hole 160.

<<<ハンド150の上面図(板状ライトガイド220)>>>
次に、図30(A)は、ハンド150の上面図のイメージ図である。図30(A)は、ハンド150に板状ライトガイド220を把持させる際のイメージ図である。図29(A)との相違点は、板状ライトガイド220を把持することであり、板状ライトガイド220は、ライン照明210より短手方向の長さが短くなっている。なお、板状ライトガイド220には、ライトガイド凹部223が設けられている。
<<<ハンド150の側面図(板状ライトガイド220)>>>
次に、図30(B)は、ハンド150の平面図2のイメージ図である。図30(B)は、ハンド150に板状ライトガイド220を把持させる際のイメージ図である。図30(B)では、液体ライトガイド157を通すことができる板状ライトガイドアダプター180について説明する。
<<< Top view of hand 150 (plate-shaped light guide 220) >>>
Next, FIG. 30A is an image of a top view of the hand 150. FIG. 30A is an image diagram when the hand 150 grips the plate-shaped light guide 220. The difference from FIG. 29 (A) is that the plate-shaped light guide 220 is gripped, and the plate-shaped light guide 220 has a shorter length in the lateral direction than the line illumination 210. The plate-shaped light guide 220 is provided with a light guide recess 223.
<<< Side view of hand 150 (plate-shaped light guide 220) >>>
Next, FIG. 30B is an image view of the plan view 2 of the hand 150. FIG. 30B is an image diagram when the hand 150 grips the plate-shaped light guide 220. FIG. 30B describes a plate-shaped light guide adapter 180 through which the liquid light guide 157 can be passed.

板状ライトガイドアダプター180は、L字型であり、アダプター155の下部の下面と当接して固定される。板状ライトガイドアダプター180の一部には、第2孔161が設けられている。液体ライトガイド157は、板状ライトガイドアダプター180の第2孔161を通して、ライトガイド接続部224と取り付けられる。例えば、ライトガイド接続部224の面と液体ライトガイド157の先端の面が当接して取り付けられてもよいし、ライトガイド接続部224に凹部が設けられ、液体ライトガイド157の先端がライトガイド接続部224の凹部に嵌まるように取り付けられても良い。 The plate-shaped light guide adapter 180 is L-shaped and is fixed in contact with the lower surface of the lower portion of the adapter 155. A second hole 161 is provided in a part of the plate-shaped light guide adapter 180. The liquid light guide 157 is attached to the light guide connection portion 224 through the second hole 161 of the plate-shaped light guide adapter 180. For example, the surface of the light guide connection portion 224 and the surface of the tip of the liquid light guide 157 may be attached in contact with each other, or a recess is provided in the light guide connection portion 224 and the tip of the liquid light guide 157 is connected to the light guide. It may be attached so as to fit in the recess of the portion 224.

<<検査中イメージ図>>
次に、図31(A)は、拡散板510を用いず、テーブル400の上方から照明装置200にて検査対象物660を照明する場合のイメージ図である。
<< Image during inspection >>
Next, FIG. 31A is an image diagram in the case where the inspection object 660 is illuminated by the lighting device 200 from above the table 400 without using the diffuser plate 510.

テーブル400の上面に検査対象物660が載置されている。照明装置200は、テーブル400の上方に位置し、検査対象物660に対して照明光Iを出射している。ここでは、照明光Iは、入射角40°で出射されている。 The inspection object 660 is placed on the upper surface of the table 400. The illuminating device 200 is located above the table 400 and emits illumination light I to the inspection object 660. Here, the illumination light I is emitted at an incident angle of 40 °.

テーブル400は、テーブルXステージ620により、図6に示すXT方向(+X方向)に移動する。 The table 400 is moved in the XT direction (+ X direction) shown in FIG. 6 by the table X stage 620.

カメラ300は、テーブル400のXT方向(+X方向)の移動に伴い検査対象物660の各部分(言い換えると、カメラ300の撮像可能な範囲ごと)の撮像を行う。 The camera 300 takes an image of each part of the inspection object 660 (in other words, for each imageable range of the camera 300) as the table 400 moves in the XT direction (+ X direction).

次に、図31(B)は、第1拡散板510を用いて、テーブル400の上方から照明装置200にて検査対象物660を照明する場合のイメージ図である。 Next, FIG. 31B is an image diagram in the case where the inspection object 660 is illuminated by the lighting device 200 from above the table 400 using the first diffusion plate 510.

テーブル400の上面に検査対象物660が載置されている。照明装置200は、テーブル400の上方に位置し、検査対象物660に対して照明光Iを出射している。ここでは、照明光Iは、第1拡散板510にて複数の方向に拡散されている。 The inspection object 660 is placed on the upper surface of the table 400. The illuminating device 200 is located above the table 400 and emits illumination light I to the inspection object 660. Here, the illumination light I is diffused in a plurality of directions by the first diffusion plate 510.

カメラ300及びテーブル400については、図31(A)と同様であるため、説明は省略する。 Since the camera 300 and the table 400 are the same as those in FIG. 31 (A), the description thereof will be omitted.

次に、図32は、第2拡散板520を用いず、テーブル400の下方から照明装置200にて検査対象物660を照明する場合のイメージ図である。 Next, FIG. 32 is an image diagram in the case where the inspection object 660 is illuminated by the lighting device 200 from below the table 400 without using the second diffusion plate 520.

テーブル400の上面に検査対象物660が載置されている。照明装置200は、テーブル400の下方に位置し、検査対象物660に対して照明光Iを出射している。 The inspection object 660 is placed on the upper surface of the table 400. The illuminating device 200 is located below the table 400 and emits illumination light I to the inspection object 660.

カメラ300及びテーブル400については、図31(A)と同様であるため、説明は省略する。 Since the camera 300 and the table 400 are the same as those in FIG. 31 (A), the description thereof will be omitted.

次に、図33は、第2拡散板520を用いて、テーブル400の下方から照明装置200にて検査対象物660を照明する場合のイメージ図である。 Next, FIG. 33 is an image diagram in the case where the inspection object 660 is illuminated by the lighting device 200 from below the table 400 using the second diffusion plate 520.

テーブル400の上面に検査対象物660が載置されている。照明装置200は、テーブル400の下方に位置し、検査対象物660に対して照明光Iを出射している。ここでは、照明光Iは、第2拡散板520にて複数の方向に拡散されている。 The inspection object 660 is placed on the upper surface of the table 400. The illuminating device 200 is located below the table 400 and emits illumination light I to the inspection object 660. Here, the illumination light I is diffused in a plurality of directions by the second diffuser plate 520.

カメラ300及びテーブル400については、図31(A)と同様であるため、説明は省略する。 Since the camera 300 and the table 400 are the same as those in FIG. 31 (A), the description thereof will be omitted.

<<検査結果画面>>
次に、図34(A)及び(B)は、図13のステップ1210の結果出力処理で出力される出力画面の一例である。第1モニタ8310には、主に検査結果のデータが表示され、第2モニタ8311には、主に欠陥を示す画像が表示される。
<< Inspection result screen >>
Next, FIGS. 34 (A) and 34 (B) are examples of output screens output in the result output process of step 1210 of FIG. The inspection result data is mainly displayed on the first monitor 8310, and the image showing the defect is mainly displayed on the second monitor 8311.

図34(A)は、検査結果のデータが表示された第1モニタ8310の表示画面である。検査結果のデータを表示する際、得点が高い順に表示される。 FIG. 34A is a display screen of the first monitor 8310 on which the inspection result data is displayed. When displaying the test result data, the scores are displayed in descending order.

検査者又は利用者は、マウス832を操作して第1モニタ8310に表示された検査結果を選択することができ、選択された検査結果で撮像した欠陥を示す画像が第2モニタ8311に表示される。 The inspector or the user can operate the mouse 832 to select the inspection result displayed on the first monitor 8310, and the image showing the defect captured by the selected inspection result is displayed on the second monitor 8311. To.

図34(B)は、欠陥を示す画像が表示された第2モニタ8311の表示画面である。図34(A)に表示された検査結果を2つ選択可能となっており、ここでは、第1モニタ8310で選択した(得点が最も高いものを選択している)検査結果で撮像した欠陥を示す画像が、図34(B)の領域F1と領域F2に表示されている。領域F1には、検査対象物660の全体画像が表示され、領域F2には、欠陥の拡大画像が表示される。検査結果を2つ選択した場合には、初めに選択した検査結果が領域F1と領域F2に表示され、次に選択した検査結果が領域F3と領域F4に表示される。なお、検査結果が2つ選択された場合には、領域F1と領域F2に得点が高い方の検査結果の欠陥の画像を表示し、領域F3と領域F4に得点が低い方の検査結果の欠陥の画像を表示するようにしてもよい。 FIG. 34B is a display screen of the second monitor 8311 on which an image showing a defect is displayed. Two test results displayed in FIG. 34 (A) can be selected. Here, the defect imaged by the test result selected by the first monitor 8310 (the one with the highest score is selected) is detected. The images shown are displayed in the areas F1 and F2 of FIG. 34 (B). The entire image of the inspection object 660 is displayed in the area F1, and an enlarged image of the defect is displayed in the area F2. When two test results are selected, the first selected test result is displayed in the area F1 and the area F2, and the next selected test result is displayed in the area F3 and the area F4. When two test results are selected, the image of the defect of the test result having the higher score is displayed in the area F1 and the area F2, and the defect of the test result having the lower score is displayed in the area F3 and the area F4. The image of may be displayed.

<<変更例>>
第1の実施の形態では、ステップ2400の画像評価処理及びステップ2800の走査周期評価処理における得点を、全て100点を最高値として示したが、得点の重み付けを行うようにしてもよい。例えば、S/N比評価処理の結果が重要である場合には、S/N比評価処理の最高得点を1.5倍の150点とすることもできる。なお、第1の実施の形態で示した得点はあくまで例示であり、適宜変更可能である。
<< Change example >>
In the first embodiment, the scores in the image evaluation process in step 2400 and the scanning cycle evaluation process in step 2800 are all shown with 100 points as the maximum value, but the points may be weighted. For example, when the result of the S / N ratio evaluation process is important, the maximum score of the S / N ratio evaluation process can be increased to 150 points, which is 1.5 times. The score shown in the first embodiment is merely an example and can be changed as appropriate.

<<外部との通信>>
次に、図35は、第1の実施の形態で示した設計装置が、外部のデータサーバと接続されている場合を示すシステム構成図である。図9との主たる相違点は、PC700に通信部840が設けられている点、ネットワーク1000が追加されている点、データサーバ1100が追加されている点、PC1200が追加されている点である。
<< Communication with the outside >>
Next, FIG. 35 is a system configuration diagram showing a case where the design device shown in the first embodiment is connected to an external data server. The main differences from FIG. 9 are that the communication unit 840 is provided in the PC 700, the network 1000 is added, the data server 1100 is added, and the PC 1200 is added.

当該設計装置をメーカの代理店等に設置した場合、代理店に設置された設計装置を用いることで、設計装置にて、利用者が製造したい検査装置の設計データ(検査結果、欠陥の画像等)を取得することができる。このとき、設計装置で取得した検査結果や欠陥の画像データを、ネットワーク1000を介してデータサーバ1100にアップロードすることを可能に構成している。 When the design device is installed at the manufacturer's agency, etc., by using the design device installed at the agency, the design data of the inspection device that the user wants to manufacture (inspection result, defect image, etc.) ) Can be obtained. At this time, the inspection result and the image data of the defect acquired by the design apparatus can be uploaded to the data server 1100 via the network 1000.

さらに、ネットワーク1000は、当該設計装置を開発したメーカのPC1200と接続されている。 Further, the network 1000 is connected to the PC1200 of the manufacturer that developed the design device.

このように構成することで、当該設計装置を開発したメーカは、設計装置が遠隔地にある場合であっても設計データを確認することができ、利用者に適切なアドバイスを行うことができる。 With this configuration, the manufacturer who developed the design device can check the design data even when the design device is located in a remote place, and can give appropriate advice to the user.

<<<<第2の実施の形態の概要>>>>
第1の実施の形態では、複数の照明装置を準備しておき、一の照明装置を選択して所定の波長の光を照明して欠陥を検出するものであった。
<<<<<< Outline of the second embodiment >>>>>
In the first embodiment, a plurality of lighting devices are prepared, one lighting device is selected, and light having a predetermined wavelength is illuminated to detect a defect.

第2の実施の形態では、広範囲の波長を含む光を発する照明装置200−2(図40参照)と、ハイパースペクトルカメラ300−2とを用いる。照明装置200−2から発する光を検査対象物660に照射して、ハイパースペクトルカメラ300−2によって検査対象物660を撮影する。撮影によって得られたデータから、検査対象物660に存在する欠陥を検出する。 In the second embodiment, a lighting device 200-2 (see FIG. 40) that emits light including a wide range of wavelengths and a hyperspectral camera 300-2 are used. The inspection object 660 is irradiated with the light emitted from the lighting device 200-2, and the inspection object 660 is photographed by the hyperspectral camera 300-2. From the data obtained by imaging, defects existing in the inspection object 660 are detected.

第2の実施の形態において、同様の構成に対しては、第1の実施の形態と同一の符号を付した。 In the second embodiment, similar configurations are designated by the same reference numerals as those in the first embodiment.

<<照明装置200−2>>
照明装置200−2は、例えば、ハロゲンランプなどを有する伝送ライトを有する。照明装置200−2は、400〜1000nmや、900〜1700nmなどの広い範囲の波長の光を発する。照明装置200−2は、可視光だけでなく、赤外領域の光を発するものが好ましい。
<< Lighting device 200-2 >>
The illuminating device 200-2 has a transmission light having, for example, a halogen lamp or the like. The illuminating device 200-2 emits light having a wide range of wavelengths such as 400 to 1000 nm and 900 to 1700 nm. The illuminating device 200-2 preferably emits light in the infrared region as well as visible light.

照明装置200−2は、ボックス照明820−2と、棒状ライトガイド230とからなる(図39参照)。ボックス照明820−2は、400〜1700nmの光を発するハロゲンランプ(図示せず)を有する。 The lighting device 200-2 includes a box lighting 820-2 and a rod-shaped light guide 230 (see FIG. 39). The box illumination 820-2 has a halogen lamp (not shown) that emits light of 400 to 1700 nm.

棒状ライトガイド230は、長尺な形状を有するライトガイドである。ハロゲンランプから発せられた光は、棒状ライトガイド230の端部にある入射面(図示せず)に入射される。入射面から入射された光は、棒状ライトガイド230の内部で全反射を繰り返し、明るさが均一化される。明るさが均一化された光は、棒状ライトガイド230の長尺な出射面(図示せず)から出射される。棒状ライトガイド230から出射された光は、照射された面を均一に照明する。なお、ライトガイドは、照明する領域の形状や大きさに応じた出射面を有すればよい。 The rod-shaped light guide 230 is a light guide having a long shape. The light emitted from the halogen lamp is incident on an incident surface (not shown) at the end of the rod-shaped light guide 230. The light incident from the incident surface is repeatedly totally reflected inside the rod-shaped light guide 230 to make the brightness uniform. Light with uniform brightness is emitted from a long exit surface (not shown) of the rod-shaped light guide 230. The light emitted from the rod-shaped light guide 230 uniformly illuminates the irradiated surface. The light guide may have an exit surface according to the shape and size of the area to be illuminated.

<<ハイパースペクトルカメラ300−2>>
ハイパースペクトルカメラ300−2は、光を波長毎に分光して撮影できるカメラである。ハイパースペクトルカメラ300−2は、波長毎に撮影データを取得できる。ハイパースペクトルカメラ300−2は、例えば、400〜2500nmの波長の光を受光できる。
<< Hyper Spectrum Camera 300-2 >>
The hyperspectral camera 300-2 is a camera capable of taking a picture by splitting light for each wavelength. The hyperspectral camera 300-2 can acquire shooting data for each wavelength. The hyperspectral camera 300-2 can receive light having a wavelength of, for example, 400 to 2500 nm.

<エリアカメラ>
ハイパースペクトルカメラ300−2は、長尺な形状のスリット(開口部)(図示せず)を有する。ハイパースペクトルカメラ300−2は、スリットを通過した光を受光する。ハイパースペクトルカメラ300−2は、スリットを介して検査対象物660を撮影することができる。ハイパースペクトルカメラ300−2が撮影できる範囲は、スリットの形状で定まる。
<Area camera>
The hyperspectral camera 300-2 has an elongated slit (opening) (not shown). The hyperspectral camera 300-2 receives the light that has passed through the slit. The hyperspectral camera 300-2 can photograph the inspection object 660 through the slit. The range that the hyperspectral camera 300-2 can capture is determined by the shape of the slit.

ハイパースペクトルカメラ300−2は、分光器及びエリアカメラ(図示せず)を有する。分光器は、入射した光を各色(波長)に分解(分光)して出射する。分光器から出射された光は、波長毎に互いに異なる方向(角度)に分散される。例えば、最大で450波長に分散させることができる。エリアカメラは、X方向(第1の方向)とY方向(第2の方向)との2次元の範囲を撮像する。ハイパースペクトルカメラ300−2は、長尺な形状のスリットを通過し、分光器によって互いに異なる方向に分散された光をエリアカメラで撮像する。 The hyperspectral camera 300-2 has a spectroscope and an area camera (not shown). The spectroscope decomposes (splits) the incident light into each color (wavelength) and emits it. The light emitted from the spectroscope is dispersed in different directions (angles) for each wavelength. For example, it can be dispersed to a maximum of 450 wavelengths. The area camera captures a two-dimensional range in the X direction (first direction) and the Y direction (second direction). The hyperspectral camera 300-2 passes through a long slit and captures light dispersed in different directions by a spectroscope with an area camera.

長尺な形状のスリットの長手方向が、エリアカメラのX方向に対応し、分光された光が波長毎に分散する方向が、エリアカメラのY方向に対応する。したがって、ハイパースペクトルカメラ300−2のエリアカメラは、長尺な撮影範囲の長手方向(幅方向とも称する)をX方向に対応づけ、波長毎に光が分散して広がる方向をY方向に対応づけて、X方向及びY方向の2次元の画像を撮像する。具体的には、Y方向に450波長に分散させて、検査対象物660の幅方向(スリットの長手方向)をX方向に対応させて、検査対象物660を撮像する。 The longitudinal direction of the long slit corresponds to the X direction of the area camera, and the direction in which the dispersed light is dispersed for each wavelength corresponds to the Y direction of the area camera. Therefore, in the area camera of the hyperspectral camera 300-2, the longitudinal direction (also referred to as the width direction) of the long shooting range is associated with the X direction, and the direction in which light is dispersed and spread for each wavelength is associated with the Y direction. Then, a two-dimensional image in the X direction and the Y direction is taken. Specifically, the inspection target object 660 is imaged by dispersing it in the Y direction at 450 wavelengths and making the width direction (longitudinal direction of the slit) of the inspection target object 660 correspond to the X direction.

前述したように、ハイパースペクトルカメラ300−2は、長尺なスリットを介して長尺な領域を撮影する。一方、検査対象物660は、基本的に、板状の形状を有し、2次元に延在する。したがって、板状の検査対象物660の全体を撮影するときには、スリットの短手方向(長手方向に対して垂直な方向)に検査対象物660を移動させつつ撮影する。なお、検査対象物660ではなく、ハイパースペクトルカメラ300−2を移動させて撮影してもよい。 As described above, the hyperspectral camera 300-2 captures a long region through a long slit. On the other hand, the inspection object 660 basically has a plate-like shape and extends two-dimensionally. Therefore, when the entire plate-shaped inspection object 660 is photographed, the inspection object 660 is photographed while being moved in the lateral direction of the slit (the direction perpendicular to the longitudinal direction). It should be noted that the hyperspectral camera 300-2 may be moved and photographed instead of the inspection object 660.

<撮像例>
図36(a)は、検査対象物660の例である。図36(a)の例では、検査対象物660は、矩形を有する。図36(a)の横方向は、検査対象物660の移動方向Xである。図36(a)の縦方向は、ハイパースペクトルカメラ300−2のスリットの長手方向であり、ハイパースペクトルカメラ300−2で撮像できる長手方向(撮像幅の方向)の範囲である。
<Example of imaging>
FIG. 36A is an example of the inspection object 660. In the example of FIG. 36 (a), the inspection object 660 has a rectangular shape. The horizontal direction in FIG. 36A is the moving direction X of the inspection object 660. The vertical direction of FIG. 36A is the longitudinal direction of the slit of the hyperspectral camera 300-2, and is the range of the longitudinal direction (direction of the imaging width) that can be imaged by the hyperspectral camera 300-2.

まず、ハイパースペクトルカメラ300−2が、図36(a)のxsに位置するように、検査対象物660を位置づける。ハイパースペクトルカメラ300−2は、検査台600の一定の位置に位置づけられている。検査対象物660を図36(a)の左方向に移動させつつ、ハイパースペクトルカメラ300−2で検査対象物660を撮像する。ハイパースペクトルカメラ300−2が、図36(a)のxeに位置したときに、撮像を終了する。 First, the hyperspectral camera 300-2 positions the inspection object 660 so as to be located at xs in FIG. 36 (a). The hyperspectral camera 300-2 is positioned at a fixed position on the inspection table 600. While moving the inspection target 660 to the left in FIG. 36 (a), the inspection target 660 is imaged by the hyperspectral camera 300-2. Imaging ends when the hyperspectral camera 300-2 is located at xe in FIG. 36 (a).

図36(a)の例では、黒い三角形の欠陥DFが検査対象物660の中央に存在している。図36(b)及び(c)は、ハイパースペクトルカメラ300−2で検査対象物660を撮像したときに得られる撮像結果である。図36(b)及び(c)は、ハイパースペクトルカメラで300−2で得られる全体のデータ(いわゆるデータキューブ)のうちの互いに異なる2つの撮像位置x1及びx2でのデータを示す。 In the example of FIG. 36 (a), the defect DF of a black triangle exists in the center of the inspection object 660. 36 (b) and 36 (c) are imaging results obtained when the inspection object 660 is imaged with the hyperspectral camera 300-2. FIGS. 36 (b) and 36 (c) show data at two different imaging positions x1 and x2 of the total data (so-called data cubes) obtained at 300-2 with a hyperspectral camera.

図36(b)及び(c)の横方向は、ハイパースペクトルカメラ300−2で検査対象物660を撮像したときに受光した光の波長を示す。すなわち、ハイパースペクトルカメラ300−2の分光器によって分散された光の波長が、図36(b)及び(c)の横方向である。図36(b)及び(c)の縦方向は、図36(a)と同様に、ハイパースペクトルカメラ300−2のスリットの長手方向(撮像幅の方向)である。 The horizontal directions of FIGS. 36 (b) and 36 (c) show the wavelengths of the light received when the inspection object 660 is imaged by the hyperspectral camera 300-2. That is, the wavelengths of the light dispersed by the spectroscope of the hyperspectral camera 300-2 are in the lateral directions of FIGS. 36 (b) and 36 (c). The vertical direction of FIGS. 36 (b) and 36 (c) is the longitudinal direction (direction of the imaging width) of the slit of the hyperspectral camera 300-2, as in FIG. 36 (a).

なお、図36(b)及び(c)においては、図中の縦線の本数で、撮像した検査対象物660の像の明瞭性を示した。すなわち、縦線の本数が多い波長領域の像は、明瞭であることを意味し、縦線の本数が少ない波長領域の像は、不明瞭であることを意味する。図36(b)及び(c)に示した例では、λ1の付近の波長領域では、最も縦線の本数が多く、検査対象物660の像は明瞭である。次に、λ0の付近の波長領域では、縦線の本数が少なくなり、検査対象物660の像はある程度明瞭である。さらに、λ2の付近の波長領域では、縦線の本数が少なくなり、検査対象物660の像は不明瞭になる。次に、λ3の付近の波長領域では、縦線の本数がさらに少なくなり、検査対象物660の像はより不明瞭となる。 In FIGS. 36 (b) and 36 (c), the number of vertical lines in the figure indicates the clarity of the image of the imaged inspection object 660. That is, an image in a wavelength region having a large number of vertical lines means that it is clear, and an image in a wavelength region having a small number of vertical lines means that it is unclear. In the examples shown in FIGS. 36 (b) and 36 (c), the number of vertical lines is the largest in the wavelength region near λ1, and the image of the inspection object 660 is clear. Next, in the wavelength region near λ0, the number of vertical lines decreases, and the image of the inspection object 660 is clear to some extent. Further, in the wavelength region near λ2, the number of vertical lines is reduced, and the image of the inspection object 660 becomes unclear. Next, in the wavelength region near λ3, the number of vertical lines is further reduced, and the image of the inspection object 660 becomes more unclear.

図36(b)は、ハイパースペクトルカメラ300−2が、図36(a)のx1に位置したときに撮像された撮像結果を示す。波長λ1を中心とした波長領域で、欠陥DFのx1に位置する部分が撮像されている。図36(c)は、ハイパースペクトルカメラ300−2が、図36(a)のx2に位置したときに撮像された撮像結果を示す。波長λ1を中心とした波長領域で、欠陥DFのx2に位置する部分が撮像されている。 FIG. 36 (b) shows the imaging result captured when the hyperspectral camera 300-2 is located at x1 in FIG. 36 (a). In the wavelength region centered on the wavelength λ1, the portion of the defective DF located at x1 is imaged. FIG. 36 (c) shows the imaging result captured when the hyperspectral camera 300-2 was located at x2 in FIG. 36 (a). In the wavelength region centered on the wavelength λ1, the portion of the defective DF located at x2 is imaged.

図36(b)及び(c)に示したように、ハイパースペクトルカメラ300−2は、検査対象物660の位置ごとに検査対象物660を撮像する。したがって、検査対象物660を撮像した位置の数に応じた複数の撮像データが得られる。撮像データは、記憶装置(たとえば、RAM730やハードディスクドライブ(図示せず)など)に順次に記憶される。 As shown in FIGS. 36 (b) and 36 (c), the hyperspectral camera 300-2 images the inspection target 660 at each position of the inspection target 660. Therefore, a plurality of imaging data can be obtained according to the number of positions where the inspection object 660 is imaged. The captured data is sequentially stored in a storage device (for example, a RAM 730, a hard disk drive (not shown), or the like).

図37は、ハイパースペクトルカメラ300−2で撮像した撮像データを、波長ごとに抽出して、検査対象物660の実空間での形状を再現するように並べ直して生成した画像(評価用画像)を示す図である。図37(a)は、波長λ0の撮像データを抽出して検査対象物660を再現するように並べた図である。図37(b)は、波長λ1の撮像データを抽出して検査対象物660を再現するように並べた図である。図37(c)は、波長λ2の撮像データを抽出して検査対象物660を再現するように並べた図である。図37(d)は、波長λ3の撮像データを抽出して検査対象物660を再現するように並べた図である。 FIG. 37 is an image (evaluation image) generated by extracting the imaging data captured by the hyperspectral camera 300-2 for each wavelength and rearranging them so as to reproduce the shape of the inspection object 660 in the real space. It is a figure which shows. FIG. 37A is a diagram in which imaging data having a wavelength of λ0 is extracted and arranged so as to reproduce the inspection object 660. FIG. 37B is a diagram in which imaging data having a wavelength of λ1 is extracted and arranged so as to reproduce the inspection target object 660. FIG. 37 (c) is a diagram in which imaging data having a wavelength of λ2 is extracted and arranged so as to reproduce the inspection target object 660. FIG. 37 (d) is a diagram in which imaging data having a wavelength of λ3 is extracted and arranged so as to reproduce the inspection target object 660.

図37では、斜線の数によって、明瞭性を示す。図37(a)に示すように、波長λ0では、検査対象物660の像はある程度明瞭である。図37(b)に示すように、波長λ1では、検査対象物660の像は最も明瞭である。図37(c)に示すように、波長λ2では、検査対象物660の像はある程度不明瞭である。図37(d)に示すように、波長λ3では、検査対象物660の像はかなり不明瞭となる。 In FIG. 37, the number of diagonal lines indicates clarity. As shown in FIG. 37 (a), at the wavelength λ0, the image of the inspection object 660 is clear to some extent. As shown in FIG. 37 (b), at the wavelength λ1, the image of the inspection object 660 is the clearest. As shown in FIG. 37 (c), at the wavelength λ2, the image of the inspection object 660 is somewhat unclear. As shown in FIG. 37 (d), at the wavelength λ3, the image of the inspection object 660 becomes considerably unclear.

図37(a)〜(d)は、後述するように、画像評価処理で評価するための評価用画像である。画像評価処理を実行することで、検査対象物660が最も明瞭に撮像された波長を決定することができる。 37 (a) to 37 (d) are evaluation images for evaluation in the image evaluation process, as will be described later. By executing the image evaluation process, it is possible to determine the wavelength at which the inspection object 660 is most clearly imaged.

この例では、欠陥DFは、波長λ1の光で最も明瞭に撮像されるが、欠陥の種類によっては、明瞭に撮像できる波長は異なる。また、欠陥の種類によっては、複数の波長で、明瞭に撮像できる場合もある。このように、発見したい欠陥の種類や性質に応じて、照明すべき光の波長を決定することができる。 In this example, the defective DF is most clearly imaged with light having a wavelength of λ1, but the wavelength that can be clearly imaged differs depending on the type of defect. Further, depending on the type of defect, it may be possible to clearly image at a plurality of wavelengths. In this way, the wavelength of light to be illuminated can be determined according to the type and nature of the defect to be found.

<検査台600−2の構成>
図38は、第2の実施の形態による検査台600−2の全体を示す斜視図である。図38は、第1の実施の形態の図6に対応する。第1の実施の形態と同様の構成には、同一の符号を付した。検査台600−2は、ハイパースペクトルカメラ300−2を有する。第1の実施の形態の検査台600に設けられたカメラ300の代わりにハイパースペクトルカメラ300−2が設けられている。なお、検査台600にカメラ300とハイパースペクトルカメラ300−2と選択可能に設けてもよい。必要に応じて、カメラ300とハイパースペクトルカメラ300−2とのうちのいずれか一方に切り替えることができる。
<Configuration of inspection table 600-2>
FIG. 38 is a perspective view showing the entire inspection table 600-2 according to the second embodiment. FIG. 38 corresponds to FIG. 6 of the first embodiment. The same reference numerals are given to the configurations similar to those of the first embodiment. The inspection table 600-2 has a hyperspectral camera 300-2. A hyperspectral camera 300-2 is provided in place of the camera 300 provided on the inspection table 600 of the first embodiment. The inspection table 600 may be provided with a camera 300 and a hyperspectral camera 300-2 so as to be selectable. If necessary, it is possible to switch to either the camera 300 or the hyperspectral camera 300-2.

第1の実施の形態と同様に、検査台600−2は、カメラθステージ650と、カメラθガイド651と、カメラ直動ステージ652とを有する。カメラθステージ650と、カメラθガイド651と、カメラ直動ステージ652とは、第1の実施の形態と同様の構成及び機能を有する。カメラθステージ650と、カメラθガイド651と、カメラ直動ステージ652とによって、ハイパースペクトルカメラ300−2を、所望する位置に位置づけることができる。 Similar to the first embodiment, the inspection table 600-2 has a camera θ stage 650, a camera θ guide 651, and a camera linear motion stage 652. The camera θ stage 650, the camera θ guide 651, and the camera linear motion stage 652 have the same configurations and functions as those in the first embodiment. The hyperspectral camera 300-2 can be positioned at a desired position by the camera θ stage 650, the camera θ guide 651, and the camera linear motion stage 652.

<設計装置のシステム構成>
図39は、第2の実施の形態による設計装置のシステム構成を示す図である。図39は、第1の実施の形態の図9に対応する。第1の実施の形態と同様の構成には、同一の符号を付した。ハイパースペクトルカメラ300−2は、カメラコントローラ750−2にケーブル等で接続されている。カメラコントローラ750−2は、ハイパースペクトルカメラ300−2の撮像に関する制御や、ハイパースペクトルカメラ300−2が撮像した画像を処理するためのコントローラである。
<System configuration of design equipment>
FIG. 39 is a diagram showing a system configuration of the design apparatus according to the second embodiment. FIG. 39 corresponds to FIG. 9 of the first embodiment. The same reference numerals are given to the configurations similar to those of the first embodiment. The hyperspectral camera 300-2 is connected to the camera controller 750-2 with a cable or the like. The camera controller 750-2 is a controller for controlling the imaging of the hyperspectral camera 300-2 and processing the image captured by the hyperspectral camera 300-2.

ボックス照明820−2は、棒状ライトガイド230と液体ライトガイド157やファイバ等によって接続される。棒状ライトガイド230は、第1の実施の形態の板状ライトガイド220と同様に、第2収納部910に収納される。ロボット100は、第2収納部910で棒状ライトガイド230を把持して、第2収納部910から板状ライトガイド220を取り出すことができる。ロボット100は、取り出した棒状ライトガイド230を、所望する位置及び所望する向きとなるように移動させて位置づける。 The box illumination 820-2 is connected to the rod-shaped light guide 230 by a liquid light guide 157, a fiber, or the like. The rod-shaped light guide 230 is housed in the second storage portion 910 in the same manner as the plate-shaped light guide 220 of the first embodiment. The robot 100 can grip the rod-shaped light guide 230 with the second storage unit 910 and take out the plate-shaped light guide 220 from the second storage unit 910. The robot 100 moves and positions the removed rod-shaped light guide 230 so as to have a desired position and a desired direction.

<検査台側のシステム構成>
図40は、第2の実施の形態による検査台側のシステム構成を示す図である。図40は、第1の実施の形態の図11に対応する。第1の実施の形態と同様の構成には、同一の符号を付した。
<System configuration on the inspection table side>
FIG. 40 is a diagram showing a system configuration on the inspection table side according to the second embodiment. FIG. 40 corresponds to FIG. 11 of the first embodiment. The same reference numerals are given to the configurations similar to those of the first embodiment.

モーションコントローラ760からカメラ直動コントローラ772に駆動信号が送信されると、カメラ直動コントローラ772は、受信した駆動信号に基づいてカメラ直動ステージ652のカメラ直動駆動モータ320へ駆動信号を送信する。カメラ直動駆動モータ320は、駆動信号に応じた回転方向や回転速度などで駆動され、カメラ支持部653が図38に示すLC方向に移動し、これに伴ってハイパースペクトルカメラ300−2が図38のLC方向に移動する。 When the drive signal is transmitted from the motion controller 760 to the camera direct motion controller 772, the camera linear motion controller 772 transmits a drive signal to the camera direct motion drive motor 320 of the camera linear motion stage 652 based on the received drive signal. .. The camera direct drive motor 320 is driven in a rotation direction, a rotation speed, or the like according to a drive signal, the camera support portion 653 moves in the LC direction shown in FIG. 38, and the hyperspectral camera 300-2 is shown in FIG. Move in the LC direction of 38.

照明装置200−2は、テーブル400の上方から検査対象物660を照明する場合(図40中の実線で示す照明装置200−2)と、テーブル400の下方から検査対象物660を照明する場合(図40中の破線で示す照明装置200−2)がある。 The illuminating device 200-2 illuminates the inspection object 660 from above the table 400 (illumination device 200-2 shown by the solid line in FIG. 40) and illuminates the inspection object 660 from below the table 400 (lighting device 200-2). There is a lighting device 200-2) shown by a broken line in FIG. 40.

<評価用画像生成処理>
図41は、欠陥を評価するための評価用画像を生成する処理を示すフローチャートである。図36で説明したように、ハイパースペクトルカメラ300−2の撮像データから、欠陥が明瞭に撮像されている画像を抽出し、そのときの波長を最適な波長として決定することができる。撮像データの数は、検査対象物660を移動させて撮像した位置(撮像位置)の数である。撮像位置は、例えば、図36の例の場合には、xsからxeまでの間に、検査対象物660を位置づけた数である。図41の評価用画像生成処理は、欠陥が明瞭であるか否かを判断するための評価用画像を生成する処理である。欠陥が明瞭であるか否かは、後述する図42に示す最適波長決定処理によって決定される。
<Image generation process for evaluation>
FIG. 41 is a flowchart showing a process of generating an evaluation image for evaluating a defect. As described with reference to FIG. 36, an image in which defects are clearly captured can be extracted from the imaging data of the hyperspectral camera 300-2, and the wavelength at that time can be determined as the optimum wavelength. The number of imaging data is the number of positions (imaging positions) in which the inspection object 660 is moved and imaged. The imaging position is, for example, in the case of the example of FIG. 36, the number of the inspection objects 660 positioned between xs and x. The evaluation image generation process of FIG. 41 is a process of generating an evaluation image for determining whether or not a defect is clear. Whether or not the defect is clear is determined by the optimum wavelength determination process shown in FIG. 42, which will be described later.

なお、この処理は、PC700で実行されても、ハイパースペクトルカメラ300−2で実行されてもよい。以下では、一例として、PC700で実行されるものとして説明する。 This process may be executed by the PC 700 or the hyperspectral camera 300-2. In the following, as an example, it will be described as being executed by the PC 700.

最初に、PC700のCPU710は、抽出波長を最小波長に設定する(ステップS4111)。前述したように、ハイパースペクトルカメラ300−2は、最大で450波長に分散させて撮像することができる。ステップS4111の処理は、450波長分のうちの最も小さい波長を設定する処理である。 First, the CPU 710 of the PC 700 sets the extraction wavelength to the minimum wavelength (step S4111). As described above, the hyperspectral camera 300-2 can perform imaging with a maximum dispersion of 450 wavelengths. The process of step S4111 is a process of setting the smallest wavelength of 450 wavelengths.

次に、PC700のCPU710は、撮影位置xを開始位置に設定する(ステップS4113)。例えば、図36の例の場合には、ステップS4113の処理は、最初の撮像位置xsを指定する処理である。 Next, the CPU 710 of the PC 700 sets the shooting position x as the start position (step S4113). For example, in the case of the example of FIG. 36, the process of step S4113 is a process of designating the first imaging position xs.

次に、PC700のCPU710は、撮像位置xで撮影した撮像データを読み出す(ステップS4115)。前述したように、検査対象物660を位置づけた撮像位置の数だけ、撮像データが得られる。したがって、撮像位置を指定することで、撮像位置で撮像された撮像データを記憶装置(RAM730など)から読み出すことができる。 Next, the CPU 710 of the PC 700 reads out the imaging data captured at the imaging position x (step S4115). As described above, as many imaging data as the number of imaging positions where the inspection object 660 is positioned can be obtained. Therefore, by designating the imaging position, the imaging data captured at the imaging position can be read from the storage device (RAM 730 or the like).

例えば、ステップS4113の処理によって撮像位置xとしてxsが指定されているときには、位置xsで撮影した撮像データを読み出す。後述するステップS4123の処理によって撮像位置xとしてx1が指定されているときには、位置x1で撮影した撮像データを読み出す。 For example, when xs is designated as the imaging position x by the process of step S4113, the imaging data captured at the position xs is read out. When x1 is designated as the imaging position x by the process of step S4123 described later, the imaging data captured at the position x1 is read out.

次に、PC700のCPU710は、読み出した撮像データのうちの抽出波長の部分のデータを抽出する(ステップS4117)。ステップS4111の処理で、抽出波長として最小波長が指定されているときには、最小波長の部分を抽出する。抽出する波長は、後述するステップS4129の処理が繰り返し実行されることによって、順次に指定されていく。例えば、ステップS4129の処理によって抽出波長として波長λ1が指定されているときには、読み出した撮像データのうちの波長λ1の部分を抽出する。 Next, the CPU 710 of the PC 700 extracts the data of the extraction wavelength portion of the read imaging data (step S4117). When the minimum wavelength is specified as the extraction wavelength in the process of step S4111, the portion of the minimum wavelength is extracted. The wavelengths to be extracted are sequentially designated by repeatedly executing the process of step S4129 described later. For example, when the wavelength λ1 is specified as the extraction wavelength by the process of step S4129, the portion of the wavelength λ1 in the read imaging data is extracted.

次に、PC700のCPU710は、抽出したデータを、撮像位置に応じてPC700のRAM730の記憶領域に配置する(ステップS4119)。このステップS4119の処理を繰り返し実行することによって、抽出したデータがRAM730の記憶領域に徐々に並べられて記憶される。 Next, the CPU 710 of the PC 700 arranges the extracted data in the storage area of the RAM 730 of the PC 700 according to the imaging position (step S4119). By repeatedly executing the process of step S4119, the extracted data is gradually arranged and stored in the storage area of the RAM 730.

次に、PC700のCPU710は、全ての撮像位置に対応する撮像データを読み出したか否かを判断する(ステップS4121)。例えば、図36の例の場合には、ステップS4121の処理は、最初の撮像位置xsから最後の撮像位置xeまでの全ての撮像位置に対応する画像データを読み出したか否かの判断である。 Next, the CPU 710 of the PC 700 determines whether or not the imaging data corresponding to all the imaging positions has been read (step S4121). For example, in the case of the example of FIG. 36, the process of step S4211 is a determination of whether or not the image data corresponding to all the imaging positions from the first imaging position xs to the last imaging position xe has been read.

PC700のCPU710は、全ての撮像位置に対応する撮像データを読み出していないと判断したときには(NO)、次の撮像位置を決定し(ステップS4123)、ステップS4115に処理を戻す。 When the CPU 710 of the PC 700 determines that the imaging data corresponding to all the imaging positions has not been read (NO), the CPU 710 determines the next imaging position (step S4123), and returns the process to step S4115.

PC700のCPU710は、全ての撮像位置に対応する撮像データを読み出したと判断したときには(YES)、ステップS4119の処理が繰り返し実行されることで、PC700のRAM730の記憶領域に生成された画像を評価用画像としてRAM730の他の記憶領域に記憶する(ステップS4125)。 When the CPU 710 of the PC 700 determines that the imaging data corresponding to all the imaging positions has been read (YES), the process of step S4119 is repeatedly executed to evaluate the image generated in the storage area of the RAM 730 of the PC 700. It is stored as an image in another storage area of the RAM 730 (step S4125).

次に、PC700のCPU710は、全ての波長を抽出したか否かを判断する(ステップS4127)。すなわち、ステップS4127の処理は、450波長の全ての波長を抽出したか否かを判断する処理である。PC700のCPU710は、全ての波長をまだ抽出していないときには(NO)、次に大きい波長を抽出波長として決定し(ステップS4129)、ステップS4113に処理を戻す。 Next, the CPU 710 of the PC 700 determines whether or not all the wavelengths have been extracted (step S4127). That is, the process of step S4127 is a process of determining whether or not all the 450 wavelengths have been extracted. When all the wavelengths have not been extracted yet (NO), the CPU 710 of the PC 700 determines the next largest wavelength as the extraction wavelength (step S4129), and returns the process to step S4113.

前述した処理により、450波長の各々の波長に対応する評価用画像が生成される。例えば、図36の例の場合には、図37(a)〜(d)に示すように、λ0、λ1、λ2、λ3の各々の評価用画像などが生成される。評価用画像には、波長に応じて、検査対象物660の像が形成される。 By the process described above, an evaluation image corresponding to each of the 450 wavelengths is generated. For example, in the case of the example of FIG. 36, as shown in FIGS. 37 (a) to 37 (d), evaluation images of λ0, λ1, λ2, and λ3 are generated. An image of the inspection object 660 is formed on the evaluation image according to the wavelength.

PC700のCPU710は、全ての波長を抽出したときには(YES)、本サブルーチンを終了する。 The CPU 710 of the PC 700 ends this subroutine when all wavelengths have been extracted (YES).

<最適波長決定処理>
図42は、欠陥を検出するための最適な波長を決定して表示する処理を示すフローチャートである。
<Optimal wavelength determination processing>
FIG. 42 is a flowchart showing a process of determining and displaying an optimum wavelength for detecting a defect.

最初に、PC700のCPU710は、読出波長λを最小波長に設定する(ステップS4211)。 First, the CPU 710 of the PC 700 sets the read wavelength λ to the minimum wavelength (step S4211).

次に、PC700のCPU710は、読出波長λの評価用画像を読み出す(ステップS4213)。例えば、読出波長が、図36に示したλ1のときには、λ1の評価用画像(図37(b))を読み出す。 Next, the CPU 710 of the PC 700 reads out an evaluation image of the read wavelength λ (step S4213). For example, when the read wavelength is λ1 shown in FIG. 36, the evaluation image of λ1 (FIG. 37 (b)) is read.

次に、PC700のCPU710は、第1の実施の形態で説明した図24の画像評価処理を呼び出して、生成した全ての評価用画像に対して画像評価処理を実行する(S4215)。 Next, the CPU 710 of the PC 700 calls the image evaluation process of FIG. 24 described in the first embodiment, and executes the image evaluation process on all the generated evaluation images (S4215).

次に、PC700のCPU710は、ステップS4213の処理で読み出した読出波長λの評価用画像に含まれている欠陥が明瞭であるか否かを判断する(ステップS4217)。評価用画像に対して画像評価処理を実行することで得点化をする。得点が高い評価用画像を欠陥が明瞭な画像とする。 Next, the CPU 710 of the PC 700 determines whether or not the defect included in the evaluation image of the read wavelength λ read out in the process of step S4213 is clear (step S4217). Scores are given by executing image evaluation processing on the evaluation image. An evaluation image with a high score is defined as an image with clear defects.

PC700のCPU710は、読出波長λの評価用画像に含まれている欠陥が明瞭である場合には(YES)、その読出波長λをPC700のRAM730に記憶させる(ステップS4219)。 When the defect contained in the evaluation image of the read wavelength λ is clear (YES), the CPU 710 of the PC 700 stores the read wavelength λ in the RAM 730 of the PC 700 (step S4219).

PC700のCPU710は、読出波長λの評価用画像に含まれている欠陥が明瞭でない場合には(NO)、又はステップS4219の処理を実行したときには、PC700のCPU710は、全ての波長を読み出したか否かを判断する(ステップS4221)。すなわち、450波長の各々の評価用画像に含まれている欠陥が明瞭であるか否かを判断し終わったか否かを判断する。 Whether or not the CPU 710 of the PC 700 has read all wavelengths when the defect contained in the evaluation image of the read wavelength λ is not clear (NO) or when the process of step S4219 is executed. (Step S4221). That is, it is determined whether or not the defect contained in each evaluation image of 450 wavelengths is clear or not.

PC700のCPU710は、全ての波長を読み出していないと判断したときには(NO)、次の読出波長λを決定し(ステップS4223)、ステップS4213に処理を戻す。 When the CPU 710 of the PC 700 determines that all wavelengths have not been read (NO), it determines the next read wavelength λ (step S4223), and returns the process to step S4213.

PC700のCPU710は、全ての波長を読み出したときには(YES)、ステップS4219で記憶した波長をディスプレイなどに表示し(ステップS4225)、本サブルーチンを終了する。このように、450波長の各々の波長に対応する評価用画像について画像評価処理を実行して、欠陥が明瞭な波長を決定し表示する。 When the CPU 710 of the PC 700 reads out all the wavelengths (YES), the CPU 710 displays the wavelengths stored in step S4219 on a display or the like (step S4225), and ends this subroutine. In this way, the image evaluation process is executed for the evaluation image corresponding to each of the 450 wavelengths, and the wavelength with clear defects is determined and displayed.

なお、第2の実施の形態では、検査対象物660を波長毎に撮影できればよく、ハイパースペクトルカメラでなく、マルチスペクトルカメラを用いてもよい。欠陥の種類に応じて適宜に選択して、カメラと照明とを選択すればよい。 In the second embodiment, it is sufficient that the inspection object 660 can be photographed for each wavelength, and a multispectral camera may be used instead of the hyperspectral camera. The camera and the lighting may be selected by appropriately selecting according to the type of defect.

設計情報提案装置は、
光を発して検査対象物を照明する照明装置であって、検査対象物に対する照明位置を含む照明条件を変更可能で、かつ、複数の波長を含む光を発する照明装置と、
検査対象物を撮像して複数の波長毎に撮像信号を出力するカメラであって、検査対象物に対する撮像位置を含む撮像条件を変更可能なカメラと、
検査対象物の表面の状態を前記撮像信号から判断した判断結果と、撮像条件と、照明条件とを関連付けて記憶するメモリと、
関連付けられた判断結果と、撮像条件と、照明条件とを表示するモニタと、を備える。
The design information proposal device is
A lighting device that emits light to illuminate an inspection object, a lighting device that can change the lighting conditions including the illumination position with respect to the inspection object, and emits light containing a plurality of wavelengths.
A camera that images an inspection object and outputs imaging signals for each of a plurality of wavelengths, and a camera that can change the imaging conditions including the imaging position with respect to the inspection object.
A judgment result of determining the surface state of the inspection object from the imaging signal, a memory for storing the imaging condition and the lighting condition in association with each other,
It includes a monitor that displays the associated determination result, imaging conditions, and lighting conditions.

さらに、設計情報提案装置は、
検査対象物の欠陥を表示可能な波長をモニタに表示する。
Furthermore, the design information proposal device is
The wavelength at which defects in the inspection object can be displayed is displayed on the monitor.

100 ロボット
200 照明装置
200−2 照明装置
300 カメラ
300−2 ハイパースペクトルカメラ
400 テーブル
510 第1拡散板
520 第2拡散板
600 検査台
600−2 検査台
900 第1収納部
910 第2収納部
920 第3収納部
930 第4収納部
100 Robot 200 Lighting device 200-2 Lighting device 300 Camera 300-2 Hyperspectral camera 400 Table 510 1st diffuser 520 2nd diffuser 600 Inspection table 600-2 Inspection table 900 1st storage section 910 2nd storage section 920th 3 storage unit 930 4th storage unit

Claims (4)

検査対象物を撮像して撮像信号を出力するカメラであって、検査対象物に対する撮像位置を含む撮像条件を変更可能なカメラと、
光を発して検査対象物を照明する照明装置であって、検査対象物に対する照明位置を含む照明条件を変更可能な照明装置と、
検査対象物の表面の状態を前記撮像信号から判断した判断結果と、撮像条件と、照明条件とを関連付けて記憶するメモリと、
関連付けられた判断結果と、撮像条件と、照明条件とを表示するモニタと、を備える設計情報提案装置。
A camera that captures an image of an inspection object and outputs an imaging signal, and a camera that can change the imaging conditions including the imaging position with respect to the inspection object.
A lighting device that emits light to illuminate an inspection object and can change the lighting conditions including the lighting position with respect to the inspection object.
A judgment result of determining the surface state of the inspection object from the imaging signal, a memory for storing the imaging condition and the lighting condition in association with each other,
A design information proposing device including a monitor that displays an associated determination result, an imaging condition, and a lighting condition.
コントローラを更に備え、
前記コントローラは、
検査対象物の表面の凹凸の形状を判定することで、検査対象物の表面の状態を判断する、請求項1に記載の設計情報提案装置。
With more controllers
The controller
The design information proposing device according to claim 1, wherein the state of the surface of the inspection target is determined by determining the shape of the unevenness on the surface of the inspection target.
照明装置を把持して所定の照明位置に移動させるロボットを更に備え、
コントローラは、前記ロボットを制御する、請求項2に記載の設計情報提案装置。
Further equipped with a robot that grips the lighting device and moves it to a predetermined lighting position.
The design information proposing device according to claim 2, wherein the controller controls the robot.
光を発して検査対象物を照明する照明装置であって、検査対象物に対する照明位置を含む照明条件を変更可能で、かつ、複数の波長を含む光を発する照明装置と、
検査対象物を撮像して複数の波長毎に撮像信号を出力するカメラであって、検査対象物に対する撮像位置を含む撮像条件を変更可能なカメラと、
検査対象物の表面の状態を前記撮像信号から判断した判断結果と、撮像条件と、照明条件とを関連付けて記憶するメモリと、
関連付けられた判断結果と、撮像条件と、照明条件とを表示するモニタと、を備える設計情報提案装置。
A lighting device that emits light to illuminate an inspection object, a lighting device that can change the lighting conditions including the illumination position with respect to the inspection object, and emits light containing a plurality of wavelengths.
A camera that images an inspection object and outputs imaging signals for each of a plurality of wavelengths, and a camera that can change the imaging conditions including the imaging position with respect to the inspection object.
A judgment result of determining the surface state of the inspection object from the imaging signal, a memory for storing the imaging condition and the lighting condition in association with each other,
A design information proposing device including a monitor that displays an associated determination result, an imaging condition, and a lighting condition.
JP2020120195A 2019-07-18 2020-07-13 Design information proposal device of product inspection apparatus Pending JP2021018247A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019132401 2019-07-18
JP2019132401 2019-07-18

Publications (1)

Publication Number Publication Date
JP2021018247A true JP2021018247A (en) 2021-02-15

Family

ID=74566134

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020120195A Pending JP2021018247A (en) 2019-07-18 2020-07-13 Design information proposal device of product inspection apparatus

Country Status (1)

Country Link
JP (1) JP2021018247A (en)

Similar Documents

Publication Publication Date Title
US6907138B1 (en) Method and device for analyzing surface structure
EP2685242B1 (en) Vision testing device with enhanced image clarity
JP2015510121A (en) Optical fiber visual inspection method
JP2008235892A (en) Apparatus and method for evaluation of defect in edge region of wafer
TW201346250A (en) Optical reexamining system and examining method thereof
KR20120025406A (en) Inspection device
KR20110069058A (en) Apparatus and method for optically converting a three-dimensional object into a two-dimensional planar image
KR20140067294A (en) Irrotational inspection apparatus for getting everyside image
JP6310372B2 (en) Inspection device
JP7138194B2 (en) Image inspection device
JP5969867B2 (en) Optical microscope
CN110021042B (en) Image inspection device and illumination device
JP7274208B2 (en) Optical system design information management system
JP2006118896A (en) Visual inspection method for flexible printed wiring board
KR20160121716A (en) Surface inspection apparatus based on hybrid illumination
JP2021018247A (en) Design information proposal device of product inspection apparatus
JP2022049881A (en) Optical device
KR101124567B1 (en) Wafer inspecting apparatus having hybrid illumination
JP7086813B2 (en) Lighting equipment
TWI229186B (en) Dual-view-angle 3D figure image line-scan inspection device
WO2020184530A1 (en) Inspection device
JP2016065782A (en) Inspection device
KR20020084974A (en) 3 dimensional soldering inspection apparatus and its control method
WO2020152866A1 (en) Image inspection device
JP2008215875A (en) Inspection method of molded article and inspection device using method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230627

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240404