JP2002007999A - Optimizing method with usage of genetic algorithm - Google Patents

Optimizing method with usage of genetic algorithm

Info

Publication number
JP2002007999A
JP2002007999A JP2000182696A JP2000182696A JP2002007999A JP 2002007999 A JP2002007999 A JP 2002007999A JP 2000182696 A JP2000182696 A JP 2000182696A JP 2000182696 A JP2000182696 A JP 2000182696A JP 2002007999 A JP2002007999 A JP 2002007999A
Authority
JP
Japan
Prior art keywords
mounting
optimization
genetic algorithm
order
optimization problem
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
JP2000182696A
Other languages
Japanese (ja)
Inventor
Takeshi Hashimoto
健 橋本
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.)
Murata Manufacturing Co Ltd
Original Assignee
Murata Manufacturing Co 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 Murata Manufacturing Co Ltd filed Critical Murata Manufacturing Co Ltd
Priority to JP2000182696A priority Critical patent/JP2002007999A/en
Publication of JP2002007999A publication Critical patent/JP2002007999A/en
Pending legal-status Critical Current

Links

Landscapes

  • Supply And Installment Of Electrical Components (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an optimizing method capable of obtaining a solution with sufficient accuracy without falling into a local solution and not requiring time or skill. SOLUTION: In this optimizing method with the usage of genetic algorithm, a quasi-optimizing problem obtained by simplifying a secondary parameter optimizing problem as an object to be optimized according to a prescribed rule is optimized by the genetic algorithm, and the obtained solution is included in an initial group. Then, the secondary parameter optimizing problem is optimized by the genetic algorithm. Thus, optimization in two steps can be performed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、電子部品の実装作
業などを最適化するために用いられる遺伝的アルゴリズ
ムを用いた最適化方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optimization method using a genetic algorithm used for optimizing a mounting operation of an electronic component.

【0002】[0002]

【従来の技術】モジュール製品の製造工程のひとつであ
る部品実装工程においては、基板への部品実装順や部品
供給用フィーダの配置といった実装機の作業計画がタク
トタイムに大きく影響する。そのため、種々の自動化プ
ログラムを用いて作業計画を作成しているが、条件数が
多くすべてを考慮できないため、最適値への収束が十分
でない。また、自動化プログラムの修正も行なわれてい
るが、熟練者にしかできない作業であり、また多大の時
間がかかる。作業計画を総当たりで求めた場合、例えば
実装点数621点,部品の種類109種類の製品では、
約10467 年もの計算時間が必要(Pentium II300MHz)
であり、この方法は現実的でない。
2. Description of the Related Art In a component mounting process, which is one of the manufacturing processes of a module product, a work plan of a mounting machine, such as a component mounting order on a board and an arrangement of a component supply feeder, greatly affects a tact time. For this reason, work plans are created using various automation programs, but the number of conditions is so large that all of them cannot be taken into consideration, and converge to an optimum value is not sufficient. In addition, although the automation program is modified, it is an operation that can be performed only by a skilled person, and takes a lot of time. When the work plan is obtained by brute force, for example, for a product having 621 mounting points and 109 kinds of parts,
Approximately 10 467 years of calculation time required (Pentium II 300MHz)
And this method is not practical.

【0003】[0003]

【発明が解決しようとする課題】特開平10−2096
81号公報には、電子部品の実装最適化方法として、遺
伝的アルゴリズム(以下、GAと呼ぶ)を用いたものが
提案されている。GAは、生物の進化を模倣した最適化
アルゴリズムであり、最適化対象を、数字(遺伝子)の
列(染色体)を有する個体で表現する。複数の個体で構
成される集団に対し、淘汰・交叉・突然変異といった遺
伝的操作を繰り返し行うことで、最適化が実現される。
GAは、アルゴリズムのシンプルさに対し、最適化の効
果が大きいという利点がある。
SUMMARY OF THE INVENTION Japanese Patent Application Laid-Open No. Hei 10-2096
No. 81 proposes a method using a genetic algorithm (hereinafter, referred to as GA) as an electronic component mounting optimization method. GA is an optimization algorithm that simulates the evolution of living things, and expresses an optimization target by an individual having a sequence of numbers (genes) (chromosomes). Optimization is realized by repeatedly performing a genetic operation such as selection, crossover, and mutation on a group composed of a plurality of individuals.
GA has an advantage that the effect of optimization is large with respect to the simplicity of the algorithm.

【0004】図8にGAの一般的な流れを示す。 評価:個体の優秀さ(最適値への近さ)を求める 淘汰:優秀な個体を多く次世代に残し、最適値から遠い
個体を消滅させる操作 交叉:2個体(親)間での遺伝子入れ替え操作 突然変異:1個体内で行う遺伝子の置き換え操作 淘汰により優秀な個体の周辺を重点的に探索し、交叉,
突然変異により解の探索範囲を広げる。これらが相乗的
に働くことで、広い解探索を効率的に行うことができ
る。
FIG. 8 shows a general flow of GA. Evaluation: Finding the excellence of individuals (closeness to the optimal value) Selection: Remaining many excellent individuals in the next generation and extinguishing individuals far from the optimal value Crossover: Gene replacement operation between two individuals (parent) Mutation: A gene replacement operation performed in an individual.
The search range of the solution is expanded by mutation. When these work synergistically, a wide solution search can be efficiently performed.

【0005】ところが、実装作業のように、「フィーダ
の配置」や「基板への実装順」といった複数の変数が組
み合わせられ、しかもそれらの変数が相互に影響しあう
場合には、1つの遺伝的アルゴリズムで直接解こうとし
ても、局所解に陥りやすく、十分な精度の解が得られな
いという問題がある。また、世代数(計算回数)を増や
してGAを計算したり、どのような処理が効果的かを試
行錯誤的に求める必要があり、時間と熟練を要するとい
う問題があった。
However, when a plurality of variables such as “feeder arrangement” and “mounting order on a board” are combined as in a mounting operation, and these variables influence each other, one genetic Even if an attempt is made to solve directly with an algorithm, there is a problem that a solution tends to fall into a local solution, and a solution with sufficient accuracy cannot be obtained. In addition, it is necessary to calculate the GA by increasing the number of generations (the number of calculations), or to determine what processing is effective by trial and error, and there is a problem that time and skill are required.

【0006】そこで、本発明の目的は、局所解に陥らず
に十分な精度の解が得られ、かつ時間と熟練を必要とし
ない遺伝的アルゴリズムを用いた最適化方法を提供する
ことにある。
An object of the present invention is to provide an optimization method using a genetic algorithm that can obtain a solution with sufficient accuracy without falling into a local solution and does not require time and skill.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するた
め、請求項1に記載の発明は、遺伝的アルゴリズムを用
いた最適化方法において、相互に影響し合う2変数を持
つ最適化対象となる2変数最適化問題を、所定のルール
に従って簡略化した準最適化問題を得る工程と、準最適
化問題を遺伝的アルゴリズムで最適化する工程と、得ら
れた解を初期集団に含めて2変数最適化問題を遺伝的ア
ルゴリズムで最適化する工程と、を備えたことを特徴と
する最適化方法を提供する。
In order to achieve the above object, according to the first aspect of the present invention, an optimization method using a genetic algorithm is an object to be optimized having two variables that influence each other. A step of obtaining a quasi-optimization problem obtained by simplifying the two-variable optimization problem in accordance with a predetermined rule; a step of optimizing the quasi-optimization problem by a genetic algorithm; Optimizing the optimization problem with a genetic algorithm.

【0008】「フィーダの配置」と「基板への実装順」
のように、相互に影響し合う変数を最適化する場合、一
方の変数の最適化が他方に悪影響を及ぼすことがある。
このような2変数を一度に最適化すると、しばしば局所
解に陥る。そこで、本発明では、局所解対策として、あ
るルールを設けることで変数をひとつにまとめた問題
(準最適化問題)をGAで解き、次に得られた準最適解
を初期集団に含めて本来の問題(2変数最適化問題)を
GAで解くという、2段階GAを提案するものである。
これによって、短時間に最適解に到達することができ
る。
[0008] "Arrangement of feeders" and "order of mounting on board"
When optimizing mutually influencing variables as in, optimization of one variable may adversely affect the other.
If such two variables are optimized at once, they often fall into local solutions. Therefore, in the present invention, as a countermeasure against local solutions, a problem in which variables are put together by a certain rule (sub-optimization problem) is solved by GA, and the sub-optimal solution obtained next is included in the initial population and To solve the above problem (two-variable optimization problem) with GA.
Thereby, it is possible to reach the optimum solution in a short time.

【0009】請求項1のGAを、請求項2における実装
最適化に適用すれば、供給手段およびXYステージの移
動距離もしくは移動時間を最適化することができる。す
なわち、請求項2の最適化とは、「フィーダの配置」と
「基板への実装順」をフィーダ及びXYステージの移動
距離もしくは移動時間が最小になるように決定すること
である(2変数最適化問題)。この問題に、「フィーダ
の配置順に電子部品を実装する」というルールを適用す
れば、「フィーダの配置順」で「基板への実装順」が表
現できるため、「フィーダの配置順」のみの最適化に問
題を簡略化できる(準最適化問題)。このように、2変
数最適化問題に2段階のGAを適用することで、2変数
最適化問題を直接GAで解く場合に比べて、より精度の
高い解、つまり移動時間または移動距離が短い解を得る
ことができる。
If the GA according to the first aspect is applied to the mounting optimization according to the second aspect, the moving distance or the moving time of the supply means and the XY stage can be optimized. That is, the optimization of the second aspect is to determine the “arrangement of the feeder” and the “mounting order on the substrate” so that the moving distance or the moving time of the feeder and the XY stage is minimized (optimization of two variables). Problem). By applying the rule of “mounting electronic components in the order of feeder placement” to this problem, the “order of placement on the board” can be expressed in the “order of feeder placement”. The problem can be simplified to optimization (quasi-optimization problem). In this way, by applying the two-stage GA to the two-variable optimization problem, a solution with higher accuracy, that is, a solution with a shorter moving time or shorter moving distance, than a case where the two-variable optimization problem is directly solved by the GA. Can be obtained.

【0010】[0010]

【発明の実施の形態】図1に本発明にかかるGAによる
最適化の対象とした実装機の概略図を示す。また、図2
に実装機の動作タイミングチャートの例を示す。実装機
は、基板1を載置し、X,Y方向に移動可能なXYステ
ージ2と、部品Wを装填した複数のフィーダ4を持ち、
部品吸着位置へ所望のフィーダ4をX方向に移動させる
部品供給装置3と、複数の吸着ヘッド6を持ち、吸着位
置から実装位置までの間を移動し、部品Wをフィーダ4
から吸着して基板1に実装するロータリーヘッド5とを
備える。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a schematic diagram of a mounting machine targeted for optimization by a GA according to the present invention. FIG.
An example of an operation timing chart of the mounting machine is shown in FIG. The mounting machine has an XY stage 2 on which a substrate 1 is placed and movable in X and Y directions, and a plurality of feeders 4 loaded with components W.
It has a component supply device 3 for moving a desired feeder 4 in the X direction to a component suction position, and a plurality of suction heads 6, and moves from the suction position to the mounting position to transfer the component W to the feeder 4.
And a rotary head 5 mounted on the substrate 1 by suction from the substrate.

【0011】図2に示すように、ロータリーヘッドが1
ヘッド回転する間に供給フィーダ及びXYステージが動
作を完了しなければ待ち時間が発生し、タクト増加につ
ながる。供給装置3の移動時間は、次に供給する部品を
装填したフィーダ4を吸着位置まで移動させる時間であ
り、XYステージ2の移動時間は基板1の次の実装点を
実装位置まで移動させる時間である。これら移動時間は
「フィーダの配置」,「基板への部品実装順」で決定さ
れる。実装最適化とは、待ち時間が最小となる「フィー
ダの配置」,「基板への部品実装順」を求めることであ
る。換言すれば、「フィーダの配置」と「基板への部品
実装順」を供給装置3およびXYステージ2の移動距離
もしくは移動時間が最小になるように決定することであ
る。
[0011] As shown in FIG.
If the supply feeder and the XY stage do not complete the operation during the rotation of the head, a waiting time occurs, which leads to an increase in tact. The moving time of the supply device 3 is a time for moving the feeder 4 loaded with the next component to be supplied to the suction position, and the moving time of the XY stage 2 is a time for moving the next mounting point of the substrate 1 to the mounting position. is there. These moving times are determined by “arrangement of feeders” and “order of mounting components on a board”. The mounting optimization refers to obtaining the “feeder arrangement” and the “component mounting order on the board” that minimize the waiting time. In other words, the “placement of the feeder” and the “order of component mounting on the board” are determined so that the moving distance or the moving time of the supply device 3 and the XY stage 2 is minimized.

【0012】実装機の作業計画における最適化対象「フ
ィーダの配置」と「基板への実装順」は相互に影響し合
う変数であるため、一方の変数の最適化がもう一方に悪
影響を及ぼすことがある。このような2変数を一度に最
適化すると、しばしば局所解に陥り、最適解を得ること
ができなくなる。そこで、本発明では、局所解対策とし
て、あるルールを設けることで変数をひとつにまとめた
問題(準最適化問題)をGAで解き、次に得られた準最
適解を初期集団に含めて本来の問題(2変数最適化問
題)をGAで解くという、2段階GAを提案した。
[0012] Since the optimization targets "arrangement of feeders" and "mounting order on the board" in the work plan of the mounting machine are mutually influential variables, optimization of one of the variables adversely affects the other. There is. If such two variables are optimized at once, it often falls into a local solution, making it impossible to obtain an optimal solution. Therefore, in the present invention, as a countermeasure against local solutions, a problem in which variables are put together by a certain rule (sub-optimization problem) is solved by GA, and the sub-optimal solution obtained next is included in the initial population and Proposed a two-stage GA that solves the above problem (two-variable optimization problem) with GA.

【0013】図3は、本発明による2段階GAを用いた
最適化方法の一例を示す。まず、2変数最適化問題をル
ールによって準最適化問題へ簡略化し(ステップS
1)、初期集団を形成した後(ステップS2)、評価を
行う(ステップS3)。そして、終了条件を満足したか
否かを判定し(ステップS4)、満足していない場合に
は、エリート保存(ステップS5)、淘汰(ステップS
6)、交叉(ステップS7)、突然変異(ステップS
8)などのステップを終了条件を満足するまで繰り返
す。終了条件を満足した場合には、得られた解を初期集
団に含めて(ステップS9)、以下の2段階目のGAを
実施する。すなわち、評価(ステップS10)、終了条
件の判定(ステップS11)、エリート保存(ステップ
S12)、淘汰(ステップS13)、交叉(ステップS
14)、突然変異(ステップS15)などのステップを
終了条件を満足するまで繰り返す。そして、最終的に得
られた解が最適解となる(ステップS16)。
FIG. 3 shows an example of an optimization method using a two-stage GA according to the present invention. First, the two-variable optimization problem is simplified to a quasi-optimization problem by a rule (step S
1) After an initial group is formed (step S2), evaluation is performed (step S3). Then, it is determined whether or not the end condition is satisfied (step S4). If not, the elite is stored (step S5), and the selection is performed (step S4).
6), crossover (step S7), mutation (step S7)
Steps such as 8) are repeated until the termination condition is satisfied. If the termination condition is satisfied, the obtained solution is included in the initial group (step S9), and the following second-stage GA is performed. That is, evaluation (step S10), determination of termination condition (step S11), elite storage (step S12), selection (step S13), crossover (step S10)
14), steps such as mutation (step S15) are repeated until the termination condition is satisfied. Then, the finally obtained solution becomes the optimal solution (step S16).

【0014】以下に、2段階GAの具体的手順を説明す
る。 [準最適化問題] 以下のルールを設定する。 ルール1:同種の部品を連続して実装する 同種部品内の実装順は予め決めておく ルール2:フィーダの配置順に電子部品を実装する ルール1により「基板への実装順」を実装点順でなく
「実装部品順」で表現でき、ルール2により「フィーダ
の配置」は「実装部品順」に等しくなる。つまり、ルー
ル1,2により「基板への実装順」が「フィーダの配
置」で表現できるため、変数をひとつ(フィーダの配
置)にまとめることができる。前述のように、準最適化
問題における最適化対象は「フィーダの配置順」であ
り、これを遺伝子で表現する。部品の種類別に番号(部
品No)を付け、これをフィーダの配置順に並べ遺伝子
表現とする。
Hereinafter, a specific procedure of the two-stage GA will be described. [Semi-optimization problem] Set the following rules. Rule 1: The same type of components are successively mounted. The mounting order within the same type of components is determined in advance. Rule 2: The electronic components are mounted in the order in which the feeders are arranged. In other words, it can be expressed in the “mounting component order”, and the “feeder arrangement” is equal to the “mounting component order” according to Rule 2. In other words, since the "mounting order on the board" can be expressed by the "feeder arrangement" according to the rules 1 and 2, the variables can be combined into one (feeder arrangement). As described above, the optimization target in the quasi-optimization problem is “arrangement order of feeders”, and this is expressed by a gene. A number (part No.) is assigned to each type of component, and these are arranged in the order of arrangement of the feeders and used as a gene expression.

【0015】〔2変数最適化問題〕最適化対象である
「フィーダの配置」,「基板への実装順」を別々に遺伝
子で表現し、これを連結してひとつの染色体とする。
「フィーダの配置」は、前述と同じである。「基板への
実装順」は、基板上の実装点に番号(実装点No)を付
け、これを実装する順番に並べることで遺伝子表現とす
る。図4に遺伝子表現の例を示す。
[Two-Variable Optimization Problem] The "feeder arrangement" and the "mounting order on the board" to be optimized are separately expressed by genes, and these are connected to one chromosome.
“Arrangement of feeders” is the same as described above. The “mounting order on the board” is a gene expression by attaching numbers (mounting point Nos.) To the mounting points on the board and arranging them in the mounting order. FIG. 4 shows an example of gene expression.

