JP2982017B2 - Automatic wiring processing method - Google Patents
Automatic wiring processing methodInfo
- Publication number
- JP2982017B2 JP2982017B2 JP2195234A JP19523490A JP2982017B2 JP 2982017 B2 JP2982017 B2 JP 2982017B2 JP 2195234 A JP2195234 A JP 2195234A JP 19523490 A JP19523490 A JP 19523490A JP 2982017 B2 JP2982017 B2 JP 2982017B2
- Authority
- JP
- Japan
- Prior art keywords
- route
- wiring
- processing method
- automatic wiring
- component
- 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
Description
【発明の詳細な説明】 <産業上の利用分野> 本発明は、計算機を援用したプリント基板設計システ
ムにおける自動配線処理方法の改善に関するものであ
る。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement in an automatic wiring processing method in a printed circuit board design system using a computer.
<従来の技術> 従来より計算機を援用してプリント基板の配線等を自
動的に行なうプリント基板設計システムがある。<Prior Art> Conventionally, there is a printed circuit board design system that automatically performs wiring and the like of a printed circuit board by using a computer.
<発明が解決しようとする課題> この種のプリント基板設計システムにおいて用いられ
る自動配線アルゴリズムにはさまざまなものがあるが、
そのいずれもが部品を固定した上で、すなわち配置され
た部品位置は配線処理においては決して乗り越えられな
い障害物として(絶対不可侵の障害物として)扱われ、
部品を乗り越える配線とならないような経路を探索し、
遠回りの配線を選択する配線手法となっている。例え
ば、第6図(a)に示すように点Aと点Bを結線する場
合、わずかな変更(部品の移動)をすれば同図(b)に
示すように容易にA−B間を配線できるような場合で
も、部品1および部品2の位置を固定としているために
経路Pで示すような遠回りの経路を選択せざるを得ない
という問題があった。<Problems to be solved by the invention> There are various automatic wiring algorithms used in this type of printed circuit board design system.
After all of them fix the parts, that is, the arranged parts position is treated as an obstacle that can never be overcome in the wiring process (absolutely inviolable obstacle),
Search for routes that do not lead to wiring over parts,
This is a wiring method for selecting a circuitous wiring. For example, when connecting points A and B as shown in FIG. 6 (a), if a slight change (movement of parts) is made, wiring between A and B can be easily performed as shown in FIG. 6 (b). Even in such a case, there is a problem that since the positions of the component 1 and the component 2 are fixed, a detour route as shown by the route P must be selected.
専門家による手動配線設形においては、必要ならば適
宜部品の位置(配置)を変更しつつ配線しており、同図
(b)のように部品の配置を変えA−B間を最短距離で
容易に配線することができる。このような配線手法が自
動配線システムの専門家に及ばない点の一つとなってい
る。In the manual wiring configuration by an expert, wiring is performed while changing the position (arrangement) of parts as necessary, and the arrangement of parts is changed as shown in FIG. It can be easily wired. One of the points that such a wiring method is inferior to the expert of the automatic wiring system.
本発明の目的は、このような点に鑑みてなされたもの
で、配線処理の際、必要ならば部品配置の変更を考慮し
ながら配線し、しかもこのような処理が大幅な処理時間
の増大を招くことのないような自動配線処理方法を提供
することにある。The object of the present invention has been made in view of such a point. In the wiring process, if necessary, wiring is performed in consideration of a change in component arrangement, and such processing significantly increases processing time. An object of the present invention is to provide an automatic wiring processing method that does not invite.
<課題を解決するための手段> 第1図は本発明の自動配線処理方法の原理フローであ
り、次の手順により経路を求める。<Means for Solving the Problems> FIG. 1 is a flow chart of the principle of the automatic wiring processing method of the present invention, and a route is obtained by the following procedure.
配置された部品をペナルティを持った障害物として扱
い、すべての可能な経路を探索する。Treat the placed parts as obstacles with penalties and search all possible paths.
探索された経路について経路の長さとペナルティ値の
積で定義されるコストの値が最も低い経路を選択し、そ
の経路が既配置部品を乗り越える場合には乗り越えがな
くなるように当該部品位置を移動する。For the searched route, a route with the lowest cost value defined by the product of the route length and the penalty value is selected, and if the route crosses an already-placed component, the position of the component is moved so as not to get over. .
<作用> 従来は配置された部品は決して乗り越えられない障害
物として扱われていたが、本発明ではこれをある定めら
れたペナルティを払えば乗り越えることが可能なものと
して扱う。<Operation> Conventionally, the arranged components are treated as obstacles that cannot be overcome, but in the present invention, they are treated as those that can be overcome by paying a predetermined penalty.
配線に際して、配置部品を乗り越える必要がなければ
通常の配線処理方法により配線を行うが、乗り越えなけ
ればひどく遠回りをするような配線の場合には遠回りの
度合とペナルティ値との関係に従い適宜乗り越える配線
処理を行なう。When wiring, if it is not necessary to go over the placed components, perform wiring using the normal wiring processing method. Perform
次に、乗り越える配線に対しては、乗り越え部分(経
路と配置された部品の重複部分)が解消されるように当
該部品を移動する。Next, with respect to the wiring that goes over, the part is moved so that the part that goes over (the overlapping part of the route and the arranged part) is eliminated.
<実施例> 以下図面を参照して本発明を詳細に説明する。第2図
は本発明の自動配線処理方法を実現するためのシステム
の構成を示すブロック構成図である。図において、1は
プリント基板上のすべての図形情報、すなち配置された
部品や既配線経路等のデータが格納された記憶装置であ
る。2は記憶装置1から情報を読み出す図形データ読み
出し処理部であり、配置された部品に対しては適当なペ
ナルティを付加する。3は最適経路探索処理部であり、
探索された可能な経路のうち、最もコストの低い経路を
見いだす処理を行なう。経路のコストは、経路の長さと
ペナルティ値の積で定義される値である。また、前記図
形データ読み出し処理部2で付加するペナルティ値は、
通常の場合は1.0、配置された部品についはこれよりも
大きい値に設定する。<Example> Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 2 is a block diagram showing the configuration of a system for realizing the automatic wiring processing method of the present invention. In FIG. 1, reference numeral 1 denotes a storage device which stores all graphic information on a printed circuit board, that is, data such as arranged components and already-routed paths. Reference numeral 2 denotes a graphic data read processing unit that reads information from the storage device 1, and adds an appropriate penalty to the arranged components. 3 is an optimal route search processing unit,
A process of finding the lowest cost route among the searched possible routes is performed. The route cost is a value defined by the product of the route length and the penalty value. The penalty value added by the graphic data read processing unit 2 is:
Normally, the value is set to 1.0, and the value of the placed component is set to a value larger than this.
上記経路の探索は例えば迷路法等により行なう。な
お、記憶装置1から図形情報の読み出しが必要になった
場合には、図形データ読み出し処理部2を利用する。The search for the route is performed by, for example, a maze method. When it becomes necessary to read the graphic information from the storage device 1, the graphic data read processing unit 2 is used.
4は部品の移動による乗り越え解消処理部であり、最
適経路探索処理部3で求められた経路が配置された部品
と重複しているときは、部品を移動してこれを解決する
処理を行なう。なお、経路が既に配置された部品と重複
しているかどうかの判断を行なう際に必要となるデータ
は記憶装置1から直接読み出す。Reference numeral 4 denotes a processing unit for overcoming obstacles due to the movement of components. When the route obtained by the optimum route search processing unit 3 overlaps with the arranged component, a process for moving the component and solving the problem is performed. Note that data necessary for determining whether or not the route overlaps with a component already placed is read directly from the storage device 1.
このような構成における自動配線処理方法に係る動作
を第3図ないし第5図を参照して次に説明する。なお、
第3図および第4図は動作フロー、第5図は結線の様子
を説明するための説明図である。以下第5図に示すよう
に点AとBを結線する場合を例をとって説明する。な
お、配線経路は幅4(隣接部品あるいは隣接パターンと
の間隔がある基準幅の4倍であること)を必要とするも
のとする。The operation related to the automatic wiring processing method in such a configuration will be described next with reference to FIGS. In addition,
FIG. 3 and FIG. 4 are operation diagrams, and FIG. 5 is an explanatory diagram for explaining a connection state. Hereinafter, a case where the points A and B are connected as shown in FIG. 5 will be described as an example. It is assumed that the wiring path requires a width of 4 (four times as large as a reference width having an interval between an adjacent component or an adjacent pattern).
まず、点AとBの結線に関して、例えば迷路法を利用
してすべての可能な経路を探索する。その結果、第5図
(b)に示すように2つの解、すなわち経路P1とP2が求
められる。First, regarding the connection between the points A and B, all possible routes are searched using, for example, a maze method. As a result, as shown in FIG. 5 (b), two solutions, that is, paths P1 and P2 are obtained.
ここで、それぞれのコストを第4図のコスト計算フロ
ーに従って計算する。計算の結果は次の通りになる。Here, each cost is calculated according to the cost calculation flow of FIG. The result of the calculation is as follows.
経路P1: (経路の長さが30)×(ペナルティは1.0) =30 経路P2: (経路の長さが10)×(ペナルティは初期値の2倍、2.
0)=20 次に、第3図に示す処理により最もコストの低い経路
を選択し、経路P2の方が選ばれる。Route P1: (route length is 30) x (penalty is 1.0) = 30 Route P2: (route length is 10) x (penalty is twice the initial value, 2.
0) = 20 Next, the route with the lowest cost is selected by the processing shown in FIG. 3, and the route P2 is selected.
ところで、この解2(経路P2)は配置部品2と交差し
ている(幅が4以下)。そこで、経路P2との重複がなく
なるまで部品2を右に移動する。その結果、第5図
(c)に示すようになり、配線が完了する。By the way, this solution 2 (path P2) intersects with the arrangement component 2 (the width is 4 or less). Therefore, the component 2 is moved right until there is no overlap with the route P2. As a result, the result is as shown in FIG. 5C, and the wiring is completed.
なお、上記実施例では部品のペナルティ値を2倍とし
たが、移動の容易なものには低い値を、移動が困難な部
品には高い値を与えるようにして、移動の難易度を含ん
だ配線を行なうようにすることもできる。例えば上記実
施例でペナルティ値を5とした場合は、配置変更のない
解1(経路P1)が選ばれる。In the above embodiment, the penalty value of the component is doubled, but a low value is given to a component that is easy to move, and a high value is given to a component that is difficult to move. Wiring can also be performed. For example, when the penalty value is set to 5 in the above embodiment, the solution 1 (route P1) without any change in the arrangement is selected.
なお、部品配置の変更処理は、それが必要となって初
めて行なわれるものであり、処理に無駄がない。It should be noted that the component arrangement change processing is performed only when it is necessary, and there is no waste in the processing.
また、本発明の方法では従来の処理に比べて部品を移
動する処理が新たに必要となるが、一般に配線問題にお
いては処理時間の大部分は探索処理にあり、それと比較
すれば部品の移動などの図形の変形処理は実行時間上ほ
とんど問題とならない時間である。Also, in the method of the present invention, a process of moving a component is newly required as compared with the conventional process. However, in the wiring problem, most of the processing time is in the search process. Is a time that hardly causes a problem in execution time.
<発明の効果> 以上詳細に説明したように、本発明によれば次のよう
な効果がある。<Effects of the Invention> As described in detail above, the present invention has the following effects.
従来は不可能であった部品配置の変更を考慮した配線
が可能となる。Wiring can be performed in consideration of a change in component arrangement, which was not possible in the past.
しかも、配置変更に対する優先度を表現することがで
き、見いだされた経路は配置と配線の両方を同時に考慮
した場合の最適の経路となる。In addition, the priority for the placement change can be expressed, and the found path is the optimum path when both the placement and the wiring are considered at the same time.
更に、実行速度にも大きな影響を与えない自動配線処
理方法である。Further, the automatic wiring processing method does not significantly affect the execution speed.
第1図は本発明の自動配線処理方法の原理フロー、第2
図は本発明を実施するためのシステム構成図、第3図お
よび第4図は動作フローを示す図、第5図および第6図
は結線の様子を示す説明図である。 1……記憶装置、2……図形データ読み出し処理部、3
……最適経路探索処理部、4……乗り越え解消処理部。FIG. 1 is a flow chart showing the principle of the automatic wiring processing method of the present invention, and FIG.
FIGS. 3 and 4 are diagrams showing an operation flow, and FIGS. 5 and 6 are explanatory diagrams showing connection states. 1 storage device, 2 graphic data read processing unit, 3
... Optimal route search processing unit, 4...
Claims (1)
理方法であって、 プリント基板に配置された部品をペナルティを持った障
害物として扱い、すべての可能な配線経路を探索する工
程と、 前記探索された配線経路から経路の長さと前記ペナルテ
ィの値の積で定義されるコストの値が最も低い経路を選
択し、その経路が既配置の障害物を乗り越える場合には
乗り越えがなくなるように当該障害物の位置を移動する
工程 からなることを特徴とする自動配線処理方法。1. An automatic wiring processing method for performing automatic wiring of a printed circuit board, comprising: treating parts arranged on the printed circuit board as obstacles having a penalty; and searching for all possible wiring paths; A route having the lowest cost value defined by the product of the length of the route and the penalty value is selected from the searched wiring routes, and if the route passes over an already-positioned obstacle, the route is determined so that the route is not overtaken. An automatic wiring processing method, comprising a step of moving the position of an obstacle.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2195234A JP2982017B2 (en) | 1990-07-24 | 1990-07-24 | Automatic wiring processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2195234A JP2982017B2 (en) | 1990-07-24 | 1990-07-24 | Automatic wiring processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0480881A JPH0480881A (en) | 1992-03-13 |
| JP2982017B2 true JP2982017B2 (en) | 1999-11-22 |
Family
ID=16337718
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2195234A Expired - Fee Related JP2982017B2 (en) | 1990-07-24 | 1990-07-24 | Automatic wiring processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2982017B2 (en) |
-
1990
- 1990-07-24 JP JP2195234A patent/JP2982017B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0480881A (en) | 1992-03-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5790414A (en) | Automatic routing method and automatic routing apparatus | |
| JP2982017B2 (en) | Automatic wiring processing method | |
| JP3177932B2 (en) | Printed circuit board design equipment | |
| JPH07296027A (en) | Method for determining the automatic bundle wiring route of printed circuit boards | |
| GB2131577A (en) | Circuit route planning | |
| JP2848097B2 (en) | Layout design method | |
| JPS635794B2 (en) | ||
| JP2951075B2 (en) | Cassette layout selection device | |
| JP3271570B2 (en) | Floor plan apparatus, floor plan method, recording medium recording floor plan processing program | |
| JP2986279B2 (en) | Wiring method and printed circuit board design system | |
| JPH04264983A (en) | Printed board automatic wiring device | |
| JPH04111170A (en) | Device for designing layout of circuit board | |
| JPH08221458A (en) | Bundle wiring design equipment | |
| JPH0677322A (en) | Automatic wiring method | |
| JPS63201880A (en) | Image processing device | |
| JPS6364902B2 (en) | ||
| JPH04322373A (en) | Interactive wiring system | |
| JPH0453051Y2 (en) | ||
| JP2713969B2 (en) | Automatic wiring pattern setting method | |
| JPH01234980A (en) | Wiring route display device | |
| JPH0426147B2 (en) | ||
| JPH026102B2 (en) | ||
| JPH0520789B2 (en) | ||
| JPH0661088B2 (en) | Animation-display control processing method | |
| JPH04235681A (en) | Arrangement processing system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080924 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080924 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090924 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |