JP2003271202A - Process controller system - Google Patents

Process controller system

Info

Publication number
JP2003271202A
JP2003271202A JP2002068312A JP2002068312A JP2003271202A JP 2003271202 A JP2003271202 A JP 2003271202A JP 2002068312 A JP2002068312 A JP 2002068312A JP 2002068312 A JP2002068312 A JP 2002068312A JP 2003271202 A JP2003271202 A JP 2003271202A
Authority
JP
Japan
Prior art keywords
tracking
data
process controller
buffer
tracking 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.)
Pending
Application number
JP2002068312A
Other languages
Japanese (ja)
Inventor
Shigeki Kawakubo
茂樹 川久保
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 Corp
Original Assignee
Toshiba 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 Corp filed Critical Toshiba Corp
Priority to JP2002068312A priority Critical patent/JP2003271202A/en
Publication of JP2003271202A publication Critical patent/JP2003271202A/en
Pending legal-status Critical Current

Links

Landscapes

  • Safety Devices In Control Systems (AREA)
  • Retry When Errors Occur (AREA)
  • Hardware Redundancy (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a process controller system capable of transferring tracking data properly even if the size of a tracking buffer is small, without affecting executing time of a process controller even if a transfer error occurs. <P>SOLUTION: An arithmetic processing unit 15a of a process controller 11a in an on-line system divides tracking data, and writes into two partitioned tracking buffers 22a1, 22a2 alternately when the tracking data to be transferred is larger than the capacity of one of the two partitioned tracking buffers 22a1, 22a2. A tracking interface 14 transfers the tracking data written into the two partitioned tracking buffers 22a1, 22a2 to a process controller 11b in a standby system. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、二重化された2台
のプロセスコントローラの稼動系のプロセスコントロー
ラから待機系のプロセスコントローラに一周期毎にトラ
ッキングデータを転送するプロセスコントローラシステ
ムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a process controller system for transferring tracking data from an active process controller of two redundant process controllers to a standby process controller every cycle.

【0002】[0002]

【従来の技術】一般に、プラントプロセスを制御するプ
ロセスコントローラは信頼性向上を図るため二重化構成
されることが多い。2台のプロセスコントローラをデュ
プレックスシステムとして二重化した場合には、稼働系
のプロセスコントローラが異常となった場合に待機系の
プロセスコントローラに切り換えて運転することから、
切り換えられた待機系のプロセスコントローラがプロセ
スの制御に必要な制御データ(トラッキングデータ)を
有しておくことが必要となる。
2. Description of the Related Art Generally, a process controller for controlling a plant process is often configured in a duplicated manner in order to improve reliability. When two process controllers are duplexed as a duplex system, when the operating process controller becomes abnormal, it is switched to the standby process controller for operation.
It is necessary that the switched standby process controller has control data (tracking data) necessary for controlling the process.

【0003】そこで、二重化されたプロセスコントロー
ラの間においては、特開2001−22414号公報に
示されるように、通常運転時において、稼動系のプロセ
スコントローラから待機系のプロセスコントローラに一
周期毎にトラッキングデータを転送するようにしてい
る。これにより、両系のプロセスコントローラの有する
制御データを同一化するようにしている。
Therefore, as shown in Japanese Patent Laid-Open No. 2001-22414, between the duplicated process controllers, during normal operation, tracking is performed from the active process controller to the standby process controller every cycle. I am trying to transfer data. As a result, the control data of the process controllers of both systems are made the same.

【0004】図7は、二重化された2台のプロセスコン
トローラを有したプロセスコントローラシステムの概略
構成図である。プロセスコントローラシステムは、稼動
系のプロセスコントローラ11aと待機系のプロセスコ
ントローラ11bとを有しており、プロセスコントロー
ラ11a、11bによりプラント12の動作状態を制御
する。すなわち、通常時は稼働系のプロセスコントロー
ラ11aでプラント12の動作状態を制御し、稼働系の
プロセスコントローラ11aが異常となったときに、待
機系のプロセスコントローラ11bに切り換え、待機系
のプロセスコントローラ11bでプラント12の動作状
態を制御する。
FIG. 7 is a schematic block diagram of a process controller system having two duplicated process controllers. The process controller system has an active system process controller 11a and a standby system process controller 11b, and the process controller 11a, 11b controls the operating state of the plant 12. That is, normally, the operating system process controller 11a controls the operating state of the plant 12, and when the operating system process controller 11a becomes abnormal, the standby system process controller 11b is switched to the standby system process controller 11b. Controls the operating state of the plant 12.

【0005】各々のプロセスコントロ一ラ11a、11
bは電源モジュール13a、13b、トラッキングデー
タ及び二重化制御情報のやり取りを行なうトラッキング
インターフェース14a、14b、プラントの制御演算
を行う演算処理装置15a、15bを有している。演算
処理装置15a、15bは、それぞれ複数個のCPUモ
ジュール16a、16b、16cから構成されている。
Each of the process controllers 11a and 11
Reference numeral b includes power supply modules 13a and 13b, tracking interfaces 14a and 14b for exchanging tracking data and duplex control information, and arithmetic processing units 15a and 15b for performing plant control arithmetic operations. The arithmetic processing units 15a and 15b are each composed of a plurality of CPU modules 16a, 16b and 16c.

【0006】各々のプロセスコントローラ11a、11
bは、トラッキングバス17を介してトラッキングイン
ターフェース14a、14bが接続され、それぞれ稼動
系のプロセスコントローラ11aおよび待機系のプロセ
スコントローラ11bとして動作している。
Each process controller 11a, 11
Tracking interfaces 14a and 14b are connected to the track b via the tracking bus 17, and operate as a process controller 11a for the active system and a process controller 11b for the standby system, respectively.

【0007】また、各々のプロセスコントローラ11
a、11bは、I/Oバス18a、18bにより拡張ユ
ニット19の拡張バッファモジュール20a、20bに
接続され、拡張バッファモジュール20a、20bでは
入出力モジュール21a、21bを介してプラント12
とデータの入出力が行われる。なお、拡張ユニット19
にも電源モジュール13cが設けられている。
Further, each process controller 11
a and 11b are connected to the expansion buffer modules 20a and 20b of the expansion unit 19 by I / O buses 18a and 18b, and the expansion buffer modules 20a and 20b are connected to the plant 12 via the input / output modules 21a and 21b.
And data is input and output. The expansion unit 19
Also, a power supply module 13c is provided.

【0008】このようなプロセスコントローラシステム
でのトラッキングデータの転送処理は、稼動系のプロセ
スコントローラ11aおよび待機系のプロセスコントロ
ーラ11bがトラッキングバス17を介して接続され、
稼動系のプロセスコントローラ11aがトラッキングデ
ータを収集して待機系のプロセスコントローラ11bの
トラッキングバッファに転送し、待機系のプロセスコン
トローラ11bはトラッキングデータをトラッキングバ
ッファから読出しメモリ分配している。各々のプロセス
コントローラ11a、11bは実行制御の周期毎に、こ
の処理を行っている。
In the tracking data transfer process in such a process controller system, the active process controller 11a and the standby process controller 11b are connected through the tracking bus 17,
The operating system process controller 11a collects the tracking data and transfers the tracking data to the tracking buffer of the standby system process controller 11b, and the standby system process controller 11b reads the tracking data from the tracking buffer and distributes the memory. Each of the process controllers 11a and 11b performs this process for each cycle of execution control.

【0009】[0009]

【発明が解決しようとする課題】ところが、一定周期毎
のトラッキング量はトラッキングバッファのサイズによ
り限定されるので、決まったサイズのトラッキングデー
タしか転送できない。逆に言えば、トラッキングデータ
量が多量な場合を考えると、そのサイズに見合うトラッ
キングバッファが必要となる。
However, since the tracking amount for each fixed period is limited by the size of the tracking buffer, only tracking data of a fixed size can be transferred. Conversely, considering the case where the amount of tracking data is large, a tracking buffer commensurate with the size is required.

【0010】また、トラッキングデータのトラッキング
バッファへの書込みや転送は稼働系のプロセスコントロ
ーラ11aで制御しており、トラッキングデータの転送
時に異常が発生した場合は、稼働系のプロセスコントロ
ーラ11aがリトライ処理として再度トラッキングデー
タの書込みや転送の処理を行わなければならず、稼働系
のプロセスコントローラ11aの実行時間に多大な影響
を与えることとなる。
Further, the writing and transfer of the tracking data to the tracking buffer are controlled by the process controller 11a of the operating system, and if an error occurs during the transfer of the tracking data, the process controller 11a of the operating system performs retry processing. The processing of writing or transferring the tracking data must be performed again, which greatly affects the execution time of the operating process controller 11a.

【0011】すなわち、トラッキングデータのトラッキ
ングバッファへの書込みや転送は稼動系のプロセスコン
トローラ11aの演算処理装置15aで処理しているの
で、稼動系のプロセスコントローラ11aの演算処理装
置15aの負担が大きく、特に、トラッキングデータ転
送の異常時にはプラント12の制御に支障を来すことが
考えられる。例えば、プロセス制御の実行時間が通常の
実行時間より延び、決められた時間内に全ての処理が完
了しないことも考えられる。
That is, since the writing and transfer of the tracking data to the tracking buffer is processed by the arithmetic processing unit 15a of the active system process controller 11a, the burden on the arithmetic processing unit 15a of the active system process controller 11a is large. In particular, when the tracking data transfer is abnormal, control of the plant 12 may be hindered. For example, it is conceivable that the execution time of the process control is longer than the normal execution time, and that all the processes are not completed within the determined time.

【0012】本発明の目的は、トラッキングバッファサ
イズが小さくても適正にトラッキングデータを転送で
き、トラッキングデータの転送に異常が発生した場合も
プロセスコントローラの実行時間に影響を与えることの
ないプロセスコントローラシステムを提供することであ
る。
An object of the present invention is to provide a process controller system which can properly transfer tracking data even if the tracking buffer size is small and does not affect the execution time of the process controller even when an error occurs in the tracking data transfer. Is to provide.

【0013】[0013]

【課題を解決するための手段】請求項1の発明に係るプ
ロセスコントローラシステムは、二重化された2台のプ
ロセスコントローラの稼動系のプロセスコントローラか
ら待機系のプロセスコントローラに一周期毎にトラッキ
ングデータを転送し、両系の制御データを同一化するプ
ロセスコントローラシステムにおいて、トラッキングデ
ータの転送の際にトラッキングデータが書き込まれる2
分割されたトラッキングバッファと、転送しようとする
トラッキングデータが2分割された一つのトラッキング
バッファの容量より大きい場合は前記トラッキングデー
タを分割して2分割されたトラッキングバッファに交互
に書込む演算処理装置と、2分割されたトラッキングバ
ッファに書き込まれたトラッキングデータを待機系のプ
ロセスコントローラに転送するトラッキングインターフ
ェースとを備えたことを特徴とする。
A process controller system according to a first aspect of the present invention transfers tracking data from a process controller of an active system of two redundant process controllers to a process controller of a standby system every cycle. However, in the process controller system that makes the control data of both systems the same, the tracking data is written when the tracking data is transferred 2
A divided tracking buffer, and an arithmetic processing unit that divides the tracking data and alternately writes the divided tracking data into the two divided tracking buffers when the tracking data to be transferred is larger than the capacity of one divided two tracking buffer. And a tracking interface for transferring the tracking data written in the two-divided tracking buffer to the standby process controller.

【0014】請求項1の発明に係るプロセスコントロー
ラシステムにおいては、稼働系のプロセスコントローラ
の演算処理装置は、転送しようとするトラッキングデー
タが2分割された一つのトラッキングバッファの容量よ
り大きい場合は、トラッキングデータを分割して、2分
割されたトラッキングバッファに交互に書込む。また、
トラッキングインターフェースは、2分割されたトラッ
キングバッファに書き込まれたトラッキングデータを待
機系のプロセスコントローラに転送する。トラッキング
データの転送はトラッキングインターフェースで行うの
で、演算処理装置の負担が軽減される。また、トラッキ
ングバッファは2分割されているので一方のトラッキン
グバッファにトラッキングデータを書き込んでいる間に
他方のトラッキングバッファのトラッキングデータを転
送でき、トラッキングデータの転送効率を高めることが
できる。
In the process controller system according to the first aspect of the present invention, when the tracking data to be transferred is larger than the capacity of one tracking buffer divided into two, the processing unit of the process controller in the active system performs tracking. The data is divided and written into the divided tracking buffer alternately. Also,
The tracking interface transfers the tracking data written in the two-divided tracking buffer to the standby process controller. Since the tracking data is transferred by the tracking interface, the load on the arithmetic processing device is reduced. Further, since the tracking buffer is divided into two, the tracking data of the other tracking buffer can be transferred while the tracking data is being written in one of the tracking buffers, and the transfer efficiency of the tracking data can be improved.

【0015】請求項2の発明に係るプロセスコントロー
ラシステムは、請求項1の発明において、2分割された
トラッキングバッファのトラッキングデータがブロック
単位に分割されて書き込まれる送信バッファを設け、前
記トラッキングインターフェースは、分割されたブロッ
ク単位でトラッキングデータを待機系のプロセスコント
ローラに転送し、トラッキングデータの転送異常が発生
した場合には、分割されたブロック単位でリトライ処理
を行うことを特徴とする。
According to a second aspect of the present invention, there is provided the process controller system according to the first aspect of the present invention, further comprising a transmission buffer into which the tracking data of the tracking buffer divided into two is divided and written in block units. The tracking data is transferred to the process controller of the standby system in units of divided blocks, and if a transfer error of the tracking data occurs, a retry process is performed in units of the divided blocks.

【0016】請求項2の発明に係るプロセスコントロー
ラシステムにおいては、請求項1の発明の作用に加え、
送信バッファには、2分割されたトラッキングバッファ
のトラッキングデータがブロック単位に分割されて書き
込まれる。トラッキングインターフェースは、送信バッ
ファに書き込まれたブロック単位でトラッキングデータ
を待機系のプロセスコントローラに転送する。そして、
トラッキングデータの転送異常が発生した場合には、分
割されたブロック単位でリトライ処理を行う。従って、
演算処理装置でのプロセス制御の実行に影響を与えるこ
となくリトライ処理を行うことができる。
In the process controller system according to the invention of claim 2, in addition to the operation of the invention of claim 1,
The tracking data of the tracking buffer divided into two is written in the transmission buffer in units of blocks. The tracking interface transfers tracking data to the standby process controller in block units written in the transmission buffer. And
When a transfer error of tracking data occurs, a retry process is performed for each divided block. Therefore,
The retry processing can be performed without affecting the execution of the process control in the arithmetic processing unit.

【0017】[0017]

【発明の実施の形態】以下、本発明の実施の形態を説明
する。図1は本発明の第1の実施の形態に係るプロセス
コントローラシステムの稼働系のプロセスコントローラ
によるトラッキングデータの転送処理の説明図である。
すなわち、稼動系のプロセスコントローラ11aの演算
処理装置15aとトラッキングインターフェース14a
との間でのトラッキングデータの転送処理を示してい
る。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below. FIG. 1 is an explanatory diagram of tracking data transfer processing by a process controller in an operating system of a process controller system according to a first embodiment of the present invention.
That is, the processing unit 15a of the operating process controller 11a and the tracking interface 14a
2 shows a tracking data transfer process between and.

【0018】トラッキングインターフェース14aに
は、トラッキングデータの転送の際にトラッキングデー
タが書き込まれるトラッキングバッファ22aが設けら
れている。このトラッキングバッファ22aは2分割さ
れており、分割されたトラッキングバッファ22a1、
22a2の二つのエリアを有している。
The tracking interface 14a is provided with a tracking buffer 22a in which tracking data is written when the tracking data is transferred. This tracking buffer 22a is divided into two, and the divided tracking buffers 22a1,
It has two areas 22a2.

【0019】稼動系のプロセスコントローラ11aの演
算処理装置15aは、転送しようとするトラッキングデ
ータが2分割された一つのトラッキングバッファ22a
1、22a2の容量より大きい場合は、トラッキングデ
ータを分割して2分割されたトラッキングバッファ22
a1、22a2に交互に書込む。そして、トラッキング
インターフェース14aは、2分割されたトラッキング
バッファ22a1,22a2に書き込まれたトラッキン
グデータを待機系のプロセスコントローラ11bに交互
に転送する。
The arithmetic processing unit 15a of the process controller 11a of the operating system is provided with one tracking buffer 22a in which the tracking data to be transferred is divided into two.
If the capacity is larger than 1 or 22a2, the tracking data is divided into two and the tracking buffer 22 is divided into two.
Alternately write to a1 and 22a2. Then, the tracking interface 14a alternately transfers the tracking data written in the two-divided tracking buffers 22a1, 22a2 to the standby process controller 11b.

【0020】次に、動作を説明する。まず、稼動系のプ
ロセスコントローラ11aの演算処理装置15aは、転
送しようとするトラッキングデータが2分割された一つ
のトラッキングバッファ22a1、22a2の容量より
大きいか否かを判定し、大きい場合には、トラッキング
データの先頭からデータを分割し、トラッキングインタ
ーフェース14aの前半のトラッキングバッファ22a
1にトラッキングデータを書込む(S1)。そして、ト
ラッキングインターフェース14aに対してデータ送信
要求を行う(S2)。
Next, the operation will be described. First, the arithmetic processing unit 15a of the process controller 11a of the active system determines whether or not the tracking data to be transferred is larger than the capacity of one of the two divided tracking buffers 22a1 and 22a2. The data is divided from the beginning of the data, and the tracking buffer 22a in the first half of the tracking interface 14a is divided.
The tracking data is written in 1 (S1). Then, a data transmission request is issued to the tracking interface 14a (S2).

【0021】次に、稼動系のプロセスコントローラ11
aの演算処理装置15aは、分割した残りのトラッキン
グデータをトラッキングインターフェース14aの後半
のトラッキングバッファ22a2に書込み(S3)、ト
ラッキングインターフェース14aに対してデータ送信
要求を行う(S4)。
Next, the operating system process controller 11
The arithmetic processing unit 15a of a writes the remaining divided tracking data into the tracking buffer 22a2 in the latter half of the tracking interface 14a (S3), and requests the tracking interface 14a for data transmission (S4).

【0022】一方、トラッキングインターフェース14
aはトラッキングバッファ22a1のトラッキングデー
タを待機系のプロセスコントローラ11bに送信を開始
する(S5)。そして、待機系のプロセスコントローラ
11bからのデータ送信完了信号を受信し(S6)、こ
のデータ送信完了によりプロセスコントローラ11aは
トラッキングデータが送信完了したことを認識する。
On the other hand, the tracking interface 14
a starts transmitting the tracking data in the tracking buffer 22a1 to the standby process controller 11b (S5). Then, the data transmission completion signal is received from the standby system process controller 11b (S6), and the process controller 11a recognizes that the tracking data has been transmitted by the completion of the data transmission.

【0023】トラッキングバッファ22a2についても
同様に、トラッキングインターフェース14aはトラッ
キングバッファ22a2のトラッキングデータを待機系
のプロセスコントローラ11bに送信を開始する(S
7)。そして、待機系のプロセスコントローラ11bか
らのデータ送信完了信号を受信し(S8)、このデータ
送信完了によりプロセスコントローラ11aはトラッキ
ングデータが送信完了したことを認識する。
Similarly, for the tracking buffer 22a2, the tracking interface 14a starts transmitting the tracking data of the tracking buffer 22a2 to the standby process controller 11b (S).
7). Then, the data transmission completion signal is received from the standby system process controller 11b (S8), and the process controller 11a recognizes that the tracking data has been transmitted by the completion of the data transmission.

【0024】図2は、稼動系のプロセスコントローラ1
1aの演算処理装置15aの処理内容を示すフローチャ
ートである。まず、演算処理装置15aは、転送しよう
とするトラッキングデータがあるか否かを判定し(S
1)、転送しようとするトラッキングデータがある場合
には、トラッキングバッファ22a1のトラッキングデ
ータの送信が完了しているかどうかを判定する(S
2)。送信が完了しているときは、転送しようとするト
ラッキングデータがトラッキングバッファ22a1の容
量より大きいか否かを判定し(S3)、トラッキングバ
ッファ22a1の容量より大きいときはトラッキングデ
ータをトラッキングバッファ22a1の容量より小さい
データに分割し(S4)、分割したデータをトラッキン
グバッファ22a1に書き込む(S5)。一方、ステッ
プS3の判定でトラッキングバッファ22a1の容量よ
り小さいデータであるときはステップS5の処理に移
る。そして、トラッキングインターフェース14aに対
して送信要求を出力する(S6)。
FIG. 2 shows an operating system process controller 1.
It is a flowchart which shows the processing content of the arithmetic processing unit 15a of 1a. First, the arithmetic processing unit 15a determines whether or not there is tracking data to be transferred (S
1) If there is tracking data to be transferred, it is determined whether or not the transmission of the tracking data in the tracking buffer 22a1 is completed (S).
2). When the transmission is completed, it is judged whether or not the tracking data to be transferred is larger than the capacity of the tracking buffer 22a1 (S3), and when it is larger than the capacity of the tracking buffer 22a1, the tracking data is stored in the capacity of the tracking buffer 22a1. The data is divided into smaller data (S4), and the divided data is written in the tracking buffer 22a1 (S5). On the other hand, if it is determined in step S3 that the data is smaller than the capacity of the tracking buffer 22a1, the process proceeds to step S5. Then, the transmission request is output to the tracking interface 14a (S6).

