BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of an inspection device embodying this invention.
FIG. 2 is a drawing for showing the specific structure of the robot and its positional relationship with the optical system.
FIG. 3 is a drawing for showing the positional relationship among the end arm of the robot, a target object and the camera.
FIG. 4 is a schematic drawing of the optical system FIG. 5 is a drawing for explaining the principle of inspecting a surface defect.
FIGS. 6A, 6B and 6C are drawings for explaining the manners in which regularly reflected light is received or not received by the lens of the camera.
FIG. 7 is a drawing for explaining the relationship between curvature and “regular reflection image area.”
FIG. 8 is a drawing for showing examples of target area set for inspection on a target object.
FIGS. 9A, 9B and 9C are graphs for explaining a method of detecting defects.
FIG. 10 is a flowchart of the processes for registering the position and orientation of a target object and data for setting target areas.
FIGS. 11A and 11B show the changes in the orientation of the object in Steps ST4-ST6 of FIG. 10.
FIG. 12 is a flowchart of the inspection process.
FIG. 13A is a graph showing the intensity distribution of the regularly reflected light on the image, and FIG. 13B shows the light irradiating the target object and its relationship with the regularly reflected light the optical system.
FIG. 14 is a drawing for showing the relationship between the lens and regularly reflected light.
FIGS. 15 and 16 are drawings for explaining the principle of obtaining the radius of regularly reflected light.
FIG. 17 is a flowchart of process steps for automatically setting image-taking conditions and data for target inspection area by using CAD data.
FIG. 18 is a drawing for showing the operation of the robot when a side surface of a target object is inspected.
FIG. 19 is a drawing for showing the image-taking direction for the inspection of a side surface of the target object.
FIGS. 20A, 20B and 20C are drawings for showing the image conversion processes for each of the directions shown in FIG. 19.
FIG. 21 is an external view of another inspection device according to a different embodiment.