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

JP6821271B2 - Verification device - Google Patents

Verification device Download PDF

Info

Publication number
JP6821271B2
JP6821271B2 JP2018002491A JP2018002491A JP6821271B2 JP 6821271 B2 JP6821271 B2 JP 6821271B2 JP 2018002491 A JP2018002491 A JP 2018002491A JP 2018002491 A JP2018002491 A JP 2018002491A JP 6821271 B2 JP6821271 B2 JP 6821271B2
Authority
JP
Japan
Prior art keywords
signal
control network
signals
verification device
network
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.)
Active
Application number
JP2018002491A
Other languages
Japanese (ja)
Other versions
JP2019121305A (en
Inventor
敬志 布川
敬志 布川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Mitsubishi Electric Industrial Systems Corp
Original Assignee
Toshiba Mitsubishi Electric Industrial Systems Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Mitsubishi Electric Industrial Systems Corp filed Critical Toshiba Mitsubishi Electric Industrial Systems Corp
Priority to JP2018002491A priority Critical patent/JP6821271B2/en
Publication of JP2019121305A publication Critical patent/JP2019121305A/en
Application granted granted Critical
Publication of JP6821271B2 publication Critical patent/JP6821271B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Description

本発明の実施形態は、プラント制御のための制御ネットワークや制御ネットワークに接続する機器を更新する場合に新旧プログラムの検証を行う検証装置に関する。 An embodiment of the present invention relates to a control network for plant control and a verification device that verifies old and new programs when updating equipment connected to the control network.

プラント制御のための制御システムの更新を行う場合には、既存プログラムと置き換えプログラムとを並列に運転して、試験員がその出力を1点ずつ比較し、出力の相違の有無を判定する検証方法が採用されている。既存プログラムは、既存の制御ネットワーク上に接続された主幹制御装置上で動作させ、置き換えプログラムは、更新する新たな制御ネットワーク上に接続された主幹制御装置上で動作させる。 When updating the control system for plant control, a verification method in which the existing program and the replacement program are operated in parallel, the examiner compares the outputs one by one, and determines whether or not there is a difference in the outputs. Has been adopted. The existing program runs on the main controller connected on the existing control network, and the replacement program runs on the main controller connected on the new control network to be updated.

このように、試験員が人手でプログラムの検証を行う場合には、漏れがないように、慎重かつ厳密にチェックを実施する必要がある。また、このような検証作業は、試験員が現場に出向いて行うこともあり、多くの人的リソースが必要となり、効率的な作業が求められる。 In this way, when the examiner manually verifies the program, it is necessary to carry out careful and rigorous checks so that there are no omissions. In addition, such verification work may be performed by an examiner who goes to the site, which requires a lot of human resources and requires efficient work.

特開2017−21526号公報Japanese Unexamined Patent Publication No. 2017-21526

この発明の実施形態は、効率的に漏れなく新旧プログラムを検証できる検証装置を提供する。 An embodiment of the present invention provides a verification device capable of efficiently verifying old and new programs without omission.

実施形態に係る検証装置は、入出力機器を制御するプロセス制御システムの制御ネットワークの置き換えを検証する。検証装置は、既存の制御ネットワークである第1ネットワークを介して、複数の第1信号を含む第1信号群の波形データを第1サンプリング時間でそれぞれ取得し、前記第1ネットワークを置き換えて設置される第2ネットワークを介して、前記複数の第1信号それぞれに対応する複数の第2信号を含む第2信号群の波形データを前記第1サンプリング時間とは異なる時間の第2サンプリング時間でそれぞれ取得し、前記複数の第1信号と対応する前記複数の第2信号との波形の差を、あらかじめ設定された判定基準とそれぞれ比較する演算部と、前記波形の差が前記判定基準異常の場合に生じた前記波形の差の時刻を含むように、前記複数の第1信号および前記複数の第2信号のうちのそれぞれ対応する信号を記憶する記憶部と、を備える。 The verification device according to the embodiment verifies the replacement of the control network of the process control system that controls the input / output devices. The verification device is installed by acquiring waveform data of a first signal group including a plurality of first signals at a first sampling time via a first network which is an existing control network, and replacing the first network. The waveform data of the second signal group including the plurality of second signals corresponding to the plurality of first signals is acquired at the second sampling time different from the first sampling time, respectively, via the second network. Then, when the calculation unit that compares the difference between the waveforms of the plurality of first signals and the plurality of second signals corresponding to the plurality of second signals with the preset determination criteria, and the difference between the waveforms is the determination criterion abnormality. A storage unit for storing the corresponding signals of the plurality of first signals and the plurality of second signals is provided so as to include the time of the difference in the generated waveforms.

本実施形態では、新旧の制御ネットワーク上の信号波形の差のデータが、あらかじめ設定された比較判定基準よりも大きい場合に、そのときのデータを記憶するので、効率的に漏れなく新旧プログラムを検証することができる。 In the present embodiment, when the difference data of the signal waveforms on the old and new control networks is larger than the preset comparison judgment standard, the data at that time is stored, so that the old and new programs are efficiently verified without omission. can do.

第1の実施形態に係る検証装置の接続状況を例示するブロック図である。It is a block diagram which illustrates the connection state of the verification apparatus which concerns on 1st Embodiment. 第1の実施形態の検証装置を例示するブロック図である。It is a block diagram which illustrates the verification apparatus of 1st Embodiment. 第1の実施形態の検証装置の比較判定基準リストを例示する模式図である。It is a schematic diagram which illustrates the comparison judgment standard list of the verification apparatus of 1st Embodiment. 図4(a)および図4(b)は、第1の実施形態の検証装置の動作を説明するためのタイミングチャートの例である。4 (a) and 4 (b) are examples of timing charts for explaining the operation of the verification device of the first embodiment. 第2の実施形態に係る検証装置の接続状況を例示するブロック図である。It is a block diagram which illustrates the connection state of the verification apparatus which concerns on 2nd Embodiment. 第3の実施形態に係る検証装置の接続状況を例示するブロック図である。It is a block diagram which illustrates the connection state of the verification apparatus which concerns on 3rd Embodiment. 図6の信号発生装置の構成例を例示するブロック図である。It is a block diagram which illustrates the configuration example of the signal generator of FIG.

以下、図面を参照しつつ、本発明の実施形態について説明する。
なお、図面は模式的または概念的なものであり、各部分の厚みと幅との関係、部分間の大きさの比率などは、必ずしも現実のものと同一とは限らない。また、同じ部分を表す場合であっても、図面により互いの寸法や比率が異なって表される場合もある。
なお、本願明細書と各図において、既出の図に関して前述したものと同様の要素には、同一の符号を付して詳細な説明を適宜省略する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
The drawings are schematic or conceptual, and the relationship between the thickness and width of each part, the ratio of the sizes between the parts, and the like are not necessarily the same as the actual ones. Further, even when the same parts are represented, the dimensions and ratios may be different from each other depending on the drawings.
In addition, in the present specification and each figure, the same elements as those described above with respect to the above-mentioned figures are designated by the same reference numerals, and detailed description thereof will be omitted as appropriate.

(第1の実施形態)
図1は、本実施形態に係る検証装置の接続状況を例示するブロック図である。
図1に示すように、本実施形態の検証装置10は、既存の制御ネットワーク20に接続される。制御ネットワーク20には、既存の主幹制御装置30および入出力機器40が接続されている。また、検証装置10は、新規に置き換える制御ネットワーク50に接続される。制御ネットワーク50には、新規に置き換える主幹制御装置60が接続されている。
(First Embodiment)
FIG. 1 is a block diagram illustrating a connection status of the verification device according to the present embodiment.
As shown in FIG. 1, the verification device 10 of the present embodiment is connected to the existing control network 20. The existing main control device 30 and the input / output device 40 are connected to the control network 20. Further, the verification device 10 is connected to the newly replaced control network 50. A newly replaced main control device 60 is connected to the control network 50.

置き換える制御ネットワーク50と入出力機器40との接続には、この例のように、ゲートウェイサーバ(図ではG/Wと表示)70を用いることがある。制御ネットワーク50と入出力機器40との間のインタフェースによってはゲートウェイサーバを介さずにこれらを接続してもよい。 As in this example, a gateway server (indicated as G / W in the figure) 70 may be used to connect the control network 50 to be replaced and the input / output device 40. Depending on the interface between the control network 50 and the input / output device 40, these may be connected without going through the gateway server.

入出力機器(図ではI/Oと表示)40は、プロセス制御を実行するためにプラントに設けられている機器や装置等である。入出力機器40は、たとえば、ガスを導入する弁の開閉を行うアクチュエータや製造物の工程通過を検出するセンサや工程の温度を検出する温度センサ等である。 The input / output device (indicated as I / O in the figure) 40 is a device or device provided in the plant for executing process control. The input / output device 40 is, for example, an actuator for opening and closing a valve for introducing gas, a sensor for detecting the process passage of a product, a temperature sensor for detecting the temperature of the process, and the like.

なお、検証作業が完了した後には、既存の制御ネットワーク20および主幹制御装置30は、設置されているプラントから除去される。検証装置10自体も、すべての制御ネットワーク20,50から切り離して、他のプラントにおいて新旧プログラムの検証に用いてもよいし、検証装置10を他の用途(たとえばエンジニアリング端末等)に転用してもよい。 After the verification work is completed, the existing control network 20 and the main control device 30 are removed from the installed plant. The verification device 10 itself may be separated from all control networks 20 and 50 and used for verification of old and new programs in other plants, or the verification device 10 may be diverted to other uses (for example, engineering terminals). Good.

既存の主幹制御装置30では、既存のプログラムが動作している。新規に置き換える主幹制御装置60では、既存のプログラムと同等に動作するプログラムが動作する。これらのプログラムにしたがって、制御信号やI/O信号が生成、検出等され新旧の制御ネットワーク上を伝送する。 An existing program is operating in the existing main control device 30. In the newly replaced main control device 60, a program that operates in the same manner as the existing program operates. Control signals and I / O signals are generated, detected, etc. according to these programs and transmitted over the old and new control networks.

検証装置10は、既存の制御ネットワーク20を介して、主幹制御装置30から制御信号を取得する。制御信号は、制御ネットワーク20を介して、入出力機器40に送信され、入出力機器40は制御信号にしたがって動作する。制御信号は、たとえば入出力機器40のうち、対象のアクチュエータを所定の電圧レベルで駆動する駆動信号等である。制御信号は、たとえば、加熱炉の温度設定データを含む信号等である。このように、制御信号は、入出力機器40の制御のための信号であり、そのプロセスラインに応じて設定されたパラメータを含むことがある。プロセスラインに応じて設定された設定温度等のパラメータを含む制御信号を以下では、ライン信号ともいう。 The verification device 10 acquires a control signal from the main control device 30 via the existing control network 20. The control signal is transmitted to the input / output device 40 via the control network 20, and the input / output device 40 operates according to the control signal. The control signal is, for example, a drive signal for driving the target actuator at a predetermined voltage level in the input / output device 40. The control signal is, for example, a signal including temperature setting data of the heating furnace. As described above, the control signal is a signal for controlling the input / output device 40, and may include parameters set according to the process line. Hereinafter, a control signal including parameters such as a set temperature set according to a process line is also referred to as a line signal.

検証装置10は、既存の制御ネットワーク20を介して、入出力機器40が主幹制御装置30に送信するI/O信号を取得する。I/O信号は、たとえば入出力機器40のうち、温度センサによって検出された温度データ等である。I/O信号は、たとえば、入出力機器40のうち、押しボタンスイッチが押されたことによって生成された起動信号等である。このように、I/O信号は、制御ネットワーク20,50に接続された入出力機器が生成した信号や、入出力機器が取得した信号等を含む。 The verification device 10 acquires an I / O signal transmitted by the input / output device 40 to the main control device 30 via the existing control network 20. The I / O signal is, for example, temperature data detected by a temperature sensor in the input / output device 40. The I / O signal is, for example, an activation signal generated by pressing a push button switch in the input / output device 40. As described above, the I / O signal includes a signal generated by the input / output device connected to the control networks 20 and 50, a signal acquired by the input / output device, and the like.

検証装置10は、新規に置き換える制御ネットワーク50を介して、主幹制御装置60から制御信号を取得する。制御信号は、制御ネットワーク50を介して、入出力機器40に送信され、入出力機器40は制御信号にしたがって動作する。 The verification device 10 acquires a control signal from the main control device 60 via the newly replaced control network 50. The control signal is transmitted to the input / output device 40 via the control network 50, and the input / output device 40 operates according to the control signal.

検証装置10は、新規に置き換える制御ネットワーク50を介して、入出力機器40が主幹制御装置60に送信するI/O信号を取得する。 The verification device 10 acquires an I / O signal transmitted by the input / output device 40 to the main control device 60 via the newly replaced control network 50.

検証装置10は、新旧の制御ネットワーク20,50を介して取得した制御信号およびI/O信号の波形の差を逐次計算する。検証装置10は、計算された信号波形の差が判定基準以上か否かを判断して、信号波形の差が判定基準を超えた期間の新旧信号を記憶する。 The verification device 10 sequentially calculates the difference between the waveforms of the control signal and the I / O signal acquired via the old and new control networks 20 and 50. The verification device 10 determines whether or not the calculated difference between the signal waveforms is equal to or greater than the determination reference, and stores the old and new signals during the period when the difference between the signal waveforms exceeds the determination criterion.

検証装置10は、記憶する新旧信号の期間について、あらかじめ記憶する範囲が設定されている。つまり、検証装置10は、信号波形の差が判定基準を超えた期間の前後(過去、未来)の新旧の信号波形のデータを記憶することができる。 In the verification device 10, a range to be stored is set in advance for the period of the old and new signals to be stored. That is, the verification device 10 can store old and new signal waveform data before and after (past, future) a period in which the difference in signal waveform exceeds the determination criterion.

本実施形態の検証装置10では、新旧の制御ネットワーク20,50上を伝送する各種信号の波形を取得して、その新旧の信号波形の差が判定基準以上となる前後の期間の新旧信号波形を抽出し記憶する。たとえば、試験員やプログラマは、抽出された新旧信号波形が一致または判定基準以下になるように、新たに設置する制御ネットワーク50に接続された主幹制御装置60のプログラムを修正等することができる。 In the verification device 10 of the present embodiment, the waveforms of various signals transmitted on the old and new control networks 20 and 50 are acquired, and the old and new signal waveforms in the period before and after the difference between the old and new signal waveforms becomes equal to or more than the judgment reference are obtained. Extract and memorize. For example, the examiner or the programmer can modify the program of the main control device 60 connected to the newly installed control network 50 so that the extracted old and new signal waveforms match or fall below the judgment criteria.

図2は、本実施形態の検証装置を例示するブロック図である。
図2に示すように、検証装置10は、入力サンプリング回路11と、出力比較サンプリング回路12と、比較判定基準リスト13と、データバッファ14と、トリガー回路15と、記憶部16と、を含む。
FIG. 2 is a block diagram illustrating the verification device of the present embodiment.
As shown in FIG. 2, the verification device 10 includes an input sampling circuit 11, an output comparison sampling circuit 12, a comparison determination reference list 13, a data buffer 14, a trigger circuit 15, and a storage unit 16.

入力サンプリング回路11は、既存の制御ネットワーク20および新規に置き換えて設置する制御ネットワーク50に接続されている。入力サンプリング回路11には、制御ネットワーク20,50上をそれぞれ伝送する制御信号およびI/O信号が入力される。 The input sampling circuit 11 is connected to the existing control network 20 and the newly installed control network 50. A control signal and an I / O signal to be transmitted on the control networks 20 and 50 are input to the input sampling circuit 11, respectively.

制御信号およびI/O信号は、1ビットのビット信号と、16ビットのワード信号と、をそれぞれ含むことができる。 The control signal and the I / O signal can include a 1-bit bit signal and a 16-bit word signal, respectively.

入力サンプリング回路11には、制御ネットワーク20上を伝送するNb1本のビット(bit)信号および制御ネットワーク50上を伝送するNb2本のビット(bit)信号が入力される。 The input sampling circuit 11 is input with one Nb bit signal transmitted on the control network 20 and two Nb bit signals transmitted on the control network 50.

入力サンプリング回路11には、制御ネットワーク20上を伝送するNw1本のワード(word)信号および制御ネットワーク50上を伝送するNw2本のワード(word)信号が入力される。なお、ビット信号およびワード信号の本数は、新旧の制御ネットワークにおいて必ずしも同数である必要はないが、検証の対象となる本数は実質的に同じである。 A word (word) signal of one Nw transmitted on the control network 20 and a word (word) signal of two Nw transmitted on the control network 50 are input to the input sampling circuit 11. The number of bit signals and word signals does not necessarily have to be the same in the old and new control networks, but the number to be verified is substantially the same.

入力サンプリング回路11は、制御ネットワーク20上のビット信号およびワード信号をサンプリング周期t1[ms]でサンプリングする。入力サンプリング回路11は、制御ネットワーク50上のビット信号およびワード信号をサンプリング周期t2[ms]でサンプリングする。サンプリングされたこれらの信号は、出力比較サンプリング回路12、データバッファ14および記憶部16にそれぞれ供給される。 The input sampling circuit 11 samples the bit signal and the word signal on the control network 20 in the sampling period t1 [ms]. The input sampling circuit 11 samples the bit signal and the word signal on the control network 50 in the sampling period t2 [ms]. These sampled signals are supplied to the output comparison sampling circuit 12, the data buffer 14, and the storage unit 16, respectively.

サンプリング周期t1は、既存の制御ネットワーク20において採用されている伝送周期に等しくなるように設定される。サンプリング周期t2は、置き換える制御ネットワーク50において採用される伝送周期に等しくなるように設定される。一般に、制御ネットワークを更新するにあたっては、採用される伝送周期は等しくないので、サンプリング周期t1,t2は異なる値を有する。制御ネットワークを更新することによって、高速伝送化される場合には、t1>t2となるが、本実施形態の適用に関して、t1<t2、t1=t2となることは排除されるものではない。 The sampling cycle t1 is set to be equal to the transmission cycle adopted in the existing control network 20. The sampling cycle t2 is set to be equal to the transmission cycle adopted in the replacement control network 50. Generally, when updating the control network, the transmission cycles adopted are not equal, so the sampling cycles t1 and t2 have different values. When high-speed transmission is achieved by updating the control network, t1> t2, but with respect to the application of the present embodiment, t1 <t2 and t1 = t2 are not excluded.

出力比較サンプリング回路12は、サンプリングされた信号波形を入力して、新旧の信号波形の差を計算する。計算の対象となる信号は、プログラム変数が同じ制御信号あるいはI/O信号である。たとえば、同一のアクチュエータを駆動するための駆動信号の場合には、この駆動信号は、主幹制御装置30から入出力機器40に伝送される駆動信号、および、主幹制御装置60から入出力機器40に伝送される駆動信号であり、これらの差が計算される。 The output comparison sampling circuit 12 inputs the sampled signal waveform and calculates the difference between the old and new signal waveforms. The signal to be calculated is a control signal or an I / O signal having the same program variables. For example, in the case of a drive signal for driving the same actuator, this drive signal is a drive signal transmitted from the main control device 30 to the input / output device 40, and the drive signal from the main control device 60 to the input / output device 40. It is a drive signal to be transmitted, and the difference between them is calculated.

出力比較サンプリング回路12は、比較判定基準リスト13の比較判定基準を参照する。比較判定基準リスト13は、信号ごとに定義された比較判定基準を有している。出力比較サンプリング回路12は、波形の差が計算された信号ごとに、比較判定基準リスト13の比較判定基準と計算された信号波形の差とを比較する。 The output comparison sampling circuit 12 refers to the comparison determination criteria in the comparison determination criteria list 13. The comparison criterion list 13 has a comparison criterion defined for each signal. The output comparison sampling circuit 12 compares the difference between the calculated signal waveform and the comparison judgment standard in the comparison judgment standard list 13 for each signal for which the waveform difference is calculated.

図3は、本実施形態の検証装置の比較判定基準リストを例示する模式図である。
図3に示すように、比較判定基準リスト13は、たとえばこの例のようにテーブルを含む。比較判定基準リスト13のテーブルは、信号群名1、信号群名2、信号名、信号種類、既存プログラム変数名、置き換えプログラム変数名、および比較判定基準の各欄を含む。
FIG. 3 is a schematic diagram illustrating a list of comparative determination criteria of the verification device of the present embodiment.
As shown in FIG. 3, the comparison criterion list 13 includes a table, for example, as in this example. The table of the comparison criterion list 13 includes columns for signal group name 1, signal group name 2, signal name, signal type, existing program variable name, replacement program variable name, and comparison criterion.

信号群名1には、信号の種類の大分類が示されている。たとえば、信号群名1には、入出力機器40の1つである「アクチュエータ」が設定されている。「アクチュエータ」に分類される信号として、信号による制御対象であるアクチュエータごとに、各信号が設定されている。この例では、主幹制御装置30,60が対象とするM個のアクチュエータに関する信号群が信号群名2欄に設定されている。 The signal group name 1 indicates a major classification of signal types. For example, an “actuator”, which is one of the input / output devices 40, is set in the signal group name 1. As signals classified as "actuators", each signal is set for each actuator to be controlled by the signal. In this example, the signal group related to the M actuators targeted by the main control devices 30 and 60 is set in the signal group name 2 column.

信号群名1欄に設定された「ライン」とは、たとえば入出力機器40の1つである温度センサ等によるプロセスデータ等であり、製造物の製造仕様等に関連して必要となるデータである。信号群名2の欄には、「ライン」に分類される各信号が設定されており、この例では、N個のラインに関する信号が設定されている。 The "line" set in the signal group name 1 column is, for example, process data by a temperature sensor or the like, which is one of the input / output devices 40, and is data required in relation to the manufacturing specifications of the product. is there. In the signal group name 2 column, each signal classified as "line" is set, and in this example, signals related to N lines are set.

信号群名1欄に設定された「シーケンス」とは、制御信号やI/O信号のうち、条件判断やその処理のための前処理の実行等を指定する信号群の大分類である。この例では、K個の「シーケンス」に関する信号が信号群名2欄に設定されている。 The "sequence" set in the signal group name 1 column is a major classification of signal groups that specify the execution of preprocessing for condition determination and its processing among control signals and I / O signals. In this example, K signals related to "sequences" are set in the signal group name 2 column.

信号名欄に示すように、信号群名2欄に設定された制御対象等について、1つ以上の信号が定義されている。信号名欄に設定された信号は、制御信号、I/O信号のいずれでもよいし、1つの信号群名2欄の設定に対して、制御信号およびI/O信号の両方を含んでもよい。また、信号種類欄に示すように、設定される信号は、ビット信号(bit)でもよいし、ワード信号(word)でもよいし、どちらか一方に限らずこれらの両方を含んでもよい。 As shown in the signal name column, one or more signals are defined for the control target and the like set in the signal group name 2 column. The signal set in the signal name column may be either a control signal or an I / O signal, or may include both a control signal and an I / O signal for the setting of one signal group name 2 column. Further, as shown in the signal type column, the signal to be set may be a bit signal (bit), a word signal (word), or may include not only one of them but both of them.

既存プログラム変数名欄および置き換えプログラム変数名欄には、信号名欄に設定された信号に対応する新旧のプログラムの変数名が設定されている。これらは、新旧比較の対象となるので、通常は、同一の変数名が設定されている。なお、プログラムの変数名は、任意に設定されるので、異なる変数名であっても対象となる信号が同一であればよい。 In the existing program variable name column and the replacement program variable name column, the variable names of the old and new programs corresponding to the signals set in the signal name column are set. Since these are subject to comparison between old and new, the same variable name is usually set. Since the variable name of the program is set arbitrarily, it suffices if the target signals are the same even if the variable names are different.

比較判定基準欄には、信号名欄に設定された信号に対応する比較判定基準が設定されている。比較判定基準は、後に動作説明において詳述するが、信号の種類に応じて任意に設定することができる。ビット信号については、新旧信号波形の時間差tsが、新旧のサンプリング周期|t1−t2|の差よりも大きいか否かで判定される。ワード信号については、新旧信号波形の時間差tsと新旧信号波形の振幅差|V1−V2|との積が、サンプリング周期差と信号補正項との積よりも大きいか否かで判定される。いずれも、信号波形の差が、しきい値となる比較判定基準よりも大きい場合には、その前後のデータを含めて記憶部16に格納される。 In the comparison judgment standard column, a comparison judgment standard corresponding to the signal set in the signal name field is set. The comparison judgment criteria will be described in detail later in the operation description, but can be arbitrarily set according to the type of signal. For the bit signal, it is determined whether or not the time difference ts of the old and new signal waveforms is larger than the difference of the old and new sampling periods | t1-t2 |. For the word signal, it is determined whether or not the product of the time difference ts of the old and new signal waveforms and the amplitude difference | V1-V2 | of the old and new signal waveforms is larger than the product of the sampling period difference and the signal correction term. In either case, when the difference between the signal waveforms is larger than the comparison determination standard which is the threshold value, the data before and after the difference is stored in the storage unit 16.

ワード信号の場合には、サンプリング周期差と信号補正項との積を比較判定基準とするが、信号補正項は任意に設定される。この例では、信号ごとに適切な値を設定しているが、信号の一部または全部を同じ値に設定してももちろんよい。たとえば、この例のように、信号補正項欄を設けて、信号ごとに適切な補正項を設定するようにしてもよい。 In the case of a word signal, the product of the sampling period difference and the signal correction term is used as a comparison judgment standard, but the signal correction term is arbitrarily set. In this example, an appropriate value is set for each signal, but of course, a part or all of the signal may be set to the same value. For example, as in this example, a signal correction term column may be provided to set an appropriate correction term for each signal.

出力比較サンプリング回路12は、計算された信号波形の差が、比較判定基準以上の場合には、トリガー回路15をトリガーするトリガー信号を出力する。トリガー回路15がトリガーされると、データバッファ14の出力が記憶部16に接続される。 The output comparison sampling circuit 12 outputs a trigger signal that triggers the trigger circuit 15 when the difference between the calculated signal waveforms is equal to or greater than the comparison determination reference. When the trigger circuit 15 is triggered, the output of the data buffer 14 is connected to the storage unit 16.

出力比較サンプリング回路12は、計算した信号波形の差を、比較判定出力として、記憶部16に供給し、記憶部16は、供給されたデータを記憶する。 The output comparison sampling circuit 12 supplies the calculated difference in signal waveform to the storage unit 16 as a comparison determination output, and the storage unit 16 stores the supplied data.

データバッファ14は、サンプリングされた信号波形を入力して、あらかじめ設定されたバッファ時間Tの間のデータを一時記憶して、逐次出力する。 The data buffer 14 inputs the sampled signal waveform, temporarily stores the data during the preset buffer time T, and sequentially outputs the data.

データバッファ14の出力には、トリガー回路15が設けられており、出力比較サンプリング回路12がトリガー信号を出力した場合には、データバッファ14から出力された期間Tの信号波形のデータが記憶部16に供給される。記憶部16は、供給された信号波形のデータを、失敗ログとして格納する。 A trigger circuit 15 is provided at the output of the data buffer 14, and when the output comparison sampling circuit 12 outputs a trigger signal, the signal waveform data of the period T output from the data buffer 14 is stored in the storage unit 16. Is supplied to. The storage unit 16 stores the supplied signal waveform data as a failure log.

記憶部16は、サンプリングされたすべての信号波形、出力比較サンプリング回路12から出力された新旧の信号波形の差のデータおよび失敗ログとされたデータバッファ14の出力データを格納する。 The storage unit 16 stores all the sampled signal waveforms, the difference data between the old and new signal waveforms output from the output comparison sampling circuit 12, and the output data of the data buffer 14 as a failure log.

たとえば、検証装置10は、コンピュータ装置のCPU(演算部)を含む。上述した検証装置10の各部の一部または全部は、記憶部16に格納されたプログラムにしたがって、CPUが逐次実行することによって実現される。つまり、検証装置10の各構成要素の一部または全部は、CPUによって実行されるプログラムの各ステップによって実現される。 For example, the verification device 10 includes a CPU (calculation unit) of a computer device. A part or all of each part of the verification device 10 described above is realized by the CPU sequentially executing according to the program stored in the storage unit 16. That is, some or all of the components of the verification device 10 are realized by each step of the program executed by the CPU.

記憶部16は、検証装置10のCPUとバス等を介して接続される外部記憶装置やデータサーバ等であってもよい。つまり、記憶部16は、検証装置10内部に組み込まれた場合に限らず、異なる筐体の別装置等であってもよい。 The storage unit 16 may be an external storage device, a data server, or the like connected to the CPU of the verification device 10 via a bus or the like. That is, the storage unit 16 is not limited to the case where it is incorporated inside the verification device 10, and may be another device or the like having a different housing.

本実施形態の検証装置10の動作について説明する。
図4(a)および図4(b)は、本実施形態の検証装置の動作を説明するためのタイミングチャートの例である。
図4(a)には、ビット信号の場合のタイミングチャートが示され、図4(b)には、ワード信号の場合のタイミングチャートが示されている。図4(a)および図4(b)には、最上段の図に既存の制御ネットワーク20上のビット信号およびワード信号の波形例がそれぞれ示されている。2段目の図に、新たに置き換える制御ネットワーク50上のビット信号およびワード信号の波形が示されている。これらは、同じプログラム変数に対応する信号波形である。図4(a)および図4(b)の最下段の図には、上2段の信号の差をとった信号波形の図が示されている。
The operation of the verification device 10 of the present embodiment will be described.
4 (a) and 4 (b) are examples of timing charts for explaining the operation of the verification device of the present embodiment.
FIG. 4A shows a timing chart in the case of a bit signal, and FIG. 4B shows a timing chart in the case of a word signal. In FIGS. 4A and 4B, waveform examples of bit signals and word signals on the existing control network 20 are shown in the uppermost figure, respectively. The second row shows the waveforms of the bit and word signals on the newly replaced control network 50. These are the signal waveforms that correspond to the same program variables. The bottom view of FIGS. 4 (a) and 4 (b) shows a signal waveform in which the difference between the signals of the upper two stages is taken.

図4(a)および図4(b)に示すように、サンプリング周期は、既存の制御ネットワークでは、t1であり、図中のt1(1)〜t(8)は、1番目〜8番目のサンプリング周期であることを表している。サンプリング周期は、置き換える制御ネットワークでは、t2であり、図中のt2(1)〜t2(12)は、1番目〜12番目のサンプリング周期であることを表している。この例では、t1>t2である。 As shown in FIGS. 4 (a) and 4 (b), the sampling period is t1 in the existing control network, and t1 (1) to t (8) in the figure are the first to eighth. It indicates that it is a sampling period. The sampling period is t2 in the replacement control network, and t2 (1) to t2 (12) in the figure represent the first to twelfth sampling periods. In this example, t1> t2.

出力比較サンプリング回路12は、新旧の信号波形の差を計算して出力する。ビット信号は、それぞれの制御ネットワーク20,50の定周期に応じて変化するので、同時に変化する場合もあるし、異なるタイミングで変化する場合もある。異なるタイミングで変化する場合に、そのタイミングのずれが大きいと、既存の制御ネットワークに置き換えて設置する新たな制御ネットワークでシステムを運用した場合に、更新前の動作と異なる動作となるおそれがある。そこで、ずれの大きいタイミングに同期して、そのタイミングの前後の期間について、すべての信号を記憶部16に格納する。 The output comparison sampling circuit 12 calculates and outputs the difference between the old and new signal waveforms. Since the bit signal changes according to the fixed period of each of the control networks 20 and 50, it may change at the same time or at different timings. If the timing changes at different timings and the timing difference is large, the operation may differ from the operation before the update when the system is operated with a new control network that replaces the existing control network. Therefore, in synchronization with the timing with a large deviation, all the signals are stored in the storage unit 16 for the period before and after the timing.

より具体的に説明すると、既存の制御ネットワーク20では、2番目のサンプリング周期t1(2)で、ビット信号は“0”から“1”に変化している。置き換える制御ネットワーク50では、2番目のサンプリング周期t2(2)でビット信号が“0”から“1”に変化している。このときのビット信号の信号波形の差は、サンプリング周期の差(t1−t2)である。(t1−t2)は、サンプリング周期t1,t2が一定であるため、一定値である。 More specifically, in the existing control network 20, the bit signal changes from "0" to "1" in the second sampling period t1 (2). In the replacement control network 50, the bit signal changes from “0” to “1” in the second sampling period t2 (2). The difference in the signal waveform of the bit signal at this time is the difference in the sampling period (t1-t2). (T1-t2) is a constant value because the sampling cycles t1 and t2 are constant.

置き換える制御ネットワーク50の5番目のサンプリング周期t2(5)のビット信号の変化のタイミングは、既存の制御ネットワーク20の4番目のサンプリング周期t1(4)のビット信号の変化のタイミングとサンプリング周期の差(t1−t2)を有している。制御ネットワーク50の7番目のサンプリング周期t2(7)のビット信号の変化のタイミングも、制御ネットワーク20の5番目のサンプリング周期t1(5)のビット信号の変化のタイミングとサンプリング周期の差(t1−t2)を有している。 The timing of the change of the bit signal in the fifth sampling cycle t2 (5) of the control network 50 to be replaced is the difference between the timing of the change of the bit signal in the fourth sampling cycle t1 (4) of the existing control network 20 and the sampling cycle. It has (t1-t2). The timing of the change of the bit signal in the 7th sampling cycle t2 (7) of the control network 50 is also the difference between the timing of the change of the bit signal in the 5th sampling cycle t1 (5) of the control network 20 and the sampling cycle (t1-). It has t2).

置き換える制御ネットワーク50の9番目のサンプリング周期t2(9)のビット信号の変化のタイミングは、既存の制御ネットワーク20の7番目のサンプリング周期t1(7)のビット信号の変化のタイミングに対応する。しかし、その差tsは、サンプリング周期(t1−t2)よりも大きいt2となる。 The timing of the change of the bit signal in the ninth sampling cycle t2 (9) of the replacement control network 50 corresponds to the timing of the change of the bit signal in the seventh sampling cycle t1 (7) of the existing control network 20. However, the difference ts is t2, which is larger than the sampling period (t1-t2).

図3にすでに示したように、検証装置10は、ビット信号の比較判定基準を新旧信号波形の差が|t1−t2|よりも大きい場合に、新旧のプログラムが同一でないと判定する。出力比較サンプリング回路12は、置き換える制御ネットワーク50の9番目のサンプリング周期t(9)のタイミングで、トリガー信号を出力する。 As already shown in FIG. 3, the verification device 10 determines that the old and new programs are not the same when the difference between the old and new signal waveforms is larger than | t1-t2 | as the comparison judgment criterion of the bit signal. The output comparison sampling circuit 12 outputs a trigger signal at the timing of the ninth sampling cycle t (9) of the replacement control network 50.

トリガー回路15は、トリガー信号が出力された時刻を含むバッファ時間Tの期間の各信号波形を記憶部16に供給する。ここで、たとえばバッファ時間Tは、トリガーの時刻以前の期間Tb、トリガーの時刻以後の期間Tfを含むように設定される。これらの期間は、任意に設定される。 The trigger circuit 15 supplies each signal waveform in the period of the buffer time T including the time when the trigger signal is output to the storage unit 16. Here, for example, the buffer time T is set to include the period Tb before the trigger time and the period Tf after the trigger time. These periods are set arbitrarily.

