JPH08185438A - Cad device for pattern image - Google Patents

Cad device for pattern image

Info

Publication number
JPH08185438A
JPH08185438A JP6338328A JP33832894A JPH08185438A JP H08185438 A JPH08185438 A JP H08185438A JP 6338328 A JP6338328 A JP 6338328A JP 33832894 A JP33832894 A JP 33832894A JP H08185438 A JPH08185438 A JP H08185438A
Authority
JP
Japan
Prior art keywords
data
run length
image
cad
vector
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
JP6338328A
Other languages
Japanese (ja)
Other versions
JP3606336B2 (en
Inventor
Toshio Motegi
敏雄 茂出木
Akira Sato
佐藤  明
Akira Takakura
章 高倉
Teruaki Iinuma
輝明 飯沼
Masataka Yamaji
山地  正高
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing 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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP33832894A priority Critical patent/JP3606336B2/en
Publication of JPH08185438A publication Critical patent/JPH08185438A/en
Application granted granted Critical
Publication of JP3606336B2 publication Critical patent/JP3606336B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE: To generate raster data to be freely enlarged/reduced on a CAD with a less data amount in comparison with a run length vector. CONSTITUTION: The raster data of an object are converted into the run length vector described by both the coordinates of a start point and an end point for each scan line by raster/vector conversion and when the first run length vector is overlapped with the second run length vector following this first run length vector, a first trapezoidal form with both the vectors as upper and lower bottoms is generated. Concerning the run length vectors after the third run length vector, the new trapezoidal forms are successively generated as well by repeating the similar operation within an allowable range. Then, CAD data are formed by parallelly moving the respective upper and lower bottoms of the final trapezoid to the outside just by the dimension corresponding to the 1/2 picture elements of the raster data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、パターン画像用CAD
装置、特に精密なエッチング製品を画像計測する際に適
用して好適な、パターン画像用CAD装置に関する。
FIELD OF THE INVENTION The present invention relates to a pattern image CAD.
The present invention relates to a CAD device for pattern images, which is suitable for application in image measurement of a precision etching product.

【0002】[0002]

【従来の技術】エッチング製品としては、搭載するIC
(集積回路)チップと電気的に接続するために用いるリ
ードフレームがある。
2. Description of the Related Art ICs to be mounted as etching products
There is a lead frame used to electrically connect to the (integrated circuit) chip.

【0003】図27は、一方の面から見た1チップ分の
リードフレームの一例を示したもので、中心にはチップ
(図示せず)を取り付けるためのダイパッド(アイラン
ド)10が位置し、該ダイパッド10は、外枠12にタ
ブ吊りバー14を介して支持されており、その周囲には
インナリード16が先端をダイパッド10に近接させて
配置されていると共に、該インナリード16に連続する
アウタリード18がダムバー20等を介して上記外枠1
2に支持されている。又、上記インナリード16には、
該リード16の変形を防止するためにプラスチックから
なる固定用テープ22が貼り付けられている。なお、図
中破線はモールドラインである。
FIG. 27 shows an example of a lead frame for one chip as viewed from one side. A die pad (island) 10 for mounting a chip (not shown) is located at the center of the lead frame. The die pad 10 is supported by an outer frame 12 via a tab suspension bar 14, an inner lead 16 is arranged around the die pad 10 with its tip close to the die pad 10, and an outer lead continuous with the inner lead 16 is provided. 18 is the above-mentioned outer frame 1 via the dam bar 20 etc.
Supported by 2. Also, the inner lead 16 has
A fixing tape 22 made of plastic is attached to prevent deformation of the leads 16. The broken line in the figure is the mold line.

【0004】上記リードフレームを例に、エッチング製
品の設計から製品完成までの工程の概略を示すと、図2
8のようになる。
Taking the lead frame as an example, an outline of the steps from etching product design to product completion is shown in FIG.
It becomes like 8.

【0005】リードフレームのパターン設計はCAD
(Computer Aided Design )を用いて行われ、まず
CAD1の製品パターン設計工程で目標とする製品の寸
法と同一の(A)製品寸法CADデータを作成し、次い
でCAD2のエッチング補正工程で、実際のエッチング
工程でレジストパターンの幅より余分に削られてしまう
サイドエッチング分の補正代を、上記(A)製品寸法C
ADデータに加算してレジストパターンの原型となる
(B)加工寸法CADデータを作成し、次のパターン製
造工程でこの加工寸法CADデータをレーザプロッタで
描画し、描画したパターンをガラス乾板に焼付けて
(C)ガラス原版パターンを作成する。この原版パター
ンは、リードフレームの表裏両面についてそれぞれ作成
される。
CAD of lead frame pattern design
(Computer Aided Design), first, CAD data of the same product (A) as the target product size is created in the product pattern design process of CAD1, and then the actual etching is performed in the etching correction process of CAD2. The correction allowance for the side etching, which is excessively removed from the width of the resist pattern in the process, is defined as (A) product dimension C above.
(B) Machining dimension CAD data that is the prototype of the resist pattern is created by adding it to the AD data, and this machining dimension CAD data is drawn by a laser plotter in the next pattern manufacturing process, and the drawn pattern is printed on a glass plate. (C) A glass original plate pattern is created. This original plate pattern is created for both the front and back surfaces of the lead frame.

【0006】その後、上記ガラス原版をマスクとして用
いて、リードフレームの基材である銅板等の金属材料に
コーティングされているレジストを露光(焼付け)し、
現像し、バーニング(硬化)して(D)製版パターン
(レジストパターン)を作成し、次いで露出部分の金属
材料を除去するエッチングを行い、その後付着している
レジストを剥離することにより、最終的にリードフレー
ム、即ち(E)製品パターンが得られる。
Then, using the glass original plate as a mask, the resist coated on the metal material such as the copper plate which is the base material of the lead frame is exposed (baked),
By developing and burning (curing) (D) to form a plate-making pattern (resist pattern), etching for removing the metal material in the exposed portion is performed, and then the adhering resist is peeled off. A lead frame, or (E) product pattern is obtained.

【0007】上記リードフレームの製造工程では、
(E)製品パターンは、設計パターンである(A)製品
寸法CADデータと同一になることが望ましい。そのた
めにこの(A)に補正代を加えて設計される(B)加工
寸法CADデータ(これは(C)ガラス原版パターン、
(D)製版パターンと基本的に同一寸法パターンであ
る)と上記(E)との寸法差は大きく、通常数十μmの
差がある。
In the manufacturing process of the lead frame,
The (E) product pattern is preferably the same as the (A) product dimension CAD data which is the design pattern. Therefore, (B) processing dimension CAD data (this is (C) glass original plate pattern, which is designed by adding a correction allowance to this (A),
The size difference between (D) the pattern having the same size as the plate-making pattern) and (E) above is large, and usually has a difference of several tens of μm.

【0008】同様に微細加工される他のエッチング製品
として、カラーテレビ用のシャドウマスクがあるが、こ
れに比較してリードフレームは形状が不規則である上
に、エッチング終了後に行う後工程が複雑であるという
特徴を有している。
Similarly, as another etching product to be microfabricated, there is a shadow mask for a color television. In comparison with this, the lead frame has an irregular shape and the post-process performed after the etching is complicated. It has the feature of being

【0009】又、リードフレームの特徴として、チップ
が取り付けられるアイランド10とワイヤボンディング
されるインナリードの先端との間にギャップ(エッチン
グ除去される空間)があり、そこにエッチング液が入り
易いために、インナリードの先端部のエッチングが進み
易く、先細りになり易い反面、ワイヤボンディングのた
めには十分な先端幅の寸法が要求される。
Further, as a feature of the lead frame, there is a gap (space to be removed by etching) between the island 10 to which the chip is attached and the tip of the inner lead to be wire-bonded, and the etching liquid easily enters there. The etching of the tip portion of the inner lead is likely to proceed and the tip tends to be tapered, but a sufficient tip width is required for wire bonding.

【0010】このように加工が難しいリードフレームを
エッチングする際のマスクとなる(D)の製版パターン
を作成するための(B)加工寸法CADデータは、上述
した如くレジストパターンより余分にサイドエッチング
される寸法を、補正代として(A)の製品寸法CADデ
ータに加算する補正を行って作成される。従来は、上記
エッチング補正に使用する補正代は、経験に基づいて設
定されていた。
As described above, the CAD data (B) for forming the plate-making pattern (D), which serves as a mask for etching a lead frame which is difficult to process, is side-etched in excess of the resist pattern as described above. It is created by performing a correction for adding the size to be added to the product size CAD data of (A) as a correction margin. Conventionally, the correction allowance used for the above-mentioned etching correction has been set based on experience.

【0011】又、実際に作成された製品について、例え
ばインナリード先端部の寸法が、公差(目標値からの許
容範囲)内であることを認証する等のために寸法測定を
行う必要がある。この場合、従来は一部のリードについ
て行う局所的な寸法計測を行うことが多いが、中には全
リードについての要望もある。
Further, it is necessary to measure the dimension of the actually manufactured product, for example, in order to certify that the dimension of the inner lead tip is within the tolerance (allowable range from the target value). In this case, conventionally, local dimension measurement is often performed for some leads, but there is also a demand for all leads.

【0012】ところが、前記のようにエッチングの補正
代を経験に基づいて決定する方法では、過去に経験した
ことのない新しいパターンやピッチの細いファインパタ
ーンについて前記(B)の加工寸法パターンの設計を求
められると、補正代を適切に設定できないため、製品寸
法に不良が発生してしまい、その都度補正し直して再度
エッチング加工しなければならないことが起こり易くな
る。特に、難しいファインパターンのリードフレームは
何度も試行錯誤を繰り返すことになるため、製品納期の
大幅な遅延に結び付くことになる。
However, in the method of determining the etching compensation amount based on experience as described above, the design of the processing size pattern of (B) is performed for a new pattern or a fine pattern having a fine pitch which has not been experienced in the past. If required, the correction allowance cannot be set appropriately, so that a defect occurs in the product dimension, and it is likely that it is necessary to correct again and etch again each time. In particular, a lead frame having a difficult fine pattern is subjected to trial and error many times, resulting in a large delay in delivery of the product.

【0013】又、従来は一般に局所的な寸法計測しか行
っていなかったため、不良箇所の見落としが生じ易かっ
たが、全てのリード(全ピン)について計測を行おうと
すると手間がかかり過ぎるため、結果として製品の公差
判定と認証に大幅な時間と労力がかかることになる。
Further, in the past, in general, only local dimension measurement was performed, so that it was easy to overlook a defective portion, but it took too much time to measure all leads (all pins), and as a result, It takes a lot of time and effort to determine the tolerances and certify the products.

【0014】上述した不都合を解決する方法としては、
少なくとも設計パターンと製品パターンとを厳密に重ね
合せて照合することが極めて重要である。しかし、従来
は、設計パターンと製品パターンとを正確に重ね合せる
技術は存在せず、両者の照合の要請がある場合には、例
えば拡大投影機でフィルムに描画したCAD図面の設計
パターンと現物とを重ね合せてスクリーン上に投映して
照合していた。
As a method for solving the above-mentioned inconvenience,
It is extremely important that at least the design pattern and the product pattern are closely overlapped and collated. However, conventionally, there is no technique for accurately superimposing a design pattern and a product pattern, and when there is a request for collation between the two, for example, the design pattern of a CAD drawing drawn on a film by a magnifying projector and the actual product. Were overlaid and projected on the screen for verification.

【0015】そこで、光学顕微鏡を用いて、リードフレ
ーム等の2次元精密パターンを分割画像としてラスタデ
ータで入力し、それをラスタ・ベクタ変換してCADデ
ータにし、CAD装置で他のCADデータ、例えば加工
寸法パターンと照合することが考えられる。
Therefore, an optical microscope is used to input a two-dimensional precision pattern such as a lead frame as a divided image in raster data, which is raster-vector converted into CAD data, which is then converted into another CAD data by a CAD device, for example. It is conceivable to collate with the processing dimension pattern.

【0016】従来のラスタ・ベクタ変換としては、
(1)ラスタ画像から中心線を抽出してベクタデータに
変換する芯線抽出方法、(2)ラスタ画像の白と黒のエ
ッジを抽出してベクタデータに変換するアウトライン
(輪郭)抽出方法、(3)ラスタ画像の白又は黒の領域
の長さに当るランレングスベクタに変換するランレング
スベクタ法が知られている。
As a conventional raster vector conversion,
(1) A core line extraction method of extracting a center line from a raster image and converting it into vector data, (2) An outline (contour) extraction method of extracting white and black edges of the raster image and converting it into vector data, (3 ) A run length vector method is known in which a raster length vector corresponding to the length of a white or black area of a raster image is converted.

【0017】[0017]

【発明が解決しようとする課題】しかしながら、(1)
の芯線抽出方法は、中心線しか抽出されないので巾のあ
るエリアパターンには適用できず、(2)のアウトライ
ン抽出方法は、パターンの内側と外側、リードフレーム
の場合であれば穴部分と金属部分のエリアを区別して表
現できず、分割入力する場合には特にループの輪郭抽出
が困難であるため、ラスタデータに変換したときに塗り
潰しができない。
[Problems to be Solved by the Invention] However, (1)
The core line extraction method in (2) cannot be applied to a wide area pattern because only the center line is extracted. The outline extraction method in (2) is for the inside and outside of the pattern, and in the case of a lead frame, the hole part and the metal part. Area cannot be distinguished and expressed, and it is particularly difficult to extract the contour of the loop when inputting in division, and therefore it is impossible to fill when converting to raster data.

【0018】又、(3)のランレングスベクタ法は、ラ
スタデータを圧縮する方法であるが、白又は黒のラン長
で表現するランレングスデータからラン長の始点・終点
の座標で表現するベクタデータに変換することから、デ
ータ量は膨大となり、CADデータとして利用するには
データ量が大き過ぎる。
The run length vector method (3) is a method of compressing raster data, but a vector expressed by coordinates of start and end points of run length from run length data expressed by white or black run length. Since it is converted into data, the amount of data becomes enormous, and the amount of data is too large to be used as CAD data.

【0019】本発明は、前記従来の問題点を解決するべ
くなされたもので、ランレングスベクタに比較して少な
いデータ量で、拡大縮小自在なラスタデータを生成でき
るパターン画像用CAD装置を提供することを課題とす
る。
The present invention has been made to solve the above-mentioned conventional problems, and provides a CAD device for a pattern image that can generate raster data that can be freely scaled up and down with a smaller data amount than a run-length vector. This is an issue.

【0020】[0020]

【課題を解決するための手段】本発明は、画像入力した
ラスタデータをベクタデータに変換するラクス・ベクス
変換手段を備えたパターン画像用CAD装置において、
ベクタデータに変換する対象を白又は黒のラスタデータ
から選択する手段を備え、ラスタ・ベクタ変換手段が、
選択された対象のラスタデータを、スキャンライン毎の
始点と終点の両座標で記述されるランレングスベクタに
変換する機能と、第1ランレングスベクタと、これに隣
接する第2ランレングスベクタが重なっている場合に両
者を上底、下底とする第1台形形状を生成する機能と、
第2ランレングスベクタと、これに隣接する第3ランレ
ングスベクタが重なっており、その始点と終点が上記台
形の両側各辺の延長線に対して許容範囲内にある場合
に、第1と第3の両ランレングスベクタをそれぞれ上
底、下底とする新たな第2台形形状を生成する機能と、
第4ランレングスベクタ以降も、第1台形の両側各辺の
延長線を基準として許容範囲内に存在することを条件
に、同様の操作を繰り返して順次新たな台形形状を生成
する機能と、上記条件を充たさない場合には、直前の操
作で生成した最終台形の上底と下底のそれぞれをラスタ
データの1/2画素に相当する寸法だけ外側に平行移動
してCADデータとする機能と、単独のランレングスベ
クタが残る場合には、それを直交方向にそれぞれラスタ
データの1/2画素に相当する寸法だけ外側に平行移動
して長方形とし、それをCADデータとする機能と、を
有する構成とすることにより、前記課題を解決したもの
である。
SUMMARY OF THE INVENTION The present invention provides a pattern image CAD apparatus provided with a Lux / Bex conversion unit for converting image-input raster data into vector data.
The raster / vector conversion means is provided with means for selecting an object to be converted into vector data from white or black raster data.
The function to convert the selected target raster data into a run length vector described by both the start point and end point coordinates of each scan line, the first run length vector, and the adjacent second run length vector are overlapped. And the function to generate a first trapezoidal shape with the upper and lower bases of both,
If the second run length vector and the third run length vector adjacent to it overlap, and the start point and end point are within the allowable range with respect to the extension lines on both sides of the trapezoid, the first run length vector and the first run length vector A function to generate a new second trapezoidal shape with the upper and lower bottoms of both run length vectors of 3 respectively,
Even after the fourth run length vector, the same operation is repeated to successively generate new trapezoidal shapes on condition that the extension lines on both sides of the first trapezoid are within the allowable range, If the condition is not satisfied, a function of parallelly translating the upper and lower bases of the final trapezoid generated in the immediately preceding operation outward by a dimension corresponding to ½ pixel of the raster data to form CAD data, In the case where a single run length vector remains, it has a function of translating it in the orthogonal direction outward by an amount corresponding to 1/2 pixel of the raster data to form a rectangle and using it as CAD data. By solving the above, the above problems are solved.

【0021】本発明は、又、上記パターン画像用CAD
装置において、最終的に生成された台形形状のCADデ
ータを塗り潰して表示し、任意のスケールでラスタデー
タを生成する機能を有するようにしたものである。
The present invention also provides a CAD for the above pattern image.
In the apparatus, the finally generated CAD data having a trapezoidal shape is filled and displayed, and a function of generating raster data at an arbitrary scale is provided.

【0022】[0022]

【作用】本発明においては、対象とする画像入力された
白又は黒のラスタデータを指定すると共に、指定した方
の画像のラスタデータを、スキャンライン毎のランレン
グスベクタに変換し、X軸又はY軸に平行な、隣接する
ランレングスベクタ同士の間で許容される範囲内で、最
初のランレングスベクタと最終のランレングスベクタの
間で台形を形成し、その台形の座標を用いてCADデー
タを表現するようにしたので、少ないデータ量で、拡大
・縮小が自在なラスタデータを生成できる。
In the present invention, the white or black raster data input as the target image is designated, and the raster data of the designated image is converted into a run length vector for each scan line to obtain the X-axis or A trapezoid is formed between the first run-length vector and the last run-length vector within the allowable range between adjacent run-length vectors that are parallel to the Y-axis, and CAD data is created using the trapezoidal coordinates. Since it is expressed, it is possible to generate raster data that can be freely scaled up and down with a small amount of data.

【0023】その結果、前記アウトライン抽出法による
ベクタ表現では困難であった、図形同士の差分演算等も
上記ラスタデータで容易に行えるようになった。従っ
て、精密なエッチング製品のパターン形状を容易に画像
計測することが可能となる。
As a result, it has become possible to easily perform the difference calculation between figures, which is difficult with the vector expression by the outline extraction method, using the raster data. Therefore, it becomes possible to easily measure the image of the precise pattern shape of the etching product.

【0024】又、本発明においては、最終的に生成され
た台形形状のCADデータを塗り潰して表示し、任意の
スケールでラスタデータを生成する機能を有する場合に
は、表示されたパターン画像を視覚的に容易に認識する
ことができる。
Further, according to the present invention, when the finally generated CAD data of the trapezoidal shape is filled and displayed and the raster data is generated at an arbitrary scale, the displayed pattern image is visually recognized. Can be easily recognized.

【0025】[0025]

【実施例】以下、図面を参照して、本発明の実施例を詳
細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0026】図1は、本発明に係る一実施例のCAD装
置が含まれるCADシステムの概略構成を示すブロック
図である。
FIG. 1 is a block diagram showing a schematic configuration of a CAD system including a CAD device according to an embodiment of the present invention.

【0027】上記CADシステムは、サンプル(現物)
を装着するサンプル装着装置30と、該装着装置30に
セットされたサンプルを拡大する光学顕微鏡32と、該
顕微鏡32による観察像を受光してカラーのビデオ信号
に変換するCCDカメラ34と、該CCDカメラ34か
らのカラービデオ信号を処理する画像処理装置36と、
該画像処理装置36で処理した画像データをカラー表示
できるTVモニタ38と、通常の作図機能の他に上記画
像処理装置36から入力される画像データからCADデ
ータを生成させるためのラスタ・ベクタ変換機能や、2
以上のCADデータの重ね合せや、それらの相互の位置
移動(シフト)、寸法測定等の機能を有する本実施例の
CAD装置を構成するエンジニアリングワークステーシ
ョン(EWS)40とを備えている。
The CAD system is a sample (actual product)
A sample mounting device 30 for mounting a sample, an optical microscope 32 for enlarging a sample set in the mounting device 30, a CCD camera 34 for receiving an image observed by the microscope 32 and converting it into a color video signal, and the CCD An image processing device 36 for processing a color video signal from the camera 34,
A TV monitor 38 capable of color-displaying image data processed by the image processing device 36, and a raster / vector conversion function for generating CAD data from image data input from the image processing device 36 in addition to a normal drawing function. Or 2
An engineering workstation (EWS) 40, which constitutes the CAD apparatus of this embodiment, has the functions of superposing the CAD data described above, moving (shifting) their positions relative to each other, and measuring dimensions.

【0028】又、上記CADシステムでは、サンプル装
着装置30が、サンプル装着部(図示せず)を有する手
動の回転ステージ42と、サンプルを平面方向に移動さ
せるXYステージ44と、サンプルを垂直方向に移動さ
せるZステージ46で構成され、XYステージ44及び
Zステージ46は、ワークステーション40からインタ
フェイスRS232Cを介して指令を受けて作動するX
Yステージコントローラ48及びオートフォーカスコン
トローラ50によりそれぞれ駆動制御されるようになっ
ている。又、上記XYステージ44にはレーザ位置検出
器が取り付けられ、そのXY方向の位置計測が同じくワ
ークステーション40からの指令により作動するレーザ
スケールカウンタ52により行われ、その実測値がワー
クステーション40にフィードバックされ、XYステー
ジコントローラ48によるXYステージ44の位置計測
値の修正が行われるようになっている。
Further, in the above CAD system, the sample mounting apparatus 30 includes a manual rotary stage 42 having a sample mounting portion (not shown), an XY stage 44 for moving the sample in the plane direction, and a sample in the vertical direction. The XY stage 44 and the Z stage 46 are configured to move, and the XY stage 44 and the Z stage 46 operate by receiving a command from the workstation 40 via the interface RS232C.
The Y stage controller 48 and the auto focus controller 50 are driven and controlled respectively. Further, a laser position detector is attached to the XY stage 44, and the position measurement in the XY directions is performed by a laser scale counter 52 which is also operated by a command from the workstation 40, and the measured value is fed back to the workstation 40. Then, the position measurement value of the XY stage 44 is corrected by the XY stage controller 48.

【0029】又、上記オートフォーカスコントローラ5
0には、CCDカメラ34からオートフォーカスに使用
する画像信号が直に入力されるようになっており、顕微
鏡32を介して取り込まれた画像を別に設けてあるオー
トフォーカス用モニタ(図示せず)で直接見ることがで
きるようになっていると共に、該オートフォーカスコン
トローラ50からTVモニタ38にもモノクロ(B/
W)のビデオ信号が入力されるようになっている。
Further, the autofocus controller 5 described above
An image signal used for autofocus is directly input to CCD 0 from the CCD camera 34, and an autofocus monitor (not shown) separately provided with an image captured through the microscope 32. It is possible to directly view the image on the TV monitor 38 from the autofocus controller 50 by using the monochrome (B /
The video signal of W) is input.

【0030】図2は、上記装着装置30、光学顕微鏡3
2及びCCDカメラ34の外観を示した斜示図であり、
前記図1に示したXYステージ44は、Xステージ44
AとYステージ44Bからなり、それぞれ前記ステージ
コントローラ48に接続されているX駆動モータ54
A、Y駆動モータ54BによりX方向、Y方向に移動可
能になされ、Yステージ44Bの上にはサンプルを装着
する回転ステージ42が取り付けられ、手動で回転でき
るようになっている。
FIG. 2 shows the mounting device 30 and the optical microscope 3.
2 is a perspective view showing the appearance of the CCD camera 34 and the CCD camera 34,
The XY stage 44 shown in FIG.
An X drive motor 54 which is composed of an A stage and a Y stage 44B and is connected to the stage controller 48.
The A and Y drive motors 54B are movable in the X and Y directions, and the rotary stage 42 for mounting the sample is mounted on the Y stage 44B so that it can be manually rotated.

【0031】又、Xステージ44A及びYステージ44
Bの側面には、それぞれ微細回折格子からなるスケール
パターン56A、56Bが付設され、且つ上記X駆動モ
ータ54A、Y駆動モータ54Bで移動された両ステー
ジ44A、44Bの位置をレーザ光をスケールパターン
56A、56Bに照射して検出するためのX位置検出器
58Aと、Y位置検出器58Bとが設置され、これら両
検出器58A、58Bは前記レーザスケールカウンタ5
2に接続されている。
In addition, the X stage 44A and the Y stage 44
Scale patterns 56A and 56B each made up of a fine diffraction grating are attached to the side surface of B, and laser light is used to scale the positions of both stages 44A and 44B moved by the X drive motor 54A and Y drive motor 54B. , 56B are provided with an X position detector 58A and a Y position detector 58B for irradiating and detecting the laser scale counter 5B.
Connected to 2.

【0032】又、上記Xステージ44Aの下には、前記
Zステージ46が配置され、該Zステージ46はZ駆動
モータ54Cにより垂直方向に進退動可能になってお
り、該Z駆動モータ54Cは前記オートフォーカスコン
トローラ50に接続され、該コントローラ50からの制
御信号に基づいて光学顕微鏡32の対物レンズ32Aと
サンプルとの間の距離を増減して、該顕微鏡32に対す
るオートフォーカスが行われるようになっている。
Further, the Z stage 46 is arranged below the X stage 44A, and the Z stage 46 can be moved back and forth in the vertical direction by a Z drive motor 54C. It is connected to the auto focus controller 50, and the distance between the objective lens 32A of the optical microscope 32 and the sample is increased or decreased based on a control signal from the controller 50 to perform auto focus on the microscope 32. There is.

【0033】又、上記Zステージ46の下には支持台を
兼ねた透過光源ユニット60が配置され、該ユニット6
0には顕微鏡32に対して下から投光する透過光源(図
示せず)が内蔵され、且つその側壁には透過光源スイッ
チ60Aと光量調整ボリューム60Bとが付設されてい
る。
Below the Z stage 46, a transmissive light source unit 60 which also serves as a support is arranged.
0 has a built-in transmissive light source (not shown) that projects light from below onto the microscope 32, and a transmissive light source switch 60A and a light amount adjusting volume 60B are attached to its side wall.

【0034】更に、前記顕微鏡32には落射光源ユニッ
ト62が取り付けられ、該ユニット62には落射光源
(図示せず)が内蔵され、該ユニット62の側壁には落
射光源スイッチ62Aと光量調整ボリューム62Bとが
付設されている。
Further, an epi-illumination light source unit 62 is attached to the microscope 32, an epi-illumination light source (not shown) is built in the unit 62, and an epi-illumination light source switch 62A and a light quantity adjusting volume 62B are provided on a side wall of the unit 62. And are attached.

【0035】従って、サンプルの顕微鏡画像をCCDカ
メラ34で取り込む際には、透過及び落射の少なくとも
一方の光源を使用することが可能になっている。
Therefore, when capturing the microscopic image of the sample with the CCD camera 34, it is possible to use at least one of the light source of transmission and epi-illumination.

【0036】次に、図3を用いて前記画像処理装置36
の構成の特徴と処理機能について説明する。なお、この
処理装置36としては、画像入力・処理・2値化の処理
機能を有する、例えば、セイコー電子工業(株)製のS
V−2110(商品名)を利用することができる。
Next, referring to FIG. 3, the image processing device 36 will be described.
The features of the configuration and the processing function will be described. The processing device 36 has an image input / processing / binarization processing function, for example, S manufactured by Seiko Denshi Kogyo Co., Ltd.
V-2110 (trade name) can be used.

【0037】この画像処理装置36は、CCDカメラ3
4から入力されるR(赤)、G(緑)、B(青)の各信
号を1画面毎に記憶することができる、それぞれ四角形
で囲んで示すR画像、G画像、B画像用の3つのフレー
ムメモリと、Y(輝度)信号を記憶するモノクロのB/
W画像用の1つのフレームメモリと、前記R、G、B信
号を3×3マトリックス演算部で処理して得られるH
(色相)、S(彩度)、V(輝度)のそれぞれの画像デ
ータを記憶するH、S、Vの各画像用の3つのフレーム
メモリと、R信号とB信号を画像算術演算部で処理して
得た両者の差分画像データを記憶するR−B差分画像用
フレームメモリの、合計8個のフレームメモリを備えて
いる。
The image processing device 36 is the CCD camera 3
Each of the R (red), G (green), and B (blue) signals input from 4 can be stored for each screen, and 3 for R image, G image, and B image each surrounded by a rectangle are stored. Monochrome memory for storing one frame memory and Y (luminance) signal
One frame memory for W image and H obtained by processing the R, G, B signals by a 3 × 3 matrix operation unit
(Hue), S (saturation), and V (luminance) image data are stored in the three frame memories for each image of H, S, and V, and the R signal and B signal are processed by the image arithmetic operation unit. A total of eight frame memories of the RB difference image frame memory that stores the difference image data of both obtained as described above are provided.

【0038】このように異なる色信号を採用する理由
は、図4の表に示すように、現物試料(現物パターン)
によって使用されている材料や要求される画像の種類が
異なることがあるため、使用に適した光源の種類や最適
な色信号が異なることにある。
The reason why such different color signals are used is as shown in the table of FIG. 4 for the actual sample (actual pattern).
Depending on the material used and the type of image required, the type of light source suitable for use and the optimum color signal may differ.

【0039】即ち、原版パターンは、リードフレームの
表用と裏用の2種類あり、いずれもガラス乾板(ガラス
板に不透明なフィルムでパターンが形成されている)で
あるため、白黒の透過像が良好なコントラストで得られ
ることから、B/W画像のフレームメモリが最適プレー
ンである。
That is, there are two types of original patterns, one for the front side and the other for the back side of the lead frame, both of which are glass dry plates (the pattern is formed of an opaque film on the glass plate), so that a black and white transmission image is obtained. The frame memory of the B / W image is the optimum plane because it can be obtained with good contrast.

【0040】又、製版パターンは、リードフレームの表
面及び裏面に形成されるレジストパターンであるため、
金属材料及びレジストの種類によって異なると共に、落
射光源を使用して反射像を受光する必要がある。
Since the plate-making pattern is a resist pattern formed on the front and back surfaces of the lead frame,
It depends on the type of metal material and the type of resist, and it is necessary to use a reflected light source to receive the reflected image.

【0041】レジストとしてカゼインを使用している場
合には、現像後の加熱硬化の段階でレジストが赤系統の
色になっているため、材料が銀白色の42アロイでは最
適プレーンとしてB画像のフレームメモリを使用できる
が、銅(Cu)材ではそれ自体が赤系統の色であるた
め、B画像ではその差が明瞭でないため、V画像のフレ
ームメモリが最適のプレーンとなる。
When casein is used as the resist, since the resist has a reddish color at the stage of heat-curing after development, the 42-alloy material of silver-white is used as an optimum plane for the B image frame. Although a memory can be used, the copper (Cu) material itself has a reddish color, and the difference is not clear in the B image. Therefore, the frame memory of the V image is the optimum plane.

【0042】又、レジストとしてブルー系のドライフィ
ルムを使用する場合は、42アロイではR画像が最適で
あるが、銅材ではR−B差分画像のフレームメモリが最
適プレーンとなる。
When a blue-based dry film is used as the resist, the R image is optimal for 42 alloy, but the frame memory for the RB difference image is optimal for copper material.

【0043】エッチングが終了し、レジスト膜を除去し
た後の製品パターンの場合は、貫通形状の透過像と表裏
両面それぞれの反射像とを受光することができ、透過像
は前述した如く黒白のB/W画像が、反射像の場合はH
(色相)画像が最適プレーンとなる。
In the case of the product pattern after the etching is completed and the resist film is removed, the penetrating transmission image and the reflection images on both the front and back surfaces can be received, and the transmission image is black and white B as described above. / W when the image is a reflection image, H
(Hue) The image becomes the optimum plane.

【0044】又、製品パターンの中でも、前記図27に
示したようにインナリードにポリイミド樹脂からなる固
定用テープ22(表にはTPと記す)が貼り付けられて
いる場合には、テープは赤系統で透明度が高いため、テ
ープが画像入力されない完全透過像を得るためには、B
/W画像が最適プレーンとなる。但し、後述する2値化
の閾値を適切に設定する必要がある。
Further, among the product patterns, when the fixing tape 22 (denoted as TP in the table) made of polyimide resin is attached to the inner lead as shown in FIG. 27, the tape is red. Since the transparency is high in the system, in order to obtain a completely transparent image where the image is not input on the tape, B
The / W image becomes the optimum plane. However, it is necessary to appropriately set a threshold value for binarization described later.

【0045】逆に、テープを含めた透過像を撮り込むた
めには、テープに対しても不透過のブルーが好適である
ため、B画像が最適プレーンとなる。
On the contrary, in order to capture a transmission image including a tape, blue which is opaque to the tape is suitable, so that the B image becomes an optimum plane.

【0046】更に、テープ部分のみを撮り込みたい場合
は、落射光源を用いる反射像に対してH画像が最適プレ
ーンとなる。
Furthermore, when only the tape portion is desired to be photographed, the H image becomes the optimum plane for the reflection image using the epi-illumination light source.

【0047】上述した如く、画像として撮り込む対象に
応じて最適な使用プレーンを選択すると、前記8個のフ
レームメモリの中から対応する画像信号が2値化処理部
に入力される。この2値化処理部で入力された画像デー
タについて2値化処理を行う。その際に設定する閾値
は、例えば0から255の階調値の中から任意に設定す
ることができる。
As described above, when the optimum plane to be used is selected according to the object to be captured as an image, the corresponding image signal is input to the binarization processing unit from the eight frame memories. Binarization processing is performed on the image data input by the binarization processing unit. The threshold value set at that time can be arbitrarily set from the gradation values of 0 to 255, for example.

【0048】上記2値化処理部で2値化された画像デー
タに対して、現物パターンの表面の微細な粗さ等が原因
で生じる画像上の黒スポット又は白スポットを除去する
ためのモフォロジー処理を行う。但し、透過像の場合は
このようなスポットは発生しないので行う必要はない。
Morphology processing for removing black spots or white spots on the image caused by the fine roughness of the surface of the actual pattern, etc. on the image data binarized by the binarization processing section. I do. However, in the case of a transmission image, such a spot does not occur, so that it is not necessary to perform it.

【0049】除去する対象のスポットが白又は黒のいず
れであるかを設定し、所定のモフォロジー回数を設定し
て、その回数の画像の膨脹・収縮処理を行ってスポット
の除去を行う。
Whether the spot to be removed is white or black is set, a predetermined number of morphology is set, and the image is expanded / contracted for that number of times to remove the spot.

【0050】次いで、上記処理を行って得られた2値画
像は、CAD装置として機能するワークステーション4
0に入力され、ここで該2値画像をラスタ・ベクタ変換
部で処理してCADデータに変換する。このワークステ
ーション40としては、通常のCADソフトと現物照合
CADソフト(例えばコンピュータビジョン社のCAD
ソフトMedusa (商品名))で起動される、例えばサン
マイクロシステムズ社のSparc Station10(商品
名)を利用することができる。
Next, the binary image obtained by performing the above processing is the workstation 4 which functions as a CAD device.
0, where the binary image is processed by the raster / vector conversion unit and converted into CAD data. As the workstation 40, normal CAD software and actual matching CAD software (for example, CAD manufactured by Computer Vision Co., Ltd.)
It is possible to use, for example, Sparc Station 10 (trade name) of Sun Microsystems, which is activated by software Medusa (trade name).

【0051】上記ラスタ・ベクタ変換部には、一般的な
アウトラインのCADデータに変換する方式と、後に詳
細に説明する、白又は黒の領域の画像データを台形エリ
アのCADデータに変換する方式とがある。このラスタ
・ベクタ変換部で信号の変換処理を行う場合には、直線
近似の精度を決めるためのRV頂点間引係数を設定す
る。この係数が小さい程アウトラインの場合は、線のギ
ザギザが少なく、台形エリアの場合は抽出される台形を
細かくすることができる。
The raster / vector conversion section has a method of converting to general outline CAD data and a method of converting image data of a white or black area into CAD data of a trapezoidal area, which will be described in detail later. There is. When the signal conversion processing is performed by this raster / vector conversion unit, the RV vertex thinning coefficient for determining the accuracy of linear approximation is set. The smaller this coefficient is, the less jagged the line is in the case of the outline, and the finer the trapezoid can be extracted in the case of the trapezoid area.

【0052】又、上記2つの変換方式のいずれかを選定
すると共に、台形エリア変換方式を選定する場合には、
白又は黒のいずれかを選定し、台形エリア処理の対象領
域を決めてやる必要がある。
When selecting either of the above two conversion methods and the trapezoidal area conversion method,
It is necessary to select either white or black and determine the target area for trapezoidal area processing.

【0053】上記台形エリアCADデータ変換方式によ
る処理の手順を概念的に示すと、図5のようになる。
FIG. 5 conceptually shows the procedure of processing by the trapezoidal area CAD data conversion method.

【0054】図5(A)は、カメラ入力したラスタデー
タによるパターン(斜線部)であり、同図(B)は、上
記パターンについてスキャン毎のランレングスベクタデ
ータ(矢印)に変換した状態を示し、同図(C)は上記
ランレングスベクタデータに対して本発明による台形エ
リアCADデータ変換を適用して台形近似した状態を示
している。なお、図5(C)に示してある台形毎の対角
線は、台形の輪郭だけでなく、内部を含むエリアとして
の図形情報を示している。
FIG. 5A shows a pattern (hatched portion) of the raster data input by the camera, and FIG. 5B shows a state in which the above pattern is converted into run length vector data (arrow) for each scan. FIG. 3C shows a state in which the trapezoidal area CAD data conversion according to the present invention is applied to the above run length vector data and a trapezoidal approximation is performed. The diagonal line for each trapezoid shown in FIG. 5C indicates not only the outline of the trapezoid but also graphic information as an area including the inside.

【0055】又、図5(D)は、参考のために示した従
来のアウトライン抽出法を同図(A)のパターンに適用
した結果である。
FIG. 5D shows the result of applying the conventional outline extraction method shown for reference to the pattern shown in FIG.

【0056】本実施例におけるワークステーション40
内のラスタ・ベクタ変換部が有する台形近似処理機能
を、図6〜図12を用いて説明する。
Workstation 40 in this embodiment
The trapezoidal approximation processing function of the raster / vector conversion unit in FIG. 6 will be described with reference to FIGS.

【0057】今、入力した画像データ(ラスタデータ)
からベクタデータに変換する対象の白又は黒のパターン
を選択し、そのパターンのラスタデータを、スキャンラ
イン毎の始点と終点の座標で記述されるランレングスベ
クタに変換した結果を図6とする。この図6では、説明
を簡単にするために、(1)〜(4)の4本のランレン
グスベクタが示してある。
Image data (raster data) input now
A white or black pattern to be converted into vector data from is selected, and the raster data of the pattern is converted into a run length vector described by the coordinates of the start point and the end point of each scan line, and the result is shown in FIG. In FIG. 6, four run length vectors (1) to (4) are shown to simplify the description.

【0058】図6に、破線で示すように、(1)の第1
ランレングスベクタと、これに隣接する第2ランレング
スベクタ(2)が重なっている場合に、図7に示すよう
に、両者を上底、下底とする第1台形形状(1A、1
B、2A、2B)を生成する。
As shown by the broken line in FIG. 6, the first of (1)
When the run length vector and the second run length vector (2) adjacent to the run length vector overlap each other, as shown in FIG. 7, the first trapezoidal shape (1A, 1A, 1A, 1
B, 2A, 2B).

【0059】次いで、図8に示すように上記第2ランレ
ングスベクタ(2)と、これに隣接する第3ランレング
スベクタ(3)が重なっており、その始点と終点が上記
台形の両側各辺の延長線(破線)に対して許容値(両矢
印長さで示す)の範囲内にある場合に、図9に示すよう
に、第1と第3の両ランレングスベクタ(1)、(3)
をそれぞれ上底、下底とする新たな第2台形形状(1
A、1B、3A、3B)を生成する。
Then, as shown in FIG. 8, the second run length vector (2) and the third run length vector (3) adjacent to the second run length vector (3) are overlapped, and the start point and the end point are both sides of the trapezoid. When the value is within the range of the permissible value (indicated by the double-headed arrow length) with respect to the extension line (broken line) of the first and third run length vectors (1), (3), as shown in FIG. )
The new second trapezoidal shape (1
A, 1B, 3A, 3B).

【0060】次いで、図10に示すように、第4ランレ
ングスベクタ(4)も、第1台形の両側各辺の延長線を
基準として許容範囲内に存在することを条件に、同様に
操作を繰り返して順次新たな台形形状を生成するが、こ
の条件を充たさない場合(図10はこれに当る)には、
図11に上向きと下向きの矢印で示すように、最終台形
の上底と下底のそれぞれをラスタデータの1/2画素に
相当する寸法だけ外側に、即ち上底は上方に、下底は下
方に平行移動して、それを図12に示すようにCADデ
ータとする。
Then, as shown in FIG. 10, the fourth run-length vector (4) is also operated in the same manner, provided that it exists within the allowable range based on the extension lines of both sides of the first trapezoid. A new trapezoidal shape is repeatedly generated in sequence, but when this condition is not satisfied (this corresponds to FIG. 10),
As shown by the upward and downward arrows in FIG. 11, each of the upper and lower bases of the final trapezoid is outside by a size corresponding to 1/2 pixel of the raster data, that is, the upper base is upward and the lower base is downward. To the CAD data as shown in FIG.

【0061】このように台形形状を新たに発生させる際
の基準を第1台形の両側各辺の延長線とすることによ
り、一定の許容範囲内でパターンを台形に近似すること
が可能となる。
By thus setting the reference for newly generating a trapezoidal shape as an extension line of each side of the first trapezoidal shape, it becomes possible to approximate the pattern to a trapezoidal shape within a certain allowable range.

【0062】又、上記処理で孤立して残った単独ランレ
ングスベクタ(4)を、これも図11に矢印で示したよ
うに、直交する両方向にそれぞれラスタデータの1/2
画素に相当する寸法だけ外側に平行移動して、長方形
(台形)とし、それをCADデータとする。従って、上
記パターンの台形近似のCADデータは、4頂点座標
(X1 ,X2 ,X3 ,X4 ,Y1 ,Y2 )と(X3 ,X
4 ,X5 ,X6 ,Y2 ,Y3 )の2つの台形データ(各
2頂点がY座標共通)として送られる。
In addition, the single run length vector (4) isolated and left in the above process is divided by ½ of the raster data in both orthogonal directions, as also indicated by the arrows in FIG.
A rectangle (trapezoid) is parallel-moved to the outside by a dimension corresponding to a pixel, which is used as CAD data. Therefore, the CAD data of the trapezoidal approximation of the above pattern has four vertex coordinates (X1, X2, X3, X4, Y1, Y2) and (X3, X
It is sent as two trapezoidal data (4, X5, X6, Y2, Y3) (each two vertices have a common Y coordinate).

【0063】このように実施例では、X軸に平行な直線
を共有する台形の集合でパターンを形成することができ
るようになっている。
As described above, in the embodiment, the pattern can be formed by a set of trapezoids sharing a straight line parallel to the X axis.

【0064】又、本実施例では、上述のようにして台形
形状の内側に画素が含まれるCADデータとしたので、
作成した最終台形からなるパターンを任意の色で塗り潰
して画面に表示し、任意のスケールでラスタデータに変
換できるようになっている。
Further, in this embodiment, the CAD data in which the pixels are included inside the trapezoidal shape as described above is used.
The created pattern of the final trapezoid can be filled in with an arbitrary color, displayed on the screen, and converted into raster data at an arbitrary scale.

【0065】次に、本実施例の作用を、図13のフロー
チャート等を参照しながら説明する。
Next, the operation of this embodiment will be described with reference to the flowchart of FIG.

【0066】まず、具体的な操作を開始する前に、シス
テムの機能の基本的な設定と調整とを行っておく。特
に、顕微鏡32のレンズやカメラ34を交換したときに
は、カメラ34とXYステージ44の直交調整を行う必
要がある。これはカメラマウント部を手動で回転させて
行う。この直交調整は、図14にモニタ画面を模式的に
示すように、サンプル装着部にある、×印で示す微小な
マーク(微小なゴミでもよい)を基準点とし、これがモ
ニタ画面から外れない範囲で左右のX方向に水平移動さ
せた場合に、モニタ上の基準線(水平線)から上記基準
点がズレなければOKとすることで行うことができる。
First, before starting a specific operation, basic setting and adjustment of system functions are performed. In particular, when the lens of the microscope 32 or the camera 34 is replaced, it is necessary to perform orthogonal adjustment of the camera 34 and the XY stage 44. This is done by manually rotating the camera mount. In this orthogonal adjustment, as shown schematically in the monitor screen in FIG. 14, a minute mark (may be a minute dust) indicated by an X mark on the sample mounting portion is used as a reference point, and this range does not deviate from the monitor screen. If the reference point does not deviate from the reference line (horizontal line) on the monitor when it is horizontally moved in the left and right X directions, it can be performed by setting OK.

【0067】又、画像計測機能を与えるために、1画素
当りの寸法と、画面送りピッチを測定しておく必要があ
る。これは、1画面サイズ(本実施例では、512×4
80画素)に対応するステージ送り値を測定することに
あたり、具体的には、モニタ38の画面を示した図15
に示すように、×印で示す基準点を、画面上のX方向及
びY方向のいずれにも1/4、3/4の位置にある基準
線上の4ポイントに動かし、そのときのX方向、Y方向
のステージ移動距離を、前記レーザスケールカウンタ5
2によるカウント値を用いることにより高精度に測定す
ることができる。この場合、1画素当りの寸法はXs/
256、Ys/240となり、X方向、Y方向それぞれ
の画面送りピッチは2Xa、2Ysとして計算される。
なお、上記寸法、ピッチの測定には、レーザスケールカ
ウンタを使用せずに、XYステージの駆動モータ(ステ
ップモータ)による送りピッチ、例えば1μmを使用し
てもよい。
Further, in order to provide the image measuring function, it is necessary to measure the size per pixel and the screen feed pitch in advance. This is one screen size (512 × 4 in this embodiment).
In measuring the stage feed value corresponding to 80 pixels), specifically, FIG.
As shown in, the reference points indicated by X are moved to four points on the reference line at positions of ¼ and 3/4 in both the X direction and the Y direction on the screen, and the X direction at that time, The stage moving distance in the Y direction is determined by the laser scale counter 5
It is possible to measure with high accuracy by using the count value of 2. In this case, the size per pixel is Xs /
256, Ys / 240, and the screen feed pitches in the X and Y directions are calculated as 2Xa and 2Ys.
For the measurement of the above dimensions and pitch, the feeding pitch by the XY stage drive motor (step motor), for example, 1 μm may be used without using the laser scale counter.

【0068】以上の準備操作が完了していることを前提
に、ステップS1でサンプルのセッティングを行う。具
体的には、前記図2に示したように、回転ステージ42
の所定位置にサンプル(リードフレーム)を装着し、オ
ペレータがモニタ38に表示されているカメラ34から
撮り込まれたサンプルの画像を見ながら、上記回転ステ
ージ42を操作して、サンプルの直交調整を行う。
On the premise that the above preparatory operation has been completed, the sample is set in step S1. Specifically, as shown in FIG.
The sample (lead frame) is attached to a predetermined position of the sample, and the operator operates the rotary stage 42 while viewing the image of the sample taken from the camera 34 displayed on the monitor 38 to adjust the sample orthogonally. To do.

【0069】上述したXYステージ44との直交調整が
既に終了しているCCDカメラ34により入力されたサ
ンプルの水平エッジを表示したモニタ画面が、図16の
ようであるとすれば、XYステージ44をX軸方向に大
きく動かした場合でも水平基準線から上記エッジがズレ
ないような位置に、回転ステージ42を手動で回転さ
せ、サンプルとXYステージ44との間の直交調整を行
う。
If the monitor screen displaying the horizontal edge of the sample input by the CCD camera 34 whose orthogonal adjustment with the XY stage 44 has already been completed is as shown in FIG. The rotary stage 42 is manually rotated to a position such that the edge does not deviate from the horizontal reference line even when the sample is largely moved in the X-axis direction, and orthogonal adjustment between the sample and the XY stage 44 is performed.

【0070】次いで、ステップS2で、使用光源の選択
と、その光量調整を行う。即ち、スイッチ60A又は6
2Aのいずれかをオンにすることにより、透過光源又は
落射光源を選択する。希望する光源を選択し、オートフ
ォーカス装置のモニタを見て輝度信号が規定範囲に入る
ように60B又は62Bの光量ボリュームにより、光量
の調整を行う。なお、場合によっては上記両光源を同時
に使用することもできる。
Then, in step S2, a light source to be used is selected and its light amount is adjusted. That is, the switch 60A or 6
A transmission light source or an epi-illumination light source is selected by turning on any of 2A. The desired light source is selected, and the light amount is adjusted by the light amount volume of 60B or 62B so that the brightness signal falls within the specified range by looking at the monitor of the autofocus device. In some cases, both light sources can be used at the same time.

【0071】次のステップS3からS6までは、例えば
図17〜図19に模式的に示したような、モニタ画面に
表示されるメニュー画面(それぞれ同一画面にウィンド
ウ表示することもできる)でメニューを選択することに
より実行される。
In the next steps S3 to S6, the menu is displayed on the menu screen (each can be displayed on the same screen as the window) displayed on the monitor screen as schematically shown in FIGS. 17 to 19, for example. It is executed by selecting.

【0072】まず、ステップS3で、画像として取り込
まれたアイランド(ダイパッド)の中心指定を行う。
First, in step S3, the center of an island (die pad) captured as an image is designated.

【0073】本実施例では、図20にアイランド10を
拡大して示すと共に、その右側にモニタ画面を示すよう
に、該アイランド10の上端の点PT 、及び下端の点P
B をそれぞれカメラ入力画面のY軸方向中心に一致させ
て入力することにより、それぞれのY座標値YT 、YB
が算出され、左側端の点PL 及び右側端の点PR をそれ
ぞれ画面のX方向中心に一致させて入力することによ
り、それぞれX座標値XL 、XR が算出されるようにな
っている。従って、これら4箇所の白黒(黒の部分は斜
線で示した)の境界にあたるエッジ位置の座標値から、
位置合せ原点となるアイランド中心の座標(X、Y)が
次式で算出される。
In this embodiment, the island 10 is shown in an enlarged manner in FIG. 20, and a point P T at the upper end and a point P at the lower end of the island 10 are shown as shown on the monitor screen on the right side.
By inputting B so as to match the center of the camera input screen in the Y-axis direction, the respective Y coordinate values Y T , Y B
Is calculated, and by inputting the point P L on the left end and the point P R on the right end at the center of the screen in the X direction, the X coordinate values X L and X R are calculated. There is. Therefore, from the coordinate values of the edge positions corresponding to the boundaries of these four black and white areas (the black parts are indicated by diagonal lines),
The coordinates (X, Y) of the center of the island, which is the alignment origin, are calculated by the following equation.

【0074】 X=(XR +XL )/2, Y=(YT +YB )/2X = (X R + X L ) / 2, Y = (Y T + Y B ) / 2

【0075】なお、CADシステムにエッジ検出機能が
ある場合には、上述のように左右上下の白黒の境界のエ
ッジ部を、画面上のX座標、Y座標の中心に一致させな
くとも、同様の中心指定を行うことができる。このよう
に入力画像のアイランドの中心を特定することにより、
該中心をCADデータの設計パターンのアイランドの中
心に一致させる重ね合せ表示を正確に行うことが可能と
なる。
If the CAD system has an edge detection function, the same as the above, even if the edge portions of the black and white boundaries on the left, right, top and bottom are not aligned with the centers of the X and Y coordinates on the screen, You can specify the center. By specifying the center of the island of the input image in this way,
It is possible to accurately perform the overlay display in which the center coincides with the center of the island of the design pattern of CAD data.

【0076】次のステップS4では、サンプルの撮り込
みエリアを指定する。
At the next step S4, a sampled area is designated.

【0077】1チップ分の、例えば前記図27に示した
リードフレームを撮り込む場合であれば、XYステージ
44を移動させながら、カメラ34から入力され、モニ
タ上に映し出されているリードフレームの左右上下の端
部を順次画面内に移動させて、例えばカーソルでそれぞ
れの点(矩形領域を規定する4端点)を指定することに
より、撮り込みエリアを指定することができる。その
際、部分的な領域(例えばインナリードのボンディング
エリア)を含む複数のエリアを指定することもできる。
In the case of photographing the lead frame for one chip, for example, shown in FIG. 27, right and left of the lead frame input from the camera 34 and displayed on the monitor while moving the XY stage 44. The shooting area can be designated by sequentially moving the upper and lower end portions into the screen and designating respective points (four endpoints defining the rectangular area) with the cursor, for example. At that time, a plurality of areas including a partial area (for example, an inner lead bonding area) can be designated.

【0078】又、製品設計寸法のCADデータが入力さ
れている場合には、そのCADデータから寸法を読み取
り、その寸法値を使って4端点の座標を、例えば自動設
定できるようにして撮り込みエリアを指定することもで
きる。この場合は、短時間でエリア指定ができると共
に、後に実行するCADデータの設計パターンと画像入
力された現物パターンの重ね合せの際の位置合せが容易
になる。
When CAD data of the product design dimension is input, the dimension is read from the CAD data and the coordinates of the four endpoints can be automatically set, for example, by using the dimension value, and the photographing area is set. Can also be specified. In this case, the area can be designated in a short time, and the CAD pattern design pattern to be executed later can be easily aligned with the actual pattern input as the image.

【0079】以上のステップS3、S4で指定された画
像上のアイランドの中心と撮り込みエリアに関する情報
は、設定ファイルXYに格納される。
Information about the center of the island and the shooting area on the image designated in steps S3 and S4 is stored in the setting file XY.

【0080】次いで、ステップS5でオートフォーカス
(AF)の条件設定を行う。ここでは、モードを選択
し、リミット値を設定する。このモードには、平坦なサ
ンプルに適用するZ軸方向に1つの基準点(位置)を決
め、その点から上下にZステージ46を微小移動させな
がら合焦させる2WAY方式と、凹凸の大きい表面に適
用する、合焦点を越える所定の下方位置までZステージ
46を下降させた状態から、該ステージ46を徐々に上
昇させてサンプルをレンズに近付けて合焦させる1WA
Y方式と、対物レンズ(本実施例では5種類)の中から
の使用レンズの選択とがある。
Then, in step S5, conditions for autofocus (AF) are set. Here, the mode is selected and the limit value is set. In this mode, one reference point (position) is determined in the Z-axis direction applied to a flat sample, and the 2WAY method in which the Z stage 46 is finely moved vertically to focus on the reference point, and a surface with large unevenness is used. From the state in which the Z stage 46 is lowered to a predetermined lower position beyond the focusing point to be applied, the stage 46 is gradually raised to bring the sample closer to the lens to focus the image 1WA
There are a Y system and selection of a lens to be used from objective lenses (five types in this embodiment).

【0081】リミットは、オートフォーカス時にレンズ
とサンプルとの衝突を防止するために設定する接近限界
距離である。なお、ここでは、モードとして凹凸の激し
い製品サンプルでは1WAYを、激しくない場合は2W
AYを選択する、レンズとして分解能1μm/1画素で
取り込むために20倍対物レンズを用い、そのためのフ
ォーカスパラメータ設定ファイルを使用する、リミット
値として原点より2mm、フォーカス作動距離の最大値
をリミットの1/2にする、等の通常デフォルト値を設
定する。このステップで設定した条件は、設定ファイル
AFに格納される。
The limit is an approach limit distance set to prevent the lens from colliding with the sample during autofocus. In addition, here, 1 WAY is used for the product sample with severe unevenness as the mode, and 2 W when it is not.
Select AY, use a 20x objective lens as a lens to capture with a resolution of 1 μm / 1 pixel, and use a focus parameter setting file for that. 2 mm from the origin as the limit value, the maximum value of the focus working distance is 1 limit. Set a normal default value such as "/ 2". The conditions set in this step are stored in the setting file AF.

