JP2008249397A - Surface inspection device - Google Patents

Surface inspection device Download PDF

Info

Publication number
JP2008249397A
JP2008249397A JP2007088762A JP2007088762A JP2008249397A JP 2008249397 A JP2008249397 A JP 2008249397A JP 2007088762 A JP2007088762 A JP 2007088762A JP 2007088762 A JP2007088762 A JP 2007088762A JP 2008249397 A JP2008249397 A JP 2008249397A
Authority
JP
Japan
Prior art keywords
light
dark
image
imaging
image processing
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2007088762A
Other languages
Japanese (ja)
Inventor
Yasunari Asada
康徳 浅田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2007088762A priority Critical patent/JP2008249397A/en
Priority to PCT/JP2008/056739 priority patent/WO2008123604A1/en
Publication of JP2008249397A publication Critical patent/JP2008249397A/en
Pending legal-status Critical Current

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/8806Specially adapted optical and illumination features
    • 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/8422Investigating thin films, e.g. matrix isolation 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
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/9515Objects of complex shape, e.g. examined with use of a surface follower device
    • 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/8806Specially adapted optical and illumination features
    • G01N2021/8829Shadow projection or structured background, e.g. for deflectometry
    • 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/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8896Circuits specially adapted for system specific signal conditioning

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Mathematical Physics (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problems having the tendency wherein, in a conventional surface inspection device, an inspection visual field of the surface inspection device is required to be miniaturized greatly when a painted surface is a curved surface, and inspection of a wide range on the painted surface requires a long time, and a heavy load is required in an image processing part of the surface inspection device, to thereby elongate a processing time. <P>SOLUTION: The surface inspection device 1 includes an irradiation part 12 on which a light/dark pattern is formed, for irradiating the painted surface 90 with diffused light having gradation of lightness on a boundary part between a light part and a dark part in the light/dark pattern; a camera 11 for imaging reflected light reflected by the painted surface 90; and an image processing device 50 for detecting a defect 91 on the painted surface 90 by performing image processing of a taken image 80 imaged by an imaging part. The image processing device 50 includes a differential processing part 52 for performing differential processing of the taken image 80, and a binarization processing part 53 for performing binarization processing of the taken image 80 after differential processing. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、塗装表面に生じるぶつ等、検査対象表面の欠陥を検出するための表面検査装置に関する。   The present invention relates to a surface inspection apparatus for detecting defects on a surface to be inspected, such as a collision occurring on a painted surface.

従来、自動車のボディの塗装表面に生じる「ぶつ」等の欠陥を検査する装置として、塗装表面に光を照射し、照射した光の反射光を撮像して、撮像画像を画像処理することにより、ぶつ等の欠陥部分に発生する明るさの変化を検出する装置が知られている。
このように、塗装表面に光を照射してぶつ等の欠陥部分を検出する場合、塗装表面に照射する光としては、照射範囲内で一様の明るさを有する拡散光(以降「拡散フラット光」と記載する)が用いられたり、平行光が用いられたりしている。
また、特許文献1に示すように、塗装表面に光を照射してぶつ等の欠陥部分を検出するために、塗装表面に照射する光に明暗のパターンを付与することも行われている。
特開平11−63959号公報
Conventionally, as a device for inspecting defects such as "bumps" that occur on the painted surface of the body of an automobile, by illuminating the painted surface, imaging the reflected light of the irradiated light, and processing the captured image, An apparatus for detecting a change in brightness occurring in a defective part such as a bump is known.
In this way, when detecting a defective part such as a bump by irradiating the coating surface with light, as the light irradiating the coating surface, diffused light having a uniform brightness within the irradiation range (hereinafter referred to as “diffusion flat light”). Are used) or parallel light is used.
In addition, as shown in Patent Document 1, in order to detect a defective portion such as a bump by irradiating light on the coating surface, a light / dark pattern is also given to the light irradiated on the coating surface.
Japanese Patent Laid-Open No. 11-63959

前述のごとく、例えば拡散フラット光を用いて塗装表面のぶつを検出する場合、図16に示すように、ぶつ191が存在する部分の塗装表面190に光源120から拡散フラット光を照射すると、略半球面に形成されるぶつ191の傾斜面に照射された光は、外方へ散乱して上方に配置されるカメラ110に戻ってこないため(図16中に点線で示した軌跡が外方へ散乱する光を表わしている)、ぶつ191が存在する部分の塗装表面190を前記カメラ110により撮像すると、ぶつ191の部分が暗部となり、その他の塗装表面190が明部となった画像を得ることができる。これにより、
ぶつ191を他の塗装表面190と区別して検出することが可能となっている。
但し、このように拡散フラット光を塗装表面190に照射してぶつ191を適切に検出することは、光の照射範囲が狭い(つまり前記光源120の幅寸法Wa)場合のみであり、図17に示すように、光源120の幅寸法Waを伸ばして光の照射範囲を大きくすると、ぶつ191の検出能力が低下してしまうこととなる。
As described above, for example, when the collision of the coating surface is detected using the diffuse flat light, as shown in FIG. The light applied to the inclined surface of the bump 191 formed on the surface is scattered outward and does not return to the camera 110 disposed above (the locus shown by the dotted line in FIG. 16 is scattered outward). When the painted surface 190 of the portion where the bump 191 is present is imaged by the camera 110, an image can be obtained in which the portion of the bump 191 becomes a dark portion and the other painted surface 190 becomes a bright portion. it can. This
The bump 191 can be detected separately from the other painted surface 190.
However, it is only in the case where the light irradiation range is narrow (that is, the width dimension Wa of the light source 120) that the diffused flat light is irradiated onto the coating surface 190 in this manner, and the collision 191 is appropriately detected. As shown, when the width dimension Wa of the light source 120 is increased to increase the light irradiation range, the detection capability of the hit 191 is reduced.

例えば、図17に示すように、光源120の幅寸法Wa伸ばして光の照射範囲を大きくした場合は、ぶつ191に対して離れた位置から照射される光が、ぶつ191の斜面で反射されると略垂直に反射して前記カメラ110に入射するため、つまりぶつ191が存在する部分に全方向から光がまわりこんで、ぶつ191の部分を含む塗装表面190が全体的に明部として捉えられるため、ぶつ191を特徴点として検出することが困難となる。
従って、拡散フラット光を用いて塗装表面のぶつを検出する場合は、光の照射範囲を狭めて表面検査装置の検査視野を非常に小さくする必要があり、例えば自動車のボディの塗装表面ような広い範囲を検査する必要がある場合には、全ての範囲を検査するために多大な時間を要することとなって、製造工程のラインコンベアタクト内で検査を終えることが困難となる。
For example, as shown in FIG. 17, when the light irradiation range is increased by extending the width dimension Wa of the light source 120, the light irradiated from a position away from the bump 191 is reflected by the slope of the bump 191. Is reflected substantially perpendicularly and is incident on the camera 110, that is, the light wraps around the portion where the bump 191 is present from all directions, and the coating surface 190 including the portion of the bump 191 is generally regarded as a bright portion. This makes it difficult to detect the hit 191 as a feature point.
Therefore, when detecting the collision of the paint surface using diffuse flat light, it is necessary to narrow the light irradiation range to make the inspection visual field of the surface inspection device very small, for example, as wide as the paint surface of the body of an automobile. When it is necessary to inspect the range, it takes a long time to inspect the entire range, and it is difficult to complete the inspection within the line conveyor tact of the manufacturing process.

また、平行光を用いて塗装表面のぶつを検出する場合、ぶつ部分に光がまわりこむことを抑制できるため、前述のフラット光を用いた場合のようにぶつの検出が困難になることはないが、検査対象となる塗装表面が曲面であった場合、表面検査装置の検査視野が非常に小さくなってしまうという問題がある。
つまり、図18に示すように、光源120による光の照射範囲における中心部分では、塗装表面190に照射した光が略垂直に反射してカメラ110に入射することとなるが、中心部から少し離れた位置で反射した光は外側へ逃げてしまい(塗装表面190が凸曲面である場合)、カメラ110に入射することがないため、正反射した反射光がカメラ110に入射する塗装表面190上の範囲(検査視野)が非常に小さくなってしまう。
このように、平行光を用いてぶつを検出する場合は、塗装表面が曲面であると表面検査装置の検査視野を非常に小さくする必要があり、例えば自動車のボディの塗装表面ように、多くの曲面を有している塗装表面を広い範囲にわたって検査する場合には、全ての範囲を検査するために多大な時間を要することとなって、製造工程のラインコンベアタクト内で検査を終えることが困難となる。
In addition, when detecting a collision on the paint surface using parallel light, it is possible to suppress the light from entering the collision part, so that it is not difficult to detect the collision as in the case of using the flat light described above. However, when the coating surface to be inspected is a curved surface, there is a problem that the inspection visual field of the surface inspection apparatus becomes very small.
That is, as shown in FIG. 18, in the central portion in the light irradiation range by the light source 120, the light irradiated on the coating surface 190 is reflected substantially vertically and enters the camera 110, but is slightly separated from the central portion. The light reflected at the position escapes to the outside (when the coating surface 190 is a convex curved surface) and does not enter the camera 110, so that the specularly reflected reflected light is incident on the camera 110. The range (viewing field) becomes very small.
Thus, when detecting a collision using parallel light, it is necessary to make the inspection field of view of the surface inspection device very small if the coating surface is a curved surface. When inspecting a painted surface with a curved surface over a wide range, it takes a lot of time to inspect the entire range, and it is difficult to finish the inspection within the line conveyor tact of the manufacturing process. It becomes.

また、明暗のパターンを有した光を塗装表面に照射してぶつの検出を行う場合、例えばスリット状の明暗パターンを有する光を塗装表面に照射した場合には、図19に示すような縞状の撮像画像が得られるため、次のような画像処理を行ってぶつを検出するようにしている。
つまり、図19に示す場合、明度が高い明部170aと明度が低い暗部170bとが交互にライン形状に表れており、前記ぶつ191が明部170aの領域に存在していて、ぶつ191の形状が暗部170cとして現れている。
この場合、明部170aと暗部170bおよび暗部170cとの境界部では明度が急激に変化しており、この明度の変化を利用してぶつ191を検出するように画像処理が行われる。
Further, in the case of detecting an impact by irradiating the paint surface with light having a bright and dark pattern, for example, when irradiating the paint surface with light having a slit-like light and dark pattern, a stripe shape as shown in FIG. Since the captured image is obtained, the following image processing is performed to detect the collision.
That is, in the case shown in FIG. 19, the bright portions 170a having high brightness and the dark portions 170b having low brightness appear alternately in a line shape, and the bump 191 exists in the region of the bright portion 170a, and the shape of the bump 191. Appears as a dark part 170c.
In this case, the brightness changes abruptly at the boundary between the bright part 170a, the dark part 170b, and the dark part 170c, and image processing is performed so as to detect the hit 191 using the change in brightness.

