JP2009186447A - Inspection apparatus - Google Patents

Inspection apparatus Download PDF

Info

Publication number
JP2009186447A
JP2009186447A JP2008029822A JP2008029822A JP2009186447A JP 2009186447 A JP2009186447 A JP 2009186447A JP 2008029822 A JP2008029822 A JP 2008029822A JP 2008029822 A JP2008029822 A JP 2008029822A JP 2009186447 A JP2009186447 A JP 2009186447A
Authority
JP
Japan
Prior art keywords
inspection
image data
light
defect
region
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
JP2008029822A
Other languages
Japanese (ja)
Inventor
Yasuhiro Nakai
康博 中井
Shuichi Iketani
秀一 池谷
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.)
Toray Industries Inc
Original Assignee
Toray Industries Inc
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 Toray Industries Inc filed Critical Toray Industries Inc
Priority to JP2008029822A priority Critical patent/JP2009186447A/en
Publication of JP2009186447A publication Critical patent/JP2009186447A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an inspection apparatus required for inspecting both portion with solder resist and portion without solder resist in inspection of circuit patterns to obtain circuit pattern of any solder resist-applied portion difficult to be obtained by image processing-based defect inspection because of lower brightness in image data of the solder resist-applied portion, furthermore irradiating light should be intensified for acquiring the circuit pattern of any solder resist-applied portion, however, the portion with no solder resist applied will be skipped to white. <P>SOLUTION: By using this inspection apparatus, any white skipped area is deleted from the image data by irradiation with intense light to conduct defect inspection. Then defect inspection of the deleted white skipped area is conducted by irradiation with light of normal intensity. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、プリント基板回路パターン、LSI回路パターンの欠陥を画像処理により自動的に検査する回路パターンの検査装置および検査方法に関する。   The present invention relates to a circuit pattern inspection apparatus and inspection method for automatically inspecting printed circuit board circuit patterns and LSI circuit pattern defects by image processing.

回路パターンの検査装置は2組の回路パターンを比較して一致しない部分を欠陥として検出する方法が一般的である。2組の回路パターンは、隣接する2つの回路パターンを撮像したもの、あるいは1つが予め決定した基準パターンで他方が検査対象となるパターンとする方法などがある。   In general, a circuit pattern inspection apparatus compares two sets of circuit patterns and detects a mismatched portion as a defect. As the two sets of circuit patterns, there are a method in which two adjacent circuit patterns are imaged, or a method in which one is a predetermined reference pattern and the other is a pattern to be inspected.

回路パターンの欠陥検査方法は、基準となるパターンと検査対象となる被検査物を比較し、その違いを欠陥として検出する方法が従来から提案されている(特許文献1参照)。   As a circuit pattern defect inspection method, a method of comparing a reference pattern and an inspection object to be inspected and detecting the difference as a defect has been proposed (see Patent Document 1).

ところで、回路パターンの中にはソルダレジストを塗布してパターンを保護している部分がある。ソルダレジストは回路パターン中の銅箔部分の酸化防止や半田付けが予定されている部分以外の半田付けによる短絡防止や配線パターンの機械的な保護の目的で、回路パターン中の半田付け予定部分以外の部分に塗布される。   By the way, in the circuit pattern, there is a portion where a solder resist is applied to protect the pattern. Solder resist is used for the purpose of preventing short circuit by soldering and mechanical protection of the wiring pattern except for the part other than the part where the copper foil part in the circuit pattern is planned to prevent oxidation or soldering. It is applied to the part.

従ってソルダレジストには、電気絶縁性、耐熱性、耐候性などが要求される。そのため、エポキシ樹脂、フェノール樹脂、ポリウレタン樹脂、シリコーン、ポリイミド樹脂といった熱硬化性の樹脂が主として利用される。通常は目視検査時に検査員の視覚疲労を軽減するために緑色の半透明に着色されている。   Accordingly, the solder resist is required to have electrical insulation, heat resistance, weather resistance, and the like. Therefore, thermosetting resins such as epoxy resin, phenol resin, polyurethane resin, silicone, and polyimide resin are mainly used. Usually, it is colored green translucent to reduce the visual fatigue of the inspector during visual inspection.

つまり、回路パターン中には、緑色の半透明になった部分とそうでない部分が混在する場合がある。ソルダレジストを塗布された部分は、画像データとしては、輝度が低い部分となり、塗布されていない部分は輝度は高い部分となる。回路パターンの検査装置は、このように輝度の高い部分と低い部分の欠陥検査に対応する必要がある。   That is, in the circuit pattern, a green semi-transparent portion and a non-transparent portion may be mixed. The portion to which the solder resist is applied is a portion with low luminance as image data, and the portion to which the solder resist is not applied is a portion with high luminance. The circuit pattern inspection apparatus needs to cope with the defect inspection of the high luminance portion and the low luminance portion.

このような要求に対して、特許文献2では、検査装置に、ソルダレジスト塗布部分用とソルダレジストがない部分用の2種類の照明を用意する発明が開示されている。これらの2種類の照明はその設置角度が異なっており、照射角度の違う光を当てることで、ソルダレジストが塗布された部分とそうでない部分を区別しようとするものである。
特公昭59−024361号公報 特開2007−139676号公報
In response to such a requirement, Patent Document 2 discloses an invention in which two types of illumination for a solder resist coating portion and a portion without a solder resist are prepared in an inspection apparatus. These two types of illuminations have different installation angles. By applying light with different irradiation angles, it is intended to distinguish a portion where the solder resist is applied from a portion where it is not.
Japanese Examined Patent Publication No. 59-024361 JP 2007-139676 A

特許文献2のように、被検査物である回路パターンに照射する光の角度を変更するだけでソルダレジストの有無を判断するのは以下の理由により容易ではない。特許文献2の場合、画像処理ルーチンは変わらないので、予め想定された階調を持つ画像処理方法に対応できるような画像データを画像処理ルーチンに渡す必要がある。しかし、照射する光の角度を変更するだけでは、ソルダレジストの種類や塗布厚などの条件に対応できず、ソルダレジストが有る部分と無い部分の画像データの輝度を同じにはできないからである。   As in Patent Document 2, it is not easy to determine the presence or absence of a solder resist simply by changing the angle of light applied to a circuit pattern that is an object to be inspected. In the case of Patent Document 2, since the image processing routine does not change, it is necessary to pass image data that can correspond to an image processing method having a previously assumed gradation to the image processing routine. However, simply changing the angle of the irradiating light cannot cope with conditions such as the type of solder resist and the coating thickness, and the brightness of the image data in the portion with and without the solder resist cannot be made the same.

また、光を斜めから照射した場合は、リード線表面の凹凸欠陥の検出精度が低下するという課題もあった。   Further, when the light is irradiated obliquely, there is a problem that the detection accuracy of the concavo-convex defect on the surface of the lead wire is lowered.

本発明はこのような課題に鑑みて想到されたものである。すなわち、リード線表面の凹凸欠陥の検出精度を低下させることなく、しかも少ないステージ数でソルダレジストが塗布された部分とそうでない部分の欠陥検査を行える装置及び方法を提供することにある。   The present invention has been conceived in view of such problems. That is, it is an object of the present invention to provide an apparatus and a method capable of inspecting a defect where a solder resist is applied and a part where the solder resist is applied with a small number of stages without reducing the detection accuracy of the irregularities on the lead wire surface.

本発明は、被検査物に高い照度の光を照射し、ソルダレジストを塗布していない部分を白飛びの画像データとして取得し、画像データのうち白飛びになった領域以外の部分に対して画像処理による欠陥検査をおこなうことでソルダレジストが塗布された部分を検査するものである。   The present invention irradiates the object to be inspected with high illuminance light, obtains the portion where the solder resist is not applied as overexposed image data, and applies to the portion other than the overexposed region in the image data. By performing defect inspection by image processing, a portion to which a solder resist is applied is inspected.

すなわち、本発明の検査装置は、
被検査物の画像データから被検査物の欠陥検査を行う装置であって、
被検査物に照射する光の照度が変更可能な照明手段と、
前期被検査物の画像データを取得する撮像手段と、
前記画像データの中で輝度が所定の閾値以下の領域から欠陥検査を行う画像処理手段を有する検査装置である。
That is, the inspection apparatus of the present invention is
An apparatus for inspecting a defect of an inspection object from image data of the inspection object,
Illumination means capable of changing the illuminance of light irradiating the inspection object,
Imaging means for acquiring image data of the inspected object in the previous period;
The inspection apparatus includes an image processing unit that performs defect inspection from an area in which the luminance is equal to or lower than a predetermined threshold in the image data.

また、本発明の検査方法は、
被検査物の画像データから被検査物の欠陥検査を行う方法であって、
被検査物に光を照射する工程と、
前記被検査物の画像データを取得する工程と、
前記画像データの中で輝度が所定の閾値以下の領域から欠陥検査を行うための画像処理を行う工程を有する検査方法である。
Moreover, the inspection method of the present invention includes:
A method for inspecting a defect of an inspection object from image data of the inspection object,
Irradiating the object with light,
Obtaining image data of the inspection object;
The inspection method includes a step of performing image processing for performing defect inspection from an area in which luminance is not more than a predetermined threshold in the image data.

本発明は、照射する光の光量を変化させてソルダレジストが塗布された部分の有無を判断するので、照明の照射角度は変らない。従って、リード線の表面の凹凸に対する検出感度が低下しないという効果を有する。また、検査ステージは、透過光および反射光を用いる1セットのステージでよく、装置の設置場所が狭くてよいという効果を有する。   Since the present invention determines the presence or absence of a portion coated with a solder resist by changing the amount of light to be irradiated, the illumination angle of illumination does not change. Therefore, there is an effect that the detection sensitivity to the irregularities on the surface of the lead wire does not decrease. Further, the inspection stage may be a set of stages using transmitted light and reflected light, and has an effect that the installation place of the apparatus may be narrow.

本発明の検査装置の説明を行う前に、本発明の検査装置の概念を簡単に説明する。本発明の検査装置では、まず、樹脂上に形成された回路パターンに、十分に明るい光を照射する。なお、本明細書では、この「十分に明るい光」を高照度光と呼ぶ。   Before describing the inspection apparatus of the present invention, the concept of the inspection apparatus of the present invention will be briefly described. In the inspection apparatus of the present invention, first, sufficiently bright light is irradiated onto the circuit pattern formed on the resin. In the present specification, this “sufficiently bright light” is referred to as high illuminance light.

十分に明るい光によって、ソルダレジスト層を通して下の回路パターンの画像データを得ることができる。しかし、その時には、ソルダレジストが塗布されていない部分は白飛びになってしまう。なお、「白飛び」とは、一定以上の明るさの被写体が真っ白に塗りつぶされてしまう現象のことをいう。また、本明細書では、画像データ中の画素値が最大値になる場合だけでなく、所定の閾値を超える場合を含めて「白飛び」と呼ぶ。   The image data of the lower circuit pattern can be obtained through the solder resist layer with sufficiently bright light. However, at that time, the portion where the solder resist is not applied becomes overexposed. Note that “out-of-white” refers to a phenomenon in which a subject with a certain level of brightness is painted white. In this specification, the term “out-of-white” is used not only when the pixel value in the image data becomes the maximum value but also when the pixel value exceeds a predetermined threshold.

