JPH04236499A - Method of formation of wiring to be used for automatic wiring or the like - Google Patents

Method of formation of wiring to be used for automatic wiring or the like

Info

Publication number
JPH04236499A
JPH04236499A JP3020435A JP2043591A JPH04236499A JP H04236499 A JPH04236499 A JP H04236499A JP 3020435 A JP3020435 A JP 3020435A JP 2043591 A JP2043591 A JP 2043591A JP H04236499 A JPH04236499 A JP H04236499A
Authority
JP
Japan
Prior art keywords
wiring
point
virtual
raster
intermediate point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3020435A
Other languages
Japanese (ja)
Inventor
Masahiko Oyama
昌彦 大山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Narumi China Corp
Original Assignee
Narumi China Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Narumi China Corp filed Critical Narumi China Corp
Priority to JP3020435A priority Critical patent/JPH04236499A/en
Publication of JPH04236499A publication Critical patent/JPH04236499A/en
Pending legal-status Critical Current

Links

Landscapes

  • Supply And Installment Of Electrical Components (AREA)

Abstract

PURPOSE:To perform an automatic wiring work in a short time by repeating the steps of raster-measuring an adjacent wiring inhibiting region from a position converted from vector information to raster information as a reference, obtaining coordinates of a crossing point with the region, and setting an intermediate point to an optimum position according to the converted vector information. CONSTITUTION:A starting point A and an ending point B to be wired are connected therebetween by an imaginary wiring H. An arbitrary intermediate point P1 is set on the wiring H. With a position converted from vector information to raster information as a reference an adjacent wiring inhibiting region from the converted position is raster-measured, the coordinates of a crossing point with the region is obtained, an optimum intermediate point P1 is decided from the converted vector information, and a new wiring H2 made of polygonal lines is obtained. The above steps are repeated to decide an optimum intermediate point Pn, and a new wiring made of polygonal line of the point A, the optimum intermediate points P1,..., Pn, and the point B as constituent points is obtained.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、自動配線等に利用する
配線作成方法に係り、より詳細には、プリント配線、セ
ラミックパッケージ配線、銅HIC配線等の配線を短時
間に作成できるようにした配線作成方法に関する。
[Industrial Application Field] The present invention relates to a wiring creation method used for automatic wiring, etc., and more specifically, it is a method that enables wiring such as printed wiring, ceramic package wiring, copper HIC wiring, etc. to be created in a short time. Concerning wiring creation method.

【0002】0002

【従来の技術】従来、プリント配線等における自動配線
は、設計上のデータ値に演算を施している。すなわち、
設計上のデータ値の各ベクトル座標の全てについて、ス
ルーホール、パンチ孔、その他の配線の存在による配線
不能あるいは配線禁止領域であるか否かを演算検出し、
ポリラインを決定・作成するようにしている。
2. Description of the Related Art Conventionally, automatic wiring in printed wiring and the like involves performing calculations on designed data values. That is,
For each vector coordinate of the design data value, it is calculated and detected whether it is an area where wiring is impossible or where wiring is prohibited due to the presence of through holes, punch holes, or other wiring,
I am trying to determine and create polylines.

【0003】0003

【発明が解決しようとする課題】しかし、従来の自動配
線の場合、設定データ値の各ベクトル座標について演算
処理を行う必要があるため、次のような問題を有してい
る。すなわち、■  演算回数が多くなり、演算結果の
出力までの時間が長くなる。■  設計上の設計順序や
設計方法についてルールが必要であり、ランダムなベク
トルデータに対して適合できない。等の問題がある。
However, in the case of conventional automatic wiring, it is necessary to perform arithmetic processing on each vector coordinate of the set data value, and therefore, the following problems arise. That is, (1) the number of calculations increases, and the time required to output the calculation results becomes longer. ■ Rules are required for design order and design method, and cannot be applied to random vector data. There are other problems.

【0004】ところで、人間の視覚判断において、2点
間の接続作業をする場合、その区画内における障害物の
有無を検出し、最良の接続ラインを短時間で決定する。 そこで、本発明者は、このような手法をプリント配線等
における自動配線に利用することで、上述した従来の手
法による問題を解消できることを究明した。
[0004] In human visual judgment, when connecting two points, the presence or absence of obstacles within the area is detected and the best connection line is determined in a short time. Therefore, the inventors of the present invention have found that the problems caused by the above-mentioned conventional methods can be solved by utilizing such a method for automatic wiring in printed wiring or the like.

【0005】本発明は、上述した点に対処して創案した
ものであって、その目的とする処は、プリント配線、セ
ラミックパッケージ配線において、短時間で始点、終点
間の自動配線を作成できるようにした配線作成方法を提
供することにある。
The present invention was devised in response to the above-mentioned problems, and its purpose is to enable automatic wiring between a starting point and an ending point to be created in a short time in printed wiring and ceramic package wiring. The purpose of the present invention is to provide a method for creating wiring.

【0006】[0006]

【課題を解決するための手段】そして、上記課題を解決
するための手段としての本発明の自動配線等に利用する
配線作成方法は、始点、終点間に仮想配線を施し、該仮
想配線と配線禁止領域との距離を、該仮想配線上の特定
の位置の設計上のデータ値であるベクトル情報を、写像
される仮想空間上のデータ値であるラスタ情報に変換し
た位置から該仮想空間上の任意方向にラスタ計測し、該
写像した際の倍率等の条件から逆演算したベクトル情報
より最適な位置に中間点を設定し、始点と中間点および
終点からなる構成点をもつポリラインを得て、この方法
を任意回数N回繰り返し、始点、中間点1〜中間点Nと
終点からなる構成点数N+2をもつポリラインを新配線
として得るようにした構成よりなる。
[Means for Solving the Problem] The wiring creation method used for automatic wiring of the present invention as a means for solving the above problem is to create a virtual wiring between a start point and an end point, and connect the virtual wiring and the wiring. The distance to the prohibited area is determined from a position on the virtual space obtained by converting vector information, which is a designed data value at a specific position on the virtual wiring, to raster information, which is a data value on the virtual space to be mapped. Raster measurement is performed in any direction, and the intermediate point is set at the optimal position based on the vector information that is inversely calculated from the conditions such as the magnification when mapping, and a polyline with constituent points consisting of the starting point, intermediate point, and end point is obtained, This method is repeated an arbitrary number of times N times, and a polyline having a number of constituent points N+2 consisting of a starting point, an intermediate point 1 to an intermediate point N, and an end point is obtained as a new wiring.

【0007】また、本発明の自動配線等に利用する配線
作成方法は、上記構成において、仮想配線が配線禁止領
域を通過するか否を判定し、配線禁止領域を通過する場
合、始点または終点若しくは両点を移動した後、該移動
した始点、終点間に新たな仮想配線を施すようにした構
成、始点、中間点1〜中間点Nと終点からなる構成点数
N+2の点の全て、または任意の点を始点または終点と
する構成も含む。
Further, in the wiring creation method used for automatic wiring of the present invention, in the above configuration, it is determined whether or not the virtual wiring passes through the wiring prohibited area, and if the virtual wiring passes through the wiring prohibited area, it is determined whether the virtual wiring passes through the wiring prohibited area or not. After moving both points, a new virtual wiring is created between the moved start point and the end point, all of the points N+2 consisting of the start point, intermediate point 1 to intermediate point N, and the end point, or any arbitrary It also includes configurations in which a point is the starting point or ending point.

【0008】[0008]

【作用】そして、上記構成に基づく、本発明の自動配線
等に利用する配線作成方法によれば、ベクトル情報をラ
スタ情報に変換した位置を基準として、該位置より隣接
する配線禁止領域との間をラスタ計測し、その配線禁止
領域との交点座標を求めて、該変換したベクトル情報よ
り最適な位置に中間点を設定し、この工程を繰り返すこ
とで、全てのベクトル座標が配線不能あるいは配線禁止
領域であるか否かを演算検出する必要なく、配線を必要
とする始点、終点間における障害物を回避したポリライ
ンを短時間で検出,作成できるように作用する。
[Operation] According to the wiring creation method used for automatic wiring of the present invention based on the above configuration, the distance between the position where vector information is converted to raster information and the adjacent wiring prohibited area is set as a reference. Measure the raster, find the coordinates of the intersection with the wiring prohibited area, set the intermediate point at the optimal position based on the converted vector information, and repeat this process to ensure that all vector coordinates are unroutable or prohibited It is possible to quickly detect and create a polyline that avoids obstacles between the starting point and the ending point that require wiring, without the need for calculating and detecting whether the area is a region or not.

【0009】[0009]

【実施例】以下、図面を参照しながら、本発明を具体化
した実施例について説明する。ここに、図1〜図3は、
本発明の配線作成工程の一実施例を示し、図1は仮想空
間上の配線図、図2は中間点P1 移動後の配線図、図
3は中間点P2移動後の配線図である。
Embodiments Hereinafter, embodiments embodying the present invention will be described with reference to the drawings. Here, FIGS. 1 to 3 are
1 is a wiring diagram in virtual space, FIG. 2 is a wiring diagram after the intermediate point P1 has been moved, and FIG. 3 is a wiring diagram after the intermediate point P2 has been moved.

【0010】本実施例の配線作成方法は、隣接配線1、
2間に最適状態の配線を自動的に作成するための方法で
あって、概略すると、■仮想配線作成工程、■任意中間
点設定工程、■最適中間点P1位置決定工程、■最適中
間点Pn位置決定工程の四つの工程を有し、始点、中間
点P1 、中間点Pn、終点からなる構成点数N+2を
繋ぐポリラインとして配線を作成する方法である。以下
、各工程について説明する。
The wiring creation method of this embodiment includes adjacent wiring 1,
This is a method for automatically creating wiring in an optimal state between two points, and roughly speaking, it includes: ■ Virtual wiring creation process, ■ Arbitrary intermediate point setting process, ■ Optimal intermediate point P1 position determination process, ■ Optimal intermediate point Pn. This method has four steps: a position determination step, and creates wiring as a polyline connecting N+2 constituent points consisting of a starting point, an intermediate point P1, an intermediate point Pn, and an end point. Each step will be explained below.

【0011】ー仮想配線作成工程ー 本工程は、隣接配線1、2間において、始点Aと終点B
と二つの構成点数を接続する仮想配線Hを得る工程であ
る。本工程においては、図1の仮想空間上の配線図で示
すように、まず、配線を施す始点Aと終点Bをそれぞれ
結線、配線して固定状態として、両点A,B間に直線よ
りなる仮想配線Hによって接続する。ここで、仮想配線
Hは、図1において、始点Aの仮想空間座標が(RxA
,RyA)、終点Bの仮想空間座標が(RxB,RyB
)で、仮想空間座標RをベクトルVで置き換えたものが
ベクトル実寸値とすると、     y−VyA=〔(VyB−VyA)/(VxB
−VxA)〕・(x−VxA)・・・■       
             ただし、VxB≠VxA   で表される。
-Virtual wiring creation process--This process involves creating a starting point A and an ending point B between adjacent wirings 1 and 2.
This is the process of obtaining a virtual wiring H that connects two component points. In this process, as shown in the wiring diagram in the virtual space in Figure 1, first, the starting point A and the ending point B for wiring are respectively connected and fixed, and a straight line is formed between the two points A and B. Connected by virtual wiring H. Here, in FIG. 1, the virtual wiring H has the virtual space coordinates of the starting point A (RxA
, RyA), and the virtual space coordinates of the end point B are (RxB, RyB
), and if the virtual space coordinate R is replaced by the vector V and the actual size of the vector is then y-VyA=[(VyB-VyA)/(VxB
-VxA)]・(x-VxA)...■
However, it is expressed as VxB≠VxA.

【0012】ー任意中間点設定工程ー 本工程は、前工程の仮想配線作成工程で得た空間座標に
おける仮想配線Hにおける任意の中間点P1 を設定す
る工程である。仮想配線H上のラスタ位置P1 は、図
1において、始点Aと終点Bとの間における設計データ
上の任意のベクトル位置VD1(ラスタ位置RD1)で
の仮想配線H上より求めることができる。
-Arbitrary intermediate point setting step--This step is a step of setting an arbitrary intermediate point P1 in the virtual wiring H in the spatial coordinates obtained in the virtual wiring creation step of the previous step. The raster position P1 on the virtual wiring H can be found on the virtual wiring H at an arbitrary vector position VD1 (raster position RD1) on the design data between the starting point A and the ending point B in FIG.

【0013】まず、設計上のデータ値であるベクトル情
報と、写像される仮想空間上のデータ値であるラスタ情
報の写像の際の条件を、         V(x,y)=R(αx,βy)  
                  ・・・・・■こ
こで、V:ベクトル R:仮想空間 α,β:倍率 で定義し、線形変換されたとする。
First, the conditions for mapping vector information, which is a designed data value, and raster information, which is a data value in the virtual space to be mapped, are as follows: V (x, y) = R (αx, βy)
...■Here, V: Vector R: Virtual space α, β: Defined by magnification, and it is assumed that linear transformation has been performed.

【0014】ここで、始点Aとラスタ位置P1 間にお
けるベクトル空間座標のx座標における間隔は、x=V
xA−VD1であるので、これを■式に代入することで
、y座標におけるyの値が求められる。このことより、
x=VXP1 ,y=VyP1 の時、位置P1 点に
おけるベクトル空間座標を(VXP1 ,VyP1 )
で定義できる。また、このP1 点は、■式のベクトル
・ラスタ変換によって(RXP1 ,RyP1 )とし
て得られる。
Here, the interval in the x coordinate of vector space coordinates between the starting point A and the raster position P1 is x=V
Since it is xA-VD1, by substituting this into equation (2), the value of y at the y-coordinate can be found. From this,
When x=VXP1, y=VyP1, vector space coordinates at position P1 are (VXP1, VyP1)
It can be defined as Further, this point P1 is obtained as (RXP1, RyP1) by vector-raster conversion of equation (2).

【0015】ー最適中間点P1 位置決定工程ー本工程
は、前工程で仮想配線H上に設定した中間点P1 を、
隣接配線1、2よりして最適な位置に移動させ、最適中
間点P1 を決定し、始点A、最適中間点P1 、終点
Bを構成点とするポリラインよりなる新配線を得る工程
である。まず、P1 点より隣接配線1の方向に計測線
T1を配してラスタ計測を行い、隣接配線1と計測線T
1との交点座標(RXc1 ,Ryc1 )を求める。 そして、その線分P1 C1 の距離は、 〔(VXc1 −VXP1 )2 +(Vyc1 −V
yP1 )2 〕1/2  で求められる。また、これ
と同様にして、P1 点より隣接配線2の方向に計測線
T2を配してラスタ計測を行い、隣接配線2と計測線T
2との交点座標(RXc2 ,Ryc2 )を求める。 そして、その線分P1 C2 の距離は、〔(VXc2
 −VXP1 )2 +(Vyc2 −VyP1 )2
 〕1/2  で求められる。更に、同様にして他のス
ルーホール、パンチ孔等の配線禁止領域が存在する場合
は、その距離を求め、これらのベクトル情報より、最適
な中間点P1 (通常、これらのベクトル情報の中央位
置における座標を最適中間点とする)を求め、図2に示
すように、先に設定した中間点を移動し、始点A、最適
中間点P1 、終点Bを構成点とするポリラインよりな
る新配線を得る。
- Optimum intermediate point P1 position determination process - This process determines the intermediate point P1 set on the virtual wiring H in the previous process,
This is a step in which the adjacent wirings 1 and 2 are moved to the optimal position, the optimal midpoint P1 is determined, and a new wiring is obtained from a polyline whose constituent points are the starting point A, the optimal midpoint P1, and the ending point B. First, a raster measurement is performed by arranging the measurement line T1 in the direction of the adjacent wiring 1 from point P1, and the adjacent wiring 1 and the measurement line T
Find the coordinates of the intersection with 1 (RXc1, Ryc1). Then, the distance of the line segment P1 C1 is [(VXc1 - VXP1 )2 + (Vyc1 - V
yP1 )2 ]1/2. Similarly, raster measurement is performed by arranging the measurement line T2 from point P1 in the direction of the adjacent wiring 2, and
Find the intersection coordinates (RXc2, Ryc2) with 2. Then, the distance of the line segment P1 C2 is [(VXc2
−VXP1 )2 +(Vyc2 −VyP1 )2
]1/2. Furthermore, in the same way, if there are other wiring prohibited areas such as through holes or punch holes, calculate the distance therebetween and use these vector information to find the optimal intermediate point P1 (normally, at the center position of these vector information As shown in Figure 2, move the previously set intermediate point to obtain a new wiring consisting of a polyline whose constituent points are the starting point A, the optimal intermediate point P1, and the ending point B. .

【0016】ー最適中間点Pn位置決定工程ー本工程は
、最適中間点P1 位置決定工程で得た最適中間点P1
 と終点Bとのポリラインを仮想配線H2 として、前
二工程を繰り返し、最適中間点Pn を決定し、始点A
、最適中間点P1 、・・、Pn 、終点Bを構成点と
するポリラインよりなる新配線を得る工程である。まず
、仮想配線H2 は、線分P1 Bで定義できるので、
最適中間点P1 の仮想空間座標が(RXP1 ,Ry
P1 )、終点Bの仮想空間座標が(RxB,RyB)
であるので、■式と同様にして、     y−VyP1 =〔(VyB−VyP1 )/
(VxB−VxP1 )〕・(x−VxP1 )   
                         
                    ・・・・・
・・・・・■ただし、VxB≠VxP1   で表される。
-Optimum intermediate point Pn position determination process--This process determines the optimal intermediate point P1 obtained in the position determination process.
The polyline between and the end point B is set as the virtual wiring H2, and the previous two steps are repeated to determine the optimal midpoint Pn, and the starting point A
, the optimal intermediate point P1, . . . , Pn, and the end point B are the constituent points. First, the virtual wiring H2 can be defined by the line segment P1B, so
The virtual space coordinates of the optimal intermediate point P1 are (RXP1, Ry
P1), the virtual space coordinates of the end point B are (RxB, RyB)
Therefore, in the same way as formula ■, y-VyP1 = [(VyB-VyP1)/
(VxB-VxP1)]・(x-VxP1)

・・・・・・
...■ However, it is expressed as VxB≠VxP1.

【0017】ここで、最適中間点P1 と終点B間にお
けるベクトル空間座標のx座標における間隔は、x=V
xP1 −VD2であるので、これを■式に代入するこ
とで、y座標におけるyの値が求められる。このことよ
り、x=VXP2 ,y=VyP2 の時、位置P2 
点におけるベクトル空間座標を(VXP2 ,VyP2
)で定義できる。また、このP2 点は、■式のベクト
ル・ラスタ変換によって(RXP2 ,RyP2 )と
して得られる。そして、この点より、前工程と同様にし
て隣接配線1、2、その他配線禁止領域間の距離をラス
タ計測して、最適中間点P2 の位置を決定し、図3に
示すように、その位置に移動させる。また、この作業を
N回繰り返して、新しいポリライン上における中間点に
ついて行うことで、最適中間点Pn を求め、始点A、
最適中間点P1 、・・、Pn 、終点Bを構成点とす
るポリラインよりなる新配線を得る。このようにして、
始点Aと終点Bとの間を、隣接配線やスルーホール、パ
ンチ孔等の配線禁止領域を回避した配線として作成でき
る。
Here, the interval in the x coordinate of the vector space coordinates between the optimal intermediate point P1 and the end point B is x=V
Since xP1 -VD2, by substituting this into equation (2), the value of y at the y coordinate can be obtained. From this, when x=VXP2, y=VyP2, position P2
Let the vector space coordinates at the point be (VXP2 , VyP2
) can be defined. Further, this point P2 is obtained as (RXP2, RyP2) by vector-raster conversion of equation (2). Then, from this point, the distance between adjacent wirings 1 and 2 and other wiring prohibited areas is measured in a raster manner in the same way as in the previous process, and the position of the optimal intermediate point P2 is determined, and the position is determined as shown in FIG. move it to In addition, by repeating this operation N times for the intermediate points on the new polyline, the optimal intermediate point Pn is obtained, and the starting point A,
A new wiring consisting of a polyline whose constituent points are the optimal intermediate points P1, . . . , Pn, and the end point B is obtained. In this way,
It is possible to create wiring between the starting point A and the ending point B that avoids adjacent wiring, through holes, punched holes, and other prohibited wiring areas.

【0018】そして、以上の工程よりなる本実施例の自
動配線作成方法によれば、従来の手法による場合に比べ
、同じ配線の自動作成が、1/17程度に時間短縮がで
き、その作業工数を大幅に削減できた。
[0018] According to the automatic wiring creation method of this embodiment, which includes the above-mentioned steps, the time for automatically creating the same wiring can be reduced to about 1/17 compared to the conventional method, and the number of man-hours is reduced. could be significantly reduced.

【0019】ところで、上述した実施例において、始点
A、終点Bを接続する線分(仮想配線)が、他の配線と
交差したり、またはスルーホール、パンチ孔等の配線禁
止領域を通過することになる場合がある。この場合は、
予め、次の工程を経ることで、その始点A、または終点
Bを移動させ、移動後の始点A、終点B間の線分に基づ
いて、前述各工程よりなる実施例で配線を自動作成する
ことが好ましい。以下に、この始点・終点の移動させる
場合の実施例について、図4〜図8を参照しながら説明
する。ここに、図4は仮想配線H3 が他の配線3と重
なりを有する場合の配線図、図5は始点Aを中心とする
3×3の仮想ラスタテーブルの説明図、図6は仮想配線
H3 と他の配線3との交点付近での仮想ラスタテーブ
ル内のビット情報を示した説明図、図7はスルーホール
、パンチ孔、その他の配線等の配線禁止領域を仮想配線
H3 が通過する付近でのビット情報を示した説明図、
図8は構成点を移動させた後の配線図である。
By the way, in the above embodiment, the line segment (virtual wiring) connecting the starting point A and the ending point B may intersect with other wiring or pass through a wiring prohibited area such as a through hole or a punch hole. It may become. in this case,
By going through the following steps in advance, the starting point A or the ending point B is moved, and based on the line segment between the starting point A and the ending point B after the movement, wiring is automatically created in the example consisting of the above-mentioned steps. It is preferable. An embodiment in which the starting point and ending point are moved will be described below with reference to FIGS. 4 to 8. Here, FIG. 4 is a wiring diagram when the virtual wiring H3 overlaps with another wiring 3, FIG. 5 is an explanatory diagram of a 3×3 virtual raster table centered on the starting point A, and FIG. An explanatory diagram showing the bit information in the virtual raster table near the intersection with another wire 3. Figure 7 is an explanatory diagram showing the bit information in the virtual raster table near the intersection with another wire 3. An explanatory diagram showing bit information,
FIG. 8 is a wiring diagram after moving the constituent points.

【0020】まず、始点Aのラスタ座標(仮想空間座標
)は(RxA,RyA)であるので、この位置を中心と
する図5に示す3×3の仮想ラスタテーブルを考える。 図5において、RxA,RyAはラスタ座標、δx は
ラスタx座標の増加分、δy はラスタ座標の増加分で
ある。
First, since the raster coordinates (virtual space coordinates) of the starting point A are (RxA, RyA), consider a 3×3 virtual raster table shown in FIG. 5 centered at this position. In FIG. 5, RxA and RyA are raster coordinates, δx is an increase in raster x coordinate, and δy is an increase in raster coordinate.

【数1】 は(x,y)で示すラスタ座標の量子化エリア内にある
他の配線3のビット情報を表す。なお、δx ,δyの
ベクトル空間増加分Vδx ,Vδyは、実験的に■式
のベクトル・ラスタ線形変換式より、     Vδx =(|Vxmax−Vxmin|/|
RVxmax−RVxmin|)・1/10    V
δy =(|Vymax−Vymin|/|RVyma
x−RVymin|)・1/10が最適値であると求め
た。
##EQU1## represents bit information of another wiring 3 within the quantization area of raster coordinates indicated by (x, y). Incidentally, the vector space increments Vδx and Vδy of δx and δy are determined experimentally from the vector-raster linear conversion formula of equation (2): Vδx = (|Vxmax−Vxmin|/|
RVxmax-RVxmin|)・1/10 V
δy = (|Vymax−Vymin|/|RVyma
x-RVymin|)·1/10 was found to be the optimum value.

