Surface Inspection Systems

By integrating pixels and applying spatial filters to calculate representative values, the system improves defect detection accuracy and reduces computational resources, addressing the limitations of current surface inspection systems.

JP7552181B2Active Publication Date: 2024-09-18TOYO SEIKAN GRP HLDG LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2020155645
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-09-16
Publication Date
2024-09-18
Estimated Expiration
2040-09-16

AI Technical Summary

Technical Problem

Current surface inspection systems face challenges in achieving accurate defect detection due to the reduction in pixel size, which leads to decreased light reception and signal-to-noise ratio, necessitating costly upgrades and increased computational resources without ensuring improved measurement accuracy.

Method used

The system integrates multiple pixels to form larger 'integrated pixels', using a spatial filter to calculate a representative value, reconstructs multiple two-dimensional images shifted by varying starting points, and applies discrimination based on threshold values to detect defects accurately.

Benefits of technology

This approach enhances defect detection accuracy and reduces computational load while maintaining or improving the signal-to-noise ratio, allowing for cost-effective and efficient defect classification without requiring extensive hardware or software modifications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007552181000009
    Figure 0007552181000009
  • Figure 0007552181000003
    Figure 0007552181000003
  • Figure 0007552181000004
    Figure 0007552181000004
Patent Text Reader

Abstract

To provide a new surface inspection system that is inexpensive.SOLUTION: Provided is a surface inspection system comprising: an image sensor and an image processing device 3. The image sensor images the surface of an inspection object and includes a transmission unit for transmitting a pixel value 2111 to the image processing device 3. The image processing device 3 includes an integrated pixel generation unit 4 for integrating a plurality of adjacent pixels 211 to generate one integrated pixel 41 in accordance with the size and shape of an assumed defect 95 having been assumed in advance, an allocation unit 5 for calculating one representative value 511 from the pixel values 2111 of a plurality of pixels included in the integrated pixel 41 on the basis of the pixel value 2111 sent from the image sensor and allocating as an integrated pixel value 52, an integrated image reconstruction unit 6 for reconstructing an integrated secondary image 61 from the integrated pixel value 52, and an assessment unit 7 for assessing the size and shape of the defect on the basis of the integrated secondary image 61 and the integrated pixel value 52.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a surface inspection system that inspects the surface of an object for defects using images. [Background technology]

[0002] Surface inspection systems are used to inspect defects on flat objects such as semiconductor wafers and steel plates, as well as three-dimensional objects. Efforts have been made to enable the detection of smaller defects such as scratches. For example, for steel plates, as described in Patent Document 1, efforts have been made to enable more accurate defect detection. In order to enable more precise defect detection, image sensors are becoming more precise and line sensors (one-dimensional image sensors that obtain a two-dimensional image by moving the object being inspected at a constant speed) are being used, with pixels becoming smaller and smaller. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2004-219177 A Summary of the Invention [Problem to be solved by the invention]

[0004] The quality requirements for these defects are becoming stricter every year, and there is a continuous demand for improving the accuracy of surface inspection systems. In the case of surface inspection systems using image sensors that are currently widely used, in order to improve their capabilities, the accuracy of defect classification, and the qualification rate, the trend is to reduce the pixel size of the image sensor to increase the resolution and improve the measurement accuracy of the defect shape and area. In order to meet the quality requirements, it is also necessary to replace the image processing device with a new one that has an image processing speed that corresponds to the performance of the image sensor, and to introduce a new processing program. Thus, replacing a surface inspection system has become a very large-scale and expensive undertaking. Furthermore, as the pixel size becomes smaller, the amount of light entering the sensor decreases, and the light receiving area per unit area becomes smaller compared to image sensors with fewer pixels. These factors reduce the S / N ratio, and by reducing the pixel size, the measurement accuracy may not improve as expected.

[0005] An object of the present invention is to provide a new, inexpensive surface inspection system. [Means for solving the problem]

[0006] The present invention relates to In order to solve these problems, the following is provided: The image sensor has a transmission unit that captures an image of the surface of the object to be inspected and transmits pixel values ​​to the image processing device, and the image processing device integrates a plurality of adjacent pixels according to the size and shape of a pre-assumed defect. It is a collection of pixels an integrated pixel generating unit that generates an integrated pixel; and a pixel value generating unit that calculates one representative value from the pixel values ​​of a plurality of the pixels included in the integrated pixel based on the pixel values ​​sent from the image sensor. , standard an allocation unit that allocates the pixel value as a combined pixel value; The integrated pixels are filled with one representative value assigned to them. An integrated image reconstruction unit that reconstructs an integrated 2D image Equipped with , The integrated pixel generation unit generates another integrated pixel of the same shape by shifting a pixel serving as a starting point of the integrated pixel by one pixel, the allocation unit calculates one other representative value from the multiple pixel values ​​included in the other integrated pixel based on the pixel value sent from the image sensor and allocates this as another integrated pixel value, and the integrated image reconstruction unit reconstructs another integrated two-dimensional image filled with integrated pixels having the one other assigned representative value, and the integrated pixel generation unit, the allocation unit and the integrated image reconstruction unit repeatedly reconstruct yet another integrated two-dimensional image by further shifting the pixel serving as the starting point of the integrated pixel by one pixel, and the multiple integrated pixels repeatedly generated said integrated two-dimensional image; ThoseThe surface inspection system is characterized by having a discrimination unit that discriminates the size and shape of a defect based on the integrated pixel value. Effect of the Invention