そこで、白飛びになった部分は画像処理の領域から除いて欠陥検査を行う。そして、次にソルダレジストが塗布されていない部分の回路パターンが認識できる程度の通常の明るさの光を回路パターンに照射し、白飛びになった部分について欠陥検査を行う。このように明るさを変えて得られる画像データの白飛びを利用してソルダレジストを塗布した領域を区別するのが本発明の検査装置である。なお、本明細書では白飛びになった部分を明領域と呼ぶ。また、「回路パターンが認識できる程度の通常の明るさの光」を低照度光と呼ぶ。   Thus, the defect inspection is performed by removing the overexposed portion from the image processing area. Then, the circuit pattern is irradiated with light having a brightness that is normal enough to recognize the circuit pattern of the part where the solder resist is not applied, and the defect inspection is performed on the part that has been blown out. The inspection apparatus of the present invention discriminates the area where the solder resist is applied by using the whiteout of the image data obtained by changing the brightness in this way. In the present specification, the part that is overexposed is called a bright region. In addition, “light having normal brightness enough to recognize a circuit pattern” is referred to as low illuminance light.

次に本発明の検査装置についての詳細を説明する。
図1に本発明の検査装置1の構成を示す。本発明の検査装置は、撮影手段10、制御手段20、ライト11、光量調整手段12、駆動手段30、記憶手段40、欠陥分析手段50を含む。
Next, details of the inspection apparatus of the present invention will be described.
FIG. 1 shows the configuration of an inspection apparatus 1 according to the present invention. The inspection apparatus of the present invention includes an imaging unit 10, a control unit 20, a light 11, a light amount adjustment unit 12, a driving unit 30, a storage unit 40, and a defect analysis unit 50.

撮影手段10は、被検査物90を撮影しその画像データVdを取得する。従って、光を電子データに変換するための光変換素子と、光変換素子に焦点を合わせるためのレンズ系を含む。光変換素子は、ラインメモリやCCD等が好適に利用することができる。レンズ系は特に限定されるものではないが、検査装置1で必要とされる画素の大きさから、レンズ系の焦点距離、画角、Fナンバー等は適宜設計されることができる。検査装置1で必要とされる画素の大きさは、検出すべき欠陥の大きさから求めることができる。   The imaging means 10 images the inspection object 90 and acquires the image data Vd. Accordingly, it includes a light conversion element for converting light into electronic data and a lens system for focusing on the light conversion element. As the light conversion element, a line memory, a CCD, or the like can be suitably used. Although the lens system is not particularly limited, the focal length, the angle of view, the F number, and the like of the lens system can be appropriately designed based on the pixel size required for the inspection apparatus 1. The pixel size required in the inspection apparatus 1 can be obtained from the size of the defect to be detected.

ライト11は、被検査物90に光を照射して撮影手段10が撮影する画像データのSNR(Signal to Noise Ratio)を高くする。なお、ここではライト11は被検査物90に対して撮影手段10と同じ側に設置した状態を示したが、被検査物90に対して撮影手段10と反対側に設置してもよい。反対側にライトを設置した場合は、被検査物90の透過光による画像データを得ることができる。   The light 11 irradiates the inspection object 90 with light to increase the SNR (Signal to Noise Ratio) of image data captured by the imaging unit 10. Here, the light 11 is shown installed on the same side as the imaging unit 10 with respect to the inspection object 90, but may be installed on the opposite side of the imaging unit 10 with respect to the inspection object 90. When a light is installed on the opposite side, image data based on the transmitted light of the inspection object 90 can be obtained.

ライト11も特に限定されるものではないが、ハロゲンライト、蛍光灯、LEDなどが好適に利用することができる。ライト11の発する光の波長も特に限定されるものではないが、連続した波長帯域の光からなる白色光や、複数色の混合による白色光などが好適に用いることができる。   The light 11 is not particularly limited, but a halogen light, a fluorescent lamp, an LED, or the like can be suitably used. The wavelength of light emitted from the light 11 is not particularly limited, but white light composed of light in a continuous wavelength band, white light obtained by mixing a plurality of colors, and the like can be suitably used.

光調整手段12は、制御手段20からの指示Cldによって、ライト11に電力Lpwを供給する。特に電力Lpwは連続的または段階的に大きさを変化させることができる。従って、可変電源が好適に用いることができる。   The light adjustment unit 12 supplies power Lpw to the light 11 according to the instruction Cld from the control unit 20. In particular, the power Lpw can change in magnitude continuously or stepwise. Therefore, a variable power supply can be suitably used.

なお、光量調整手段12は、これに限定されることなく、例えば照射する光の波長を変更したり、ライト11と被検査物90との間に着色された半透明のフィルタを挿入したりしてもよい。また、ライト11と光量調整手段12は高照度光と低照度光を照射できる必要がある。   The light amount adjusting means 12 is not limited to this, for example, changing the wavelength of light to be irradiated, or inserting a colored translucent filter between the light 11 and the inspection object 90. May be. Moreover, the light 11 and the light quantity adjusting means 12 need to be able to irradiate high illuminance light and low illuminance light.

駆動手段30は、被検査物90を撮影手段10の下の所定の位置に設置する。駆動手段は特に限定されるものではなく、ベルトやローラーなどが利用できる。被検査物90がテープ状になっている場合は、巻きだしリールや巻取りリールであってもよい。また、撮影手段10を複数設けた場合は、撮影手段間で被検査物を移動させるようにしてもよい。なお、駆動手段30の動作は制御手段20からの駆動指示Cdvによって制御される。   The driving unit 30 installs the inspection object 90 at a predetermined position below the imaging unit 10. A drive means is not specifically limited, A belt, a roller, etc. can be utilized. When the inspection object 90 is in a tape shape, it may be a take-up reel or a take-up reel. Further, when a plurality of imaging means 10 are provided, the inspection object may be moved between the imaging means. The operation of the drive unit 30 is controlled by a drive instruction Cdv from the control unit 20.

制御手段20は、検査装置1の動作を制御する。具体的には、駆動手段30に駆動指示Cdvを送り、被検査物90を所定の位置に設置させ、光量調整手段12に対して照明指示Cldを送り、被検査物90に光をあて、撮影手段10からの画像データVdを取得する制御を含む。   The control unit 20 controls the operation of the inspection apparatus 1. Specifically, a drive instruction Cdv is sent to the drive means 30, the inspection object 90 is placed at a predetermined position, an illumination instruction Cld is sent to the light amount adjustment means 12, and light is applied to the inspection object 90 to take an image. Control for obtaining the image data Vd from the means 10 is included.

取得した画像データVdに対しては、制御手段20自身が所定のデータ処理を行い、検査データFvとして記憶手段40に記録する。検査データFvは、被検査物90の画像データと制御手段20によるデータ若しくはデータ処理の結果またはその両方を含んでよい。例えば、被検査物90の識別データの付加や、画像データに含まれる欠陥候補の抽出であってもよい。   For the acquired image data Vd, the control means 20 itself performs predetermined data processing and records it in the storage means 40 as inspection data Fv. The inspection data Fv may include image data of the inspection object 90 and data by the control unit 20 or a result of data processing, or both. For example, identification data of the inspection object 90 may be added, or defect candidates included in the image data may be extracted.

欠陥候補の抽出処理は、欠陥候補は被検査物90の画像データVdと手本となるマスタパターンとの比較による処理であってもよい。従って、制御手段20にはマスタパターンのデータを有しているか、図示していない別のメモリからロードしてくるようにしてもよい。   The defect candidate extraction process may be a process in which the defect candidate is compared with the image data Vd of the inspection object 90 and a master pattern as a model. Therefore, the control unit 20 may have master pattern data or may be loaded from another memory (not shown).

記憶手段40に対しては欠陥分析手段50がアクセスすることができる。欠陥分析手段50は、記憶手段40に要求指示Rqを送り、記憶された検査データFvから欠陥と考えられる部分の部分的な画像データ(以後「部分画像データ」という)Pvを取得する。欠陥分析手段50は、部分画像データPvを分析し、欠陥の有無を表す結果Rtを出力する。   The defect analysis means 50 can access the storage means 40. The defect analysis means 50 sends a request instruction Rq to the storage means 40, and acquires partial image data (hereinafter referred to as “partial image data”) Pv of a portion considered to be a defect from the stored inspection data Fv. The defect analysis means 50 analyzes the partial image data Pv and outputs a result Rt indicating the presence or absence of a defect.

記憶手段40は半導体メモリや、HDD(Hard Disc Drive)、DVD、CDなどが具体的に利用することができるが、記録再生ができ、データ転送速度が速いHDDが好適に用いられる。   As the storage means 40, a semiconductor memory, an HDD (Hard Disc Drive), a DVD, a CD, or the like can be specifically used, but an HDD that can perform recording and reproduction and has a high data transfer speed is preferably used.

制御手段20と欠陥分析手段50は、MPU(Micro Processer Unit)と処理プログラムで実現することができる。これらは1つのMPUで実現してもよいし、それぞれ別のMPUで実現してもよい。また、MPUとプログラムではなく、ハードウェアで実現してもよい。   The control means 20 and the defect analysis means 50 can be realized by an MPU (Micro Processor Unit) and a processing program. These may be realized by one MPU or may be realized by different MPUs. Moreover, you may implement | achieve by hardware instead of MPU and a program.

次に図2に制御手段20の処理のフローを示し、制御手段20の動作について説明する。制御手段20は処理がスタートすると(ステップS100)、処理が終了したか否かを判断する(ステップS110)。処理の終了は、予め決められた信号を受信した場合か、予め決められた数の検査が終了したかで判断してよい。終了の場合(ステップS110のY分岐)は、処理を終了する(ステップS111)。   Next, FIG. 2 shows a processing flow of the control means 20, and the operation of the control means 20 will be described. When the process starts (step S100), the control means 20 determines whether or not the process is completed (step S110). The end of the process may be determined based on whether a predetermined signal has been received or whether a predetermined number of inspections have been completed. In the case of termination (Y branch of step S110), the process is terminated (step S111).

処理を継続する場合(ステップS110のN分岐)は、被検査物90を所定の位置に設定する(ステップS120)。これは駆動手段30に対して駆動指示Cdvを送ることで実現される。被検査物90が所定の位置に設定されたら、次に十分に明るい光(高照度光)を照射する(ステップS130)。十分に明るい光は光量調整手段12に光量指示Cldを送信し、光量調整手段12がライト11に大きな電力Lpwを供給することで実現される。   When the process is continued (N branch in step S110), the inspection object 90 is set at a predetermined position (step S120). This is realized by sending a drive instruction Cdv to the drive means 30. When the inspection object 90 is set at a predetermined position, the next sufficiently bright light (high illuminance light) is irradiated (step S130). Sufficiently bright light is realized by transmitting a light amount instruction Cld to the light amount adjusting means 12, and the light amount adjusting means 12 supplies a large electric power Lpw to the light 11.

また、高照度光とは、回路パターン上に塗布されたソルダレジストを通して下の回路パターンの画像データが得られ、かつソルダレジストを塗布していない部分からの反射光が白飛びする程に輝度が高くなる程度である。   In addition, the high illuminance light means that the image data of the lower circuit pattern is obtained through the solder resist applied on the circuit pattern, and the brightness is so high that the reflected light from the portion where the solder resist is not applied is blown out. It will be higher.