【0021】そして、具体的には、この仮想ラスタテー
ブルを仮想配線H3上に沿って動かして、その時のビッ
ト情報より配線3の重なり(ラスタテーブルにおいて、
ビット1の時、重なりを有することを示す)を認識する
。まず、仮想ラスタテーブルを仮想配線H3 と配線3
との交点付近に移動した図6について説明すると、ビッ
ト1の部分で配線3と重なりがあることが認識できる。 次に、この交点座標における配線3のビット情報を認識
後、その仮想ラスタテーブルの中心のラスタ情報より、
■式の逆変換によって、ベクトル空間での位置を求める
ことで、配線の重なりの有無を認識できる。そして、ビ
ット情報の認識により、重なりを認識した場合は、始点
A、または終点B、あるいは両点の座標を移動させ、新
たな仮想配線を施し、再度、同様の手法を講じる。そし
て、前述した実施例の各工程を経て、始点A、中間点P
1 ・・Pn 、終点Bの構成点数N+2をもつポリラ
インよりなる配線を作成する。
Specifically, this virtual raster table is moved along the virtual wiring H3, and the overlap of the wiring 3 (in the raster table,
When the bit is 1, it indicates that there is an overlap). First, create a virtual raster table between virtual wire H3 and wire 3.
Explaining FIG. 6, which has been moved to the vicinity of the intersection with the line 3, it can be recognized that there is an overlap with the line 3 at the bit 1 portion. Next, after recognizing the bit information of wiring 3 at this intersection coordinate, from the raster information at the center of the virtual raster table,
■By inversely transforming the equation and finding the position in the vector space, it is possible to recognize whether or not the wiring overlaps. Then, if an overlap is recognized by recognizing the bit information, the coordinates of the starting point A, the ending point B, or both points are moved, a new virtual wiring is applied, and the same method is performed again. Then, after each process of the above-described embodiment, the starting point A, the intermediate point P
1. Create a wiring consisting of a polyline with Pn and the number of constituent points N+2 of the end point B.

【0022】また、上記配線3が配線でなく、スルーホ
ール、パンチ孔、その他配線禁止領域等の複雑な曲線等
でも、ビット情報の判定により、仮想配線H3 の通過
する環境の認識が可能である。これを図7を用いて説明
すると、先に、該スルーホール、パンチ孔、その他配線
禁止領域をラスタ情報として予め記憶させておき、仮想
ラスタテーブルを仮想配線H3 上に沿って動かして、
該仮想ラスタテーブルが、該配線禁止領域あるいはその
近傍を通過する際、ビット1の情報を認識でき、該認識
によって、仮想配線H3 上または近傍にスルーホール
、その他配線禁止領域があることが識別できる。この場
合についても、前述したと同様に、その始点A、または
終点B、あるいは両点の座標を移動させ、新たな仮想配
線を施し、再度、同様の手法を講じる。そして、前述し
た実施例の各工程を経て、始点A、中間点P1 ・・P
n 、終点Bの構成点数N+2をもつポリラインよりな
る配線を作成する。
[0022] Furthermore, even if the wiring 3 is not a wiring, but has a complex curve such as a through hole, punch hole, or other area where wiring is prohibited, the environment through which the virtual wiring H3 passes can be recognized by determining the bit information. . To explain this using FIG. 7, first, the through holes, punch holes, and other wiring prohibited areas are stored in advance as raster information, and the virtual raster table is moved along the virtual wiring H3.
When the virtual raster table passes through or near the wiring prohibited area, the information of bit 1 can be recognized, and by this recognition, it can be identified that there is a through hole or other wiring prohibited area on or near the virtual wiring H3. . In this case, as described above, the coordinates of the starting point A, the ending point B, or both points are moved, a new virtual wiring is applied, and the same method is applied again. Then, through each process of the above-mentioned embodiment, the starting point A, the intermediate point P1...P
A wiring consisting of a polyline having N and end point B and the number of constituent points N+2 is created.

【0023】そして、上述した手法を実施することで、
始点A、終点Bを接続する線分(仮想配線)が、他の配
線と交差したり、またはスルーホール、パンチ孔等の配
線禁止領域を通過することになる場合を容易に認識でき
、かつその配線を移動させることができる。
[0023] Then, by implementing the above-mentioned method,
It is possible to easily recognize cases where a line segment (virtual wiring) connecting start point A and end point B (virtual wiring) intersects with other wiring or passes through areas where wiring is prohibited, such as through holes or punched holes. Wiring can be moved.

【0024】更に、前述した実施例で得たポリライン(
始点A、終点Bを移動させた後に、同様の工程を経て得
たポリラインを含む)の構成点N+2の全て、若しくは
任意の構成点を始点、あるいは終点として更に配線をす
る場合、該点を基準点として仮想配線を施して、前述し
た実施例の各工程を実施し、最適な中間点を有する新た
なポリラインよりなる配線を作成する(図8参照)。 この構成の場合、通常、中間点座標を新しく作る代わり
に既にある中間点座標P1 ,P2 ・・,Pn を移
動させるが、自動配線作成後は、その作成順序等により
、その最適化が崩れる場合に対処できるという利点を有
する。
Furthermore, the polyline (
After moving start point A and end point B, if further wiring is to be done using all or any of the constituent points N+2 (including polylines obtained through the same process) as the start point or end point, use this point as the reference point. A virtual wiring is performed as a point, and each process of the above-described embodiment is performed to create a wiring consisting of a new polyline having an optimal intermediate point (see FIG. 8). In this configuration, the existing waypoint coordinates P1, P2, ..., Pn are usually moved instead of creating new waypoint coordinates, but after automatic wiring creation, the optimization may break depending on the order of creation etc. It has the advantage of being able to deal with

【0025】なお、本発明は上述した実施例に限定され
るものでなく、本発明の要旨を変更しない範囲内で変形
実施できる方法を含む。
It should be noted that the present invention is not limited to the above-described embodiments, but includes methods that can be modified without changing the gist of the present invention.

【0026】[0026]

【発明の効果】以上の説明より明らかなように、本発明
の自動配線等に利用する配線作成方法によれば、ベクト
ル情報をラスタ情報に変換した位置を基準として、該位
置より隣接する配線禁止領域との間をラスタ計測し、そ
の配線禁止領域との交点座標を求めて、該変換したベク
トル情報より最適な位置に中間点を設定し、この工程を
繰り返すことで、全てのベクトル座標が配線禁止領域で
あるか否かを演算検出する必要なく、配線を必要とする
始点、終点間における障害物を回避したポリラインを短
時間で検出,作成できるという効果を有する。
[Effects of the Invention] As is clear from the above explanation, according to the wiring creation method used for automatic wiring, etc. of the present invention, based on the position where vector information is converted to raster information, wiring adjacent to that position is prohibited. Raster measurement is performed between the area, the coordinates of the intersection with the wiring prohibited area are determined, the intermediate point is set at the optimal position based on the converted vector information, and by repeating this process, all vector coordinates are routed. This has the advantage that a polyline that avoids obstacles between a starting point and an ending point that require wiring can be detected and created in a short time without the need to perform calculations to detect whether or not the area is a prohibited area.

【0027】従って、本発明によれば、配線作成工数を
削減することができる配線作成方法を提供できる。
Therefore, according to the present invention, it is possible to provide a wiring creation method that can reduce the number of wiring creation steps.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】仮想空間上の配線図である。FIG. 1 is a wiring diagram in virtual space.

【図2】中間点P1 移動後の配線図である。FIG. 2 is a wiring diagram after moving the intermediate point P1.

【図3】中間点P2移動後の配線図である。FIG. 3 is a wiring diagram after moving the intermediate point P2.

【図4】仮想配線H3 が他の配線3と重なりを有する
場合の配線図である。
FIG. 4 is a wiring diagram when a virtual wiring H3 overlaps with another wiring 3;

【図5】始点Aを中心とする3×3の仮想ラスタテーブ
ルの説明図である。
FIG. 5 is an explanatory diagram of a 3×3 virtual raster table centered on a starting point A.

【図6】仮想配線H3 と他の配線3との交点付近での
仮想ラスタテーブル内のビット情報を示した説明図であ
る。
FIG. 6 is an explanatory diagram showing bit information in a virtual raster table near an intersection between a virtual wiring H3 and another wiring 3;

【図7】スルーホール、パンチ孔、その他の配線等の配
線禁止領域を仮想配線H3 が通過する付近でのビット
情報を示した説明図である。
FIG. 7 is an explanatory diagram showing bit information in the vicinity where the virtual wiring H3 passes through wiring prohibited areas such as through holes, punch holes, and other wiring.

【図8】構成点を移動させた後の配線図である。FIG. 8 is a wiring diagram after moving the constituent points.

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

1  隣接配線 2  隣接配線 3  配線 4  スルーホール H  仮想配線 P  中間点 A  始点 B  終点 1 Adjacent wiring 2 Adjacent wiring 3 Wiring 4 Through hole H Virtual wiring P Midway point A Starting point B Ending point

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  始点、終点間に仮想配線を施し、該仮
想配線と配線禁止領域との距離を、該仮想配線上の特定
の位置の設計上のデータ値であるベクトル情報を、写像
される仮想空間上のデータ値であるラスタ情報に変換し
た位置から該仮想空間上の任意方向にラスタ計測し、該
写像した際の倍率等の条件から逆演算したベクトル情報
より最適な位置に中間点を設定し、始点と中間点および
終点からなる構成点をもつポリラインを得て、この方法
を任意回数N回繰り返し、始点、中間点1〜中間点Nと
終点からなる構成点数N+2をもつポリラインを新配線
として得るようにしたことを特徴とする自動配線等に利
用する配線作成方法。
Claim 1: A virtual wiring is provided between a starting point and an end point, and the distance between the virtual wiring and a wiring prohibited area is mapped with vector information that is a designed data value of a specific position on the virtual wiring. Raster measurement is performed in any direction on the virtual space from the position converted to raster information, which is a data value on the virtual space, and the intermediate point is set at the optimal position based on the vector information that is inversely calculated based on the conditions such as the magnification when mapping. Set this to obtain a polyline with constituent points consisting of the start point, intermediate point, and end point, and repeat this method an arbitrary number of times N to create a new polyline with the number of constituent points N+2 consisting of the start point, intermediate point 1 to intermediate point N, and the end point. A wiring creation method used for automatic wiring, etc., characterized in that the wiring is obtained as a wiring.
【請求項2】  仮想配線が配線禁止領域を通過するか
否を判定し、配線禁止領域を通過する場合、始点または
終点若しくは両点を移動した後、該移動した始点、終点
間に新たな仮想配線を施す請求項1に記載の自動配線等
に利用する配線作成方法。
[Claim 2] Determine whether or not the virtual wiring passes through the wiring prohibited area, and if the virtual wiring passes through the wiring prohibited area, move the starting point, the ending point, or both points, and then create a new virtual wiring between the moved starting point and ending point. 2. The wiring creation method for use in automatic wiring, etc. according to claim 1, wherein wiring is performed.
【請求項3】  始点、中間点1〜中間点Nと終点から
なる構成点数N+2の点の全て、または任意の点を始点
または終点とする請求項1または2に記載の自動配線等
に利用する配線作成方法。
[Claim 3] Utilizing for automatic wiring, etc. according to claim 1 or 2, wherein all or any point of the number N+2 of constituent points consisting of the starting point, intermediate point 1 to intermediate point N, and the ending point is used as the starting point or the ending point. How to create wiring.
JP3020435A 1991-01-20 1991-01-20 Method of formation of wiring to be used for automatic wiring or the like Pending JPH04236499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3020435A JPH04236499A (en) 1991-01-20 1991-01-20 Method of formation of wiring to be used for automatic wiring or the like

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3020435A JPH04236499A (en) 1991-01-20 1991-01-20 Method of formation of wiring to be used for automatic wiring or the like

Publications (1)

Publication Number Publication Date
JPH04236499A true JPH04236499A (en) 1992-08-25

Family

ID=12026967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3020435A Pending JPH04236499A (en) 1991-01-20 1991-01-20 Method of formation of wiring to be used for automatic wiring or the like

Country Status (1)

Country Link
JP (1) JPH04236499A (en)

Similar Documents

Publication Publication Date Title
JP4118452B2 (en) Object recognition device
JPH04181405A (en) Coordinate system setting system for robot
JPH04236499A (en) Method of formation of wiring to be used for automatic wiring or the like
JP6256463B2 (en) Control support system, control support method and control support program
JPH04299464A (en) Wiring state identifying method
JP2995127B2 (en) How to recognize circular holes
JPH0737893B2 (en) Pattern matching method
JPH065545B2 (en) Figure recognition device
JPS6257892A (en) Camera coordinate calibrating method of robot with visual sense
JPH10198722A (en) Production system for interactive wiring pattern
JP2576413B2 (en) Line segment extraction method for binary drawing images
JP2013007660A (en) Object recognition device for vehicle
US5416894A (en) Method for determining a candidate of a branched direction of a linear image
JP4386527B2 (en) Drawing support method and medium storing CAD program
JPH04236673A (en) Method for forming wiring to be utilized for automatic wiring of the like
JP2751114B2 (en) Character processing method
JPH03245274A (en) Designated length wiring system
JP2607694B2 (en) CAD system
JPH04254705A (en) Three-dimensional position recognition system
JPH0516072B2 (en)
JP3213486B2 (en) Wiring route determination method
JPH02204783A (en) Cursor display controller
JP2020102169A (en) Image processing device and image processing method
JP3681240B2 (en) Three-dimensional shape display method and three-dimensional CAD system using the method
JP2563163B2 (en) Figure instruction method