JP2019021068A - Simulation device, simulation system, and measurement method for simulation device - Google Patents

Simulation device, simulation system, and measurement method for simulation device Download PDF

Info

Publication number
JP2019021068A
JP2019021068A JP2017139445A JP2017139445A JP2019021068A JP 2019021068 A JP2019021068 A JP 2019021068A JP 2017139445 A JP2017139445 A JP 2017139445A JP 2017139445 A JP2017139445 A JP 2017139445A JP 2019021068 A JP2019021068 A JP 2019021068A
Authority
JP
Japan
Prior art keywords
simulation
unit
period
monitoring
item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017139445A
Other languages
Japanese (ja)
Inventor
勇人 宮腰
Isato Miyakoshi
勇人 宮腰
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2017139445A priority Critical patent/JP2019021068A/en
Publication of JP2019021068A publication Critical patent/JP2019021068A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

To provide a simulation device, a simulation system, and a measurement method for the simulation device capable of adding an evaluation item as a display object without damaging real time properties.SOLUTION: A simulation device comprises: a reception part; a simulator part; a first measurement part; and a second measurement part. The reception part receives an evaluation item as at least one of a sampling item as a storage object and a monitoring item as a display object in simulation of an object device. The simulator part executes simulation on the basis of the evaluation item received by the reception part. The first measurement part measures sampling data corresponding to the sampling item in a first cycle on the basis of the simulation executed by the simulator part. The second measurement part measures monitoring data corresponding to the monitoring item in a second cycle longer than the first cycle on the basis of the simulation executed by the simulator part.SELECTED DRAWING: Figure 2

Description

本発明は、シミュレーション装置、シミュレーションシステムおよびシミュレーション装置の計測方法に関する。   The present invention relates to a simulation apparatus, a simulation system, and a measurement method for the simulation apparatus.

従来、例えば、車載のECU(Electronic Control Unit)等の制御装置のシミュレーションを行うことで、ECUを車両に搭載することなく様々な項目の性能をリアルタイムに評価できるシミュレーション装置がある。   2. Description of the Related Art Conventionally, for example, there is a simulation device that can evaluate the performance of various items in real time without mounting the ECU on a vehicle by simulating a control device such as an in-vehicle ECU (Electronic Control Unit).

また、シミュレーション装置は、一定の周期で各項目のデータを計測し、計測されたデータを外部装置に送信することで、外部装置においてデータを表示したり、記憶したりする(例えば、特許文献1参照)。   In addition, the simulation apparatus measures the data of each item at a constant cycle and transmits the measured data to the external apparatus, thereby displaying or storing the data in the external apparatus (for example, Patent Document 1). reference).

特開2008−84121号公報JP 2008-84121 A

しかしながら、従来の技術では、例えば、外部装置での表示対象となる項目を新たに追加して計測しようとした場合に、シミュレーションの演算を再度やり直す必要がある。このため、演算をやり直している間は、処理負荷が大きくなることで、計測が中断してしまうおそれがある。その結果、計測処理に遅れが生じ、リアルタイム性が損なわれるおそれがあった。   However, in the conventional technique, for example, when an item to be displayed on an external device is newly added and measurement is to be performed, it is necessary to perform simulation calculation again. For this reason, there is a possibility that the measurement may be interrupted due to an increase in processing load while the calculation is performed again. As a result, there is a possibility that the measurement process is delayed and the real-time property is impaired.

本発明は、上記に鑑みてなされたものであって、リアルタイム性を損なうことなく表示対象となる評価項目を追加することができるシミュレーション装置、シミュレーションシステムおよびシミュレーション装置の計測方法を提供することを目的とする。   The present invention has been made in view of the above, and it is an object of the present invention to provide a simulation apparatus, a simulation system, and a measurement method for the simulation apparatus that can add an evaluation item to be displayed without impairing real-time performance. And

上述した課題を解決し、目的を達成するために、本発明に係るシミュレーション装置は、受付部と、シミュレータ部と、第1計測部と、第2計測部とを備える。前記受付部は、対象装置のシミュレーションにおける記憶対象となるサンプリング項目および表示対象となるモニタリング項目の少なくとも一方である評価項目を受け付ける。前記シミュレータ部は、前記受付部が受け付けた前記評価項目に基づいて前記シミュレーションを実行する。前記第1計測部は、前記シミュレータ部によって実行された前記シミュレーションに基づいて第1周期で前記サンプリング項目に対応するサンプリングデータを計測する。前記第2計測部は、前記シミュレータ部によって実行された前記シミュレーションに基づいて前記第1周期よりも長い第2周期で前記モニタリング項目に対応するモニタリングデータを計測する。   In order to solve the above-described problems and achieve the object, a simulation apparatus according to the present invention includes a reception unit, a simulator unit, a first measurement unit, and a second measurement unit. The reception unit receives an evaluation item that is at least one of a sampling item to be stored and a monitoring item to be displayed in a simulation of the target device. The simulator unit executes the simulation based on the evaluation item received by the receiving unit. The first measurement unit measures sampling data corresponding to the sampling item in a first period based on the simulation executed by the simulator unit. The second measuring unit measures monitoring data corresponding to the monitoring item in a second period longer than the first period based on the simulation executed by the simulator unit.

本発明によれば、リアルタイム性を損なうことなく表示対象となる評価項目を追加することができる。   According to the present invention, it is possible to add an evaluation item to be displayed without impairing real-time performance.

図1は、実施形態に係るシミュレーションシステムを示す図である。FIG. 1 is a diagram illustrating a simulation system according to an embodiment. 図2は、実施形態に係るシミュレーションシステムの構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of the simulation system according to the embodiment. 図3は、受付部が受け付ける評価項目の説明図である。FIG. 3 is an explanatory diagram of evaluation items received by the receiving unit. 図4は、配分部の処理内容を示す図である。FIG. 4 is a diagram illustrating processing contents of the distribution unit. 図5は、計測処理の説明図である。FIG. 5 is an explanatory diagram of the measurement process. 図6は、計測処理の説明図である。FIG. 6 is an explanatory diagram of the measurement process. 図7は、計測処理の説明図である。FIG. 7 is an explanatory diagram of the measurement process. 図8は、送信データの説明図である。FIG. 8 is an explanatory diagram of transmission data. 図9は、実施形態に係るシミュレーションシステムにおけるシミュレーション処理の手順を示すシーケンス図である。FIG. 9 is a sequence diagram illustrating a procedure of simulation processing in the simulation system according to the embodiment. 図10は、実施形態に係るシミュレーション装置が実行する計測処理の処理手順を示すフローチャートである。FIG. 10 is a flowchart illustrating a processing procedure of measurement processing executed by the simulation apparatus according to the embodiment. 図11は、実施形態に係るシミュレーション装置が実行する変更処理の処理手順を示すフローチャートである。FIG. 11 is a flowchart illustrating a processing procedure of change processing executed by the simulation apparatus according to the embodiment. 図12Aは、実施形態の変形例に係る配分部の処理内容を示す図である。FIG. 12A is a diagram illustrating processing contents of a distribution unit according to a modification of the embodiment. 図12Bは、実施形態の変形例に係る配分部の処理内容を示す図である。FIG. 12B is a diagram illustrating processing contents of a distribution unit according to a modification of the embodiment.

以下、添付図面を参照して、本願の開示するシミュレーション装置、シミュレーションシステムおよびシミュレーション装置の計測方法の実施形態を詳細に説明する。なお、この実施形態により本発明が限定されるものではない。   Hereinafter, embodiments of a simulation device, a simulation system, and a measurement method of the simulation device disclosed in the present application will be described in detail with reference to the accompanying drawings. In addition, this invention is not limited by this embodiment.

まず、図1を用いて実施形態に係るシミュレーションシステムについて説明する。図1は、実施形態に係るシミュレーションシステムSを示す図である。図1に示すように、実施形態に係るシミュレーションシステムSは、シミュレーション装置1と、外部装置10と、対象装置100とを備える。   First, the simulation system according to the embodiment will be described with reference to FIG. FIG. 1 is a diagram illustrating a simulation system S according to the embodiment. As shown in FIG. 1, the simulation system S according to the embodiment includes a simulation device 1, an external device 10, and a target device 100.

外部装置10は、例えばPC(personal computer)であり、シミュレーション装置1から送信される送信データであるシミュレーションの結果に基づいて処理を行う装置である。外部装置10は、例えばシミュレーションの結果を表示部10aに表示したり、図示しない記憶部に記憶したりすることができる。   The external device 10 is, for example, a PC (personal computer), and is a device that performs processing based on simulation results that are transmission data transmitted from the simulation device 1. For example, the external device 10 can display a simulation result on the display unit 10a or store it in a storage unit (not shown).

また、外部装置10は、ユーザからシミュレーションにおける評価項目の設定を受け付け、シミュレーション装置1へ送信する。評価項目とは、シミュレーションの実行中に計測されるデータの項目であり、例えば、エンジン回転数や、エンジンの点火時刻等がある。つまり、シミュレーション実行中に計測された評価項目のデータが外部装置10において表示、記憶される。   In addition, the external device 10 receives the setting of the evaluation item in the simulation from the user and transmits it to the simulation device 1. An evaluation item is an item of data measured during the execution of the simulation, and includes, for example, the engine speed and the ignition time of the engine. That is, the evaluation item data measured during the simulation is displayed and stored in the external device 10.

シミュレーション装置1は、例えば、対象装置100が搭載される実機を模擬した数式を実行して対象装置100のシミュレーションを行う、いわゆるHILS(Hardware In the Loop Simulation)である。   The simulation apparatus 1 is, for example, a so-called HILS (Hardware In the Loop Simulation) in which a simulation of the target apparatus 100 is performed by executing mathematical formulas that simulate an actual machine on which the target apparatus 100 is mounted.

シミュレーション装置1は、例えば、車両のエンジンや走行時の挙動等を模擬した数式を実行することでECU(Electronic Control Unit)等の対象装置100を実際に車両に搭載することなく性能等の検証を行える。   For example, the simulation device 1 performs verification of performance and the like without actually mounting the target device 100 such as an ECU (Electronic Control Unit) on the vehicle by executing mathematical formulas that simulate the engine of the vehicle and the behavior during traveling. Yes.

具体的には、シミュレーション装置1は、外部装置10から送信される評価項目に基づいてシミュレーションを実行するとともに、一定の周期で評価項目のデータを計測し、計測したデータを含む結果を外部装置10へ送信する。   Specifically, the simulation apparatus 1 executes the simulation based on the evaluation item transmitted from the external device 10, measures the data of the evaluation item at a constant cycle, and outputs the result including the measured data to the external device 10. Send to.

対象装置100は、シミュレーション装置1におけるシミュレーションの対象となる装置である。例えば、対象装置100は、車両のシステムを制御するECU等の制御装置である。なお、対象装置100は、車載のECUに限定されず、シミュレーション装置1でシミュレーションが可能であればいかなる制御装置であってもよい。   The target device 100 is a device that is a simulation target in the simulation device 1. For example, the target device 100 is a control device such as an ECU that controls a vehicle system. The target device 100 is not limited to an in-vehicle ECU, and may be any control device as long as the simulation device 1 can perform a simulation.

ここで、従来のシミュレーション装置について説明する。従来のシミュレーション装置は、データの必要度に関わらず、全ての評価項目について、同じ周期でデータを計測していた。具体的には、後の解析のために、比較的細かい周期で計測する記憶対象の評価項目のデータと同じ周期で、表示対象となる評価項目のデータを計測していた。   Here, a conventional simulation apparatus will be described. A conventional simulation apparatus measures data at the same cycle for all evaluation items regardless of the necessity of data. Specifically, for later analysis, the evaluation item data to be displayed is measured at the same cycle as the data of the evaluation item to be stored that is measured at a relatively fine cycle.

このため、従来のシミュレーション装置は、全評価項目のデータの計測に加えてシミュレーションを実行するための演算を同時並行で行っていることもあり、例えば、シミュレーション実行中に、表示対象となる評価項目を新たに追加するといった変更を行うことが難しかった。   For this reason, the conventional simulation apparatus may perform the calculation for executing the simulation in addition to the measurement of the data of all the evaluation items at the same time, for example, the evaluation item to be displayed during the simulation execution. It was difficult to make changes such as adding a new one.

仮に、シミュレーション実行中に、表示対象となる評価項目を追加した場合、シミュレーションの演算をやり直す必要がある。このため、演算をやり直している間は、処理負荷が大きくなることで、計測が中断してしまうおそれがある。その結果、計測処理に遅れが生じ、リアルタイム性が損なわれるおそれがあった。   If an evaluation item to be displayed is added during simulation, it is necessary to redo the simulation calculation. For this reason, there is a possibility that the measurement may be interrupted due to an increase in processing load while the calculation is performed again. As a result, there is a possibility that the measurement process is delayed and the real-time property is impaired.

そこで、実施形態に係るシミュレーション装置1は、表示対象の評価項目については、記憶対象の評価項目よりも計測する周期を長くすることとした。具体的には、図1に示すように、実施形態に係るシミュレーション装置1は、記憶対象の評価項目であるサンプリング項目を第1周期毎に計測し、表示対象の評価項目であるモニタリング項目を第1周期よりも長い第2周期毎に計測する。   Therefore, the simulation apparatus 1 according to the embodiment makes the measurement period longer for the evaluation item to be displayed than for the evaluation item to be stored. Specifically, as illustrated in FIG. 1, the simulation apparatus 1 according to the embodiment measures a sampling item that is an evaluation item to be stored for each first period, and sets a monitoring item that is an evaluation item to be displayed. Measurement is performed every second period longer than one period.

図1に示す例では、実施形態に係るシミュレーション装置1は、サンプリング項目70個に対応するサンプリングデータ70個を第1周期で計測し、モニタリング項目に対応するモニタリングデータ70個を第1周期の10周期分に相当する第2周期で計測する。   In the example illustrated in FIG. 1, the simulation apparatus 1 according to the embodiment measures 70 sampling data corresponding to 70 sampling items in a first period, and 70 monitoring data corresponding to monitoring items is 10 in the first period. Measurement is performed in a second period corresponding to the period.

より具体的には、実施形態に係るシミュレーション装置1は、第2周期のうち、第1周期の1〜7周期でモニタリングデータ70個を計測し、残りの8〜10周期の間は、計測を待機する。   More specifically, the simulation device 1 according to the embodiment measures 70 monitoring data in 1 to 7 cycles of the first cycle out of the second cycle, and performs measurement during the remaining 8 to 10 cycles. stand by.

言い換えれば、実施形態に係るシミュレーション装置1は、新たにモニタリング項目が追加された場合には、計測待機の8〜10周期において、追加されたモニタリング項目を計測する。   In other words, when a monitoring item is newly added, the simulation apparatus 1 according to the embodiment measures the added monitoring item in 8 to 10 cycles of measurement standby.

従って、実施形態に係るシミュレーション装置1によれば、シミュレーション実行中に、モニタリング項目を追加したとしても、計測待機の周期にモニタリング項目を加えるだけでよいため、シミュレーションの演算負荷を軽減できる。すなわち、リアルタイム性を損なうことなく表示対象の評価項目を追加することができる。   Therefore, according to the simulation apparatus 1 according to the embodiment, even if a monitoring item is added during the simulation execution, it is only necessary to add the monitoring item to the measurement standby period, so that the calculation load of the simulation can be reduced. That is, an evaluation item to be displayed can be added without impairing real-time properties.

次に、図2を参照して、実施形態に係るシミュレーション装置1を含むシミュレーションシステムSの構成について詳細に説明する。図2は、実施形態に係るシミュレーションシステムSの構成を示すブロック図である。   Next, the configuration of the simulation system S including the simulation apparatus 1 according to the embodiment will be described in detail with reference to FIG. FIG. 2 is a block diagram illustrating a configuration of the simulation system S according to the embodiment.

図2に示すように、実施形態に係るシミュレーションシステムSは、シミュレーション装置1と、外部装置10と、対象装置100とを備える。   As illustrated in FIG. 2, the simulation system S according to the embodiment includes a simulation device 1, an external device 10, and a target device 100.

実施形態に係るシミュレーション装置1は、制御部2と、記憶部3とを備える。制御部2は、受付部21と、配分部22と、シミュレータ部23と、第1計測部24と、第2計測部25と、データ送信部26とを備える。記憶部3は、シミュレーション情報31と、結果情報32とを記憶する。   The simulation apparatus 1 according to the embodiment includes a control unit 2 and a storage unit 3. The control unit 2 includes a reception unit 21, a distribution unit 22, a simulator unit 23, a first measurement unit 24, a second measurement unit 25, and a data transmission unit 26. The storage unit 3 stores simulation information 31 and result information 32.

ここで、シミュレーション装置1は、たとえば、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)、HDD(Hard Disk Drive)、入出力ポートなどを有するコンピュータや各種の回路を含む。   Here, the simulation apparatus 1 includes, for example, a computer having a central processing unit (CPU), a read only memory (ROM), a random access memory (RAM), an HDD (hard disk drive), an input / output port, and various circuits. Including.

コンピュータのCPUは、たとえば、ROMに記憶されたプログラムを読み出して実行することによって、制御部2の受付部21、配分部22、シミュレータ部23、第1計測部24、第2計測部25およびデータ送信部26として機能する。   The CPU of the computer, for example, reads and executes a program stored in the ROM, thereby allowing the receiving unit 21, the distributing unit 22, the simulator unit 23, the first measuring unit 24, the second measuring unit 25, and the data of the control unit 2. It functions as the transmission unit 26.

また、制御部2の受付部21、配分部22、シミュレータ部23、第1計測部24、第2計測部25およびデータ送信部26の少なくともいずれか一つまたは全部をASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等のハードウェアで構成することもできる。   In addition, at least one or all of the reception unit 21, the distribution unit 22, the simulator unit 23, the first measurement unit 24, the second measurement unit 25, and the data transmission unit 26 of the control unit 2 are configured as an ASIC (Application Specific Integrated Circuit). Or hardware such as FPGA (Field Programmable Gate Array).

また、記憶部3は、たとえば、RAMやHDDに対応する。RAMやHDDは、シミュレーション情報31や、結果情報32、各種プログラムの情報等を記憶することができる。なお、シミュレーション装置1は、有線や無線のネットワークで接続された他のコンピュータや可搬型記録媒体を介して上記したプログラムや各種情報を取得することとしてもよい。   The storage unit 3 corresponds to, for example, a RAM or an HDD. The RAM and HDD can store simulation information 31, result information 32, information on various programs, and the like. Note that the simulation apparatus 1 may acquire the above-described program and various types of information via another computer or a portable recording medium connected via a wired or wireless network.

制御部2は、外部装置10から受け付ける評価項目に基づいてシミュレーションを実行するとともに、サンプリングデータおよびモニタリングデータを計測し、外部装置10へ計測したデータを送信する。   The control unit 2 executes simulation based on the evaluation items received from the external device 10, measures sampling data and monitoring data, and transmits the measured data to the external device 10.

受付部21は、対象装置100のシミュレーションにおける記憶対象となるサンプリング項目および表示対象となるモニタリング項目の少なくとも一方である評価項目を受け付ける。   The receiving unit 21 receives an evaluation item that is at least one of a sampling item to be stored and a monitoring item to be displayed in the simulation of the target device 100.

受付部21は、外部装置10において、予め記憶された評価項目を表示部10a(図1参照)を介してユーザへ提示し、ユーザの選択操作によって選択されたサンプリング項目およびモニタリング項目を受け付ける。   In the external device 10, the reception unit 21 presents pre-stored evaluation items to the user via the display unit 10a (see FIG. 1), and receives sampling items and monitoring items selected by the user's selection operation.

また、受付部21は、後述するシミュレータ部23によってシミュレーションが実行されている期間において、モニタリング項目である評価項目の変更を受け付ける。例えば、受付部21は、モニタリング項目の追加や削除を受け付ける。   In addition, the reception unit 21 receives a change in an evaluation item that is a monitoring item during a period in which a simulation is executed by a simulator unit 23 described later. For example, the reception unit 21 receives addition and deletion of monitoring items.

ここで、図3を用いて、受付部21が受け付ける評価項目について説明する。図3は、受付部21が受け付ける評価項目の説明図である。図3に示すように、評価項目の情報には、「評価項目」、「サンプリングフラグ」および「モニタリングフラグ」といった内容が含まれる。   Here, the evaluation items received by the receiving unit 21 will be described with reference to FIG. FIG. 3 is an explanatory diagram of evaluation items received by the receiving unit 21. As shown in FIG. 3, the evaluation item information includes contents such as “evaluation item”, “sampling flag”, and “monitoring flag”.

「評価項目」は、各評価項目の名称等といった識別情報を示す。「サンプリングフラグ」は、サンプリング項目として計測するか否かを示す。「モニタリングフラグ」は、モニタリング項目として計測するか否かを示す。   “Evaluation item” indicates identification information such as the name of each evaluation item. The “sampling flag” indicates whether or not to measure as a sampling item. The “monitoring flag” indicates whether or not to measure as a monitoring item.

図3に示す例において、評価項目が「IGフラグ」は、サンプリングフラグが「1」、モニタリングフラグが「0」、すなわちサンプリング項目として計測し、モニタリング項目として計測しないことを示す。つまり、「IGフラグ」のデータは、外部装置10に記憶されるのみであり、表示部10aに表示されない。   In the example illustrated in FIG. 3, the evaluation item “IG flag” indicates that the sampling flag is “1” and the monitoring flag is “0”, that is, measurement is performed as a sampling item and is not measured as a monitoring item. That is, the “IG flag” data is only stored in the external device 10 and is not displayed on the display unit 10a.

また、評価項目が「エンジン回転数」は、サンプリングフラグもモニタリングフラグも「1」、すなわちサンプリング項目およびモニタリング項目として計測することを示す。つまり、「エンジン回転数」は、外部装置10に記憶されるとともに、表示部10aに表示される。   The evaluation item “engine speed” indicates that the sampling flag and the monitoring flag are both “1”, that is, the sampling item and the monitoring item are measured. That is, the “engine speed” is stored in the external device 10 and displayed on the display unit 10a.

また、評価項目が「クランクセンサフェール」は、サンプリングフラグが「0」、モニタリングフラグが「1」、すなわちサンプリング項目として計測せず、モニタリング項目として計測することを示す。つまり、「クランクセンサフェール」は、外部装置10に記憶されず、表示部10aに表示されるのみである。   The evaluation item “crank sensor failure” indicates that the sampling flag is “0” and the monitoring flag is “1”, that is, measurement is not performed as a sampling item, but is measured as a monitoring item. That is, the “crank sensor failure” is not stored in the external device 10 but only displayed on the display unit 10a.

図2に戻って、配分部22について説明する。配分部22は、受付部21が受け付けた評価項目のうち、モニタリング項目を基準数毎のグループに配分する。ここで、図4を用いて、配分部22の処理内容について説明する。   Returning to FIG. 2, the distribution unit 22 will be described. The distribution unit 22 distributes the monitoring items among the evaluation items received by the reception unit 21 to groups for each reference number. Here, the processing content of the distribution part 22 is demonstrated using FIG.

図4は、配分部22の処理内容を示す図である。図4では、モニタリング項目が64個である場合の配分方法について説明する。図4に示すように、例えば、配分部22は、64個のモニタリング項目を基準数である10個ずつのグループに配分する。   FIG. 4 is a diagram illustrating processing contents of the distribution unit 22. In FIG. 4, a distribution method when there are 64 monitoring items will be described. As shown in FIG. 4, for example, the distribution unit 22 distributes 64 monitoring items to groups each of which is a reference number.

具体的には、配分部22は、10個のモニタリング項目を含むグループを6つと、4個のモニタリング項目を含むグループを1つ生成する。つまり、配分部22は、64個のモニタリング項目を10個ずつ引いていき、10個未満となった場合には半端分である4個で1つのグループを生成する。なお、かかる基準数は、10個に限定されず、後述する第2計測部25の計測処理においてリアルタイム性を損ねない程度の個数が予め設定される。   Specifically, the distribution unit 22 generates six groups including ten monitoring items and one group including four monitoring items. That is, the distribution unit 22 draws 64 monitoring items 10 by 10 and generates a group of 4 which is a half-length when the number is less than 10. Note that the reference number is not limited to ten, and a number that does not impair the real-time property in the measurement process of the second measurement unit 25 described later is set in advance.

つまり、予め設定される基準数毎にグループを生成するとともに、半端分を1つのグループとして生成することで、配分処理において複雑な計算をする必要がないため、制御部2の処理負荷を軽減できる。   In other words, by generating a group for each preset reference number and generating a half-end portion as one group, it is not necessary to perform complicated calculations in the distribution process, so the processing load on the control unit 2 can be reduced. .

なお、配分部22は、モニタリング項目を均等割り(64個を8個×8グループに配分)してもよいが、かかる点については、図12Aおよび図12Bで後述する。   The distribution unit 22 may equally divide the monitoring items (64 are distributed into 8 × 8 groups). This will be described later with reference to FIGS. 12A and 12B.

また、配分部22は、シミュレーション途中に新たなモニタリング項目を受け付けた場合には、半端分である4個のグループに新たなモニタリング項目を配分することができるが、かかる点については図6で後述する。   In addition, when a new monitoring item is received during the simulation, the distribution unit 22 can distribute the new monitoring item to the four groups that are half-finished. This point will be described later with reference to FIG. To do.

図2に戻って、シミュレータ部23について説明する。シミュレータ部23は、受付部21が受け付けた評価項目に基づいてシミュレーションを実行する。具体的には、シミュレータ部23は、記憶部3に記憶されたシミュレーション情報31に基づいてシミュレーションを実行する。   Returning to FIG. 2, the simulator unit 23 will be described. The simulator unit 23 executes a simulation based on the evaluation item received by the receiving unit 21. Specifically, the simulator unit 23 executes a simulation based on the simulation information 31 stored in the storage unit 3.

シミュレーション情報31は、シミュレーションにおける設定条件や入出力信号等を生成するための演算式を含んだモデルプログラムの情報である。つまり、シミュレータ部23は、評価項目における条件によって、シミュレーション情報31のモデルプログラムを演算し、演算結果に基づいて疑似信号を生成したり、対象装置100の応答信号に対するデータを生成したりする。   The simulation information 31 is model program information including an arithmetic expression for generating setting conditions, input / output signals, and the like in the simulation. That is, the simulator unit 23 calculates the model program of the simulation information 31 according to the conditions in the evaluation items, generates a pseudo signal based on the calculation result, and generates data for the response signal of the target device 100.

第1計測部24および第2計測部25は、シミュレータ部23によって実行されたシミュレーションに基づいて評価項目に対応するデータを計測する計測処理を行う。ここで、図5〜図7を用いて第1計測部24および第2計測部25の計測処理について説明する。   The first measurement unit 24 and the second measurement unit 25 perform measurement processing for measuring data corresponding to the evaluation item based on the simulation executed by the simulator unit 23. Here, the measurement process of the 1st measurement part 24 and the 2nd measurement part 25 is demonstrated using FIGS.

図5〜図7は、計測処理の説明図である。まず、図5を用いて、第1計測部24および第2計測部25による計測処理について説明する。図5では、受付部21が受け付けたサンプリング項目が70個であり、モニタリング項目が64個であるとする。   5-7 is explanatory drawing of a measurement process. First, measurement processing by the first measurement unit 24 and the second measurement unit 25 will be described with reference to FIG. In FIG. 5, it is assumed that 70 sampling items are received by the receiving unit 21 and 64 monitoring items are received.

図5に示すように、第1計測部24は、シミュレータ部23によって実行されたシミュレーションに基づいて第1周期でサンプリング項目に対応するサンプリングデータを計測する。具体的には、第1計測部24は、第1周期毎に70個のサンプリング項目に対応する70個のサンプリングデータを計測する。   As shown in FIG. 5, the first measurement unit 24 measures sampling data corresponding to the sampling item in the first period based on the simulation executed by the simulator unit 23. Specifically, the first measuring unit 24 measures 70 sampling data corresponding to 70 sampling items for each first period.

また、図5に示すように、第2計測部25は、シミュレータ部23によって実行されたシミュレーションに基づいて第1周期よりも長い第2周期でモニタリング項目に対応するモニタリングデータを計測する。具体的には、第2計測部25は、第2周期毎に64個のモニタリング項目に対応する64個のモニタリングデータを計測する。   Further, as shown in FIG. 5, the second measuring unit 25 measures monitoring data corresponding to the monitoring item in a second period longer than the first period based on the simulation executed by the simulator unit 23. Specifically, the 2nd measurement part 25 measures 64 monitoring data corresponding to 64 monitoring items for every 2nd period.

また、図5に示すように、第2計測部25は、第1周期のn倍(nは整数)である第2周期で計測する。例えば、図5では、第2周期は、第1周期の10倍に相当する。なお、第2周期は、第1周期の10倍に限らず、2倍以上の任意の整数であればよい。このように、第2周期を第1周期の整数倍とすることで、計測タイミングの調整を容易に行うことができる。   Moreover, as shown in FIG. 5, the 2nd measurement part 25 measures in the 2nd period which is n time (n is an integer) of a 1st period. For example, in FIG. 5, the second period corresponds to 10 times the first period. The second period is not limited to 10 times the first period, and may be any integer that is 2 times or more. Thus, the measurement timing can be easily adjusted by setting the second period to be an integral multiple of the first period.

また、図5に示すように、第2計測部25は、第2周期における第1周期毎に、配分部22によって配分されたグループ単位でモニタリングデータを計測する。具体的には、第2計測部25は、第1周期の1〜6周期目の各周期において、1つのグループである10個のモニタリング項目に対応する10個のモニタリングデータを計測する。   As shown in FIG. 5, the second measurement unit 25 measures monitoring data in units of groups distributed by the distribution unit 22 for each first period in the second period. Specifically, the 2nd measurement part 25 measures 10 monitoring data corresponding to 10 monitoring items which are one group in each period of the 1st-6th period of the 1st period.

そして、第2計測部25は、7周期目において、半端分のグループである4個のモニタリング項目に対応する4個のモニタリングデータを計測する。そして、第2計測部25は、8〜10周期目において、計測を待機する。   And the 2nd measurement part 25 measures four monitoring data corresponding to four monitoring items which are the groups for half-ends in the 7th period. And the 2nd measurement part 25 waits for a measurement in the 8th-10th period.

つまり、第2計測部25は、第2周期における第1周期の数のうち、グループの数を超える数の第1周期については計測を待機する。これにより、例えば、シミュレーション途中に新たにモニタリング項目の追加を受け付けた場合に、計測待機の第1周期(8〜10周期目)にモニタリング項目を追加することができる。   That is, the second measurement unit 25 waits for measurement for the number of first periods in the second period that exceeds the number of groups. Thereby, for example, when the addition of a monitoring item is newly accepted during the simulation, the monitoring item can be added to the first cycle (8th to 10th cycles) of measurement standby.

また、64個のモニタリング項目を1周期で計測するのではなく、複数のグループに分けて計測することで、第2周期内で処理負荷が偏ることを防止できる。   Moreover, it is possible to prevent the processing load from being biased within the second period by measuring the 64 monitoring items in a plurality of groups instead of measuring them in one period.

次に、図6および図7を用いて、モニタリング項目を追加する場合の処理について詳細に説明する。図6では、64個のモニタリング項目に新たに7個のモニタリング項目(7項目)を追加する場合を一例に説明する。   Next, a process for adding a monitoring item will be described in detail with reference to FIGS. 6 and 7. In FIG. 6, a case where seven monitoring items (7 items) are newly added to 64 monitoring items will be described as an example.

図6に示すように、まず、配分部22は、受付部21によって新たにモニタリング項目を受け付けた場合、既に生成したグループのうち、基準数未満のモニタリング項目が含まれるグループに追加されたモニタリング項目を配分する。   As shown in FIG. 6, first, when the distribution unit 22 newly receives a monitoring item by the reception unit 21, the monitoring item added to a group including monitoring items less than the reference number among already generated groups. Apportion.

具体的には、配分部22は、半端分である4個のモニタリング項目を含む7周期目のグループに新たに追加されたモニタリング項目を追加する。より具体的には、配分部22は、新たに追加された7個のモニタリング項目のうち、6個を7周期目のグループに配分して、10個のモニタリング項目を含むグループにする。   Specifically, the distribution unit 22 adds the newly added monitoring item to the seventh cycle group including four monitoring items that are half-finished. More specifically, the distribution unit 22 distributes 6 out of the newly added 7 monitoring items to the group in the 7th period, thereby forming a group including 10 monitoring items.

