JP4044642B2 - Route forming system and method, and recording medium storing a program for causing a computer to perform route forming processing - Google Patents

Route forming system and method, and recording medium storing a program for causing a computer to perform route forming processing Download PDF

Info

Publication number
JP4044642B2
JP4044642B2 JP13396897A JP13396897A JP4044642B2 JP 4044642 B2 JP4044642 B2 JP 4044642B2 JP 13396897 A JP13396897 A JP 13396897A JP 13396897 A JP13396897 A JP 13396897A JP 4044642 B2 JP4044642 B2 JP 4044642B2
Authority
JP
Japan
Prior art keywords
point
detour
straight line
path
end 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.)
Expired - Fee Related
Application number
JP13396897A
Other languages
Japanese (ja)
Other versions
JPH1055382A (en
Inventor
宏一 高山
俊司 倉田
浩典 上牟田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP13396897A priority Critical patent/JP4044642B2/en
Publication of JPH1055382A publication Critical patent/JPH1055382A/en
Application granted granted Critical
Publication of JP4044642B2 publication Critical patent/JP4044642B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、プリント基板の設計を行うCAD(Computer Aided Design )システム等に適用され、プリント配線パターン等の経路を形成するためのシステム及び方法及びコンピュータに経路形成の処理を行なわせるためのプログラムを格納した記録媒体に関する。
【0002】
【従来の技術】
従来、プリント基板の設計を行なうCADシステムにおいて、プリント基板上の2点間にプリント配線パターンが形成されるべき経路を決める場合、例えば、次のような処理が行なわれている。
プリント基板面を細かい矩形領域(メッシュ)に分割する。始点と終点(2点)が指定されると、該始点から障害物(例えば、電子部品、既に形成されたプリント配線パターン、スルーホール等)のない矩形領域を辿って終点に至る経路が探索される。即ち、経路の探索の過程で選択された各矩形領域において、隣接する8方向の矩形領域に障害物が存在するか否かが調べられ、障害物が存在しない隣接矩形領域のうちから所定のアルゴリズムに従って経路が通るべき1つの矩形領域が選ばれる。このように矩形領域が選択される毎に同様の処理を繰り返すことによって、始点から障害物のない矩形領域を辿って終点に至る経路が決定される。
【0003】
【発明が解決しようとする課題】
上記のような従来の経路の決定手法では、常に、経路が通るべき矩形領域と判断された矩形領域に隣接する全ての矩形領域について障害物の有無を更に判定しなければならず、その処理の対象となる領域が広くなる。その結果、処理量が多くなって、処理時間が長くなってしまう。
【0004】
また、選択されるべき矩形領域により経路が進む方向(8方向)が大きく変わってしまうため、決定された経路の長さは、不要に長くなる可能性がある。
そこで、本発明の第一の課題は、障害物を迂回して2点間を結ぶ経路を短時間にて決定できるような経路形成システム及び方法及を提供することである。
また、本発明の第二の課題は、障害物を迂回して2点間を結ぶより短い経路を決定できるような経路形成システム及び方法を提供することである。
【0005】
更にまた、本発明の第三の課題は、上記のように2点間を結ぶ経路形成の処理をコンピュータに行なわせるためのプログラムを格納した記録媒体を提供することである。
【0006】
【課題を解決するための手段】
本発明は、指定された始点から終点までの経路を形成する経路形成装置において、迂回路の位置情報を格納する経路格納手段と、始点と終点間を結ぶ直線を演算する直線演算手段と、該直線演算手段にて演算された直線を上下左右に所定のクリアランス値分、拡張した範囲と重なる障害物を検出する障害物検出手段と、該検出された障害物のオフセット外形線を求め、前記直線と前記オフセット外形線が交差する第一の交点と第二の交点を求め、前記第一の点から前記オフセット外形線を経て前記第二の交点に至る迂回路を求め、決定した迂回路の前記第一の交点と前記第二の交点と前記迂回路上の点を前記経路格納手段に格納する迂回路決定手段と、前記経路格納手段に格納された全ての点について、1点ずつ点を特定し、該特定点と接続可能な他の点を特定し、短絡経路が形成できるか判定し、短絡経路を形成できると判定した場合、前記経路格納手段から形成される短絡経路から外れる点を削除し、前記特定点と前記他の点を前記短絡経路の始点と終点として、前記直線演算手段と前記障害物検出手段と前記迂回路決定手段を制御する短絡経路決定手段と、前記直線と前記決定された迂回路とを用いて始点から終点に至る経路を形成する手段とを含むことを特徴とする。
【0007】
上記のような、経路形成システム及び方法では、指定された始点と終点間を結ぶ直線が基本的な経路として選ばれる。そして、その基本的な経路である直線と既に表示画面上に存在する障害物と交差する場合に、その障害物を迂回する迂回路が求められる。そして、この直線と迂回路に基づいて始点から終点に至る最終的な経路が形成される。
【0008】
上記経路形成システム及び方法では、始点から終点を結ぶ直線(最短距離)に添って、迂回路の決定のための処理が行なわれるので、処理の対象となる領域が必要以上に広くならない。そして、形成される経路は、始点から終点を結ぶ直線に可能な限り近いものとなる。
例えば、本発明をプリント基板設計におけるプリント配線パターンの形成に適用する場合、形成すべきプリント配線パターンは、障害物(回路素子等)から所定の距離だけ離さなければならない。このような場合において、始点から終点に至る直線に近すぎる障害物は、該直線と交差するものと見なすようにするという観点から、上記経路形成システム及び方法において、演算された直線を含む所定の検索領域を生成し(検索領域設定手段)、該検索領域と重なる表示画面上の障害物を検索する(検索手段)ことにより、障害物を検出する(障害物検出手段)ようにできる。
【0009】
また、前記迂回路決定手段は、更に、第一の交点から第二の交点まで障害物の周りの迂回路上の点と点の間を結ぶ直線に対して、短絡する経路を形成できるかを判定し、短絡経路を形成できると判定した場合、前記経路格納手段から前記短絡経路により不要となる点を削除する短絡経路決定手段と、前記第一の交点から前記第二の交点まで前記障害物の周りを右回り及び左回りで辿る経路のうち短い方を迂回路として決める手段を有することを特徴とする。
【0010】
このような経路形成システム及び方法では、障害物の周りを右回り及び左回りで辿る経路のうち短い方が迂回路として決定され、始点から終点に至るより短い経路を形成することができる。
また、検出された障害物の迂回路が容易に決定できるという観点から、該直線と交わる障害物の周りを囲むオフセット外形線を求め、該オフセット外形線と上記直線との交点を演算し(交点演算手段)、演算された交点の一方を第一の点、他方を第二の点とし、この第一の点から第二の点までオフセット外形線を右回り及び左回りで辿る経路のうち短い方を選択し、この選択された経路を迂回路として決める(迂回路決定手段)ようにできる。
【0011】
このような、経路形成システム及び方法では、障害物を囲むオフセット外形線を辿る経路の一部が当該障害物の迂回路として決定される。更に、そのオフセット外形線を辿る経路のうちより短い経路が迂回路となる。従って、より短い迂回路が決定される。
上記のように、オフセット外形線に基づいて迂回路を決定する経路形成システム及び方法において、該オフセット外形線を容易に決定できるという観点から、上記オフセット外形線は矩形を形成するようできる。即ち、障害物の迂回路は、この障害物を囲む矩形の一部となる。
【0012】
このような経路形成システム及び方法では、この障害物を内部に含む矩形を設定することで迂回路を決定することができる。この矩形と内部の障害物との関係(障害物の外形線と矩形(オフセット外形線)との距離)は、形成すべき経路を障害物からどれだけ離すべきかに基づいて定められる。
上述したようなシステム及び方法にて決定される経路を更に短縮できるようにするという観点から、上述した経路形成システム及び方法において、更に、直線と迂回路から決まる始点から終点に至る経路上のある点から他の点に至る短絡経路を決め(短絡経路決定手段)、上記直線と迂回路から決まる始点から終点に至る経路を決定された短絡経路にて補正する(経路補正手段)ようにできる。
【0013】
上記経路形成システム及び方法では、上記直線と迂回路から決まる始点から終点に至る経路上のある点と他の点との間の部分が、それらの点間に形成される短絡経路にて補正される。従って、上記直線と迂回路から決まる始点から終点に至る経路が短縮される。
また、上記のようにして短絡経路を形成する場合、対象となる2点間の最短距離となる直線にて短絡経路を形成することが望ましい。この場合、2点間を結ぶ直線上に他の障害物が存在する可能性がある。このように、該2点間を結ぶ直線上に障害物があったとしても、形成される短絡経路ができるだけ2点間を結ぶ直線に近くなるようにするという観点から、上記直線と迂回路から決まる始点から終点に至る経路上のある点から他の点に至る短絡直線を演算し、演算された短絡直線に交差する既に表示画面に表示された障害物を検索し、検索された障害物の周りを迂回する短絡迂回路を決定し、上記短絡直線及び短絡迂回路に基づいて短絡経路を決定する(短絡経路決定手段)ようにできる。
【0014】
上記経路形成システム及び方法では、既に得られている始点から終点に至る経路上の2点間を結ぶ直線(短絡直線)が基本的に短絡経路として選択される。そして、その直線が障害物と交差する場合に、その障害物を迂回する短絡迂回路が決定され、上記短絡直線と短絡迂回路とに基づいて短絡経路が決定される。従って、短絡経路は、該2点間を結ぶ直線(最短距離)により近いものとなる。
【0015】
特に、経路の終点がマウス等のポインティングデバイスにて指定できる場合、その指定位置を移動する時に、その終点の移動に伴って表示画面上に形成される経路が変化すると(ラバーバンディング)、ユーザにとって便利である。このような、画面表示を実現する観点から、更に、本発明は、経路を表示装置に表示する表示手段と、前記表示装置において経路の始点と終点の指示を入力する入力手段とを有し、前記迂回路決定手段は、更に、決定した迂回路を表示装置に表示する表示手段を有することを特徴とする。
【0016】
本発明は、更に、前記入力手段にて前記表示装置の画面上で指定される点を終点として所定周期でサンプリングする終点サンプリング手段と、前記終点サンプリング手段にて終点がサンプリングされる毎に、前記始点から前記終点に至る経路が形成されるように前記終点を前記直線演算手段に提供する制御手段とを有し、サンプリングされる終点の変化に応じて前記表示装置の画面上に形成される経路が順次変化するようにしたことを特徴とする。
【0017】
本発明は、指定された始点から終点までの経路を、直線演算手段、障害物検出手段、障害物検出手段、迂回路決定手段、短絡経路決定手段及び経路形成手段を有するコンピュータにより形成する経路形成方法において、前記直線演算手段で、始点と終点間を結ぶ直線を演算するステップと、迂回路の位置情報を経路格納手段に記憶するステップと、障害物検出手段で、前記演算された直線を上下左右の所定のクリアランス分拡張した範囲と重なる障害物を検出するステップと、迂回路決定手段で、前記検出された障害物のオフセット外形線を求め、前記直線と前記オフセット外形線が交差する第一の交点と第二の交点を求め、前記第一の交点から前記オフセット外形線を経て前記第二の交点に至る迂回路を求めるステップと、前記短絡経路決定手段で、前記経路格納手段に格納された全ての点について、1点ずつ点を特定し、該特定点と接続可能な他の点を特定し、短絡経路が形成できるか判定し、短絡経路を形成できると判定した場合、前記経路格納手段から形成される短絡経路から外れる点を削除し、前記特定点と前記他の点を前記短絡経路の始点と終点として、前記直線演算手段と前記障害物検出手段と前記迂回路決定手段を制御するステップと、前記経路形成手段で、前記直線と前記決定された迂回路とを用いて始点から終点に至る経路を形成するステップと、前記第一の交点と前記第二の交点と前記迂回路の点を前記経路格納手段に格納するステップとを含むことを特徴とする。
【0019】
本発明は、始点と終点間を結ぶ直線を演算するステップと、迂回路の位置情報を記憶するステップと、前記演算された直線を上下左右の所定のクリアランス分拡張した範囲と重なる障害物を検出するステップと、前記検出された障害物のオフセット外形線を求め、前記直線と前記オフセット外形線が交差する第一の交点と第二の交点を求め、前記第一の交点から前記オフセット外形線を経て前記第二の交点に至る迂回路を求めるステップと、前記迂回路記憶ステップで記憶された全ての点について、1点ずつ点を特定し、該特定点と接続可能な他の点を特定し、短絡経路が形成できるか判定し、短絡経路を形成できると判定した場合、前記迂回路記憶ステップから形成される短絡経路から外れる点を削除し、前記特定点と前記他の点を前記短絡経路の始点と終点として、前記直線演算手段と前記障害物検出手段と前記迂回路決定手段を実行するステップと、前記直線と前記迂回路とを用いて始点から終点に至る経路を形成するステップと、前記第一の交点と前記第二の交点と前記迂回路の点を記憶するステップとをコンピュータに実行させることを特徴とする。
【0020】
なお、更に上述した各経路形成システムでの(及び方法に従った)処理をコンピュータに行なわせるため、対応する機能をコンピュータに実現させるプログラムが格納された記録媒体が提供される。
【0021】
【発明の実施の形態】
以下、本発明の実施の一形態を図面に基づいて説明する。
本発明に係る経路形成システム及び方法は、例えば、プリント基板を設計する際にプリント配線パターン(配線経路)を表示画面上に形成するシステム(CAD)に適用できる。このようなシステムのハードウエアは、例えば、図1に示すように構成される。
【0022】
図1において、このシステムは、CPU(中央処理演算ユニット)10、メモリユニット20、入力制御ユニット30、表示制御ユニット40、CD−ROMドライバ50およびハードディスクユニット60を有している。これら各ユニット10、20、30、40、60及びCD−ROMドライバ50は、バス70を介して接続されている。また、システムは、更に、情報入力デバイスとしてのキーボード31、ポインティングデバイスとしてのマウス32、および表示ユニット42を有している。キーボード31およびマウス32からの情報は、入力制御ユニット30およびバス70を介してCPU10に提供される。
【0023】
メモリユニット20は、RAM、ROM等のメモリデバイスを含み、プログラムおよび各種の情報を記憶する。ハードディスクユニット60は、ファイル、データベース、プログラム等の情報を格納している。プリント基板設計に関するプログラムはCD−ROM100に格納され、このCD−ROM100により該プリント基板設計に関するプログラムが当該システムに提供される。CD−ROM100はCD−ROMドライバ50にセットされ、CD−ROMドライバ50によってCD−ROM100から読みだされた該プログラムは、バス70を介してハードディスクユニット60に格納される。そして、ハードディスクユニット60から必要に応じて読みだされたプログラムは、メモリユニット20(RAM)に格納される。CPU10は、このメモリユニット20に格納されたプログラムに従ってプリント配線パターンの形成処理(経路形成の処理)を含むプリント基板設計に関する処理を実行する。
【0024】
上記CD−ROM100は、本発明に係るコンピュータに経路形成の処理を行わせるためのプログラムを格納した記録媒体に相当する。この記憶媒体は、CD−ROM100のほか、システムの構成に応じて、磁気ディスク(フロッピーディスク)、DVD等の他の光ディスク、光磁気ディスク(MO)、磁気テープ、その他半導体メモリカード(PCカード)等で構成することができる。
【0025】
CPU10によるプリント基板設計に関する処理の実行の結果、設計されたプリント基板上のプリント配線パターンが表示ユニット42に表示される。オペレータは、例えば、表示ユニット42に表示されるプリント配線パターンを見ながらキーボード31、マウス32を操作して設計に必要な情報を入力する。
表示ユニット42の画面上にプリント配線パターンを形成するため、CPU10は、例えば、図2および図3に示すプログラムの手順に従って処理を実行する。
【0026】
図2において、まず、CPU10は、入力された配線経路の始点(d1)、終点(d2)および配線経路と障害物とのクリアランス値δを内部のレジスタにセットする(S1)。この配線経路の始点(d1)、終点(d2)および配線経路と障害物とのクリアランス値δは、別に設計された電子回路を記述する回路情報に基づいて自動的に当該システムに提供されるものでも、また、ユーザがキーボード31およびマウス32を用いて当該システムに提供するものであってもよい。そして、CPU10は、セットされた始点(d1)および終点(d2)を結ぶ直線を演算する(S2)。この始点(d1)から終点(d2)に至る直線Lは、例えば、図7(1)に示すように、既に、表示ユニット42の画面上に表示された電子部品A、B(障害物A、B)と、交差すると仮定する。
【0027】
その後、CPU10は、演算した直線Lを内部に含む検索範囲Eoを、図7(2)に示すように設定する(S3)。この検索範囲Eoは、直線Lを上下、左右方向にセットしたクリアランス値δだけ拡張した範囲である。そして、CPU10は、検索範囲Eoと重なる画面上の障害物を検索する(S4)。その検索の結果、障害物A、Bが得られると(S5)、そのうちの1つ、例えば、障害物Aが処理の対象として特定される(S6)。
【0028】
CPU10は、特定した障害物Aの周りを囲むオフセット外形線AOを求める(S7)。このオフセット外形線AOは、例えば、図7(3)に示すように、障害物Aの外形線からクリアランス値δだけ離れた位置に設定される線である。オフセット外形線AOは矩形を形成する。その後、CPU10は、上記直線Lと障害物Aの周りに設定したオフセット外形線AOとの交点を演算するS(8)。この場合、図7(3)に示すように、交点d3およびd4が得られる。
【0029】
このように、直線Lとオフセット外形線AOとの交点d3およびd4が得られると、CPU10は、交点d3から右回りにオフセット外形線AOを辿って交点d4に至る経路と、交点d3から左周りにオフセット外形線AOを辿って交点d4に至る経路のうち短い経路を迂回路として決定する(S9)。この場合、交点d3から左回りにオフセット外形線AOを辿って交点d4に至る経路が、図7(4)に示すように、迂回路LAとして決定される。その後、CPU10は、上記のように演算して求めた交点d3およびd4と迂回路LAの折曲点d7およびd8を求めるべき経路上の点としてメモリユニット20(RAM)に格納する(S10)。そして、CPU10は、検索された全ての障害物についての処理が終了したかどうかを判定し(S11)、終了していなければ、次の障害物Bを特定して(S6)、上記と同様の処理(S7、S8、S9、S10)を実行する。その結果、図7(3)に示すように障害物Bの周りを囲むオフセット外形線BOと直線Lとの交点d5およびd6に基づいて、図7(4)に示すような迂回路LBが決定される。そして、この交点d5およびd6と迂回路LBの折曲点d9およびd10が更に、求めるべき経路上の点としてメモリユニット20に格納される。
【0030】
上記のような処理を検索された障害物全てについて終了すると(S11)、CPU10は、図3に示す手順での処理を始める。
図3において、CPU10は、上記のようにメモリユニット20に格納された各点(d3、d4、d5、d6、d7、d8、d9、d10)から1点diを特定する(S21)。また、CPU10は、この特定した点diと接続可能な他の点(以下対応点djという)を特定する(S22)。そして、CPU10は、該点diと対応点djとの間に短絡経路が形成できるか否かを判定する(S23)。例えば、点d3(di)は点d8(dj)と接続可能であるが、障害物Aのために、点d3と点d8との間には短絡経路を形成することができない。また、図8(1)に示すように、点d8(di)は点d9(dj)と接続可能であり、更に、点d8と点d9との間には短絡経路Lsを形成することができる。このように、2点間に短絡経路を形成することができると判定されると、CPU10は、その短絡経路によって不要になる経路上の点をメモリユニット20に格納した点から削除する(S24)。上記のように、点d8と点d9との間に短絡経路Lsが形成できる場合、図8(2)に示すように、その短絡経路Lsによって不要となる点d4およびd5がメモリユニット20から削除される。
【0031】
CPU10は、上記のような処理を形成すべき経路上の点としてメモリユニット20に格納された全ての点(d3、d4、d5、d6、d7、d8、d9、d10)について実行する(S25、S26)。そして、全ての点についての当該処理が終了すると、CPU10は、その時点でメモリユニット20に経路上の点として格納されている点を用いて、プリントパターン配線の表示処理を実行する(S27)。この処理では、始点(d1)から上記メモリユニット20に格納された点(d3、d7、d8、d9、d10、d6)を順次辿って終点(d2)に至る経路の配線パターンイメージがメモリユニット20の画像メモリ上に展開され、そのイメージ情報がメモリユニット20から表示制御ユニット40を介して表示ユニット42に提供される。その結果、図9に示すように、始点(d1)から障害物AおよびBを迂回して終点(d2)に至る配線パターンPL1が表示ユニット42の画面上に形成される。
【0032】
なお、直線Lを演算した後、その直線Lを含む検索範囲に重なる障害物が無い場合(S5)、始点(d1)から終点(d2)に至る直線の配線パターンPLが表示画面上に形成される(S5→S27)。
上記のようにして表示ユニット42の画面上に形成された配線パターンPL1は、始点(d1)と終点(d2)を結ぶ直線により近いものとなり、より短い配線パターンとなる。また、処理の過程で、短絡経路を形成するようにしているので、更に短い配線パターンPL1を形成することが可能となる。
【0033】
なお、上述した処理における各ステップと請求項記載の要件との対応関係は、次のようになる。図2に示すステップS2が直線演算手段(演算プログラム手段)に、ステップS3が検索領域設定手段(検索領域設定プログラム手段)に、ステップS4が検索手段(検索プログラム手段)に、ステップS7がオフセット外形線を求める手段(プログラム手段)に、ステップS8が交点演算手段(交点演算プログラム手段)に、ステップS9がオフセット外形線を右回りおよび左回りで辿る経路のうち短い方を迂回路として決める手段(プログラム手段)に、それぞれ対応する。また、図3に示すステップS23が短絡経路決定手段(短絡経路決定プログラム手段)に、ステップS24が経路補正手段(経路補正プログラム手段)に、それぞれ対応する。
【0034】
例えば、図10(1)に示すように、始点(d1)から終点(d2)に至る直線Lと交差する障害物AおよびBの間に、該直線Lとは、交差しない他の障害物Cが存在する場合を仮定する。この場合、前述したように図2および図3に示す手順に従ってなされる処理の過程で、点d8と点d9間に短絡経路Lsを形成すると、その短絡経路Lsが図10(2)に示すように障害物Cと交差してしまう。そこで、形成しようとする短絡経路Lsが他の障害物と交差することを防止するため、図3に示す手順に代えて、例えば、図4に示す手順に従って、CPU10は処理を行なう。なお、図4において、図3と同じステップ番号は同じ処理を表しており、詳しい説明は省く。
【0035】
図4において、上述したのと同様に、経路上の点であるとしてメモリユニット20に格納された各2点di、dj間に短絡経路が形成できるかどうかが判定される(S21、S22、S23)。そして、短絡経路が形成することができる場合、上記と同様に、短絡経路により不要となった経路上の点がメモリユニット20から削除される(S24)。従って、例えば、図10(1)、(2)に示すように、2点d8、d9間に形成される短絡経路Lsによって不要となった点d4、d5がメモリユニット20から削除される。
【0036】
その後、CPU10は、現在処理の対象となる点diを始点とし、選択された対応点djを終点としてそれぞれ内部のレジスタにセットする(S31)。そして、CPU10は、この始点(di)から終点(dj)に至る直線を演算する(S32)。この演算される直線(短絡直線)は、短絡経路Lsを表している。そして、その短絡経路Ls(直線)の周りに、図2に示す処理と同様に、検索範囲を設定し(S33)、その検索範囲と重なる障害物が検索される(S34)。そして、そのような障害物が存在する場合(S35)、CPU10は、図2に示すステップS6、S7、S8、S9での処理に相当する迂回路決定処理P100を実行する。その結果、例えば、始点(d8=di)から終点(d9=dj)に至る短絡経路Ls内に、図10(3)に示すような迂回路(短絡迂回路d11→d12→d13→d14)が決められる。
【0037】
そして、CPU10は、この短絡迂回路を特定する点d11、d12、d13、d14をメモリユニット20内に格納された形成すべき経路上の点に追加する(S36)。上記のような処理を、図2に示す処理にて得られた全ての点について実行する(S25、S26)。全ての点についての処理が終了すると、CPU10は、最終的にメモリユニット20に格納された点(d3、d6、d7、d8、d9、d10、d11、d12、d13、d14)に基づいて、上記始点(d1)から順次各点を辿って終点(d2)に至る配線パターンの表示処理を実行する。その結果、例えば、図11に示すように、始点(d1)から各障害物A、B、Cを迂回して終点(d2)に至る配線パターンPL2が表示ユニット42の画面上に形成される。
【0038】
なお、上記図4に示す手順に従った処理における各ステップと請求項記載の要件との関係は次のようになる。ステップS32がある点から他の点に至る短絡直線を演算する手段(プログラム手段)に、ステップS33とS34が短絡直線と交差する障害物を検索する手段(プログラム手段)に、処理P100が迂回路を決定する手段(プログラム手段)に、それぞれ対応している。
【0039】
形成すべき配線パターンの始点および終点がマウス32等のポインティングデバイスにて指定できる場合、始点を指定した後に、終点の指定位置を移動に伴って表示画面上に形成される経路が変化すると(ラバーバンディング)、プリント基板を設計するユーザにとって便利である。このような機能を実現するため、例えば、図5に示すような手順のプログラムがシステムに提供される。このようなプログラム手順に従って、CPU10は次のように処理を実行する。
【0040】
CPU10は、最初、始点入力の待ち状態にある(S41)。ここで、ユーザがマウス32によって表示画面上のマウスポインタを所望の位置に合わせてマウスボタンを押すと、CPU10は、そのポインタ位置を始点(d1)として内部のレジスタにセットする (S42)。その後、CPU10は、図示しない内部のタイマTを起動し(S43)、そのタイマTが所定時間To(例えば、30ミリ秒乃至50ミリ秒)に達したか否かを判定する(S44)。
【0041】
ユーザは、始点位置を入力するためにマウス34のマウスボタンを押した後に、その状態でマウス34を移動(ドラッグ)している間、更に以下の処理が実行される。
タイマTが所定時間Toに達したことを判定すると(S44)、CPU10は、その時点でマウス34によって指示されるマウスポインタの位置をサンプリングする(S45)。そして、CPU10は、そのサンプリングした位置を終点として内部のレジスタにセットする(S46)。このように、始点および終点がセットされると、CPU10は、前述した、例えば、図2および図4(又は図3)に示す手順の処理P101を実行して、始点から終点に至る配線パターンを表示ユニット42の画面上に形成する。その後、CPU10は、タイマTをリセットし(S47)、終点の指示操作、即ち、マウス32のドラッグ操作が終了したかどうかを判定する(S48)。そして、マウス32のドラッグ操作が終了していなければ、CPU10は、タイマTを再度起動して(S43)、上記と同様の処理を繰り返す。
【0042】
上記処理は、ユーザによるマウス32のドラッグ操作が終了するまで、繰り返される。従って、マウス32のドラッグ操作が行なわれている間、例えば、図12(1)に示すように、ポインタ位置d2がサンプリングされると、始点d1から各障害物(電子部品)A、B、Cを迂回してポインタ位置d2に至る配線パターンPL20が表示画面上に形成され、更に、図12(2)に示すように、ポインタ位置d3がサンプリングされると、始点d1から障害物Aを迂回してポインタ位置d3に至る配線パターンPL21が表示画面上に形成され、更に、図12(3)に示すように、ポインタ位置d4がサンプリングされると、始点d1から障害物Aを迂回してポインタ位置d4に至る配線パターンPL22が表示画面上に連続的に表示される。
【0043】
上記のように、マウス32をドラッグしている間、始点(d1)からポインタ位置に延びる配線パターンが、ポインタ位置の変化に応じて、表示ユニット42の画面上にラバーバンディング表示される。そして、ユーザが最適であると判断した配線パターンが画面上に形成された時に、マウス32のマウスボタンの押すのをやめる(ドラッグ操作をやめる)と、CPU10は、終点の指示操作が終了したと判定し(S48)、処理を終了する。そして、その時点で、表示ユニット42の画面上に形成された配線パターンがそのまま維持される。
【0044】
なお、図5に示す手順に従った処理の各ステップと請求項記載の要件との関係は次のようになる。ステップS43、S44、S45が終点サンプリング手段(終点サンプリングプログラム手段)に、ステップS46が制御手段(プログラム手段)に、それぞれ対応し、処理P101が直線演算手段の機能を含む。
また更に、マウス32の操作だけで画面に形成される配線パターンが延びてゆくようにすると、プリント基板設計者である、ユーザにとって便利である。このような機能を実現するため、例えば、図6に示すような手順のプログラムがシステムに提供される。このようなプログラム手順に従って、CPU10は次のように処理を実行する。
【0045】
CPU10は、最初、始点入力の待ち状態にある(S51)。ここで、ユーザがマウス32によって表示画面上のマウスポインタを所望の位置に合わせてマウスボタンを素早く押して離す操作を連続して2度を押すと(ダブルクリック)、CPU10は、そのポインタ位置を始点(d1)として内部のレジスタにセットする(S52)。その後、CPU10は、終点入力の待ち状態となる(S53)。ここで、CPU10がマウス32の操作により終点の入力操作がなされたと判定すると、更に、その操作が最終操作であるか否かを判定する(S54)。この例の場合、終点を入力する操作として、最終操作であるマウス32のダブルクリック操作と、最終操作でないマウス32の単なるクリック操作とが許容される。
【0046】
ユーザが終点の位置にマウスポインタを合わせてマウス32をダブルクリックすると、CPU10は、最終操作であると判定し(S54)、内部のフラグをセットする(S55)。そして、CPU10は、そのポインタ位置を終点として内部のレジスタにセットする(S56)。
このように、始点および終点がセットされると、CPU10は、前述した、例えば、図2および図4(又は図3)に示す手順の処理P101を実行して、始点から終点に至る配線パターンを表示ユニット42の画面上に形成する。そして、CPU10は、上述したフラグがセットされているかを判定する(S57)。この場合、フラグがセットされているので、CPU10は、上記のように終点としてセットした位置を始点に変更して再度セットし(S58)、終点入力の待ち状態となる(S53)。
【0047】
上記の処理に従えば、例えば、図13(1)に示すように、始点(d1)が入力された後に、ポインタ位置d2でマウス32のダブルクリック操作がなされると、始点(d1)から障害物Aを迂回してポインタ位置d2に至る配線パターンPL30が表示ユニット42の画面上に形成される。このとき、ポインタ位置d2が新たな始点としてセットされる。
【0048】
上記のように、CPU10が終点入力の待ち状態となるときに、ユーザがマウス32を操作してマウスポインタを所望の位置に合わせ、マウス32の単なるクリック操作を行なうと、CPU10は、最終操作でない終点の入力操作がなされたと判定する(S53、S54)。そして、その入力されたポインタ位置を終点として内部のレジスタにセットする。その後、CPU10は、上記のように新たに始点として設定された前回の終点から今回新たにセットされた終点に至る配線パターンを形成するための処理P101を実行する。そして、CPU10は、上述したフラグがセットされていないことを確認した後(S57)、終点入力の待ち状態となる。
【0049】
上記処理の結果、表示ユニット42の画面上において、前回終点とされた位置から更に、今回終点として指定された位置まで配線パターンが延びる。例えば、図13(1)に示すように、点d1からd2に至る配線パターンが表示画面上に形成されている状態で、図13(2)に示すように、ポインタ位置d3でマウス32のクリック操作がなされると、点d2から更にポインタ位置d3まで延びる配線パターンPL31が表示画面上に形成される。
【0050】
以後、同様に、ユーザがマウス32の操作にてマウスポインタの位置を移動し、クリック操作を行なう毎に、上記のように新たに設定された始点から終点に至る配線パターンが表示画面上から消去され、上記のように新たに設定された始点から今回クリック操作にて指定された位置に延びる新たな配線パターンが表示画面上に形成される。例えば、図13(2)に示すように、点d1、d2を経由して点d3に至る配線パターンPL30、PL31が表示画面に形成されている状態で、図13(3)に示すように、ポインタ位置d4にてマウス32のクリック操作が行なわれる。すると、点d2から点d3に至る配線パターンPL31が表示画面から消去されて、新たに点d2から今回指定した点d4に至る配線パターンPL32が表示画面上に形成される。
【0051】
このようなシステムでは、ユーザは、例えば、マウス32のクリック操作を繰り返すことによって種々の配線パターンを表示画面に切り換え形成し、最適と思われるパターンが形成されたときにその終点にマウスポインタを合わせてマウス32をダブルクリックする。このような操作により、表示画面に形成された配線パターンが固定され、その配線パターンの終点が新たな始点として設定される。このような操作を繰り返す過程で、マウス32をダブルクリックする毎に、表示ユニット42の画面に形成される配線パターンは、延びてゆく。
【0052】
なお、図6に示す手順に従って実行される処理の各ステップと請求項記載の要件との関係は次のようになる。ステップS56が第一の制御手段(第一のプログラム手段)に、ステップS58が第二の制御手段(第二のプログラム手段)にそれぞれ対応し、処理P101に直線演算手段の機能が含まれる。
上述した各実施の形態の例では、障害物を囲むオフセット外形線は、障害物の形状にかかわらず矩形を形成したが、本発明は、これに限定されることなく、任意の形状を形成することができる。例えば、オフセット外形線を障害物の外形線に忠実に添った形状にしてもよい(クリアランスが一定)。
【0053】
また、障害物の種類に応じてことなるクリアランスのオフセット外形線を形成することができる。
【0054】
【発明の効果】
以上説明してきたように、本発明によれば、始点から終点に至る直線を基本にして該始点から終点に至る経路を形成するので、該始点から終点に至る比較的短い経路を、比較的少ない処理量にて表示画面上に形成することができる。即ち、2点間を結ぶより短い経路が短時間で形成することができる。
【図面の簡単な説明】
【図1】本発明に係る経路形成システムのハードウエア構成の例を示すブロック図である。
【図2】本発明に係る経路形成システムでの処理例を示すフローチャートである。
【図3】本発明に係る経路形成システムでの処理例を示すフローチャートである。
【図4】本発明に係る経路形成システムでの処理例を示すフローチャートである。
【図5】本発明に係る経路形成システムでの処理例を示すフローチャートである。
【図6】本発明に係る経路形成システムでの処理例を示すフローチャートである。
【図7】基本的な経路形成の過程を示す図である。
【図8】短絡経路を形成する過程を示す図である。
【図9】表示画面に形成される配線パターンの例を示す図である。
【図10】短絡経路が障害物と交差する場合の処理過程を示す図である。
【図11】表示画面に形成される配線パターンの他の例を示す図である。
【図12】マウスの操作に基づいた配線パターンの変化の状態の例を示す図である。
【図13】マウスの操作に基づいた配線パターンの変化の状態の他の例を示す図である。
【符号の説明】
10 CPU
20 メモリユニット
30 入力制御ユニット
31 キーボード
32 マウス
40 表示制御ユニット
42 表示ユニット
50 CD−ROMドライバ
60 ハードディスクユニット
70 バス
100 CD−ROM
[0001]
BACKGROUND OF THE INVENTION
The present invention is applied to a CAD (Computer Aided Design) system or the like for designing a printed circuit board, and a system and method for forming a route for a printed wiring pattern and the like, and a program for causing a computer to perform a route formation process. It relates to the stored recording medium.
[0002]
[Prior art]
Conventionally, in a CAD system for designing a printed circuit board, when determining a route on which a printed wiring pattern is to be formed between two points on the printed circuit board, for example, the following processing is performed.
The printed circuit board surface is divided into fine rectangular areas (mesh). When a start point and an end point (two points) are specified, a route from the start point to the end point is searched by following a rectangular area free of obstacles (for example, electronic parts, already formed printed wiring patterns, through holes, etc.). The That is, in each rectangular area selected in the route search process, it is checked whether there are obstacles in the adjacent rectangular areas in the eight directions, and a predetermined algorithm is selected from the adjacent rectangular areas in which no obstacle exists. A rectangular area to be routed is selected. By repeating the same process each time a rectangular area is selected in this way, a path from the start point to the end point through the rectangular area without an obstacle is determined.
[0003]
[Problems to be solved by the invention]
In the conventional route determination method as described above, it is always necessary to further determine the presence or absence of obstacles for all rectangular regions adjacent to the rectangular region that is determined to be the rectangular region through which the route should pass. The target area becomes wider. As a result, the processing amount increases and the processing time becomes long.
[0004]
In addition, the direction in which the route travels (eight directions) varies greatly depending on the rectangular area to be selected, and therefore the length of the determined route may become unnecessarily long.
Therefore, a first object of the present invention is to provide a route forming system and method capable of determining a route connecting two points by bypassing an obstacle in a short time.
A second object of the present invention is to provide a route forming system and method that can determine a shorter route that bypasses an obstacle and connects two points.
[0005]
A third object of the present invention is to provide a recording medium storing a program for causing a computer to perform a path forming process connecting two points as described above.
[0006]
[Means for Solving the Problems]
  The present invention provides a route forming device that forms a route from a specified start point to an end point, a route storage unit that stores position information of a detour, a straight line calculation unit that calculates a straight line connecting the start point and the end point, Obstacle detection means for detecting an obstacle that overlaps a range obtained by extending the straight line calculated by the straight line calculation means up, down, left, and right by a predetermined clearance value, and obtaining an offset outline of the detected obstacle, A first intersection and a second intersection where the offset outline intersects, obtaining a detour from the first point through the offset outline to the second intersection, and determining the detour Detour determination means for storing the first intersection, the second intersection and the point on the detour in the path storage means;For all the points stored in the path storage means, specify a point one by one, specify other points connectable to the specific point, determine whether a short circuit path can be formed, and form a short circuit path If it is determined, the point deviating from the short-circuit path formed from the path storage unit is deleted, and the straight line calculation unit and the obstacle detection unit are set with the specific point and the other point as the start point and end point of the short-circuit path, Short circuit path determining means for controlling the detour determining meansAnd the straight line and theIt has been determinedAnd a means for forming a route from the start point to the end point using a detourIt is characterized by that.
[0007]
In the route forming system and method as described above, a straight line connecting a designated start point and end point is selected as a basic route. When a straight line that is the basic route intersects with an obstacle that already exists on the display screen, a detour that bypasses the obstacle is required. A final path from the start point to the end point is formed based on the straight line and the detour.
[0008]
In the above route forming system and method, the process for determining the detour is performed along the straight line (shortest distance) connecting the start point to the end point, so that the area to be processed does not become larger than necessary. The formed path is as close as possible to the straight line connecting the start point and the end point.
For example, when the present invention is applied to formation of a printed wiring pattern in printed circuit board design, the printed wiring pattern to be formed must be separated from an obstacle (circuit element or the like) by a predetermined distance. In such a case, an obstacle that is too close to a straight line from the start point to the end point is regarded as intersecting with the straight line. In the above route forming system and method, the predetermined route including the calculated straight line is used. An obstacle can be detected (obstacle detection means) by generating a search area (search area setting means) and searching for an obstacle on the display screen overlapping with the search area (search means).
[0009]
  Further, the detour determination means further determines whether a short-circuiting path can be formed with respect to a straight line connecting the points on the detour around the obstacle from the first intersection to the second intersection. When it is determined that a short-circuit path can be formed, a short-circuit path determination unit that deletes unnecessary points from the path storage unit by the short-circuit path, and the obstacle from the first intersection point to the second intersection point. It is characterized by having a means for determining the shorter one of the routes traced clockwise and counterclockwise as a detour.
[0010]
In such a route forming system and method, the shorter one of the routes tracing around the obstacle in the clockwise and counterclockwise directions is determined as a detour, and a shorter route from the start point to the end point can be formed.
Further, from the viewpoint that the detour of the detected obstacle can be easily determined, an offset outline that surrounds the obstacle that intersects with the straight line is obtained, and the intersection of the offset outline and the straight line is calculated (intersection) (Calculation means) One of the calculated intersection points is a first point and the other is a second point, and the shortest of the paths that follow the offset outline clockwise and counterclockwise from the first point to the second point. The selected route can be selected as a detour (a detour determination means).
[0011]
In such a route forming system and method, a part of the route that follows the offset outline surrounding the obstacle is determined as a detour of the obstacle. Further, a shorter route among the routes following the offset outline is a detour. Therefore, a shorter detour is determined.
As described above, in the path forming system and method for determining a detour based on the offset outline, the offset outline can form a rectangle from the viewpoint that the offset outline can be easily determined. That is, the obstacle detour is a part of a rectangle surrounding the obstacle.
[0012]
In such a route forming system and method, a detour can be determined by setting a rectangle including the obstacle inside. The relationship between the rectangle and the obstacle inside (the distance between the outline of the obstacle and the rectangle (offset outline)) is determined based on how far the path to be formed should be separated from the obstacle.
From the viewpoint of further shortening the route determined by the system and method as described above, in the route forming system and method described above, there is a further route on the route from the start point to the end point determined from the straight line and the detour. A short-circuit path from a point to another point is determined (short-circuit path determination means), and a path from the start point to the end point determined from the straight line and the detour is corrected by the determined short-circuit path (path correction means).
[0013]
In the route forming system and method, a portion between a point on the route from the start point to the end point determined by the straight line and the detour and another point is corrected by a short-circuit route formed between the points. The Accordingly, the route from the start point to the end point determined from the straight line and the detour is shortened.
Moreover, when forming a short circuit path as mentioned above, it is desirable to form a short circuit path with the straight line used as the shortest distance between two target points. In this case, there is a possibility that another obstacle exists on the straight line connecting the two points. Thus, even if there is an obstacle on the straight line connecting the two points, from the viewpoint of making the short-circuit path formed as close as possible to the straight line connecting the two points, Calculate the short-circuit straight line from one point to another point on the path from the determined start point to the end point, search for the obstacle already displayed on the display screen that intersects the calculated short-circuit straight line, It is possible to determine a short-circuit detour that bypasses the surroundings and determine a short-circuit path based on the short-circuit straight line and the short-circuit detour (short-circuit path determining means).
[0014]
In the above path forming system and method, a straight line (short-circuit straight line) connecting two points on the path from the start point to the end point already obtained is basically selected as the short-circuit path. Then, when the straight line intersects with the obstacle, a short circuit detour that bypasses the obstacle is determined, and a short circuit path is determined based on the short circuit straight line and the short circuit detour. Therefore, the short circuit path is closer to the straight line (shortest distance) connecting the two points.
[0015]
  In particular, when the end point of a route can be specified by a pointing device such as a mouse, when the specified position is moved, the route formed on the display screen changes with the movement of the end point (rubber banding). Convenient. From the viewpoint of realizing such screen display,Furthermore, the present invention includes display means for displaying a route on a display device, and input means for inputting a start point and an end point instruction of the route in the display device, wherein the detour determination unit further includes the determined detour. It has the display means which displays a path | route on a display apparatus, It is characterized by the above-mentioned.
[0016]
  The present invention further includes an end point sampling means for sampling at a predetermined period with a point designated on the screen of the display device by the input means, and each time the end point is sampled by the end point sampling means, A path formed on the screen of the display device in accordance with a change in the sampled end point, the control unit providing the end point to the straight line calculation unit so that a path from the start point to the end point is formed Is characterized by changing sequentially.
[0017]
  The present invention provides a route from a designated start point to an end point, straight line calculation means, obstacle detection means, obstacle detection means, detour determination means,Short-circuit path determination meansAnd a route forming method formed by a computer having route forming means, the step of calculating a straight line connecting the start point and the end point by the straight line calculating means, and route information of the detour routeStoreA step of storing in the means, a step of detecting an obstacle that overlaps a range obtained by expanding the calculated straight line by a predetermined clearance in the vertical, left, and right directions by the obstacle detecting means, and a detour determining means that detects the detected obstacle Determining an offset outline of an object, obtaining a first intersection and a second intersection where the straight line and the offset outline intersect, and detouring from the first intersection to the second intersection via the offset outline A step to find a road;The short-circuit path determination unit specifies points one by one for all points stored in the path storage unit, specifies other points that can be connected to the specific point, and determines whether a short-circuit path can be formed. When it is determined that a short-circuit path can be formed, the point that deviates from the short-circuit path formed by the path storage unit is deleted, and the specific point and the other points are used as a start point and an end point of the short-circuit path, and the straight line calculation unit And controlling the obstacle detection means and the detour determination means, and the route formation means,The straight line and theIt has been determinedForming a path from a start point to an end point using a detour, and the path between the first intersection, the second intersection, and the detour pointStoreTo the meansStoreAnd the step of performing.
[0019]
  The present invention includes a step of calculating a straight line connecting a start point and an end point, and detour position informationWriteStoring an obstacle that overlaps a range obtained by extending the calculated straight line by a predetermined clearance in the vertical and horizontal directions, obtaining an offset outline of the detected obstacle, and calculating the straight line and the offset outline Obtaining a first intersection and a second intersection where lines intersect, and obtaining a detour from the first intersection to the second intersection via the offset outline;For every point stored in the detour storage step, the point is specified one by one, another point that can be connected to the specific point is specified, it is determined whether a short circuit path can be formed, and a short circuit path can be formed If it is determined, the point that deviates from the short circuit path formed from the detour storage step is deleted, and the straight line calculation means and the obstacle detection are performed with the specific point and the other point as the start point and end point of the short circuit path. Executing the means and the detour determination means;Forming a path from a start point to an end point using the straight line and the detour, the first intersection, the second intersection, and the detour pointWriteThe step of memorizing is executed by a computer.
[0020]
Further, in order to cause a computer to perform the processing (and according to the method) in each of the above-described path forming systems, a recording medium storing a program for causing the computer to realize a corresponding function is provided.
[0021]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
The route forming system and method according to the present invention can be applied to, for example, a system (CAD) for forming a printed wiring pattern (wiring route) on a display screen when designing a printed circuit board. The hardware of such a system is configured as shown in FIG. 1, for example.
[0022]
In FIG. 1, this system has a CPU (Central Processing Unit) 10, a memory unit 20, an input control unit 30, a display control unit 40, a CD-ROM driver 50, and a hard disk unit 60. These units 10, 20, 30, 40, 60 and the CD-ROM driver 50 are connected via a bus 70. The system further includes a keyboard 31 as an information input device, a mouse 32 as a pointing device, and a display unit 42. Information from the keyboard 31 and the mouse 32 is provided to the CPU 10 via the input control unit 30 and the bus 70.
[0023]
The memory unit 20 includes memory devices such as RAM and ROM, and stores programs and various types of information. The hard disk unit 60 stores information such as files, databases, and programs. A program related to the printed circuit board design is stored in the CD-ROM 100, and the CD-ROM 100 provides a program related to the printed circuit board design to the system. The CD-ROM 100 is set in the CD-ROM driver 50, and the program read from the CD-ROM 100 by the CD-ROM driver 50 is stored in the hard disk unit 60 via the bus 70. The program read from the hard disk unit 60 as necessary is stored in the memory unit 20 (RAM). The CPU 10 executes processing related to printed circuit board design including printed wiring pattern formation processing (path formation processing) in accordance with a program stored in the memory unit 20.
[0024]
The CD-ROM 100 corresponds to a recording medium that stores a program for causing a computer according to the present invention to perform path formation processing. In addition to the CD-ROM 100, this storage medium may be a magnetic disk (floppy disk), another optical disk such as a DVD, a magneto-optical disk (MO), a magnetic tape, or other semiconductor memory card (PC card) depending on the system configuration. Or the like.
[0025]
As a result of the execution of the process related to the printed circuit board design by the CPU 10, the printed wiring pattern on the designed printed circuit board is displayed on the display unit 42. For example, the operator inputs information necessary for the design by operating the keyboard 31 and the mouse 32 while viewing the printed wiring pattern displayed on the display unit 42.
In order to form a printed wiring pattern on the screen of the display unit 42, the CPU 10 executes processing according to the program procedure shown in FIGS. 2 and 3, for example.
[0026]
In FIG. 2, first, the CPU 10 sets the input wiring path start point (d1), end point (d2), and clearance value δ between the wiring path and the obstacle in an internal register (S1). The wiring path start point (d1), end point (d2), and the clearance value δ between the wiring path and the obstacle are automatically provided to the system based on circuit information describing a separately designed electronic circuit. However, the user may provide the system using the keyboard 31 and the mouse 32. Then, the CPU 10 calculates a straight line connecting the set start point (d1) and end point (d2) (S2). The straight line L from the start point (d1) to the end point (d2) is, for example, as shown in FIG. 7 (1), electronic parts A and B (obstacle A, Assume that B) intersects.
[0027]
Thereafter, the CPU 10 sets a search range Eo including the calculated straight line L as shown in FIG. 7B (S3). This search range Eo is a range obtained by extending the straight line L by a clearance value δ set in the vertical and horizontal directions. Then, the CPU 10 searches for obstacles on the screen that overlap with the search range Eo (S4). If obstacles A and B are obtained as a result of the search (S5), one of them, for example, obstacle A, is specified as a processing target (S6).
[0028]
The CPU 10 obtains an offset outline AO surrounding the specified obstacle A (S7). The offset outline AO is a line set at a position separated from the outline of the obstacle A by a clearance value δ, for example, as shown in FIG. The offset outline AO forms a rectangle. Thereafter, the CPU 10 calculates the intersection point of the straight line L and the offset outline AO set around the obstacle A (S8). In this case, as shown in FIG. 7 (3), intersections d3 and d4 are obtained.
[0029]
Thus, when the intersections d3 and d4 between the straight line L and the offset outline AO are obtained, the CPU 10 traces the offset outline AO clockwise from the intersection d3 and reaches the intersection d4, and counterclockwise from the intersection d3. Next, a short route is determined as a detour route from the route reaching the intersection d4 following the offset outline AO (S9). In this case, a path that follows the offset outline AO counterclockwise from the intersection d3 and reaches the intersection d4 is determined as a detour LA as shown in FIG. 7 (4). Thereafter, the CPU 10 stores the intersections d3 and d4 obtained by calculation as described above and the bending points d7 and d8 of the detour LA as points on the path to be obtained in the memory unit 20 (RAM) (S10). Then, the CPU 10 determines whether or not the processing for all searched obstacles has been completed (S11), and if not completed, specifies the next obstacle B (S6), and the same as above. Processing (S7, S8, S9, S10) is executed. As a result, the detour LB as shown in FIG. 7 (4) is determined based on the intersections d5 and d6 of the offset outline BO and the straight line L surrounding the obstacle B as shown in FIG. 7 (3). Is done. The intersections d5 and d6 and the bending points d9 and d10 of the detour LB are further stored in the memory unit 20 as points on the path to be obtained.
[0030]
When the processing as described above is completed for all obstacles that have been searched (S11), the CPU 10 starts processing according to the procedure shown in FIG.
In FIG. 3, the CPU 10 specifies one point di from each point (d3, d4, d5, d6, d7, d8, d9, d10) stored in the memory unit 20 as described above (S21). Further, the CPU 10 specifies another point (hereinafter referred to as a corresponding point dj) that can be connected to the specified point di (S22). Then, the CPU 10 determines whether or not a short circuit path can be formed between the point di and the corresponding point dj (S23). For example, the point d3 (di) can be connected to the point d8 (dj), but because of the obstacle A, a short-circuit path cannot be formed between the point d3 and the point d8. Further, as shown in FIG. 8A, the point d8 (di) can be connected to the point d9 (dj), and a short circuit path Ls can be formed between the point d8 and the point d9. . When it is determined that a short-circuit path can be formed between the two points in this way, the CPU 10 deletes points on the path that are not required by the short-circuit path from the points stored in the memory unit 20 (S24). . As described above, when the short-circuit path Ls can be formed between the point d8 and the point d9, the points d4 and d5 that are unnecessary due to the short-circuit path Ls are deleted from the memory unit 20 as shown in FIG. Is done.
[0031]
The CPU 10 executes all the points (d3, d4, d5, d6, d7, d8, d9, d10) stored in the memory unit 20 as points on the path on which the above processing should be formed (S25, S26). When the processing for all the points is completed, the CPU 10 executes the display processing of the printed pattern wiring using the points stored as points on the path in the memory unit 20 at that time (S27). In this process, the wiring pattern image of the path from the start point (d1) to the end point (d2) by sequentially tracing the points (d3, d7, d8, d9, d10, d6) stored in the memory unit 20 is the memory unit 20. And the image information is provided from the memory unit 20 to the display unit 42 via the display control unit 40. As a result, as shown in FIG. 9, a wiring pattern PL1 that bypasses the obstacles A and B from the start point (d1) to the end point (d2) is formed on the screen of the display unit 42.
[0032]
When there is no obstacle overlapping the search range including the straight line L after calculating the straight line L (S5), a straight wiring pattern PL from the start point (d1) to the end point (d2) is formed on the display screen. (S5 → S27).
The wiring pattern PL1 formed on the screen of the display unit 42 as described above is closer to the straight line connecting the start point (d1) and the end point (d2), and becomes a shorter wiring pattern. In addition, since the short-circuit path is formed in the course of processing, it is possible to form a shorter wiring pattern PL1.
[0033]
The correspondence between each step in the above-described processing and the requirements described in the claims is as follows. Step S2 shown in FIG. 2 is a straight line calculation means (calculation program means), step S3 is a search area setting means (search area setting program means), step S4 is a search means (search program means), and step S7 is an offset profile. A means for determining a line (program means) is a means for determining a short path as a detour in step S8 as an intersection calculation means (intersection calculation program means), and step S9 as a route that follows an offset outline clockwise or counterclockwise. Corresponding to each program means). Further, step S23 shown in FIG. 3 corresponds to the short-circuit path determination means (short-circuit path determination program means), and step S24 corresponds to the path correction means (path correction program means).
[0034]
For example, as shown in FIG. 10 (1), between the obstacles A and B that intersect the straight line L from the start point (d1) to the end point (d2), the other obstacle C that does not intersect the straight line L. Is assumed to exist. In this case, as described above, when the short circuit path Ls is formed between the point d8 and the point d9 in the process performed according to the procedure shown in FIGS. 2 and 3, the short circuit path Ls is as shown in FIG. 10 (2). Crosses obstacle C. Therefore, in order to prevent the short-circuit path Ls to be formed from intersecting with another obstacle, the CPU 10 performs processing in accordance with, for example, the procedure shown in FIG. 4 instead of the procedure shown in FIG. In FIG. 4, the same step numbers as in FIG. 3 represent the same processing, and detailed description thereof will be omitted.
[0035]
In FIG. 4, as described above, it is determined whether or not a short-circuit path can be formed between the two points di and dj stored in the memory unit 20 as being points on the path (S21, S22, S23). ). If the short circuit path can be formed, the points on the path that are no longer necessary due to the short circuit path are deleted from the memory unit 20 (S24). Therefore, for example, as shown in FIGS. 10A and 10B, the points d4 and d5 that are no longer necessary due to the short-circuit path Ls formed between the two points d8 and d9 are deleted from the memory unit 20.
[0036]
Thereafter, the CPU 10 sets the current processing target point di as the start point and the selected corresponding point dj as the end point in the internal registers (S31). Then, the CPU 10 calculates a straight line from the start point (di) to the end point (dj) (S32). This calculated straight line (short-circuit straight line) represents the short-circuit path Ls. Then, similarly to the process shown in FIG. 2, a search range is set around the short-circuit path Ls (straight line) (S33), and obstacles that overlap the search range are searched (S34). If such an obstacle exists (S35), the CPU 10 executes a detour determination process P100 corresponding to the processes in steps S6, S7, S8, and S9 shown in FIG. As a result, for example, a detour (short-circuit detour d11 → d12 → d13 → d14) as shown in FIG. 10 (3) is present in the short-circuit path Ls from the start point (d8 = di) to the end point (d9 = dj). It is decided.
[0037]
Then, the CPU 10 adds points d11, d12, d13, and d14 that specify the short circuit bypass to the points on the path to be formed stored in the memory unit 20 (S36). The above process is executed for all points obtained by the process shown in FIG. 2 (S25, S26). When the processing for all points is completed, the CPU 10 finally performs the above-described processing based on the points (d3, d6, d7, d8, d9, d10, d11, d12, d13, d14) stored in the memory unit 20. The display process of the wiring pattern from the start point (d1) to the end point (d2) is sequentially performed. As a result, for example, as shown in FIG. 11, a wiring pattern PL2 that bypasses the obstacles A, B, and C from the start point (d1) to the end point (d2) is formed on the screen of the display unit 42.
[0038]
The relationship between the steps in the process according to the procedure shown in FIG. 4 and the requirements described in the claims is as follows. Step P32 is a means for calculating a short-circuit straight line from one point to another point (program means), a means for searching for an obstacle where steps S33 and S34 intersect the short-circuit straight line (program means), and a process P100 is a detour. Corresponds to the means for determining (program means).
[0039]
When the start point and end point of the wiring pattern to be formed can be specified by a pointing device such as the mouse 32, if the path formed on the display screen changes as the end point specified position is moved after the start point is specified (rubber) This is convenient for users who design printed circuit boards. In order to realize such a function, for example, a program having a procedure as shown in FIG. 5 is provided to the system. In accordance with such a program procedure, the CPU 10 executes processing as follows.
[0040]
The CPU 10 is initially in a waiting state for starting point input (S41). Here, when the user moves the mouse pointer on the display screen to a desired position with the mouse 32 and presses the mouse button, the CPU 10 sets the pointer position as an initial point (d1) in an internal register (S42). Thereafter, the CPU 10 starts an internal timer T (not shown) (S43), and determines whether or not the timer T has reached a predetermined time To (for example, 30 milliseconds to 50 milliseconds) (S44).
[0041]
After the user presses the mouse button of the mouse 34 to input the starting point position, the following processing is further executed while the mouse 34 is moved (dragged) in that state.
When it is determined that the timer T has reached the predetermined time To (S44), the CPU 10 samples the position of the mouse pointer pointed by the mouse 34 at that time (S45). Then, the CPU 10 sets the sampled position as an end point in an internal register (S46). In this way, when the start point and end point are set, the CPU 10 executes the process P101 of the procedure shown in FIG. 2 and FIG. 4 (or FIG. 3), for example, and sets the wiring pattern from the start point to the end point. It is formed on the screen of the display unit 42. Thereafter, the CPU 10 resets the timer T (S47), and determines whether or not the end point instruction operation, that is, the drag operation of the mouse 32 has ended (S48). If the drag operation of the mouse 32 has not ended, the CPU 10 restarts the timer T (S43) and repeats the same processing as described above.
[0042]
The above process is repeated until the drag operation of the mouse 32 by the user is completed. Accordingly, while the mouse 32 is being dragged, for example, as shown in FIG. 12A, when the pointer position d2 is sampled, each obstacle (electronic component) A, B, C from the starting point d1 is sampled. A wiring pattern PL20 that bypasses and reaches the pointer position d2 is formed on the display screen. Further, as shown in FIG. 12B, when the pointer position d3 is sampled, the obstacle A is bypassed from the start point d1. When the wiring pattern PL21 reaching the pointer position d3 is formed on the display screen and the pointer position d4 is further sampled as shown in FIG. 12 (3), the pointer position bypasses the obstacle A from the starting point d1. The wiring pattern PL22 reaching d4 is continuously displayed on the display screen.
[0043]
As described above, while dragging the mouse 32, the wiring pattern extending from the starting point (d1) to the pointer position is displayed as rubber banding on the screen of the display unit 42 in accordance with the change in the pointer position. Then, when the wiring pattern determined to be optimal by the user is formed on the screen, if the user stops pressing the mouse button of the mouse 32 (stops the drag operation), the CPU 10 determines that the end point instruction operation has ended. A determination is made (S48), and the process is terminated. At that time, the wiring pattern formed on the screen of the display unit 42 is maintained as it is.
[0044]
The relationship between the steps of the process according to the procedure shown in FIG. 5 and the requirements described in the claims is as follows. Steps S43, S44, and S45 correspond to the end point sampling means (end point sampling program means), step S46 corresponds to the control means (program means), and the process P101 includes the function of the straight line calculation means.
Furthermore, it is convenient for a user who is a printed circuit board designer to extend the wiring pattern formed on the screen only by operating the mouse 32. In order to realize such a function, for example, a program having a procedure as shown in FIG. 6 is provided to the system. In accordance with such a program procedure, the CPU 10 executes processing as follows.
[0045]
The CPU 10 is initially in a waiting state for starting point input (S51). Here, when the user moves the mouse pointer on the display screen to a desired position with the mouse 32 and presses and releases the mouse button quickly twice (double click), the CPU 10 starts the pointer position. (D1) is set in an internal register (S52). Thereafter, the CPU 10 waits for an end point input (S53). If the CPU 10 determines that the end point input operation has been performed by operating the mouse 32, it further determines whether or not the operation is the final operation (S54). In this example, as the operation for inputting the end point, a double-click operation of the mouse 32 that is the final operation and a simple click operation of the mouse 32 that is not the final operation are allowed.
[0046]
When the user moves the mouse pointer to the end point position and double-clicks the mouse 32, the CPU 10 determines that the operation is the final operation (S54), and sets an internal flag (S55). Then, the CPU 10 sets the pointer position as an end point in an internal register (S56).
In this way, when the start point and end point are set, the CPU 10 executes the process P101 of the procedure shown in FIG. 2 and FIG. 4 (or FIG. 3), for example, and sets the wiring pattern from the start point to the end point. It is formed on the screen of the display unit 42. Then, the CPU 10 determines whether or not the above-described flag is set (S57). In this case, since the flag is set, the CPU 10 changes the position set as the end point as described above to the start point and sets it again (S58), and waits for the end point input (S53).
[0047]
If the above processing is followed, for example, as shown in FIG. 13 (1), if the mouse 32 is double-clicked at the pointer position d2 after the start point (d1) is input, a fault will occur from the start point (d1). A wiring pattern PL30 that bypasses the object A and reaches the pointer position d2 is formed on the screen of the display unit 42. At this time, the pointer position d2 is set as a new start point.
[0048]
As described above, when the user enters the end point input waiting state and the user operates the mouse 32 to move the mouse pointer to a desired position and performs a simple click operation of the mouse 32, the CPU 10 is not the final operation. It is determined that an end point input operation has been performed (S53, S54). Then, the input pointer position is set as an end point in an internal register. Thereafter, the CPU 10 executes a process P101 for forming a wiring pattern from the previous end point newly set as the start point as described above to the end point newly set this time. Then, after confirming that the above-described flag is not set (S57), the CPU 10 waits for an end point input.
[0049]
As a result of the above process, on the screen of the display unit 42, the wiring pattern further extends from the position that was the last end point to the position that is designated as the current end point. For example, as shown in FIG. 13 (1), when the wiring pattern from the point d1 to d2 is formed on the display screen, the mouse 32 is clicked at the pointer position d3 as shown in FIG. 13 (2). When the operation is performed, a wiring pattern PL31 extending from the point d2 to the pointer position d3 is formed on the display screen.
[0050]
Thereafter, similarly, each time the user moves the position of the mouse pointer by operating the mouse 32 and performs a click operation, the wiring pattern extending from the newly set start point to the end point as described above is erased from the display screen. Then, a new wiring pattern extending from the newly set starting point to the position designated by the click operation this time is formed on the display screen. For example, as shown in FIG. 13 (2), as shown in FIG. 13 (3), the wiring patterns PL30 and PL31 reaching the point d3 via the points d1 and d2 are formed on the display screen. The mouse 32 is clicked at the pointer position d4. Then, the wiring pattern PL31 from the point d2 to the point d3 is erased from the display screen, and a wiring pattern PL32 from the point d2 to the point d4 designated this time is newly formed on the display screen.
[0051]
In such a system, for example, the user switches various wiring patterns to the display screen by repeatedly clicking the mouse 32, and when the pattern that seems to be optimal is formed, the user moves the mouse pointer to the end point. Then double-click the mouse 32. By such an operation, the wiring pattern formed on the display screen is fixed, and the end point of the wiring pattern is set as a new starting point. In the process of repeating such an operation, each time the mouse 32 is double-clicked, the wiring pattern formed on the screen of the display unit 42 extends.
[0052]
The relationship between the steps of processing executed according to the procedure shown in FIG. 6 and the requirements described in the claims is as follows. Step S56 corresponds to the first control means (first program means), step S58 corresponds to the second control means (second program means), and the process P101 includes the function of the straight line calculation means.
In the example of each embodiment described above, the offset outline surrounding the obstacle forms a rectangle regardless of the shape of the obstacle, but the present invention is not limited to this and forms an arbitrary shape. be able to. For example, the offset contour line may be shaped to faithfully follow the obstacle contour line (the clearance is constant).
[0053]
Further, it is possible to form an offset outline with a clearance that varies depending on the type of obstacle.
[0054]
【The invention's effect】
As described above, according to the present invention, since a route from the start point to the end point is formed based on a straight line from the start point to the end point, a relatively short route from the start point to the end point is relatively small. It can be formed on the display screen with a processing amount. That is, a shorter path connecting two points can be formed in a short time.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an example of a hardware configuration of a route forming system according to the present invention.
FIG. 2 is a flowchart showing an example of processing in the route forming system according to the present invention.
FIG. 3 is a flowchart showing an example of processing in the route forming system according to the present invention.
FIG. 4 is a flowchart showing an example of processing in the route forming system according to the present invention.
FIG. 5 is a flowchart showing an example of processing in the route forming system according to the present invention.
FIG. 6 is a flowchart showing an example of processing in the route forming system according to the present invention.
FIG. 7 is a diagram showing a basic path formation process.
FIG. 8 is a diagram illustrating a process of forming a short-circuit path.
FIG. 9 is a diagram illustrating an example of a wiring pattern formed on a display screen.
FIG. 10 is a diagram illustrating a processing process when a short-circuit path intersects an obstacle.
FIG. 11 is a diagram showing another example of a wiring pattern formed on the display screen.
FIG. 12 is a diagram illustrating an example of a change state of a wiring pattern based on a mouse operation.
FIG. 13 is a diagram illustrating another example of a change state of a wiring pattern based on an operation of a mouse.
[Explanation of symbols]
10 CPU
20 memory units
30 Input control unit
31 keyboard
32 mice
40 Display control unit
42 display units
50 CD-ROM driver
60 hard disk units
70 bus
100 CD-ROM

Claims (6)

指定された始点から終点までの経路を形成する経路形成装置において、
迂回路の位置情報を格納する経路格納手段と、
始点と終点間を結ぶ直線を演算する直線演算手段と、
該直線演算手段にて演算された直線を上下左右に所定のクリアランス値分、拡張した範囲と重なる障害物を検出する障害物検出手段と、
該検出された障害物のオフセット外形線を求め、前記直線と前記オフセット外形線が交差する第一の交点と第二の交点を求め、前記第一の点から前記オフセット外形線を経て前記第二の交点に至る迂回路を求め、決定した迂回路の前記第一の交点と前記第二の交点と前記迂回路上の点を前記経路格納手段に格納する迂回路決定手段と、
前記経路格納手段に格納された全ての点について、1点ずつ点を特定し、該特定点と接続可能な他の点を特定し、短絡経路が形成できるか判定し、短絡経路を形成できると判定した場合、前記経路格納手段から形成される短絡経路から外れる点を削除し、前記特定点と他の点を前記短絡経路の始点と終点として、前記直線演算手段と前記障害物検出手段と前記迂回路決定手段により、始点と終点間を結ぶ直線を演算し、障害物を検出し、迂回路を求め、格納する処理を実行する短絡経路決定手段と、
前記直線と前記決定された迂回路とを用いて始点から終点に至る経路を形成する手段とを含む経路形成装置。
In a route forming device that forms a route from a specified start point to an end point,
Route storage means for storing location information of the detour,
Straight line calculation means for calculating a straight line connecting the start point and the end point;
Obstacle detection means for detecting an obstacle that overlaps the expanded range of the straight line calculated by the straight line calculation means by a predetermined clearance value vertically and horizontally;
An offset outline of the detected obstacle is obtained, a first intersection and a second intersection where the straight line and the offset outline intersect are obtained, and the second intersection is obtained from the first point through the offset outline. A detour determination unit that stores the first crossing point, the second crossing point, and the point on the detour in the path storage unit.
For all the points stored in the path storage means, specify a point one by one, specify other points connectable to the specific point, determine whether a short circuit path can be formed, and form a short circuit path If it is determined, the point that deviates from the short-circuit path formed from the path storage means is deleted, and the straight line calculation means, the obstacle detection means, and the specific point and other points as the start point and end point of the short-circuit path By the detour determination unit, a straight line connecting the start point and the end point is calculated, an obstacle is detected, a detour is obtained, and a short-circuit path determination unit that executes a storing process ;
A route forming apparatus including means for forming a route from a start point to an end point using the straight line and the determined detour.
請求項1記載の経路形成システムにおいて、更に、前記経路格納手段に格納されている、前記第一の交点から前記第二の交点まで前記障害物の周りを右回り及び左回りで辿る経路のうち短い方を迂回路として決める手段を有する経路形成装置。In the path formation system according to claim 1, further on, is stored in the path storage means, trace around the second intersection or in front Symbol obstacle from the first intersection at clockwise and counterclockwise A route forming apparatus having means for determining a shorter one of routes as a detour. 請求項1または2記載の経路形成装置において、
更に、
経路を表示装置に表示する表示手段と、
前記表示装置において経路の始点と終点の指示を入力する入力手段とを有し、
前記迂回路決定手段は、更に、決定した迂回路を表示装置に表示する表示手段を有する経路形成装置。
In the route formation device according to claim 1 or 2,
Furthermore,
Display means for displaying the route on the display device;
Input means for inputting instructions of a start point and an end point of a route in the display device;
The detour determination unit further includes a display unit for displaying the determined detour on the display device.
請求項1乃至3のいずれか一項記載の経路形成装置において、
更に、前記入力手段にて前記表示装置の画面上で指定される点を終点として所定周期でサンプリングする終点サンプリング手段と、
前記終点サンプリング手段にて終点がサンプリングされる毎に、前記始点から前記終点に至る経路が形成されるように前記終点を前記直線演算手段に提供する制御手段とを有し、
サンプリングされる終点の変化に応じて前記表示装置の画面上に形成される経路が順次変化するようにした経路形成装置。
In the route formation device according to any one of claims 1 to 3,
Furthermore, an end point sampling means for sampling at a predetermined cycle with a point specified on the screen of the display device by the input means as an end point;
Each time the end point is sampled by the end point sampling means, the control means for providing the end point to the straight line calculation means so that a path from the start point to the end point is formed,
A path forming apparatus in which a path formed on the screen of the display device sequentially changes in accordance with a change in the sampled end point.
指定された始点から終点までの経路を、直線演算手段、障害物検出手段、障害物検出手段、迂回路決定手段、短絡経路決定手段及び経路形成手段を有するコンピュータにより形成する経路形成方法において、
前記直線演算手段で、始点と終点間を結ぶ直線を演算するステップと、
迂回路の位置情報を経路格納手段に記憶するステップと、
障害物検出手段で、前記演算された直線を上下左右の所定のクリアランス分拡張した範囲と重なる障害物を検出するステップと、
迂回路決定手段で、前記検出された障害物のオフセット外形線を求め、前記直線と前記オフセット外形線が交差する第一の交点と第二の交点を求め、前記第一の交点から前記オフセット外形線を経て前記第二の交点に至る迂回路を求めるステップと、
前記短絡経路決定手段で、前記経路格納手段に格納された全ての点について、1点ずつ点を特定し、該特定点と接続可能な他の点を特定し、短絡経路が形成できるか判定し、短絡経路を形成できると判定した場合、前記経路格納手段から形成される短絡経路から外れる点を削除し、前記特定点と前記他の点を前記短絡経路の始点と終点として、前記直線演算手段と前記障害物検出手段と前記迂回路決定手段により始点と終点間を結ぶ直線を演算 するステップと障害物を検出するステップと迂回路を求めるステップとを実行するステップと、
前記経路形成手段で、前記直線と前記決定された迂回路とを用いて始点から終点に至る経路を形成するステップと、
前記第一の交点と前記第二の交点と前記迂回路の点を前記経路格納手段に格納するステップとを含む経路形成方法。
In a route forming method in which a route from a designated start point to an end point is formed by a computer having a straight line operation means, an obstacle detection means, an obstacle detection means, a detour determination means, a short circuit determination means, and a route formation means.
A step of calculating a straight line connecting a start point and an end point by the straight line calculation means;
Storing the detour location information in the route storage means;
An obstacle detecting means for detecting an obstacle that overlaps a range obtained by expanding the calculated straight line by a predetermined clearance in the vertical and horizontal directions;
The detour determination means obtains an offset outline of the detected obstacle, obtains a first intersection and a second intersection where the straight line and the offset outline intersect, and determines the offset outline from the first intersection. Obtaining a detour through the line to the second intersection;
The short-circuit path determination unit specifies points one by one for all points stored in the path storage unit, specifies other points that can be connected to the specific point, and determines whether a short-circuit path can be formed. When it is determined that a short-circuit path can be formed, the point that deviates from the short-circuit path formed by the path storage unit is deleted, and the specific point and the other points are used as the start point and end point of the short-circuit path, And a step of calculating a straight line connecting a start point and an end point by the obstacle detection unit and the detour determination unit, a step of detecting an obstacle, and a step of obtaining a detour;
Forming a path from a start point to an end point using the straight line and the determined detour in the path forming means ;
A route forming method including the step of storing the first intersection, the second intersection, and the detour point in the route storage means.
コンピュータに、
始点と終点間を結ぶ直線を演算するステップと、
迂回路の位置情報を記憶するステップと、
前記演算された直線を上下左右の所定のクリアランス分拡張した範囲と重なる障害物を検出するステップと、
前記検出された障害物のオフセット外形線を求め、前記直線と前記オフセット外形線が交差する第一の交点と第二の交点を求め、前記第一の交点から前記オフセット外形線を経て前記第二の交点に至る迂回路を求めるステップと、
前記迂回路記憶ステップで記憶された全ての点について、1点ずつ点を特定し、該特定点と接続可能な他の点を特定し、短絡経路が形成できるか判定し、短絡経路を形成できると判定した場合、前記迂回路記憶ステップから形成される短絡経路から外れる点を削除し、前記特定点と前記他の点を前記短絡経路の始点と終点として、前記直線演算手段と前記障害物検出手段と前記迂回路決定手段を実行するステップと、
前記直線と前記迂回路とを用いて始点から終点に至る経路を形成するステップと、
前記第一の交点と前記第二の交点と前記迂回路の点を記憶するステップとを実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体。
On the computer,
A step of calculating a straight line connecting the start point and the end point;
The method comprising the positional information of the detour path memorize,
Detecting an obstacle that overlaps a range obtained by extending the calculated straight line by a predetermined clearance in the vertical and horizontal directions;
Obtaining the offset outline of the detected obstacle, obtaining a first intersection and a second intersection where the straight line and the offset outline intersect, and passing the offset outline from the first intersection to the second Seeking a detour to the intersection of
For every point stored in the detour storage step, the point is specified one by one, another point that can be connected to the specific point is specified, it is determined whether a short circuit path can be formed, and a short circuit path can be formed If it is determined, the point that deviates from the short circuit path formed from the detour storage step is deleted, and the straight line calculation means and the obstacle detection are performed with the specific point and the other point as the start point and end point of the short circuit path. Executing the means and the detour determination means;
Forming a path from a start point to an end point using the straight line and the detour; and
The first intersection and the second intersection point between the bypass path memorize computer-readable recording medium recording a program for executing the steps points.
JP13396897A 1996-05-29 1997-05-23 Route forming system and method, and recording medium storing a program for causing a computer to perform route forming processing Expired - Fee Related JP4044642B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13396897A JP4044642B2 (en) 1996-05-29 1997-05-23 Route forming system and method, and recording medium storing a program for causing a computer to perform route forming processing

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP13547396 1996-05-29
JP8-135473 1996-05-29
JP13396897A JP4044642B2 (en) 1996-05-29 1997-05-23 Route forming system and method, and recording medium storing a program for causing a computer to perform route forming processing