図20(a)に示す画像は、塗装表面190に照射した明暗パターンを有する光の反射光をカメラ110にて撮像して得られた撮像画像に平滑化処理を施してノイズを減少させた画像であり、明部170aと暗部170bとでライン形状の明暗パターンが形成され、明部170aにぶつ191の形状が暗部170cとして存在している。
塗装表面190での反射光をカメラ110にて撮像して図20(a)に示す画像を得た後、その画像を微分処理することにより図20(b)に示す画像が得られる。
図20(b)に示す微分処理後の画像は、図20(a)に示す画像で明度変化の小さい箇所ほど明るく(明度が高く)表わされ、明度変化が大きい箇所ほど暗く(明度が低く)表わされている。
具体的にいえば、図20(a)における明部170a内、暗部170b内、および暗部170c内では明度の変化がないため、図20(b)においてこれらの箇所に相当する部分は黒色で表わされている。また、明部170aと暗部170bとの境界部、および明部170aと暗部170cとの境界部は明度の変化が急激であるので白色で表わされている。
この明部170aと暗部170bとの境界部に相当する白色部分はライン状に形成され、明部170aと暗部170cとの境界部に相当する白色部分は円環状に形成されている。
The image shown in FIG. 20A is an image in which noise is reduced by performing smoothing processing on the captured image obtained by capturing the reflected light of the light having the light and dark pattern irradiated on the painted surface 190 with the camera 110. The bright portion 170a and the dark portion 170b form a line-shaped light / dark pattern, and the shape of the bump 191 exists as the dark portion 170c on the bright portion 170a.
The reflected light on the coating surface 190 is imaged by the camera 110 to obtain the image shown in FIG. 20A, and then the image shown in FIG. 20B is obtained by differentiating the image.
The image after differentiation shown in FIG. 20B is brighter (higher brightness) in the image shown in FIG. 20A where the lightness change is smaller, and darker (lightness is lower in lightness) where the lightness change is larger. )
Specifically, since there is no change in brightness in the bright part 170a, dark part 170b, and dark part 170c in FIG. 20A, the portions corresponding to these parts in FIG. It has been. In addition, the boundary between the bright part 170a and the dark part 170b and the boundary between the bright part 170a and the dark part 170c are shown in white because the change in brightness is abrupt.
The white portion corresponding to the boundary portion between the bright portion 170a and the dark portion 170b is formed in a line shape, and the white portion corresponding to the boundary portion between the bright portion 170a and the dark portion 170c is formed in an annular shape.

このように、図20(b)に示す画像には、光の明暗パターンによるライン状の白色部と、ぶつ191の存在による円環状の白色部とが混在しているため、光の明暗パターンによるライン状の白色部を画像処理により除去する。
このライン状の白色部の除去は、ライン状の白色部と円環状の白色部との形状や大きさの違いに基づいて行い、例えば上下方向に長く延びたライン形状の白色部を除去したり、白色部の上下寸法または左右寸法が通常想定できるぶつの大きさの最大範囲を超えている白色部を除去したりするような処理を行う。
その後、ライン状の白色部を除去した画像に対して2値化処理を施して、画像上に残存しているノイズ等を除去して、ぶつ191に相当する箇所にのみ白色部分が現れている図20(c)に示すような画像を得て、この図20(c)に示す画像に基づいてぶつ191の検出を行うようにしている。
In this manner, the image shown in FIG. 20B includes a line-shaped white portion due to the light brightness / darkness pattern and an annular white color portion due to the presence of the bump 191, so The line-shaped white portion is removed by image processing.
The removal of the line-shaped white part is performed based on the difference in shape and size between the line-shaped white part and the annular white part. For example, the line-shaped white part extending in the vertical direction is removed. Then, a process is performed such as removing a white part in which the vertical dimension or the horizontal dimension of the white part exceeds the maximum range of the size of the normally conceivable size.
After that, binarization processing is performed on the image from which the line-shaped white portion has been removed to remove noise remaining on the image, and the white portion appears only in the portion corresponding to the hit 191. An image as shown in FIG. 20C is obtained, and the hit 191 is detected based on the image shown in FIG.

このように、従来、明暗パターンを有する光を照射して塗装表面のぶつ等の欠陥を検出する場合は、撮像画像を微分処理した後に、同等の明度を有した光の明暗パターンによるライン状の白色部と、ぶつ191の存在による円環状の白色部とが混在することとなるため(図20(b)に示す状態)、ぶつ191の存在を検出するためにはライン状の白色部を除去するための画像処理を行う必要があるため、表面検査装置における画像処理部の負担が大きく、該画像処理部には高い画像処理能力が求められるとともに、処理時間が長くなってしまう傾向があった。   Thus, conventionally, when detecting defects such as bumps on the coating surface by irradiating light having a light and dark pattern, after performing differential processing on the captured image, a line-like pattern with light light and dark patterns having equivalent lightness is used. Since the white portion and the annular white portion due to the presence of the bump 191 are mixed (the state shown in FIG. 20B), the line-shaped white portion is removed to detect the presence of the bump 191. Therefore, the image processing unit in the surface inspection apparatus has a large burden, and the image processing unit is required to have high image processing capability and the processing time tends to be long. .

そこで、本発明においては、画像処理部での画像処理の負担を減少しつつ、検査対象表面が曲面であった場合でも広い検査視野で高精度に検査することができ、広い範囲の検査対象面を短時間で検査可能な表面検査装置を提供するものである。   Therefore, in the present invention, it is possible to inspect with high accuracy in a wide inspection visual field even when the surface to be inspected is a curved surface while reducing the burden of image processing in the image processing unit, and a wide range of inspection object surfaces The surface inspection apparatus which can test | inspect in a short time is provided.

上記課題を解決する表面検査装置は、以下の特徴を有する。
即ち、請求項1記載の如く、明暗パターンが形成され、該明暗パターンにおける明部と暗部との境界部に明度のグラデーションを有する拡散光を、検査対象表面に照射する照射部と、前記検査対象表面で反射した反射光を撮像する撮像部と、前記撮像部にて撮像された撮像画像を画像処理して前記検査対象表面の欠陥を検出する画像処理装置とを備え、前記画像処理装置は、前記撮像画像を微分処理する微分処理部と、微分処理後の撮像画像を2値化処理する2値化処理部とを備える。
このように、明暗のパターンが付与された拡散光を検査対象表面に照射することで、検査対象表面が平面であるか曲面であるかにかかわらず、光の照射範囲(検査視野)を確保しつつ、検査対象表面におけるぶつ等の欠陥の検出を高精度に行うことが可能となる。
また、本表面検査装置においては、微分処理後に現れる明暗パターンの境界部に相当する白色部を、ぶつの存在による円環状の白色部から切り離して除去する処理が必要ではなく、微分処理の直後に2値化処理を行うことでぶつ91の検出を行うことができる。これにより、従来に比べて画像処理の負担を軽減することができて、画像処理装置の画像処理能力を抑えつつ、検査処理時間を短縮することが可能となる。
The surface inspection apparatus that solves the above problems has the following characteristics.
That is, an irradiation unit that irradiates a surface to be inspected with diffused light having a lightness gradation at a boundary portion between a bright part and a dark part in the light-dark pattern, wherein the light-dark pattern is formed, and the inspection target An image capturing unit that captures reflected light reflected by the surface; and an image processing device that performs image processing on the captured image captured by the image capturing unit to detect a defect on the surface to be inspected. A differentiation processing unit that performs differential processing on the captured image, and a binarization processing unit that performs binarization processing on the captured image after differentiation processing.
In this way, by irradiating the surface to be inspected with diffused light with a bright and dark pattern, the light irradiation range (inspection visual field) is ensured regardless of whether the surface to be inspected is a flat surface or a curved surface. However, it is possible to detect defects such as bumps on the surface to be inspected with high accuracy.
Further, in this surface inspection apparatus, it is not necessary to separate and remove the white portion corresponding to the boundary portion of the light and dark pattern appearing after the differentiation process from the annular white portion due to the presence of the collision, immediately after the differentiation process. By performing the binarization process, the hit 91 can be detected. As a result, the burden of image processing can be reduced as compared with the conventional case, and the inspection processing time can be shortened while suppressing the image processing capability of the image processing apparatus.

また、請求項2記載の如く、前記照射部は、光を発する光源と、前記光を拡散させる拡散板と、前記拡散板を通過した拡散光にグラデーション付きの明暗パターンを付与するスリットとを備える。
これにより、簡単かつ安価な構成でグラデーション付きの明暗パターンを有した拡散光を得ることが可能となる。
According to a second aspect of the present invention, the irradiation unit includes a light source that emits light, a diffusion plate that diffuses the light, and a slit that imparts a gradation pattern with gradation to the diffused light that has passed through the diffusion plate. .
Thereby, it becomes possible to obtain diffused light having a gradation pattern with light and dark with a simple and inexpensive configuration.

また、請求項3記載の如く、明暗のパターンが形成される拡散光を、検査対象表面に照射する照射部と、
前記検査対象表面で反射した反射光を撮像する撮像部と、前記撮像部にて撮像された撮像画像を画像処理して前記検査対象表面の欠陥を検出する画像処理装置とを備え、前記撮像部は、検査対象表面からの反射光を複数の箇所から撮像可能であり、前記画像処理装置は、前記撮像画像を微分処理する微分処理部と、微分処理後の撮像画像を2値化処理する2値化処理部とを備える。
これにより、複数の箇所から撮像した撮像画像のうち、例えば一方の撮像画像において欠陥部分に基づく暗部が明暗パターンの明部と暗部との境界部に位置していたとしても、他の撮像画像における欠陥部分に基づく暗部が明暗パターンの明部(欠陥部分に基づく明部の場合は明暗パターンの暗部)に位置することが期待でき、ぶつ等の欠陥の有無を適切に検出することが可能となる。
Further, as described in claim 3, an irradiation unit that irradiates the surface to be inspected with diffused light that forms a bright and dark pattern;
An imaging unit that images reflected light reflected by the inspection target surface; and an image processing device that detects a defect on the inspection target surface by performing image processing on the captured image captured by the imaging unit, Can image reflected light from the surface to be inspected from a plurality of locations, and the image processing device binarizes the differential processing unit that differentially processes the captured image and the captured image after the differential processing 2 A value processing unit.
Thereby, even if the dark part based on a defective part is located in the boundary part of the bright part and dark part of a light-and-dark pattern among the picked-up images imaged from several places, for example in other captured images The dark part based on the defective part can be expected to be located in the bright part of the light / dark pattern (in the case of the bright part based on the defective part, the dark part of the light / dark pattern), and it is possible to appropriately detect the presence or absence of defects such as bumps. .

また、請求項4記載の如く、前記撮像部における複数の撮像位置間の距離は、少なくとも何れか一つの撮像位置にて撮像した画像に存在する欠陥が、明暗パターンの境界部にかからない場所に位置するように設定する。
これにより、複数の箇所から撮像した撮像画像のうち、少なくとも一つの撮像画像における欠陥部分に基づく暗部が、必ず明暗パターンの明部(欠陥部分に基づく明部の場合は明暗パターンの暗部)に位置することとなり、確実にぶつ等の欠陥の有無を検出することが可能となる。
According to a fourth aspect of the present invention, the distance between the plurality of imaging positions in the imaging unit is a position where a defect present in an image captured at at least one of the imaging positions does not cover the boundary portion of the light / dark pattern. Set to
Thereby, the dark part based on the defective part in at least one picked-up image is always located in the bright part of the light / dark pattern (in the case of the bright part based on the defective part, the dark part of the light / dark pattern) among the picked-up images picked up from a plurality of locations. Therefore, it is possible to reliably detect the presence or absence of defects such as bumps.

また、請求項5記載の如く、明暗のパターンが形成される拡散光を、検査対象表面に照射する照射部と、
前記検査対象表面で反射した反射光を撮像する撮像部と、前記撮像部にて撮像された撮像画像を画像処理して前記検査対象表面の欠陥を検出する画像処理装置とを備え、前記照射部は、前記拡散光をストロボ発光し、前記撮像部は、前記照射部でのストロボ発光に同期して反射光の撮像を行う。
このように、照射部が拡散光を瞬間的に発光させるストロボ発光を行って、撮像部による撮像を行うように構成することで、照射部における通電のデューティー比を小さくすることができ、該照射部を発光させる際に大電流を流して発する光を明るくすることが可能となる。照射部からの発光を明るくすることで、撮像部のレンズの絞りを小さくすることができ、被写体深度を深くすることが可能となる。
これにより、撮像部にて、検査対象表面とともに、該検査対象表面と異なるピント位置に位置している明暗パターンをよりはっきりと撮像することが可能となり、撮像画像を画像処理した際に、ぶつ等の欠陥が存在する部分を高精度に検出することが可能となる。
Further, as described in claim 5, an irradiation unit that irradiates the surface to be inspected with diffused light that forms a bright and dark pattern;
An imaging unit that captures reflected light reflected by the surface of the inspection target; and an image processing device that detects a defect on the surface of the inspection target by performing image processing on the captured image captured by the imaging unit; Stroboscopically emits the diffused light, and the imaging unit captures reflected light in synchronization with the stroboscopic light emission of the irradiation unit.
In this way, by configuring the irradiating unit to perform strobe emission that instantaneously emits diffused light and performing imaging by the imaging unit, the duty ratio of energization in the irradiating unit can be reduced, and the irradiation is performed. It is possible to brighten the light emitted by flowing a large current when the portion is caused to emit light. By brightening the light emitted from the irradiating unit, the aperture of the lens of the imaging unit can be reduced, and the subject depth can be increased.
As a result, it is possible for the imaging unit to capture more clearly the light and dark pattern located at a different focus position from the surface to be inspected together with the surface to be inspected. It is possible to detect the portion where the defect exists with high accuracy.

また、請求項6記載の如く、検査対象表面に光を照射する照射部と、前記検査対象表面で反射した反射光を撮像する撮像部と、前記撮像部にて撮像された撮像画像を画像処理して前記検査対象表面の欠陥を検出する画像処理装置とを備え、前記撮像部は、撮像時の焦点位置を調節可能に構成され、前記撮像時の焦点位置を検査対象表面からずらした位置に調節する。
これにより、検査対象表面に付着した埃や、検査対象表面となる塗装表面の塗料内に含まれるメタリックや雲母等といった、大きなコントラストを有したノイズ成分を撮像画像から除去することが可能となる。
According to another aspect of the present invention, an irradiation unit that irradiates light onto the surface to be inspected, an imaging unit that images reflected light reflected by the surface of the inspection target, and a captured image captured by the imaging unit is subjected to image processing. And an image processing device that detects a defect on the surface to be inspected, and the imaging unit is configured to be able to adjust a focal position at the time of imaging, and the focal position at the time of imaging is shifted from the inspection target surface. Adjust.
This makes it possible to remove from the captured image noise components having a large contrast, such as dust adhering to the surface to be inspected, metallic or mica contained in the paint on the painted surface serving as the surface to be inspected.

また、請求項7記載の如く、前記検査対象表面は、塗料が塗布された塗装表面である。
これにより、前記塗装表面におけるぶつ等の欠陥の有無を検出することができ、塗装表面の検査精度を向上させることができる。
According to a seventh aspect of the present invention, the surface to be inspected is a painted surface to which a paint is applied.
Thereby, the presence or absence of defects such as bumps on the painted surface can be detected, and the inspection accuracy of the painted surface can be improved.

本発明によれば、検査対象表面が平面であるか曲面であるかにかかわらず、光の照射範囲(検査視野)を確保しつつ、検査対象表面におけるぶつ等の欠陥の検出を高精度に行うことが可能となっている。
また、従来に比べて画像処理の負担を軽減することができて、画像処理装置の画像処理能力を抑えつつ、検査処理時間を短縮することが可能となる。
According to the present invention, it is possible to detect defects such as bumps on the inspection target surface with high accuracy while ensuring a light irradiation range (inspection visual field) regardless of whether the inspection target surface is a flat surface or a curved surface. It is possible.
In addition, it is possible to reduce the burden of image processing as compared with the conventional case, and it is possible to reduce the inspection processing time while suppressing the image processing capability of the image processing apparatus.

次に、本発明を実施するための形態を、添付の図面を用いて説明する。   Next, modes for carrying out the present invention will be described with reference to the accompanying drawings.

図1に示す表面検査装置1は、検査対称表面となる塗装表面90に対して光を照射し、照射した光の反射光を撮像して、撮像画像を画像処理することにより、ぶつ等の欠陥部分検出する装置であり、該表面検査装置1の検査ヘッド10は、塗装表面90に光を照射する照射部12と、塗装表面90からの反射光を撮像する撮像部となるカメラ11と、ハーフミラー16とを備えている。
前記照射部12は、LED等の発光手段である光源13と、前記光源13で発生した光を拡散光とする拡散板14と、前記拡散板14を通過した拡散光にグラデーション付きの明暗パターンを付与するスリット15とを備えている。
The surface inspection apparatus 1 shown in FIG. 1 irradiates a coating surface 90 that is an inspection symmetric surface with light, captures reflected light of the irradiated light, and performs image processing on the captured image, thereby causing defects such as bumps. The inspection head 10 of the surface inspection apparatus 1 is a partial detection device. The inspection head 10 includes an irradiation unit 12 that irradiates light on the coating surface 90, a camera 11 that functions as an imaging unit that images reflected light from the coating surface 90, and a half And a mirror 16.
The irradiation unit 12 includes a light source 13 that is a light emitting unit such as an LED, a diffusion plate 14 that uses light generated by the light source 13 as diffusion light, and a light and dark pattern with gradation on the diffusion light that has passed through the diffusion plate 14. The slit 15 to provide is provided.

また、前記表面検査装置1は、前記照射部12の光源13の発光を制御する光源制御装置20と、前記カメラ11の撮像を制御するカメラコントローラー30と、前記カメラ11のレンズ18の絞りを制御するレンズ絞り制御装置40と、カメラ11にて撮像した撮像画像の画像処理を行う画像処理装置50と、前記検査ヘッド10の移動等を行う移動ロボット60と前記移動ロボット60の動き等を制御するロボット制御盤61とを備えている。   The surface inspection apparatus 1 controls a light source control device 20 that controls light emission of the light source 13 of the irradiation unit 12, a camera controller 30 that controls imaging of the camera 11, and a diaphragm of the lens 18 of the camera 11. A lens aperture control device 40, an image processing device 50 that performs image processing of a captured image captured by the camera 11, a mobile robot 60 that moves the inspection head 10, and the like, and controls the movement of the mobile robot 60. And a robot control panel 61.

前記照射部12の光源13から発せられた光は前記拡散板14を通過することにより拡散されて拡散光となり、その後前記スリット15を通過することにより、グラデーション付きの明暗パターンを備えた拡散光となる。
前記照射部12からは、グラデーション付きの明暗パターンを備えた拡散光となった光が略水平方向に照射され、照射された光は前記ハーフミラー16にて略垂直下方へ反射して、前記塗装表面90に照射される。
前記塗装表面90に照射された光は、該塗装表面90で略垂直上方に反射して、前記カメラ11にて撮像される。
The light emitted from the light source 13 of the irradiating unit 12 is diffused by passing through the diffuser plate 14 to become diffused light, and then passes through the slit 15 to thereby diffuse light having a gradation pattern with gradation. Become.
From the irradiating unit 12, diffused light having a gradation pattern with gradation is irradiated in a substantially horizontal direction, and the irradiated light is reflected substantially vertically downward by the half mirror 16, and the coating is performed. The surface 90 is irradiated.
The light applied to the painted surface 90 is reflected substantially vertically upward by the painted surface 90 and is imaged by the camera 11.

図2に示すように、前記塗装表面90へ照射した光の反射光の前記カメラ11による撮像画像80は、ライン状の明部80aとライン状の暗部80bとが交互に配置された縦縞状の明暗パターンを有した光であり、前記明部80aと暗部80bとの境界部80cは、明部80aから暗部80bにかけて(または暗部80bから明部80aにかけて)明度が序々に変化していくグラデーションが形成されている。
また、前記撮像画像80における中央の明部80aには、塗装表面90に存在するぶつ91に起因する略円形状の欠陥暗部80dが存在している。
As shown in FIG. 2, the captured image 80 of the reflected light of the light irradiated on the coating surface 90 is a vertically striped image in which line-shaped bright portions 80 a and line-shaped dark portions 80 b are alternately arranged. It is light having a light and dark pattern, and the boundary portion 80c between the light portion 80a and the dark portion 80b has a gradation in which the lightness gradually changes from the light portion 80a to the dark portion 80b (or from the dark portion 80b to the light portion 80a). Is formed.
Further, in the center bright portion 80a in the captured image 80, there is a substantially circular defect dark portion 80d caused by the bump 91 existing on the painted surface 90.

前記境界部80cにはグラデーションが形成されているため、該境界部80cの明部80aから暗部80bへの方向(または暗部80bから明部80aへの方向)においては明度が序々に変化しており、図2に示すグラフでは、暗部80bと明部80aとの境界部80cの明度変化を示す曲線が傾斜している。
一方、ぶつ91に起因する欠陥暗部80dと、その周囲の明部80aとの境界部における明度の変化は急激であり、図2に示すグラフでは、欠陥暗部80dと明部80aとの境界部の明度変化を示す曲線が略垂直に変化している。
Since gradation is formed at the boundary 80c, the lightness gradually changes in the direction from the bright part 80a to the dark part 80b (or from the dark part 80b to the bright part 80a) of the boundary part 80c. In the graph shown in FIG. 2, the curve indicating the change in brightness at the boundary portion 80c between the dark portion 80b and the bright portion 80a is inclined.
On the other hand, the change in brightness at the boundary between the defective dark portion 80d caused by the bump 91 and the surrounding bright portion 80a is abrupt. In the graph shown in FIG. 2, the boundary portion between the defective dark portion 80d and the bright portion 80a is changed. The curve indicating the change in brightness changes almost vertically.

このように、カメラ11にて撮像された撮像画像80は、前記画像処理装置50に入力され、該画像処理装置50にて画像処理が行われてぶつ91の有無が検出される。
なお、前記画像処理装置50は、撮像画像80を平滑化処理する平滑化処理部51、撮像画像80を微分処理する微分処理部52、および撮像画像80を2値化処理する2値化処理部53を備えている。
In this way, the captured image 80 captured by the camera 11 is input to the image processing device 50, and the image processing device 50 performs image processing to detect the presence or absence of the hit 91.
The image processing device 50 includes a smoothing processing unit 51 that smoothes the captured image 80, a differential processing unit 52 that performs differential processing on the captured image 80, and a binarization processing unit that performs binarization processing on the captured image 80. 53.

ここで、図3に示すように、塗装表面90が曲面であった場合、照射部12から照射される光は拡散光に構成されているため、表面検査装置1における検査視野を大きく構成することができる。
つまり、例えば拡散光が凸の曲面に照射された場合、光の照射範囲における各照射点には外側から回り込んできた光も含まれるため、光の照射範囲における中心部分に照射された光だけでなく、中心部分から外側に離れた位置に照射される光も直上方に反射することとなって前記カメラ11にて撮像することが可能となり、検査視野を大きくすることができる。
Here, as shown in FIG. 3, when the coating surface 90 is a curved surface, the light irradiated from the irradiation unit 12 is configured as diffused light, so that the inspection visual field in the surface inspection apparatus 1 is configured to be large. Can do.
In other words, for example, when diffuse light is irradiated onto a convex curved surface, each irradiation point in the light irradiation range includes light that wraps around from the outside, so only the light irradiated to the central portion in the light irradiation range In addition, the light radiated to the position away from the center portion is also reflected directly above, so that it can be imaged by the camera 11 and the inspection visual field can be enlarged.