【0025】トラッキングバッファ22a2について
も、同様に、転送しようとするトラッキングデータがあ
るか否かを判定する(S7)。ステップS4の処理でト
ラッキングデータが分割された場合には転送しようとす
るトラッキングデータがあることになる。
Similarly for the tracking buffer 22a2, it is determined whether or not there is tracking data to be transferred (S7). When the tracking data is divided in the process of step S4, there is tracking data to be transferred.

【0026】転送しようとするトラッキングデータがあ
る場合には、トラッキングバッファ22a2のトラッキ
ングデータの送信が完了しているかどうかを判定し(S
8)、送信が完了しているときは、転送しようとするト
ラッキングデータがトラッキングバッファ22a2の容
量より大きいか否かを判定し(S9)、トラッキングバ
ッファ22a2の容量より大きいときはトラッキングデ
ータをトラッキングバッファ22a2の容量より小さい
データに分割し(S10)、分割したデータをトラッキ
ングバッファ22a2に書き込む(S11)。一方、ス
テップS9の判定でトラッキングバッファ22a2の容
量より小さいデータであるときはステップS11の処理
に移る。
If there is tracking data to be transferred, it is judged whether or not the transmission of the tracking data in the tracking buffer 22a2 is completed (S
8) If the transmission is completed, it is determined whether or not the tracking data to be transferred is larger than the capacity of the tracking buffer 22a2 (S9), and if it is larger than the capacity of the tracking buffer 22a2, the tracking data is transferred to the tracking buffer. The data is divided into data smaller than the capacity of 22a2 (S10), and the divided data is written in the tracking buffer 22a2 (S11). On the other hand, if the data is smaller than the capacity of the tracking buffer 22a2 in the determination of step S9, the process proceeds to step S11.

【0027】そして、トラッキングインターフェース1
4aに対して送信要求を出力し(S12)、トラッキン
グデータが送信完了したか否かを判定する(S13)。
送信完了していない場合にはステップS1に戻り、分割
されたトラッキングデータが送信完了するまで繰り返し
処理を実行する。
Then, the tracking interface 1
A transmission request is output to 4a (S12), and it is determined whether the tracking data has been transmitted (S13).
If the transmission has not been completed, the process returns to step S1 to repeat the process until the transmission of the divided tracking data is completed.

【0028】図3は、トラッキングインターフェース1
4aの処理内容を示すフローチャートである。トラッキ
ングインターフェース14aは、図2に示した演算処理
装置15aのステップS6、S12からの送信要求で起
動され、演算処理装置15aから送信要求を受理する
と、該当のトラッキングバッファ22a1、22a2か
らトラッキングデータを待機系のプロセスコントローラ
11bに順次送信し(S1)、トラッキングデータの送
信が完了したか否かを判定し(S2)、送信が完了した
ときには稼働系のプロセスコントローラ11aに送信完
了を通知する(S3)。演算処理装置15aおよびトラ
ッキングインターフェース14aは、この処理を全トラ
ッキングデータの送信完了まで繰り返し実行する。
FIG. 3 shows the tracking interface 1.
It is a flowchart which shows the processing content of 4a. The tracking interface 14a is activated by the transmission request from the processing device 15a shown in FIG. 2 in steps S6 and S12. When the transmission request is received from the processing device 15a, the tracking interface 14a waits for tracking data from the corresponding tracking buffers 22a1 and 22a2. It is sequentially transmitted to the process controller 11b of the system (S1), it is determined whether the transmission of the tracking data is completed (S2), and when the transmission is completed, the process controller 11a of the operating system is notified of the completion of the transmission (S3). . The arithmetic processing unit 15a and the tracking interface 14a repeatedly execute this processing until the transmission of all tracking data is completed.

【0029】以上述べたように、この第1の実施の形態
によれば、演算処理装置15aはトラッキングバッファ
22a1、22a2ヘのトラッキングデータの書込みと
送信要求とを行い、トラッキングデータの送信はトラッ
キングインターフェース14aが行うので、トラッキン
グインターフェース14aによるトラッキングデータの
待機系のプロセスコントローラ11bへのトラッキング
データの送信の間に、次のトラッキングバッファ22a
2ヘのトラッキングデータの書込みが行える。従って、
待機系のプロセスコントローラ11bへの送信完了まで
の待ち時間を最小限に抑制でき、トラッキングデータを
待機系のプロセスコントローラ11bに適正に転送する
ことができる。
As described above, according to the first embodiment, the processing unit 15a writes the tracking data to the tracking buffers 22a1 and 22a2 and makes a transmission request, and the tracking data is transmitted by the tracking interface. 14a, the next tracking buffer 22a is provided during the transmission of the tracking data by the tracking interface 14a to the standby process controller 11b.
It is possible to write tracking data to 2. Therefore,
The waiting time until the completion of transmission to the standby system process controller 11b can be suppressed to the minimum, and the tracking data can be properly transferred to the standby system process controller 11b.

【0030】次に、本発明の第2の実施の形態を説明す
る。図4は本発明の第2の実施の形態に係るプロセスコ
ントローラシステムの稼働系のプロセスコントローラと
待機系のプロセスコントローラとの間でのトラッキング
データの転送処理の説明図である。すなわち、稼動系の
トラッキングインターフェース14aと待機系のトラッ
キングインターフェース14bとの間でのトラッキング
データの転送処理を示している。
Next, a second embodiment of the present invention will be described. FIG. 4 is an explanatory diagram of a tracking data transfer process between an active process controller and a standby process controller of the process controller system according to the second embodiment of the present invention. That is, the process of transferring tracking data between the active tracking interface 14a and the standby tracking interface 14b is shown.