ワード信号についても同様に、出力比較サンプリング回路12は、同じプログラム変数の信号の差を計算する。ワード信号は、時間方向のずれとともに、電圧の振幅の相違も置き換え可否に関連する。そのため、ワード信号の場合には、信号波形の差の時間のずれと電圧の相違との積を、しきい値と比較する。しきい値は、サンプリング周期t1,t2の差と電圧補正項との積によって設定される。 Similarly for the word signal, the output comparison sampling circuit 12 calculates the difference between the signals of the same program variable. In the word signal, the difference in voltage amplitude is related to the replaceability as well as the time deviation. Therefore, in the case of a word signal, the product of the time lag of the signal waveform difference and the voltage difference is compared with the threshold value. The threshold value is set by the product of the difference between the sampling cycles t1 and t2 and the voltage correction term.

置き換える制御ネットワーク50の2番目、3番目、9番目、11番目のサンプリング周期t2(2),t2(3),t2(9),t2(11)のワード信号は、既存の制御ネットワーク20の1番目、2番目、6番目、7番目のワード信号とそれぞれ差異がある。各ワード信号の差のデータは、比較判定基準と比較される。比較判定基準は、新旧信号波形の時間差と振幅の差の積のデータにもとづいて設定される。時間差は、サンプリング周期の差|t1−t2|であり、振幅の差は、信号補正項Vである。この図の例では、置き換える制御ネットワーク50のワード信号の9番目のサンプリング周期t2(9)において、出力比較サンプリング回路12の出力波形の時間×振幅差、つまりこの図の面積が、比較判定基準を上回るので、出力比較サンプリング回路12は、トリガー信号を出力する。 The word signals of the second, third, ninth, and eleventh sampling cycles t2 (2), t2 (3), t2 (9), and t2 (11) of the control network 50 to be replaced are 1 of the existing control network 20. There are differences from the second, second, sixth, and seventh word signals, respectively. The difference data of each word signal is compared with the comparison criterion. The comparison judgment standard is set based on the data of the product of the time difference and the amplitude difference of the old and new signal waveforms. The time difference is the difference in sampling period | t1-t2 |, and the difference in amplitude is the signal correction term V. In the example of this figure, in the ninth sampling period t2 (9) of the word signal of the control network 50 to be replaced, the time × amplitude difference of the output waveform of the output comparison sampling circuit 12, that is, the area of this figure determines the comparison criterion. Since it exceeds, the output comparison sampling circuit 12 outputs a trigger signal.

