JP2000124598A - Generating method for inspection device data - Google Patents

Generating method for inspection device data

Info

Publication number
JP2000124598A
JP2000124598A JP10290353A JP29035398A JP2000124598A JP 2000124598 A JP2000124598 A JP 2000124598A JP 10290353 A JP10290353 A JP 10290353A JP 29035398 A JP29035398 A JP 29035398A JP 2000124598 A JP2000124598 A JP 2000124598A
Authority
JP
Japan
Prior art keywords
data
area
solder
center
gravity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10290353A
Other languages
Japanese (ja)
Inventor
Satoshi Yamauchi
智 山内
Toshihiko Tsujikawa
俊彦 辻川
Masayuki Kajiyama
正行 梶山
Suehiro Tanaka
末廣 田中
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP10290353A priority Critical patent/JP2000124598A/en
Publication of JP2000124598A publication Critical patent/JP2000124598A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To shorten a time required for generating a data for an inspection device for high-precision inspection by acquiring a data related to a solder shape from a govern data used for generating a metal mask for solder printing, and relating a shape data of an electronic component to a mounting position. SOLUTION: A data related to a solder shape is acquired from a govern data used for generating a metal mask for solder printing, and the shape data of an electronic component 2 is related to a mounting position, so that a data required for an inspection device is generated. In short, an area, a center of gravity, and a circumscribed rectangle of an opening part 1 on the Gerber data are acquired. From the acquired area, center of gravity, and circumscribed rectangle, the data for the inspection device is automatically generated. In short, the opening part 1 is drawn as a circumscribed rectangle acquired from the Gerber data, with the opening part corresponding to a printed solder, and the inspection data of the inspection device comprising a data of solder unit is automatically generated.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】プリント基板への電子部品実
装行程において、プリント基板に印刷されたハンダの印
刷状態を検査する検査機のデータ作成に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to data creation of an inspection machine for inspecting a printing state of solder printed on a printed circuit board in a process of mounting electronic components on the printed circuit board.

【0002】[0002]

【従来の技術】以下、図面を参照しながら、従来の検査
機データ作成方法について説明する。図1において、1
はプリント基板上に印刷されたハンダで、2はプリント
基板に実装される電子部品のボディ部で、3はプリント
基板である。図8は図1内の1つの電子部品に相当する
ハンダ形状を表したもので電子部品単位で扱われる。4
3から46はプリント基板上の電子部品(例としてSO
P部品)が実装されるランド上のハンダの形状と寸法を
示したもので、43と44はそれぞれハンダの1辺のサ
イズ、45はハンダ間のピッチ、46はハンダ間の外形
寸法である。
2. Description of the Related Art A conventional method for producing inspection machine data will be described below with reference to the drawings. In FIG. 1, 1
Is a solder printed on a printed board, 2 is a body part of an electronic component mounted on the printed board, and 3 is a printed board. FIG. 8 shows a solder shape corresponding to one electronic component in FIG. 1 and is handled in electronic component units. 4
3 to 46 are electronic components (for example, SO
The shape and size of the solder on the land on which the (P part) is mounted are indicated by 43 and 44, the size of one side of the solder, 45 is the pitch between the solders, and 46 is the external dimension between the solders.

【0003】以上のように構成された検査機データ作成
方法について、以下、その動作について説明する。個々
のハンダ形状は、電子部品単位に管理されているため、
電子部品の中心47位置データがプリント基板上に配置
され、その中心上に電子部品に対応した図8のようなハ
ンダ形状が登録されているため図1のようなパターンが
構成される。この状態で検査に必要なデータを生成する
ためには、実装される電子部品の中心位置座標(絶対座
標)とハンダ形状データが必要になる。中心位置座標
は、プリント基板を作成するためのCADデータか、実
際のプリント基板を計測することによって入手すること
ができる。ハンダ形状に関しては、実際のプリント基板
の43〜46を実測し設定する。これらのデータを準備
することで検査機のデータを作成することができる。
The operation of the inspection machine data creating method configured as described above will be described below. Since individual solder shapes are managed in electronic component units,
Since the position data of the center 47 of the electronic component is arranged on the printed circuit board, and the solder shape corresponding to the electronic component as shown in FIG. 8 is registered on the center, a pattern as shown in FIG. 1 is formed. In this state, in order to generate data required for inspection, the center position coordinates (absolute coordinates) and solder shape data of the mounted electronic component are required. The center position coordinates can be obtained by CAD data for creating a printed circuit board or by measuring an actual printed circuit board. The solder shape is set by actually measuring 43 to 46 of the actual printed circuit board. By preparing these data, the data of the inspection machine can be created.

【0004】[0004]

【発明が解決しようとする課題】しかしながら従来の構
成では、ハンダ形状に関し、実測と測定値の入力作業を
必ず行う必要があり、データ作成に非常に時間がかか
る。また、測定によって得られるデータであるため、デ
ータの精度が悪く何度も作成する必要があるという課題
を有していた。
However, in the conventional configuration, the actual measurement and the input operation of the measured values must be performed for the solder shape, and it takes a very long time to create data. In addition, since the data is obtained by measurement, there is a problem that the accuracy of the data is low and it is necessary to create the data many times.

【0005】本発明は上記の問題を解決し、検査機のデ
ータ作成時間の短縮と高精度の検査を行えることのでき
る検査機データ作成方法を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above problems and to provide an inspection machine data creation method capable of shortening the inspection machine data creation time and performing a highly accurate inspection.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するため
に、本発明の検査機データ作成方法は、ハンダ印刷用の
メタルマスク作成に使用しているガーバーデータからハ
ンダの形状に関するデータを求め、電子部品の形状デー
タと実装位置と関連付けることにより検査機に必要なデ
ータを生成することを特徴とする。
In order to solve the above-mentioned problems, an inspection machine data creating method according to the present invention obtains data relating to the shape of solder from Gerber data used for creating a metal mask for solder printing. It is characterized in that data required for an inspection machine is generated by associating shape data of an electronic component with a mounting position.

【0007】これにより、ハンダ印刷用のメタルマスク
作成に使用しているガーバーデータから自動的にハンダ
形状を入手することができるため、短時間でデータ作成
が行える。加えて、ハンダを印刷する元となるデータか
ら検査機のデータを作成するため精度の良いデータを作
成することができる。
[0007] This makes it possible to automatically obtain the solder shape from the Gerber data used for preparing the metal mask for solder printing, thereby making it possible to generate the data in a short time. In addition, since the data of the inspection machine is created from the data on which the solder is printed, highly accurate data can be created.

【0008】[0008]

【発明の実施の形態】本発明の請求項1に記載の発明
は、ハンダ印刷用のメタルマスク作成に使用しているガ
ーバーデータからハンダの形状に関するデータを求め、
電子部品の形状データと実装位置と関連付けることによ
り検査機に必要なデータを生成するものであり、検査に
必要なデータを短時間に精度良く作成することを特徴と
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS According to the first aspect of the present invention, data relating to the shape of solder is obtained from Gerber data used for preparing a metal mask for solder printing.
The present invention generates data necessary for an inspection machine by associating shape data of an electronic component with a mounting position, and is characterized in that data necessary for an inspection is accurately created in a short time.

【0009】本発明の請求項2に記載の発明は、ハンダ
印刷用のメタルマスク作成に使用しているガーバーデー
タからハンダの形状に関するデータを求めることにより
検査機に必要なデータを生成するものであり、検査に必
要なデータを短時間に精度良く作成することを特徴とす
る。以下本発明の実施の形態としての検査データ作成方
法について図を参照しながら説明する。なお、従来と同
一機能のものには同一符号を示す。
According to a second aspect of the present invention, data necessary for an inspection machine is generated by obtaining data relating to the shape of solder from Gerber data used for preparing a metal mask for solder printing. Yes, it is characterized in that data necessary for inspection is created with high accuracy in a short time. Hereinafter, an inspection data creation method according to an embodiment of the present invention will be described with reference to the drawings. Note that the same reference numerals are given to those having the same functions as those in the related art.

【0010】(実施の形態1)図1と図3から図7は本
発明の第1実施形態の検査機データ作成方法を示すもの
である。図1において、1はプリント基板上に印刷され
たハンダで、2はプリント基板に実装される電子部品の
ボディ部で、3はプリント基板である。図3において、
4から7はガーバーデータ上の座標データ(以降、座標
点という言葉で説明する)、8から11は面積や重心を
算出するための領域である。図4において、12から1
5は面積や重心を算出するための領域である。図5にお
いて、16から19は座標点、21から26は面積や重
心を算出するための領域である。図6において、27は
ハンダの外接長方形、28と29は外接長方形を数値と
して表現するための座標値で矩形の対角にある2点の座
標があれば矩形を唯一に限定することができる。図7に
おいて、30は座標点、31はガーバーデータでアパー
チャと呼ばれるものでペンの太さに相当するサイズ、3
2と33はペンの中心を座標点30に併せて図形を描画
したときの内側と外側の奇跡、34はペン太さの半分の
サイズ、35から38はペン太さを加味した外側の奇跡
を求めるための直線及び曲線、39は直線35と曲線3
6の交点、40は曲線36と直線37の交点、41は直
線37と直線38の交点、42は直線38と直線35の
交点である。
(Embodiment 1) FIGS. 1 and 3 to 7 show an inspection machine data creating method according to a first embodiment of the present invention. In FIG. 1, reference numeral 1 denotes solder printed on a printed board, 2 denotes a body part of an electronic component mounted on the printed board, and 3 denotes a printed board. In FIG.
Reference numerals 4 to 7 denote coordinate data on the Gerber data (hereinafter, referred to as coordinate points), and reference numerals 8 to 11 denote areas for calculating the area and the center of gravity. In FIG. 4, 12 to 1
Reference numeral 5 denotes a region for calculating the area and the center of gravity. In FIG. 5, reference numerals 16 to 19 denote coordinate points, and reference numerals 21 to 26 denote regions for calculating the area and the center of gravity. In FIG. 6, reference numeral 27 denotes a circumscribed rectangle of the solder, and reference numerals 28 and 29 denote coordinate values for expressing the circumscribed rectangle as numerical values. If there are two coordinates on the diagonal of the rectangle, the rectangle can be uniquely limited. In FIG. 7, reference numeral 30 denotes a coordinate point, 31 denotes Gerber data, which is called an aperture, and has a size corresponding to the thickness of a pen.
2 and 33 are the inner and outer miracles when drawing a figure with the center of the pen aligned with the coordinate point 30, 34 is half the pen thickness, and 35 to 38 are the outer miracles taking into account the pen thickness. A straight line and a curve to be obtained, 39 is a straight line 35 and a curve 3
The intersection of 6, 40 is the intersection of the curve 36 and the straight line 37, 41 is the intersection of the straight line 37 and the straight line 38, and 42 is the intersection of the straight line 38 and the straight line 35.

【0011】(実施の形態2)図2と図3から図7は本
発明の第2実施形態の検査機データ作成法を示すもので
ある。図2において、1はプリント基板上に印刷された
ハンダで、3はプリント基板である。図3において、4
から7は座標点、8から11は面積や重心を算出するた
めの領域である。図4において、12から15は面積や
重心を算出するための領域である。図5において、16
から19は座標点、21から26は面積や重心を算出す
るための領域である。図6において、27はハンダの外
接長方形、28と29は外接長方形を数値として表現す
るための座標値で矩形の対角にある2点の座標があれば
矩形を唯一に限定することができる。図7において、3
0は座標点、31はガーバーデータでアパーチャと呼ば
れるものでペンの太さに相当するサイズ、32と33は
ペンの中心を座標点30に併せて図形を描画したときの
内側と外側の奇跡、34はペン太さの半分のサイズ、3
5から38はペン太さを加味した外側の奇跡を求めるた
めの直線及び曲線、39は直線35と曲線36の交点、
40は曲線36と直線37の交点、41は直線37と直
線38の交点、42は直線38と直線35の交点であ
る。
(Embodiment 2) FIGS. 2 and 3 to 7 show a method of creating inspection machine data according to a second embodiment of the present invention. In FIG. 2, reference numeral 1 denotes solder printed on a printed board, and 3 denotes a printed board. In FIG. 3, 4
To 7 are coordinate points, and 8 to 11 are areas for calculating the area and the center of gravity. In FIG. 4, reference numerals 12 to 15 denote regions for calculating the area and the center of gravity. In FIG. 5, 16
To 19 are coordinate points, and 21 to 26 are areas for calculating the area and the center of gravity. In FIG. 6, reference numeral 27 denotes a circumscribed rectangle of the solder, and reference numerals 28 and 29 denote coordinate values for expressing the circumscribed rectangle as numerical values. If there are two coordinates on the diagonal of the rectangle, the rectangle can be uniquely limited. In FIG. 7, 3
0 is a coordinate point, 31 is Gerber data, which is called an aperture, and has a size corresponding to the thickness of a pen. 32 and 33 are miracles inside and outside when a figure is drawn with the center of the pen aligned with the coordinate point 30, 34 is half the size of the pen, 3
5 to 38 are a straight line and a curve for obtaining an outside miracle in consideration of the pen thickness, 39 is an intersection of the straight line 35 and the curve 36,
Reference numeral 40 denotes an intersection between the curve 36 and the straight line 37, 41 denotes an intersection between the straight line 37 and the straight line 38, and 42 denotes an intersection between the straight line 38 and the straight line 35.

【0012】[0012]

【実施例】(実施例1)図3は開口部(ガーバーデータ
で描画された図形で、プリント基板に印刷されたハンダ
と同等の形状)の面積と重心を求める基本部分を説明す
る図であり、座標点4を始点であり終点であり、反時計
回りに描画されるものとして説明を進める。(a)は開
口部の基本を表記したもので、(b)から(e)で面積
と重心を求める基礎を説明する。面積と重心は座標点間
の線分或いは曲線ごとに、面積の場合一次モーメント、
重心の場合二次モーメントを使用して算出する。面積に
関しては、X方向を示す(b)と(c)かY方向を示す
(d)と(e)のどちらかで求めることができる。X方
向に関して説明すると、座標点4と7の線分の一次モー
メントを求めると0、座標点7と6の線分の一次モーメ
ントは8の領域の面積を示し、座標点6と5の線分の一
次モーメントを求めると0,座標点5と4の一次モーメ
ントは9の領域の面積を示す。このことから9の面積か
ら8の面積を差し引くことで開口部の面積を求めること
ができる。Y方向に関しても同じ方法で面積を求めるこ
とができる。そのため、どちらか一方で面積を求めれば
よい。そこで、本実施例ではX方向で面積を求めるもの
とする。重心に関しては、XとYの座標が必要になるた
めX方向とY方向の別々で求める。X方向もY方向も考
え方は同じであるためX方向のみの説明とする。Y方向
も同じ処理。座標点4と7の線分の二次モーメントは1
0の領域に相当、座標点7と6の線分の二次モーメント
を求めると0、座標点6と5の線分の二次モーメントは
11の領域に相当する。求められた値に対して下記の計
算を行うことによりX方向の重心を求めることができ
る。
(Embodiment 1) FIG. 3 is a view for explaining a basic part for obtaining the area and the center of gravity of an opening (a figure drawn by Gerber data and having the same shape as solder printed on a printed circuit board). , The coordinate point 4 is a start point and an end point, and the description is made on the assumption that the coordinate point 4 is drawn counterclockwise. (A) shows the basics of the opening, and (b) to (e) explain the basis for obtaining the area and the center of gravity. The area and the center of gravity are calculated for each line segment or curve between coordinate points.
Calculate using the second moment for the center of gravity. The area can be determined by either (b) and (c) indicating the X direction or (d) and (e) indicating the Y direction. Describing in the X direction, the first moment of the line segment of coordinate points 4 and 7 is 0, the first moment of the line segment of coordinate points 7 and 6 indicates the area of area 8, and the line segment of coordinate points 6 and 5 is obtained. When the first moment is calculated, 0 and the first moment of the coordinate points 5 and 4 indicate the area of the region of 9. From this, the area of the opening can be obtained by subtracting the area of 8 from the area of 9. The area can be obtained in the same manner in the Y direction. Therefore, it is only necessary to calculate the area in one of them. Therefore, in this embodiment, the area is determined in the X direction. Regarding the center of gravity, since the coordinates of X and Y are required, it is obtained separately in the X and Y directions. Since the concept is the same for the X direction and the Y direction, only the X direction will be described. Same process for Y direction. The second moment of the line segment at coordinate points 4 and 7 is 1
When the second moment of the line segment at coordinate points 7 and 6 is obtained, the second moment of the line segment at coordinate points 7 and 6 corresponds to the eleventh region. The center of gravity in the X direction can be obtained by performing the following calculation on the obtained value.

【0013】((領域11の二次モーメント)−(領域
10の二次モーメント))/(面積) 上記方法説明が基本であるが、それぞれの線分や曲線か
ら求められる一次モーメント値や二次モーメント値の加
減算の基準が明確でないため図4において詳細を説明す
る。(a)から(c)は時計回りに描画された場合、
(d)から(f)は反時計回りに描画された場合を示し
ている。X方向に関して、左から右に描画される線分或
いは曲線から得られる一次モーメントや二次モーメント
の値を正値、右から左を負値、Y方向に関して、上から
下を正値、下から上を負値として取り扱うことを前提と
する。正と負の考え方を逆にしても同じことである。
(b)における領域12は負値、(c)における領域1
3は正値となり、領域12と領域13を加えることで開
口部の一次モーメントや二次モーメントを求めることが
できる。このときの一次モーメントと二次モーメントの
値は正値となる。(e)と(f)で見てみると、領域1
4が正値、領域15が負値で開口部の一次モーメントや
二次モーメントは負値となる。つまり、描画される開口
部が時計回りで正値、反時計回りで負値となることを示
している。曲線が含まれる場合は図5のような動作とな
る。線分の取り扱いは図4の場合と同じであるが、図5
の(b)、(c)や(e)のような処理となる。(b)
と(c)ではX方向を基準としたもので曲線の中心を基
準とし上側と下側に分割して一次モーメントと二次モー
メントを算出する。座標点17と18の曲線上の中点で
ある20より上と下で分割して算出する。(e)の場合
はY方向を基準としているため座標点17と18の曲線
が全て右側に存在するため一括で求められる。曲線の対
応方法として上下或いは左右で分割して説明したが、9
0度単位に4分割して処理することも可能である。
((Second moment of region 11) − (Second moment of region 10)) / (Area) The above method is basically described, but the first moment value or the second moment value obtained from each line or curve is used. Since the criterion for addition / subtraction of the moment value is not clear, details will be described with reference to FIG. (A) to (c) are drawn clockwise,
(D) to (f) show the case where the image is drawn counterclockwise. For the X direction, the values of the first and second moments obtained from the line or curve drawn from left to right are positive values, right to left are negative values, and in the Y direction, top to bottom are positive values, and bottom to bottom are positive values. It is assumed that the above is treated as a negative value. The same is true even if the concept of positive and negative is reversed.
Area 12 in (b) is a negative value, area 1 in (c)
3 is a positive value, and the first moment and the second moment of the opening can be obtained by adding the area 12 and the area 13. At this time, the values of the first moment and the second moment are positive values. Looking at (e) and (f), area 1
4 is a positive value, and the area 15 is a negative value. The first moment and the second moment of the opening are negative values. In other words, this indicates that the opening to be drawn has a positive value in the clockwise direction and a negative value in the counterclockwise direction. When a curve is included, the operation is as shown in FIG. The handling of the line segment is the same as that of FIG.
(B), (c) and (e). (B)
In (c), the first moment and the second moment are calculated by dividing the curve into upper and lower parts with the center of the curve as a reference. It is divided and calculated above and below the middle point 20 on the curve between the coordinate points 17 and 18. In the case of (e), since the Y direction is used as a reference, all the curves of the coordinate points 17 and 18 exist on the right side, and thus are obtained collectively. As a method of dealing with the curve, a description has been made by dividing the curve vertically or horizontally.
It is also possible to perform processing by dividing into four in units of 0 degrees.

【0014】外接長方形に関しては、図6で説明する。
開口部を示す座標点のX座標とY座標それぞれの最大値
と最小値を求めることにより外接長方形27を算出する
ことができ、X方向の最大値とY方向の最大値をとれば
28の点になり、X方向の最小値とY方向の最小値をと
れば29の点になる。このように対角な2点で外接長方
形を唯一決定することができる。もう一方の対角となる
2点を選択することも可能である。
The circumscribed rectangle will be described with reference to FIG.
The circumscribed rectangle 27 can be calculated by calculating the maximum value and the minimum value of the X coordinate and the Y coordinate of the coordinate point indicating the opening, and 28 points can be calculated by taking the maximum value in the X direction and the maximum value in the Y direction. , And if the minimum value in the X direction and the minimum value in the Y direction are taken, there are 29 points. In this way, only the circumscribed rectangle can be determined by two diagonal points. It is also possible to select the other two diagonal points.

【0015】これまでの方法により、ガーバーデータ上
の開口部の面積、重心と外接長方形を求めることができ
る。しかし、ガーバーデータ上の座標点に関しての面
積、重心と外接長方形を求めたに過ぎず、印刷されたハ
ンダの面積、重心と外接長方形を求めるためには、描画
時のペンサイズまで考慮する必要がある。その方法は図
7で説明する。領域33(ペンサイズの外側)の面積、
重心と外接長方形を求めることに相当する。32がペン
の内側、33がペンの外側と定義すると、ペンの外側の
求め方は(b)を参照して説明する。前述の面積計算で
正値、負値により描画の回転方向が明らかになってい
る。この回転方向からどちら側がペンの外側に相当する
か明らかになる。30からペンサイズの半分のサイズ3
4だけ外側の方向にずらせた直線或いは曲線を求め、そ
れらの交点を求めることにより交点39、40、41、
42が得られる。交点39から42までをこれまでの座
標点と同等に考え、上記面積、重心、外接長方形を求め
る方法により、ガーバーデータからハンダの面積、重心
と外接長方形を求めることができる。
By the method described above, the area, the center of gravity, and the circumscribed rectangle of the opening on the Gerber data can be obtained. However, only the area, the center of gravity, and the circumscribed rectangle for the coordinate points on the Gerber data were obtained.In order to obtain the area of the printed solder, the center of gravity, and the circumscribed rectangle, it is necessary to consider the pen size at the time of drawing. is there. The method will be described with reference to FIG. Area 33 (outside the pen size),
This is equivalent to obtaining the center of gravity and the circumscribed rectangle. If 32 is defined as the inside of the pen and 33 is defined as the outside of the pen, how to determine the outside of the pen will be described with reference to FIG. In the area calculation described above, the rotation direction of drawing is clarified by the positive value and the negative value. It becomes clear from this direction of rotation which side corresponds to the outside of the pen. 30 to half the pen size 3
A straight line or a curve displaced in the direction outward by 4 is obtained, and the intersections 39, 40, 41,
42 is obtained. The intersections 39 to 42 are considered to be the same as the coordinate points so far, and the area, the center of gravity, and the circumscribed rectangle can be obtained from the Gerber data by the method of obtaining the area, the center of gravity, and the circumscribed rectangle.

【0016】このようにして求められた面積、重心、外
接長方形と電子部品の形状データ、実装位置とを関連付
けることにより検査機のデータを自動で作成することが
できる。その方法を図1で説明する。開口部(ハンダ)
1はガーバーデータから求められた外接長方形を描画し
たものである。この画像に電子部品の実装位置と外形寸
法を組み合わせて描画させたものが電子部品の外形寸法
2となります。電子部品の外形寸法2の領域に一部でも
含まれる開口部(ハンダ)1を求めまとめることによ
り、電子部品単位でのハンダの情報を入手することがで
きる。
By associating the area, the center of gravity, and the circumscribed rectangle thus obtained with the shape data and the mounting position of the electronic component, the data of the inspection machine can be automatically created. The method will be described with reference to FIG. Opening (solder)
1 is a drawing of a circumscribed rectangle obtained from Gerber data. The external dimension 2 of the electronic component is drawn by combining this image with the mounting position and external dimensions of the electronic component. The soldering information for each electronic component can be obtained by obtaining and collecting the openings (solder) 1 that are at least partially included in the area of the external dimensions 2 of the electronic component.

【0017】以上の方法により、電子部品の実装位置と
電子部品に含まれるハンダの情報を持つデータ形式で動
作する検査機の検査データを自動的に作成するため、短
時間で容易に精度よく生成することができる。 (実施例2)図3は開口部(ガーバーデータで描画され
た図形で、プリント基板に印刷されたハンダと同等の形
状)の面積と重心を求める基本部分を説明する図であ
り、座標点4を始点であり終点であり、反時計回りに描
画されるものとして説明を進める。(a)は開口部の基
本を表記したもので、(b)から(e)で面積と重心を
求める基礎を説明する。面積と重心は座標点間の線分或
いは曲線ごとに、面積の場合一次モーメント、重心の場
合二次モーメントを使用して算出する。面積に関して
は、X方向を示す(b)と(c)かY方向を示す(d)
と(e)のどちらかで求めることができる。X方向に関
して説明すると、座標点4と7の線分の一次モーメント
を求めると0、座標点7と6の線分の一次モーメントは
8の領域の面積を示し、座標点6と5の線分の一次モー
メントを求めると0,座標点5と4の一次モーメントは
9の領域の面積を示す。このことから9の面積から8の
面積を差し引くことで開口部の面積を求めることができ
る。Y方向に関しても同じ方法で面積を求めることがで
きる。そのため、どちらか一方で面積を求めればよい。
そこで、本実施例ではX方向で面積を求めるものとす
る。重心に関しては、XとYの座標が必要になるためX
方向とY方向の別々で求める。X方向もY方向も考え方
は同じであるためX方向のみの説明とする。Y方向も同
じ処理。座標点4と7の線分の二次モーメントは10の
領域に相当、座標点7と6の線分の二次モーメントを求
めると0、座標点6と5の線分の二次モーメントは11
の領域に相当する。求められた値に対して下記の計算を
行うことによりX方向の重心を求めることができる。
According to the above method, the inspection data of the inspection machine operating in the data format having the information of the mounting position of the electronic component and the solder included in the electronic component is automatically created, so that it can be easily and accurately generated in a short time. can do. (Embodiment 2) FIG. 3 is a view for explaining a basic part for obtaining the area and the center of gravity of an opening (a figure drawn by Gerber data and having the same shape as solder printed on a printed circuit board). Is a start point and an end point, and is described as being drawn counterclockwise. (A) shows the basics of the opening, and (b) to (e) explain the basis for obtaining the area and the center of gravity. The area and the center of gravity are calculated for each line segment or curve between coordinate points using the first moment for the area and the second moment for the center of gravity. Regarding the area, (b) and (c) indicating the X direction or (d) indicating the Y direction
And (e). Describing in the X direction, the first moment of the line segment of coordinate points 4 and 7 is 0, the first moment of the line segment of coordinate points 7 and 6 indicates the area of area 8, and the line segment of coordinate points 6 and 5 is obtained. When the first moment is calculated, 0 and the first moment of the coordinate points 5 and 4 indicate the area of the region of 9. From this, the area of the opening can be obtained by subtracting the area of 8 from the area of 9. The area can be obtained in the same manner in the Y direction. Therefore, it is only necessary to calculate the area in one of them.
Therefore, in this embodiment, the area is determined in the X direction. Regarding the center of gravity, X and Y coordinates are required, so X
It is obtained separately for the direction and the Y direction. Since the concept is the same for the X direction and the Y direction, only the X direction will be described. Same process for Y direction. The second moment of the line segment at the coordinate points 4 and 7 corresponds to the area of 10. The second moment of the line segment at the coordinate points 7 and 6 is 0, and the second moment of the line segment at the coordinate points 6 and 5 is 11
Area. The center of gravity in the X direction can be obtained by performing the following calculation on the obtained value.

【0018】((領域11の二次モーメント)−(領域
10の二次モーメント))/(面積) 上記方法説明が基本であるが、それぞれの線分や曲線か
ら求められる一次モーメント値や二次モーメント値の加
減算の基準が明確でないため図4において詳細を説明す
る。(a)から(c)は時計回りに描画された場合、
(d)から(f)は反時計回りに描画された場合を示し
ている。X方向に関して、左から右に描画される線分或
いは曲線から得られる一次モーメントや二次モーメント
の値を正値、右から左を負値、Y方向に関して、上から
下を正値、下から上を負値として取り扱うことを前提と
する。正と負の考え方を逆にしても同じことである。
(b)における領域12は負値、(c)における領域1
3は正値となり、領域12と領域13を加えることで開
口部の一次モーメントや二次モーメントを求めることが
できる。このときの一次モーメントと二次モーメントの
値は正値となる。(e)と(f)で見てみると、領域1
4が正値、領域15が負値で開口部の一次モーメントや
二次モーメントは負値となる。つまり、描画される開口
部が時計回りで正値、反時計回りで負値となることを示
している。曲線が含まれる場合は図5のような動作とな
る。線分の取り扱いは図4の場合と同じであるが、図5
の(b)、(c)や(e)のような処理となる。(b)
と(c)ではX方向を基準としたもので曲線の中心を基
準とし上側と下側に分割して一次モーメントと二次モー
メントを算出する。座標点17と18の曲線上の中点で
ある20より上と下で分割して算出する。(e)の場合
はY方向を基準としているため座標点17と18の曲線
が全て右側に存在するため一括で求められる。曲線の対
応方法として上下或いは左右で分割して説明したが、9
0度単位に4分割して処理することも可能である。
((Second moment of region 11)-(Second moment of region 10)) / (Area) The above method is basically described, but the first moment value or the second moment value obtained from each line segment or curve is used. Since the criterion for addition / subtraction of the moment value is not clear, details will be described with reference to FIG. (A) to (c) are drawn clockwise,
(D) to (f) show the case where the image is drawn counterclockwise. For the X direction, the values of the first and second moments obtained from the line or curve drawn from left to right are positive values, right to left are negative values, and in the Y direction, top to bottom are positive values, and bottom to bottom are positive values. It is assumed that the above is treated as a negative value. The same is true even if the concept of positive and negative is reversed.
Area 12 in (b) is a negative value, area 1 in (c)
3 is a positive value, and the first moment and the second moment of the opening can be obtained by adding the area 12 and the area 13. At this time, the values of the first moment and the second moment are positive values. Looking at (e) and (f), area 1
4 is a positive value, and the area 15 is a negative value. The first moment and the second moment of the opening are negative values. In other words, this indicates that the opening to be drawn has a positive value in the clockwise direction and a negative value in the counterclockwise direction. When a curve is included, the operation is as shown in FIG. The handling of the line segment is the same as that of FIG.
(B), (c) and (e). (B)
In (c), the first moment and the second moment are calculated by dividing the curve into upper and lower parts with the center of the curve as a reference. It is divided and calculated above and below the middle point 20 on the curve between the coordinate points 17 and 18. In the case of (e), since the Y direction is used as a reference, all the curves of the coordinate points 17 and 18 exist on the right side, and thus are obtained collectively. As a method of dealing with the curve, a description has been made by dividing the curve vertically or horizontally.
It is also possible to perform processing by dividing into four in units of 0 degrees.

【0019】外接長方形に関しては、図6で説明する。
開口部を示す座標点のX座標とY座標それぞれの最大値
と最小値を求めることにより外接長方形27を算出する
ことができ、X方向の最大値とY方向の最大値をとれば
28の点になり、X方向の最小値とY方向の最小値をと
れば29の点になる。このように対角な2点で外接長方
形を唯一決定することができる。もう一方の対角となる
2点を選択することも可能である。
The circumscribed rectangle will be described with reference to FIG.
The circumscribed rectangle 27 can be calculated by calculating the maximum value and the minimum value of the X coordinate and the Y coordinate of the coordinate point indicating the opening, and 28 points can be calculated by taking the maximum value in the X direction and the maximum value in the Y direction. , And if the minimum value in the X direction and the minimum value in the Y direction are taken, there are 29 points. In this way, only the circumscribed rectangle can be determined by two diagonal points. It is also possible to select the other two diagonal points.

【0020】これまでの方法により、ガーバーデータ上
の開口部の面積、重心と外接長方形を求めることができ
る。しかし、ガーバーデータ上の座標点に関しての面
積、重心と外接長方形を求めたに過ぎず、印刷されたハ
ンダの面積、重心と外接長方形を求めるためには、描画
時のペンサイズまで考慮する必要がある。その方法は図
7で説明する。領域33(ペンサイズの外側)の面積、
重心と外接長方形を求めることに相当する。32がペン
の内側、33がペンの外側と定義すると、ペンの外側の
求め方は(b)を参照して説明する。前述の面積計算で
正値、負値により描画の回転方向が明らかになってい
る。この回転方向からどちら側がペンの外側に相当する
か明らかになる。30からペンサイズの半分のサイズ3
4だけ外側の方向にずらせた直線或いは曲線を求め、そ
れらの交点を求めることにより交点39、40、41、
42が得られる。交点39から42までをこれまでの座
標点と同等に考え、上記面積、重心、外接長方形を求め
る方法により、ガーバーデータからハンダの面積、重心
と外接長方形を求めることができる。
By the method described above, the area, the center of gravity, and the circumscribed rectangle of the opening on the Gerber data can be obtained. However, only the area, the center of gravity, and the circumscribed rectangle for the coordinate points on the Gerber data were obtained.In order to obtain the area of the printed solder, the center of gravity, and the circumscribed rectangle, it is necessary to consider the pen size at the time of drawing. is there. The method will be described with reference to FIG. Area 33 (outside the pen size),
This is equivalent to obtaining the center of gravity and the circumscribed rectangle. If 32 is defined as the inside of the pen and 33 is defined as the outside of the pen, how to determine the outside of the pen will be described with reference to FIG. In the area calculation described above, the rotation direction of drawing is clarified by the positive value and the negative value. It becomes clear from this direction of rotation which side corresponds to the outside of the pen. 30 to half the pen size 3
A straight line or a curve displaced in the direction outward by 4 is obtained, and the intersections 39, 40, 41,
42 is obtained. The intersections 39 to 42 are considered to be the same as the coordinate points so far, and the area, the center of gravity, and the circumscribed rectangle can be obtained from the Gerber data by the method of obtaining the area, the center of gravity, and the circumscribed rectangle.

【0021】このようにして求められた面積、重心、外
接長方形から検査機のデータを自動で作成することがで
きる。その方法を図2で説明する。開口部1はガーバー
データから求められた外接長方形を描画したものであ
る。この開口部が印刷されたハンダに相当し、ハンダ単
位のデータで構成される検査機の検査データを自動的に
作成するため、短時間で容易に精度よく生成することが
できる。
The data of the inspection machine can be automatically created from the area, the center of gravity, and the circumscribed rectangle obtained as described above. The method will be described with reference to FIG. The opening 1 is a drawing of a circumscribed rectangle obtained from Gerber data. This opening corresponds to the printed solder, and the inspection data of the inspection machine composed of the data of the solder unit is automatically created, so that it can be easily and accurately generated in a short time.

【0022】[0022]

【発明の効果】以上のように本発明の検査機データ作成
方法によれば、短時間で正確な検査機のデータを作成す
ることができるという効果が得られる。
As described above, according to the inspection machine data creation method of the present invention, an effect is obtained that accurate inspection machine data can be created in a short time.

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

【図1】本発明の一実施形態による検査機データ作成方
法を示す全体図
FIG. 1 is an overall view showing a method for creating inspection machine data according to an embodiment of the present invention.

【図2】検査機データ作成方法を示す図FIG. 2 is a diagram showing a method for creating inspection machine data.

【図3】面積・重心を算出する基本を示す説明図FIG. 3 is an explanatory diagram showing the basics of calculating the area and the center of gravity.

【図4】面積・重心を算出する方法を示す詳細説明図FIG. 4 is a detailed explanatory diagram showing a method of calculating an area and a center of gravity.

【図5】面積・重心を算出する方法を示す詳細説明図FIG. 5 is a detailed explanatory diagram showing a method of calculating an area and a center of gravity.

【図6】外接長方形の算出方法を示す図FIG. 6 is a diagram showing a method of calculating a circumscribed rectangle;

【図7】ペンサイズを含めた面積・重心・外接長方形の
算出方法を示す図
FIG. 7 is a diagram showing a method of calculating an area, a center of gravity, and a circumscribed rectangle including a pen size;

【図8】従来技術を示す図FIG. 8 is a diagram showing a conventional technique.

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

1:ハンダ、ガーバーデータ上では開口部の意 2:電子部品の部品寸法、或いは、外形寸法 3:プリント基板 4〜7、16〜19:ガーバーデータ上の座標で、本文
中では座標点と表現 8〜15、21〜25:面積や重心を示す領域 20:曲線上の中点 27:外接長方形 28、29:外接長方形を示す座標 30:ガーバーデータ上の座標値で描画した図形 31:ペンサイズ(アパーチャデータ) 32:ペンサイズを含めて描画した場合の内側のライン 33:ペンサイズを含めて描画した場合の外側のライン 34:ペンサイズの半分のサイズ 35〜38:ペンサイズを含めた外側のラインを求める
ための直線或いは曲線 39〜42:35〜38の直線或いは曲線の交点 43、44:ハンダの寸法 45:ハンダのピッチ 46:ハンダの外形寸法 47:電子部品を実装する中心位置
1: Meaning of opening on solder and Gerber data 2: Component dimensions or external dimensions of electronic components 3: Printed circuit board 4-7, 16-19: Coordinates on Gerber data, expressed as coordinate points in the text 8 to 15, 21 to 25: area indicating area and center of gravity 20: midpoint on curve 27: circumscribed rectangle 28, 29: coordinates indicating circumscribed rectangle 30: graphic drawn with coordinate values on Gerber data 31: pen size (Aperture data) 32: Inside line when drawing including pen size 33: Outside line when drawing including pen size 34: Half size of pen size 35-38: Outside including pen size Lines or curves 39 to 42: intersections of lines or curves from 35 to 38 43, 44: Solder dimensions 45: Solder pitch 46: Solder Dimension 47: center position of mounting the electronic component

───────────────────────────────────────────────────── フロントページの続き (72)発明者 梶山 正行 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 田中 末廣 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 Fターム(参考) 5E319 CD52  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Masayuki Kajiyama 1006 Kazuma Kadoma, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. Term (reference) 5E319 CD52

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】ハンダ印刷用のメタルマスク作成に使用し
ているガーバーデータからハンダの形状に関するデータ
を求め、電子部品の形状データと実装位置と関連付ける
ことにより検査機に必要なデータを生成する検査機デー
タ作成方法。
An inspection for obtaining data relating to the shape of a solder from Gerber data used for preparing a metal mask for solder printing and associating the shape data of an electronic component with a mounting position to generate data necessary for an inspection machine. Machine data creation method.
【請求項2】ハンダ印刷用のメタルマスク作成に使用し
ているガーバーデータからハンダの形状に関するデータ
を求めることにより検査機に必要なデータを生成する検
査機データ作成方法。
2. An inspection machine data generating method for generating data necessary for an inspection machine by obtaining data relating to the shape of solder from Gerber data used for forming a metal mask for solder printing.
JP10290353A 1998-10-13 1998-10-13 Generating method for inspection device data Pending JP2000124598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10290353A JP2000124598A (en) 1998-10-13 1998-10-13 Generating method for inspection device data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10290353A JP2000124598A (en) 1998-10-13 1998-10-13 Generating method for inspection device data

Publications (1)

Publication Number Publication Date
JP2000124598A true JP2000124598A (en) 2000-04-28

Family

ID=17754950

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10290353A Pending JP2000124598A (en) 1998-10-13 1998-10-13 Generating method for inspection device data

Country Status (1)

Country Link
JP (1) JP2000124598A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005207848A (en) * 2004-01-22 2005-08-04 Anritsu Corp Apparatus for inspecting printing solder
JP2006351724A (en) * 2005-06-14 2006-12-28 Fujitsu Ltd Device, method, and program for generating masking gerber data for solder print mask
JP2007218925A (en) * 2007-04-12 2007-08-30 Matsushita Electric Ind Co Ltd Printing inspection apparatus and printing inspection method
CN100450338C (en) * 2002-07-25 2009-01-07 松下电器产业株式会社 Apparatus and method for insepecting cream solder printed on a substrate
KR101008585B1 (en) 2008-05-06 2011-01-17 충북대학교 산학협력단 Teaching data generation apparatus and its method for pcb inspection
KR101080302B1 (en) 2009-12-02 2011-11-04 충북대학교 산학협력단 Component mounting position verification apparatus and method
JP2013236063A (en) * 2012-03-28 2013-11-21 Koh Young Technology Inc Method for generating and inspecting task data for pcb inspection device
WO2014163375A1 (en) * 2013-04-02 2014-10-09 주식회사 고영테크놀러지 Method for inspecting for foreign substance on substrate

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100450338C (en) * 2002-07-25 2009-01-07 松下电器产业株式会社 Apparatus and method for insepecting cream solder printed on a substrate
JP2005207848A (en) * 2004-01-22 2005-08-04 Anritsu Corp Apparatus for inspecting printing solder
JP2006351724A (en) * 2005-06-14 2006-12-28 Fujitsu Ltd Device, method, and program for generating masking gerber data for solder print mask
JP2007218925A (en) * 2007-04-12 2007-08-30 Matsushita Electric Ind Co Ltd Printing inspection apparatus and printing inspection method
JP4735593B2 (en) * 2007-04-12 2011-07-27 パナソニック株式会社 Printing inspection apparatus and printing inspection method
KR101008585B1 (en) 2008-05-06 2011-01-17 충북대학교 산학협력단 Teaching data generation apparatus and its method for pcb inspection
KR101080302B1 (en) 2009-12-02 2011-11-04 충북대학교 산학협력단 Component mounting position verification apparatus and method
KR101337881B1 (en) * 2012-03-28 2013-12-06 주식회사 고영테크놀러지 Method for inspecting and generating job data of pcb inspection system
JP2013236063A (en) * 2012-03-28 2013-11-21 Koh Young Technology Inc Method for generating and inspecting task data for pcb inspection device
US8856721B2 (en) 2012-03-28 2014-10-07 Koh Young Technology Inc. Method for generating task data of a PCB and inspecting a PCB
WO2014163375A1 (en) * 2013-04-02 2014-10-09 주식회사 고영테크놀러지 Method for inspecting for foreign substance on substrate
KR20140120821A (en) * 2013-04-02 2014-10-14 주식회사 고영테크놀러지 Method of inspecting foreign substance on a board
CN104335030A (en) * 2013-04-02 2015-02-04 株式会社高永科技 Method for inspecting for foreign substance on substrate
KR101590831B1 (en) 2013-04-02 2016-02-03 주식회사 고영테크놀러지 Method of inspecting foreign substance on a board
CN104335030B (en) * 2013-04-02 2017-06-09 株式会社高永科技 The foreign matter detecting method of substrate
US10060859B2 (en) 2013-04-02 2018-08-28 Koh Young Technology Inc. Method of inspecting foreign substance on substrate

Similar Documents

Publication Publication Date Title
KR100995846B1 (en) Image processing device, image drawing device, and system
KR20130109873A (en) Method for inspecting and generating job data of pcb inspection system
JP2000124598A (en) Generating method for inspection device data
JP2022524877A (en) Stencil step design methods, systems, computer readable storage media and devices
JPH04247576A (en) Cad device for pattern design
JP4160286B2 (en) LSI pattern dimension measurement location selection method
JP2020008481A (en) Image processing apparatus, image processing method, and image processing program
JP2009170479A (en) Component library with real image of electronic component
JPH0895626A (en) Off-line teaching device for three-dimensional measuring instrument
JPH06344121A (en) Teaching method for robot
CN117151020B (en) Method and device for rapidly judging intersecting state of copper-clad shapes based on quadtree
WO2024026906A1 (en) Package polarity identifier design method and system, electronic device, and storage medium
JP3138056B2 (en) 2D measuring machine
JP4181112B2 (en) Substrate height reference point automatic setting method
JP2664784B2 (en) Method of making mask pattern for integrated circuit
JP2005260019A (en) Clearance distance measuring method and equipment thereof in design equipment of printed circuit board, program, and recording medium readable with computer
CN116385522A (en) Measurement method and device based on lightweight three-dimensional model and electronic equipment
JPH05120360A (en) Method for preparing dimension line in drawing device
JP2003241364A (en) Pattern size guarantee system for photomask
JPH04160681A (en) Inspection drawing display device
JPH01193973A (en) Interference checking method for three-dimensional shape
JPH0527822A (en) Cad/cam device
JP2840684B2 (en) Coordinate data calculation device
JPS63154905A (en) Apparatus for inspecting mounting parts
CN116090377A (en) Abnormality detection method and device for circuit board, storage medium and electronic equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050328

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050629

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080115

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080603