また、図4に示すように、塗装表面90に照射される光は、拡散光に構成されるとともに、明暗のパターンが付与されているので、光の照射範囲(検査視野)を大きくしても、ぶつ91を高精度に検出することが可能となっている。
つまり、例えばぶつ91が照射光の明部に存在している場合、ぶつ91の傾斜面に、前記明部の両側に位置する暗部のパターンが写し込まれてカメラ11に撮像されるとともに、ぶつ91の周囲の塗装表面90では照射光が直上方に反射してカメラ11撮像されるため、前記撮像画像80においてぶつ91を特徴的に捉えることが可能となる(本例の場合、明部80aの中に存在する欠陥暗部80dとして捉えることができる)。
なお、図4において、直線で示しているのは照射部12から照射した光の経路であり、点線で示しているのはスリット15による暗部80bの経路である。
Moreover, as shown in FIG. 4, since the light irradiated to the coating surface 90 is comprised by diffused light and the light and dark pattern is provided, even if it enlarges the irradiation range (inspection visual field) of light The bump 91 can be detected with high accuracy.
That is, for example, when the bump 91 exists in the bright part of the irradiation light, the dark part pattern located on both sides of the bright part is imprinted on the inclined surface of the bump 91 and captured by the camera 11. Since the irradiation light is reflected immediately above the painted surface 90 around the image 91 and is captured by the camera 11, the hitting 91 can be characteristically captured in the captured image 80 (in this example, the bright portion 80 a It can be understood as a defect dark portion 80d existing in the inside).
In FIG. 4, a straight line indicates a path of light emitted from the irradiation unit 12, and a dotted line indicates a path of the dark part 80 b by the slit 15.

このように、表面検査装置1においては、明暗のパターンが付与された拡散光を塗装表面90に照射するようにしているので、塗装表面90が平面であるか曲面であるかにかかわらず、光の照射範囲(検査視野)を確保しつつ、ぶつ91等の欠陥の検出を高精度に行うことが可能となっている。   As described above, in the surface inspection apparatus 1, the coating surface 90 is irradiated with diffused light to which a bright and dark pattern is applied. Therefore, regardless of whether the coating surface 90 is a flat surface or a curved surface, It is possible to detect defects such as the bump 91 with high accuracy while securing the irradiation range (inspection visual field).

以上のように構成される表面検査装置1では、次のようにしてぶつ91の検出が行われる。
まず、前記照射部12により塗装表面90に対してグラデーション付きの明暗パターンを有した拡散光を照射し、塗装表面90での反射光をカメラ11にて撮像する。
図5には、まだ画像処理が行われていない撮像画像80を示している。図5の撮像画像80には、前記明部80a、暗部80b、境界部80c、およびぶつ91による欠陥暗部80dに加えて、ノイズ80eが存在している。
In the surface inspection apparatus 1 configured as described above, the collision 91 is detected as follows.
First, the irradiation unit 12 irradiates the paint surface 90 with diffused light having a gradation pattern with gradation, and the camera 11 captures the reflected light on the paint surface 90.
FIG. 5 shows a captured image 80 that has not yet undergone image processing. In the captured image 80 of FIG. 5, noise 80e is present in addition to the bright portion 80a, the dark portion 80b, the boundary portion 80c, and the defective dark portion 80d due to the hit 91.

このノイズ80eは、塗装表面90に付着した埃や、塗装表面90に塗布される塗料に含まれるメタリックや雲母等に起因するものであり、撮像画像80の明部80aおよび暗部80bに濃淡を生じさせるため(明部80aではノイズ80eは暗部として現れ、暗部80bではノイズ80eは明部として現れる)、ぶつ90等の欠陥部分と誤認する可能性がある。
そこで、表面検査装置1においては、カメラ11にて撮像した撮像画像80を画像処理装置50に入力し、該画像処理装置50の平滑化処理部51により撮像画像80に対して平滑化処理を施し、ノイズ80eを除去する。
図6には、平滑化処理が行われて、ノイズ80eが除去された撮像画像80を示している。
The noise 80e is caused by dust adhering to the painted surface 90, metallic or mica contained in the paint applied to the painted surface 90, and darkness occurs in the bright part 80a and the dark part 80b of the captured image 80. Therefore, the noise 80e appears as a dark part in the bright part 80a, and the noise 80e appears as a bright part in the dark part 80b.
Therefore, in the surface inspection apparatus 1, the captured image 80 captured by the camera 11 is input to the image processing apparatus 50, and the captured image 80 is smoothed by the smoothing processing unit 51 of the image processing apparatus 50. , Noise 80e is removed.
FIG. 6 shows a captured image 80 from which the noise 80e has been removed by performing the smoothing process.

次に、図6に示した平滑化処理が行われた撮像画像80に対して、画像処理装置50の微分処理部52により微分処理を施す。
微分処理が行われた撮像画像80は、微分処理を行う前の撮像画像80において明度の変化が小さい部分ほど黒く現れ、明度の変化が大きいほど白く現れる。
従って、本例の場合は、微分処理を行う前の前記明部80aおよび暗部80bは明度の変化がないため、図7に示すように、微分処理後の撮像画像80においては、前記明部80aおよび暗部80bに相当する箇所は黒色に現れる。
Next, differential processing is performed by the differential processing unit 52 of the image processing device 50 on the captured image 80 on which the smoothing processing shown in FIG. 6 has been performed.
The captured image 80 that has been subjected to the differentiation process appears blacker as the brightness change is smaller in the captured image 80 before the differentiation process, and appears whiter as the brightness change increases.
Therefore, in the case of this example, since the brightness portion 80a and the dark portion 80b before performing the differentiation process do not change in brightness, as shown in FIG. 7, in the captured image 80 after the differentiation process, the light portion 80a. And the part corresponding to the dark part 80b appears in black.

また、前記境界部80cは緩やかな明度変化があるため、該境界部80cに相当する箇所は黒色と白色との中間色(灰色)に現れる。
さらに、ぶつ91に基づく前記欠陥暗部80dは明度の変化がないため、該欠陥暗部80dに相当する箇所は黒色に現れ、該欠陥暗部80dと明部80aとの境界部は急激な明度変化があるため、該境界部に相当する箇所は白色に現れる。
このように、微分処理を行った撮像画像80は、前記境界部80cに相当する箇所が灰色に現れ、ぶつ91に基づく欠陥暗部80dと明部80aとの境界部に相当する箇所が白色に現れる以外は黒色に現れている。
Further, since the boundary portion 80c has a gradual change in brightness, a portion corresponding to the boundary portion 80c appears in an intermediate color (gray) between black and white.
Furthermore, since the defect dark portion 80d based on the bump 91 has no change in brightness, the portion corresponding to the defect dark portion 80d appears black, and the boundary between the defect dark portion 80d and the bright portion 80a has a sharp change in brightness. Therefore, a portion corresponding to the boundary portion appears white.
In this way, in the captured image 80 that has been subjected to the differentiation process, the portion corresponding to the boundary portion 80c appears in gray, and the portion corresponding to the boundary portion between the defect dark portion 80d and the bright portion 80a based on the bump 91 appears in white. Other than that, it appears black.

次に、微分処理した撮像画像80に対して、画像処理装置50の2値化処理部53により、該撮像画像80の各部を白と黒との何れかで表わす2値化処理を施す。
この場合、白と黒との閾値は、前記境界部80cに相当する箇所(微分処理後の撮像画像80において灰色の箇所)の明度よりも高い値であり、かつ前記ぶつ91に基づく欠陥暗部80dと明部80aとの境界部に相当する箇所(微分処理後の撮像画像80において白色の箇所)の明度よりも小さい値となるように設定する。
Next, the binarization processing unit 53 of the image processing device 50 performs binarization processing on the captured image 80 subjected to the differentiation processing, in which each part of the captured image 80 is expressed by either white or black.
In this case, the threshold value of white and black is higher than the brightness of the portion corresponding to the boundary portion 80c (the gray portion in the captured image 80 after the differentiation process), and the defect dark portion 80d based on the bump 91 is obtained. Is set to a value smaller than the brightness of the portion corresponding to the boundary between the light portion 80a and the bright portion 80a (white portion in the captured image 80 after the differentiation process).

微分処理が行われた撮像画像80に対して2値化処理を施すと、図8に示すように、ぶつ91に基づく欠陥暗部80dと明部80aとの境界部に相当する箇所が白色に現れ、他の部分(前記明部80a、暗部80b、境界部80c、および暗部80dに相当する部分)は黒色に現れることとなり、白色に現れる前記欠陥暗部80dと明部80aとの境界部に相当する箇所により、ぶつ91の存在を検出することが可能となる。   When the binarization process is performed on the captured image 80 that has been subjected to the differentiation process, as shown in FIG. 8, a portion corresponding to the boundary between the defect dark part 80d and the bright part 80a based on the bump 91 appears in white. The other parts (the parts corresponding to the bright part 80a, the dark part 80b, the boundary part 80c, and the dark part 80d) appear black, and correspond to the boundary part between the defective dark part 80d and the bright part 80a appearing white. The presence of the hit 91 can be detected depending on the location.

このように、表面検査装置1においては、塗装表面90に対してグラデーション付きの明暗パターンを有した拡散光を照射し、カメラ11にて撮像した塗装表面90の撮像画像80に対して微分処理および2値化処理を行うことで、ぶつ91の検出を行うことが可能となっている。   As described above, in the surface inspection apparatus 1, the coating surface 90 is irradiated with diffused light having a gradation pattern with gradation, and differential processing is performed on the captured image 80 of the coating surface 90 captured by the camera 11. By performing the binarization process, the hit 91 can be detected.

ここで、従来のように明部と暗部との境界にグラデーションを有さない明暗パターンの光を塗装表面に照射した場合は、明暗パターンの明部と暗部との境界部の明度変化が急激であり、撮像画像を微分処理すると明暗パターンの境界部に相当する部分が白色に現れるので、明暗パターンの境界部による白色部とぶつの存在による円環状の白色部とが混在することとなる。この明暗パターンの境界部による白色部は、ぶつによる白色部と同じ明度であって2値化処理により除去することができないため、2値化処理を行う前に明暗パターンの境界部による白色部を除去する処理が必要となる。   Here, when the paint surface is irradiated with light of a light / dark pattern that does not have gradation at the boundary between the bright and dark areas as in the past, the brightness change at the boundary between the light and dark areas of the light / dark pattern is abrupt. In addition, when the captured image is differentiated, a portion corresponding to the boundary portion of the light and dark pattern appears in white, so that a white portion due to the boundary portion of the light and dark pattern and an annular white portion due to the presence of a collision are mixed. Since the white portion due to the boundary portion of the light and dark pattern has the same brightness as the white portion due to the collision and cannot be removed by the binarization processing, the white portion due to the boundary portion of the light and dark pattern is removed before performing the binarization processing. Processing to be removed is required.

しかし、本表面検査装置1では、前述のように微分処理の直後に2値化処理を行うことでぶつ91の検出を行うことができ、従来に比べて画像処理の負担を軽減することができて、画像処理装置50の画像処理能力を抑えつつ、検査処理時間を短縮することが可能となっている。
本表面検査装置1は、自動車における車体の塗装表面を検査対称表面とすることで、塗装表面のぶつ等の欠陥の有無を検出することができ、塗装表面の検査精度を向上させることができる。
However, the surface inspection apparatus 1 can detect the collision 91 by performing the binarization process immediately after the differentiation process as described above, and can reduce the burden of image processing compared to the conventional case. Thus, the inspection processing time can be shortened while suppressing the image processing capability of the image processing apparatus 50.
The surface inspection apparatus 1 can detect the presence or absence of defects such as bumps on the painted surface by making the painted surface of the vehicle body in an automobile an inspection symmetrical surface, and can improve the inspection accuracy of the painted surface.

また、塗装表面90に照射される、グラデーション付きの明暗パターンを有した拡散光は、LED等で構成される光源13と、前記光源13で発生した光を拡散光とする拡散板14と、前記拡散板14を通過した拡散光にグラデーション付きの明暗パターンを付与するスリット15とを備えた照射部12にて生成するように構成しているので、簡単かつ安価な構成でグラデーション付きの明暗パターンを有した拡散光を得ることが可能となっている。   Further, the diffused light having a gradation pattern with light and darkness that is applied to the coating surface 90 includes a light source 13 composed of LEDs and the like, a diffuser plate 14 that uses the light generated by the light source 13 as diffused light, Since it is configured to be generated by the irradiating unit 12 including the slit 15 for imparting a light-and-dark pattern with gradation to the diffused light that has passed through the diffusion plate 14, a light-and-dark pattern with gradation can be formed with a simple and inexpensive structure. It is possible to obtain diffused light.

なお、本例の表面検査装置1においては、前記スリット15の明暗パターンはライン状の明部80aと暗部80bとが交互に配列されるスリット状のパターンに構成されているが、明部80aと暗部80bとが格子状に配置されるパターンや、明部80aの地模様に水玉状の暗部80bが分散(または暗部80bの地模様に水玉状の明部80aが分散)しているパターン等、他のパターンでもよく、特にパターン形状を限定するものではない。   In the surface inspection apparatus 1 of the present example, the light / dark pattern of the slit 15 is configured as a slit-like pattern in which line-shaped bright portions 80a and dark portions 80b are alternately arranged. A pattern in which the dark parts 80b are arranged in a lattice pattern, a pattern in which the polka dots 80b are dispersed in the ground pattern of the bright parts 80a (or the polka dots of the bright parts 80a are dispersed in the ground pattern of the dark parts 80b), etc. Other patterns may be used, and the pattern shape is not particularly limited.

また、表面検査装置1においては、照射部12からの光が照射された塗装表面90をカメラ11により撮像するときに、次のように構成して被写体深度を深くして、ぶつ91の検出能力の向上および安定化を図っている。   Further, in the surface inspection apparatus 1, when the painted surface 90 irradiated with light from the irradiation unit 12 is imaged by the camera 11, the depth of the subject is increased as follows to detect the collision 91. Improvement and stabilization.

つまり、表面検査装置1では、前記ハーフミラー16を用いて照射部12からの光を塗装表面90に照射するように構成しており、照射部12から塗装表面90を経由してカメラ11へ至る光の経路(図1において点線にて記載される経路)の方が、カメラ11と塗装表面90との間の光の経路(図1において1点鎖線にて記載される経路)よりも長くなっている。   That is, the surface inspection apparatus 1 is configured to irradiate the coating surface 90 with light from the irradiation unit 12 using the half mirror 16, and reaches the camera 11 from the irradiation unit 12 via the coating surface 90. The light path (path indicated by a dotted line in FIG. 1) is longer than the light path (path indicated by a one-dot chain line in FIG. 1) between the camera 11 and the coating surface 90. ing.

このように、カメラ11から塗装表面90までの距離と照射部までの距離とが異なっていて、カメラ11のピントを塗装表面90に合わせた場合に、カメラ11の被写体深度が浅いと、照射部12のスリット15にはピントが合わず、該スリット15の明暗パターンをカメラ11に写し込むことができない。
このような状態では、拡散反射成分の影響を受けた塗装表面90の画像しか取り込むことができず、ぶつ91等の欠陥部分の他の部分に対するコントラストを得ることが困難であるため、ぶつ91等の欠陥部分を高精度に検出することができない。
これに対し、カメラ11の被写体深度が深い場合には、塗装表面90にピントを合わせると、塗装表面90から前記スリット15までの間にわたってピントが合っている状態とすることができる。これにより、カメラ11にスリット15の明暗パターンがはっきりと写り込むこととなってぶつ91等の欠陥部分の他の部分に対するコントラストを十分に得ることができ、高精度なぶつ91等の欠陥部分の検出を行うことが可能となる。
Thus, when the distance from the camera 11 to the coating surface 90 is different from the distance to the irradiation unit, and the camera 11 is focused on the coating surface 90, if the subject depth of the camera 11 is shallow, the irradiation unit The 12 slits 15 are not in focus, and the light / dark pattern of the slits 15 cannot be transferred to the camera 11.
In such a state, only the image of the painted surface 90 affected by the diffuse reflection component can be captured, and it is difficult to obtain contrast with other portions of the defective portion such as the bump 91. The defective portion cannot be detected with high accuracy.
On the other hand, when the subject depth of the camera 11 is deep, focusing on the painting surface 90 can bring the subject into focus from the painting surface 90 to the slit 15. As a result, the brightness / darkness pattern of the slit 15 is clearly reflected in the camera 11 and sufficient contrast can be obtained with respect to other portions of the defective portion such as the bump 91. Detection can be performed.

そこで、表面検査装置1においては、被写体深度を深くするために、カメラ11による撮像を次のように行っている。
ロボット制御盤61の制御により、移動ロボット60が検査ヘッド10を、塗装表面90における撮像対象となる場所まで移動させる。
移動ロボット60が撮像対象となる場所に達すると、ロボット制御盤61は前記光源制御装置20に対してトリガー信号を出力する。
トリガー信号が入力された光源制御装置20は、光源13に対して発光指令を出力し、同時にカメラコントローラー30にトリガー信号を出力する。
トリガー信号が入力されたカメラコントローラー30は、カメラ11に対して撮像指令を出力する。
Therefore, in the surface inspection apparatus 1, in order to increase the subject depth, imaging by the camera 11 is performed as follows.
Under the control of the robot control panel 61, the mobile robot 60 moves the inspection head 10 to a location to be imaged on the painted surface 90.
When the mobile robot 60 reaches a place to be imaged, the robot control panel 61 outputs a trigger signal to the light source control device 20.
The light source control device 20 to which the trigger signal is input outputs a light emission command to the light source 13 and simultaneously outputs a trigger signal to the camera controller 30.
The camera controller 30 to which the trigger signal is input outputs an imaging command to the camera 11.

光源制御装置20からの発光指令が入力された光源13は発光し、カメラコントローラー30からの撮像指令が入力されたカメラ11はシャッターを作動させて塗装表面90からの反射光を撮像する。
この場合、光源13は大きな光量で短時間の発光が行われるストロボ発光をし、カメラ11は光源13の発光動作に同期して撮像動作を行う。
また、カメラ11のレンズ18は、カメラ11が撮像動作を開始する前に、カメラレンズ絞り装置40により、光源13の発光条件等に応じてレンズ絞りが適宜調節される。
さらに、撮像時におけるカメラ11の露光時間は、塗装表面90の色等に応じて前記カメラコントローラー30により適宜調節される。
カメラ11にて撮像された撮像画像は画像処理装置50に転送され、画像処理装置50にて前述のごとく撮像画像に対する画像処理が行われる。
The light source 13 to which the light emission command from the light source control device 20 is input emits light, and the camera 11 to which the imaging command from the camera controller 30 is input operates the shutter to image the reflected light from the coating surface 90.
In this case, the light source 13 emits strobe light that is emitted for a short time with a large amount of light, and the camera 11 performs an imaging operation in synchronization with the light emission operation of the light source 13.
Further, the lens aperture of the lens 11 of the camera 11 is appropriately adjusted by the camera lens aperture device 40 according to the light emission conditions of the light source 13 and the like before the camera 11 starts the imaging operation.
Furthermore, the exposure time of the camera 11 at the time of imaging is appropriately adjusted by the camera controller 30 according to the color of the painted surface 90 and the like.
The captured image captured by the camera 11 is transferred to the image processing apparatus 50, and the image processing is performed on the captured image as described above.

このように、光源13を瞬間的に発光させてカメラ11による撮像を行うように構成することで、光源13における通電のデューティー比を小さくすることができ、該光源13を発光させる際に大電流を流して発する光を明るくすることが可能となる。
光源13からの発光を明るくすることで、カメラ11のレンズ18の絞りを小さくすることができ、被写体深度を深くすることが可能となる。
これにより、カメラ11にて、塗装表面90とともにスリット15の明暗パターンをよりはっきりと撮像することが可能となり、撮像画像を画像処理した際に、ぶつ91が存在する部分を高精度に検出することが可能となる。
In this way, by configuring the light source 13 to emit light instantaneously and perform imaging by the camera 11, the duty ratio of energization in the light source 13 can be reduced, and a large current is generated when the light source 13 emits light. It is possible to brighten the light emitted by flowing.
By brightening the light emitted from the light source 13, the aperture of the lens 18 of the camera 11 can be reduced, and the depth of the subject can be increased.
Thus, the camera 11 can more clearly capture the bright and dark pattern of the slit 15 together with the paint surface 90, and when the captured image is image-processed, the portion where the bump 91 exists can be detected with high accuracy. Is possible.

なお、本例では、照射部12からストロボ発光する光を、グラデーション付きの明暗パターンを有した拡散光とした場合について説明したが、該照射部12から発する光を、グラデーションを有さない明暗パターンの拡散光とした場合でも、照射部12にてストロボ発光を行うとともに、前記カメラ11にて前記照射部12でのストロボ発光に同期して反射光の撮像を行うことで、カメラ11の被写体深度を深くすることが可能である。   In this example, the case where the light emitted from the irradiating unit 12 with strobe light is diffused light having a gradation with a light and dark pattern with gradation, but the light emitted from the irradiation unit 12 with a light and dark pattern without gradation is described. Even when the diffused light is used, the illuminating unit 12 emits strobe light, and the camera 11 captures reflected light in synchronization with the strobe light emitted from the irradiating unit 12, so that the subject depth of the camera 11 is reduced. It is possible to deepen.

また、本表面検査装置1において、照射部12からの光が照射された塗装表面90をカメラ11により撮像する場合、カメラ11のピントを塗装表面に合わせると、図5に示すように、撮像画像には、塗装表面90に付着した埃や、塗料に含まれるメタリックや雲母等に起因するノイズ80e・80e・・・が現れる。
撮像画像に前述のようなノイズ80e・80e・・・が生じると、撮像画像80の明部80aおよび暗部80bに濃淡が生じて、ぶつ90等の欠陥部分と誤認する可能性があるため、ノイズ80eは除去することが好ましい。
従って、前述の例では撮像画像を平滑化処理することによりノイズ80eを除去したが、表面検査装置1を次のように構成することで、ノイズ80eをさらに確実に除去することが可能となる。
Moreover, in this surface inspection apparatus 1, when the coating surface 90 irradiated with the light from the irradiation part 12 is imaged with the camera 11, when the camera 11 is focused on the coating surface, as shown in FIG. , Noise 80e, 80e,... Caused by dust attached to the paint surface 90, metallic or mica contained in the paint, and the like appear.
If the noise 80e, 80e,... Described above occurs in the captured image, the bright portion 80a and the dark portion 80b of the captured image 80 may be shaded and may be mistaken as a defective portion such as the bump 90. 80e is preferably removed.
Therefore, in the above-described example, the noise 80e is removed by smoothing the captured image. However, the noise 80e can be more reliably removed by configuring the surface inspection apparatus 1 as follows.

つまり、図9に示すように、カメラ11のピントを塗装表面90からカメラ11側に所定距離だけずらして、塗装表面90のカメラ11による撮像を行うことで、塗装表面90に付着した埃や塗料内に含まれるメタリックや雲母等の大きなコントラストを有したノイズ80e成分を撮像画像から除去することが可能となる。
この場合、カメラ11のピントを塗装表面11からカメラ11側へずらす距離は、例えばカメラ11と塗装表面90との間の距離の10%〜20%程度に設定するように構成している。
That is, as shown in FIG. 9, dust and paint adhered to the painting surface 90 are obtained by shifting the focus of the camera 11 from the painting surface 90 toward the camera 11 by a predetermined distance and imaging the painting surface 90 with the camera 11. It is possible to remove noise 80e components having large contrast such as metallic and mica contained in the captured image.
In this case, the distance for shifting the focus of the camera 11 from the painting surface 11 to the camera 11 side is set to, for example, about 10% to 20% of the distance between the camera 11 and the painting surface 90.

また、ピントを塗装表面90からずらして撮像した撮像画像80に対して、前記画像処理装置50の平滑化処理部51により平滑化処理を行うことで、さらに確実にノイズ80eを除去することができ、ぶつ91等の欠陥の検出精度を向上させることができる。   In addition, the smoothing processing unit 51 of the image processing device 50 performs the smoothing process on the captured image 80 that is captured with the focus shifted from the coating surface 90, so that the noise 80e can be more reliably removed. The accuracy of detecting defects such as the bump 91 can be improved.

なお、カメラ11のピントを塗装表面90からずらして撮像することによりノイズ80eを除去することは、グラデーション付きの明暗パターンを有した拡散光の塗装表面90での反射光を撮像する際に適用することはもちろんのこと、グラデーションを有さない明暗パターンの拡散光や、明暗パターンを有さない拡散光や平行光の塗装表面90での反射光を撮像する際に適用するも可能である。   The removal of the noise 80e by shifting the focus of the camera 11 from the coating surface 90 and imaging is applied when imaging the reflected light of the diffused light having a gradation pattern with gradation on the coating surface 90. Needless to say, the present invention can also be applied to imaging diffused light of a bright / dark pattern that does not have gradation, diffused light that does not have a bright / dark pattern, or reflected light of the parallel light on the coating surface 90.

また、図1に示した表面検査装置1にて塗装表面90の画像を撮像した場合、例えば図10に示すように、ぶつ91に基づく欠陥暗部80dが、明暗パターンの明部80aと暗部80bとの境界部90c上にかかった状態で存在していた場合、ぶつ91の存在を検出することは困難である。
そこで、本表面検査装置1においては、明暗パターンの明部80aまたは暗部80b上に存在していて、境界部90cにかかっていない状態の前記欠陥暗部80dを、必ず検出することができるように構成することもできる。
Further, when an image of the coating surface 90 is taken by the surface inspection apparatus 1 shown in FIG. 1, for example, as shown in FIG. 10, the defect dark part 80d based on the bump 91 is a bright part 80a and a dark part 80b of a light / dark pattern. It is difficult to detect the presence of the hit 91 when it is present on the border 90c.
Therefore, the surface inspection apparatus 1 is configured so that the defective dark part 80d existing on the bright part 80a or the dark part 80b of the bright / dark pattern and not on the boundary part 90c can be detected without fail. You can also

つまり、図11に示す表面検査装置1には、塗装表面90の画像を撮像するカメラ11として、複数の第1カメラ11aおよび第2カメラ11bが設けられている。
前記第1カメラ11aおよび第2カメラ11bは、塗装表面90における照射光の明暗パターンの明部80aと暗部80bとの繰り返し方向に、所定の間隔を隔てて配置されている。
That is, the surface inspection apparatus 1 shown in FIG. 11 is provided with a plurality of first cameras 11a and second cameras 11b as cameras 11 that capture an image of the painted surface 90.
The first camera 11a and the second camera 11b are arranged at a predetermined interval in the repetitive direction of the bright part 80a and the dark part 80b of the bright and dark pattern of the irradiation light on the coating surface 90.

図12に示すように、前記第1カメラ11aと第2カメラ11bとの間隔Wは、各第1・第2カメラ11a・11bにて塗装表面90のある注目点Nを捉えたときに、その注目点Nの前記スリット15上での写り込み位置N1・N2の何れか一方が、必ずスリット15の明部15aおよび暗部15b(すなわち前記撮像画像80の明部80aに相当する位置または暗部80bに相当する位置)に存在するような寸法に設定されている。   As shown in FIG. 12, the distance W between the first camera 11a and the second camera 11b is obtained when the point of interest N on the paint surface 90 is captured by the first and second cameras 11a and 11b. Either one of the reflected positions N1 and N2 on the slit 15 of the point of interest N is always in the bright portion 15a and dark portion 15b of the slit 15 (that is, the position corresponding to the bright portion 80a of the captured image 80 or the dark portion 80b). The dimension is set to exist at a corresponding position).

例えば、図13に示すように、前記写り込み位置N1・N2の間隔Poが、交互に配置されるスリット15の明部15aと暗部15bとの繰り返しピッチPと同じになるように、前記第1カメラ11aと第2カメラ11bとの間隔Wを設定すると、前記写り込み位置N1・N2の両方がスリット15の明部15aと暗部15bとの境界部15c(すなわち前記撮像画像80の境界部80cに相当する位置)に位置する場合がある。   For example, as shown in FIG. 13, the first Po is such that the interval Po between the reflection positions N1 and N2 is the same as the repetition pitch P between the bright portions 15a and the dark portions 15b of the slits 15 arranged alternately. When the interval W between the camera 11a and the second camera 11b is set, both the reflection positions N1 and N2 are located at the boundary portion 15c between the bright portion 15a and the dark portion 15b of the slit 15 (that is, at the boundary portion 80c of the captured image 80). (Corresponding position).

また、図14に示すように、前記写り込み位置N1・N2の間隔Poが、スリット15における明部15aの幅寸法Paまたは暗部15bの幅寸法Pbと同じになるように、前記第1カメラ11aと第2カメラ11bとの間隔Wを設定すると、前記写り込み位置N1・N2の両方がスリット15の明部15aと暗部15bとの境界部15c(すなわち前記撮像画像80の境界部80cに相当する位置)に位置する場合がある(図14には前記間隔Poが明部15aの幅寸法Paと同じ場合を示している)。
なお、スリット15の明部15aの幅寸法Paと暗部15bの幅寸法Pbとが同じに形成されている場合、明部15aの幅寸法Paおよび暗部15bの幅寸法Pbは、それぞれ前記繰り返しピッチPの半分の寸法(1/2P)となる。
Further, as shown in FIG. 14, the first camera 11a is configured so that the interval Po between the reflection positions N1 and N2 is the same as the width dimension Pa of the bright part 15a or the width part Pb of the dark part 15b in the slit 15. When the interval W between the second camera 11b and the second camera 11b is set, both the reflection positions N1 and N2 correspond to the boundary portion 15c between the bright portion 15a and the dark portion 15b of the slit 15 (that is, the boundary portion 80c of the captured image 80). (The position Po is the same as the width Pa of the bright portion 15a).
In addition, when the width dimension Pa of the bright part 15a of the slit 15 and the width dimension Pb of the dark part 15b are formed to be the same, the width dimension Pa of the bright part 15a and the width dimension Pb of the dark part 15b are respectively the repetitive pitch P. The half dimension (1 / 2P).

従って、本例の表面検査装置1においては、前述のように、前記写り込み位置N1・N2の間隔Poが、繰り返しピッチPと同じになったり、明部15aの幅寸法Paや暗部15bの幅寸法Pbと同じになったりする間隔Wを避けて前記第1カメラ11aと第2カメラ11bとを配置している。
なお、前記第1カメラ11aと第2カメラ11bとは、前記写り込み位置N1・N2の間隔Poが、繰り返しピッチPのK倍(Kは整数)となる間隔Wも避けて配置される。
Therefore, in the surface inspection apparatus 1 of this example, as described above, the interval Po between the reflection positions N1 and N2 is the same as the repetition pitch P, the width dimension Pa of the bright part 15a, and the width of the dark part 15b. The first camera 11a and the second camera 11b are disposed so as to avoid an interval W that is the same as the dimension Pb.
The first camera 11a and the second camera 11b are arranged so as to avoid the interval W where the interval Po between the reflection positions N1 and N2 is K times the repetition pitch P (K is an integer).

つまり、第1カメラ11aおよび第2カメラ11bは、前記写り込み位置N1・N2の両方が、前記スリット15の明部15aおよび暗部15bの境界部15c(すなわち前記撮像画像80の境界部80cに相当する位置)に存在することとなる間隔Wを避けて配置され、該写り込み位置N1・N2の何れか一方が、必ずスリット15の明部15aおよび暗部15b(すなわち前記撮像画像80の明部80aに相当する位置または暗部80bに相当する位置)に存在するように構成されている。   That is, in the first camera 11a and the second camera 11b, both the reflection positions N1 and N2 correspond to the boundary portion 15c of the bright portion 15a and the dark portion 15b of the slit 15 (that is, the boundary portion 80c of the captured image 80). Is located so as to avoid the interval W that is present at any position, and either one of the reflected positions N1 and N2 is always the bright portion 15a and the dark portion 15b of the slit 15 (that is, the bright portion 80a of the captured image 80). Or a position corresponding to the dark portion 80b).

また、前記カメラ11から塗装表面90までの距離をL1、塗装表面90からスリット15までの距離をL2とすると、前記間隔Poは、
Po=(L2×W)/L1
の式により求めることができるが、前記距離L1、距離L2、および間隔Wは、前記間隔Poが、前記繰り返しピッチPおよび繰り返しピッチPのK倍(Kは整数)、ならびに明部15aの幅寸法Paおよび暗部15bの幅寸法Pbと同じにならないように設定される。
When the distance from the camera 11 to the coating surface 90 is L1, and the distance from the coating surface 90 to the slit 15 is L2, the interval Po is
Po = (L2 × W) / L1
The distance L1, the distance L2, and the interval W can be obtained by the following equation: the interval Po is the repetition pitch P and K times the repetition pitch P (K is an integer), and the width dimension of the bright portion 15a. It is set not to be the same as Pa and the width dimension Pb of the dark part 15b.

前記間隔Wは、明部15aの幅寸法Paと暗部15bの幅寸法Pbとが同じに形成されている場合等には、例えば前記写り込み位置N1・N2の間隔Poが、前記繰り返しピッチPの1/4や3/4の大きさとなるように(つまり、Po=(1/4)PやPo=(3/4)Pとなるように)設定される。
このように設定をすることで、前記写り込み位置N1・N2の両方がスリット15の明部15aと暗部15bとの境界部15cに位置することがなく、例えば図15示すように、一方の第1カメラ11aの撮像画像80における明部80aと暗部80bとの境界部80cに、ぶつ91に基づく欠陥暗部80dが位置していたときには、他方の第2カメラ11bの撮像画像80においては、ぶつ91に基づく欠陥暗部80d(または欠陥明部)は明部80a(または暗部80b)に位置することとなる(ぶつ91等の欠陥の存在に基づいて撮像画像80上に生じるコントラストは、暗部80bに位置しているときには明部となる)。
For example, when the width dimension Pa of the bright portion 15a and the width dimension Pb of the dark portion 15b are formed to be the same as each other, the interval Po between the reflection positions N1 and N2 is equal to the repetition pitch P. The size is set to 1/4 or 3/4 (that is, Po = (1/4) P or Po = (3/4) P).
By setting in this way, both the reflection positions N1 and N2 are not located at the boundary 15c between the bright portion 15a and the dark portion 15b of the slit 15, and for example, as shown in FIG. When the defect dark part 80d based on the hit 91 is located at the boundary 80c between the bright part 80a and the dark part 80b in the picked-up image 80 of one camera 11a, the hit 91 in the picked-up image 80 of the other second camera 11b. The defect dark part 80d (or defective bright part) based on the above is located in the bright part 80a (or dark part 80b) (contrast generated on the captured image 80 based on the presence of defects such as the bump 91 is located in the dark part 80b. It ’s bright when you ’re doing).

本例の表面検査装置1では、第1カメラ11aおよび第2カメラ11bにより同時に撮像された塗装表面90の撮像画像80・80がそれぞれ画像処理装置50に入力され、該画像処理装置50では、前記欠陥暗部80d(または欠陥明部)が明部80a(または暗部80b)に位置している側の撮像画像80を適宜選択した上で、前述のような平滑化処理、微分処理、および2値化処理といった画像処理を施して、ぶつ91等の欠陥の検出が行われる。   In the surface inspection apparatus 1 of this example, the picked-up images 80 and 80 of the painted surface 90 simultaneously picked up by the first camera 11a and the second camera 11b are respectively input to the image processing apparatus 50. In the image processing apparatus 50, After appropriately selecting the captured image 80 on the side where the defective dark portion 80d (or defective bright portion) is located in the bright portion 80a (or dark portion 80b), smoothing processing, differentiation processing, and binarization as described above Image processing such as processing is performed to detect defects such as the bump 91.

なお、本例ではカメラ11として複数の第1カメラ11aおよび第2カメラ11bを用いて、複数の箇所から撮像した撮像画像80・80を得るように構成しているが、カメラ11として1台のカメラのみを用いて、ある箇所から塗装表面90を撮像した後に、前記移動ロボット60によりカメラ11の位置を移動させて、塗装表面90の同じ場所を、移動後の箇所から撮像することにより、複数の箇所から撮像した撮像画像80・80を得ることも可能である。
また、カメラ11による撮像は2箇所から行うことに限るものではなく、3箇所以上から撮像した塗装表面90の撮像画像を画像処理装置50に入力するように構成することもできる。
In this example, a plurality of first cameras 11 a and second cameras 11 b are used as the camera 11 so as to obtain captured images 80 and 80 captured from a plurality of locations. After imaging the coating surface 90 from a certain location using only the camera, the position of the camera 11 is moved by the mobile robot 60, and the same location on the painting surface 90 is imaged from the location after the movement. It is also possible to obtain the picked-up images 80 and 80 picked up from the points.
In addition, the imaging by the camera 11 is not limited to being performed from two places, and it may be configured to input captured images of the painted surface 90 captured from three or more places to the image processing apparatus 50.

このように、本例の表面検査装置1においては、塗装表面90からの反射光を複数の箇所から撮像可能に構成しているので、例えば一方の撮像画像80において前記欠陥暗部80dが明部80aと暗部80bとの境界部80cに位置していたとしても、他の撮像画像80における欠陥暗部80dが前記明部80a(欠陥明部の場合は暗部80b)に位置することが期待でき、ぶつ91等の欠陥の有無を適切に検出することが可能となる。   Thus, in the surface inspection apparatus 1 of this example, since the reflected light from the coating surface 90 is configured to be imaged from a plurality of locations, for example, in one captured image 80, the defect dark part 80d is the bright part 80a. Even if it is located at the boundary 80c between the dark portion 80b and the dark portion 80b, it can be expected that the defective dark portion 80d in the other captured image 80 is located in the bright portion 80a (in the case of a defective bright portion, the dark portion 80b). It is possible to appropriately detect the presence or absence of defects such as.

特に、本表面検査装置1では、少なくとも何れか一つの撮像位置にて撮像した撮像画像に存在する欠陥暗部80dが、明暗パターンの境界部80cにかからない場所に位置するように前記間隔Wの値を設定しているので、少なくとも一つの撮像画像80における欠陥暗部80dが、必ず前記明部80a(欠陥明部の場合は暗部80b)に位置することとなり、確実にぶつ91等の欠陥の有無を検出することが可能となっている。   In particular, in the surface inspection apparatus 1, the value of the interval W is set so that the defective dark portion 80d existing in the captured image captured at at least one of the imaging positions is located at a location that does not cover the boundary portion 80c of the light / dark pattern. Therefore, the defect dark part 80d in at least one captured image 80 is always located in the bright part 80a (in the case of a defective bright part, the dark part 80b), and the presence or absence of a defect such as the bump 91 is reliably detected. It is possible to do.

表面検査装置を示すブロック図である。It is a block diagram which shows a surface inspection apparatus. 照射部から照射されるグラデーション付きの明暗パターンを有した拡散光の撮像画像を示す図である。It is a figure which shows the picked-up image of the diffused light which has the light and dark pattern with the gradation irradiated from an irradiation part. 拡散光を曲面の塗装表面に照射した場合の検査視野を示す側面断面図である。It is side surface sectional drawing which shows a test | inspection visual field at the time of irradiating a diffused light to the curved coating surface. 明暗のパターンが付与された拡散光を大きな範囲で塗装表面に照射した場合のカメラによる撮像状態を示す側面断面図である。It is side surface sectional drawing which shows the imaging state with a camera at the time of irradiating the coating surface in the large range with the diffused light to which the pattern of light and dark was provided. まだ画像処理が行われていない撮像画像を示す図である。It is a figure which shows the picked-up image in which image processing is not yet performed. 平滑化処理が行われた撮像画像を示す図である。It is a figure which shows the captured image in which the smoothing process was performed. 微分処理が行われた撮像画像を示す図である。It is a figure which shows the captured image in which the differentiation process was performed. 微分処理が行われた撮像画像を示す図である。It is a figure which shows the captured image in which the differentiation process was performed. カメラのピントを塗装表面からカメラ側に所定距離だけずらした状態の検査ヘッドを示す側面断面図である。It is side surface sectional drawing which shows the test | inspection head of the state which shifted the focus of the camera by the predetermined distance from the coating surface to the camera side. ぶつに基づく暗部が明暗パターンの明部と暗部との境界部にかかった状態で存在して撮像画像を示す図である。It is a figure which shows the picked-up image which exists in the state where the dark part based on the hit | hung was applied to the boundary part of the bright part and dark part of a light-dark pattern. カメラを複数設けた構成の表面検査装置を示すブロック図である。It is a block diagram which shows the surface inspection apparatus of the structure which provided multiple cameras. 第1カメラおよび第2カメラの位置関係を示す側面図である。It is a side view which shows the positional relationship of a 1st camera and a 2nd camera. 第1・第2カメラの塗装表面における注目点の、スリット上での写り込み位置の間隔が、交互に配置されるスリットの明部と暗部との繰り返しピッチと同じになるように、前記第1カメラと第2カメラとの間隔を設定した状態を示す側面図である。The first and second cameras are arranged in such a manner that the interval between the reflection positions on the slit of the target point on the paint surface of the first and second cameras is the same as the repetition pitch of the bright and dark portions of the alternately arranged slits. It is a side view which shows the state which set the space | interval of a camera and a 2nd camera. 第1・第2カメラの塗装表面における注目点の、スリット上での写り込み位置の間隔が、交互に配置されるスリットの明部の幅寸法と同じになるように、前記第1カメラと第2カメラとの間隔を設定した状態を示す側面図である。The first camera and the second camera are arranged so that the distance between the reflected positions on the slits of the points of interest on the paint surfaces of the first and second cameras is the same as the width of the bright portion of the alternately arranged slits. It is a side view which shows the state which set the space | interval with 2 cameras. 第1カメラによる撮像画像と第2カメラによる撮像画像とを示す図である。It is a figure which shows the captured image by a 1st camera, and the captured image by a 2nd camera. 拡散フラット光を用いて塗装表面のぶつを検出する場合の光の反射経路を示す側面断面図である。It is side surface sectional drawing which shows the reflection path | route of the light in the case of detecting the collision of the coating surface using diffuse flat light. 照射範囲を大きくした拡散フラット光を用いて塗装表面のぶつを検出する場合の光の反射経路を示す側面断面図である。It is side surface sectional drawing which shows the light reflection path | route in the case of detecting the collision of the coating surface using the diffused flat light which enlarged the irradiation range. 曲面に構成される塗装表面のぶつを平行光を用いて検出する場合の光の反射経路を示す側面断面図である。It is side surface sectional drawing which shows the reflection path | route of the light in the case of detecting the collision of the coating surface comprised by a curved surface using parallel light. スリット状の明暗パターンを有する光を塗装表面に照射した場合の撮像画像を示す図である。It is a figure which shows the picked-up image at the time of irradiating the coating surface with the light which has a slit-like light-dark pattern. (a)は塗装表面に照射した明暗パターンを有する光の反射光をカメラにて撮像して得られた撮像画像に平滑化処理を施した状態を示す図、(b)は(a)の撮像画像に対して微分処理を行った状態を示す図、(c)は(b)の撮像画像に対してライン状の白色部を除去する画像処理、および2値化処理を施した状態を示す図である。(A) is the figure which shows the state which performed the smoothing process to the picked-up image obtained by imaging the reflected light of the light which has the light-dark pattern irradiated to the coating surface with a camera, (b) is the imaging of (a) The figure which shows the state which performed the differentiation process with respect to an image, (c) is the figure which shows the state which performed the image process and the binarization process which remove the line-shaped white part with respect to the captured image of (b) It is.

符号の説明Explanation of symbols

1 表面検査装置
10 検査ヘッド
11 カメラ
11a レンズ
12 照射部
13 光源
14 拡散板
15 スリット
16 ハーフミラー
20 光源制御装置
30 カメラコントローラー
40 レンズ絞り制御装置
50 画像処理装置
51 平滑化処理部
52 微分処理部
53 2値化処理部
60 移動ロボット
61 ロボット制御盤
80 撮像画像
80a (明暗パターンの)明部
80b (明暗パターンの)暗部
80c (明暗パターンの)明部と暗部との境界部
80d (ぶつの存在に基づく)暗部
90 塗装表面
91 ぶつ
DESCRIPTION OF SYMBOLS 1 Surface inspection apparatus 10 Inspection head 11 Camera 11a Lens 12 Irradiation part 13 Light source 14 Diffusion plate 15 Slit 16 Half mirror 20 Light source control apparatus 30 Camera controller 40 Lens aperture control apparatus 50 Image processing apparatus 51 Smoothing process part 52 Differentiation process part 53 Binarization processing unit 60 Mobile robot 61 Robot control panel 80 Captured image 80a Bright part 80b (bright / dark pattern) Dark part 80c (Bright / dark pattern) Boundary part 80d (bright and dark pattern) Based on) dark part 90 painted surface 91 bump

Claims (7)

明暗パターンが形成され、該明暗パターンにおける明部と暗部との境界部に明度のグラデーションを有する拡散光を、検査対象表面に照射する照射部と、
前記検査対象表面で反射した反射光を撮像する撮像部と、
前記撮像部にて撮像された撮像画像を画像処理して前記検査対象表面の欠陥を検出する画像処理装置とを備え、
前記画像処理装置は、前記撮像画像を微分処理する微分処理部と、微分処理後の撮像画像を2値化処理する2値化処理部とを備える、
ことを特徴とする表面検査装置。
A light / dark pattern is formed, and an irradiation unit that irradiates a surface to be inspected with diffused light having a gradation of lightness at a boundary between a light part and a dark part in the light / dark pattern;
An imaging unit that images reflected light reflected by the surface of the inspection object;
An image processing device that detects a defect on the inspection target surface by performing image processing on a captured image captured by the imaging unit;
The image processing apparatus includes a differentiation processing unit that performs differentiation processing on the captured image, and a binarization processing unit that performs binarization processing on the captured image after differentiation processing.
A surface inspection apparatus characterized by that.
前記照射部は、光を発する光源と、前記光を拡散させる拡散板と、前記拡散板を通過した拡散光にグラデーション付きの明暗パターンを付与するスリットとを備える、
ことを特徴とする請求項1に記載の表面検査装置。
The irradiation unit includes a light source that emits light, a diffusion plate that diffuses the light, and a slit that imparts a gradation pattern with gradation to the diffused light that has passed through the diffusion plate.
The surface inspection apparatus according to claim 1.
明暗のパターンが形成される拡散光を、検査対象表面に照射する照射部と、
前記検査対象表面で反射した反射光を撮像する撮像部と、
前記撮像部にて撮像された撮像画像を画像処理して前記検査対象表面の欠陥を検出する画像処理装置とを備え、
前記撮像部は、検査対象表面からの反射光を複数の箇所から撮像可能であり、
前記画像処理装置は、前記撮像画像を微分処理する微分処理部と、微分処理後の撮像画像を2値化処理する2値化処理部とを備える、
ことを特徴とする表面検査装置。
An irradiation unit that irradiates the surface to be inspected with diffused light that forms a bright and dark pattern, and
An imaging unit that images reflected light reflected by the surface of the inspection object;
An image processing device that detects a defect on the inspection target surface by performing image processing on a captured image captured by the imaging unit;
The imaging unit can capture reflected light from the surface to be inspected from a plurality of locations,
The image processing apparatus includes a differentiation processing unit that performs differentiation processing on the captured image, and a binarization processing unit that performs binarization processing on the captured image after differentiation processing.
A surface inspection apparatus characterized by that.
前記撮像部における複数の撮像位置間の距離は、
少なくとも何れか一つの撮像位置にて撮像した画像に存在する欠陥が、明暗パターンの境界部にかからない場所に位置するように設定する、
ことを特徴とする請求項3に記載の表面検査装置。
The distance between a plurality of imaging positions in the imaging unit is
Set so that the defect present in the image captured at at least one of the imaging positions is located in a place that does not cover the boundary of the light and dark pattern.
The surface inspection apparatus according to claim 3.
明暗のパターンが形成される拡散光を、検査対象表面に照射する照射部と、
前記検査対象表面で反射した反射光を撮像する撮像部と、
前記撮像部にて撮像された撮像画像を画像処理して前記検査対象表面の欠陥を検出する画像処理装置とを備え、
前記照射部は、前記拡散光をストロボ発光し、
前記撮像部は、前記照射部でのストロボ発光に同期して反射光の撮像を行う、
ことを特徴とする表面検査装置。
An irradiation unit that irradiates the surface to be inspected with diffused light that forms a bright and dark pattern, and
An imaging unit that images reflected light reflected by the surface of the inspection object;
An image processing device that detects a defect on the inspection target surface by performing image processing on a captured image captured by the imaging unit;
The irradiation unit strobes the diffused light,
The imaging unit performs imaging of reflected light in synchronization with strobe emission in the irradiation unit,
A surface inspection apparatus characterized by that.
検査対象表面に光を照射する照射部と、
前記検査対象表面で反射した反射光を撮像する撮像部と、
前記撮像部にて撮像された撮像画像を画像処理して前記検査対象表面の欠陥を検出する画像処理装置とを備え、
前記撮像部は、撮像時の焦点位置を調節可能に構成され、前記撮像時の焦点位置を検査対象表面からずらした位置に調節する、
ことを特徴とする表面検査装置。
An irradiation unit for irradiating light on the surface to be inspected;
An imaging unit that images reflected light reflected by the surface of the inspection object;
An image processing device that detects a defect on the inspection target surface by performing image processing on a captured image captured by the imaging unit;
The imaging unit is configured to be capable of adjusting a focal position at the time of imaging, and adjusts the focal position at the time of imaging to a position shifted from the inspection target surface.
A surface inspection apparatus characterized by that.
前記検査対象表面は、塗料が塗布された塗装表面である、
ことを特徴とする請求項1〜請求項6の何れか一項に記載の表面検査装置。