[0007] It is possible to provide a low-cost surface inspection system. [Brief description of the drawings]

[0008] [Figure 1] Conceptual diagram of Example 1 [Diagram 2] Conceptual diagram of image processing device [Diagram 3] Explaining assumed defects and integrated pixels [Figure 4] Illustration of integrated 2D image [Diagram 5] Conceptual diagram of assumed defect and integrated pixel (A) Enlarged diagram of assumed defect and integrated pixel (B) Illustrative diagram showing that a defect with almost the same shape and size as the assumed defect is detected [Figure 6] An explanatory diagram showing how defects with shapes and sizes different from expected defects are detected by vertical integrated pixels. (A) An explanatory diagram of the shape and size of the defect. (B) An explanatory diagram of the integrated pixel value when the vertical integrated pixels are lowered by one pixel. (C) An explanatory diagram of superimposing integrated 2D spaces. [Figure 7] (A) An explanatory diagram of how defects are detected by horizontally integrated pixels. (B) An explanatory diagram of the integrated pixel value when the horizontally integrated pixels are moved one pixel at a time to the right. [Figure 8] An explanatory diagram of integrated pixels with a round uneven defect as a hypothetical defect [Figure 9] (A) Explanatory diagram of a superimposed 2D image. (B) Explanatory diagram of integrated pixel value by integrated pixels in the vertical direction. (C) Explanatory diagram of integrated pixel value by integrated pixels in the horizontal direction. (D) Explanatory diagram of a superimposed 2D image. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In the following description, the different figures The same reference numerals indicate parts having the same functions, and duplicated explanations in each drawing will be omitted as appropriate.

[0010] Example 1 [Image sensor] Fig. 1 is a conceptual diagram of an embodiment. In this embodiment, a steel plate 9 is inspected as an object to be inspected. The steel plate (object to be inspected) 9 is transported in the direction of the arrow in the drawing, and a line sensor camera (image sensor) 2, which is an image sensor, is provided above the steel plate 9. A line light 22 that illuminates a detection line 21 of the line sensor camera (image sensor) 2 is obliquely irradiated from the detection line 21 so that the shadow of the unevenness of a defect 91 stands out. The surface of the steel plate 9 photographed by the detection line 21 is sent as pixel values ​​2111 for each pixel 211 from a transmitter 23 to an image processing device 3 via a communication line 24. In the embodiment, a line sensor camera (image sensor) 2 is used as the image sensor, but an image sensor that captures two-dimensional images may also be used. The line sensor camera (image sensor) 2 generally has more pixels than an image sensor that captures two-dimensional images, and the line sensor camera (image sensor) 2 is preferable when capturing an image of an object to be inspected that is being conveyed along a conveying line. Depending on the type of object to be inspected, an image sensor that captures two-dimensional images may be preferable. As the imaging element, a CCD or a CMOS is typically used, but a high-sensitivity imaging element such as an avalanche photodiode may also be used, and the type of imaging element is not important.

[0011] [defect] There are many defects 91 on the surface of the steel plate (test object) 9, but several examples will be shown below. (1) A vertical flaw 912 occurs in the conveying direction of the steel plate 9 due to contact with a foreign object such as a metal piece during conveying or manufacturing process of the steel plate 9. (2) Transverse flaws 913 perpendicular to the conveying direction that occur when a roller that contacts the steel plate 9 during the conveying or manufacturing process of the steel plate 9 has a poor rotation and slips. Mostly. Further, stains on the surface of the steel plate 9 are also included in the defects 91. They can also be classified by shape, such as round or square. And so on.

[0012] [Image processing device] 2 is a conceptual diagram of the image processing device 3. The main parts of the image processing device 3 are an integrated pixel generation unit 4, an allocation unit 5, an integrated image reconstruction unit 6, and a discrimination unit 7. The "unit" referred to here may be a single device, a software module, or may be mounted on a single device, or may be distributed over a network and connected to virtually exist as the image processing device 3. There is no restriction on the form as long as it has the functions of the image processing device 3 referred to in the present invention. The image processing device 3 receives the pixel value 2111 for each pixel 211 transmitted from the transmission unit 23 of the line sensor camera (image sensor) 2. Each of the "units" will be explained in order.

