Surface inspection device and surface inspection system

The surface inspection device addresses the issue of light refraction on curved translucent members by using offset line illumination and camera configurations to detect defects by integrating image data from multiple positions, ensuring accurate defect detection.

JP7553374B2Active Publication Date: 2024-09-18KOITO MFG CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2021016142
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-06-23
Filing Date
2021-02-03
Publication Date
2024-09-18
Estimated Expiration
2041-02-03

AI Technical Summary

Technical Problem

Existing inspection devices using line sensors struggle to detect surface defects on translucent resin members with curved shapes due to light refraction, leading to undetectable light streaks and defects in areas with large curvature.

Method used

A surface inspection device and system that uses a line sensor and a camera with a line illumination arranged offset from the optical axis, capturing image data from two different positions to remove light streaks by integrating image data and detecting defects based on positional changes of light streaks.

Benefits of technology

Enables effective detection of surface defects on curved translucent members by eliminating the influence of light streaks, allowing for accurate inspection of both small and large curvature areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007553374000014
    Figure 0007553374000014
  • Figure 0007553374000008
    Figure 0007553374000008
  • Figure 0007553374000001
    Figure 0007553374000001
Patent Text Reader

Abstract

To allow detection of surface defects of a curved translucent member regardless of the influence of light refraction caused by the curvature of the surface.SOLUTION: A surface inspection device (100) comprises: a camera (20) which has a line sensor (22) and images a line-shape region extending in a first direction; line lighting (10) which is arranged facing the camera (20) and which extends parallel to the first direction; a jig (40) which holds an inspection object (90) between the camera (20) and the line lighting (10); and an inspection unit (50) which, on the basis of image data, detects surface defects on the inspection object. The line lighting (10) and the camera (20) are configured to allow transition between two different arrangements in a cross section in a second direction perpendicular to the first direction, and acquire image data of the inspection object in each of the arrangements. The inspection unit (50) removes areas corresponding to light streaks from the image data in the first and second arrangements, and detects defects on the surface of the inspection object on the basis of an integrated image.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an inspection device and an inspection system for inspecting defects such as scratches and stains on the surface of a light-transmitting member such as an automobile headlamp cover. [Background technology]

[0002] Conventionally, as an inspection device for surface defects of an object to be inspected, such as an injection molded product or a roll molded product, there is known one that uses a camera such as a CCD camera using a line sensor configured by arranging photoelectric conversion elements in a one-dimensional manner (see, for example, Patent Document 1).

[0003] Also, a known inspection device for surface defects of translucent resin components such as automobile headlamp covers uses a camera with an area sensor consisting of a two-dimensional array of photoelectric conversion elements, and illuminates the opposite side of the inspected object with a lighting device, making it possible to detect defects (see Patent Document 2). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Patent No. 4250076 specification [Patent Document 2] JP 2020-91143 A Summary of the Invention [Problem to be solved by the invention]

[0005] The inventors have studied an inspection device that uses a line sensor to project illumination light from a line light that emits a line shape from the opposite side of the object to be inspected. As a result, they found that in a light-transmitting resin member having a curved shape such as an automobile headlight cover, the light is refracted in the part with a large curvature, causing light streaks, and defects in the part that overlaps with the light streaks cannot be detected.

[0006] The present invention has been made in consideration of the above circumstances, and aims to provide a surface inspection device and inspection system that are capable of detecting surface defects of a curved light-transmitting member, regardless of the effects of light refraction caused by the curvature of the surface. [Means for solving the problem]

[0007] In order to achieve the above object, a surface inspection device for a translucent resin member according to one embodiment of the present invention includes a camera having a line sensor, which captures an image of a linear area extending in a first direction to obtain image data, a line illuminator disposed opposite the camera and extending parallel to the first direction, a jig that holds an object to be inspected between the camera and the line illuminator, and an inspection unit that detects defects on the surface of the object to be inspected based on the image data, and the line illuminator is disposed in a first arrangement in which the line illuminator is offset from the optical axis of the camera in a cross section in a second direction perpendicular to the first direction, or in a second arrangement in which the line illuminator is offset from the optical axis of the camera in a cross section in a second direction perpendicular to the first direction. The camera and the line illumination are moved relative to the object under inspection in the second direction while maintaining a second arrangement in which the in-illumination is offset so that it is on the opposite side of the optical axis of the camera, thereby scanning the object under inspection with the camera to obtain the image data of the object under inspection in the first and second arrangements, respectively, with the line illumination turned on, and the inspection unit removes portions corresponding to light streaks from the image data in the first and second arrangements, and detects defects on the surface of the object under inspection based on the integrated image.

[0008] In the above configuration, if the positional relationship between the line illumination and the camera is constant, the position of the light streaks occurring on the curved object to be inspected is constant, but if the positional relationship between the line illumination and the camera changes, the position of the light streaks occurring on the curved object to be inspected changes. By utilizing this characteristic, the parts corresponding to the light streaks are deleted from the image data of the object to be inspected illuminated from two different positions based on the positional information of the light streaks in each position for the object to be inspected, and the image data obtained by deleting them are integrated to generate an image from which the influence of the light streaks has been removed. By using this image to detect defects, it is possible to detect defects without being affected by the light streaks occurring on the curved object to be inspected.

[0009] In the above configuration, when the line illumination is positioned opposite the camera in the cross section in the second direction, this means that the illumination surface of the line illumination is directed toward the lens (optical system) of the camera, and includes cases where the optical axis of the line illumination is parallel to the optical axis of the camera in the cross section in the second direction, and cases where the optical axis of the line illumination is inclined with respect to the optical axis of the camera.

[0010] In the above aspect, it is also preferable that, in the second arrangement, the line illumination is offset so as to be line-symmetrical to the first arrangement with respect to the optical axis of the camera.

[0011] In the above aspect, it is also preferable that the line illumination is arranged so that its optical axis is parallel to the optical axis of the camera, and that the line illumination is offset from the optical axis of the camera to a range in which illumination light passing through the object to be inspected is incident on the camera.

[0012] In the above aspect, it is also preferable that the camera is capable of transitioning between the first arrangement and the second arrangement by translating in a second direction relative to the line illumination.

[0013] In the above aspect, it is also preferable that the line illumination is disposed so that its optical axis is inclined with respect to the optical axis of the camera.

[0014] In the above aspect, it is also preferable that the camera and the line illumination are capable of transitioning between the first arrangement and the second arrangement by inverting their relative positions with respect to the object under inspection.

[0015] In the above aspect, it is also preferable that the line illumination includes a first line illumination device arranged in the first arrangement, and a second line illumination device arranged in the second arrangement.

[0016] Furthermore, in the above aspect, it is also preferable that the jig comprises a flat base having an opening that is approximately similar to the planar shape of the object to be inspected and has dimensions that are equal to or greater than the planar shape of the object to be inspected, and a support portion provided on at least a portion of the peripheral portion of the opening, standing from the peripheral portion of the opening toward the at least one camera, and supporting the peripheral portion of the object to be inspected at at least three points, and that in a cross section in the first direction, a first camera of the at least one camera is positioned inside the opening, and a portion of the support portion that falls within the field of view of the first camera is positioned outside a straight line passing through the center of the lens of the first camera and the outer edge of the inspection area of ​​the object to be inspected.

[0017] Furthermore, in the above aspect, it is also preferable that the jig comprises a flat base having an opening that is approximately similar to the planar shape of the object to be inspected and has dimensions that are equal to or greater than the planar shape of the object to be inspected, and a support portion provided on at least a portion of the peripheral portion of the opening, standing from the peripheral portion of the opening toward the at least one camera, and supporting the peripheral portion of the object to be inspected at at least three points, and when a first camera of the at least one camera is located outside the opening, in a cross section in the first direction, a portion of the support portion that is farther from the first camera and is included in the field of view of the first camera is located outside the opening.

[0018] In the above aspect, it is also preferable that at least a portion of the support portion is inclined toward the outside of the jig relative to the extension line as it approaches the base portion.

[0019] In the above aspect, it is also preferable that at least a portion of the support portion extends from the engagement portion with the workpiece in parallel with the base toward the outside of the jig, and then bends and extends to the peripheral portion of the opening.

[0020] In the above aspect, it is also preferable that the support portion is provided discontinuously on the peripheral edge portion of the opening.

[0021] In addition, a surface inspection system according to another aspect of the present invention includes a surface inspection device in which, in the above-mentioned aspect, the line illumination is arranged so that its optical axis is parallel to the optical axis of the camera, and the line illumination is offset from the optical axis of the camera to the extent that illumination light passing through the inspected object is incident on the camera, and a surface inspection device in which, in the above-mentioned aspect, the line illumination is arranged so that its optical axis is inclined with respect to the optical axis of the camera.

[0022] In this specification, "the camera is positioned to face the line light" means that the front, which is the emission surface of the line light, is positioned to face the front, which is the incidence surface of the camera, and also includes situations in which the position is slightly misaligned or the front of the line light is tilted relative to the front of the camera. Effect of the Invention

[0023] According to the above aspect, it is possible to provide a surface inspection device and an inspection system capable of detecting surface defects of a curved light-transmitting member without being affected by light streaks. [Brief description of the drawings]

[0024] [Figure 1] FIG. 1 is a diagram showing the overall configuration of a surface inspection device according to a first embodiment, showing a state in which a workpiece is placed. [Diagram 2] FIG. 2 is a perspective view showing the surface inspection device in a state where no workpiece is placed thereon. [Diagram 3] 5A and 5B are diagrams for explaining the positional relationship between the line illumination and the camera in a cross section in the surface inspection device, where (A) shows a first arrangement of the line illumination and the camera, and (B) shows a second arrangement. [Figure 4] 3A to 3C are diagrams illustrating the principle of defect detection in the surface inspection device. [Diagram 5] 3A to 3C are diagrams illustrating the principle of defect detection in the surface inspection device. [Figure 6] 3A to 3C are diagrams illustrating the principle of defect detection in the surface inspection device. [Figure 7] 4 is a flowchart showing the operation of performing a surface inspection by the surface inspection device. [Figure 8] FIG. 13 is a diagram showing the overall configuration of a surface inspection device according to a second embodiment, showing a state in which a workpiece is placed. [Figure 9] 4 is a diagram for explaining the positional relationship between a line light and a camera in the surface inspection device. FIG. [Figure 10] 3A to 3C are diagrams illustrating the principle of defect detection by the surface inspection device. [Figure 11] 3A to 3C are diagrams illustrating the principle of defect detection by the surface inspection device. [Figure 12] FIG. 13 is a perspective view of a surface inspection device according to a modified example of the above embodiment. [Figure 13] 10A to 10C are diagrams illustrating the operation of the surface inspection device according to the modified example. [Figure 14] FIG. 13 is a perspective view of a surface inspection device according to another modified example of the above embodiment. [Figure 15] FIG. 11 is a perspective view of a surface inspection system according to a third embodiment. [Figure 16] FIG. 2 is a plan view of the surface inspection system. [Figure 17] FIG. 1 is a diagram illustrating a surface inspection device according to a first comparative example. [Figure 18] FIG. 11 is a diagram illustrating a surface inspection device according to a comparative example 2. [Figure 19]FIG. 13 is a diagram for explaining a surface inspection device according to a fourth embodiment. [Figure 20] 11 is a diagram illustrating a surface inspection device according to a modified example of the above embodiment. FIG. [Figure 21] FIG. 13 is a diagram for explaining a surface inspection device according to a fifth embodiment. [Figure 22] FIG. 13 is a diagram for explaining a surface inspection device according to a sixth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0025] Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. The embodiments are illustrative and not limiting, and all features and combinations described in the embodiments are not necessarily essential to the invention. In the following description, the same or equivalent parts are given the same reference numerals, and corresponding parts are given the same names and redundant description is omitted as appropriate. In each drawing, the components are illustrated in a simplified manner to the extent that the subject of the invention is not changed. For convenience of description, the dimensional ratios between the parts are not necessarily accurate.

[0026] (First embodiment) (Configuration of surface inspection device 100) The configuration of a surface inspecting apparatus 100 according to the first embodiment will be described with reference to FIGS.

[0027] The surface inspection device 100 is an application of the present invention as a device for inspecting defects on the surface of a workpiece 90, which is a front cover of a vehicle headlamp as an object to be inspected. Examples of defects include scratches, air bubbles, or lint on the surface. The workpiece 90 has a lid-like shape that covers the opening of a box-shaped lamp body (not shown), and is a translucent resin member made of a translucent resin such as polycarbonate or polymethyl methacrylate.

[0028] For ease of explanation, the left-right direction as viewed from the front of the surface inspecting apparatus 100 is defined as the x-direction. The depth direction as viewed from the front of the surface inspecting apparatus 100, which is perpendicular to the x-direction, is defined as the y-direction. The up-down direction as viewed from the front of the surface inspecting apparatus 100, which is perpendicular to the xy plane, is defined as the z-direction.

[0029] The surface inspection device 100 generally includes a line light 10, a camera 20, a jig 40, and an inspection unit 50.

[0030] As shown enlarged in the lower center of Fig. 1, the line lighting device 10 is an illumination device including a light source 12, a body 14, and a cover 16. The light source 12 is, for example, an LED (Light Emitting Diode), and is a linear light source extending in the y direction. The body 14 is made of metal or resin, and has a rectangular parallelepiped shape that is elongated in the y direction and opens upward in the z direction.

[0031] The cover 16 is a flat translucent resin or glass member that closes the top opening of the body 14 to define a lamp chamber. As a result, the line light 10 illuminates the workpiece 90 from below with illumination light that is long in the y direction. The line light 10 is controlled to be turned on and off by a control and calculation unit 51, which will be described later.

[0032] The camera 20 is a digital camera that captures an image of a strip-shaped (linear) area extending in the y direction. The camera 20 includes at least a lens 21 and a line sensor 22 extending in the y direction. The line sensor 22 is configured with a solid-state image sensor such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor) in which photodiodes are linearly arranged. The camera 20 captures an image of an illumination area long in the y direction from above on a surface 91 of a workpiece 90 illuminated from below in the z direction by the line illumination 10. The camera 20 is also provided so that the curved surface of the workpiece 90 falls within the focal range of the camera.

[0033] The jig 40 holds the workpiece 90 between the camera 20 and the line illuminator 10 in the z direction so that the surface 91 to be inspected faces upward (toward the camera 20). As shown in FIG. 2, the jig 40 has a base 40a having a frame shape of a rectangular flat plate in a plan view and an opening 41 formed in the center of the base 40a. The opening 41 has a shape that is approximately similar to the shape of the workpiece 90 in a plan view. In addition, the jig 40 has protrusions 42 that are offset outward from the opening 41 and extend along the opening 41 at four locations on the front, rear, left and right sides of the periphery of the opening 41 as support parts for positioning and holding the workpiece 90. As a result, the lower end of the outer peripheral wall of the workpiece 90 can be placed on the periphery of the opening 41. In this example, the jig 40 has four protrusions 42, but at least three of them are required to position and hold the workpiece 90.

[0034] When the workpiece 90 is placed on the jig 40 so that its surface 91 matches the opening 41, the protrusions 42 come into contact with an outer peripheral wall 92 of the workpiece 90 to position and hold the workpiece 90 at the periphery of the opening 41. The protrusions 42 are not limited to this shape, and may be, for example, a rectangular protrusion (protrusion) surrounding the periphery of the opening 41, or a pair of U-shaped protrusions (protrusions) erected opposite each other on the periphery of the opening 41.

[0035] In the illustrated example, the shape of the workpiece 90 is rectangular in a plan view, and the opening 41 is rectangular (having a shape roughly similar to) the outer shape of the workpiece 90 in a plan view. However, the opening 41 does not necessarily have to have a shape that follows the outer shape of the workpiece W, and can have any shape as long as the entire inspection area of ​​the workpiece 90 faces the opening 41.

[0036] In this embodiment, the jig 40 is fixed to, for example, a stage (not shown). The line illumination 10 and the camera 20 are attached to a support member 30 having a U-shaped cross section in the y direction.

[0037] The support member 30 comprises a column portion 31 extending in the z direction, an upper beam portion 32 of the same width extending forward in the y direction at the upper end of the column portion 31, and a lower beam portion 33 of increased width extending forward in the y direction at the lower end of the column portion 31.

[0038] Camera 20 is attached to the bottom surface of upper beam portion 32 facing downward in the z direction via slide rail 25. Line illuminator 10 is attached to the center of lower beam portion 33 in the x direction so as to face upward in the z direction and to face opposite camera 20.

[0039] A camera movement mechanism (not shown) consisting of, for example, a ball screw and a servo motor is interposed between camera 20 and slide rail 25. This allows camera 20 to move in the x direction relative to slide rail 25, as indicated by arrow β in FIG.