【0082】AFモードとして2WAY方式を選択する
場合、試料のエッジ部分が画面に入るようにし、オート
フォーカスを起動するか、あるいはマニュアルでZステ
ージ46を移動するかして、フォーカス原点(基準点の
Z座標値)も設定する。オートフォーカスは、上述の如
くこの位置を基準にZステージ46を上下微小移動して
実行される。
When the 2WAY method is selected as the AF mode, the edge portion of the sample is brought into the screen and autofocus is activated or the Z stage 46 is manually moved to determine the focus origin (reference point Z coordinate value) is also set. The autofocus is executed by moving the Z stage 46 up and down slightly with reference to this position as described above.

【0083】次のステップS6では、画像処理の条件を
設定する。その内容は、使用する色が異なる前記図3に
示した8種類の画像フレームメモリの中から使用する入
力プレーンの選択と、2値画像を作成する際の2値化閾
値の設定、白又は黒の不要な点を画像データから除くた
めに行うモフォロジー条件及びラスタ・ベクタ(RV)
変換条件である。このステップで設定した条件は、設定
ファイルSVに格納される。
In the next step S6, conditions for image processing are set. The contents of the selection are the selection of the input plane to be used from the eight types of image frame memories shown in FIG. 3 that use different colors, the setting of the binarization threshold value when creating a binary image, white or black. Condition and raster vector (RV) to remove unnecessary points of image from image data
It is a conversion condition. The conditions set in this step are stored in the setting file SV.

【0084】以上の操作で各設定ファイルへの条件の格
納が終了した後、ラスタ・ベクタ変換方式(アウトライ
ン(輪郭)モード又は台形エリアモード)の選択を行
う。
After the conditions have been stored in the respective setting files by the above operation, the raster / vector conversion method (outline (contour) mode or trapezoidal area mode) is selected.

【0085】輪郭モードを選択するステップS7、台形
モードを選択するステップS8のバッチ処理がワークス
テーション40内で自動的に実行され、画像入力された
撮り込み領域全体のラスタデータがベクタデータに変換
されて作成されるCADデータは、出力ファイルLFX
に格納されると共に、ステップS9で各種CADシステ
ムのフォーマットへデータ変換され、種々の照合処理が
行われる。この照合(重ね合せ)処理はワークステーシ
ョンの画面上のメニューを選択することによって行われ
る。
The batch processing of step S7 for selecting the contour mode and step S8 for selecting the trapezoidal mode is automatically executed in the workstation 40, and the raster data of the entire image-captured photographing area is converted into vector data. CAD data created by the output file LFX
The data is converted into various CAD system formats in step S9, and various collation processes are performed. This collation (overlapping) process is performed by selecting a menu on the screen of the workstation.

【0086】次に、CAD装置(ワークステーション4
0)の内部で実行される上記ステップS7、S8のバッ
チ処理を、図21のフローチャートに従って説明する。
Next, a CAD device (workstation 4
The batch processing of steps S7 and S8 executed inside 0) will be described with reference to the flowchart of FIG.

【0087】まず、ステップS11で、前述した各設定
ファイルXY、AF、SV等から前記操作で格納したデ
ータ等の読み込みと共に、撮り込みエリアのセル分割の
計算を行う。
First, in step S11, the data etc. stored by the above operation are read from the above-mentioned setting files XY, AF, SV, etc., and the cell division of the photographing area is calculated.

【0088】ここで読み込まれる各設定ファイル内容を
以下に例示する。
The contents of each setting file read here are exemplified below.

【0089】ファイルXY ・アイランド4辺の位置(アイランド中心) ・入力指定エリア数 ・各矩形エリアの座標値 ファイルSV ・入力カラープレーン番号 ・2値化閾値 ・モフォロジー方向と回数(+:白〜黒、−:黒〜白) ・RV間引係数 ファイルAF(通常固定) ・セル単位実行か、固定フォーカス選択 ・AFモード(レンズ5種類に各2モード(1又は2W
AY)) ・ソフトリミット値(Zステージ上限、下限) レンズファイル(固定) ・レンズ別視野寸法 ・512×480画素の実寸法(非矩形歪みを含む)
File XY-Position of four sides of island (center of island) -Number of input designated areas-Coordinate value of each rectangular area File SV-Input color plane number-Binarization threshold value-Morphology direction and number of times (+: white to black) ,-: Black to white) -RV thinning coefficient file AF (normally fixed) -cell unit execution or fixed focus selection-AF mode (2 modes for each of 5 lens types (1 or 2W)
AY))-Soft limit values (upper and lower limits of Z stage) Lens file (fixed) -Field size by lens-Actual size of 512 x 480 pixels (including non-rectangular distortion)

【0090】なお、ファイルSVの内容でモフォロジ−
方向の+は白い画像から黒点を除く場合、−は黒い画像
から白点を除く場合を意味する。又、ファイルAFの内
容で、「セル単位実行」は1回の画像撮り込み毎にオー
トフォーカスを実行することで、例えばリードフレーム
のように微小凹凸があるサンプルに適用し、固定フォー
カスはガラス原版のように平坦度が高いものに適用す
る。ソフトリミット値は、前記ステップ5で設定したリ
ミット値と同様で、オペレータがサンプルとレンズが衝
突しないように設定するZステージの移動上限値や、必
要以上に下がらないようにするための下限値である。
The morphology of the contents of the file SV
In the direction +, the black point is removed from the white image, and-is the white point removed from the black image. Also, in the contents of the file AF, "execute in cell unit" is applied to a sample having minute unevenness such as a lead frame by executing autofocus every time an image is captured, and fixed focus is applied to a glass original plate. Applies to those with high flatness. The soft limit value is the same as the limit value set in step 5, and is the upper limit value of the Z stage movement set by the operator to prevent the sample from colliding with the lens, or the lower limit value to prevent it from lowering more than necessary. is there.

【0091】又、レンズファイルには、上記5種類の対
物レンズについて、それぞれの視野寸法、本実施例に採
用されているCCDカメラ34の全画素に対応する実寸
法(レンズによる歪み分を補正した4点の寸法)とが格
納されている。
In the lens file, the field size of each of the above five types of objective lenses, the actual size corresponding to all the pixels of the CCD camera 34 used in this embodiment (the distortion due to the lens is corrected). 4 dimensions) and are stored.

【0092】同じくステップS11で実行する前記セル
分割の計算は、例えば1チップ分のリードフレームが4
0mm×40mmであり、CCDカメラ34の512×
480画素による視野寸法が496μm×464μmで
あるとして説明すると、図22に示すように、リードフ
レームを80×86の単位(セル)に分割することを意
味し、セルはXYステージ44をX方向、Y方向に順次
移動させてリードフレーム全体を画像入力する際の入力
単位であり、又、次のセルに送る際の送りピッチ(オフ
セット量)でもある。但し、実際には、各撮り込み画像
の境界を鮮明にするために、通常はオフセット量をセル
寸法の90%程度に設定する。
Similarly, the calculation of the cell division, which is executed in step S11, is performed by, for example, four lead frames for one chip.
0 mm x 40 mm, 512 x CCD camera 34
If it is assumed that the visual field size of 480 pixels is 496 μm × 464 μm, it means that the lead frame is divided into 80 × 86 units (cells) as shown in FIG. It is an input unit when sequentially moving in the Y direction to input an image of the entire lead frame, and also a feed pitch (offset amount) when feeding to the next cell. However, in practice, the offset amount is usually set to about 90% of the cell size in order to make the boundary of each captured image clear.

【0093】ステップS11のセル分割数の計算が終わ
ると、ステップS12で、ワークステーションからの指
令によりXYステージコントローラ48がXYステージ
44を移動させて、光学顕微鏡32の視野を最初の撮り
込み位置に設定する。その際、レーザスケールカウンタ
52で実際に計測した実測位置(X、Y座標値にあた
る)をワークステーション40にフィードバックする。
When the calculation of the number of cell divisions in step S11 is completed, in step S12, the XY stage controller 48 moves the XY stage 44 in response to a command from the workstation to bring the field of view of the optical microscope 32 to the first photographing position. Set. At that time, the actually measured position (corresponding to the X and Y coordinate values) actually measured by the laser scale counter 52 is fed back to the workstation 40.

【0094】次いで、ステップS13で、上記カメラ設
定位置でワークステーション40からの指令に基づいて
オートフォーカスコントローラ50によりオートフォー
カスが実行されると共に、該コントローラ50で合焦位
置のZ座標値を読み込み、それをワークステーション4
0に送信する。
Next, in step S13, autofocus is performed by the autofocus controller 50 at the camera setting position based on a command from the workstation 40, and the controller 50 reads the Z coordinate value of the in-focus position. Workstation 4
Send to 0.

【0095】その後、ステップS14で、ワークステー
ション40から画像処理装置36(SV)へ指令がなさ
れ、画像処理装置36が起動して、CCDカメラ34か
ら該処理装置36へ画像フレームの入力が行われ、入力
されたラスタ画像に対する2値化と、不要な点を画像か
ら除くモフォロジー処理が行われて2値画像を生成す
る。
Then, in step S14, the workstation 40 issues an instruction to the image processing device 36 (SV), the image processing device 36 is activated, and an image frame is input from the CCD camera 34 to the processing device 36. , A binarized image is generated by performing binarization on the input raster image and morphological processing for removing unnecessary points from the image.

【0096】次いで、ステップS15で、ラスタ・ベク
タ変換が実行される。まず、ステップS14で生成した
上記2値画像のデータが画像処理装置36からワークス
テーション40に読み込まれ、該データをRV変換部で
ベクタデータに変換し、それを再び画像処理装置36に
送信して、TVモニタ38に表示させると共に、ベクタ
データをCADデータに変換し、それをファイルに格納
すると同時に、XYステージを送った1回のオフセット
量やスケーリングを演算して次のセルに移動し、前記ス
テップS12に戻って該セルに対してステップS15ま
での処理が実行され、この処理が繰り返される。
Next, in step S15, raster / vector conversion is executed. First, the binary image data generated in step S14 is read from the image processing device 36 into the workstation 40, converted into vector data by the RV conversion section, and transmitted to the image processing device 36 again. , While displaying it on the TV monitor 38, converting the vector data into CAD data and storing it in a file, at the same time calculating the offset amount and scaling once sent from the XY stage and moving to the next cell, Returning to step S12, the process up to step S15 is executed for the cell, and this process is repeated.

【0097】なお、図21に破線で示したように、上記
ステップS14が終了した時点で、XYステージコント
ローラ48、オートフォーカスコントローラ50に次の
セルへ移動させるためのコマンドを発行し、先準備を行
うことにより、RV変換処理とXYステージ移動と、オ
ートフォーカス処理を並行処理で行うことができるよう
になっている。
As shown by the broken line in FIG. 21, when the above step S14 is completed, a command for moving to the next cell is issued to the XY stage controller 48 and the autofocus controller 50 to prepare for the preparation. By doing so, the RV conversion process, the XY stage movement, and the autofocus process can be performed in parallel.

【0098】以上の画像撮り込みを、例えば前記図22
の全領域について実行することにより、1チップ分のリ
ードフレーム全体をベクタデータでモニタ38上に表示
でき、且つリードフレームのCADデータを生成するこ
とができる。
The above image capturing is performed, for example, with reference to FIG.
By executing the above for all areas, the entire lead frame for one chip can be displayed on the monitor 38 as vector data, and the CAD data of the lead frame can be generated.