【0016】〔評価関数〕作業計画の良悪は基板1枚の
実装時間の大小で決まる。よって、これを評価関数とし
た。計算は、前述のように、ロータリーヘッド,XYス
テージ,フィーダの移動時間を考慮し行う。 〔淘汰〕淘汰手法としては、期待値選択法を用いた。こ
の淘汰手法は各個体の評価値に比例して淘汰数を決定す
る方法である。 〔交叉〕今回は「フィーダの配置」や「基板への実装
順」を直接、遺伝子表現しており、染色体内での遺伝子
の重複は許されない。例えば、「基板への実装順」遺伝
子の重複は同じ点に2回実装するという実現不可能な作
業計画に相当する。そこで、重複の発生しない交叉手法
である、部分一致交叉を採用した。図5に部分一致交叉
の例を示す。 〔突然変異〕交叉と同様、遺伝子の重複が許されない理
由から、突然変異には逆位を採用した。逆位はランダム
に選択した遺伝子列の順序を反転させる操作である。図
6に逆位の例を示す。 〔エリート保存〕より広い解探索を行うため、今回は交
叉,突然変異の頻度を高く設定しており、そのため淘汰
だけでは優秀な個体が死滅する可能性がある。そこで、
前世代の優秀な個体を無条件に次世代に残す操作であ
る、エリート保存を淘汰の前に追加した。保存したエリ
ートは、次世代で評価値の低い個体と入れ替える。よっ
て、世代間で個体数は変化しない。
[Evaluation Function] The quality of the work plan is determined by the size of the mounting time of one board. Therefore, this was used as the evaluation function. The calculation is performed in consideration of the moving time of the rotary head, the XY stage, and the feeder as described above. [Selection] As a selection method, an expected value selection method was used. This selection method is a method of determining the number of selection in proportion to the evaluation value of each individual. [Crossover] In this case, the "placement of feeders" and the "order of mounting on the board" are directly expressed by genes, and duplication of genes within chromosomes is not allowed. For example, duplication of the “mounting order on the substrate” gene corresponds to an unrealizable work plan of mounting twice at the same point. Therefore, a partial matching crossover, which is a crossover method that does not cause overlap, is adopted. FIG. 5 shows an example of partial coincidence crossover. [Mutation] As in the case of crossover, inversion was adopted for mutation because duplication of genes was not allowed. Inversion is an operation that reverses the order of a randomly selected gene sequence. FIG. 6 shows an example of inversion. [Elite preservation] In order to search for a wider solution, the frequency of crossover and mutation is set high this time, so that excellent individuals may be killed only by selection. Therefore,
Elite preservation, an operation that unconditionally leaves the best individuals of the previous generation in the next generation, was added before selection. The saved elite is replaced with an individual with a lower evaluation value in the next generation. Therefore, the number of individuals does not change between generations.

【0017】交叉,突然変異,エリート保存には以下の
パラメータ(GAパラメータ)が存在し、適切に調整す
る必要がある。 〔交叉率〕交叉により入れ替える個体の全個体に占める
割合 100%の場合、全個体が入れ替わる 〔突然変異率〕突然変異を発生させる個体の全個体に占
める割合 100%の場合、全個体が突然変異を受ける 100%以上の場合、同じ個体が複数回突然変異を受け
る 〔エリート保存率〕エリート保存する個体の全個体に占
める割合
The following parameters (GA parameters) exist for crossover, mutation, and elite preservation and need to be adjusted appropriately. [Crossover rate] Percentage of individuals to be replaced by crossover in all individuals 100%, all individuals are replaced If the rate is 100% or more, the same individual is mutated multiple times. [Elite Conservation Ratio] Percentage of elite-preserving individuals to all individuals

【0018】次に、本発明の作用効果を以下の条件で検
証した結果を示す。 〔対象品〕CATVチューナー 実装点数:639点/親基板 部品の種類:113種類/親基板 〔GAパラメータ〕 準最適化問題 交叉率: 100% 突然変異率: 200% エリート保存率:20% 2変数最適化問題 交叉率: 100% 突然変異率: 40%(フィーダ配置) 200%(実装順) エリート保存率:20% 〔その他の条件〕 個体数:100 世代数:10000
Next, the results of verifying the operation and effect of the present invention under the following conditions will be shown. [Target product] CATV tuner Number of mounting points: 639 points / parent board Component type: 113 types / parent board [GA parameters] Sub-optimization problem Crossover rate: 100% Mutation rate: 200% Elite conservation rate: 20% 2 variables Optimization problem Crossover rate: 100% Mutation rate: 40% (feeder arrangement) 200% (order of mounting) Elite conservation rate: 20% [Other conditions] Number of individuals: 100 Number of generations: 10,000

【0019】評価としては上記対象品に対し、 1.従来のGA(1段階)による実装計画 2.2段階GAによる実装計画 で実装したときに要する時間をシミュレーションで求め
た結果を表1に示す。比較として、XYステージ及びフ
ィーダの移動で全く待ち時間が生じないと仮定した場合
(実現は不可能)も示す。
The evaluation of the above-mentioned target product was as follows. Table 1 shows the results obtained by performing simulations on the time required for mounting using a conventional GA (one-stage) mounting plan and a 2.2-stage GA mounting plan. As a comparison, a case where it is assumed that no waiting time is caused by the movement of the XY stage and the feeder (it cannot be realized) is also shown.

【0020】[0020]

【表1】 [Table 1]

【0021】表1から明らかなように、従来のGAを用
いた例と比較して、本発明の2段階GAを用いた場合に
は、実装時間を6.7%短縮できた。つまり、従来のG
Aで得られた解は局所解であるのに対し、2段階GAで
は最適解が得られたことが分かる。また、全く待ち時間
が生じない場合と比較しても、実装時間の差は1%弱し
かなく、本発明の2段階GAによる最適化は限界に近い
レベルにあると考えられる。なお、準最適化GAに要す
る計算時間は約20分、2変数最適化GAに要する計算
時間は約25分であった(ただし、CPUはPenti
um(登録商標) II300MHzを使用)。
As is apparent from Table 1, when the two-stage GA of the present invention is used, the mounting time can be reduced by 6.7% as compared with the example using the conventional GA. That is, the conventional G
It can be seen that the solution obtained in A is a local solution, while the two-stage GA has obtained the optimum solution. Also, compared to the case where no waiting time occurs, the difference in the mounting time is less than 1%, and the optimization by the two-stage GA of the present invention is considered to be at a level near the limit. The calculation time required for the quasi-optimized GA was about 20 minutes, and the calculation time required for the two-variable optimized GA was about 25 minutes (however, the CPU was Penti).
um® II 300 MHz).

【0022】図7にXYステージの軌跡比較を示す。図
7の(a)は従来のGA(1段階)を用いた実装作業に
おけるXYステージの移動軌跡を示し、図7の(b)は
本発明の2段階GAを用いた実装作業におけるXYステ
ージの移動軌跡を示すものである。細線はXYステージ
移動で待ち時間が発生しない軌跡、太線はXYステージ
移動で待ち時間が発生する軌跡である。従来のGAに比
べて、本発明のGAによる最適化を行うと、待ち時間を
伴うXYステージの移動が格段に減っていることが分か
る。なお、フィーダ移動に関しては待ち時間は全く発生
しなかった。
FIG. 7 shows a comparison of the locus of the XY stage. FIG. 7A shows the trajectory of the XY stage in the mounting operation using the conventional GA (one stage), and FIG. 7B shows the movement of the XY stage in the mounting operation using the two-stage GA of the present invention. It shows a moving trajectory. The thin line indicates a locus where no waiting time occurs when the XY stage moves, and the thick line indicates a locus where a waiting time occurs when moving the XY stage. It can be seen that when the optimization according to the GA of the present invention is performed as compared with the conventional GA, the movement of the XY stage with a waiting time is significantly reduced. There was no waiting time for the feeder movement.

【0023】上記実施例では、実装機として図1に示す
ように、XYステージ2と、X方向に移動可能な部品供
給装置3と、複数の吸着ヘッド6を持つロータリーヘッ
ド5とを備えたものを用いたが、これに限るものではな
い。例えば、特開平10−209681号公報に記載の
ように、部品供給装置と基板とが固定され、吸着ヘッド
がXY方向に移動してフィーダから基板へ部品を移載す
る方式の実装機にも適用可能である。但し、この場合に
は、準最適化問題を得るためのルールが、図1の例とは
異なる。本発明の最適化方法は.基板への電子部品の実
装にのみ適用できるものではなく、部品の組立作業や、
その他のあらゆる作業に適用可能であることは言うまで
もない。
In the above embodiment, as shown in FIG. 1, the mounting machine includes an XY stage 2, a component supply device 3 movable in the X direction, and a rotary head 5 having a plurality of suction heads 6. , But is not limited to this. For example, as described in JP-A-10-209681, the present invention is also applied to a mounting machine in which a component supply device and a substrate are fixed, and a suction head moves in the XY directions to transfer components from the feeder to the substrate. It is possible. However, in this case, the rules for obtaining the sub-optimization problem are different from those in the example of FIG. The optimization method of the present invention is as follows. It is not only applicable to mounting electronic components on a board,
It goes without saying that it can be applied to all other tasks.

【0024】[0024]

【発明の効果】以上の説明で明らかなように、請求項1
に記載の発明によれば、2変数最適化問題を所定のルー
ルに従って簡略化した準最適化問題を遺伝的アルゴリズ
ムで最適化し、得られた解を初期集団に含めて2変数最
適化問題を遺伝的アルゴリズムで最適化することで、2
段階の最適化を行うようにしたので、2変数最適化問題
を直接遺伝的アルゴリズムで最適化する場合に比べて、
局所解に陥らず、精度のよい解を得ることができる。ま
た、試行錯誤的にGAパラメータを変更せずに、精度の
よい解が得られるので、時間と熟練を要しない。
As is apparent from the above description, claim 1
According to the invention described in (1), a quasi-optimization problem obtained by simplifying a two-variable optimization problem according to a predetermined rule is optimized by a genetic algorithm, and the obtained solution is included in an initial population to generate a two-variable optimization problem. Optimization with a genetic algorithm
Since the optimization is performed in stages, compared to the case where the two-variable optimization problem is directly optimized by the genetic algorithm,
An accurate solution can be obtained without falling into a local solution. In addition, since an accurate solution can be obtained without changing the GA parameter by trial and error, time and skill are not required.

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

【図1】本発明にかかる遺伝的アルゴリズムによる最適
化の対象とした実装機の概略図である。
FIG. 1 is a schematic diagram of a mounting machine targeted for optimization by a genetic algorithm according to the present invention.

【図2】実装機の動作タイミングチャートの一例であ
る。
FIG. 2 is an example of an operation timing chart of the mounting machine.

【図3】本発明にかかる遺伝的アルゴリズムによる2段
階最適化の一例を示すフローチャート図である。
FIG. 3 is a flowchart illustrating an example of a two-stage optimization using a genetic algorithm according to the present invention.

【図4】遺伝子表現の一例である。FIG. 4 is an example of a gene expression.

【図5】部分一致交叉の一例である。FIG. 5 is an example of a partial match crossover.

【図6】逆位の一例である。FIG. 6 is an example of an inversion.

【図7】XYステージの移動軌跡の比較図である。FIG. 7 is a comparison diagram of the movement locus of the XY stage.

【図8】遺伝的アルゴリズムの一般的な流れを示すフロ
ーチャート図である。
FIG. 8 is a flowchart showing a general flow of a genetic algorithm.

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

1 基板 2 XYステージ 3 部品供給装置(供給手段) 4 フィーダ 5 ロータリーヘッド(マウンタ) 6 吸着ヘッド DESCRIPTION OF SYMBOLS 1 Substrate 2 XY stage 3 Component supply apparatus (supply means) 4 Feeder 5 Rotary head (mounter) 6 Suction head

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】遺伝的アルゴリズムを用いた最適化方法に
おいて、相互に影響し合う2変数を持つ2変数最適化問
題を、所定のルールに従って簡略化した準最適化問題を
得る工程と、準最適化問題を遺伝的アルゴリズムで最適
化する工程と、得られた解を初期集団に含めて2変数最
適化問題を遺伝的アルゴリズムで最適化する工程と、を
備えたことを特徴とする最適化方法。
1. An optimization method using a genetic algorithm, comprising the steps of obtaining a quasi-optimization problem obtained by simplifying a two-variable optimization problem having two variables interacting with each other according to a predetermined rule; Optimizing an optimization problem with a genetic algorithm, and optimizing a two-variable optimization problem with a genetic algorithm by including the obtained solution in an initial population. .
【請求項2】水平な一方向に移動可能で、電子部品を供
給する複数のフィーダを備えた供給手段と、水平な二方
向に移動可能なXYステージ上に配置された基板と、吸
着位置と実装位置との間を往復移動し、吸着位置にある
供給手段のフィーダから電子部品を吸着し、実装位置に
ある基板に対して電子部品をマウントする吸着ヘッドと
を備えた実装機において、上記2変数最適化問題は、基
板への実装順とフィーダの配置順とを求めることであ
り、上記ルールは、フィーダの配置順に電子部品を実装
することであり、上記準最適化問題は、フィーダの配置
順を求めることである請求項1に記載の最適化方法。
2. A supply means comprising a plurality of feeders which are movable in one horizontal direction and supply electronic components, a substrate arranged on an XY stage movable in two horizontal directions, and a suction position. A mounting head that reciprocates between a mounting position and a suction head that sucks an electronic component from a feeder of a supply unit at a suction position and mounts the electronic component on a substrate at the mounting position; The variable optimization problem is to find the order of mounting on the board and the order of placement of the feeders. The above rule is to mount electronic components in the order of placement of the feeders. 2. The optimization method according to claim 1, wherein the order is determined.
JP2000182696A 2000-06-19 2000-06-19 Optimizing method with usage of genetic algorithm Pending JP2002007999A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000182696A JP2002007999A (en) 2000-06-19 2000-06-19 Optimizing method with usage of genetic algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000182696A JP2002007999A (en) 2000-06-19 2000-06-19 Optimizing method with usage of genetic algorithm

Publications (1)

Publication Number Publication Date
JP2002007999A true JP2002007999A (en) 2002-01-11

Family

ID=18683409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000182696A Pending JP2002007999A (en) 2000-06-19 2000-06-19 Optimizing method with usage of genetic algorithm

Country Status (1)

Country Link
JP (1) JP2002007999A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012083947A (en) * 2010-10-12 2012-04-26 Kajima Corp Control system
JP2012234452A (en) * 2011-05-09 2012-11-29 Fuji Mach Mfg Co Ltd Control parameter adjustment method and control parameter adjustment system for position control device
JP5166541B2 (en) * 2008-09-29 2013-03-21 インターナショナル・ビジネス・マシーンズ・コーポレーション Apparatus, method, and program for determining data recall order
CN112261864A (en) * 2020-10-12 2021-01-22 合肥安迅精密技术有限公司 Population initialization method and system for solving mounting optimization problem of chip mounter

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07219920A (en) * 1994-01-31 1995-08-18 Nippon Steel Corp Processing method and device for solving optimization problem
JPH0997246A (en) * 1995-09-29 1997-04-08 Fujitsu Ltd Optimization problem solving device
JPH10209681A (en) * 1997-01-17 1998-08-07 Suzuki:Kk Method for optimizing mounting of electronic part

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07219920A (en) * 1994-01-31 1995-08-18 Nippon Steel Corp Processing method and device for solving optimization problem
JPH0997246A (en) * 1995-09-29 1997-04-08 Fujitsu Ltd Optimization problem solving device
JPH10209681A (en) * 1997-01-17 1998-08-07 Suzuki:Kk Method for optimizing mounting of electronic part

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5166541B2 (en) * 2008-09-29 2013-03-21 インターナショナル・ビジネス・マシーンズ・コーポレーション Apparatus, method, and program for determining data recall order
US8732393B2 (en) 2008-09-29 2014-05-20 International Business Machines Corporation Apparatus, method and program product for determining the data recall order
US9104318B2 (en) 2008-09-29 2015-08-11 International Business Machines Corporation Apparatus, method and program product for determining the data recall order
US9477411B2 (en) 2008-09-29 2016-10-25 International Business Machines Corporation Apparatus, method and program product for determining the data recall order
JP2012083947A (en) * 2010-10-12 2012-04-26 Kajima Corp Control system
JP2012234452A (en) * 2011-05-09 2012-11-29 Fuji Mach Mfg Co Ltd Control parameter adjustment method and control parameter adjustment system for position control device
CN112261864A (en) * 2020-10-12 2021-01-22 合肥安迅精密技术有限公司 Population initialization method and system for solving mounting optimization problem of chip mounter
CN112261864B (en) * 2020-10-12 2021-09-24 合肥安迅精密技术有限公司 Population initialization method and system for solving mounting optimization problem of chip mounter

Similar Documents

Publication Publication Date Title
US6826738B2 (en) Optimization of die placement on wafers
US6694224B2 (en) Control of robotic systems
CN107301473B (en) Similar parallel machine based on improved adaptive GA-IAGA batch dispatching method and system
CN108053119B (en) Improved particle swarm optimization method for solving scheduling problem of zero-waiting line shop
US7738985B2 (en) Production condition determining method, production condition determining apparatus, mounter, and program
KR100452913B1 (en) Scheduling system and scheduling method for reentrant line processes
KR100994856B1 (en) Substrate processing system
JP2002007999A (en) Optimizing method with usage of genetic algorithm
CN111983969B (en) Path planning method for PCB (printed circuit board) dispensing process
US20100057239A1 (en) Semiconductor manufacturing apparatus
US20010034563A1 (en) Method and apparatus for controlling progress of product processing
Adan et al. A hybrid genetic algorithm for parallel machine scheduling at semiconductor back-end production
CN109074054A (en) Work auxiliary device, operation householder method and job aids
JP2004145390A (en) Process correcting system
Lee et al. An Efficient Planning Algorithm for Multi-head Surface Mounting Machines Using a Genetic Algorithm.
Suerich et al. Machine Learning for Optimized Scheduling in Complex Semiconductor Equipment
KR102064814B1 (en) Optimized production planning method for manufacturing multi-PCB with multiple mounter
Rosati et al. Throughput maximization and buffer design of robotized flexible production systems with feeder renewals and priority rules
JPH07136875A (en) Part mounting device
JP2606112B2 (en) Semiconductor device manufacturing system
US6975916B2 (en) Method and system for determining the best integral process path to process semiconductor products to improve yield
US11915959B2 (en) Substrate treatment apparatus and transfer schedule creation method
US20030187533A1 (en) Process managing apparatus for managing production process including production fluctuation process
JPH11330790A (en) Part mounting method and device
JPH09326594A (en) Electronic component mounting method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070509

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100824

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101221