[0040] Support member 30 is connected to a support member moving mechanism (not shown) consisting of, for example, a ball screw, a linear guide, and a servo motor, and is configured to be movable in the x direction relative to jig 40, as indicated by arrow α in Fig. 3. This allows line illumination 10 and camera 20 to move integrally in the x direction. As a result, line illumination 10 and camera 20 maintain a constant positional relationship, and camera 20 can scan workpiece 90 illuminated by line illumination 10 in the x direction.

[0041] The inspection unit 50 includes a control and calculation unit 51, a memory unit 52, a display unit 53, and an operation unit 54.

[0042] The control calculation unit 51 is, for example, a microcomputer in which a processor such as a CPU (Central Processing Unit) and a RAM (Ramdom Access Memory) are implemented in an integrated circuit. The control calculation unit 51 reads out programs and data stored in the RAM and the storage unit 52 and loads them into the RAM, and executes various processes for surface inspection based on commands of the programs read from the RAM. The control calculation unit 51 controls the turning on and off of the line illumination 10, controls the movement of the support member 30 and the camera 20, and detects defects in the workpiece 90 based on image data acquired by the camera 20.

[0043] The storage unit 52 includes one or more non-volatile storage devices such as a hard disk, a flash memory, etc. The storage unit 52 stores various programs and data for the control and calculation unit 51 to execute processing. The storage unit 52 also stores position information of the light streak.

[0044] The display unit 53 is, for example, a liquid crystal display or an EL (Electroluminescence) display, and displays image data, examination results, an operation screen, and the like.

[0045] The operation unit 54 is, for example, a keyboard, and receives operations from the user.

[0046] (Arrangement of line light 10 and camera 20) Next, the arrangement (positional relationship) of the line lighting 10 and the camera 20 will be described with reference to Fig. 3. The line lighting 10 and the camera 20 are configured such that the camera 20 can transition between a first arrangement shown in Fig. 3(A) and a second arrangement shown in Fig. 3(B) by translating the slide rail 25 in the x direction indicated by the arrow β.

[0047] 3(A), the camera 20 is located on the left side of the slide rail 25. The line illumination 10 is disposed so that the optical axis of the illumination light of the line illumination 10 is parallel to the optical axis of the camera 20 in the vertical cross section in the x direction and is offset by a predetermined distance d1.

[0048] 3(B), the camera 20 is located on the right side of the slide rail 25. The line illumination 10 is offset by a predetermined distance d2 with respect to the optical axis C of the camera 20 in the vertical cross section in the x direction of the surface inspection device so that the optical axis L of the illumination light of the line illumination 10 is parallel to the opposite side (right side) from the first arrangement.

[0049] That is, in the first arrangement and the second arrangement, the line illumination 10 is on the opposite side with respect to the optical axis C of the camera 20. In this embodiment, the distance d1 and the distance d2 are equal. Therefore, the relationship between the camera 20 and the line illumination 10 in the first arrangement and the second arrangement is linearly symmetric with respect to the optical axis C of the camera 20.

[0050] Distance d1 and distance d2 do not necessarily have to be equal, and can be set appropriately within the range in which the illumination light irradiated from line illumination 10 and transmitted through workpiece 90 enters camera 20. However, making distance d1 and distance d2 equal makes it easier to design the device. Also, if the sum of distance d1 and distance d2 is large, the displacement of the position of the light streak becomes large, but the device also becomes larger. Making distance d1 and distance d2 equal allows the device to be made as compact as possible.

[0051] (Surface defect detection principle) Next, a description will be given of the principle of detection of surface defects by the surface inspection device 100. Image data is acquired by the camera by scanning the surface of the workpiece 90 in the x direction while maintaining the positional relationship between the camera 20 and the line illumination 10.

[0052] 4 is a diagram for explaining the principle of defect detection by the surface inspection device 100 when the workpiece 90 is scanned in the x direction with the camera 20 and the line illuminator 10 fixed in the first arrangement. The first row shows the operation at position P1 where the curvature of the surface 91 of the workpiece 90 is small, and the second row shows the operation at position P2 where the curvature of the surface 91 of the workpiece 90 is large. The third and fourth rows show image data and brightness profiles obtained by scanning the entire workpiece 90 in the x direction, respectively, with the vicinity of positions P1 and P2 shown surrounded by dashed rectangles. The left column shows the case where the workpiece 90 is normal with no defects, and the right column shows the case where the same workpiece 90 has defects 95 and 96.

[0053] When inspecting a normal workpiece 90, in a portion of the workpiece 90 with small curvature such as position P1, the illumination light irradiated from the line illumination 10 travels in the z direction, enters the workpiece 90, and travels with little or no refraction before entering the camera 20 (first row on the left). Because the optical axis of the line illumination 10 and the optical axis of the camera 20 are offset, the camera 20 images a portion illuminated by ambient light slightly off the center of the optical axis of the line illumination 10. Therefore, in the vicinity of position P1, a bright image with relatively high overall brightness is acquired.

[0054] In a curved portion where the curvature of the workpiece 90 is large, such as position P2, the illumination light irradiated from the line illumination 10 may travel in the z direction, enter the back surface of the workpiece 90, and be significantly refracted and focused on the front surface 91 (second row on the left). In this case, an extremely bright portion, a so-called light streak 61, appears in the image data acquired by the camera 20.

[0055] On the other hand, when inspecting a defective workpiece 90 having a defect on its surface, at position P1, the illumination light emitted from the line illumination 10 travels in the z direction and enters the back surface of the workpiece W, but the light is distorted by the defect 95 (first row on the right). For this reason, in the image data acquired by the camera 20, the location 62 corresponding to the defect appears as a dark area with low brightness compared to the relatively bright overall image. In the brightness profile, a threshold value Th1 is set at which the brightness is reduced by a predetermined value from the overall average value, and the area with a brightness lower than the threshold value Th1 can be detected as a defect.

[0056] In curved portions where the curvature of the workpiece 90 is large, such as position P2, the illumination light from the line illumination 10 travels in the z direction, enters from the back surface of the workpiece 90, and is largely refracted at the front surface 91, resulting in a portion where the light is focused, and a light streak 61 is generated (second row from the left). In this case, if there is a defect at the same position, even if the light is somewhat distorted at the defective portion, the luminance of the focused portion is high, and the effect is offset. For this reason, the defective portion may not be detected. In other words, if image data is acquired only with the first arrangement, defects may not be detected at positions where the curvature of the workpiece 90 is large due to the effect of light streaks.

[0057] 5 is a diagram for explaining the principle of defect detection by the surface inspection device 100 when the workpiece 90 is scanned in the x direction with the camera 20 and the line illumination 10 fixed in the second arrangement. The first to fourth diagrams correspond to the first to fourth diagrams in FIG. 4 relating to the first arrangement.

[0058] When inspecting a normal workpiece 90, in a portion of the workpiece 90 with small curvature such as at position P1, as in the first arrangement, the illumination light irradiated from the line illumination 10 travels in the z direction, enters the workpiece 90, and travels with little or no refraction before entering the camera 20 (first row on the left). Because the optical axis of the line illumination 10 and the optical axis of the camera 20 are offset, the camera 20 captures an image of a portion illuminated by ambient light slightly off the center of the optical axis of the line illumination 10. Therefore, near position P1, as in the first arrangement, a bright image with relatively high overall brightness is acquired.

[0059] In a curved portion where the curvature of the workpiece 90 is large, such as position P2, the illumination light irradiated from the line illumination 10 travels in the z direction, enters the back surface of the workpiece 90, and is refracted at the front surface 91 (second row from the left). As a result, similar to the first arrangement, light streaks 64 appear in the image data acquired by the camera 20. However, the position of the line illumination 10 when the camera 20 captures the same position is different between the first arrangement and the second arrangement, and therefore the direction of refraction of the illumination light is different. As a result, the position of the light streaks 64 when imaged with the second arrangement is different from the light streaks 61 when imaged with the first arrangement.

[0060] On the other hand, when inspecting a defective workpiece 90 having a defect on its surface, at position P1, as in the first arrangement, the illumination light emitted from the line illumination 10 travels in the z direction and enters the back surface of the workpiece W, but the light is distorted by the defect 95 (first row on the right). For this reason, in the image data acquired by the camera 20, the location 62 corresponding to the defect 95 appears as a dark area with low brightness compared to the relatively bright overall image. Therefore, as in the first arrangement, with the second arrangement, it is possible to detect the defect 95 in an area with small curvature.

[0061] In a curved portion where the curvature of the workpiece 90 is large, such as position P2, the illumination light from the line illumination 10 travels in the z direction, enters the back surface of the workpiece 90, and is refracted at the front surface 91, resulting in a portion where the light is condensed, and a light streak 64 is generated (second row on the right). However, since the position of the light streak 64 is different from the position of the light streak 61, it does not overlap with the defect 96, and at the position of the defect 96, the light is distorted and does not enter the camera. For this reason, in the image data acquired by the camera 20, a portion 65 corresponding to the defect 96 appears as a dark portion with low brightness compared to the relatively bright overall image. In this way, the defect 96 in a portion with large curvature that could not be detected in the first arrangement can be detected in the second arrangement.

[0062] 4 and 5, for workpieces 90 of the same shape, if the positional relationship (arrangement) between the line illumination 10 and the camera 20 is the same, the position at which the light streaks occur is the same. Therefore, during inspection, the workpiece 90 is scanned in advance in the first and second arrangements to capture images, and the position information of the light streaks 61, 64 in each arrangement shown in the upper part of FIG. 6(1) is stored in the storage unit 52. The position information of the light streaks is obtained by determining the portion where the luminance exceeds a predetermined threshold value Th2 in the luminance profile of each image data shown in the lower part of FIG. 6(1) as a light streak, and storing the position information of the light streaks in the storage unit 52.

[0063] Then, as described above, the workpiece 90 is imaged in the first arrangement and the second arrangement, and the image data shown in FIG. 6(2) is obtained. Then, as shown in FIG. 6(3), the portion corresponding to the light streak in the first arrangement and the portion corresponding to the light streak in the second arrangement are deleted from the image data obtained in the first arrangement. Then, the control calculation unit 51 integrates the image data in FIG. 6(3) as shown in FIG. 6(4). Based on this integrated image data, a defect is judged using a threshold value Th1 to detect the defect. As a result, the influence of the light streak can be removed and the surface defect of the light-transmitting member can be detected.

[0064] (Surface inspection method) FIG. 7 is a flowchart showing the operation of the surface inspection apparatus 100 when performing a surface inspection.

[0065] The workpiece 90 is placed on the jig 40. When the inspection starts, in step S01, the control and calculation unit 51 controls the camera moving mechanism to set the camera 20 to a first arrangement. At the same time, the control unit 51 controls the support member moving mechanism to set the support member 30 to the first end (left end). This arrangement may be the initial setting.

[0066] Next, in step S02, the control calculation unit 51 turns on the line illumination 10, and while it is turned on in the first arrangement, controls the support member moving mechanism to move the support member 30 in the x direction from the first end toward the second end (right end), and scans the workpiece 90 with the camera 20 to capture an image in the first arrangement. When the scanning up to the second end is completed, the acquired image data is stored in the storage unit 52.

[0067] In step S03, the control and calculation unit 51 controls the camera moving mechanism to transition the camera 20 to the second arrangement.

[0068] Next, in step S04, the control and calculation unit 51 controls the support member moving mechanism in the on state in the second arrangement to move the support member 30 from the second end toward the first end, and scans the workpiece 90 with the camera 20 to capture an image in the second arrangement. When the scanning up to the second end is completed, the acquired image data is stored in the storage unit 52. In addition, the control and calculation unit 51 turns off the line illumination 10.

[0069] Next, in step S05, the control calculation unit 51 deletes the portions of the image data captured in the first arrangement and the image data captured in the second arrangement that correspond to the light streaks in each arrangement based on the position information of the light streaks previously stored in the memory unit 52.

[0070] Next, in step S06, the control and calculation unit 51 integrates the image data in the first arrangement and the second arrangement from which the respective light streaks have been deleted.

[0071] Next, in step S07, the control and calculation unit 51 detects, as a defect, a portion in the luminance profile of the integrated image data where the luminance is lower than a predetermined threshold value Th1, and ends the process.

[0072] In this way, in the surface inspection device 100 according to the embodiment, when the positional relationship between the line illumination 10 and the camera 20 is constant, the position of the light streaks occurring on the curved object to be inspected is constant, but when the positional relationship between the line illumination 10 and the camera 20 changes, the position of the light streaks occurring on the curved object to be inspected changes. By utilizing this characteristic, the parts corresponding to the light streaks are deleted from the image data of the object to be inspected illuminated from two different positions based on the positional information of the light streaks stored in advance, and the image data obtained by deleting them are integrated to generate an image from which the influence of the light streaks has been removed. By detecting defects using this image, it is possible to detect defects occurring on the curved object to be inspected without being affected by the light streaks.

[0073] In addition, the surface inspection apparatus 100 according to this embodiment detects the bright image of the surface of the object to be inspected illuminated by the line light 10 by the camera 20 as a normal surface, and is therefore advantageous in detecting point-like defects such as air bubbles and scratches that distort the light incident from the back surface and thereby reduce the brightness in the image data.

[0074] Moreover, the surface inspection apparatus 100 according to this embodiment is configured to transition between the first arrangement and the second arrangement by moving the camera 20. With the above configuration, the two arrangements can be achieved by using only one camera 20 and one line illumination 10, making it possible to reduce the number of components.

[0075] (Second embodiment) (Configuration of surface inspection device 200) Next, the configuration of a surface inspection apparatus 200 according to a second embodiment will be described with reference to FIGS.

[0076] The surface inspecting apparatus 200 has a similar configuration to the surface inspecting apparatus 100, but differs in the following respects.

[0077] The camera 20 is not attached to the support member 30 via a slide rail 25, but is fixed directly to the upper beam portion 32.

[0078] Moreover, instead of the line illumination 10, a line illumination 210 is provided, which includes a first line illumination device 210a and a second line illumination device 210b. The first and second line illumination devices 210a and 210b each have the same configuration as the line illumination 10 (an enlarged view of the first line illumination device 210a is shown as a representative in the lower center of FIG. 8).

[0079] 9, the first and second line illumination devices 210a and 210b are disposed on opposite sides of the optical axis of the camera 20 at the center of the support member 30 in the x direction in the x direction cross section. The first and second line illumination devices 210a and 210b are offset by predetermined distances d3 and d4, respectively, from the optical axis of the camera 20 at the center of the support member 30 in the x direction in the x direction cross section, and the respective optical axes L a ,L b are arranged so as to be inclined at predetermined angles θ1, θ2 with respect to the optical axis C of the camera 20. Specifically, the angles θ1, θ2 of the optical axes of the line illumination devices 210a, 210b are set within a range in which the central luminous flux of the illumination light of the line illumination 210 that has passed through the workpiece 90 does not directly enter the camera 20.

[0080] Therefore, in the surface inspection apparatus 200, when the first line illumination device 210a is turned on and the second line illumination device 210b is turned off, the camera 20 and the line illumination device 210 are arranged in a first position. Also, when the second line illumination device 210b is turned on and the first line illumination device 210a is turned off, the camera 20 and the line illumination device 210 are arranged in a second position.

[0081] In this embodiment, the distance d3 is equal to the distance d4, and the angle θ1 is equal to the angle θ2. Therefore, the first arrangement and the second arrangement are symmetrical with respect to the optical axis of the camera 20.

[0082] The distance d3 and the distance d4, and the angle θ1 and the angle θ2 do not necessarily have to be equal to each other. However, making the distance d3 and the distance d4, and the angle θ1 and the angle θ2 equal to each other makes it easier to design the device. Also, if the sum of the distance d3 and the distance d4, and the sum of the angle θ1 and the angle θ2 are large, the displacement of the position of the light streak becomes large, and the device becomes larger. However, making the distance d3 and the distance d4, and the angle θ1 and the angle θ2 equal to each other makes it possible to make the device as compact as possible.

[0083] As described above, in the surface inspection apparatus 200, the line illumination 210 includes the first line illumination device 210a and the second line illumination device 210b. The surface inspection apparatus 200 is configured to be able to transition between the first arrangement and the second arrangement by controlling the turning on and off of the two line illumination devices 210a and 210b as described above.

[0084] (Surface defect detection principle) Next, we will explain the principle of detecting surface defects by the surface inspection device 200. As with the surface inspection device 100, image data is acquired by the camera 20 and the line light 210 by scanning the surface of the workpiece 90 in the x direction while maintaining their positional relationship.

[0085] FIG. 10 is a diagram for explaining the principle of defect detection by the surface inspection device 200 when the workpiece 90 is scanned in the x direction with the camera 20 and the line illuminator 210 fixed in the first arrangement with the first line illuminator 210a turned on and the second line illuminator 210b turned off. The first row shows the operation at the position P1 where the curvature of the surface 91 of the workpiece 90 is small, and the second row shows the operation at the position P2 where the curvature of the surface 91 of the workpiece 90 is large. The third and fourth rows show image data and brightness profiles obtained by scanning the entire workpiece 90 in the x direction, respectively, and the vicinity of the positions P1 and P2 are shown surrounded by dashed rectangles. The left column shows the case where the workpiece 90 is normal without any defects, and the right column shows the case where the same workpiece 90 has defects 97 and 98. Here, the defects 97 and 98 are, for example, lint attached to the surface of the workpiece 90.

[0086] When inspecting a normal workpiece 90, in a portion of the workpiece 90 with small curvature such as position P1, the illumination light irradiated from the first line illumination device 210a travels in the direction of an optical axis tilted from the z direction, enters the workpiece 90, and travels with little or no refraction, with most of the light not entering the camera 20 (first row on the left). Therefore, in the vicinity of position P1, a dark image with relatively low overall brightness is acquired as image data 60.

[0087] In a curved portion where the curvature of the workpiece 90 is large, such as at position P2, the illumination light irradiated from the first line illumination device 210a may travel in an optical axis direction inclined from the z direction, enter the back surface of the workpiece 90, and be significantly refracted and focused on the front surface 91 (second row from the left). In this case, an extremely bright portion (so-called light streak) 66 appears in the image data 60 acquired by the camera 20.

[0088] On the other hand, when inspecting a defective workpiece 90 having a defect on its surface, at position P1, the illumination light emitted from the first line illumination device 210a travels in the direction of an optical axis tilted from the z direction and enters the back surface of the workpiece 90, but the light is reflected on the surface of the defect 97 and part of it enters the camera 20 (first row on the right). Therefore, in the image data acquired by the camera 20, a portion 67 corresponding to the defect appears as a bright portion with high brightness compared to the relatively dark overall portion. In the brightness profile, a threshold value Th3 is set that is a predetermined value higher than the overall average value, and portions with brightness higher than the threshold value Th3 can be detected as defects.

[0089] At a curved portion where the curvature of the workpiece 90 is large, such as at position P2, as in the second left row, the illumination light from the first line illumination device 210a is largely refracted at the portion of the workpiece 90 with high curvature, resulting in a portion where the light is focused, and a light streak 66 (second right row). At this time, even if there is a defect at the same position and the light is somewhat distorted at the defect 98 portion, the luminance of the focused portion is high, so the effect is offset. For this reason, the defect 98 may not be detected. In other words, if image data is acquired only with the first arrangement, the defect may not be detected at a position where the curvature of the workpiece 90 is large due to the effect of the light streak.

[0090] 11 is a diagram for explaining the principle of defect detection by the surface inspection device 200 when the workpiece 90 is scanned in the x direction with the camera 20 and the line illuminator 210 fixed in the second arrangement in which the second line illuminator 210b is turned on and the first line illuminator 210a is turned off. The first to fourth diagrams correspond to the first to fourth diagrams in FIG. 10 relating to the first arrangement.

[0091] When inspecting a normal workpiece 90, in a portion of the workpiece 90 with small curvature such as position P1, the illumination light irradiated from the second line illumination device 210b travels in the direction of an optical axis tilted with respect to the z direction, enters the workpiece 90, and travels with little or no refraction, just like in the first arrangement. Because the optical axis of the second line illumination device 210b is tilted with respect to the optical axis of the camera 20, most of the illumination light does not enter the camera 20 (first row on the left). Therefore, in the vicinity of position P1, a dark image with relatively low overall brightness is obtained as image data.

[0092] In a curved portion where the curvature of the workpiece 90 is large, such as at position P2, the illumination light irradiated from the second line illumination device 210b travels in the direction of an optical axis inclined from the z direction, enters the back surface of the workpiece 90, and is largely refracted at the front surface 91 (second row from the left). As a result, as in the case of the first arrangement, light streaks 68 are generated in the image data acquired by the camera 20. However, the first arrangement and the second arrangement differ in the position of the line illumination 210 when the camera 20 captures the same position, and therefore the direction of refraction of the illumination light is different. As a result, the position of the light streaks 68 when imaged with the second arrangement is different from the light streaks 66 when imaged with the first arrangement.

[0093] On the other hand, when inspecting a defective workpiece 90 having a defect on its surface, at position P1, as in the first arrangement, the illumination light irradiated from the second line illumination device 210b travels in an optical axis direction tilted from the z direction and enters the back surface of the workpiece 90, but the light is reflected by the defect 97 (first row on the right). Therefore, in the image data acquired by the camera 20, a portion 67 corresponding to the defect 97 appears as a bright portion with high luminance in comparison with the relatively dark overall image. Therefore, as in the first arrangement, with the second arrangement, it is possible to detect a defect 97 in a portion with a small curvature.

[0094] At a curved portion where the curvature of the workpiece 90 is large, such as at position P2, the illumination light from the second line illumination device 210b is largely refracted, resulting in a portion where the light is condensed, and a light streak 68 is generated as in the second left row (second right row). However, the position of the light streak 68 is different from the position of the light streak 66, so it does not overlap with the defect 98, and at the position of the defect 98, the light is reflected and part of it enters the camera 20. For this reason, in the image data acquired by the camera 20, a portion 69 corresponding to the defect 98 appears as a bright portion with high luminance in comparison with the relatively dark overall image. In this way, a defect 98 in a portion with large curvature that could not be detected with the first arrangement can be detected with the second arrangement.

[0095] As in the case of the surface inspection device 100 according to the first embodiment, for workpieces 90 of the same shape, if the positional relationship (arrangement) between the line illumination 210 and the camera 20 is the same, the position at which the light streaks occur will be the same. Therefore, as in the surface inspection device 100, the surface inspection device 200 also acquires position information of the light streaks at each arrangement in advance and stores it in the storage unit 52, and generates integrated image data by deleting the parts corresponding to the light streaks at each arrangement from the image data acquired at each arrangement during inspection, and detects defects based on the integrated image data. As a result, as in the surface inspection device 100, it becomes possible to remove the influence of the light streaks and detect surface defects of the light-transmitting member.

[0096] In particular, the surface inspection apparatus 200 according to this embodiment has an inclined arrangement in which the optical axis of the line illumination is inclined with respect to the optical axis of the camera. With the above configuration, most of the illumination light does not enter the camera, and an image of a slightly dark surface of the inspected object is detected as a normal surface, which is advantageous for detecting linear defects such as lint adhering to a painted surface that cause an increase in brightness in image data by reflecting light incident from the back surface.

[0097] (Variation 1) Fig. 12 is a perspective view of a surface inspecting apparatus 200A according to one modified example of this embodiment. Figs. 13(A) to (D) are diagrams for explaining the operation of the surface inspecting apparatus 200A when performing an inspection, and show the surface inspecting apparatus 200A as viewed from above. The workpiece 90 is also omitted. The surface inspecting apparatus 200A has a similar configuration to the surface inspecting apparatus 200 in general, but differs in the following respects. In the figure, for ease of identifying directions, the protrusion 42 disposed at the front of the four protrusions 42 of the jig 40A is shown by a dashed line.

[0098] A jig 40A having a similar configuration to the jig 40 is connected to a jig rotation mechanism 43, and configured to be inverted (rotated 180°) in the x direction as indicated by an arrow γ by the jig rotation mechanism 43. The drive of the jig rotation mechanism 43 is controlled by a control calculation unit 51.

[0099] The line illuminator 210A does not include the second line illuminator 210b, but only includes the first line illuminator 210a.

[0100] Then, assuming that the arrangement shown in FIG. 12 is the first arrangement, first, as shown in FIG. 13(A), the camera 20 and the line illumination 210 are maintained in the first arrangement and scanned in the x direction from the first end (left end) to the second end (right end) to capture an image.

[0101] Next, the jig rotation mechanism 43 is controlled to invert (rotate 180°) the workpiece 90 in the x direction as shown by the arrow in Fig. 13(B). As a result, the positional relationship of the camera 20 and the line illuminator 210A with respect to the workpiece 90 is inverted and becomes the same as the second arrangement in the surface inspection apparatus 200. Therefore, in the surface inspection apparatus 200A, the jig 40A is inverted in the x direction, thereby transitioning the camera 20 and the line illuminator 210A from the first arrangement to the second arrangement.

[0102] Then, as shown in FIGS. 13(C) and (D), while maintaining the second arrangement, imaging is performed by scanning in the x direction from the second end (right end) to the first end (left end).

[0103] In this way, by inverting the transition between the first arrangement and the second arrangement by reversing the jig 40A in the x direction, it is possible to remove the influence of light streaks and detect surface defects of light-transmitting members, similar to the surface inspection apparatus 200. A similar modification can also be applied to the surface inspection apparatus 100 according to the first embodiment.

[0104] (Variation 2) 14 is a perspective view of a surface inspecting apparatus 200B according to one modified example of this embodiment. The surface inspecting apparatus 200B has a similar configuration to the surface inspecting apparatus 200 in general, but differs in the following respects.

[0105] Support member 30B does not include a support member moving mechanism, but jig 40B includes a jig moving mechanism 44, and the jig 40B is moved in the x direction indicated by arrow δ to scan workpiece 90 with camera 20. That is, support member 30B supporting camera 20 and line illuminator 210 may be fixed, and jig 40B may be configured to be movable in the x direction as indicated by arrow δ, so that camera 20 and line illuminator 210 move relative to workpiece 90 while maintaining their positional relationship. Jig moving mechanism 44 is a linear movement device constituted by, for example, a ball screw, a linear guide, and a servo motor.

[0106] In this way, if the camera 20 and the line illumination 210, and the jig 40B on which the workpiece 90 is placed are arranged to move in parallel relative to each other, it is possible to achieve the same effects as the surface inspection apparatus 200. Such a modification can also be applied to the surface inspection apparatus 100.

[0107] In the above description, for convenience, the number of cameras is one, but the present invention is not limited to this, and the number of cameras can be set arbitrarily according to the viewing angle in the y direction.

[0108] (Third embodiment) Fig. 15 is a perspective view of a surface inspection system 1 according to a third embodiment, and Fig. 16 is a plan view of the same. Fig. 15 is partially transparent. The surface inspection system 1 includes a circular stage 2, a surface inspection apparatus 100, and a surface inspection apparatus 200.

[0109] The circular stage 2 has four jig mounting positions provided at equal intervals in the circumferential direction, and jigs 40 are attached to the jig mounting positions.

[0110] A surface inspection device 100 and a surface inspection device 200 are arranged adjacent to each other in the circumferential direction on the outer periphery of the circular stage 2. Four jigs attached to the circular stage 2 correspond to a workpiece carry-in position 4, the surface inspection device 100, the surface inspection device 200, and a workpiece unloading position 6, respectively.

[0111] The circular stage 2 is equipped with a rotation mechanism 3 equipped with a motor in the center, and rotates intermittently at 1 / 4 revolution in the direction indicated by the arrows in Figure 16 from the work loading position 4 to the surface inspection device 100, the surface inspection device 200, and the work unloading position 6.

[0112] The inspection unit 50 of the surface inspection apparatus 100 and the inspection unit 50 of the surface inspection apparatus 200 are configured as a common computer. In addition, a control and calculation unit 51 controls the rotation of the rotation stage.

[0113] and, (1) Place the first workpiece 90 at the workpiece carry-in position 4. (2) Rotate circular stage 2 by 1 / 4 rotation. (3) While the first workpiece 90 is being inspected by the surface inspection device 100 , the second workpiece 90 is placed at the workpiece carry-in position 4 . (4) The circular stage 2 is rotated 1 / 4 turn. The first workpiece 90 is inspected by the surface inspection device 200 and at the same time, the first workpiece 90 is inspected by the surface inspection device 100, and the second workpiece 90 is placed at the work carry-in position 4. (5) Rotate circular stage 2 by 1 / 4 rotation. (6) At the work unloading position 6, the first work 90 is unloaded. At the same time that the second work 90 is inspected by the surface inspection device 200, the third work 90 is inspected by the surface inspection device 100, and the fourth work 90 is placed at the work loading position 4. (7) Rotate circular stage 2 by 1 / 4 rotation. By repeating this operation, the surface inspection by the surface inspection apparatus 100 and the surface inspection by the surface inspection apparatus 200 can be performed in parallel.

[0114] As described above, the surface inspection device 100 is advantageous for detecting point-like defects such as air bubbles and dots, and the surface inspection device 200 is advantageous for detecting line-like defects such as attached lint. Since this system is configured to include two inspection devices with different detection principles, it is possible to deal with different types of defects such as air bubbles, dots, and lint, and improve the inspection accuracy.

[0115] Since the surface inspection by the surface inspection apparatus 100 and the surface inspection by the surface inspection apparatus 200 can be performed continuously in parallel, the work time required for inspecting a plurality of workpieces 90 can be shortened.

[0116] In particular, the surface inspection apparatus 100 and the surface inspection apparatus 200 perform surface inspection through the same process of imaging in a first arrangement, transition from the first arrangement to a second arrangement, and imaging in the second arrangement. Therefore, the inspection time required for the surface inspection apparatus 100 and the surface inspection apparatus 200 is equal. Therefore, no waiting time for transportation due to the rotation of the circular stage 2 caused by the difference in the time required for each inspection occurs. As a result, the cycle time of the entire inspection can be shortened.

[0117] It should be noted that the arrangement of the surface inspecting apparatus 100 and the surface inspecting apparatus 200, and the circular stage 2 are merely examples. It is also possible to use a stage that moves in one direction, such as a belt conveyor, and to install the surface inspecting apparatus 100 and the surface inspecting apparatus 200 in series.

[0118] Comparative Example 1 In the above-mentioned first to third embodiments, the jig 40 used includes a rectangular frame-like base 40a, an opening 41 provided in the base 40a and shaped to conform to the external shape of the workpiece 90, and a protrusion 42 formed on the periphery of the opening 41. The workpiece 90 has been described in a schematic manner as having the external shape shown in FIG. 1 and the cross-sectional shape in the xx direction shown in FIG. 5, as an example.

[0119] However, the front cover of the vehicle headlamp, which is the workpiece, has various shapes depending on the vehicle model and type. Moreover, the surface inspection devices 100, 200, 200A, and 200B of the above-mentioned embodiments are not dedicated to a single workpiece 90, but can be commonly used for various workpieces by using a dedicated jig configured according to the workpiece. At this time, it is necessary to arrange the workpiece so that the surface of the workpiece matches the focal position of the camera 20. Moreover, it is preferable to arrange the workpiece in a posture that minimizes the change in the distance from the camera 20 to the surface over the entire workpiece. Therefore, depending on the shape of the workpiece, it may be preferable to support the workpiece 90 from the base of the jig above the camera direction.

[0120] Fig. 17 shows a surface inspection apparatus 900A according to Comparative Example 1, which is configured to support a workpiece 90A above a base 940a of a jig 940. Fig. 17(A) is a plan view of the surface inspection apparatus 900 according to Comparative Example 1. Fig. 17(B1) and Fig. 17(B2) respectively show end faces of the jig 940 in the surface inspection apparatus 900 along lines BI-BI and BII-BII in Fig. 17(A), and show the end faces when the camera 20 passes through lines BI-BI and BII-BII, respectively. Fig. 17(C) shows an image of image data obtained by scanning the camera 20 in the xx direction.

[0121] The surface inspection device 900 has the same configuration as the surface inspection device 100 according to the first embodiment, but differs in that a jig 940 is provided instead of the jig 40. The jig 940 is configured to correspond to the workpiece 90A having a substantially triangular shape in plan view. The jig 940 has a rectangular frame-like base 940a, and has an opening 941 in the center of the base 940a, the opening 941 having a shape that conforms to the outer shape of the workpiece 90A. A support portion 943 is provided in the shape of a vertical wall on the periphery of the opening 941, extending vertically (upward) from the periphery of the opening 941 toward the camera 20. An engagement groove 944 that engages with the outer edge of the workpiece 90A is provided on the upper end of the support portion 943, and the workpiece 90A is positioned and held.

[0122] 17(B1), when camera 20 is positioned between opposing support parts 943 in the cross section in the yy direction, that is, inside opening 941, the wall-like support part 943 enters the field of view of camera 20 through workpiece 90A even if it is inside outer edge D of the inspection area, and an area is generated in which support part 943 is reflected. As a result, as shown in FIG 17(C), an uninspectable area 971 in which surface inspection is impossible is generated in acquired image data 960.

[0123] Also, as shown in FIG. 17(B2), when the camera 20 is located outside the opposing support part 943 in the cross section in the yy direction, that is, outside the opening 941, the support part 943 closer to the camera does not have a part that enters the field of view of the camera through the work 90A, so no area is reflected in the support part 943. On the other hand, the support part 943 farther from the camera 20 enters the field of view of the camera 20 through the work 90A even if it is inside the outer edge D of the inspection area, and an area is generated in which the support part 94 is reflected, as shown in color. As a result, an uninspectable area 971 is generated in the acquired image data 960. Therefore, the image data 960 acquired by the camera 20 is as shown in FIG. 17(C).

[0124] Comparative Example 2 Fig. 18 shows a surface inspection device 900A according to Comparative Example 2, which is configured to support a workpiece 90A above a base 940a of a jig 940. Fig. 18(A) is a plan view of the surface inspection device 900A according to Comparative Example 2. Fig. 18(B1) and Fig. 18(B2) are end views of the jig 940 along lines BI-BI and BII-BII in Fig. 18(A), respectively, showing the end faces when the cameras pass through lines BI-BI and BII-BII, respectively. Fig. 18(C) shows an image of image data obtained by scanning the cameras 20a and 20b in the xx direction.

[0125] The surface inspecting device 900A has basically the same configuration as the surface inspecting device 900 according to Comparative Example 1. However, it differs in that, instead of one camera 20, two cameras 20a and 20b are provided in series in the yy direction. The cameras 20a and 20b have basically the same configuration as the camera 20. The cameras 20a and 20b are configured to be movable together in the xx direction along the slide rail 25A. In Fig. 18(A), Ca and Cb indicate optical axes passing through the centers of the lenses of the cameras 20a and 20b, respectively, area A1 indicates the range of the field of view of only the camera 20a, area A2 indicates the range of the field of view of only the camera 20b, and area A3 indicates the range of the field of view of both the cameras 20a and 20b.

[0126] As shown in FIG. 18(B1), cameras 20a, 20b are located outside a pair of opposing supports 943a, 943b at the end face in the yy direction, i.e., outside the opening 941, and the pair of supports 943a, 943b are located in an area A3 that is generally within the range of the field of view of both cameras 20a, 20b.

[0127] At this time, when focusing on the first camera 20a, the support part 943a closer to the first camera 20a has no area in the inspection area, i.e., inside the outer edge D, that is visible to the first camera 20a through the workpiece 90A. On the other hand, the support part 943b farther from the camera 20a has an area (colored area in the figure) that is visible to the first camera 20a through the workpiece 90A, inside the outer edge D of the inspection area. As a result, an uninspectable area 971 in which the support part 943b is reflected in the acquired image data is generated. The same can be said when focusing on the camera 20b.

[0128] On the other hand, as shown in FIG. 18(B2), assume that cameras 20a, 20b are located outside a pair of opposing supports 943a, 943b in the cross section in the yy direction, i.e., outside the opening 941, and the support 943a closer to the first camera 20a is in area A1 which is within the field of view of the first camera 20a but outside the field of view of the second camera 20b, and the support 943b further away is in area A2 which is outside the field of view of the first camera 20a but within the field of view of the second camera 20b.

[0129] At this time, when the first camera 20a is focused on, the support part 943a closer to the first camera 20a does not have a portion that is inside the outer edge D of the inspection area and enters the field of view of the first camera 20a through the workpiece 90A. On the other hand, the support part 943b farther from the first camera 20a does not enter the field of view of the first camera 20a. Therefore, the support parts 943a and 943b are not reflected in the first camera 20a through the workpiece 90A, and the image data acquired by the first camera 20a does not include an uninspectable area 971. The same can be said when the second camera 20b is focused on. Therefore, the image data obtained from the first camera 20a and the second camera 20b are as shown in FIG. 18(C). In this case, if there is an image reflected in either the first camera 20a or the second camera 20b, that part is regarded as an uninspectable area 971.

[0130] Although this is not the case in the illustrated example, even if there are two cameras, if the camera is located between opposing support parts 943 in the yy cross section, i.e., inside the opening 941, an uninspectable area 971 will be created for that camera as long as the support part 943 is within the field of view, as in the case of Figure 17 (B1).

[0131] (Fourth embodiment) Fig. 19(A) is a plan view of a surface inspecting apparatus 400 according to the fourth embodiment. Fig. 19(B1) and Fig. 19(B2) are cross-sectional views taken along lines BI-BI and BII-BII in Fig. 19(A), respectively, of the surface inspecting apparatus 400. Except for a jig 440, the surface inspecting apparatus 400 has the same configuration as the surface inspecting apparatus 100 according to the first embodiment.

[0132] The jig 440 is a jig configured for the same workpiece 90A as described in Comparative Examples 1 and 2. The jig 440 has a rectangular frame-shaped base 440a, and is provided with an opening 441 in the center having a shape substantially similar to the shape of the workpiece 90A in a plan view. Supports 443 and 446 are erected on the periphery of the opening 441, extending from the periphery toward the camera 20, i.e., upward. The supports 443 and 446 are formed with engagement grooves 444 for positioning and holding the outer edge of the workpiece 90A.

[0133] 19(B1), the camera 20 is located inside the opening 441 in the cross section in the yy direction. At this position, the support portion 446 is inclined outward toward the base portion 440a, and is therefore located outside the straight line E passing through the center of the lens 21 and the outer edge D of the inspected area in the workpiece 90A, through which the optical axis C of the camera 20 passes. In this way, in contrast to Comparative Example 1, it is possible to prevent the support portion 446 from being reflected in the field of view of the camera 20 via the workpiece 90A.

[0134] On the other hand, as shown in FIG. 19(B2), at a position where the camera 20 is located outside the opening 441 in a plan view in the cross section in the yy direction, the part of the supporting part 446, 443 facing the camera that is farther from the camera and is included in the field of view of the camera is inclined outward as it approaches the base part 440a, and is located outside the straight line E passing through the center of the lens 21 through which the optical axis C of the camera 20 passes and the outer edge D of the inspection area in the work 90A. By configuring in this way, in contrast to Comparative Example 1, it is possible to prevent the support part 446 from being reflected in the field of view of the camera 20 through the work 90A in the inspection area, and the occurrence of an uninspectable area 671. Note that, due to the above configuration, the opening 441 has a shape that is approximately similar to the shape of the work 90A in a plan view, and has dimensions that are equal to or greater than the original size. In this specification, the term "approximately similar" does not require complete similarity, and may be partially enlarged or reduced. In addition, the term "similar" also includes the meaning of being approximately similar.

[0135] However, as can be seen from FIG. 17(B2), the support part 443 closer to the camera is not reflected. Therefore, even if the support part 443 is vertically erected upward from the peripheral part of the opening 441, the support part 443 is not reflected. In this way, as long as there is no problem with reflection, the support part 446 arranged outside the straight line E passing through the center of the lens 21 through which the optical axis C of the camera 20 passes and the outer edge D of the inspection area in the work 90A does not need to be provided around the entire peripheral part of the opening 441, and may be provided at least except for the area where there is no risk of reflection. However, this does not prevent the peripheral part of the opening 441 from being entirely made up of the inclined support part 446.

[0136] (Variation 3) Fig. 20(A) is a plan view of a surface inspecting apparatus 400A according to one modified example of this embodiment. Fig. 20(B1) and Fig. 20(B2) are cross-sectional views of the surface inspecting apparatus 400A taken along lines BI-BI and BII--BII in Fig. 20(A), respectively. The surface inspecting apparatus 400A is similar to the relationship between comparative examples 1 and 2 in that, instead of the single camera 20 of the surface inspecting apparatus 400 according to the fourth embodiment, two cameras 20a and 20b are provided in series in the yy direction. Also, instead of the jig 440, a jig 440A is provided.

[0137] The jig 440A is a jig configured for the workpiece 90A, similar to the jig 440. The jig 440A has a rectangular frame-shaped base 440a, and is provided with an opening 441 in the center, which has a shape substantially similar to the shape of the workpiece 90A in a plan view. A support portion 446A is erected on the periphery of the opening 441, extending upward from the periphery. An engagement groove 444A is formed in the support portions 443A and 446A to position and hold the outer edge of the workpiece 90A.

[0138] As shown in FIG. 20(B1), the cameras 20a and 20b are located outside the opening 941, and the pair of support portions 943a and 943b are located in an area A3 that is generally within the range of the field of view of both the cameras 20a and 20b.

[0139] The support part 446Ab farther from the first camera 20a is inclined outward as it approaches the base part 440Aa, and is positioned outward from the straight line E passing through the center of the lens 21 through which the optical axis Cb of the first camera 20b passes and the outer edge D of the inspection area in the workpiece 90A.

[0140] The support portion 446Aa farther from the second camera 20b is inclined outward as it approaches the base portion 440Aa, and is positioned outward from the straight line E passing through the center of the lens 21 through which the optical axis Ca of the second camera 20b passes and the outer edge D of the inspection area in the workpiece 90A.

[0141] On the other hand, as shown in FIG. 20(B2), assume that cameras 20a, 20b are located outside a pair of opposing supports 443a, 443b in the cross section in the yy direction, i.e., outside the opening 941, and the support 443Aa closer to the first camera 20a is in an area A1 that is within the field of view of the first camera 20a but outside the field of view of the second camera 20b, and the support 443Ab farther away is in an area A2 that is outside the field of view of the first camera 20a and within the field of view of the second camera 20b.

[0142] In this case, as can be seen from FIG. 18, neither of the supports 443Aa, 443Ab will cause reflection, so the supports 443Aa, 443Ab are provided vertically upward from the outer edge of the opening 441.

[0143] (Fifth embodiment) Fig. 21(A) is a plan view of a surface inspecting apparatus 500 according to the fifth embodiment. Fig. 21(B1) and Fig. 21(B2) are cross-sectional views of the surface inspecting apparatus 500 taken along lines BI-BI and BII-BII in Fig. 21(A), respectively. The surface inspecting apparatus 500 has the same configuration as the surface inspecting apparatus 400 according to the fourth embodiment, except for the jig 540. The jig 540 is provided with a support portion 546 instead of the support portion 446.

[0144] The support portion 546 is erected vertically upward from the base portion 540a to the height of the engagement groove 544 that supports the workpiece 90A, bent at a right angle, and extended in parallel to the engagement groove 544. As a result, the support portion 543 is arranged outward of a straight line E that passes through the center C of the camera 20 and connects the center of the lens 21 and the outer edge D of the inspection area. This makes it possible to prevent the support portion 543 from being reflected in the field of view of the camera 20 via the workpiece 90A.

[0145] (Sixth embodiment) The supporting parts according to the fourth and fifth embodiments may be used in combination as shown in Fig. 22. Fig. 22(A) is a plan view of a surface inspecting apparatus 600 according to a sixth embodiment. Fig. 22(B1) and Fig. 22(B2) are cross-sectional views of the surface inspecting apparatus 600 taken along lines BI-BI and BII-BII in Fig. 22(A), respectively.

[0146] As shown in FIG. 22(B1), in the yy cross section, one of the opposing support parts, 646a, is erected vertically upward from the base part 640a to the height of the engagement groove 644 supporting the workpiece 90A, bent at a right angle, and extended in parallel to the engagement groove 644, so that it is disposed outward from the straight line E that passes through the center Ca of the first camera 20a and connects the center of the lens 21 and the outer edge D of the inspection area. The other support part 646b is inclined outward toward the base part 640a, so that it is disposed outward from the straight line E that passes through the center of the lens 21 and the outer edge D of the inspection area in the workpiece 90A, through which the optical axis Cb of the second camera 20b passes. In this way, it is possible to prevent the support part 543 from being reflected in the field of view of the camera 20 through the workpiece 90A.

[0147] Furthermore, in the portion where no reflection occurs, as shown in FIG. 22(B2), a support portion 643b extending vertically upward from the periphery of the opening 441 may be used.

[0148] Alternatively, as shown in the first camera 20a side of FIG. 22(B2), if there is no effect on holding the workpiece 90A, the support part that causes the reflection may be removed. This is because an object can generally be stably supported by supporting it at least at three points. By configuring it in this way, it is possible to reduce the weight of the jig 640.

[0149] As another modification, for example, the support portions 646a and 646b in FIG. 22(B1) may be realized by a pier structure or the like instead of being configured in a wall shape as shown in the figure.

[0150] It goes without saying that the modifications to the jigs in the fourth to sixth embodiments can be applied not only to the first embodiment but also to the surface inspection apparatuses according to the second embodiment and their modifications. [Explanation of symbols]

[0151] 1: Surface inspection system 10: Line lighting 20: Camera 22: Line sensor 40, 40A, 40B, 440, 440A, 540, 640: Jig 440a, 440Aa, 540a, 640a: Base (of the jig) 441 :Aperture 443,443a,443b,443A,443Aa,443Ab,446,446A,446Aa,446Ab,543,643b,646a,646b: Support part 50: Inspection Department 90: Work (inspection object) 91 :Surface 100, 200, 200A, 200B, 400, 400A, 500, 600: Surface inspection equipment 210, 210A: Line lighting 210a: First line illumination device 210b: Second line illumination device C: Camera optical axis L: Optical axis of line lighting

Claims

1. At least one camera having a line sensor, which captures an image of a linear area extending in a first direction and acquires image data; a line illuminator disposed opposite the camera and extending parallel to the first direction; a jig for holding an object to be inspected between the camera and the line light; an inspection unit that detects defects on the surface of the object to be inspected based on the image data. a first arrangement in which the line illumination is offset from the optical axis of the camera, or a second arrangement in which the line illumination is offset to be on the opposite side of the optical axis of the camera from the first arrangement, in a cross section in a second direction perpendicular to the first direction, while moving the camera and the line illumination relative to the object under inspection in the second direction, thereby scanning the object under inspection with the camera to acquire the image data of the object under inspection in a state in which the line illumination is turned on in the first and second arrangements, respectively; A surface inspection device characterized in that the inspection unit removes portions corresponding to light streaks from the image data in the first and second arrangements, and detects defects on the surface of the object to be inspected based on the integrated image.

2. 2. The surface inspection apparatus according to claim 1, wherein in the second arrangement, the line illumination is offset so as to be line-symmetrical with respect to the optical axis of the camera from the first arrangement.

3. the line illumination is disposed so that its optical axis is parallel to the optical axis of the camera; The line illumination is performed within a range where illumination light passing through the object to be inspected is incident on the camera.

3. A surface inspection apparatus according to claim 1, wherein the optical axis of the camera is offset.

4. 4. The surface inspection apparatus according to claim 3, wherein the camera is adapted to move parallel to the line illumination in a second direction to transition between the first arrangement and the second arrangement.

5. 3. The surface inspection device according to claim 1, wherein the line light is disposed so that its optical axis is inclined with respect to the optical axis of the camera.

6. 6. The surface inspection apparatus according to claim 5, wherein the camera and the line light are capable of transitioning between the first arrangement and the second arrangement by inverting their relative positions with respect to the object to be inspected.

7. 6. A surface inspection apparatus as described in any one of claims 1, 2, 3 and 5, characterized in that the line illumination comprises a first line illumination device arranged at the first location and a second line illumination device arranged at the second location.

8. The jig is a flat base having an opening that is substantially similar to the shape of the test object in a plan view and has dimensions equal to or larger than the shape of the test object; a support portion provided on at least a portion of a periphery of the opening, standing from the periphery of the opening toward the at least one camera, and supporting the periphery of the object to be inspected at at least three points; In the cross section in the first direction, a first camera of the at least one camera is disposed within the opening; A surface inspection device as described in any one of claims 1 to 7, characterized in that the portion of the support part that is within the field of view of the first camera is positioned outward from a straight line passing through the center of the lens of the first camera and the outer edge of the inspection area.

9. The jig is a flat base having an opening that is substantially similar to the shape of the test object in a plan view and has dimensions equal to or larger than the shape of the test object; a support portion provided on at least a portion of a periphery of the opening, standing from the periphery of the opening toward the at least one camera, and supporting the periphery of the object to be inspected at at least three points; In the cross section in the first direction, When a first camera of the at least one camera is disposed outside the opening, A surface inspection device as described in any one of claims 1 to 7, characterized in that a portion of the support part that is farther from the first camera and is included in the field of view of the first camera is positioned outward from a straight line passing through the center of the lens of the first camera and the outer edge of the inspection area of ​​the inspected object.

10. The surface inspection device described in claim 8 or 9, characterized in that at least a portion of the support portion is inclined toward the outside of the jig as it approaches the base portion, thereby being positioned outside the straight line passing through the center of the lens of the first camera and the outer edge of the inspection area on the inspection object.

11. The surface inspection device according to claim 8 or 9, characterized in that at least a portion of the support portion extends from the engagement portion with the workpiece in parallel with the base toward the outside of the jig, and then bends and extends to the peripheral portion of the opening.

12. 12. The surface inspection device according to claim 8, wherein the support portion is provided discontinuously on the peripheral edge of the opening.

13. A surface inspection system comprising the surface inspection apparatus according to claim 3 or 4 and the surface inspection apparatus according to claim 5 or 6.

Citation Information

Patent Citations

  • Method and apparatus for detecting defects in transparent material

    JP2004309481A

  • Through hole wall surface defect inspection device of printed board

    JP2007127486A

  • Wound detection device and method

    JP2008501105A

  • Apparatus and method for inspecting transparent object being transferred

    JP2009092476A

  • Inspection apparatus

    JP2009186447A