Publications (2)

Publication Number Publication Date
JPH1055382A JPH1055382A (en) 1998-02-24
JP4044642B2 true JP4044642B2 (en) 2008-02-06

Family

ID=26468187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13396897A Expired - Fee Related JP4044642B2 (en) 1996-05-29 1997-05-23 Route forming system and method, and recording medium storing a program for causing a computer to perform route forming processing

Country Status (1)

Country Link
JP (1) JP4044642B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4592494B2 (en) * 2005-05-25 2010-12-01 新光電気工業株式会社 Automatic wiring determination device
JP4562625B2 (en) * 2005-09-12 2010-10-13 新光電気工業株式会社 Automatic wiring determination method and computer program for causing a computer to execute the automatic wiring determination process
KR100896801B1 (en) * 2007-05-23 2009-05-11 성균관대학교산학협력단 Routing Method for forming interconnetion line and record medium recorded program for realizing the same
JP5278258B2 (en) * 2009-09-07 2013-09-04 富士通株式会社 CAD design equipment
JP2011090471A (en) * 2009-10-22 2011-05-06 Hitachi Ltd Device and program for editing piping data

Also Published As

Publication number Publication date
JPH1055382A (en) 1998-02-24

Similar Documents

Publication Publication Date Title
JP2811501B2 (en) Cursor movement control method and apparatus
US20140152702A1 (en) Image display device, image display method, image display program, and computer-readable recording medium whereon program is recorded
JP2009211244A (en) Touch panel display control system, touch panel display control method and touch panel display control program
US20100005438A1 (en) Processing method. processing equipment, program and computer-readable storage medium
JP4044642B2 (en) Route forming system and method, and recording medium storing a program for causing a computer to perform route forming processing
JP3454906B2 (en) Navigation display method and apparatus
JP3498733B2 (en) Tree structure display editing device
JP3766733B2 (en) Method and apparatus for displaying connection between parts
JP3679777B2 (en) Bird's-eye view creation method, map display device, and navigation system
JP3501721B2 (en) Map scrolling device and map scrolling method
JP3703814B2 (en) How to create a circle
JP3660644B2 (en) Bird's-eye view creation method, map display device, and navigation system
CN115847431B (en) Method and device for setting waypoints of mechanical arm, electronic equipment and storage medium
JP3781923B2 (en) Line drawing apparatus, line drawing method, and computer-readable recording medium recording line drawing program
JP2022019754A (en) Information processor, method for information processing, and program for information processing
JPH11353069A (en) Virtual mouse display information device and storage medium recording virtual mouse display program
JP2005234610A (en) Freehand-input pattern editing system
JPH0922423A (en) Graphic attribute display method
JPH1091803A (en) Outline generating method and selection indicating method for closed curve of optional shape
JP3660645B2 (en) Bird's-eye view creation method, map display device, and navigation system
JP3000749B2 (en) Character editing device
JP2929705B2 (en) How to change the wiring pattern shape
JPH06176162A (en) Semiautomatic network graphic editing device
JP2023101779A (en) Information processor, method for information processing, and program for information processing
JPH07104875B2 (en) PERT diagram creation device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040510

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070515

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070717

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070814

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071011

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: 20071106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071116

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: 20101122

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101122

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111122

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees