JPH10268922A - Shortest route retrieving method - Google Patents

Shortest route retrieving method

Info

Publication number
JPH10268922A
JPH10268922A JP9088856A JP8885697A JPH10268922A JP H10268922 A JPH10268922 A JP H10268922A JP 9088856 A JP9088856 A JP 9088856A JP 8885697 A JP8885697 A JP 8885697A JP H10268922 A JPH10268922 A JP H10268922A
Authority
JP
Japan
Prior art keywords
point
mounting
points
shortest
shortest path
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
JP9088856A
Other languages
Japanese (ja)
Inventor
Tetsuji Kamiya
哲二 神谷
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP9088856A priority Critical patent/JPH10268922A/en
Publication of JPH10268922A publication Critical patent/JPH10268922A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To efficiently retrieve a shortest route in a short time by generating a single assembly obtained by connecting plural assemblies and continuing selecting the shortest route while recombining connection to connect all the points as one shortest route. SOLUTION: A work station 4 connects between with a nearest mounting position by each mounting position of a wiring pattern generated by the mounting face of a wiring substrate to generate plural line segment assemblies and then connects nearest mounting positions between with the nearest line segment assembly are connected with each other to make one line segment assembly by each line segment assembly. All the mounting positions are connected to be the single shortest route by keeping selecting the shortest route while recombining connection so as to connect a mounting position connecting at least three places with the mounting positions of the other two places or the other place at this time. Thus, the work station 4 mounts electronic parts assigned to each mounting part 6 to 8 successively to corresponding wiring patterns through a shortest route.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【目次】以下の順序で本発明を説明する。 発明の属する技術分野 従来の技術 発明が解決しようとする課題 課題を解決するための手段 発明の実施の形態 (1)CAMシステムの全体構成(図1及び図2) (2)各種の電子部品毎に対する最短経路の検索処理手
順(図3〜図7) (3)全種類の電子部品に対するマウント順序の決定処
理手順(図8〜図9(B) (4)実施例の動作及び効果 (5)他の実施例 発明の効果
[Table of Contents] The present invention will be described in the following order. Technical Field to which the Invention pertains Prior Art Problems to be Solved by the Invention Means for Solving the Problems Embodiments of the Invention (1) Overall Configuration of CAM System (FIGS. 1 and 2) (2) For Each Various Electronic Components (FIG. 3 to FIG. 7) (3) Mounting order determining procedure for all types of electronic components (FIGS. 8 to 9B) (4) Operation and effect of the embodiment (5) Other Embodiment Effects of the Invention

【0002】[0002]

【発明の属する技術分野】本発明は最短経路検索方法に
関し、例えば配線基板上の配線パターンに対応して電子
部品を順次実装する実装装置に適用して好適なものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shortest path search method, and is suitably applied to, for example, a mounting apparatus for sequentially mounting electronic components corresponding to a wiring pattern on a wiring board.

【0003】[0003]

【従来の技術】従来、この種の実装装置においては、単
一のヘツドを用いて電子部品を順次1個ずつ配線基板上
の配線パターンにマウントするようになされている。そ
の際、1枚の配線基板に対して複数種類の電子部品が数
十〜数百個単位でマウントされるが、電子部品の種類に
かかわらず配線パターンを基準として順次マウントする
方法では非常に作業効率が悪いため、通常は1又は2種
類の電子部品を全て配線基板上にマウントした後、続い
て別の1又は2種類の電子部品を同一の配線基板上に全
てマウントし、以下同様に全ての配線パターンがマウン
トされるまで1又は2種類単位で電子部品をマウントす
るようになされている。
2. Description of the Related Art Conventionally, in this type of mounting apparatus, electronic components are sequentially mounted one by one on a wiring pattern on a wiring board using a single head. At this time, a plurality of types of electronic components are mounted in units of several tens to several hundreds on a single wiring board. Since efficiency is low, usually, one or two types of electronic components are all mounted on a wiring board, and then another one or two types of electronic components are all mounted on the same wiring substrate, and so on. Until the wiring pattern is mounted, electronic components are mounted in one or two types.

【0004】[0004]

【発明が解決しようとする課題】ところで、1又は2種
類の電子部品を吸着保持した吸着ヘツドを、対応する配
線パターンのマウント位置に次々と比較的短時間で移動
させ得るように、コンピユータ等を用いて吸着ヘツドの
最短移動経路を電子部品の種類に応じてそれぞれ予め検
索しておく必要がある。
By the way, a computer or the like is designed so that the suction head holding one or two kinds of electronic components can be successively moved to the mounting position of the corresponding wiring pattern in a relatively short time. It is necessary to previously search the shortest moving path of the suction head using the type of the electronic component.

【0005】ところが、全ての移動経路を算出した後、
当該算出結果から最短移動経路を検索する方法では、設
計変更等によりマウント位置の数を増加した場合に再度
膨大な量の計算をし直されなければならず、実用上不十
分となる問題があつた。
However, after calculating all the travel routes,
In the method of searching for the shortest movement route from the calculation result, when the number of mount positions is increased due to a design change or the like, an enormous amount of calculations must be performed again, which is not practically sufficient. Was.

【0006】また適当な移動経路だけを順次絞り込み、
当該移動経路のみの移動時間を次々と比較することによ
つて最短時間となる移動経路を検索する方法では、全て
の移動経路を考慮して得られる最短移動経路を検索する
ことは非常に困難となる問題があつた。
In addition, only appropriate travel routes are sequentially narrowed down.
In the method of searching for the shortest moving route by comparing the moving times of the moving routes only one after another, it is extremely difficult to search for the shortest moving route obtained in consideration of all the moving routes. There was a problem.

【0007】さらに単純に最も近い距離のマウント位置
から順番に移動経路を決めていく方法では、最後には最
も遠い距離のマウント位置が残ることとなり、結果的に
最短移動経路と異なる場合も多く、実際上最短移動経路
を検索することが困難となる問題があつた。
[0007] Further, in the method of simply determining the moving path in order from the closest mounting position, the mounting position at the longest distance remains at the end, and as a result, it often differs from the shortest moving path. Practically, there is a problem that it is difficult to search for the shortest moving route.

【0008】本発明は以上の点を考慮してなされたもの
で、効率良くかつ比較的短時間で最短経路を検索するこ
とができる最短経路検索方法を提案しようとするもので
ある。
The present invention has been made in view of the above points, and it is an object of the present invention to propose a shortest path search method capable of efficiently searching for the shortest path in a relatively short time.

【0009】[0009]

【課題を解決するための手段】かかる課題を解決するた
め本発明においては、与えられた複数のポイントを通る
経路のうち、最短の経路を検索する最短経路検索方法に
おいて、複数のポイントごとに最も近いポイントとの間
を接続してポイントからなる複数の集合体を生成した
後、各集合体ごとに最も近い集合体との間で最も近いポ
イント同士を接続することにより、複数の集合体を接続
した単一の集合体を生成する。続いて単一の集合体を生
成する各ポイントごとに、当該ポイントが他の2か所又
は他の1か所のポイントと接続されるように接続を組み
換えながら最も短い経路を選択し続けて、全てのポイン
トを一本の最短経路として接続するようにする。
According to the present invention, there is provided a shortest path search method for searching for a shortest path among paths passing through a plurality of given points. Connect multiple aggregates by connecting the closest points to the closest aggregate for each aggregate after generating multiple aggregates consisting of points by connecting between nearby points Generate a single aggregate. Then, for each point that produces a single aggregate, continue to select the shortest path while rearranging the connections so that the point is connected to the other two or one other point, All points should be connected as one shortest path.

【0010】このようにして全てのポイントの組み合わ
せを計算して最短経路を検索する場合よりも格段と計算
量を低減させることができ、実用上十分に使用すること
ができる。
[0010] In this way, the amount of calculation can be remarkably reduced as compared with the case of calculating the combination of all points and searching for the shortest route, and can be used sufficiently for practical use.

【0011】[0011]

【発明の実施の形態】以下図面について、本発明の一実
施例を詳述する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings.

【0012】(1)CAMシステムの全体構成 図1において1は全体としてCAM(Computer Aided M
anufacturing)システムを示し、CAD(Computer Aid
ed Design )端末2によつて設計された配線基板(図示
せず)を基板製造部3で製造した後、実装装置5による
実装工程段階で種々の電子部品をワークステーシヨン4
の制御に応じてマウントするようになされている。
(1) Overall Configuration of CAM System In FIG. 1, reference numeral 1 denotes a CAM (Computer Aided M
an CAD system for CAD (Computer Aid)
ed Design) After a wiring board (not shown) designed by the terminal 2 is manufactured by the board manufacturing unit 3, various electronic components are mounted on the work station 4 in the mounting process stage by the mounting apparatus 5.
It is made to mount according to the control of.

【0013】CAD端末2は、各配線基板に割り当てら
れたリフアレンス番号に対してそれぞれ座標データを設
定すると共に各配線基板の極性及び貫通穴のピツチを設
定することにより、これをCADデータS1として基板
製造部3及びワークステーシヨン4に供給する。
The CAD terminal 2 sets the coordinate data for each reference number assigned to each wiring board, and sets the polarity of each wiring board and the pitch of the through-hole, so that the data is converted into CAD data S1. It is supplied to the production section 3 and the work station 4.

【0014】基板製造部3は、CADデータS1に基づ
いて各リフアレンス番号に応じた配線基板(図示せず)
を製造した後、当該各配線基板を実装装置5に送出す
る。実装装置5は第1〜第3の実装部6〜8を有し、そ
れぞれ種々の電子部品(図示せず)を配線基板の配線パ
ターンにマウントするようになされている。この場合、
各実装部6〜8には、ジヤンパ線、アーキシヤル部品及
びラジアル部品が対応する所定種類の電子部品として供
給される。
The board manufacturing section 3 is a wiring board (not shown) corresponding to each reference number based on the CAD data S1.
Is manufactured, and the respective wiring boards are sent out to the mounting apparatus 5. The mounting apparatus 5 has first to third mounting portions 6 to 8, and mounts various electronic components (not shown) on a wiring pattern of a wiring board. in this case,
To each of the mounting units 6 to 8, a jumper wire, an axial component, and a radial component are supplied as corresponding predetermined types of electronic components.

【0015】またワークステーシヨン4には、CADデ
ータS1の他に部品表データS2及び実装工程データS
3がそれぞれオペレータの操作に応じて入力される。こ
の部品表データS2は、各リフアレンス番号に対する電
子部品の部品番号を表すデータであり、実装工程データ
S3は、第1〜第3の実装部6〜8の各実装時間のバラ
ンスをとるため、各実装部6〜8で実装する電子部品数
の比率を表すデータである。さらにワークステーシヨン
4内のデータベースには、電子部品の部品番号に対する
部品形状、サイズ及び対応する実装部の種類を表す内部
データが予め設定されている。
The work station 4 includes, in addition to the CAD data S1, parts list data S2 and mounting process data S2.
3 is input according to the operation of the operator. The component table data S2 is data representing the component number of the electronic component with respect to each reference number, and the mounting process data S3 is used to balance the mounting times of the first to third mounting units 6 to 8. This is data representing the ratio of the number of electronic components mounted in the mounting units 6 to 8. Further, in the database in the work station 4, internal data indicating the component shape, size, and the type of the corresponding mounting part for the component number of the electronic component are set in advance.

【0016】ワークステーシヨン4は、CADデータS
1、部品表データS2、実装工程データS3及び内部デ
ータに基づいて、各リフアレンス番号に対応する電子部
品を第1〜第3の実装部6〜8のうちいずれの実装部で
マウントするかを決定した後、当該各実装部ごとに電子
部品を最短経路でマウントする順番を決定するアルゴリ
ズムをそれぞれ作成する。このようにして得られた各ア
ルゴリズムをそれぞれ実装制御信号S4〜S6として第
1〜第3の実装部6〜8に送出する。
The work station 4 has the CAD data S
1. Based on the parts table data S2, the mounting process data S3, and the internal data, it is determined which of the first to third mounting units 6 to 8 mounts the electronic component corresponding to each reference number. After that, an algorithm for determining the order of mounting the electronic components by the shortest path is created for each of the mounting units. The algorithms thus obtained are sent to the first to third mounting units 6 to 8 as mounting control signals S4 to S6, respectively.

【0017】なお、第1〜第3の実装部6〜8にそれぞ
れ電子部品を割り振るときは、同じ部品番号の電子部品
を全て同じ実装部でマウントするようにして、各実装部
のマウント本数が指定された本数比率と同一となるよう
にする。
When allocating electronic components to the first to third mounting units 6 to 8, respectively, all the electronic components having the same part number are mounted on the same mounting unit, and the number of mounts of each mounting unit is reduced. Make it equal to the specified number ratio.

【0018】第1〜第3の実装部6〜8は、図2に示す
ように、架台15上に配線基板PWBを搬送するための
レール16及び17が形成されると共に、当該架台15
の近傍に部品供給テーブル18及びヘツドユニツト19
が設けられている。この場合、オペレータは、ワークス
テーシヨン4によりプリントされた各実装部6〜8に対
する全種類の電子部品の配置表を目視確認することによ
り、部品供給テーブル18上の所定位置に予め必要とさ
れる全種類の電子部品ECを支給しておくようにする。
As shown in FIG. 2, the first to third mounting portions 6 to 8 are formed with rails 16 and 17 for transporting the wiring board PWB on the gantry 15, and
Is located near the parts supply table 18 and the head unit 19.
Is provided. In this case, the operator visually confirms the layout table of all types of electronic components for each of the mounting units 6 to 8 printed by the work station 4, so that all the components required in advance at the predetermined positions on the component supply table 18 are obtained. Kinds of electronic components EC are provided.

【0019】基板製造部3(図1)から供給された配線
基板PWBは、レール16及び17に沿つて矢印xで示
す方向に移動され、ヘツドユニツト19の正面部に位置
決めされる。ヘツドユニツト19は、部品供給テーブル
18上に載置された複数の電子部品ECのうち、ワーク
ステーシヨン4から与えられた実装制御信号S4、S5
又はS6に基づいてマウント対象となる電子部品ECを
拾い上げた後、配線基板PWBの配線パターンのマウン
ト位置に対応して順次1個ずつマウントする。
The wiring board PWB supplied from the board manufacturing section 3 (FIG. 1) is moved along the rails 16 and 17 in the direction indicated by the arrow x, and is positioned at the front of the head unit 19. The head unit 19 includes mounting control signals S4 and S5 given from the work station 4 among the plurality of electronic components EC placed on the component supply table 18.
Alternatively, after picking up the electronic components EC to be mounted based on S6, the electronic components EC are sequentially mounted one by one corresponding to the mounting position of the wiring pattern of the wiring board PWB.

【0020】この後、第1〜第3の実装部6〜8におい
て種々の電子部品がマウントされた配線基板PWBは、
手マウント部9(図1)に送出され、作業者の手によつ
て残りの電子部品がマウントされた後、DIP部10に
送出される。DIP部10は、溶融したはんだ槽に配線
基板PWBを浸してはんだ付けすることにより、回路基
板PCBを生成する。この後、回路基板PCBは後続す
るセツトの組み立て工程に送出される。
Thereafter, the wiring board PWB on which various electronic components are mounted in the first to third mounting portions 6 to 8 is
It is sent to the hand mount unit 9 (FIG. 1), and after the remaining electronic components are mounted by the hand of the worker, it is sent to the DIP unit 10. The DIP unit 10 generates a circuit board PCB by immersing and soldering the wiring board PWB in a molten solder bath. Thereafter, the circuit board PCB is sent to the subsequent set assembling process.

【0021】(2)各種の電子部品毎に対する最短経路
の検索処理手順 この実施例の場合、各実装部6〜8ごとに割り当てられ
た所定種類の電子部品が配線基板の配線パターンに対応
してマウントされるが、その前段階としてワークステー
シヨン4は、ヘツドユニツト19が配線パターンの各マ
ウント位置間を移動する最短経路を決定するためのアル
ゴリズムを作成する際、以下に述べるような処理を実行
する。
(2) Shortest path search processing procedure for each type of electronic component In this embodiment, a predetermined type of electronic component assigned to each of the mounting units 6 to 8 corresponds to the wiring pattern of the wiring board. As a pre-stage, the work station 4 executes the following processing when creating an algorithm for determining the shortest path for the head unit 19 to move between the mounting positions of the wiring pattern.

【0022】ワークステーシヨン4は図3に示す最短経
路検索処理手順RT1に入ると、ステツプSP1におい
て配線パターンの各マウント位置(ポイント)ごとに最
も近いポイント同士を検索して当該各ポイントとの間を
線(架空の線、以下同様)で結ぶことにより、当該ポイ
ントからなる複数の線分集合体を生成する。例えば図4
(A)に示すように、配線基板の実装面を表す画面D上
に10個のポイントP1〜P10が設定されているとき、
各ポイントP1〜P10のうち最も近いもの同士を線で
結ぶことにより、線分P1−P2−P3、線分P4−P
5−P8−P5−P6−P7及び線分P9−P10から
なる3個の線分集合体C1、C2及びC3が得られる
(図4(B))。
When the work station 4 enters the shortest path search processing procedure RT1 shown in FIG. 3, in step SP1, the closest points are searched for each mount position (point) of the wiring pattern, and a search is made between the points. By connecting with a line (an imaginary line, the same applies hereinafter), a plurality of line segment aggregates including the points are generated. For example, FIG.
As shown in (A), when ten points P1 to P10 are set on the screen D representing the mounting surface of the wiring board,
By connecting the closest points among the points P1 to P10 with a line, the line segment P1-P2-P3 and the line segment P4-P
Three line segment aggregates C1, C2 and C3 consisting of 5-P8-P5-P6-P7 and line segments P9-P10 are obtained (FIG. 4 (B)).

【0023】続いてワークステーシヨン4は、ステツプ
SP2に移つて、各線分集合体ごとに最も近い線分集合
体同士を検索して当該隣り合う線分集合体の間で最も近
いポイント同士を検索して線で結ぶ。図4(B)では3
個の線分集合体C1、C2及びC3のうち最も近いもの
同士は線分集合体C1及びC2並びにC2及びC3であ
り、このうち線分集合体C1及びC2間ではポイントP
3及びP4が最も近く、また線分集合体C2及びC3間
ではポイントP4及びP9が最も近い。従つてポイント
P3及びP4間、ポイントP4及びP9間をそれぞれ線
で結ぶことにより、全ての線分集合体C1〜C3を1個
の線分集合体CAにまとめることができる(図4
(C))。
Subsequently, the work station 4 proceeds to step SP2, searches for the closest line segment aggregate for each line segment aggregate, searches for the closest points between the adjacent line aggregates, and draws a line. tie. In FIG. 4B, 3
The closest ones of the line segment aggregates C1, C2 and C3 are the line segment aggregates C1 and C2 and C2 and C3, and the point P is located between the line segment aggregates C1 and C2.
3 and P4 are the closest, and points P4 and P9 are the closest between the line segment aggregates C2 and C3. Therefore, by connecting the points P3 and P4 and the points P4 and P9 with lines, all the line segment aggregates C1 to C3 can be combined into one line segment aggregate CA (FIG. 4).
(C)).

【0024】この後ワークステーシヨン4は、ステツプ
SP3に移つて、3本以上の線分が交わるポイントが2
本以下の線分と交わるポイントとなるように、当該ポイ
ントと交わる線分を他のポイントに組み換えながら、当
該組み換えによつて成り立つ複数の経路のうち最も短い
経路を実際の最短経路として選択する。すなわち図4
(C)において、3本以上の線分が交わるポイントはP
4及びP5(黒丸で示す)であり、まずポイントP5に
ついて、線分P5−P8を線分P6−P8に組み換え
る。これにより線分P4−P5−P6−P8と線分P4
−P6−P5−P8との2通りの経路が成り立つ(図5
(A))が、短い方の経路は線分P4−P6−P5−P
8であるので、これを実際の最短経路として選択する。
Thereafter, the work station 4 moves to step SP3, where the point where three or more line segments intersect is 2 points.
While the line segment that intersects with the point is recombined with another point so that the point intersects with the following line segment, the shortest route among a plurality of routes formed by the recombination is selected as the actual shortest route. That is, FIG.
In (C), the point where three or more line segments intersect is P
4 and P5 (indicated by black circles). First, for the point P5, the line segment P5-P8 is rearranged into the line segment P6-P8. As a result, the line segment P4-P5-P6-P8 and the line segment P4
-P6-P5-P8 hold (FIG. 5
(A)), but the shorter route is a line segment P4-P6-P5-P
Since it is 8, this is selected as the actual shortest path.

