JP5787697B2 - Distributed monitoring control apparatus and control method in distributed monitoring control apparatus - Google Patents
Distributed monitoring control apparatus and control method in distributed monitoring control apparatus Download PDFInfo
- Publication number
- JP5787697B2 JP5787697B2 JP2011213356A JP2011213356A JP5787697B2 JP 5787697 B2 JP5787697 B2 JP 5787697B2 JP 2011213356 A JP2011213356 A JP 2011213356A JP 2011213356 A JP2011213356 A JP 2011213356A JP 5787697 B2 JP5787697 B2 JP 5787697B2
- Authority
- JP
- Japan
- Prior art keywords
- control device
- input
- output
- control
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Programmable Controllers (AREA)
Description
本発明の実施形態は、分散監視制御装置及び分散監視制御装置における制御方法に関する。 Embodiments described herein relate generally to a distributed monitoring control apparatus and a control method in the distributed monitoring control apparatus.
一般に、分散監視制御装置においては、複数の監視・操作装置と制御装置で構成され、制御装置とプラントに配備された計測・制御機器とはプロセス入出力装置、フィールドバス、或いはセンサバスを介して接続される。 In general, a distributed monitoring and control device is composed of a plurality of monitoring / operation devices and control devices, and the control devices and measurement / control devices installed in the plant are connected via process input / output devices, field buses, or sensor buses. Connected.
また、監視・操作装置と制御装置はネットワーク接続した構成を採る。計測・制御機器から得られるプロセス量を複数の制御装置が必要とする場合は、計測・制御機器とプロセス入出力機器との間に信号分配器を設置するか、計測・制御機器が接続される制御装置がネットワークを介した通信により情報共有を行なう方法が採られている。 Further, the monitoring / operation device and the control device have a network connection configuration. If multiple control devices require the amount of process obtained from the measurement / control device, install a signal distributor between the measurement / control device and the process input / output device, or connect the measurement / control device. A method is adopted in which the control device shares information by communication via a network.
従来の分散監視制御装置は、プラントの構成設備や制御方針に基づいて制御装置を分散し、当該設備を運転するための計測・制御機器を配備して制御装置に接続した構成を採っている。プラントに配備された計測・制御機器がフィールドバス、或いはセンサバスを介して複数の制御装置に接続される場合においても、計測機器から得られるプロセス値は特定の制御装置を介して、制御装置間での通信によって共有する方法が採られている。また、制御装置の稼働率を向上させる目的で冗長化が求められる場合は、前述の制御装置を単位として多重化した構成を採っている。 A conventional distributed monitoring and control apparatus adopts a configuration in which control apparatuses are distributed based on plant configuration facilities and control policies, and measurement / control devices for operating the facilities are arranged and connected to the control apparatus. Even when the measurement / control equipment deployed in the plant is connected to multiple control devices via the fieldbus or sensor bus, the process values obtained from the measurement devices are transferred between the control devices via a specific control device. The method of sharing by communication in is taken. In addition, when redundancy is required for the purpose of improving the operating rate of the control device, a configuration in which the above-described control device is multiplexed as a unit is adopted.
上述した従来の分散監視制御装置においては、図39に示すように、制御装置101内で演算する制御ロジックが必要とするプロセス入出力について入出力装置102を用意し、エンジニアリング装置104上でプログラミングした制御ロジックを制御装置101にダウンロードして実行するため、制御ロジックの演算量が増大するか、プロセス入出力が増大して許容範囲を超えると、新たに用意した制御装置101に入出力装置102も含めて分割する必要があった。なお、監視・操作装置103は、運転員が選択・要求した対話画面をプラント状態量を含めて表示・更新すると共に、操作指令を出力する。
In the conventional distributed monitoring and control apparatus described above, as shown in FIG. 39, an input / output apparatus 102 is prepared for process input / output required by the control logic operated in the
制御装置101の老朽化による更新では、旧型の制御装置で演算していた制御ロジックを新型の制御装置101用に一部を機械変換して再利用する事が可能となっているが、複数の制御装置101に分割された制御ロジックを単一の制御装置で実行可能な形式に機械変換する程ではないため、製造技術の進歩により向上した制御装置の演算性能を十分に引き出せないでいた。
In the update due to the aging of the
更に、分散方針と多重化構成により、障害の発生に備えた代替えとなる制御装置101を必要とする場合、制御装置を一括更新する場合においても、制御装置の数量を削減する事は困難であった。
Further, when the
本発明は上述した課題を解決するためになされたものであり、制御装置を単位とした制御ロジックのプログラミングと、プロセス入出力のエンジニアリングを分離・独立させる事のできる分散監視制御装置を得ることを目的とする。 The present invention has been made to solve the above-described problems, and it is an object of the present invention to obtain a distributed monitoring and control device capable of separating and independent control logic programming and process input / output engineering in units of control devices. Objective.
実施形態によれば、少なくとも1台の監視・操作装置と、制御ネットワークを介して前記少なくとも1台の監視・操作装置に接続された少なくとも1台の制御装置と、前記少なくとも1台の制御装置とI/Oネットワークを介して接続されたプラントを構成する機器を監視・制御する複数の入出力制御装置とを具備し、前記複数の入出力制御装置と前記少なくとも1台の制御装置との入出力値を前記I/Oネットワークを介して共有し、前記入出力制御装置は、前記機器の機器名と前記機器名に対応する機器のプラント状態量を対として構成した出力値を前記I/Oネットワークを介してマルチキャスト送信し、前記機器の機器名と前記機器名に対応する機器の制御量を対として構成した入力値を前記I/Oネットワークを介してマルチキャスト受信することを特徴とする分散監視制御装置、である。 According to the embodiment, at least one monitoring / operation device, at least one control device connected to the at least one monitoring / operation device via a control network, and the at least one control device, A plurality of input / output control devices that monitor and control equipment constituting the plant connected via the I / O network, and input / output between the plurality of input / output control devices and the at least one control device. A value is shared via the I / O network, and the input / output control device outputs an output value configured by pairing the device name of the device and the plant state quantity of the device corresponding to the device name. The input value configured as a pair of the device name of the device and the control amount of the device corresponding to the device name is multicast via the I / O network. Distributed monitoring control unit, characterized in that the bets received a.
本発明によれば、制御装置を単位とした制御ロジックのプログラミングと、プロセス入出力のエンジニアリングを分離・独立させる事のできる分散監視制御装置が提供される。 ADVANTAGE OF THE INVENTION According to this invention, the distributed monitoring and control apparatus which can isolate | separate and make independent the programming of the control logic in the unit of a control apparatus, and the engineering of process input / output is provided.
以下、実施の形態について、図面を参照して説明する。 Hereinafter, embodiments will be described with reference to the drawings.
(実施の形態1)
図1は、実施の形態1の分散監視制御装置の構成を示す図である。
(Embodiment 1)
FIG. 1 is a diagram illustrating a configuration of a distributed monitoring control apparatus according to the first embodiment.
同図に示すように、複数の制御装置1、複数の監視操作装置3、エンジニアリング装置4は、冗長化された制御ネットワーク5にそれぞれ接続されている。また、I/Oネットワーク6には複数の制御装置1及び複数の入出力制御装置2が接続されている。
As shown in the figure, a plurality of
制御装置1は、エンジニアリング装置4でプログラミングされた制御ロジックを演算すると共に監視・操作装置3、エンジニアリング装置4、及び入出力制御装置2と通信する。
The
入出力制御装置2は、プラントを構成する機器を監視・制御するために配置した計測・制御機器に対する入出力制御を行なうと共に制御装置1と通信する。
The input /
監視・操作装置3は、運転員が選択・要求した対話画面をプラント状態量を含めて表示・更新すると共に、監視・操作装置3から操作指令を出力する。
The monitoring /
制御ネットワーク5は、冗長化されており、エンジニアリング装置4、監視・操作装置3、及び制御装置1を接続する。I/Oネットワーク6は、制御装置1と入出力制御装置2を接続する。
The
本実施の形態の分散監視制御装置は、入出力制御装置2から入力されたプラント状態量をI/Oネットワーク6、制御装置1、制御ネットワーク5を介して監視・操作装置3に入力する。監視・操作装置3は、運転員が選択・要求した対話画面にプラント状態量を含めて表示・更新する。また、監視・操作装置3からの操作指令を制御装置1を介して入出力制御装置2に制御値として出力する。
The distributed monitoring control apparatus according to the present embodiment inputs the plant state quantity input from the input /
図8は、実施の形態1の分散監視制御装置における制御装置と入出力制御装置の具体的な構成を示す図である。 FIG. 8 is a diagram illustrating a specific configuration of the control device and the input / output control device in the distributed monitoring control device of the first embodiment.
図8に示した制御装置X、Yと入出力制御装置A、Bは、図1に示した制御装置1と入出力制御装置2に対応している。
The control devices X and Y and the input / output control devices A and B shown in FIG. 8 correspond to the
制御装置1は、それぞれ制御ロジック格納部7、制御データ格納部8、運転制御部10、演算部11、伝送部12及び伝送入出力部13を具備している。
The
制御ロジック格納部7は、プログラミングされた制御ロジックを格納する。
The control
制御データ格納部8は、制御ロジック格納部7に格納された制御ロジックが参照・更新する入出力値を保持する。
The control
運転制御部10は、伝送入出力部13、演算部11、及び伝送部12の実行を制御する。
The
演算部11は、制御データ格納部8に格納された制御データの入力値を制御ロジックに従って演算し、演算結果を制御データ格納部8に格納された制御データの出力値に更新する。
The
伝送部12は、制御データ格納部8に格納された制御データの入出力値を監視・操作装置3や他の制御装置1と通信する。
The
伝送入出力部13は、入出力制御装置2から受信したプロセス状態量を制御データ格納部8に格納された制御データの入力値に更新すると共に、制御データ格納部8に格納された制御データの出力値を入出力制御装置2に送信する。
The transmission input /
入出力制御装置2は、入出力データ格納部9、入出力伝送部14、入力部15及び出力部16を有する。
The input /
入出力データ格納部9は、入出力データを保持する。
The input / output
入出力伝送部14は、制御装置1の伝送入出力部13が送信した出力値を入出力データ格納部9に格納された入出力データに更新すると共に、入出力データ格納部9に格納された入出力データの入力値を送信する。
The input /
入力部15は、計測機器から入力したプラント状態量を入出力データ格納部9に格納された入出力データに更新する。
The
出力部16は、入出力データ格納部9に格納された入出力データに更新された出力値を制御機器に出力する。
The
図9は、実施の形態1の分散監視制御装置における制御ロジック、制御データ、及び入出力データを示す図である。 FIG. 9 is a diagram illustrating control logic, control data, and input / output data in the distributed monitoring and control apparatus according to the first embodiment.
本実施の形態の入出力制御装置Aには、計測・制御機器としてA1乃至A4、入出力制御装置BにはB1乃至B4がそれぞれ接続され、A1乃至A2とB1乃至B2は計測機器、A3乃至A4とB3乃至B4は制御機器となっている。 The input / output control device A of the present embodiment is connected to A1 to A4 as measurement / control devices, and the input / output control device B is connected to B1 to B4. A1 to A2 and B1 to B2 are measurement devices, and A3 to A4. A4 and B3 to B4 are control devices.
図9(a)は、図8に示した制御装置Xにおける制御ロジック、制御データ、入出力制御装置の送信データを示す図であり、図9(b)は、図8に示した制御装置Yにおける制御ロジック、制御データ、入出力制御装置の送信データを示す図である。 9A is a diagram showing control logic, control data, and transmission data of the input / output control device in the control device X shown in FIG. 8, and FIG. 9B is a diagram showing the control device Y shown in FIG. FIG. 3 is a diagram showing control logic, control data, and transmission data of the input / output control device in FIG.
図9(c)は、図8に示した入出力制御装置Aにおける入出力データ、入出力制御装置Aの送信データを示す図であり、図9(d)は、図8に示した入出力制御装置Bにおける入出力データ、入出力制御装置Bの送信データを示す図である。 9C is a diagram showing input / output data in the input / output control device A shown in FIG. 8 and transmission data of the input / output control device A. FIG. 9D is a diagram showing the input / output shown in FIG. It is a figure which shows the input / output data in the control apparatus B, and the transmission data of the input / output control apparatus B.
図9(a)、(b)に示した制御装置Xと制御装置Y、図9(d)、(e)に示した入出力制御装置Aと入出力制御装置Bは、図8に示した制御装置1と入出力制御装置2に対応している。
The control device X and control device Y shown in FIGS. 9A and 9B and the input / output control device A and the input / output control device B shown in FIGS. 9D and 9E are shown in FIG. It corresponds to the
図9(a)、(b)において、制御ロジックXは、制御装置Xの制御ロジック格納部7に格納された制御ロジックであり、制御ロジックYは、制御装置Yの制御ロジック格納部7に格納された制御ロジックである。
9A and 9B, the control logic X is control logic stored in the control
制御データXは、制御装置Xの制御データ格納部8に格納された制御データであり、制御データYは、制御装置Yの制御データ格納部8に格納された制御データである。
The control data X is control data stored in the control
図9(c)において、入出力データAは入出力制御装置Aの入出力データ格納部9に格納された入出力データを示し、図9(d)において、入出力データBは入出力制御装置Bの入出力データ格納部9に格納された入出力データを示す。
9C, input / output data A indicates input / output data stored in the input / output
制御装置Xの制御ロジック格納部7に格納された制御ロジックXは、X1乃至X3を演算入力とし、X4乃至X5を演算出力する。制御ロジックXは、制御データ格納部8に格納された制御データXによりそれぞれが接続する入出力制御装置2のデバイス名と入出力方向が入出力指標として定義されている。
The control logic X stored in the control
制御装置Yの制御ロジック格納部7に格納された制御ロジックは、Y1乃至Y2を演算入力とし、Y3乃至Y4を演算出力としており、同様に制御データ格納部8に格納された制御データにより接続する入出力制御装置2のデバイス名と入出力指標が定義されている。
The control logic stored in the control
入出力制御装置Aの入出力データ格納部9に格納された入出力データAには、計測機器として接続されたA1乃至A2から入力データと、制御機器として接続されたA3乃至A4への出力データがデバイス名、及び入出力方向を示す入出力指標と共に定義されている。
The input / output data A stored in the input / output
入出力制御装置Bの入出力データ格納部9に格納された入出力データBにも、同様に計測機器として接続されたB1乃至B2から入力データと、制御機器として接続されたB3乃至B4への出力データがデバイス名、及び入出力指標と共に定義されている。
Similarly, the input / output data B stored in the input / output
次に、実施の形態1の分散監視制御装置の動作について説明する。 Next, the operation of the distributed monitoring control apparatus according to the first embodiment will be described.
制御装置Xの伝送入出力部13は、制御データXに定義された内容から、入出力制御装置Aからデバイス名A1乃至A2のプラント状態量a1乃至a2を獲得して変数X1乃至X2を更新すると共に、入出力制御装置Bからデバイス名B1のプラント状態量b1を獲得して変数X3を更新する事を認識する。
The transmission input /
また、入出力制御装置Aのデバイス名A3に制御量a3を与えるために変数X4をデータ送信すると共に、入出力制御装置Bのデバイス名B3に制御量b3を与えるために変数X5をデータ送信する必要がある事を認識する。 In addition, the variable X4 is transmitted to give the control amount a3 to the device name A3 of the input / output control device A, and the variable X5 is sent to give the control amount b3 to the device name B3 of the input / output control device B. Recognize that there is a need.
同様に、制御装置Yの伝送入出力部13は、制御データYに定義された内容から、入出力制御装置Aからデバイス名A1のプラント状態量a1を獲得して変数Y1を更新すると共に、入出力制御装置Bからデバイス名B2のプラント状態量b2を獲得して変数Y2を更新する事を認識する。
Similarly, the transmission input /
また、入出力制御装置Aのデバイス名A4に制御量a4を与えるために変数Y3をデータ送信すると共に、入出力制御装置Bのデバイス名B4に制御量b4を与えるために変数Y4をデータ送信する必要がある事を認識する。 In addition, the variable Y3 is transmitted to give the control amount a4 to the device name A4 of the input / output control device A, and the variable Y4 is sent to give the control amount b4 to the device name B4 of the input / output control device B. Recognize that there is a need.
本実施形態1の入出力制御装置2には、計測機器から入力したプラント状態量と、制御機器に与える制御量を送受信するために、独立した送信用と受信用のマルチキャストアドレスを設ける。
The input /
入出力制御装置Aの入出力伝送部14は、入出力データAに定義されたデバイスA1乃至A2について、デバイス名A1乃至A2と値a1乃至a2(プラント状態量)を対として構成したものをマルチキャスト送信すると共に、入出力データAに定義されたデバイスA3又はA4についてデバイス名と値a3又はa4(制御量)を対として構成したものをマルチキャスト受信する。
The input /
入出力制御装置Aの送信データは、入出力制御装置Aからプラント状態量を獲得できる事を認識している制御装置Xと制御装置Yにより受信され、送信データに含まれるデバイスA1乃至A2のプラント状態量a1乃至a2は、制御装置Xの伝送入出力部13により変数X1乃至X2が更新され、制御装置Yの伝送入出力部13により変数Y1が更新される。
The transmission data of the input / output control device A is received by the control device X and the control device Y that recognize that the plant state quantity can be acquired from the input / output control device A, and the plants of the devices A1 to A2 included in the transmission data. In the state quantities a1 to a2, the variables X1 and X2 are updated by the transmission input /
同様に、入出力制御装置Bの入出力伝送部14は、入出力データBに定義されたデバイスB1乃至B2について、デバイス名B1乃至B2と値b1乃至b2を対として構成したものをマルチキャスト送信すると共に、入出力データBに定義されたデバイスB3乃至B4についてデバイス名B3又はB4と値b3又はb4を対として構成したものをマルチキャスト受信する。
Similarly, the input /
入出力制御装置Bの送信データは、入出力制御装置Bからプラント状態量を獲得できる事を認識している制御装置Xと制御装置Yにより受信され、送信データに含まれるデバイスB1のプラント状態量b1は、制御装置Xの伝送入出力部13により変数X3が更新され、制御装置Yの伝送入出力部13により変数Y2が更新される。
The transmission data of the input / output control apparatus B is received by the control apparatus X and the control apparatus Y that recognize that the plant state quantity can be acquired from the input / output control apparatus B, and the plant state quantity of the device B1 included in the transmission data. In b1, the variable X3 is updated by the transmission input /
制御装置Xの伝送入出力部13は、制御データXに定義されたデバイスA3について、デバイス名と変数X4の値a3を対として構成したものを、入出力制御装置Aにマルチキャスト送信すると共に、デバイスB3について、デバイス名と変数X5の値b3を対として構成したものを、入出力制御装置Bにマルチキャスト送信する。
The transmission input /
入出力制御装置Aの入出力伝送部14は、受信データを構成するデバイス名によりデバイスA3の値a3を更新し、同入出力制御装置内の出力部がデバイスA3に制御量を出力する。
The input /
入出力制御装置Bの入出力伝送部14は、受信データを構成するデバイス名によりデバイスB3の値b3を更新し、同入出力制御装置内の出力部がデバイスB3に制御量を出力する。
The input /
同様に、制御装置Yの伝送入出力部13は、制御データYに定義されたデバイスA4について、デバイス名と変数Y3の値a4を対として構成したものを、入出力制御装置Aにマルチキャスト送信すると共に、デバイスB4について、デバイス名と変数Y4の値b4を対として構成したものを、入出力制御装置Bにマルチキャスト送信する。
Similarly, the transmission input /
入出力制御装置Aの入出力伝送部14は、受信データを構成するデバイス名によりデバイスA4の値a4を更新し、同入出力制御装置内の出力部がデバイスA4に制御量を出力する。
The input /
入出力制御装置Bの入出力伝送部14は、受信データを構成するデバイス名によりデバイスB4の値b4を更新し、同入出力制御装置内の出力部がデバイスB4に制御量を出力する。
The input /
図10及び図11は、運転制御部10による処理を示すフローチャートである。
10 and 11 are flowcharts showing processing by the
図10において、制御装置1の起動と共に制御データから演算周期を獲得し(S1)、タイマに実行ハンドラを登録して(S2)、タイマを起動する(S3)。その後、停止条件が成立したか否かの判断が行なわれ(S4)、停止条件が成立したと判断された場合にはタイマを停止して(S5)、処理を終了する。停止条件とは、例えば、制御装置の故障により機能が停止する場合、ユーザから停止が指示された場合などである。なお、同図においてT/Dは時間遅れを示している。
In FIG. 10, when the
図11は、実行ハンドラの処理を説明するためのフローチャートである。 FIG. 11 is a flowchart for explaining the processing of the execution handler.
タイマにより周期的に実行ハンドラが実行される。実行ハンドラでは、伝送部12に入力を指示し(S11)、伝送入出力部13に入力を指示する(S12)ことにより、入力を行なった後、演算部11に演算を指示(S13)する。そして、演算結果の出力を伝送部12及び伝送入出力部13に指示し(S14、S15)、演算結果を出力する。
The execution handler is executed periodically by the timer. In the execution handler, the
以上の結果により、制御装置Xと制御装置Y、及び入出力制御装置Aと入出力制御装置Bの通信が成立する。 As a result, communication between the control device X and the control device Y, and the input / output control device A and the input / output control device B is established.
なお、本実施の形態では、入出力制御装置2からの送信データを計測機器からの入力データに限定しているが、制御機器への出力データを含めることにより、特定の制御装置1が出力する制御量を他の制御装置1でプラント状態量として扱えるようにしても良い。
In the present embodiment, the transmission data from the input /
本実施の形態によれば、制御ロジック格納部7に格納された制御ロジックを演算する制御装置1と、入出力を行う入出力制御装置2がI/Oネットワーク6で分離されているので、演算量が増大した際の制御装置1の増設や、入出力が増大した際の入出力制御装置2の増設により、既存の制御装置1や入出力制御装置2に対する影響は極小化することができる。
According to the present embodiment, since the
また、入出力制御装置2から送信されるプラント状態量は、分散監視制御装置を構成する全ての制御装置1が同時に獲得できるので、制御装置1間で共有するプログラミングを必要する場合と比較して応答性を改善することができる。
Further, since the plant state quantity transmitted from the input /
また、制御装置1と入出力制御装置2との通信はマルチキャストで行われるため、送信側は受信側の冗長化度合を認識する必要がなく、入出力制御装置2を冗長化した構成にする事も容易になる。
Further, since the communication between the
更に、入出力が制御装置1とはネットワーク分離された入出力制御装置2で行なわれるため、図7に示すプラントモデル21aを内臓した模擬装置21において、入出力制御装置を動作模擬する手段を設ける事により、特殊な設備を導入する事なくプラント規模での制御ロジックの動作検証を行うことができ、高品質の分散監視制御装置を提供する事ができる。制御装置1が組込み用途の汎用OSを採用している場合、仮想化技術を用いた試験環境で同様の事が実現できる事は言うまでもない。
Further, since input / output is performed by the input /
(実施の形態2)
次に、実施の形態2に係る分散監視制御装置を図2、図12〜図13を用いて説明する。なお、実施の形態1と同一の構成には同一の符号を付し、重複する説明は省略する。
(Embodiment 2)
Next, a distributed monitoring control apparatus according to the second embodiment will be described with reference to FIGS. 2 and 12 to 13. In addition, the same code | symbol is attached | subjected to the structure same as
図1に示した実施の形態1の分散監視制御装置と、図2に示した実施の形態2の分散監視制御装置と異なる点は、制御装置1と入出力制御装置2とを接続するI/Oネットワーク6が冗長されていることにある。
1 is different from the distributed monitoring and control apparatus according to the second embodiment shown in FIG. 2 in that the I / O that connects the
図12は、実施の形態2の分散監視制御装置における制御装置と入出力制御装置の構成を示す図である。なお、図8と同一部分には、同一符号を付して説明し、その説明を省略し、機能が異なる部分について説明する。 FIG. 12 is a diagram illustrating configurations of a control device and an input / output control device in the distributed monitoring control device according to the second embodiment. Note that the same parts as those in FIG. 8 are denoted by the same reference numerals, description thereof is omitted, and parts having different functions will be described.
図12に示した制御装置X、Yと入出力制御装置X、Yは、図2に示した制御装置1と入出力制御装置2に対応している。
The control devices X and Y and the input / output control devices X and Y shown in FIG. 12 correspond to the
実施の形態2の制御装置1は、図8に示した実施の形態1の制御装置1に比して、それぞれ制御ロジック格納部7、制御データ格納部8、運転制御部10、演算部11、伝送部12及び伝送入出力部13に加えて、受信データ格納部31を有している。
The
受信データ格納部31は、受信データの最終受信日時を保持する受信データを格納する。
The reception
伝送入出力部13は、受信データ格納部31に格納された受信データを用いて入出力制御装置から先着受信したプロセス状態量を制御データの入力値に更新すると共に、制御データ格納部8に格納された制御データの出力値を冗長化されたI/Oネットワーク6を介して入出力制御装置2に送信する。
The transmission input /
実施の形態2の入出力制御装置2は、図8に示した実施の形態1の入出力制御装置2に比して、入出力データ格納部9、入出力伝送部14、入力部15及び出力部16に加えて、受信データ格納部31を有している。
The input /
受信データ格納部32は、受信データの最終受信日時を保持する受信データを格納する。
The reception
入出力伝送部14は、受信データ17を用いて入出力制御装置2の入出力伝送部14が先着受信した出力値を入出力データ格納部32に更新すると共に、入出力データ格納部32の入力値を送信する。
The input /
図13(a)は、図12に示した制御装置Xにおける制御ロジック、制御データ、受信データ、入出力制御装置の送信データを示す図であり、図13(b)は、図12に示した制御装置Yにおける制御ロジック、制御データ、受信データ、入出力制御装置の送信データを示す図である。 FIG. 13A is a diagram illustrating control logic, control data, reception data, and transmission data of the input / output control device in the control device X illustrated in FIG. 12, and FIG. 13B is illustrated in FIG. It is a figure which shows the control logic in the control apparatus Y, control data, reception data, and the transmission data of an input / output control apparatus.
図13(c)は、図12に示した入出力制御装置Aにおける入出力データ、受信データ、入出力制御装置Aの送信データを示す図であり、図13(d)は、図12に示した入出力制御装置Bにおける入出力データ、受信データ、入出力制御装置Bの送信データを示す図である。 FIG. 13C is a diagram showing input / output data, received data, and transmission data of the input / output control device A in the input / output control device A shown in FIG. 12, and FIG. 13D is a diagram shown in FIG. 7 is a diagram showing input / output data, reception data, and transmission data of the input / output control device B in the input / output control device B.
図13(a)、(b)に示した制御装置Xと制御装置Y、図13(d)、(e)に示した入出力制御装置Aと入出力制御装置Bは、図12に示した制御装置1と入出力制御装置2に対応している。
The control device X and control device Y shown in FIGS. 13A and 13B and the input / output control device A and input / output control device B shown in FIGS. 13D and 13E are shown in FIG. It corresponds to the
次に、実施の形態2の分散監視制御装置の動作について説明する。 Next, the operation of the distributed monitoring control apparatus according to the second embodiment will be described.
制御装置1と入出力制御装置2とは、冗長化されたI/Oネットワーク6に対して同一内容を各ネットワークに送信する共に、先着した送信データを処理し、後着した送信データは破棄する。先着判定は、送信側が付したタイムスタンプと受信側が保持する最終送信日時との比較により、最終送信日時より新しい送信日時を有する送信データを先着と判定する。
The
入出力制御装置Aの入出力伝送部14は、入出力データAに定義されたデバイスA1乃至A2について、デバイス名と値を対として構成したものに装置名とタイムスタンプtaを付した送信データを各I/Oネットワーク6にマルチキャスト送信すると共に、入出力データAに定義されたデバイスについてデバイス名と値(制御量)を対として構成したものに装置名とタイムスタンプを付したものを各I/Oネットワーク6からマルチキャスト受信する。入出力制御装置Aの送信データは、入出力制御装置Aからプラント状態量を獲得できる事を認識している制御装置Xと制御装置Yの伝送入出力部により受信され、送信データに含まれる装置名、及びタイムスタンプtaと受信データ17が保持する当該装置からの最終送信日時との比較により先着判定を行う。先着と判断した送信データにより最終送信日時taが更新されると共に、送信データに含まれるデバイスA1乃至A2のプラント状態量は、制御装置Xの伝送入出力部により変数X1乃至X2が更新され、制御装置Yの伝送入出力部により変数Y1が更新される。
The input /
同様に、入出力制御装置Bの入出力伝送部14は、入出力データBに定義されたデバイスB1乃至B2について、デバイス名と値を対として構成したものに装置名とタイムスタンプtbを付した送信データを各I/Oネットワーク6にマルチキャスト送信すると共に、入出力データBに定義されたデバイスについてデバイス名と値を対として構成したものに装置名とタイムスタンプを付したものを各I/Oネットワーク6からマルチキャスト受信する。入出力制御装置Bの送信データは、入出力制御装置Bからプラント状態量を獲得できる事を認識している制御装置Xと制御装置Yにより受信され、先着と判断された受信データにより最終送信日時が更新されると共に、受信データに含まれるデバイスB1のプラント状態量により変数X3が更新され、制御装置Yの伝送入出力部により変数Y2が更新される。
Similarly, the input /
制御装置Xの伝送入出力部13は、制御データXに定義されたデバイスA3について、デバイス名と値を対として構成したものに装置名とタイムスタンプtxを付した送信データを各I/Oネットワーク6にマルチキャスト送信すると共に、デバイスB3について、デバイス名と変数X5の値を対として構成したものに装置名とタイムスタンプtxを付した送信データを、各I/Oネットワーク6にマルチキャスト送信する。入出力制御装置Aの入出力伝送部14は、送信データに含まれる装置名、及びタイムスタンプと受信データ格納部32に格納された受信データが保持する当該装置からの最終送信日時txとの比較により先着判定を行う。先着と判断した送信データにより最終送信日時が更新されると共に、送信データを構成するデバイス名によりデバイスA3の値を更新し、同入出力制御装置内の出力部16がデバイスA3に制御量を出力する。入出力制御装置Bの入出力伝送部14は、送信データに含まれる装置名、及びタイムスタンプと受信データ格納部に格納された受信データが保持するい当該装置からの最終送信日時txとの比較により先着判定を行う。先着と判断した送信データにより最終送信日時が更新されると共に、送信データを構成するデバイス名によりデバイスB3の値を更新し、同入出力制御装置内の出力部16がデバイスB3に制御量を出力する。
The transmission input /
同様に、制御装置Yの伝送入出力部13は、制御データYに定義されたデバイスA4について、デバイス名と変数Y3の値を対として構成したものに装置名とタイムスタンプtyを付した送信データを各I/Oネットワーク6にマルチキャスト送信すると共に、デバイスB4について、デバイス名と変数Y4の値を対として構成したものに装置名とタイムスタンプtyを付した送信データを各I/Oネットワーク6にマルチキャスト送信する。
Similarly, the transmission input /
入出力制御装置Aの入出力伝送部14は、送信データに含まれる装置名、及びタイムスタンプと受信データ17が保持する最終送信日時tyとの比較により先着判定を行う。先着と判定した送信データにより最終送信日時が更新されると共に、送信データを構成するデバイス名によりデバイスA4の値を更新し、同入出力制御装置内の出力部16がデバイスA4に制御量を出力する。入出力制御装置Bの入出力伝送部14は、送信データに含まれる装置名、及びタイムスタンプと受信データ17が保持する当該装置からの最終送信日時tyとの比較により先着判定を行う。先着と判断した送信データにより最終送信日時が更新されると共に、送信データを構成するデバイス名によりデバイスB4の値を更新し、同入出力制御装置内の出力部16がデバイスB4に制御量を出力する。
The input /
したがって、本実施の形態によれば、冗長化されたI/Oネットワーク6での制御装置X、及び制御装置Yと入出力制御装置A、及び入出力制御装置Bの通信が成立する。
Therefore, according to the present embodiment, communication between the control device X, the control device Y, the input / output control device A, and the input / output control device B in the redundant I /
また、本実施の形態によれば、制御装置1と入出力制御装置のネットワークインターフェイス、或いはI/Oネットワークで発生した単一故障により、制御装置1と入出力制御装置2の通信が不能になる事はないので、分散監視制御装置としての信頼性を改善することができる。
Further, according to the present embodiment, communication between the
また、分離・独立している制御ネットワークとI/Oネットワークを図3に示す構成にて共有した構成をとる事により、小規模な分散監視制御装置を構成する上では必要となるハードウェアを抑制でき、設備の設置領域も改善することができる。 In addition, by adopting a configuration in which the control network and I / O network that are separated and independent are shared in the configuration shown in FIG. 3, the hardware required for configuring a small-scale distributed monitoring and control device is suppressed. And the installation area of the equipment can be improved.
(実施の形態3)
次に、実施の形態3に係る分散監視制御装置について説明する。
(Embodiment 3)
Next, a distributed monitoring control apparatus according to the third embodiment will be described.
制御装置1、入出力制御装置2及び監視操作装置3の構成は、図1に示した構成と同様であり、ここではその説明を省略する。
The configurations of the
図14は、実施の形態3の分散監視制御装置における制御装置と入出力制御装置の具体的な構成を示す図である。 FIG. 14 is a diagram illustrating a specific configuration of the control device and the input / output control device in the distributed monitoring control device according to the third embodiment.
図14に示した制御装置X1、X2と入出力制御装置Aは、図1に示した制御装置1と入出力制御装置2に対応している。すなわち、実施の形態3においては、制御装置X1、X2が冗長化されている。なお、図8と同一部分には同一符号を付して、その説明を省略する。
The control devices X1 and X2 and the input / output control device A shown in FIG. 14 correspond to the
構成データ格納部41は、自系制御装置の運転制御情報を保持する構成データを格納する。診断データ格納部42は、他系制御装置の運転制御情報を保持する診断データを格納する。
The configuration
図15(a)は、制御装置X1の構成データ及び診断データを示す図であり、図15(b)は、制御装置X2の構成データ及び診断データを示す図である。同図に示すように、構成データ及び診断データは、それぞれ制御装置名、最終送信日時、バージョン、運転モードを有する。 FIG. 15A is a diagram showing configuration data and diagnostic data of the control device X1, and FIG. 15B is a diagram showing configuration data and diagnostic data of the control device X2. As shown in the figure, the configuration data and the diagnostic data each have a control device name, last transmission date and time, version, and operation mode.
運転制御部10は、構成データと診断データとにより冗長化された制御装置1の伝送入出力部13、演算部11、及び伝送部12の実行を制御する。
The
冗長化した制御装置1の運転制御部10は、常用、待機のいずれで稼動するかを決定するため制御ネットワーク5を介したマルチキャスト通信により調整を行なう。構成データに定義される制御装置1の運転モードは「待機」を初期値とする。本実施の形態における運転制御部10によるマルチキャスト送信は、冗長化構成をとる制御装置1毎にマルチキャストアドレスを設ける。冗長化された制御ネットワークでの送受信は、実施の形態2に示した冗長化されたI/Oネットワークでの送受信と同様の方法で行うので説明は省略する。
The
図18は、実施の形態3の分散監視制御装置の運転制御部による運転モードの調整を示すタイミングチャートである。 FIG. 18 is a timing chart showing adjustment of the operation mode by the operation control unit of the distributed monitoring and control apparatus according to the third embodiment.
同図に示すように、まず、先行して起動した制御装置X1から運転状態の問合せを行なうモードクエリ(MQ)がマルチキャスト送信される(T1)。次に、応答待ち時間t1内に対となる制御装置X2から応答が得られなかったことを受けて、自系の運転モードを常用としたモードセット(MS)をマルチキャスト送信する(T2)。 As shown in the figure, first, a mode query (MQ) for inquiring about the operating state is multicast-transmitted from the control device X1 that has been activated in advance (T1). Next, in response to the absence of a response from the paired control device X2 within the response waiting time t1, a mode set (MS) using the own operation mode as a regular mode is multicast-transmitted (T2).
以後は、構成データの最終送信日時から規定時間t2が経過する度、最終送信日時を更新する共に、稼動状態の通知としてハートビート(HB)をマルチキャスト送信する(T3、T4)。 Thereafter, whenever the specified time t2 elapses from the last transmission date / time of the configuration data, the last transmission date / time is updated, and a heartbeat (HB) is multicast-transmitted as a notification of the operating state (T3, T4).
後から起動した制御装置X2は、運転状態の問合せを行なうモードクエリ(MQ)をマルチキャスト送信するが(T5)、応答待ち時間t1内に対となる制御装置X1からモードレスポンス(MR)を受信する事により(T6)、常用系の存在を認識して自系の運転モードを待機としたモードセット(MS)を送信する(T7)。 The control device X2 activated later multicasts a mode query (MQ) for inquiring about the operating state (T5), but receives the mode response (MR) from the paired control device X1 within the response waiting time t1. As a result (T6), the presence of the service system is recognized and a mode set (MS) with the operation mode of the own system in standby is transmitted (T7).
以後は、制御装置X1とX2の双方が定周期t2で稼動状態の通知としてハートビート(HB)を送信し、ハートビート(HB)の受信によって診断データの最終受信日時を更新する。待機系である制御装置X2は、常用系である制御装置X1からのハートビート(HB)を規定時間t2のN(=2)倍以上受信しなかった事で常用系の異常を検出し、運転モードを常用に設定したモードセット(MS)を送信した後、常用系として稼動する。 Thereafter, both the control devices X1 and X2 transmit a heartbeat (HB) as a notification of the operating state at a fixed period t2, and update the last reception date and time of diagnostic data by receiving the heartbeat (HB). The control device X2 that is the standby system detects an abnormality in the normal system because it has not received the heartbeat (HB) from the control device X1 that is the normal system more than N (= 2) times the specified time t2, and operates. After transmitting the mode set (MS) with the mode set to regular, it operates as a regular system.
図19(a)−(d)は冗長化された制御装置1間の通信に使用されるコマンドを示す図である。図15(a)は運転モードクエリ、(b)は運転モードレスポンス、(c)は運転モードセット、(d)はハートビートを示すである。
FIGS. 19A to 19D are diagrams showing commands used for communication between the
同図に示すように、運転モードモードクエリは、タイムスタンプ、コマンド「MQ]及び「制御装置名」が定義される。運転モードレスポンスは、タイムスタンプ、コマンド「MR」、制御装置名、バージョン及び運転モードが定義される。運転モードセットは、タイムスタンプ、コマンド「MS」、制御装置名、バージョン及び運転モードが定義される。ハートビートは、タイムスタンプ、コマンド「HB」、制御装置名、バージョン及び運転モードが定義される。 As shown in the figure, the operation mode mode query defines a time stamp, a command “MQ”, and a “control device name”. In the operation mode response, a time stamp, a command “MR”, a control device name, a version, and an operation mode are defined. In the operation mode set, a time stamp, a command “MS”, a control device name, a version, and an operation mode are defined. In the heartbeat, a time stamp, a command “HB”, a control device name, a version, and an operation mode are defined.
図20は、図18に示した運転モードの調整を行なう運転制御部の動作を示すフローチャートである。 FIG. 20 is a flowchart showing the operation of the operation control unit for adjusting the operation mode shown in FIG.
運転制御部10が起動すると、受信ハンドラを起動し(S21)、モードクエリ(MQ)を送信する(S22)。
When the
モードクエリ(MQ)を送信して応答待ち時間t1が経過したか否かが判断され(S23)、応答待ち時間t1が経過したと判断された場合には、診断データを参照して、他系の運転モードが常用か否かを判断する(S24)。 It is determined whether or not the response waiting time t1 has passed by transmitting the mode query (MQ) (S23), and if it is determined that the response waiting time t1 has passed, the other system is referred to by referring to the diagnosis data It is determined whether or not the operation mode is normal use (S24).
他系が常用であると判断された場合には、常用の他系からの応答を得て制御ロジックと制御データのバージョンが一致するか否かの判断が行なわれる(S25)。バージョンが一致しない場合には処理を終了する。 If it is determined that the other system is normal, it is determined whether the version of the control logic and the control data match after obtaining a response from the other system (S25). If the versions do not match, the process ends.
一方、S24において、他系が常用ではないと判断された場合には、自系の優先度が他系に対して高いか否かの判断を行なう(S26)。本実施の形態では、例えば、優先度は制御装置名で比較した場合の大小関係で表現され、制御装置名X1とX2では、制御装置X1を高優先度と判定する。 On the other hand, if it is determined in S24 that the other system is not regular, it is determined whether or not the priority of the own system is higher than that of the other system (S26). In the present embodiment, for example, the priority is expressed by a magnitude relationship when compared by the control device name, and the control device X1 is determined to be high priority in the control device names X1 and X2.
S25においてバージョンが一致すると判断された場合、及びS26において自系の優先度が高くないと判断された場合には、構成データの運転モードを待機に設定する(S27)。一方、自系の優先度が高いと判断された場合には、構成データの運転モードを常用に設定する(S28)。 If it is determined in S25 that the versions match, and if it is determined in S26 that the priority of the own system is not high, the operation mode of the configuration data is set to standby (S27). On the other hand, if it is determined that the priority of the own system is high, the operation mode of the configuration data is set to normal (S28).
その後、モードセット(MS)を送信し(S29)、制御データから演算周期を獲得し(S30)、タイマに送信ハンドラ、実行ハンドラ、診断ハンドラを登録し(S31)、タイマを起動する(S32)。その後、停止条件が成立したか否かの判断が行なわれ(S33)、停止条件が成立したと判断された場合にはタイマを停止して(S34)、処理を終了する。停止条件とは、例えば、制御装置の故障により機能が停止する場合、ユーザから停止が指示された場合などである。なお、同図においてT/Dは時間遅れを示している。 Thereafter, the mode set (MS) is transmitted (S29), the calculation cycle is acquired from the control data (S30), the transmission handler, the execution handler, and the diagnostic handler are registered in the timer (S31), and the timer is started (S32). . Thereafter, it is determined whether or not the stop condition is satisfied (S33). If it is determined that the stop condition is satisfied, the timer is stopped (S34) and the process is terminated. The stop condition is, for example, when the function is stopped due to a failure of the control device, or when the stop is instructed by the user. In the figure, T / D indicates a time delay.
図21は、受信ハンドラの動作を説明するためのフロチャートである。 FIG. 21 is a flowchart for explaining the operation of the reception handler.
S21において受信ハンドラが開始されると、停止条件が成立したか否かの判断が行なわれ(S41)、停止であると判断された場合には処理を終了する。一方、停止条件が成立していないと判断された場合には、コマンドの受信がされたか否かの判断が行なわれる(S42)。 When the reception handler is started in S21, it is determined whether or not a stop condition is satisfied (S41). If it is determined that the stop is made, the process is terminated. On the other hand, if it is determined that the stop condition is not satisfied, it is determined whether or not a command has been received (S42).
S42においてコマンドの受信がされたと判断された場合には、コマンド(MQ/MR/MS/HB)を受信し(S43)、受信したコマンドが自装置宛か否かの判断が行なわれる(S44)。 If it is determined in S42 that the command has been received, the command (MQ / MR / MS / HB) is received (S43), and it is determined whether the received command is addressed to the own apparatus (S44). .
次に、コマンドの種別の判断が行なわれ(S45)、コマンドがモードレスポンス(MR)、モードセット(MS)、ハートビート(HB)である場合には、診断データに登録し、受信日時を更新する(S45、S46)。コマンドがモードクエリ(MQ)である場合には、構成データを元にモードレスポンス(MR)を送信する(S47)。 Next, the command type is determined (S45). If the command is a mode response (MR), a mode set (MS), or a heartbeat (HB), it is registered in diagnostic data and the reception date / time is updated. (S45, S46). If the command is a mode query (MQ), a mode response (MR) is transmitted based on the configuration data (S47).
図22は、実行ハンドラの動作を説明するためのフローチャートである。 FIG. 22 is a flowchart for explaining the operation of the execution handler.
タイマにより周期的に実行ハンドラが実行される。実行ハンドラでは、伝送部12に入力を指示し(S51)、伝送入出力部13に入力を指示する(S52)ことにより、入力を行なった後、演算部11に演算を指示(S53)する。
The execution handler is executed periodically by the timer. In the execution handler, the
次に、自系が常用か否かの判断を行ない(S54)、常用ではないと判断された場合には処理を終了する。一方、自系が常用であると判断された場合には、演算結果の出力を伝送部12及び伝送入出力部13に指示し(S55、S56)、演算結果を出力する。
Next, it is determined whether or not the own system is in regular use (S54). If it is determined that the system is not in regular use, the process is terminated. On the other hand, when it is determined that the own system is normal, the
図23は、送信ハンドラの動作を示すフロチャートである。 FIG. 23 is a flowchart showing the operation of the transmission handler.
同図に示すように、送信に障害があるか否かの判断を行い(S61)、障害がないと判断された場合には処理を終了し、障害があると判断された場合にはハートビート(HB)を送信する。 As shown in the figure, it is determined whether or not there is a failure in transmission (S61). If it is determined that there is no failure, the process is terminated, and if it is determined that there is a failure, the heartbeat is completed. (HB) is transmitted.
図24は、診断ハンドラの動作を示すフロチャートである。 FIG. 24 is a flowchart showing the operation of the diagnostic handler.
同図に示すように、S71において自系が待機か否かの判断が行なわれる。S71において待機ではないと判断された場合には処理を終了する。一方、S71において、自系が待機であると判断された場合には、ハートビートを規定時間t2のN倍(本実施の形態では2倍)の間、受信していないか否かの判断が行なわれる(S72)。 As shown in the figure, it is determined in S71 whether or not the own system is on standby. If it is determined in S71 that it is not standby, the process ends. On the other hand, if it is determined in S71 that the own system is on standby, it is determined whether or not the heartbeat has not been received for N times the specified time t2 (twice in this embodiment). Performed (S72).
S72において、受信していないと判断された場合には処理を終了する。一方、S72において、受信していると判断した場合には、診断データの運転モードを停止に変更し(S73)、構成データの運転モードを常用に変更し(S74)、モードセット(MS)を送信し(S75)、処理を終了する。 In S72, if it is determined that the message has not been received, the process is terminated. On the other hand, if it is determined in S72 that it has been received, the operation mode of the diagnostic data is changed to stop (S73), the operation mode of the configuration data is changed to normal use (S74), and the mode set (MS) is changed. Transmit (S75), and the process ends.
本実施の形態では、伝送部12と入出力制御装置2からの入力、制御ロジックによる演算、運転モードが常用である場合の伝送装置と入出力制御装置2への出力は実行ハンドラ、ハートビート(HB)の送信は送信ハンドラ、ハートビート(HB)の最終受信日時と現在日時の偏差による常用系の異常検出とモードセット(MS)による通知を含む常用への運転モード遷移は診断ハンドラで行なう構成としている。
In the present embodiment, the input from the
運転モードは、応答待ち時間t1内に応答を得られなかった場合と、運転モードの初期値である待機の応答を得て自系の実行優先度が高い場合において常用とし、常用の応答を得て制御ロジックと制御データのバージョンが一致した場合において待機を選択する。 The operation mode is normal when a response is not obtained within the response waiting time t1 and when a standby response that is the initial value of the operation mode is obtained and the execution priority of the own system is high, and a normal response is obtained. When the control logic and control data versions match, standby is selected.
本実施の形態によれば、制御装置X1と制御装置X2による冗長化が成立する。本実施の形態では制御ネットワークを用いて運転制御を行っているが、I/Oネットワークを利用しても良い。 According to the present embodiment, redundancy is established by the control device X1 and the control device X2. In this embodiment, operation control is performed using a control network, but an I / O network may be used.
また、本実施の形態では二重化構成で説明しているが、図16に示す三重化構成では複数の制御装置1が登録された図17に示す診断データを参照し、図24に示した診断ハンドラのフローチャートに優先度判定を加えればよい。
In the present embodiment, the duplex configuration is described. However, in the triple configuration shown in FIG. 16, the diagnostic data shown in FIG. 17 in which a plurality of
図25は、制御装置を三重化した構成を採用した実施の形態3の分散監視制御装置の動作を説明するためのフロチャートである。 FIG. 25 is a flowchart for explaining the operation of the distributed monitoring control apparatus according to the third embodiment adopting a configuration in which the control apparatus is tripled.
同図に示すように、S81において自系が待機か否かの判断が行なわれる。S81において待機ではないと判断された場合には処理を終了する。一方、S81において、自系が待機であると判断された場合には、待機装置名を初期化し(S82)、ハートビートを規定時間t2のN倍(本実施の形態では2倍)の間、受信していないか否かの判断が行なわれる(S83)。 As shown in the figure, it is determined in S81 whether or not the own system is on standby. If it is determined in S81 that it is not standby, the process is terminated. On the other hand, if it is determined in S81 that the own system is on standby, the standby device name is initialized (S82), and the heartbeat is N times the specified time t2 (twice in this embodiment). A determination is made as to whether or not it has been received (S83).
S83において、受信していないと判断された場合にはS85へ移る。一方、S83において、受信していると判断した場合には、診断データの運転モードを停止に変更し(S84)、他系が待機か否かの判断が行なわれる(S85)。 In S83, if it is determined that it has not been received, the process proceeds to S85. On the other hand, if it is determined in S83 that it is received, the operation mode of the diagnostic data is changed to stop (S84), and it is determined whether or not the other system is on standby (S85).
S85において、他系が待機であると判断された場合には、他系の中で優先度が高いか否かの判断が行なわれる(S86)。優先度が高いと判断された場合には待機装置名を更新する(S87)。S86において、他系の中で優先度が低いと判断された場合、及びS87において待機装置名が更新された後に他系について全て優先度の判断が完了したか否かの判断が行なわれる(S88)。 If it is determined in S85 that the other system is on standby, it is determined whether the priority is higher in the other system (S86). If it is determined that the priority is high, the standby device name is updated (S87). In S86, when it is determined that the priority is low in the other system, and after the standby device name is updated in S87, it is determined whether or not all priority determinations have been completed for the other system (S88). ).
S88において、他系について全て優先度の判断が完了していないと判断された場合には、S83の処理に戻る。一方、S88において他系について全て優先度の判断が完了したと判断された場合には、全部の装置が常用ではない否かの判断が行なわれる(S89)。 If it is determined in S88 that the priority determination has not been completed for all other systems, the process returns to S83. On the other hand, if it is determined in S88 that the priority determination has been completed for all the other systems, it is determined whether or not all the devices are not regularly used (S89).
S89において、全部の装置が常用ではないと判断された場合には、自系が最高優先度であるか否かの判断が行なわれる(S90)。S90において、自系が最高優先度であると判断された場合には、構成データの運転モードを常用に変更し(S91)、モードセット(MS)を送信し(S92)、処理を終了する。S89において、常用の装置がある場合、S89において自系が最高優先度ではないと判断された場合には、処理を終了する。 If it is determined in S89 that all devices are not regularly used, it is determined whether or not the own system has the highest priority (S90). If it is determined in S90 that the own system has the highest priority, the operation mode of the configuration data is changed to normal use (S91), the mode set (MS) is transmitted (S92), and the process is terminated. If there is a regular device in S89, and if it is determined in S89 that the own system is not the highest priority, the process is terminated.
従来の制御装置において、制御装置間を接続する特殊なインターフェイスを用いて行なわれた冗長化は、本実施の形態においては、制御ネットワーク5を介して行なわれるので任意の冗長度を得ることができる。
In the conventional control device, redundancy performed using a special interface for connecting the control devices is performed via the
本実施の形態によれば、冗長化された制御装置1で発生した単一故障により、当該制御装置による制御機能が失われることはないので、分散監視制御装置としての信頼性を改善することができる。
According to the present embodiment, since the control function of the control device is not lost due to a single failure that occurs in the
(実施の形態4)
次に、本実施の形態4の分散監視制御装置について説明する。
(Embodiment 4)
Next, the distributed monitoring control apparatus according to the fourth embodiment will be described.
本実施の形態は、従来の分散監視制御装置の制御装置と入出力装置を用いてプログラムされた制御ロジックと制御データを使用することができる仮想制御装置を設けたものである。 The present embodiment is provided with a virtual control device that can use control logic and control data programmed using a control device and an input / output device of a conventional distributed monitoring control device.
本実施の形態4に係る分散監視制御装置を図4、及び図26乃至図28を用いて説明する。なお上述の実施の形態と同一の構成には同一の符号を付し、重複する説明は省略する。 A distributed monitoring control apparatus according to the fourth embodiment will be described with reference to FIGS. 4 and 26 to 28. FIG. In addition, the same code | symbol is attached | subjected to the structure same as the above-mentioned embodiment, and the overlapping description is abbreviate | omitted.
図4に示した実施の形態4の分散監視制御装置は、エンジニアリング装置4でプログラミングされた図39が示す構成の従来の制御ロジックを演算すると共に監視・操作装置3、エンジニアリング装置4及び入出力制御装置2と通信する制御装置を具備する。
The distributed monitoring and control apparatus according to the fourth embodiment shown in FIG. 4 calculates the conventional control logic having the configuration shown in FIG. 39 programmed in the
図26に示す制御装置1は、図4において仮想制御装置20を含む制御装置1に対応しており、仮想制御装置20は図7に示した入出力装置を用いて実現した制御装置に対応する。図39に示した入出力装置を用いて実現した制御装置を構成していた入力部と出力部は無効化し、伝送入出力部に代替するので図には示していない。
The
本実施の形態では、従来の単一の入出力装置を用いて構築された制御ロジックと制御データを用いて伝送入出力部13が入出力制御装置2と通信するために必要となる入出力制御装置名を図27に示す構成データから与える。
In the present embodiment, input / output control required for the transmission input /
制御装置Xの伝送入出力部13は、仮想制御装置X1の入出力対象が入出力制御装置Aである事を認識でき、制御装置Yの伝送入出力部は、仮想制御装置Y1の入出力対象が入出力制御装置Bである事を認識できる。
The transmission input /
図28(a)−(d)に示した仮想制御装置X1と仮想制御装置Y1、入出力制御装置Aと入出力制御装置Bは図26に示した仮想制御装置X1、Y1と入出力制御装置2に対応している。図28(a)−(d)では、仮想制御装置X1、Y1に格納された制御ロジックと制御データ、及び入出力制御装置A、Bに格納された入出力データを示している。 The virtual control device X1 and the virtual control device Y1 and the input / output control device A and the input / output control device B shown in FIGS. 28A to 28D are the virtual control devices X1, Y1 and the input / output control device shown in FIG. 2 is supported. 28A to 28D show the control logic and control data stored in the virtual control devices X1 and Y1, and the input / output data stored in the input / output control devices A and B. FIG.
仮想制御装置X1の制御ロジックは、X11乃至X12を演算入力とし、X13乃至X14を演算出力としており、構成データと制御データX1により接続する入出力制御装置のデバイス名と入出力方向が入出力指標として定義されている。仮想制御装置Y1の制御ロジックは、Y1乃至Y2を演算入力とし、Y3乃至Y4を演算出力としており、同様に制御データY1により接続する入出力制御装置のデバイス名と入出力指標が定義されている。 The control logic of the virtual control device X1 has X11 to X12 as arithmetic inputs and X13 to X14 as arithmetic outputs, and the device name and input / output direction of the input / output control device connected by the configuration data and control data X1 are the input / output indicators. Is defined as The control logic of the virtual control device Y1 uses Y1 to Y2 as calculation inputs and Y3 to Y4 as calculation outputs. Similarly, device names and input / output indexes of input / output control devices to be connected are defined by the control data Y1. .
入出力制御装置Aの入出力データには、計測機器として接続されたA1乃至A2から入力データと、制御機器として接続されたA3乃至A4への出力データがデバイス名、及び入出力方向を示す入出力指標と共に定義されている。入出力制御装置Bの入出力データにも、同様に計測機器として接続されたB1乃至B2から入力データと、制御機器として接続されたB3乃至B4への出力データがデバイス名、及び入出力指標と共に定義されている。 The input / output data of the input / output control device A includes input data from A1 to A2 connected as a measuring device and output data from A3 to A4 connected as a control device indicating the device name and input / output direction. Defined with output indicator. Similarly, input / output data of the input / output control device B includes input data from B1 to B2 connected as measurement devices, and output data to B3 to B4 connected as control devices, together with device names and input / output indicators. Is defined.
このように構成された本実施の形態において、制御装置Xの伝送入出力部13は、構成データと制御データX1に定義された内容から、入出力制御装置Aからデバイス名A1乃至A2のプラント状態量を獲得して仮想制御装置X1の変数X11乃至X12を更新する事を認識する。また、入出力制御装置Aのデバイス名A3乃至A4に制御量を与えるために変数X13乃至X14の演算結果をデータ送信する必要がある事を認識する。
In the present embodiment configured as described above, the transmission input /
同様に、制御装置Yの伝送入出力部13は、構成データと制御データY1に定義された内容から、入出力制御装置Bからデバイス名B1乃至B2のプラント状態量を獲得して仮想制御装置Y1の変数Y11乃至Y12を更新する事を認識する。また、入出力制御装置Bのデバイス名B3乃至B4に制御量を与えるために変数Y13乃至Y14をデータ送信する必要がある事を認識する。
Similarly, the transmission input /
入出力制御装置Aの入出力伝送部14は、入出力データAに定義されたデバイスA1乃至A2について、デバイス名A1乃至A2と値(プラント状態量)を対として構成したものをマルチキャスト送信すると共に、入出力データAに定義されたデバイスA3又はA4についてデバイス名と値(制御量)を対として構成したものをマルチキャスト受信する。入出力制御装置Aの送信データは、入出力制御装置Aからプラント状態量を獲得できる事を認識している制御装置Xの伝送入出力部により受信され、送信データに含まれるデバイスA1乃至A2のプラント状態量で仮想制御装置X1の変数X11乃至X12が更新される。
The input /
同様に、入出力制御装置Bの入出力伝送部14は、入出力データBに定義されたデバイスB1乃至B2について、デバイス名と値を対として構成したものをマルチキャスト送信すると共に、入出力データBに定義されたデバイスB3乃至B4についてデバイス名と値を対として構成したものをマルチキャスト受信する。入出力制御装置Bの送信データは、入出力制御装置Bからプラント状態量を獲得できる事を認識している制御装置Yの伝送入出力部により受信され、送信データに含まれるデバイスB1乃至B2のプラント状態量で仮想制御装置Y1の変数Y11乃至Y12が更新される。
Similarly, the input /
制御装置Xの伝送入出力部13は、制御データX1に定義されたデバイスA3乃至A4について、デバイス名と値を対として構成したものを、入出力制御装置Aにマルチキャスト送信する。入出力制御装置Aの入出力伝送部14は、受信データを構成するデバイス名によりデバイスA3乃至A4の値を更新し、同入出力制御装置内の出力部がデバイスA3乃至A4に制御量を出力する。
The transmission input /
同様に、制御装置Yの伝送入出力部13は、制御データY1に定義されたデバイスB3乃至B4について、デバイス名と値を対として構成したものを、入出力制御装置Bにマルチキャスト送信する。入出力制御装置Bの入出力伝送部14は、受信データを構成するデバイス名によりデバイスB3乃至B4の値を更新し、同入出力制御装置内の出力部がデバイスB3乃至B4に制御量を出力する。
Similarly, the transmission input /
以上の結果により、制御装置Xと入出力制御装置A、制御装置Yと入出力制御装置Bの通信が成立する。 As a result, communication between the control device X and the input / output control device A, and the control device Y and the input / output control device B is established.
本実施の形態によれば、従来の制御装置と入出力装置を用いてプログラミングされた制御ロジックと制御データを改変する必要がないので、システム更新に際して高品質の分散監視制御装置を提供することができる。 According to the present embodiment, there is no need to modify control logic and control data programmed using a conventional control device and input / output device, so that a high-quality distributed monitoring control device can be provided when updating a system. it can.
(実施の形態5)
次に、実施の形態5に係る分散監視制御装置について説明する。
(Embodiment 5)
Next, a distributed monitoring control apparatus according to the fifth embodiment will be described.
実施の形態5と実施の形態4と異なる点は、1つの制御装置に複数の仮想制御装置を設けたことにある。 The difference between the fifth embodiment and the fourth embodiment is that a plurality of virtual control devices are provided in one control device.
本実施の形態5に係る分散監視制御装置について、図5、及び図29乃至図32を用いて説明する。なお、上述の実施の形態と同一の構成には同一の符号を付し、重複する説明は省略する。 A distributed monitoring control apparatus according to the fifth embodiment will be described with reference to FIGS. 5 and 29 to 32. In addition, the same code | symbol is attached | subjected to the structure same as the above-mentioned embodiment, and the overlapping description is abbreviate | omitted.
図5に示した実施の形態5の分散監視制御装置は、エンジニアリング装置4でプログラミングされた図39が示す構成の制御ロジックを演算すると共に監視・操作装置3、エンジニアリング装置、及び入出力制御装置と通信する制御装置を具備する。
The distributed monitoring and control apparatus of the fifth embodiment shown in FIG. 5 calculates the control logic of the configuration shown in FIG. 39 programmed in the
図29に示す制御装置1は、図5において仮想制御装置20を複数含む制御装置に対応しており、仮想制御装置20は図7に示した入出力装置を用いて実現した制御装置に対応する。図30は、制御装置の構成データを示す図である。同図に示すように、構成データは制御装置名と、入出力制御装置名とで構成される。
The
構成データにより制御装置Xの伝送入出力部13は、仮想制御装置X1の入出力対象が入出力制御装置Aである事、仮想制御装置X2の入出力対象が入出力制御装置Bである事を認識できる。また、運転制御部も仮想制御装置X1と仮想制御装置X2の存在を認識できる。
Based on the configuration data, the transmission input /
図31(a)−(d)に示した仮想制御装置X1と仮想制御装置X2、入出力制御装置Aと入出力制御装置Bは図29に示した仮想制御装置X1、X2と入出力制御装置A、Bに対応している。図31(a)−(d)は、仮想制御装置X1、X2に格納された制御ロジックと制御データ、及び入出力制御装置A、Bに格納された入出力データを示している。 The virtual control devices X1 and X2, the input / output control device A and the input / output control device B shown in FIGS. 31A to 31D are the virtual control devices X1 and X2 and the input / output control device shown in FIG. It corresponds to A and B. FIGS. 31A to 31D show control logic and control data stored in the virtual control devices X1 and X2, and input / output data stored in the input / output control devices A and B. FIG.
仮想制御装置X1の制御ロジックは、X11乃至X12を演算入力とし、X13乃至X14を演算出力としており、制御データX1により接続する入出力制御装置のデバイス名と入出力方向が入出力指標として定義されている。仮想制御装置X2の制御ロジックは、X21乃至X22を演算入力とし、X23乃至X24を演算出力としており、同様に制御データX2により接続する入出力制御装置のデバイス名と入出力指標が定義されている。 The control logic of the virtual control device X1 uses X11 to X12 as calculation inputs and X13 to X14 as calculation outputs, and the device name and input / output direction of the input / output control device connected by the control data X1 are defined as input / output indices. ing. The control logic of the virtual control device X2 has X21 to X22 as calculation inputs and X23 to X24 as calculation outputs, and similarly, device names and input / output indexes of the input / output control devices to be connected are defined by the control data X2. .
入出力制御装置Aの入出力データには、計測機器として接続されたA1乃至A2から入力データと、制御機器として接続されたA3乃至A4への出力データがデバイス名、及び入出力方向を示す入出力指標と共に定義されている。入出力制御装置Bの入出力データにも、同様に計測機器として接続されたB1乃至B2から入力データと、制御機器として接続されたB3乃至B4への出力データがデバイス名、及び入出力指標と共に定義されている。 The input / output data of the input / output control device A includes input data from A1 to A2 connected as a measuring device and output data from A3 to A4 connected as a control device indicating the device name and input / output direction. Defined with output indicator. Similarly, input / output data of the input / output control device B includes input data from B1 to B2 connected as measurement devices, and output data to B3 to B4 connected as control devices, together with device names and input / output indicators. Is defined.
このように構成された本実施の形態において、制御装置Xの伝送入出力部13は、構成データと制御データX1に定義された内容から、入出力制御装置Aからデバイス名A1乃至A2のプラント状態量を獲得して仮想制御装置X1の変数X11乃至X12を更新する事を認識する。また、入出力制御装置Aのデバイス名A3乃至A4に制御量を与えるために変数X13乃至X14の演算結果をデータ送信する必要がある事を認識する。
In the present embodiment configured as described above, the transmission input /
同様に、構成データと制御データX2に定義された内容から、入出力制御装置Bからデバイス名B1乃至B2のプラント状態量を獲得して仮想制御装置X2の変数X211乃至X22を更新する事を認識する。また、入出力制御装置Bのデバイス名B3乃至B4に制御量を与えるために変数X23乃至X24をデータ送信する必要がある事を認識する。 Similarly, it is recognized from the contents defined in the configuration data and the control data X2 that the plant state quantities of the device names B1 to B2 are acquired from the input / output control device B and the variables X211 to X22 of the virtual control device X2 are updated. To do. In addition, it recognizes that it is necessary to transmit data to the variables X23 to X24 in order to give control amounts to the device names B3 to B4 of the input / output control device B.
入出力制御装置Aの入出力伝送部14は、入出力データAに定義されたデバイスA1乃至A2について、デバイス名A1乃至A2と値(プラント状態量)を対として構成したものをマルチキャスト送信すると共に、入出力データAに定義されたデバイスA3又はA4についてデバイス名と値(制御量)を対として構成したものをマルチキャスト受信する。
The input /
入出力制御装置Aの送信データは、入出力制御装置Aからプラント状態量を獲得できる事を認識している制御装置Xの伝送入出力部13により受信され、送信データに含まれるデバイスA1乃至A2のプラント状態量で仮想制御装置X1の変数X11乃至X12が更新される。
The transmission data of the input / output control device A is received by the transmission input /
同様に、入出力制御装置Bの入出力伝送部14は、入出力データBに定義されたデバイスB1乃至B2について、デバイス名と値を対として構成したものをマルチキャスト送信すると共に、入出力データBに定義されたデバイスB3乃至B4についてデバイス名と値を対として構成したものをマルチキャスト受信する。入出力制御装置Bの送信データは、入出力制御装置Bからプラント状態量を獲得できる事を認識している制御装置Xの伝送入出力部13により受信され、送信データに含まれるデバイスB1乃至B2のプラント状態量で仮想制御装置X2の変数X21乃至X22が更新される。
Similarly, the input /
制御装置Xの伝送入出力部13は、制御データX1に定義されたデバイスA3乃至A4について、デバイス名と値を対として構成したものを、入出力制御装置Aにマルチキャスト送信すると共に、制御データX2に定義されたデバイスB3乃至B4について、デバイス名と値を対として構成したものを、入出力制御装置Bにマルチキャスト送信する。入出力制御装置Aの入出力伝送部14は、受信データを構成するデバイス名によりデバイスA3乃至A4の値を更新し、同入出力制御装置内の出力部がデバイスA3乃至A4に制御量を出力する。
The transmission input /
同様に、入出力制御装置Bの入出力伝送部14は、受信データを構成するデバイス名によりデバイスB3乃至B4の値を更新し、同入出力制御装置内の出力部がデバイスB3乃至B4に制御量を出力する。
Similarly, the input /
図32は、運転制御部10による処理を示すフローチャートである。
FIG. 32 is a flowchart showing processing by the
図32において、制御装置1の起動と共に制御データから演算周期を獲得し(S101)、タイマに実行ハンドラを登録して(S102)、タイマを起動する(S103)。その後、全仮想制御装置についてタイマを起動したか否かの判断が行なわれる(S104)。S104において、全仮想制御装置についてタイマを起動していないと判断された場合にはS101の処理に戻る。 In FIG. 32, the calculation cycle is acquired from the control data with the activation of the control device 1 (S101), the execution handler is registered in the timer (S102), and the timer is activated (S103). Thereafter, it is determined whether or not timers have been started for all virtual control devices (S104). If it is determined in S104 that the timers have not been activated for all virtual control apparatuses, the process returns to S101.
一方、S104において、全仮想制御装置についてタイマを起動していると判断された場合には、停止条件が成立したか否かの判断が行なわれ(S105)、停止条件が成立したと判断された場合には、タイマを停止して(S106)、全仮想制御装置についてタイマを停止したか否かの判断を行なう(S107)。停止条件とは、例えば、制御装置の故障により機能が停止する場合、ユーザから停止が指示された場合などである。なお、同図においてT/Dは時間遅れを示している。 On the other hand, if it is determined in S104 that the timers have been started for all virtual control apparatuses, it is determined whether or not the stop condition is satisfied (S105), and it is determined that the stop condition is satisfied. In this case, the timer is stopped (S106), and it is determined whether the timer is stopped for all virtual control devices (S107). The stop condition is, for example, when the function is stopped due to a failure of the control device, or when the stop is instructed by the user. In the figure, T / D indicates a time delay.
S107において全仮想制御装置についてタイマを停止したと判断された場合には処理を終了し、全仮想制御装置についてタイマを停止していないと判断された場合にはS106の処理に戻る。なお、実効ハンドラの処理については、図11に示した動作と同様であるので、ここではその説明を省略する。 If it is determined in S107 that the timers have been stopped for all virtual control apparatuses, the process is terminated. If it is determined that the timers have not been stopped for all virtual control apparatuses, the process returns to S106. Note that the processing of the effective handler is the same as the operation shown in FIG. 11, and the description thereof is omitted here.
以上の結果により、制御装置X、入出力制御装置A、及び入出力制御装置Bの通信が成立する。 Based on the above results, communication between the control device X, the input / output control device A, and the input / output control device B is established.
本実施の形態5によれば、従来の制御装置と入出力装置を用いてプログラミングされた制御ロジックと制御データを、制御装置1の演算能力に合わせて複数実行できるので、システム更新に際して制御装置を削減することができる。
According to the fifth embodiment, a plurality of control logics and control data programmed using a conventional control device and an input / output device can be executed in accordance with the calculation capability of the
(実施の形態6)
次に、本実施の形態6の分散監視制御装置について説明する。
(Embodiment 6)
Next, a distributed monitoring control apparatus according to the sixth embodiment will be described.
本実施の形態は、制御装置に複数の仮想制御装置を設けるとともに、制御装置を冗長化したものである。 In this embodiment, the control device is provided with a plurality of virtual control devices, and the control devices are made redundant.
本実施の形態6に係る分散監視制御装置について、図6、及び図33乃至図38を用いて説明する。なお、上述の実施の形態と同一の構成には同一の符号を付し、重複する説明は省略する。 A distributed monitoring control apparatus according to the sixth embodiment will be described with reference to FIGS. 6 and 33 to 38. In addition, the same code | symbol is attached | subjected to the structure same as the above-mentioned embodiment, and the overlapping description is abbreviate | omitted.
図6に示した実施の形態6の分散監視制御装置は、エンジニアリング装置でプログラミングされた図39が示す構成の制御ロジックを演算すると共に監視・操作装置3、エンジニアリング装置、及び入出力制御装置と通信する制御装置を具備する。
The distributed monitoring control device of the sixth embodiment shown in FIG. 6 calculates the control logic of the configuration shown in FIG. 39 programmed in the engineering device and communicates with the monitoring /
図33に示す制御装置1は、図6において仮想制御装置20を複数含む制御装置に対応しており、仮想制御装置20は図7に示した入出力装置を用いて実現した制御装置に対応する。
The
図34(a)、(b)は、制御装置のX、Yの構成データ及び診断データを示す図である。同図に示すように、構成データ及び診断データは、制御装置名、入出力制御装置名、バージョン、運転モードで構成されている。 FIGS. 34A and 34B are diagrams showing the X and Y configuration data and diagnostic data of the control device. As shown in the figure, the configuration data and the diagnostic data are composed of a control device name, an input / output control device name, a version, and an operation mode.
構成データにより制御装置の伝送入出力部13は、仮想制御装置X1、X2の入出力対象が入出力制御装置Aである事、制御装置Yの仮想制御装置X1、X2の入出力対象が入出力制御装置Aである事を認識できる。また、運転制御部10も仮想制御装置X1と仮想制御装置X2の存在を認識できる。
Based on the configuration data, the transmission input /
図35(a)−(d)に示した仮想制御装置X1と仮想制御装置X2、入出力制御装置Aと入出力制御装置Bは図33に示した仮想制御装置X1、X2と入出力制御装置A、Bに対応している。図35(a)−(d)は、仮想制御装置に格納された制御ロジックと制御データ、及び入出力制御装置A、Bに格納された入出力データを示している。 The virtual control device X1 and the virtual control device X2 and the input / output control device A and the input / output control device B shown in FIGS. 35A to 35D are the virtual control devices X1 and X2 and the input / output control device shown in FIG. It corresponds to A and B. FIGS. 35A to 35D show the control logic and control data stored in the virtual control device, and the input / output data stored in the input / output control devices A and B. FIG.
仮想制御装置X1の制御ロジックは、X11乃至X12を演算入力とし、X13乃至X14を演算出力としており、制御データX1により接続する入出力制御装置のデバイス名と入出力方向が入出力指標として定義されている。仮想制御装置X2の制御ロジックは、X21乃至X22を演算入力とし、X23乃至X24を演算出力としており、同様に制御データX2により接続する入出力制御装置のデバイス名と入出力指標が定義されている。 The control logic of the virtual control device X1 uses X11 to X12 as calculation inputs and X13 to X14 as calculation outputs, and the device name and input / output direction of the input / output control device connected by the control data X1 are defined as input / output indices. ing. The control logic of the virtual control device X2 has X21 to X22 as calculation inputs and X23 to X24 as calculation outputs, and similarly, device names and input / output indexes of the input / output control devices to be connected are defined by the control data X2. .
入出力制御装置Aの入出力伝送部14は、入出力データAに定義されたデバイスA1乃至A2について、デバイス名と値を対として構成したものに装置名とタイムスタンプtaを付した送信データを各I/Oネットワークにマルチキャスト送信すると共に、入出力データAに定義されたデバイスについてデバイス名と値(制御量)を対として構成したものに装置名とタイムスタンプを付したものを各I/Oネットワークからマルチキャスト受信する。入出力制御装置Aの送信データは、入出力制御装置Aからプラント状態量を獲得できる事を認識している制御装置Xと制御装置Yの伝送入出力部13により受信され、送信データに含まれる装置名、及びタイムスタンプtaと受信データが保持する当該装置からの最終送信日時との比較により先着判定を行う。先着と判断した送信データにより最終送信日時taが更新されると共に、送信データに含まれるデバイスA1乃至A2のプラント状態量は、制御装置Xの伝送入出力部13により仮想制御装置X1の変数X11乃至X12が更新され、制御装置Yの伝送入出力部13により仮想制御装置X1の変数X11乃至X12が更新される。
The input /
同様に、入出力制御装置Bの入出力伝送部14は、入出力データBに定義されたデバイスB1乃至B2について、デバイス名と値を対として構成したものに装置名とタイムスタンプtbを付した送信データを各I/Oネットワークにマルチキャスト送信すると共に、入出力データBに定義されたデバイスについてデバイス名と値を対として構成したものに装置名とタイムスタンプを付したものを各I/Oネットワークからマルチキャスト受信する。入出力制御装置Bの送信データは、入出力制御装置Bからプラント状態量を獲得できる事を認識している制御装置Xと制御装置Yにより受信され、先着と判断された受信データにより最終送信日時が更新されると共に、受信データに含まれるデバイスB1乃至B2のプラント状態量により仮想制御装置X2の変数X21乃至X22が更新され、制御装置Yの伝送入出力部13により仮想制御装置X2の変数X21乃至X22が更新される。
Similarly, the input /
常用系である制御装置Xの伝送入出力部13は、仮想制御装置X1の制御データX1に定義されたデバイスA3乃至A4について、デバイス名と値を対として構成したものに装置名とタイムスタンプtx1を付した送信データを各I/Oネットワークにマルチキャスト送信する。入出力制御装置Aの入出力伝送部14は、送信データに含まれる装置名、及びタイムスタンプと受信データが保持するい当該装置からの最終送信日時tx1との比較により先着判定を行う。先着と判断した送信データにより最終送信日時が更新されると共に、送信データを構成するデバイス名によりデバイスA3乃至A4の値を更新し、同入出力制御装置内の出力部がデバイスA3乃至A4に制御量を出力する。
The transmission input /
同様に、制御装置Xの伝送入出力部13は、仮想制御装置X2の制御データX2に定義されたデバイスB3乃至B4について、デバイス名と値を対として構成したものに装置名とタイムスタンプtx2を付した送信データを各I/Oネットワークにマルチキャスト送信する。入出力制御装置Bの入出力伝送部14は、送信データに含まれる装置名、及びタイムスタンプと受信データが保持する最終送信日時tx2との比較により先着判定を行う。先着と判定した送信データにより最終送信日時が更新されると共に、送信データを構成するデバイス名によりデバイスB3乃至B4の値を更新し、同入出力制御装置内の出力部がデバイスB3乃至B4に制御量を出力する。
Similarly, the transmission input /
図36は、運転制御部による運転モードの調整を示すタイミングチャートである。 FIG. 36 is a timing chart showing adjustment of the operation mode by the operation control unit.
同図に示すように、まず、先行して起動した制御装置Xから運転状態の問合せを行なうモードクエリ(MQ)がマルチキャスト送信される(T11)。次に、応答待ち時間t1内に対となる制御装置Yから応答が得られなかったことを受けて、仮想制御装置の運転モードを常用としたモードセット(MS)をマルチキャスト送信する(T12)。 As shown in the figure, first, a mode query (MQ) for making an inquiry about the operating state is multicast-transmitted from the previously activated control device X (T11). Next, in response to a response not being obtained from the paired control device Y within the response waiting time t1, a mode set (MS) using the operation mode of the virtual control device as a regular mode is multicast transmitted (T12).
以後は、構成データの最終送信日時から規定時間t2が経過する度、最終送信日時を更新する共に、稼動状態の通知としてハートビート(HB)をマルチキャスト送信する(T13、T14)。 Thereafter, every time the specified time t2 elapses from the last transmission date / time of the configuration data, the last transmission date / time is updated, and a heartbeat (HB) is multicast-transmitted as an operation state notification (T13, T14).
後から起動した制御装置Yは運転状態の問合せを行なうモードクエリ(MQ)をマルチキャスト送信するが(T15)、応答待ち時間t1内に対となる制御装置Xからモードレスポンス(MR)を受信する事により(T16)、常用系の存在を認識して仮想制御装置の運転モードを待機としたモードセット(T17)を送信する。 The control device Y activated later multicasts a mode query (MQ) for inquiring about the operating state (T15), but receives a mode response (MR) from the paired control device X within the response waiting time t1. (T16), the mode set (T17) in which the operation mode of the virtual control apparatus is set to standby is recognized by recognizing the presence of the regular system.
以後は、制御装置XとYの双方が定周期t2で稼動状態の通知としてハートビート(HB)を送信し、ハートビート(HB)の受信によって診断データの最終受信日時を更新する。待機系である制御装置Yは、常用系である制御装置Xからのハートビート(HB)を規定時間t2のN(=2)倍以上受信しなかった事で常用系の異常を検出し、運転モードを常用に設定したモードセット(MS)を送信した後、常用系として稼動する。 Thereafter, both the control devices X and Y transmit a heartbeat (HB) as a notification of the operating state at a fixed period t2, and update the last reception date and time of diagnostic data by receiving the heartbeat (HB). The control device Y, which is the standby system, detects an abnormality in the normal system because it has not received the heartbeat (HB) from the control device X, which is the normal system, more than N (= 2) times the specified time t2. After transmitting the mode set (MS) with the mode set to regular, it operates as a regular system.
図37は、冗長化された制御装置1間の通信に使用されるコマンドを示す図である。
FIG. 37 is a diagram illustrating commands used for communication between
図37(a)は運転モードクエリ、(b)は運転モードレスポンス、(c)は運転モードセット、(d)はハートビートを示すである。 37A shows an operation mode query, FIG. 37B shows an operation mode response, FIG. 37C shows an operation mode set, and FIG. 37D shows a heartbeat.
同図に示すように、運転モードモードクエリは、タイムスタンプ、コマンド「MQ]及び「制御装置名」が定義される。運転モードレスポンスは、タイムスタンプ、コマンド「MR」、制御装置名、バージョン及び運転モードが定義される。運転モードセットは、タイムスタンプ、コマンド「MS」、制御装置名、バージョン及び運転モードが定義される。ハートビートは、タイムスタンプ、コマンド「HB」、制御装置名、バージョン及び運転モードが定義される。 As shown in the figure, the operation mode mode query defines a time stamp, a command “MQ”, and a “control device name”. In the operation mode response, a time stamp, a command “MR”, a control device name, a version, and an operation mode are defined. In the operation mode set, a time stamp, a command “MS”, a control device name, a version, and an operation mode are defined. In the heartbeat, a time stamp, a command “HB”, a control device name, a version, and an operation mode are defined.
図38は、図36に示した運転モードの調整を行なう運転状態制御部のフローチャートである。なお、図20と同一部分には説明を省略し、ここでは異なる部分についてのみ述べる。また、受信ハンドラについては図21、実効ハンドラについては図22、送信ハンドラについては図23及び診断ハンドラについては図24に示したフロチャートの動作と同様である。 FIG. 38 is a flowchart of the operation state control unit for adjusting the operation mode shown in FIG. The description of the same parts as those in FIG. 20 is omitted, and only different parts will be described here. 21 is the same as the flowchart shown in FIG. 21 for the reception handler, FIG. 22 for the effective handler, FIG. 23 for the transmission handler, and FIG. 24 for the diagnostic handler.
図38に示すように、S27において構成データの運転モードを待機に設定し、又は自系の優先度が高いと判断された場合に、構成データの運転モードを常用に設定した後、全装置について完了したか否かの判断が行なわれる(S28−1)。S28−1において、全装置について完了したと判断された場合には、S29の処理に移り、完了していない場合には、S24の処理に戻る。 As shown in FIG. 38, when the operation mode of the configuration data is set to standby in S27, or when it is determined that the priority of the own system is high, the operation mode of the configuration data is set to normal, and then all the devices are A determination is made as to whether or not the process has been completed (S28-1). If it is determined in S28-1 that all devices have been completed, the process proceeds to S29, and if not completed, the process returns to S24.
また、S32において、タイマを起動した後、全装置についてタイマの起動が完了したか否かの判断が行なわれる(S32−1)。S32−1において、全装置についてタイマの起動が完了したと判断された場合にはS33の処理に移る。完了していないと判断された場合には、S30の処理に戻る。 In S32, after starting the timer, it is determined whether or not the timer has been started for all devices (S32-1). If it is determined in S32-1 that the activation of the timer has been completed for all devices, the process proceeds to S33. If it is determined that the process has not been completed, the process returns to S30.
さらに、S34において、タイマを停止した後、全装置についてタイマを停止したか否かの判断が行なわれる(S34−1)。S34−1において、全装置についてタイマを停止したと判断された場合には、処理を終了する。全装置についてタイマを停止していないと判断された場合には、S34の処理に戻る。 Further, in S34, after stopping the timer, it is determined whether the timer has been stopped for all devices (S34-1). If it is determined in S34-1 that the timer has been stopped for all devices, the process is terminated. If it is determined that the timer has not been stopped for all devices, the process returns to S34.
以上の結果により、仮想制御装置X1と仮想制御装置X2を含む制御装置Xと、仮想制御装置X1と仮想制御装置X2を含む制御装置Yは冗長化され、冗長化したI/Oネットワークを介した入出力制御装置A、及び入出力制御装置Bとの通信が成立する。 As a result of the above, the control device X including the virtual control device X1 and the virtual control device X2 and the control device Y including the virtual control device X1 and the virtual control device X2 are made redundant, via the redundant I / O network. Communication with the input / output control device A and the input / output control device B is established.
本実施の形態によれば、制御装置やネットワークの冗長化が求められる場合においても、従来の制御装置と入出力装置を用いてプログラミングされた制御ロジックと制御データを、制御装置の演算能力に合わせて複数実行できるので、システム更新に際して制御装置を削減することができる。 According to the present embodiment, control logic and control data programmed using a conventional control device and an input / output device are matched with the computation capability of the control device even when redundancy of the control device or network is required. The number of control devices can be reduced when updating the system.
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.
1…制御装置、2…入出力制御装置、3…監視・操作装置、4…エンジニアリング装置、5…制御ネットワーク、6…I/Oネットワーク、7…制御ロジック、8…制御データ格納部、9…入出力データ格納部、10… 運転制御部、11…演算部、12…伝送部、13…伝送入出力部、14…入出力伝送部、15…入力部、16…出力部、17…受信データ格納部、18…構成データ格納部、19…診断データ格納部、20…仮想制御装置、MQ…モードクエリ、MR…モードレスポンス、MS…モードセット、HB…ハートビート。
DESCRIPTION OF
Claims (7)
制御ネットワークを介して前記少なくとも1台の監視・操作装置に接続された少なくとも1台の制御装置と、
前記少なくとも1台の制御装置とI/Oネットワークを介して接続されたプラントを構成する機器を監視・制御する複数の入出力制御装置とを具備し、
前記複数の入出力制御装置と前記少なくとも1台の制御装置との入出力値を前記I/Oネットワークを介して共有し、
前記入出力制御装置は、前記機器の機器名と前記機器名に対応する機器のプラント状態量を対として構成した出力値を前記I/Oネットワークを介してマルチキャスト送信し、前記機器の機器名と前記機器名に対応する機器の制御量を対として構成した入力値を前記I/Oネットワークを介してマルチキャスト受信することを特徴とする分散監視制御装置。 At least one monitoring and operating device;
At least one control device connected to the at least one monitoring / manipulating device via a control network;
A plurality of input / output control devices for monitoring and controlling the devices constituting the plant connected to the at least one control device via an I / O network;
Sharing input / output values of the plurality of input / output control devices and the at least one control device via the I / O network;
The input / output control device multicasts an output value configured as a pair of a device name of the device and a plant state quantity of the device corresponding to the device name via the I / O network, and the device name of the device A distributed monitoring and control apparatus, wherein an input value configured as a pair of control amounts of devices corresponding to the device name is multicast received via the I / O network.
前記少なくとも1台の制御装置及び前記複数の入出力制御装置は、前記制御装置と前記入出力制御装置との通信において、送信に際して同内容の値を前記冗長化されたI/Oネットワークの各伝送路に出力し、受信に際して各伝送路から先着したものを処理して後着したものを破棄することを特徴とする請求項1記載の分散監視制御装置。 The I / O network is redundant,
In the communication between the control device and the input / output control device, the at least one control device and the plurality of input / output control devices transmit the same value in transmission to each of the redundant I / O network during transmission. 2. The distributed monitoring and control apparatus according to claim 1, wherein the distributed monitoring control apparatus outputs to the path, processes the first arrival from each transmission path upon reception, and discards the later arrival.
前記少なくとも1台の制御装置及び前記複数の入出力制御装置は、前記制御装置と前記入出力制御装置との通信において、送信に際して同内容の値を前記冗長化されたI/Oネットワークの各伝送路に出力し、受信に際して各伝送路から先着したものを処理して後着したものを破棄することを特徴とする請求項5記載の分散監視制御装置。 The I / O network is redundant,
In the communication between the control device and the input / output control device, the at least one control device and the plurality of input / output control devices transmit the same value in transmission to each of the redundant I / O network during transmission. 6. The distributed monitoring and control apparatus according to claim 5, wherein the distributed monitoring control apparatus outputs to the path, processes the first arrival from each transmission path upon reception, and discards the later arrival.
制御ネットワークを介して前記少なくとも1台の監視・操作装置に接続された少なくとも1台の制御装置と、
前記少なくとも1台の制御装置とI/Oネットワークを介して接続されたプラントを構成する機器を監視・制御する複数の入出力制御装置とを具備する分散監視制御装置の制御方法において、
前記複数の入出力制御装置から前記機器の機器名と前記機器名に対応する機器のプラント状態量を対として構成した出力値を前記I/Oネットワークを介してマルチキャスト送信し、
前記少なくとも1台の制御装置が、前記I/Oネットワークを介して前記マルチキャスト送信された出力値を受信し、前記受信した出力値に基づく値を前記制御ネットワークを介して前記少なくとも1台の監視・操作装置に出力する分散監視制御装置の制御方法。 At least one monitoring and operating device;
At least one control device connected to the at least one monitoring / manipulating device via a control network;
In a control method of a distributed monitoring control device comprising a plurality of input / output control devices for monitoring and controlling equipment constituting a plant connected to the at least one control device via an I / O network,
An output value configured as a pair of a device state of the device and a plant state quantity of the device corresponding to the device name from the plurality of input / output control devices is multicast-transmitted via the I / O network,
The at least one control device receives the output value transmitted by the multicast via the I / O network, and monitors a value based on the received output value via the control network. A control method of a distributed monitoring control apparatus that outputs to an operation apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011213356A JP5787697B2 (en) | 2011-09-28 | 2011-09-28 | Distributed monitoring control apparatus and control method in distributed monitoring control apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011213356A JP5787697B2 (en) | 2011-09-28 | 2011-09-28 | Distributed monitoring control apparatus and control method in distributed monitoring control apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013073503A JP2013073503A (en) | 2013-04-22 |
JP5787697B2 true JP5787697B2 (en) | 2015-09-30 |
Family
ID=48477935
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011213356A Expired - Fee Related JP5787697B2 (en) | 2011-09-28 | 2011-09-28 | Distributed monitoring control apparatus and control method in distributed monitoring control apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5787697B2 (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6091334B2 (en) * | 2013-05-27 | 2017-03-08 | 三菱電機株式会社 | Plant control system and manufacturing method of plant control device |
JP5915627B2 (en) | 2013-11-26 | 2016-05-11 | 横河電機株式会社 | Process control system |
JP6091449B2 (en) * | 2014-02-12 | 2017-03-08 | 三菱電機株式会社 | Control system |
JP6376996B2 (en) * | 2015-03-09 | 2018-08-22 | 三菱日立パワーシステムズ株式会社 | Information communication system and information communication method |
EP3477406A4 (en) * | 2016-06-24 | 2019-07-31 | Mitsubishi Electric Corporation | Autonomous control system for plant monitoring |
JP6906301B2 (en) * | 2016-12-14 | 2021-07-21 | 株式会社東芝 | Monitoring and control system update method, monitoring and control system and control method |
JP6864523B2 (en) | 2017-03-31 | 2021-04-28 | 株式会社クレハ | Core-shell type particles and their uses and manufacturing methods |
JP6955355B2 (en) | 2017-03-31 | 2021-10-27 | 株式会社クレハ | Core-shell type particles and their uses and manufacturing methods |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11282514A (en) * | 1998-03-31 | 1999-10-15 | Fuji Electric Co Ltd | Mask information generating device and computer readable storage medium recording mask information generation program |
JP2000347706A (en) * | 1999-06-07 | 2000-12-15 | Mitsubishi Electric Corp | Plant controller |
US20060218266A1 (en) * | 2002-03-27 | 2006-09-28 | Kabushiki Kaisha Toshiba | Centralized plant-monitoring controller and method |
JP2009064094A (en) * | 2007-09-04 | 2009-03-26 | Hitachi High-Tech Control Systems Corp | Process monitor control system |
JP4950243B2 (en) * | 2009-04-13 | 2012-06-13 | 三菱電機株式会社 | Plant monitoring and control system |
-
2011
- 2011-09-28 JP JP2011213356A patent/JP5787697B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2013073503A (en) | 2013-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5787697B2 (en) | Distributed monitoring control apparatus and control method in distributed monitoring control apparatus | |
US9261868B2 (en) | Process control system | |
US20130138818A1 (en) | Method for accessing an automation system and system operating according to the method | |
US10503155B2 (en) | Method for controlling a process plant using a redundant local supervisory controller | |
US9946613B2 (en) | Instrumentation system and method for maintaining the same | |
WO2018118323A1 (en) | Gateway assisted diagnostics and repair | |
JP6265158B2 (en) | Electronics | |
US20170006072A1 (en) | Controller and Method for Setting Up Communication Links to Redundantly Operated Controllers in an Industrial Automation System | |
WO2010012192A1 (en) | A method for synchronizing the switching state of the intercross unit in network element | |
JP5784284B2 (en) | I / O device having HART communication function | |
WO2020143900A1 (en) | Failure handling of a tsn communication link | |
US20160105326A1 (en) | Aircraft communications network with distributed responsibility for compatibility confirmation | |
JP5546500B2 (en) | Remote maintenance system for FPGA-equipped devices | |
JP6395858B2 (en) | Network device discovery method, network device, and network device discovery system | |
JP2008148017A (en) | Node detection device and program | |
AU2021266033B2 (en) | Railway system with diagnostic system and method for operating same | |
JP2008181240A (en) | Redundant distributing control system | |
CN107133189B (en) | Isolated communication structure for machine instrument | |
JP2014060636A (en) | Communication interface conversion device | |
US10530602B2 (en) | Operating a highly available automation system | |
JP4873220B2 (en) | Field communication system | |
CN112241280A (en) | Firmware update of components of a modular node | |
JP2018502465A (en) | Data transmission between at least one secure producer and at least one secure consumer | |
US20140297005A1 (en) | Instrument controlling system | |
KR101845125B1 (en) | EtherCAT-based motion control module with built-in virtual slave device and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20131205 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20131212 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20131219 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20131226 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140109 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20140109 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140829 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140902 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150331 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150522 |
|
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: 20150707 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150728 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5787697 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
LAPS | Cancellation because of no payment of annual fees |