【0031】稼働系のトラッキングインターフェース1
4aには送信バッファ23が設けられ、待機系のトラッ
キングインターフェースには受信バッファ24が設けら
れている。送信バッファ23には、トラッキングデータ
の送信時に、2分割されたトラッキングバッファ22a
1、22a2からのトラッキングデータがブロック単位
に分割されて書き込まれ、待機系のトラッキングインタ
ーフェース14bの受信バッファ24に送信される。
Operating system tracking interface 1
4a is provided with a transmission buffer 23, and the standby tracking interface is provided with a reception buffer 24. The transmission buffer 23 has a tracking buffer 22a divided into two when transmitting tracking data.
The tracking data from Nos. 1 and 22a2 are divided into blocks and written, and transmitted to the reception buffer 24 of the standby tracking interface 14b.

【0032】待機系のトラッキングインターフェース1
4bでは、受信バッファ24で受信したトラッキングデ
ータを、2分割されたトラッキングバッファ22b1、
22b2に保存していく。そして、トラッキングデータ
の転送異常が発生した場合には、その異常となったブロ
ック単位のデータが異常となった旨を稼働系のトラッキ
ングインターフェース14aに送信する。トラッキング
インターフェース14aは、異常となったブロック単位
から再度トラッキングデータを再送するリトライ処理を
行う。
Standby system tracking interface 1
In 4b, the tracking data received by the reception buffer 24 is divided into two tracking buffers 22b1,
Save it in 22b2. Then, when a tracking data transfer abnormality occurs, the fact that the abnormal block unit data has become abnormal is transmitted to the tracking interface 14a of the operating system. The tracking interface 14a performs a retry process of retransmitting the tracking data again from the abnormal block unit.

【0033】次に、動作を説明する。なお、ここでは、
トラッキングデータはデータD1〜Dnのブロックに分
割されて送信バッファから受信バッファに送信され、そ
の途中のデータD3の送受信時に異常が発生した場合に
ついて説明する。
Next, the operation will be described. In addition, here
The case where the tracking data is divided into blocks of data D1 to Dn and transmitted from the transmission buffer to the reception buffer, and an abnormality occurs during transmission and reception of the data D3 on the way will be described.

【0034】いま、稼働系のトラッキングインターフェ
ース14aが演算処理装置15aからトラッキングバッ
ファ22a1の送信要求を受けたとする。そうすると、
稼動系のトラッキングインターフェース14aは、トラ
ッキングバッファ22a1からブロック単位のトラッキ
ングデータを取り出し、送信バッファ23ヘデータD1
を書き込み送信する。以下、同様にデータD2、D3…
を送信する。このように、送信バッファ23はトラッキ
ングバッファ22a1より小さいためデータ送信は分割
して行われる。
It is assumed that the active tracking interface 14a receives a transmission request for the tracking buffer 22a1 from the arithmetic processing unit 15a. Then,
The active tracking interface 14a extracts tracking data in block units from the tracking buffer 22a1 and stores the data D1 in the transmission buffer 23.
Write and send. Hereinafter, similarly, the data D2, D3 ...
To send. In this way, since the transmission buffer 23 is smaller than the tracking buffer 22a1, the data transmission is divided.

【0035】待機系のトラッキングインターフェース1
4bでは、このデータD1、D2、D3…を受信バッフ
ァ24で受信し、自己のトラッキングバッファ22b1
に保存していく。
Standby tracking interface 1
In 4b, the data D1, D2, D3 ... Are received by the reception buffer 24, and the tracking buffer 22b1 of its own is received.
Save it to.

【0036】この受信時にデータD3の受信異常を検出
したとすると、トラッキングインターフェース14bは
稼動系のトラッキングインターフェース14aに対し
て、データD3の受信異常を異常通知信号D3Fとして
通知する。異常通知信号D3Fを受けた稼動系のトラッ
キングインターフェース14aは再度データD3からデ
ータ送信を行う。そして、全てのデータD1〜Dnを受
信したトラッキングインターフェース14bは、稼動系
のトラッキングインターフェース14aに対して、トラ
ッキングバッファ22a1からのトラッキングデータの
受信完了信号Eを通知する。
If an abnormal reception of the data D3 is detected during this reception, the tracking interface 14b notifies the active tracking interface 14a of the abnormal reception of the data D3 as an abnormal notification signal D3F. The tracking interface 14a of the operating system, which receives the abnormality notification signal D3F, transmits data again from the data D3. Then, the tracking interface 14b that has received all the data D1 to Dn notifies the working tracking interface 14a of the reception completion signal E of the tracking data from the tracking buffer 22a1.

【0037】図5は、トラッキングデータの送信で異常
が発生した場合の稼動系のトラッキングインターフェー
ス14aの処理内容のフローチャートである。待機系の
トラッキングインターフェース14bからデータDiの
受信異常を異常通知信号DiFとして受信したか否かを
判定し(S1)、異常通知信号DiFを受信していない
場合には、トラッキングデータの次のブロックのデータ
を送信バッファ23に書き込み(S2)、待機系のトラ
ッキングインターフェース14bへのデータの送信要求
をする(S3)。そして、トラッキングデータが送信完
了したか否かを判定し(S4)、送信が完了していない
場合にはステップS1に戻る。
FIG. 5 is a flowchart showing the processing contents of the active tracking interface 14a when an abnormality occurs in the transmission of tracking data. It is determined whether or not a reception abnormality of the data Di is received as the abnormality notification signal DiF from the standby tracking interface 14b (S1), and if the abnormality notification signal DiF is not received, the next block of the tracking data is detected. The data is written to the transmission buffer 23 (S2), and a data transmission request is made to the standby tracking interface 14b (S3). Then, it is determined whether or not the tracking data has been transmitted (S4), and if the transmission has not been completed, the process returns to step S1.

【0038】一方、ステップS1の判定で、異常通知信
号DiFを受信した場合には異常通知信号DiFで指定
されたトラッキングデータブロックiのデータDiを送
信バッファ23に書き込み(S5)、待機系のトラッキ
ングインターフェース14bへのデータDiの送信要求
をする(S3)。そして、トラッキングデータが送信完
了したか否かを判定し(S4)、送信が完了していない
場合にはステップS1に戻る。
On the other hand, if it is determined in step S1 that the abnormality notification signal DiF is received, the data Di of the tracking data block i designated by the abnormality notification signal DiF is written in the transmission buffer 23 (S5), and the standby tracking is performed. The transmission request of the data Di to the interface 14b is requested (S3). Then, it is determined whether or not the tracking data has been transmitted (S4), and if the transmission has not been completed, the process returns to step S1.

【0039】図6は、トラッキングデータの送信で異常
が発生した場合の待機系のトラッキングインターフェー
ス14bの処理内容のフローチャートである。待機系の
トラッキングインターフェース14bからデータDiを
受信すると(S1)、そのデータDiが正常か否かの判
定を行う(s2)。正常である場合には自己のトラッキ
ングバッファ22b1、22b2にデータDiを保存す
る(S3)。
FIG. 6 is a flowchart showing the processing contents of the standby tracking interface 14b when an abnormality occurs in the transmission of tracking data. When the data Di is received from the standby tracking interface 14b (S1), it is determined whether the data Di is normal (s2). If it is normal, the data Di is stored in its own tracking buffers 22b1 and 22b2 (S3).

【0040】一方、異常と判定した場合には、稼働系の
トラッキングインターフェース14aに異常通知信号D
iFを出力する(S4)。そして、トラッキングデータ
すべてが受信完了したか否かを判定し(S5)、受信が
完了した場合には稼働系のトラッキングインターフェー
ス14aに受信完了信号Eを出力する(S6)。
On the other hand, if it is determined that there is an abnormality, the abnormality notification signal D is sent to the working tracking interface 14a.
iF is output (S4). Then, it is determined whether or not all the tracking data have been received (S5), and when the reception is completed, the reception completion signal E is output to the tracking interface 14a of the operating system (S6).

【0041】以上述べたように、この第2の実施の形態
によれば、トラッキングデータを送信バッファ23に格
納可能なブロック単位に分割して送信するので、受信異
常の通知を受けた場合にはそのブロック単位の先頭から
再送することになる。従って、受信異常となった場合
に、そのトラッキングデータを最初から送信する必要は
なく、異常となったブロック部分からの送信が可能とな
る。
As described above, according to the second embodiment, the tracking data is divided into blocks that can be stored in the transmission buffer 23 and transmitted. Therefore, when the reception abnormality is notified, It will be retransmitted from the beginning of the block unit. Therefore, in the case of abnormal reception, it is not necessary to transmit the tracking data from the beginning, and it is possible to transmit from the abnormal block portion.

【0042】[0042]

【発明の効果】以上説明したように、本発明によれば、
トラッキングバッファより大きなサイズのトラッキング
データを、待機系のプロセスコントローラに送信完了ま
での待ち時間を最小限に抑えて転送することが可能とな
る。また、トラッキングデータ転送時に異常が発生した
場合、演算処理装置のプロセス制御の実行に影響を与え
ることなく異常時のリトライ処理を行うことができる。
As described above, according to the present invention,
It becomes possible to transfer tracking data of a size larger than that of the tracking buffer to the process controller of the standby system with a minimum waiting time until completion of transmission. Further, if an abnormality occurs during transfer of the tracking data, it is possible to perform retry processing at the time of abnormality without affecting the execution of the process control of the arithmetic processing unit.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1の実施の形態に係るプロセスコン
トローラシステムの稼働系のプロセスコントローラによ
るトラッキングデータの転送処理の説明図。
FIG. 1 is an explanatory diagram of a tracking data transfer process performed by an operating process controller of a process controller system according to a first embodiment of the present invention.

【図2】本発明の第1の実施の形態における稼動系のプ
ロセスコントローラの演算処理装置の処理内容を示すフ
ローチャート
FIG. 2 is a flowchart showing the processing contents of the arithmetic processing unit of the operating system process controller according to the first embodiment of the present invention.

【図3】本発明の第1の実施の形態におけるトラッキン
グインターフェースの処理内容を示すフローチャート。
FIG. 3 is a flowchart showing the processing contents of the tracking interface according to the first embodiment of the present invention.

【図4】本発明の第2の実施の形態に係るプロセスコン
トローラシステムの稼働系のプロセスコントローラと待
機系のプロセスコントローラとの間でのトラッキングデ
ータの転送処理の説明図。
FIG. 4 is an explanatory diagram of a tracking data transfer process between an active process controller and a standby process controller of the process controller system according to the second embodiment of the present invention.

【図5】本発明の第2の実施の形態におけるトラッキン
グデータの送信で異常が発生した場合の稼動系のトラッ
キングインターフェースの処理内容のフローチャート。
FIG. 5 is a flowchart of processing contents of a tracking interface of an operating system when an abnormality occurs in transmission of tracking data according to the second embodiment of the present invention.

【図6】本発明の第2の実施の形態におけるトラッキン
グデータの送信で異常が発生した場合の待機系のトラッ
キングインターフェースの処理内容のフローチャート。
FIG. 6 is a flowchart of processing contents of a tracking interface of a standby system when an abnormality occurs in transmission of tracking data according to the second embodiment of the present invention.

【図7】二重化された2台のプロセスコントローラを有
したプロセスコントローラシステムの概略構成図。
FIG. 7 is a schematic configuration diagram of a process controller system having two duplicated process controllers.

【符号の説明】[Explanation of symbols]

11…プロセスコントローラ、12…プラント、13…
電源モジュール、14…トラッキングインターフェー
ス、15…演算処理装置、16…CPUモジュール、1
7…トラッキングバス、18…I/Oバス、19…拡張
ユニット、20…拡張バッファモジュール、21…入出
力モジュール、22…トラッキングバッファ、23…送
信バッファ、24…受信バッファ
11 ... Process controller, 12 ... Plant, 13 ...
Power supply module, 14 ... tracking interface, 15 ... arithmetic processing unit, 16 ... CPU module, 1
7 ... Tracking bus, 18 ... I / O bus, 19 ... Expansion unit, 20 ... Expansion buffer module, 21 ... Input / output module, 22 ... Tracking buffer, 23 ... Transmission buffer, 24 ... Reception buffer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 二重化された2台のプロセスコントロー
ラの稼動系のプロセスコントローラから待機系のプロセ
スコントローラに一周期毎にトラッキングデータを転送
し、両系の制御データを同一化するプロセスコントロー
ラシステムにおいて、トラッキングデータの転送の際に
トラッキングデータが書き込まれる2分割されたトラッ
キングバッファと、転送しようとするトラッキングデー
タが2分割された一つのトラッキングバッファの容量よ
り大きい場合は前記トラッキングデータを分割して2分
割されたトラッキングバッファに交互に書込む演算処理
装置と、2分割されたトラッキングバッファに書き込ま
れたトラッキングデータを待機系のプロセスコントロー
ラに転送するトラッキングインターフェースとを備えた
ことを特徴とするプロセスコントローラシステム。
1. A process controller system in which tracking data is transferred from a process controller of an operating system of two redundant process controllers to a process controller of a standby system for each cycle, and control data of both systems are made the same, When the tracking data to be transferred when the tracking data is transferred is divided into two parts, and the tracking data to be transferred is larger than the capacity of one divided tracking buffer, the tracking data is divided into two parts. And a tracking interface for transferring the tracking data written in the divided tracking buffer to the process controller of the standby system. Process controller system.
【請求項2】 2分割されたトラッキングバッファのト
ラッキングデータがブロック単位に分割されて書き込ま
れる送信バッファを設け、前記トラッキングインターフ
ェースは、分割されたブロック単位でトラッキングデー
タを待機系のプロセスコントローラに転送し、トラッキ
ングデータの転送異常が発生した場合には、分割された
ブロック単位でリトライ処理を行うことを特徴とする請
求項1に記載のプロセスコントローラシステム。
2. A transmission buffer in which tracking data of a tracking buffer divided into two is divided and written in block units is provided, and the tracking interface transfers the tracking data to a process controller of a standby system in divided block units. The process controller system according to claim 1, wherein when a tracking data transfer abnormality occurs, a retry process is performed in units of divided blocks.
JP2002068312A 2002-03-13 2002-03-13 Process controller system Pending JP2003271202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002068312A JP2003271202A (en) 2002-03-13 2002-03-13 Process controller system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002068312A JP2003271202A (en) 2002-03-13 2002-03-13 Process controller system

Publications (1)

Publication Number Publication Date
JP2003271202A true JP2003271202A (en) 2003-09-26

Family

ID=29199435

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002068312A Pending JP2003271202A (en) 2002-03-13 2002-03-13 Process controller system

Country Status (1)

Country Link
JP (1) JP2003271202A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016057911A (en) * 2014-09-10 2016-04-21 株式会社東芝 Duplex control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016057911A (en) * 2014-09-10 2016-04-21 株式会社東芝 Duplex control system

Similar Documents

Publication Publication Date Title
JP4658122B2 (en) DMA controller, node, data transfer control method, and program
US7633856B2 (en) Multi-node system, internodal crossbar switch, node and medium embodying program
JP2604994B2 (en) Fault-tolerant command processing system and method and related apparatus
JP2003271202A (en) Process controller system
JP4810488B2 (en) Duplex control apparatus and tracking method thereof
JPH1118122A (en) Data transfer system
JP2004062589A (en) Information processor
JP2000155738A (en) Data processor
JP3861649B2 (en) Message communication method between modules
JP2002063047A (en) Doubling system switching device and switching method therefor
JP2001356881A (en) Multiplex storage controller
JP2016207142A (en) Computer and memory fault diagnostic method
JPS61206045A (en) Information processing system
WO2004079573A1 (en) Multi-processor system
JPS61206044A (en) Information processing system
JP3033586B2 (en) Information processing system
JP2000353106A (en) Device and method for transferring data
JP2008046731A (en) Controller and duplex control program
JP2000298639A (en) Transmitting circuit, receiving circuit, interface circuit, system controller, input-output controller and information processor
JP2005222198A (en) Data transferring device and data transferring method
JPH06301634A (en) Dma transfer system
JPH06223032A (en) Transfer controller
JPH11110015A (en) Inter-cpu module data exchange device
JPH0628305A (en) Data transfer controller for multiprocessor system
JP2001043200A (en) Data transmitter and data transmitting method