[0013] (1) Integrated pixel generator The assumed defect 95 may have a basic shape and size suitable for reconstructing the shape of the defect 91 through image processing in the integrated image reconstruction unit 6, which will be described later. Example 1 is a manufacturing plant that manufactures processed products from a purchased roll of steel sheet 9, and an example will be described in which the shape and size of defect 91 can be predicted in advance. The roll of purchased steel sheet (subject) 9 is unwound, and the long steel sheet 9 is sent to a processed product manufacturing line by conveying rollers or the like. The steel sheet 9 is prone to vertical flaws 912 that arise in the conveying direction during the manufacturing process, such as rolling, of the steel sheet 9 itself, and the conveying process.

[0014] [Expected defect] FIG. 3 is an explanatory diagram of the assumed defect 95 and the integrated pixel 41. Each square indicated by a dashed line represents a pixel 211. The pixel 211 corresponds to a data unit acquired in synchronization with the shutter speed from each imaging element (not shown) mounted on the line sensor camera (image sensor) 2. The shooting position of each imaging element capturing the detection line 21 corresponds to the position of the pixel 211. The detection line 21 shifts one after another in the conveyance direction in accordance with the conveyance speed and the shutter speed of the steel plate 9, the detection line 21 changes every time the shutter is released, and data (pixel value 2111) in units of pixels 211 is sent one after another to the allocation unit 5. A two-dimensional image is formed by arranging the data (pixel value 2111) in units of pixels 211 for each detection line 21. The shape of the pixel 211 changes depending on the conveyance speed of the steel plate 9 and the shutter speed, but it is preferable to set the shutter speed in accordance with the conveyance speed of the steel plate 9 so that the pixel 211 is approximately square. Note that there is no prohibition against the pixel 211 being rectangular in shape.

[0015] The steel sheet 9 is prone to vertical defects 912 that occur in the conveying direction during the manufacturing process such as rolling the steel sheet 9 itself and the conveying process. Since the size and shape of the defect 91 are fixed, the defect 91 is regarded as an assumed defect 95. The integrated pixel 41 is a collection of 100 pixels 211, which are slightly smaller than the assumed defect 95 and include 20 pixels 211 in the vertical direction and 5 pixels 211 in the horizontal direction. The integrated pixel 41 is created by virtually collecting the pixels 211 sent from the line sensor camera (image sensor) 2 for each detection line 21 in a two-dimensional manner. The shape of the integrated pixel 41 is similar to the shape of the assumed defect 95. For example, in the embodiment, it is rectangular as shown in FIG. 3. In order to reliably detect the assumed defect 95, it is preferable that the integrated pixel generation unit 4 creates an integrated pixel 41 that is one size smaller than the assumed defect 95.

[0016] (2) Allocation Section As described above, as the steel plate 9 is conveyed, the detection line 21 changes one after another each time the shutter is released, and pixel values ​​2111 corresponding to the pixels 211 are sent one after another from the line sensor camera (image sensor) 2. In this embodiment, the pixel values ​​2111 are 256-level grayscale data. When processing the pixel values ​​2111, it is preferable to first standardize the pixel values ​​2111 by calculating the difference between the pixel values ​​2111 on the surface of the steel plate 9 without defects 91 and the pixel values ​​2111 at the locations of the detected defects 91 (background noise removal). The allocation unit 5 calculates a representative value 511 using a spatial filter 51 based on the pixel values ​​2111 of all the pixels 211 (100 in total) contained in the virtual integrated pixel 41 (20 vertical pixels 211 × 5 horizontal pixels 211) created by the integrated pixel generation unit 4 (see Figure 2). An example of the spatial filter 51 mentioned here is a spatial filter 51 that sets the average value of the pixel values ​​2111 of the total of 100 pixels 211 included in the integrated pixel 41 as the representative value 511. The spatial filter 51 may simply set the sum of the total of 100 pixel values ​​2111 as the representative value 511, or may set the intermediate value (median) as the representative value 511. The spatial filter 51 is preferably suitable for discrimination by the discrimination unit 7 described later, by comparing the representative value 511 of the portion where the defect 91 exists with the representative value 511 of the surface of the steel plate 9 where the defect 91 does not exist. In addition, the spatial filter 51 is preferably effective against noise. The above example of the spatial filter 51 is an example that is effective against noise. For example, when an averaging spatial filter 51 is used, even if noise is mixed into the pixel values ​​2111, the variation of each pixel 211 can be reduced by averaging. The representative value 511 calculated as described above is assigned as the integrated pixel value 52 of the integrated pixel 41. It will be understood that assigning the representative value 511 calculated for each integrated pixel 41 to each integrated pixel 41 as the integrated pixel value 52 treats the integrated pixel 41 as if it were one large pixel, thereby virtually enlarging the light receiving surface and reducing the effects of noise.

[0017] (3) Integrated image reconstruction unit 4 is an explanatory diagram of an integrated 2D image 61. The integrated 2D image 61 is reconstructed using the integrated pixel values ​​52 output from the allocation unit 5. The integrated 2D image 61 is filled with integrated pixels 41. All of the small squares indicated by the dashed lines in the figure are pixels 211, and only one pixel 211 is shown as a representative pixel by adding a reference number. The numbers on the vertical and horizontal axes indicate the number of pixels 211 counted from the origin 0. The integrated image reconstruction unit 6 reconstructs an integrated two-dimensional image 61 using the integrated pixel values ​​52 output from the allocation unit 5. Visually expressed, the integrated two-dimensional image 61 is displayed with shades of gray corresponding to the integrated pixel values ​​52, with the integrated pixels 41 as units. This makes it possible to understand the relationship between adjacent integrated pixels 41. The integrated image reconstruction unit 6 reconstructs an integrated two-dimensional image 61 filled with integrated pixels 41, with the integrated pixels 41 as a unit. The rectangle drawn with a thick line in the upper left of FIG. 4 represents the integrated pixel 411 shifted by one pixel. The integrated image reconstruction unit 6 also reconstructs another integrated two-dimensional image 61 with the integrated pixel 411 shifted by one pixel as a unit. Then, the integrated image reconstruction unit 6 reconstructs yet another integrated two-dimensional image 61 with the integrated pixel (not shown) further shifted by two pixels from the state of FIG. 4 as a unit. In this way, a total of five integrated two-dimensional images 61 shifted by 0 to 4 pixels are created. If the image is shifted by five pixels, it returns to the integrated two-dimensional image 61 shown in FIG. 4, so a total of five integrated two-dimensional images 61 are sufficient. The reason for doing this is that since it is not known where the defect 91 is located on the surface of the steel sheet 9, the defect 91 can be accurately identified by creating an integrated two-dimensional image 61 shifted by one pixel 211. This point will be described in detail in the next section.

[0018] (4) Discrimination part Fig. 5 is a conceptual diagram of an assumed defect 95 and an integrated pixel 41. For ease of explanation, the scale of the grid has been changed, and one grid surrounded by a dotted line represents 5 pixels vertically by 5 pixels horizontally. Therefore, the size of the integrated pixel 41 in Fig. 5 is the same as that of the integrated pixel 41 in Figs. 3 and 4 (20 pixels vertically by 5 pixels horizontally). Fig. 5(A) is an enlarged view of an assumed defect 95 and an integrated pixel 41, and Fig. 5(B) is an explanatory diagram in which a defect 91 having approximately the same shape and size as the assumed defect 95 is detected. The discrimination unit 7 starts discriminating the defect 91 using the integrated two-dimensional image 61 sent from the integrated image reconstruction unit 6 and the integrated pixel values ​​52 (representative values ​​511) of the integrated pixels 41 constituting the integrated two-dimensional image 61. The discrimination unit 7 has a threshold value 71, which is set to 50% of the upper limit of the integrated pixel value 52 (representative value 511) in the first embodiment. Example 1 in FIG. 5B shows a state in which a defect 91 having the same shape as the assumed defect 95 is transported in the direction of the arrow so as to pass exactly through the center of the integrated pixel 41. The bar graphs at the bottom and right of FIG. 5B show the magnitude of the representative value 511 (integrated pixel value 52). Since the defect 91 having the same shape as the assumed defect 95 is slightly larger on the left and right than the integrated pixel 41, the central integrated pixel 41 outputs the representative value 511 (integrated pixel value 52) which is the upper limit of the integrated pixel value 52, but the integrated pixels 41 adjacent to the left and right of the central integrated pixel 41 each output a representative value 511 (integrated pixel value 52) smaller than the threshold value 71. Due to the threshold value 71, only the representative value 511 (integrated pixel value 52) of the central integrated pixel 41 is the discrimination target, and a very large representative value 511 (integrated pixel value 52) is detected for the central integrated pixel 41, so that a defect 91 that is the same as or slightly larger than the assumed defect 95 can be reliably detected. In addition, it is very easy to determine that there is a defect 91 having almost the same shape and size as the assumed defect 95. When the shape and size of the assumed defect 95 are almost fixed, it is very advantageous that the defect can be detected without imposing a load on the computational resources.

[0019] As shown in example 2 of Figure 5(B), it is most difficult to distinguish when the center of defect 91, which has the same shape as assumed defect 95, is transported so that it passes through the joining line between adjacent integrated pixels 41 and integrated pixels 41. When the threshold value 71 and integrated pixel value 52 are close to each other and the effect of noise is taken into account, it is possible that the discrimination will be missed. Therefore, as explained with reference to Fig. 4, a total of five integrated two-dimensional images 61 are used, which are created by shifting the integrated pixels 41 by one pixel. The discrimination unit 7 can improve discrimination accuracy by performing discrimination using the integrated two-dimensional image 61 in which the integrated pixel value 52 shows the highest value. As a result, no matter where the defect 91 is located, if the defect 91 has substantially the same shape and size as the assumed defect 95, it can be reliably detected and its shape and size can be discriminated.

[0020] Furthermore, by applying a spatial filter 51 such as a differential filter or a difference filter to the integrated two-dimensional image 61, the change between the defect 91 and the adjacent integrated pixels 41 can be clarified, and the change stands out like a contour line. This is convenient for determining the shape and size. Defects 91 smaller than the integrated pixels 41 are averaged by being assigned a representative value 511 (such as a total value or an average value), improving the classification accuracy of the defects 91. In addition, when a defect 91 that is slightly larger than the integrated pixel 41 is binarized after applying a spatial filter such as a fine powder filter or a differential filter, the portion that extends beyond the integrated pixel 41 is removed, but conversely, it becomes possible to clearly determine whether the shape of the defect 91 is similar or dissimilar to the integrated pixel 41. As spatial filters, Laplacian filters (second-order differential filters, contour extraction) or other suitable filters can also be applied.

[0021] (Additional Aspects) (Additional Aspects) [Changing the starting position of integrated pixels in the integrated image reconstruction section] 4, a total of five integrated 2D images 61 are created using integrated pixels 411 that are shifted by one pixel in the horizontal direction. However, the starting point of the integrated pixel 41 also affects the detection of the defect 91. By shifting the starting position of the integrated pixel 41 up or down, it is possible to further improve the accuracy of determining the shape and size of the defect 91. 6A and 6B are explanatory diagrams showing how a defect 91 having a different shape and size from an assumed defect 95 is detected by an integrated pixel 41 in the vertical direction, and Fig. 6A is an explanatory diagram of the shape and size of the defect 91. Since the defect 91 moves in the transport direction, the integrated pixel value 52 differs depending on where the starting point of the integrated pixel 41 is located.

[0022] Each square surrounded by a dashed line represents one pixel 211. For the sake of explanation, it is assumed that there is absolutely no noise. In addition, a spatial filter 51 that calculates a sum value is employed. Furthermore, when the pixel 211 is not covered by a defect, a "0" is output as the pixel value 2111, and when the pixel 211 is covered by a defect, a "1" is output as the pixel value 2111. Under these assumptions, when one pixel 211 of the four pixels 211 included in the integrated pixel 41 is covered by a defect 91, the representative value 511 is output as "1," when two pixels 211 are covered by defects 91, the representative value 511 is output as "2," and when three pixels 211 are covered by defects 91, the representative value 511 is output as "3," and these representative values ​​511 are each assigned as the integrated pixel value 52. In the case of the embodiment of Figure 6, since the integrated pixel 41 is created by collecting pixels 211, when the spatial filter 51 that calculates a total value is used, the number of defects included in the collected four pixels 211 becomes the representative value 511. The maximum value of the integrated pixel value 52 is "4" when all four pixels 211 included in the integrated pixel 41 are covered by defects 91. The thickness of the line of the frame representing the integrated pixel 41 in the drawing is drawn in proportion to the size of the integrated pixel value 52, and the thicker the line of the frame, the larger the integrated pixel value 52, and the number inside the frame of the illustrated integrated pixel 41 indicates the integrated pixel value 52. Even if the defect 91 is present at the same position, the vertical integrated pixels 41 are moved down one pixel at a time to calculate the representative value 511 and assign it as the integrated pixel value 52, so that a total of four integrated two-dimensional images 61 are created, as shown in FIG. 6B. The numerical value in each integrated pixel 41 shown in FIG. 6B represents the numerical value of the integrated pixel value 52 described above. Also, the integrated pixels 41 whose integrated pixel value 52 is "0" are omitted and not shown, but in reality, the integrated pixels 41 are laid out without gaps on the integrated two-dimensional image 61, as described in FIG. 4. It can be understood that, since the starting points of the integrated pixels 41 are different, a total of four different integrated two-dimensional images 61 are created from the defect 91 in FIG. 6A, as shown in FIG. 6B.

[0023] [Image overlay in the integrated image reconstruction section] Fig. 6(C) is an explanatory diagram of superimposing integrated 2D images 61. The integrated pixel values ​​52, which are obtained by lowering the starting points of the integrated pixels 41 by one pixel each, are superimposed. This is as if each integrated 2D image 61 were transferred onto a transparent sheet and superimposed and viewed from above. Areas with large integrated pixel values ​​52 stand out, and the shape and size of the defect 91 become apparent. This point will be explained in detail in the section "Superimposed 2D Images" below.

[0024] [Diversity of expected defects] Defects 91 are not limited to vertical defects 912. Fig. 7 is an explanatory diagram showing how defect 91 is detected by horizontal integrated pixels 41 created with horizontal defects 913 as assumed defects 95. Fig. 7(A) is an explanatory diagram showing the shape and size of defect 91, and defect 91 has exactly the same shape and size as in Fig. 6(A). Fig. 7(B) is an explanatory diagram showing integrated pixel value 52 in a state where horizontal integrated pixels 41 are moved one pixel at a time to the right. The thickness of the lines in the frame in the figure is proportional to the size of integrated pixel value 52, and the numerical value within the frame represents integrated pixel value 52 of integrated pixel 41. 6(A) and 7(A) show defects 91 of exactly the same shape and size, but it can be seen that the output of integrated pixels 41 changes depending on the orientation of integrated pixels 41, and the integrated two-dimensional image 61 created therefrom is completely different. It can be seen that by further overlaying integrated two-dimensional image 61 in the horizontal direction on integrated two-dimensional image 61 in addition to integrated two-dimensional image 61 in the vertical direction of integrated pixels 41 in Fig. 6(C), the shape and size of defect 91 emerge so that it can be more easily distinguished. 8 is an explanatory diagram of an integrated pixel 41 in which a circular uneven defect is assumed to be a hypothetical defect 95. The integrated pixel 41 is cross-shaped. The shape and size of the integrated pixel 41 can be determined appropriately as required. Although not shown, even an integrated pixel 41 having such a shape can be moved one pixel at a time up, down, left, and right to create a plurality of integrated two-dimensional images 61.

[0025] [2D superimposed image] Fig. 9 is an explanatory diagram of the overlapped two-dimensional image 62. Fig. 6(C) has been described as being able to overlap the integrated two-dimensional image 61. It will be described that the present invention is also effective for defects 91 that have shapes and sizes different from the assumed defects 95 that have been assumed in advance. The present invention can be applied even when the shapes and sizes of the defects 91 vary. 9(A) is an explanatory diagram of the shape and size of a defect 91, which has a square shape of 3 pixels vertical by 3 pixels horizontal. In response to this, two types of integrated pixels 41 are prepared: a vertical integrated pixel 41 having a shape and size of 3 pixels vertical by 1 pixel horizontal, and a horizontal integrated pixel 41 having a shape and size of 1 pixel vertical by 3 pixels horizontal. For the defect 91, Fig. 9(B) is an explanatory diagram of the integrated pixel value 52 based on the integrated pixels 41 in the vertical direction, where the pixels 211 are moved one by one to create a plurality of integrated two-dimensional images 61. Also, Fig. 9(C) is an explanatory diagram of the integrated pixel value 52 based on the integrated pixels 41 in the horizontal direction, where the integrated two-dimensional image 61 is also created by moving the pixels 211 one by one.

[0026] For the sake of explanation, the same assumptions as in FIG. 6 are used, there is no noise, the pixel value 2111 of the pixel 211 completely covered by the defect 91 is set to "1", and the pixel value 2111 of the pixel 211 without the defect 91 is set to "0". The integrated pixels 41 in the portion where the integrated pixel value 52 is 0 are not drawn. The spatial filter 51 outputs the sum of the pixel values ​​2111 of the pixels 211 included in the integrated pixel 41 as the representative value 511. The upper limit of the representative value 511 assigned to the integrated pixel 41 consisting of three pixels 211 is "3", and the integrated pixel value 52 to which the representative value 511 is assigned varies between 0 and 3. The thickness of the line within the frame is proportional to the integrated pixel value 52 as in FIG. 6 and FIG. 7, and the number indicates the integrated pixel value 52.

[0027] FIG. 9(D) is an explanatory diagram of a superimposed two-dimensional image 62, which is a superimposed two-dimensional image 62 obtained by superimposing three integrated two-dimensional images 61 from each of FIG. 9(B) and FIG. 9(A) (six integrated two-dimensional images in total). FIG. 9(D) shows a superimposed two-dimensional image 62 created by superimposing a total of six integrated two-dimensional images 61, namely, the integrated two-dimensional images 61 (B1) to (B3) created in FIG. 9(B) and the integrated two-dimensional images 61 (C1) to (C2) created in FIG. 9(C). The numbers in each superimposed pixel 621 represent a superimposed pixel value 6211 obtained by summing the integrated pixel value 52 in units of the superimposed pixel 621. For example, the "1" of the first superimposed pixel value 6212 in FIG. 9(D) is derived from the "1" of the integrated pixel value 52 of the first integrated pixel 412 in FIG. 9(B1). The second overlapping pixel value 6213 in Figure 9 (D) is derived from the sum of the integrated pixel value 52 of the first integrated pixel 412 in Figure 9 (B1) ("1") and the integrated pixel value 52 of the first integrated pixel 412 and the integrated pixel value 52 of the second integrated pixel 413 in Figure 9 (B2) ("2"), which is "3". 9(D) is derived from the sum of the "1" of the integrated pixel value 52 of the first integrated pixel 412, the "2" of the integrated pixel value 52 of the second integrated pixel 413, and the "3" of the integrated pixel value 52 of the third integrated pixel 414 in Figures 9(B1) to 9(B3), as well as the "2" of the integrated pixel value 52 of the fourth integrated pixel 415, the "1" of the integrated pixel value 52 of the fifth integrated pixel 416, and the "3" of the integrated pixel value 52 of the sixth integrated pixel 417 in Figures 9(C1) to 9(C3). The thick-line frame in Figure 9(D) indicates the position of the defect 91, and it can be seen that the more integrated pixels 41 overlapping with the defect 91, the more rapidly the overlapping pixel value 6211 increases. The overlay pixel 621 of the overlay two-dimensional image 62 in Fig. 9(D) was created through the above-mentioned processing. As can be seen from Fig. 9(D), the overlay pixel value 6211 within the area surrounded by the frame corresponding to the defect 91 is a larger overlay pixel value 6211 than the areas around the defect 91. The maximum value is the overlay pixel value 6211 at the center of the frame corresponding to the defect 91, which is "14." The threshold value is "7," half of the maximum value "14," but it will be understood that detection is possible even if the threshold value is set lower than that. Providing a margin for the threshold value means that the detection accuracy is improved. Furthermore, by creating the overlapped two-dimensional image 62, even defects 91 having shapes different from those of the integrated pixels 41 can be detected, and the shape and size can also be determined. Moreover, by binarizing the overlapped two-dimensional image 62 using an appropriate threshold value, the shape can be reproduced sharply. As described above, when detecting various defects 91, the integrated pixels 41 having various shapes and sizes are prepared and overlapped, so that the approximate shape and size of the defect 91 can be detected.

[0028] (noise) As described above, forming a virtual large pixel called the integrated pixel 41 acts as if the light receiving area is increased. In addition, the pixel values ​​2111 of the pixels 211 included in the integrated pixel 41 are averaged, summed, or taken as the median by the spatial filter 51, thereby dispersing noise and improving the S / N ratio.

[0029] (Modification) The smallest vertical flaw 912, horizontal flaw 913, etc. determined from the quality requirements may be set as the assumed flaw 95. By setting the smallest flaws of various shapes determined from the quality requirements as the assumed flaw 95, it is possible to reliably detect flaws 91 that meet the quality requirements, and by reconstructing the integrated 2D image 61 and the superimposed 2D image 62 from integrated pixels 41 of various shapes corresponding to the assumed flaw 95, it becomes possible to distinguish the shape and size of flaws 91 larger than the smallest flaw 91. It goes without saying that the pixel value 2111 may be grayscale data with 256 gradations, or color data. Although not shown, the S / N ratio can be further improved by installing multiple line sensor cameras (image sensors) 2 at different angles. From the line sensor cameras (image sensors) 2 with different angles, various images can be acquired showing shadows caused by the shape, size, or whether the defect 91 is concave or convex. Data from the line sensor camera (image sensor) 2 with an angle suitable for the defect 91 (i.e., with a large output) may be used, or the data from all the line sensor cameras (image sensors) 2 may be angle corrected to create a superimposed two-dimensional image 62 for analysis.

[0030] Various integrated pixels 41 are created with the minimum vertical flaw 912, horizontal flaw 913, etc., determined based on quality requirements, as assumed defects 95, and multiple integrated 2D images 61 are reconstructed. In addition, multiple integrated 2D images 61 are superimposed to create a superimposed 2D image 62, making it possible to detect defects 91 of shapes or sizes different from the minimum vertical flaw 912 or horizontal flaw 913.

[0031] (Summary of the effects of the examples) Conventionally, in the surface inspection system 1 using the pixels 211 and pixel values ​​2111, it is necessary to determine the shape using a separate program. Moreover, since the pixels 211 are small, huge calculation resources are required. As described above, in the present invention, the shape and size of the assumed defect 95 can be determined simply by obtaining the integrated pixel value 52 that matches the shape of the integrated pixel 41 that is a pattern of the assumed defect 95, so that the present invention can be used without wasting computational resources. In addition, the integrated pixel 41 created by collecting the pixels 211 has the same effect as having a larger light receiving area, and the representative value 511 is assigned as the integrated pixel value 52 by the spatial filter 51, improving the S / N ratio. Furthermore, changing or adding patterns of the anticipated defects 95 can be done simply by inputting the shape and size of the anticipated defects 95 into the integrated pixel generator 4, eliminating the need for large-scale modifications such as adding a discrimination rule as an algorithm as in the past. Even if the number of patterns of the anticipated defects 95 is drastically increased in order to improve the accuracy of shape discrimination, this can be handled by increasing the number of image processing devices 3 and parallelizing them as shown in Figure 1. This is because only the anticipated defects 95 input to the image processing device 3 are different, and the other programs remain unchanged, allowing for easy parallelization. Furthermore, if the overlapped two-dimensional image 62 is created, the shapes and sizes of defects 91 of various shapes other than the assumed defect 95 can also be detected. If integrated pixels 41 are generated with the assumed defect 95 being the shape and size of the smallest defect 91 determined from the quality requirements, then even if the quality requirements for the defect 91 increase, it can be accommodated without changing the line sensor camera (image sensor) 2. Since the present invention can maximize the performance of the conventional surface inspection system 1 as in the embodiment, it can accommodate even stricter quality requirements. Although the ability to distinguish shape and the ability to calculate area are sacrificed in the analysis on a pixel 211 basis, noise processing is completed at the stage of allocating, to the integrated pixel 41, a representative value 511 (the average value is a median value, etc.) representing that integrated pixel 41 as an integrated pixel value 52, so there is no need to implement various noise countermeasures such as smoothing processing, expansion / contraction processing, and micro-defect removal processing, which are performed in the analysis on a pixel 211 basis, and so no burden is placed on the computer.

[0032] Although the embodiments of the present invention have been described in detail above with reference to the drawings, the specific configuration is not limited to these embodiments, and the present invention also includes design changes and the like that do not deviate from the gist of the present invention. In addition, the above-described embodiments and modifications can be combined by utilizing each other's technologies, as long as there are no particular contradictions or problems in the purpose, configuration, etc. [Explanation of symbols]

[0033] 1 Surface Inspection System 2 Line sensor camera (image sensor) 21 Detection Line 211 pixels 2111 pixel value 22 Line lighting 23 Transmitter 24 Communication lines 3. Image Processing Device 4 Integrated pixel generator 41 Integrated pixels 411 Integrated pixels shifted by 1 pixel 412 1st integrated pixel 413 Second Integrated Pixel 414 3rd Integrated Pixel 415 4th Integrated Pixel 416 5th integrated pixel 417 6th Integrated Pixel 5 Allocation Section 51 Spatial Filters 511 Representative value 52 Integrated pixel value 6 Integrated image reconstruction unit 61 Integrated 2D image 62 Superimposed 2D images 621 Overlapping Pixels 6211 Overlay pixel value 6212 First overlapping pixel value 6213 Second overlapping pixel value 6214 Third overlapping pixel value 7 Discrimination section 71 Threshold 9 steel plate 91 Defects 912 Vertical flaw 913 lateral defect 95 Expected Defects

Claims

[Claim 1] Equipped with an image sensor and an image processing device, the image sensor has a transmitting unit that captures an image of a surface of an object to be inspected and transmits pixel values ​​to the image processing device; The image processing device includes: an integrated pixel generating unit that generates an integrated pixel, which is a collection of pixels obtained by integrating a plurality of adjacent pixels, in accordance with a size and shape of a previously assumed defect; an allocation unit that calculates one representative value from the pixel values ​​of the plurality of pixels included in the integrated pixel based on the pixel values ​​sent from the image sensor, and allocates the representative value as an integrated pixel value; an integrated image reconstruction unit that reconstructs an integrated two-dimensional image filled with the integrated pixels each having one assigned representative value; the integrated pixel generation unit generates another integrated pixel of the same shape by shifting a pixel serving as a starting point of the integrated pixel by one pixel; the allocation unit calculates another representative value from the plurality of pixel values ​​included in the another integrated pixel based on the pixel value sent from the image sensor, and allocates the calculated representative value as another integrated pixel value; The integrated image reconstruction unit reconstructs another integrated two-dimensional image filled with integrated pixels having one other assigned representative value; the integrated pixel generation unit, the allocation unit, and the integrated image reconstruction unit repeatedly reconstruct another integrated two-dimensional image by further shifting the pixel serving as the starting point of the integrated pixel by one pixel; a discrimination unit for discriminating the size and shape of a defect based on the multiple integrated two-dimensional images repeatedly created and their integrated pixel values; A surface inspection system comprising:

Citation Information

Patent Citations

  • Flaw detector and flaw detecting method

    JP2004219177A

  • Photoelectric conversion element, defect inspection device and defect inspection method

    JP2012070288A

  • Method and device for band-shaped material observation and band-shaped material inspection

    JP2018066740A

  • Appearance inspection method and manufacturing method of electronic component

    JP2020076606A

  • Determining the condition of photovoltaic modules

    US20180159468A1