JP2010191571A - Simulator construction device - Google Patents
Simulator construction device Download PDFInfo
- Publication number
- JP2010191571A JP2010191571A JP2009033648A JP2009033648A JP2010191571A JP 2010191571 A JP2010191571 A JP 2010191571A JP 2009033648 A JP2009033648 A JP 2009033648A JP 2009033648 A JP2009033648 A JP 2009033648A JP 2010191571 A JP2010191571 A JP 2010191571A
- Authority
- JP
- Japan
- Prior art keywords
- interface
- information
- simulator
- interface signal
- input
- 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
Links
- 238000010276 construction Methods 0.000 title claims abstract description 55
- 238000000605 extraction Methods 0.000 claims description 22
- 238000004088 simulation Methods 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 238000012360 testing method Methods 0.000 description 8
- 239000000284 extract Substances 0.000 description 7
- 238000001514 detection method Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
本発明は、シミュレータ構築装置に関する。 The present invention relates to a simulator construction device.
一般に、プラント機器を制御する制御装置を製造して客先に納品する際、実機のプラント機器に接続して実運用を開始する前に、制御装置の提供者は、この制御装置が正常に動作するか否かを、プラント機器を計算機上でシミュレーションするシミュレータを用いて動作試験を行う場合が多い。 In general, when manufacturing a control device that controls plant equipment and delivering it to a customer, the control device provider should operate normally before connecting to the actual plant equipment and starting actual operation. It is often the case that an operation test is performed using a simulator that simulates plant equipment on a computer.
このように、シミュレータを用いて制御装置を動作試験するためには、制御装置とシミュレータとの間の通信を確立するため、制御対象となる個々のプラント機器とのインタフェース信号をプラント機器毎のシミュレータとのインタフェース信号へと接続を切り替える必要がある。 Thus, in order to test the operation of a control device using a simulator, in order to establish communication between the control device and the simulator, interface signals with individual plant devices to be controlled are transferred to the simulator for each plant device. It is necessary to switch the connection to the interface signal.
しかしながら、対象のプラント機器の全てのインタフェース信号からシミュレータへの接続切り替えが必要なインタフェース信号を抽出し、シミュレータとのインタフェース信号へ切り替える作業は、作業者にとって、かなり煩雑で手間が掛かり、シミュレータによる動作試験環境の構築にはかなりの時間を費やしていた。 However, extracting the interface signals that need to be switched to the simulator from all the interface signals of the target plant equipment and switching them to the interface signals with the simulator is quite cumbersome and troublesome for the operator. A considerable amount of time was spent building the test environment.
また、シミュレータによる動作試験の効果を高めるためには、シミュレータによる個々のプラント機器の応答を、実際のプラント機器の応答に一致させる必要があるが、プラント機器はプラント毎に異なり、個々のプラント機器毎の細かな仕様情報をシミュレータへ設定するのは煩雑で手間の掛かる作業であるので、結果としてシミュレータによる試験精度を下げる要因となっていた。 Moreover, in order to increase the effect of the operation test by the simulator, it is necessary to match the response of the individual plant equipment by the simulator with the response of the actual plant equipment. Setting detailed specification information for each simulator to the simulator is a cumbersome and time-consuming work, and as a result, this has been a factor of reducing the test accuracy by the simulator.
そこで、特許文献1には、実行モデル、制御対象モデル及びPLCシーケンスプログラム用ファイルから構成された仮想的なシーケンス制御システムをテストプログラムにより検証するシミュレーションを実行し、シミュレーションの結果をCRT表示装置の所定の表示領域に表示すると共に、この表示領域上でデバックが行う検証支援システムが記載されている。 Therefore, in Patent Document 1, a simulation for verifying a virtual sequence control system composed of an execution model, a controlled object model, and a PLC sequence program file by a test program is executed, and the result of the simulation is stored in a predetermined state of the CRT display device. And a verification support system that performs debugging on the display area.
しかしながら、特許文献1に記載の検証支援システムでは、シミュレーションの結果を表示領域に表示すると共に、この表示領域上でデバックが行うので、インタフェース信号の切り替え作業は、作業者による入力操作に基づいて行われるので、依然として接続切り替え作業は、煩雑で手間が掛かり、試験環境の構築にはかなりの時間を費やしていた。 However, in the verification support system described in Patent Document 1, since the simulation result is displayed in the display area and debugging is performed on the display area, the interface signal switching operation is performed based on the input operation by the operator. As a result, the connection switching operation is still cumbersome and time-consuming, and a considerable amount of time was spent building the test environment.
本発明は、上記課題に鑑みてなされたものであり、比較的簡易な操作で、シミュレータを構築するシミュレータ構築装置を提供することにある。 The present invention has been made in view of the above problems, and it is an object of the present invention to provide a simulator construction apparatus that constructs a simulator with a relatively simple operation.
上記目的を達成するため、本発明に係るシミュレータ構築装置の第1の特徴は、プラント機器又は前記プラント機器のシミュレーションを行うシミュレータと通信するためのインタフェース信号と、前記インタフェース信号の入出力先を示す入出力先情報とが関連付けられてインタフェース情報として記憶され、このインタフェース情報に基づいて前記プラント機器又は前記シミュレータを制御する制御装置と接続されたシミュレータ構築装置であって、前記インタフェース情報に含まれる前記インタフェース信号と入出力先情報とが前記プラント機器の分類毎に配列されたインタフェース仕様書情報を記憶するインタフェース仕様書情報記憶部と、前記インタフェース信号のパターン毎に、前記プラント機器の分類を示す分類コードを関連付けて、インタフェースパターン情報として記憶するインタフェースパターン情報記憶部と、前記シミュレータと通信するための前記インタフェース信号と、前記入出力先情報と、前記分類コードとを関連付けて、シミュレータインタフェース情報として記憶するシミュレータインタフェース情報記憶部と、前記インタフェースパターン情報に基づいて、前記インタフェース仕様書情報に含まれる前記インタフェース信号のパターンに対応する前記分類コードを抽出し、この抽出した分類コードを前記インタフェース信号及び前記入出力先情報と関連付けて、前記インタフェース仕様書情報記憶部に記憶させる分類コード設定手段と、前記シミュレータインタフェース情報に基づいて、前記分類コード設定手段により記憶された分類コードが関連付けられた前記インタフェース信号及び前記入出力先情報をインタフェース信号情報として抽出するインタフェース信号情報抽出手段と、前記インタフェース信号情報抽出手段により抽出されたインタフェース信号情報に基づいて、前記インタフェース情報に含まれる前記入出力先情報を、前記プラント機器を示すコードから前記シミュレータを示すコードに書き換えるインタフェース切り替え手段とを備えたことにある。 In order to achieve the above object, a first feature of the simulator construction device according to the present invention indicates an interface signal for communicating with a plant device or a simulator for simulating the plant device, and an input / output destination of the interface signal. Input / output destination information is associated and stored as interface information, and is a simulator construction device connected to a control device that controls the plant equipment or the simulator based on the interface information, and is included in the interface information An interface specification information storage unit that stores interface specification information in which interface signals and input / output destination information are arranged for each classification of the plant equipment, and a classification that indicates the classification of the plant equipment for each pattern of the interface signal Related code Therefore, an interface pattern information storage unit for storing interface pattern information, the interface signal for communicating with the simulator, the input / output destination information, and the classification code are associated with each other and stored as simulator interface information. Based on the interface information storage unit and the interface pattern information, the classification code corresponding to the interface signal pattern included in the interface specification information is extracted, and the extracted classification code is extracted from the interface signal and the input / output The classification code setting means stored in the interface specification information storage unit in association with the destination information, and the classification code stored by the classification code setting means based on the simulator interface information is Included in the interface information based on the interface signal information extracted by the interface signal information extracting means and the interface signal information extracting means for extracting the interface signal and the input / output destination information linked together as interface signal information There is provided interface switching means for rewriting the input / output destination information from a code indicating the plant equipment to a code indicating the simulator.
上記目的を達成するため、本発明に係るシミュレータ構築装置の第2の特徴は、前記シミュレータインタフェース情報記憶部は、前記シミュレータと通信するための前記インタフェース信号と、前記入出力先情報と、前記分類コードと、前記シミュレータがシミュレーションを実行するために必要なパラメータとを関連付けて、シミュレータインタフェース情報として記憶し、前記インタフェース信号情報抽出手段は、前記シミュレータインタフェース情報に基づいて、前記分類コード設定手段により記憶された分類コードが関連付けられた前記インタフェース信号と前記入出力先情報と前記パラメータとをインタフェース信号情報として抽出し、前記インタフェース信号情報抽出手段により抽出されたインタフェース信号情報に基づいて、前記シミュレータに前記パラメータを設定するパラメータ設定手段を、更に備えることにある。 In order to achieve the above object, a second feature of the simulator construction device according to the present invention is that the simulator interface information storage unit communicates with the simulator, the interface signal, the input / output destination information, and the classification. The code and parameters necessary for the simulator to execute simulation are associated and stored as simulator interface information, and the interface signal information extracting means is stored by the classification code setting means based on the simulator interface information The interface signal, the input / output destination information, and the parameter associated with the classified code are extracted as interface signal information, based on the interface signal information extracted by the interface signal information extraction unit, A parameter setting means for setting the parameters to the serial simulator is to further comprise.
本発明のシミュレータ構築装置よれば、比較的簡易な操作で、シミュレータを構築することができる。 According to the simulator construction device of the present invention, a simulator can be constructed by a relatively simple operation.
以下、本発明を実施するための形態について図面を参照して説明する。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.
<第1の実施形態>
本発明の第1の実施形態に係るシミュレータ構築装置が適用されたプラントの全体構成について説明する。
<First Embodiment>
An overall configuration of a plant to which the simulator construction device according to the first embodiment of the present invention is applied will be described.
≪全体構成≫
図1は、本発明の第1の実施形態に係るシミュレータ構築装置が適用されたプラント10の全体構成を示す全体構成図である。
≪Overall structure≫
FIG. 1 is an overall configuration diagram showing an overall configuration of a
図1に示すように、第1の実施形態に係るシミュレータ構築装置1が適用されたプラント10は、シミュレータ構築装置1と、プラント機器2と、制御装置3と、シミュレータ4とを備えている。
As shown in FIG. 1, a
プラント機器2は、実機プラントにおける各種プラント機器であり、制御装置3の制御対象であるアクチュエータや、設備の動き、温度、圧力等のプロセス状態を示すプロセス値を検出するセンサ等を備えている。
The
制御装置3は、プラント機器2又はシミュレータ4を制御する。また、制御装置3は、プラント機器2又はシミュレータ4と通信するためのインタフェース信号と、インタフェース信号の入出力先を示す入出力先情報とが関連付けられたインタフェース情報を記憶している。そして、制御装置3は、この記憶されたインタフェース情報に基づいて、プラント機器2又はシミュレータ4のいずれか一方と通信を確立することにより、プラント機器2又はシミュレータ4のいずれか一方を制御する。
The control device 3 controls the
なお、入出力先情報は、プラント機器2を示すコードである「I/O」、シミュレータ4を示すコードである「SIM」、又は制御装置3を示すコードである「PLC」のいずれかが設定される。例えば、入出力先情報として「I/O」が設定されている場合、制御装置3は、プラント機器2からインタフェース信号を受付け、入出力先情報として「SIM」が設定されている場合、制御装置3は、シミュレータ4からインタフェース信号を受付ける。
The input / output destination information is set to any one of “I / O” which is a code indicating the
シミュレータ4は、プラント機器2のシミュレーションを行う。具体的には、制御装置3から供給される制御信号に基づいて、動特性モデルを用いて演算処理を実行することにより、制御信号に対する応答として、各種シミュレーション値を制御装置3へ供給する。
The
シミュレータ構築装置1は、制御装置3及びシミュレータ4と接続されており、利用者が複雑な作業を行うことなく、制御装置3とシミュレータ4と間の通信を確立し、シミュレータ試験環境を迅速に構築する。
The simulator construction device 1 is connected to the control device 3 and the
≪シミュレータ構築装置1の構成≫
図2は、本発明の第1の実施形態に係るシミュレータ構築装置1の構成を示す構成図である。
<< Configuration of simulator construction device 1 >>
FIG. 2 is a configuration diagram showing the configuration of the simulator construction device 1 according to the first embodiment of the present invention.
図2に示すように、シミュレータ構築装置1は、CPU11と、メモリ12と、インタフェース部14と、入力部15と、出力部16と、ハードディスク17とを備える。
As shown in FIG. 2, the simulator construction device 1 includes a
メモリ12は、揮発性半導体等で構成され、CPU11がOS(Operating System)、及びシミュレータ構築プログラム等の各種プログラムや、これらのプログラムを実行する上で必要な各種データを一時的に記憶する。
The memory 12 is composed of a volatile semiconductor or the like, and the
インタフェース部14は、ネットワークカードなどの通信インタフェースであり、このインタフェース部14により制御装置3及びシミュレータ4に接続することによって、制御装置3及びシミュレータ4との間で様々なデータの送受信を行う。
The
入力部15は、マウスやキーボード等の入力装置を備えており、利用者の操作により入力信号を生成してCPU11へ供給する。
The
出力部16は、液晶ディスプレイ等の画像出力装置を備え、CPU11から供給された出力信号に基づいて、画面等を表示する。
The
ハードディスク17は、その機能上、インタフェース仕様書情報記憶部17aと、インタフェースパターン情報記憶部17bと、シミュレータインタフェース情報記憶部17cとを備える。
The
インタフェース仕様書情報記憶部17aは、制御装置3が記憶しているインタフェース情報に含まれるインタフェース信号と入出力先情報とがプラント機器2の分類毎に配列されたインタフェース仕様書情報を記憶する。
The interface specification
図3は、本発明の第1の実施形態に係るシミュレータ構築装置1が備えるインタフェース仕様書情報記憶部17aが記憶するインタフェース仕様書情報の一例を示した図である。
FIG. 3 is a diagram illustrating an example of interface specification information stored in the interface specification
図3に示すように、カラム名“設備名称”(符号101)と、カラム名“インタフェース信号”(符号102)と、カラム名“入出力先情報”(符号103)と、カラム名“分類コード”(符号104)とが関連付けられて、インタフェース仕様書情報として記憶されている。なお、設備名称101と、インタフェース信号102と、入出力先情報103とは、利用者操作に基づいて、インターフェース情報に含まれる設備名称とインタフェース信号と入出力先情報とがプラント機器2の分類毎に配列されて記憶され、分類コード104は、後述するCPU11の分類コード設定部11aにより、設備名称101と、インタフェース信号102と、入出力先情報103とに関連付けられて記憶される。
As shown in FIG. 3, the column name “equipment name” (reference numeral 101), the column name “interface signal” (reference numeral 102), the column name “input / output destination information” (reference numeral 103), and the column name “classification code”. "(Reference numeral 104) is associated and stored as interface specification information. The
インタフェースパターン情報記憶部17bは、インタフェース信号のパターン毎に分類コードを関連付けて、インタフェースパターン情報として記憶する。
The interface pattern
図4は、本発明の第1の実施形態に係るシミュレータ構築装置1が備えるインタフェースパターン情報記憶部17bが記憶するインタフェースパターン情報の一例を示した図である。
FIG. 4 is a diagram illustrating an example of interface pattern information stored in the interface pattern
図4に示すように、カラム名“インタフェース信号”(符号201)と、カラム名“入出力先”(符号202)と、カラム名“分類コード”(符号203)とが関連付けられて、インタフェースパターン情報として記憶されている。 As shown in FIG. 4, the column name “interface signal” (reference numeral 201), the column name “input / output destination” (reference numeral 202), and the column name “classification code” (reference numeral 203) are associated with each other to form an interface pattern. It is stored as information.
シミュレータインタフェース情報記憶部17cは、シミュレータ4と通信するためのインタフェース信号と、入出力先情報と、分類コードとを関連付けて、シミュレータインタフェース情報として記憶する。
The simulator interface
図5は、本発明の第1の実施形態に係るシミュレータ構築装置1が備えるシミュレータインタフェース情報記憶部17cが記憶するシミュレータインタフェース情報の一例を示した図である。
FIG. 5 is a diagram illustrating an example of simulator interface information stored in the simulator interface
図5に示すように、カラム名“分類コード”(符号301)と、カラム名“インタフェース信号”(符号302)と、カラム名“入出力先”(符号303)とが関連付けられて、シミュレータインタフェース情報として記憶されている。ここで、シミュレータ4と通信するためのインタフェース信号302及び入出力先303を、インタフェース信号情報という。
As shown in FIG. 5, the column name “classification code” (reference numeral 301), the column name “interface signal” (reference numeral 302), and the column name “input / output destination” (reference numeral 303) are associated with each other, and the simulator interface It is stored as information. Here, the
CPU11は、シミュレータ構築装置1の中枢的な制御を行う。また、CPU11は、その機能上、分類コード設定部11aと、インタフェース信号情報抽出部11bと、インタフェース切り替え部11cとを備える。
The
図6は、本発明の第1の実施形態に係るシミュレータ構築装置1が備えるCPU11の構成を説明した図である。
FIG. 6 is a diagram illustrating the configuration of the
分類コード設定部11aは、インタフェースパターン情報記憶部17bに記憶されたインタフェースパターン情報に基づいて、インタフェース仕様書情報に含まれるインタフェース信号のパターンと一致するインタフェース信号のパターンに対応する分類コードを抽出し、この抽出した分類コードをインタフェース信号及び入出力先情報と関連付けて、インタフェース仕様書情報記憶部17aに記憶させる。
Based on the interface pattern information stored in the interface pattern
インタフェース信号情報抽出部11bは、シミュレータインタフェース情報記憶部17cに記憶されたシミュレータインタフェース情報に基づいて、分類コード設定部11aにより記憶された分類コードが関連付けられたインタフェース信号及び入出力先情報をインタフェース信号情報として抽出する。
Based on the simulator interface information stored in the simulator interface
インタフェース切り替え部11cは、インタフェース信号情報抽出部11bにより抽出されたインタフェース信号情報に基づいて、プラント機器2を制御するためのインタフェース信号に関連付けられた入出力先情報を、プラント機器2を示すコードからシミュレータ4を示すコードに書き換える。
Based on the interface signal information extracted by the interface signal
≪シミュレータ構築装置1の作用≫
図7は、本発明の第1の実施形態に係るシミュレータ構築装置1の作用を示すフローチャートである。
<< Operation of simulator construction device 1 >>
FIG. 7 is a flowchart showing the operation of the simulator construction device 1 according to the first exemplary embodiment of the present invention.
図7に示すように、シミュレータ構築装置1のCPU11は、インタフェース仕様書情報を生成する(ステップS101)。具体的には、利用者の操作により入力部15から供給された操作信号に基づいて、CPU11は、制御装置3が記憶しているインタフェース情報から、設備名称、インタフェース信号、及び入出力先を抽出し、設備名称毎に、インタフェース信号、及び入出力先を並べ替えることにより、インタフェース仕様書情報を生成し、この生成したインタフェース仕様書情報をインタフェース仕様書情報記憶部17aに記憶させる。このとき、分類コードは未入力である。
As shown in FIG. 7, the
次に、CPU11の分類コード設定部11aは、インタフェースパターン情報記憶部17bに記憶されたインタフェースパターン情報に基づいて、インタフェース仕様書情報記憶部17aに記憶されたインタフェース仕様書情報に含まれるインタフェース信号のパターンと一致するインタフェース信号のパターンに対応する分類コードを抽出する(ステップS102)。例えば、図3に示したインタフェース仕様書情報に含まれる設備名称101に分類されたインタフェース信号102のパターンである「位置検出センサ」、「モータ運転指令」、「モータ速度基準」、「モータ速度実績」、「手動操作(正転)」、「手動操作(逆転)」と一致するインタフェース信号のパターンを、図4に示したインタフェースパターン情報記憶部17bに記憶されたインタフェースパターン情報から抽出し、この抽出されたインタフェース信号のパターンに関連付けられた分類コード203である「AA」、「AA」、「AA」、「AA」、「AA」、「AA」を抽出する。
Next, the classification
次に、分類コード設定部11aは、抽出した分類コードをインタフェース信号及び入出力先情報と関連付けて、インタフェース仕様書情報記憶部17aに記憶させる(ステップS103)。具体的には、分類コード設定部11aは、ステップS102において抽出した分類コード203である「AA」、「AA」、「AA」、「AA」、「AA」、「AA」を、分類コード104として、設備名称101と、インタフェース信号102と、入出力先情報103とに関連付けて、インタフェース仕様書情報記憶部17aに記憶させる。
Next, the classification
次に、制御装置3は、設計・製造される(ステップS104)。例えば、利用者の操作により、制御装置3が実行する制御プログラム等が作成され、作成された制御プログラムが制御装置3にインストールされることにより、制御装置3が製造される。 Next, the control device 3 is designed and manufactured (step S104). For example, a control program or the like executed by the control device 3 is created by a user operation, and the created control program is installed in the control device 3 to manufacture the control device 3.
次に、CPU11のインタフェース信号情報抽出部11bは、ステップS103においてインタフェース仕様書情報記憶部17aに記憶された分類コードを抽出する(ステップS105)。
Next, the interface signal
そして、インタフェース信号情報抽出部11bは、シミュレータインタフェース情報に基づいて、ステップS105において抽出された分類コードに関連付けられたインタフェース信号及び入出力先情報をインタフェース信号情報として抽出する(ステップS106)。例えば、インタフェース信号情報抽出部11bは、図5に示したシミュレータインタフェース情報から、ステップS105において抽出された分類コード104である「AA」と一致する分類コード301と関連付けられたインタフェース信号302である「位置検出センサ」、「モータ運転指令」、「モータ速度基準」、及び「モータ速度実績」と、入出力先情報303である「SIM」、「PLC」、「PLC」、及び「SIM」を、インタフェース信号情報として抽出する。
Then, the interface signal
次に、CPU11のインタフェース切り替え部11cは、インタフェース信号情報抽出部11bにより抽出されたインタフェース信号情報に基づいて、プラント機器2を制御するためのインタフェース信号に関連付けられた入出力先情報を、プラント機器2を示すコードからシミュレータ4を示すコードに書き換える(ステップS107)。例えば、インタフェース切り替え部11cは、制御装置3が記憶しているインタフェース情報に含まれる入出力先情報のうち、プラント機器2を示すコードである「I/O」からシミュレータ4を示すコードである「SIM」に書き換える。
Next, the
これにより、制御装置3は、インタフェース情報に基づいて、シミュレータ4と通信を確立することにより、シミュレータ4を制御する。
Thereby, the control apparatus 3 controls the
以上のように、本発明の第1の実施形態に係るシミュレータ構築装置1によれば、分類コード設定部11aが、インタフェースパターン情報記憶部17bに記憶されたインタフェースパターン情報に基づいて、インタフェース仕様書情報に含まれるインタフェース信号のパターンに対応する分類コードを抽出し、この抽出した分類コードをインタフェース信号及び入出力先情報と関連付けて、インタフェース仕様書情報記憶部17aに記憶させ、インタフェース信号情報抽出部11bが、シミュレータインタフェース情報記憶部17cに記憶されたシミュレータインタフェース情報に基づいて、分類コード設定部11aにより記憶された分類コードが関連付けられたインタフェース信号及び入出力先情報をインタフェース信号情報として抽出し、インタフェース切り替え部11cが、インタフェース信号情報抽出部11bにより抽出されたインタフェース信号情報に基づいて、プラント機器2を制御するためのインタフェース信号に関連付けられた入出力先情報を、プラント機器2を示すコードからシミュレータ4を示すコードに書き換えるので、利用者が複雑な作業を行うことなく、制御装置3とシミュレータ4と間の通信を確立し、シミュレータ4の動作試験環境を迅速に構築することができる。
As described above, according to the simulator construction device 1 according to the first embodiment of the present invention, the classification
<第2の実施形態>
第1の実施形態では、プラント機器2を制御するためのインタフェース信号に関連付けられた入出力先情報を、プラント機器2を示すコードからシミュレータ4を示すコードに書き換えることにより、制御装置3とシミュレータ4と間の通信を確立するシミュレータ構築装置1が適用されたプラント10を例に挙げて説明した。
<Second Embodiment>
In the first embodiment, the control device 3 and the
第2の実施形態では、更に、シミュレータ4のパラメータを設定するシミュレータ構築装置1Aが適用されたプラントを例に挙げて説明する。
In the second embodiment, a plant to which the
≪構成≫
本発明の第2の実施形態に係るシミュレータ構築装置1Aが適用されたプラントの全体構成は、図1に示した本発明の第1の実施形態に係るシミュレータ構築装置1が適用されたプラント10の全体構成と同一であるので、説明を省略する。
≪Configuration≫
The overall configuration of the plant to which the
本発明の第2の実施形態に係るシミュレータ構築装置1Aは、本発明の第1の実施形態に係るシミュレータ構築装置1と同様に、CPU11Aと、メモリ12と、インタフェース部14と、入力部15と、出力部16と、ハードディスク17Aとを備えており、メモリ12と、インタフェース部14と、入力部15と、出力部16とは、それぞれ本発明の実施例1であるシミュレータ構築装置1が備えるそれぞれ同一符号が付された構成と同一であるので、説明を省略する。
Similar to the simulator construction device 1 according to the first embodiment of the present invention, the
図8は、本発明の第2の実施形態に係るシミュレータ構築装置1Aの構成を模式的に説明した図である。
FIG. 8 is a diagram schematically illustrating the configuration of a
ハードディスク17Aは、インタフェース仕様書情報記憶部17aと、インタフェースパターン情報記憶部17bと、シミュレータインタフェース情報記憶部17dとを備える。ここで、インタフェース仕様書情報記憶部17aと、インタフェースパターン情報記憶部17bとは、それぞれ本発明の実施例1であるシミュレータ構築装置1のハードディスク17が備えるそれぞれ同一符号が付された構成と同一であるので、説明を省略する。
The hard disk 17A includes an interface specification
シミュレータインタフェース情報記憶部17dは、シミュレータ4と通信するためのインタフェース信号と、入出力先情報と、分類コードと、シミュレータ4がシミュレーションを実行するために必要なパラメータとを関連付けて、シミュレータインタフェース情報として記憶する。
The simulator interface
図9は、本発明の第2の実施形態に係るシミュレータ構築装置1Aが備えるシミュレータインタフェース情報記憶部17dが記憶するシミュレータインタフェース情報の一例を示した図である。
FIG. 9 is a diagram illustrating an example of simulator interface information stored in the simulator interface
図9に示すように、カラム名“分類コード”(符号301)と、カラム名“インタフェース信号”(符号302)と、カラム名“入出力先”(符号303)と、カラム名“パラメータ”(符号304)とが関連付けられて、シミュレータインタフェース情報として記憶されている。ここで、シミュレータ4と通信するためのインタフェース信号302及び入出力先303を、インタフェース信号情報という。
As shown in FIG. 9, the column name “classification code” (reference numeral 301), the column name “interface signal” (reference numeral 302), the column name “input / output destination” (reference numeral 303), and the column name “parameter” ( 304) is associated with each other and stored as simulator interface information. Here, the
ここで、パラメータ304は、シミュレータ4がシミュレーションを実行するために必要な設定値であり、例えば、シミュレータ4が、シリンダの動特性モデルを有している場合、このパラメータによりシリンダの内径が設定される。また、図9に示した例では、パラメータ304は、1つのインタフェース信号302に対して、パラメータ1及びパラメータ2の2つのパラメータが関連付けられている。ただし、このパラメータの数は2つに限らず、1つでもよいし、3つ以上でもよい。
Here, the
図8に示すように、CPU11Aは、その機能上、分類コード設定部11aと、インタフェース信号情報抽出部11dと、インタフェース切り替え部11cと、パラメータ設定部11eとを備える。ここで、分類コード設定部11aと、インタフェース切り替え部11cとは、それぞれ本発明の実施例1であるシミュレータ構築装置1のCPU11が備えるそれぞれ同一符号が付された構成と同一であるので、説明を省略する。
As shown in FIG. 8, the
インタフェース信号情報抽出部11dは、シミュレータインタフェース情報に基づいて、分類コード設定部11aにより記憶された分類コードが関連付けられたインタフェース信号と入出力先情報とパラメータとをインタフェース信号情報として抽出する。
The interface signal information extraction unit 11d extracts, as interface signal information, an interface signal, input / output destination information, and parameters associated with the classification code stored by the classification
パラメータ設定部11eは、インタフェース信号情報抽出部11dにより抽出されたインタフェース信号情報に基づいて、シミュレータ4にパラメータを設定する。
The
≪シミュレータ構築装置1の作用≫
図10は、本発明の第2の実施形態に係るシミュレータ構築装置1Aの作用を示すフローチャートである。
<< Operation of simulator construction device 1 >>
FIG. 10 is a flowchart showing the operation of the
ここで、図10に示したフローチャートにおけるステップS101〜S105の処理は、図7に示した本発明の第1の実施形態に係るシミュレータ構築装置1の作用を示したフローチャートにおけるステップS101〜S105の処理と同一であるので、説明を省略する。 Here, the processing of steps S101 to S105 in the flowchart shown in FIG. 10 is the processing of steps S101 to S105 in the flowchart showing the operation of the simulator construction device 1 according to the first embodiment of the present invention shown in FIG. Since it is the same, description is abbreviate | omitted.
図10に示すように、CPU11Aのインタフェース信号情報抽出部11dは、シミュレータインタフェース情報に基づいて、ステップS105において抽出された分類コードに関連付けられたインタフェース信号、入出力先情報、及びパラメータをインタフェース信号情報として抽出する(ステップS206)。例えば、インタフェース信号情報抽出部11dは、図9に示したシミュレータインタフェース情報から、ステップS105において抽出された分類コード104である「AA」と一致する分類コード301と関連付けられたインタフェース信号302である「位置検出センサ」、「モータ運転指令」、「モータ速度基準」、及び「モータ速度実績」と、入出力先情報303である「SIM」、「PLC」、「PLC」、及び「SIM」と、パラメータ304である「12.125」、「600」、及び「1.275」とをインタフェース信号情報として抽出する。
As illustrated in FIG. 10, the interface signal information extraction unit 11d of the
次に、CPU11のインタフェース切り替え部11cは、インタフェース信号情報抽出部11dにより抽出されたインタフェース信号情報に基づいて、プラント機器2を制御するためのインタフェース信号に関連付けられた入出力先情報を、プラント機器2を示すコードからシミュレータ4を示すコードに書き換える(ステップS207)。例えば、インタフェース切り替え部11cは、制御装置3が記憶しているインタフェース情報に含まれる入出力先情報のうち、プラント機器2を示すコードである「I/O」からシミュレータ4を示すコードである「SIM」に書き換える。
Next, the
これにより、制御装置3は、インタフェース情報に基づいて、シミュレータ4と通信を確立することにより、シミュレータ4を制御する。
Thereby, the control apparatus 3 controls the
次に、パラメータ設定部11eは、インタフェース信号情報抽出部11dにより抽出されたインタフェース信号情報に基づいて、シミュレータ4にパラメータを設定する(ステップS208)。例えば、パラメータ設定部11eは、インタフェース信号302である「位置検出センサ」に関連するパラメータ304として「12.125」をシミュレータ4にパラメータを設定する。
Next, the
以上のように、本発明の第2の実施形態に係るシミュレータ構築装置1Aによれば、シミュレータインタフェース情報記憶部17dが、シミュレータ4と通信するためのインタフェース信号と、入出力先情報と、分類コードと、シミュレータ4がシミュレーションを実行するために必要なパラメータとを関連付けて、シミュレータインタフェース情報として記憶し、インタフェース信号情報抽出部11dが、シミュレータインタフェース情報に基づいて、分類コード設定部11aにより記憶された分類コードが関連付けられたインタフェース信号と入出力先情報とパラメータとをインタフェース信号情報として抽出し、パラメータ設定部11eが、インタフェース信号情報抽出部11dにより抽出されたインタフェース信号情報に基づいて、シミュレータ4にパラメータを設定するので、本発明の第1の実施形態に係るシミュレータ構築装置1による効果に加え、利用者は、シミュレータ4のパラメータの入力操作を行うことなく、シミュレータ4のパラメータを適切に設定することができる。
As described above, according to the
1,1A…シミュレータ構築装置
2…プラント機器
3…制御装置
4…シミュレータ
10…プラント
11,11A…CPU
11a…分類コード設定部
11b,11d…インタフェース信号情報抽出部
11c…インタフェース切り替え部
11e…パラメータ設定部
12…メモリ
14…インタフェース部
15…入力部
16…出力部
17,17A…ハードディスク
17a…インタフェース仕様書情報記憶部
17b…インタフェースパターン情報記憶部
17c…シミュレータインタフェース情報記憶部
17d…シミュレータインタフェース情報記憶部
DESCRIPTION OF
11a: Classification
Claims (2)
前記インタフェース情報に含まれる前記インタフェース信号と入出力先情報とが前記プラント機器の分類毎に配列されたインタフェース仕様書情報を記憶するインタフェース仕様書情報記憶部と、
前記インタフェース信号のパターン毎に、前記プラント機器の分類を示す分類コードを関連付けて、インタフェースパターン情報として記憶するインタフェースパターン情報記憶部と、
前記シミュレータと通信するための前記インタフェース信号と、前記入出力先情報と、前記分類コードとを関連付けて、シミュレータインタフェース情報として記憶するシミュレータインタフェース情報記憶部と、
前記インタフェースパターン情報に基づいて、前記インタフェース仕様書情報に含まれる前記インタフェース信号のパターンに対応する前記分類コードを抽出し、この抽出した分類コードを前記インタフェース信号及び前記入出力先情報と関連付けて、前記インタフェース仕様書情報記憶部に記憶させる分類コード設定手段と、
前記シミュレータインタフェース情報に基づいて、前記分類コード設定手段により記憶された分類コードが関連付けられた前記インタフェース信号及び前記入出力先情報をインタフェース信号情報として抽出するインタフェース信号情報抽出手段と、
前記インタフェース信号情報抽出手段により抽出されたインタフェース信号情報に基づいて、前記インタフェース情報に含まれる前記入出力先情報を、前記プラント機器を示すコードから前記シミュレータを示すコードに書き換えるインタフェース切り替え手段と、
を備えたことを特徴とするシミュレータ構築装置。 An interface signal for communicating with a plant device or a simulator for simulating the plant device, and input / output destination information indicating the input / output destination of the interface signal are associated and stored as interface information, and based on this interface information A simulator construction apparatus connected to a control apparatus for controlling the plant equipment or the simulator,
An interface specification information storage unit that stores interface specification information in which the interface signal and input / output destination information included in the interface information are arranged for each classification of the plant equipment;
An interface pattern information storage unit that associates a classification code indicating the classification of the plant equipment and stores it as interface pattern information for each pattern of the interface signal;
A simulator interface information storage unit that associates the interface signal for communicating with the simulator, the input / output destination information, and the classification code, and stores it as simulator interface information;
Based on the interface pattern information, the classification code corresponding to the interface signal pattern included in the interface specification information is extracted, and the extracted classification code is associated with the interface signal and the input / output destination information. Classification code setting means to be stored in the interface specification information storage unit,
Interface signal information extracting means for extracting the interface signal and the input / output destination information associated with the classification code stored by the classification code setting means as interface signal information based on the simulator interface information;
Based on the interface signal information extracted by the interface signal information extraction means, the interface switching means for rewriting the input / output destination information included in the interface information from a code indicating the plant equipment to a code indicating the simulator;
A simulator construction device comprising:
前記シミュレータと通信するための前記インタフェース信号と、前記入出力先情報と、前記分類コードと、前記シミュレータがシミュレーションを実行するために必要なパラメータとを関連付けて、シミュレータインタフェース情報として記憶し、
前記インタフェース信号情報抽出手段は、
前記シミュレータインタフェース情報に基づいて、前記分類コード設定手段により記憶された分類コードが関連付けられた前記インタフェース信号と前記入出力先情報と前記パラメータとをインタフェース信号情報として抽出し、
前記インタフェース信号情報抽出手段により抽出されたインタフェース信号情報に基づいて、前記シミュレータに前記パラメータを設定するパラメータ設定手段を、更に備える
ことを特徴とした請求項1記載のシミュレータ構築装置。 The simulator interface information storage unit
Associating the interface signal for communicating with the simulator, the input / output destination information, the classification code, and a parameter necessary for the simulator to execute simulation, and storing it as simulator interface information,
The interface signal information extraction means includes
Based on the simulator interface information, the interface signal associated with the classification code stored by the classification code setting means, the input / output destination information, and the parameter are extracted as interface signal information,
The simulator construction device according to claim 1, further comprising parameter setting means for setting the parameter in the simulator based on the interface signal information extracted by the interface signal information extracting means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009033648A JP2010191571A (en) | 2009-02-17 | 2009-02-17 | Simulator construction device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009033648A JP2010191571A (en) | 2009-02-17 | 2009-02-17 | Simulator construction device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2010191571A true JP2010191571A (en) | 2010-09-02 |
Family
ID=42817578
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009033648A Pending JP2010191571A (en) | 2009-02-17 | 2009-02-17 | Simulator construction device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2010191571A (en) |
-
2009
- 2009-02-17 JP JP2009033648A patent/JP2010191571A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6051546B2 (en) | Information processing apparatus, simulation method, and program | |
| CN105765471A (en) | Device for assisting creation of sequence program | |
| JP2017084082A (en) | Simulation device, test scenario file creation method, and test method using test scenario file | |
| CN105408823A (en) | Engineering tool, program editing device, and program editing system | |
| JP2013205866A (en) | Information processor, information processing method and program | |
| CN101211166A (en) | Simulation data creation supporting device | |
| WO2009096322A1 (en) | Program test device and program | |
| US20160300000A1 (en) | System construction support apparatus | |
| CN109844659B (en) | Simulation device | |
| JP2018502391A (en) | Computer-implemented method for displaying a user interface | |
| CN105144168B (en) | Simulation device and storage medium | |
| JP2010191571A (en) | Simulator construction device | |
| JP4941674B2 (en) | Simulation system | |
| JP5156775B2 (en) | Plant monitoring / control device and maintenance support method thereof | |
| JPWO2014091623A1 (en) | Programmable controller system, its programmable display, support device, program | |
| JP2008165324A (en) | Program creation support device | |
| JP2017194743A (en) | Emulator for plant monitoring and control system | |
| JP2008033572A (en) | Screen generating apparatus, screen generating program and recording medium for recording this program | |
| JP5746300B2 (en) | User operation automation device | |
| CN103902787A (en) | Pneumatic simulation software obtaining method | |
| JP2018156214A (en) | SFC program creation support apparatus, SFC program creation support program, and SFC program creation method | |
| CN104169820A (en) | Programmable controller system, programmable display therefor, display editor, and program | |
| JP2009244952A (en) | Motion controller, simulation method, and simulation program | |
| JP6197433B2 (en) | Information processing apparatus, and control method and program thereof. | |
| JP6135515B2 (en) | Equipment information additional registration device |