【0025】また同様に、ポイントP6について、線分
P6−P8を線分P7−P8に組み換えて、線分P5−
P7−P6−P8と線分P5−P6−P7−P8との2
通りの経路を成り立たせ(図5(B))、短い方の経路
である線分P5−P7−P6−P8を実際の経路として
選択する(図5(C))。
Similarly, for the point P6, the line segment P6-P8 is recombined into the line segment P7-P8 to obtain the line segment P5-P8.
2 of P7-P6-P8 and line segment P5-P6-P7-P8
5 (B), and selects the shorter line segment P5-P7-P6-P8 as the actual route (FIG. 5 (C)).

【0026】一方、3本以上の線分が交わるポイントP
4(図5(C))についても上述した処理を行つて実際
の最短経路を選択する。この結果図6に示すように、全
てのポイントP1〜P10を最短経路すなわち線分P1
−P2−P3−P4−P10−P9−P5−P7−P6
−P8として1本の線で結ぶことができる。
On the other hand, a point P where three or more line segments intersect
4 (FIG. 5C), the above-described processing is performed to select the actual shortest path. As a result, as shown in FIG. 6, all the points P1 to P10 are connected to the shortest path,
-P2-P3-P4-P10-P9-P5-P7-P6
−P8 can be connected by one line.

