JP4529964B2 - Simulation device, simulation method, and simulation program - Google Patents

Simulation device, simulation method, and simulation program Download PDF

Info

Publication number
JP4529964B2
JP4529964B2 JP2006255604A JP2006255604A JP4529964B2 JP 4529964 B2 JP4529964 B2 JP 4529964B2 JP 2006255604 A JP2006255604 A JP 2006255604A JP 2006255604 A JP2006255604 A JP 2006255604A JP 4529964 B2 JP4529964 B2 JP 4529964B2
Authority
JP
Japan
Prior art keywords
simulation
simulation model
value
variable
time
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
JP2006255604A
Other languages
Japanese (ja)
Other versions
JP2008077376A (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.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2006255604A priority Critical patent/JP4529964B2/en
Publication of JP2008077376A publication Critical patent/JP2008077376A/en
Application granted granted Critical
Publication of JP4529964B2 publication Critical patent/JP4529964B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Feedback Control In General (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明は、対象の状態を推定するモデルを作成するシミュレーション装置に関する。   The present invention relates to a simulation apparatus for creating a model for estimating a target state.

対象の物理的なモデルを正確に得ることができれば、ある目的に適合するように所定の操作を加えて対象を精密に制御することが可能である。しかし、実際の対象は、各種の要素が相互に複雑に関係しており、正確な物理モデルを構築することは困難であることが多い。そこで、特許文献1に記載の技術では、まず、エンジンの物理的な性質を考慮したシミュレーションモデルを設定すると共に、実機で粗く実測する。次に、シミュレーションモデルにより算出された出力データを修正関数で修正することで、出力データの最終適合値を決定している。   If the physical model of the object can be accurately obtained, it is possible to precisely control the object by applying a predetermined operation so as to meet a certain purpose. However, in actual objects, various elements are intricately related to each other, and it is often difficult to construct an accurate physical model. Therefore, in the technique described in Patent Document 1, first, a simulation model is set in consideration of the physical properties of the engine, and roughly measured with an actual machine. Next, the final fit value of the output data is determined by correcting the output data calculated by the simulation model with a correction function.

特開2004−178247号公報JP 2004-178247 A

しかしながら、シミュレーションモデルは、所定の入力データに対するエンジンの状態を示す実測データを基に設定されるため、経時変化による誤差を含む可能性がある。即ち、所定の入力データを複数の範囲に分けて、所定時間毎に1つの範囲における入力データに対する実測データを計測すると、各範囲毎に計測された実測データ間には、経時変化による誤差が生じる。そのため、当該実測データを基に作成されたシミュレーションモデルには、経時変化による誤差が紛れ込む。この場合、シミュレーションモデルより出力される出力データの精度は悪くなる。   However, since the simulation model is set based on actual measurement data indicating the state of the engine with respect to predetermined input data, there is a possibility that an error due to a change with time is included. That is, when predetermined input data is divided into a plurality of ranges and measured data for input data in one range is measured every predetermined time, an error due to a change over time occurs between the measured data measured for each range. . Therefore, an error due to a change with time is mixed in the simulation model created based on the actual measurement data. In this case, the accuracy of the output data output from the simulation model is deteriorated.

これに対処する1つ目の方法として、経時変化による誤差を偶然誤差に紛れ込ませて、シミュレーションモデルを作成する方法があるが、これによって作成されたシミュレーションモデルであっても、偶然誤差自体が大きくなるため、出力データの精度は悪くなる。   As a first method for dealing with this, there is a method in which an error due to a change over time is included in a chance error and a simulation model is created. Even in a simulation model created by this, the chance error itself is large. Therefore, the accuracy of the output data is deteriorated.

また、2つ目の対処する方法として、入力データの値をランダムに変えて計測された実測データを基にシミュレーションモデルを作成する方法があるが、この場合には、入力データの値をランダムに変えるのに時間がかかる(例えば、入力データとしてエンジンの回転数を用いた場合には、当該エンジンの回転数をランダムに変えるのに時間がかかる)ため、実測データの計測に時間がかかる。   In addition, as a second method to cope with, there is a method of creating a simulation model based on actually measured data obtained by changing the value of the input data at random. In this case, the value of the input data is randomly selected. Since it takes time to change (for example, when the engine speed is used as input data, it takes time to change the engine speed randomly), it takes time to measure actually measured data.

本発明は、上記のような課題を解決するためになされたものであり、より精度の高い出力データを求めることのできるシミュレーション装置を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a simulation apparatus that can obtain output data with higher accuracy.

本発明の1つの観点では、対象の状態を推定するモデルを作成するシミュレーション装置は、所定の時刻で計測された実測データを基に前記対象の物理的な性質を考慮した第1のシミュレーションモデルを、複数の時刻で計測された実測データの夫々について作成する第1のシミュレーションモデル作成手段と、作成された複数の前記第1のシミュレーションモデルを基に制御変数及び時刻を入力変数とする第2のシミュレーションモデルを作成する第2のシミュレーションモデル作成手段と、を備える。   In one aspect of the present invention, a simulation apparatus that creates a model for estimating a state of an object includes a first simulation model that takes into account the physical properties of the object based on actual measurement data measured at a predetermined time. First simulation model creation means for creating each of the actually measured data measured at a plurality of times, and a second variable having a control variable and time as input variables based on the plurality of created first simulation models. Second simulation model creating means for creating a simulation model.

上記のシミュレーション装置は、対象の状態を推定するモデルを作成するものであり、第1のシミュレーションモデル作成手段と、第2のシミュレーションモデル作成手段と、を備える。これらの手段は、例えばコンピュータのCPU(Central Processor Unit)により実現される。前記第1のシミュレーションモデル作成手段は、所定の時刻で計測された実測データを基に前記対象の物理的な性質を考慮した第1のシミュレーションモデルを、複数の時刻で計測された実測データの夫々について作成する。前記第2のシミュレーションモデル作成手段は、作成された複数の前記第1のシミュレーションモデルを基に制御変数及び時刻を入力変数とする第2のシミュレーションモデルを作成する。このようにすることで、上記のシミュレーション装置は、経時変化による誤差を考慮したシミュレーションモデルを作成することができる。   Said simulation apparatus produces the model which estimates the state of object, and is provided with the 1st simulation model creation means and the 2nd simulation model creation means. These means are realized by a CPU (Central Processor Unit) of a computer, for example. The first simulation model creating means generates a first simulation model considering physical properties of the target based on actual measurement data measured at a predetermined time, and each of the actual measurement data measured at a plurality of times. Create about. The second simulation model creating means creates a second simulation model having a control variable and time as input variables based on the plurality of created first simulation models. By doing in this way, said simulation apparatus can create the simulation model which considered the error by a time-dependent change.

上記のシミュレーション装置の他の一態様は、前記第2のシミュレーションモデルに入力された所定の制御変数の値が、前記所定の時刻で計測された実測データに対応する制御変数の値のみを含む制御変数の範囲内に存在する場合には、前記所定の時刻で計測された実測データを基に作成された前記第1のシミュレーションモデルに前記所定の制御変数の値を入力して出力変数の値を算出すると共に、算出された前記出力変数の値を前記第2のシミュレーションモデルの出力変数の適合値とする出力変数算出手段と、を備える。出力変数算出手段は、例えばコンピュータのCPUにより実現される。これにより、シミュレーション装置は、同時刻に計測された実測データを基に得られたシミュレーションモデルのみを用いて、出力変数の適合値を求めることができ、経時変化による誤差の影響を少なくすることができる。   In another aspect of the simulation apparatus described above, the value of the predetermined control variable input to the second simulation model includes only the value of the control variable corresponding to the actual measurement data measured at the predetermined time. If it exists within the range of the variable, the value of the predetermined control variable is input to the first simulation model created based on the actual measurement data measured at the predetermined time, and the value of the output variable is set. Output variable calculating means for calculating and setting the calculated value of the output variable as a conforming value of the output variable of the second simulation model. The output variable calculation means is realized by a CPU of a computer, for example. As a result, the simulation apparatus can obtain the conforming value of the output variable using only the simulation model obtained based on the actual measurement data measured at the same time, thereby reducing the influence of the error due to the change over time. it can.

上記のシミュレーション装置の他の一態様は、前記第2のシミュレーションモデルに入力された所定の制御変数の値を複数の前記第1のシミュレーションモデルに夫々入力して複数の出力変数の値を算出すると共に、算出された前記複数の出力変数の値を基に前記第2のシミュレーションモデルの出力変数の適合値を算出する出力変数算出手段と、を備える。出力変数算出手段は、例えばコンピュータのCPUにより実現される。これにより、シミュレーション装置は、経時変化による誤差のばらつきを考慮した精度の高い出力変数の適合値を求めることができる。   In another aspect of the simulation apparatus, the values of the predetermined control variables input to the second simulation model are respectively input to the plurality of first simulation models, and the values of the plurality of output variables are calculated. And an output variable calculating means for calculating an adaptive value of the output variable of the second simulation model based on the calculated values of the plurality of output variables. The output variable calculation means is realized by a CPU of a computer, for example. As a result, the simulation apparatus can obtain an adaptive value of the output variable with high accuracy in consideration of error variation due to a change with time.

本発明の他の観点では、対象の状態を推定するモデルを作成するシミュレーション方法は、所定の時刻で計測された実測データを基に前記対象の物理的な性質を考慮した第1のシミュレーションモデルを、複数の時刻で計測された実測データの夫々について作成する第1のシミュレーションモデル作成工程と、作成された複数の前記第1のシミュレーションモデルを基に制御変数及び時刻を入力変数とする第2のシミュレーションモデルを作成する第2のシミュレーションモデル作成工程と、を備える。この方法によっても、経時変化による誤差を考慮したシミュレーションモデルを作成することができる。   In another aspect of the present invention, a simulation method for creating a model for estimating a state of an object includes a first simulation model that takes into account the physical properties of the object based on actual measurement data measured at a predetermined time. A first simulation model creation step for creating each of the actually measured data measured at a plurality of times, and a second variable using the control variables and times as input variables based on the plurality of created first simulation models. A second simulation model creation step of creating a simulation model. Also by this method, it is possible to create a simulation model that takes into account errors due to changes over time.

本発明の更なる他の観点では、コンピュータによって実行されるシミュレーションプログラムは、所定の時刻で計測された実測データを基に前記対象の物理的な性質を考慮した第1のシミュレーションモデルを、複数の時刻で計測された実測データの夫々について作成する第1のシミュレーションモデル作成手段、作成された複数の前記第1のシミュレーションモデルを基に制御変数及び時刻を入力変数とする第2のシミュレーションモデルを作成する第2のシミュレーションモデル作成手段、として前記コンピュータを機能させる。このプログラムによっても、経時変化による誤差を考慮したシミュレーションモデルを作成することができる。   In still another aspect of the present invention, a simulation program executed by a computer includes a plurality of first simulation models that take into account the physical properties of the target based on actually measured data measured at a predetermined time. First simulation model creation means for creating each of the actually measured data measured at the time, and a second simulation model having the control variables and the time as input variables based on the plurality of created first simulation models The computer is caused to function as second simulation model creating means. This program can also create a simulation model that takes into account errors due to changes over time.

以下、図面を参照して本発明の好適な実施の形態について説明する。   Preferred embodiments of the present invention will be described below with reference to the drawings.

[全体構成]
図1は、本実施形態に係るシミュレーション装置100を示す模式図である。シミュレーション装置100は、コンピュータ1と、計測装置2と、エンジン3とを備える。エンジン3には、トルクセンサ等の各種のセンサが取り付けられている。各センサの出力信号は、計測装置2に取り込まれる。また、計測装置2は、エンジン3の吸気バルブ及び排気バルブの動作タイミングや、燃料噴射弁の開度等を制御できる。コンピュータ1と計測装置2とは接続されており、計測装置2は、コンピュータ1からの指令に従って、所定の制御条件の下でエンジン3を運転する。エンジン3の状態は各種センサによって計測される。計測装置2は、それらセンサの出力信号に基づいて実測データを生成し、これをコンピュータ1に送信する。
[overall structure]
FIG. 1 is a schematic diagram showing a simulation apparatus 100 according to the present embodiment. The simulation device 100 includes a computer 1, a measurement device 2, and an engine 3. Various sensors such as a torque sensor are attached to the engine 3. The output signal of each sensor is taken into the measuring device 2. The measuring device 2 can control the operation timing of the intake valve and the exhaust valve of the engine 3, the opening degree of the fuel injection valve, and the like. The computer 1 and the measuring device 2 are connected, and the measuring device 2 operates the engine 3 under predetermined control conditions in accordance with a command from the computer 1. The state of the engine 3 is measured by various sensors. The measuring device 2 generates actual measurement data based on the output signals of these sensors, and transmits this to the computer 1.

コンピュータ1は、CPU(Central Processor Unit)11と、メモリ12と、入力装置13と、ハードディスク14と、ディスプレイ15と、インターフェース16とを備える。これらは、システムバス10を介して接続されている。CPU11は、コンピュータ1の制御中枢として機能すると共に、各種のプログラムを実行する。メモリ12は、例えばRAM(Random Access Memory)であり、CPU11の作業領域として機能し、そこには処理途中のデータ等が記憶される。ハードディスク14には、シミュレーションモデルが記憶されている。シミュレーションモデルは、プログラムやデータより構成されており、CPU11によってメモリ12にロードされる。   The computer 1 includes a CPU (Central Processor Unit) 11, a memory 12, an input device 13, a hard disk 14, a display 15, and an interface 16. These are connected via the system bus 10. The CPU 11 functions as a control center of the computer 1 and executes various programs. The memory 12 is, for example, a RAM (Random Access Memory), and functions as a work area for the CPU 11. The hard disk 14 stores a simulation model. The simulation model is composed of programs and data, and is loaded into the memory 12 by the CPU 11.

入力装置13は、例えばキーボードやマウスであり、オペレータが指示を入力するための入力手段として機能する。インターフェース16は、外部機器との間で通信を行う機能を有する。CPU11は、インターフェース16を介して計測装置2へ指令を送信したり、計測装置2から実測データを取得したりすることができる。   The input device 13 is a keyboard or a mouse, for example, and functions as an input means for an operator to input an instruction. The interface 16 has a function of performing communication with an external device. The CPU 11 can transmit a command to the measurement device 2 via the interface 16 and can acquire actual measurement data from the measurement device 2.

以下では、本発明のシミュレーションモデルの作成方法について具体的に説明する。   Hereinafter, a method for creating a simulation model of the present invention will be specifically described.

[シミュレーションモデルの作成方法]
本発明のシミュレーションモデル作成方法について具体的に説明する。シミュレーション装置100は、ユーザにより設定された制御条件の下、シミュレーションモデルを作成する。具体的には、シミュレーションモデルは、計測された複数の制御変数に対する対象の状態を示す実測データを基にして作成される。このシミュレーションモデルは、対象の物理的な性質を考慮した物理モデルとして与えられる。
[How to create a simulation model]
The simulation model creation method of the present invention will be specifically described. The simulation apparatus 100 creates a simulation model under the control conditions set by the user. Specifically, the simulation model is created on the basis of actual measurement data indicating the state of the target for a plurality of measured control variables. This simulation model is given as a physical model considering the physical properties of the object.

図2は、一般的なシミュレーションモデルの例を示すグラフである。図2において、横軸は制御変数Vを示し、縦軸は出力変数Tを示す。制御変数Vとしては、例えば、可変バルブタイミング(VVT:Variable Valve Timing)や点火時期などが挙げられ、出力変数Tとしては、例えば、トルクなどが挙げられる。なお、以下の説明において、制御変数Vがシミュレーションモデルの入力データであり、出力変数Tがシミュレーションモデルの出力データである。   FIG. 2 is a graph showing an example of a general simulation model. In FIG. 2, the horizontal axis indicates the control variable V, and the vertical axis indicates the output variable T. Examples of the control variable V include variable valve timing (VVT) and ignition timing. Examples of the output variable T include torque. In the following description, the control variable V is input data of the simulation model, and the output variable T is output data of the simulation model.

図2において、丸で示す点は、時刻t=t1において計測された制御変数の値V1、V2に対する実測データの値を示し、四角で示す点は、時刻t=t2において計測された制御変数の値V3、V4に対する実測データの値を示し、三角で示す点は、時刻t=t3において計測された制御変数の値V5、V6に対する実測データの値を示す。グラフ21は、これらの実測データの値を最小二乗法等の統計的処理を施すことにより得られる近似曲線である。従って、グラフ21は、制御変数Vに対する出力変数Tを示す関数のグラフであり、制御変数Vに対する出力変数Tの傾向を示すものとなっている。なお、以下の説明において、「時刻」とは、時分だけでなく日付をも含む広い概念であるとする。   In FIG. 2, the points indicated by circles indicate the values of measured data for the control variable values V1 and V2 measured at time t = t1, and the points indicated by squares indicate the control variable values measured at time t = t2. The values of the measured data for the values V3 and V4 are shown, and the points indicated by triangles indicate the values of the measured data for the control variable values V5 and V6 measured at time t = t3. The graph 21 is an approximate curve obtained by performing statistical processing such as the least square method on the values of these actually measured data. Therefore, the graph 21 is a graph of a function indicating the output variable T with respect to the control variable V, and shows a tendency of the output variable T with respect to the control variable V. In the following description, “time” is a broad concept including not only hours and minutes but also dates.

グラフ22も、制御変数Vに対する出力変数Tを示す関数のグラフであるが、グラフ21と異なり、制御変数Vに対する出力変数Tの真の傾向を示すものである。図2より分かるように、グラフ21は、グラフ22と誤差が生じている。この理由は、時刻t=t1、t2、t3の各時刻で計測された実測データ間には、偶然誤差だけでなく経時変化による誤差も生じているからである。即ち、エンジン3の状態は、時間の経過と共に変化するため、実測データの値もそれに伴って変化し、例えば、時刻t=t1において制御変数の値V5、V6に対する実測データを計測したときの当該実測データの値は、図2に示した時刻t=t3において計測された制御変数の値V5、V6に対する実測データの値とは異なるものとなる。このときの誤差が経時変化による誤差である。   The graph 22 is also a graph of a function showing the output variable T with respect to the control variable V. Unlike the graph 21, the graph 22 shows a true tendency of the output variable T with respect to the control variable V. As can be seen from FIG. 2, the graph 21 has an error from the graph 22. This is because not only a coincidence error but also an error due to a change with time is generated between the actually measured data measured at each time t = t1, t2, and t3. That is, since the state of the engine 3 changes with the passage of time, the value of the actual measurement data also changes accordingly. For example, when the actual measurement data for the control variable values V5 and V6 is measured at time t = t1, The actual measurement data values are different from the actual measurement data values for the control variable values V5 and V6 measured at time t = t3 shown in FIG. The error at this time is an error due to a change with time.

そこで、本発明のシミュレーションモデルでは、図2に示した一般的なシミュレーションモデルの関数とは異なり、出力変数Tを示す関数は、制御変数Vだけでなく、時刻tも入力変数として含んだものとなっている。   Therefore, in the simulation model of the present invention, unlike the function of the general simulation model shown in FIG. 2, the function indicating the output variable T includes not only the control variable V but also the time t as an input variable. It has become.

図3は、本発明のシミュレーションモデルの例を示すグラフである。図3において、横軸は制御変数Vを示し、縦軸は出力変数Tを示し、横軸と縦軸との両方に垂直な方向の軸は時刻tを示す。   FIG. 3 is a graph showing an example of the simulation model of the present invention. In FIG. 3, the horizontal axis represents the control variable V, the vertical axis represents the output variable T, and the axis in the direction perpendicular to both the horizontal axis and the vertical axis represents time t.

図3に示すように、本発明のシミュレーション装置100は、時刻t=t1において計測された制御変数の値V1、V2に対する実測データを基にして、近似曲線のグラフ31を作成し、時刻t=t2において計測された制御変数の値V3、V4に対する実測データを基にして、近似曲線のグラフ32を作成し、時刻t=t3において計測された制御変数の値V5、V6に対する実測データを基にして、近似曲線のグラフ33を作成する。これらのグラフ31〜33が、本発明における第1のシミュレーションモデルとなる。   As shown in FIG. 3, the simulation apparatus 100 of the present invention creates an approximate curve graph 31 based on the measured data for the control variable values V1 and V2 measured at time t = t1, and the time t = An approximate curve graph 32 is created based on the measured data for the control variable values V3 and V4 measured at t2, and based on the measured data for the control variable values V5 and V6 measured at time t = t3. Thus, the approximate curve graph 33 is created. These graphs 31 to 33 are the first simulation model in the present invention.

シミュレーション装置100は、グラフ31〜33を基にして、図3に示すグラフ35を作成する。グラフ35は、図3におけるハッチングされた曲面のグラフを示し、制御変数Vと時刻tに対する出力変数Tを示す関数のグラフとなっている。つまり、グラフ35を示す関数をFとすると、入力変数としては、制御変数Vの他に時刻tが規定され、出力変数Tの値は関数F(V、t)で算出される。従って、関数F(V、t1)はグラフ31の関数を示し、関数F(V、t2)はグラフ32の関数を示し、関数F(V、t3)はグラフ33の関数を示すこととなる。このグラフ35が、本発明における第2のシミュレーションモデルとなる。なお、関数Fの入力変数としては、1つの制御変数Vに限られるものではなく、代わりに、複数の制御変数が規定されるとしてもよいのは言うまでもない。   The simulation apparatus 100 creates a graph 35 shown in FIG. 3 based on the graphs 31 to 33. The graph 35 is a hatched curved surface graph in FIG. 3, and is a function graph indicating the control variable V and the output variable T with respect to time t. That is, assuming that the function indicating the graph 35 is F, time t is defined as an input variable in addition to the control variable V, and the value of the output variable T is calculated by the function F (V, t). Therefore, the function F (V, t1) indicates the function of the graph 31, the function F (V, t2) indicates the function of the graph 32, and the function F (V, t3) indicates the function of the graph 33. This graph 35 is the second simulation model in the present invention. Note that the input variable of the function F is not limited to one control variable V, and it goes without saying that a plurality of control variables may be defined instead.

図4は、制御変数Vの値を一定とした場合(このときの制御変数Vの値をVcとする)における時刻tと出力変数Tとの関係を示すグラフである。図4に示すグラフ36は、その傾向が複雑となる可能性が高い。そのため、グラフ36の傾向が複雑となる場合には、時刻tに対する出力変数Tを示す関数F(Vc、t)は、非線形関数で表される。   FIG. 4 is a graph showing the relationship between the time t and the output variable T when the value of the control variable V is constant (the value of the control variable V at this time is Vc). The graph 36 shown in FIG. 4 is highly likely to have a complicated tendency. Therefore, when the tendency of the graph 36 is complicated, the function F (Vc, t) indicating the output variable T with respect to the time t is represented by a nonlinear function.

以上で述べたように、本発明のシミュレーション装置100は、時刻t=t1で計測された実測データを基にグラフ31を作成し、時刻t=t2で計測された実測データを基にグラフ32を作成し、時刻t=t3で計測された実測データを基にグラフ33を作成する。そして、シミュレーション装置100は、グラフ31〜33を基に、制御変数及び時刻を入力変数として含む関数であるグラフ35を作成する。このようにすることで、シミュレーション装置100は、経時変化による誤差を考慮したシミュレーションモデルを作成することができる。   As described above, the simulation apparatus 100 of the present invention creates the graph 31 based on the actual measurement data measured at time t = t1, and generates the graph 32 based on the actual measurement data measured at time t = t2. The graph 33 is created based on the actual measurement data created and measured at time t = t3. And the simulation apparatus 100 produces the graph 35 which is a function which contains a control variable and time as an input variable based on the graphs 31-33. In this way, the simulation apparatus 100 can create a simulation model that takes into account errors due to changes over time.

[出力変数の算出方法]
次に、図3に示すグラフ35を用いて、出力変数Tを算出する方法について具体的に述べる。まず、出力変数Tを算出する方法の第1の実施例について述べる。図5は、第1の実施例に係る出力変数Tの算出方法を示すフローチャートである。図6は、第1の実施例に係る出力変数Tの算出方法の例を示す模式図である。
[Calculation method of output variable]
Next, a method for calculating the output variable T will be specifically described using the graph 35 shown in FIG. First, a first embodiment of a method for calculating the output variable T will be described. FIG. 5 is a flowchart showing a method for calculating the output variable T according to the first embodiment. FIG. 6 is a schematic diagram illustrating an example of a method for calculating the output variable T according to the first embodiment.

ユーザにより所定の制御変数の値Veがグラフ35を示す関数F(V、t)に入力されると(ステップS101)、コンピュータ1は、当該所定の制御変数の値Veが、時刻t=t1、t2、t3に計測された各実測データに対応する制御変数の範囲のうち、どの制御変数の範囲内に存在しているかを算出する(ステップS102)。ここで、所定の時刻に計測された実測データに対応する制御変数の範囲とは、当該所定の時刻に計測された実測データに対応する制御変数の値のみを含む制御変数の範囲を示す。図6に示す例では、
時刻t=t1に計測された実測データに対応する制御変数の範囲Vrは、時刻t=t1に計測された実測データに対応する制御変数の値V1、V2のみを含んでおり、時刻t=t2に計測された実測データに対応する制御変数の範囲Vsは、時刻t=t2に計測された実測データに対応する制御変数の値V3、V4のみを含んでおり、時刻t=t3に計測された実測データに対応する制御変数の範囲Vqは、時刻t=t3に計測された実測データに対応する制御変数の値V5、V6のみを含んでいる。この例では、所定の制御変数の値Veは、制御変数の範囲Vr間に存在している。
When the user inputs the value Ve of the predetermined control variable to the function F (V, t) indicating the graph 35 (step S101), the computer 1 determines that the value Ve of the predetermined control variable is the time t = t1, Of the control variable ranges corresponding to the actual measurement data measured at t2 and t3, which control variable range exists is calculated (step S102). Here, the range of the control variable corresponding to the actual measurement data measured at the predetermined time indicates the range of the control variable including only the value of the control variable corresponding to the actual measurement data measured at the predetermined time. In the example shown in FIG.
The control variable range Vr corresponding to the actual measurement data measured at time t = t1 includes only the control variable values V1 and V2 corresponding to the actual measurement data measured at time t = t1, and the time t = t2. The range Vs of the control variable corresponding to the actually measured data measured at the time point includes only the values V3 and V4 of the control variable corresponding to the actually measured data measured at the time t = t2, and was measured at the time t = t3. The control variable range Vq corresponding to the actual measurement data includes only the control variable values V5 and V6 corresponding to the actual measurement data measured at time t = t3. In this example, the value Ve of the predetermined control variable exists between the control variable range Vr.

次に、コンピュータ1は、当該所定の制御変数の値を、当該所定の制御変数の範囲の実測データに対応するグラフに入力して出力変数の値を算出し、当該出力変数の値を出力変数Tの最適値として出力する(ステップS103)。例えば、図6に示す例では、コンピュータ1は、制御変数の範囲Vrの実測データに対応する、即ち、時刻t=t1に計測された実測データに対応するグラフ31の関数F(V、t1)に、所定の制御変数の値Veを入力することで、出力変数の値Te(=F(Ve、t1))を算出する。コンピュータ1は、この出力変数の値Teをグラフ35より算出された出力変数Tの適合値として出力する。   Next, the computer 1 inputs the value of the predetermined control variable into a graph corresponding to the measured data in the range of the predetermined control variable, calculates the value of the output variable, and sets the value of the output variable as the output variable The optimum value of T is output (step S103). For example, in the example shown in FIG. 6, the computer 1 corresponds to the actual measurement data of the control variable range Vr, that is, the function F (V, t1) of the graph 31 corresponding to the actual measurement data measured at time t = t1. Then, by inputting a value Ve of a predetermined control variable, a value Te (= F (Ve, t1)) of the output variable is calculated. The computer 1 outputs the value Te of the output variable as a conforming value of the output variable T calculated from the graph 35.

なお、図6に示す例において、所定の制御変数の値Veが制御変数の範囲Vsに存在している場合には、コンピュータ1は、制御変数の範囲Vsの実測データに対応する、即ち、時刻t=t2で計測された実測データに対応するグラフ32の関数F(V、t2)に、所定の制御変数の値Veを入力することで、出力変数の値を算出して、出力変数Tの適合値として出力する。また、所定の制御変数の値Veが制御変数の範囲Vqに存在している場合には、コンピュータ1は、制御変数の範囲Vqの実測データに対応する、即ち、時刻t=t3で計測された実測データに対応するグラフ33の関数F(V、t3)に、所定の制御変数の値Veを入力することで、出力変数の値を算出して、出力変数Tの適合値として出力する。   In the example shown in FIG. 6, when the value Ve of the predetermined control variable exists in the control variable range Vs, the computer 1 corresponds to the measured data of the control variable range Vs. By inputting the value Ve of a predetermined control variable into the function F (V, t2) of the graph 32 corresponding to the actual measurement data measured at t = t2, the value of the output variable is calculated, and the output variable T Output as a conforming value. When the value Ve of the predetermined control variable exists in the control variable range Vq, the computer 1 corresponds to the measured data of the control variable range Vq, that is, measured at time t = t3. By inputting the value Ve of a predetermined control variable to the function F (V, t3) of the graph 33 corresponding to the actually measured data, the value of the output variable is calculated and output as a conforming value of the output variable T.

このようにすることで、シミュレーション装置100は、同時刻に計測された実測データを基に作成されたグラフのみを用いて、出力変数Tの適合値を求めることができるので、経時変化による誤差の影響を少なくすることができる。   By doing in this way, the simulation apparatus 100 can obtain the conforming value of the output variable T using only the graph created based on the actual measurement data measured at the same time. The influence can be reduced.

次に、出力変数Tを算出する方法の第2の実施例について述べる。図7は、第2の実施例に係る出力変数Tの算出方法を示すフローチャートである。図8は、第2の実施例に係る出力変数Tの算出方法の例を示す模式図である。   Next, a second embodiment of the method for calculating the output variable T will be described. FIG. 7 is a flowchart illustrating a method for calculating the output variable T according to the second embodiment. FIG. 8 is a schematic diagram illustrating an example of a method for calculating the output variable T according to the second embodiment.

ユーザにより所定の制御変数の値Vaがグラフ35の関数F(V、t)に入力されると(ステップS201)、コンピュータ1は、当該所定の制御変数を各時刻に計測された実測データに対応するグラフ31〜33に夫々入力して、グラフ31〜33の夫々について出力変数の値を算出する(ステップS202)。図7に示す例では、コンピュータ1は、時刻t=t1に対応するグラフ31を示す関数F(V、t1)に制御変数Vaを入力することで、出力変数の値T1a(=F(Va、t1))を算出し、時刻t=t2に対応するグラフ32を示す関数F(V、t2)に制御変数Vaを入力することで、出力変数の値T2a(=F(Va、t2))を算出し、時刻t=t3に対応するグラフ33を示す関数F(V、t3)に制御変数Vaを入力することで、T3a(=F(Va、t3))を算出する。   When the value Va of the predetermined control variable is input to the function F (V, t) of the graph 35 by the user (step S201), the computer 1 corresponds to the actual measurement data measured at each time for the predetermined control variable. Are input to the graphs 31 to 33 to be calculated, and the value of the output variable is calculated for each of the graphs 31 to 33 (step S202). In the example shown in FIG. 7, the computer 1 inputs the control variable Va to the function F (V, t1) indicating the graph 31 corresponding to the time t = t1, and thereby the value T1a (= F (Va, t1)) is calculated, and the control variable Va is input to the function F (V, t2) indicating the graph 32 corresponding to the time t = t2, whereby the value T2a (= F (Va, t2)) of the output variable is obtained. T3a (= F (Va, t3)) is calculated by inputting the control variable Va to the function F (V, t3) indicating the graph 33 corresponding to the time t = t3.

コンピュータ1は、算出された複数の出力変数の値T1a、T2a、T3aに対し統計的処理を行うことにより、グラフ35の出力変数Tの適合値を算出して出力する(ステップS203)。具体的には、コンピュータ1は、出力変数の値T1a、T2a、T3aの平均値や標準偏差を算出するといった統計的処理を行うことにより、グラフ35の出力変数Tの適合値を求める。例えば、出力変数の値T1a、T2a、T3aの平均値を算出したものをグラフ35の出力変数Tの適合値とする場合には、グラフ35の出力変数Tの適合値は(T1a+T2a+T3a)/3で求められる。   The computer 1 performs statistical processing on the calculated values T1a, T2a, and T3a of the plurality of output variables, thereby calculating and outputting an adaptation value of the output variable T of the graph 35 (step S203). Specifically, the computer 1 obtains a conforming value of the output variable T of the graph 35 by performing a statistical process such as calculating an average value or standard deviation of the output variable values T1a, T2a, and T3a. For example, when the average value of the output variable values T1a, T2a, and T3a is calculated as the adaptive value of the output variable T of the graph 35, the adaptive value of the output variable T of the graph 35 is (T1a + T2a + T3a) / 3. Desired.

このようにすることで、シミュレーション装置100は、経時変化による誤差のばらつきを考慮した精度の高い出力変数の適合値を求めることができる。   In this way, the simulation apparatus 100 can obtain a highly accurate output variable adaptation value that takes into account variations in errors due to changes over time.

本発明の各実施形態に係るシミュレーション装置の模式図である。It is a mimetic diagram of a simulation device concerning each embodiment of the present invention. 制御変数に対する出力変数の値を示すグラフである。It is a graph which shows the value of the output variable with respect to a control variable. 制御変数及び時刻に対する出力変数の値を示すグラフである。It is a graph which shows the value of the output variable with respect to a control variable and time. 時刻に対する出力変数の値を示すグラフである。It is a graph which shows the value of the output variable with respect to time. 第1の実施例に係る出力変数の算出方法を示すフローチャートである。It is a flowchart which shows the calculation method of the output variable which concerns on a 1st Example. 第1の実施例に係る出力変数の算出方法を示す模式図である。It is a schematic diagram which shows the calculation method of the output variable which concerns on a 1st Example. 第2の実施例に係る出力変数の算出方法を示すフローチャートである。It is a flowchart which shows the calculation method of the output variable which concerns on a 2nd Example. 第2の実施例に係る出力変数の算出方法を示す模式図である。It is a schematic diagram which shows the calculation method of the output variable which concerns on a 2nd Example.

符号の説明Explanation of symbols

1 コンピュータ
2 計測装置
3 エンジン
1 Computer 2 Measuring device 3 Engine

Claims (5)

対象の状態を推定するモデルを作成するシミュレーション装置であって、
所定の時刻で計測された実測データを基に前記対象の物理的な性質を考慮した第1のシミュレーションモデルを、複数の時刻で計測された実測データの夫々について作成する第1のシミュレーションモデル作成手段と、
作成された複数の前記第1のシミュレーションモデルを基に制御変数及び時刻を入力変数とする第2のシミュレーションモデルを作成する第2のシミュレーションモデル作成手段と、を備えることを特徴とするシミュレーション装置。
A simulation device for creating a model for estimating a state of an object,
First simulation model creation means for creating, for each of the measured data measured at a plurality of times, a first simulation model that considers the physical properties of the object based on the measured data measured at a predetermined time When,
A simulation apparatus comprising: a second simulation model creating means for creating a second simulation model having a control variable and time as input variables based on the plurality of created first simulation models.
前記第2のシミュレーションモデルに入力された所定の制御変数の値が、前記所定の時刻で計測された実測データに対応する制御変数の値のみを含む制御変数の範囲内に存在する場合には、前記所定の時刻で計測された実測データを基に作成された前記第1のシミュレーションモデルに前記所定の制御変数の値を入力して出力変数の値を算出すると共に、算出された前記出力変数の値を前記第2のシミュレーションモデルの出力変数の適合値とする出力変数算出手段と、を備えることを特徴とする請求項1に記載のシミュレーション装置。   When the value of the predetermined control variable input to the second simulation model is within the range of the control variable including only the value of the control variable corresponding to the actual measurement data measured at the predetermined time, The value of the predetermined control variable is input to the first simulation model created based on the actual measurement data measured at the predetermined time, and the value of the output variable is calculated. The simulation apparatus according to claim 1, further comprising: an output variable calculation unit that sets a value as a matching value of an output variable of the second simulation model. 前記第2のシミュレーションモデルに入力された所定の制御変数の値を複数の前記第1のシミュレーションモデルに夫々入力して複数の出力変数の値を算出すると共に、算出された前記複数の出力変数の値を基に前記第2のシミュレーションモデルの出力変数の適合値を算出する出力変数算出手段と、を備えることを特徴とする請求項1に記載のシミュレーション装置。   The values of the predetermined control variables input to the second simulation model are respectively input to the plurality of first simulation models to calculate the values of the plurality of output variables, and the plurality of output variables calculated The simulation apparatus according to claim 1, further comprising: an output variable calculation unit that calculates an adaptive value of the output variable of the second simulation model based on the value. 対象の状態を推定するモデルを作成するシミュレーション方法であって、
所定の時刻で計測された実測データを基に前記対象の物理的な性質を考慮した第1のシミュレーションモデルを、複数の時刻で計測された実測データの夫々について作成する第1のシミュレーションモデル作成工程と、
作成された複数の前記第1のシミュレーションモデルを基に制御変数及び時刻を入力変数とする第2のシミュレーションモデルを作成する第2のシミュレーションモデル作成工程と、を備えることを特徴とするシミュレーション方法。
A simulation method for creating a model for estimating a state of an object,
A first simulation model creation step of creating a first simulation model that takes into account the physical properties of the target based on actual measurement data measured at a predetermined time for each of the actual measurement data measured at a plurality of times When,
A simulation method comprising: a second simulation model creation step of creating a second simulation model having a control variable and time as input variables based on the plurality of created first simulation models.
コンピュータによって実行されるシミュレーションプログラムであって、
所定の時刻で計測された実測データを基に前記対象の物理的な性質を考慮した第1のシミュレーションモデルを、複数の時刻で計測された実測データの夫々について作成する第1のシミュレーションモデル作成手段、
作成された複数の前記第1のシミュレーションモデルを基に制御変数及び時刻を入力変数とする第2のシミュレーションモデルを作成する第2のシミュレーションモデル作成手段、として前記コンピュータを機能させることを特徴とするシミュレーションプログラム。
A simulation program executed by a computer,
First simulation model creation means for creating, for each of the measured data measured at a plurality of times, a first simulation model that considers the physical properties of the object based on the measured data measured at a predetermined time ,
The computer is caused to function as second simulation model creation means for creating a second simulation model having a control variable and time as input variables based on the plurality of created first simulation models. Simulation program.
JP2006255604A 2006-09-21 2006-09-21 Simulation device, simulation method, and simulation program Expired - Fee Related JP4529964B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006255604A JP4529964B2 (en) 2006-09-21 2006-09-21 Simulation device, simulation method, and simulation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006255604A JP4529964B2 (en) 2006-09-21 2006-09-21 Simulation device, simulation method, and simulation program

Publications (2)

Publication Number Publication Date
JP2008077376A JP2008077376A (en) 2008-04-03
JP4529964B2 true JP4529964B2 (en) 2010-08-25

Family

ID=39349365

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006255604A Expired - Fee Related JP4529964B2 (en) 2006-09-21 2006-09-21 Simulation device, simulation method, and simulation program

Country Status (1)

Country Link
JP (1) JP4529964B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102011081346A1 (en) * 2011-08-22 2013-02-28 Robert Bosch Gmbh Method of creating a function for a controller
US10360321B2 (en) 2015-03-02 2019-07-23 Fujitsu Limited Model generation method and information processing apparatus
JP6693182B2 (en) 2016-03-09 2020-05-13 富士通株式会社 Data acquisition instruction generation program, data acquisition instruction generation method, and data acquisition instruction generation device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002508540A (en) * 1998-03-26 2002-03-19 ローズマウント インコーポレイテッド Signal processing technology for sensor diagnosis that separates signal components in sensor signals
JP2004178247A (en) * 2002-11-27 2004-06-24 Toyota Motor Corp Method and program for creating model and simulation device
JP2004360530A (en) * 2003-06-03 2004-12-24 Toyota Motor Corp Control device for internal combustion engine
JP2006146572A (en) * 2004-11-19 2006-06-08 Yaskawa Electric Corp Servo control apparatus and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002508540A (en) * 1998-03-26 2002-03-19 ローズマウント インコーポレイテッド Signal processing technology for sensor diagnosis that separates signal components in sensor signals
JP2004178247A (en) * 2002-11-27 2004-06-24 Toyota Motor Corp Method and program for creating model and simulation device
JP2004360530A (en) * 2003-06-03 2004-12-24 Toyota Motor Corp Control device for internal combustion engine
JP2006146572A (en) * 2004-11-19 2006-06-08 Yaskawa Electric Corp Servo control apparatus and method

Also Published As

Publication number Publication date
JP2008077376A (en) 2008-04-03

Similar Documents

Publication Publication Date Title
CN109060279B (en) Error analysis method for measuring bridge deflection by tilt angle sensor
JP3760911B2 (en) Model creation method, model creation program, and simulation apparatus
JP5227254B2 (en) Real-time calculation method and simulator of state quantity of process model
KR102017181B1 (en) Method for the creation of a function for a control device
JP2013525910A (en) Control device and method for calculating output variables for control
JP2016530585A (en) How to calculate the output model of a technical system
JP6929488B2 (en) Model predictive control device, model predictive control program, model predictive control system and model predictive control method
CN112560974B (en) Information fusion and vehicle information acquisition method and device
JP4529964B2 (en) Simulation device, simulation method, and simulation program
JP2008203051A (en) Parameter estimation apparatus of engine bench system
CN112989550A (en) Virtual measurement method, device and computer readable storage medium
US8428914B2 (en) Method and simulator for real-time calculation of state variables of a process model
JP7051025B2 (en) Simulation execution system, simulation execution method and simulation execution program
CN101713636A (en) System and method for correcting and drawing three-dimensional coordinate system
CN114440866B (en) Sensor data calibration method and calibration system
US8850386B2 (en) Method for estimating resource consumption in the generation of a control device program code
JP7252862B2 (en) Control device, control system and control method
JP2008071111A (en) Simulation device, simulation method, and simulation program
US11403077B2 (en) Method and system for preparing block diagrams for code generation
JP2016071883A (en) Determining signals for readback from fpga
JP2019008470A (en) Management device, simulation system, and simulation method
EP4231101A1 (en) Controller and method for providing an optimised control signal for controlling a technical system
CN112539829B (en) Arrangement method and system of self-adaptive blade tip timing sensors
US11726470B2 (en) Method and device for determining a measure of quality continuously
JP5846303B2 (en) Learning apparatus and learning method for setting calculation system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081020

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100302

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

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

R151 Written notification of patent or utility model registration

Ref document number: 4529964

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20130618

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees