Inspection device, inspection method, program, and recording medium

The use of an imaging unit and optical scanning units with automated shape-based scanning conditions addresses the inefficiency of manual adjustments, enabling rapid and accurate inspection of optical members.

JP7541889B2Active Publication Date: 2024-08-29CANON KK
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2020167659
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-10-02
Publication Date
2024-08-29
Estimated Expiration
2040-10-02

AI Technical Summary

Technical Problem

The shape of the inspection area on the surface of optical members can vary, requiring manual adjustment of optical scanning conditions, which is time-consuming and inefficient.

Method used

An imaging unit and optical scanning units that automatically set optical scanning conditions based on shape data of the inspection target, using ray tracing calculations to ensure comprehensive illumination and imaging of the inspection area.

Benefits of technology

Efficient inspection of optical members is achieved by automating the setting of optical scanning conditions, reducing the need for manual adjustments and improving inspection speed and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007541889000005
    Figure 0007541889000005
  • Figure 0007541889000004
    Figure 0007541889000004
  • Figure 0007541889000010
    Figure 0007541889000010
Patent Text Reader

Abstract

To efficiently inspect an object to be inspected according to the object to be inspected.SOLUTION: An inspection device 1 comprises: a camera 101; an optical scanning unit 120; and a processing unit that, based on a plurality of picked-up images created by the camera 101 continuously picking up images of a surface WA of an optical member W through optical scanning performed by the optical scanning unit 120, inspects an inspection area on the surface WA of the optical member W. The processing unit acquires shape data of the optical member W, and based on the shape data, sets an optical scanning condition for the optical scanning unit 120.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to inspection of optical components. [Background technology]

[0002] Optical members such as optical lenses are applied to the main body of an imaging device and to interchangeable lenses attached to the main body of the imaging device. Defects such as scratches and dirt may occur on the surface of the optical member during the manufacturing process. If an optical member contains a defect, it may affect the quality of an image obtained by imaging with the imaging device. For this reason, workers have conventionally visually inspected the surface of the manufactured optical member. In order to automate this visual inspection by workers, appearance inspection using an imaging unit having an image sensor and an image processing system has been considered.

[0003] Patent Document 1 discloses an inspection device that irradiates the rear surface of an optical member with light and uses the light that passes through the optical member and is captured by an imaging unit to inspect the front surface of the optical member. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Japanese Patent Application Publication No. 10-246706 Summary of the Invention [Problem to be solved by the invention]

[0005] However, the shape of the inspection area on the surface of the optical member is not necessarily the same each time it is inspected, and may change. For example, the shape of the inspection area may be convex or concave, and even if the shape is the same convex or concave, the curvature of the inspection area may be different. Therefore, it is necessary to reset the optical scanning conditions in the inspection device every time the shape of the inspection target changes, but in the past, the setting work was time-consuming because the operator set the conditions by repeating trial and error.

[0006] Therefore, an object of the present invention is to enable efficient inspection of an inspection object according to the inspection object. [Means for solving the problem]

[0007] A first aspect of the present disclosure includes an imaging unit, an optical scanning unit capable of optically scanning a surface of an inspection object according to optical scanning conditions, and a processing unit capable of executing a process of inspecting an inspection area on the surface of the inspection object based on an image generated by the imaging unit capturing an image of the surface of the inspection object illuminated by optical scanning by the optical scanning unit, wherein the processing unit acquires shape data of the inspection object, and sets the optical scanning conditions based on the shape data so that light from the inspection area illuminated by optical scanning by the optical scanning unit is received by the imaging unit. death , the processing unit performs a calculation of ray tracing for the inspection object using the shape data, and sets the optical scanning condition based on a result of the calculation of the ray tracing. The inspection device is characterized by the above. A second aspect of the present disclosure includes an imaging unit, an optical scanning unit capable of optically scanning a surface of an inspection object according to optical scanning conditions, and a processing unit capable of executing a process of inspecting an inspection area on the surface of the inspection object based on an image generated by the imaging unit capturing an image of the surface of the inspection object illuminated by optical scanning by the optical scanning unit, wherein the processing unit acquires shape data of the inspection object, and sets the optical scanning conditions based on the shape data so that light from the inspection area illuminated by optical scanning by the optical scanning unit is received by the imaging unit, and the optical scanning unit captures a first portion of the surface of the inspection object. an optical scanning unit capable of optically scanning the surface of the inspection object in accordance with a first condition included in the optical scanning conditions so that light from a region is received by the imaging unit; and a second optical scanning unit capable of optically scanning the surface of the inspection object in accordance with a second condition included in the optical scanning conditions so that light from a second region of the surface of the inspection object is received by the imaging unit, wherein the processing unit sets the first condition and the second condition based on the shape data so that the sum of the first region and the second region encompasses the inspection area.

[0008] The present disclosure 3 An aspect is an inspection method in which a processing unit inspects an inspection area on a surface of an inspection object, the inspection method including: a setting step in which the processing unit sets optical scanning conditions of an optical scanning unit that scans light; a step in which the processing unit causes the optical scanning unit to optically scan the surface of the inspection object in accordance with the optical scanning conditions so that light is illuminated onto the surface of the inspection object; a step in which the processing unit acquires, from the imaging unit, an image generated by an imaging unit capturing an image of the surface of the inspection object illuminated by the optical scanning by the optical scanning unit; and an inspection step in which the processing unit inspects the inspection area based on the captured image. In the setting step, the processing unit acquires shape data of the inspection object, and sets the optical scanning conditions based on the shape data so that light from the inspection area illuminated by the optical scanning by the optical scanning unit is received by the imaging unit. death , In the setting step, a calculation of ray tracing is performed on the inspection object using the shape data, and the optical scanning conditions are set based on a result of the calculation of the ray tracing. The inspection method is characterized by the above. Effect of the Invention

[0009] According to the present invention, it is possible to efficiently inspect an inspection object according to the inspection object. [Brief description of the drawings]

[0010] [Figure 1] 1 is a schematic diagram showing a configuration of an inspection device according to an embodiment. [Diagram 2] 1A is a schematic cross-sectional view of an optical member according to an embodiment, and FIG. 1B is a plan view of the optical member according to an embodiment. [Diagram 3] FIG. 2 is a block diagram showing a control system of the image processing system according to the embodiment. [Figure 4] 5 is a flowchart showing a setting process for setting optical scanning conditions in the inspection method according to the embodiment. [Diagram 5] 5A to 5C are explanatory diagrams of ray tracing processing according to the embodiment. [Figure 6] 4 is a flowchart showing an inspection procedure performed by the inspection device according to the embodiment. [Figure 7] 5A to 5C are diagrams for explaining the relationship between optical scanning by a first optical scanning unit and a captured image according to the embodiment. [Figure 8] 6A to 6C are diagrams for explaining the relationship between optical scanning by a second optical scanning unit and a captured image according to the embodiment. [Figure 9] 4 is a flowchart showing image processing according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. Fig. 1 is a schematic diagram showing the configuration of an inspection device 1 according to an embodiment. The inspection device 1 is a device that inspects the appearance of an optical member W. The optical member W is an object to be inspected, i.e., an object to be inspected, such as an optical lens. The manufactured optical member W is applied to the main body of an imaging device, an interchangeable lens (lens barrel) attached to the main body of the imaging device, and the like.

[0012] Fig. 2(a) is a schematic cross-sectional view of an optical member W according to an embodiment. Fig. 2(b) is a plan view of the optical member W according to an embodiment. The optical member W has a circular shape in a plan view. The optical member W has a front surface WA and a back surface WB. A part or the whole of the front surface WA is an inspection area. In this embodiment, the whole of the front surface WA is an inspection area R. W The optical member W is a member through which visible light passes, and is a transparent or translucent member. In this embodiment, the optical member W is an optical lens. In this embodiment, the inspection device 1 is suitable for inspecting meniscus lenses and aspherical lenses, among optical lenses. In this embodiment, a case will be described in which the surface WA of the optical member W is a convex aspherical surface, as an example.

[0013] The inspection device 1 is disposed in a production line for manufacturing the optical member W. For example, the inspection device 1 is disposed downstream of an apparatus for polishing the molded optical member W in the production line for the optical member W. In this case, the optical members W are sequentially supplied to the inspection device 1 using a conveying mechanism (not shown), for example, a robot device, and are inspected by the inspection device 1.

[0014] As shown in FIG. 1, the inspection device 1 includes an imaging system 100 and an image processing system 200. The imaging system 100 includes a frame unit 107, a camera 101 which is an example of an imaging unit, and an optical scanning unit 120. The optical scanning unit 120 includes an optical scanning unit 121 which is an example of a first optical scanning unit, and an optical scanning unit 122 which is an example of a second optical scanning unit. The three mutually orthogonal directions are the X-axis direction, the Y-axis direction, and the Z-axis direction. In this embodiment, the X-axis direction and the Y-axis direction are horizontal directions and are two mutually orthogonal directions. The Z-axis direction is a direction perpendicular to a horizontal plane.

[0015] The camera 101 is fixed to the upper part of the frame part 107. The camera 101 has a sensor part 112 and an objective lens unit 111. The objective lens unit 111 forms an image of the optical member W on the sensor part 112. The sensor part 112 has an image sensor. The image sensor is, for example, a CMOS or CCD image sensor. The image sensor is an area sensor having a plurality of pixels arranged in a matrix.

[0016] The optical scanning unit 121 and the optical scanning unit 122 are configured to be capable of optically scanning the front surface WA of the optical member W. Note that, in the optical member W, the surface facing the camera 101 is referred to as the front surface WA, and the surface opposite to the front surface WA is referred to as the back surface WB.

[0017] The optical scanning unit 121 includes a light source 103, which is an example of a first light source section, and a linear stage 104. The linear stage 104 includes a base 131 fixed to a frame section 107, and a linear table 132 supported by the base 131 so as to be linearly movable in a translation direction X0 parallel to the X-axis direction with respect to the base 131. The linear stage 104 also includes a drive section 133 that linearly drives the linear table 132 in the X-axis direction, i.e., the translation direction X0. The light source 103 is fixed to a predetermined position on the linear table 132. The drive section 133 includes a motor and a transmission mechanism that transmits the driving force of the motor to the linear table 132.

[0018] The optical scanning unit 122 includes a rotating stage 102, and a concave surface light source 105 and a convex surface light source 106, which are an example of a second light source section. The rotating stage 102 includes a base 141 fixed to a frame section 107, and a rotating table 142 supported by the base 141 so as to be rotatable in a rotation direction R0 about a virtual axis C0 extending parallel to the Z-axis direction relative to the base 141. The rotating stage 102 also includes a driving section 143 that drives the rotating table 142 to rotate in the rotation direction R0. The optical member W is held by a holder fixed to the rotating table 142. The driving section 143 includes a motor and a transmission mechanism that transmits the driving force of the motor to the rotating table 142.

[0019] The optical member W has an optical axis C of the optical member W. W The camera 101 is supported by the rotation stage 102 so that its axis (FIG. 2(a)) coincides with the virtual axis C0. The camera 101 is disposed on the side of the surface WA of the optical member W supported by the rotation stage 102 in the Z-axis direction. The camera 101 is disposed at a position facing the optical member W supported by the rotation stage 102. In other words, the camera 101 is disposed at a position where it can capture an image of the surface WA of the optical member W.

[0020] The light source 103 and the linear stage 104 are disposed in the Z-axis direction on the side of the back surface WB of the optical member W supported by the rotation stage 102. The light source 103 is composed of an LED or the like, and when turned on, irradiates light onto the back surface WB of the optical member W. The light (illumination light) irradiated onto the back surface WB of the optical member W passes through the inside of the optical member W and transmits from the front surface WA to the outside of the optical member W. With the light source 103 turned on, the linear table 132, i.e., the light source 103, is moved in the translation direction X0, whereby the light can be scanned in the translation direction X0 on the front surface WA of the optical member W. That is, the scanning direction of the light by the optical scanning unit 121 is the translation direction X0 with respect to the optical member W.

[0021] The light source for concave surface 105 and the light source for convex surface 106 are supported by a frame portion 107. The light source for concave surface 105 and the light source for convex surface 106 are arranged on the side of the surface WA of the optical member W supported by the rotation stage 102 in the Z-axis direction. The light source for concave surface 105 and the light source for convex surface 106 are composed of LEDs or the like, and when turned on, irradiate light onto the surface WA of the optical member W. The light (illumination light) irradiated onto the surface WA of the optical member W is reflected by the surface WA of the optical member W. With the light source for concave surface 105 or the light source for convex surface 106 turned on, the turntable 142, i.e., the optical member W, is rotated in a rotation direction R0, whereby the light can be scanned onto the surface WA of the optical member W in the rotation direction R0. That is, the scanning direction of the light by the optical scanning unit 122 is the rotation direction R0.

[0022] The concave light source 105 and the convex light source 106 may be fixed to the frame unit 107, but in this embodiment, they are provided on the frame unit 107 so that their positions and orientations are adjustable. That is, the imaging system 100 has a driving unit 153 that drives the concave light source 105 to change the light emission position P2 and the light emission direction θ2. The light emission position P2 is, for example, the position of a representative point of the concave light source 105, and can be set by adjusting the three-dimensional position of the concave light source 105. The light emission direction θ2 is, for example, the direction in which the light directivity is highest in the concave light source 105, and can be set by adjusting the three-dimensional orientation of the concave light source 105. The imaging system 100 also has a driving unit 163 that drives the convex light source 106 to change the light emission position P3 and the light emission direction θ3. The light emission position P3 is, for example, the position of a representative point of the convex light source 106, and can be set by adjusting the three-dimensional position of the convex light source 106. The light emission direction θ3 is, for example, the direction in which the light has the highest directivity in the convex light source 106, and can be set by adjusting the three-dimensional attitude of the convex light source 106.

[0023] In this embodiment, the drive unit 153 can change both the light emission position P2 and the light emission direction θ2, but this is not limited thereto, and either one of them may be changed. That is, the drive unit 153 only needs to be able to change the light emission position P2 and / or the light emission direction θ2. Similarly, in this embodiment, the drive unit 163 can change both the light emission position P3 and the light emission direction θ3, but this is not limited thereto, and either one of them may be changed. That is, the drive unit 163 only needs to be able to change the light emission position P3 and / or the light emission direction θ3.

[0024] The image processing system 200 includes a computer 201 having a processor capable of processing image data generated by the camera 101, and a display 202 capable of displaying the image processing results and the like by the computer 201. Note that the image processing results in this embodiment include both an image after binarization processing, labeling processing, and the like, and image measurement results such as a determination result as to whether the optical member W is a non-defective product.

[0025] 3 is a block diagram showing a control system of an image processing system 200 according to an embodiment. A computer 201 of the image processing system 200 has a CPU 211 which is an example of a processing unit (control unit). The CPU 211 is a processor. The computer 201 also has a ROM 212, a RAM 213, and a HDD 214 as storage units. The computer 201 also has a recording disk drive 215 and an interface unit (I / F) 216. The CPU 211, the ROM 212, the RAM 213, the HDD 214, the recording disk drive 215, and the interface unit 216 are connected by a bus 210 so as to be able to communicate with each other.

[0026] The ROM 212 is a non-transient storage device. The ROM 212 stores a basic program that is read by the CPU 211 when the computer is started. The RAM 213 is a temporary storage device used for the arithmetic processing of the CPU 211. The HDD 214 is a non-transient storage device that stores various data such as the arithmetic processing results of the CPU 211. In the first embodiment, the HDD 214 stores a program 221 for causing the CPU 211 to execute an inspection method described later. The CPU 211 can execute each step of the inspection method described later by executing the program 221. The recording disk drive 215 can read out various data, programs, etc. recorded on the recording disk 222.

[0027] The interface unit 216 is connected to the display 202, the input device 203, the external device 204, and the network 205. The display 202 displays various images under the control of the CPU 211. The input device 203 is an input device into which an operator can input data, such as a keyboard, a mouse, or a touch panel. The external device 204 is a device to be controlled in the imaging system 100 shown in FIG. 1, and includes the camera 101, the light source 103, the light source for concave surface 105, the light source for convex surface 106, the driving unit 133, the driving unit 143, the driving unit 153, and the driving unit 163.

[0028] In this embodiment, the non-transient recording medium readable by a computer is the HDD 214, and the program 221 is stored in the HDD 214, but the present invention is not limited to this. The program 221 may be recorded in any recording medium as long as the recording medium is a non-transient recording medium readable by a computer. For example, the recording medium for storing the program 221 may be the ROM 212, the recording disk 222, an external storage device (not shown), or the like. That is, the recording medium may be a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a magnetic tape, a non-volatile memory, or the like.

[0029] Furthermore, the program 221 may be supplied to the HDD 214 via the network 205, or may be supplied to the HDD 214 via the recording disk drive 215. Furthermore, the program 221 stored in the HDD 214 may be updated by an update program.

[0030] The procedure of the method for inspecting the optical member W using the inspection device 1 configured as above will be described. The defect inspection in this embodiment utilizes the illumination light irradiated onto the surface WA of the optical member W being reflected by the camera 101. That is, if there is a defect such as a scratch or stain on the surface WA of the optical member W, the image captured by the camera 101 will show an image of the defect together with an image of the illumination light reflected. In the captured image, the closer the image of the defect is to the image of the illumination light reflected, the clearer it will be. Note that if the image of the defect overlaps with the image of the illumination light reflected, the defect cannot be identified. Therefore, the inspection area R of the optical member W is W The light is scanned over the entire inspection area R W If the light from the inspection area R is received by the camera 101, W However, even if the light source 103 is moved to scan the surface WA of the optical member W with light, the inspection area R WThere may be an area where light does not reach the camera 101. The reason why the light from the light source 103 does not reach the camera 101 is that the light from the light source 103 is totally reflected by the front surface WA or the back surface WB of the optical member W. In this embodiment, the inspection area R W The area where the illumination light is not captured by the camera 101 due to the optical scanning by the optical scanning unit 121 is complemented by the optical scanning by the optical scanning unit 122. W The entire inspection area R W The camera 101 receives either transmitted or reflected illumination light from the entire inspection area R. In this embodiment, since the optical scanning unit 121 constitutes a transmission optical system, it is preferable that the optical scanning unit 122 constitutes a reflection optical system. W If there is no region where the illumination light is not reflected by the camera 101 due to optical scanning by the optical scanning unit 121, it is not necessary to use the optical scanning unit 122. In this case, the inspection region R can be scanned by optical scanning only by the optical scanning unit 121. W Therefore, it is sufficient to perform optical scanning using only the optical scanning unit 121, and the optical scanning unit 122 may be omitted in the inspection device 1.

[0031] Incidentally, the optical scanning conditions of the optical scanning unit 120 depend on the shape of the optical member W to be inspected. That is, if the shape of the optical member W changes, the area optically scanned by the optical scanning unit 120 changes, so that the optical scanning conditions of the optical scanning unit 120 must also be reset.

[0032] 4 is a flowchart showing a setting process for setting optical scanning conditions in the inspection method according to the embodiment. In step S101, an operator inputs design data (design values) of the optical member W using the input device 203. As a result, the CPU 211 acquires the design data by receiving the input from the input device 203. Note that the method of acquiring the design data by the CPU 211 is not limited to this, and the design data may be acquired from an external storage (not shown) connected to the computer 201, or from a device connected to the network 205, such as a server. Here, the design data refers to parameters for defining the lens surface shape of the optical member W, and is, for example, data such as the lens curvature, aspheric coefficient, inter-surface distance, refractive index, and optical effective diameter.

[0033] In step S102, the CPU 211 calculates shape data of the front surface WA and the back surface WB of the optical member W based on the design data acquired in step S101. W The shape data of the optical member W is the profile data of the sag amount Z(h) with respect to the distance h from the point A to each point on the surface WA. That is, in this embodiment, the shape data of the optical member W is the sag amount Z(h). The sag amount Z(h) of an aspheric surface is calculated by the curvature C, the conic coefficient k, the aspheric coefficient A n (n is an integer) can be calculated using the following formula (1).

number

[0034] The back surface WB is calculated in the same manner as the front surface WA. The shape data of the optical member W includes shape data of both the front surface WA and the back surface WB. The CPU 211 can acquire the shape data by calculating the shape data of the optical member W. As an example of the CPU 211 acquiring the shape data, the case where the CPU 211 calculates the shape data has been described, but the present invention is not limited to this. For example, the shape data may be calculated by a computer other than the computer 201, and the calculated shape data may be stored in a storage (not shown). The CPU 211 may acquire the shape data by reading the shape data from a storage (not shown) connected directly to the computer 201 or via the network 205.

[0035] In steps S103 and S104, the CPU 211 calculates the optical scanning condition S0 based on the shape data of the optical member W so that the camera 101 receives light from the entire inspection area by the optical scanning unit 120. The processes in steps S103 and S104 will be described below.

[0036] First, in step S103, the CPU 211 executes a ray tracing calculation (ray tracing process) based on Snell's law for the shape data generated in step S102 by computer simulation. In the ray tracing process in step S103, the CPU 211 performs calculations assuming that a ray is virtually output from the sensor unit 112 of the camera 101.

[0037] Next, in step S104, the CPU 211 calculates the optical scanning condition S0 of the optical scanning unit 120 for the surface WA of the optical member W based on the result of the ray tracing process executed in step S103.

[0038] The process of step S104 will be specifically described. The CPU 211 determines whether to perform optical scanning using only the optical scanning unit 121 or to perform optical scanning using both the optical scanning units 121 and 122 as the optical scanning condition S0 based on the result of the ray tracing process executed in step S103. Then, when performing optical scanning using only the optical scanning unit 121, the CPU 211 calculates the optical scanning condition S1 of the optical scanning unit 121 as the optical scanning condition S0. Alternatively, when performing optical scanning using both the optical scanning units 121 and 122, the CPU 211 calculates the optical scanning condition S1 of the optical scanning unit 121 and the optical scanning condition S2 of the optical scanning unit 122 as the optical scanning condition S0. The optical scanning condition S1 of the optical scanning unit 121 is the first condition, and the optical scanning condition S2 of the optical scanning unit 122 is the second condition. As described above, when only the optical scanning unit 121 is used, the optical scanning condition S0 includes the optical scanning condition S1. Furthermore, when both the optical scanning units 121 and 122 are used, the optical scanning condition S0 includes the optical scanning conditions S1 and S2.

[0039] Then, the CPU 211 sets the optical scanning condition S0 by storing the calculated optical scanning condition S0 in the HDD 214 or the like. Here, the optical scanning condition S1 is information representing how the light of the optical scanning unit 121 is to be scanned on the surface WA of the optical member W, i.e., how each member of the optical scanning unit 121 is to be operated. The optical scanning condition S2 is information representing how the light of the optical scanning unit 122 is to be scanned on the surface WA of the optical member W, i.e., how each member of the optical scanning unit 122 is to be operated.

[0040] The processing of steps S103 and S104 will be described below with specific examples. Fig. 5 is an explanatory diagram of the ray tracing processing according to the embodiment. Fig. 5 illustrates an example of the result of the ray tracing calculation performed by the CPU 211 in step S103, assuming that the light rays are virtually output from the camera 101. In Fig. 5, the dashed lines indicate the light rays from the camera 101 that can pass through the optical member W. In Fig. 5, the dashed lines indicate the light rays from the camera 101 that cannot pass through the optical member W. Note that Fig. 5 illustrates an example of the case where optical scanning is performed using both the optical scanning units 121 and 122.

[0041] 5, only the light beams shown by dashed lines can pass through the surface WA of the optical member W and generate an image of the illumination light from the light source 103 of the optical scanning unit 121 on the camera 101. The light beams shown by dashed lines cannot generate an image of the illumination light from the light source 103 of the optical scanning unit 121 on the camera 101.

[0042] Therefore, in step S104, since it is necessary to use both the optical scanning units 121 and 122, the CPU 211 calculates the optical scanning conditions S1 and S2 of both the optical scanning units 121 and 122. That is, the CPU 211 sets the optical scanning condition S1 so that the area R1 optically scanned by the optical scanning unit 121 on the surface WA is included in the area where the light beam indicated by the dashed line on the surface WA is incident. Also, the CPU 211 sets the optical scanning condition S2 so that the area R2 optically scanned by the optical scanning unit 122 on the surface WA is included in the area where the light beam indicated by the dashed line on the surface WA is incident. Here, the area R1 is the first area, and the area R2 is the second area. That is, the optical scanning condition S1 is set so that the light emitted by the optical scanning unit 121 and transmitted through the area R1 is received by the camera 101. Moreover, the optical scanning condition S2 is set so that the light emitted by the optical scanning unit 122 and reflected by the region R2 is received by the camera 101.

[0043] As described above, the CPU 211 determines the inspection area R based on the result of ray tracing for the shape data. WThe allocation of the regions R1 and R2 is set so as to cover the area R1. As a result, the sum of the regions R1 and R2, that is, the combined region of the regions R1 and R2, is the inspection region R1. W It should be noted that the regions R1 and R2 do not have to overlap, and a portion of the region R2 may overlap a portion of the region R1.

[0044] In this embodiment, the CPU 211 sets, as the optical scanning condition S1, a position P1 at which the optical scanning of the light source 103 starts, and an optical scanning amount D1 of the light in the translation direction X0 of the light source 103. The position P1 is the position of the light source 103 in a three-dimensional space. The scanning amount D1 is the movement amount of the light source 103 in the translation direction X0 starting from the position P1. By operating the optical scanning unit 121 under the optical scanning condition S1 set in this way, the camera 101 receives light that is emitted from the light source 103 and passes through the region R1.

[0045] Further, the CPU 211 selects the light source used for optical scanning from the light source 105 for a concave surface and the light source 106 for a convex surface as the optical scanning condition S2. That is, in this embodiment, the light emission position P2 and the light emission direction θ2 of the light source 105 for a concave surface are different from the light emission position P3 and the light emission direction θ3 of the light source 106 for a convex surface. Therefore, by switching the light source used for optical scanning from one of the light source 105 for a concave surface and the light source 106 for a convex surface to the other, the light emission position and the light emission direction can be changed. Therefore, by selecting one of the light source 105 for a concave surface and the light source 106 for a convex surface, the light emission position and the light emission direction are set. By operating the optical scanning unit 122 under the optical scanning condition S2 set in this way, the camera 101 receives the light emitted from the light source 105 or 106 and reflected in the region R2.

[0046] In this embodiment, the light emission position and the light emission direction of the selected light source 105 or 106 can also be changed by the corresponding drive unit 153 or 163. That is, by selecting the light source 105 or 106, the light emission position and the light emission direction can be roughly adjusted, and by the corresponding drive unit 153 or 163, the light emission position and the light emission direction can be finely adjusted.

[0047] In this embodiment, the light source 105 for a concave surface is disposed at a position suitable for optical scanning of the concave surface. The light source 106 for a convex surface is disposed at a position suitable for optical scanning of the convex surface. Therefore, the inspection area R W is a concave surface, the light source for concave surfaces 105 is selected, and the inspection area R W is a convex surface, the light source 106 for convex surfaces is selected. Setting information of the optical scanning condition S0 including the optical scanning conditions S1 and S2 described above is stored in the HDD 214, and is read out by the CPU 211 when inspecting the optical member W. Note that, although the case where optical scanning is performed using both the optical scanning units 121 and 122 has been described, when optical scanning is performed using only the optical scanning unit 121, it is sufficient to set the optical scanning condition S0 including at least the optical scanning condition S1.

[0048] As described above, the CPU 211 determines the inspection area R based on the shape data of the optical member W. W In the inspection area R, the CPU 211 determines whether or not there is an area where the light from the optical scanning unit 121 does not reach the camera 101. W In the case where there is an area where the light from the optical scanning unit 121 does not reach the camera 101, the combined area of ​​the areas R1 and R2 is the inspection area R W The optical scanning conditions S1 and S2 are set so as to include the inspection area R W When the light from the optical scanning unit 121 reaches the camera 101 in the entire area, the optical scanning condition S0 is set so that the area R1 is the inspection area R W The optical scanning condition S1 is set so as to include the above, and the optical scanning condition S2 is not set.

[0049] The inspection procedure of the optical member W by the inspection device 1 will be described in detail below. The case where the optical scanning conditions S1 and S2 are set as the optical scanning condition S0 will be described below. Fig. 6 is a flowchart showing the inspection procedure by the inspection device 1 according to the embodiment. When the optical member W is supplied to a holder (not shown) of the rotating stage 102 by a transport mechanism (not shown), the inspection of the optical member W by the inspection device 1 is started.

[0050] First, in step S201, the CPU 211 reads out the optical scanning condition S0 setting information including the optical scanning conditions S1, S2, etc. from the HDD 214. The read out setting information is stored in a working area such as the RAM 213. Note that unless the shapes of the second and subsequent optical members W to be inspected remain unchanged, the processing of step S201 in the second and subsequent cycles of the flowchart shown in FIG. 6 can be omitted.

[0051] Next, in step S202, the CPU 211 positions each member of the optical scanning unit 121 according to the optical scanning condition S1.

[0052] The positioning operation of the optical scanning unit 121 will be specifically described. Optical scanning by the optical scanning unit 121 is performed by fixing the optical member W at a predetermined position and moving the light source 103 relative to the optical member W. Therefore, the CPU 211 moves the light source 103 in the optical scanning unit 121 to an initial position P1 determined according to the flowchart of Fig. 4 by the linear movement stage 104. The operation of moving the light source 103 to this initial position P1 is performed every time the optical member W to be inspected is replaced.

[0053] Next, in step S203, the CPU 211 starts optical scanning by the optical scanning unit 121. At this time, the CPU 211 turns on the light source 103. Then, the CPU 211 causes the optical scanning unit 121 to optically scan the surface WA of the optical member W according to the optical scanning condition S1 so that light from the region R1 of the surface WA of the optical member W is received by the camera 101. In other words, if the optical scanning unit 121 is operated according to the optical scanning condition S1, the light from the region R1 is received by the camera 101.

[0054] Next, in step S204, CPU 211 causes camera 101 to perform continuous imaging immediately after starting scanning.

[0055] 7 is a diagram for explaining the relationship between optical scanning by the optical scanning unit 121 according to the embodiment and captured images by the camera 101. It is assumed that a defect F1 exists on the surface WA of the optical member W. The camera 101 continuously captures images of the surface WA of the optical member W by optical scanning by the optical scanning unit 121, thereby generating captured images I11 to I14 as a plurality of first captured images. The CPU 211 acquires these captured images I11 to I14 from the camera 101.

[0056] Each of the captured images I11 to I14 includes an image IL1 of the illumination light due to the illumination light being reflected. As the light source 103 moves relative to the camera 101 and the optical member W, the position of the image IF1 of the defect F1 does not change among the captured images I11 to I14, but the position of the image IL1 of the illumination light changes.

[0057] In step S205, the CPU 211 moves the light source 103 from the position P1 in the translation direction X0 by a scanning amount D1, and then ends the continuous imaging by the camera 101. Also in step S205, the CPU 211 turns off the light source 103. As a result, the CPU 211 ends the optical scanning by the optical scanning unit 121.

[0058] Next, in step S206, the CPU 211 positions each member of the optical scanning unit 122 according to the optical scanning condition S2.

[0059] The positioning operation of the optical scanning unit 122 will be specifically described. Optical scanning by the optical scanning unit 122 is performed by fixing the concave light source 105 or the convex light source 106 at a predetermined position and rotating the optical member W relative to the concave light source 105 or the convex light source 106. Therefore, the CPU 211 first selects one of the concave light source 105 and the convex light source 106, the convex light source 106 in this embodiment, in the optical scanning unit 122. Then, the CPU 211 drives the convex light source 106 by the drive unit 163 so that the light emission position P3 and the light emission direction θ3 of the light are determined according to the flowchart of FIG. 4. This operation is only required once, even if the optical member W to be inspected is replaced, as long as the shape of the optical member W is not changed. Therefore, the positioning process of step S206 from the second round onward in the flowchart shown in FIG. 6 can be omitted.

[0060] It should be noted that the method for positioning the light source for concave surface 105 or the light source for convex surface 106 is not limited to this. The inclination of the light source for concave surface 105 or the light source for convex surface 106 with respect to the optical member W may be given under a plurality of conditions to perform ray tracing calculations in advance, and the light source for concave surface 105 or the light source for convex surface 106 may be positioned based on the calculation results and the captured image obtained in step S204.

[0061] Next, in step S207, the CPU 211 starts optical scanning by the optical scanning unit 122. At this time, the CPU 211 turns on the convex light source 106. Then, the CPU 211 causes the optical scanning unit 122 to optically scan the surface WA of the optical member W according to the optical scanning condition S2 so that light from the region R2 of the surface WA of the optical member W is received by the camera 101.

[0062] Next, in step S208, CPU 211 causes camera 101 to perform continuous imaging immediately after starting scanning.

[0063] 8 is a diagram for explaining the relationship between the optical scanning by the optical scanning unit 122 and the captured images by the camera 101. It is assumed that a defect F2 exists on the surface WA of the optical member W at a position different from the position of the defect F1. The camera 101 continuously captures images of the surface WA of the optical member W by optical scanning by the optical scanning unit 122, thereby generating captured images I21 to I24 as a plurality of second captured images. The CPU 211 acquires these captured images I21 to I24 from the camera 101.

[0064] Each of the captured images I21 to I24 includes an image IL2 of the illumination light due to reflection of the illumination light. The optical member W moves relatively to the camera 101 and the convex light source 106. Therefore, the position of the image IL2 of the illumination light does not change among the captured images I21 to I24, but the position of the image IF2 of the defect F2 changes.

[0065] In step S209, the CPU 211 rotates the optical member W, i.e., the rotary table 142, 360 degrees, and then ends the continuous imaging by the camera 101. Also in step S209, the CPU 211 turns off the convex light source 106. As a result, the CPU 211 ends the optical scanning by the optical scanning unit 122.

[0066] By the above series of operations, the inspection area R of the optical member W is W The light can be scanned so that the illumination light is reflected by the camera 101 from the entire area, and the defects can be visualized well on the camera 101.

[0067] The captured images obtained by capturing images of the optical member W in steps S204 and S208 are transmitted as digital image data to the CPU 211. In step S210, the CPU 211 processes the digital image data to extract defect candidates and converts the extracted defect candidates into scores as evaluation values. Then, in step S211, the CPU 211 determines whether the calculated evaluation value is equal to or less than a threshold value.

[0068] If the evaluation value is equal to or less than the threshold (S211: YES), the CPU 211 records the inspection result that the product is a pass in a recording device such as the HDD 214 (S212). If the evaluation value exceeds the threshold (S211: NO), the CPU 211 records the inspection result that the product is a fail in a recording device such as the HDD 214 (S213). As described above, in steps S101 to S104 in FIG. 4 and steps S201 to S213 in FIG. 6, the CPU 211 determines the inspection area R on the surface WA of the optical member W based on the captured images I11 to I14, I21 to I24. W After the inspection, the optical member W is removed from the inspection apparatus 1 by a transport mechanism (not shown). The above is an overview of the inspection procedure for the optical member W using the inspection apparatus 1.

[0069] Next, the image processing performed in step S210 will be described in detail. Fig. 9 is a flowchart showing the image processing in step S210 in Fig. 6. The image processing will be described in detail below with reference to the flowchart shown in Fig. 9.

[0070] First, in step S301, the CPU 211 performs a separation process to separate defect candidates from the background in the captured image obtained in step S204 in Fig. 6. Here, the defect candidates are images of defects such as scratches and stains that should be detected as defects in the visual inspection. The background is an image of the illumination light itself that is directly reflected from the optical member W and an image of the multiple reflected light inside the optical member W.

[0071] The separation process in step S301 is performed by a machine learning segmentation process using a learning machine that has been trained on images of the illumination light itself and images of multiple reflections from optical components from multiple captured images acquired in advance. Note that the learning machine may be trained on images of defects, and the process of separating the defects from the background may be performed using the learning machine.

[0072] Next, in step S302, the CPU 211 performs binarization processing on the image in which the background has been separated from the captured image, using a predetermined brightness as a threshold value, to obtain a binary image. Next, in step S303, the CPU 211 extracts pixels in the binary image whose brightness exceeds a reference value, and performs labeling processing on the extracted pixel or pixels to label them, thereby forming defect candidates.

[0073] Next, in step S303, CPU 211 calculates the feature amount of the defect candidate formed in step S302. In this embodiment, the feature amount of a defect candidate is the number of pixels constituting the defect candidate, that is, the area of ​​the defect candidate. Note that the feature amount of a defect candidate is not limited to the area, and may be the major axis or minor axis of the defect candidate.

[0074] Next, in step S304, the CPU 211 determines whether or not the processes of steps S301 to S303 have been executed for all of the captured images acquired in step S204 of Fig. 6. If the processes have not been executed for all images (S305: NO), the CPU 211 returns to the process of step S301 and executes the processes of steps S301 to S304 for the next captured image. If the processes have been executed for all images (S305: YES), the CPU 211 proceeds to the next step, S306.

[0075] In steps S306 to S310, the CPU 211 performs the same processes as those in steps S301 to S305 on the captured image acquired in step S208 in Fig. 6. The feature amounts obtained by the image processing in the above steps S301 to S310 are evaluation values ​​used in the processing in step S211 in Fig. 6.

[0076] The above describes the case where the optical scanning conditions S1 and S2 are set as the optical scanning condition S0. Below, we will describe the inspection procedure for the optical member W by the inspection device 1 when the optical scanning condition S1 is set as the optical scanning condition S0 and the optical scanning condition S2 is not set. In this case, the CPU 211 may omit the processes of steps S206 to S209 in Fig. 6 and omit the processes of steps S306 to S310 in Fig. 9.

[0077] As described above, according to this embodiment, the optical scanning condition S0 of the optical scanning section 120 is calculated by the CPU 211 of the computer 201, so that the operator does not need to repeat trial and error. This makes it possible to efficiently inspect the inspection object according to the shape of the inspection object. In particular, when the optical scanning unit 121 is configured as a transmission optical system and the optical scanning unit 122 is configured as a reflection optical system, it becomes possible to efficiently inspect the inspection object.

[0078] It should be noted that the present invention is not limited to the above-described embodiments, and many modifications are possible within the technical concept of the present invention. Furthermore, the effects described in the embodiments are merely a list of the most preferable effects resulting from the present invention, and the effects of the present invention are not limited to those described in the embodiments.

[0079] In the above embodiment, the optical scanning section 120 includes the optical scanning unit 121 and the optical scanning unit 122, but the present invention is not limited to this. Depending on the inspection target, the optical scanning unit 121 or the optical scanning unit 122 may be omitted in the inspection device 1.

[0080] (Other Examples) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions. [Explanation of symbols]

[0081] 1... inspection device, 101... camera (imaging section), 120... optical scanning section, 121... optical scanning unit, 122... optical scanning unit, 211... CPU (processing section)

Claims

