JPH0322498A - Method and apparatus for detecting position of guide hole of multilayer printed circuit board - Google Patents
Method and apparatus for detecting position of guide hole of multilayer printed circuit boardInfo
- Publication number
- JPH0322498A JPH0322498A JP1155864A JP15586489A JPH0322498A JP H0322498 A JPH0322498 A JP H0322498A JP 1155864 A JP1155864 A JP 1155864A JP 15586489 A JP15586489 A JP 15586489A JP H0322498 A JPH0322498 A JP H0322498A
- Authority
- JP
- Japan
- Prior art keywords
- reference hole
- image
- window
- binary image
- printed circuit
- 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
Links
Landscapes
- Length-Measuring Devices Using Wave Or Particle Radiation (AREA)
- Analysing Materials By The Use Of Radiation (AREA)
- Drilling And Boring (AREA)
- Production Of Multi-Layered Print Wiring Board (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
(イ)産業上の利用分野
本発明は、多層プリント基板にこれの基準マークを目標
として加工した基準穴の実際の座標位置を求める多層プ
リント基板の基準穴位置検出方法及び装置に関するもの
である。DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention provides a method for detecting the position of a reference hole in a multilayer printed circuit board, which determines the actual coordinate position of a reference hole machined in the multilayer printed circuit board with the reference mark thereof as a target. and devices.
(ロ)従来の技術
多層プリント基板を製造する際には、内層板に設けられ
た電気配線図形と、外層板に形成する電気配線図形とを
正確に位置合わせする必要がある。このため、内層板に
は電気配線図形の基準位置となる基準マークが設けられ
ている。この基準マーク位置に基準穴の穴あけを行ない
、基準穴を基準として外層板の電気配線図形を形成する
。内層板の基準マークは外部からは見えない。基準マー
クを肉眼で見えるようにするために、エンドミル等で座
ぐり加工を行ない、基準マークを露出させる方法がある
が、適切な深さの座ぐり加工を行なう作業は面倒であり
、作業効率が悪い。(B) Prior Art When manufacturing a multilayer printed circuit board, it is necessary to accurately align the electrical wiring pattern provided on the inner layer board with the electrical wiring pattern formed on the outer layer board. For this reason, the inner layer board is provided with a reference mark that serves as a reference position for the electrical wiring diagram. A reference hole is drilled at the position of this reference mark, and the electrical wiring pattern of the outer layer board is formed using the reference hole as a reference. The fiducial mark on the inner layer plate is not visible from the outside. In order to make the fiducial mark visible to the naked eye, there is a method of counterboring it with an end mill or the like to expose the fiducial mark, but counterboring the appropriate depth is troublesome and reduces work efficiency. bad.
このため、Xiを用いた透過像から基準マークを求める
方法がある。例えば、特開昭561 26999号公報
には、基準マークの位置を自動的に検出する方法が示さ
れている。すなわち、透過像の映像信号を2値化し、得
られる2値映像パターンとあらかじめ記憶させてある基
準マークのパターンとの一致度を全画面について求める
。For this reason, there is a method of obtaining a reference mark from a transmitted image using Xi. For example, Japanese Patent Laid-Open No. 561-26999 discloses a method for automatically detecting the position of a reference mark. That is, the video signal of the transmitted image is binarized, and the degree of coincidence between the resulting binary video pattern and the pre-stored reference mark pattern is determined for the entire screen.
この一致度が最大となる座標位置を検出することにより
基準マーク位置を求める。次いで、得られた基準マーク
位置を目標としてドリルを用いて基準穴の加工を行なう
。The reference mark position is determined by detecting the coordinate position where the degree of coincidence is maximum. Next, a drill is used to drill a reference hole using the obtained reference mark position as a target.
(ハ)発明が解決しようとする課題
上述のようにして求めた基準マーク位置を目標として基
準穴の穴あけ加工が行なわれるので、基準マーク位置と
基準穴とは一致するはずであるが、どの程度の精度で位
置が一致しているか確認する方法については上記公報な
どには示されていない。X線透過像から得られる2値画
像に基づいて基準穴に対応する2値情報の画素数を相加
平均することにより、基準穴の中心の座標を求めること
も可能であるが、基板の切粉などが付着して、得られる
基準穴の2値画像が真円でない場合には相加平均を求め
ただけでは中心位置がずれる可能性があり、正確に基準
穴の中心位置を求めることができない。本発明はこのよ
うな課題を解決することを目的としている。(c) Problems to be Solved by the Invention Since the drilling of the reference hole is performed with the reference mark position determined as described above as the target, the reference mark position and the reference hole should match, but to what extent? The above-mentioned publication does not disclose a method for confirming whether the positions match with an accuracy of . It is also possible to find the coordinates of the center of the reference hole by arithmetic averaging the number of pixels of binary information corresponding to the reference hole based on the binary image obtained from the X-ray transmission image, but If the resulting binary image of the reference hole is not a perfect circle due to the adhesion of powder, etc., the center position may shift just by calculating the arithmetic average, and it is difficult to accurately determine the center position of the reference hole. Can not. The present invention aims to solve these problems.
(二〉課題を解決するための手段
本発明は、基準穴の2値画像からこれの点対称となる点
対称2値画像を作成し、基準穴の2値画像と基準穴の点
対称2値画像との論理和を取り、これによって得られる
論埋和2値画像の基準穴の中心を求めることにより、上
記課題を解決する。(2) Means for Solving the Problems The present invention creates a point-symmetric binary image that is point-symmetrical from a binary image of a reference hole, and creates a point-symmetric binary image of the reference hole and a point-symmetric binary image of the reference hole. The above problem is solved by calculating the logical sum with the image and finding the center of the reference hole of the logical sum binary image obtained thereby.
すなわち、本発明による多層プリント基板の基準穴位置
検出方法は、基準穴の周辺位置へX線を照射し、受像カ
メラによって透過像を得る工程、得られた透過像を2値
化して2値画像を得る工程、基準穴よりも大きい枠を有
するウィンドウを2値画像内で移動させ、(a)ウィン
ドウの中心に基準穴に対応する2値情報があること、(
b)ウィンドウの枠上に基準穴に対応する2値情報がな
いこと、及び(c)ウィンドウ内に基準穴に対応ずる2
値情報の画素数が所定以上存在することの(a)〜(c
)の条件が全部満たされる位置を求める工程、上記のよ
うにして求められたウィンドウの位置におけるウィンド
ウ内の2値画像の点対称2値画像を作成する工程、ウィ
ンドウ内の2値画像と作成された点対称2値画像との一
致度の最も高い状態における論理和2値画像を作成する
工程、論理和2値画像の基準穴に対応する2値情報の画
素数のX方向及びこれに直交するY方向の相加平均値を
求める工程、ウィンドウの中心位置及び上記X方向及び
Y方向の相加平均値から基準穴中心位置の座標を求める
工程、の各工程から構成される。That is, the method for detecting the position of a reference hole in a multilayer printed circuit board according to the present invention includes the steps of irradiating X-rays to the peripheral position of the reference hole, obtaining a transmitted image using an image receiving camera, and binarizing the obtained transmitted image to create a binary image. , by moving a window with a frame larger than the reference hole within the binary image, (a) that there is binary information corresponding to the reference hole in the center of the window;
b) There is no binary information corresponding to the reference hole on the frame of the window, and (c) There is no binary information corresponding to the reference hole within the window.
(a) to (c) that the number of pixels of value information is greater than or equal to a predetermined value
), a step of creating a point-symmetric binary image of the binary image within the window at the window position determined as above, and a step of creating a point-symmetric binary image of the binary image within the window. A step of creating a logical sum binary image in a state where the degree of coincidence with the point-symmetric binary image is highest, the X direction of the number of pixels of binary information corresponding to the reference hole of the logical sum binary image, and the direction orthogonal to this The method is comprised of the steps of determining the arithmetic mean value in the Y direction, and determining the coordinates of the reference hole center position from the window center position and the arithmetic mean values in the X and Y directions.
また、上記方法を実施する本発明による多層プリント基
板の基準穴位置検出装置は、多層プリント基板(14)
にX線を照射可能なX線発生器(10)と、多層プリン
ト基板を透過したX線から透過像を得る受像カメラ(1
2)と、受像カメラによって得られた透過像を2値化す
る2値化手段(26)と、2値画像上の基準穴よりも大
きい枠(36b)を有するウィンドウ(36)をこれの
内側に基準穴の画像が包囲される位置まで移動させる基
準穴検出手段(50)と、基準穴検出手段によって検出
された位置におけるウィンドウ内の2値画像の点対称2
値画像を作成する点対称2値画像作成手段(51)と、
ウインドウ内の2値画像と点対称2値画像との一致度が
最も高い状態における論理和2値画像を作成する論理和
手段(52)と、論理和2値画像内の基準穴に対応する
2値情報の画素数のX方向及びこれに直交するY方向の
相加平均値を求める相加平均手段(54)と、ウィンド
ウの中心位置及び上記X方向及びY方向の相加平均値か
ら基準穴中心位置の座標を求める基準穴中心座標演算手
段(56)と、から構成される。なお、かっこ内の符号
は後述の実施例の対応する部材を示す。Further, the reference hole position detection device for a multilayer printed circuit board according to the present invention that implements the above method includes a multilayer printed circuit board (14).
an X-ray generator (10) that can irradiate X-rays to
2), a binarization means (26) for binarizing the transmitted image obtained by the image receiving camera, and a window (36) having a frame (36b) larger than the reference hole on the binary image. a reference hole detection means (50) for moving the image of the reference hole to a position where it is surrounded; and point symmetry 2 of the binary image within the window at the position detected by the reference hole detection means.
point-symmetric binary image creation means (51) for creating a value image;
a disjunction means (52) for creating a disjunction binary image in a state where the degree of coincidence between the binary image in the window and the point-symmetric binary image is highest; an arithmetic mean means (54) for calculating the arithmetic mean value of the number of pixels of the value information in the X direction and the Y direction perpendicular thereto; It consists of a reference hole center coordinate calculation means (56) for calculating the coordinates of the center position. Note that the symbols in parentheses indicate corresponding members in the embodiments described later.
(ホ)作用
ウィンドウ内の基準穴の2値画像からこれの点対称2値
画像(すなわち、上1左右を反転した画像)を作成し、
2値画像と点対称2値画像とが最も一致した位置で両画
像の論理和を取ることによって得られる論理和2値画像
の基準穴の画像は、これの中心に関して必ず対称な画像
となる。(e) Create a point-symmetric binary image (i.e., an image with the top 1 left and right reversed) from the binary image of the reference hole in the action window,
The image of the reference hole of the logical sum binary image obtained by taking the logical sum of the binary image and the point-symmetric binary image at the position where the two images most match is always a symmetrical image with respect to its center.
すなわち、穴あけ加工時に発生する切粉が基準穴の周囲
に付着し、見掛け上基準穴の形状が非円形となっても、
上記のようにして論理和を取ることにより基準穴の論理
和2値画像はこれの中心に関して対称となる。この対称
な基準穴の論理和2値画像か゛らX方向及びY方向の相
加平均値を演算し、これから中心位置を求めるので、基
準穴が最初から円形の場合と同様の精度で基準穴の中心
位置の座標を求めることかできる。こうして求められた
基準穴の中心の座標位置と基準マークの中心の座標位置
とから基準穴の位置精度を評価することができる。In other words, even if chips generated during drilling become attached to the periphery of the reference hole and the shape of the reference hole becomes non-circular in appearance,
By calculating the logical sum as described above, the logical sum binary image of the reference hole becomes symmetrical with respect to its center. The arithmetic mean value in the X and Y directions is calculated from this logical sum binary image of the symmetrical reference hole, and the center position is determined from this, so the center of the reference hole can be centered with the same precision as when the reference hole is circular from the beginning. You can also find the coordinates of a location. The positional accuracy of the reference hole can be evaluated from the thus determined coordinate position of the center of the reference hole and the coordinate position of the center of the reference mark.
(へ)実施例
第1図に本発明の実施例をブロック図として示す。互い
に対面するように配置されたX線発生器10及びX線用
ITVカメラ12の間の所定位置に、多層プリント基板
14が設置される。なお、X線用ITVカメラ12から
一定距離の位置に基準穴加工用のドリル13が設けられ
ている。多層プリント基板14は内層部に円形の基準マ
ーク16を有している。X線用ITVカメラ12によっ
て得られた透過像信号はADコンバータ18に送られ、
ここで256X256の画素とじて64階調にデジタル
化される。デジタル化された画像情報は画像メモリー2
0に記憶される。また、ADコンバータ18からのデジ
タル画像情報はDAコンバータ22を介してモニターテ
レビ24に送られ、これによりモニターテレビ24の画
面に透過像を映し出すことができる。画像メモリー20
に記憶されたデジタル画像情報は、2値画像変換器26
によって所定のしきい値レベルで「1」又は「0」の2
値画像に変換される。例えば、所定の明かるさよりも明
かるい画像部分は「1」とし、逆に暗い画像部分はrQ
Jとされる。これにより、例えば第2図に示すような2
値画像が得られることになる。このようにして変換され
た2値画像も画像メモリー20に記憶される。この2値
画像に基づいて、後述のようにして、基準マーク検出器
28により基準マーク16の検出が行なわれ、また重心
演算器30によって基準マーク16の重心が求められる
。更に、基準マーク中心座標演算器31により、基準マ
ーク16の座標が求められる。(F) Embodiment FIG. 1 shows an embodiment of the present invention as a block diagram. A multilayer printed circuit board 14 is installed at a predetermined position between the X-ray generator 10 and the X-ray ITV camera 12, which are arranged to face each other. Note that a drill 13 for drilling a reference hole is provided at a position a certain distance from the ITV camera 12 for X-rays. The multilayer printed circuit board 14 has a circular reference mark 16 on the inner layer. The transmission image signal obtained by the X-ray ITV camera 12 is sent to the AD converter 18,
Here, 256×256 pixels are digitized into 64 gradations. Digitized image information is stored in image memory 2
Stored as 0. Further, the digital image information from the AD converter 18 is sent to the monitor television 24 via the DA converter 22, so that a transmitted image can be displayed on the screen of the monitor television 24. Image memory 20
The digital image information stored in the binary image converter 26
2 of “1” or “0” at a predetermined threshold level by
converted to a value image. For example, an image part that is brighter than a predetermined brightness is set to "1", and a dark image part is set to rQ.
It is considered to be J. As a result, for example, two
A value image will be obtained. The binary image converted in this way is also stored in the image memory 20. Based on this binary image, the reference mark 16 is detected by the reference mark detector 28 as will be described later, and the center of gravity of the reference mark 16 is determined by the center of gravity calculator 30. Furthermore, the coordinates of the reference mark 16 are determined by the reference mark center coordinate calculator 31.
多層プリント基板14には、X線用ITVカメラ12と
所定の位置関係に設けられたドリル13によって基準穴
17が加工される。加工された基準穴17に対してもX
線用ITVカメラ12によって透過像が得られ、基準マ
ーク16の場合と同様に2値画像が得られ、これが画像
メモリー20に記憶される。この2値画像に基づいて基
準穴検出器50によって基準穴17の検出が行なわれ、
画像反転器51及び画像補正器52によって補正が行な
われた後、重心演算器54によって基準穴17の重心の
演算が行なわれる。更に、基準穴中心座標演算器56に
より基準穴17の座標が求められ、比較器58において
基準マーク16の座標と基準穴17の座標との比較が行
なわれる。A reference hole 17 is formed in the multilayer printed circuit board 14 using a drill 13 provided in a predetermined positional relationship with the X-ray ITV camera 12 . X also for the machined reference hole 17
A transmission image is obtained by the line ITV camera 12, and a binary image is obtained as in the case of the fiducial mark 16, which is stored in the image memory 20. The reference hole 17 is detected by the reference hole detector 50 based on this binary image,
After correction is performed by the image inverter 51 and the image corrector 52, the center of gravity of the reference hole 17 is calculated by the center of gravity calculator 54. Furthermore, the coordinates of the reference hole 17 are determined by the reference hole center coordinate calculator 56, and the coordinates of the reference mark 16 and the reference hole 17 are compared in the comparator 58.
次に、基準マーク検出器28、重心演算器30及び基準
マーク中心座標演算器31における基準マーク16の検
出動作について説明する。モニターテレビ24の画面に
は、例えば第3図に示すような画像が映し出される。第
3図中でハッチングを施した部分32が「O」の画素に
対応し、これ以外の部分34が「1」の画素に対応する
。このモニターテレビ24の画面上を所定の大きさの八
角形のウィンドウ36が画面左端−Eから右方向へ走査
する。走査位置は上部から下部へ1画素分ずつ移動して
いく。ウィンドウ36の移動の際、第7図に示すような
フローにより、基準マーク16の検出が行なわれる。す
なわち、ウィンドウ36の中心36aに「0」画素(す
なわち、基準マーク16に対応する2値情報)があるか
どうかを判断し(ステップ100)、これが検出される
まではウィンドウ36の移動を継続する(同140)。Next, the detection operation of the reference mark 16 in the reference mark detector 28, the center of gravity calculator 30, and the reference mark center coordinate calculator 31 will be described. For example, an image as shown in FIG. 3 is displayed on the screen of the monitor television 24. In FIG. 3, the hatched portion 32 corresponds to the "O" pixel, and the other portion 34 corresponds to the "1" pixel. An octagonal window 36 of a predetermined size scans the screen of the monitor television 24 from the left edge -E of the screen to the right. The scanning position moves one pixel at a time from the top to the bottom. When the window 36 is moved, the reference mark 16 is detected according to the flow shown in FIG. That is, it is determined whether there is a "0" pixel (that is, binary information corresponding to the reference mark 16) at the center 36a of the window 36 (step 100), and the movement of the window 36 is continued until this is detected. (ibid. 140).
ウィンドウ36の中心36aに「0」画素が検出された
場合には、ウィンドウ36の枠36b上に「0」画素が
あるかどうかを判断しく同110〉、「0」画素がある
場合にはウィンドウ36の移動を続行する(同140)
。If a "0" pixel is detected at the center 36a of the window 36, it is determined whether or not there is a "0" pixel on the frame 36b of the window 36. If there is a "0" pixel, the window Continue moving 36 (140)
.
ウィンドウ36の枠36b上に「0」画素かない場合に
は、ウィンドウ36内にある「0」画素の数が所定以上
であるかどうかを判断する11
1 2
(同120)。所定以上の「O」画素がない場合には、
ウィンドウ36の移動を続行する(同140)。ウィン
ドウ36内に所定以上の10」画素がある場合には、ウ
ィンドウ36の移動を停止し、rQJ画素のX方向(第
3図で横方向)及びY方向(第3図で縦方向)のそれぞ
れ相加平均値を求める(同130)。これにより、ウィ
ンドウ36内における「0」画素の重心位置、すなわち
、基準マーク16の中心位置、が求められる。ウィンド
ウ36の位置及びウィンドウ36内における基準マーク
16の中心位置が求められたので、これにより基準マー
ク16の中心位置の座標を求めることができる(同15
0)。If there is no "0" pixel on the frame 36b of the window 36, it is determined whether the number of "0" pixels within the window 36 is greater than or equal to a predetermined value 11 1 2 (120). If there are no more than a predetermined number of "O" pixels,
The movement of the window 36 is continued (140). If there are more than a predetermined 10" pixels in the window 36, the movement of the window 36 is stopped, and the rQJ pixels are moved in the X direction (horizontal direction in FIG. 3) and Y direction (vertical direction in FIG. 3), respectively. Find the arithmetic mean value (130). As a result, the position of the center of gravity of the "0" pixel within the window 36, that is, the center position of the reference mark 16 is determined. Since the position of the window 36 and the center position of the reference mark 16 within the window 36 have been determined, it is possible to obtain the coordinates of the center position of the reference mark 16 (see 15).
0).
上記動作は約0.5秒で完了することができる。The above operation can be completed in about 0.5 seconds.
上述のステップZoo,110及び120によってウィ
ンドウ36内に基準マーク16を捕えることができるこ
とは、第4、5及び6図から明らかである。すなわち、
第4図に示す位置にウィンドウ36が移動した場合には
、ステップ100は通過するもののステップ110を通
過することができない。また、第5図に示す状態におい
てもステップ110からステップ120に進むことがで
きない。第6図に示す状態において始めてステップ11
0からステップ120へ進むことができる。この場合に
はウィンドウ36内に火準マーク16が位置しているこ
とになる。なお、ステップ120で「0」画素の数を判
断するのは、不純物、汚れなどによりウィンドウ36の
中心位置にのみ「O」画素が存在したような場合に、基
準マーク16と誤認することを防止するためである。従
って、ステップ120の所定数は基準マーク16の画素
数に対応した値よりもわずかに小さい値が設定されてい
る。It is clear from FIGS. 4, 5 and 6 that the steps Zoo, 110 and 120 described above make it possible to capture the fiducial mark 16 within the window 36. That is,
When the window 36 is moved to the position shown in FIG. 4, step 100 is passed, but step 110 cannot be passed. Also, in the state shown in FIG. 5, it is not possible to proceed from step 110 to step 120. Step 11 begins in the state shown in FIG.
0, it is possible to proceed to step 120. In this case, the fire mark 16 is located within the window 36. Note that the reason for determining the number of "0" pixels in step 120 is to prevent misidentification as the reference mark 16 when "O" pixels exist only at the center position of the window 36 due to impurities, dirt, etc. This is to do so. Therefore, the predetermined number in step 120 is set to a value slightly smaller than the value corresponding to the number of pixels of the reference mark 16.
次に、上述のようにして検出された基準マーク16の座
標に対応する位置までドリル13を移動させ、多層プリ
ント基板14に基準穴17の加工を行なう。Next, the drill 13 is moved to a position corresponding to the coordinates of the reference mark 16 detected as described above, and a reference hole 17 is formed in the multilayer printed circuit board 14.
加工された基準穴17の座標は基準穴検出器50、画像
反転器51、画像補正器52、重心演算器54及び基準
穴中心座標演算器56により次のようにして求められる
。基準穴17加工後は、モニターテレビ24の画面に例
えば第8図に示すような画像が映し出される。第8図中
でハッチングを施した部分60がrOJの画素に対応し
、これ以外の部分62(基準穴17)が「1」の画素に
対応する。このモニターテレビ24の画面上を前述と同
様の8角形のウィンドウ36によって走査することによ
り、第9図に示すフローにより基準穴17の位置を検出
する。なお、第9図に示すフローは、第7図に示したフ
ローとは「0」と「1」とが逆となっているだけで基本
的には同様のものである。これは、穴に対応する部分が
「1」に対応し、これ以外の部分が「0」に対応するか
らである。第9図に示すフローにより、第10図に示す
ようにウィンドウ36内に基準穴17を捕えることがで
きる。The coordinates of the processed reference hole 17 are determined by the reference hole detector 50, image inverter 51, image corrector 52, center of gravity calculator 54, and reference hole center coordinate calculator 56 as follows. After the reference hole 17 is machined, an image as shown in FIG. 8, for example, is displayed on the screen of the monitor television 24. The hatched portion 60 in FIG. 8 corresponds to the rOJ pixel, and the other portion 62 (reference hole 17) corresponds to the "1" pixel. By scanning the screen of the monitor television 24 with the same octagonal window 36 as described above, the position of the reference hole 17 is detected according to the flow shown in FIG. Note that the flow shown in FIG. 9 is basically the same as the flow shown in FIG. 7, except that "0" and "1" are reversed. This is because the portion corresponding to the hole corresponds to "1" and the other portions correspond to "0". According to the flow shown in FIG. 9, the reference hole 17 can be captured within the window 36 as shown in FIG. 10.
次に、基準穴17の画像の補正を行なう。すなわち、第
11図に示すようにウィンドウ36内の2値画像の点対
称2値画像64(すなわち、上下左右を反転した2値画
像)を作成し、これを利用して基準穴17の重心を求め
る。このためのフローを第12図に示す。まず、上述の
ように点対称2値画像64を作成し(ステップ200)
,この点対称2値画像64をモニターテレビ24内で左
端上から右側へ移動させ、右端への移動が完了すると1
画素分だけ下側へ移動し、同様に左端部から右端部へ移
動させる(第13図参照)。この動作をモニターテレビ
24内の左端上から右端下まで行なわせる(同210)
。この間、ウィンドウ36内の2値画像と点対称2値画
像64との間で各画素に対し、論理積をとり、結果がr
l」の画素数を求める(同220)。次いで、得られた
加算値の比較を行ない、加算された値が最も大きい位置
を求める(同230)。次いで、この求められた位置へ
点対称2値画像64を移動させ(第14図参照)、この
点対称2値画像64と2値画像との各画素に対して論理
和をとり、これにより、第15図に示すような論理和2
値画像を作成する(同240)。すなわち、いずれか一
方1 5
1 6
の画像の画素が「1」の場合にはこの画素は「1」とさ
れる。従って、第15図に示すような画像が得られるこ
とになる。次いで、こうして得られた論理和2値画像に
対して「1」の画素のX方向及びY方向についてそれぞ
れ相加平均値を求め、重心を算出する(同250)。こ
うして得られる重心位置とウィンドウ36の位置とから
基準穴17の中心位置の座標が求められる(同260)
。Next, the image of the reference hole 17 is corrected. That is, as shown in FIG. 11, a point-symmetric binary image 64 of the binary image in the window 36 (that is, a binary image in which the top, bottom, left, and right sides are reversed) is created, and this is used to determine the center of gravity of the reference hole 17. demand. The flow for this purpose is shown in FIG. First, a point-symmetric binary image 64 is created as described above (step 200).
, this point-symmetric binary image 64 is moved from the upper left end to the right side in the monitor television 24, and when the movement to the right end is completed, 1
It is moved downward by the amount of pixels, and similarly moved from the left end to the right end (see FIG. 13). This operation is performed from the upper left edge to the lower right edge of the monitor television 24 (210)
. During this time, a logical product is performed for each pixel between the binary image in the window 36 and the point-symmetric binary image 64, and the result is r.
The number of pixels of "l" is determined (220). Next, the obtained added values are compared and the position where the added value is the largest is determined (230). Next, the point-symmetric binary image 64 is moved to the determined position (see FIG. 14), and the logical sum is calculated for each pixel of the point-symmetric binary image 64 and the binary image. Logical sum 2 as shown in Figure 15
A value image is created (240). That is, if a pixel in one of the 1 5 1 6 images is "1", this pixel is set to "1". Therefore, an image as shown in FIG. 15 is obtained. Next, the arithmetic mean values of the "1" pixels in the X direction and the Y direction are obtained for the logical sum binary image thus obtained, and the center of gravity is calculated (250). The coordinates of the center position of the reference hole 17 are determined from the center of gravity position obtained in this way and the position of the window 36 (260)
.
次いで、比較器58において基準マーク16の座標と基
準穴17の座標とを比較することにより、実際に加工さ
れた基準穴17が基準マーク16に対してどの程度の精
度で一致しているか判定することができる。Next, the comparator 58 compares the coordinates of the reference mark 16 and the reference hole 17 to determine how accurately the actually machined reference hole 17 matches the reference mark 16. be able to.
上述のように、基準穴17の2値画像とこれの点対称2
値画像64とが最も一致した状態で論理和をとることに
より作成した論理和2値画像は必ず中心に関して対称な
図形となる。従って、基準穴17の画像が例えば基板の
穴あけ時の切粉によって部分的に非円形の画像となった
としても、画像は対称な状態に補正され、これの重心位
置は基準穴17の画像が正常な円形の場合の重心と致す
る。従って、基準穴17の中心位置を正確に検出するこ
とができる。As mentioned above, the binary image of the reference hole 17 and its point symmetry 2
A logical sum binary image created by performing a logical sum in a state where the value image 64 most closely matches the value image 64 always becomes a symmetrical figure with respect to the center. Therefore, even if the image of the reference hole 17 becomes partially non-circular due to, for example, chips from drilling holes in the board, the image is corrected to a symmetrical state, and the center of gravity of this image is determined by the image of the reference hole 17. This is the center of gravity for a normal circular shape. Therefore, the center position of the reference hole 17 can be detected accurately.
上述の実施例では、ウィンドウ36をモニターテレビ2
4上の左端上からむ端下まで移動させて基準穴17の2
値画像と点対称2値画像64とが最も一致する位置を求
めるようにしたが、第16図に示すフローのように、基
準穴17を検出した位置にあるウィンドウ36よりも所
定の寸法だけ大きい枠70(第17図参照)を設定し(
ステップ205)、この枠70内においてウィンドウ3
6を走査させ、最もー・致度の高い位置を求めるように
することもできる。これ以外の操作については前述の第
12図に示したフローと同様である。これにより、上述
の実施例と比較して画像の致度が最も高い位置を求める
ための走査時間を短縮することができる。In the embodiment described above, the window 36 is connected to the monitor television 2.
4, move it from the upper left end to the lower end, and insert the reference hole 17-2.
The position where the value image and the point-symmetric binary image 64 most match is determined, but as shown in the flow shown in FIG. Set the frame 70 (see Figure 17) (
Step 205), within this frame 70, window 3
It is also possible to scan 6 and find the position with the highest degree of accuracy. Other operations are the same as the flow shown in FIG. 12 described above. This makes it possible to shorten the scanning time for finding the position with the highest degree of image accuracy compared to the above-described embodiments.
(ト)発明の効果
以上説明してきたように、本発明によると、基準穴の2
値画像とこれの点対称2値画像との論理和をとることに
より、基準穴の中心に関して対称な図形を作成し、これ
の重心位置を求めるようにしたので、基板の切粉などに
よる画像不良の影響を受けることなく、基準穴の中心位
置の座標を求めることができる。これにより、基準穴の
位置を正確に求めることができ、基準マークとの一致度
を精密に評価することができるようになる。(g) Effects of the invention As explained above, according to the present invention, two of the reference holes
By taking the logical sum of the value image and its point-symmetric binary image, we created a symmetrical figure with respect to the center of the reference hole, and found the center of gravity of this figure, so image defects caused by chips on the board etc. The coordinates of the center position of the reference hole can be determined without being affected by the Thereby, the position of the reference hole can be accurately determined, and the degree of coincidence with the reference mark can be precisely evaluated.
第1図は本発明の実施例を示すブロック図、第2図は2
値画像を示す図、第3、4、5及び6図はそれぞれ2値
画像上をウィンドウを移動させた状態を示す図、第7図
は基準マーク座標検出のフローを示す図、第8図は基準
穴の2値画像上でウィンドウを移動させている状態を示
す図、第9図は基準穴座標検出のフローを示す図、第1
0図はウィンドウ内に基準穴を捕えた状態を示す図、第
11図はウィンドウ内の2値画像から作成した点対称z
値画像を示す図、第12図は基準穴座標を求めるフロー
を示す図、第13図は画面上で点対称2値画像を移動さ
せている状態を示す図、第14図は基準穴の2値画像と
これの点対称2値画像との最も一致度の高い状態を示す
図、第15図は第14図の論理和をとって作成した論理
和2値画像を示す図、第16図は別の実施例のフローを
示す図、第17図は画面上に設定した枠を示す図である
。
10・・・X線発生器、12・・・X線用ITVカメラ
、14・・・多層プリント基板、16・ ・基準マーク
、17・・・基準穴、20・・・画像メモリー、26・
・・2値画像変換器、28・・・マーク検出器、30・
・・重心演算器、3l・・・基準マーク中心座標演算器
、50・・・基準穴検出器、51・・・画像反転器、5
2・・・画像補正器、54・・・重心演算器、56・・
・基準穴中心座標演算器、58・・・比較器。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a block diagram showing an embodiment of the present invention.
Figures 3, 4, 5, and 6 are diagrams showing the value image, respectively, are diagrams showing the state of moving the window on the binary image, Figure 7 is a diagram showing the flow of reference mark coordinate detection, and Figure 8 is a diagram showing the flow of detecting reference mark coordinates. Figure 9 shows the state in which the window is moved on the binary image of the reference hole. Figure 9 is a diagram showing the flow of reference hole coordinate detection.
Figure 0 shows the reference hole captured in the window, and Figure 11 shows the point symmetry z created from the binary image in the window.
Figure 12 is a diagram showing the flow of determining the reference hole coordinates, Figure 13 is a diagram showing a point-symmetric binary image being moved on the screen, and Figure 14 is a diagram showing the 2-value image of the reference hole. A diagram showing the highest degree of coincidence between a value image and its point-symmetric binary image, FIG. 15 is a diagram showing a logical sum binary image created by taking the logical sum of FIG. 14, and FIG. FIG. 17, which is a diagram showing the flow of another embodiment, is a diagram showing frames set on the screen. DESCRIPTION OF SYMBOLS 10... X-ray generator, 12... ITV camera for X-rays, 14... Multilayer printed circuit board, 16... Reference mark, 17... Reference hole, 20... Image memory, 26...
・Binary image converter, 28 ・Mark detector, 30・
... Center of gravity calculator, 3l... Reference mark center coordinate calculator, 50... Reference hole detector, 51... Image inverter, 5
2... Image corrector, 54... Center of gravity calculator, 56...
- Reference hole center coordinate calculator, 58... comparator.
Claims (2)
を目標とした穴あけ加工により形成された基準穴の位置
を検出する多層プリント基板の基準穴位置検出方法にお
いて、 基準穴の周辺位置へX線を照射し、受像カメラによって
透過像を得ること、 得られた透過像を2値化して2値画像を得ること、 基準穴よりも大きい枠を有するウィンドウを2値画像内
で移動させ、(a)ウィンドウの中心に基準穴に対応す
る2値情報があること、(b)ウィンドウの枠上に基準
穴に対応する2値情報がないこと、及び(c)ウィンド
ウ内に基準穴に対応する2値情報の画素数が所定以上存
在すること、の(a)〜(c)の条件が全部満たされる
位置を求めること、 上記のようにして求められたウィンドウの位置における
ウィンドウ内の2値画像の点対称2値画像を作成するこ
と、 ウィンドウ内の2値画像と作成された点対称2値画像と
の一致度の最も高い状態における論理和2値画像を作成
すること、 論理和2値画像の基準穴に対応する2値情報の画素数の
X方向及びこれに直交するY方向の相加平均値を求める
こと、 ウィンドウの中心位置及び上記X方向及びY方向の相加
平均値から基準穴中心位置の座標を求めること、 から構成される多層プリント基板の基準穴位置検出方法
。1. In a multilayer printed circuit board reference hole position detection method that detects the position of a reference hole formed by drilling targeting a reference mark provided on the inner layer of a multilayer printed circuit board, X-rays are irradiated to the surrounding position of the reference hole. (a) Obtaining a transmitted image using an image receiving camera; Binarizing the obtained transmitted image to obtain a binary image; moving a window with a frame larger than the reference hole within the binary image; (a) (b) there is no binary information corresponding to the reference hole on the frame of the window, and (c) there is binary information corresponding to the reference hole in the window. The number of pixels in the window is greater than a predetermined value, the position where all conditions (a) to (c) are satisfied is found, and the point symmetry of the binary image within the window at the window position found as above is determined. Creating a binary image; Creating a logical sum binary image in a state where the degree of coincidence between the binary image in the window and the created point-symmetric binary image is highest; and a reference hole for the logical sum binary image. The arithmetic mean value of the number of pixels of the binary information corresponding to the X direction and the Y direction orthogonal thereto is determined, and the reference hole center position is determined from the center position of the window and the arithmetic mean value in the X direction and Y direction. A method for detecting the position of a reference hole in a multilayer printed circuit board, comprising: determining coordinates.
、多層プリント基板を透過したX線から透過像を得る受
像カメラと、受像カメラによって得られた透過像を2値
化する2値化手段と、2値画像上の基準穴よりも大きい
枠を有するウィンドウをこれの内側に基準穴の画像が包
囲される位置まで移動させる基準穴検出手段と、基準穴
検出手段によって検出された位置におけるウィンドウ内
の2値画像の点対称2値画像を作成する点対称2値画像
作成手段と、ウィンドウ内の2値画像と点対称2値画像
との一致度の最も高い状態における論理和2値画像を作
成する論理和手段と、論理和2値画像内の基準穴に対応
する2値情報の画素数のX方向及びこれに直交するY方
向の相加平均値を求める相加平均手段と、ウィンドウの
中心位置及び上記X方向及びY方向の相加平均値から基
準穴中心位置の座標を求める基準穴中心座標演算手段と
から構成される多層プリント基板の基準穴位置検出装置
。2. An X-ray generator capable of irradiating X-rays to a multilayer printed circuit board, an image receiving camera that obtains a transmitted image from the X-rays transmitted through the multilayer printed circuit board, and a binarization means that binarizes the transmitted image obtained by the image receiving camera. a reference hole detection means for moving a window having a frame larger than the reference hole on the binary image to a position where the image of the reference hole is surrounded by the window; and a window at the position detected by the reference hole detection means. a point-symmetric binary image creating means for creating a point-symmetric binary image of a binary image within a window; and a logical sum binary image in a state where the degree of coincidence between the binary image within the window and the point-symmetric binary image is highest. an arithmetic mean means for calculating the arithmetic mean value of the number of pixels of the binary information corresponding to the reference hole in the disjunctive binary image in the X direction and in the Y direction perpendicular thereto; A reference hole position detecting device for a multilayer printed circuit board, comprising a center position and a reference hole center coordinate calculating means for determining the coordinates of the reference hole center position from the arithmetic mean value in the X direction and the Y direction.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1155864A JPH077868B2 (en) | 1989-06-20 | 1989-06-20 | Method and apparatus for detecting reference hole position of multilayer printed circuit board |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1155864A JPH077868B2 (en) | 1989-06-20 | 1989-06-20 | Method and apparatus for detecting reference hole position of multilayer printed circuit board |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0322498A true JPH0322498A (en) | 1991-01-30 |
| JPH077868B2 JPH077868B2 (en) | 1995-01-30 |
Family
ID=15615175
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1155864A Expired - Lifetime JPH077868B2 (en) | 1989-06-20 | 1989-06-20 | Method and apparatus for detecting reference hole position of multilayer printed circuit board |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH077868B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0539649A (en) * | 1991-08-06 | 1993-02-19 | Gantan Beauty Kogyo Kk | Double thatched roof |
| JPH07132405A (en) * | 1993-11-09 | 1995-05-23 | Seikosha Co Ltd | X-ray boring device and boring method using x-ray |
-
1989
- 1989-06-20 JP JP1155864A patent/JPH077868B2/en not_active Expired - Lifetime
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0539649A (en) * | 1991-08-06 | 1993-02-19 | Gantan Beauty Kogyo Kk | Double thatched roof |
| JPH07132405A (en) * | 1993-11-09 | 1995-05-23 | Seikosha Co Ltd | X-ray boring device and boring method using x-ray |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH077868B2 (en) | 1995-01-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3051279B2 (en) | Bump appearance inspection method and bump appearance inspection device | |
| JP2010117632A (en) | Method and device for detecting alignment mark | |
| JPH04152048A (en) | Automatic punching method for reference mark position of multilayer printed board | |
| JPH0322498A (en) | Method and apparatus for detecting position of guide hole of multilayer printed circuit board | |
| JPH02170595A (en) | Reference mark position automatic detecting method of multilayer printed board | |
| JPH11307567A (en) | Manufacturing method of semiconductor device having bump inspection step | |
| JP3187252B2 (en) | Pattern outline inspection device | |
| JP3123275B2 (en) | Inspection data creation method for electronic parts shortage inspection | |
| JP3260425B2 (en) | Pattern edge line estimation method and pattern inspection device | |
| JP3519239B2 (en) | Object rotation angle detection method | |
| JPS5821110A (en) | Inspecting device for pattern | |
| JP3046421B2 (en) | Electronic component mounting method and device | |
| JP2002252471A (en) | X-ray detecting method for reference mark of multilayer laminated board | |
| JP2005038178A (en) | Inspection mark inspection equipment for inspection object | |
| JPH06260794A (en) | Method and equipment for recognizing position of electronic part | |
| JP2000097882A (en) | X-ray inspection method and X-ray inspection apparatus | |
| JPH0367567B2 (en) | ||
| JPH05306913A (en) | Inspection method for soldering state of rectangular chips | |
| JPH09106459A (en) | Position deviation inspecting method for electronic parts | |
| JP2971793B2 (en) | Position detection device | |
| JPS62182809A (en) | Teaching method for reference circuit board data of automatic inspecting device | |
| JPS6177707A (en) | Direction determination device for semiconductor integrated circuit devices | |
| JPS63282605A (en) | position detection device | |
| JPH05107030A (en) | A method for determining the center position of an object having a missing portion | |
| JPH02219183A (en) | Recognizing device for position of object |