なお、ここで白飛びとは画像データが真っ白に塗りつぶされる事だけでなく、画像データが所定の閾値Thwoより高くなれば白飛びであるとする。   Note that here, “out-of-white” means not only that the image data is completely white, but also over-out if the image data is higher than a predetermined threshold Thwo.

高照度光を照射したら、画像データSwoを取得する(ステップS140)。この画像データSwoはデータ中に白飛びを含む。また、取得した画像データSwoに対してデータ処理を行い、欠陥候補を抽出し、検査データFvに含ませる。   If high illumination light is irradiated, image data Swo is acquired (step S140). The image data Swo includes whiteout in the data. Further, data processing is performed on the acquired image data Swo to extract defect candidates and include them in the inspection data Fv.

図3にステップS140のさらに詳細なフローを示す。画像データSwoを取得(ステップS202)した後、画像データSwo中で輝度が所定の閾値Thwo以下の領域Aを求める(ステップS203)。この処理の一例としては次のような処理が考えられる。まず、画像データSwo中の画素の値を逐次閾値Thwoと比較する。画像データSwo中の個々の画素は例えば8ビットや10ビットといった量子化された輝度の値を有しており、その輝度の値と閾値Thwoを比較する。そして、閾値Thwoより輝度が大きい画素の値を全て輝度の最大値Imaxに置き換える。   FIG. 3 shows a more detailed flow of step S140. After obtaining the image data Swo (step S202), a region A having a luminance equal to or lower than a predetermined threshold value Thwo is obtained in the image data Swo (step S203). As an example of this process, the following process can be considered. First, the pixel value in the image data Swo is sequentially compared with the threshold value Thwo. Each pixel in the image data Swo has a quantized luminance value such as 8 bits or 10 bits, and the luminance value is compared with a threshold Thwo. Then, all the values of the pixels whose luminance is higher than the threshold Thwo are replaced with the maximum luminance value Imax.

次に画素の値が最大値とそうでない部分の境界線を抽出する。ここで画素の値が最大値でない部分は画素の値が閾値Thwoより小さい画素である。従って得られる境界線で囲まれた領域が領域Aとなる。領域Aは例えば、境界線の始点と終点の画素の座標として得ても良い。また、領域Aはソルダレジストが塗布された部分である。ここで領域Aを暗領域と呼ぶ。一方、領域A以外の領域を明領域と呼ぶ。明領域は画素の値が閾値Thwoより大きい領域であり、「白飛び」した領域でもある。なお、明領域の中では異物が多少暗く映る場合もあるが、明領域中の黒点は、暗領域には含めない。   Next, the boundary line of the portion where the pixel value is the maximum value and not is extracted. Here, the portion where the pixel value is not the maximum value is a pixel whose pixel value is smaller than the threshold Thwo. Therefore, a region surrounded by the obtained boundary line is a region A. For example, the area A may be obtained as the coordinates of the start point and end point of the boundary line. Region A is a portion where a solder resist is applied. Here, the area A is called a dark area. On the other hand, an area other than the area A is called a bright area. The bright region is a region where the pixel value is larger than the threshold value Thwo, and is also a region that is “out-of-white”. In some cases, a foreign object may appear somewhat dark in the bright area, but black spots in the bright area are not included in the dark area.

次に暗領域の輝度調整を行う(ステップA204)。ソルダレジストが塗布された部分は強い照明を照射しているとはいえ、コントラストが低い画像データになる場合もある。そこで、暗領域の範囲については、輝度を調整してコントラストが出るように処理する。なお、輝度は画素の値(画素値)と同義であるので、輝度調整とは画素値調整とも言う。   Next, the brightness of the dark area is adjusted (step A204). Although the portion to which the solder resist is applied is irradiated with strong illumination, there may be image data with low contrast. Thus, the dark region is processed so that the contrast is obtained by adjusting the luminance. Since luminance is synonymous with a pixel value (pixel value), luminance adjustment is also referred to as pixel value adjustment.

具体的な処理の一例としては、次のような処理があげられる。暗領域内で最大の画素値をAmaxとし、暗領域内で最小の画素値をAminとする。この時、暗領域内の任意の画素の値Axは(1)式によって調整後の画素値Vaとして求めることができる。

Figure 2009186447
・・・・・・・・・・・・・・(1) As an example of specific processing, the following processing can be given. The maximum pixel value in the dark region is Amax, and the minimum pixel value in the dark region is Amin. At this time, the value Ax of an arbitrary pixel in the dark region can be obtained as the adjusted pixel value Va by the equation (1).
Figure 2009186447
.... (1)

ここで、Imaxは画素値の最大値である。右辺第3項は暗領域の画像データの値を画素値の最大値に変換するための倍率に相当する。右辺第2項の括弧は暗領域の画素値の中間値と画素値Axとの差である。従って右辺の第2項と第3項によって、画素値の最大値がImaxとした場合の平均値Imax/2からの距離として得られる。   Here, Imax is the maximum pixel value. The third term on the right side corresponds to the magnification for converting the value of the image data in the dark region into the maximum value of the pixel value. The parenthesis in the second term on the right side is the difference between the intermediate value of the pixel values in the dark region and the pixel value Ax. Therefore, the second term and the third term on the right side can be obtained as the distance from the average value Imax / 2 when the maximum pixel value is Imax.

右辺第1項は画素の最大値Imaxの半分であるので、左辺のVaは、画素値の最大値をImaxとする変換となる。すなわち、画素の最小値Aminから最大値Amaxである画像データを最小値がゼロから最大値Imaxである画像データへの変換が行われたことになる。なお、この輝度調整は一例であって、この変換に限定されるものではない。   Since the first term on the right side is half of the maximum value Imax of the pixel, Va on the left side is a conversion in which the maximum value of the pixel value is Imax. In other words, the image data having the minimum value Amin to the maximum value Amax is converted from the zero to the image data having the minimum value Imax. Note that this brightness adjustment is an example and is not limited to this conversion.

そして、暗領域の欠陥候補をFvに含める(ステップS205)。欠陥候補の抽出は、暗領域の画像データをマスタパターンと比較して、異なる部分を欠陥候補として抽出する。欠陥候補が含まれる画像データを部分画像データPvと呼ぶ。従って、ステップS205の処理は、部分画像データPvを検査データFvに含めることであるとも言える。その後ステップS150に戻る(ステップS206)。   Then, defect candidates in the dark area are included in Fv (step S205). In the defect candidate extraction, the dark area image data is compared with the master pattern, and different portions are extracted as defect candidates. Image data including defect candidates is referred to as partial image data Pv. Therefore, it can be said that the process of step S205 is to include the partial image data Pv in the inspection data Fv. Thereafter, the process returns to step S150 (step S206).

なお、ステップS203でソルダレジストを塗布していない部分(白飛びの部分)を決定する際に、白飛びの領域の中に白飛びしていない部分を発見する場合がある。これはソルダレジストの塗布時にできたソルダレジストのピンホールと考えられる。このような部分については別途処理を行っても良いし、その旨を検査データFvに含めても良い。   In step S203, when determining a portion to which the solder resist is not applied (a white portion), a portion that is not white in the white region may be found. This is considered to be a pin hole of the solder resist formed at the time of applying the solder resist. Such a portion may be processed separately, and that fact may be included in the inspection data Fv.

図6(a)に暗領域61の一例を示す。回路パターン全体は符号60で表す領域であり、符号62は白飛びした領域である。ソルダレジストを塗布した部分は符号61で表され、強い光によってソルダレジスト下の回路パターン63の画像データを得ることができる。   An example of the dark area 61 is shown in FIG. The entire circuit pattern is an area represented by reference numeral 60, and reference numeral 62 is a whiteout area. A portion to which the solder resist is applied is represented by reference numeral 61, and image data of the circuit pattern 63 under the solder resist can be obtained by strong light.

図2に戻って、次に照明を通常の照度に下げる(ステップS150)。通常の照度とは、ソルダレジストを塗布していない部分の画像データを取得できる程度の照度である。これは低照度光である。   Returning to FIG. 2, next, the illumination is lowered to normal illuminance (step S150). The normal illuminance is such illuminance that it is possible to acquire image data of a portion where no solder resist is applied. This is low illumination light.

そしてさらに画像データSnoを取得する(ステップS160)。そして、ソルダレジストを塗布した領域を除いた領域(明領域)にたいして欠陥候補の抽出を行い検査データFvに含める。   Further, image data Sno is acquired (step S160). Then, defect candidates are extracted from the area (bright area) excluding the area where the solder resist is applied and included in the inspection data Fv.

図4にステップS160のさらに詳細なフローを示す。画像データSnoを取得(ステップS302)した後、画像データSno中で暗領域以外を明領域とする(ステップS303)。すなわち、画像データSwoで白飛びしていた部分を明領域とする。画像データSwoと画像データSnoは全体の面積は変わらない。従って、画像データSwo中の暗領域の画素座標を画像データSnoに当てはめることで明領域を定めることができる。   FIG. 4 shows a more detailed flow of step S160. After obtaining the image data Sno (step S302), a region other than the dark region in the image data Sno is set as a bright region (step S303). In other words, a portion that has been whitened in the image data Swo is set as a bright area. The entire area of the image data Swo and the image data Sno does not change. Therefore, the bright area can be determined by applying the pixel coordinates of the dark area in the image data Swo to the image data Sno.

次に明領域の輝度調整を行う(ステップS304)。ただし、この工程はスキップされてもよい。明領域はソルダレジストが塗布されていない部分であるので、この部分の画像データを処理できるように照射する光の照度を設定するからである。   Next, the brightness of the bright area is adjusted (step S304). However, this step may be skipped. This is because the bright region is a portion where the solder resist is not applied, and the illuminance of the irradiated light is set so that the image data of this portion can be processed.

そして、明領域中の欠陥候補の抽出を行い、検査データFvに含める(ステップS305)。その後ステップS170に戻る。欠陥候補を含む画像データを部分画像データPvと呼ぶのは画像データSwoの場合と同じである。   Then, defect candidates in the bright area are extracted and included in the inspection data Fv (step S305). Thereafter, the process returns to step S170. The image data including the defect candidate is called partial image data Pv as in the case of the image data Swo.

図6(b)には明領域の画像データが得られる状態を示している。照明が通常状態(低照度光)になっているので、ソルダレジストを塗布した部分61はほとんど黒つぶれになっている。ここは暗領域として識別されるので、この場合の検査領域全体60から削除されてそれ以外の部分について欠陥候補の検出を行う。なお、符号64は太いリード部分であるが、高照度光によってステップS140では白飛びになっていた部分である。   FIG. 6B shows a state where image data of a bright area is obtained. Since the illumination is in a normal state (low illuminance light), the portion 61 to which the solder resist is applied is almost blacked out. Since this area is identified as a dark area, it is deleted from the entire inspection area 60 in this case, and defect candidates are detected for other parts. In addition, although the code | symbol 64 is a thick lead | read | reed part, it is a part which was overwhelmed in step S140 by high illumination intensity light.

図2に戻って、最後に検査した回路パターンの識別コード等を添付して、検査データFvを完成させ出力する(ステップS170)。   Returning to FIG. 2, the identification code of the circuit pattern last inspected is attached, and the inspection data Fv is completed and output (step S170).

図1に戻って、上記に説明したフローに従って、制御手段20は検査データFvを作成し、これを記憶手段40に記録する。欠陥分析手段50は、記憶手段40に対して部分画像データPvを要求する指示Rqを送信し、部分画像データPvを得る。部分画像データPvは、欠陥候補を含む画像である。   Returning to FIG. 1, according to the flow described above, the control unit 20 creates the inspection data Fv and records it in the storage unit 40. The defect analysis means 50 transmits an instruction Rq for requesting the partial image data Pv to the storage means 40 to obtain the partial image data Pv. The partial image data Pv is an image including defect candidates.

なお、制御手段20が取得した画像データに対して行うデータ処理は、記憶手段40に記録する処理を含めて画像処理とも呼ぶ。本発明では制御手段20は高照度光を照射した際と低照度光を照射した際の2回について画像処理を行う。これらをそれぞれ第1の画像処理および第2の画像処理と呼んでも良い。扱う対象が画像データであるからである。また、ここでは照明の切り替えを制御手段20が行うこととしたが、被検査物の移動や、画像データの送信に基いて、駆動手段や撮像手段からの信号で切り替えても良い。   The data processing performed on the image data acquired by the control unit 20 is also referred to as image processing including processing to be recorded in the storage unit 40. In the present invention, the control means 20 performs image processing twice when irradiated with high illuminance light and when irradiated with low illuminance light. These may be called first image processing and second image processing, respectively. This is because the object to be handled is image data. Although the control unit 20 switches the illumination here, it may be switched by a signal from the driving unit or the imaging unit based on the movement of the inspection object or the transmission of the image data.

部分画像データPvに対して欠陥分析手段50は、リード部分の連続性や、画像データの膨張、収縮といった処理によって欠陥の有無について分析を行う。分析の結果は、欠陥の有無を含む結果Rtとして出力される。   The defect analysis means 50 analyzes the presence / absence of a defect with respect to the partial image data Pv by processing such as continuity of the lead portion and expansion / contraction of the image data. The analysis result is output as a result Rt including the presence or absence of a defect.

本発明は、回路パターンの検査装置に好適に利用することができる。

The present invention can be suitably used for a circuit pattern inspection apparatus.

本発明の検査装置の構成を示す図である。It is a figure which shows the structure of the test | inspection apparatus of this invention. 制御手段のフローを示す図である。It is a figure which shows the flow of a control means. 白飛びを含む画像の処理を示すフロー図である。It is a flowchart which shows the process of the image containing a whiteout. 白飛びがない画像の処理を示すフロー図である。It is a flowchart which shows the process of an image without whiteout. 白飛びをさせた場合とさせない場合の画像データを例示する図である。It is a figure which illustrates the image data when not making it be overexposure.

符号の説明Explanation of symbols

1 検査装置
10 撮像手段
11 ライト
12 光量調整手段
20 制御手段
30 駆動手段
40 記憶手段
50 欠陥分析部

DESCRIPTION OF SYMBOLS 1 Inspection apparatus 10 Imaging means 11 Light 12 Light quantity adjustment means 20 Control means 30 Drive means 40 Storage means 50 Defect analysis part

Claims (10)

被検査物の画像データから被検査物の欠陥検査を行う装置であって、
被検査物に照射する光の照度が変更可能な照明手段と、
前記被検査物の画像データを取得する撮像手段と、
前記照明手段の照射光を高照度光とした際に、前記撮像手段から取得した前記画像データの画素値が所定の閾値以上の領域を明領域とし、前記明領域以外の部分を暗領域とし、
前記照明手段の照射光を高照度光として前記暗領域に対してデータ処理を行い、
前記照明手段の照射光を低照度光として前記明領域に対してデータ処理を行う制御部を有する検査装置。
An apparatus for inspecting a defect of an inspection object from image data of the inspection object,
Illumination means capable of changing the illuminance of light irradiating the inspection object,
An imaging means for acquiring image data of the inspection object;
When the illumination light of the illumination unit is a high illuminance light, the pixel value of the image data acquired from the imaging unit is set as a bright region, a portion other than the bright region as a dark region,
Data processing is performed on the dark area with the illumination light of the illumination means as high illuminance light,
The inspection apparatus which has a control part which performs a data process with respect to the said bright area | region as the illumination light of the said illumination means as low illumination light.
前記データ処理は前記被検査物の識別データを付加する処理を含む請求項1に記載された検査装置。 The inspection apparatus according to claim 1, wherein the data processing includes processing for adding identification data of the inspection object. 前記データ処理は、さらに欠陥候補を抽出する処理を含む請求項1または2のいずれかの請求項に記載された検査装置。 3. The inspection apparatus according to claim 1, wherein the data processing further includes processing for extracting defect candidates. 前記データ処理は、さらに記録手段に前記欠陥候補を記録する処理を含む請求項1乃至3のいずれか1の請求項に記載された検査装置。 The inspection apparatus according to any one of claims 1 to 3, wherein the data processing further includes processing for recording the defect candidate in a recording unit. 前記データ処理された暗領域または明領域の欠陥検査を行う欠陥分析手段をさらに有する請求項1乃至4のいずれか1の請求項に記載された検査装置。 The inspection apparatus according to any one of claims 1 to 4, further comprising defect analysis means for performing defect inspection of the data-processed dark region or bright region. 被検査物の画像データから被検査物の欠陥検査を行う検査方法であって、
前記被検査物に高照度の光を照射する高照度光照射工程と、
前記被検査物の画像データを取得する撮像工程と、
前記画像データの画素値が所定の閾値以上の領域を明領域とし、前記明領域以外の領域を暗領域として、前記暗領域に対して画像処理を行う第1の画像処理工程と、
前記被検査物に低照度の光を照射する低照度光照射工程と、
前記被検査物の画像データを取得する撮像工程と、
前記明領域に対して画像処理を行う第2の画像処理工程を有する検査方法。
An inspection method for inspecting a defect of an inspection object from image data of the inspection object,
A high illuminance light irradiation step of irradiating the inspected object with high illuminance light; and
An imaging step of acquiring image data of the inspection object;
A first image processing step of performing image processing on the dark region, with a region having a pixel value of the image data equal to or greater than a predetermined threshold as a bright region, and a region other than the bright region as a dark region;
A low illuminance light irradiation step of irradiating the inspection object with low illuminance light; and
An imaging step of acquiring image data of the inspection object;
An inspection method including a second image processing step of performing image processing on the bright region.
前記第1および第2の画像処理工程は少なくとも前記被検査物の識別番号を付加する工程を含む請求項6に記載された検査方法。 The inspection method according to claim 6, wherein the first and second image processing steps include a step of adding at least an identification number of the inspection object. 前記第1および第2の画像処理工程は欠陥候補を抽出する工程を含む請求項6または7のいずれかの請求項に記載された検査方法。 The inspection method according to claim 6, wherein the first and second image processing steps include a step of extracting defect candidates. 前記第1および第2の画像処理工程はさらに記録手段に前記欠陥候補を記録する記録工程を含む請求項6乃至8のいずれか1の請求項に記載された検査方法。 The inspection method according to any one of claims 6 to 8, wherein the first and second image processing steps further include a recording step of recording the defect candidates in a recording unit. 前記欠陥候補に対して欠陥検査を行う欠陥検査工程をさらに有する請求項6乃至9のいずれか1の請求項に記載された検査方法。
The inspection method according to any one of claims 6 to 9, further comprising a defect inspection step of performing a defect inspection on the defect candidate.
JP2008029822A 2008-02-11 2008-02-11 Inspection apparatus Pending JP2009186447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008029822A JP2009186447A (en) 2008-02-11 2008-02-11 Inspection apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008029822A JP2009186447A (en) 2008-02-11 2008-02-11 Inspection apparatus

Publications (1)

Publication Number Publication Date
JP2009186447A true JP2009186447A (en) 2009-08-20

Family

ID=41069823

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008029822A Pending JP2009186447A (en) 2008-02-11 2008-02-11 Inspection apparatus

Country Status (1)

Country Link
JP (1) JP2009186447A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011209105A (en) * 2010-03-30 2011-10-20 Dainippon Screen Mfg Co Ltd Image inspection apparatus and printing equipment, and method of inspecting image
CN103558225A (en) * 2013-11-20 2014-02-05 太仓思比科微电子技术有限公司 Method for testing complementary metal oxide semiconductor (CMOS) image chip
JP2016161579A (en) * 2015-03-04 2016-09-05 株式会社ミツトヨ Chromatic range sensor having super-high-sensitivity measurement mode
JP2020160616A (en) * 2019-03-25 2020-10-01 ブラザー工業株式会社 Generation device and computer program and generation method
WO2021261149A1 (en) * 2020-06-23 2021-12-30 株式会社小糸製作所 Surface inspection device and surface inspection system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011209105A (en) * 2010-03-30 2011-10-20 Dainippon Screen Mfg Co Ltd Image inspection apparatus and printing equipment, and method of inspecting image
CN103558225A (en) * 2013-11-20 2014-02-05 太仓思比科微电子技术有限公司 Method for testing complementary metal oxide semiconductor (CMOS) image chip
JP2016161579A (en) * 2015-03-04 2016-09-05 株式会社ミツトヨ Chromatic range sensor having super-high-sensitivity measurement mode
JP2020160616A (en) * 2019-03-25 2020-10-01 ブラザー工業株式会社 Generation device and computer program and generation method
WO2021261149A1 (en) * 2020-06-23 2021-12-30 株式会社小糸製作所 Surface inspection device and surface inspection system

Similar Documents

Publication Publication Date Title
JP5342987B2 (en) Concrete surface inspection equipment
JP4150390B2 (en) Appearance inspection method and appearance inspection apparatus
JP6276734B2 (en) Inspection apparatus and inspection method
TW201734442A (en) Defect detection apparatus, defect detection method and program product
CN101443897B (en) Image binarizing method, image processing device
US8330948B2 (en) Semiconductor test instrument and the method to test semiconductor
JP2011047724A (en) Apparatus and method for inspecting defect
JP2004012360A (en) Pattern inspection device, pattern inspection method, and program
JP2009186447A (en) Inspection apparatus
JP6745150B2 (en) Lighting device and image inspection device
JP4910897B2 (en) Solder fillet inspection method and board appearance inspection device
CN111033243A (en) Appearance inspection device and appearance inspection method
KR20160069489A (en) Method of inspecting terminal of component formed on board and board inspection device
KR20160087197A (en) Defect detecting apparatus and method for thereof
JP2006343185A (en) Inspection device of surface flaw
JP2009300351A (en) Inspection apparatus and inspection method
TW202113650A (en) Learning apparatus, inspection apparatus, learning method and inspection method
KR20160097651A (en) Apparatus and Method for Testing Pattern of Sample using Validity Image Processing Technique, and computer-readable recording medium with program therefor
JP2009042093A (en) Electronic component inspection device and electronic component inspection method
JP4015436B2 (en) Gold plating defect inspection system
JP4216485B2 (en) Pattern inspection method and apparatus
JP2002310939A (en) Air-bubble inspection system
JP2000172845A (en) Device and method for inspecting surface defect, and storage medium recorded with surface defect inspection program
JP3803677B2 (en) Defect classification apparatus and defect classification method
JP2005223006A (en) Inspection method of cream solder print