JPH0545967B2 - - Google Patents
Info
- Publication number
- JPH0545967B2 JPH0545967B2 JP6588784A JP6588784A JPH0545967B2 JP H0545967 B2 JPH0545967 B2 JP H0545967B2 JP 6588784 A JP6588784 A JP 6588784A JP 6588784 A JP6588784 A JP 6588784A JP H0545967 B2 JPH0545967 B2 JP H0545967B2
- Authority
- JP
- Japan
- Prior art keywords
- component
- parts
- mounting
- information
- interference
- 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 - Lifetime
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/42—Recording and playback systems, i.e. in which the program is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine
- G05B19/4202—Recording and playback systems, i.e. in which the program is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine preparation of the program medium using a drawing, a model
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/49—Nc machine tool, till multiple
- G05B2219/49157—Limitation, collision, interference, forbidden zones, avoid obstacles
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
Description
【発明の詳細な説明】
〔発明の利用分野〕
本発明は、例えば電子部品自動挿入機により電
子部品を自動挿入する際に必要である部品搭載用
数値制御データ作成方法に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a method for creating numerical control data for component mounting, which is necessary when, for example, an electronic component automatic insertion machine automatically inserts an electronic component.
従来、電子部品自動挿入機によつて電子部品を
自動挿入するための部品挿入用数値制御(NC)
データは、人手で作成されることが多い。計算機
によつて自動的に作成する場合でも、挿入時の自
動挿入機と既に挿入されている部品との機械干渉
をチエツクしている例は少ない。このとき、実際
に自動挿入機を用いて部品を次々と挿入させなが
ら干渉チエツクを行うために、そのチエツクや干
渉が発生した際のデータ修正に多くの手間を必要
としていた。また、計算機によつて干渉チエツク
を行なう場合でも、挿入順序を前もつて決めてお
き、その順序に部品を挿入したときの干渉をチエ
ツクする方式であるため、部品の自動挿入率(全
部品のうち自動挿入機で自動挿入ができる部品の
割合)が低下するのは、ある程度は止むを得ない
ものとされていた。
Conventionally, numerical control (NC) for component insertion is used to automatically insert electronic components using automatic electronic component insertion machines.
Data is often created manually. Even when parts are automatically created using a computer, there are few cases in which mechanical interference between the automatic insertion machine and the already inserted parts is checked during insertion. At this time, an automatic insertion machine is used to actually check for interference while inserting parts one after another, which requires a lot of effort to check and correct data when interference occurs. Furthermore, even when checking for interference using a computer, the insertion order is determined in advance and interference is checked when parts are inserted in that order. The decline in the percentage of parts that can be automatically inserted using automatic insertion machines was considered to be unavoidable to some extent.
本発明の目的は、上記した問題点を解決すべ
く、部品挿入NCデータの作成効率の向上、同デ
ータの高信頼性、および自動挿入率の向上を実現
することができる部品搭載用数値制御データ作成
方法を提供することにある。
In order to solve the above-mentioned problems, an object of the present invention is to provide numerical control data for component mounting that can improve the efficiency of creating component insertion NC data, increase the reliability of the same data, and improve the automatic insertion rate. The purpose is to provide a method for creating it.
本発明に係る部品搭載用数値制御データ作成方
法は、データの入出力装置、記憶装置および演算
装置を有する情報処理システムにおいて、部品自
動装着装置によつてプリント基板に自動搭載すべ
き部品について、各部品ごとにその搭載位置およ
び搭載方向を含む組立情報および各部品の形状寸
法を含む部品情報を上記記憶装置に記憶し、予め
記憶されている工程順序の情報に基づいて、該部
品の搭載順序を設定し、各部品を搭載するとき該
部品の搭載手段と該部品とのうちの少なくとも一
方と搭載済の他部品との機械干渉を上記組立情報
および部品情報に基づいてチエツクし、該チエツ
クの結果、機械干渉を生ずるとき、該機械干渉を
避けるため、上記設定された順序情報、上記搭載
手段および上記搭載すべき部品の向きのうちの少
なくとも一方を変更し、上記部品の自動搭載に係
る数値制御データを自動的に作成・出力するよう
にしたものである。
A method for creating numerical control data for component mounting according to the present invention is a method for creating numerical control data for component mounting, in which each component to be automatically mounted on a printed circuit board by an automatic component mounting device is used in an information processing system having a data input/output device, a storage device, and an arithmetic device. Assembly information including the mounting position and mounting direction of each part and component information including the shape and dimensions of each part are stored in the storage device, and the mounting order of the parts is determined based on the pre-stored process order information. When each component is mounted, mechanical interference between at least one of the component's mounting means and the component and other mounted components is checked based on the assembly information and component information, and the result of the check is When mechanical interference occurs, in order to avoid the mechanical interference, at least one of the set order information, the mounting means, and the orientation of the component to be mounted is changed, and numerical control is performed for automatic mounting of the component. It is designed to automatically create and output data.
なお、これを補足すると次の通りである。上記
につき、いわゆる電子部品自動挿入の場合につい
て具体的に示すと、
部品挿入時の自動挿入機の挿入ヘツドと、既に
挿入されている部品または同一機械で挿入される
他部品との機械干渉をチエツクして挿入作業先行
関係(例えば、部品iを挿入する場合、それ以前
に挿入した部品jが機械干渉するために部品iが
挿入できないとき、部品iは部品jに先だつて挿
入すべきであるという意味で、部品i→部品jと
いうように表現される部品間の挿入順序の関係)
を作成する。このようにして作成した挿入作業先
行関係から、どのような挿入順序をとつても挿入
できない挿入不可部品グループを求める。ここ
で、例えば、部品i→部品j、部品j→部品k、
部品k→部品iという挿入作業先行関係があると
き、部品i,j,kは挿入不可部品グループを構
成する。次いで、挿入不可部品グループに含まれ
る部品の一部の挿入工程変更や挿入方向変更を行
なつてみる。例えば、抵抗などのように極性のな
い部品の場合には、部品を反対向に挿入する。こ
のとき、自動挿入機の挿入ヘツドも180°回転する
から、機械干渉が回避できる可能性がある。それ
により、挿入不可部品グループのない最終的な作
業先行関係を作成し、この制約条件のもとに挿入
順序を決定するようにするものである。 In addition, the following is a supplement to this. Regarding the above, to specifically explain the case of so-called automatic insertion of electronic components, when inserting a component, check for mechanical interference between the insertion head of the automatic insertion machine and a component that has already been inserted or another component that is inserted by the same machine. Insertion work precedence relationship (for example, when inserting part i, if part i cannot be inserted because the previously inserted part j interferes with the machine, part i should be inserted before part j. In terms of meaning, the insertion order relationship between parts expressed as part i → part j)
Create. From the insertion work precedence relationship created in this way, a group of uninsertable parts that cannot be inserted in any insertion order is determined. Here, for example, part i → part j, part j → part k,
When there is an insertion work precedent relationship of part k→part i, parts i, j, and k constitute a non-insertable parts group. Next, try changing the insertion process and direction of some of the parts included in the non-insertable parts group. For example, if the component has no polarity, such as a resistor, insert the component in the opposite direction. At this time, the insertion head of the automatic insertion machine also rotates 180°, so there is a possibility that mechanical interference can be avoided. As a result, a final work precedence relationship is created without any non-insertable component groups, and the insertion order is determined based on this constraint.
これにより、部品挿入NCデータ作成の効率向
上、データの高信頼性及び自動挿入率向上を達成
しようとするものである。 This aims to improve the efficiency of creating part insertion NC data, improve data reliability, and improve automatic insertion rate.
以下、本発明の実施例を図に基づいて説明す
る。
Embodiments of the present invention will be described below based on the drawings.
第1図は、本発明に係る部品搭載用数値制御デ
ータ作成方法の一実施例に供される計算機システ
ムの構成図である。以下部品挿入に係る実施例に
より具体的に説明する。ここで、処理装置1は、
本方法を実行するため中心部で、各種演算を行な
うが、組立情報、部品情報等を格納(記憶)する
ための磁気デイスク装置2、組立情報を入力する
ためのフロツピイデイスク駆動装置3、部品情報
の登録や処理結果の表示及び修正を行なうための
デイスプレイ装置4、部品挿入NCデータを出力
する紙テープパンチヤ5、処理結果をプリントア
ウトするためのラインプリンタ6が接続されてい
る。本発明はこれらの出力された部品挿入NCデ
ータを作成する方法に関し、これにより機械干渉
を避けた部品挿入を可能にしようとするものであ
る。 FIG. 1 is a configuration diagram of a computer system used in an embodiment of the method for creating numerical control data for component mounting according to the present invention. A detailed description will be given below using an example related to component insertion. Here, the processing device 1 is
In order to execute this method, various calculations are performed in the central part, including a magnetic disk device 2 for storing (memory) assembly information, parts information, etc., a floppy disk drive device 3 for inputting assembly information, A display device 4 for registering component information and displaying and modifying processing results, a paper tape puncher 5 for outputting component insertion NC data, and a line printer 6 for printing out processing results are connected. The present invention relates to a method of creating these output component insertion NC data, and is intended to enable component insertion while avoiding mechanical interference.
まず、組立情報、部品情報について説明する。 First, assembly information and parts information will be explained.
組立情報は、第2図の説明図に示すとおり、個
個のプリント基板ごとに、1つの基板情報レコー
ドと、その基板で使用する部品数だけの部品レコ
ードとから構成される。各部品レコードは、電子
部品の部品名称、挿入位置、挿入方向等のデータ
項目を含み、通常、プリント基板設計システム
(CAD=Computer Aided Design)によつて作
成され、フロツピイデイスクを介して本システム
に入力される。ここで、挿入位置は、各部品種類
ごとに定められた基準点のプリント基板上での
X,Y座標を示したものである。また、挿入方向
は、各部品ごとに定められた基準方向から基準点
を中心に回転して挿入する場合に、その回転角度
を示したものである。部品レコードには、更にあ
とで使用するための挿入工程、挿入順序のデータ
項目をもつ。この2つのデータ項目は、CADに
より作成された時点では、値は定まつていない。 As shown in the explanatory diagram of FIG. 2, the assembly information is composed of one board information record for each printed board and as many parts records as the number of parts used in that board. Each component record includes data items such as the component name, insertion position, and insertion direction of the electronic component, and is usually created using a printed circuit board design system (CAD (Computer Aided Design)) and recorded via a floppy disk. entered into the system. Here, the insertion position indicates the X and Y coordinates on the printed circuit board of a reference point determined for each component type. Further, the insertion direction indicates the rotation angle when rotating and inserting the component from a reference direction determined for each component around a reference point. The parts record also has data items for the insertion process and insertion order for later use. These two data items do not have fixed values at the time they are created by CAD.
このような電子部品としてはチツプ部品、IC
部品、抵抗、ダイオード等の同軸部品、縦型部品
(コンデンサ、トランジスタ等)などがある。 Such electronic components include chip components, IC
There are parts, resistors, coaxial parts such as diodes, vertical parts (capacitors, transistors, etc.), etc.
部品情報は、第3図の説明図に示すとおり、シ
ステムが取り扱う全部品に関し、部品名称、挿入
工程区分、部品寸法、及び極性の有無を記憶した
ものである。ここで挿入工程区分とは、その部品
の種類によつて、どの工程で挿入可能かを示した
ものであり、例えばIC部品であればIC部品挿入
機、同軸部品であれば同軸部品挿入機といつたよ
うに一般に部品装着に使用する機械を示す。 As shown in the explanatory diagram of FIG. 3, the component information stores component names, insertion process classifications, component dimensions, and presence or absence of polarity for all components handled by the system. Here, the insertion process classification indicates which process the part can be inserted in depending on the type of the part.For example, if it is an IC part, it is used with an IC part insertion machine, and if it is a coaxial part, it is used with a coaxial part insertion machine. As shown in Figure 3, it shows a machine that is generally used for mounting parts.
上記のデータは、それぞれ、磁気デイスク装置
2の中の組立情報フアイル、部品情報フアイルに
格納されている。 The above data is stored in an assembly information file and a parts information file in the magnetic disk device 2, respectively.
本発明の部品挿入NCデータ作成方法は、上述
の構成のもとに、次の手順で挿入工程、挿入順序
を決定するものである。 The component insertion NC data creation method of the present invention is based on the above-described configuration and determines the insertion process and insertion order in the following steps.
すなわち、本方法は、第4図の概略手順の説明
図に示す如く、(1)挿入工程仮決定、(2)挿入作業先
行関係決定(干渉チエツク)、(3)挿入工程変更及
び挿入方向変更、(4)挿入順序決定、(5)部品挿入
NCデータ作成、の5段階から構成される。 That is, as shown in the schematic explanatory diagram of the procedure in FIG. 4, this method includes (1) provisional determination of insertion process, (2) determination of insertion work precedence relationship (interference check), and (3) change of insertion process and insertion direction. , (4) Insertion order determination, (5) Parts insertion
It consists of five steps: NC data creation.
以下、項を追つて、その機能を説明する。 The functions will be explained step by step below.
(1) 挿入工程仮決定
組立情報中の各部品レコードの部品名称をキー
として部品情報フアイルを検索し、その部品の挿
入工程区分によつて挿入工程を仮決定し、組立情
報中の部品レコードの挿入工程データ項目に挿入
工程区分を書込む。ここで決定された挿入工程
は、(3)の挿入工程変更によつて、修正される可能
性がある。(1) Temporary determination of insertion process Search the parts information file using the part name of each part record in the assembly information as a key, tentatively determine the insertion process based on the insertion process classification of the part, and determine the insertion process of the part record in the assembly information. Write the insertion process classification to the insertion process data item. The insertion process determined here may be modified by changing the insertion process in (3).
(2) 挿入作業先行関係決定(干渉チエツク)
干渉とは、先に述べたように、部品の自動挿入
をする際に、挿入機の挿入ヘツドと、既に挿入さ
れている挿入済部品との機械干渉を意味する。ま
た、挿入作業先行関係とは、二つの部品i,jの
挿入順序に関する条件でであり、挿入作業先行関
係(部品i→部品j)は部品jを部品iよりも先
行して挿入すると、部品iの挿入時に部品jと干
渉するため、部品iを部品jに先行して挿入すべ
きであることを示している。(2) Determining the precedence relationship of insertion work (interference check) As mentioned earlier, interference refers to interference between the insertion head of the insertion machine and the inserted parts that have already been inserted when automatically inserting parts. means interference. In addition, the insertion work precedence relationship is a condition regarding the insertion order of two parts i and j, and the insertion work precedence relationship (part i → part j) means that if part j is inserted before part i, the parts This indicates that component i should be inserted before component j because it interferes with component j when inserting component i.
干渉チエツクの方法は、いくつかあるが、その
1つとして、簡便な以下の方法について説明す
る。この干渉チエツクの基本的な考え方は、ある
部品を挿入する際に自動挿入機の挿入ヘツドが必
要とする領域(挿入作業スペース)と部品が存在
する領域(部品領域)とを簡単な形状の平面図形
(例えば、矩形、円)で求めておき、これらの図
形の重なりをチエツクすることによつて干渉チエ
ツクを行なうものである。ここで、上記部品領域
の平面図形はプリント基板に搭載する際の部品の
俯瞰(断面)形状であり、一般にチツプ部品、
IC部品、同軸部品などは矩形状であり、縦型部
品などは円形状のものがある。 There are several interference checking methods, one of which is a simple method that will be described below. The basic idea behind this interference check is that when inserting a certain part, the area required by the insertion head of an automatic insertion machine (insertion work space) and the area where the part exists (part area) are separated into a plane of simple shape. The interference is checked by determining the interference using figures (for example, rectangles and circles) and checking the overlap of these figures. Here, the plane figure of the above component area is the bird's-eye view (cross-sectional) shape of the component when mounted on a printed circuit board, and is generally a chip component,
IC parts, coaxial parts, etc. are rectangular, and vertical parts etc. are circular.
第5図は、本方法における挿入時の干渉チエツ
クの説明図である。挿入ヘツドPによつて部品m
を基板Q上に挿入する場合、第5図aに示すよう
に、挿入時の挿入ヘツドの位置はP′となる。この
場合、既に挿入されている部品k,lがあると
き、部品lは挿入ヘツドP,P′と干渉する。第5
図bに示すように、平面上に、部品mの部品領域
M、部品kの部品領域K、部品lの部品領域L、
及び部品mの挿入作業スペースNとして表現し、
干渉チエツクは、これらの図形K〜Nの重なり状
態をチエツクすることによつて行なう。ここで、
部品mの挿入作業スペースNと部品lの部品領域
Lとが重なつていることから挿入作業先行関係
(部品m→部品l)が求まる。第5図からわかる
ように挿入作業スペースNは、その周辺に位置す
る部品の高さにより、その大きさを変化させる必
要がある。そのため、まず周辺に位置する部品
が、すべての部品のうちで最大の高さをもつとし
て挿入作業スペースを求め、これを用いて重なり
状態をチエツクし、重なり合う部品がある場合
は、その部品の高さに従つて挿入作業スペースを
小さく修正し、再度重なりをチエツクするという
方法をとることができる。 FIG. 5 is an explanatory diagram of an interference check during insertion in this method. Part m by insertion head P
When inserting into the substrate Q, the position of the insertion head at the time of insertion is P', as shown in FIG. 5a. In this case, when parts k and l have already been inserted, part l interferes with the insertion heads P and P'. Fifth
As shown in Figure b, on a plane, a component area M of a component m, a component area K of a component k, a component area L of a component l,
and the insertion work space N of part m,
The interference check is performed by checking the overlapping state of these figures K to N. here,
Since the insertion work space N of part m overlaps with the part area L of part l, the insertion work precedence relationship (part m→part l) can be determined. As can be seen from FIG. 5, the size of the insertion work space N needs to be changed depending on the height of the parts located around it. Therefore, first find the insertion work space assuming that the surrounding parts have the greatest height among all the parts, use this to check the overlapping condition, and if there are overlapping parts, the height of the parts is It is possible to correct the insertion work space to a smaller size accordingly and check the overlap again.
以上、干渉チエツクとして、挿入作業スペー
ス、部品領域の矩形、円等の簡単な平面図形で表
わし、それらの図形の重なり状態によつて干渉を
調べる方法を述べたが、挿入作業スペース、部品
領域をそれぞれ矩形、円等の組み合わせとして表
現する方法や、さらに直方体、円柱等の三次元立
体及びその組み合わせとして表現し、その重なり
状態によつて干渉を調べることもできる。 Above, we have described a method for interference checking in which the insertion work space and component area are represented by simple plane figures such as rectangles and circles, and interference is investigated by the overlapping state of these figures. It is also possible to express each object as a combination of rectangles, circles, etc., or to express it as a three-dimensional object such as a rectangular parallelepiped, cylinder, etc., and a combination thereof, and to investigate interference based on the overlapping state of the objects.
なお、部品領域が矩形または円の場合につい
て、その図形重なりチエツクのアルゴリズムの一
実施例について説明する。 An example of an algorithm for checking figure overlap will be described in the case where the component area is a rectangle or a circle.
まず、図形が矩形同士の場合には、一方の矩形
を基準とし、その左下点(左下の頂点)で交差す
る両辺によつて定まる直角領域(同矩形を含むも
の)および同右上点(右上の頂点)で交差する両
辺によつて定まる直角領域(同矩形を含むもの)
いずれの中にも、他の矩形が存在すれば、両矩形
は互に重なり合うものとする。 First, if the figures are rectangles, one rectangle is used as a reference, and the right-angled area (including the same rectangle) is defined by both sides that intersect at the lower left point (lower left vertex) and the upper right point (upper right vertex). a right-angled area defined by both sides that intersect at a vertex) (including the same rectangle)
If there is another rectangle in either of them, the two rectangles will overlap each other.
また、図形が矩形と円の場合には、矩形の周囲
に円の半径に相当する幅の領域を設定し、この領
域内と同矩形内に円の中心が存在するときは、そ
の矩形と円とは互に重なり合うものとする。 In addition, if the shapes are a rectangle and a circle, set an area around the rectangle with a width equivalent to the radius of the circle, and if the center of the circle is within this area and within the same rectangle, the rectangle and the circle shall overlap with each other.
さらに、図形が円同士の場合には、各円の中心
間の距離が両円の半径の和以下であるときは、そ
れらの円は互に重なり合うものとする。 Further, in the case where the figures are circles, if the distance between the centers of each circle is less than or equal to the sum of the radii of both circles, the circles are assumed to overlap each other.
次に、第6図は、本方法における挿入作業先行
関係決定(干渉チエツク)処理のフローチヤート
である。以下に各ステツプでの処理内容を説明す
る。 Next, FIG. 6 is a flowchart of the insertion work precedent relationship determination (interference check) process in this method. The processing contents at each step will be explained below.
(step1)
部品情報中の部品寸法データを用い、組立情報
中の全挿入部品に関して部品領域を求める。(Step 1) Using the component dimension data in the component information, find the component area for all inserted components in the assembly information.
(step2)
挿入作業先行関係決定は、工程ごとに順番に行
なうが、その対象となる工程(対象工程)を前も
つて指定された工程順序から決定する。すべての
工程について挿入作業先行関係の決定を終了した
場合は、全処理を終了する。(Step 2) The insertion work precedence relationship determination is performed for each process in order, and the target process (target process) is determined from the previously specified process order. When the insertion work precedence relationships have been determined for all processes, the entire process ends.
(step3)
すべての挿入部品の中から、組立情報中の部品
レコードの挿入工程データ項目の内容に従つて、
対象工程で挿入する部品(対象工程挿入部品)
と、対象工程よりも前の工程で挿入される部品
(挿入済部品)とを選び出す。(Step 3) From all inserted parts, according to the contents of the insertion process data item of the parts record in the assembly information,
Parts inserted in the target process (target process insertion parts)
and parts inserted in a process before the target process (inserted parts).
(step4)
すべての対象工程挿入部品に対して、その挿入
作業スペースを求める。(Step 4) Find the insertion work space for all target process insertion parts.
(step5)
対象工程挿入部品の中から1部品を選択する。
すべての部品を選択した場合はstep2に戻る。(Step 5) Select one part from the parts to be inserted in the target process.
If all parts are selected, return to step 2.
(step6)
選択した部品の挿入作業スペースと、挿入済部
品及び選択した部品以外のすべての対象工程挿入
部品の部品領域との重なりチエツクを行なう。こ
こで、基板サイズを越える範囲、基板ホルダや基
板ローダで使用される範囲も挿入制限領域として
挿入済部品の部品領域と同等に扱う。(Step 6) Check the overlap between the insertion work space of the selected part and the part area of all target process insertion parts other than the inserted part and the selected part. Here, the range exceeding the board size and the range used by the board holder and board loader are also treated as insertion restriction areas, equivalent to the component areas of inserted components.
(step7)
step6の結果から挿入作業先行関係を求め、磁
気デイスク上の挿入作業先行関係フアイルに登録
したのち、step5に戻る。(Step 7) After finding the insertion work precedence relationship from the result of step 6 and registering it in the insertion work precedence relationship file on the magnetic disk, return to step 5.
(3) 挿入工程変更及び挿入方向変更
(2)で作成した挿入作業先行関係から、挿入順序
を変えても相互に干渉してしまう部品(挿入不可
部品グループ)を求め、これをデイスプレイに表
示し、例えば設計者により、挿入工程及び挿入方
向の変更を行なう。この処理も各工程ごとに行な
うが、挿入不可部品グループは次の2つの場合に
生じる。(3) From the insertion work precedence relationship created in (2), find parts that will interfere with each other even if the insertion order is changed (non-insertable parts group), and display this on the display. For example, the insertion process and insertion direction are changed by the designer. Although this process is also performed for each process, a group of parts that cannot be inserted occurs in the following two cases.
(i) 部品i→部品jという挿入作業先行関係があ
り、部品jの挿入工程が部品iの挿入工程より
前の場合。(i) When there is an insertion work precedence relationship of part i → part j, and the insertion process of part j is before the insertion process of part i.
(ii) 同一工程で挿入する部品であつても、例え
ば、部品i→部品jかつ部品j→部品iという
挿入作業先行関係がある場合。3部品以上で
も、部品k→部品l、部品l→部品m、部品m
→部品kという挿入作業先行関係がある場合。(ii) Even if the parts are inserted in the same process, there is a preceding insertion work relationship such as, for example, part i → part j and part j → part i. Even if there are 3 or more parts, part k → part l, part l → part m, part m
→If there is a preceding insertion operation called part k.
このような場合の対策方法としては、 ○イ 挿入工程を変更する方法 ○ロ 挿入方向を変更する方法 がある。 As a countermeasure in such a case, ○B How to change the insertion process ○B How to change the insertion direction There is.
挿入工程を変更した場合、例えば、部品i→部
品jという挿入作業先行関係があり、部品jの挿
入工程が部品iの挿入工程よりも前のとき、部品
jの挿入工程を部品iの挿入工程の後に変更すれ
ば、この挿入作業先行関係を満足する挿入順序が
存在する。また、例えば、部品iの挿入工程を手
動組立工程に変更すれば、挿入作業スペースが小
さくてすむので、部品i→部品jという挿入作業
先行関係がなくなる場合もある。 When changing the insertion process, for example, if there is an insertion work precedence relationship of part i → part j, and the insertion process of part j is before the insertion process of part i, the insertion process of part j is changed to the insertion process of part i. If it is changed after , there is an insertion order that satisfies this insertion work precedence relationship. Furthermore, for example, if the insertion process of part i is changed to a manual assembly process, the insertion work space can be reduced, so that the insertion work precedence relationship of part i → part j may disappear.
挿入方向を変更した場合、例えば、部品p→部
品qという挿入作業先行関係があるとき、部品p
に極性がなければ、部品pの挿入方向を挿入ヘツ
ドごと180°回転させて挿入することも可能であ
る。また第5図bに示すように部品Mは一般に挿
入ヘツドの上で片側のヘリ(Nのヘリ)に併せて
把持されるため、極性がある場合でも挿入ヘツド
上で部品を180°回転しておけば同様にして極性を
正しく挿入することができる。よつて部品pの挿
入作業スペースが変化するため、部品p→部品q
という挿入作業先行関係がなくなる場合もある。 When the insertion direction is changed, for example, when there is a preceding insertion work relationship of part p → part q, part p
If there is no polarity, it is also possible to rotate the insertion direction of the component p by 180 degrees with the insertion head. Furthermore, as shown in Figure 5b, the part M is generally held on the insertion head along one edge (the N edge), so even if there is polarity, the part cannot be rotated 180° on the insertion head. If you do this, you can insert the correct polarity in the same way. Therefore, the insertion work space for part p changes, so part p→part q
There are cases where the insertion work precedence relationship disappears.
いずれの方法を採用しても、全体の挿入作業先
行関係は変化するため、(2)の挿入作業先行関係決
定(干渉チエツク)の段階を再度実行させる必要
がある。 Regardless of which method is adopted, the overall insertion work precedence relationship changes, so it is necessary to re-execute the step (2) of determining the insertion work precedence relationship (interference check).
同一工程で挿入する部品で、(2)で作成した挿入
作業先行関係から、どのような順序で挿入しても
干渉が発生する挿入不可部品グループを求める方
法の1つとして、以下にグラフ理論を応用した解
法を示す。 One way to find a group of parts that cannot be inserted in the same process and which will cause interference no matter what order they are inserted from the insertion work precedence relationship created in (2) is as follows using graph theory. The applied solution method is shown.
本解法では、各挿入作業(挿入部品)を頂点、
挿入作業先行関係を辺(矢印の方向)として挿入
作業先行関係を有向グラフで表現する。第7図
は、本方法における挿入作業先行関係の有向グラ
フであつて、そのaは、一例として9種類の部品
11〜部品19に関して図中に示した挿入作業先
行関係がある場合のものである。このグラフ上で
強連結部分、すなわち互いに辺に従つて到達でき
る頂点の集合を求めると、これが1組の挿入不可
部品グループとなる。例えば、部品12、部品1
3、部品14は、1つの挿入不可部品グループで
あり、この3つの部品は、これらの挿入作業先行
関係を満足する挿入順序を持たない。同様のこと
が、部品18、部品19の組についてもいえる。
このような挿入不可部品グループは、公知のグラ
フ理論を用いて容易に求めることができる。 In this solution method, each insertion operation (inserted part) is
Express the insertion work precedence relationship in a directed graph with the insertion work precedence relationship as an edge (in the direction of the arrow). FIG. 7 is a directed graph of the insertion work precedence relationship in this method, and a is a graph in which, as an example, there is the insertion work precedence relationship shown in the figure for nine types of parts 11 to 19. If we find a strongly connected part on this graph, that is, a set of vertices that can be reached by following the edges, this becomes a set of non-insertable parts groups. For example, part 12, part 1
3. The component 14 is one non-insertable component group, and these three components do not have an insertion order that satisfies the insertion work precedence relationship. The same thing can be said about the set of parts 18 and 19.
Such non-insertable component groups can be easily determined using known graph theory.
以上のように挿入工程、挿入方向の変更を行な
うことによつて、すべての挿入不可部品グループ
を除外し、最終的な挿入作業先行関係を作成する
ことができる。例えば、第7図aで、部品12の
挿入工程を後の挿入工程に変更し、かつ、部品1
9の挿入方向を変更すると、部品11→部品1
2、部品12→部品13、部品14→部品12、
部品19→部品18の挿入作業先行関係がなくな
るため、第7図bに示すように、少なくとも1つ
の挿入順序が存在する最終的な挿入作業先行関係
の有向グラフを作成することができる。 By changing the insertion process and insertion direction as described above, it is possible to exclude all non-insertable component groups and create a final insertion work precedence relationship. For example, in FIG. 7a, the insertion process of component 12 is changed to a later insertion process, and
If you change the insertion direction of 9, part 11 → part 1
2. Part 12 → Part 13, Part 14 → Part 12,
Since the insertion work precedence relationship of component 19→component 18 is eliminated, it is possible to create a final directed graph of the insertion work precedence relationship in which there is at least one insertion order, as shown in FIG. 7b.
以上、挿入工程変更、挿入方向変更を一例とし
て対話形により設計者の判断に基づいて行なう方
法について述べたが、この設計者の判断を第2図
の組立情報、第3図の部品情報に基づいて自動的
に行ない、挿入不可部品(グループ)について、
次々と挿入工程、挿入方向の変更と挿入作業先行
関係決定とを繰り返して行なうことによつて、挿
入不可部品グループのない挿入作業先行関係を求
めることもできる。 Above, we have described a method in which the insertion process and insertion direction are changed based on the designer's judgment in an interactive manner as an example, but this designer's judgment is based on the assembly information shown in Figure 2 and the parts information shown in Figure 3. For parts (groups) that cannot be inserted,
By repeating the insertion process, changing the insertion direction, and determining the insertion work precedence relationship one after another, it is also possible to obtain the insertion work precedence relationship without any non-insertable component groups.
(4) 挿入順序の決定
(3)で最終的な挿入作業先行関係が決まると、こ
れらの制約条件を満足して対象工程挿入部品を挿
入することができる順序が必ず存在する。挿入順
序決定段階では、これらの挿入順序のうちから最
適なものを求める。例えば、挿入時の挿入ヘツド
の移動距離(挿入機のXYテーブルの移動距離)
の総和を最小にする挿入順序を考えるなどの方法
があり、既知の巡回セールスマン問題により解く
ことができる。(4) Determination of insertion order Once the final insertion work precedence relationship is determined in (3), there is always an order in which the target process insertion parts can be inserted while satisfying these constraints. In the insertion order determination step, the optimal insertion order is determined from among these insertion orders. For example, the moving distance of the insertion head during insertion (the moving distance of the XY table of the insertion machine)
There are methods such as considering the insertion order that minimizes the sum of , and it can be solved using the known traveling salesman problem.
(5) 部品挿入NCデータ作成
(3)で挿入工程、(4)で挿入順序が決定されたの
で、これに従つて各挿入機ごとに部品挿入NCデ
ータを作成できる。これは公知技術により可能な
ものである。(5) Creation of component insertion NC data Since the insertion process has been determined in (3) and the insertion order has been determined in (4), component insertion NC data can be created for each insertion machine according to this. This is possible using known technology.
以上、述べたように、本発明によれば、部品自
動搭載時の機械干渉を考慮して部品搭載用数値制
御データの自動生成をすることができるため、デ
ータ作成の手間を削減できるとともに、実際の機
械を用いてのデータチエツクが不要となり、また
挿入作業先行関係を考慮して挿入工程、挿入順序
等を決定するので、自動挿入率の向上ができるこ
となど、その効果は顕著である。
As described above, according to the present invention, it is possible to automatically generate numerical control data for component mounting in consideration of machine interference during automatic component mounting. This method eliminates the need to check data using a machine, and since the insertion process, insertion order, etc. are determined by taking into account the preceding relationship of insertion operations, the automatic insertion rate can be improved, and other effects are remarkable.
第1図は、本発明に係る部品挿入用数値制御デ
ータ作成方法の一実施例に供される計算機システ
ムの構成図、第2図は、その組立情報の説明図、
第3図は、同部品情報の説明図、第4図は、同概
略手順の説明図、第5図は、本方法における挿入
時の干渉チエツクの説明図、第6図は、同じく挿
入作業先行関係決定(干渉チエツク)処理のフロ
ーチヤート、第7図は、同じく挿入作業先行関係
の有向グラフである。
1……処理装置、2……磁気デイスク装置、3
……フロツピイデイスク駆動装置、4……デイス
プレイ装置、5……紙テープパンチヤ、6……ラ
インプリンタ。
FIG. 1 is a configuration diagram of a computer system used in an embodiment of the method for creating numerical control data for parts insertion according to the present invention, and FIG. 2 is an explanatory diagram of its assembly information.
Fig. 3 is an explanatory diagram of the same component information, Fig. 4 is an explanatory diagram of the same general procedure, Fig. 5 is an explanatory diagram of the interference check at the time of insertion in this method, and Fig. 6 is also an explanatory diagram of the insertion work preceding the same. The flowchart of the relationship determination (interference check) process in FIG. 7 is also a directed graph of the insertion work precedence relationship. 1...processing device, 2...magnetic disk device, 3
... Floppy disk drive device, 4 ... Display device, 5 ... Paper tape puncher, 6 ... Line printer.
Claims (1)
装置を有する情報処理システムにおいて、部品自
動装着装置によつてプリント基板に自動搭載すべ
き部品について各部品ごとにその搭載位置および
搭載方向を含む組立情報および各部品の形状寸法
を含む部品情報を上記記憶装置に記憶し、予め記
憶されている工程順序情報に基いて、該部品の搭
載順序情報を設定し、各部品を搭載するとき該部
品の搭載手段と該部品とのうちの少なくとも一方
と搭載済の他部品との機械干渉を上記組立情報に
および部品情報に基いてチエツクし、該チエツク
の結果、機械干渉を生ずるとき、該機械干渉を避
けるため、上記設定された順序情報、上記搭載手
段および上記搭載すべき部品の向きのうちの少な
くとも一方を変更し、上記部品の自動搭載に係る
数値制御データを自動的に作成、出力することを
特徴とする部品搭載用数値制御データ作成方法。1. In an information processing system having a data input/output device, a storage device, and an arithmetic unit, assembly information including the mounting position and mounting direction of each component for parts to be automatically mounted on a printed circuit board by an automatic component mounting device, and Component information including the shape and dimensions of each component is stored in the storage device, mounting order information of the component is set based on pre-stored process order information, and when mounting each component, a mounting means for the component is stored. Check for mechanical interference between at least one of the parts and other mounted parts based on the assembly information and the parts information, and if mechanical interference occurs as a result of the check, to avoid the mechanical interference. , changing at least one of the set order information, the mounting means, and the orientation of the component to be mounted, and automatically creating and outputting numerical control data related to automatic mounting of the component. How to create numerical control data for mounting parts.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6588784A JPS60209807A (en) | 1984-04-04 | 1984-04-04 | Generating method of numerical control data for parts insertion |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6588784A JPS60209807A (en) | 1984-04-04 | 1984-04-04 | Generating method of numerical control data for parts insertion |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60209807A JPS60209807A (en) | 1985-10-22 |
| JPH0545967B2 true JPH0545967B2 (en) | 1993-07-12 |
Family
ID=13299930
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6588784A Granted JPS60209807A (en) | 1984-04-04 | 1984-04-04 | Generating method of numerical control data for parts insertion |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60209807A (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6329807A (en) * | 1986-07-23 | 1988-02-08 | Hitachi Ltd | How to create NC data for insertion machine |
| JPH0833764B2 (en) * | 1987-02-19 | 1996-03-29 | 横河電機株式会社 | NC mounting machine mounting route determination method |
| JPH03100807A (en) * | 1989-09-14 | 1991-04-25 | Hitachi Ltd | Interactive mounting machine NC data creation device |
| JP2619540B2 (en) * | 1989-11-07 | 1997-06-11 | 富士通株式会社 | Processing method for determining the mounting order of parts in an automatic assembly machine |
-
1984
- 1984-04-04 JP JP6588784A patent/JPS60209807A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60209807A (en) | 1985-10-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR900004251B1 (en) | Numerical control apparatus | |
| WO1995022088A1 (en) | Waterjet cutting tool interface software | |
| JPH0630010B2 (en) | Electronic component insertion order determination method | |
| JPH0545967B2 (en) | ||
| US6496968B1 (en) | Hierarchical wiring method for a semiconductor integrated circuit | |
| US20080109773A1 (en) | Analyzing Impedance Discontinuities In A Printed Circuit Board | |
| JP3357463B2 (en) | Parts data management processor | |
| US7530038B2 (en) | Method and placement tool for designing the layout of an electronic circuit | |
| JP2531084B2 (en) | Parts gap check device | |
| JP3151877B2 (en) | Component mounting method and device | |
| JPH056412A (en) | Interactive wiring system | |
| JPH01100605A (en) | NC data creation method for surface-mounted mixed board | |
| JP3716747B2 (en) | Connection pin number correspondence data generation system | |
| EP0654745A2 (en) | Graphical display system for routing and repartitioning circuits during layout | |
| JPS6329807A (en) | How to create NC data for insertion machine | |
| JPH0728868A (en) | Data generation method | |
| JP3418206B2 (en) | Mounting machine control method | |
| Sahara et al. | An interactive layout system of analog printed wiring boards | |
| JPH04178880A (en) | Arrangement information checking system | |
| JPH0470970A (en) | Partial drawing preparing method | |
| JPH01228756A (en) | How to generate cut-out data for automatic part program creation | |
| JP2657323B2 (en) | Printed circuit board assembly drawing making equipment | |
| JPS59214986A (en) | Pattern processing method | |
| JPH01315876A (en) | Parts height checking method | |
| JPH04370886A (en) | Drawing view dividing system for cad system |