JP2021047677A - Reference image generation device, inspection device, alignment device, and reference image generation method - Google Patents

Reference image generation device, inspection device, alignment device, and reference image generation method Download PDF

Info

Publication number
JP2021047677A
JP2021047677A JP2019170277A JP2019170277A JP2021047677A JP 2021047677 A JP2021047677 A JP 2021047677A JP 2019170277 A JP2019170277 A JP 2019170277A JP 2019170277 A JP2019170277 A JP 2019170277A JP 2021047677 A JP2021047677 A JP 2021047677A
Authority
JP
Japan
Prior art keywords
learning
pattern
reference image
data
image
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.)
Granted
Application number
JP2019170277A
Other languages
Japanese (ja)
Other versions
JP7284674B2 (en
Inventor
疋田 雄一郎
Yuichiro Hikita
雄一郎 疋田
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.)
Screen Holdings Co Ltd
Original Assignee
Screen Holdings Co Ltd
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 Screen Holdings Co Ltd filed Critical Screen Holdings Co Ltd
Priority to JP2019170277A priority Critical patent/JP7284674B2/en
Publication of JP2021047677A publication Critical patent/JP2021047677A/en
Priority to JP2023082788A priority patent/JP7445057B2/en
Application granted granted Critical
Publication of JP7284674B2 publication Critical patent/JP7284674B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To reduce a lead time before reference image generation.SOLUTION: A reference image generation device comprises: an input unit 401; a learning unit 402; and a reference image generation unit 403. The input unit 401 inputs learning data as a combination of design data for a pattern on a substrate 9 and a learning image obtained by imaging the pattern. The learning unit 402 creates a learned model through learning of a relation between the design data of the pattern and the learning image by deep learning using a learning data set as a collection of learning data. The reference image generation unit 403 generates a reference image from the design data of the pattern by using the learned model. Thus, a lead time before reference image generation can be significantly reduced.SELECTED DRAWING: Figure 5

Description

本発明は、表面上にパターンを有する基板の製造工程において、前記パターンの画像との比較に使用される参照画像を生成する技術に関する。 The present invention relates to a technique for generating a reference image used for comparison with an image of the pattern in a process of manufacturing a substrate having a pattern on the surface.

従来、半導体基板やプリント配線基板等の製造工程では、基板の良否を判定する外観検査が行われている。半導体基板の外観検査では、例えば、1枚の基板上に設けられた複数のダイ同士を比較して欠陥を検出することが行われている。具体的には、1つのダイを撮像して得られた画像を参照画像とし、他のダイを撮像して得られた画像を被検査画像とし、被検査画像を参照画像と比較して差異を検出する。しかしながら、当該検査では、複数のダイに存在する同一の欠陥を検出することはできない。また、フォトマスクやレチクル等の基板には、比較する同一のパターンが存在しない場合もある。 Conventionally, in the manufacturing process of a semiconductor substrate, a printed wiring board, or the like, an appearance inspection for determining the quality of the substrate is performed. In the visual inspection of a semiconductor substrate, for example, defects are detected by comparing a plurality of dies provided on one substrate. Specifically, the image obtained by imaging one die is used as a reference image, the image obtained by imaging another die is used as an image to be inspected, and the image to be inspected is compared with the reference image to make a difference. To detect. However, the inspection cannot detect the same defect present on multiple dies. Further, the same pattern to be compared may not exist on the substrate such as a photomask or a reticle.

そこで、特許文献1では、半導体ウエハの基板上に形成される回路パターンについて、回路パターンを走査型電子顕微鏡(SEM)により撮像したSEM画像と、回路パターンの設計データ(CADデータ)から作成したCAD画像とを比較することにより、SEM画像上の欠陥を検出する技術が提案されている。 Therefore, in Patent Document 1, with respect to the circuit pattern formed on the substrate of the semiconductor wafer, CAD created from the SEM image obtained by capturing the circuit pattern with a scanning electron microscope (SEM) and the design data (CAD data) of the circuit pattern. A technique for detecting defects on an SEM image by comparing with an image has been proposed.

特開2015−7563号公報Japanese Unexamined Patent Publication No. 2015-7563

ところで、上述のように設計データから参照画像を生成する場合、参照画像を短時間で容易に生成すること重要である。しかしながら、特許文献1では、外観検査の参照画像であるCAD画像の作成について、CADデータからCADPloyデータを作成してCAD画像を作成すると記載されているが、具体的な作成方法については記載されていない。 By the way, when the reference image is generated from the design data as described above, it is important to easily generate the reference image in a short time. However, in Patent Document 1, regarding the creation of a CAD image which is a reference image for visual inspection, it is described that CADPloy data is created from CAD data to create a CAD image, but a specific creation method is described. Absent.

また、技術者がCADデータから参照画像を作成しようとすると、CADデータが示す様々なパターンのそれぞれについて、熟練した技術者が経験に基づいて作成ロジックを組む必要があり、参照画像の作成開始までに多大な時間(例えば、数ヶ月〜数年)が必要となる。さらに、作成された参照画像の質は、技術者の熟練度に左右される。 In addition, when a technician tries to create a reference image from CAD data, a skilled technician needs to create a creation logic based on experience for each of the various patterns shown by the CAD data, and until the start of creating the reference image. It takes a lot of time (for example, months to years). Furthermore, the quality of the created reference image depends on the proficiency of the technician.

本発明は、上記課題に鑑みなされたものであり、参照画像生成までのリードタイムを短縮することを目的としている。 The present invention has been made in view of the above problems, and an object of the present invention is to shorten the lead time until the reference image is generated.

請求項1に記載の発明は、表面上にパターンを有する基板の製造工程において、前記パターンの画像との比較に使用される参照画像を生成する参照画像生成装置であって、基板上のパターンの設計データと前記パターンを撮像して得られた学習用画像との組み合わせである学習用データを入力する入力部と、前記学習用データの集合である学習用データセットを用いたディープラーニングにより、前記パターンの設計データと学習用画像との関係を学習させて学習済みモデルを作成する学習部と、前記学習済みモデルを利用してパターンの設計データから参照画像を生成する参照画像生成部とを備える。 The invention according to claim 1 is a reference image generator that generates a reference image used for comparison with an image of the pattern in a process of manufacturing a substrate having a pattern on the surface, wherein the pattern on the substrate is used. By deep learning using an input unit for inputting learning data, which is a combination of design data and a learning image obtained by imaging the pattern, and a learning data set, which is a set of the learning data. It includes a learning unit that learns the relationship between the pattern design data and the training image to create a trained model, and a reference image generation unit that generates a reference image from the pattern design data using the trained model. ..

請求項2に記載の発明は、請求項1に記載の参照画像生成装置であって、前記学習用データセットは、一の学習用データと、前記一の学習用データの設計データと前記一の学習用データの学習用画像の輝度またはコントラストを変更した学習用画像との組み合わせである他の学習用データとを含む。 The invention according to claim 2 is the reference image generator according to claim 1, wherein the learning data set includes one learning data, the design data of the one learning data, and the one. The training data includes other training data that is a combination with the training image in which the brightness or contrast of the training image is changed.

請求項3に記載の発明は、請求項1または2に記載の参照画像生成装置であって、前記学習用データセットは、一の学習用データと、前記一の学習用データの設計データを回転または反転させた設計データと前記一の学習用データの学習用画像を前記設計データと同様に回転または反転させた学習用画像との組み合わせである他の学習用データとを含む。 The invention according to claim 3 is the reference image generator according to claim 1 or 2, wherein the learning data set rotates one learning data and design data of the one learning data. Alternatively, it includes other learning data that is a combination of the inverted design data and the learning image of the one learning data that is rotated or inverted in the same manner as the design data.

請求項4に記載の発明は、請求項1ないし3のいずれか1つに記載の参照画像生成装置であって、前記学習用データセットの各学習用データは、前記基板上において前記パターンが設けられているパターン領域の一部である部分領域における前記パターンの設計データと学習用画像との組み合わせであり、前記パターン領域における前記各学習用データの前記部分領域の位置はランダムに決定される。 The invention according to claim 4 is the reference image generator according to any one of claims 1 to 3, wherein each learning data of the learning data set is provided with the pattern on the substrate. It is a combination of the design data of the pattern and the learning image in the partial region which is a part of the pattern region, and the position of the partial region of each of the learning data in the pattern region is randomly determined.

請求項5に記載の発明は、請求項1ないし4のいずれか1つに記載の参照画像生成装置であって、前記学習用データセットの各学習用データは、前記基板上において前記パターンが設けられているパターン領域の一部である部分領域における前記パターンの設計データと学習用画像との組み合わせであり、前記パターン領域の各位置は、前記学習用データセットのいずれかの学習用データに対応する前記部分領域に含まれる。 The invention according to claim 5 is the reference image generator according to any one of claims 1 to 4, wherein each learning data of the learning data set is provided with the pattern on the substrate. It is a combination of the design data of the pattern and the training image in the partial region which is a part of the pattern region, and each position of the pattern region corresponds to the training data of any of the training data sets. It is included in the said partial region.

請求項6に記載の発明は、請求項1ないし5のいずれか1つに記載の参照画像生成装置であって、前記基板上に、前記パターンがそれぞれ設けられている複数のパターン領域が配置されており、前記学習用データセットは、前記複数のパターン領域のそれぞれにおける前記パターンの設計データと学習用画像との組み合わせである複数の学習用データを含む。 The invention according to claim 6 is the reference image generator according to any one of claims 1 to 5, wherein a plurality of pattern regions in which the patterns are provided are arranged on the substrate. The learning data set includes a plurality of learning data that are a combination of the design data of the pattern and the training image in each of the plurality of pattern regions.

請求項7に記載の発明は、請求項1ないし6のいずれか1つに記載の参照画像生成装置であって、前記学習用データセットは、前記パターンを表面上に有する複数の基板のそれぞれにおける前記パターンの設計データと学習用画像との組み合わせである複数の学習用データを含む。 The invention according to claim 7 is the reference image generator according to any one of claims 1 to 6, wherein the learning data set is on each of a plurality of substrates having the pattern on the surface. It includes a plurality of training data that are a combination of the design data of the pattern and the training image.

請求項8に記載の発明は、表面上にパターンを有する基板を検査する検査装置であって、基板上のパターンを撮像して被検査画像を取得する撮像部と、前記被検査画像を請求項1ないし7のいずれか1つに記載の参照画像生成装置により生成された前記パターンの参照画像と比較して、前記基板における欠陥の有無を検査する検査部とを備える。 The invention according to claim 8 is an inspection apparatus for inspecting a substrate having a pattern on the surface, wherein an imaging unit that images a pattern on the substrate to acquire an image to be inspected and the image to be inspected are inspected. It is provided with an inspection unit for inspecting the presence or absence of defects in the substrate by comparing with the reference image of the pattern generated by the reference image generator according to any one of 1 to 7.

請求項9に記載の発明は、表面上にパターンを有する基板の位置を調節するアライメント装置であって、基板上のパターンを撮像して対象画像を取得する撮像部と、前記対象画像を請求項1ないし7のいずれか1つに記載の参照画像生成装置により生成された前記パターンの参照画像と比較して前記基板の位置を取得するアライメント部と、前記アライメント部により取得された前記基板の位置に基づいて、前記基板を相対移動して位置を調節する基板移動機構とを備える。 The invention according to claim 9 is an alignment device that adjusts the position of a substrate having a pattern on the surface, and claims an imaging unit that captures a pattern on the substrate to acquire a target image, and the target image. An alignment unit that acquires the position of the substrate as compared with a reference image of the pattern generated by the reference image generator according to any one of 1 to 7, and a position of the substrate acquired by the alignment unit. Based on the above, the substrate moving mechanism for relatively moving the substrate to adjust the position is provided.

請求項10に記載の発明は、表面上にパターンを有する基板の製造工程において、前記パターンの画像との比較に使用される参照画像を生成する参照画像生成方法であって、a)基板上のパターンの設計データと前記パターンを撮像して得られた学習用画像との組み合わせである学習用データを入力する工程と、b)前記学習用データの集合である学習用データセットを用いたディープラーニングにより、前記パターンの設計データと学習用画像との関係を学習させて学習済みモデルを作成する工程と、c)前記学習済みモデルを利用してパターンの設計データから参照画像を生成する工程とを備える。 The invention according to claim 10 is a reference image generation method for generating a reference image used for comparison with an image of the pattern in a process of manufacturing a substrate having a pattern on the surface, and a) on the substrate. A step of inputting learning data which is a combination of a pattern design data and a learning image obtained by imaging the pattern, and b) deep learning using a learning data set which is a set of the learning data. To create a trained model by learning the relationship between the pattern design data and the training image, and c) to generate a reference image from the pattern design data using the trained model. Be prepared.

請求項11に記載の発明は、請求項10に記載の参照画像生成方法であって、前記学習用データセットは、一の学習用データと、前記一の学習用データの設計データと前記一の学習用データの学習用画像の輝度またはコントラストを変更した学習用画像との組み合わせである他の学習用データとを含む。 The invention according to claim 11 is the reference image generation method according to claim 10, wherein the learning data set includes one learning data, the design data of the one learning data, and the one. The training data includes other training data that is a combination with the training image in which the brightness or contrast of the training image is changed.

請求項12に記載の発明は、請求項10または11に記載の参照画像生成方法であって、前記学習用データセットは、一の学習用データと、前記一の学習用データの設計データを回転または反転させた設計データと前記一の学習用データの学習用画像を前記設計データと同様に回転または反転させた学習用画像との組み合わせである他の学習用データとを含む。 The invention according to claim 12 is the reference image generation method according to claim 10 or 11, wherein the learning data set rotates one learning data and design data of the one learning data. Alternatively, it includes other learning data that is a combination of the inverted design data and the learning image of the one learning data that is rotated or inverted in the same manner as the design data.

請求項13に記載の発明は、請求項10ないし12のいずれか1つに記載の参照画像生成方法であって、前記学習用データセットの各学習用データは、前記基板上において前記パターンが設けられているパターン領域の一部である部分領域における前記パターンの設計データと学習用画像との組み合わせであり、前記パターン領域における前記各学習用データの前記部分領域の位置はランダムに決定される。 The invention according to claim 13 is the reference image generation method according to any one of claims 10 to 12, wherein each learning data of the learning data set is provided with the pattern on the substrate. It is a combination of the design data of the pattern and the learning image in the partial region which is a part of the pattern region, and the position of the partial region of each of the learning data in the pattern region is randomly determined.

請求項14に記載の発明は、請求項10ないし13のいずれか1つに記載の参照画像生成方法であって、前記学習用データセットの各学習用データは、前記基板上において前記パターンが設けられているパターン領域の一部である部分領域における前記パターンの設計データと学習用画像との組み合わせであり、前記パターン領域の各位置は、前記学習用データセットのいずれかの学習用データに対応する前記部分領域に含まれる。 The invention according to claim 14 is the reference image generation method according to any one of claims 10 to 13, wherein each learning data of the learning data set is provided with the pattern on the substrate. It is a combination of the design data of the pattern and the training image in the partial region which is a part of the pattern region, and each position of the pattern region corresponds to the training data of any of the training data sets. It is included in the said partial region.

請求項15に記載の発明は、請求項10ないし14のいずれか1つに記載の参照画像生成方法であって、前記基板上に、前記パターンがそれぞれ設けられている複数のパターン領域が配置されており、前記学習用データセットは、前記複数のパターン領域のそれぞれにおける前記パターンの設計データと学習用画像との組み合わせである複数の学習用データを含む。 The invention according to claim 15 is the reference image generation method according to any one of claims 10 to 14, wherein a plurality of pattern regions in which the patterns are provided are arranged on the substrate. The learning data set includes a plurality of learning data that are a combination of the design data of the pattern and the training image in each of the plurality of pattern regions.

請求項16に記載の発明は、請求項10ないし15のいずれか1つに記載の参照画像生成方法であって、前記学習用データセットは、前記パターンを表面上に有する複数の基板のそれぞれにおける前記パターンの設計データと学習用画像との組み合わせである複数の学習用データを含む。 The invention according to claim 16 is the reference image generation method according to any one of claims 10 to 15, wherein the learning data set is on each of a plurality of substrates having the pattern on the surface. It includes a plurality of training data that are a combination of the design data of the pattern and the training image.

本発明では、参照画像生成までのリードタイムを短縮することができる。 In the present invention, the lead time until the reference image is generated can be shortened.

検査装置の構成を示す図である。It is a figure which shows the structure of the inspection apparatus. 第1コンピュータの構成を示す図である。It is a figure which shows the structure of the 1st computer. 第1コンピュータにより実現される機能構成を示す図である。It is a figure which shows the functional structure realized by the 1st computer. 第2コンピュータの構成を示す図である。It is a figure which shows the structure of the 2nd computer. 第2コンピュータにより実現される機能構成を示す図である。It is a figure which shows the functional structure realized by the 2nd computer. 参照画像の生成の流れを示す図である。It is a figure which shows the flow of the generation of a reference image. 基板の検査の流れを示す図である。It is a figure which shows the flow of the inspection of a substrate. アライメント装置の構成を示す図である。It is a figure which shows the structure of the alignment apparatus. 第1コンピュータにより実現される機能構成を示す図である。It is a figure which shows the functional structure realized by the 1st computer.

図1は、本発明の第1の実施の形態に係る検査装置1の構成を示す図である。検査装置1は、例えば、半導体基板9(以下、単に「基板9」とも呼ぶ。)の外観を検査する装置である。基板9の表面上には、パターンが形成されている。 FIG. 1 is a diagram showing a configuration of an inspection device 1 according to a first embodiment of the present invention. The inspection device 1 is, for example, a device that inspects the appearance of the semiconductor substrate 9 (hereinafter, also simply referred to as “board 9”). A pattern is formed on the surface of the substrate 9.

検査装置1は、基板9を撮像する装置本体2と、第1コンピュータ3と、第2コンピュータ4とを備える。第1コンピュータ3および第2コンピュータ4はそれぞれ、演算部を含む処理装置である。第1コンピュータ3は、検査装置1の全体動作の制御も行う。第2コンピュータ4は、後述する参照画像を生成する参照画像生成装置である。装置本体2は、撮像部21と、基板9を保持するステージ22と、ステージ移動機構23とを有する。撮像部21は、基板9上のパターンを撮像して画像を取得する。当該画像は、例えば、多階調のカラー画像である。ステージ移動機構23は、撮像部21に対してステージ22を相対的に移動する。 The inspection device 1 includes a device main body 2 that captures an image of the substrate 9, a first computer 3, and a second computer 4. The first computer 3 and the second computer 4 are processing devices including a calculation unit, respectively. The first computer 3 also controls the overall operation of the inspection device 1. The second computer 4 is a reference image generation device that generates a reference image described later. The apparatus main body 2 has an imaging unit 21, a stage 22 for holding the substrate 9, and a stage moving mechanism 23. The image pickup unit 21 takes an image of the pattern on the substrate 9 and acquires an image. The image is, for example, a multi-gradation color image. The stage moving mechanism 23 moves the stage 22 relative to the imaging unit 21.

撮像部21は、照明光を出射する照明部211と、光学系212と、撮像デバイス213とを有する。光学系212は、基板9に照明光を導くとともに基板9からの光を撮像デバイス213に導く。撮像デバイス213は、光学系212により結像された基板9の像を電気信号に変換する。照明部211は、LEDや電球等のランプと、ランプからの光を整えるレンズや反射部材等の光学要素とを含む。光学系212は、複数のレンズやハーフミラー等の光学要素を含む。撮像デバイス213は、例えば、2次元のイメージングセンサである。撮像デバイス213は1次元のイメージングセンサであってもよく、この場合、ステージ22を移動しながら撮像が行われる。 The image pickup unit 21 includes an illumination unit 211 that emits illumination light, an optical system 212, and an image pickup device 213. The optical system 212 guides the illumination light to the substrate 9 and guides the light from the substrate 9 to the image pickup device 213. The image pickup device 213 converts the image of the substrate 9 imaged by the optical system 212 into an electric signal. The lighting unit 211 includes a lamp such as an LED or a light bulb, and an optical element such as a lens or a reflecting member that regulates the light from the lamp. The optical system 212 includes optical elements such as a plurality of lenses and half mirrors. The image pickup device 213 is, for example, a two-dimensional imaging sensor. The imaging device 213 may be a one-dimensional imaging sensor, in which case imaging is performed while moving the stage 22.

ステージ移動機構23はボールねじ、ガイドレール、モータ等により構成される。もちろん、ステージ移動機構23として様々な機構が採用可能であり、例えば、リニアモータが利用可能である。第1コンピュータ3がステージ移動機構23および撮像部21を制御することにより、ステージ22が水平方向に移動して基板9上の所望の領域が撮像される。ステージ22は基板9を保持する保持部である。基板9の保持は様々な方法で行われてよい。例えば、ステージ22に溝が形成され、溝内に形成された吸引口から吸引が行われることにより、基板9がステージ22上に吸着される。ステージ22に多数の吸引口が形成されて基板9が吸着されてもよい。ステージ22を多孔質材料にて形成し、多孔質材料から吸引が行われてもよい。ステージ22は機械的な機構により基板9を保持してもよい。 The stage moving mechanism 23 is composed of a ball screw, a guide rail, a motor, and the like. Of course, various mechanisms can be adopted as the stage moving mechanism 23, and for example, a linear motor can be used. When the first computer 3 controls the stage moving mechanism 23 and the imaging unit 21, the stage 22 moves in the horizontal direction and a desired region on the substrate 9 is imaged. The stage 22 is a holding portion for holding the substrate 9. The substrate 9 may be held in various ways. For example, a groove is formed in the stage 22, and suction is performed from the suction port formed in the groove, so that the substrate 9 is attracted to the stage 22. A large number of suction ports may be formed on the stage 22 to suck the substrate 9. The stage 22 may be formed of a porous material, and suction may be performed from the porous material. The stage 22 may hold the substrate 9 by a mechanical mechanism.

図2は、第1コンピュータ3の構成を示す図である。第1コンピュータ3は、CPU31と、ROM32と、RAM33と、固定ディスク34と、ディスプレイ35と、入力部36と、読取装置37と、通信部38と、GPU39と、バス30とを含む一般的なコンピュータシステムの構成を有する。CPU31は、各種演算処理を行う。GPU39は、画像処理に関する各種演算処理を行う。ROM32は、基本プログラムを記憶する。RAM33は、各種情報を記憶する。固定ディスク34は、情報記憶を行う。ディスプレイ35は、画像等の各種情報の表示を行う。入力部36は、操作者からの入力を受け付けるキーボード36aおよびマウス36bを備える。読取装置37は、光ディスク、磁気ディスク、光磁気ディスク、メモリカード等のコンピュータ読み取り可能な記録媒体81から情報の読み取りを行う。ディスプレイ35、キーボード36a、マウス36bおよび読取装置37は、インターフェイスI/Fを介してバス30に接続される。通信部38は、検査装置1の他の構成、および、外部の装置との間で信号を送受信する。バス30は、CPU31、GPU39、ROM32、RAM33、固定ディスク34、ディスプレイ35、入力部36、読取装置37および通信部38を接続する信号回路である。 FIG. 2 is a diagram showing the configuration of the first computer 3. The first computer 3 is a general computer 3 including a CPU 31, a ROM 32, a RAM 33, a fixed disk 34, a display 35, an input unit 36, a reading device 37, a communication unit 38, a GPU 39, and a bus 30. It has a computer system configuration. The CPU 31 performs various arithmetic processes. The GPU 39 performs various arithmetic processes related to image processing. The ROM 32 stores the basic program. The RAM 33 stores various information. The fixed disk 34 stores information. The display 35 displays various information such as images. The input unit 36 includes a keyboard 36a and a mouse 36b that receive input from the operator. The reading device 37 reads information from a computer-readable recording medium 81 such as an optical disk, a magnetic disk, a magneto-optical disk, or a memory card. The display 35, the keyboard 36a, the mouse 36b, and the reader 37 are connected to the bus 30 via the interface I / F. The communication unit 38 transmits / receives signals to / from other configurations of the inspection device 1 and an external device. The bus 30 is a signal circuit that connects the CPU 31, GPU 39, ROM 32, RAM 33, fixed disk 34, display 35, input unit 36, reader 37, and communication unit 38.

第1コンピュータ3では、事前に読取装置37を介して記録媒体81からプログラム811が読み出されて固定ディスク34に記憶されている。プログラム811はネットワークを介して固定ディスク34に記憶されてもよい。CPU31およびGPU39は、プログラム811に従ってRAM33や固定ディスク34を利用しつつ演算処理を実行する。CPU31およびGPU39は、第1コンピュータ3において演算部として機能する。CPU31およびGPU39以外に演算部として機能する他の構成が採用されてもよい。 In the first computer 3, the program 811 is read in advance from the recording medium 81 via the reading device 37 and stored in the fixed disk 34. Program 811 may be stored on a fixed disk 34 via a network. The CPU 31 and the GPU 39 execute arithmetic processing while using the RAM 33 and the fixed disk 34 according to the program 811. The CPU 31 and the GPU 39 function as arithmetic units in the first computer 3. In addition to the CPU 31 and the GPU 39, other configurations that function as arithmetic units may be adopted.

図3は、第1コンピュータ3がプログラム811に従って演算処理等を実行することにより実現される機能構成を示す図である。これらの機能構成には、記憶部301と、検査部302と、制御部303とが含まれる。これらの機能の全部または一部は専用の電気回路により実現されてもよい。また、複数のコンピュータによりこれらの機能が実現されてもよい。図3に示す機能構成のうち、検査部302および制御部303は、CPU31、GPU39、ROM32、RAM33、固定ディスク34およびこれらの周辺構成により実現される。また、記憶部301は、主としてRAM33および固定ディスク34により実現される。 FIG. 3 is a diagram showing a functional configuration realized by the first computer 3 executing arithmetic processing or the like according to the program 811. These functional configurations include a storage unit 301, an inspection unit 302, and a control unit 303. All or part of these functions may be realized by a dedicated electric circuit. Further, these functions may be realized by a plurality of computers. Among the functional configurations shown in FIG. 3, the inspection unit 302 and the control unit 303 are realized by the CPU 31, GPU 39, ROM 32, RAM 33, fixed disk 34, and peripheral configurations thereof. Further, the storage unit 301 is mainly realized by the RAM 33 and the fixed disk 34.

記憶部301は、撮像部21により取得された基板9上のパターンの画像(以下、「被検査画像」とも呼ぶ。)、および、基板9の検査に使用される参照画像等を記憶する。当該参照画像は、実質的に欠陥を有しない基板9上のパターンを示す画像であり、後述するように、第2コンピュータ4により生成される。検査部302は、被検査画像を参照画像と比較して、基板9における欠陥の有無を検査する。制御部303は、撮像部21およびステージ移動機構23、並びに、各機能構成の動作を制御する。 The storage unit 301 stores an image of the pattern on the substrate 9 acquired by the imaging unit 21 (hereinafter, also referred to as an “image to be inspected”), a reference image used for inspection of the substrate 9, and the like. The reference image is an image showing a pattern on the substrate 9 having substantially no defects, and is generated by the second computer 4 as described later. The inspection unit 302 compares the image to be inspected with the reference image and inspects the presence or absence of defects in the substrate 9. The control unit 303 controls the operation of the imaging unit 21, the stage moving mechanism 23, and each functional configuration.

図4は第2コンピュータ4の構成を示す図である。第2コンピュータ4は、第1コンピュータ3と略同様に、CPU41と、ROM42と、RAM43と、固定ディスク44と、ディスプレイ45と、入力部46と、読取装置47と、通信部48と、GPU49と、バス40とを含む一般的なコンピュータシステムの構成を有する。CPU41は、各種演算処理を行う。GPU49は、画像処理に関する各種演算処理を行う。ROM42は、基本プログラムを記憶する。RAM43は、各種情報を記憶する。固定ディスク44は、情報記憶を行う。ディスプレイ45は、画像等の各種情報の表示を行う。入力部46は、操作者からの入力を受け付けるキーボード46aおよびマウス46bを備える。読取装置47は、光ディスク、磁気ディスク、光磁気ディスク、メモリカード等のコンピュータ読み取り可能な記録媒体82から情報の読み取りを行う。ディスプレイ45、キーボード46a、マウス46bおよび読取装置47は、インターフェイスI/Fを介してバス40に接続される。通信部48は、検査装置1の他の構成、および、外部の装置との間で信号を送受信する。バス40は、CPU41、GPU49、ROM42、RAM43、固定ディスク44、ディスプレイ45、入力部46、読取装置47および通信部48を接続する信号回路である。 FIG. 4 is a diagram showing the configuration of the second computer 4. Similar to the first computer 3, the second computer 4 includes a CPU 41, a ROM 42, a RAM 43, a fixed disk 44, a display 45, an input unit 46, a reading device 47, a communication unit 48, and a GPU 49. , A general computer system configuration including a bus 40. The CPU 41 performs various arithmetic processes. The GPU 49 performs various arithmetic processes related to image processing. The ROM 42 stores the basic program. The RAM 43 stores various information. The fixed disk 44 stores information. The display 45 displays various information such as images. The input unit 46 includes a keyboard 46a and a mouse 46b that receive input from the operator. The reading device 47 reads information from a computer-readable recording medium 82 such as an optical disk, a magnetic disk, a magneto-optical disk, or a memory card. The display 45, keyboard 46a, mouse 46b and reader 47 are connected to the bus 40 via the interface I / F. The communication unit 48 transmits / receives signals to / from other configurations of the inspection device 1 and an external device. The bus 40 is a signal circuit that connects a CPU 41, a GPU 49, a ROM 42, a RAM 43, a fixed disk 44, a display 45, an input unit 46, a reading device 47, and a communication unit 48.

第2コンピュータ4では、事前に読取装置47を介して記録媒体82からプログラム821が読み出されて固定ディスク44に記憶されている。プログラム821はネットワークを介して固定ディスク44に記憶されてもよい。CPU41およびGPU49は、プログラム821に従ってRAM43や固定ディスク44を利用しつつ演算処理を実行する。CPU41およびGPU49は、第2コンピュータ4において演算部として機能する。CPU41およびGPU49以外に演算部として機能する他の構成が採用されてもよい。 In the second computer 4, the program 821 is read in advance from the recording medium 82 via the reading device 47 and stored in the fixed disk 44. The program 821 may be stored on the fixed disk 44 via the network. The CPU 41 and the GPU 49 execute arithmetic processing while using the RAM 43 and the fixed disk 44 according to the program 821. The CPU 41 and the GPU 49 function as arithmetic units in the second computer 4. In addition to the CPU 41 and the GPU 49, another configuration that functions as a calculation unit may be adopted.

図5は、第2コンピュータ4がプログラム821に従って演算処理等を実行することにより実現される機能構成を示す図である。これらの機能構成には、入力部401と、学習部402と、参照画像生成部403と、記憶部404とが含まれる。これらの機能の全部または一部は専用の電気回路により実現されてもよい。また、複数のコンピュータによりこれらの機能が実現されてもよい。図5に示す機能構成のうち、入力部401、学習部402および参照画像生成部403は、CPU41、GPU49、ROM42、RAM43、固定ディスク44およびこれらの周辺構成により実現される。また、記憶部404は、主としてRAM43および固定ディスク44により実現される。 FIG. 5 is a diagram showing a functional configuration realized by the second computer 4 executing arithmetic processing or the like according to the program 821. These functional configurations include an input unit 401, a learning unit 402, a reference image generation unit 403, and a storage unit 404. All or part of these functions may be realized by a dedicated electric circuit. Further, these functions may be realized by a plurality of computers. Among the functional configurations shown in FIG. 5, the input unit 401, the learning unit 402, and the reference image generation unit 403 are realized by the CPU 41, the GPU 49, the ROM 42, the RAM 43, the fixed disk 44, and their peripheral configurations. Further, the storage unit 404 is mainly realized by the RAM 43 and the fixed disk 44.

入力部401は、学習用データを記憶部404へと入力する。記憶部404は、多数の学習用データの集合である学習用データセットを記憶する。当該学習用データは、基板9上のパターンの設計データと、基板9上に形成されたパターンで実質的に欠陥を有していないものを撮像して得られた学習用画像との組み合わせである。学習用データに含まれる学習用画像は、例えば、基板9上に配置された複数のダイ(すなわち、それぞれに上記パターンが設けられている複数のパターン領域)のうち、1つのダイの一部である所定の大きさの部分領域の画像である。この場合、学習用データに含まれる設計データは、上記パターンのうち学習用画像に対応する部分領域に含まれる部位の設計データである。当該設計データは、例えば、ベクトルデータであるCADデータ、CADデータから生成された頂点画像データ、または、頂点画像データをラスタライズして生成されたランレングスデータである。設計データは、他の形式のデータであってもよい。 The input unit 401 inputs the learning data to the storage unit 404. The storage unit 404 stores a learning data set which is a set of a large number of learning data. The learning data is a combination of the design data of the pattern on the substrate 9 and the learning image obtained by imaging the pattern formed on the substrate 9 which has substantially no defects. .. The learning image included in the learning data is, for example, a part of one die among a plurality of dies arranged on the substrate 9 (that is, a plurality of pattern regions in which the above pattern is provided). It is an image of a partial area of a certain predetermined size. In this case, the design data included in the learning data is the design data of the portion of the above pattern included in the partial region corresponding to the learning image. The design data is, for example, CAD data which is vector data, vertex image data generated from the CAD data, or run length data generated by rasterizing the vertex image data. The design data may be data in other formats.

学習部402は、上述の学習用データセットを用いたディープラーニング(例えば、GAN(敵対生成ネットワーク))により、基板9上のパターンの設計データと学習用画像との関係を初期モデルに学習させて学習済みモデルを作成する。学習済みモデルは記憶部404に格納される。学習用データセットの詳細については、後述する。参照画像生成部403は、記憶部404に記憶された学習済みモデルを利用して、パターンの設計データから参照画像(すなわち、実質的に欠陥を有しない良品のパターンを示す画像)を生成する。当該参照画像は、第1コンピュータ3の記憶部301に格納される。 The learning unit 402 causes the initial model to learn the relationship between the pattern design data on the substrate 9 and the learning image by deep learning (for example, GAN (hostile generation network)) using the above-mentioned learning data set. Create a trained model. The trained model is stored in the storage unit 404. The details of the training data set will be described later. The reference image generation unit 403 uses the trained model stored in the storage unit 404 to generate a reference image (that is, an image showing a good product pattern having substantially no defects) from the pattern design data. The reference image is stored in the storage unit 301 of the first computer 3.

図6は、第2コンピュータ4における参照画像の生成の流れを示す図である。参照画像の生成では、まず、多数の学習用データの集合である学習用データセットが準備される(ステップS11)。上述のように、各学習用データは、基板9上のパターンの設計データと、当該パターンを撮像して得られた学習用画像との組み合わせである。学習用データセットに含まれる学習用データの数は限定されないが、例えば、約10000である。 FIG. 6 is a diagram showing a flow of generating a reference image in the second computer 4. In the generation of the reference image, first, a learning data set, which is a set of a large number of learning data, is prepared (step S11). As described above, each learning data is a combination of the design data of the pattern on the substrate 9 and the learning image obtained by imaging the pattern. The number of training data included in the training data set is not limited, but is, for example, about 10,000.

学習用データセットに含まれる複数の学習用データは、例えば、下記の方法にて準備される。まず、検査装置1において、実質的に欠陥を有しない良品の基板9(すなわち、学習用の基板9)がステージ22により保持される。そして、基板9上に配置された複数のダイのうち1つのダイが選択され、選択されたダイ上のパターン全体が撮像部21により撮像される。撮像部21による撮像は、例えば、スキャンまたはステップアンドリピートにより行われる。撮像部21により撮像されたダイの画像は、第1コンピュータ3の記憶部301に格納される。 A plurality of learning data included in the learning data set are prepared by, for example, the following method. First, in the inspection device 1, a non-defective substrate 9 (that is, a learning substrate 9) having substantially no defects is held by the stage 22. Then, one die out of the plurality of dies arranged on the substrate 9 is selected, and the entire pattern on the selected die is imaged by the imaging unit 21. The imaging by the imaging unit 21 is performed by, for example, scanning or step-and-repeat. The image of the die captured by the imaging unit 21 is stored in the storage unit 301 of the first computer 3.

続いて、第1コンピュータ3において、当該ダイの画像が、マトリクス状に縦横に並ぶ所定の大きさ(例えば、512画素×512画素)の複数の部分画像に等分割され、各部分画像が学習用画像とされる。そして、当該学習用画像が、上述のダイの設計データのうち学習用画像に対応する領域(すなわち、部分領域)のデータと組み合わされることにより、学習用データが作成される。上述の複数の学習用画像は、隣接する学習用画像と重複することなくマトリクス状に配置され、1つのダイの画像全体を構成する。換言すれば、当該ダイ上の各位置は、当該複数の学習用画像のいずれかに対応する部分領域に含まれている。したがって、ダイ上のパターン全体を学習用データセットに含めることができる。なお、当該複数の学習用画像はそれぞれ、縦横に隣接する他の学習用画像と部分的に重複していてもよい。また、上述の部分画像の大きさは、適宜変更されてよい。 Subsequently, in the first computer 3, the image of the die is equally divided into a plurality of partial images of a predetermined size (for example, 512 pixels × 512 pixels) arranged vertically and horizontally in a matrix, and each partial image is used for learning. It is regarded as an image. Then, the learning data is created by combining the learning image with the data of the region (that is, the partial region) corresponding to the learning image in the above-mentioned die design data. The plurality of learning images described above are arranged in a matrix without overlapping with adjacent learning images, and constitute the entire image of one die. In other words, each position on the die is included in a partial region corresponding to any of the plurality of learning images. Therefore, the entire pattern on the die can be included in the training data set. It should be noted that the plurality of learning images may partially overlap with other learning images that are vertically and horizontally adjacent to each other. Moreover, the size of the above-mentioned partial image may be changed as appropriate.

第1コンピュータ3において準備された学習用データセット(すなわち、複数の学習用データの集合)は、第2コンピュータ4に送られ、入力部401により記憶部404に入力される(ステップS12)。なお、撮像部21により撮像されたダイの画像は第2コンピュータ4に送られ、第2コンピュータ4において学習用データの作成(すなわち、学習用データセットの準備)が行われてもよい。 The learning data set (that is, a set of a plurality of learning data) prepared in the first computer 3 is sent to the second computer 4 and input to the storage unit 404 by the input unit 401 (step S12). The image of the die captured by the imaging unit 21 may be sent to the second computer 4, and the second computer 4 may create the learning data (that is, prepare the learning data set).

続いて、第2コンピュータ4の学習部402において、上記学習用データセットを用いたディープラーニングにより、参照画像生成用の初期モデルの学習が行われる。学習部402では、パターンの設計データと、当該パターンの学習用画像との関係を初期モデルに学習させることにより、学習済みモデルが作成される(ステップS13)。当該学習済みモデルは、記憶部404に格納される。記憶部404には、検査装置1において検査が予定されている基板9上のパターンの設計データも予め記憶されている。 Subsequently, the learning unit 402 of the second computer 4 learns the initial model for generating the reference image by deep learning using the learning data set. The learning unit 402 creates a trained model by training the initial model in the relationship between the pattern design data and the learning image of the pattern (step S13). The trained model is stored in the storage unit 404. The storage unit 404 also stores in advance the design data of the pattern on the substrate 9 scheduled to be inspected by the inspection device 1.

学習済みモデルの作成が終了すると、参照画像生成部403において、記憶部404に記憶されている上記設計データから、学習済みモデルを利用して参照画像が生成される(ステップS14)。ステップS14にて生成された参照画像は、第2コンピュータ4から第1コンピュータ3へと送られ、記憶部301に格納される。当該参照画像は、第1コンピュータ3の検査部302による基板9の検査に利用される。 When the creation of the trained model is completed, the reference image generation unit 403 generates a reference image using the trained model from the design data stored in the storage unit 404 (step S14). The reference image generated in step S14 is sent from the second computer 4 to the first computer 3 and stored in the storage unit 301. The reference image is used for inspection of the substrate 9 by the inspection unit 302 of the first computer 3.

第2コンピュータ4では、学習部402におけるディープラーニングによる学習(ステップS13)、および、参照画像生成部403における参照画像の生成(ステップS14)は、例えば、Pix2Pix、PointNet、または、これらの組み合わせにより行われる。ステップS13では、ディープラーニングにおける内部パラメータの更新方法として、例えば、Adam(Adaptive moment estimation)および誤差逆伝播法が用いられる。また、出力画像と元画像との誤差の基準として、例えば、L1誤差(すなわち、各画素値の差の絶対値和)、L2誤差(すなわち、各画素値の差の二乗和)、または、交差エントロピー誤差が用いられる。内部パラメータの更新は、例えば、ミニバッチ学習法を用いて行われる。ミニバッチの単位、および、エポック数は限定されないが、例えば、4枚および50である。内部パラメータの更新は、必ずしも所定回数繰り返される必要はなく、誤差の値や推移から更新終了が決定されてもよい。 In the second computer 4, learning by deep learning in the learning unit 402 (step S13) and generation of the reference image in the reference image generation unit 403 (step S14) are performed by, for example, Pix2Pix, PointNet, or a combination thereof. It is said. In step S13, for example, Adam (Adaptive moment estimation) and backpropagation method are used as methods for updating internal parameters in deep learning. Further, as a reference of the error between the output image and the original image, for example, an L1 error (that is, the sum of the absolute values of the differences of each pixel value), an L2 error (that is, the sum of the squares of the differences of each pixel value), or an intersection. Entropy error is used. The internal parameters are updated, for example, by using the mini-batch learning method. The unit of the mini-batch and the number of epochs are not limited, but are, for example, 4 and 50. The update of the internal parameter does not necessarily have to be repeated a predetermined number of times, and the end of the update may be determined from the error value or transition.

図7は、検査装置1における基板9の検査の流れを示す図である。検査装置1では、まず、検査対象である基板9がステージ22により保持される。そして、基板9上に配置された複数のダイのうち1つのダイが選択され、選択されたダイ上のパターン全体が撮像部21により撮像される(ステップS21)。撮像部21による撮像は、例えば、スキャンまたはステップアンドリピートにより行われる。撮像部21により撮像されたダイの画像(すなわち、被検査画像)は、第1コンピュータ3の記憶部301に格納される。 FIG. 7 is a diagram showing an inspection flow of the substrate 9 in the inspection apparatus 1. In the inspection device 1, first, the substrate 9 to be inspected is held by the stage 22. Then, one die out of the plurality of dies arranged on the substrate 9 is selected, and the entire pattern on the selected die is imaged by the imaging unit 21 (step S21). The imaging by the imaging unit 21 is performed by, for example, scanning or step-and-repeat. The image of the die (that is, the image to be inspected) captured by the imaging unit 21 is stored in the storage unit 301 of the first computer 3.

そして、検査部302により、記憶部301に記憶されている被検査画像(すなわち、パターンの画像)が上述の参照画像と比較され、有意な差異が存在する被検査画像は「欠陥有り」に分類され、それ以外の被検査画像は「欠陥無し」に分類される(ステップS22)。「欠陥有り」に分類された基板9では、欠陥の位置、大きさ、および、欠陥画像データ等が取得され、ディスプレイ35(図2参照)等に表示される。被検査画像と参照画像との比較は、公知の様々な方法(例えば、差分比較法やゆすらせ比較法)により行われてよい。検査装置1では、基板9上の複数のダイについて、上記検査が順次行われる。また、1枚の基板9の検査が終了すると、次の基板9の検査が行われる。 Then, the inspection unit 302 compares the image to be inspected (that is, the image of the pattern) stored in the storage unit 301 with the above-mentioned reference image, and the image to be inspected having a significant difference is classified as "defective". The other images to be inspected are classified as "no defects" (step S22). In the substrate 9 classified as “with defects”, the position, size, defect image data, and the like of the defects are acquired and displayed on the display 35 (see FIG. 2) and the like. The comparison between the image to be inspected and the reference image may be performed by various known methods (for example, a difference comparison method or a shaking comparison method). In the inspection device 1, the above inspections are sequentially performed on a plurality of dies on the substrate 9. When the inspection of one substrate 9 is completed, the next inspection of the substrate 9 is performed.

検査装置1では、上述の参照画像の生成(ステップS11〜S14)において、上記例示の学習用データ以外に、様々な学習用データが学習用データセットに含まれてよい。例えば、ステップS11では、複数の学習用画像は、必ずしもダイの画像をマトリクス状に等分割したものである必要はなく、ダイの画像から所定の大きさ(例えば、512画素×512画素)で適宜切り出された部分画像が、上述の学習用画像とされてもよい。この場合、複数の学習用画像の切り出し位置(すなわち、各学習用画像に対応する部分領域のダイ上における位置)は、ランダムに決定されてもよい。これにより、ダイ上のパターンに含まれる様々なパターン要素について、学習用画像上におけるパターン要素の位置や学習用画像に含まれるパターン要素の組み合わせが異なる複数の学習用データを、学習用データセットに含めることができる。なお、複数の学習用画像の切り出し位置は、規則的に決定されてもよい。 In the inspection device 1, in the above-mentioned generation of the reference image (steps S11 to S14), various learning data may be included in the learning data set in addition to the above-exemplified learning data. For example, in step S11, the plurality of learning images do not necessarily have to be an equal division of the die image into a matrix, and are appropriately of a predetermined size (for example, 512 pixels × 512 pixels) from the die image. The cut out partial image may be used as the above-mentioned learning image. In this case, the cutout position of the plurality of learning images (that is, the position of the partial region corresponding to each learning image on the die) may be randomly determined. As a result, for various pattern elements included in the pattern on the die, a plurality of learning data in which the positions of the pattern elements on the learning image and the combination of the pattern elements included in the learning image are different are converted into the learning data set. Can be included. The cropping positions of the plurality of learning images may be regularly determined.

学習用画像の切り出し位置がランダムに決定される場合、例えば、ダイの左上の1つの頂点を原点として、x座標およびy座標(すなわち、左右方向および上下方向の位置)が乱数等を用いてランダムに決定される。続いて、決定されたx座標およびy座標を左上原点として、上記所定の大きさの部分領域がダイの画像上に設定される。当該部分領域の全体がダイ(すなわち、パターン領域)に含まれている場合、部分領域に対応する部分画像が学習用画像として切り出される。そして、切り出された学習用画像と、当該部分領域に対応する設計データとが組み合わされて学習用データが作成される。 When the cutout position of the training image is randomly determined, for example, the x-coordinate and the y-coordinate (that is, the positions in the left-right direction and the up-down direction) are randomly determined using a random number or the like with one vertex on the upper left of the die as the origin. Is decided on. Subsequently, with the determined x-coordinate and y-coordinate as the upper left origin, a partial region having the predetermined size is set on the image of the die. When the entire partial region is included in the die (that is, the pattern region), the partial image corresponding to the partial region is cut out as a learning image. Then, the cut-out learning image and the design data corresponding to the partial region are combined to create the learning data.

一方、当該部分領域がダイからはみ出している場合、部分領域に対応する部分画像は学習用画像として切り出されず、学習用データは作成されない。あるいは、当該部分領域の全体がダイに含まれるように部分領域の位置が縦方向および/または横方向にシフトされた後、部分領域に対応する部分画像が学習用画像として切り出されてもよい。この場合、部分領域の縦方向および横方向におけるシフト量は、できるだけ小さくされることが好ましい。そして、切り出された学習用画像と、当該部分領域に対応する設計データとが組み合わされて学習用データが作成される。 On the other hand, when the partial area extends beyond the die, the partial image corresponding to the partial area is not cut out as a learning image, and learning data is not created. Alternatively, after the position of the partial region is shifted in the vertical direction and / or the horizontal direction so that the entire partial region is included in the die, the partial image corresponding to the partial region may be cut out as a learning image. In this case, it is preferable that the shift amount in the vertical direction and the horizontal direction of the partial region is as small as possible. Then, the cut-out learning image and the design data corresponding to the partial region are combined to create the learning data.

また、ステップS11では、設計データと学習用画像との組み合わせである一の学習用データが作成されると、当該一の学習用データを利用して、新たな学習用データが作成されてもよい。 Further, in step S11, when one learning data which is a combination of the design data and the learning image is created, new learning data may be created by using the one learning data. ..

例えば、当該一の学習用データの学習用画像の輝度およびコントラストの少なくとも一方を変更した新たな学習用画像が作成され、当該新たな学習用画像と、上記一の学習用データの設計データとを組み合わせて、新たな学習用データが作成される。学習用画像の輝度の変更、および、コントラストの変更は、公知の様々な方法により行われてよい。新たな学習用データは、上記一の学習用データと共に、学習用データセットに含められる。これにより、撮像条件(例えば、撮像部の個体差や、気温および気圧等の外的要因)が画像に与える影響、並びに、ダイまたは基板の個体差(例えば、プロセス条件の微妙な変化により生じる差)による画像の差等を考慮した、ロバスト性が高い参照画像を生成することができる。その結果、ステップS21において得られた被検査画像の輝度やコントラストが変動する場合であっても、ステップS22における被検査画像と参照画像との比較を高精度に行うことができる。 For example, a new learning image in which at least one of the brightness and the contrast of the learning image of the one learning data is changed is created, and the new learning image and the design data of the one learning data are combined. In combination, new learning data is created. The brightness of the learning image and the contrast may be changed by various known methods. The new learning data is included in the learning data set together with the above-mentioned one learning data. As a result, the influence of imaging conditions (for example, individual differences in the imaging unit and external factors such as temperature and atmospheric pressure) on the image, and individual differences in the die or substrate (for example, differences caused by subtle changes in process conditions) It is possible to generate a highly robust reference image in consideration of the difference in images due to). As a result, even when the brightness and contrast of the image to be inspected obtained in step S21 fluctuate, the image to be inspected and the reference image in step S22 can be compared with high accuracy.

また、例えば、上述の一の学習用データの学習用画像を回転または反転させた新たな学習用画像が作成され、また、当該一の学習用データの設計データを、上記学習用画像と同様に回転または反転させた新たな設計データが作成される。そして、新たな設計データと新たな学習用画像とを組み合わせて、新たな学習用データが作成される。設計データおよび学習用画像の回転および反転は、公知の様々な方法により行われてよい。新たな学習用データは、上記一の学習用データと共に、学習用データセットに含められる。これにより、様々な方向を向くパターンに高精度に対応して参照画像を生成可能な学習済みモデルを作成することができる。 Further, for example, a new learning image is created by rotating or reversing the learning image of the above-mentioned one learning data, and the design data of the one learning data is used in the same manner as the above-mentioned learning image. New rotated or inverted design data is created. Then, new learning data is created by combining the new design data and the new learning image. The rotation and inversion of the design data and the training image may be performed by various known methods. The new learning data is included in the learning data set together with the above-mentioned one learning data. As a result, it is possible to create a trained model capable of generating a reference image with high accuracy corresponding to a pattern facing various directions.

ステップS11では、基板9上の複数のダイについて撮像部21による撮像が行われ、複数のダイの画像のそれぞれから学習用画像が取得されて複数の学習用データが作成されてもよい。換言すれば、学習用データセットは、複数のダイ(すなわち、複数のパターン領域)のそれぞれにおけるパターンの設計データと学習用画像との組み合わせである複数の学習用データを含む。これにより、基板上の位置が異なる複数のダイから、同一の設計データに対応する複数の学習用画像を取得することができる。その結果、1つの設計データと、輝度、コントラスト、パターン要素の線幅等が異なる複数の学習用画像とがそれぞれ組み合わされた複数の学習用データを作成することができる。 In step S11, the imaging unit 21 may perform imaging on a plurality of dies on the substrate 9, and learning images may be acquired from each of the images of the plurality of dies to create a plurality of learning data. In other words, the training data set includes a plurality of training data that are a combination of pattern design data and training images in each of a plurality of dies (that is, a plurality of pattern regions). As a result, it is possible to acquire a plurality of learning images corresponding to the same design data from a plurality of dies having different positions on the substrate. As a result, it is possible to create a plurality of learning data in which one design data and a plurality of learning images having different brightness, contrast, line width of pattern elements, and the like are combined.

また、ステップS11では、複数の基板9について撮像部21による撮像が行われ、複数の基板の画像のそれぞれから学習用画像が取得されて複数の学習用データが作成されてもよい。換言すれば、学習用データセットは、複数の基板9のそれぞれにおけるパターンの設計データと学習用画像との組み合わせである複数の学習用データを含む。これにより、製造時のプロセス条件等が微妙に変化している可能性がある複数の基板9から、同一の設計データに対応する複数の学習用画像を取得することができる。その結果、1つの設計データと、輝度、コントラスト、パターン要素の線幅等が異なる複数の学習用画像とがそれぞれ組み合わされた複数の学習用データを作成することができる。 Further, in step S11, the imaging unit 21 may perform imaging on the plurality of substrates 9, and learning images may be acquired from each of the images on the plurality of substrates to create a plurality of learning data. In other words, the training data set includes a plurality of training data that are a combination of pattern design data and training images on each of the plurality of substrates 9. As a result, it is possible to acquire a plurality of learning images corresponding to the same design data from the plurality of substrates 9 in which the process conditions and the like at the time of manufacturing may be slightly changed. As a result, it is possible to create a plurality of learning data in which one design data and a plurality of learning images having different brightness, contrast, line width of pattern elements, and the like are combined.

以上に説明したように、第2コンピュータ4は、参照画像を生成する参照画像生成装置である。当該参照画像は、表面上にパターンを有する基板9の製造工程(上記例では、検査工程)において、パターンの画像との比較に使用される。当該参照画像生成装置は、入力部401と、学習部402と、参照画像生成部403とを備える。入力部401は、基板9上のパターンの設計データと、当該パターンを撮像して得られた学習用画像との組み合わせである学習用データを入力する。学習部402は、学習用データの集合である学習用データセットを用いたディープラーニングにより、パターンの設計データと学習用画像との関係を学習させて学習済みモデルを作成する。参照画像生成部403は、学習済みモデルを利用してパターンの設計データから参照画像を生成する。 As described above, the second computer 4 is a reference image generation device that generates a reference image. The reference image is used for comparison with the image of the pattern in the manufacturing process (inspection step in the above example) of the substrate 9 having the pattern on the surface. The reference image generation device includes an input unit 401, a learning unit 402, and a reference image generation unit 403. The input unit 401 inputs learning data which is a combination of the design data of the pattern on the substrate 9 and the learning image obtained by imaging the pattern. The learning unit 402 creates a trained model by learning the relationship between the pattern design data and the learning image by deep learning using the learning data set which is a set of learning data. The reference image generation unit 403 generates a reference image from the pattern design data using the trained model.

これにより、技術者が設計データから参照画像を生成するためのロジックを組む場合(作業期間:数ヶ月〜数年)に比べて、ごく短期間(例えば、1日)で参照画像生成の準備を完了することができる。すなわち、参照画像生成までのリードタイムを大幅に短縮することができる。その結果、参照画像を短時間で容易に生成することができる。 As a result, preparations for reference image generation can be made in a very short period of time (for example, one day) compared to the case where a technician builds logic for generating a reference image from design data (work period: several months to several years). Can be completed. That is, the lead time until the reference image is generated can be significantly shortened. As a result, the reference image can be easily generated in a short time.

上述の参照画像生成方法は、基板9上のパターンの設計データと当該パターンを撮像して得られた学習用画像との組み合わせである学習用データを入力する工程(ステップS12)と、学習用データの集合である学習用データセットを用いたディープラーニングにより、パターンの設計データと学習用画像との関係を学習させて学習済みモデルを作成する工程(ステップS13)と、当該学習済みモデルを利用してパターンの設計データから参照画像を生成する工程(ステップS14)と、を備える。これにより、上記と同様に、参照画像生成までのリードタイムを大幅に短縮することができる。 The reference image generation method described above includes a step of inputting learning data (step S12), which is a combination of the design data of the pattern on the substrate 9 and the learning image obtained by imaging the pattern, and the learning data. The process of creating a trained model by learning the relationship between the pattern design data and the training image by deep learning using the training data set, which is a set of the above (step S13), and using the trained model. A step (step S14) of generating a reference image from the pattern design data is provided. As a result, the lead time until the reference image is generated can be significantly shortened as described above.

上述のように、学習用データセットは、一の学習用データと、当該一の学習用データの設計データと当該一の学習用データの学習用画像の輝度またはコントラストを変更した学習用画像との組み合わせである他の学習用データと、を含むことが好ましい。上記輝度変更により、撮像部21の照明部211の照度ムラ、撮像デバイス213の感度特性の差、および、気温や気圧の変動等に起因する、学習用画像の輝度変動を考慮した学習が可能となる。また、上記コントラスト変更により、パターンの膜厚変動等に起因する学習用画像におけるパターン要素間のコントラスト変動およびパターン要素と背景との間のコントラスト変動を考慮した学習が可能となる。したがって、上述のように、ロバスト性が高く、比較結果の均一性を向上可能な参照画像を生成することができる。また、1つの学習用画像から複数の学習用データを作成することができるため、学習用データセットに含まれる学習用データの数を容易に増大させることができる。その結果、高精度な参照画像を生成することができる。 As described above, the learning data set includes one learning data, the design data of the one learning data, and the learning image in which the brightness or contrast of the learning image of the one learning data is changed. It is preferable to include other learning data that is a combination. By changing the brightness, it is possible to perform learning in consideration of the brightness fluctuation of the learning image due to the uneven illuminance of the illumination unit 211 of the imaging unit 21, the difference in the sensitivity characteristics of the imaging device 213, and the fluctuation of the temperature and atmospheric pressure. Become. Further, by changing the contrast, it is possible to perform learning in consideration of the contrast fluctuation between the pattern elements and the contrast fluctuation between the pattern element and the background in the learning image due to the fluctuation of the film thickness of the pattern. Therefore, as described above, it is possible to generate a reference image having high robustness and capable of improving the uniformity of the comparison result. Further, since a plurality of learning data can be created from one learning image, the number of learning data included in the learning data set can be easily increased. As a result, a highly accurate reference image can be generated.

上述のように、学習用データセットは、一の学習用データと、当該一の学習用データの設計データを回転または反転させた設計データと当該一の学習用データの学習用画像を設計データと同様に回転または反転させた学習用画像との組み合わせである他の学習用データと、を含むことが好ましい。これにより、様々な方向を向くパターンに高精度に対応して参照画像を生成可能な学習済みモデルを作成することができる。また、1つの学習用画像から複数の学習用データを作成することができるため、学習用データセットに含まれる学習用データの数を容易に増大させることができる。その結果、高精度な参照画像を生成することができる。 As described above, the training data set includes one training data, design data obtained by rotating or reversing the design data of the one training data, and a training image of the one training data as design data. Similarly, it is preferable to include other training data that is a combination with the rotated or inverted training image. As a result, it is possible to create a trained model capable of generating a reference image with high accuracy corresponding to a pattern facing various directions. Further, since a plurality of learning data can be created from one learning image, the number of learning data included in the learning data set can be easily increased. As a result, a highly accurate reference image can be generated.

上述のように、学習用データセットの各学習用データは、基板9上においてパターンが設けられているパターン領域(上記例では、ダイ)の一部である部分領域におけるパターンの設計データと学習用画像との組み合わせであり、当該パターン領域における各学習用データの部分領域の位置は、ランダムに決定されることが好ましい。これにより、パターン領域上のパターンに含まれる様々なパターン要素について、学習用画像上におけるパターン要素の位置や組み合わせが異なる複数の学習用データを、学習用データセットに含めることができる。その結果、ロバスト性が高く、比較結果の均一性を向上可能な参照画像を生成することができる。 As described above, each learning data of the learning data set is for pattern design data and learning in a partial area which is a part of a pattern area (die in the above example) in which the pattern is provided on the substrate 9. It is a combination with an image, and it is preferable that the position of a partial area of each learning data in the pattern area is randomly determined. Thereby, for various pattern elements included in the pattern on the pattern area, a plurality of learning data having different positions and combinations of the pattern elements on the learning image can be included in the learning data set. As a result, it is possible to generate a reference image having high robustness and capable of improving the uniformity of the comparison result.

上述のように、学習用データセットの各学習用データは、基板9上においてパターンが設けられているパターン領域(上記例では、ダイ)の一部である部分領域におけるパターンの設計データと学習用画像との組み合わせであり、当該パターン領域の各位置は、学習用データセットのいずれかの学習用データに対応する部分領域に含まれることが好ましい。これにより、パターン領域のいずれの部位との比較も好適に実施可能な参照画像を生成することができる。 As described above, each training data of the training data set is for pattern design data and training in a partial region that is a part of a pattern region (die in the above example) in which the pattern is provided on the substrate 9. It is a combination with an image, and it is preferable that each position of the pattern region is included in a partial region corresponding to any training data of the training data set. This makes it possible to generate a reference image that can be preferably compared with any part of the pattern region.

上述のように、基板9上に、パターンがそれぞれ設けられている複数のパターン領域(上記例では、ダイ)が配置されている場合、学習用データセットは、当該複数のパターン領域のそれぞれにおけるパターンの設計データと学習用画像との組み合わせである複数の学習用データを含むことが好ましい。これにより、基板上の位置が異なる複数のパターン領域から、同一の設計データに対応する複数の学習用画像を取得することができる。したがって、1つの設計データと、輝度、コントラスト、パターン要素の線幅等が異なる複数の学習用画像とがそれぞれ組み合わされた複数の学習用データを作成することができる。その結果、ロバスト性が高く、比較結果の均一性を向上可能な参照画像を生成することができる。 As described above, when a plurality of pattern regions (die in the above example) each of which is provided with a pattern are arranged on the substrate 9, the training data set is a pattern in each of the plurality of pattern regions. It is preferable to include a plurality of learning data which is a combination of the design data of the above and the learning image. As a result, it is possible to acquire a plurality of learning images corresponding to the same design data from a plurality of pattern regions having different positions on the substrate. Therefore, it is possible to create a plurality of learning data in which one design data and a plurality of learning images having different brightness, contrast, line width of pattern elements, and the like are combined. As a result, it is possible to generate a reference image having high robustness and capable of improving the uniformity of the comparison result.

上述のように、学習用データセットは、パターンを表面上に有する複数の基板9のそれぞれにおけるパターンの設計データと学習用画像との組み合わせである複数の学習用データを含むことが好ましい。これにより、製造時のプロセス条件等が微妙に変化している可能性がある複数の基板9から、同一の設計データに対応する複数の学習用画像を取得することができる。したがって、1つの設計データと、輝度、コントラスト、パターン要素の線幅等が異なる複数の学習用画像とがそれぞれ組み合わされた複数の学習用データを作成することができる。その結果、ロバスト性が高く、比較結果の均一性を向上可能な参照画像を生成することができる。 As described above, the learning data set preferably includes a plurality of learning data which is a combination of the pattern design data and the learning image on each of the plurality of substrates 9 having the pattern on the surface. As a result, it is possible to acquire a plurality of learning images corresponding to the same design data from the plurality of substrates 9 in which the process conditions and the like at the time of manufacturing may be slightly changed. Therefore, it is possible to create a plurality of learning data in which one design data and a plurality of learning images having different brightness, contrast, line width of pattern elements, and the like are combined. As a result, it is possible to generate a reference image having high robustness and capable of improving the uniformity of the comparison result.

上述のように、検査装置1は、撮像部21と、検査部302とを備える。撮像部21は、基板9上のパターンを撮像して被検査画像を取得する。検査部302は、当該被検査画像を上述の参照画像生成装置(すなわち、第2コンピュータ4)により生成されたパターンの参照画像と比較して、基板9における欠陥の有無を検査する。上述のように、当該参照画像生成装置は、参照画像生成までのリードタイムを短縮することができる。したがって、検査装置1において、基板9の欠陥検査を迅速に行うことができる。また、当該参照画像生成装置は、ロバスト性が高く、比較結果の均一性を向上可能な参照画像を生成することができる。したがって、検査装置1において、基板9の欠陥検査を精度良く行うことができる。 As described above, the inspection device 1 includes an imaging unit 21 and an inspection unit 302. The image pickup unit 21 takes an image of the pattern on the substrate 9 to acquire an image to be inspected. The inspection unit 302 compares the image to be inspected with the reference image of the pattern generated by the reference image generator (that is, the second computer 4) described above, and inspects the substrate 9 for defects. As described above, the reference image generation device can shorten the lead time until the reference image is generated. Therefore, in the inspection device 1, the defect inspection of the substrate 9 can be performed quickly. In addition, the reference image generator can generate a reference image that has high robustness and can improve the uniformity of comparison results. Therefore, in the inspection device 1, the defect inspection of the substrate 9 can be performed with high accuracy.

検査装置1では、検査対象である基板9のロットが変更される際に、学習済みモデルの再学習が行われてもよい。学習済みモデルの再学習では、例えば、新しく検査されるロットの中から良品である基板9が抽出され、当該基板9を撮像して新たな学習用データセットが準備される(図6:ステップS11)。そして、上述のステップS12〜S14と略同様の手順により、学習済みモデルの再学習が行われる。これにより、基板9の欠陥検査をさらに精度良く行うことができる。次に述べるアライメント装置1aにおいても同様である。 In the inspection device 1, when the lot of the substrate 9 to be inspected is changed, the trained model may be retrained. In the re-learning of the trained model, for example, a non-defective substrate 9 is extracted from the lot to be newly inspected, and the substrate 9 is imaged to prepare a new learning data set (FIG. 6: Step S11). ). Then, the trained model is retrained by a procedure substantially the same as in steps S12 to S14 described above. As a result, the defect inspection of the substrate 9 can be performed with higher accuracy. The same applies to the alignment device 1a described below.

図8は、本発明の第2の実施の形態に係るアライメント装置1aの構成を示す図である。アライメント装置1aは、表面上にパターンを有する基板9の位置を調節する装置である。アライメント装置1aは、例えば、基板9に対する様々な処理を行う処理装置に含まれる。当該処理装置は、例えば、1枚の基板9上に設けられた複数のダイ同士を比較して欠陥を検出する検査装置、または、基板9に光を照射して描画を行う描画装置である。当該処理装置は、例えば、基板9に対する様々な処理を行う処理ヘッドを備える。 FIG. 8 is a diagram showing a configuration of an alignment device 1a according to a second embodiment of the present invention. The alignment device 1a is a device that adjusts the position of the substrate 9 having a pattern on the surface. The alignment device 1a is included in, for example, a processing device that performs various processing on the substrate 9. The processing device is, for example, an inspection device for detecting defects by comparing a plurality of dies provided on one substrate 9, or a drawing apparatus for irradiating the substrate 9 with light to perform drawing. The processing apparatus includes, for example, a processing head that performs various processing on the substrate 9.

アライメント装置1aでは、第1コンピュータ3により実現される機能構成が異なる点を除き、検査装置1と略同様の構成を備える。以下の説明では、検査装置1の各構成に対応するアライメント装置1aの構成に同符号を付す。アライメント装置1aは、装置本体2と、第1コンピュータ3と、第2コンピュータ4とを備える。装置本体2、第1コンピュータ3および第2コンピュータ4の構成、並びに、第2コンピュータ4により実現される機能構成は、図1、図2、図4および図5に示すものと略同じである。 The alignment device 1a has substantially the same configuration as the inspection device 1 except that the functional configuration realized by the first computer 3 is different. In the following description, the same reference numerals are given to the configurations of the alignment apparatus 1a corresponding to the respective configurations of the inspection apparatus 1. The alignment device 1a includes a device main body 2, a first computer 3, and a second computer 4. The configuration of the apparatus main body 2, the first computer 3 and the second computer 4, and the functional configuration realized by the second computer 4 are substantially the same as those shown in FIGS. 1, 2, 4, and 5.

図9は、アライメント装置1aの第1コンピュータ3がプログラム811(図2参照)に従って演算処理等を実行することにより実現される機能構成を示す図である。これらの機能構成には、記憶部301と、アライメント部304と、制御部303とが含まれる。これらの機能の全部または一部は専用の電気回路により実現されてもよい。また、複数のコンピュータによりこれらの機能が実現されてもよい。図9に示す機能構成のうち、アライメント部304および制御部303は、CPU31、GPU39、ROM32、RAM33、固定ディスク34(図2参照)およびこれらの周辺構成により実現される。また、記憶部301は、主としてRAM33および固定ディスク34により実現される。 FIG. 9 is a diagram showing a functional configuration realized by the first computer 3 of the alignment device 1a executing arithmetic processing or the like according to a program 811 (see FIG. 2). These functional configurations include a storage unit 301, an alignment unit 304, and a control unit 303. All or part of these functions may be realized by a dedicated electric circuit. Further, these functions may be realized by a plurality of computers. Among the functional configurations shown in FIG. 9, the alignment unit 304 and the control unit 303 are realized by the CPU 31, GPU 39, ROM 32, RAM 33, fixed disk 34 (see FIG. 2), and peripheral configurations thereof. Further, the storage unit 301 is mainly realized by the RAM 33 and the fixed disk 34.

記憶部301は、撮像部21(図8参照)により取得された基板9上のパターンの画像(以下、「対象画像」とも呼ぶ。)、および、基板9のアライメントに使用される参照画像等を記憶する。当該参照画像は、アライメントに使用される基板9上のパターン(以下、「アライメントパターン」とも呼ぶ。)の画像であり、後述するように、第2コンピュータ4により生成される。アライメントパターンは、基板9上の回路パターン等の一部であってもよく、アライメント専用の目印であってもよい。アライメント部304は、対象画像を参照画像と比較して、基板9の位置を取得する。制御部303は、撮像部21およびステージ移動機構23、並びに、各機能構成の動作を制御する。 The storage unit 301 stores an image of the pattern on the substrate 9 (hereinafter, also referred to as “target image”) acquired by the imaging unit 21 (see FIG. 8), a reference image used for alignment of the substrate 9, and the like. Remember. The reference image is an image of a pattern (hereinafter, also referred to as “alignment pattern”) on the substrate 9 used for alignment, and is generated by the second computer 4 as described later. The alignment pattern may be a part of a circuit pattern or the like on the substrate 9, or may be a mark dedicated to alignment. The alignment unit 304 compares the target image with the reference image and acquires the position of the substrate 9. The control unit 303 controls the operation of the imaging unit 21, the stage moving mechanism 23, and each functional configuration.

第2コンピュータ4では、上記と同様に、学習用データ(すなわち、アライメントパターンの設計データと学習用画像との組み合わせ)の集合である学習用データセットを用いたディープラーニングにより学習済みモデルが作成される。そして、学習済みモデルを利用して、アライメントパターンの設計データから参照画像が生成される(ステップS11〜S14)。ステップS11〜S14では、アライメントパターンの参照画像(すなわち、アライメントテンプレート画像)を設計データから生成することができるため、パターンを撮像して得た画像からアライメントパターンの画像を選択および抽出する場合に比べて、容易に参照画像を取得することができる。当該参照画像は、第2コンピュータ4から第1コンピュータ3へと送られ、記憶部301に格納される。 In the second computer 4, a trained model is created by deep learning using a training data set which is a set of training data (that is, a combination of alignment pattern design data and a training image) in the same manner as described above. To. Then, using the trained model, a reference image is generated from the design data of the alignment pattern (steps S11 to S14). In steps S11 to S14, since the reference image of the alignment pattern (that is, the alignment template image) can be generated from the design data, compared with the case where the image of the alignment pattern is selected and extracted from the image obtained by imaging the pattern. Therefore, the reference image can be easily obtained. The reference image is sent from the second computer 4 to the first computer 3 and stored in the storage unit 301.

第1コンピュータ3では、アライメント部304により、記憶部301に記憶されている上記対象画像と参照画像とが比較され、参照画像のアライメントパターンと対応するアライメントパターンが対象画像から抽出される。続いて、対象画像におけるアライメントパターンの位置が取得される。そして、対象画像におけるアライメントパターンの位置と、所望のアライメントパターンの位置(すなわち、設計位置)とのずれが求められる。制御部303は、当該ずれに基づいてステージ移動機構23を制御することにより、基板9上のアライメントパターンが所望の位置に位置するように基板9を移動させる。なお、ステージ移動機構23は、必ずしも基板9を移動する必要はなく、基板9に処理を行う上述の処理ヘッドを移動してもよい。すなわち、ステージ移動機構23は、基板9を当該処理ヘッドに対して相対移動して基板9の相対位置を調節する基板移動機構である。 In the first computer 3, the alignment unit 304 compares the target image stored in the storage unit 301 with the reference image, and extracts the alignment pattern corresponding to the alignment pattern of the reference image from the target image. Subsequently, the position of the alignment pattern in the target image is acquired. Then, the deviation between the position of the alignment pattern in the target image and the position of the desired alignment pattern (that is, the design position) is required. The control unit 303 controls the stage moving mechanism 23 based on the deviation to move the substrate 9 so that the alignment pattern on the substrate 9 is located at a desired position. The stage moving mechanism 23 does not necessarily have to move the substrate 9, and may move the above-mentioned processing head that performs processing on the substrate 9. That is, the stage moving mechanism 23 is a substrate moving mechanism that moves the substrate 9 relative to the processing head to adjust the relative position of the substrate 9.

以上に説明したように、アライメント装置1aは、撮像部21と、アライメント部304と、基板移動機構(上記例では、ステージ移動機構23)とを備える。撮像部21は、基板9上のパターンを撮像して対象画像を取得する。アライメント部304は、当該対象画像を上述の参照画像生成装置(すなわち、第2コンピュータ4)により生成されたパターンの参照画像と比較して、基板9の位置を取得する。基板移動機構は、アライメント部304により取得された基板9の位置に基づいて、基板9を相対移動して位置を調節する。上述のように、当該参照画像生成装置は、参照画像生成までのリードタイムを短縮することができる。したがって、アライメント装置1aにおいて、基板9のアライメントを迅速に行うことができる。また、当該参照画像生成装置は、ロバスト性が高く、比較結果の均一性を向上可能な参照画像を生成することができる。したがって、アライメント装置1aにおいて、基板9のアライメントを精度良く行うことができる。 As described above, the alignment device 1a includes an imaging unit 21, an alignment unit 304, and a substrate moving mechanism (in the above example, a stage moving mechanism 23). The imaging unit 21 captures a pattern on the substrate 9 to acquire a target image. The alignment unit 304 compares the target image with the reference image of the pattern generated by the reference image generation device (that is, the second computer 4) described above, and acquires the position of the substrate 9. The substrate moving mechanism adjusts the position by relatively moving the substrate 9 based on the position of the substrate 9 acquired by the alignment unit 304. As described above, the reference image generation device can shorten the lead time until the reference image is generated. Therefore, the alignment device 1a can quickly align the substrate 9. In addition, the reference image generator can generate a reference image that has high robustness and can improve the uniformity of comparison results. Therefore, the alignment device 1a can accurately align the substrate 9.

上述の参照画像生成装置、参照画像生成方法、検査装置1およびアライメント装置1aでは、様々な変更が可能である。 Various changes can be made in the reference image generation device, the reference image generation method, the inspection device 1 and the alignment device 1a described above.

例えば、ステップS11において準備される学習用データセットは、学習用画像の取得も含めて検査装置1の外部において作成され、記録ディスクやネットワークを介して検査装置1に入力されてもよい。アライメント装置1aについても同様である。 For example, the learning data set prepared in step S11 may be created outside the inspection device 1 including the acquisition of the learning image, and may be input to the inspection device 1 via a recording disk or a network. The same applies to the alignment device 1a.

上述の学習用データセットは、必ずしも、複数の基板9のそれぞれにおける学習用データを含む必要はない。また、上述の学習用データセットは、必ずしも、基板9上の複数のパターン領域(上記例では、ダイ)のそれぞれにおける学習用データを含む必要はない。なお、上記複数のパターン領域はダイ以外であってもよい。また、基板9上には、必ずしも複数のパターン領域が配置されている必要はない。 The above-mentioned learning data set does not necessarily have to include the learning data on each of the plurality of substrates 9. Further, the above-mentioned learning data set does not necessarily have to include learning data in each of a plurality of pattern regions (die in the above example) on the substrate 9. The plurality of pattern areas may be other than the die. Further, it is not always necessary that a plurality of pattern regions are arranged on the substrate 9.

上述の学習用データセットでは、パターン領域の各位置は、必ずしもいずれかの学習用データに対応する部分領域(すなわち、パターン領域の一部である領域)に含まれる必要はない。また、各学習用データは、必ずしも、パターン領域の部分領域におけるパターンの設計データと学習用画像との組み合わせである必要はない。例えば、パターン領域の全体におけるパターンの設計データと学習用画像との組み合わせが、1つの学習用データとして学習用データセットに含まれてもよい。 In the above-mentioned training data set, each position of the pattern region does not necessarily have to be included in a partial region (that is, a region that is a part of the pattern region) corresponding to any training data. Further, each learning data does not necessarily have to be a combination of the pattern design data in the partial area of the pattern area and the learning image. For example, the combination of the pattern design data and the learning image in the entire pattern area may be included in the learning data set as one learning data.

上述の学習用データセットは、必ずしも、学習用画像の輝度またはコントラストを変更した学習用データを含む必要はない。また、学習用データセットは、必ずしも、学習用画像を回転または反転させた学習用データを含む必要はない。 The training data set described above does not necessarily have to include training data in which the brightness or contrast of the training image is changed. Further, the learning data set does not necessarily have to include the learning data obtained by rotating or inverting the learning image.

上述の参照画像生成装置、検査装置1およびアライメント装置1aで取り扱われる基板9は、半導体基板には限定されず、液晶表示装置または有機EL(Electro Luminescence)表示装置等の平面表示装置(Flat Panel Display)に使用されるガラス基板、あるいは、他の表示装置に使用されるガラス基板であってもよい。また、基板9は、光ディスク用基板、磁気ディスク用基板、光磁気ディスク用基板、フォトマスク用基板、セラミック基板および太陽電池用基板等であってもよい。 The substrate 9 handled by the reference image generator, the inspection apparatus 1 and the alignment apparatus 1a described above is not limited to the semiconductor substrate, and is a flat panel display such as a liquid crystal display device or an organic EL (Electro Luminescence) display device. ), Or the glass substrate used for other display devices. Further, the substrate 9 may be an optical disk substrate, a magnetic disk substrate, a magneto-optical disk substrate, a photomask substrate, a ceramic substrate, a solar cell substrate, or the like.

検査装置1およびアライメント装置1aでは、第1コンピュータ3および第2コンピュータ4は、装置本体2の筐体の中に収納されてもよい。 In the inspection device 1 and the alignment device 1a, the first computer 3 and the second computer 4 may be housed in the housing of the device main body 2.

第2コンピュータ4は、検査装置1およびアライメント装置1a以外の装置に含まれてもよい。また、第2コンピュータ4は、参照画像生成装置として単独で使用されてもよい。 The second computer 4 may be included in a device other than the inspection device 1 and the alignment device 1a. Further, the second computer 4 may be used alone as a reference image generator.

上記実施の形態および各変形例における構成は、相互に矛盾しない限り適宜組み合わされてよい。 The above-described embodiment and the configurations in each modification may be appropriately combined as long as they do not conflict with each other.

1 検査装置
1a アライメント装置
4 第2コンピュータ
9 基板
21 撮像部
23 ステージ移動機構
302 検査部
304 アライメント部
401 入力部
402 学習部
403 参照画像生成部
S11〜S14,S21〜S22 ステップ
1 Inspection device 1a Alignment device 4 Second computer 9 Board 21 Imaging unit 23 Stage movement mechanism 302 Inspection unit 304 Alignment unit 401 Input unit 402 Learning unit 403 Reference image generation unit S11 to S14, S21 to S22 Steps

Claims (16)