【0099】このように作成したCADデータを前記図
13のフローチャートのステップS9で示したように、
各種CADシステムのフォーマットへデータ変換する
と、モニタ38の画面にもともとCADデータとして入
力されている製品設計寸法データや、それに補正代を加
えた加工寸法データを、図形パターンとして表示すると
共に、これらデータに本実施例で画像入力データからC
ADデータに変換したリードフレームの製品パターンを
重ねて表示させることができる。
The CAD data created in this way is converted into the CAD data as shown in step S9 of the flow chart of FIG.
When the data is converted into various CAD system formats, the product design dimension data originally input as CAD data on the screen of the monitor 38 and the machining dimension data in which the correction allowance is added are displayed as a graphic pattern and are also displayed in these data. In the present embodiment, C from the image input data
The product pattern of the lead frame converted into the AD data can be displayed in an overlapping manner.

【0100】なお、前記ステップ15のラスタ・ベクタ
変換で、前述した台形近似処理を実際に行って得られた
データを画面に表示すると図23のようになる。この図
で、大きな矩形は、前記カメラ34により撮り込み単位
のセルを表わし、先端が丸味をおびた細いパターンA
は、製品のインナリードであり、その内側を台形近似し
た結果がX方向(横方向)の線で示されており、その外
側のパターンBはレジストパターン(製版パターン)で
あり、このBの外側領域が同様に台形近似してある。こ
の図で縦横の大きな矩形に対応する線は、画像撮り込み
単位のセルを表わしている。図24は、台形近似により
得られた上記図23のパターン(最終台形の集合)をそ
れぞれ異なる色で塗り潰した状態を示している。
FIG. 23 shows the data obtained by actually performing the trapezoidal approximation process described above in the step 15 of raster / vector conversion on the screen. In this figure, a large rectangle represents a cell of a unit captured by the camera 34, and a thin pattern A having a rounded tip.
Is the inner lead of the product, the result of trapezoidal approximation of the inner side is shown by the line in the X direction (horizontal direction), the pattern B on the outer side is the resist pattern (plate making pattern), and the outer side of this B The regions are likewise trapezoidal. In this figure, the lines corresponding to the large vertical and horizontal rectangles represent cells in image capturing units. FIG. 24 shows a state in which the patterns of FIG. 23 (set of final trapezoids) obtained by the trapezoidal approximation are filled with different colors.

【0101】図25は、1つのリードフレームの画面上
の照合例を示したものであり、外側の線画Aが加工寸法
パターン、その内側のBが補正してAにする前の製品設
計パターン、Cが実際にエッチングして得られた現物の
製品パターン(インナリード)である。この製品パター
ンは、B/W画像のフレームメモリを使用した貫通像で
ある。この図25から、補正代の設定がほぼ適切である
ことが分かる。
FIG. 25 shows an example of collation on the screen of one lead frame. The line drawing A on the outer side is a processing dimension pattern, and the inner line B is a product design pattern before being corrected to A. C is the actual product pattern (inner lead) obtained by actual etching. This product pattern is a through image using a frame memory for B / W images. From this FIG. 25, it can be seen that the correction margin setting is almost appropriate.

【0102】又、図26は、同じくインナリードの先端
部近傍を画面表示したもので、外側の線画Dは表側の反
射像、その内側のEは裏側の反射像をそれぞれ重ね合
せ、異なる色で塗り潰して表示した画像の照合例であ
る。
FIG. 26 also shows a screen display near the tip of the inner lead. The outer line drawing D is a front reflection image and the inner E is a back reflection image. It is an example of collation of an image displayed by being painted out.

【0103】この図から、透過像からは把握できない表
側と裏側のエッチングの程度の差が明瞭に把握すること
ができる。リードフレームのエッチングは、通常、チッ
プが搭載される側の表面を下にして、上下両方向からエ
ッチング液を吹き付けて行う。表面側を下にする理由
は、インナリード先端部の表面にワイヤボンディングの
ために十分な幅を確保する必要があるのに、上の面の方
がエッチングが進み易いことにある。この図26から、
表裏両面にエッチングの違いがあることが、はっきりと
理解することができる。
From this figure, it is possible to clearly understand the difference in the degree of etching on the front side and the back side, which cannot be recognized from the transmission image. The lead frame is usually etched by spraying an etching solution from both upper and lower sides with the surface on which the chip is mounted facing down. The reason for making the surface side down is that it is necessary to secure a sufficient width for wire bonding on the surface of the inner lead tip portion, but etching is easier to proceed on the upper surface. From this FIG. 26,
It can be clearly understood that there are etching differences between the front and back.

【0104】以上詳述した本実施例のCADシステムに
ついて、その基本的な特徴と性能を簡単にまとめると、
次のようになる。
The basic characteristics and performance of the CAD system of this embodiment described in detail above will be briefly summarized as follows.
It looks like this:

【0105】ラスタデータをベクタデータに変換する方
式に、通常のアウトラン近似と新規な台形エリア近似の
2つの方式がある。
There are two methods for converting raster data into vector data, that is, a normal outrun approximation and a novel trapezoidal area approximation.

【0106】フルカラー画像入力処理が可能であるた
め、レジストパターン、製品の表裏別パターンを、相互
に、あるいは設計パターン等と重ね合せて照合すること
が可能になるため、寸法比較や計測が可能となり、エッ
チングの客観的評価が可能となる。独自の自動位置決め
機能を有するため、アイランドのセンターを自動算出す
ることができる。各種市販CADシステム、例えば前記
コンピュータビジョン社のMedusa (商品名)等に対し
てインタフェイスとして機能する。
Since full-color image input processing is possible, it becomes possible to collate the resist pattern and the pattern for the front and back of the product with each other or with the design pattern or the like, so that it is possible to perform dimension comparison and measurement. It is possible to objectively evaluate etching. Since it has its own automatic positioning function, the center of the island can be calculated automatically. It functions as an interface to various commercially available CAD systems such as Medusa (trade name) manufactured by Computer Vision.

【0107】又、測定性能としては、分解能:1μm、
測定精度:1μm保証、視野寸法:496×464μm
(512×480画素)、測定寸法:200mm角(拡
張可能)、測定対象:製品(透過像、表裏別反射像)、
製版(レジスト反射像)、ガラス原版(透過像)を挙げ
ることができる。
As the measurement performance, resolution: 1 μm,
Measurement accuracy: 1μm guaranteed, visual field size: 496 × 464μm
(512 × 480 pixels), measurement size: 200 mm square (expandable), measurement target: product (transmission image, reflection image by front and back),
Plate making (resist reflection image) and glass original plate (transmission image) can be mentioned.

【0108】従って、本実施例のCADシステムは、エ
ッチング補正代の自動算出、製造工程毎の寸法管理、製
品の寸法検査等の品質管理、エッチングシミュレータ
等、研究開発へのデータ提供等の用途に利用できる。
Therefore, the CAD system of the present embodiment is used for automatic calculation of etching compensation, dimensional control for each manufacturing process, quality control such as product dimensional inspection, etching simulator, etc., for providing data to research and development. Available.

【0109】以上詳述した如く、本実施例によれば、画
像入力したラスタデータをベクタデータに変換してCA
Dデータを作成する際に台形エリア近似の方法を採用す
ることにより、ランレングスベクタに比較して少ないデ
ータ量で、拡大縮小自在なラスタデータを生成できる。
又、台形エリア近似で作成したパターンを拡大縮少した
り塗り潰したりできるため、異なるパターンを重ね合せ
表示する場合でも両者を明確に認識できるため両者の差
分を正確に測定することができる。
As described above in detail, according to the present embodiment, the raster data input as an image is converted into vector data and the CA is converted.
By adopting a trapezoidal area approximation method when creating D data, it is possible to generate raster data that can be scaled up and down with a smaller amount of data compared to the run length vector.
Further, since the pattern created by the trapezoidal area approximation can be enlarged or reduced or painted, the two can be clearly recognized even when different patterns are displayed in an overlapping manner, and thus the difference between the two can be accurately measured.

【0110】又、エッチング補正代を客観的データによ
り定量化することが可能となることから、試行錯誤によ
る補正代の入れ直しを減すことが可能となり、結果とし
て納期を短縮することができる。
Further, since the etching compensation amount can be quantified by the objective data, it is possible to reduce the replacement of the compensation amount due to trial and error, and as a result, the delivery time can be shortened.

【0111】又、公差判定をまとめて、しかも自動的に
も行うことが可能となるため、その認証の手間を大幅に
省くことが可能となり、しかも見落としがなくなるた
め、精度を向上することができる。
Further, since the tolerance judgment can be performed collectively and automatically, it is possible to greatly reduce the labor of the authentication, and the oversight can be eliminated, so that the accuracy can be improved. .

【0112】更に、CADパターン、原版パターン、製
版パターン、製品パターンの間の相互比較が可能となる
ため、製造ラインの精度把握や品質保全が工程別に行う
ことが可能となる。
Further, since the CAD pattern, the original pattern, the plate-making pattern, and the product pattern can be compared with each other, the accuracy of the production line can be grasped and the quality can be maintained for each process.

【0113】以上、本発明について具体的に説明した
が、本発明は、前記実施例に示したものに限られるもの
でなく、その要旨を逸脱しない範囲で種々変更可能であ
る。
The present invention has been specifically described above, but the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the invention.

【0114】例えば、サンプルはリードフレームに限定
されるものでなく、例えばカラーテレビ用のシャドウマ
スクでもよい。
For example, the sample is not limited to the lead frame, and may be a shadow mask for a color television, for example.

【0115】[0115]

【発明の効果】請求項1の発明によれば、ランレングス
ベクタに比較して少ないデータ量で、拡大縮小自在なラ
スタデータを生成できる。
According to the first aspect of the present invention, it is possible to generate raster data that can be scaled up and down with a smaller amount of data than the run length vector.

【0116】請求項2の発明によれば、異なるパターン
を重ね合せ表示する場合でも両者を明確に認識できるた
め両者の差分を正確に測定することができる。
According to the second aspect of the invention, even when different patterns are displayed in an overlapping manner, both can be clearly recognized, so that the difference between the two can be accurately measured.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明に係る一実施例のCADシステムの概略
構成を示すブロック図
FIG. 1 is a block diagram showing a schematic configuration of a CAD system according to an embodiment of the present invention.

【図2】CADシステムのサンプル装着装置、顕微鏡、
CCDカメラを示す斜示図
FIG. 2 is a CAD system sample mounting device, a microscope,
Oblique view showing a CCD camera

【図3】CADシステムの画像処理装置が有するフレー
ムメモリと、処理機能を示すブロック図
FIG. 3 is a block diagram showing a frame memory and a processing function of the image processing device of the CAD system.

【図4】サンプル別の最適入力プレーンを求めて示す図
FIG. 4 is a diagram showing an optimum input plane for each sample.

【図5】ラスタ・ベクタ変換部のCADデータ作成機能
を概念的に示す説明図
FIG. 5 is an explanatory diagram conceptually showing the CAD data creation function of the raster / vector conversion unit.

【図6】台形近似方法の手順を示す説明図FIG. 6 is an explanatory diagram showing a procedure of a trapezoidal approximation method.

【図7】台形近似方法の具体的手順を示す他の説明図FIG. 7 is another explanatory diagram showing a specific procedure of the trapezoidal approximation method.

【図8】台形近似方法の具体的手順を示す更に他の説明
FIG. 8 is still another explanatory diagram showing a specific procedure of the trapezoidal approximation method.

【図9】台形近似方法の具体的手順を示す更に他の説明
FIG. 9 is still another explanatory diagram showing the specific procedure of the trapezoidal approximation method.

【図10】台形近似方法の具体的手順を示す更に他の説
明図
FIG. 10 is still another explanatory diagram showing the specific procedure of the trapezoidal approximation method.

【図11】台形近似方法の具体的手順を示す更に他の説
明図
FIG. 11 is still another explanatory diagram showing a specific procedure of the trapezoidal approximation method.

【図12】台形近似方法の具体的手順を示す更に他の説
明図
FIG. 12 is still another explanatory diagram showing a specific procedure of the trapezoidal approximation method.

【図13】実施例の作用を示すフローチャートFIG. 13 is a flowchart showing the operation of the embodiment.

【図14】カメラとXYステージの直交調整時のモニタ
画面を示す説明図
FIG. 14 is an explanatory diagram showing a monitor screen at the time of orthogonal adjustment of the camera and the XY stage.

【図15】画素当りの寸法と画面送りピッチの算出時の
モニタ画面を示す説明図
FIG. 15 is an explanatory diagram showing a monitor screen when a dimension per pixel and a screen feed pitch are calculated.

【図16】サンプルとXYステージの直交調整時のモニ
タ画面を示す説明図
FIG. 16 is an explanatory diagram showing a monitor screen at the time of orthogonal adjustment of the sample and the XY stage.

【図17】CADシステムのメニュー画面を例示する説
明図
FIG. 17 is an explanatory diagram illustrating a CAD system menu screen.

【図18】CADシステムのメニュー画面を例示する他
の説明図
FIG. 18 is another explanatory diagram illustrating the menu screen of the CAD system.

【図19】CADシステムのメニュー画面を例示する更
に他の説明図
FIG. 19 is still another explanatory diagram illustrating the menu screen of the CAD system.

【図20】アイランドの中心指定の方法の一例を示す説
明図
FIG. 20 is an explanatory diagram showing an example of a method of designating the center of an island.

【図21】CAD装置内部で実行されるバッチ処理の手
順を示すフローチャート
FIG. 21 is a flowchart showing the procedure of batch processing executed inside the CAD device.

【図22】セル分割の計算方法を示す説明図FIG. 22 is an explanatory diagram showing a cell division calculation method.

【図23】台形近似した実際の重ね合せ表示パターンの
一例を示す説明図
FIG. 23 is an explanatory diagram showing an example of an actual superimposed display pattern that is trapezoidally approximated.

【図24】上記表示パターンを塗り潰した状態を示す説
明図
FIG. 24 is an explanatory diagram showing a state in which the display pattern is filled.

【図25】複数パターンを重ね合せ表示した画面の一例
を示す説明図
FIG. 25 is an explanatory diagram showing an example of a screen in which a plurality of patterns are displayed in an overlapping manner.

【図26】複数パターンを重ね合せ表示した画面の他の
一例を示す説明図
FIG. 26 is an explanatory diagram showing another example of a screen in which a plurality of patterns are displayed in an overlapping manner.

【図27】リードフレームの一例を示す平面図FIG. 27 is a plan view showing an example of a lead frame.

【図28】リードフレームの製造過程を概念的に示す説
明図
FIG. 28 is an explanatory view conceptually showing the manufacturing process of the lead frame.

【符号の説明】[Explanation of symbols]

30…サンプル装着装置 32…光学顕微鏡 34…CCDカメラ 36…画像処理装置 38…TVモニタ 40…ワークステーション(EWS) 42…回転ステージ 44…XYステージ 44A…Xステージ 44B…Yステージ 46…Zステージ 48…XYステージコントローラ 50…オートフォーカスコントローラ 52…レーザスケールカウンタ 54A…X駆動モータ 54B…Y駆動モータ 54C…Z駆動モータ 56A、56B…スケールパターン 58A…X位置検出器 58B…Y位置検出器 60…透過光源ユニット 60A…透過光源スイッチ 60B…光量調整ボリューム 62…落射光源ユニット 62A…落射光源スイッチ 62B…光量調整ボリューム 30 ... Sample mounting device 32 ... Optical microscope 34 ... CCD camera 36 ... Image processing device 38 ... TV monitor 40 ... Workstation (EWS) 42 ... Rotation stage 44 ... XY stage 44A ... X stage 44B ... Y stage 46 ... Z stage 48 ... XY stage controller 50 ... Auto focus controller 52 ... Laser scale counter 54A ... X drive motor 54B ... Y drive motor 54C ... Z drive motor 56A, 56B ... Scale pattern 58A ... X position detector 58B ... Y position detector 60 ... Transmission Light source unit 60A ... Transmissive light source switch 60B ... Light intensity adjustment volume 62 ... Epi-illumination light source unit 62A ... Epi-illumination light switch 62B ... Light intensity adjustment volume

───────────────────────────────────────────────────── フロントページの続き (72)発明者 飯沼 輝明 東京都新宿区市谷加賀町一丁目1番1号 大日本印刷株式会社内 (72)発明者 山地 正高 東京都新宿区市谷加賀町一丁目1番1号 大日本印刷株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Teruaki Iinuma 1-1-1, Ichigaya-Kagacho, Shinjuku-ku, Tokyo Dai Nippon Printing Co., Ltd. (72) Inventor Masataka Yamaji 1-chome, Ichigaya-Kagacho, Shinjuku-ku, Tokyo No. 1 Dai Nippon Printing Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】画像入力したラスタデータをベクタデータ
に変換するラクス・ベクス変換手段を備えたパターン画
像用CAD装置において、 ベクタデータに変換する対象を白又は黒のラスタデータ
から選択する手段を備え、 ラスタ・ベクタ変換手段が、選択された対象のラスタデ
ータを、スキャンライン毎の始点と終点の両座標で記述
されるランレングスベクタに変換する機能と、 第1ランレングスベクタと、これに隣接する第2ランレ
ングスベクタが重なっている場合に両者を上底、下底と
する第1台形形状を生成する機能と、 第2ランレングスベクタと、これに隣接する第3ランレ
ングスベクタが重なっており、その始点と終点が上記台
形の両側各辺の延長線に対して許容範囲内にある場合
に、第1と第3の両ランレングスベクタをそれぞれ上
底、下底とする新たな第2台形形状を生成する機能と、 第4ランレングスベクタ以降も、第1台形の両側各辺の
延長線を基準として許容範囲内に存在することを条件
に、同様の操作を繰り返して順次新たな台形形状を生成
する機能と、 上記条件を充たさない場合には、直前の操作で生成した
最終台形の上底と下底のそれぞれをラスタデータの1/
2画素に相当する寸法だけ外側に平行移動してCADデ
ータとする機能と、 単独のランレングスベクタが残る場合には、それを直交
方向にそれぞれラスタデータの1/2画素に相当する寸
法だけ外側に平行移動して長方形とし、それをCADデ
ータとする機能と、を有していることを特徴とするパタ
ーン画像用CAD装置。
1. A pattern image CAD apparatus having a Lux / Bex conversion means for converting image-inputted raster data into vector data, comprising means for selecting an object to be converted into vector data from white or black raster data. A function of the raster vector conversion means for converting the selected target raster data into a run length vector described by both the start point and end point coordinates of each scan line, the first run length vector, and the adjacent run length vector When the second run length vector overlaps, the function of generating the first trapezoidal shape having the upper base and the lower base as the two, and the second run length vector and the adjacent third run length vector overlap each other. If the start point and the end point are within the allowable range for the extension lines on both sides of the trapezoid, the first and third run length vectors are The function to generate a new second trapezoidal shape with the upper and lower bases, respectively, and that it exists within the allowable range even after the fourth run length vector based on the extension lines of both sides of the first trapezoid. A function to generate a new trapezoidal shape sequentially by repeating the same operation under the conditions, and if the above conditions are not satisfied, the upper and lower bases of the final trapezoid generated by the previous operation are set as 1 /
A function to make CAD data by parallel translation to the outside by a dimension equivalent to 2 pixels. A CAD device for a pattern image, which has a function of moving in parallel to form a rectangle and using it as CAD data.
【請求項2】請求項1において、 最終的に生成された台形形状のCADデータを塗り潰し
て表示し、任意のスケールでラスタデータを生成する機
能を有していることを特徴とするパターン画像用CAD
装置。
2. A pattern image according to claim 1, which has a function of displaying the finally generated CAD data of the trapezoidal shape in a painted manner and generating raster data at an arbitrary scale. CAD
apparatus.
JP33832894A 1994-12-29 1994-12-29 CAD device for pattern images Expired - Fee Related JP3606336B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33832894A JP3606336B2 (en) 1994-12-29 1994-12-29 CAD device for pattern images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33832894A JP3606336B2 (en) 1994-12-29 1994-12-29 CAD device for pattern images

Publications (2)

Publication Number Publication Date
JPH08185438A true JPH08185438A (en) 1996-07-16
JP3606336B2 JP3606336B2 (en) 2005-01-05

Family

ID=18317117

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33832894A Expired - Fee Related JP3606336B2 (en) 1994-12-29 1994-12-29 CAD device for pattern images

Country Status (1)

Country Link
JP (1) JP3606336B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009270830A (en) * 2008-04-30 2009-11-19 Mitsubishi Electric Corp Matching region detecting device
JP2010033067A (en) * 2005-05-31 2010-02-12 Asml Netherlands Bv Lithographic apparatus and device manufacturing method utilizing 2d run length encoding for image data compression

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010033067A (en) * 2005-05-31 2010-02-12 Asml Netherlands Bv Lithographic apparatus and device manufacturing method utilizing 2d run length encoding for image data compression
JP2009270830A (en) * 2008-04-30 2009-11-19 Mitsubishi Electric Corp Matching region detecting device

Also Published As

Publication number Publication date
JP3606336B2 (en) 2005-01-05

Similar Documents

Publication Publication Date Title
US20090002510A1 (en) Image processing device, computer readable recording medium, and image processing method
CN109495729B (en) Projection picture correction method and system
JPH08189898A (en) Defect inspecting device
JPH08194734A (en) Fine pattern dimension picture measuring device
JPH02101456A (en) Producing method for clipped mask data
JP4932202B2 (en) Part program generating apparatus for image measuring apparatus, part program generating method for image measuring apparatus, and part program generating program for image measuring apparatus
JPH0535849A (en) Teaching data preparation method
JP3513242B2 (en) Color image input device for fine pattern measurement
JPH08194736A (en) Cad system provided with collation function for actual article
JP3606336B2 (en) CAD device for pattern images
JPH08194737A (en) Measurement device for difference in levels of minute pattern
JP3589512B2 (en) Inspection point marking method for microfabricated products, automatic dimension inspection method and automatic dimension inspection device
JP3922732B2 (en) Multiple pattern simultaneous measurement device
JPH08185428A (en) Cad system provided with actual article collating function
JP3382767B2 (en) Etching correction pattern creation device
CN114795079A (en) Matching calibration method and device for medical endoscope double-camera module
JPH08185427A (en) Cad system provided with actual article collating function
JPH08185437A (en) Cad system provided with actual article collating function
JP2005181250A (en) Method and device for inspecting liquid crystal display panel
JPWO2009022593A1 (en) Image processing apparatus, image processing method, image processing program, and imaging apparatus
JP3289070B2 (en) Mounted parts inspection device
JPH1097983A (en) Position detecting method
WO2018146887A1 (en) External-appearance examination device
CN116630333B (en) Method for on-line monitoring dispensing quality of laser radar optical lens
JP2015060146A (en) Drawing apparatus, substrate processing system, and drawing method

Legal Events

Date Code Title Description
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: 20040928

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040929

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees