Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4470855B2 - Model identification device - Google Patents
[go: Go Back, main page]

JP4470855B2 - Model identification device - Google Patents

Model identification device Download PDF

Info

Publication number
JP4470855B2
JP4470855B2 JP2005309727A JP2005309727A JP4470855B2 JP 4470855 B2 JP4470855 B2 JP 4470855B2 JP 2005309727 A JP2005309727 A JP 2005309727A JP 2005309727 A JP2005309727 A JP 2005309727A JP 4470855 B2 JP4470855 B2 JP 4470855B2
Authority
JP
Japan
Prior art keywords
solution
transfer function
equation
unit
matrix
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
Application number
JP2005309727A
Other languages
Japanese (ja)
Other versions
JP2007122141A (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 JP2005309727A priority Critical patent/JP4470855B2/en
Publication of JP2007122141A publication Critical patent/JP2007122141A/en
Application granted granted Critical
Publication of JP4470855B2 publication Critical patent/JP4470855B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Feedback Control In General (AREA)

Description

本発明は、動的システムの周波数特性を示す周波数応答関数から数学的モデルを同定するモデル同定装置に関する。   The present invention relates to a model identification apparatus for identifying a mathematical model from a frequency response function indicating a frequency characteristic of a dynamic system.

測定により事前情報として得られた周波数応答関数H(z)からその特性を示す伝達関数G(z)を導出する問題は、数式1に示すように、上記の伝達関数を構成する分母多項式及び分子多項式の未知係数を未知変数とし、上記の周波数応答関数が示す周波数特性を定数とした連立方程式を定義し、線形連立方程式を解く問題に帰着することができる。

Figure 0004470855
The problem of deriving the transfer function G (z) indicating the characteristic from the frequency response function H (z) obtained as a priori information by the measurement is as follows: By defining an unknown variable of the polynomial as an unknown variable and defining a simultaneous equation with the frequency characteristic indicated by the frequency response function as a constant, it can be reduced to a problem of solving the linear simultaneous equation.
Figure 0004470855

そして、未知変数よりも式の数が多い場合、その解は一意に求まらず、上記の伝達関数の周波数特性と上記の周波数応答関数が示す周波数特性との各周波数点での差の二乗が最小となる線形連立方程式の解を求める最小二乗問題(数式2)となる。

Figure 0004470855
If there are more equations than unknown variables, the solution is not uniquely determined, and the square of the difference at each frequency point between the frequency characteristic of the above transfer function and the frequency characteristic indicated by the above frequency response function. Is a least-squares problem (Equation 2) for finding a solution of a linear simultaneous equation that minimizes.
Figure 0004470855

また、数式2で問題となる線形化による解の偏り(線形化誤差)を解消するために、例えば数式3に示すように解を用いた重みを付加し、重みを更新しながら反復計算を行って収束解を求める。この収束解を伝達関数の係数とする。

Figure 0004470855
Further, in order to eliminate the solution bias (linearization error) due to linearization, which is a problem in Equation 2, for example, weights using the solution are added as shown in Equation 3, and the iterative calculation is performed while updating the weights. Find the convergence solution. Let this converged solution be the coefficient of the transfer function.
Figure 0004470855

以上説明した特許文献1における従来の最小二乗問題では、数式1で示される連立方程式を構成する係数項行列Aにはエラーがなく、測定により得られた各周波数点での周波数特性データで構成される列ベクトルdにのみエラーが存在することを前提として最小二乗解を求めるようになっている。
しかしながら、数式1、数式2に示したように、行列Aには、線形化を行ったことにより、測定で得られた周波数特性が含まれており、行列Aにエラーがないと仮定して得られる最小二乗解には測定誤差に起因する偏り誤差が含まれる欠点がある。
In the conventional least squares problem in Patent Document 1 described above, the coefficient term matrix A constituting the simultaneous equations expressed by Equation 1 has no error and is composed of frequency characteristic data at each frequency point obtained by measurement. The least square solution is obtained on the assumption that an error exists only in the column vector d.
However, as shown in Equations 1 and 2, the matrix A includes the frequency characteristics obtained by the measurement due to the linearization, and is obtained on the assumption that the matrix A has no error. The obtained least squares solution has a drawback that it includes a bias error due to a measurement error.

また、数式3に基づいた反復計算においては、偏り誤差を含んだ解を基に重みを設定することから、測定エラー以外のエラーが行列Aに含まれることになり、反復計算が収束しないか、もしくは収束解が得られても線形化誤差を解消することができないという欠点がある。
これらの欠点を補うために、近年、列ベクトルdだけではなく係数項行列Aにもエラーが含まれることを考慮して連立方程式の最小二乗解を得ることができる手法として総合最小二乗法(Total Least Square)という手法が提案されている(非特許文献2参照)。
In the iterative calculation based on Equation 3, since the weight is set based on the solution including the bias error, an error other than the measurement error is included in the matrix A, and the iterative calculation does not converge, Alternatively, there is a disadvantage that the linearization error cannot be eliminated even if a convergent solution is obtained.
In order to compensate for these drawbacks, a total least square method (Total) is a method that can obtain a least squares solution of simultaneous equations in consideration of the fact that errors are included not only in the column vector d but also in the coefficient term matrix A in recent years. A method called “Last Square” has been proposed (see Non-Patent Document 2).

野田 琢、長岡 直人、「線形化最小二乗方によるARMA過渡現象計算モデルの開発」、電気学会論文誌B部門、114巻4号、1994年、P−396−401Satoshi Noda and Naoto Nagaoka, "Development of ARMA Transient Phenomenon Calculation Model by Linearized Least Squares", IEEJ Transactions B, 114, 1994, P-396-401 Sabine Van Huffel, Joos Vandewalle, “The Total Least Squares Problem Computational Aspects and Analysis”, Society for Industrial and Applied Mathematics, 1991Sabin Van Huffel, Joos Vandwalle, “The Total Least Squares Programmable Aspects and Analysis”, Society for Industrial 91 and Applied.

上記特許文献における総合最小二乗法を数式2、数式3に適用することは、係数項行列Aと列ベクトルbで構成される行列に対して特異値分解を行うことで容易に実行できる。しかし、総合最小二乗法はデータに含まれる過大なエラーに対して従来の最小二乗法に比べて影響を受けやすくなるため、解の精度の劣化や、反復計算を行う際の重みの変化に過敏になり収束解が得られないといった問題がある。   Applying the comprehensive least square method in the above-mentioned patent document to Equations 2 and 3 can be easily performed by performing singular value decomposition on a matrix composed of coefficient term matrix A and column vector b. However, the overall least squares method is more susceptible to excessive errors contained in the data than the conventional least squares method, so it is sensitive to deterioration of the accuracy of the solution and changes in weight when performing iterative calculations. There is a problem that the convergence solution cannot be obtained.

本発明は、このような課題に鑑みてなされたものであり、エラーを含む周波数応答関数を基に伝達関数を同定する場合でも、エラーを考慮した精度の良い最小二乗解を得ることができ、また反復計算の過程での線形化誤差に影響されず、最小二乗解の精度の劣化を回避することができ、更に安定して収束解を得ることができるモデル同定装置を提供することを目的としている。   The present invention has been made in view of such a problem, and even when a transfer function is identified based on a frequency response function including an error, it is possible to obtain an accurate least-squares solution in consideration of the error, It is another object of the present invention to provide a model identification apparatus that can avoid deterioration of the accuracy of the least square solution without being affected by the linearization error in the process of iterative calculation, and that can obtain a convergent solution stably. Yes.

上記目的を達成するために、本発明の請求項1によるモデル同定装置は、動的システムの周波数特性を示す周波数応答関数からs演算子もしくはz演算子の有理関数形式の伝達関数を同定するモデル同定装置において、前記伝達関数の周波数特性と前記周波数応答関数が示す周波数特性との各周波数点での差の二乗を最小にするために、前記伝達関数を構成する分母多項式及び分子多項式の未知係数を未知変数とし、前記周波数応答関数が示す周波数特性を定数とした第1の連立方程式を作成し、この第1の連立方程式に対して総合最小二乗法を用いて得た第1の解xを導出し、この第1の解xを前記第1の連立方程式に代入して得られる残余を定数項として作成した第2の連立方程式に対して総合最小二乗法を用いて得た第2の解eを導出し、これら2つの解x,eの和yを伝達関数の係数とする伝達関数同定手段を備えたことを特徴とする。
この構成によれば、2つの解x,eの和yを伝達関数の係数とする同定処理、即ち、2つの解x,eの和を真の総合最小二乗解yとする同定処理を行うことで、エラーを含む周波数応答関数H(z)を基に伝達関数G(z)を同定する際においても、エラーを考慮した精度のよい最小二乗解を得ることができる。
To achieve the above object, a model identification apparatus according to claim 1 of the present invention identifies a transfer function in the form of a rational function of the s operator or z operator from a frequency response function indicating the frequency characteristics of a dynamic system. In the identification device, in order to minimize the square of the difference at each frequency point between the frequency characteristic of the transfer function and the frequency characteristic indicated by the frequency response function, the unknown coefficient of the denominator polynomial and the numerator polynomial constituting the transfer function Is an unknown variable, and a first simultaneous equation having a frequency characteristic indicated by the frequency response function as a constant is created, and a first solution x obtained by using the general least square method is obtained for the first simultaneous equation. A second solution obtained by using the synthetic least-squares method for the second simultaneous equation that is generated by substituting the first solution x into the first simultaneous equation and generating the residual as a constant term. Derived e , Characterized by comprising a transfer function identification means for the coefficients of these two solutions x, the transfer function of the sum y of e.
According to this configuration, an identification process in which the sum y of the two solutions x and e is a transfer function coefficient, that is, an identification process in which the sum of the two solutions x and e is a true total least squares solution y is performed. Thus, even when the transfer function G (z) is identified based on the frequency response function H (z) including an error, an accurate least-squares solution considering the error can be obtained.

また、本発明の請求項2によるモデル同定装置は、前記伝達関数同定手段は、前記第1の連立方程式に対して重み付き最小二乗法の反復計算を適用し、その重みを、前記第1の連立方程式に対し総合最小二乗法を用いて得た第1の解xと、この第1の解xを前記第2の連立方程式に代入して得られる残余を定数項として作成した第2の連立方程式に対して総合最小二乗法を用いて得た解eとの和yを基に設定し、前記反復計算を、前記二つの解x,eの和yを代入して得られる伝達関数の周波数応答特性と前記周波数応答関数の周波数特性との相対偏差が設定した閾値を下回っていた場合、もしくは反復計算の前回得られた解と今回得られた解の相対誤差が設定した閾値を下回っていた場合に終了することを特徴とする。
この構成によれば、重みwを更新して再度、伝達関数の係数(真の総合最小二乗解)yを求める反復計算の過程での線形化誤差に影響されず、解の精度の劣化を回避することができ、更に、真の総合最小二乗解yのみで重みwの更新を行うことで、安定に収束解を得ることができる。
Further, in the model identification apparatus according to claim 2 of the present invention, the transfer function identification means applies an iterative calculation of a weighted least squares method to the first simultaneous equations, and the weight is set to the first equation. A first solution x obtained by using the general least squares method for the simultaneous equations, and a second simultaneous system in which the residual obtained by substituting the first solution x into the second simultaneous equations is used as a constant term The frequency of the transfer function obtained by setting the equation y based on the sum y with the solution e obtained using the general least squares method and substituting the sum y of the two solutions x and e. When the relative deviation between the response characteristic and the frequency characteristic of the frequency response function is less than the set threshold value, or the relative error between the previous solution obtained and the solution obtained this time is less than the set threshold value. It is characterized by ending in case.
According to this configuration, the weight w is updated and the transfer function coefficient (true total least squares solution) y is obtained again, and is not affected by the linearization error in the process of iterative calculation, thereby avoiding deterioration of the accuracy of the solution. Furthermore, by updating the weight w only with the true total least squares solution y, a convergent solution can be obtained stably.

以上説明したように本発明によれば、エラーを含む周波数応答関数を基に伝達関数を同定する場合でも、エラーを考慮した精度の良い最小二乗解を得ることができ、また反復計算の過程での線形化誤差に影響されず、最小二乗解の精度の劣化を回避することができ、更に安定して収束解を得ることができるという効果がある。   As described above, according to the present invention, even when a transfer function is identified on the basis of a frequency response function including an error, an accurate least square solution considering the error can be obtained, and in the process of iterative calculation. Thus, there is an effect that the accuracy of the least squares solution can be avoided without being affected by the linearization error, and a convergent solution can be obtained more stably.

以下、本発明の実施の形態を、図面を参照して説明する。但し、本明細書中の全図において相互に対応する部分には同一符号を付し、重複部分においては後述での説明を適時省略する。
(第1の実施の形態)
図1は、本発明の第1の実施の形態に係るモデル同定装置の構成を示す図である。
図1に示すモデル同定装置10は、関数読込部12及び伝達関数同定部14を備えて構成され、伝達関数同定部14は、第1の連立方程式作成部16と、第1の行列作成部18と、第1の特異値分解部20と、第1の総合最小二乗解計算部22と、残余計算部24と、第2の連立方程式作成部26と、第2の行列作成部28と、第2の特異値分解部30と、第2の総合最小二乗解計算部32と、総合最小二乗解加算部34とを備えて構成されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, parts corresponding to each other in all the drawings in this specification are denoted by the same reference numerals, and description of the overlapping parts will be omitted as appropriate.
(First embodiment)
FIG. 1 is a diagram showing a configuration of a model identification apparatus according to the first embodiment of the present invention.
A model identification apparatus 10 shown in FIG. 1 includes a function reading unit 12 and a transfer function identification unit 14, and the transfer function identification unit 14 includes a first simultaneous equation creation unit 16 and a first matrix creation unit 18. A first singular value decomposition unit 20, a first total least squares solution calculation unit 22, a residual calculation unit 24, a second simultaneous equation creation unit 26, a second matrix creation unit 28, 2 singular value decomposition unit 30, second total least square solution calculation unit 32, and total least square solution addition unit 34.

関数読込部12は、対象となる動的システムの周波数特性を示す周波数応答関数H(z)を読み込むものである。
第1の連立方程式作成部16は、その読み込まれた周波数応答関数H(z)を基に、次数をpと仮定した伝達関数G(z)を定義し、この伝達関数G(z)を構成する分母多項式及び分子多項式の未知係数を未知変数とし、周波数応答関数H(z)が示す周波数特性を定数とした連立方程式(数式1)を作成するものである。
第1の行列作成部18は、数式1に示す係数項行列Aと定数項列ベクトルdを用いてm行2p+2列の行列B(数式4)を作成するものである。

Figure 0004470855
The function reading unit 12 reads a frequency response function H (z) indicating the frequency characteristic of the target dynamic system.
Based on the read frequency response function H (z), the first simultaneous equation creating unit 16 defines a transfer function G (z) assuming that the order is p, and constructs this transfer function G (z). A simultaneous equation (Formula 1) is created with the unknown coefficients of the denominator polynomial and the numerator polynomial as unknown variables and the frequency characteristics indicated by the frequency response function H (z) as constants.
The first matrix creation unit 18 creates an m-row 2p + 2-column matrix B (Formula 4) using the coefficient term matrix A and the constant term column vector d shown in Formula 1.
Figure 0004470855

第1の特異値分解部20は、数式4に示す行列Bの特異値分解を行うものである(数式5)。

Figure 0004470855
The first singular value decomposition unit 20 performs singular value decomposition of the matrix B shown in Expression 4 (Expression 5).
Figure 0004470855

ここで、行列Uは左特異列ベクトルで構成されるm行m列の直交行列、行列Vは右特異ベクトルで構成される2p+2行2p+2列の直交行列、行列Sは対角要素が特異値で構成されるm行2p+2列の対角行列である。
第1の総合最小二乗解計算部22は、行列Vの2p+2列目の列ベクトルを用いて、数式1の第1の総合最小二乗解xを計算するものである(数式6)。

Figure 0004470855
Here, the matrix U is an m-by-m orthogonal matrix composed of left singular column vectors, the matrix V is a 2p + 2 × 2p + 2 column orthogonal matrix composed of right singular vectors, and the matrix S has singular values in diagonal elements. This is a diagonal matrix with m rows and 2p + 2 columns.
The first total least squares solution calculation unit 22 calculates the first total least squares solution x of Formula 1 using the 2p + 2 column vector of the matrix V (Formula 6).
Figure 0004470855

ここで、vi,jは行列Vのi行j列目の要素を示す。
残余計算部24は、第1の総合最小二乗解計算部22で得られた解xを数式1に代入し、数式1の残余rを計算するものである(数式7)。

Figure 0004470855
Here, v i, j represents the element in the i-th row and j-th column of the matrix V.
The residual calculation unit 24 substitutes the solution x obtained by the first total least squares solution calculation unit 22 into Equation 1 to calculate the residual r of Equation 1 (Equation 7).
Figure 0004470855

第2の連立方程式作成部26は、数式7で求まった残余rと数式1の係数項行列Aを用いて、変数eとした新しい連立方程式を作成するものである(数式8)。

Figure 0004470855
The second simultaneous equation creating unit 26 creates a new simultaneous equation with the variable e using the residual r obtained by Equation 7 and the coefficient term matrix A of Equation 1 (Equation 8).
Figure 0004470855

第2の行列作成部28は、第1の行列作成部18のように、係数項行列Aと定数項列ベクトルrを用いてm行2p+2列の行列C(数式9)を作成するものである。

Figure 0004470855
Like the first matrix creation unit 18, the second matrix creation unit 28 creates a matrix C (formula 9) of m rows 2p + 2 columns using the coefficient term matrix A and the constant term column vector r. .
Figure 0004470855

第2の特異値分解部30は、第1の特異値分解部20のように、数式9に示す行列Cの特異値分解を行うものである(数式10)。

Figure 0004470855
Like the first singular value decomposition unit 20, the second singular value decomposition unit 30 performs singular value decomposition of the matrix C shown in Expression 9 (Expression 10).
Figure 0004470855

ここで、行列Ucは左特異列ベクトルで構成されるm行m列の直交行列、行列Vcは右特異ベクトルで構成される2p+2行2p+2列の直交行列、行列Scは対角要素が特異値で構成されるm行2p+2列の対角行列である。
第2の総合最小二乗解計算部32は、行列Vcの2p+2列目の列ベクトルを用いて、数式8の第2の総合最小二乗解eを計算するものである(数式11)。

Figure 0004470855
Here, the matrix Uc is an m-row m-column orthogonal matrix composed of left singular column vectors, the matrix Vc is a 2p + 2 × 2p + 2-column orthogonal matrix composed of right singular vectors, and the matrix Sc has diagonal elements with singular values. This is a diagonal matrix with m rows and 2p + 2 columns.
The second total least squares solution calculation unit 32 calculates the second total least squares solution e of Formula 8 using the 2p + 2 column column vector of the matrix Vc (Formula 11).
Figure 0004470855

ここで、vci,jは行列Vcのi行j列目の要素を示す。
総合最小二乗解加算部34は、第1と第2の2つの総合最小二乗解x,eの和yを計算し、このyを数式1の真の総合最小二乗解とするものである。
このような構成のモデル同定装置10による伝達関数G(z)の同定処理の動作を、図2に示すフローチャートを参照して説明する。
Here, v ci, j indicates the element in the i-th row and j-th column of the matrix Vc.
The total least square solution adding unit 34 calculates the sum y of the first and second total least square solutions x and e, and sets this y as the true total least square solution of Equation 1.
The operation of the transfer function G (z) identification process by the model identification apparatus 10 having such a configuration will be described with reference to the flowchart shown in FIG.

ステップS1において、関数読込部12で対象となる動的システムの周波数特性を示す周波数応答関数H(z)が読み込まれる。ステップS2において、上記ステップS1で読み込まれた周波数応答関数H(z)を基に、次数をpと仮定した伝達関数G(z)が定義され、この伝達関数を構成する分母多項式及び分子多項式の未知係数が未知変数とされ、先の周波数応答関数H(z)が示す周波数特性を定数とした数式1の連立方程式Ax=dが作成される。   In step S1, the function reading unit 12 reads a frequency response function H (z) indicating the frequency characteristic of the target dynamic system. In step S2, a transfer function G (z) assuming the order as p is defined based on the frequency response function H (z) read in step S1, and a denominator polynomial and a numerator polynomial constituting the transfer function are defined. The unknown coefficient is set as an unknown variable, and simultaneous equations Ax = d of Formula 1 are created with the frequency characteristic indicated by the frequency response function H (z) as a constant.

続いて、ステップS3において、第1の行列作成部18で数式1に示す係数項行列Aと定数項列ベクトルdが用いられて、数式4のm行2p+2列の行列B=[A d]が作成される。ステップS4において、数式4に示す行列Bの特異値分解が数式5のB=USVTように行われる。
そして、ステップS5において、第1の総合最小二乗解計算部22にて、数式5における前述した行列Vの2p+2列目の列ベクトルが用いられて、数式1の第1の総合最小二乗解xが数式6のように計算される。
Subsequently, in step S3, the coefficient term matrix A and the constant term column vector d shown in Formula 1 are used in the first matrix creation unit 18, and the matrix B = [A d] of m rows 2p + 2 columns in Formula 4 is obtained. Created. In step S4, the singular value decomposition of the matrix B shown in Equation 4 is performed as B = USV T in Equation 5.
In step S5, the first total least squares solution calculation unit 22 uses the column vector in the 2p + 2 column of the matrix V described above in Formula 5 to obtain the first total least squares solution x in Formula 1. It is calculated as Equation 6 below.

次に、ステップS6において、上記ステップS5で得られた解xが数式1に代入され、数式1の残余rが数式7のr=d−Axのように計算される。
ステップS7において、数式7で求まった残余rと数式1の係数項行列Aとが用いられて、変数eとされた新しい連立方程式が数式8のAe=rのように作成される。
次に、ステップS8において、上記ステップS3のように、第2の行列作成部28にて係数項行列Aと定数項列ベクトルrが用いられて、数式9のC=[A r]の行列が作成される。
Next, in step S6, the solution x obtained in step S5 is substituted into Equation 1, and the residual r in Equation 1 is calculated as r = d−Ax in Equation 7.
In step S 7, a new simultaneous equation with variable e is created as Ae = r in Equation 8 using the residual r obtained in Equation 7 and the coefficient term matrix A in Equation 1.
Next, in step S8, the coefficient term matrix A and the constant term column vector r are used in the second matrix creation unit 28 as in step S3, and the matrix of C = [A r] in Expression 9 is obtained. Created.

ステップS9において、上記ステップS4のように、数式9に示す行列Cの特異値分解が数式10のC=UcScVcTように行われる。
ステップS10において、数式9における前述した行列Vcの2p+2列目の列ベクトルが用いられて、数式8の第2の総合最小二乗解eが数式11のように計算される。
そして、ステップS11において、総合最小二乗解加算部34にて上記ステップS5とS10で得られた2つの解x、eの和である真の総合最小二乗解yが計算されて処理が終了する。
In step S9, as in step S4, the singular value decomposition of the matrix C shown in equation 9 is performed as C = UcScVc T in equation 10.
In step S10, the second total least squares solution e of Expression 8 is calculated as Expression 11 using the column vector of the 2p + 2 column of the matrix Vc described above in Expression 9.
In step S11, the total least squares solution adding unit 34 calculates a true total least squares solution y that is the sum of the two solutions x and e obtained in steps S5 and S10, and the process ends.

このように第1の実施の形態のモデル同定装置10によれば、周波数応答関数H(z)が示す周波数特性を定数とし、同定する伝達関数G(z)を構成する分母多項式及び分子多項式の未知係数を未知変数とした連立方程式に対して第1の総合最小二乗解xを求め、更に、その解xを基に残余を計算し、その残余から残余に対する第2の総合最小二乗解eを計算し、2つの解x,eの和を真の総合最小二乗解yとする処理を行うことで、エラーを含む周波数応答関数H(z)を基に伝達関数G(z)を同定する際においても、エラーを考慮した精度のよい最小二乗解を得ることができる。   As described above, according to the model identification apparatus 10 of the first embodiment, the frequency characteristic indicated by the frequency response function H (z) is a constant, and the denominator polynomial and the numerator polynomial constituting the transfer function G (z) to be identified are A first total least squares solution x is obtained for simultaneous equations with unknown coefficients as unknown variables, and a residue is calculated based on the solution x, and a second total least squares solution e for the residue is obtained from the residue. When the transfer function G (z) is identified on the basis of the frequency response function H (z) including an error by performing a process of calculating and adding the sum of the two solutions x and e to a true total least squares solution y In the case of, it is possible to obtain an accurate least-squares solution considering an error.

(第2の実施の形態)
図5は、本発明の第2の実施の形態に係るモデル同定装置の構成を示す図である。
図5に示すモデル同定装置40は、関数読込部12と、重み初期設定部42と、伝達関数同定部44を備えて構成され、伝達関数同定部44は、第1の連立方程式作成部16と、第1の行列作成部18と、第1の特異値分解部20と、第1の総合最小二乗解計算部22と、残余計算部24と、第2の連立方程式作成部26と、第2の行列作成部28と、第2の特異値分解部30と、第2の総合最小二乗解計算部32と、総合最小二乗解加算部34と、計算収束判定部46と、重み更新部48とを備えて構成されている。
(Second Embodiment)
FIG. 5 is a diagram showing a configuration of a model identification apparatus according to the second embodiment of the present invention.
The model identification device 40 shown in FIG. 5 includes a function reading unit 12, a weight initial setting unit 42, and a transfer function identification unit 44. The transfer function identification unit 44 includes the first simultaneous equation creation unit 16 and The first matrix creation unit 18, the first singular value decomposition unit 20, the first total least squares solution calculation unit 22, the residual calculation unit 24, the second simultaneous equation creation unit 26, and the second Matrix creation unit 28, second singular value decomposition unit 30, second total least square solution calculation unit 32, total least square solution addition unit 34, calculation convergence determination unit 46, weight update unit 48, It is configured with.

重み初期設定部42は、重み(重み係数)の初期設定を行うものである。但し、重みの初期設定は単位行列を使う。
計算収束判定部46は、真の総合最小二乗解yを求める計算の収束判定を後述で説明するように行い、収束していないと判定された場合に、その未収束の判定結果を重み更新部48へ出力する。
反復計算の収束判定は、同定の収束性もしくは解の収束性を判別して打ち切り判定を行う。例えば、真の総合最小二乗解yを代入して得られる伝達関数の周波数応答特性と周波数応答関数の周波数特性との相対偏差が設定された閾値を下回っていた場合(数式12)、又は反復過程の前回の計算で得られた解と今回得られた解の相対誤差が設定した閾値を下回っていた場合(数式13)に反復計算を打ち切る。

Figure 0004470855
The weight initial setting unit 42 performs initial setting of weights (weight coefficients). However, the unit matrix is used for the initial setting of weights.
The calculation convergence determination unit 46 performs the convergence determination of the calculation for obtaining the true total least squares solution y as will be described later. When it is determined that the convergence has not been achieved, the unconvergence determination result is used as the weight update unit. Output to 48.
The convergence determination of the iterative calculation is performed by determining the convergence of the identification or the convergence of the solution and performing an abort determination. For example, when the relative deviation between the frequency response characteristic of the transfer function obtained by substituting the true total least squares solution y and the frequency characteristic of the frequency response function is below a set threshold (Formula 12), or an iterative process When the relative error between the solution obtained in the previous calculation and the solution obtained this time is below the set threshold (Formula 13), the iterative calculation is terminated.
Figure 0004470855

Figure 0004470855
Figure 0004470855

重み更新部48は、計算収束判定部46から未収束の判定結果が入力された場合に、重み(重み係数)の更新を行って第1の連立方程式作成部16へ出力する。その重みは数式3に示したように、伝達関数同定部44の構成要素16〜34,46,48の順に行われる反復計算の過程での前回の計算で得られた真の総合最小二乗解yを基に設定する。この重みを更新した後、再度、第1の連立方程式作成部16に戻って順次同様の処理にて真の総合最小二乗解yの計算を行うようになっている。   When the unconvergence determination result is input from the calculation convergence determination unit 46, the weight update unit 48 updates the weight (weight coefficient) and outputs it to the first simultaneous equation creation unit 16. As shown in Equation 3, the weight is a true total least squares solution y obtained in the previous calculation in the process of iterative calculation performed in the order of the components 16 to 34, 46, and 48 of the transfer function identification unit 44. Set based on. After updating this weight, the process returns to the first simultaneous equation creating unit 16 again, and the true total least squares solution y is sequentially calculated by the same process.

このような構成のモデル同定装置40による伝達関数G(z)の同定処理の動作を、図4に示すフローチャートを参照して説明する。
ステップS21にて関数読込部12で周波数応答関数H(z)が読み込まれ、ステップS22にて、重み初期設定部42にて重みw=1とする初期設定が行われる。この後、ステップS23〜S32においては、上記第1の実施の形態のステップS2〜S11と同様に処理が行われる。この処理にて真の総合最小二乗解yが求められると、ステップS33において、計算収束判定部46にて収束判定が行われる。この結果、収束していないと判断された場合は、ステップS34において、重み更新部48にて重みwが数式3に示すように、反復過程の前回の計算で得られた真の総合最小二乗解yを基に更新される。この更新後、ステップS23に戻り、その更新された重みwが第1の連立方程式作成部16に設定された後、上記同様に再度、真の総合最小二乗解yが求められる。そして、ステップS33にて計算の収束判定が行われ、この結果、何れかの上記閾値を下回っていた場合、反復計算が打ち切られ、所定の伝達関数G(z)が得られる。
The operation of the transfer function G (z) identification process by the model identification device 40 having such a configuration will be described with reference to the flowchart shown in FIG.
In step S21, the function reading unit 12 reads the frequency response function H (z), and in step S22, the weight initial setting unit 42 performs initial setting with the weight w = 1. Thereafter, in steps S23 to S32, processing is performed in the same manner as in steps S2 to S11 of the first embodiment. When the true total least squares solution y is obtained in this process, the convergence determination is performed by the calculation convergence determination unit 46 in step S33. As a result, if it is determined that it has not converged, the true total least squares solution obtained in the previous calculation of the iterative process as shown in Formula 3 in the weight update unit 48 in step S34. Updated based on y. After this update, the process returns to step S23, and after the updated weight w is set in the first simultaneous equation creating unit 16, the true total least squares solution y is again obtained in the same manner as described above. Then, in step S33, calculation convergence is determined. As a result, if any of the threshold values is below, the iterative calculation is terminated and a predetermined transfer function G (z) is obtained.

このように第2の実施の形態のモデル同定装置40によれば、上記第1の実施の形態と同様にエラーを含む周波数応答関数を基に伝達関数を同定する際においても、エラーを考慮した精度のよい最小二乗解を得ることができる。また、重みwを更新して再度、真の総合最小二乗解yを求める反復計算の過程での線形化誤差に影響されず、解の精度の劣化を回避することができ、更に、真の総合最小二乗解yのみで重みwの更新を行うことで、安定に収束解を得ることができる。   As described above, according to the model identification device 40 of the second embodiment, the error is taken into account when the transfer function is identified based on the frequency response function including the error as in the first embodiment. An accurate least squares solution can be obtained. In addition, it is possible to avoid deterioration of the accuracy of the solution without being affected by the linearization error in the process of iterative calculation to obtain the true total least squares solution y again by updating the weight w, and further, the true total By updating the weight w with only the least squares solution y, a convergent solution can be obtained stably.

本発明の第1の実施の形態に係るモデル同定装置の構成を示す図である。It is a figure which shows the structure of the model identification apparatus which concerns on the 1st Embodiment of this invention. 第1の実施の形態に係るモデル同定装置による伝達関数の同定処理の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the identification process of the transfer function by the model identification apparatus which concerns on 1st Embodiment. 本発明の第2の実施の形態に係るモデル同定装置の構成を示す図である。It is a figure which shows the structure of the model identification apparatus which concerns on the 2nd Embodiment of this invention. 第2の実施の形態に係るモデル同定装置による伝達関数の同定処理の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the identification process of the transfer function by the model identification apparatus which concerns on 2nd Embodiment.

符号の説明Explanation of symbols

10,40 モデル同定装置
12 関数読込部
14,44 伝達関数同定部
16 第1の連立方程式作成部
18 第1の行列作成部
20 第1の特異値分解部
22 第1の総合最小二乗解計算部
24 残余計算部
26 第2の連立方程式作成部
28 第2の行列作成部
30 第2の特異値分解部
32 第2の総合最小二乗解計算部
34 総合最小二乗解加算部
42 重み初期設定部
46 計算収束判定部
48 重み更新部
DESCRIPTION OF SYMBOLS 10,40 Model identification apparatus 12 Function reading part 14,44 Transfer function identification part 16 1st simultaneous equation creation part 18 1st matrix creation part 20 1st singular value decomposition part 22 1st total least squares solution calculation part 24 residual calculation unit 26 second simultaneous equation creation unit 28 second matrix creation unit 30 second singular value decomposition unit 32 second total least square solution calculation unit 34 total least square solution addition unit 42 weight initial setting unit 46 Calculation convergence determination unit 48 Weight update unit

Claims (2)

動的システムの周波数特性を示す周波数応答関数からs演算子もしくはz演算子の有理関数形式の伝達関数を同定するモデル同定装置において、
前記伝達関数の周波数特性と前記周波数応答関数が示す周波数特性との各周波数点での差の二乗を最小にするために、前記伝達関数を構成する分母多項式及び分子多項式の未知係数を未知変数とし、前記周波数応答関数が示す周波数特性を定数とした第1の連立方程式を作成し、この第1の連立方程式に対して総合最小二乗法を用いて得た第1の解xを導出し、この第1の解xを前記第1の連立方程式に代入して得られる残余を定数項として作成した第2の連立方程式に対して総合最小二乗法を用いて得た第2の解eを導出し、これら2つの解x,eの和yを伝達関数の係数とする伝達関数同定手段
を備えたことを特徴とするモデル同定装置。
In a model identification apparatus for identifying a transfer function in a rational function form of an s operator or a z operator from a frequency response function indicating a frequency characteristic of a dynamic system,
In order to minimize the square of the difference at each frequency point between the frequency characteristic of the transfer function and the frequency characteristic indicated by the frequency response function, unknown coefficients of the denominator polynomial and the numerator polynomial constituting the transfer function are used as unknown variables. A first simultaneous equation having a frequency characteristic indicated by the frequency response function as a constant is created, and a first solution x obtained by using the general least square method is derived for the first simultaneous equation, Deriving a second solution e obtained by using the general least squares method for a second simultaneous equation created by substituting the first solution x into the first simultaneous equation as a constant term. A model identification apparatus comprising: a transfer function identification unit that uses a sum y of these two solutions x and e as a coefficient of a transfer function.
前記伝達関数同定手段は、前記第1の連立方程式に対して重み付き最小二乗法の反復計算を適用し、
その重みを、前記第1の連立方程式に対し総合最小二乗法を用いて得た第1の解xと、この第1の解xを前記第2の連立方程式に代入して得られる残余を定数項として作成した第2の連立方程式に対して総合最小二乗法を用いて得た解eとの和yを基に設定し、
前記反復計算を、前記二つの解x,eの和yを代入して得られる伝達関数の周波数応答特性と前記周波数応答関数の周波数特性との相対偏差が設定した閾値を下回っていた場合、もしくは反復計算の前回得られた解と今回得られた解の相対誤差が設定した閾値を下回っていた場合に終了する
ことを特徴とする請求項1に記載のモデル同定装置。
The transfer function identifying means applies an iterative calculation of a weighted least square method to the first simultaneous equations,
A first solution x obtained by using an overall least square method for the first simultaneous equations and a weight obtained by substituting the first solution x into the second simultaneous equations are constants. Based on the sum y with the solution e obtained using the general least squares method for the second simultaneous equation created as a term,
When the relative deviation between the frequency response characteristic of the transfer function obtained by substituting the sum y of the two solutions x and e and the frequency characteristic of the frequency response function is less than a set threshold value, or The model identification apparatus according to claim 1, wherein the model identification apparatus ends when a relative error between a solution obtained in the previous iteration and a solution obtained this time is below a set threshold value.
JP2005309727A 2005-10-25 2005-10-25 Model identification device Expired - Lifetime JP4470855B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005309727A JP4470855B2 (en) 2005-10-25 2005-10-25 Model identification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005309727A JP4470855B2 (en) 2005-10-25 2005-10-25 Model identification device

Publications (2)

Publication Number Publication Date
JP2007122141A JP2007122141A (en) 2007-05-17
JP4470855B2 true JP4470855B2 (en) 2010-06-02

Family

ID=38145958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005309727A Expired - Lifetime JP4470855B2 (en) 2005-10-25 2005-10-25 Model identification device

Country Status (1)

Country Link
JP (1) JP4470855B2 (en)

Also Published As

Publication number Publication date
JP2007122141A (en) 2007-05-17

Similar Documents

Publication Publication Date Title
JP5821972B2 (en) Output value correction method for physical quantity sensor device, output value correction method for physical quantity sensor, physical quantity sensor device, and output value correction device for physical quantity sensor
US10394979B2 (en) Method and device for elastic object deformation modeling
CN105069826B (en) The modeling method of elastomeric objects amoeboid movement
Ma et al. Robust uncalibrated visual servoing control based on disturbance observer
JP5803751B2 (en) Center-of-gravity trajectory generation apparatus, generation method thereof, and program
Rab et al. Comparison of Monte Carlo Simulation, Least Square Fitting and Calibration Factor Methods for the Evaluation of Measurement Uncertainty Using Direct Pressure Indicating Devices: S. Rab et al.
Wang et al. The search for feedback in reinforcement learning
Pradhan et al. A two-stage approach to updating of mass, stiffness and damping matrices
CN107247828A (en) A kind of structural finite element model updating method based on inverse kriging functions
Andrés Arcones et al. Model bias identification for Bayesian calibration of stochastic digital twins of bridges
JPH0695707A (en) Model predictive controller
JP4470855B2 (en) Model identification device
WO2019128056A1 (en) Method and device for determining temperature coefficient
JP2009211681A (en) Coefficient calculation device, coefficient calculation method, and coefficient calculation program of constructive equation of superelastic material
JP5399938B2 (en) Polynomial generator for estimation, estimation apparatus, polynomial generation method for estimation, and estimation method
JP4485896B2 (en) PID controller
JP2008250981A (en) Design support apparatus, design support program, design support method, and semiconductor circuit manufacturing method
Bluemm et al. Correcting nonlinearity and temperature influence of sensors through B-spline modeling
JP2005339004A (en) Control device, control parameter adjustment device, control parameter adjustment method, program, and recording medium
JP3626066B2 (en) Calculation apparatus and calculation method
CN114020018B (en) Determination method and device of missile control strategy, storage medium and electronic equipment
JP5846303B2 (en) Learning apparatus and learning method for setting calculation system
CN121018669B (en) Three-dimensional continuous shape estimation method and system for flexible robot
Dietze et al. Reduced basis model predictive control for semilinear parabolic partial differential equations
JP2005293434A (en) PARAMETER DETERMINING DEVICE, CONTROL DEVICE EQUIPPED WITH THE SAME, PARAMETER DETERMINING METHOD, PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080916

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100204

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100209

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100222

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

Free format text: PAYMENT UNTIL: 20130312

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4470855

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130312

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

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140312

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term