表面上にパターンを有する基板の製造工程において、前記パターンの画像との比較に使用される参照画像を生成する参照画像生成装置であって、
基板上のパターンの設計データと前記パターンを撮像して得られた学習用画像との組み合わせである学習用データを入力する入力部と、
前記学習用データの集合である学習用データセットを用いたディープラーニングにより、前記パターンの設計データと学習用画像との関係を学習させて学習済みモデルを作成する学習部と、
前記学習済みモデルを利用してパターンの設計データから参照画像を生成する参照画像生成部と、
を備えることを特徴とする参照画像生成装置。
A reference image generator that generates a reference image used for comparison with an image of the pattern in the manufacturing process of a substrate having a pattern on the surface.
An input unit for inputting learning data, which is a combination of the design data of the pattern on the substrate and the learning image obtained by imaging the pattern, and
A learning unit that creates a trained model by learning the relationship between the design data of the pattern and the training image by deep learning using the learning data set which is a set of the training data.
A reference image generator that generates a reference image from pattern design data using the trained model,
A reference image generator comprising.
請求項1に記載の参照画像生成装置であって、
前記学習用データセットは、
一の学習用データと、
前記一の学習用データの設計データと前記一の学習用データの学習用画像の輝度またはコントラストを変更した学習用画像との組み合わせである他の学習用データと、
を含むことを特徴とする参照画像生成装置。
The reference image generator according to claim 1.
The training data set is
One learning data and
Other learning data that is a combination of the design data of the one learning data and the learning image in which the brightness or contrast of the learning image of the one learning data is changed, and
A reference image generator, characterized in that it comprises.
請求項1または2に記載の参照画像生成装置であって、
前記学習用データセットは、
一の学習用データと、
前記一の学習用データの設計データを回転または反転させた設計データと前記一の学習用データの学習用画像を前記設計データと同様に回転または反転させた学習用画像との組み合わせである他の学習用データと、
を含むことを特徴とする参照画像生成装置。
The reference image generator according to claim 1 or 2.
The training data set is
One learning data and
Another combination of the design data obtained by rotating or inverting the design data of the one learning data and the learning image obtained by rotating or inverting the learning image of the one learning data in the same manner as the design data. Training data and
A reference image generator, characterized in that it comprises.
請求項1ないし3のいずれか1つに記載の参照画像生成装置であって、
前記学習用データセットの各学習用データは、前記基板上において前記パターンが設けられているパターン領域の一部である部分領域における前記パターンの設計データと学習用画像との組み合わせであり、
前記パターン領域における前記各学習用データの前記部分領域の位置はランダムに決定されることを特徴とする参照画像生成装置。
The reference image generator according to any one of claims 1 to 3.
Each learning data of the learning data set is a combination of the design data of the pattern and the learning image in the partial region which is a part of the pattern region where the pattern is provided on the substrate.
A reference image generator, characterized in that the position of the partial region of the learning data in the pattern region is randomly determined.
請求項1ないし4のいずれか1つに記載の参照画像生成装置であって、
前記学習用データセットの各学習用データは、前記基板上において前記パターンが設けられているパターン領域の一部である部分領域における前記パターンの設計データと学習用画像との組み合わせであり、
前記パターン領域の各位置は、前記学習用データセットのいずれかの学習用データに対応する前記部分領域に含まれることを特徴とする参照画像生成装置。
The reference image generator according to any one of claims 1 to 4.
Each learning data of the learning data set is a combination of the design data of the pattern and the learning image in the partial region which is a part of the pattern region where the pattern is provided on the substrate.
A reference image generation device, wherein each position of the pattern region is included in the partial region corresponding to any training data of the training data set.
請求項1ないし5のいずれか1つに記載の参照画像生成装置であって、
前記基板上に、前記パターンがそれぞれ設けられている複数のパターン領域が配置されており、
前記学習用データセットは、前記複数のパターン領域のそれぞれにおける前記パターンの設計データと学習用画像との組み合わせである複数の学習用データを含むことを特徴とする参照画像生成装置。
The reference image generator according to any one of claims 1 to 5.
A plurality of pattern regions in which the patterns are provided are arranged on the substrate.
The learning data set is a reference image generation device including a plurality of learning data which is a combination of the design data of the pattern and the learning image in each of the plurality of pattern regions.
請求項1ないし6のいずれか1つに記載の参照画像生成装置であって、
前記学習用データセットは、前記パターンを表面上に有する複数の基板のそれぞれにおける前記パターンの設計データと学習用画像との組み合わせである複数の学習用データを含むことを特徴とする参照画像生成装置。
The reference image generator according to any one of claims 1 to 6.
The learning data set includes a plurality of learning data that is a combination of the design data of the pattern and the learning image on each of the plurality of substrates having the pattern on the surface. ..
表面上にパターンを有する基板を検査する検査装置であって、
基板上のパターンを撮像して被検査画像を取得する撮像部と、
前記被検査画像を請求項1ないし7のいずれか1つに記載の参照画像生成装置により生成された前記パターンの参照画像と比較して、前記基板における欠陥の有無を検査する検査部と、
を備えることを特徴とする検査装置。
An inspection device that inspects a substrate having a pattern on its surface.
An imaging unit that captures a pattern on a substrate and acquires an image to be inspected,
An inspection unit that inspects the presence or absence of defects in the substrate by comparing the image to be inspected with the reference image of the pattern generated by the reference image generator according to any one of claims 1 to 7.
An inspection device comprising.
表面上にパターンを有する基板の位置を調節するアライメント装置であって、
基板上のパターンを撮像して対象画像を取得する撮像部と、
前記対象画像を請求項1ないし7のいずれか1つに記載の参照画像生成装置により生成された前記パターンの参照画像と比較して前記基板の位置を取得するアライメント部と、
前記アライメント部により取得された前記基板の位置に基づいて、前記基板を相対移動して位置を調節する基板移動機構と、
を備えることを特徴とするアライメント装置。
An alignment device that adjusts the position of a substrate that has a pattern on its surface.
An imaging unit that captures a pattern on a substrate and acquires a target image,
An alignment unit for acquiring the position of the substrate by comparing the target image with the reference image of the pattern generated by the reference image generator according to any one of claims 1 to 7.
A substrate moving mechanism that moves the substrate relative to each other to adjust the position based on the position of the substrate acquired by the alignment unit.
An alignment device comprising.
表面上にパターンを有する基板の製造工程において、前記パターンの画像との比較に使用される参照画像を生成する参照画像生成方法であって、
a)基板上のパターンの設計データと前記パターンを撮像して得られた学習用画像との組み合わせである学習用データを入力する工程と、
b)前記学習用データの集合である学習用データセットを用いたディープラーニングにより、前記パターンの設計データと学習用画像との関係を学習させて学習済みモデルを作成する工程と、
c)前記学習済みモデルを利用してパターンの設計データから参照画像を生成する工程と、
を備えることを特徴とする参照画像生成方法。
A reference image generation method for generating a reference image used for comparison with an image of the pattern in the manufacturing process of a substrate having a pattern on the surface.
a) A process of inputting learning data which is a combination of the design data of the pattern on the substrate and the learning image obtained by imaging the pattern, and
b) A step of creating a trained model by learning the relationship between the design data of the pattern and the learning image by deep learning using the learning data set which is a set of the training data.
c) A process of generating a reference image from pattern design data using the trained model, and
A reference image generation method comprising.
請求項10に記載の参照画像生成方法であって、
前記学習用データセットは、
一の学習用データと、
前記一の学習用データの設計データと前記一の学習用データの学習用画像の輝度またはコントラストを変更した学習用画像との組み合わせである他の学習用データと、
を含むことを特徴とする参照画像生成方法。
The reference image generation method according to claim 10.
The training data set is
One learning data and
Other learning data that is a combination of the design data of the one learning data and the learning image in which the brightness or contrast of the learning image of the one learning data is changed, and
A reference image generation method comprising.
請求項10または11に記載の参照画像生成方法であって、
前記学習用データセットは、
一の学習用データと、
前記一の学習用データの設計データを回転または反転させた設計データと前記一の学習用データの学習用画像を前記設計データと同様に回転または反転させた学習用画像との組み合わせである他の学習用データと、
を含むことを特徴とする参照画像生成方法。
The reference image generation method according to claim 10 or 11.
The training data set is
One learning data and
Another combination of the design data obtained by rotating or inverting the design data of the one learning data and the learning image obtained by rotating or inverting the learning image of the one learning data in the same manner as the design data. Training data and
A reference image generation method comprising.
請求項10ないし12のいずれか1つに記載の参照画像生成方法であって、
前記学習用データセットの各学習用データは、前記基板上において前記パターンが設けられているパターン領域の一部である部分領域における前記パターンの設計データと学習用画像との組み合わせであり、
前記パターン領域における前記各学習用データの前記部分領域の位置はランダムに決定されることを特徴とする参照画像生成方法。
The reference image generation method according to any one of claims 10 to 12.
Each learning data of the learning data set is a combination of the design data of the pattern and the learning image in the partial region which is a part of the pattern region where the pattern is provided on the substrate.
A reference image generation method, characterized in that the position of the partial region of each learning data in the pattern region is randomly determined.
請求項10ないし13のいずれか1つに記載の参照画像生成方法であって、
前記学習用データセットの各学習用データは、前記基板上において前記パターンが設けられているパターン領域の一部である部分領域における前記パターンの設計データと学習用画像との組み合わせであり、
前記パターン領域の各位置は、前記学習用データセットのいずれかの学習用データに対応する前記部分領域に含まれることを特徴とする参照画像生成方法。
The reference image generation method according to any one of claims 10 to 13.
Each learning data of the learning data set is a combination of the design data of the pattern and the learning image in the partial region which is a part of the pattern region where the pattern is provided on the substrate.
A reference image generation method, wherein each position of the pattern region is included in the partial region corresponding to any training data of the training data set.
請求項10ないし14のいずれか1つに記載の参照画像生成方法であって、
前記基板上に、前記パターンがそれぞれ設けられている複数のパターン領域が配置されており、
前記学習用データセットは、前記複数のパターン領域のそれぞれにおける前記パターンの設計データと学習用画像との組み合わせである複数の学習用データを含むことを特徴とする参照画像生成方法。
The reference image generation method according to any one of claims 10 to 14.
A plurality of pattern regions in which the patterns are provided are arranged on the substrate.
A reference image generation method, wherein the learning data set includes a plurality of learning data that are a combination of the design data of the pattern and the learning image in each of the plurality of pattern regions.
請求項10ないし15のいずれか1つに記載の参照画像生成方法であって、
前記学習用データセットは、前記パターンを表面上に有する複数の基板のそれぞれにおける前記パターンの設計データと学習用画像との組み合わせである複数の学習用データを含むことを特徴とする参照画像生成方法。
The reference image generation method according to any one of claims 10 to 15.
The learning data set includes a plurality of learning data that are a combination of the design data of the pattern and the learning image on each of the plurality of substrates having the pattern on the surface. ..
JP2019170277A 2019-09-19 2019-09-19 Reference image generation device, inspection device, alignment device, and reference image generation method Active JP7284674B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2019170277A JP7284674B2 (en) 2019-09-19 2019-09-19 Reference image generation device, inspection device, alignment device, and reference image generation method
JP2023082788A JP7445057B2 (en) 2019-09-19 2023-05-19 Learning device, inspection device, alignment device and learning method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019170277A JP7284674B2 (en) 2019-09-19 2019-09-19 Reference image generation device, inspection device, alignment device, and reference image generation method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2023082788A Division JP7445057B2 (en) 2019-09-19 2023-05-19 Learning device, inspection device, alignment device and learning method

Publications (2)

Publication Number Publication Date
JP2021047677A true JP2021047677A (en) 2021-03-25
JP7284674B2 JP7284674B2 (en) 2023-05-31

Family

ID=74876374

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2019170277A Active JP7284674B2 (en) 2019-09-19 2019-09-19 Reference image generation device, inspection device, alignment device, and reference image generation method
JP2023082788A Active JP7445057B2 (en) 2019-09-19 2023-05-19 Learning device, inspection device, alignment device and learning method

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2023082788A Active JP7445057B2 (en) 2019-09-19 2023-05-19 Learning device, inspection device, alignment device and learning method

Country Status (1)

Country Link
JP (2) JP7284674B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023074565A1 (en) * 2021-11-01 2023-05-04 ブラザー工業株式会社 Machine learning model, computer program, and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012002663A (en) * 2010-06-17 2012-01-05 Toshiba Corp Pattern inspection device and pattern inspection method
JP2018060141A (en) * 2016-10-07 2018-04-12 株式会社ニューフレアテクノロジー Reference image confirmation method, mask inspection method and mask inspection device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012002663A (en) * 2010-06-17 2012-01-05 Toshiba Corp Pattern inspection device and pattern inspection method
JP2018060141A (en) * 2016-10-07 2018-04-12 株式会社ニューフレアテクノロジー Reference image confirmation method, mask inspection method and mask inspection device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023074565A1 (en) * 2021-11-01 2023-05-04 ブラザー工業株式会社 Machine learning model, computer program, and method

Also Published As

Publication number Publication date
JP2023109897A (en) 2023-08-08
JP7284674B2 (en) 2023-05-31
JP7445057B2 (en) 2024-03-06

Similar Documents

Publication Publication Date Title
US11017259B2 (en) Defect inspection method, defect inspection device and defect inspection system
JP5078583B2 (en) Macro inspection device and macro inspection method
JP2015232549A (en) Inspection method, template board, and focus offset method
JP5399205B2 (en) Inspection device for inspection object and position correction device for electronic substrate
JP2007102153A (en) Image correcting apparatus, pattern inspection apparatus, image correcting method, and reticle
JP2015143656A (en) Inspection apparatus and inspection method
JP7445057B2 (en) Learning device, inspection device, alignment device and learning method
JPH07260701A (en) Recognition method of area of inspection
JP2007192652A (en) Pattern inspection device and method, and inspection object sample
JP2011149736A (en) Appearance inspection apparatus and appearance inspection method
CN109581824B (en) Method and system for calibrating light uniformity of direct-writing type photoetching machine
CN109804731B (en) Substrate inspection apparatus and substrate inspection method using the same
JP3806125B2 (en) Defect inspection apparatus and defect inspection method
US20070053583A1 (en) Image correcting apparatus, pattern inspection apparatus, and image correcting method, and reticle
JP2014178536A (en) Drawing data generation method, drawing method, drawing data generation apparatus, and drawing apparatus
JP2009002669A (en) Visual inspection device
JP2006269624A (en) Method for accelerating alignment of optical appearance inspection apparatus, and pattern inspection apparatus using same
JP2012039096A (en) Device and method for determining presence/absence of component
KR102529354B1 (en) Learning apparatus, inspection apparatus, learning method and inspection method
JP7069436B2 (en) Image quality learning device, image quality judgment device, and image reading device
JP2009192358A (en) Defect inspection device
KR102399373B1 (en) Representative color determination method, inspecting apparatus, inspecting method and program
JP2008046012A (en) Defect detector and defect detection method
JP2009079915A (en) Method and device for measuring micro-dimension
JP2008014650A (en) Surface defect inspection apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220617

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230418

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230424

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230519

R150 Certificate of patent or registration of utility model

Ref document number: 7284674

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150