このようにして、検証装置10は、新旧のビット信号およびワード信号の信号波形の差を計算し、計算された信号波形の差のデータが比較判定基準を超えた場合にトリガー信号を出力する。トリガー信号が出力されたタイミングの前後のすべての信号波形のデータが記憶部16に格納される。 In this way, the verification device 10 calculates the difference between the signal waveforms of the old and new bit signals and the word signal, and outputs a trigger signal when the calculated signal waveform difference data exceeds the comparison determination standard. Data of all signal waveforms before and after the timing when the trigger signal is output is stored in the storage unit 16.

トリガー信号によって記憶部16には、バッファ時間Tの範囲ですべての信号が格納されている。試験員やプログラマは、失敗ログとして記憶部16に格納された信号のデータを取り出して、信号波形の差が比較判定基準以下になるようにプログラムの修正等を行うことができる。 All signals are stored in the storage unit 16 by the trigger signal within the range of the buffer time T. The examiner or the programmer can take out the signal data stored in the storage unit 16 as a failure log and modify the program so that the difference between the signal waveforms is equal to or less than the comparison judgment standard.

図3においてすでに説明したように、比較する新旧の信号は、同一の信号群名1欄に属する関連するものを抽出プログラム上で設定して、自由に読み出すこともできる。たとえば、抽出プログラム上で、信号群名1を指定することによって、「アクチュエータ」に関連する信号群を選択的に抽出することができる。比較判定基準リスト13において、信号群名1,2の関連づけや他の項目との関連づけを適切に行うことによって、記憶部16から抽出する失敗ログに関連する信号の組み合わせを適切かつ少ない組み合わせ数で設定することもできる。 As already described in FIG. 3, the old and new signals to be compared can be freely read out by setting related signals belonging to the same signal group name column 1 on the extraction program. For example, by specifying the signal group name 1 on the extraction program, the signal group related to the "actuator" can be selectively extracted. In the comparison judgment standard list 13, by appropriately associating the signal group names 1 and 2 with other items, the combination of signals related to the failure log extracted from the storage unit 16 can be appropriately and with a small number of combinations. It can also be set.

本実施形態の検証装置10の効果について説明する。
本実施形態の検証装置10では、新旧の信号波形の差のデータを取得し、信号ごとに設定された比較判定基準と比較することによって、漏れなく新旧で大きな相違の信号波形の箇所を失敗ログとして記憶し、プログラム修正等に活用することができる。
The effect of the verification device 10 of the present embodiment will be described.
In the verification device 10 of the present embodiment, data of the difference between the old and new signal waveforms is acquired, and by comparing with the comparison judgment standard set for each signal, the location of the signal waveform with a large difference between the old and new is a failure log. It can be memorized as and used for program modification.

ワード信号については、新旧信号の振幅差を含めて比較判定基準を設定することができるので、より正確に信号波形の相違を検出することができる。 For the word signal, the comparison judgment standard can be set including the amplitude difference between the old and new signals, so that the difference in the signal waveform can be detected more accurately.

比較判定基準は、信号ごとに設定することができ、信号の制御対象等の分類等にしたがって、関連づけを行うことができる。そのため、記憶した失敗ログから容易に対象となる関連する信号群を抽出することができる。 The comparison judgment standard can be set for each signal, and the association can be performed according to the classification of the signal control target or the like. Therefore, the target related signal group can be easily extracted from the stored failure log.

(第2の実施形態)
図5は、本実施形態に係る検証装置の接続状況を例示するブロック図である。
上述した第1の実施形態の場合には、新規に置き換える制御ネットワーク50およびこれに接続する主幹制御装置60は、既存の制御ネットワーク20やこれに接続された入出力機器40および主幹制御装置30と同一のプラント内に設置されている。
(Second Embodiment)
FIG. 5 is a block diagram illustrating a connection status of the verification device according to the present embodiment.
In the case of the first embodiment described above, the newly replaced control network 50 and the main control device 60 connected thereto are the existing control network 20, the input / output device 40 connected to the existing control network 20, and the main control device 30. It is installed in the same plant.