【0027】このようにワークステーシヨン4は全ての
ポイントを一本の最短経路として結んだ後、ステツプS
P4に移つて当該処理手順を終了する。かくしてワーク
ステーシヨン4は、各実装部6〜8ごとに割り当てられ
た所定種類の電子部品を順次対応する配線パターンに最
短経路でマウントさせるアルゴリズムを作成することが
できる。
As described above, the work station 4 connects all points as one shortest path, and then proceeds to step S.
The process moves to P4 and the processing procedure ends. In this way, the workstation 4 can create an algorithm for sequentially mounting a predetermined type of electronic component assigned to each of the mounting units 6 to 8 on the corresponding wiring pattern in the shortest path.

【0028】因みに図3に示すステツプSP3におい
て、3本以上の線分が交わるポイントをなくすように当
該ポイントと交わる線分を他のポイントに組み換える場
合、例えば図7に示すように3本以上の線分が交わるポ
イントPA、PB及びPCについてポイントPCと交わ
る他のポイントが1点しかない場合(すなわち終端とな
る場合)には、当該他のポイントが最終的に経路の始点
又は終点となる可能性があることから、当該ポイントP
Cと交わる線分を他のポイントと組み換えないことと
し、組み換えを別のポイントPA又はPBに切り換え
て、先にポイントPA又はPBの交わりをなくすように
する。この後、ポイントPCについて上述したアルゴリ
ズムに従つて当該ポイントPCが2本又は1本の線分と
交わるようにすれば良い。
By the way, in step SP3 shown in FIG. 3, when a line segment intersecting the point is recombined with another point so as to eliminate a point intersecting the three or more line segments, for example, as shown in FIG. If there is only one other point that intersects the point PC with respect to the points PA, PB and PC where the line segment intersects (i.e., the end point), the other point will eventually be the start point or end point of the route. Because there is a possibility, the point P
The line segment intersecting C is not recombined with another point, and the recomposition is switched to another point PA or PB so that the intersection of point PA or PB is eliminated first. Thereafter, the point PC may intersect with two or one line segment in accordance with the above-described algorithm.

【0029】(3)全種類の電子部品に対するマウント
順序の決定処理手順 上述のように図3に示すアルゴリズムに従つてヘツドユ
ニツト19が各マウント位置間を移動する最短経路をそ
れぞれ作成したが、これら複数の最短経路をさらに単一
の最短経路をとるようにアルゴリズムを作成する際、以
下に述べるような処理を実行する。
(3) Procedure for Determining Mounting Order for All Kinds of Electronic Components As described above, the shortest paths for the head unit 19 to move between the mounting positions are created according to the algorithm shown in FIG. When an algorithm is created so that the shortest path of the above is further taken as a single shortest path, the following processing is executed.

【0030】ワークステーシヨン4は図8に示すマウン
ト順序決定処理手順RT2に入ると、ステツプSP10
において、各電子部品毎に設定された複数の最短経路の
うちヘツドユニツト19の移動開始位置から最も近い最
短経路の一端のポイントを検索した後、当該ポイントを
移動開始ポイントとする。例えば図9(A)に示すよう
に、配線基板の実装面を表す画面D上に3個の最短経路
M1〜M3が設定されているとき、各最短経路M1〜M
3のうちヘツドユニツト19の移動開始位置Fから最も
近い最短経路M2の一端のポイントP2Bが移動開始ポイ
ントとして検索される。
When the work station 4 enters the mount order determination processing procedure RT2 shown in FIG. 8, the work station 4 proceeds to step SP10.
In the above, after searching for a point at one end of the shortest path closest to the movement start position of the head unit 19 among a plurality of shortest paths set for each electronic component, the point is set as a movement start point. For example, as shown in FIG. 9A, when three shortest paths M1 to M3 are set on a screen D representing a mounting surface of a wiring board, each of the shortest paths M1 to M3 is set.
One end point P 2B closest shortest path M2 from the movement start position F of the head unit 19 of the three is retrieved as a moving start point.

【0031】続いてワークステーシヨン4は、ステツプ
SP11に移つて、ヘツドユニツト19の移動開始位置
と一端のポイントが接続された最短経路の他端のポイン
トを基準として、当該他端のポイントに最も近い最短経
路の一端のポイントを検索する。図9(B)では最短経
路M2の他端のポイントP2Aを基準としたとき、最短経
路M1のポイントP1Aが最も近いポイントとして検索さ
れる。また同様に、最短経路M1の他端のポイントP1B
を基準としたとき、最短経路M3のポイントP3Bが最も
近いポイントとして検索される。
Subsequently, the work station 4 moves to step SP11, and, based on the movement start position of the head unit 19 and the other end point of the shortest path to which one end point is connected, the shortest closest to the other end point. Search for a point at one end of the route. Figure 9 (B) in time relative to the point P 2A of the other end of the shortest path M2, point P 1A shortest path M1 is searched as the closest point. Similarly, a point P 1B at the other end of the shortest path M1
Is used as a reference, the point P 3B of the shortest path M3 is searched as the closest point.

【0032】この結果図9(B)に示すように、全ての
最短経路M1〜M3を一本の最短経路として結ぶことに
より、最短経路M3の他端のポイントP3Aをヘツドユニ
ツト19の移動終了位置とすることができる。このよう
にワークステーシヨン4は全ての最短経路を一本の最短
経路として結んだ後、ステツプSP12に移つて当該処
理手順を終了する。かくしてワークステーシヨン4は配
線基板に対して全種類の電子部品に対するマウント順序
を決定するアルゴリズムを作成することができる。
[0032] As a result, as shown in FIG 9 (B), by connecting all of the shortest paths M1~M3 as the shortest path one, the movement end position of the head unit 19 the point P 3A of the other end of the shortest path M3 It can be. After connecting all the shortest paths as one shortest path, the workstation 4 moves to step SP12 and ends the processing procedure. Thus, the workstation 4 can create an algorithm for determining the mounting order for all types of electronic components on the wiring board.

【0033】(4)実施例の動作及び効果 以上の構成において、ワークステーシヨン4は、配線基
板の実装面に生成された配線パターンの各マウント位置
ごとに最も近いマウント位置との間を接続することによ
り当該マウント位置からなる複数の線分集合体を生成し
た後、当該各線分集合体ごとに最も近い線分集合体との
間で最も近いマウント位置同士を1つの線分集合体とな
るまで接続する。
(4) Operation and Effect of the Embodiment In the above configuration, the work station 4 connects between the mounting positions closest to each mounting position of the wiring pattern generated on the mounting surface of the wiring board. After generating a plurality of line segment aggregates composed of the mount positions, the closest mount positions are connected to the closest line segment aggregate for each line segment aggregate until one line aggregate is formed.

【0034】このとき3か所以上接続するマウント位置
が他の2か所又は他の1か所のマウント位置と接続され
るように接続を組み換えながら最も短い経路を選択し続
けることにより、全てのマウント位置を一本の最短経路
として接続することができ、かくしてワークステーシヨ
ン4は、各実装部6〜8ごとに割り当てられた所定種類
の電子部品を順次対応する配線パターンに最短経路でマ
ウントさせるアルゴリズムを作成することができる。こ
の結果、全てのマウント位置の組み合わせを計算して最
短経路を検索する場合よりも格段とワークステーシヨン
4の計算量を低減させることができる。
At this time, by continuously selecting the shortest path while rearranging the connections so that the mount positions to be connected at three or more positions are connected to the other two or one other mount position, all the positions can be selected. The mounting position can be connected as one shortest path, and thus the workstation 4 can be used to mount predetermined types of electronic components assigned to each of the mounting units 6 to 8 in sequence on the corresponding wiring pattern in the shortest path. Can be created. As a result, the amount of calculation of the workstation 4 can be significantly reduced as compared with the case where the shortest path is searched by calculating all combinations of the mounting positions.

【0035】続いてこのアルゴリズムから得られる複数
の最短経路のうちヘツドユニツト19の移動開始位置か
ら最も近い最短経路の一端のマウント位置を検索した
後、当該検索されたマウント位置を含む最短経路を基準
として、各最短経路間で最も近い一端又は他端のマウン
ト位置同士を一本の経路として連なるように順次接続し
続けて、全ての最短経路を一本の最短経路として接続す
ることができ、かくしてワークステーシヨン4は、配線
基板に対して全種類の電子部品に対するマウント順序を
決定するアルゴリズムを作成することができる。
Subsequently, after searching for a mount position at one end of the shortest path closest to the movement start position of the head unit 19 from among the plurality of shortest paths obtained from this algorithm, the shortest path including the searched mount position is used as a reference. It is possible to connect all the shortest paths as one shortest path by continuously connecting the closest one end or the mounting position of the other end between the shortest paths so as to be connected as one path, and thus work. The station 4 can create an algorithm for determining the mounting order for all types of electronic components on the wiring board.

【0036】このようにワークステーシヨン4は、第1
〜第3の実装部6〜8のそれぞれについて上述したアル
ゴリズムを作成した後、当該アルゴリズムを各実装部6
〜8のフオーマツトに変換して転送すると共に、当該ア
ルゴリズムに基づく各実装部6〜8に対する全種類の電
子部品の配置表をプリントアウトする。これによりオペ
レータは当該配置表を目視して各実装部6〜8の部品供
給テーブル18上の所定位置に予め必要とされる全種類
の電子部品ECをそれぞれ支給しておくことができ、各
実装部6〜8は電子部品の不足による停止状態を回避し
得ると共に、ヘツドユニツト19によるマウント動作を
最短時間で行い得る。
As described above, the work station 4 is provided with the first
After creating the above-described algorithm for each of the third to sixth mounting units 6 to 8,
8 and transfer the same, and print out a layout table of all types of electronic components for each of the mounting units 6 to 8 based on the algorithm. Thus, the operator can visually check the layout table and supply all necessary types of electronic components EC to predetermined positions on the component supply table 18 of each of the mounting units 6 to 8 in advance. The units 6 to 8 can avoid a stop state due to a shortage of electronic components, and can perform the mounting operation by the head unit 19 in the shortest time.

【0037】以上の構成によれば、各実装部6〜8ごと
に割り当てられた所定種類の電子部品を配線基板の配線
パターンに対応してマウントさせる順番を決定するにあ
たつて、当該配線パターンの各マウント位置ごとに最も
近いマウント位置との間を接続して当該マウント位置か
らなる複数の線分集合体を生成した後、当該各線分集合
体ごとに最も近い線分集合体との間で最も近いマウント
位置同士を1つの線分集合体となるまで接続し、さらに
3か所以上接続するマウント位置が他の2か所又は他の
1か所のマウント位置と接続されるように接続を組み換
えながら最も短い経路を選択し続けて全てのマウント位
置を一本の最短経路として接続するようにしたことによ
り、各実装部6〜8ごとにヘツドユニツト19がマウン
ト動作時に移動する最短経路を検索することができ、か
くして効率良くかつ比較的短時間で最短経路を検索する
ことができる。
According to the above configuration, when determining the order in which the predetermined type of electronic components assigned to each of the mounting units 6 to 8 are mounted in accordance with the wiring pattern of the wiring board, the wiring pattern is determined. After generating a plurality of line segment aggregates composed of the mount positions by connecting between the mount positions closest to each of the mount positions, the mount closest to the line segment aggregate closest to each of the line segment aggregates The positions are connected to each other until one line segment aggregate is formed, and the shortest is performed while the connection is rearranged so that the mounting position connected at three or more positions is connected to the other two or one other mounting position. By continuously selecting the path and connecting all the mounting positions as one shortest path, the head unit 19 moves during the mounting operation for each of the mounting units 6 to 8. You can search the shortest path, thus efficiently and in a relatively short time it is possible to find the shortest path.

【0038】(5)他の実施例 なお上述の実施例においては、CAD端末2は、各配線
基板に割り当てられたリフアレンス番号に対してそれぞ
れ座標データを設定すると共に各配線基板の極性及び貫
通穴のピツチを設定した後、これをCADデータS1と
して基板製造部3及びワークステーシヨン4に供給する
ようにした場合について述べたが、本発明はこれに限ら
ず、完成された配線基板に対してデイジタイザ(Digiti
zer )又はタブレツト(Tablet)等を用いて座標位置を
検出し、当該検出結果に基づいてオペレータが座標デー
タを入力するようにしても良い。
(5) Other Embodiments In the above embodiment, the CAD terminal 2 sets coordinate data for each reference number assigned to each wiring board, and sets the polarity and through-hole of each wiring board. After setting the pitch, the case where the pitch is supplied as the CAD data S1 to the board manufacturing unit 3 and the work station 4 has been described. However, the present invention is not limited to this. (Digiti
zer) or a tablet, and the operator may input coordinate data based on the detection result.

【0039】また上述の実施例においては、配線基板の
設計から製造までを行うCAMシステム1において、本
発明による最短経路検索方法を、各実装部6〜8ごとに
割り当てられた種々の電子部品を順次対応する配線パタ
ーンに最短経路でマウントさせるアルゴリズムを作成す
る際に適用する場合について述べたが、本発明はこれに
限らず、実装装置以外にも例えばナビゲーシヨンの自動
経路検索に適用しても良く、その他CPUの演算量を多
くすることが困難な種々の電子機器に広く適用して好適
なものである。さらに最短経路を構成する複数のポイン
トは2次元のみならず3次元に配置されていても良い。
In the above embodiment, the shortest path search method according to the present invention is applied to the CAM system 1 for designing and manufacturing a wiring board by using various electronic components assigned to each of the mounting units 6 to 8. The case where the algorithm is applied when creating an algorithm for mounting the corresponding wiring pattern with the shortest path in the shortest path has been described. However, the present invention is not limited to this, and may be applied to an automatic path search in navigation other than the mounting apparatus. In addition, the present invention is suitable for being widely applied to various electronic devices in which it is difficult to increase the operation amount of the CPU. Further, the plurality of points constituting the shortest path may be arranged not only two-dimensionally but also three-dimensionally.

【0040】[0040]

【発明の効果】上述のように本発明によれば、与えられ
た複数のポイントを通る経路のうち最短の経路を検索す
る最短経路検索方法において、複数のポイントごとに最
も近いポイントとの間を接続して当該ポイントからなる
複数の集合体を生成した後、各集合体ごとに最も近い集
合体との間で最も近いポイント同士を接続することによ
り複数の集合体を接続した単一の集合体を生成し、当該
単一の集合体を生成する各ポイントごとに、当該ポイン
トが他の2か所又は他の1か所のポイントと接続される
ように接続を組み換えながら最も短い経路を選択し続け
て全てのポイントを一本の最短経路として接続するよう
にしたことにより、全てのポイントの組み合わせを計算
して最短経路を検索する場合よりも格段と計算量を低減
させることができ、かくして効率良くかつ比較的短時間
で最短経路を検索することができる。
As described above, according to the present invention, in a shortest path search method for searching for a shortest path among paths passing through a plurality of given points, a shortest path is searched for each of a plurality of points. A single aggregate that connects multiple aggregates by connecting the closest points to the nearest aggregate for each aggregate after connecting and generating multiple aggregates consisting of the points And for each point that produces the single aggregate, select the shortest path while rearranging the connections so that the point is connected to the other two or one other point. Continuously connecting all points as one shortest path, the amount of calculation can be significantly reduced compared to the case of calculating the combination of all points and searching for the shortest path Thus efficient and relatively short time can search the shortest path.

【図面の簡単な説明】[Brief description of the drawings]

【図1】実施例によるCAMシステムの全体構成の一実
施例を示すブロツク図である。
FIG. 1 is a block diagram showing an embodiment of the overall configuration of a CAM system according to an embodiment.

【図2】実施例による各実装部の外観構成を示す略線的
斜視図である。
FIG. 2 is a schematic perspective view showing an external configuration of each mounting unit according to the embodiment.

【図3】最短経路の検索処理手順の説明に供するフロー
チヤートである。
FIG. 3 is a flowchart for explaining a shortest path search processing procedure;

【図4】最短経路を検索するアルゴリズムの説明に供す
る平面図である。
FIG. 4 is a plan view for explaining an algorithm for searching for the shortest route.

【図5】最短経路を検索するアルゴリズムの説明に供す
る平面図である。
FIG. 5 is a plan view for explaining an algorithm for searching for the shortest route.

【図6】最短経路を検索するアルゴリズムの説明に供す
る平面図である。
FIG. 6 is a plan view for explaining an algorithm for searching for the shortest route.

【図7】最短経路を検索するアルゴリズムの説明に供す
る平面図である。
FIG. 7 is a plan view for explaining an algorithm for searching for the shortest route.

【図8】マウント順序の決定処理手順の説明に供するフ
ローチヤートである。
FIG. 8 is a flowchart for explaining a procedure for determining a mounting order;

【図9】マウント順序を決定するアルゴリズムの説明に
供する平面図である。
FIG. 9 is a plan view for explaining an algorithm for determining a mounting order.

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

1……CAMシステム、2……CAD端末、3……基板
製造部、4……ワークステーシヨン、5……実装装置、
6……第1の実装部、7……第2の実装部、8……第3
の実装部、9……手マウント部、10……DIP部、1
8……部品供給テーブル、19……ヘツドユニツト、P
WB……配線基板、EC……電子部品、D……画面、P
1〜P10……マウント位置(ポイント)、C1〜C
3、CA……線分集合体(集合体)、M1〜M3……最
短経路。
1 ... CAM system, 2 ... CAD terminal, 3 ... board manufacturing unit, 4 ... work station, 5 ... mounting device,
6... First mounting section, 7... Second mounting section, 8.
Mounting part, 9 ... hand mounting part, 10 ... DIP part, 1
8: Parts supply table, 19: Head unit, P
WB: Wiring board, EC: Electronic component, D: Screen, P
1 to P10: Mount position (point), C1 to C
3, CA: line segment aggregate (aggregate), M1 to M3: shortest path.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】与えられた複数のポイントを通る経路のう
ち、最短の経路を検索する最短経路検索方法において、 上記複数のポイントごとに最も近いポイントとの間を接
続して上記ポイントからなる複数の集合体を生成する第
1のステツプと、 上記各集合体ごとに最も近い集合体との間で最も近いポ
イント同士を接続することにより、上記複数の集合体を
接続した単一の集合体を生成する第2のステツプと、 上記単一の集合体を生成する上記各ポイントごとに、当
該ポイントが他の2か所又は他の1か所のポイントと接
続されるように接続を組み換えながら最も短い経路を選
択し続けて、全ての上記ポイントを一本の最短経路とし
て接続する第3のステツプとを具えたことを特徴とする
最短経路検索方法。
1. A shortest path search method for searching for a shortest path among paths passing through a plurality of given points, the method comprising: connecting a point closest to each of the plurality of points to a plurality of points; By connecting the closest points between the first step of generating the aggregates of the above and the nearest aggregate for each of the above aggregates, a single aggregate connecting the plurality of aggregates is formed. A second step to generate, and for each of the points to generate the single aggregate, re-arranging the connection such that the point is connected to another two or one other point. A third step of continuously selecting a short path and connecting all the points as one shortest path.
【請求項2】第3のステツプでは、 他の3か所以上のポイントと接続されるポイントが他の
2か所又は他の1か所のポイントと接続されるように接
続を組み換えると共に、当該組み換えによつて接続され
たポイントを中心として新たに生成された経路が複数通
りある場合、最も短い経路を選択することを特徴とする
請求項1に記載の最短経路検索方法。
2. In a third step, the connection is rearranged so that a point connected to three or more other points is connected to another two or one other point. 2. The shortest route search method according to claim 1, wherein when there are a plurality of newly generated routes centered on the points connected by the recombination, the shortest route is selected.
【請求項3】第3のステツプでは、 上記組み換えによつて接続されたポイントと接続される
3か所以上のポイントのうち少なくとも1か所のポイン
トが終端のポイントとなるとき、上記組み換えの対象を
別のポイントに切り換えることを特徴とする請求項2に
記載の最短経路検索方法。
3. In the third step, when at least one of the three or more points connected to the point connected by the recombination is a terminal point, the recombination target is set. 3. The shortest path search method according to claim 2, wherein the point is switched to another point.
【請求項4】上記第3のステツプによつて設けられた上
記最短経路が複数ある場合、当該各最短経路のうち所定
の始点から最も近い最短経路の一端のポイントを検索し
た後、当該検索されたポイントを含む最短経路を基準と
して、上記各最短経路間で最も近い一端又は他端のポイ
ント同士を順次連なるように接続し続けることにより、
全ての上記最短経路を一本の最短経路として接続するこ
とを特徴とする請求項1に記載の最短経路検索方法。
4. When there are a plurality of the shortest paths provided by the third step, after searching for a point at one end of the shortest path closest to a predetermined starting point among the shortest paths, the search is performed. Based on the shortest path including the shortest path, by continuing to connect the points at the one end or the other end closest to each of the shortest paths in succession,
The shortest path search method according to claim 1, wherein all the shortest paths are connected as one shortest path.
JP9088856A 1997-03-24 1997-03-24 Shortest route retrieving method Pending JPH10268922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9088856A JPH10268922A (en) 1997-03-24 1997-03-24 Shortest route retrieving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9088856A JPH10268922A (en) 1997-03-24 1997-03-24 Shortest route retrieving method

Publications (1)

Publication Number Publication Date
JPH10268922A true JPH10268922A (en) 1998-10-09

Family

ID=13954637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9088856A Pending JPH10268922A (en) 1997-03-24 1997-03-24 Shortest route retrieving method

Country Status (1)

Country Link
JP (1) JPH10268922A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6996440B2 (en) 2000-08-04 2006-02-07 Matsushita Electric Industrial Co., Ltd. Method for optimization of an order of component mounting, apparatus using the same, and mounter
CN107064779A (en) * 2017-05-26 2017-08-18 深圳市赛伦北斗科技有限责任公司 A kind of circuit board detection method, apparatus and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6996440B2 (en) 2000-08-04 2006-02-07 Matsushita Electric Industrial Co., Ltd. Method for optimization of an order of component mounting, apparatus using the same, and mounter
CN107064779A (en) * 2017-05-26 2017-08-18 深圳市赛伦北斗科技有限责任公司 A kind of circuit board detection method, apparatus and system
CN107064779B (en) * 2017-05-26 2023-10-31 深圳市赛伦北斗科技有限责任公司 Circuit board testing method, device and system

Similar Documents

Publication Publication Date Title
WO1999039287A1 (en) Method and system for porting an integrated circuit layout from a reference process to a target process
US20050229138A1 (en) Automatic wiring method and apparatus for semiconductor package and automatic identifying method and apparatus for semiconductor package
US6550135B2 (en) Method of part mounting
JP2002050900A (en) Method and apparatus for optimizing mounting order of part and part mounter
JPH10268922A (en) Shortest route retrieving method
CN101185386A (en) Method for determining arrangement of production facility
JP2008277770A (en) Component mounting method
JP2005267302A (en) Wiring path determination method and system
JP3236312B2 (en) Component supply management method and component supply management device
JPH0722774A (en) Arranging method for component in mounting line
JPH1166122A (en) Analytic model generating method and storage medium where program thereof is stored
Nishioka et al. A minicomputerized automatic layout system for two-layer printed wiring boards
JP4891196B2 (en) Component mounting method
JPH1140990A (en) Method for deciding mounting sequence for component-mounting device
JP2002270992A (en) Wiring device
JP2593202B2 (en) Automatic wiring processing equipment for multilayer printed wiring board automatic design equipment
JPH0314181A (en) Automatic arrangement processing system for parts
JP2713969B2 (en) Automatic wiring pattern setting method
JPS635794B2 (en)
JPH04236670A (en) Data generating system for inspecting printed board
Kim et al. PCB assembly optimization of chip mounters for multiple feeder assignment
JPS6381891A (en) Printed wiring board and method of editing data for making pattern film of the board
JPH01305474A (en) Method for supporting wiring for unwired section
JPH11259540A (en) Wiring design device
Thiagarajan et al. Optimizing the cycle time of a multi-spindle pick-and-place machine