JP4301049B2 - Optimization method, optimization device, and optimization program - Google Patents

Optimization method, optimization device, and optimization program Download PDF

Info

Publication number
JP4301049B2
JP4301049B2 JP2004080400A JP2004080400A JP4301049B2 JP 4301049 B2 JP4301049 B2 JP 4301049B2 JP 2004080400 A JP2004080400 A JP 2004080400A JP 2004080400 A JP2004080400 A JP 2004080400A JP 4301049 B2 JP4301049 B2 JP 4301049B2
Authority
JP
Japan
Prior art keywords
optimization
objective function
transfer function
evaluation
search
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004080400A
Other languages
Japanese (ja)
Other versions
JP2005267363A (en
Inventor
貴之 金子
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Holdings 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 Fuji Electric Holdings Ltd filed Critical Fuji Electric Holdings Ltd
Priority to JP2004080400A priority Critical patent/JP4301049B2/en
Publication of JP2005267363A publication Critical patent/JP2005267363A/en
Application granted granted Critical
Publication of JP4301049B2 publication Critical patent/JP4301049B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Control Of Electric Motors In General (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Feedback Control In General (AREA)

Description

本発明は最適化方法、最適化装置および最適化プログラムに関し、特に、目的関数を目標に適合させるための最適化方法に適用して好適なものである。   The present invention relates to an optimization method, an optimization apparatus, and an optimization program, and is particularly suitable for application to an optimization method for adapting an objective function to a target.

従来の電動機を含む機械システムでは、サーボ系の制御ゲインを最適化するために、例えば、特許文献1、2に開示されているように、機械システムの近似モデルを同定するための同定装置を用いる方法がある。
図3は、従来の機械システムの同定装置の構成を示すブロック図である。
図3において、機械システムの同定装置は、第1前処理器19と、第2前処理器20と、実応答保存器21と、模擬回路22と、評価関数器23と、トータル調整装置24とから構成され、実観測器16と、指令発生器17と、実制御器18とにより制御される機械システム15の近似モデルを同定する。
In a mechanical system including a conventional electric motor, an identification device for identifying an approximate model of the mechanical system is used, for example, as disclosed in Patent Documents 1 and 2, in order to optimize the control gain of the servo system. There is a way.
FIG. 3 is a block diagram showing a configuration of a conventional mechanical system identification apparatus.
In FIG. 3, the mechanical system identification device includes a first preprocessor 19, a second preprocessor 20, an actual response storage device 21, a simulation circuit 22, an evaluation function device 23, and a total adjustment device 24. The approximate model of the mechanical system 15 controlled by the real observer 16, the command generator 17, and the real controller 18 is identified.

また、機械システム15は、負荷機械11と、動力を伝達する伝達機構12と、伝達機構12を介して負荷機械11を駆動する電動機13と、実トルク信号τM(t)に基づいて電動機13に電気信号を提供する動力変換装置14とから構成されている。
実観測器16は、機械システム15の状態量の少なくとも一部を観測し、実応答信号θM(t)を生成する。指令発生器17は、実指令信号θref(t)を生成する。実制御器18は、指令発生器17からの実指令信号θref(t)と、実観測器16からの実応答信号θM(t)とに基づいて、実トルク信号τM(t)を動力変換装置14に提供する。
The mechanical system 15 includes a load machine 11, a transmission mechanism 12 that transmits power, an electric motor 13 that drives the load machine 11 via the transmission mechanism 12, and an electric motor 13 based on the actual torque signal τM (t). It is comprised from the power converter device 14 which provides an electrical signal.
The actual observer 16 observes at least a part of the state quantity of the mechanical system 15 and generates an actual response signal θM (t). The command generator 17 generates an actual command signal θref (t). The actual controller 18 converts the actual torque signal τM (t) to the power conversion device based on the actual command signal θref (t) from the command generator 17 and the actual response signal θM (t) from the actual observer 16. 14 to provide.

第1前処理器19は、連続信号である実トルク信号τM(t)を一定のサンプル間隔Tごとに離散信号である実トルク信号Tm(k)に変換し、この離散信号の実トルク信号Tm(k)をデータ行列として実応答保存器21に保存する。
第2前処理器20は、連続信号である実応答信号θM(t)を一定のサンプル間隔Tごとに離散信号である実応答信号θm(k)に変換し、ωm(k)を算出する。そして、θm(k)とωm(k)とを2つのデータ行列として実応答保存器21に保存する。
The first preprocessor 19 converts the actual torque signal τM (t), which is a continuous signal, into an actual torque signal Tm (k), which is a discrete signal, at a constant sampling interval T, and the actual torque signal Tm of this discrete signal. (K) is stored in the actual response storage unit 21 as a data matrix.
The second preprocessor 20 converts the actual response signal θM (t), which is a continuous signal, into an actual response signal θm (k), which is a discrete signal, at a constant sample interval T, and calculates ωm (k). Then, θm (k) and ωm (k) are stored in the actual response storage unit 21 as two data matrices.

模擬回路22は、実応答保存器21から実トルク信号Tm(k)を読み込み、模擬パラメータPiに基づいて模擬位置応答信号θm^(k)と模擬速度応答信号ωm^(k)とを生成する。
評価関数器23は、θm^(k)とωm^(k)とを模擬回路22から読み込むとともに、θm(k)とωm(k)とを実応答保存器21から読み込むことで、評価値Jiを計算し、トータル調整装置24に提供する。
The simulation circuit 22 reads the actual torque signal Tm (k) from the actual response storage device 21 and generates a simulated position response signal θm ^ (k) and a simulated speed response signal ωm ^ (k) based on the simulation parameter Pi. .
The evaluation function unit 23 reads θm ^ (k) and ωm ^ (k) from the simulation circuit 22, and also reads θm (k) and ωm (k) from the actual response storage unit 21, thereby obtaining the evaluation value Ji. Is calculated and provided to the total adjustment device 24.

トータル調整装置24は、遺伝的アルゴリズムを用いた調整方法により、評価値Jiが最適化されるように、模擬パラメータPiを調整する。すなわち、遺伝的アルゴリズムを用いた調整方法において、最適化判定条件が満たされた時、トータル調整装置24から出力されている模擬パラメータPiは、機械システム15の近似モデルを同定するための最適模擬パラメータとなる。   The total adjustment device 24 adjusts the simulation parameter Pi by an adjustment method using a genetic algorithm so that the evaluation value Ji is optimized. That is, in the adjustment method using the genetic algorithm, when the optimization determination condition is satisfied, the simulation parameter Pi output from the total adjustment device 24 is the optimum simulation parameter for identifying the approximate model of the mechanical system 15. It becomes.

図4は、図3の模擬回路22の構成を示すブロック図である。
図4において、模擬回路22は、係数器22b、22f、22gと、積分器22c、22d、22h、22iと、比較器22a、22eと、模擬観測器22jとから構成されている。そして、模擬回路22は、与えられた模擬パラメータPiを用いることで、係数器22b、22f、22gの係数Jmi、JLi、Kciを更新し、実応答保存器21に保存されたτM(k)のデータに対してθm^(k)とωm^(k)とを計算し、評価関数器23に提供する。
FIG. 4 is a block diagram showing a configuration of the simulation circuit 22 of FIG.
In FIG. 4, the simulation circuit 22 includes coefficient units 22b, 22f, and 22g, integrators 22c, 22d, 22h, and 22i, comparators 22a and 22e, and a simulation observer 22j. Then, the simulation circuit 22 updates the coefficients Jmi, JLi, and Kci of the coefficient units 22b, 22f, and 22g by using the given simulation parameter Pi, and the τM (k) stored in the actual response storage unit 21 is updated. Θm ^ (k) and ωm ^ (k) are calculated for the data and provided to the evaluation function unit 23.

そして、トータル調整装置24は、遺伝的アルゴリズムを用いた調整方法により、評価値Jiを最適化し、その最適化判定条件が満たされた時、模擬パラメータPi(Jmi、JLi、Kciを含む)は、同定された最適模擬パラメータ行列となる。
特開2001−8476号公報 特開2002−351503号公報
Then, the total adjustment device 24 optimizes the evaluation value Ji by an adjustment method using a genetic algorithm, and when the optimization determination condition is satisfied, the simulation parameters Pi (including Jmi, JLi, and Kci) are: The identified optimal simulation parameter matrix is obtained.
JP 2001-8476 A JP 2002-351503 A

しかしながら、従来の機械システムの同定装置では、機械システムの数学モデルの構造が既知であることが条件とされている。このため、従来の機械システムの同定装置では、最適化される目的関数の構造が固定され、数学モデルの構造が未知の機械システムは同定することができないという問題があった。
そこで、本発明の目的は、制御対象の数学モデルの構造が未知であっても、制御対象の同定に適用することが可能な最適化方法、最適化装置および最適化プログラムを提供することである。
However, the conventional machine system identification apparatus is required to have a known structure of a mathematical model of the machine system. For this reason, the conventional machine system identification apparatus has a problem that the structure of the objective function to be optimized is fixed, and a machine system whose mathematical model structure is unknown cannot be identified.
Accordingly, an object of the present invention is to provide an optimization method, an optimization device, and an optimization program that can be applied to identification of a control target even when the structure of a mathematical model of the control target is unknown. .

上述した課題を解決するために、請求項1記載の最適化方法によれば、制御対象を模擬した分数多項式で表現された伝達関数で表される目的関数を設定するステップと、前記伝達関数の変数の全ての組み合わせについて評価するステップと、前記評価結果に基づいて、前記目的関数の複数の探索点における最良値及び集団の最良値を用いて当該探索点を変更する処理を繰り返して得られる集団の最良値を前記目的関数の最適化結果とするステップとを備えることを特徴とする。
これにより、伝達関数で表される目的関数が最適化されるように、制御対象のシステムモデルを構築することが可能となり、制御対象のシステムモデルの構造が未知であっても、最適制御を行うことが可能となる。
また、次のステップにおける探索点を計算する段階で各探索点を最良評価の探索点に近づける計算を行う際に、目的関数を最良評価の探索点に近づけることが可能となる。
In order to solve the above-described problem, according to the optimization method of claim 1, a step of setting an objective function represented by a transfer function expressed by a fractional polynomial simulating a control target; a method of assessing for all combinations of variables, on the basis of the evaluation results, obtained by repeating the process of changing the search point with the best value of the best values and populations at a plurality of search points before Symbol objective function And a step of setting the best value of the obtained group as an optimization result of the objective function.
This makes it possible to construct a system model to be controlled so that the objective function represented by the transfer function is optimized, and performs optimal control even if the structure of the system model to be controlled is unknown. It becomes possible.
In addition, when calculating each search point close to the best evaluation search point in the step of calculating the search point in the next step, the objective function can be brought close to the best evaluation search point.

また、請求項2記載の最適化方法によれば、制御対象を模擬した分数多項式で表現された伝達関数で表される目的関数を設定するステップと、
前記伝達関数の変数の全ての組み合わせをパーティクル・スウォーム・オプティマイゼーションのエージェントとして評価することにより、前記目的関数の構造を最適化するステップとを備えることを特徴とする。
これにより、概念が簡単なアルゴリズムを用いることで、次のステップにおける探索点を計算する段階で各探索点を最良評価の探索点に近づける計算を行う際に、目的関数を最良評価の構造に近づけることが可能となる。
このため、無駄な探索の削減を可能としつつ、連続型の変数のままで目的関数の構造の最適化を図ることが可能となり、目的関数が可変かつ連続的な空間をとる場合においても、制御対象を高速かつ安定して制御することが可能となる。
According to the optimization method of claim 2, the step of setting an objective function expressed by a transfer function expressed by a fractional polynomial that simulates a controlled object ;
By evaluating all combinations of variables of the transfer function as an agent of the particle swarm Optimization, characterized in that it comprises a step of optimizing the structure of the objective function.
As a result, by using an algorithm with a simple concept, the objective function is brought closer to the structure of the best evaluation when calculating each search point close to the search point of the best evaluation at the stage of calculating the search point in the next step. It becomes possible.
For this reason, it is possible to optimize the structure of the objective function while maintaining a continuous variable, while reducing wasteful search, and even when the objective function takes a variable and continuous space, control is possible. It becomes possible to control the target at high speed and stably.

また、請求項3記載の最適化方法によれば、前記制御対象が電動機機械システムであることを特徴とする。
これにより、電動機機械システムの数学モデルの構造が未知であっても、電動機機械システムの最適制御を行うことが可能となる。
According to the optimization method of the third aspect, the control object is an electric machine system.
Thereby, even if the structure of the mathematical model of the motor machine system is unknown, it is possible to perform optimal control of the motor machine system.

また、請求項4記載の最適化装置によれば、制御対象システム指令信号に基づく実状態量を少なくとも1つ観測する状態観測手段と、前記制御対象システムを模擬した分数多項式で表現された伝達関数で表される目的関数を設定し、前記指令信号に基づく模擬状態量を出力するシステムモデルと、前記実状態量および前記模擬状態量に基づいて、前記指令信号に対する前記システムモデルの応答を評価する評価手段と、前記評価手段による評価結果に基づいて、前記システムモデルに設定された目的関数の複数の探索点における最良値及び集団の最良値を用いて当該探索点を変更する処理を繰り返して得られる集団の最良値を前記目的関数の最適化結果とする最適化手段とを備えることを特徴とする。
これにより、伝達関数で表される目的関数の探索点を変化させながら、目的関数について評価することが可能となる。このため、目的関数が最適化されるように、制御対象システムシステムモデルを構築することが可能となり、制御対象のシステムモデルの構造が未知であっても、最適制御を行うことが可能となる。
また、次のステップにおける探索点を計算する段階で各探索点を最良評価の探索点に近づける計算を行う際に、目的関数を最良評価の探索点に近づけることが可能となる。
Further, according to the optimization apparatus of claim 4 wherein at least one observation to the state observer means the actual state quantity based on the command signal of the control object system, expressed as a fraction polynomial simulating the control object system set the desired function represented by a transfer function, and the system model that outputs simulated state quantity based on the command signal, on the basis of the actual state amount and the simulated state variable, the response of the system model with respect to the command signal Based on the evaluation means to be evaluated and the evaluation result by the evaluation means, the process of changing the search point using the best value at the plurality of search points of the objective function set in the system model and the best value of the group is repeated. And optimizing means for using the best value of the group obtained as an optimization result of the objective function.
This makes it possible to evaluate the objective function while changing the search point of the objective function represented by the transfer function. For this reason, it is possible to construct a system model of the controlled system so that the objective function is optimized, and it is possible to perform optimal control even if the structure of the controlled system model is unknown. .
In addition, in the calculation of the search point in the next step, the calculation of bringing each search point close to the best evaluation search point makes it possible to bring the objective function close to the best evaluation search point.

また、請求項5記載の最適化装置によれば、前記制御対象が電動機機械システムであることを特徴とする。
これにより、電動機機械システムのシステムモデルの構造が未知であっても、電動機機械システムの最適制御を行うことが可能となる。
According to the optimization apparatus of the fifth aspect, the control object is an electric machine system.
As a result, even if the structure of the system model of the motor machine system is unknown, it is possible to perform optimal control of the motor machine system.

また、請求項6記載の最適化プログラムによれば、制御対象を模擬した分数多項式で表現された伝達関数で表される目的関数を設定するステップと、前記伝達関数の変数の全ての組み合わせについて評価するステップと、前記評価結果に基づいて、前記目的関数の複数の探索点における最良値及び集団の最良値を用いて当該探索点を変更する処理を繰り返して得られる集団の最良値を前記目的関数の最適化結果とするステップとをコンピュータに実行させることを特徴とする。
これにより、コンピュータに処理を行わせることで、伝達関数で表される目的関数が最適化されるように、制御対象のシステムモデルを構築することが可能となり、制御対象のシステムモデルの構造が未知であっても、最適制御を行うことが可能となる。
また、次のステップにおける探索点を計算する段階で各探索点を最良評価の探索点に近づける計算を行う際に、目的関数を最良評価の探索点に近づけることが可能となる。
According to the optimization program of claim 6, the step of setting an objective function represented by a transfer function expressed by a fractional polynomial simulating a controlled object and all combinations of variables of the transfer function are evaluated. a step of, based on the evaluation result, the best value of the best values and population obtained by repeating the process of changing the search point with the best value of a population at a plurality of search points before Symbol objective function the And a step of causing the computer to execute an objective function optimization result.
This makes it possible to construct a system model to be controlled so that the objective function represented by the transfer function is optimized by causing the computer to perform processing, and the structure of the system model to be controlled is unknown. Even so, optimal control can be performed.
In addition, when calculating each search point close to the best evaluation search point in the step of calculating the search point in the next step, the objective function can be brought close to the best evaluation search point.

以上説明したように、本発明によれば、伝達関数で表される目的関数の探索点を変化させながら、目的関数について評価することが可能となり、目的関数が最適化されるように、制御対象の数値モデルを構築することを可能として、制御対象の数学モデルの構造が未知であっても、最適制御を行うことが可能となる。
As described above, according to the present invention, while changing the search point of the objective function represented by a transfer function, it is possible to evaluate with the objective function, as objective function is optimized Therefore, it is possible to construct a numerical model of the control target, and it is possible to perform optimal control even if the structure of the mathematical model of the control target is unknown.

以下、本発明の実施形態に係る繰り返し最適化を機械システムの同定に適用した場合について、図面を参照しながら説明する。
図1は、本発明の一実施形態に係る制御システムの概略構成を示すブロック図である。
図1において、制御システムには、機械システム1、状態観測部2および最適化システム6が設けられ、最適化システム6には、機械システムモデル3、評価部4および最適化部5が設けられている。
ここで、機械システム1には、機械システム1に所定の動作を指示する指令信号が入力され、機械システム1が電動機機械システムの場合、例えば、電動機と、電動機へ電力を供給し、電動機のトルクを制御する電力変換器と、電動機により駆動される機械とで構成することができる。
Hereinafter, a case where iterative optimization according to an embodiment of the present invention is applied to identification of a mechanical system will be described with reference to the drawings.
FIG. 1 is a block diagram showing a schematic configuration of a control system according to an embodiment of the present invention.
In FIG. 1, the control system includes a mechanical system 1, a state observation unit 2, and an optimization system 6, and the optimization system 6 includes a mechanical system model 3, an evaluation unit 4, and an optimization unit 5. Yes.
Here, a command signal instructing the mechanical system 1 to perform a predetermined operation is input to the mechanical system 1. When the mechanical system 1 is an electric motor mechanical system, for example, electric power is supplied to the electric motor and the electric motor torque. It can be comprised with the electric power converter which controls this, and the machine driven by an electric motor.

状態観測部2は、機械システム1の状態量を少なくとも1つ推定または観測するもので、機械システム1の状態量としては、機械システム1の速度あるいは位置などを挙げることができる。
機械システムモデル3は、機械システム1の特性を数値モデル化することにより、機械システム1を模擬し、指令信号に対する応答として模擬状態量を評価部4に出力する。
ここで、機械システム1の特性を数値モデル化する場合、可変構造を有する目的関数で表現することができ、可変構造を有する目的関数としては、以下の式で示す分数多項式で表現された伝達関数を用いることができる。
The state observation unit 2 estimates or observes at least one state quantity of the mechanical system 1. Examples of the state quantity of the mechanical system 1 include the speed or position of the mechanical system 1.
The mechanical system model 3 simulates the mechanical system 1 by modeling the characteristics of the mechanical system 1 and outputs a simulated state quantity to the evaluation unit 4 as a response to the command signal.
Here, when the characteristic of the mechanical system 1 is numerically modeled, it can be expressed by an objective function having a variable structure, and the objective function having a variable structure is a transfer function expressed by a fractional polynomial expressed by the following equation: Can be used.

Figure 0004301049
Figure 0004301049

評価部4は、機械システム1から出力される実状態量および機械システムモデル3から出力される模擬状態量に基づいて、指令信号に対する機械システムモデル3の応答を評価する。
最適化部5は、評価部4による評価結果に基づいて、機械システムモデル3に設定された目的関数の構造を最適化する。
ここで、最適化システム6は、(1)式の伝達関数の変数の全ての組み合わせについて、指令信号に対する機械システムモデル3の応答を評価し、その評価結果の中から最適な評価結果となる変数の組み合わせを抽出することができる。すなわち、(1)式のK、L、anおよびbnを同定することにより、目的関数の構造を可変とすることができる。そして、最適化されるanおよびbnの個数は、Lによって決定することができ、(1)式の分母および分子の次数を決定することができる。
The evaluation unit 4 evaluates the response of the mechanical system model 3 to the command signal based on the actual state quantity output from the mechanical system 1 and the simulated state quantity output from the mechanical system model 3.
The optimization unit 5 optimizes the structure of the objective function set in the mechanical system model 3 based on the evaluation result by the evaluation unit 4.
Here, the optimization system 6 evaluates the response of the mechanical system model 3 to the command signal with respect to all combinations of the variables of the transfer function of the expression (1), and the variable that becomes the optimum evaluation result from the evaluation results. Can be extracted. That is, (1) the K, L, by identifying a n and b n, it is possible to the structure of the objective function and variable. Then, the number of a n and b n to be optimized can be determined by L, it is possible to determine the order of the denominator and numerator of the equation (1).

これにより、目的関数の構造を変化させながら、目的関数の構造について評価することが可能となり、目的関数の構造が設定された範囲で未知な場合においても、目的関数が持つ全ての構造について評価することが可能とる。このため、目的関数の構造が最適化されるように、機械システムモデル3を構築することが可能となり、機械システムモデル3の構造が未知であっても、最適制御を行うことが可能となる。   This makes it possible to evaluate the structure of the objective function while changing the structure of the objective function, and to evaluate all structures of the objective function even when the structure of the objective function is unknown within the set range. Take possible. Therefore, it is possible to construct the mechanical system model 3 so that the structure of the objective function is optimized, and it is possible to perform optimal control even if the structure of the mechanical system model 3 is unknown.

ここで、最適化システム6にて行われる動作は、多変数による探索空間を持つ繰り返し探索のアルゴリズムを用いて実行することができ、繰り返し探索のアルゴリズムとしては、例えば、パーティクル・スウォーム・オプティマイゼーションを用いることができる。
パーティクル・スウォーム・オプティマイゼーションは、簡単化した社会モデルのシミュレーションを通して開発されたモダンヒューリスティック(Modern Heuristic:MH)手法の1つであり、鳥の群れの動きを連続変数の2次元空間で表現することを通して開発された。
Here, the operation performed in the optimization system 6 can be executed using an iterative search algorithm having a search space with multiple variables. As the iterative search algorithm, for example, particle swarm optimization can be performed. Can be used.
Particle swarm optimization is a modern heuristic (MH) method developed through simulation of a simplified social model, and represents the movement of a flock of birds in a two-dimensional space of continuous variables. Developed through.

なお、パーティクル・スウォーム・オプティマイゼーションについては、J.Kennedy and R.Eberhartによる“Particle Swarm Optimization”(Proc. of IEEE International Conference on Neural Networks,Vol.IV,pp.1942−1948,Perth,Australia,1995.)や、吉田・福山他による「電圧信頼度を考慮したParticle Swarm Optimizationによる電圧無効電力制御方式の検討」(電気学会論文誌B,119巻12号,1999年12月)、特開2000−116003「電圧無効電力制御方法」、特開2002−51464「配電系統における状態推定法」などに記載されている。   For particle swarm optimization, see J.A. Kennedy and R.K. “Particle Swarm Optimization” by Eberhart (Proc. Of IEEE International Conference on Neural Networks, Vol. IV, pp. 1942–1948, Perth, Australia, et al. "Study of Voltage Reactive Power Control Method by Swarm Optimization" (The Institute of Electrical Engineers of Japan B, Vol.119, No.12, December 1999), Japanese Patent Application Laid-Open No. 2000-11603 “Voltage Reactive Power Control Method” It is described in the “state estimation method”.

図2は、パーティクル・スウォーム・オプティマイゼーションを適用した場合の図1の制御システムの最適化動作を示すフローチャートである。
図2において、パーティクル・スウォーム・オプティマイゼーションにおける各エージェント(探索点)iの状態変数siおよび速度viの初期値をセットする(ステップS1)。なお、各エージェントiの状態変数siおよび速度viは、設定された範囲でランダムに初期値を決定することができる。また、エージェントiの状態変数siは、機械システムモデル3の目的関数として(1)式の伝達関数を用いた場合、以下の(2)式のように設定することができる。
FIG. 2 is a flowchart showing an optimization operation of the control system of FIG. 1 when the particle swarm optimization is applied.
In FIG. 2, the initial values of the state variable s i and the velocity v i of each agent (search point) i in the particle swarm optimization are set (step S1). Note that the initial values of the state variable s i and the speed v i of each agent i can be determined randomly within a set range. The state variable s i of node i, when using a transfer function (1) as an objective function of the mechanical system model 3 can be set by the following equation (2).

Figure 0004301049
Figure 0004301049

なお、(1)式の変数anおよびbnは、予め与えられるLの探索範囲の最大値Lmaxだけ必要となる。
次に、エージェントiの状態変数siの値を(1)式に代入し、(1)式の全ての変数の組み合わせについて指令信号に対する機械システムモデル3の応答を求める。そして、評価部4にて、機械システムモデル3の模擬状態量と機械システム1の実状態量とを比較することにより、機械システムモデル3の評価を行う(ステップS2)。
なお、エージェントiの変数anおよびbnは、Lが最大値でない限り、分子、分母を考慮し、(Lmax・CL2個の組み合わせを持つことができる。また、機械システムモデル3の評価を行う評価式としては、以下の(3)式に示すように、機械システム1の実状態量と機械システムモデル3の模擬状態量との差分の平方和とすることができる。
Note that (1) the variable a n and b n of formula is required by the maximum value L max of the search range L previously given.
Next, the value of the state variable s i of the agent i is substituted into the expression (1), and the response of the mechanical system model 3 to the command signal is obtained for all combinations of the variables of the expression (1). Then, the evaluation unit 4 evaluates the mechanical system model 3 by comparing the simulated state quantity of the mechanical system model 3 with the actual state quantity of the mechanical system 1 (step S2).
Incidentally, the variable a n and b n of agent i, unless L is not the maximum value, considering molecules, the denominator may have (L max · C L) 2 or a combination. The evaluation formula for evaluating the mechanical system model 3 is the sum of squares of the differences between the actual state quantity of the mechanical system 1 and the simulated state quantity of the mechanical system model 3 as shown in the following expression (3). be able to.

Figure 0004301049
Figure 0004301049

ただし、
Xr(n):状態観測部2で観測された機械システム1の実状態量データ
Xe(n):機械システムモデル3の模擬状態量データ
W(n) :データ点に対する重み関数
F :評価結果
である。
次に、全ての変数の組み合わせについてのエージェントiの状態変数siの評価結果のうち、最も評価の良い組み合わせを抽出行列hiとする(ステップS3)。
例えば、Lmax=2とした場合、エージェントiの変数の組み合わせは、以下の(4)式で示すことができる。
However,
Xr (n): actual state quantity data Xe (n) of the mechanical system 1 observed by the state observing unit 2: simulated state quantity data W (n) of the mechanical system model 3: weighting function F for data points: evaluation result is there.
Next, among the evaluation results of the state variable s i of the agent i for all combinations of variables, the combination with the best evaluation is set as the extraction matrix h i (step S3).
For example, when L max = 2, the combination of variables of agent i can be expressed by the following equation (4).

Figure 0004301049
Figure 0004301049

ここで、L=1、最も評価の良い変数の組み合わせがa1、b2の場合、抽出行列hは、以下の(5)式で示すことができる。 Here, when L = 1 and the combination of variables having the best evaluation is a 1 and b 2 , the extraction matrix h can be expressed by the following equation (5).

Figure 0004301049
Figure 0004301049

次に、次のステップでの各エージェントiの変数を求めるために、以下の(6)式により、各エージェントiの速度vi k+1を求める(ステップS4)。
i m+1=w×vi m+c1×rand()×kpi(pbesti−si m
+c2×rand()×kg(gbest−si m) ・・・(6)
ただし、
i m :エージェントiの速度
rand() :0〜1までの一様乱数
i mは :エージェントiの探索m回目の位置(探索点)
pbesti :エージェントiの探索における目的関数のそれまでの最も良い評価の変数
gbest :pbestiのうち集団の中で最良のもの
w :エージェント速度に対する重み関数
1、c2 :各項に対する重み係数
pi :pbestiの抽出行列h
g :gbestの抽出行列h
である。
Next, in order to obtain the variable of each agent i in the next step, the speed v i k + 1 of each agent i is obtained by the following equation (6) (step S4).
v i m + 1 = w × v i m + c 1 × rand () × k pi (pbest i −s i m )
+ C 2 × rand () × kg (gbest−s i m ) (6)
However,
v i m : velocity of agent i rand (): uniform random number s i m from 0 to 1: position of search for agent i at the mth time (search point)
pbest i : variable of the best evaluation of the objective function so far in search of agent i gbest: the best of the group among pbest i w: weight function for agent speed c 1 , c 2 : weight coefficient for each term k pi : extraction matrix h of pbest i
k g : gbest's extraction matrix h
It is.

ここで、次のステップで求められる新しいエージェントiの値は、pbestiおよびgbestに引き寄せられるが、(6)式で抽出行列hを用いることにより、ステップS2の評価で有効であった変数のみを引き寄せることが可能となる。
そして、(6)式によりエージェントiの速度vi m+1が求まると、次のステップのための新しいエージェントiの状態変数si m+1を以下の(7)式により求める(ステップS5)。
i m+1=si m+vi m+1 ・・・(7)
Here, the value of the new agent i obtained in the next step is drawn to pbest i and gbest, but by using the extraction matrix h in equation (6), only the variables that were valid in the evaluation of step S2 are obtained. It can be drawn.
When the velocity v i m + 1 of the agent i is obtained by the equation (6), the state variable s i m + 1 of the new agent i for the next step is obtained by the following equation (7) (step S5). .
s i m + 1 = s i m + v i m + 1 (7)

そして、ステップS2〜S5の処理が所定の繰り返し数だけ行われると(ステップS6)、gbestの値を目的関数の最適化結果とすることができる(ステップS7)。
これにより、概念が簡単なアルゴリズムを用いることで、次のステップにおける探索点を計算する段階で各探索点を最良評価の探索点に近づける計算を行う際に、目的関数を最良評価の構造に近づけることが可能となる。
このため、無駄な探索の削減を可能としつつ、連続型の変数のままで目的関数の構造の最適化を図ることが可能となり、機械システムモデル3の目的関数が可変かつ連続的な空間をとる場合においても、機械システム1を高速かつ安定して制御することが可能となる。
Then, when the processes of steps S2 to S5 are performed for a predetermined number of repetitions (step S6), the value of gbest can be set as the optimization result of the objective function (step S7).
As a result, by using an algorithm with a simple concept, the objective function is brought closer to the structure of the best evaluation when calculating each search point close to the search point of the best evaluation at the stage of calculating the search point in the next step. It becomes possible.
For this reason, it becomes possible to optimize the structure of the objective function while maintaining the continuous variable while reducing the useless search, and the objective function of the mechanical system model 3 takes a variable and continuous space. Even in this case, the mechanical system 1 can be controlled at high speed and stably.

また、パーティクル・スウォーム・オプティマイゼーションでは、遺伝的アルゴリズムと同様に複数の探索点を持った多点探索で、各探索点の最良値pbestおよび集団の最良値gbestを用いて各探索点を確率的に変更していくことにより、大域最適解(最良解)を得ることができる。
また、パーティクル・スウォーム・オプティマイゼーションでは、これまでの速度を維持しようとする大域探索((2)式の右辺第1項)と、最良値pbest、gbestとを用いてこれらに近づこうとする局所探索((2)式の右辺第2、3項)とをバランスよく行うことができる。
In addition, particle swarm optimization is a multipoint search having a plurality of search points as in the genetic algorithm, and each search point is probabilistic using the best value pbest of each search point and the best value gbest of the group By changing to, a global optimum solution (best solution) can be obtained.
In addition, in particle swarm optimization, a global search (first term on the right side of equation (2)) that tries to maintain the current speed and a local search that tries to approach these using the best values pbest and gbest. (The second and third terms on the right side of equation (2)) can be performed in a well-balanced manner.

さらに、パーティクル・スウォーム・オプティマイゼーションでは、各ステップで目的関数を評価する必要があるが、評価回数は問題の規模によらず、エージェント数のみでよいため、大規模問題への適用を容易に行うことができる。
また、上述した実施形態において、エージェントを評価する(3)式は、目的に応じて自由に設定することができ、例えば、理想的な応答に対する偏差を評価するようにしてもよい。
Furthermore, in particle swarm optimization, it is necessary to evaluate the objective function at each step, but since the number of evaluations is only the number of agents regardless of the scale of the problem, it can be easily applied to large-scale problems. be able to.
In the above-described embodiment, the expression (3) for evaluating the agent can be freely set according to the purpose. For example, a deviation from an ideal response may be evaluated.

また、機械システムモデル3、評価部4および最適化部5は全て計算機内で処理することができるため、状態観測部2模や指令信号などの情報をメモリに格納することにより、機械システムモデル3、評価部4および最適化部5をハード的に切り離すようにしてもよい。
また、上述した実施形態において、機械システムモデル3、評価部4および最適化部5は、複数のコンピュータと通信手段で実現してもよく、例えば、ネットワークに接続されたコンピュータ間でデータの送受信を行ないながら、機械システムモデル3、評価部4および最適化部5の動作を実現するようにしてもよい。
Further, since the mechanical system model 3, the evaluation unit 4 and the optimization unit 5 can all be processed in the computer, the mechanical system model 3 is stored by storing information such as the state observation unit 2 and command signals in the memory. The evaluation unit 4 and the optimization unit 5 may be separated in hardware.
In the above-described embodiment, the mechanical system model 3, the evaluation unit 4, and the optimization unit 5 may be realized by a plurality of computers and communication means. For example, data transmission / reception is performed between computers connected to a network. While performing, you may make it implement | achieve the operation | movement of the mechanical system model 3, the evaluation part 4, and the optimization part 5. FIG.

また、上述した実施形態では、パーティクル・スウォーム・オプティマイゼーションを適用した最適化アルゴリズムを用いることにより、機械システムモデル3、評価部4および最適化部5を動作させる方法について説明したが、遺伝的アルゴリズムなどの繰り返し探索アルゴリズムを用いるようにしてもよい。例えば、パーティクル・スウォーム・オプティマイゼーション以外にも、多変数による探索空間を持つアルゴリズムを用いて目的関数の全ての変数の組み合わせを評価することにより、目的関数の構造を最適化するようにしてもよい。   In the above-described embodiment, the method of operating the mechanical system model 3, the evaluation unit 4, and the optimization unit 5 by using an optimization algorithm to which particle swarm optimization is applied has been described. An iterative search algorithm such as may be used. For example, in addition to particle swarm optimization, the structure of the objective function may be optimized by evaluating all combinations of variables of the objective function using an algorithm having a search space with multiple variables. .

本発明の一実施形態に係る制御システムの概略構成を示すブロック図である。It is a block diagram showing a schematic structure of a control system concerning one embodiment of the present invention. パーティクル・スウォーム・オプティマイゼーションを適用した場合の図1の制御システムの最適化動作を示すフローチャートである。It is a flowchart which shows the optimization operation | movement of the control system of FIG. 1 at the time of applying particle | grain swarm optimization. 従来の機械システムの同定装置の構成を示すブロック図である。It is a block diagram which shows the structure of the identification apparatus of the conventional mechanical system. 図3の模擬回路22の構成を示すブロック図である。FIG. 4 is a block diagram showing a configuration of a simulation circuit 22 in FIG. 3.

符号の説明Explanation of symbols

1 機械システム
2 状態観測部
3 機械システムモデル
4 評価部
5 最適化部
6 最適化システム
DESCRIPTION OF SYMBOLS 1 Mechanical system 2 State observation part 3 Mechanical system model 4 Evaluation part 5 Optimization part 6 Optimization system

Claims (6)

制御対象を模擬した分数多項式で表現された伝達関数で表される目的関数を設定するステップと、
前記伝達関数の変数の全ての組み合わせについて評価するステップと、
前記評価結果に基づいて、前記目的関数の複数の探索点における最良値及び集団の最良値を用いて当該探索点を変更する処理を繰り返して得られる集団の最良値を前記目的関数の最適化結果とするステップとを備えることを特徴とする最適化方法。
Setting an objective function represented by a transfer function expressed by a fractional polynomial that simulates a controlled object;
Evaluating all combinations of variables of the transfer function;
Based on the evaluation results, the optimum of the objective function the best value before Symbol the objective function optimum value and population obtained by repeating the process of changing the search point with the best value of a population at a plurality of search points An optimization method comprising: a step of generating a conversion result.
制御対象を模擬した分数多項式で表現された伝達関数で表される目的関数を設定するステップと、
前記伝達関数の変数の全ての組み合わせをパーティクル・スウォーム・オプティマイゼーションのエージェントとして評価することにより、前記目的関数の構造を最適化するステップとを備えることを特徴とする最適化方法。
Setting an objective function represented by a transfer function expressed by a fractional polynomial that simulates a controlled object ;
By evaluating all combinations of variables of the transfer function as an agent of the particle swarm Optimization, optimization how to characterized in that it comprises a step of optimizing the structure of the objective function.
前記制御対象が電動機機械システムであることを特徴とする請求項1又は2のいずれか1項記載の最適化方法。 The optimization method according to claim 1, wherein the control object is an electric machine system . 制御対象システム指令信号に基づく実状態量を少なくとも1つ観測する状態観測手段と、
前記制御対象システムを模擬した分数多項式で表現された伝達関数で表される目的関数を設定し、前記伝達関数の変数の全ての組み合わせについて、前記指令信号に基づく模擬状態量を出力するシステムモデルと、
前記実状態量および前記模擬状態量に基づいて、前記指令信号に対する前記システムモデルの応答を評価する評価手段と、
前記評価手段による評価結果に基づいて、前記システムモデルに設定された目的関数の複数の探索点における最良値及び集団の最良値を用いて当該探索点を変更する処理を繰り返して得られる集団の最良値を前記目的関数の最適化結果とする最適化手段とを備えることを特徴とする最適化装置。
State observing means for observing at least one actual state quantity based on the command signal of the controlled system ;
A system model that sets an objective function represented by a transfer function expressed by a fractional polynomial that simulates the system to be controlled, and outputs simulated state quantities based on the command signal for all combinations of variables of the transfer function When,
On the basis of the actual state amount and the simulated state variable, and evaluating means for evaluating the response of the system model with respect to the command signal,
Based on the evaluation result by the evaluation means, the best of the group obtained by repeating the process of changing the search point using the best value of the plurality of search points of the objective function set in the system model and the best value of the group An optimization device comprising: optimization means for setting a value as an optimization result of the objective function.
前記制御対象が電動機機械システムであることを特徴とする請求項4記載の最適化装置The optimization apparatus according to claim 4, wherein the controlled object is an electric machine system. 制御対象を模擬した分数多項式で表現された伝達関数で表される目的関数を設定するステップと、
前記伝達関数の変数の全ての組み合わせについて評価するステップと、
前記評価結果に基づいて、前記目的関数の複数の探索点における最良値及び集団の最良値を用いて当該探索点を変更する処理を繰り返して得られる集団の最良値を前記目的関数の最適化結果とするステップとをコンピュータに実行させることを特徴とする最適化プログラム。
Setting an objective function represented by a transfer function expressed by a fractional polynomial that simulates a controlled object;
Evaluating all combinations of variables of the transfer function;
Based on the evaluation results, the optimum of the objective function the best value before Symbol the objective function optimum value and population obtained by repeating the process of changing the search point with the best value of a population at a plurality of search points An optimization program characterized by causing a computer to execute a step as a result of optimization.
JP2004080400A 2004-03-19 2004-03-19 Optimization method, optimization device, and optimization program Expired - Fee Related JP4301049B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004080400A JP4301049B2 (en) 2004-03-19 2004-03-19 Optimization method, optimization device, and optimization program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004080400A JP4301049B2 (en) 2004-03-19 2004-03-19 Optimization method, optimization device, and optimization program

Publications (2)

Publication Number Publication Date
JP2005267363A JP2005267363A (en) 2005-09-29
JP4301049B2 true JP4301049B2 (en) 2009-07-22

Family

ID=35091836

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004080400A Expired - Fee Related JP4301049B2 (en) 2004-03-19 2004-03-19 Optimization method, optimization device, and optimization program

Country Status (1)

Country Link
JP (1) JP4301049B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111679651A (en) * 2020-06-08 2020-09-18 中国人民解放军火箭军工程大学 Identification method and system for variable-structure variable-parameter system caused by fault

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006043460A1 (en) * 2006-09-15 2008-03-27 Man Diesel Se Method for optimizing injection nozzle for internal combustion engine, involves sliding nozzle body and needle axially in bore of body, where particle swarm optimization is used for geometric arrangement of nozzle
EP2158549B1 (en) 2007-05-29 2012-12-05 Commonwealth Scientific and Industrial Research Organisation Monitoring method and apparatus
CN113022538B (en) * 2021-04-02 2022-10-11 中国第一汽车股份有限公司 Motor torque zero-crossing parameter processing method and system and vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111679651A (en) * 2020-06-08 2020-09-18 中国人民解放军火箭军工程大学 Identification method and system for variable-structure variable-parameter system caused by fault

Also Published As

Publication number Publication date
JP2005267363A (en) 2005-09-29

Similar Documents

Publication Publication Date Title
Lin et al. Smart manufacturing scheduling with edge computing using multiclass deep Q network
CN106560997B (en) Machine learning device and motor control device
JP2011076600A (en) Method and system for multi-objective evolutionary algorithm based engineering design optimization
Elsayed et al. A surrogate-assisted differential evolution algorithm with dynamic parameters selection for solving expensive optimization problems
Balakrishna et al. On-policy robot imitation learning from a converging supervisor
CN109202895A (en) The medium of design support apparatus, design support method and design Storage support program
EP3656513A1 (en) Method and system for predicting a motion trajectory of a robot moving between a given pair of robotic locations
Rovithakis et al. High-order neural network structure selection for function approximation applications using genetic algorithms
US20120325782A1 (en) Method and system for determining welding sequences
CN114742231A (en) Multi-objective reinforcement learning method and device based on pareto optimization
Kumar et al. Testing a multi-operator based differential evolution algorithm on the 100-digit challenge for single objective numerical optimization
JP4301049B2 (en) Optimization method, optimization device, and optimization program
KR100902672B1 (en) Apparatus and method for design by using sequential approximate optimizationSAO and record media recorded program for realizing the same
CN109145399A (en) A kind of Fatigue Crack Propagation Prediction method based on improved particle filter algorithm
JP4698578B2 (en) Methods and articles for detecting, verifying, and repairing collinearity
CN113711139B (en) Method and device for controlling a technical device
JP2022070386A (en) Learning method, sequence analysis method, learning device, sequence analysis device, and program
JP2004164426A (en) Output control method, output control system, and output control program
JP6919856B2 (en) Reinforcement learning programs, reinforcement learning methods, and reinforcement learning devices
Li et al. Biased multiobjective optimization for constrained single-objective evolutionary optimization
JP7378309B2 (en) working equipment
Spieth et al. Iteratively inferring gene regulatory networks with virtual knockout experiments
JP2020179438A (en) Computing system and machine learning method
Stork et al. Surrogate-assisted learning of neural networks
CN117807403B (en) Steel transformation control method and device based on behavior cloning, medium and computer equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060914

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080731

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080805

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081006

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090106

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090304

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090331

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

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

Free format text: PAYMENT UNTIL: 20120501

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090413

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

Free format text: PAYMENT UNTIL: 20120501

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20120501

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120501

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130501

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130501

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140501

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees