JP2008102686A - Field controller - Google Patents

Field controller Download PDF

Info

Publication number
JP2008102686A
JP2008102686A JP2006283905A JP2006283905A JP2008102686A JP 2008102686 A JP2008102686 A JP 2008102686A JP 2006283905 A JP2006283905 A JP 2006283905A JP 2006283905 A JP2006283905 A JP 2006283905A JP 2008102686 A JP2008102686 A JP 2008102686A
Authority
JP
Japan
Prior art keywords
processor
data
main memory
controller
memory
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
JP2006283905A
Other languages
Japanese (ja)
Inventor
Seiki Kosakai
清貴 小酒井
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2006283905A priority Critical patent/JP2008102686A/en
Publication of JP2008102686A publication Critical patent/JP2008102686A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a field controller for using a processor in which the execution sequence of instructions or the sequence of data to be output is different. <P>SOLUTION: A processor 11A of a controller 10 reads the data of a main memory 13A, and writes the data in a main memory 23A of a controller 20. A processor 11B of the controller 10 reads the data of a main memory 13B, and writes the data in a main memory 23B of the controller 20. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、複数のコントローラを冗長化動作させるフィールド制御装置に関する。   The present invention relates to a field control apparatus that operates a plurality of controllers in a redundant manner.

動作の信頼性を向上させるため、複数のコントローラで並行して同一処理を実行するフィールド制御装置が知られている。図4は、このようなフィールド制御装置の構成例を示すブロック図である。   In order to improve the reliability of operation, a field control device that performs the same processing in parallel with a plurality of controllers is known. FIG. 4 is a block diagram showing a configuration example of such a field control device.

図4に示すように、コントローラ70は、一対のプロセッサ71Aおよびプロセッサ71Bと、一対のインタフェースコントローラ72Aおよびインタフェースコントローラ72Bと、一対のメインメモリ73Aおよびメインメモリ73Bと、通信装置74と、外部入出力装置75と、照合器76と、を備える。   As shown in FIG. 4, the controller 70 includes a pair of processors 71A and 71B, a pair of interface controllers 72A and 72B, a pair of main memory 73A and main memory 73B, a communication device 74, and an external input / output. The apparatus 75 and the collator 76 are provided.

プロセッサ71Aおよびプロセッサ71Bは同一処理を実行する。照合器76は、プロセッサ71Aおよびプロセッサ71Bのデータを照合し、不一致のデータがあれば異常と判断し、外部へのデータ出力を停止させる。これにより、外部への誤出力を防止できる。   The processor 71A and the processor 71B execute the same processing. The collator 76 collates the data of the processor 71A and the processor 71B. If there is mismatched data, the collator 76 determines that the data is abnormal and stops outputting data to the outside. Thereby, an erroneous output to the outside can be prevented.

同様に、コントローラ80は、一対のプロセッサ81Aおよびプロセッサ81Bと、一対のインタフェースコントローラ82Aおよびインタフェースコントローラ82Bと、一対のメインメモリ83Aおよびメインメモリ83Bと、通信装置84と、外部入出力装置85と、照合器86と、を備える。   Similarly, the controller 80 includes a pair of processors 81A and 81B, a pair of interface controllers 82A and 82B, a pair of main memory 83A and main memory 83B, a communication device 84, an external input / output device 85, And a collator 86.

プロセッサ81Aおよびプロセッサ81Bは同一処理を実行する。照合器86は、プロセッサ81Aおよびプロセッサ81Bのデータを照合し、不一致のデータがあれば異常と判断し、外部へのデータ出力を停止させる。これにより、外部への誤出力を防止できる。   The processor 81A and the processor 81B execute the same processing. The collator 86 collates the data of the processor 81A and the processor 81B. If there is mismatched data, the collator 86 determines that the data is abnormal and stops outputting data to the outside. Thereby, an erroneous output to the outside can be prevented.

コントローラ70およびコントローラ80は、それぞれ同じデータを使用し、同じ演算を実行する。これにより冗長化動作を可能としている。   The controller 70 and the controller 80 use the same data and execute the same calculation. This enables a redundant operation.

特開2001−256070号公報JP 2001-256070 A

しかし、図4に示すフィールド制御装置で使用されるプロセッサは、命令の実行順序および出力されるデータの順序が同一であることを前提としている。命令の実行順序および出力されるデータの順序が微妙なタイミングなどに応じて変化するタイプのプロセッサを用いれば、照合結果が不一致となり、異常が誤検出されてしまう。   However, the processor used in the field control device shown in FIG. 4 is based on the premise that the execution order of instructions and the order of output data are the same. If a processor of a type in which the execution order of instructions and the order of output data changes according to subtle timings or the like is used, the collation results are inconsistent and an abnormality is erroneously detected.

また、図4に示すフィールド制御装置では、メインメモリのデータも一致しているため、2つのコントローラ70,80にあるすべてのメインメモリ73A,73B,83A,83Bのデータを同一とすることで、冗長化動作を可能としている。例えば、コントローラ70が単独で動作している間に、コントローラ80を追加動作させる場合、コントローラ70のプロセッサ71Aおよびプロセッサ71Bは、メインメモリ73A,73Bのデータをリードし、通信装置74および通信装置84を介してメインメモリ83A,83Bにライトする。この場合、メインメモリ73Aのデータと、メインメモリ83Aのデータとは一致しており、すべてのメインメモリ73A,73B,83A,83Bのデータが同一となった時点から、2つのコントローラ70,80による冗長化動作が可能となる。   Further, in the field control device shown in FIG. 4, since the data in the main memory also match, by making the data in all the main memories 73A, 73B, 83A, 83B in the two controllers 70, 80 the same, Redundant operation is possible. For example, when the controller 80 is additionally operated while the controller 70 is operating alone, the processor 71A and the processor 71B of the controller 70 read the data in the main memories 73A and 73B, and the communication device 74 and the communication device 84. To the main memories 83A and 83B. In this case, the data in the main memory 73A and the data in the main memory 83A match, and the data from all the main memories 73A, 73B, 83A, and 83B are the same by the two controllers 70 and 80. Redundant operation is possible.

本発明の目的は、命令の実行順序や出力されるデータの順序が異なるプロセッサを用いることができるフィールド制御装置を提供することにある。   An object of the present invention is to provide a field control apparatus that can use processors having different execution orders of instructions and output data.

本発明のフィールド制御装置は、同一処理を実行する第1のプロセッサおよび第2のプロセッサを備える第1のコントローラと、同一処理を実行する第3のプロセッサおよび第4のプロセッサを備える第2のコントローラと、により冗長化動作を実行するフィールド制御装置において、前記第1のコントローラには、前記第1のプロセッサのメインメモリとしての第1のメモリと、前記第2のプロセッサのメインメモリとしての第2のメモリと、が設けられ、前記第2のコントローラには、前記第3のプロセッサのメインメモリとしての第3のメモリと、前記第4のプロセッサのメインメモリとしての第4のメモリと、が設けられ、前記フィールド制御システムは、前記第2のコントローラの稼動開始時に、前記第1のメモリのデータを前記第3のメモリに転送する第1の転送手段と、前記第2のコントローラの稼動開始時に、前記第1のメモリのデータとは異なる前記第2のメモリのデータを前記第4のメモリに転送する第2の転送手段と、を備えることを特徴とする。
このフィールド制御装置によれば、前記第2のコントローラの稼動開始時に、第1のメモリのデータを第3のメモリに、第1のメモリのデータとは異なる第2のメモリのデータを第4のメモリに転送するので、命令の実行順序や出力されるデータの順序が異なるプロセッサを用いることができる。
The field control device according to the present invention includes a first controller including a first processor and a second processor that execute the same process, and a second controller including a third processor and a fourth processor that execute the same process. In the field control device that performs the redundancy operation, the first controller includes a first memory as a main memory of the first processor and a second memory as a main memory of the second processor. The second controller is provided with a third memory as a main memory of the third processor and a fourth memory as a main memory of the fourth processor. And the field control system stores the data in the first memory at the start of operation of the second controller. A first transfer means for transferring to the third memory and a second memory for transferring the second memory data different from the first memory data to the fourth memory at the start of operation of the second controller. 2 transfer means.
According to this field control device, at the start of operation of the second controller, the data in the first memory is transferred to the third memory, and the data in the second memory different from the data in the first memory is transferred to the fourth memory. Since the data is transferred to the memory, it is possible to use processors having different instruction execution orders and output data orders.

前記第1のコントローラは、第1のプロセッサおよび第2のプロセッサのデータのうち、外部への出力データのみを限定的に照合する照合器を具備し、前記第2のコントローラは、第3のプロセッサおよび第4のプロセッサのデータのうち、外部への出力データのみを限定的に照合する照合器を具備してもよい。   The first controller includes a collator that limitedly collates only output data to the outside of data of the first processor and the second processor, and the second controller includes a third processor. In addition, a collator that collates limitedly only the output data to the outside of the data of the fourth processor may be provided.

本発明のフィールド制御装置によれば、前記第2のコントローラの稼動開始時に、第1のメモリのデータを第3のメモリに、第1のメモリのデータとは異なる第2のメモリのデータを第4のメモリに転送するので、命令の実行順序や出力されるデータの順序が異なるプロセッサを用いることができる。   According to the field control device of the present invention, when the operation of the second controller is started, the first memory data is transferred to the third memory, and the second memory data different from the first memory data is transferred to the third memory. Therefore, it is possible to use processors having different instruction execution order and output data order.

以下、図1〜図3を参照して、本発明によるフィールド制御装置の一実施形態について説明する。   Hereinafter, an embodiment of a field control apparatus according to the present invention will be described with reference to FIGS.

図1は、本実施形態のフィールド制御装置の構成を示すブロック図である。このフィールド制御装置は、プラントに設置されたフィールド機器についてデータ処理を実行することで、フィールド機器を制御するための装置である。   FIG. 1 is a block diagram showing the configuration of the field control apparatus of this embodiment. This field control device is a device for controlling a field device by executing data processing on the field device installed in the plant.

図1に示すように、本実施形態のフィールド制御装置は、同一処理を並行して実行するコントローラ10と、コントローラ20とを備える。   As shown in FIG. 1, the field control device of this embodiment includes a controller 10 that executes the same processing in parallel, and a controller 20.

コントローラ10は、一対のプロセッサ11Aおよびプロセッサ11Bと、一対のインタフェースコントローラ12Aおよびインタフェースコントローラ12Bと、一対のメインメモリ13Aおよびメインメモリ13Bと、転送手段としての一対の通信装置14Aおよび通信装置14Bと、外部入出力装置15と、照合器16と、を備える。   The controller 10 includes a pair of processors 11A and 11B, a pair of interface controllers 12A and 12B, a pair of main memory 13A and main memory 13B, a pair of communication devices 14A and 14B as transfer means, An external input / output device 15 and a collator 16 are provided.

インタフェース12A、メモリ13Aおよび通信装置14Aは、プロセッサ11Aに対する専用の構成要素として、インタフェース12B、メモリ13Bおよび通信装置14Bは、プロセッサ11Bに対応する専用の構成要素として、それぞれ設けられている。   The interface 12A, the memory 13A, and the communication device 14A are provided as dedicated components for the processor 11A, and the interface 12B, the memory 13B, and the communication device 14B are provided as dedicated components corresponding to the processor 11B.

照合器16は、外部入出力装置15への出力データのみに限定して、プロセッサ11Aおよびプロセッサ11Bのデータを照合する。   The collator 16 collates the data of the processor 11A and the processor 11B only for the output data to the external input / output device 15.

プロセッサ11Aはインタフェースコントローラ12Aを介してメインメモリ13Aにアクセスしながら動作を実行する。一方、プロセッサ11Bはインタフェースコントローラ12Bを介してメインメモリ13Bにアクセスしながら動作を実行する。   The processor 11A executes an operation while accessing the main memory 13A via the interface controller 12A. On the other hand, the processor 11B executes an operation while accessing the main memory 13B via the interface controller 12B.

プロセッサ11Aおよびプロセッサ11Bには、外部入出力装置15を介して同一データが与えられ、プロセッサ11Aおよびプロセッサ11Bは同一演算処理をそれぞれ独立して実行する。ただし、プロセッサ11Aおよびプロセッサ11Bの内部における命令の実行順序は同一ではなく、データの出力の順序も異なる。しかし、上記のように照合器16は、最終的に外部入出力装置15へ出力されるデータのみを照合するため、処理が正常に実行されていれば、個々の処理のタイミングが異なっていても異常が誤検出されることはない。   The same data is given to the processor 11A and the processor 11B via the external input / output device 15, and the processor 11A and the processor 11B independently execute the same arithmetic processing. However, the execution order of instructions in the processor 11A and the processor 11B is not the same, and the data output order is also different. However, since the collator 16 collates only the data finally output to the external input / output device 15 as described above, the timing of each process may be different as long as the process is executed normally. Anomalies are never falsely detected.

同様に、コントローラ20は、一対のプロセッサ21Aおよびプロセッサ21Bと、一対のインタフェースコントローラ22Aおよびインタフェースコントローラ22Bと、一対のメインメモリ23Aおよびメインメモリ23Bと、一対の通信装置24Aおよび通信装置24Bと、外部入出力装置25と、照合器26と、を備える。   Similarly, the controller 20 includes a pair of processors 21A and 21B, a pair of interface controllers 22A and 22B, a pair of main memory 23A and main memory 23B, a pair of communication devices 24A and 24B, An input / output device 25 and a collator 26 are provided.

インタフェース22A、メモリ23Aおよび通信装置24Aは、プロセッサ21Aに対する専用の構成要素として、インタフェース22B、メモリ23Bおよび通信装置24Bは、プロセッサ21Bに対応する専用の構成要素として、それぞれ設けられている。   The interface 22A, the memory 23A, and the communication device 24A are provided as dedicated components for the processor 21A, and the interface 22B, the memory 23B, and the communication device 24B are provided as dedicated components corresponding to the processor 21B.

照合器26は、外部入出力装置25への出力データのみに限定して、プロセッサ21Aおよびプロセッサ21Bのデータを照合する。   The collator 26 collates the data of the processor 21A and the processor 21B only for the output data to the external input / output device 25.

プロセッサ21Aはインタフェースコントローラ22Aを介してメインメモリ23Aにアクセスしながら動作を実行する。一方、プロセッサ21Bはインタフェースコントローラ22Bを介してメインメモリ23Bにアクセスしながら動作を実行する。   The processor 21A executes an operation while accessing the main memory 23A via the interface controller 22A. On the other hand, the processor 21B executes an operation while accessing the main memory 23B via the interface controller 22B.

プロセッサ21Aおよびプロセッサ21Bには、外部入出力装置25を介して同一データが与えられ、プロセッサ21Aおよびプロセッサ21Bは同一演算処理をそれぞれ独立して実行する。ただし、プロセッサ21Aおよびプロセッサ21Bの内部における命令の実行順序は同一ではなく、データの出力の順序も異なる。しかし、上記のように照合器26は、最終的に外部入出力装置25へ出力されるデータのみを照合するため、処理が正常に実行されていれば、個々の処理のタイミングが異なっていても異常が誤検出されることはない。   The same data is given to the processor 21A and the processor 21B via the external input / output device 25, and the processor 21A and the processor 21B independently execute the same arithmetic processing. However, the execution order of instructions in the processor 21A and the processor 21B is not the same, and the data output order is also different. However, as described above, the collator 26 collates only the data that is finally output to the external input / output device 25. Therefore, if the processing is normally executed, the timing of each processing may be different. Anomalies are never falsely detected.

2つのインタフェースコントローラ22Aおよびインタフェースコントローラ22Bには、外部入出力装置15および外部入出力装置25を介して、同一のデータが与えられる。このため、コントローラ10およびコントローラ20は、同一処理を並行して実行する冗長化動作を行うことができる。   The two interface controllers 22A and 22B are given the same data via the external input / output device 15 and the external input / output device 25. For this reason, the controller 10 and the controller 20 can perform a redundant operation for executing the same process in parallel.

次に、冗長化動作開始時の動作手順について説明する。   Next, an operation procedure at the start of the redundancy operation will be described.

コントローラ10が単独で動作している間に、コントローラ20を追加動作させる場合、コントローラ10のプロセッサ11Aはメインメモリ13Aのデータをリードし、そのデータをコントローラ20のメインメモリ23Aにライトする。メインメモリ13Aのデータは、通信装置14A、コントローラ間通信バス18Aおよび通信装置24Aを介してメインメモリ23Aに転送される。また、データ転送中に発生するメインメモリ13Aへのライトデータは、通信装置14A、コントローラ間通信バス18Aおよび通信装置24Aを介して、直接メインメモリ23Aにライトされる。   When the controller 20 is additionally operated while the controller 10 is operating alone, the processor 11A of the controller 10 reads data from the main memory 13A and writes the data to the main memory 23A of the controller 20. Data in the main memory 13A is transferred to the main memory 23A via the communication device 14A, the inter-controller communication bus 18A, and the communication device 24A. Write data to the main memory 13A generated during data transfer is directly written to the main memory 23A via the communication device 14A, the inter-controller communication bus 18A, and the communication device 24A.

同様に、コントローラ10のプロセッサ11Bはメインメモリ13Bのデータをリードし、そのデータをコントローラ20のメインメモリ23Bにライトする。メインメモリ13Bのデータは、通信装置14B、コントローラ間通信バス18Bおよび通信装置24Bを介してメインメモリ23Bに転送される。また、データ転送中に発生するメインメモリ13Bへのライトデータは、通信装置14B、コントローラ間通信バス18Bおよび通信装置24Bを介して、直接メインメモリ23Bにライトされる。   Similarly, the processor 11B of the controller 10 reads data from the main memory 13B and writes the data to the main memory 23B of the controller 20. Data in the main memory 13B is transferred to the main memory 23B via the communication device 14B, the inter-controller communication bus 18B, and the communication device 24B. Write data to the main memory 13B generated during data transfer is directly written to the main memory 23B via the communication device 14B, the inter-controller communication bus 18B, and the communication device 24B.

このように、プロセッサ11Aおよびプロセッサ11Bは、それぞれ独自にメインメモリ13Aおよびメインメモリ13Bのデータをメインメモリ23Aおよびメインメモリ23Bにライトする。メインメモリ13Aおよびメインメモリ13Bのデータ間の照合は行われることがなく、プロセッサの動作タイミングの相違からデータ間に相違があってもその影響を受けることはない。   As described above, the processor 11A and the processor 11B independently write the data of the main memory 13A and the main memory 13B to the main memory 23A and the main memory 23B, respectively. There is no comparison between the data in the main memory 13A and the main memory 13B, and even if there is a difference between the data due to the difference in the operation timing of the processor, it is not affected.

以上の処理により、メインメモリ13Aとメインメモリ23Aのデータ、およびメインメモリ13Bとメインメモリ23Bのデータが一致するため、プロセッサ11Aとプロセッサ21A、およびプロセッサ11Bとプロセッサ21Bは、それぞれ等値化されたデータを用いて動作を継続、開始でき、冗長化動作が可能となる。   Through the above processing, the data in the main memory 13A and the main memory 23A, and the data in the main memory 13B and the main memory 23B match, so that the processor 11A and the processor 21A and the processor 11B and the processor 21B are equalized. The operation can be continued and started using the data, and a redundant operation is possible.

以上説明したように、本実施形態のフィールド制御装置では、外部入出力装置15,25を介して外部に出力されるデータ間の照合のみを行うので、コントローラ内部でのプロセッサ動作に制約が生じない。したがって、プロセッサにおける命令の実行順序やデータの出力順序などに影響されることがなく、コントローラ内の誤動作検出を行いながらの動作が可能となる。   As described above, in the field control device of the present embodiment, only the collation between the data output to the outside through the external input / output devices 15 and 25 is performed, so that there is no restriction on the processor operation inside the controller. . Therefore, it is possible to perform an operation while detecting a malfunction in the controller without being affected by the instruction execution order and data output order in the processor.

また、プロセッサごとに冗長化に必要なデータの等値化処理を実行するので、命令の実行順序やデータの出力順序が固定されないプロセッサを使用した場合でも冗長化動作を確保することができる。   Further, since the data equalization processing necessary for redundancy is executed for each processor, the redundancy operation can be ensured even when a processor whose instruction execution order and data output order are not fixed is used.

図2は、1つのコントローラに2つの異なる種類のプロセッサを設けた場合の構成を示すブロック図である。   FIG. 2 is a block diagram showing a configuration when two different types of processors are provided in one controller.

コントローラ30は、種類の異なるプロセッサ31Aおよびプロセッサ31Bと、インタフェースコントローラ32Aおよびインタフェースコントローラ32Bと、メインメモリ33Aおよびメインメモリ33Bと、転送手段としての通信装置34Aおよび通信装置34Bと、外部入出力装置35と、照合器36と、を備える。   The controller 30 includes different types of processors 31A and 31B, an interface controller 32A and an interface controller 32B, a main memory 33A and a main memory 33B, a communication device 34A and a communication device 34B as transfer means, and an external input / output device 35. And a collator 36.

インタフェース32A、メモリ33Aおよび通信装置34Aは、プロセッサ31Aに対する専用の構成要素として、インタフェース32B、メモリ33Bおよび通信装置34Bは、プロセッサ31Bに対応する専用の構成要素として、それぞれ設けられている。   The interface 32A, the memory 33A, and the communication device 34A are provided as dedicated components for the processor 31A, and the interface 32B, the memory 33B, and the communication device 34B are provided as dedicated components corresponding to the processor 31B.

照合器36は、外部入出力装置35への出力データのみに限定して、プロセッサ31Aおよびプロセッサ31Bのデータを照合する。   The collator 36 collates the data of the processor 31A and the processor 31B only for the output data to the external input / output device 35.

プロセッサ31Aはインタフェースコントローラ32Aを介してメインメモリ33Aにアクセスしながら動作を実行する。一方、プロセッサ31Bはインタフェースコントローラ32Bを介してメインメモリ33Bにアクセスしながら動作を実行する。   The processor 31A executes an operation while accessing the main memory 33A via the interface controller 32A. On the other hand, the processor 31B executes an operation while accessing the main memory 33B via the interface controller 32B.

プロセッサ31Aおよびプロセッサ31Bには、外部入出力装置35を介して同一データが与えられ、プロセッサ31Aおよびプロセッサ31Bは同一演算処理をそれぞれ独立して実行する。ただし、プロセッサ31Aおよびプロセッサ31Bはプロセッサの種類が互いに異なっており、内部における命令の実行手順や実行順序は同一ではなく、データの出力の順序も異なる。しかし、上記のように照合器36は、最終的に外部入出力装置35へ出力されるデータのみを照合するため、処理が正常に実行されていれば、個々の処理の手順やタイミングが異なっていても異常が誤検出されることはない。   The same data is given to the processor 31A and the processor 31B via the external input / output device 35, and the processor 31A and the processor 31B independently execute the same arithmetic processing. However, the processor 31A and the processor 31B are different from each other in the processor type, the instruction execution procedure and execution order in the inside are not the same, and the data output order is also different. However, as described above, the collator 36 collates only the data finally output to the external input / output device 35. Therefore, if the process is normally executed, the procedure and timing of each process are different. However, no abnormality is erroneously detected.

同様に、コントローラ40は、種類の異なるプロセッサ41Aおよびプロセッサ41Bと、インタフェースコントローラ42Aおよびインタフェースコントローラ42Bと、メインメモリ43Aおよびメインメモリ43Bと、通信装置44Aおよび通信装置44Bと、外部入出力装置45と、照合器46と、を備える。プロセッサ41Aはプロセッサ31Aと同一種類であり、プロセッサ41Bはプロセッサ31Bと同一種類である。   Similarly, the controller 40 includes different types of processors 41A and 41B, an interface controller 42A and an interface controller 42B, a main memory 43A and a main memory 43B, a communication device 44A and a communication device 44B, and an external input / output device 45. And a collator 46. The processor 41A is the same type as the processor 31A, and the processor 41B is the same type as the processor 31B.

インタフェース42A、メモリ43Aおよび通信装置44Aは、プロセッサ41Aに対する専用の構成要素として、インタフェース42B、メモリ43Bおよび通信装置44Bは、プロセッサ41Bに対応する専用の構成要素として、それぞれ設けられている。   The interface 42A, the memory 43A, and the communication device 44A are provided as dedicated components for the processor 41A, and the interface 42B, the memory 43B, and the communication device 44B are provided as dedicated components corresponding to the processor 41B.

照合器46は、外部入出力装置45への出力データのみに限定して、プロセッサ41Aおよびプロセッサ41Bのデータを照合する。   The collator 46 collates the data of the processor 41A and the processor 41B only for the output data to the external input / output device 45.

プロセッサ41Aはインタフェースコントローラ42Aを介してメインメモリ43Aにアクセスしながら動作を実行する。一方、プロセッサ41Bはインタフェースコントローラ42Bを介してメインメモリ43Bにアクセスしながら動作を実行する。   The processor 41A executes an operation while accessing the main memory 43A via the interface controller 42A. On the other hand, the processor 41B executes an operation while accessing the main memory 43B via the interface controller 42B.

プロセッサ41Aおよびプロセッサ41Bには、外部入出力装置45を介して同一データが与えられ、プロセッサ41Aおよびプロセッサ41Bは同一演算処理をそれぞれ独立して実行する。ただし、プロセッサ41Aおよびプロセッサ41Bはプロセッサの種類が互いに異なっており、内部における命令の実行手順や実行順序は同一ではなく、データの出力の順序も異なる。しかし、上記のように照合器46は、最終的に外部入出力装置45へ出力されるデータのみを照合するため、処理が正常に実行されていれば、個々の処理の手順やタイミングが異なっていても異常が誤検出されることはない。   The same data is given to the processor 41A and the processor 41B via the external input / output device 45, and the processor 41A and the processor 41B independently execute the same arithmetic processing. However, the processor 41A and the processor 41B are different from each other in the type of processor, the instruction execution procedure and execution order in the inside are not the same, and the data output order is also different. However, as described above, the collator 46 collates only the data that is finally output to the external input / output device 45. Therefore, if the process is normally executed, the procedure and timing of each process differ. However, no abnormality is erroneously detected.

次に、冗長化動作開始時の動作手順について説明する。   Next, an operation procedure at the start of the redundancy operation will be described.

コントローラ30が単独で動作している間に、コントローラ40を追加動作させる場合、コントローラ30のプロセッサ31Aはメインメモリ33Aのデータをリードし、そのデータをコントローラ40のメインメモリ43Aにライトする。メインメモリ33Aのデータは、通信装置34A、コントローラ間通信バス38Aおよび通信装置44Aを介してメインメモリ43Aに転送される。また、データ転送中に発生するメインメモリ33Aへのライトデータは、通信装置34A、コントローラ間通信バス38Aおよび通信装置44Aを介して、直接メインメモリ43Aにライトされる。   When the controller 40 is additionally operated while the controller 30 is operating alone, the processor 31A of the controller 30 reads data in the main memory 33A and writes the data to the main memory 43A of the controller 40. Data in the main memory 33A is transferred to the main memory 43A via the communication device 34A, the inter-controller communication bus 38A, and the communication device 44A. Write data to the main memory 33A generated during data transfer is directly written to the main memory 43A via the communication device 34A, the inter-controller communication bus 38A, and the communication device 44A.

同様に、コントローラ30のプロセッサ31Bはメインメモリ33Bのデータをリードし、そのデータをコントローラ40のメインメモリ43Bにライトする。メインメモリ33Bのデータは、通信装置34B、コントローラ間通信バス38Bおよび通信装置44Bを介してメインメモリ43Bに転送される。また、データ転送中に発生するメインメモリ33Bへのライトデータは、通信装置34B、コントローラ間通信バス38Bおよび通信装置44Bを介して、直接メインメモリ43Bにライトされる。   Similarly, the processor 31B of the controller 30 reads data from the main memory 33B and writes the data to the main memory 43B of the controller 40. Data in the main memory 33B is transferred to the main memory 43B via the communication device 34B, the inter-controller communication bus 38B, and the communication device 44B. Write data to the main memory 33B generated during data transfer is directly written to the main memory 43B via the communication device 34B, the inter-controller communication bus 38B, and the communication device 44B.

このように、プロセッサ31Aおよびプロセッサ31Bは、それぞれ独自にメインメモリ33Aおよびメインメモリ33Bのデータをメインメモリ43Aおよびメインメモリ43Bにライトする。メインメモリ33Aおよびメインメモリ33Bのデータ間の照合は行われることがなく、プロセッサの動作タイミングの相違からデータ間に相違があってもその影響を受けることはない。   In this manner, the processor 31A and the processor 31B independently write the data in the main memory 33A and the main memory 33B to the main memory 43A and the main memory 43B, respectively. There is no comparison between the data in the main memory 33A and the main memory 33B, and even if there is a difference between the data due to the difference in the operation timing of the processor, it is not affected.

以上の処理により、メインメモリ33Aとメインメモリ43Aのデータ、およびメインメモリ33Bとメインメモリ43Bのデータが一致するため、プロセッサ31Aとプロセッサ41A、およびプロセッサ31Bとプロセッサ41Bは、それぞれ等値化されたデータを用いて動作を継続、開始でき、冗長化動作が可能となる。   Through the above processing, the data in the main memory 33A and the main memory 43A, and the data in the main memory 33B and the main memory 43B match, so that the processor 31A and the processor 41A, and the processor 31B and the processor 41B are equalized, respectively. The operation can be continued and started using the data, and a redundant operation is possible.

このように、プロセッサごとに冗長化に必要なデータの等値化処理を実行するので、コントローラ内で種類の異なる複数のプロセッサを使用した場合でも、冗長化動作を確保することができる。   As described above, since the data equalization processing necessary for redundancy is executed for each processor, the redundancy operation can be ensured even when a plurality of different types of processors are used in the controller.

また、プロセッサの種類は同一であって動作設定が異なる場合にも、同様の構成を採ることができる。この場合、それぞれのプロセッサのプログラムを、対応するメインメモリ上に置くことで、それぞれのプロセッサの動作設定を独立して定めることができる。   The same configuration can be adopted even when the processor types are the same and the operation settings are different. In this case, by placing the programs of the respective processors on the corresponding main memory, the operation settings of the respective processors can be determined independently.

図3は、1つのコントローラに3つのプロセッサを設けた構成例を示すブロック図である。   FIG. 3 is a block diagram illustrating a configuration example in which three processors are provided in one controller.

図3に示すように、コントローラ50は、プロセッサ51A、プロセッサ51Bおよびプロセッサ51Cを備える。また、プロセッサ51Aに対応してインタフェースコントローラ52A、メインメモリ53Aおよび転送手段としての通信装置54Aが、プロセッサ51Bに対応してインタフェースコントローラ52B、メインメモリ53Bおよび転送手段としての通信装置54Bが、プロセッサ51Cに対応してインタフェースコントローラ52C、メインメモリ53Cおよび通信装置54Cが、それぞれ設けられている。   As shown in FIG. 3, the controller 50 includes a processor 51A, a processor 51B, and a processor 51C. Further, the interface controller 52A, the main memory 53A, and the communication device 54A as transfer means correspond to the processor 51A, and the interface controller 52B, the main memory 53B, and the communication device 54B as transfer means correspond to the processor 51B, the processor 51C. Corresponding to the interface controller 52C, the main memory 53C, and the communication device 54C.

照合器56は、外部出力装置55への出力データのみに限定して、プロセッサ51A、プロセッサ51Bおよびプロセッサ51Cのデータを照合する。データセレクタ57は使用するデータを選択する。   The collator 56 collates the data of the processor 51A, the processor 51B, and the processor 51C only for the output data to the external output device 55. The data selector 57 selects data to be used.

同様に、コントローラ60は、プロセッサ61A、プロセッサ61Bおよびプロセッサ61Cを備える。また、プロセッサ61Aに対応してインタフェースコントローラ62A、メインメモリ63Aおよび通信装置64Aが、プロセッサ61Bに対応してインタフェースコントローラ62B、メインメモリ63Bおよび通信装置64Bが、プロセッサ61Cに対応してインタフェースコントローラ62C、メインメモリ63Cおよび通信装置64Cが、それぞれ設けられている。   Similarly, the controller 60 includes a processor 61A, a processor 61B, and a processor 61C. The interface controller 62A, the main memory 63A, and the communication device 64A correspond to the processor 61A, the interface controller 62B, the main memory 63B, and the communication device 64B correspond to the processor 61B, and the interface controller 62C, A main memory 63C and a communication device 64C are provided.

照合器66は、外部出力装置65への出力データのみに限定して、プロセッサ61A、プロセッサ61Bおよびプロセッサ61Cのデータを照合する。データセレクタ67は使用するデータを選択する。   The collator 66 collates the data of the processor 61A, the processor 61B, and the processor 61C only for the output data to the external output device 65. The data selector 67 selects data to be used.

次に、冗長化動作開始時の動作手順について説明する。   Next, an operation procedure at the start of the redundancy operation will be described.

コントローラ50が単独で動作している間に、コントローラ60を追加動作させる場合、コントローラ50のプロセッサ51Aはメインメモリ53Aのデータをリードし、そのデータをコントローラ60のメインメモリ63Aにライトする。メインメモリ63Aのデータは、通信装置54Aおよび通信装置64Aを介してメインメモリ63Aに転送される。また、データ転送中に発生するメインメモリ53Aへのライトデータは、通信装置54A、および通信装置64Aを介して、直接メインメモリ63Aにライトされる。   When the controller 60 is additionally operated while the controller 50 is operating alone, the processor 51A of the controller 50 reads data from the main memory 53A and writes the data to the main memory 63A of the controller 60. Data in the main memory 63A is transferred to the main memory 63A via the communication device 54A and the communication device 64A. Write data to the main memory 53A generated during data transfer is directly written to the main memory 63A via the communication device 54A and the communication device 64A.

同様に、コントローラ50のプロセッサ51Bはメインメモリ53Bのデータをリードし、そのデータをコントローラ60のメインメモリ63Bにライトする。メインメモリ63Bのデータは、通信装置54Bおよび通信装置64Bを介してメインメモリ63Bに転送される。また、データ転送中に発生するメインメモリ53Bへのライトデータは、通信装置54B、および通信装置64Bを介して、直接メインメモリ63Bにライトされる。   Similarly, the processor 51B of the controller 50 reads data from the main memory 53B and writes the data to the main memory 63B of the controller 60. Data in the main memory 63B is transferred to the main memory 63B via the communication device 54B and the communication device 64B. The write data to the main memory 53B generated during the data transfer is directly written into the main memory 63B via the communication device 54B and the communication device 64B.

また、コントローラ50のプロセッサ51Cはメインメモリ53Cのデータをリードし、そのデータをコントローラ60のメインメモリ63Cにライトする。メインメモリ63Cのデータは、通信装置54Cおよび通信装置64Cを介してメインメモリ63Cに転送される。また、データ転送中に発生するメインメモリ53Cへのライトデータは、通信装置54C、および通信装置64Cを介して、直接メインメモリ63Cにライトされる。   Further, the processor 51C of the controller 50 reads data in the main memory 53C and writes the data to the main memory 63C of the controller 60. Data in the main memory 63C is transferred to the main memory 63C via the communication device 54C and the communication device 64C. The write data to the main memory 53C generated during the data transfer is directly written to the main memory 63C via the communication device 54C and the communication device 64C.

このように、各プロセッサBは、それぞれ独自にメインメモリのデータを転送し、データ間の照合は行われない。このため、プロセッサの動作タイミングの相違などからデータ間に相違があってもその影響を受けることはない。   In this way, each processor B independently transfers the data in the main memory, and no collation is performed between the data. Therefore, even if there is a difference between the data due to a difference in the operation timing of the processor, it is not affected.

3つ以上のプロセッサをコントローラ内に設ける場合にも、プロセッサの種類を複数としてもよいし、プロセッサの動作設定を複数用いてもよい。この場合、すべてのプロセッサの出力データが完全に一致しなくても、複数のプロセッサの出力データが一致する場合には、その一致している出力データを正しいと判断し、外部出力装置へ出力する機能を照合器に追加してもよい。特定のノイズ、クロストークあるいは温度変動などによる一時的に誤作動するような種類のプロセッサや動作設定があったとしても、すべてのプロセッサが同時に誤作動することはないため、継続運転が可能となる。   When three or more processors are provided in the controller, a plurality of processor types may be used, or a plurality of processor operation settings may be used. In this case, even if the output data of all the processors do not completely match, if the output data of a plurality of processors match, it is determined that the matching output data is correct and is output to the external output device. Functions may be added to the collator. Even if there are processor types or operation settings that temporarily malfunction due to specific noise, crosstalk or temperature fluctuations, all processors will not malfunction at the same time, allowing continuous operation. .

以上説明したように、本発明のフィールド制御装置によれば、プロセッサに対応するメインメモリのデータを独立して転送するので、命令の実行順序や出力されるデータの順序が異なるプロセッサを用いることができる。また、プロセッサのデータのうち、外部に出力されるデータのみを照合することで、データの誤出力を防止することができる。   As described above, according to the field control apparatus of the present invention, since the data in the main memory corresponding to the processor is transferred independently, it is possible to use processors having different instruction execution order and output data order. it can. In addition, it is possible to prevent erroneous output of data by collating only data output to the outside of the processor data.

本発明の適用範囲は上記実施形態に限定されることはない。本発明は、同一処理を実行する2つのプロセッサをそれぞれ備える2つのコントローラにより冗長化動作を実行するフィールド制御装置に対し、広く適用することができる。   The scope of application of the present invention is not limited to the above embodiment. The present invention can be widely applied to a field control apparatus that performs a redundant operation by two controllers each including two processors that execute the same processing.

本実施形態のフィールド制御装置の構成を示すブロック図。The block diagram which shows the structure of the field control apparatus of this embodiment. 1つのコントローラに2つの異なる種類のプロセッサを設けた場合の構成を示すブロック図。The block diagram which shows the structure at the time of providing two different types of processors in one controller. 1つのコントローラに3つのプロセッサを設けた構成例を示すブロック図。The block diagram which shows the structural example which provided the three processors in one controller. 従来のフィールド制御装置の構成を示すブロック図。The block diagram which shows the structure of the conventional field control apparatus.

符号の説明Explanation of symbols

13A,33A,53A メインメモリ(第1のメモリ)
13B,33B,53B メインメモリ(第2のメモリ)
23A,43A,63A メインメモリ(第3のメモリ)
23B,43B,64B メインメモリ(第4のメモリ)
14A,14B,24A,24B,34A,34B,44A,44B,54A,54B,54C,64A,64B,64C 転送装置(第1の転送手段、第2の転送手段)
13A, 33A, 53A Main memory (first memory)
13B, 33B, 53B Main memory (second memory)
23A, 43A, 63A Main memory (third memory)
23B, 43B, 64B main memory (fourth memory)
14A, 14B, 24A, 24B, 34A, 34B, 44A, 44B, 54A, 54B, 54C, 64A, 64B, 64C Transfer device (first transfer means, second transfer means)

Claims (2)

同一処理を実行する第1のプロセッサおよび第2のプロセッサを備える第1のコントローラと、同一処理を実行する第3のプロセッサおよび第4のプロセッサを備える第2のコントローラと、により冗長化動作を実行するフィールド制御装置において、
前記第1のコントローラには、前記第1のプロセッサのメインメモリとしての第1のメモリと、前記第2のプロセッサのメインメモリとしての第2のメモリと、が設けられ、
前記第2のコントローラには、前記第3のプロセッサのメインメモリとしての第3のメモリと、前記第4のプロセッサのメインメモリとしての第4のメモリと、が設けられ、
前記フィールド制御システムは、
前記第2のコントローラの稼動開始時に、前記第1のメモリのデータを前記第3のメモリに転送する第1の転送手段と、
前記第2のコントローラの稼動開始時に、前記第1のメモリのデータとは異なる前記第2のメモリのデータを前記第4のメモリに転送する第2の転送手段と、
を備えることを特徴とするフィールド制御装置。
Redundancy operation is performed by a first controller including a first processor and a second processor that execute the same process, and a second controller including a third processor and a fourth processor that execute the same process In the field control device to
The first controller is provided with a first memory as a main memory of the first processor and a second memory as a main memory of the second processor,
The second controller is provided with a third memory as a main memory of the third processor and a fourth memory as a main memory of the fourth processor,
The field control system includes:
First transfer means for transferring data of the first memory to the third memory at the start of operation of the second controller;
Second transfer means for transferring data of the second memory different from the data of the first memory to the fourth memory at the start of operation of the second controller;
A field control apparatus comprising:
前記第1のコントローラは、第1のプロセッサおよび第2のプロセッサのデータのうち、外部への出力データのみを限定的に照合する照合器を具備し、
前記第2のコントローラは、第3のプロセッサおよび第4のプロセッサのデータのうち、外部への出力データのみを限定的に照合する照合器を具備することを特徴とする請求項1に記載のフィールド制御装置。
The first controller includes a collator that collates limitedly only output data to the outside among data of the first processor and the second processor,
2. The field according to claim 1, wherein the second controller includes a collator that collates limitedly only output data to the outside among data of the third processor and the fourth processor. Control device.
JP2006283905A 2006-10-18 2006-10-18 Field controller Pending JP2008102686A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006283905A JP2008102686A (en) 2006-10-18 2006-10-18 Field controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006283905A JP2008102686A (en) 2006-10-18 2006-10-18 Field controller

Publications (1)

Publication Number Publication Date
JP2008102686A true JP2008102686A (en) 2008-05-01

Family

ID=39436977

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006283905A Pending JP2008102686A (en) 2006-10-18 2006-10-18 Field controller

Country Status (1)

Country Link
JP (1) JP2008102686A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012043230A (en) * 2010-08-19 2012-03-01 Toshiba Corp Redundant control system and transmission method for computation data of the same

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6285345A (en) * 1985-08-01 1987-04-18 ハネウエル・インコーポレーテッド Automatic flight controller having several varied data processing channel
JPS63280339A (en) * 1987-05-12 1988-11-17 Nec Corp Data processor
JPH0820394A (en) * 1994-07-08 1996-01-23 Kawasaki Heavy Ind Ltd Digital flight control system
JPH11143729A (en) * 1997-11-07 1999-05-28 Nec Corp Fault tolerant computer
JP2001248789A (en) * 2000-03-06 2001-09-14 Natl Inst Of Industrial Safety Ministry Of Labour Safety verification system for extensive area
JP2001256070A (en) * 2000-03-13 2001-09-21 Yokogawa Electric Corp Redundant processor
JP2004318702A (en) * 2003-04-18 2004-11-11 Nec Corp Information processor
JP2006146320A (en) * 2004-11-16 2006-06-08 Yokogawa Electric Corp Duplex system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6285345A (en) * 1985-08-01 1987-04-18 ハネウエル・インコーポレーテッド Automatic flight controller having several varied data processing channel
JPS63280339A (en) * 1987-05-12 1988-11-17 Nec Corp Data processor
JPH0820394A (en) * 1994-07-08 1996-01-23 Kawasaki Heavy Ind Ltd Digital flight control system
JPH11143729A (en) * 1997-11-07 1999-05-28 Nec Corp Fault tolerant computer
JP2001248789A (en) * 2000-03-06 2001-09-14 Natl Inst Of Industrial Safety Ministry Of Labour Safety verification system for extensive area
JP2001256070A (en) * 2000-03-13 2001-09-21 Yokogawa Electric Corp Redundant processor
JP2004318702A (en) * 2003-04-18 2004-11-11 Nec Corp Information processor
JP2006146320A (en) * 2004-11-16 2006-06-08 Yokogawa Electric Corp Duplex system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012043230A (en) * 2010-08-19 2012-03-01 Toshiba Corp Redundant control system and transmission method for computation data of the same

Similar Documents

Publication Publication Date Title
JP4734003B2 (en) Soft error correction method, memory control device, and memory system
JP2006285631A (en) Duplex system
US7747897B2 (en) Method and apparatus for lockstep processing on a fixed-latency interconnect
JPS5932045A (en) Information processor
US20080046103A1 (en) Control apparatus with fast i/o function, and control method for control data thereof
JP2009187314A (en) Duplex controller system, cpu module, and program thereof
JP2008102686A (en) Field controller
JP4810488B2 (en) Duplex control apparatus and tracking method thereof
JP2008226111A (en) Duplication controller system and operation system controller
JP4117685B2 (en) Fault-tolerant computer and its bus selection control method
JP5227653B2 (en) Multiplexed computer system and processing method thereof
JP2002229811A (en) Control method of logical partition system
JP2007316986A (en) System lsi
JP6645467B2 (en) Microcomputer
JP2007323190A (en) Calculation control system for performing data communication and its communication method
JP5088566B2 (en) PLC with interrupt function
CN107423029B (en) Calculation unit
JPWO2006129356A1 (en) Information processing apparatus and error calculation detection method thereof
JP3481301B2 (en) Processor control unit
JP4747028B2 (en) Microprocessor, information processing method and program using the same
JP6302775B2 (en) Control device and control method thereof
JPH0498326A (en) Microprocessor
JPH0612292A (en) Microcomputer
JP2005215924A (en) Communication method for controller, and controller
JPS583013A (en) Channel controlling system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091014

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110526

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110622

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120216