WO2010029932A1 - 外観検査装置 - Google Patents

外観検査装置 Download PDF

Info

Publication number
WO2010029932A1
WO2010029932A1 PCT/JP2009/065711 JP2009065711W WO2010029932A1 WO 2010029932 A1 WO2010029932 A1 WO 2010029932A1 JP 2009065711 W JP2009065711 W JP 2009065711W WO 2010029932 A1 WO2010029932 A1 WO 2010029932A1
Authority
WO
WIPO (PCT)
Prior art keywords
rgb
luminance
inspection
pixel
coordinate system
Prior art date
Application number
PCT/JP2009/065711
Other languages
English (en)
French (fr)
Inventor
昌年 笹井
Original Assignee
株式会社メガトレード
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社メガトレード filed Critical 株式会社メガトレード
Priority to JP2010528728A priority Critical patent/JP5084911B2/ja
Priority to CN200980134031.3A priority patent/CN102138068B/zh
Publication of WO2010029932A1 publication Critical patent/WO2010029932A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/956Inspecting patterns on the surface of objects
    • G01N21/95607Inspecting patterns on the surface of objects using a comparative method
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J3/00Spectrometry; Spectrophotometry; Monochromators; Measuring colours
    • G01J3/46Measurement of colour; Colour measuring devices, e.g. colorimeters
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J3/00Spectrometry; Spectrophotometry; Monochromators; Measuring colours
    • G01J3/46Measurement of colour; Colour measuring devices, e.g. colorimeters
    • G01J3/463Colour matching
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • G01J5/0096Radiation pyrometry, e.g. infrared or optical thermometry for measuring wires, electrical contacts or electronic systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N2021/9513Liquid crystal panels
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/956Inspecting patterns on the surface of objects
    • G01N2021/95638Inspecting patterns on the surface of objects for PCB's
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/9501Semiconductor wafers