1. An imaging unit; an optical scanning unit capable of optically scanning a surface of an inspection object according to optical scanning conditions; a processing unit capable of executing a process of inspecting an inspection area on the surface of the inspection object based on an image generated by the imaging unit capturing an image of the surface of the inspection object illuminated by the optical scanning by the optical scanning unit, the processing unit acquires shape data of the inspection object, and sets the optical scanning conditions based on the shape data so that light from the inspection area illuminated by the optical scanning unit is received by the imaging unit; The processing unit performs a ray tracing calculation for the inspection object using the shape data; setting the optical scanning condition based on the calculation result of the ray tracing; An inspection device characterized by:

2. the optical scanning unit includes a first optical scanning unit capable of optically scanning the surface of the inspection object in accordance with a first condition included in the optical scanning conditions so that light from a first region of the surface of the inspection object is received by the imaging unit; the processing unit sets the first condition based on the shape data of the inspection object so that the first area includes the inspection area.

2. The inspection apparatus according to claim 1 .

3. The optical scanning unit includes: a first optical scanning unit capable of optically scanning the surface of the inspection object in accordance with a first condition included in the optical scanning conditions so that light from a first region of the surface of the inspection object is received by the imaging unit; a second optical scanning unit capable of optically scanning the surface of the inspection object in accordance with a second condition included in the optical scanning condition so that light from a second region of the surface of the inspection object is received by the imaging unit; the processing unit sets the first condition and the second condition based on the shape data so that a sum of the first area and the second area includes the inspection area.

2. The inspection apparatus according to claim 1 .

4. An imaging unit; an optical scanning unit capable of optically scanning a surface of an inspection object according to optical scanning conditions; a processing unit capable of executing a process of inspecting an inspection area on the surface of the inspection object based on an image generated by the imaging unit capturing an image of the surface of the inspection object illuminated by the optical scanning by the optical scanning unit, the processing unit acquires shape data of the inspection object, and sets the optical scanning conditions based on the shape data so that light from the inspection area illuminated by the optical scanning unit is received by the imaging unit; The optical scanning unit includes: a first optical scanning unit capable of optically scanning the surface of the inspection object in accordance with a first condition included in the optical scanning conditions so that light from a first region of the surface of the inspection object is received by the imaging unit; a second optical scanning unit capable of optically scanning the surface of the inspection object in accordance with a second condition included in the optical scanning condition so that light from a second region of the surface of the inspection object is received by the imaging unit; the processing unit sets the first condition and the second condition based on the shape data so that a sum of the first area and the second area includes the inspection area. An inspection device characterized by:

5. The scanning direction of the light by the first optical scanning unit is a translation direction with respect to the inspection object.

5. The inspection device according to claim 3 or 4.

6. the first optical scanning unit has a first light source unit arranged on a back surface side opposite to a front surface side of the inspection object, The imaging unit receives light emitted from the first light source unit and transmitted through the inspection object.

6. The inspection apparatus according to claim 5.

7. the processing unit sets, as the first condition, a position at which scanning of light by the first light source unit starts and an amount of scanning of light by the first light source unit in the translation direction.

7. The inspection apparatus according to claim 6.

8. The scanning direction of the light by the second optical scanning unit is a rotation direction around the optical axis of the inspection object.

5. The inspection apparatus according to claim 3 or 4.

9. The second optical scanning unit has a second light source unit arranged on a side of the surface of the inspection object, The imaging unit receives light emitted from the second light source unit and reflected by the surface of the inspection object.

9. The inspection apparatus according to claim 8.

10. The light emission position and / or the light emission direction of the second light source unit is changeable, the processing unit sets, as the second condition, an emission position of the light from the second light source unit and / or an emission direction of the light from the second light source unit.

10. The inspection apparatus according to claim 9.

11. The processing unit includes: The shape data is obtained by calculation using input design values.

11. The inspection device according to claim 1 .

12. The inspection object is an optical member.

12. The inspection device according to claim 1, wherein the inspection device is a semiconductor laser.

13. The imaging unit continuously images a surface of the inspection target to generate a plurality of the captured images; The processing unit inspects the inspection area on the surface of the inspection object based on the multiple captured images.

13. The inspection device according to claim 1, wherein the inspection device is a semiconductor laser.

14. the processing unit sets the optical scanning condition so that light from the entire inspection area is received by the imaging unit.

14. The inspection device according to claim 1,

15. An inspection method in which a processing unit inspects an inspection area on a surface of an inspection object, comprising: a setting step in which the processing unit sets optical scanning conditions of an optical scanning unit that scans with light; a step of causing the optical scanning unit to optically scan the surface of the inspection object according to the optical scanning conditions, so that the surface of the inspection object is illuminated with light; The processing unit acquires, from the imaging unit, an image generated by an imaging unit capturing an image of the surface of the inspection target illuminated by the optical scanning by the optical scanning unit; an inspection step in which the processing unit inspects the inspection area based on the captured image, In the setting step, the processing unit acquires shape data of the inspection object, and sets the optical scanning conditions based on the shape data so that light from the inspection area illuminated by the optical scanning unit is received by the imaging unit; In the setting step, a calculation of ray tracing is performed on the inspection object using the shape data, and the optical scanning conditions are set based on a result of the calculation of the ray tracing.

13. An inspection method comprising:

16. A program for causing a computer to execute the inspection method according to claim 15.

17. A computer-readable recording medium having the program according to claim 16 recorded thereon.

Citation Information

Patent Citations

  • Optical-member inspection apparatus

    JP1997072823A

  • Optical member inspecting apparatus

    JP1998246706A

  • Optical member tester

    JP1998311776A

  • Surface inspection apparatus, surface inspection method, and database

    JP2018044873A

  • Method and apparatus for the automatic inspection of optically transmissive objects having a lens portion

    US6201600B1