JP4275541B2 - Wiring check method for printed wiring board, wiring check program for realizing this wiring check method, and recording medium recording this wiring check program - Google Patents
Wiring check method for printed wiring board, wiring check program for realizing this wiring check method, and recording medium recording this wiring check program Download PDFInfo
- Publication number
- JP4275541B2 JP4275541B2 JP2004014729A JP2004014729A JP4275541B2 JP 4275541 B2 JP4275541 B2 JP 4275541B2 JP 2004014729 A JP2004014729 A JP 2004014729A JP 2004014729 A JP2004014729 A JP 2004014729A JP 4275541 B2 JP4275541 B2 JP 4275541B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- wiring board
- printed wiring
- raster
- graphic element
- 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.)
- Expired - Fee Related
Links
Images
Description
本発明は、CAD(キャド)を用いたプリント配線板の設計時に、配線内容を回路図と比較する場合や、アートワーク編集作業前後の作業の正しさおよび作業内容を検証する場合等に用いられるプリント配線板の配線チェック方法およびこの配線チェック方法を実現するための配線チェックプログラムに関する。 The present invention is used to compare the wiring contents with a circuit diagram at the time of designing a printed wiring board using CAD (cad), or to verify the correctness and work contents before and after the artwork editing work. The present invention relates to a wiring check method for a printed wiring board and a wiring check program for realizing the wiring check method.
一般に、プリント配線板の配線の引き回しを検討し設計するアートワーク設計の段階において、その配線の引き回しが、元の回路図上で表現されていた配線と比べて誤りが無いか否かを比較する手段、またはCADに最初に入力された配線の接続関係に関する情報が適切であるか否かを判定する手段として、多くのCADシステムにネット比較機能が搭載されている。 In general, at the stage of the artwork design, where the wiring routing of the printed wiring board is examined and designed, the wiring routing is compared with whether or not there is an error compared to the wiring represented on the original circuit diagram. Many CAD systems are equipped with a net comparison function as a means for determining whether or not the information regarding the connection relation of the wiring first input to the CAD is appropriate.
CADのアートワーク編集機能の一部として、引き回された配線のパターン、部品ランドおよび端子の位置、ならびに接続経路を、CADシステムを構成するコンピュータ内に仮想的に設けられた座標空間上のデータとして表現する機能があり、この機能を利用して配線の接続関係を計算することによって前記ネット比較機能を実現している。 As part of the CAD artwork editing function, the routed wiring pattern, the positions of the component lands and terminals, and the connection path data in the coordinate space virtually provided in the computer constituting the CAD system The net comparison function is realized by calculating the connection relation of the wirings using this function.
しかしながら、このネット比較機能は、CADシステム上にある回路図とネットとして使用される接続情報とを元に作成した、アートワーク設計後のデータ(即ち、アートワークデータ)から確認できる接続情報を比較することで実現されているため、1つのシステム上で、回路図からアートワーク設計を行うことを前提としており、前記ネット比較機能は回路設計者向けの機能である。 However, this net comparison function compares the connection information that can be confirmed from the data after designing the artwork (that is, the artwork data) created based on the circuit diagram on the CAD system and the connection information used as the net. Therefore, it is assumed that an artwork is designed from a circuit diagram on one system, and the net comparison function is a function for circuit designers.
一方、プリント配線板の製造業者においても、アートワークの設計および編集を行うが、回路設計者が前記CADシステムを使用して行った回路設計の続きとして行うものではなく、両者がそれぞれ実施するアートワークの設計および編集事情は、互いに大きく異なっている。 On the other hand, the printed wiring board manufacturer also designs and edits artwork, but this is not a continuation of the circuit design performed by the circuit designer using the CAD system. The design and editing circumstances of the work are very different from each other.
具体的には、回路図に関する情報やプリント配線板上に搭載される部品に関する情報が、その回路設計者たる発注主からプリント配線板の製造業者へ、アートワークデータとセットで渡されることは極めてまれである。ほとんどの場合、プリント配線板上に形成される導体の幾何学的形状データである、配線の引き回しを単なる直線または円弧で表現した図形データのみが、アートワークデータとして、発注主からプリント配線板の製造業者へ渡されるだけである。そして、プリント配線板の製造業者は、このような状態で、プリント配線板の発注主から指示された配線の引き回しおよび接続関係の変更といった編集作業や、製造に必要なメッキリードの付加といった編集作業、ならびにその他の編集作業を行う。 Specifically, information about circuit diagrams and information about components mounted on printed wiring boards are extremely handed over to the printed wiring board manufacturer from the circuit designer as a set along with artwork data. It is rare. In most cases, only the geometrical data of the conductor formed on the printed wiring board, which is the graphic data expressing the routing of the wiring with simple lines or arcs, is used as artwork data from the orderer to the printed wiring board. It is only passed to the manufacturer. In such a state, the manufacturer of the printed wiring board, in such a state, edits such as wiring routing and connection change instructed by the orderer of the printed wiring board, and editing work such as addition of plating leads necessary for manufacturing. , As well as other editing tasks.
この際、問題となるのは、これらの編集作業によって、誤った配線を行う可能性があることである。例えば、配線Aと配線Bとは本来独立したパターンであるが、何かの編集作業のミスで、これらの配線をつないでしまうといった問題が生じる場合がある。しかしながら、元の回路図や接続情報が無いため、このようなミスを犯した場合、チェックが非常に難しい。 At this time, the problem is that there is a possibility that incorrect wiring is performed by these editing operations. For example, although the wiring A and the wiring B are originally independent patterns, there may be a problem that these wirings are connected due to an error in editing work. However, since there is no original circuit diagram or connection information, it is very difficult to check if such a mistake is made.
このような問題の対策として、一部のCADシステムでは、一般に逆ネット抽出機能と呼ばれる機能が採用されており、例えば、特開昭63−188267号公報に開示されているメッキリード付プリント配線板用のパターンフィルム作成用データ検査方法等が逆ネット抽出機能を実現するための方法として提案されている。 As a countermeasure against such a problem, in some CAD systems, a function generally called reverse net extraction function is adopted. For example, a printed wiring board with a plating lead disclosed in Japanese Patent Laid-Open No. Sho 63-188267. A data inspection method for creating a pattern film has been proposed as a method for realizing the reverse net extraction function.
この逆ネット抽出機能は、一般に、(1)アートワークデータが円弧や直線といった図形要素の始終点座標と、アパーチャという線幅と、形状をもつベクターとで構成されていることと、(2)これら始終点座標と線幅とベクターとが互いに明確な交点や接続点をもっていることと、(3)端子やランド部分を示すデータが、フラッシュデータで表現されているというようなフォト形式のデータで作成されていることとを前提として、端子やランドが互いにどのように電気的につながっているかを探索するものである。 This reverse net extraction function generally includes (1) that artwork data is composed of start and end coordinates of graphic elements such as arcs and straight lines, a line width called an aperture, and a vector having a shape, and (2) These start and end coordinates, line widths, and vectors have clear intersections and connection points with each other, and (3) data in photo format such that data indicating terminals and land portions is represented by flash data. On the premise that it has been created, it is a search for how the terminals and lands are electrically connected to each other.
このフォト形式のデータで作成されている端子やランド部分を示すデータの一例として、フォト形式のデータで作成されているランド部分を示すデータについて、図面を参照しつつ説明する。 As an example of data indicating terminals and land portions created with the photo format data, data indicating land portions created with the photo format data will be described with reference to the drawings.
図10は、フォト形式のデータで作成されているランド部分を示すデータの一例を示す説明図である。 FIG. 10 is an explanatory diagram showing an example of data indicating a land portion created with photo format data.
ここでは、図示されているように、プリント配線板100上に第1ランド101と第2ランド102とこれら第1ランド101および第2ランド102をつなぐ配線103とが配置されている様子が、フォト形式で示されている。
Here, as shown, the
第1ランド101は、縦1mm、横2mmの矩形のランドであり、第2ランド102は、長径2.0mm、短径1.5mmの長円形のランドであり、配線103は、第1ランド101および第2ランド102間をつなぐ、L字型に曲った線幅0.5mmのパターンである。
The
CADデータ的には、第1ランド101は、縦1mm、横2mmの矩形のアパーチャのフラッシュデータで表現されており、第2ランド102は、長径2mm、短径1.5mmの長円形のアパーチャのフラッシュデータで表現されており、配線103は、直径0.5mmの円形のアパーチャを用いて、直線の図形要素103a,103cと1/4円弧状の図形要素103bとで表現されている。なお、ここでは説明を省略したが、各々の図形要素(フラッシュデータ、直線の図形要素、円弧状の図形要素)はその位置がCAD上の座標で表現されていることはいうまでもない。
In terms of CAD data, the
前述した逆ネット抽出機能では、このようなフォト形式のデータを使って端子やランドが互いにどのように電気的につながっているかを探索することによって、編集作業前後の接続経路を比較し、行った編集作業が正しかったか否かを検証している。
しかしながら、従来提供されている逆ネット抽出機能には、以下の2つの問題があった。 However, the conventional reverse net extraction function has the following two problems.
(1)パターン(図形要素)が輪郭形式で表現されている場合には、逆ネットが抽出できない。 (1) When a pattern (graphic element) is expressed in a contour format, an inverse net cannot be extracted.
(2)端子およびランド部がフラッシュデータで表現されていない場合には、端子およびランドとしてそこに関連する接続情報を取得できない。また、それによって、パターンが変化しても解らない。 (2) When terminals and lands are not represented by flash data, connection information related to the terminals and lands cannot be acquired. Also, it does not understand even if the pattern changes.
本発明は係る実情に鑑みてなされたもので、その目的は、アートワークデータを一旦ラスタライズした上で、これを図形処理して接続情報を抽出することによって、ラスタライズしたデータを再度ベクタ化することができることにより、元のデータ形態に関係なく、ネットを安定して抽出できるプリント配線板の配線チェック方法およびこの配線チェック方法を実現するための配線チェックプログラムを提供することにある。 The present invention has been made in view of the actual situation, and its purpose is to once rasterize artwork data and then graphic-process it to extract connection information to thereby vectorize the rasterized data again. Therefore, it is an object of the present invention to provide a wiring check method for a printed wiring board that can stably extract a net regardless of the original data form, and a wiring check program for realizing this wiring check method.
上記課題を解決するため、本発明のプリント配線板の配線チェック方法は、キャド上において、プリント配線板の配線に関するアートワーク編集作業時に実施されるプリント配線板の配線チェック方法であって、アートワークデータを、キャドシステムの一部分を構成するコンピュータのメモリ上にラスタ展開するラスタ展開工程と、ラスタ展開により得られたラスタデータが示すイメージから1つの図形要素を選択し、この図形要素の中心線を割り出す中心線割り出し工程と、割り出した中心線の端点座標をピンとして認識するピン認識工程と、認識したピン同士の接続関係を検索する接続関係検索工程とを含んでなり、ラスタ展開の対象となるキャドデータが輪郭形式のデータである場合に、このキャドデータが示す、閉曲線で構成された個々のパターンについて内外判定を行う工程と、輪郭形式のデータをコンピュータのメモリ上にラスタ展開する工程と、内外判定結果を用いて、閉曲線内部を塗りつぶしする工程とからなるラスタ展開法を実施し、プリント配線板上に形成されるパターンの輪郭線を示す閉曲線を構成する複数の図形要素のうちの1つの図形要素の近傍に仮想点を発生させる工程と、その仮想点を通る水平線または垂直線とパターンの輪郭線を示す閉曲線を構成する全図形要素との交点について、前記仮想点から前記水平線または垂直線の一端部までの間にある交点の数と前記仮想点から前記水平線または垂直線の他端部までの間にある交点の数とを計算する工程と、計算された交点の数が奇数であるか偶数であるかによって、仮想点が図形要素の内部にあるかそれとも外部にあるかを判定する工程とを含んでいるものである。
また、ラスタ展開の対象となるキャドデータがフォト形式のデータと輪郭形式のデータとの混合形式のデータである場合に、フォト形式のデータ部分と輪郭形式のデータ部分とにキャドデータを分離し、フォト形式のデータと輪郭形式のデータとを別々にラスタ展開して2つのラスタデータを得た後、これら2つのラスタデータを合成する工程を含んでいるものであってもよい。
In order to solve the above problems, a printed wiring board wiring check method according to the present invention is a printed wiring board wiring check method that is performed when editing artwork related to wiring of a printed wiring board on a CAD. One graphic element is selected from a raster expansion process for rasterizing data onto a memory of a computer constituting a part of the CAD system, and an image indicated by the raster data obtained by raster expansion, and the center line of this graphic element is selected. It includes a centerline indexing step for indexing, a pin recognition step for recognizing the end point coordinates of the determined centerline as a pin, and a connection relationship search step for searching for a connection relationship between the recognized pins, and is subject to raster development. When the cad data is contour format data, it is composed of the closed curve indicated by this cad data. A raster development method is implemented which includes a step of performing inside / outside determination for each pattern, a step of rasterizing contour format data on a computer memory, and a step of filling the inside of a closed curve using the inside / outside determination result, A step of generating a virtual point in the vicinity of one of a plurality of graphic elements constituting a closed curve indicating a contour line of a pattern formed on a printed wiring board, and a horizontal line or a vertical line passing through the virtual point; For the intersections with all graphic elements constituting the closed curve indicating the contour of the pattern, the number of intersections between the virtual point and one end of the horizontal line or vertical line, and the horizontal line or vertical line from the virtual point Depending on the process of calculating the number of intersections between the edges and whether the calculated number of intersections is odd or even, the virtual point is inside the graphic element. Or or in which and a step of determining whether the outside.
In addition, when the cad data to be rasterized is data in a mixed format of photo format data and contour format data, the cad data is separated into a photo format data portion and a contour format data portion, after obtaining the photo format data and outline format data and two raster data are separately rasterized to be I der those containing a step of synthesizing the two raster data.
また、上記構成において、前記ラスタ展開工程、中心線割り出し工程、ピン認識工程および接続関係検索工程を、アートワーク編集作業の前後で実施して2つの結果を取得し、取得したこれら2つの結果を比較してアートワーク編集作業の前後で接続関係が変化しているかいないかを確認するといったものであってもよい。 In the above configuration, the raster development process, the center line indexing process, the pin recognition process, and the connection relation search process are performed before and after the artwork editing work to obtain two results, and these two results are obtained. For comparison, it may be confirmed whether the connection relationship has changed before and after the artwork editing work.
本発明の配線チェックプログラムは、前述のプリント配線板の配線チェック方法のいずれか1つを実現するためのものであり、コンピュータ読み取り可能な記録媒体等に記録して提供される。 The wiring check program of the present invention is for realizing any one of the above-described wiring check methods for a printed wiring board, and is provided by being recorded on a computer-readable recording medium or the like.
本発明のプリント配線板の配線チェック方法は、キャド上において、プリント配線板の配線に関するアートワーク編集作業時に実施されるプリント配線板の配線チェック方法であって、アートワークデータを、キャドシステムの一部分を構成するコンピュータのメモリ上にラスタ展開するラスタ展開工程と、ラスタ展開により得られたラスタデータが示すイメージから1つの図形要素を選択し、この図形要素の中心線を割り出す中心線割り出し工程と、割り出した中心線の端点座標をピンとして認識するピン認識工程と、認識したピン同士の接続関係を検索する接続関係検索工程とを含んでなるものであるため、機械的に配線チェック処理を実施でき、従来の方法に比べて、早く、確実にチェックでき、さらに、回路図やネット情報が無い状態でもネットによる確実な配線チェックができる。さらに、ラスタ展開の対象となるキャドデータが輪郭形式のデータである場合に、このキャドデータが示す、閉曲線で構成された個々のパターンについて内外判定を行う工程と、輪郭形式のデータをコンピュータのメモリ上にラスタ展開をする工程と、内外判定結果を用いて、閉曲線内部を塗りつぶしする工程とからなるラスタ展開法を実施するといったものであるため、容易にパターンを認識することができる。またさらに、プリント配線板上に形成されるパターンの輪郭線を示す閉曲線を構成する複数の図形要素のうちの1つの図形要素の近傍に仮想点を発生させる工程と、その仮想点を通る水平線または垂直線とパターンの輪郭線を示す閉曲線を構成する全図形要素との交点について、前記仮想点から前記水平線または垂直線の一端部までの間にある交点の数と前記仮想点から前記水平線または垂直線の他端部までの間にある交点の数とを計算する工程と、計算された交点の数が奇数であるか偶数であるかによって、仮想点が図形要素の内部にあるかそれとも外部にあるかを判定する工程とを含んでいるといったものであるため、容易にパターンを抽出することができる。
また、ラスタ展開の対象となるキャドデータがフォト形式のデータと輪郭形式のデータとの混合形式のデータである場合に、フォト形式のデータ部分と輪郭形式のデータ部分とにキャドデータを分離し、フォト形式のデータと輪郭形式のデータとを別々にラスタ展開して2つのラスタデータを得た後、これら2つのラスタデータを合成する工程を含んでいるといったものである場合には、元のデータ形式が、フォト形式であるか、輪郭形式であるか、それともその混合であるか否かを問わず、逆ネット抽出ができ、配線のチェックができる。
A printed wiring board wiring check method according to the present invention is a printed wiring board wiring check method that is performed at the time of editing artwork related to wiring of a printed wiring board on a CAD. Raster development process for raster development on a memory of a computer constituting the computer, a center line indexing process for selecting one graphic element from an image indicated by raster data obtained by raster expansion, and calculating a center line of the graphic element; Since it includes a pin recognition process that recognizes the end point coordinates of the calculated center line as a pin and a connection relation search process that searches for the connection relation between the recognized pins, the wiring check process can be performed mechanically. Compared with the conventional method, it can be checked quickly and reliably, and there is no circuit diagram or net information. But it is reliable wiring check by the net. Further, when the CAD data to be rasterized is contour format data, a step of performing inside / outside determination for each pattern constituted by the closed curve indicated by the CAD data, and the contour format data are stored in the computer memory. Since the raster development method includes the step of raster development above and the step of painting the inside of the closed curve using the inside / outside determination result, the pattern can be easily recognized. Still further, a step of generating a virtual point in the vicinity of one of the plurality of graphic elements constituting the closed curve indicating the contour line of the pattern formed on the printed wiring board, and a horizontal line passing through the virtual point or The number of intersections between the virtual point and one end of the horizontal line or the vertical line and the horizontal line or vertical from the virtual point with respect to the intersection of the vertical line and all graphic elements constituting the closed curve indicating the contour line of the pattern Depending on whether the number of intersections between the other ends of the line is calculated and whether the calculated number of intersections is odd or even, the virtual point is inside or outside the graphic element A process for determining whether or not there is a pattern, and thus a pattern can be easily extracted .
In addition, when the cad data to be rasterized is data in a mixed format of photo format data and contour format data, the cad data is separated into a photo format data portion and a contour format data portion, When the raster data is separately rasterized from the data in the photo format and the data in the contour format to obtain two raster data , the original data is included in the case of including a process of combining the two raster data. Regardless of whether the format is a photo format, a contour format, or a mixture thereof, reverse net extraction can be performed and wiring can be checked.
また、前記ラスタ展開工程、中心線割り出し工程、ピン認識工程および接続関係検索工程を、アートワーク編集作業の前後で実施して2つの結果を取得し、取得したこれら2つの結果を比較してアートワーク編集作業の前後で接続関係が変化しているかいないかを確認するといったものである場合には、アートワーク編集作業の前後で接続関係が変化しているか否かを確実にチェックできる。 Further, the raster development process, the center line determination process, the pin recognition process and the connection relation search process are performed before and after the artwork editing work to obtain two results, and these two results are compared to create an art. In the case of checking whether or not the connection relationship has changed before and after the work editing work, it can be reliably checked whether or not the connection relationship has changed before and after the artwork editing work.
本発明の配線チェックプログラムおよび記録媒体は、前述のプリント配線板の配線チェック方法のいずれか1つを実現するためのものであるため、機械的に配線チェック処理を実施でき、従来の方法に比べて、早く、確実にチェックでき、さらに、回路図やネット情報が無い状態でもネットによる確実な配線チェックができる。 Since the wiring check program and recording medium of the present invention are for realizing any one of the above-described printed wiring board wiring check methods, the wiring check processing can be performed mechanically, compared with the conventional method. In addition, it can be checked quickly and reliably, and even if there is no circuit diagram or net information, it can be surely checked by the net.
以下、本発明の実施の形態について、図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.
以下、本発明の実施例1を図面を参照して説明する。
図8は、アートワーク編集作業を実施する前の、CAD上で保持されているアートワークデータのイメージの一例を示す説明図であり、図9は、プリント配線板の注文主からの指示やその他の理由に基づきアートワーク編集作業を実施した後の、CAD上で保持されているアートワークデータのイメージの一例を示す説明図である。 FIG. 8 is an explanatory diagram showing an example of an image of artwork data held on the CAD before the artwork editing work is performed, and FIG. 9 is an instruction from the orderer of the printed wiring board and others. It is explanatory drawing which shows an example of the image of the artwork data currently hold | maintained on CAD after implementing artwork edit work based on the reason.
アートワーク編集作業を実施する前の状態では、図8に示すように、プリント配線板10上に配置されている図形要素は、第1ランド1と、第2ランド2と、これら第1ランド1および第2ランド2を接続している1本の配線3とである。配線3は、図面において上方に配置されている第1ランド1と下方に配置されている第2ランド2との間を接続している3本の直線の図形要素3a,3b,3cからなる。直線の図形要素3aは、長さ方向が上下方向に平行になるように配置されており、上端部が第1ランド1に接続されている。直線の図形要素3bは、長さ方向が左右方向に平行になるように配置されており、左側端部が第1ランド1の下端部に接続されている。直線の図形要素3cは、長さ方向が上下方向に平行になるように配置されており、上端部が直線の図形要素3bの右側端部に接続され、下端部が第2ランド2に接続されている。
In a state before the artwork editing work is performed, as shown in FIG. 8, the graphic elements arranged on the printed
また、アートワーク編集作業を実施した後の状態では、図9に示すように、プリント配線板10上に配置されている図形要素は、第1ランド1と、第2ランド2と、これら第1ランド1および第2ランド2を接続している1本の配線13とである。配線13は、図面において上方に配置されている第1ランド1と下方に配置されている第2ランド2との間を接続している10本の直線の図形要素13a,13b,13c,13d,13e,13f,13g,13h,13i,13jからなる。直線の図形要素13aは、長さ方向が上下方向に平行になるように配置されており、下端部が第1ランド1に接続されている。直線の図形要素13bは、長さ方向が左右方向に平行になるように配置されており、左側端部が直線の図形要素13aの上端部に接続されている。直線の図形要素13cは、長さ方向が左上から右下方向に向けて所定の角度で傾くように配置されており、上端部が直線の図形要素13bの右側端部に接続されている。直線の図形要素13dは、長さ方向が右上から左下方向に向けて所定の角度で傾くように配置されており、上端部が直線の図形要素13cの下端部に接続されている。直線の図形要素13eは、長さ方向が上下方向に平行になるように配置されており、上端部が直線の図形要素13dの下端部に接続されている。直線の図形要素13fは、長さ方向が左右方向に平行になるように配置されており、左側端部が直線の図形要素13eの下端部に接続されている。直線の図形要素13gは、長さ方向が上下方向に平行になるように配置されており、上端部が直線の図形要素13fの右側端部に接続されている。直線の図形要素13hは、長さ方向が左右方向に平行になるように配置されており、右側端部が直線の図形要素13gの下端部に接続されている。直前の図形要素13iは、長さ方向が上下方向に平行になるように配置されており、下端部が直線の図形要素13hの左側端部に接続されている。直前の図形要素13jは、長さ方向が左右方向に平行になるように配置されており、右側端部が直線の図形要素13iの上端部に接続され、左側端部が第2ランド2に接続されている。
Further, in the state after the artwork editing work is performed, as shown in FIG. 9, the graphic elements arranged on the printed
アートワーク編集作業を実施する前の状態とアートワーク編集作業を実施した後の状態とを比較すると、いずれの状態においても1本の配線3または1本の配線13が第1ランド1と第2ランド2とを接続しており、第1ランド1と第2ランド2との間の接続関係は変わっていない。しかしながら、配線3の経路が配線13の経路に変わったため、一目では、編集後の結果が正しいか否か判断できない。図8および図9では、説明のため、パターン(即ち、プリント配線板10上に配置されている図形要素)を簡略化してあるが、実際のプリント配線板では、非常に多くのパターンが密集して配置されており、このような状態で、経路の変更等を目視等といった方法で確認することは困難であり、手間がかかる。
Comparing the state before the artwork editing work and the state after the artwork editing work are compared, in either state, one
しかしながら、本発明によれば、編集作業を実施する前の図8に示す状態と編集作業を実施した後の図9に示す状態とに関して、以下に説明する手順でそれぞれ逆ネット抽出を行い、2つの逆ネット抽出結果を比較することで、編集作業を実施した後も接続状態が変わっていないことを機械的にチェックすることができ、手間や時間の削減になり、その結果、チェックの信頼性が大きく向上する。 However, according to the present invention, reverse net extraction is performed by the procedure described below for the state shown in FIG. 8 before the editing work and the state shown in FIG. 9 after the editing work, respectively. By comparing two reverse net extraction results, it is possible to mechanically check that the connection status has not changed even after the editing work has been performed, which reduces labor and time, and as a result, the reliability of the check Is greatly improved.
以下に、本発明のプリント配線板の配線チェック方法について図面を参照しつつ述べる。 The wiring check method for a printed wiring board according to the present invention will be described below with reference to the drawings.
図1は、本発明のプリント配線板の配線チェック方法の一実施例を示すフローチャートである。図2は、図1に示すプリント配線板の配線チェック方法の説明に用いたパターンの一例を示す説明図である。なお、説明のため、パターンは2本だけと非常に簡略化してあるが、本発明のプリント配線板の配線チェック方法の逆ネット抽出手順は多くの配線パターンを含む実際のプリント配線板でも全く同じ手順で実施することができる。 FIG. 1 is a flowchart showing an embodiment of a wiring check method for a printed wiring board according to the present invention. FIG. 2 is an explanatory diagram showing an example of a pattern used for explaining the wiring check method for the printed wiring board shown in FIG. For the sake of explanation, the number of patterns is very simplified to only two, but the reverse net extraction procedure of the wiring check method of the printed wiring board of the present invention is exactly the same for an actual printed wiring board including many wiring patterns. It can be implemented in the procedure.
図2に示されているように、四角形のプリント配線板10上には、第1パターン4と第2パターン5とが配置されている。これら第1パターン4および第2パターン5は、左右隣り合わせの状態で配置されており、さらに、長さ方向が上下方向に平行になるように配置された帯状の図形要素と、この帯状の図形要素の上端部および下端部にその一部分が重なる状態で配置されている円形状の図形要素とを組み合わせた形状を備えている。
As shown in FIG. 2, the
本実施例においては、データは輪郭形式で作成されている。この輪郭形式データは、線幅の無い直線や円弧を用いて、パターンの外周を囲む閉曲線を表現する形式のデータであり、ここでは、この閉曲線の中が、完成後のプリント配線板における導体部分を示しているものとする。 In this embodiment, the data is created in a contour format. This contour format data is data in a format that expresses a closed curve that surrounds the outer periphery of the pattern using straight lines or arcs having no line width. Here, the closed curve is a conductor portion in a printed wiring board after completion. It shall be shown.
まず、最初に、以下に記載する第1工程〜第4工程を実施して、データのクリーンアップを行う。これら第1工程〜第4工程は、パターンを構成する閉曲線が完全に一筆書きになっていることを保証するために行う作業であり、データの素性や状態によっては、適時、これら第1工程〜第4工程の一部分または全部を省略することができる。一方、必要に応じて、これら第1工程〜第4工程を部分的に組み合わせたり、またはこれら第1工程〜第4工程を複数回実行したりする場合がある。 First, first to fourth steps described below are performed to clean up data. These 1st process-4th process are the work performed in order to ensure that the closed curve which comprises a pattern is drawn with one stroke, and depending on the feature and state of data, these 1st process- Part or all of the fourth step can be omitted. On the other hand, if necessary, the first to fourth steps may be partially combined, or the first to fourth steps may be executed a plurality of times.
第1工程では円弧の座標を確認する(ステップS1)。 In the first step, the coordinates of the arc are confirmed (step S1).
一部のCADシステムにおいては、データの始終点や中心座標を数mmまたは数μmの単位のグリッドにのせてもっている場合がある。さらに、内部処理での有効桁数等、ある一定の幅の誤差を含む場合もある。また、アートワークデータの受け渡しの一般的データフォーマットであるガーバー等では、円弧は始点と終点と中心との座標で表現されており、これらの座標が個別に上記のような誤差を含むため、これら3つの座標が必ずしも三角関数的に整合しているとは限らない。従って、このような誤差を含んだまま、以降のプロセスを行うと、結果に誤りが出る可能性が有るため、この第1工程にて、円弧の始終点と中心座標の関係を再計算して、整合性を取る。 In some CAD systems, data start and end points and center coordinates may be placed on a grid of units of several mm or several μm. Furthermore, an error with a certain width such as the number of significant digits in internal processing may be included. In Gerber, which is a general data format for transferring artwork data, arcs are represented by the coordinates of the start point, end point, and center, and these coordinates individually contain the above errors, so these The three coordinates are not necessarily matched in a trigonometric manner. Therefore, if the subsequent process is performed with such an error included, there is a possibility that an error will occur in the result. In this first step, the relationship between the start and end points of the arc and the center coordinates is recalculated. Take integrity.
具体的には、三角関数的整合性を確認するために、始点座標P41と、中心座標P42と、終点座標P43と中心座標P42とを結ぶ直線L41の角度(終角)とを使って、終点座標P43を再計算する。三角関数的整合性を確認するためのその他の方法としては、終点座標P43と、中心座標P42と、始点座標P41と中心座標P42とを結ぶ直線L42の角度(始角)を使って、始点座標P41を再計算する等の方法がある。 Specifically, in order to confirm trigonometric consistency, the end point is calculated using the start point coordinate P41, the center coordinate P42, and the angle (end angle) of the straight line L41 connecting the end point coordinate P43 and the center coordinate P42. The coordinate P43 is recalculated. As another method for confirming the trigonometric consistency, the start point coordinates are determined by using the angle (start angle) of the straight line L42 connecting the end point coordinates P43, the center coordinates P42, and the start point coordinates P41 and the center coordinates P42. There are methods such as recalculating P41.
続く第2工程では全円の処理を行う(ステップS2)。 In the subsequent second process, the entire circle is processed (step S2).
始角および終角がきわめて近接しているか、または同一であり、全円と考えてよいものについては、円弧を示すデータとして認識されていたデータを、全円を示すデータとして認識する。 For those whose start and end angles are very close or the same and can be considered as a full circle, the data recognized as the data indicating the arc is recognized as the data indicating the full circle.
この処理は、前述したデータ上の誤差以外に、アートワークデータの受け渡しの一般的データフォーマットであるガーバーフォーマットでは、全円が表現できないため、全円が、始点座標と終点座標とが一致した円弧かまたは始点座標と終点座標とが非常に近接した円弧として表現されているため実施される。 In addition to the above-mentioned errors in the data, this processing is not possible with the Gerber format, which is a general data format for transferring artwork data, so all circles are arcs whose start point coordinates and end point coordinates match. Or the start point coordinate and the end point coordinate are expressed as very close arcs.
具体的には、始点座標と終点座標と円弧の回転方向とを考慮し、始点座標および終点座標間の距離が予め決めた範囲内であった場合には全円とみなしている。 Specifically, considering the start point coordinates, the end point coordinates, and the rotation direction of the arc, when the distance between the start point coordinates and the end point coordinates is within a predetermined range, it is regarded as a full circle.
続く第3工程では重複データおよび微小図形のデータの削除を行う(ステップS3)。 In the subsequent third step, the duplicate data and minute figure data are deleted (step S3).
ここでは、ある一定の許容範囲で、単一の図形と見なされる複数の円弧、直線および全円を1つにまとめるための操作が実施される。この処理は、例えば、同じデータを何らかの理由で2度書きしてある場合や、本来1本の直線や円弧が複数本に分かれている場合に適用される処理である。 Here, an operation for collecting a plurality of arcs, straight lines, and whole circles regarded as a single figure into one within a certain allowable range is performed. This process is a process applied when, for example, the same data is written twice for some reason, or when a single straight line or arc is originally divided into a plurality of lines.
具体的には、相互に接続するもの同士である場合、相互に交差し実交点のあるもの同士である場合、もしくは実交点はないが非常に近接しており、かつ、双方が直線同士または円弧同士である場合には、予め定めた誤差範囲内で、その複数の直線を1本の直線や円弧とみなせるか否かで判断している。 Specifically, when they are connected to each other, when they intersect with each other and have actual intersections, or there is no actual intersection, they are very close and both are straight lines or arcs In the case of mutual, it is determined by whether or not the plurality of straight lines can be regarded as one straight line or arc within a predetermined error range.
また、この処理には、非常に短いデータや、微小な円弧または微小な全円を隣接するデータとまとめたり、削除しても問題ないデータを削除することも含まれている。 In addition, this processing includes collecting very short data, minute arcs or minute circles with adjacent data, and deleting data that can be safely deleted.
続く第4工程では接続点の確認が行われる(ステップS4)。 In the subsequent fourth step, the connection point is confirmed (step S4).
ここでは、図形要素が閉曲線を構成しているか否かを確認している。 Here, it is confirmed whether or not the graphic element constitutes a closed curve.
具体的には、まず、全図形要素について、相互に交差しているかいないかをチェックする。次いで、全輪郭データから任意の1つの図形要素を取り出し、この図形要素の端点と同一座標に端点をもつ別の図形要素か、または予め決めた範囲内に端点をもつ別の図形要素があるか否かを検索するプロセスを繰り返し、端点同士で前記任意の1つの図形要素と検索により端点をもつと判断された別の図形要素とを接続し、閉曲線を構成している図形要素をグルーピングする。基本的には、ある図形要素はその端点にて、他の1つの図形要素の端点とつながっており、かつ、他の図形要素とは交差していない。従って、このグルーピングを行った結果、全データがいずれかのグループに属すため、いずれのグループにも属していない図形要素が1つも無くなったときに処理を終了すればよい。逆に、他の図形要素とつながっていない図形要素があればOPEN(オープン)エラーが発生していると判断でき、複数の他の図形要素とつながっている場合は多分岐エラーが発生していると判断でき、他の図形要素と交差している場合はねじれエラーが発生していると判断できる。
これらのエラーが発生した場合(ステップS11における判断結果がNOであった場合には)は、オペレータに適切なマーク表示、例えば関係する図形要素の端点にマークを発生する等して、修正を行い、再度第4工程に戻り再チェックを行う。
Specifically, first, it is checked whether or not all graphic elements intersect each other. Next, if any one graphic element is taken out from the entire contour data, is there another graphic element having an end point at the same coordinate as the end point of this graphic element or another graphic element having an end point within a predetermined range? The process of searching whether or not is repeated, the arbitrary one graphic element is connected between the end points and another graphic element determined to have the end point by the search, and the graphic elements constituting the closed curve are grouped. Basically, a certain graphic element is connected at its end point to the end point of another graphic element and does not intersect with another graphic element. Accordingly, as a result of this grouping, all data belongs to any group, and therefore, the processing may be terminated when there is no graphic element that does not belong to any group. Conversely, if there is a graphic element that is not connected to another graphic element, it can be determined that an OPEN (open) error has occurred. If it is connected to multiple other graphic elements, a multi-branch error has occurred. If it intersects with another graphic element, it can be determined that a twist error has occurred.
If these errors occur (if the judgment result in step S11 is NO), correct the error by displaying an appropriate mark for the operator, for example, generating a mark at the end point of the related graphic element. Then, the process returns to the fourth step again and rechecks.
ステップS11における判断結果がYESであった場合には、続いて、第5工程としてクリーンアップされた輪郭データをラスタ展開する(ステップS5)。 If the determination result in step S11 is YES, the contour data cleaned up as the fifth step is raster-developed (step S5).
CADシステムの一部分を構成するコンピュータのメモリ上に、検査対象となっているプリント配線板の全体が入る程度の適切な解像度をもつビットマップ空間を用意し、ここに、全図形要素の経路を1ピクセル幅の線で描くことで輪郭データをラスタ展開する。 A bitmap space having an appropriate resolution is prepared on the memory of a computer constituting a part of the CAD system so that the entire printed wiring board to be inspected can be accommodated. The contour data is raster-developed by drawing with a pixel-width line.
前記ビットマップの分解能、すなわち1ドットが実データのどのくらいの大きさを示すかは、CADデータの有効桁数、プリント配線板の最小線幅、線間隔、ならびにコンピュータやOS(Operating System)およびソフトウエアの開発環境等といった諸般の条件を検討して決定される。一般には、元のCADデータの有効桁数以下で、最小線幅や最小線間が、5ピクセル程度以上で表現される範囲で選ぶが、抽出されたネットの座標精度も考慮し、本実施例では、1ドットを5μm×5μmの正方形と考え、この上にCADデータをイメージとして展開した。この状態のイメージ20を図3に示す。ここでは、図形要素24,25の位置に相当するドットが黒となり、それ以外のドットを白としている。
The resolution of the bitmap, that is, how large one dot represents the actual data is determined by the effective number of CAD data, the minimum line width of the printed wiring board, the line interval, and the computer, OS (Operating System) and software. This is determined by considering various conditions such as the development environment of the wear. In general, it is selected within a range where the minimum line width and the minimum line interval are expressed by about 5 pixels or less, with less than the effective number of digits of the original CAD data. Then, one dot was considered as a square of 5 μm × 5 μm, and CAD data was developed as an image thereon. An
続いて、第6工程として塗りつぶし核を作成する(ステップS6)。 Subsequently, a paint nucleus is created as a sixth step (step S6).
この工程では、前述した第5工程で展開作成された閉曲線の中が黒か白かを判断し、完成したプリント配線板において、パターンとなる部分を識別する。 In this step, it is determined whether the closed curve developed and created in the fifth step described above is black or white, and a pattern pattern is identified on the completed printed wiring board.
具体的には、前述した第4工程において1つの閉曲線として認識されたグループごとに、以下の処理を行う。 Specifically, the following processing is performed for each group recognized as one closed curve in the above-described fourth step.
まず、1つの閉曲線を構成する図形要素としてグルーピングされた図形要素の内から任意に1つの図形要素を選び、その近傍に1つの点を仮想的に設定する。この点(以下、「仮想点」ともいう)の位置は、この後の内外判定やラスタでの塗りつぶし処理に充分な距離だけ、選択された当該図形要素から離れていれば、どこでもよい。 First, one graphic element is arbitrarily selected from graphic elements grouped as graphic elements constituting one closed curve, and one point is virtually set in the vicinity thereof. The position of this point (hereinafter also referred to as “virtual point”) may be anywhere as long as it is separated from the selected graphic element by a distance sufficient for the subsequent inside / outside determination or raster painting process.
例えば、本実施例では、選び出した図形要素が図4中に左側に示す第1パターン24を構成する左側の直線L24であったので、その中点から立てた垂線上で、元の直線(前記左側の直線L24)から左方向に30ミクロン離れた位置に仮想点P20を設定した。
For example, in the present embodiment, since the selected graphic element is the left straight line L24 constituting the
もし選び出した図形要素が円弧の場合は、その弧の中点と円弧の中心とを結ぶ直線上で、元の円弧から少し離れた位置に仮想点を設定する。また、どの程度元の直線から仮想的に設定した点を離すかは、ビットマップの1ドットの寸法の3倍以上で、かつ、プリント配線板の最小線幅および最小線間の1/3以下の距離辺りを目安にして決定すればよい。なお、選び出した図形要素が全円の場合は、その全円の中心を仮想点とすればよい。 If the selected graphic element is an arc, a virtual point is set at a position slightly away from the original arc on a straight line connecting the midpoint of the arc and the center of the arc. In addition, the extent to which the virtually set point is separated from the original straight line is not less than 3 times the size of one dot of the bitmap, and not more than 1/3 between the minimum line width and the minimum line of the printed wiring board It can be determined using the distance around as a guide. If the selected graphic element is a full circle, the center of the full circle may be a virtual point.
次に、この仮想点を通る水平線L20を想定し、前述の選び出した図形要素(第1パターン24および第2パターン25)を含む全図形要素との実交点座標(P24a,P24b,P25a,P25b)を計算する。もし、この計算にて、交点の解が不定になる場合、即ち、当該図形要素が想定した水平線に重なる場合は、仮想点P20を移動させたり、別の図形要素の近傍に設定しなおしたり、または水平線の代わりに垂直線を用いて、交点計算をやり直したりする。
Next, assuming the horizontal line L20 passing through the virtual point, the actual intersection coordinates (P24a, P24b, P25a, P25b) with all the graphic elements including the graphic elements (the
そして、すべての交点が実交点として見つかったら、各交点座標をチェックし、相互にきわめて近接しているものが無いかを判定する。なぜなら、配線板の最小線幅および最小線間以上に近接した交点があるということは、通常考えられず、前の重複データの削除や、ギャップの修正および交差の修正でミスがあった可能性があるからである。ここでエラーが無い場合には、仮想点から右にある交点の数と左にある交点の数をカウントする。 When all intersections are found as actual intersections, the coordinates of each intersection are checked to determine whether there are any objects that are very close to each other. This is because it is usually unthinkable that there are intersections closer than the minimum line width and minimum line of the wiring board, and there may have been mistakes in deleting previous duplicated data, correcting gaps, and correcting intersections. Because there is. If there is no error here, the number of intersections on the right and the number of intersections on the left from the virtual point are counted.
ここで、プリント配線板の外側はパターンが無い部分であると仮定した場合、左右とも奇数であれば、この仮想点P20は、選んだ図形要素の外形を示す閉曲線の内側、すなわち、完成後のプリント配線板においてパターンとなる部分を示していると判断でき、一方、左右とも偶数であれば、仮想点は、選んだ図形要素の外形を示す閉曲線の外側、すなわち完成後のプリント配線板において、導体ではない部分を示していると判断できる。 Here, assuming that the outside of the printed wiring board is a portion without a pattern, if both the left and right sides are odd, this virtual point P20 is inside the closed curve indicating the outer shape of the selected graphic element, that is, after completion. On the other hand, if the left and right are even numbers, the virtual point is outside the closed curve indicating the outer shape of the selected graphic element, that is, the printed wiring board after completion. It can be judged that the part which is not a conductor is shown.
なお、左右で偶奇が異なる場合は、前に実施された重複データの削除や、ギャップの修正または交差の修正でミスがあった可能性があるため、エラーがあったと判断し(ステップS12での判断結果がNOになり)、前述した第3工程に戻る。 If the odd and right are different on the left and right, it is determined that there was an error because there was a possibility that there was a mistake in the previous deletion of duplicate data, gap correction or intersection correction (in step S12). The determination result is NO), and the process returns to the third step described above.
一方、交点数が奇数であった場合は、仮想点を当該閉曲線の塗りつぶし核とする。また、交点数が偶数であった場合は、交点を求めるのに使用した水平線と、すでに計算した交点座標と、近接点を発生させた元の図形要素の関係とを用いて、近接点を発生した手順と同じ要領で、閉図形内の点を作り、これを塗りつぶし核とする。 On the other hand, when the number of intersection points is an odd number, the virtual point is set as a filling nucleus of the closed curve. Also, if the number of intersections is an even number, a proximity point is generated using the horizontal line used to determine the intersection, the already calculated intersection coordinates, and the relationship of the original graphic element that generated the proximity point. In the same way as above, create a point in the closed figure and use it as the fill kernel.
なお、以上の処理の前提として、処理の対象となっているパターンのイメージがポジイメージであり、プリント配線板の最外周は、導体が無い部分であることを想定している。 As a premise of the above processing, it is assumed that the pattern image to be processed is a positive image and the outermost periphery of the printed wiring board is a portion without a conductor.
もし、外側が導体である場合は、前述したプロセスにおいて、交点数の偶数および奇数と塗りつぶし核との関係が逆になる。 If the outer side is a conductor, the relationship between the even number and the odd number of the intersection points and the fill kernel is reversed in the above-described process.
以上の手順を全閉曲線に対して行い、全閉曲線に対する塗りつぶし核を作成する。 The above procedure is performed on the fully closed curve to create a fill kernel for the fully closed curve.
ステップS12における判断結果がYESであった場合には、続いて、第7工程として塗りつぶしを実行する(ステップS7)。 If the decision result in the step S12 is YES, subsequently, painting is executed as a seventh process (step S7).
塗りつぶし核の座標に相当するビットマップ上の位置(図4においては仮想点P20の位置)を確認し、その位置をスター地点として、Fill−paint(フィル ペイント)を実行する。このプロセスはちょうど、塗り絵を行うのと同じ要領で実施され、スタート地点から四方八方に見ていって、前のプロセスでラスタ展開したパターンの輪郭を形成している閉曲線にぶつかるまで、ドットの色を白から黒に変えてゆく。こうして塗りつぶしを完了した状態のイメージ(第1パターン24および第2パターン25)を図5に示す。
A position on the bitmap corresponding to the coordinates of the filling nucleus (the position of the virtual point P20 in FIG. 4) is confirmed, and Fill-paint (fill painting) is executed with the position as the star point. This process is carried out just like a coloring book, with the dot color until it hits a closed curve that looks in all directions from the starting point and forms the contour of the raster rasterized pattern in the previous process. Change from white to black. FIG. 5 shows an image (
続いて、第8工程として合成処理を行う。 Subsequently, a synthesis process is performed as an eighth step.
もし、パターンデータ等が複数のファイルからできている場合、例えば、パターンとそれに対する抜きデータとの2つのファイルからできている場合等は、第7工程までのプロセスを各々のパターンデータに対して個別に行って、塗りつぶしが完了した状態のデータを2つ形成し、その後、この段階でこれら2つのデータを合成する。 If the pattern data is made up of a plurality of files, for example, if the pattern data is made up of two files, that is, a pattern and extracted data, the process up to the seventh step is performed for each pattern data. It is performed individually to form two pieces of data in a state where the filling has been completed, and thereafter, these two data are synthesized at this stage.
これより、逆ネット抽出の工程になる。 Thus, the reverse net extraction process is performed.
第9工程として細線化を行う。 Thinning is performed as the ninth step.
まず、このビットマップデータを細線化する。この工程は、塗りつぶし図形として得られたパターンの中心線を求める処理である。具体的には、ラスタデータ(ラスタ展開によって得られたデータ)の白黒の境界に添って、ちょうど黒のドットを、皮をむいてゆくように、1ドットづつ、隣のドットとのつながりや位置関係を判断しながら白のドットに変えてゆき、最終的に、幅1ドットの線で構成される中心線を得る。この細線化が終了し、第1パターン24の中心線L1と第2パターン25の中心線L2とが得られた状態を図6に示す。
First, the bitmap data is thinned. This step is a process for obtaining the center line of the pattern obtained as a filled figure. Specifically, along the black-and-white boundary of raster data (data obtained by raster development), the connection and position of each dot with the adjacent dot so that the black dot is peeled off. While judging the relationship, the dot is changed to a white dot, and finally a center line composed of a line having a width of 1 dot is obtained. FIG. 6 shows a state in which the thinning is completed and the center line L1 of the
なお、この細線化の過程において、パターンの一部は他の部分より早く1ドットの幅になる場合がある。このようになった部分について、他の部分を引き続き細線化する過程で、途切れたり、長さが短くなったりしないように処理することが重要である。これは、特に、パターン端や端子部の処理のときに重要で、これが十分でないと、PINの位置が変わり、後のネットの比較に支障を来す場合がある。 In the thinning process, a part of the pattern may have a width of one dot earlier than the other part. It is important to process such a portion so that it is not interrupted or shortened in the process of continuously thinning the other portions. This is particularly important when processing pattern edges and terminal portions. If this is not sufficient, the PIN position may change, which may interfere with subsequent net comparisons.
次いで、第10工程として端点および接続の検出を行う。 Next, endpoints and connections are detected as a tenth step.
前述の第9工程において細線化できたら、次に、各中心線L1,L2の端点をPIN(ピン)とし、その座標を読み出す。例えば、図7に示すように、中心線L1の上端点がPINP1となり、中心線L1の下端点がPINP2となり、中心線L2の上端点がPINP3となり、中心線L2の下端点がPINP4となる。 If thinning has been achieved in the ninth step, the end points of the center lines L1 and L2 are set as PINs (pins), and their coordinates are read out. For example, as shown in FIG. 7, the upper end point of the center line L1 is PINP1, the lower end point of the center line L1 is PINP2, the upper end point of the center line L2 is PINP3, and the lower end point of the center line L2 is PINP4.
次に、各PIN同士の接続関係を黒ドットのつながりをたどることで読み出し、どのPINとどのPINとがつながっているのかを示すリスト(表1参照)を作る。 Next, the connection relationship between each PIN is read by following the connection of black dots, and a list (see Table 1) indicating which PIN is connected to which PIN is created.
以上の第1工程〜第10工程からなる作業を、アートワーク編集作業の前後で行い、逆ネットを示す2つのリスト(アートワーク編集作業の前の状態を示す表とアートワーク編集作業の後の状態を示す表)を作成し、これら2つのリストを比較する。 The work consisting of the above-mentioned first to tenth steps is performed before and after the artwork editing work, and two lists showing reverse nets (a table showing the state before the artwork editing work and a list after the artwork editing work) A table showing the status) and comparing these two lists.
そして、各PINの座標位置をたよりに2つの表を比較し、同じ接続関係であれば、編集によって接続が変わらなかったことが確認できる。なお、端子部分等の形状や大きさ、線幅が変わった場合、接続関係が変わらなくても、細線化のプロセスの影響で、PINの座標が微妙にずれることがある。また、意図的な編集作業によって、端子の位置を動かした場合、当然PINの座標は変わるが、編集前後での逆ネット比較の際、これらを考慮して比較を行うことは言うまでも無い。 Then, the two tables are compared based on the coordinate position of each PIN, and if the connection relationship is the same, it can be confirmed that the connection has not been changed by editing. Note that when the shape, size, and line width of the terminal portion and the like are changed, the PIN coordinates may be slightly shifted due to the thinning process even if the connection relationship does not change. In addition, when the terminal position is moved by intentional editing, the PIN coordinates naturally change, but it goes without saying that the comparison is performed in consideration of the reverse net comparison before and after editing.
本実施例のプリント配線板の配線チェック方法は、アートワークデータがフォト形式のデータである場合に、前述の実施例1において説明したプリント配線板の配線チェック方法をこのフォト形式のデータに適用して実施したものである。 The printed wiring board wiring check method of this embodiment applies the printed wiring board wiring check method described in the first embodiment to the photo format data when the artwork data is photo format data. It was implemented.
このフォト形式のデータは、既に線幅や形状をもっているため、実施例1のような複雑なクリーンアップやラスタ化は必要無い。単純に、配線板のサイズおよび精細度に応じたビットマップ空間を用意し、当該アパーチャの線幅および形状をもって、ラスタ化(ラスタ展開)するだけでよい。 Since the data in the photo format already has a line width and shape, complicated clean-up and rasterization as in the first embodiment are not necessary. Simply, a bitmap space corresponding to the size and definition of the wiring board is prepared, and rasterization (raster development) is performed with the line width and shape of the aperture.
このラスタ化を実施すると、前述の実施例1において参照した図5と同様のイメージが得られるので、以降の処理は、実施例1のプリント配線板の配線チェック方法を適用して同様の処理を実施すれば逆ネットが抽出できる。 When this rasterization is performed, an image similar to that shown in FIG. 5 referred to in the first embodiment is obtained. Therefore, the subsequent processing is performed by applying the printed wiring board wiring check method of the first embodiment. If implemented, the reverse net can be extracted.
また、元のパターンデータが、フォト形式と輪郭形式とが混用されてできている場合は、まず、データをフォト形式部分と輪郭形式部分とに分けて、輪郭形式のデータに対しては、実施例1のプリント配線板の配線チェック方法を適用してラスタ化を実施し、フォト形式のデータについては、本実施例のプリント配線板の配線チェック方法を適用してラスタ化を実施し、このラスタ化が終了した時点で、ラスタ合成を行う。その後、実施例1のプリント配線板の配線チェック方法を適用して細線化以降のプロセスを実行し、逆ネットを抽出すればよい。 If the original pattern data is a mixture of photo format and contour format, first divide the data into photo format portion and contour format portion. The rasterization is performed by applying the wiring check method of the printed wiring board of Example 1, and the rasterization is applied to the photo format data by applying the wiring check method of the printed wiring board of this embodiment. When the conversion is completed, raster composition is performed. Then, the reverse net may be extracted by applying the wiring check method for the printed wiring board according to the first embodiment and executing the processes after thinning.
また、本発明の配線チェックプログラムは、前述の実施例1および実施例2に示したプリント配線板の配線チェック方法を実現するものであり、この配線チェックプログラムは、コンピュータ読み取り可能な記録媒体に記憶された状態で、CADシステムの一部分を構成するコンピュータに組み込まれ利用される。 Also, the wiring check program of the present invention realizes the printed wiring board wiring check method shown in the first and second embodiments, and this wiring check program is stored in a computer-readable recording medium. In this state, it is incorporated and used in a computer constituting a part of the CAD system.
本発明のプリント配線板の配線チェック方法およびこの配線チェック方法を実現するための配線チェックプログラムは、電子機器に利用されるプリント配線板のCADによる設計時に活用できる。 The wiring check method for a printed wiring board and the wiring check program for realizing the wiring check method of the present invention can be used at the time of designing a printed wiring board used for electronic equipment by CAD.
1 第1ランド
2 第2ランド
3,13 配線
4 第1パターン
5 第2パターン
10 プリント配線板
DESCRIPTION OF
Claims (5)
アートワークデータを、キャドシステムの一部分を構成するコンピュータのメモリ上にラスタ展開するラスタ展開工程と、ラスタ展開により得られたラスタデータが示すイメージから1つの図形要素を選択し、この図形要素の中心線を割り出す中心線割り出し工程と、割り出した中心線の端点座標をピンとして認識するピン認識工程と、認識したピン同士の接続関係を検索する接続関係検索工程とを含んでなり、
ラスタ展開の対象となるキャドデータが輪郭形式のデータである場合に、このキャドデータが示す、閉曲線で構成された個々のパターンについて内外判定を行う工程と、輪郭形式のデータをコンピュータのメモリ上にラスタ展開する工程と、内外判定結果を用いて、閉曲線内部を塗りつぶしする工程とからなるラスタ展開法を実施し、
プリント配線板上に形成されるパターンの輪郭線を示す閉曲線を構成する複数の図形要素のうちの1つの図形要素の近傍に仮想点を発生させる工程と、その仮想点を通る水平線または垂直線とパターンの輪郭線を示す閉曲線を構成する全図形要素との交点について、前記仮想点から前記水平線または垂直線の一端部までの間にある交点の数と前記仮想点から前記水平線または垂直線の他端部までの間にある交点の数とを計算する工程と、計算された交点の数が奇数であるか偶数であるかによって、仮想点が図形要素の内部にあるかそれとも外部にあるかを判定する工程とを含んでいるプリント配線板の配線チェック方法。 On the CAD, a printed wiring board wiring check method that is carried out when editing artwork related to wiring of the printed wiring board,
A raster development process for rasterizing artwork data onto the memory of a computer that forms part of the CAD system, and one graphic element is selected from the image indicated by the raster data obtained by raster expansion, and the center of this graphic element is selected. A center line indexing step for determining a line, a pin recognition step for recognizing the end point coordinates of the determined center line as a pin, and a connection relationship search step for searching for a connection relationship between the recognized pins,
When the CAD data to be raster-developed is contour format data, the CAD data indicates the inside / outside determination for each pattern composed of closed curves, and the contour format data is stored in the computer memory. A raster development method comprising a raster development step and a step of painting the inside of the closed curve using the inside / outside determination result,
A step of generating a virtual point in the vicinity of one of a plurality of graphic elements constituting a closed curve indicating a contour line of a pattern formed on a printed wiring board, and a horizontal line or a vertical line passing through the virtual point; For the intersections with all graphic elements constituting the closed curve indicating the contour of the pattern, the number of intersections between the virtual point and one end of the horizontal line or vertical line, and the horizontal line or vertical line from the virtual point Whether the virtual point is inside or outside the graphic element, depending on the process of calculating the number of intersections to the edge and whether the calculated number of intersections is odd or even And a wiring check method for a printed wiring board including a step of determining.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004014729A JP4275541B2 (en) | 2004-01-22 | 2004-01-22 | Wiring check method for printed wiring board, wiring check program for realizing this wiring check method, and recording medium recording this wiring check program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004014729A JP4275541B2 (en) | 2004-01-22 | 2004-01-22 | Wiring check method for printed wiring board, wiring check program for realizing this wiring check method, and recording medium recording this wiring check program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005208933A JP2005208933A (en) | 2005-08-04 |
| JP4275541B2 true JP4275541B2 (en) | 2009-06-10 |
Family
ID=34900431
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004014729A Expired - Fee Related JP4275541B2 (en) | 2004-01-22 | 2004-01-22 | Wiring check method for printed wiring board, wiring check program for realizing this wiring check method, and recording medium recording this wiring check program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4275541B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111191006B (en) * | 2019-12-30 | 2023-06-09 | 湖南特能博世科技有限公司 | Method, device and electronic system for determining connection relationship between legends |
-
2004
- 2004-01-22 JP JP2004014729A patent/JP4275541B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005208933A (en) | 2005-08-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN115374747B (en) | Method, system, storage medium and electronic device for constructing air bridge graphics | |
| JP5731837B2 (en) | Design support apparatus and information processing method thereof | |
| JP2022086454A (en) | Image inspection equipment and image inspection program | |
| JP2008310562A (en) | Resistor network creation device and resistor network creation program, for circuit simulation | |
| JP4275541B2 (en) | Wiring check method for printed wiring board, wiring check program for realizing this wiring check method, and recording medium recording this wiring check program | |
| JP4719657B2 (en) | Placement model creation device, placement model creation method, and placement model creation program | |
| US5014223A (en) | Method of filling inner region of a graphic with traces of imaging spot | |
| JP2005267302A (en) | Wiring route determination method and system | |
| JP4489468B2 (en) | CLEARANCE DISTANCE MEASURING METHOD FOR PRINTED BOARD DESIGN APPARATUS, CLEARANCE DISTANCE MEASURING APPARATUS FOR PRINTED BOARD DESIGN APPARATUS, PROGRAM, AND COMPUTER READABLE RECORDING MEDIUM | |
| JP2001202402A (en) | Drawing creation device and drawing change display method | |
| JP2858551B2 (en) | Wiring inspection data creation method | |
| JP2805538B2 (en) | Printed wiring board connection verification device | |
| JP2011118882A (en) | Data creation method and image inspection method | |
| JPH056412A (en) | Interactive wiring system | |
| JP4279133B2 (en) | Graphic processing apparatus, graphic processing method, and program | |
| JP5264305B2 (en) | Circuit editing support method, program thereof, recording medium thereof, and circuit editing support device | |
| JP2897541B2 (en) | Closed figure extraction method | |
| JP3018714B2 (en) | CAD equipment | |
| US11657544B2 (en) | Information processing apparatus and non-transitory computer readable medium | |
| CN119849209B (en) | Method, device, equipment and storage medium for magnetic flux pinning in quantum map | |
| JP2000047577A (en) | Electronic map display method and device | |
| Ward | Total verification of printed-circuit artwork | |
| JP2007026159A (en) | Printed circuit board analysis model generation apparatus and program | |
| JP3716747B2 (en) | Connection pin number correspondence data generation system | |
| US20060076547A1 (en) | Three-dimensional viewing and editing of microcircuit design |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060125 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080901 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080909 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081023 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081202 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090105 |
|
| 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: 20090303 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090304 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120313 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120313 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130313 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130313 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140313 Year of fee payment: 5 |
|
| LAPS | Cancellation because of no payment of annual fees |