そして、配分部22は、残った1個のモニタリング項目を新たなグループに配分する。つまり、配分部22は、基準数未満のモニタリング項目が含まれるグループが存在しない場合、新たなグループに追加となるモニタリング項目を配分する。   Then, the distribution unit 22 distributes the remaining one monitoring item to a new group. That is, when there is no group including monitoring items less than the reference number, the distribution unit 22 distributes additional monitoring items to the new group.

そして、図6に示すように、第2計測部25は、1個のモニタリング項目を含む新たなグループを第2周期における8周期目で計測する。言い換えると、第2計測部25は、第2周期における第1周期の数のうち、グループの数を超える数の第1周期において、新たなグループのモニタリングデータを計測する。   And as shown in FIG. 6, the 2nd measurement part 25 measures the new group containing one monitoring item in the 8th period in a 2nd period. In other words, the second measuring unit 25 measures monitoring data of a new group in the first period that exceeds the number of groups among the number of first periods in the second period.

つまり、シミュレーション途中に、新たなモニタリング項目が追加された場合でも、計測待機の周期において、新たなモニタリング項目の計測を行うため、計測処理の再設定を行う必要がない。従って、リアルタイム性を損なうことなく新たなモニタリング項目を追加することができる。   That is, even when a new monitoring item is added during the simulation, it is not necessary to reset the measurement process because the new monitoring item is measured in the measurement standby cycle. Therefore, a new monitoring item can be added without impairing real-time performance.

また、新たなモニタリング項目をグループに配分する際に、半端分である基準数未満のモニタリング項目が含まれるグループを優先して配分することで、不必要にグループが増えることを防止できる。つまり、第2周期における第1周期それぞれで処理負荷がばらつくことを防止できる。   In addition, when new monitoring items are allocated to groups, it is possible to prevent the number of groups from increasing unnecessarily by preferentially allocating groups including monitoring items that are less than the reference number, which is an odd number. That is, the processing load can be prevented from varying in each of the first periods in the second period.

次に、図7を用いて、モニタリング項目を追加する場合の処理についてさらに説明する。図7では、64個のモニタリング項目に新たに37個のモニタリング項目を追加する場合を一例に説明する。   Next, the processing for adding a monitoring item will be further described with reference to FIG. In FIG. 7, a case where 37 monitoring items are newly added to 64 monitoring items will be described as an example.

図7に示すように、新たに37個のモニタリング項目が追加されて、101個のモニタリング項目の計測処理を行う場合、10個のモニタリング項目を含むグループが10個と、1個のモニタリング項目を含むグループが1個存在することとなる。   As shown in FIG. 7, when 37 monitoring items are newly added and measurement processing of 101 monitoring items is performed, there are 10 groups including 10 monitoring items and 1 monitoring item. There will be one group to include.

つまり、101個のモニタリング項目を計測しようとした場合、第1周期が11周期分必要となるため、10周期分しか含まれない第2周期内で、すべてのモニタリング項目を計測できないことになる。   In other words, when 101 monitoring items are to be measured, the first cycle is required for 11 cycles, and therefore, all monitoring items cannot be measured within the second cycle including only 10 cycles.

そこで、第2計測部25は、かかる場合に、第2周期を延ばすこととした。具体的には、第2計測部25は、第2周期における第1周期の数のうち、グループの数を超える数の第1周期が無い場合、第2周期を第1周期のm倍(m>n)に変更する。   Therefore, in this case, the second measurement unit 25 extends the second period. Specifically, the second measuring unit 25 determines that the second period is m times the first period (m when the number of the first periods in the second period exceeds the number of groups. > N).

図7に示す例では、第2計測部25は、第1周期の10倍であった第2周期を、第1周期の20倍に変更する。つまり、第2計測部25は、第2周期における第1周期の1周期目に10個のモニタリングデータを計測した場合、次の計測は、第1周期の21周期目に行う。このように、計測するモニタリング項目の数に応じて第2周期の長さを変更することで、追加できるモニタリング項目の数を容易に増やすことができる。   In the example illustrated in FIG. 7, the second measurement unit 25 changes the second period, which is 10 times the first period, to 20 times the first period. That is, when the second measurement unit 25 measures 10 monitoring data in the first cycle of the first cycle in the second cycle, the second measurement is performed in the 21st cycle of the first cycle. Thus, the number of monitoring items that can be added can be easily increased by changing the length of the second period in accordance with the number of monitoring items to be measured.

なお、図7では、第2計測部25は、第1周期の10倍から20倍に変更したが、これに限定されず、20倍未満であってもよく、20倍を超える倍率であってもよい。言い換えると、倍率が高くなるほど、1つのグループが計測される周期が長くなるが、ユーザにとって有用なデータとして取り扱えればよい。   In FIG. 7, the second measuring unit 25 is changed from 10 times to 20 times the first period. However, the second measuring unit 25 is not limited to this, and may be less than 20 times or a magnification exceeding 20 times. Also good. In other words, the higher the magnification is, the longer the period for which one group is measured, but it is only necessary to handle the data as useful for the user.

図2に戻って、データ送信部26について説明する。データ送信部26は、所定数の第1周期毎にサンプリングデータおよびモニタリングデータをまとめた送信データを送信する。具体的には、データ送信部26は、第1計測部24および第2計測部25から第1周期毎に入力されるサンプリングデータおよびモニタリングデータを一時的に結果情報32に格納する。   Returning to FIG. 2, the data transmission unit 26 will be described. The data transmission unit 26 transmits transmission data in which sampling data and monitoring data are collected every predetermined number of first periods. Specifically, the data transmission unit 26 temporarily stores sampling data and monitoring data input from the first measurement unit 24 and the second measurement unit 25 for each first period in the result information 32.

そして、データ送信部26は、所定数の第1周期毎に結果情報32からサンプリングデータおよびモニタリングデータを取得して送信データを生成する。ここで、図8を用いて、データ送信部26が生成する送信データについて説明する。   Then, the data transmission unit 26 acquires the sampling data and the monitoring data from the result information 32 every predetermined number of first periods, and generates transmission data. Here, transmission data generated by the data transmission unit 26 will be described with reference to FIG.

図8は、送信データの説明図である。図8には、送信データである通信パケットPを示す。図8に示すように、通信パケットPは、第1領域R1と、第2領域R2と、第3領域R3とを有する。   FIG. 8 is an explanatory diagram of transmission data. FIG. 8 shows a communication packet P that is transmission data. As shown in FIG. 8, the communication packet P has a first region R1, a second region R2, and a third region R3.

第1領域R1は、送信データの送信先や送信元、送信データの内容等といったヘッダ情報が含まれる。第2領域R2は、モニタリングデータ64個が1回分(第2周期が1周期分)含まれる。第3領域R3は、サンプリングデータ70個が10回分(第1周期が10周期分)含まれる。   The first region R1 includes header information such as a transmission destination and a transmission source of transmission data, contents of transmission data, and the like. The second region R2 includes 64 monitoring data for one time (the second period is one period). The third region R3 includes 10 sampling data 10 times (the first period is 10 periods).

つまり、通信パケットPには、第1周期が10周期分の間に収集されたサンプリングデータおよびモニタリングデータが含まれる。言い換えれば、配分部22は、送信データにおける第1周期の数よりもグループの数を少なくする。   That is, the communication packet P includes sampling data and monitoring data collected during the first period of 10 periods. In other words, the distribution unit 22 makes the number of groups smaller than the number of first periods in the transmission data.

これにより、1回の通信パケットPで全グループのモニタリングデータを送信できるため、外部装置10側においてモニタリングデータの表示タイミングがずれることを防止できる。   Thereby, since the monitoring data of all the groups can be transmitted by one communication packet P, it is possible to prevent the display timing of the monitoring data from being shifted on the external device 10 side.

次に、図9を用いて、実施形態に係るシミュレーションシステムSの処理手順について説明する。図9は、実施形態に係るシミュレーションシステムSにおけるシミュレーション処理の手順を示すシーケンス図である。   Next, a processing procedure of the simulation system S according to the embodiment will be described with reference to FIG. FIG. 9 is a sequence diagram illustrating a procedure of simulation processing in the simulation system S according to the embodiment.

図9に示すように、外部装置10は、まず、ユーザから評価項目の設定を受け付ける(ステップS11)。つづいて、外部装置10は、受け付けた評価項目の情報である設定情報の転送指示をユーザから受け付ける(ステップS12)。   As shown in FIG. 9, the external device 10 first receives the setting of the evaluation item from the user (step S11). Subsequently, the external device 10 receives a setting information transfer instruction, which is information of the received evaluation item, from the user (step S12).

つづいて、外部装置10は、ユーザから転送指示を受け付けると、シミュレーション装置1へ設定情報を転送する(ステップS13)。つづいて、外部装置10は、シミュレーションの開始指示を受け付ける(ステップS14)。   Subsequently, when receiving a transfer instruction from the user, the external device 10 transfers the setting information to the simulation device 1 (step S13). Subsequently, the external device 10 receives a simulation start instruction (step S14).

外部装置10は、シミュレーションの開始指示を受け付けると、シミュレーション装置1に対してシミュレーションの開始要求を送信する(ステップS15)。つづいて、シミュレーション装置1は、外部装置10から開始要求を受け付けると、シミュレーションを実行するとともに、サンプリング項目に対応するサンプリングデータおよびモニタリング項目に対応するモニタリングデータを計測する(ステップS16)。   When receiving the simulation start instruction, the external device 10 transmits a simulation start request to the simulation device 1 (step S15). Subsequently, when receiving a start request from the external device 10, the simulation apparatus 1 executes a simulation and measures sampling data corresponding to the sampling item and monitoring data corresponding to the monitoring item (step S16).

つづいて、シミュレーション装置1は、所定数の第1周期毎にサンプリングデータおよびモニタリングデータをまとめた送信データを生成し、外部装置10へ送信する(ステップS17)。   Subsequently, the simulation apparatus 1 generates transmission data in which sampling data and monitoring data are collected every predetermined number of first periods, and transmits the transmission data to the external apparatus 10 (step S17).

つづいて、外部装置10は、送信データを受け取ると、サンプリングデータを記憶部に記憶し(ステップS18)、モニタリングデータを表示部10aに表示する(ステップS19)。   Subsequently, when receiving the transmission data, the external device 10 stores the sampling data in the storage unit (step S18), and displays the monitoring data on the display unit 10a (step S19).

ここで、外部装置10は、シミュレーションが実行されている期間において、ユーザからモニタリング項目の追加や削除といった変更指示を受け付けたとする(ステップS20)。   Here, it is assumed that the external apparatus 10 receives a change instruction such as addition or deletion of a monitoring item from the user during a period in which the simulation is being executed (step S20).

外部装置10は、モニタリング項目が変更された旨を示す設定情報をシミュレーション装置1へ転送する(ステップS21)。シミュレーション装置1は、変更されたモニタリング項目に対応するモニタリングデータを計測する(ステップS22)。なお、ステップS22において、変更前のモニタリングデータを計測途中であった場合は、かかる計測の次の周期から変更されたモニタリングデータの計測を行う。   The external device 10 transfers setting information indicating that the monitoring item has been changed to the simulation device 1 (step S21). The simulation apparatus 1 measures monitoring data corresponding to the changed monitoring item (step S22). In step S22, when the monitoring data before the change is being measured, the monitoring data changed from the next cycle of the measurement is measured.

シミュレーション装置1は、所定数の第1周期毎にサンプリングデータおよび変更されたモニタリング項目に対応するモニタリングデータをまとめた送信データを生成し、外部装置10へ送信する(ステップS23)。   The simulation apparatus 1 generates transmission data in which sampling data and monitoring data corresponding to the changed monitoring item are collected every predetermined number of first periods, and is transmitted to the external apparatus 10 (step S23).

つづいて、外部装置10は、送信データを受け取ると、サンプリングデータを記憶し(ステップS24)、変更されたモニタリング項目に対応するモニタリングデータを表示部10aに表示する(ステップS25)。   Subsequently, when receiving the transmission data, the external device 10 stores the sampling data (step S24), and displays the monitoring data corresponding to the changed monitoring item on the display unit 10a (step S25).

そして、シミュレーション装置1は、シミュレーションが終了すると、シミュレーション完了を外部装置10へ通知し(ステップS26)、処理を終了する。   Then, when the simulation is completed, the simulation apparatus 1 notifies the external apparatus 10 of the completion of the simulation (step S26) and ends the process.

次に、図10および図11を用いて、実施形態に係るシミュレーション装置1が実行する処理の処理手順について説明する。まず、図10を用いて、実施形態に係るシミュレーション装置1が実行する計測処理の処理手順について説明する。図10は、実施形態に係るシミュレーション装置1が実行する計測処理の処理手順を示すフローチャートである。   Next, a processing procedure of processing executed by the simulation apparatus 1 according to the embodiment will be described with reference to FIGS. 10 and 11. First, with reference to FIG. 10, a processing procedure of measurement processing executed by the simulation apparatus 1 according to the embodiment will be described. FIG. 10 is a flowchart illustrating a processing procedure of measurement processing executed by the simulation apparatus 1 according to the embodiment.

図10に示すように、まず、受付部21は、外部装置10から対象装置100のシミュレーションにおける記憶対象となるサンプリング項目および表示対象となるモニタリング項目の少なくとも一方である評価項目を受け付ける(ステップS101)。   As illustrated in FIG. 10, first, the receiving unit 21 receives an evaluation item that is at least one of a sampling item to be stored and a monitoring item to be displayed in the simulation of the target device 100 from the external device 10 (step S <b> 101). .

つづいて、配分部22は、受付部21が受け付けた評価項目にモニタリング項目が存在するか否かを判定する(ステップS102)。配分部22は、評価項目にモニタリング項目が存在する場合(ステップS102,Yes)、モニタリング項目を基準数毎のグループに配分する(ステップS103)。   Subsequently, the distribution unit 22 determines whether there is a monitoring item in the evaluation item received by the receiving unit 21 (step S102). When the monitoring item exists in the evaluation item (Yes in step S102), the distribution unit 22 distributes the monitoring item to the group for each reference number (step S103).

つづいて、シミュレータ部23は、受付部21が受け付けた評価項目に基づいてシミュレーションを実行する(ステップS104)。つづいて、第1計測部24および第2計測部25は、サンプリング項目に対応するサンプリングデータおよびモニタリング項目に対応するモニタリングデータを計測する(ステップS105)。   Subsequently, the simulator unit 23 executes a simulation based on the evaluation item received by the receiving unit 21 (step S104). Subsequently, the first measuring unit 24 and the second measuring unit 25 measure sampling data corresponding to the sampling item and monitoring data corresponding to the monitoring item (step S105).

つづいて、データ送信部26は、所定数の第1周期毎にサンプリングデータおよびモニタリングデータをまとめた送信データを生成する(ステップS106)。つづいて、データ送信部26は、生成した送信データを外部装置10へ送信し(ステップS107)、処理を終了する。   Subsequently, the data transmission unit 26 generates transmission data in which sampling data and monitoring data are collected every predetermined number of first periods (step S106). Subsequently, the data transmission unit 26 transmits the generated transmission data to the external device 10 (step S107), and ends the process.

一方、ステップS102において、配分部22は、評価項目にモニタリング項目が存在しない場合(ステップS102,No)、処理をステップS104に移行する。このとき、実行されるシミュレーションにおいて、サンプリングデータのみが計測される。   On the other hand, in Step S102, distribution part 22 shifts processing to Step S104, when a monitoring item does not exist in an evaluation item (Step S102, No). At this time, only the sampling data is measured in the simulation to be executed.

次に、図11を用いて、実施形態に係るシミュレーション装置1が実行する変更処理の処理手順について説明する。図11は、実施形態に係るシミュレーション装置1が実行する変更処理の処理手順を示すフローチャートである。   Next, a processing procedure of change processing executed by the simulation apparatus 1 according to the embodiment will be described with reference to FIG. FIG. 11 is a flowchart illustrating a processing procedure of change processing executed by the simulation apparatus 1 according to the embodiment.

図11に示すように、シミュレータ部23は、シミュレーションを実行する(ステップS201)。つづいて、受付部21は、シミュレーションが実行されている期間において、モニタリング項目の追加を受け付けたか否かを判定する(ステップS202)。   As shown in FIG. 11, the simulator unit 23 executes a simulation (step S201). Subsequently, the accepting unit 21 determines whether or not the addition of the monitoring item is accepted during the simulation period (step S202).

配分部22は、モニタリング項目の追加が受け付けられた場合(ステップS202,Yes)、既に配分されたグループの中に基準数未満のグループが存在するか否かを判定する(ステップS203)。   When the addition of the monitoring item is accepted (step S202, Yes), the distribution unit 22 determines whether there is a group that is less than the reference number among the already distributed groups (step S203).

配分部22は、基準数未満のグループが存在する場合(ステップS203,Yes)、基準数未満のグループに追加されたモニタリング項目を配分し(ステップS204)、変更処理を終了する。   When there are groups less than the reference number (Yes in step S203), the distribution unit 22 distributes the monitoring items added to the groups less than the reference number (step S204), and ends the change process.

一方、ステップS202において、モニタリング項目を受け付けなかった場合(ステップS202,No)、変更処理を終了する。また、ステップS203において、基準数未満のグループが存在しなかった場合(ステップS203,No)、追加されたモニタリング項目を新たなグループに配分する(ステップS205)。   On the other hand, when the monitoring item is not accepted in step S202 (No in step S202), the change process is terminated. In step S203, if there are no groups less than the reference number (step S203, No), the added monitoring items are distributed to new groups (step S205).

このとき、配分部22は、計測待機となる期間(第1周期)が第2周期に存在しないか否かを判定する(ステップS206)。配分部22は、計測待機となる期間が第2周期に存在しない場合(ステップS206,Yes)、第2周期を例えば2倍に延長し(ステップS207)、変更処理を終了する。   At this time, the distribution unit 22 determines whether or not there is a period (first period) in which measurement is waited for in the second period (step S206). If there is no measurement standby period in the second period (Yes at Step S206), the distribution unit 22 extends the second period, for example, twice (Step S207), and ends the change process.

一方、配分部22は、計測待機となる期間が第2周期に存在する場合(ステップS206,No)、変更処理を終了する。   On the other hand, the distribution part 22 complete | finishes a change process, when the period used as a measurement standby exists in a 2nd period (step S206, No).

上述してきたように、実施形態に係るシミュレーション装置1は、受付部21と、シミュレータ部23と、第1計測部24と、第2計測部25とを備える。受付部21は、対象装置100のシミュレーションにおける記憶対象となるサンプリング項目および表示対象となるモニタリング項目の少なくとも一方である評価項目を受け付ける。シミュレータ部23は、受付部21が受け付けた評価項目に基づいてシミュレーションを実行する。第1計測部24は、シミュレータ部23によって実行されたシミュレーションに基づいて第1周期でサンプリング項目に対応するサンプリングデータを計測する。第2計測部25は、シミュレータ部23によって実行されたシミュレーションに基づいて第1周期よりも長い第2周期でモニタリング項目に対応するモニタリングデータを計測する。これにより、リアルタイム性を損なうことなく表示対象となる評価項目を追加することができる。   As described above, the simulation apparatus 1 according to the embodiment includes the reception unit 21, the simulator unit 23, the first measurement unit 24, and the second measurement unit 25. The receiving unit 21 receives an evaluation item that is at least one of a sampling item to be stored and a monitoring item to be displayed in the simulation of the target device 100. The simulator unit 23 executes a simulation based on the evaluation item received by the receiving unit 21. The first measuring unit 24 measures the sampling data corresponding to the sampling item in the first period based on the simulation executed by the simulator unit 23. The second measurement unit 25 measures monitoring data corresponding to the monitoring item in a second period longer than the first period based on the simulation executed by the simulator unit 23. Thereby, the evaluation items to be displayed can be added without impairing the real-time property.

上述した実施形態では、配分部22は、モニタリング項目を配分する際に、基準数毎のグループを生成するとともに、基準数未満については半端分のグループとして生成(図4参照)したが、これに限らず、均等割りによってグループを生成してもよい。かかる点について、図12Aおよび図12Bを用いて説明する。   In the above-described embodiment, the distribution unit 22 generates a group for each reference number when distributing the monitoring items, and generates a group for the reference number less than the reference number (see FIG. 4). However, the group may be generated by equal division. This point will be described with reference to FIGS. 12A and 12B.

図12Aおよび図12Bは、実施形態の変形例に係る配分部22の処理内容を示す図である。図12Aに示すように、配分部22は、64個のモニタリング項目の場合、各グループに均等にモニタリング項目を配分する。   12A and 12B are diagrams illustrating processing contents of the distribution unit 22 according to the modification of the embodiment. As shown in FIG. 12A, in the case of 64 monitoring items, the distribution unit 22 distributes the monitoring items equally to each group.

具体的には、配分部22は、8個のモニタリング項目を含むグループを8つ生成する。なお、8個×8グループに限らず、例えば16個×4グループや4個×16グループであってもよい。   Specifically, the distribution unit 22 generates eight groups including eight monitoring items. The number is not limited to 8 × 8 groups, and may be, for example, 16 × 4 groups or 4 × 16 groups.

これにより、第2計測部25が、第2周期における第1周期それぞれの処理負荷を均等にすることができるため、安定してシミュレーションの実行やデータの計測を行うことができる。   Thereby, since the 2nd measurement part 25 can equalize the processing load of each 1st period in a 2nd period, it can perform simulation and measurement of data stably.

また、図12Bには、配分部22によって均等割りされた場合において、新たなモニタリング項目の追加を受け付けた際の処理を示す。図12Bでは、新たに3個のモニタリング項目が追加された場合を一例として説明する。   FIG. 12B shows a process when an addition of a new monitoring item is accepted when the distribution unit 22 equally divides. In FIG. 12B, a case where three monitoring items are newly added will be described as an example.

図12Bに示すように、第2計測部25は、モニタリング項目が新たに追加される直前において、8個のモニタリングデータを8周期にわたって均等に計測している。そして、配分部22は、新たにモニタリング項目が3個追加された場合、1〜3周期目のグループそれぞれに1個ずつモニタリング項目を追加する。   As shown in FIG. 12B, the second measurement unit 25 measures eight monitoring data evenly over eight periods immediately before a monitoring item is newly added. Then, when three monitoring items are newly added, the distribution unit 22 adds one monitoring item to each of the groups in the first to third periods.

つまり、配分部22は、新たに追加された3個のモニタリング項目についても、各グループに均等に配分する。これにより、第2計測部25の計測処理において、周期毎の処理負荷がばらつくことを防止できる。   That is, the distribution unit 22 also distributes the three newly added monitoring items equally to each group. Thereby, in the measurement process of the 2nd measurement part 25, it can prevent that the processing load for every period varies.

さらなる効果や変形例は、当業者によって容易に導き出すことができる。このため、本発明のより広範な態様は、以上のように表しかつ記述した特定の詳細および代表的な実施形態に限定されるものではない。したがって、添付の特許請求の範囲およびその均等物によって定義される総括的な発明の概念の精神または範囲から逸脱することなく、様々な変更が可能である。   Further effects and modifications can be easily derived by those skilled in the art. Thus, the broader aspects of the present invention are not limited to the specific details and representative embodiments shown and described above. Accordingly, various modifications can be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.

1 シミュレーション装置
2 制御部
3 記憶部
10 外部装置
21 受付部
22 配分部
23 シミュレータ部
24 第1計測部
25 第2計測部
26 データ送信部
31 シミュレーション情報
32 結果情報
100 対象装置
S シミュレーションシステム
DESCRIPTION OF SYMBOLS 1 Simulation apparatus 2 Control part 3 Memory | storage part 10 External apparatus 21 Reception part 22 Distribution part 23 Simulator part 24 1st measurement part 25 2nd measurement part 26 Data transmission part 31 Simulation information 32 Result information 100 Target apparatus S Simulation system

Claims (10)

対象装置のシミュレーションにおける記憶対象となるサンプリング項目および表示対象となるモニタリング項目の少なくとも一方である評価項目を受け付ける受付部と、
前記受付部が受け付けた前記評価項目に基づいて前記シミュレーションを実行するシミュレータ部と、
前記シミュレータ部によって実行された前記シミュレーションに基づいて第1周期で前記サンプリング項目に対応するサンプリングデータを計測する第1計測部と、
前記シミュレータ部によって実行された前記シミュレーションに基づいて前記第1周期よりも長い第2周期で前記モニタリング項目に対応するモニタリングデータを計測する第2計測部と
を備えることを特徴とするシミュレーション装置。
A reception unit that receives an evaluation item that is at least one of a sampling item to be stored and a monitoring item to be displayed in a simulation of the target device;
A simulator unit for executing the simulation based on the evaluation item received by the reception unit;
A first measurement unit that measures sampling data corresponding to the sampling items in a first period based on the simulation executed by the simulator unit;
A simulation apparatus comprising: a second measurement unit that measures monitoring data corresponding to the monitoring item in a second period longer than the first period based on the simulation executed by the simulator unit.
前記第2計測部は、
前記第1周期のn倍(nは整数)である前記第2周期で計測すること
を特徴とする請求項1に記載のシミュレーション装置。
The second measuring unit is
The simulation apparatus according to claim 1, wherein measurement is performed in the second period that is n times the first period (n is an integer).
前記受付部が受け付けた前記評価項目のうち、前記モニタリング項目を基準数毎のグループに配分する配分部をさらに備え、
前記第2計測部は、
前記第2周期における前記第1周期毎に、前記配分部によって配分された前記グループ単位で前記モニタリングデータを計測すること
を特徴とする請求項2に記載のシミュレーション装置。
Of the evaluation items received by the reception unit, further comprising a distribution unit that distributes the monitoring items to a group for each reference number,
The second measuring unit is
The simulation apparatus according to claim 2, wherein the monitoring data is measured in the group unit distributed by the distribution unit for each first period in the second period.
所定数の前記第1周期毎に前記サンプリングデータおよび前記モニタリングデータをまとめた送信データを送信するデータ送信部をさらに備え、
前記配分部は、
前記送信データにおける前記第1周期の数よりも前記グループの数を少なくすること
を特徴とする請求項3に記載のシミュレーション装置。
A data transmission unit that transmits transmission data in which the sampling data and the monitoring data are collected every predetermined number of the first periods;
The distribution unit is
The simulation apparatus according to claim 3, wherein the number of the groups is less than the number of the first periods in the transmission data.
前記第2計測部は、
前記第2周期における前記第1周期の数のうち、前記グループの数を超える数の前記第1周期については計測を待機すること
を特徴とする請求項3または4に記載のシミュレーション装置。
The second measuring unit is
5. The simulation apparatus according to claim 3, wherein, of the number of the first periods in the second period, the number of the first periods exceeding the number of the groups waits for measurement.
前記受付部は、
前記シミュレータ部によって前記シミュレーションが実行されている期間において、前記モニタリング項目の追加を受け付け、
前記配分部は、
前記グループのうち、前記基準数未満の前記モニタリング項目が含まれる前記グループに前記追加となる前記モニタリング項目を配分すること
を特徴とする請求項4または5に記載のシミュレーション装置。
The reception unit
In the period when the simulation is being executed by the simulator unit, the addition of the monitoring item is accepted,
The distribution unit is
The simulation apparatus according to claim 4, wherein the additional monitoring items are distributed to the group including the monitoring items less than the reference number among the groups.
前記配分部は、
前記基準数未満の前記モニタリング項目が含まれる前記グループが存在しない場合、新たなグループに前記追加となる前記モニタリング項目を配分し、
前記第2計測部は、
前記第2周期における前記第1周期の数のうち、前記グループの数を超える数の前記第1周期において、前記新たなグループの前記モニタリングデータの計測を行うこと
を特徴とする請求項6に記載のシミュレーション装置。
The distribution unit is
When the group including the monitoring items less than the reference number does not exist, the additional monitoring items are allocated to a new group,
The second measuring unit is
7. The monitoring data of the new group is measured in the first period that exceeds the number of the groups among the number of the first periods in the second period. Simulation equipment.
前記第2計測部は、
前記第2周期における前記第1周期の数のうち、前記グループの数を超える数の前記第1周期が無い場合、前記第2周期を前記第1周期のm倍(m>n)に変更すること
を特徴とする請求項7に記載のシミュレーション装置。
The second measuring unit is
If there is no first period exceeding the number of the groups among the number of the first periods in the second period, the second period is changed to m times the first period (m> n). The simulation apparatus according to claim 7, wherein:
請求項1〜8のいずれか1つに記載のシミュレーション装置と、
前記シミュレーション装置における前記シミュレーションの対象である対象装置と、
前記シミュレーション装置から送信される送信データに基づいて処理を行う外部装置と
を備えることを特徴とするシミュレーションシステム。
The simulation apparatus according to any one of claims 1 to 8,
A target device that is a target of the simulation in the simulation device;
A simulation system comprising: an external device that performs processing based on transmission data transmitted from the simulation device.
対象装置のシミュレーションにおける記憶対象となるサンプリング項目および表示対象となるモニタリング項目の少なくとも一方である評価項目を受け付ける受付工程と、
前記受付工程によって受け付けられた前記評価項目に基づいて前記シミュレーションを実行するシミュレータ工程と、
前記シミュレータ工程によって実行された前記シミュレーションに基づいて第1周期で前記サンプリング項目に対応するサンプリングデータを計測する第1計測工程と、
前記シミュレータ工程によって実行された前記シミュレーションに基づいて前記第1周期よりも長い第2周期で前記モニタリング項目に対応するモニタリングデータを計測する第2計測工程と
を含むことを特徴とするシミュレーション装置の計測方法。
A reception step of receiving an evaluation item that is at least one of a sampling item to be stored and a monitoring item to be displayed in a simulation of the target device;
A simulator process for executing the simulation based on the evaluation items received by the receiving process;
A first measurement step of measuring sampling data corresponding to the sampling items in a first period based on the simulation executed by the simulator step;
And a second measuring step of measuring monitoring data corresponding to the monitoring item in a second period longer than the first period based on the simulation executed by the simulator process. Method.
JP2017139445A 2017-07-18 2017-07-18 Simulation device, simulation system, and measurement method for simulation device Pending JP2019021068A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017139445A JP2019021068A (en) 2017-07-18 2017-07-18 Simulation device, simulation system, and measurement method for simulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017139445A JP2019021068A (en) 2017-07-18 2017-07-18 Simulation device, simulation system, and measurement method for simulation device

Publications (1)

Publication Number Publication Date
JP2019021068A true JP2019021068A (en) 2019-02-07

Family

ID=65355632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017139445A Pending JP2019021068A (en) 2017-07-18 2017-07-18 Simulation device, simulation system, and measurement method for simulation device

Country Status (1)

Country Link
JP (1) JP2019021068A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009192505A (en) * 2008-02-18 2009-08-27 Toyota Motor Corp Inspection apparatus of electronic control unit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009192505A (en) * 2008-02-18 2009-08-27 Toyota Motor Corp Inspection apparatus of electronic control unit

Similar Documents

Publication Publication Date Title
JP5669630B2 (en) Test case generation method, program and system
JP2022119718A (en) Clone application detection mechanism for securing trusted execution environment against malicious operating system
CN106843769B (en) A kind of interface data caching method, device and calculate equipment
US9501321B1 (en) Weighted service requests throttling
US20110161716A1 (en) Systems, methods, and apparatuses for providing access to real time information
JP2019021068A (en) Simulation device, simulation system, and measurement method for simulation device
CN111083010B (en) Speed measurement method and device and computer readable storage medium
CN110020264B (en) Method and device for determining invalid hyperlinks
CN109241704A (en) The gray scale dissemination method and device of new script
CN110275899A (en) Internet of things data method for stream processing, system and device
US11106478B2 (en) Simulation device, simulation method, and computer readable medium
JP2016224778A (en) Information generation system, device, method, and program
JP6239195B2 (en) Performance evaluation apparatus and performance evaluation program
Groenda et al. Improving IaaS cloud analyses by black-box resource demand modeling
CN106506608A (en) The access method of distributed block data and device
US8972913B1 (en) Concurrent multiparameter simulation system
WO2020179164A1 (en) Information processing device, information processing method, and program
JP2020201751A (en) User state estimation device
WO2013027332A1 (en) Information processing device, information processing method, and program
Mok et al. Improving the packet send-time accuracy in embedded devices
JP2004272582A (en) Performance prediction program and design support system for computer system
CN106569778B (en) A kind of method and electronic equipment of data processing
CN104539614B (en) A kind of method and apparatus of website detection number of concurrent control
CN109634560A (en) Random digit generation method, device and storage medium
CN108846141A (en) A kind of offline cache loading method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200703

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210528

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210803

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20220208