Definitions

  • the present invention relates to an appearance inspection apparatus that acquires a color image from an inspection object and inspects the quality of the inspection object and an inspection method thereof, and more specifically, RGB luminance data of a color image is appropriately obtained.
  • the present invention relates to an appearance inspection apparatus which can be inspected with high accuracy by setting a value.
  • the formation state of printed circuit boards, semiconductor wafers, liquid crystal substrates, etc. is inspected by an appearance inspection apparatus.
  • an image of the surface is acquired by a camera, and the quality of the inspection object is inspected from the acquired image.
  • a color image is acquired from an inspection object, and inspection is performed based on RGB information of the color image (Patent Documents 1 to 3, etc.). .
  • Patent Document 4 JP 2007-101415 A JP 2006-78301 A JP 2006-78300 A JP 2007-309703 A
  • the threshold luminance width is set to a large value such as 20 ⁇ R ( ⁇ x) ⁇ 40, 120 ⁇ G ( ⁇ y) ⁇ 200, 60 ⁇ B ( ⁇ z) ⁇ 150. (See FIG. 9).
  • the threshold luminance width is set to be large in this way, there is a possibility that a portion that should be determined as defective cannot be determined as defective.
  • a portion that should be determined as defective cannot be determined as defective.
  • the luminance width of the reference luminance data is increased, the rectangular parallelepiped area in FIG. 9 is increased, and the luminance value of the exposed portion is included in the luminance width of the reference luminance data and can be determined as defective. Disappear.
  • the threshold value is narrowed so that the exposed portion can be determined as defective, a non-defective product is determined as a defective product, and the subsequent visual inspection takes time.
  • An object of the present invention is to provide an appearance inspection apparatus which can be set to an optimum value and improve the quality of inspection.
  • the present invention obtains a color image from an inspection object in an appearance inspection apparatus that inspects the formation state of the inspection object on the basis of an image acquired from the inspection object.
  • RGB information acquisition means for acquiring RGB luminance data in the inspection portion of the object
  • reference data storage means for storing RGB reference luminance data of each inspection portion in the RGB polar coordinate system with the axial direction as the luminance value
  • the RGB information acquisition Conversion means for converting the RGB luminance data of each inspection part acquired from the means into luminance data of the polar coordinate system, and the RGB reference in the RGB polar coordinate system stored in the reference data storage means and the converted luminance data of the polar coordinate system Compared with the luminance data, depending on whether or not the RGB reference luminance data includes the RGB luminance data of the inspection object. It is obtained so as to provide a judging means for judging quality of ⁇ zone.
  • the overall luminance is maintained while maintaining the RGB luminance ratio (color shade). Only a large value can be set, so that variations in luminance can be absorbed and inspection can be performed with high accuracy.
  • a conversion table for converting the luminance data of the RGB orthogonal coordinate system acquired from the inspection object into the RGB polar coordinate system is stored, and each of the acquired inspection regions is obtained with reference to the conversion table. Convert RGB coordinates.
  • RGB luminance data of a predetermined number of pixels adjacent to the reference inspection object is included.
  • RGB luminance is converted into polar coordinate luminance
  • the luminance value is compressed or expanded so as to fit in one byte.
  • the luminance value of RGB falls within the range of 1 byte of “0 to 255”, but when this is converted into the polar coordinate system, the angle ( ⁇ , ⁇ ) from the axial direction is from 0.
  • the distance (L) from the origin falls within the range of 0 to 255 ⁇ 3 (1/2) and exceeds 1 byte. Therefore, the angle from the axial direction is (255 ⁇ 4 / ⁇ ) times, and the distance from the origin is reduced to 1/3 (1/2) times. In this way, data can be compressed within a range of 1 byte.
  • a color image is acquired from the inspection object, and the RGB luminance in the inspection portion of the inspection object RGB information acquisition means for acquiring data, reference data storage means for storing RGB reference luminance data of each inspection part in an RGB polar coordinate system with the axial direction as a luminance value, and each inspection part acquired from the RGB information acquisition means Converting the RGB luminance data of the RGB coordinate data into luminance data of the polar coordinate system, comparing the converted luminance data of the polar coordinate system with the RGB reference luminance data in the RGB polar coordinate system stored in the reference data storage unit, The quality of the inspection area is determined based on whether or not the RGB reference luminance data includes the RGB luminance data of the inspection object. Since the RGB luminance values in the acquired inspection area vary greatly from product to product, only the overall luminance is increased while maintaining the RGB luminance ratio (color shade). Therefore, it is possible to absorb the variation in luminance and to inspect with high accuracy.
  • FIG. 1 shows an outline of the appearance inspection process in the present embodiment
  • FIG. 2 shows a functional block diagram of the appearance inspection apparatus 1.
  • FIG. 3 shows RGB luminance reference data used in the appearance inspection apparatus 1.
  • the appearance inspection apparatus 1 in this embodiment can inspect a printed circuit board, a semiconductor wafer, other cracks generated in an article, a state printed on the surface of the article, and the like.
  • an example is given. The case where the formation state of the printed circuit board is inspected will be described.
  • the appearance inspection apparatus 1 is acquired by the imaging means 2 that acquires a surface image from the inspection object 11 and the imaging means 2, as in a general appearance inspection apparatus.
  • RGB information processing means for obtaining RGB information of each pixel from the obtained image
  • correction processing means 6 for aligning the image of the inspection object 11 and the image that is the reference data, and the inspection object subjected to the alignment correction in this way
  • determining means 8 for determining the quality of the pixel using the RGB luminance data of each pixel of the object 11.
  • the conversion means 7 for converting the RGB luminance data of each image acquired from the inspection object 11 into the RGB luminance data of the polar coordinate system, and the converted RGB luminance data and stored in the storage means 5 in advance. This is compared with the RGB luminance reference data of the polar coordinate system, and the quality of each pixel is judged, and the result can be outputted via the output means 9.
  • a specific configuration of the appearance inspection apparatus 1 will be described in detail.
  • the imaging means 2 acquires the surface image from the reference object 10 and the inspection object 11 necessary for the inspection, and acquires the surface image by color.
  • This imaging means 2 irradiates light from an oblique direction, and acquires the reflected light by the CCD camera or the like above it.
  • images are acquired using different angles, different colors, and brightness with respect to the reference object 10 and the inspection object 11, and the acquired images are selected and used.
  • the reference object 10 generates reference data as a reference when the inspection object 11 is inspected.
  • the reference object 10 that has been determined to be non-defective by visual inspection or other inspection devices is generally used. To do.
  • the reference data generation means 4 acquires a surface image from a reference object 10 prepared in advance, and generates reference data from the image of the reference object 10.
  • the generated reference data includes data relating to the entire shape of the reference object 10, data relating to a plurality of rectangular areas inside the reference object 10, data relating to each pixel, and the like.
  • data relating to the overall shape includes data relating to the length and width of the printed circuit board
  • data relating to the rectangular area includes data such as pattern images in the rectangular area
  • data relating to each pixel includes data relating to each pixel.
  • Data such as RGB luminance, allowable luminance width, and search distance are used.
  • the “allowable luminance width” indicates the RGB luminance width in a pixel that is determined to be good or bad.
  • a portion having a large luminance change such as a silk edge, a pad edge, or a wiring pattern edge.
  • the “search distance” indicates a distance for searching whether or not there is a pixel corresponding to the reference object 10 with a predetermined pixel position as the center. For example, a silk edge, a pad
  • the search distance is set to a large value such as 3 to 5 pixels for a portion where the luminance change is large such as the edge of the wiring pattern or the edge of the wiring pattern.
  • the allowable luminance width expressed in polar coordinates is ⁇ ⁇ , ⁇ ⁇ , ⁇ ⁇ L are set, and the search distance is set to 3 pixels or the like.
  • the allowable luminance width and the search distance are not limited to these values, and may be set manually.
  • FIG. 3 shows reference data used when determining the quality of each pixel.
  • the luminance values of RGB are set on the respective axes, and the luminance values are set to increase in the direction of the arrows.
  • the RGB hue slightly changes depending on the resist unevenness of the inspection object 11, the change of the lot, and the color composition.
  • the luminance width of the RGB luminance reference data is set to be large as described above, most pixels are included in the range of the reference data. Anything that can be seen is included in the range of the reference data and judged as “good”.
  • the RGB luminance values of the pixels adjacent to the pixel are set to be included. Then, the RGB luminance reference data set in this way is stored in the storage means 5.
  • the correction processing unit 6 performs correction processing for making the image of the inspection object 11 imaged by the imaging unit 2 substantially coincide with the image of the reference object 10.
  • An example of the correction of the entire image in this correction processing is shown in FIG. In FIG. 4, a solid line portion shaded with diagonal lines indicates the reference object 10, and a broken line indicates the inspection object 11.
  • FIG. 4A when the inspection object 11 is smaller than the reference object 10 (FIG. 4A), correction processing is performed to enlarge the entire shape by ⁇ x and ⁇ y .
  • the inspection object 11 is rotated by also [delta] theta than reference object 10 performs correction processing as rotated by that angle.
  • FIG. 5A shows an example of a rectangular area where the reference object 10 is located
  • FIG. 5B shows a rectangular area at the same position of the inspection object 11.
  • the pad or wiring pattern of the inspection object 11 may be displaced in a predetermined direction from the pad or wiring pattern of the reference object 10.
  • a parallel movement correction process is performed so that the image in the rectangular area of the inspection object 11 substantially matches the reference object 10.
  • the RGB information acquisition means 3 acquires RGB luminance data of each pixel from the image of the inspection object 11 that has been corrected in this way.
  • the converted coordinates are converted into coordinates in the RGB polar coordinate system using the conversion means 7.
  • the values (x, y, z) of the orthogonal coordinate system are previously set to the values of the polar coordinate system ( ⁇ , ⁇ , L), a conversion table to be converted is prepared, and converted to RGB luminance data of the polar coordinate system with reference to this conversion table.
  • the relationship between orthogonal coordinates and polar coordinates is as follows.
  • x is the luminance value of R in the Cartesian coordinate system
  • y is the luminance value of G in the Cartesian coordinate system
  • z is the luminance value of B in the Cartesian coordinate system
  • is the angle made with the x axis in the polar coordinate system
  • is the polar coordinate
  • the angle L formed with the z-axis in the system indicates the overall luminance value in the polar coordinate system.
  • the determination means 8 determines whether or not the inspection object 11 has a pixel corresponding to each pixel of the reference object 10, and the first pixel determination means 81 and the second pixel as described below.
  • a pixel determination unit 80 including a determination unit 82 and a cluster determination unit 83 are provided.
  • the first pixel determination unit 81 specifies the position of the inspection object 11 corresponding to each pixel of the reference object 10 with the reference object 10 as a reference, and within a search distance centered on this position. Then, it is determined whether or not there is a pixel within an allowable luminance width with respect to the luminance of the pixel. In this determination, if even one pixel within the allowable luminance width of the RGB luminance reference data exists within the search distance, it is determined as “good pixel”, and conversely, a pixel within the allowable luminance width within the search distance. Is not determined at all, it is determined as “defective pixel”.
  • the correction processing means 6 can completely match the reference object 10 and the inspection object 11, the pixel at the position of the inspection object 11 corresponding to the pixel position of the reference object 10 may be inspected.
  • the resolution is increased, there is a possibility that the shift is about several pixels. For this reason, if there is an almost identical luminance within the search distance, it is determined as “good pixel” as a primary determination.
  • the determination result by the first pixel determination unit 81 is visually displayed on a display device or the like. For example, in the portion determined as “defective pixel”, an “x” mark or the like is displayed on the image of the reference object 10. Indicates.
  • the second pixel determination means 82 uses the inspection object 11 as a reference, and within the search distance centered on the position of the reference object 10, the allowable luminance width for the luminance of the pixel of the inspection object 11 It is determined whether or not there is a pixel inside. Also in this determination, if there is even one pixel within the allowable luminance width within the search distance, it is determined as “good pixel”, and conversely, there is no pixel within the allowable luminance width within the search distance. Is determined as “defective pixel”. When the comparison process is performed using the inspection object 11 as a reference, an image of the inspection object 11 after the above correction process is used.
  • the position of the reference object 10 corresponding to the position (the center position of the first search distance) of the inspection object 11 after the correction processing is specified, and the allowable luminance width / search distance at the position is stored. It is read out from the means 5 and it is determined whether or not a pixel within the allowable luminance width with respect to the luminance at the position of the inspection object 11 exists on the reference object 10 within the search distance.
  • the first search distance and the second search distance match, and the first allowable luminance width and the second allowable luminance width match.
  • the correction processing means 6 can completely match the reference object 10 and the inspection object 11, the pixel at the position of the inspection object 11 corresponding to the pixel position of the reference object 10 may be inspected.
  • the resolution is increased, there is a possibility that the shift is about several pixels.
  • the second determination result is visually displayed on the display device, overwritten on the determination image by the first pixel determination unit 81, and determined as a “defective pixel”. An “x” mark or the like is shown in the part.
  • the pixel determination unit 80 determines that there is at least one pixel within the allowable luminance width within the search distance of the inspection object 11, and within the allowable luminance width within the search distance of the reference object 10. On the condition that at least one pixel exists, the pixel existing at the position of the reference object 10 is determined as a good pixel. Conversely, when there is no pixel within the allowable luminance width within the search distance of the inspection object 11, or when there are no pixels within the allowable luminance width within the search distance of the reference object 10, A pixel present at the position of the reference object 10 is determined as a defective pixel.
  • the cluster determining means 83 determines whether or not the inspection object 11 is a defective product as a whole. judge. This pass / fail determination is determined to be a defective product when there are a predetermined number or more of adjacent pixels determined to be “defective pixels”.
  • the output unit 9 outputs the determination result by the cluster determination unit 83 in a reportable manner. At this time, since it is necessary to inform the user which part is a defective cluster, the position of the cluster determined to be a defective cluster by the cluster determination means 83 is visually output to the display device.
  • FIG. 7 shows a flowchart for generating reference data when inspecting the inspection object 11.
  • each image is acquired from a plurality of reference objects 10 prepared in advance (step S1).
  • the data relating to the entire area, the data relating to the rectangular area, and the data relating to the pixels are generated for each reference object 10 (step S2).
  • an average value of data relating to the entire area, an average value of data relating to the rectangular area, an average value of RGB data relating to pixels, and a standard deviation value are calculated (step S3).
  • the upper limit value of the allowable luminance width and the upper limit value of the search distance are manually input (step S4). This input is not performed at this stage, but may be performed in advance before step S1.
  • step S3 After the calculation of the average value and the standard deviation value in step S3, for the pixels having a large standard deviation value, the upper limit value of the allowable luminance width and the upper limit value of the search distance that are input previously are set, For pixels having a small standard deviation value, the allowable luminance width and the search distance are set to be small (step S5). Then, RGB luminance reference data is generated with RGB polar coordinates for each pixel and stored in the storage means 5 (step S6).
  • step T1 when inspecting the inspection object 11, the surface image is acquired from the inspection object 11 (step T1). This captured image may be misaligned depending on the image acquisition method, and may be different from the state of the image of the reference object 10 stored in the storage unit 5. Therefore, correction processing is performed to make the image states substantially coincide (step T2).
  • step T2 the entire shape is corrected. Specifically, three corner points on the inspection object 11 are extracted, and the vertical and horizontal lengths, rotation angles, parallel movement distances, and the like of the inspection object 11 are calculated from the three points. Then, based on these vertical and horizontal lengths, rotation angles, parallel movement distances, etc., correction processing is performed so that the entire image of the inspection object 11 substantially matches the entire image of the reference data.
  • the rectangular area is corrected.
  • the image of the inspection object 11 is translated so that the image of the predetermined rectangular area of the reference object 10 and the image of the corresponding rectangular area of the inspection object 11 substantially coincide. .
  • step T3 the position, RGB luminance, allowable luminance width, and search distance for each pixel of the reference object 10 are read from the storage means 5 (step T3). Then, the position of the inspection object 11 corresponding to the read pixel is specified, and within the RGB luminance reference data (allowable luminance width) set in the RGB polar coordinate system within the search distance with the position as the center. It is determined whether or not there is a pixel (step T4).
  • the RGB luminance data of the pixel read from the inspection object 11 is converted into the polar coordinate system with reference to the conversion table, and the RGB luminance data in the polar coordinate system is converted. And compare.
  • the first pixel determining unit 81 determines that no pixel within the allowable luminance width exists within the search distance, the pixel at the position of the reference object 10 is determined as a “defective pixel”. (Step T8).
  • the position of the reference object 10 corresponding to the position of the inspection object 11 is determined based on the image of the inspection object 11 after the correction process. It is determined whether or not there is a pixel within the RGB luminance reference data (allowable luminance width) set by the RGB polar coordinates within the search distance as the center. However, since each pixel of the inspection object 11 does not store data such as an allowable luminance width and a search distance, the allowable luminance width and the search of the position of the reference object 10 corresponding to the position of the inspection object 11 are stored. Use distance.
  • an allowable luminance width and a search distance of the position of the reference object 10 corresponding to the position of the inspection object 11 are read (step T5). Then, based on the read allowable luminance width and the search distance, the tolerance for the RGB luminance data of the inspection object 11 expressed in the polar coordinate system within the search distance with the position of the corresponding reference object 10 as the center. It is determined whether or not there is a pixel within the luminance width (step T6). At this time, the determination is made by converting the RGB luminance data acquired from the inspection object 11 into the RGB luminance data of the polar coordinate system using the conversion table. If it is determined by the second pixel determining means 82 that there is no luminance pixel within the allowable luminance width within the search distance, the pixel at the position of the reference object 10 is determined as a “defective pixel”. (Step T8).
  • step T4 if it is determined as “good pixel” in step T4 and “good pixel” is determined in step T6, the pixel corresponding to the position of the reference object 10 is determined as “good pixel” (step T7). .
  • step T9 If all the pixels have been inspected (step T9; Yes), the number of adjacent defective pixels among the pixels of the reference object 10 determined as “defective pixels” by the pixel determination unit 80 is then determined.
  • the inspection object 11 When there are more than a predetermined number of defective pixels (step T10), the inspection object 11 outputs that it is a defective product (step T11), while the number of all adjacent defective pixels Is less than the predetermined number, an output indicating that the product is non-defective is output (step T12).
  • a color image is acquired from the inspection object 11.
  • RGB information acquisition means 3 for acquiring RGB luminance data in the inspection portion of the inspection object 11, storage means 5 for storing RGB reference luminance data of each inspection portion in the RGB polar coordinate system with the axial direction as the luminance value,
  • the RGB luminance data of each inspection part acquired from the RGB information acquisition unit 3 is compared with the RGB reference luminance data in the RGB polar coordinate system stored in the storage unit 5, and the inspection object 11 is included in the RGB reference luminance data. Since the determination means 8 for determining whether the inspection area is good or not is provided depending on whether or not the RGB luminance data is included. Even if the RGB luminance values in the inspection area vary greatly from product to product, only the luminance can be set large while maintaining the RGB balance, and the luminance variation can be absorbed and high quality inspection can be performed. become able to.
  • a conversion table for converting the luminance data of the RGB orthogonal coordinate system acquired from the inspection object 11 into the RGB polar coordinate system is stored, and the RGB coordinates of each acquired inspection area are converted using this conversion table. Since each pixel is inspected, it is not necessary to perform an operation for coordinate conversion, and the processing speed at the time of inspection can be increased.
  • the RGB luminance data of a predetermined number of pixels adjacent to the reference inspection object 11 is included, so that the reference data and the inspection object 11 are aligned in pixel units. It can be inspected without it, and it can be inspected with fewer false alarms.
  • the luminance value is compressed or expanded to fit within 1 byte, so the converted luminance value is stored within the 1-byte range. Can be compressed.
  • the correction processing unit 6 is used to correct the image of the inspection object 11, but the image of the reference object 10 may be corrected. Alternatively, such a correction process may not be performed when complete alignment is possible.
  • a conversion table for converting to polar coordinates is prepared in advance, and the conversion table is referred to convert from the orthogonal coordinate system to the polar coordinate system.
  • coordinate conversion is performed for each pixel. You may make it calculate.
  • the present invention can also be applied to an inspection object 11 that requires an appearance inspection other than this.
  • each pixel is inspected, but RGB luminance data may be collected and inspected for each predetermined area.
  • one RGB luminance data is calculated for each region, and the calculation result is compared with the RGB reference luminance data expressed in the polar coordinate system.
  • ⁇ and ⁇ are expanded to 255 ⁇ 2 / ⁇ times. However, since they are within the range of 1 byte, the luminance value may be used as it is.
  • the maximum value is set to 255.
  • this is a value of 2 gradation bits raised to ⁇ 1, and this value can be used depending on the gradation bits. it can.
  • summary of the inspection processing method in one embodiment of this invention Functional block diagram of an appearance inspection apparatus in the same form
  • generation flow of the reference data in the form The figure which shows the flow of the inspection process in the same form

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Engineering & Computer Science (AREA)
  • Immunology (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

【課題】カラー画像を用いて検査対象物の形成状態を検査する場合に、取得されたカラー画像のRGBに対して検査のための閾値を最適な値に設定して検査の品質を向上できるようにする。 【解決手段】検査対象物11を検査する外観検査装置1において、検査対象物11からカラー画像を取得し、当該検査対象物11の検査部分におけるRGB輝度データを取得するRGB情報取得手段3と、軸方向を輝度値としたRGB極座標系において各検査部分のRGB基準輝度データを記憶させる記憶手段5と、前記RGB情報取得手段3から取得された各検査部分のRGB輝度データと、前記記憶手段5に記憶されたRGB極座標系におけるRGB基準輝度データとを比較し、RGB基準輝度データ内に検査対象物11のRGB輝度データが含まれているか否かによって当該検査領域の良否を判定する判定手段8を備えるようにする。

Description

外観検査装置
 本発明は、検査対象物からカラー画像を取得して、その検査対象物の良否を検査する外観検査装置およびその検査方法に関するものであり、より詳しくは、カラー画像のRGBの輝度データを適正な値に設定することで高精度に検査できるようにした外観検査装置に関するものである。
 一般に、プリント基板や半導体ウエハ、液晶基板などは、外観検査装置によってその形成状態が検査される。このような外観検査装置によって検査対象物を検査する場合、一般的には、カメラによってその表面の画像を取得し、その取得された画像から検査対象物の良否を検査する。特に、近年では、このような検査を行うに際して、検査対象物からカラー画像を取得して、そのカラー画像のRGB情報に基づいて検査を行うようにしている(特許文献1~特許文献3など)。
 このような外観検査装置において、プリント基板を検査する場合の一例について説明すると、まず、プリント基板を検査する場合は、プリント基板からその表面に形成されたパッドや配線パターン、レジスト、シルクなどの画像を取得する。そして、検査対象物の画像と基準画像とを位置合わせした後、検査対象物のある座標位置に存在する画素に対応する基準画像の画素を見つけ出し、その見つけ出された基準画素の許容輝度幅内に検査対象物の画素の輝度値が入っていれば、その画素を優良画素であると判断する。また、逆に、許容輝度幅内に入っていなければ不良画素であると判断し、所定数以上の不良画素が隣接して存在している場合に、そのプリント基板を不良品であると判断する(特許文献4)。
特開2007-101415号公報 特開2006-78301号公報 特開2006-78300号公報 特開2007-309703号公報
 しかしながら、このような検査をカラー画像で検査する場合、次のような問題を生ずる。すなわち、検査対象物からカラー画像を取得して、画素ごとにRGBの輝度データを検査する場合、RGBのそれぞれの基準輝度幅内にその検査対象物の画素が含まれているか否かを判断するが、例えば、レジスト下層にパターンが存在しているような場合は、良品であったとしても、そのレジストの厚みのむらや、ロットの変更、色の調合具合によって微妙にRGBの色合いが変化してしまうことがある。特に輝度変化が大きい場合は、良品であったとしても、暗い緑から明るい緑までの輝度幅が(R,G,B)=(20,120,60)~(40,200,150)の範囲で変化してしまうことがあり、RGB直交座標系で閾値の輝度幅を20<R(Δx)<40、120<G(Δy)<200、60<B(Δz)<150と大きめに設定しなければならない(図9参照)。しかるに、このように閾値の輝度幅を大きめに設定すると、本来不良と判定すべき箇所を不良と判定できなくなる可能性がある。具体的には、例えば、レジストが剥げてパターンの銅が露出している不良部分が存在している場合、一般に、そのような部分は、薄いレジストで覆われていているため完全な銅色ではなく、うっすら赤みを帯びたレジスト色(輝度値が(R,G,B)=(35,150,80))となる。このため、基準輝度データの輝度幅を大きくすると、図9における直方体の領域が大きくなり、この露出部分の輝度値はこの基準輝度データの輝度幅内に含まれて、不良と判定することができなくなる。一方、この露出部分を不良と判定できるように閾値の幅を狭くすると、良品であるものが不良品と判定してしまい、その後の目視検査に手間がかかってしまうという問題を生ずる。
 そこで、本発明は、上記課題に着目してなされたもので、カラー画像を用いて検査対象物の形成状態を検査する場合に、取得されたカラー画像のRGBに対して検査のための閾値を最適な値に設定して検査の品質を向上できるようにした外観検査装置を提供することを目的とする。
 本発明は、上記課題を解決するために、検査対象物から取得された画像に基づいて当該検査対象物の形成状態を検査する外観検査装置において、検査対象物からカラー画像を取得し、当該検査対象物の検査部分におけるRGB輝度データを取得するRGB情報取得手段と、軸方向を輝度値としたRGB極座標系で各検査部分のRGB基準輝度データを記憶させる基準データ記憶手段と、前記RGB情報取得手段から取得された各検査部分のRGB輝度データを極座標系の輝度データに変換する変換手段と、当該変換された極座標系の輝度データと前記基準データ記憶手段に記憶されたRGB極座標系におけるRGB基準輝度データとを比較して、RGB基準輝度データ内に検査対象物のRGB輝度データが含まれているか否かによって当該検査領域の良否を判定する判定手段とを設けるようにしたものである。
 このようにすれば、取得した検査領域におけるRGBの輝度値が製品ごとに大きくばらついていたとしても、図3に示すように、RGBの輝度の割合(色合い)を保った状態で全体的な輝度のみを大きく設定することができ、輝度のばらつきを吸収して高精度に検査させることができるようになる。
 また、このような発明において、検査対象物から取得されたRGB直交座標系の輝度データをRGB極座標系に変換させる変換テーブルを記憶させ、当該変換テーブルを参照して前記取得された各検査領域のRGB座標を変換させる。
 このようにすれば、あらかじめ用意された変換テーブルを参照して座標変換するため、検査の都度、座標変換の演算をする必要がなく、検査時における処理速度を早くすることができる。
 さらに、RGB基準輝度データを設定する場合、基準となる検査対象物の隣接する所定画素数のRGB輝度データを含ませるようにする。
 このようにすれば、基準データと検査対象物とを画素単位で位置あわせしなくても検査することができ、虚報を減らして検査することができるようになる。
 加えて、RGBの輝度を極座標系の輝度に変換した場合に、1バイトに収まるように輝度値を圧縮もしくは拡張させるようにする。
 通常、直交座標系ではRGBの輝度値は「0~255」の1バイトの範囲内に収まるが、これを極座標系に変換した場合、軸方向からの角度(θ、ρ)については、0から2/πの範囲内と十分に1バイトの範囲内に収まり、一方、原点からの距離(L)については、0から255×3(1/2)の範囲内と1バイトを超えてしまう。そのため、軸方向からの角度については、(255×4/π)倍とし、また、原点からの距離については、1/3(1/2)倍に縮小する。このようにすると、1バイトの範囲内に収めてデータを圧縮することができる。
 本発明では、検査対象物から取得された画像に基づいて当該検査対象物の形成状態を検査する外観検査装置において、検査対象物からカラー画像を取得し、当該検査対象物の検査部分におけるRGB輝度データを取得するRGB情報取得手段と、軸方向を輝度値としたRGB極座標系で各検査部分のRGB基準輝度データを記憶させる基準データ記憶手段と、前記RGB情報取得手段から取得された各検査部分のRGB輝度データを極座標系の輝度データに変換する変換手段と、当該変換された極座標系の輝度データと前記基準データ記憶手段に記憶されたRGB極座標系におけるRGB基準輝度データとを比較して、RGB基準輝度データ内に検査対象物のRGB輝度データが含まれているか否かによって当該検査領域の良否を判定する判定手段とを設けるようにしたので、取得した検査領域におけるRGBの輝度値が製品ごとに大きくばらついていたとしても、RGBの輝度の割合(色合い)を保った状態で全体的な輝度のみを大きく設定することができ、輝度のばらつきを吸収して高精度に検査させることができるようになる。
 以下、本発明の一実施の形態について図面を参照しながら説明する。図1は、本実施の形態における外観検査の処理概要を示したものであり、図2は、その外観検査装置1における機能ブロック図を示したものである。また、図3は、その外観検査装置1で使用されるRGB輝度基準データを示したものである。
 この実施の形態における外観検査装置1は、プリント基板や半導体ウエハ、その他、物品に生じた亀裂、物品の表面に印刷された状態などを検査できるようにしたもので、この実施の形態では、一例としてプリント基板の形成状態を検査する場合について説明する。
 この外観検査装置1は、図2の機能ブロック図に示すように、一般的な外観検査装置と同様に、検査対象物11から表面画像を取得する撮像手段2と、この撮像手段2によって取得された画像から各画素のRGB情報を取得するRGB情報処理手段と、検査対象物11の画像と基準データである画像とを位置合わせする補正処理手段6と、このように位置合わせ補正された検査対象物11の各画素のRGB輝度データを用いて当該画素の良否を判定する判定手段8とを備えてなる。そして、特徴的に、検査対象物11から取得された各画像のRGBの輝度データを極座標系のRGB輝度データに変換する変換手段7と、当該変換されたRGB輝度データとあらかじめ記憶手段5に記憶された極座標系のRGB輝度基準データとを比較して各画素の良否を判定し、その結果を出力手段9を介して出力できるようにしたものである。以下、この外観検査装置1の具体的構成について詳細に説明する。
 まず、撮像手段2は、検査に対し必要となる基準対象物10や検査対象物11からその表面画像を取得するもので、カラーによってその表面画像を取得する。この撮像手段2は、斜め方向から光を照射し、その上方でそのCCDカメラなどによってその反射光を取得する。このとき、基準対象物10や検査対象物11に対して異なる角度および異なる色、明るさを用いて画像を取得し、その取得された画像を取捨選択して用いる。なお、この基準対象物10は、検査対象物11を検査するに際して基準となる基準データを生成するもので、目視もしくは他の検査装置などによって既に良品であると判定されたものを一般的に使用する。
 基準データ生成手段4は、あらかじめ用意された基準対象物10から表面画像を取得して、その基準対象物10の画像から基準データを生成する。この生成される基準データは、基準対象物10の全体形状に関するデータや、その内側の複数の矩形領域に関するデータ、各画素に関するデータなどによって構成される。このうち、全体形状に関するデータとしては、プリント基板の縦横の長さなどに関するデータ、また、矩形領域に関するデータとしては、矩形領域内のパターン画像などのデータ、各画素に関するデータとしては、各画素のRGB輝度や許容輝度幅及び探索距離などのデータなどが用いられる。ここで、「許容輝度幅」とは、良否判定となる画素におけるRGB輝度の幅を示すものであり、例えば、シルクの縁、パッドの縁、配線パターンの縁などのように輝度変化の大きい部分については大きく設定されるものである。また、「探索距離」とは、所定の画素位置を中心として基準対象物10に対応する画素が存在するか否かを探索するための距離を示すものであって、例えば、シルクの縁、パッドの縁、配線パターンの縁などのように輝度変化の大きい部分については、探索距離も3画素から5画素などのように大きく設定されるものである。これらの許容輝度幅や探索距離は自動的に設定され、予め許容輝度幅や探索距離の上限値をマニュアルで設定しておき、例えば、図1においては、極座標で表現された許容輝度幅を±Δθ、±Δρ、±ΔLと設定し、探索距離を3画素などと設定する。なお、この許容輝度幅や探索距離については、これらの値に限定されるものではなく、マニュアルで設定してもよい。
 図3に、この基準データの概要を示す。図3は、各画素の良否を判定する際に使用される基準データを示したものであり、各軸をRGBの輝度値とし、矢印の方向に向かって輝度値を大きく設定している。一般に、このようなRGB直交座標系で基準データを設定する場合、検査対象物11のレジストのむら、ロットの変更、色の調合具合によって微妙にRGBの色合いが変化してしまう。特に、製品によって輝度変化が大きい場合は、暗い緑から明るい緑までの輝度幅が(R,G,B)=(20,120,60)~(40,200,150)の範囲で変化してしまうことがある。このため、RGB直交座標系で基準輝度データを設定すれば、輝度幅を20<R<40、120<G<200、60<B<150というように大き目に設定しなければならなくなる(図9の状態)。しかるに、このようにRGB輝度基準データの輝度幅を大きく設定すると、ほとんどの画素が基準データの範囲内に含まれてしまうため、実際には、RGB輝度値のバランスが大きく異なって全く違う色に見えるものまで基準データの範囲内に含まれて「良」と判定されてしまう。より具体的には、レジストが剥げてパターンの銅が露出している箇所が存在している場合は、その部分は、本来「不良」と判定されなければならないが、この部分は、部分的に薄いレジストで覆われていているため、うっすら赤みを帯びたレジスト色(輝度値が(R,G,B)=(35,150,80))となることが多い。このため、このような部分をRGB直交座標系の基準データで判定すると、不良と判定できなくなる。
 そこで、この実施の形態では、図3に示すように、RGB極座標系の空間で表現されるRGB輝度基準データを用いる。このような座標系を用いれば、RGB輝度値のバランスを保った状態で輝度値が全体的に小さくなった場合であっても、その画素を良画素と判定することができる。すなわち、図3に示すように、輝度値が(R,G,B)=(20,120,60)~(40,200,150)の範囲内の画素を判定する場合、全体のRGB輝度値のバランスを保って全体の輝度値のみ異なる画素を良画素と判定することができる。一方、(R,G,B)=(35,150,80)などといった輝度値バランスの異なった画素、すなわち、色合いの全く異なる画素を不良画素と判定することができるようになる。なお、これらの画素のRGB輝度基準データを生成する場合、その画素に隣接する画素のRGB輝度値も含まれるように設定する。そして、このように設定されたRGB輝度基準データを、記憶手段5に格納する。
 補正処理手段6は、撮像手段2によって撮像された検査対象物11の画像を、基準対象物10の画像にほぼ一致させるための補正処理を行う。この補正処理における全体画像の補正の例を図4に示す。図4において、斜線で網掛けされた実線部分は基準対象物10を示し、破線は検査対象物11を示している。図4に示すように、検査対象物11が基準対象物10よりも小さい場合は(図4(a))、全体形状をδx、δyだけ拡大させるような補正処理を行う。また、検査対象物11が基準対象物10よりもδθだけ回転している場合は、その角度だけ回転させるような補正処理を行う。また、検査対象物11が基準対象物10に対して平行にずれている場合は、そのずれ量分だけ平行移動させるような補正処理を行う。これらの補正処理は、例えば、検査対象物11がステージ上の正規の位置に固定されていない場合や、検査対象物11の寸法上に誤差が存在する場合などに有効となる。
 次に、この補正処理の別の態様を図5に示す。図5(a)は、基準対象物10のある矩形領域の例を示したものであり、図5(b)は、検査対象物11の同じ位置における矩形領域を示したものである。実際の製品では、図5(b)に示すように、検査対象物11のパッドや配線パターンなどが、基準対象物10のパッドや配線パターンなどよりも所定方向にずれている場合がある。このような場合に、検査対象物11の矩形領域内の画像を基準対象物10にほぼ一致させるような平行移動の補正処理を行う。これらの補正処理を行うことにより、検査対象物11のパッドや配線パターンなどは、基準対象物10のパッドや配線パターンなどとほぼ一致することになり、あまり探索距離を大きくしなくても許容輝度幅内の画素を見つけ出すことができる。すなわち、本来ならば、補正前のずれた画像の対応する位置まで探索距離を広げて画素を見つけ出さなければならないところを、狭い探索距離で対応する画素を見つけ出すことができるようになる。そして、このように探索距離を狭めることによって、無関係な画素でたまたま輝度が一致するものを「対応する画素」と判定してしまうことを防止することができるようになる。
 そして、RGB情報取得手段3は、このように補正処理された後の検査対象物11の画像から各画素のRGB輝度データを取得する。このとき、取得されたRGB輝度データは(R,G,B)=(0,0,0)~(255,255,255)の範囲内に含まれる情報となるが、この直交座標系で表現された座標を変換手段7を用いてRGB極座標系の座標に変換する。
 変換手段7を用いて直交座標系を極座標系に変換させる場合、この実施の形態では、図6に示すように、あらかじめ直交座標系の値(x,y,z)を極座標系の値(θ,ρ,L)の値に変換させる変換テーブルを用意しておき、この変換テーブルを参照して極座標系のRGB輝度データに変換させる。一般に、直交座標と極座標との関係は、次のような関係を示す。
x=Lsinρcosθ
y=Lsinρsinθ
z=Lcosθ
ただし、xは直交座標系におけるRの輝度値、yは直交座標系におけるGの輝度値、zは直交座標系におけるBの輝度値、θは極座標系におけるx軸とのなす角度、ρは極座標系におけるz軸とのなす角度、Lは極座標系における全体の輝度値を示す。
 そこで、これらの関係を逆変換させて、(x,y,z)の値を次のような極座標系の値に変換し、これらの変換値を変換テーブルとして記憶手段5に記憶させておく。
ρ=tan-1{(x+y1/2/z}
θ=tan-1(y/x)
L=(x+y+z1/2
 ところで、このように直交座標系の輝度値(0~255)を極座標系の輝度値に変換した場合、θやρについては、0≦θ≦π/2、0≦ρ≦π/2、となり、Lについては、0≦L≦255×3(1/2)となる。このため、θやρについては、1バイトよりも小さくなり、Lについては1バイトを超えてしまう。そこで、θやρを、ちょうど1バイトになるように変換後の輝度値を255×2/π倍とし、また、Lについては、ちょうど1バイトに収まるように変換後の輝度値を1/3(1/2)倍に圧縮する。
 判定手段8は、基準対象物10の各画素に対応する画素が検査対象物11に存在するか否かを判定するもので、次に示すような第一の画素判定手段81と第二の画素判定手段82からなる画素判定手段80と、クラスタ判定手段83とを備える。
 まず、第一の画素判定手段81は、基準対象物10を基準として、その基準対象物10の各画素に対応する検査対象物11の位置を特定し、この位置を中心とする探索距離内に、その画素の輝度に対する許容輝度幅内の画素が存在するか否かを判定する。この判定に際しては、探索距離内にRGB輝度基準データの許容輝度幅内の画素が一つでも存在する場合は、「良画素」と判定し、逆に、探索距離内に許容輝度幅内の画素が全く存在しない場合は「不良画素」と判定する。通常、補正処理手段6によって基準対象物10と検査対象物11を完全に一致させることができれば、基準対象物10の画素位置に対応する検査対象物11の位置の画素を検査すれば良い。しかしながら、実際には、光学的なずれや機械的なずれが存在することから、完全に一致させることが困難であり、また、分解能を上げた場合は数画素程度ずれる可能性がある。このため、探索距離内においてほぼ輝度の一致するものが存在すれば、一次的判断として「良画素」と判定する。この第一の画素判定手段81による判定結果は、ディスプレイ装置などに可視的に表示され、例えば、「不良画素」と判定された部分には、基準対象物10の画像上に「×」印などを示す。
 第二の画素判定手段82は、今度は逆に、検査対象物11を基準として、基準対象物10の位置を中心とする探索距離内に、その検査対象物11の画素の輝度に対する許容輝度幅内の画素が存在するか否かを判定する。この判定に際しても、探索距離内に許容輝度幅内の画素が一つでも存在する場合は、「良画素」と判定し、逆に、探索距離内に許容輝度幅内の画素が全く存在しない場合は「不良画素」と判定する。この検査対象物11を基準として比較処理を行う場合、前述の補正処理された後の検査対象物11の画像を用いる。そして、補正処理された後の検査対象物11の前記位置(前記第一の探索距離の中心位置)に対応する基準対象物10の位置を特定し、その位置における許容輝度幅・探索距離を記憶手段5から読み出して、その探索距離内に検査対象物11のその位置の輝度に対する許容輝度幅内の画素が基準対象物10上に存在するか否かを判定する。この場合、本発明との関係において、第一の探索距離と第二の探索距離は一致することになり、第一の許容輝度幅と第二の許容輝度幅は一致することになる。通常、補正処理手段6によって基準対象物10と検査対象物11を完全に一致させることができれば、基準対象物10の画素位置に対応する検査対象物11の位置の画素を検査すれば良い。しかしながら、実際には、光学的なずれや機械的なずれが存在することから、完全に一致させることが困難であり、また、分解能を上げた場合は数画素程度ずれる可能性がある。このため、探索距離内においてほぼ輝度が一致するものが存在していれば、二次的判断として「良画素」と判定する。この第二の判定結果は、先の第一の判定結果と同様に、ディスプレイ装置に可視的に表示され、第一の画素判定手段81による判定画像に上書きして、「不良画素」と判定された部分に「×」印などを示していく。
 そして、最終的に、画素判定手段80は、検査対象物11の探索距離内に許容輝度幅内の画素が一つでも存在すること、及び、基準対象物10の探索距離内に許容輝度幅内の画素が一つでも存在することを条件に、その基準対象物10の位置に存在する画素を良画素と判定する。また、逆に、検査対象物11の探索距離内に許容輝度幅内の画素が全く存在しない場合、もしくは、基準対象物10の探索距離内に許容輝度幅内の画素が全く存在しない場合は、その基準対象物10の位置に存在する画素を不良画素と判定する。
 クラスタ判定手段83は、この画素判定手段80によって「不良画素」と判定された基準対象物10の画素群の大きさに基づいて、その検査対象物11が全体として不良品であるか否かを判定する。この良否の判定は、「不良画素」と判定された画素が隣接して所定数以上存在する場合に、不良品であると判定する。
 出力手段9は、このクラスタ判定手段83による判定結果を報知可能に出力する。その際、どの部分が不良のクラスタであるかをユーザに知らせる必要があるので、クラスタ判定手段83によって不良クラスタと判定されたクラスタの位置をディスプレイ装置に可視的に出力する。
 次に、このように構成された外観検査装置1を用いて検査対象物11を検査する方法について説明する。
 <基準データの生成フロー>
まず、検査対象物11を検査するに際して基準データを生成する場合のフローチャートを図7に示す。基準データを生成する場合、まず、予め用意された複数の基準対象物10からそれぞれの画像を取得する(ステップS1)。そして、所定枚数以上の基準対象物10の画像が取り込まれた場合、基準対象物10毎に、それぞれ全体領域に関するデータ、矩形領域に関するデータ、画素に関するデータを生成し(ステップS2)、複数の基準対象物10について、全体領域に関するデータの平均値や、矩形領域に関するデータの平均値、画素に関するRGBのデータの平均値や標準偏差値を演算する(ステップS3)。そして、次に、許容輝度幅の上限値や探索距離の上限値をマニュアルで入力する(ステップS4)。なお、この入力は、この段階ではなく、ステップS1の前に予め入力しておくようにしても良い。
 そして、ステップS3の平均値や標準偏差値の演算が行われた後、標準偏差値の大きい画素については、先に入力された許容輝度幅の上限値及び探索距離の上限値を設定するとともに、標準偏差値の小さい画素については、許容輝度幅や探索距離を小さく設定していく(ステップS5)。そして、各画素毎にRGB極座標でRGB輝度基準データを生成し、記憶手段5に格納する(ステップS6)。
 <検査対象物11の検査フロー>
次に、検査対象物11を検査する場合のフローチャートを図8に示す。まず、検査対象物11を検査する場合、その検査対象物11からその表面画像を取得する(ステップT1)。この撮像された画像は、画像の取得方法によっては位置ずれしている可能性があり、記憶手段5に記憶されている基準対象物10の画像の状態とは異なっている場合がある。このため、画像状態をほぼ一致させるために補正処理を行う(ステップT2)。この補正処理に際しては、まず、全体形状の補正処理を行う。具体的には、検査対象物11上のコーナーの3点を抽出し、その3点から検査対象物11の縦横の長さ、回転角度、平行移動距離などを演算する。そして、これらの縦横長さや回転角度、平行移動距離などに基づいて、検査対象物11の全体画像を基準データの全体画像にほぼ一致させるような補正処理を行う。
 次に、矩形領域の補正処理を行う。この矩形領域の補正処理を行う場合、基準対象物10の所定の矩形領域の画像と検査対象物11の対応する矩形領域の画像とがほぼ一致するように検査対象物11の画像を平行移動させる。
 そして、これらの補正処理が終了した後、基準対象物10の各位置に存在する画素が良画素であるか否かを判定する。この判定に際しては、まず、基準対象物10の各画素に対する位置、RGB輝度、許容輝度幅、探索距離を記憶手段5から読み出す(ステップT3)。そして、この読み出された画素に対応する検査対象物11の位置を特定し、その位置を中心として、その探索距離内に、RGB極座標系で設定されたRGB輝度基準データ(許容輝度幅)内の画素が存在するか否かを判定する(ステップT4)。このRGB極座標系で設定されたRGB輝度基準データを用いる場合、検査対象物11から読み出された画素のRGB輝度データを変換テーブルを参照して極座標系に変換し、その極座標系におけるRGB輝度データとを比較する。そして、第一の画素判定手段81によって、探索距離内に許容輝度幅内の画素が一つも存在しないと判定された場合は、その基準対象物10の位置の画素を「不良画素」と判定する(ステップT8)。
 次に、この第一の画素判定が終了した後、今度は、補正処理された後の検査対象物11の画像を基準として、その検査対象物11の位置に対応する基準対象物10の位置を中心とする探索距離内に、RGB極座標で設定されたRGB輝度基準データ(許容輝度幅)内の画素が存在するか否かを判定する。但し、検査対象物11の各画素については、許容輝度幅や探索距離などのデータを記憶していないので、その検査対象物11の位置に対応した基準対象物10の位置の許容輝度幅や探索距離を用いる。
 具体的には、まず、その検査対象物11の位置に対応した基準対象物10の位置の許容輝度幅、探索距離を読み出す(ステップT5)。そして、この読み出された許容輝度幅及び探索距離に基づき、対応する基準対象物10の位置を中心として、その探索距離内に、極座標系で表現された検査対象物11のRGB輝度データに対する許容輝度幅内の画素が存在するか否かを判定する(ステップT6)。このとき、検査対象物11から取得されたRGB輝度データを変換テーブルを用いて極座標系のRGB輝度データに変換して判定する。そして、第二の画素判定手段82によって探索距離内に許容輝度幅内の輝度の画素が一つも存在しないと判定された場合は、その基準対象物10の位置の画素を「不良画素」と判定する(ステップT8)。
 一方、ステップT4で「良画素」と判定され、かつ、ステップT6で「良画素」と判定された場合に、その基準対象物10の位置に対する画素を「良画素」と判定する(ステップT7)。
 そして、全ての画素の検査が完了した場合(ステップT9;Yes)、次に、この画素判定手段80によって「不良画素」と判定された基準対象物10の画素のうち、隣接する不良画素の数をカウントし、所定数以上の不良画素の存在する場合は(ステップT10)、この検査対象物11は不良品である旨の出力を行い(ステップT11)、一方、全ての隣接する不良画素の数が所定数よりも少ない場合は良品である旨の出力を行う(ステップT12)。
 このように上記実施の形態によれば、検査対象物11から取得された画像に基づいて当該検査対象物11の形成状態を検査する外観検査装置1において、検査対象物11からカラー画像を取得し、当該検査対象物11の検査部分におけるRGB輝度データを取得するRGB情報取得手段3と、軸方向を輝度値としたRGB極座標系において各検査部分のRGB基準輝度データを記憶させる記憶手段5と、前記RGB情報取得手段3から取得された各検査部分のRGB輝度データと、前記記憶手段5に記憶されたRGB極座標系におけるRGB基準輝度データとを比較し、RGB基準輝度データ内に検査対象物11のRGB輝度データが含まれているか否かによって当該検査領域の良否を判定する判定手段8を備えるようにしたので、取得した検査領域におけるRGBの輝度値が製品ごとに大きくばらついていたとしても、RGBのバランスを保った状態で輝度のみを大きく設定することができ、輝度のばらつきを吸収して高品質に検査させることができるようになる。
 また、検査対象物11から取得されたRGB直交座標系の輝度データをRGB極座標系に変換させる変換テーブルを記憶させておき、この変換テーブルを用いて前記取得された各検査領域のRGB座標を変換させるようにしたので、各画素を検査する都度、座標変換のための演算をする必要がなく、検査時における処理速度を早くすることができる。
 さらに、RGB基準輝度データを設定する場合、基準となる検査対象物11の隣接する所定画素数のRGB輝度データを含むようにしたので、基準データと検査対象物11とを画素単位で位置あわせしなくても検査することができ、虚報を減らして検査することができるようになる。
 加えて、RGBの輝度を極座標系の輝度に変換した場合に、1バイトに収まるように輝度値を圧縮もしくは拡張させるようにしたので、変換後の輝度値を1バイトの範囲内に収めてデータを圧縮することができるようになる。
 なお、本発明は上記実施の形態に限定されることなく、種々の態様で実施することができる。
 例えば、上記実施の形態では、補正処理手段6を用いて検査対象物11の画像を補正処理したが、基準対象物10の画像を補正処理するようにしてもよい。あるいは、完全に位置合わせできるような場合は、このような補正処理を行わないようにすることもできる。
 また、上記実施の形態では、極座標に変換する変換テーブルをあらかじめ用意しておき、この変換テーブルを参照して直交座標系から極座標系に変換させるようにしているが、各画素毎に座標変換を演算するようにしてもよい。
 さらに、上記実施の形態では、プリント基板を検査する場合について説明したが、これ以外の外観検査を必要とする検査対象物11にも適用することができる。
 加えて、上記実施の形態では、各画素ごとに検査するようにしたが、所定の領域毎にRGB輝度データを収集して検査するようにしてもよい。この場合において、各領域毎に一つのRGB輝度データを演算し、この演算結果と極座標系で表現されたRGB基準輝度データとを比較するようにする。
 また、上記実施の形態では、θやρを255×2/π倍に拡張するようにしたが、1バイトの範囲内に収まっているため、そのままの輝度値を用いるようにしてもよい。
 また、上記実施の形態では、1ピクセルのRGBの要素を8ビットとしたため最大値を255としたが、これは2の諧調ビット乗-1の値であり、諧調ビットによってこの値を用いることができる。
本発明の一実施の形態における検査処理方法の概要を示す図 同形態における外観検査装置の機能ブロック図 同形態における極座標系のRGB輝度基準データを示す図 同形態における全体補正の処理の概要を示す図 同形態における矩形領域の補正の処理の概要を示す図 同形態における極座標変換テーブルを示す図 同形態における基準データの生成フローを示す図 同形態における検査処理のフローを示す図 従来例における直交系のRGB輝度基準データを示す図
1・・・外観検査装置
2・・・撮像手段
3・・・RGB情報取得手段
4・・・基準データ生成手段
5・・・記憶手段
6・・・補正処理手段
7・・・変換手段
8・・・判定手段
80・・・画素判定手段
81・・・第一の画素判定手段
82・・・第二の画素判定手段
83・・・クラスタ判定手段
9・・・出力手段
10・・・基準対象物
11・・・検査対象物

Claims (4)

  1. 検査対象物から取得された画像に基づいて当該検査対象物の形成状態を検査する外観検査装置において、
    検査対象物からカラー画像を取得し、当該検査対象物の検査部分におけるRGB輝度データを取得するRGB情報取得手段と、
    軸方向を輝度値としたRGB極座標系で各検査部分のRGB基準輝度データを記憶させる基準データ記憶手段と、
    前記RGB情報取得手段から取得された各検査部分のRGB輝度データを極座標系の輝度データに変換する変換手段と、
    当該変換された極座標系の輝度データと前記基準データ記憶手段に記憶されたRGB極座標系におけるRGB基準輝度データとを比較して、RGB基準輝度データ内に検査対象物のRGB輝度データが含まれているか否かによって当該検査領域の良否を判定する判定手段とを備えたことを特徴とする外観検査装置。
  2. 前記変換手段が、検査対象物から取得されたRGB直交座標系の輝度データをRGB極座標系に変換させる変換テーブルを記憶させ、当該変換テーブルを参照して前記取得された各検査部分のRGB座標を変換させるものである請求項1に記載の外観検査装置。
  3. 前記RGB基準輝度データが、基準となる検査対象物の隣接する所定画素数のRGB輝度データを含むように設定されたものである請求項1に記載の外観検査装置。
  4. 前記変換手段が、RGBの輝度を極座標系の輝度に変換した場合に、1バイトに収まるように輝度値を圧縮もしくは拡張させるものである請求項1に記載の外観検査装置。
PCT/JP2009/065711 2008-09-09 2009-09-09 外観検査装置 WO2010029932A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2010528728A JP5084911B2 (ja) 2008-09-09 2009-09-09 外観検査装置
CN200980134031.3A CN102138068B (zh) 2008-09-09 2009-09-09 外观检查装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2008231006 2008-09-09
JP2008-231006 2008-09-09

Publications (1)

Publication Number Publication Date
WO2010029932A1 true WO2010029932A1 (ja) 2010-03-18

Family

ID=42005185

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/065711 WO2010029932A1 (ja) 2008-09-09 2009-09-09 外観検査装置

Country Status (4)

Country Link
JP (1) JP5084911B2 (ja)
KR (1) KR20110040965A (ja)
CN (1) CN102138068B (ja)
WO (1) WO2010029932A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102881001A (zh) * 2011-07-13 2013-01-16 富士通株式会社 将彩色图像转换为灰度图像的装置和方法
JP2016050875A (ja) * 2014-09-01 2016-04-11 明和工業株式会社 表面状態判定プログラム及び表面状態判定装置

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103529041B (zh) * 2013-10-31 2015-07-29 广州华工机动车检测技术有限公司 基于图像特征的电路板新旧程度判定方法和***
CN104362111B (zh) * 2014-11-27 2017-02-01 阳光硅峰电子科技有限公司 一种硅片崩边的自动检测方法
KR101694337B1 (ko) * 2015-02-05 2017-01-09 동우 화인켐 주식회사 필름의 검사 방법
CN104833681B (zh) * 2015-05-13 2017-10-03 中国电子科技集团公司第三十八研究所 一种快速测量mcm基板电路图形尺寸误差的装置及方法
TWI579557B (zh) * 2015-09-18 2017-04-21 Synpower Co Ltd Image detection method for printed substrate
CN110412052B (zh) * 2019-08-12 2022-02-15 艾尔玛科技股份有限公司 一种曲面热压印质量检测方法及***
CN110514675B (zh) * 2019-08-29 2020-12-11 珠海格力电器股份有限公司 一种标签的智能检测方法及***
TWI721632B (zh) * 2019-11-05 2021-03-11 新加坡商鴻運科股份有限公司 產品檢測閾值設定裝置、方法及電腦可讀取存儲介質
CN112785100B (zh) * 2019-11-05 2023-10-31 富联精密电子(天津)有限公司 产品检测阈值设定装置、方法及计算机可读存储介质
KR102436786B1 (ko) 2020-04-16 2022-08-26 주식회사 에이비에이치 인공지능 기반 외관 표면 품질 검사 장치 및 방법

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06109653A (ja) * 1992-09-25 1994-04-22 Dainippon Printing Co Ltd 画像検査装置
JPH11110560A (ja) * 1997-10-03 1999-04-23 Mitsubishi Electric Corp 画像検査方法および画像検査装置
JP2004198146A (ja) * 2002-12-16 2004-07-15 Mitsubishi Heavy Ind Ltd 印刷物色調計測方法、印刷物色調計測装置、及びそのプログラム
JP2005509342A (ja) * 2001-11-07 2005-04-07 ダバー ピシュバ 照明源固有hsv色座標を用いた画像ハイライト補正方法、画像ハイライト補正プログラム、および画像取得システム
JP2005233826A (ja) * 2004-02-20 2005-09-02 Nippon Steel Corp 表面検査装置
JP2007309703A (ja) * 2006-05-16 2007-11-29 Mega Trade:Kk ピクセルの検査方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06109653A (ja) * 1992-09-25 1994-04-22 Dainippon Printing Co Ltd 画像検査装置
JPH11110560A (ja) * 1997-10-03 1999-04-23 Mitsubishi Electric Corp 画像検査方法および画像検査装置
JP2005509342A (ja) * 2001-11-07 2005-04-07 ダバー ピシュバ 照明源固有hsv色座標を用いた画像ハイライト補正方法、画像ハイライト補正プログラム、および画像取得システム
JP2004198146A (ja) * 2002-12-16 2004-07-15 Mitsubishi Heavy Ind Ltd 印刷物色調計測方法、印刷物色調計測装置、及びそのプログラム
JP2005233826A (ja) * 2004-02-20 2005-09-02 Nippon Steel Corp 表面検査装置
JP2007309703A (ja) * 2006-05-16 2007-11-29 Mega Trade:Kk ピクセルの検査方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102881001A (zh) * 2011-07-13 2013-01-16 富士通株式会社 将彩色图像转换为灰度图像的装置和方法
JP2016050875A (ja) * 2014-09-01 2016-04-11 明和工業株式会社 表面状態判定プログラム及び表面状態判定装置

Also Published As

Publication number Publication date
CN102138068A (zh) 2011-07-27
CN102138068B (zh) 2015-02-11
JPWO2010029932A1 (ja) 2012-02-02
JP5084911B2 (ja) 2012-11-28
KR20110040965A (ko) 2011-04-20

Similar Documents

Publication Publication Date Title
WO2010029932A1 (ja) 外観検査装置
WO1998059213A1 (fr) Procede et dispositif de controle de motifs
US6724005B2 (en) Substrate defect inspection method and substrate defect inspection system
KR20110115752A (ko) 3차원 형상 측정 방법
KR20080031677A (ko) 표면 검사 장치
CN102520537A (zh) 一种自动光学检测方法和光学自动检测设备
JP2007155610A (ja) 外観検査装置および外観検査方法
JP4577717B2 (ja) バンプ検査装置および方法
KR101022187B1 (ko) 기판 검사 장치
KR101916134B1 (ko) 인쇄회로기판 상의 컨포멀 코팅 검사 장치
WO2012144025A1 (ja) 自動検査装置および自動検査装置における位置合わせ方法
JP2005172584A (ja) 印刷物の検査方法およびその検査装置
JP2002005850A (ja) 欠陥検査方法及びその装置、マスクの製造方法
JP4354173B2 (ja) 電子回路用部品の外観検査装置
JP2007309703A (ja) ピクセルの検査方法
JP2006284543A (ja) 実装回路基板検査方法および実装回路基板検査装置
JP4090775B2 (ja) 電子回路用部品の外観検査方法及び外観検査装置並びに電子回路用部品の製造方法
JP2017198462A (ja) 外観検査方法
JP4354174B2 (ja) 電子回路用部品の製造方法
JPH10150299A (ja) 実装部品検査方法及び実装部品検査装置
JP2982413B2 (ja) 共通欠陥検査方法
JP2006329679A (ja) 製品パターン検査方法および装置
JP4130848B2 (ja) ピクセルの検査方法、及び、ピクセルの検査装置
JP2010243214A (ja) 欠陥検出方法および欠陥検出装置
KR20090109294A (ko) 반도체 기판의 광학적 검사 방법 및 그 장치

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200980134031.3

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09813078

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20117005023

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2010528728

Country of ref document: JP

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 09813078

Country of ref document: EP

Kind code of ref document: A1