本実施形態では、新規に置き換える制御ネットワーク150は、設置するプラントに配線工事等を行う前に、離れた場所で操作等をすることを可能にするものである。 In the present embodiment, the newly replaced control network 150 enables operations and the like to be performed at a remote place before wiring work and the like are performed on the plant to be installed.

本実施形態では、検証装置110は、データ送信装置120を介して、既存の制御ネットワーク20に接続される。データ送信装置120は、制御ネットワーク20を介して、主幹制御装置30および入出力機器40と接続されている。 In this embodiment, the verification device 110 is connected to the existing control network 20 via the data transmission device 120. The data transmission device 120 is connected to the main control device 30 and the input / output device 40 via the control network 20.

検証装置110は、置き換える制御ネットワーク150を介して主幹制御装置60に接続されている。検証装置110は、データ送信装置120と更新の対象となる制御ネットワーク20,150とは異なる通信ネットワーク122によって接続される。通信ネットワーク122は、制御ネットワーク20,150が同期した時刻で信号波形のデータを取得できる程度の速度および信頼性を有するネットワークであればよい。そのようなネットワークであれば、無線方式であってもよいし、有線方式のネットワークであってもよいし、これらが混合したネットワークであってもよい。 The verification device 110 is connected to the main control device 60 via the replacement control network 150. The verification device 110 is connected to the data transmission device 120 by a communication network 122 different from the control networks 20 and 150 to be updated. The communication network 122 may be a network having a speed and reliability sufficient to acquire signal waveform data at the time when the control networks 20 and 150 are synchronized. If it is such a network, it may be a wireless system, a wired network, or a mixed network thereof.

本実施形態の検証装置110は、第1の実施形態の場合と同様に動作する。すなわち、2つの制御ネットワーク20,150から制御信号およびI/O信号をそれぞれ取得し、新旧の信号波形の差のデータを取得し、比較判定基準と比較する。取得した差のデータが比較判定基準よりも大きい場合には、そのタイミングの前後の期間についてすべての信号波形のデータを記憶する。 The verification device 110 of the present embodiment operates in the same manner as in the case of the first embodiment. That is, the control signal and the I / O signal are acquired from the two control networks 20 and 150, respectively, and the data of the difference between the old and new signal waveforms is acquired and compared with the comparison judgment standard. If the acquired difference data is larger than the comparison criterion, all signal waveform data are stored for the period before and after that timing.

本実施形態では、検証装置110は、データ送信装置120および通信ネットワーク122を介して、既存の制御ネットワーク20に接続される。そのため、既存の制御ネットワーク20が設置されているプラントの現場とは異なる場所に設置した制御ネットワーク150および主幹制御装置60上で動作するプログラムの検証を行うことができる。試験員やプログラマがプラントに現場に出向いて検証作業を行う前に、事前に新旧プログラムの相違等の問題を検証することが可能になる。 In this embodiment, the verification device 110 is connected to the existing control network 20 via the data transmission device 120 and the communication network 122. Therefore, it is possible to verify the program operating on the control network 150 and the main control device 60 installed at a location different from the site of the plant where the existing control network 20 is installed. It is possible to verify problems such as differences between old and new programs in advance before testers and programmers go to the plant to perform verification work.

(第3の実施形態)
図6は、本実施形態に係る検証装置の接続状況を例示するブロック図である。
本実施形態では、既存の制御ネットワークに代えて、模擬の制御ネットワークを用いて、既存の制御ネットワークが設置されているプラントの現場で実際に検証作業を行う前に、プラントとは別の場所で新旧プログラムの検証を行う。
(Third Embodiment)
FIG. 6 is a block diagram illustrating a connection status of the verification device according to the present embodiment.
In the present embodiment, a simulated control network is used instead of the existing control network, and the verification work is actually performed at the site of the plant where the existing control network is installed, in a place different from the plant. Verify the old and new programs.

図6に示すように、本実施形態の検証装置210は、模擬の制御ネットワーク220に接続される。この制御ネットワーク220には、模擬の主幹制御装置230が接続されている。また、この制御ネットワーク220には、信号発生装置280が接続されている。模擬の制御ネットワーク220および主幹制御装置230は、現場のプラントに設置されている既存の制御ネットワーク20および主幹制御装置30をそれぞれ模擬(図1参照)した制御ネットワークである。この制御ネットワーク220および主幹制御装置230は、たとえば定周期t1で動作する。 As shown in FIG. 6, the verification device 210 of the present embodiment is connected to the simulated control network 220. A simulated main control device 230 is connected to the control network 220. Further, a signal generator 280 is connected to the control network 220. The simulated control network 220 and the main control device 230 are control networks that simulate (see FIG. 1) the existing control network 20 and the main control device 30 installed in the plant at the site, respectively. The control network 220 and the main control device 230 operate, for example, at a constant cycle t1.

検証装置210は、新規に置き換える制御ネットワーク250に接続される。制御ネットワーク250には、主幹制御装置60が接続されている。 The verification device 210 is connected to the newly replaced control network 250. The main control device 60 is connected to the control network 250.

2つの制御ネットワーク220,250には、信号発生装置280が接続されている。信号発生装置280は、既存の制御ネットワークに接続されている入出力機器を模擬するI/O信号を生成して出力する。 A signal generator 280 is connected to the two control networks 220 and 250. The signal generator 280 generates and outputs an I / O signal that simulates an input / output device connected to an existing control network.

図7は、図6の信号発生装置の構成例を例示するブロック図である。
図7に示すように、信号発生装置280は、I/O信号リスト285を参照し、信号発生装置280に接続された模擬入出力機器240に応じて、模擬のI/O信号を生成する。模擬のI/O信号の生成は、この例では、模擬I/O信号生成部282a,282bによって行われる。模擬I/O信号生成部282aは、模擬の主幹制御装置230に供給する模擬I/O信号を生成して出力する。模擬I/O信号生成部282bは、新規に置き換える主幹制御装置60に供給する模擬I/O信号を生成して出力する。
FIG. 7 is a block diagram illustrating a configuration example of the signal generator of FIG.
As shown in FIG. 7, the signal generator 280 refers to the I / O signal list 285 and generates a simulated I / O signal according to the simulated input / output device 240 connected to the signal generator 280. In this example, the simulated I / O signal generation is performed by the simulated I / O signal generation units 282a and 282b. The simulated I / O signal generation unit 282a generates and outputs a simulated I / O signal to be supplied to the simulated main control device 230. The simulated I / O signal generation unit 282b generates and outputs a simulated I / O signal to be supplied to the newly replaced main control device 60.

I/O信号リスト285には、既存の制御ネットワークに接続されている入出力機器が生成する信号群がリストされている。主幹制御装置230,60から供給される制御信号に応じて、模擬I/O信号生成部282a,282bは、I/O信号リスト285を参照して、対応するI/O信号を出力する。 The I / O signal list 285 lists the signal groups generated by the input / output devices connected to the existing control network. The simulated I / O signal generation units 282a and 282b output the corresponding I / O signals with reference to the I / O signal list 285 according to the control signals supplied from the main control devices 230 and 60.

信号発生装置280に接続することができる模擬入出力機器240は、たとえばシステムの起動のための押しボタンスイッチ等である。このようなハードウェアに限らず、設定されたシーケンス信号を生成するソフトウェアであってもよいし、これらの混合であってもよい。 The simulated input / output device 240 that can be connected to the signal generator 280 is, for example, a push button switch for starting a system. The hardware is not limited to such hardware, and software that generates a set sequence signal may be used, or a mixture of these may be used.

信号発生装置280は、たとえば、検証装置210のCPU等によって一部または全部が実行されるプログラムとして実現されてもよい。信号発生装置280は、ハードウェアで構成される場合にも、検証装置210と別筐体であってもよいし、同一筐体内に組み込まれてもかまわない。 The signal generator 280 may be realized as a program in which a part or all of the signal generator 280 is executed by, for example, the CPU of the verification device 210. The signal generator 280 may be configured by hardware, may be in a separate housing from the verification device 210, or may be incorporated in the same housing.

本実施形態の検証装置210では、現在、既存の制御ネットワークが設置されているプラントの現場とは異なる場所で、現場の制御ネットワークと接続することなしに、新旧プログラムの検証を行うことができる。 The verification device 210 of the present embodiment can verify the old and new programs at a place different from the site of the plant where the existing control network is currently installed, without connecting to the control network at the site.

本実施形態の検証装置210では、試験員をプラントの現場に派遣し、検証作業を最初の段階から実行するよりも、模擬的な信号源や制御ネットワークを用いて、検証作業の大半をあらかじめ実行することができる。その後、プラントの現場に置き換える制御ネットワーク等を設置し、最終的な検証作業を行えば、取得される失敗ログの数や頻度も減少し、プログラムの修正等の作業も少なくすることができる。したがって、検証作業および更新作業の効率を向上させることができる。 In the verification device 210 of the present embodiment, most of the verification work is performed in advance by using a simulated signal source and a control network, rather than dispatching an examiner to the plant site and performing the verification work from the first stage. can do. After that, if a control network or the like is installed at the plant site and the final verification work is performed, the number and frequency of acquired failure logs can be reduced, and the work such as program modification can be reduced. Therefore, the efficiency of the verification work and the update work can be improved.

また、本実施形態の構成によって、自社で検証作業を実施し、プログラムのデバグの大半を実施し、その後、第2の実施形態のように模擬の制御ネットワーク等を実際の既存の制御ネットワーク等に置き換えることで、より検証の精度を高めることができる。 In addition, according to the configuration of this embodiment, the verification work is carried out in-house, most of the program debug is carried out, and then the simulated control network or the like is converted into the actual existing control network or the like as in the second embodiment. By replacing it, the accuracy of verification can be further improved.

このように、段階を踏んで新規に置き換える制御ネットワークを構築することによって、短期間で確実に制御システムの更新を行うことができる。 In this way, by constructing a new control network to be replaced step by step, the control system can be reliably updated in a short period of time.

以上説明した実施形態によれば、効率的に漏れなく新旧プログラムを検証できる検証装置を実現することができる。 According to the embodiment described above, it is possible to realize a verification device capable of efficiently verifying the old and new programs without omission.

以上、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他のさまざまな形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明およびその等価物の範囲に含まれる。また、前述の各実施形態は、相互に組み合わせて実施することができる。 Although some embodiments of the present invention have been described above, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other embodiments, and various omissions, replacements, and changes can be made without departing from the gist of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are also included in the scope of the invention and its equivalents described in the claims. In addition, the above-described embodiments can be implemented in combination with each other.

10,110,210 検証装置、11 入力サンプリング回路、12 出力比較サンプリング回路、13 比較判定基準リスト、14 データバッファ、15 トリガー回路、16 記憶部、20 既存の制御ネットワーク、30 既存の主幹制御装置、40 入出力機器、50,150,250 置き換える制御ネットワーク、60 置き換える主幹制御装置、70 ゲートウェイサーバ、120 データ送信装置、122 通信ネットワーク、220 模擬の制御ネットワーク、230 模擬主幹制御装置、240 模擬入出力機器、280 信号発生装置、285 I/O信号リスト 10, 110, 210 verification device, 11 input sampling circuit, 12 output comparison sampling circuit, 13 comparison criterion list, 14 data buffer, 15 trigger circuit, 16 storage unit, 20 existing control network, 30 existing main control device, 40 I / O devices, 50, 150, 250 replacement control network, 60 replacement main control device, 70 gateway server, 120 data transmission device, 122 communication network, 220 simulated control network, 230 simulated main control device, 240 simulated I / O device 280 signal generator, 285 I / O signal list

Claims (8)

入出力機器を制御するプロセス制御システムの制御ネットワーク上で動作する機器のためのプログラムの置き換えを検証する検証装置であって、
既存の制御ネットワークである第1制御ネットワークを介して、複数の第1信号を含む第1信号群の波形データを第1サンプリング時間でそれぞれ取得し、
前記第1制御ネットワークを置き換えて設置される第2制御ネットワークを介して、前記複数の第1信号それぞれに対応する複数の第2信号を含む第2信号群の波形データを前記第1サンプリング時間とは異なる時間の第2サンプリング時間でそれぞれ取得し、
前記複数の第1信号と対応する前記複数の第2信号との波形の差を、あらかじめ設定された判定基準とそれぞれ比較する演算部と、
前記波形の差が前記判定基準よりも大きい場合に生じた前記波形の差の時刻を含むように、前記第1信号群および前記第2信号群を記憶する記憶部と、
を備えた検証装置。
A verification device that verifies program replacement for devices operating on the control network of a process control system that controls input / output devices.
The waveform data of the first signal group including the plurality of first signals is acquired at the first sampling time via the first control network which is an existing control network.
Through the second control network installed by replacing the first control network, the waveform data of the second signal group including the plurality of second signals corresponding to the plurality of first signals is used as the first sampling time. Get each at a second sampling time at different times,
An arithmetic unit that compares the difference in waveform between the plurality of first signals and the corresponding plurality of second signals with preset determination criteria, respectively.
A storage unit that stores the first signal group and the second signal group so as to include the time of the difference in the waveform that occurs when the difference in the waveform is larger than the determination criterion.
Verification device equipped with.
前記演算部は、前記複数の第1信号および前記複数の第2信号のうちのそれぞれ対応する信号について、前記波形の差の時刻の前後の期間を含めて前記記憶部に記憶させる請求項1記載の検証装置。 The first aspect of claim 1, wherein the calculation unit stores the corresponding signals of the plurality of first signals and the plurality of second signals in the storage unit including a period before and after the time of the difference in the waveforms. Verification device. 前記第1信号および前記第2信号は、1ビットの信号であるビット信号および16ビットの信号であるワード信号のうち少なくとも一方をそれぞれ含む請求項1または2に記載の検証装置。 The verification device according to claim 1 or 2, wherein the first signal and the second signal include at least one of a bit signal which is a 1-bit signal and a word signal which is a 16-bit signal, respectively. 前記第1信号群および前記第2信号群は、アクチュエータを駆動するアクチュエータ駆動信号を含むアクチュエータ信号群、製造ラインの条件を設定するライン設定信号を含むライン設定信号群、および製造ラインのシーケンスを設定するシーケンス信号を含むシーケンス信号群を含む請求項1〜3のいずれか1つに記載の検証装置。 The first signal group and the second signal group set an actuator signal group including an actuator drive signal for driving an actuator, a line setting signal group including a line setting signal for setting conditions of a manufacturing line, and a production line sequence. The verification device according to any one of claims 1 to 3, which includes a sequence signal group including a sequence signal to be used. 前記演算部は、前記第1ネットワークを介して、既存の主幹制御装置である第1主幹制御装置に接続されることができ、前記第2ネットワークを介して、前記第1主幹制御装置を置き換えて新設する第2主幹制御装置に接続されることができ、前記第1ネットワークを介して、入出力機器に接続されることができる請求項1〜4のいずれか1つに記載の検証装置。 The arithmetic unit can be connected to the first main control device, which is an existing main control device, via the first network, and replaces the first main control device via the second network. The verification device according to any one of claims 1 to 4, which can be connected to a newly installed second main control device and can be connected to an input / output device via the first network. 前記第1制御ネットワークに接続され、前記第1主幹制御装置および前記入出力機器に接続されたデータ送信装置に接続されることができる請求項5記載の検証装置。 The verification device according to claim 5, which is connected to the first control network and can be connected to the first main control device and the data transmission device connected to the input / output device. 前記第1制御ネットワークは、既存の制御ネットワークを模擬した制御ネットワークであり、
前記入出力機器は、模擬的に入出力信号を生成する信号発生装置である請求項5記載の検証装置。
The first control network is a control network that imitates an existing control network.
The verification device according to claim 5, wherein the input / output device is a signal generator that simulates an input / output signal.
前記第1制御ネットワークは、既存の制御ネットワークを模擬した制御ネットワークであり、
模擬的に入出力信号を生成する信号発生部をさらに備えた請求項5記載の検証装置。
The first control network is a control network that imitates an existing control network.
The verification device according to claim 5, further comprising a signal generation unit that simulates input / output signals.
JP2018002491A 2018-01-11 2018-01-11 Verification device Active JP6821271B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018002491A JP6821271B2 (en) 2018-01-11 2018-01-11 Verification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018002491A JP6821271B2 (en) 2018-01-11 2018-01-11 Verification device

Publications (2)

Publication Number Publication Date
JP2019121305A JP2019121305A (en) 2019-07-22
JP6821271B2 true JP6821271B2 (en) 2021-01-27

Family

ID=67306416

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018002491A Active JP6821271B2 (en) 2018-01-11 2018-01-11 Verification device

Country Status (1)

Country Link
JP (1) JP6821271B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118034158B (en) * 2024-03-18 2026-01-06 北京宏志国际科技有限公司 A multi-protocol compatible data center power and environment monitoring system

Also Published As

Publication number Publication date
JP2019121305A (en) 2019-07-22

Similar Documents

Publication Publication Date Title
CN109923483B (en) Simulation device and simulation method
US20210018903A1 (en) Information processing system, information processing method, and recording medium
CN101226564A (en) System and method for turbine control simulation
US11604446B2 (en) Method and system for validating a control program
US11567489B2 (en) Method and device for efficient fault analysis through simulated faults in a digital twin
JP2015197917A (en) Method for detecting abnormality in discrete manufacturing process
WO2013099032A1 (en) Motion controller and motor control system
JP6821271B2 (en) Verification device
US20050033457A1 (en) Simulation aid tools and ladder program verification systems
JP4379687B2 (en) Simulation support tool and ladder program verification system and program product
US10178450B2 (en) High-speed converter, measurement system, and computer-readable medium
US20180059649A1 (en) Simulator linkage device, control method of simulator linkage device, information processing program and recording medium
US11435735B2 (en) Playback simulation test system
JP2019016326A (en) Programmable logic controller and data collection device
JP6529386B2 (en) Equipment operation analysis device
KR102156224B1 (en) Apparatus adjusting output of analog output module
JP7058925B2 (en) Plant controller
JP5980420B2 (en) Software test apparatus, software test method, and program
MXPA05008628A (en) Method for determining the processing sequence of function blocks of an automated system and corresponding automated system.
JP5303968B2 (en) Elevator program verification system
JP2021018586A (en) Simulated process controller
CN119365835B (en) Simulation program product, simulation method and simulation device
JP2025002049A (en) Control program generation device, control program generation system, and control program generation method
KR20260030488A (en) A method and apparatus of virtual commissioning to emulate CNC machining process
JP2019082780A (en) Plant control apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200217

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210105

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201225

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210105

R150 Certificate of patent or registration of utility model

Ref document number: 6821271

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250