The surface to be inspected is a painted surface to which a paint is applied,
The surface inspection apparatus according to any one of claims 1 to 6, wherein:

JP2007088762A 2007-03-29 2007-03-29 Surface inspection device Pending JP2008249397A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2007088762A JP2008249397A (en) 2007-03-29 2007-03-29 Surface inspection device
PCT/JP2008/056739 WO2008123604A1 (en) 2007-03-29 2008-03-28 Surface inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007088762A JP2008249397A (en) 2007-03-29 2007-03-29 Surface inspection device

Publications (1)

Publication Number Publication Date
JP2008249397A true JP2008249397A (en) 2008-10-16

Family

ID=39831059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007088762A Pending JP2008249397A (en) 2007-03-29 2007-03-29 Surface inspection device

Country Status (2)

Country Link
JP (1) JP2008249397A (en)
WO (1) WO2008123604A1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011027734A (en) * 2009-07-15 2011-02-10 Byk-Gardner Gmbh Device for inspection of textured surface
JP2011232192A (en) * 2010-04-28 2011-11-17 Arc Harima Co Ltd Surface texture measurement device and surface texture measurement method
JP2011237392A (en) * 2010-05-13 2011-11-24 Toyota Motor Corp Defect detection method and defect detection device
US8224060B2 (en) 2008-10-10 2012-07-17 Toyota Jidosha Kabushiki Kaisha Image processing method, paint inspection method and paint inspection system
WO2013118898A1 (en) * 2012-02-08 2013-08-15 株式会社小糸製作所 Illuminating apparatus for inspection
KR20180127204A (en) * 2017-05-18 2018-11-28 파스포드 테크놀로지 주식회사 Semiconductor manufacturing apparatus and method for manufacturing semiconductor device
CN109085172A (en) * 2017-06-14 2018-12-25 佳能株式会社 Image acquisition equipment and image acquiring method
JP2019002762A (en) * 2017-06-14 2019-01-10 キヤノン株式会社 Image processing device and method
CN109724982A (en) * 2017-10-31 2019-05-07 佳能株式会社 Image generating method, video generation device and method is determined using its defect
CN110501343A (en) * 2019-08-23 2019-11-26 大族激光科技产业集团股份有限公司 Light supply apparatus, detection method of surface flaw and device
CN112255246A (en) * 2020-08-31 2021-01-22 中国科学院合肥物质科学研究院 Novel optical imaging system and method for detecting surface defects of lithium battery pole plate
JP7370023B1 (en) 2022-08-05 2023-10-27 株式会社レイマック Inspection equipment and inspection method

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IT201700077459A1 (en) 2017-07-10 2019-01-10 Tekno Idea Srl DEVICE AND PROCEDURE FOR DETECTION OF SURFACE DEFECTS
JP7157355B1 (en) 2021-06-04 2022-10-20 ダイキン工業株式会社 Evaluation method, evaluation device and computer program
CN116106330B (en) * 2023-04-17 2023-06-20 武汉名杰模塑有限公司 Automobile bumper paint defect detection device and detection method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0373831A (en) * 1989-05-19 1991-03-28 Mitsubishi Rayon Co Ltd Device for inspecting defect
JPH0662407A (en) * 1992-08-05 1994-03-04 Asia Kosoku Kk Method and device for binarizing surface condition using defocused image
JPH0979988A (en) * 1995-09-11 1997-03-28 Nissan Motor Co Ltd Surface defect inspecting device
JPH10318938A (en) * 1997-05-20 1998-12-04 Nissan Motor Co Ltd Surface-inspection apparatus
JP2002116015A (en) * 2000-10-05 2002-04-19 Mitsubishi Rayon Co Ltd Apparatus and method for detection of defect
JP2006292412A (en) * 2005-04-06 2006-10-26 Murakami Corp Surface inspection system, surface inspection method and substrate manufacturing method
JP2007040923A (en) * 2005-08-05 2007-02-15 Jfe Galvanizing & Coating Co Ltd Method and detector for detecting surface defect

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3189588B2 (en) * 1994-09-14 2001-07-16 日産自動車株式会社 Surface defect inspection equipment
JPH09105724A (en) * 1995-08-04 1997-04-22 Kobe Steel Ltd Surface inspection device
JP2001338280A (en) * 2000-05-30 2001-12-07 Nippon Telegr & Teleph Corp <Ntt> Three-dimensional space information input device
JP2002131238A (en) * 2000-10-25 2002-05-09 Honda Motor Co Ltd Visual inspection apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0373831A (en) * 1989-05-19 1991-03-28 Mitsubishi Rayon Co Ltd Device for inspecting defect
JPH0662407A (en) * 1992-08-05 1994-03-04 Asia Kosoku Kk Method and device for binarizing surface condition using defocused image
JPH0979988A (en) * 1995-09-11 1997-03-28 Nissan Motor Co Ltd Surface defect inspecting device
JPH10318938A (en) * 1997-05-20 1998-12-04 Nissan Motor Co Ltd Surface-inspection apparatus
JP2002116015A (en) * 2000-10-05 2002-04-19 Mitsubishi Rayon Co Ltd Apparatus and method for detection of defect
JP2006292412A (en) * 2005-04-06 2006-10-26 Murakami Corp Surface inspection system, surface inspection method and substrate manufacturing method
JP2007040923A (en) * 2005-08-05 2007-02-15 Jfe Galvanizing & Coating Co Ltd Method and detector for detecting surface defect

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8224060B2 (en) 2008-10-10 2012-07-17 Toyota Jidosha Kabushiki Kaisha Image processing method, paint inspection method and paint inspection system
JP2011027734A (en) * 2009-07-15 2011-02-10 Byk-Gardner Gmbh Device for inspection of textured surface
JP2011232192A (en) * 2010-04-28 2011-11-17 Arc Harima Co Ltd Surface texture measurement device and surface texture measurement method
JP2011237392A (en) * 2010-05-13 2011-11-24 Toyota Motor Corp Defect detection method and defect detection device
WO2013118898A1 (en) * 2012-02-08 2013-08-15 株式会社小糸製作所 Illuminating apparatus for inspection
CN108962784A (en) * 2017-05-18 2018-12-07 捷进科技有限公司 The manufacturing method of semiconductor manufacturing apparatus and semiconductor devices
KR20180127204A (en) * 2017-05-18 2018-11-28 파스포드 테크놀로지 주식회사 Semiconductor manufacturing apparatus and method for manufacturing semiconductor device
KR102104936B1 (en) * 2017-05-18 2020-04-27 파스포드 테크놀로지 주식회사 Semiconductor manufacturing apparatus and method for manufacturing semiconductor device
CN109085172A (en) * 2017-06-14 2018-12-25 佳能株式会社 Image acquisition equipment and image acquiring method
JP2019002762A (en) * 2017-06-14 2019-01-10 キヤノン株式会社 Image processing device and method
US10740890B2 (en) 2017-06-14 2020-08-11 Canon Kabushiki Kaisha Image processing apparatus, method, and storage medium
CN109724982A (en) * 2017-10-31 2019-05-07 佳能株式会社 Image generating method, video generation device and method is determined using its defect
CN110501343A (en) * 2019-08-23 2019-11-26 大族激光科技产业集团股份有限公司 Light supply apparatus, detection method of surface flaw and device
CN112255246A (en) * 2020-08-31 2021-01-22 中国科学院合肥物质科学研究院 Novel optical imaging system and method for detecting surface defects of lithium battery pole plate
JP7370023B1 (en) 2022-08-05 2023-10-27 株式会社レイマック Inspection equipment and inspection method

Also Published As

Publication number Publication date
WO2008123604A1 (en) 2008-10-16

Similar Documents

Publication Publication Date Title
JP2008249397A (en) Surface inspection device
JP4719284B2 (en) Surface inspection device
US7505149B2 (en) Apparatus for surface inspection and method and apparatus for inspecting substrate
TWI590725B (en) Detecting device and detecting method of appearance of printed circuit board
JP6474756B2 (en) Defect inspection method and apparatus
JP2011133306A (en) Inspection apparatus and inspection method
JP4760029B2 (en) Defect inspection method and defect inspection apparatus
JP2014038045A (en) Inspection device, illumination, inspection method, program and substrate producing method
JP6745150B2 (en) Lighting device and image inspection device
KR101679314B1 (en) Method for inspection of overlapping exposure image mixing using multiple exposure
CN113533344A (en) Optical detection device and method
JP5417197B2 (en) Inspection apparatus and inspection method
JP2009250844A (en) Three-dimensional shape measurement method and three-dimensional shape measurement apparatus
WO2019124508A1 (en) Wire shape inspecting device and wire shape inspecting method
JP2009031228A (en) Method for inspecting curved surface state and apparatus for inspecting appearance of substrate
JP7061036B2 (en) Light irradiation device, optical evaluation device and article manufacturing method
JP2013015389A (en) Inspection method of weld position and device for the method
US11796308B2 (en) Three-dimensional measuring apparatus, three-dimensional measuring method
JP2009236760A (en) Image detection device and inspection apparatus
JP5580120B2 (en) Board inspection equipment
JP2015210226A (en) Visual inspection device and visual inspection method
JP2007242944A (en) Method and device for evaluating solder wettability
JP2008139126A (en) Flaw detector and flaw detection method
KR101362171B1 (en) Apparatus and method of testing display device
JP4017585B2 (en) Paint surface inspection equipment

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110405

A02 Decision of refusal

Effective date: 20110920

Free format text: JAPANESE INTERMEDIATE CODE: A02