JP2011198205A - Redundant system control system - Google Patents

Redundant system control system Download PDF

Info

Publication number
JP2011198205A
JP2011198205A JP2010065797A JP2010065797A JP2011198205A JP 2011198205 A JP2011198205 A JP 2011198205A JP 2010065797 A JP2010065797 A JP 2010065797A JP 2010065797 A JP2010065797 A JP 2010065797A JP 2011198205 A JP2011198205 A JP 2011198205A
Authority
JP
Japan
Prior art keywords
computer
processing
control
data
dual
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
JP2010065797A
Other languages
Japanese (ja)
Inventor
Tatsuya Sasaki
達也 佐々木
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.)
Railway Technical Research Institute
Original Assignee
Railway Technical Research Institute
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 Railway Technical Research Institute filed Critical Railway Technical Research Institute
Priority to JP2010065797A priority Critical patent/JP2011198205A/en
Publication of JP2011198205A publication Critical patent/JP2011198205A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a redundant system control system that reduces a cost, while securing safety for use in a control terminal of a railroad security device.SOLUTION: The redundant system control system 1 is constituted by connecting two computers with the same processing programs mounted thereon. The logical product of control outputs of computers in system A and system B is output to an apparatus to be controlled. Data is mutually transmitted/received between the system A and the system B computers, thereby to collate data held by one system with data transmitted from the other system in each system, and also to monitor whether the processing of the computer in each system is smoothly executed. When a failure is detected in either of the systems after the collation and monitoring, the processing is stopped, and the output to the apparatus to be controlled becomes a safe side.

Description

本発明は、鉄道の保安装置制御端末として利用可能な二重系制御システムに関する。   The present invention relates to a dual system control system that can be used as a railway safety device control terminal.

従来より、鉄道の保安装置制御端末においてはハードウエア及びソフトウエアを専用に開発し、高い安全性を確保していた。また、例えばプロセッサ及びその周辺を二重系として構成し、互いの系の動作を照合することにより誤動作の発生を防止していた。例えば、特許文献1には、プロセッサ、メモリ、リカバリメモリ、バスライン、デジタル入出力部、及び入出力部を二重系とし、各系に同一のソフトウエアを実装して、照合回路にて両系のデータをバスレベルで比較照合し、照合結果が一致する場合にのみ正常に稼動させ、照合結果が不一致のときは、プロセッサを停止させて誤動作を防ぐことが記載されている。
また、実装されるソフトウエア自体にバグがある場合は上述の照合回路にて不一致が検出されないため、特許文献2のように、プロセッサシステムの稼動状態を所定の判断基準を用いて診断する診断装置をプロセッサシステム外部に設けることが提案されている。
しかし、上述のような専用のハードウエア及びソフトウエアは、その開発及び導入に高額のコストが必要であった。また、装置に搭載される部品の製造が終了するなど保全のための部品管理が容易ではなかった。
Conventionally, railway safety equipment control terminals have been developed exclusively for hardware and software to ensure high safety. Further, for example, the processor and its periphery are configured as a dual system, and the occurrence of malfunctions is prevented by collating the operations of the systems. For example, in Patent Document 1, a processor, a memory, a recovery memory, a bus line, a digital input / output unit, and an input / output unit are dual systems, the same software is installed in each system, and both are verified by a verification circuit. It is described that system data is compared and collated at the bus level, and is normally operated only when the collation results match, and when the collation results do not match, the processor is stopped to prevent malfunction.
In addition, when the installed software itself has a bug, the above-described verification circuit does not detect a mismatch, and therefore, as in Patent Document 2, a diagnostic device that diagnoses the operating state of the processor system using a predetermined criterion Has been proposed to be provided outside the processor system.
However, the dedicated hardware and software as described above are expensive to develop and install. In addition, parts management for maintenance has not been easy, for example, production of parts to be mounted on the apparatus is finished.

一方、近年コンピュータの発達により、高性能なパーソナルコンピュータやオペレーションシステム(OS)が開発されており、各種装置の動作制御にパーソナルコンピュータを利用する例が知られている。   On the other hand, with the development of computers in recent years, high-performance personal computers and operation systems (OS) have been developed, and examples of using personal computers for operation control of various devices are known.

特開平5−189325号公報Japanese Patent Laid-Open No. 5-189325 特開2004−86795号公報JP 2004-86795 A

しかしながら、汎用のパーソナルコンピュータは複数の処理の輻輳によるメモリ不足や多数の割り込み処理による応答待ち等の諸要因により、意図しない動作をしたり、動作停止が起こることが懸念され、鉄道の保安装置の制御端末として利用することは長い間見送られていた。しかし汎用製品を導入する場合の問題点を洗い出し、これを解決できれば、安全性を確保しつつ、より低コストに鉄道の保安装置の制御端末を提供できるはずである。   However, general-purpose personal computers are concerned that unintended operation or operation stop may occur due to various factors such as memory shortage due to congestion of multiple processes and waiting for responses due to multiple interrupt processing. Use as a control terminal has been forgotten for a long time. However, if a problem in introducing a general-purpose product is identified and solved, it will be possible to provide a control terminal for a railway security device at a lower cost while ensuring safety.

本発明は、鉄道の保安装置の制御端末として利用するための安全性を確保しつつ、コストを低減することが可能な二重系制御システムを提供することを目的とする。   An object of the present invention is to provide a dual system control system capable of reducing the cost while ensuring safety for use as a control terminal of a railway security device.

前述した目的を達成するために第1の発明は、外部装置からデータを受信し、受信したデータを基に所定の処理プログラムに従って制御対象とする機器の制御情報を生成し、出力するコンピュータをA系及びB系にそれぞれ備えた二重系制御システムであって、前記A系のコンピュータと、前記B系のコンピュータとを互いに通信接続する接続手段と、前記A系にて生成された制御情報と前記B系にて生成された制御情報との論理積を前記制御対象とする機器に対して出力する論理積出力手段と、前記接続手段を介して、前記A系及び前記B系間で互いにデータを送受信し、各系において自系の保持するデータと他系から伝送されたデータとを照合する照合手段と、各系において自系のコンピュータの処理が円滑に実行されているか否かを監視する監視手段と、前記照合手段による照合の結果、前記A系及びB系のデータが不一致の場合、または前記監視手段による監視の結果、いずれかの系において処理が円滑に実行されていないと判断された場合に、処理を停止し、前記制御対象とする機器への出力を安全側とする処理停止手段と、を備えることを特徴とする二重系制御システムである。   In order to achieve the above-described object, the first invention provides a computer that receives data from an external device, generates control information of a device to be controlled according to a predetermined processing program based on the received data, and outputs the control information. A dual system control system provided in each of the system B and the B system, wherein the A system computer and the B system computer are connected to each other by communication, control information generated in the A system, AND output means for outputting a logical product with the control information generated in the B system to the device to be controlled, and data between the A system and the B system via the connection means. The verification means for verifying the data held by the own system and the data transmitted from the other system in each system, and whether the processing of the own computer in each system is executed smoothly. If the data of the A system and the B system do not match as a result of the collation by the monitoring means and the collating means, or the result of the monitoring by the monitoring means, it is determined that the processing is not smoothly executed in any of the systems And a process stop means for stopping the process and setting the output to the device to be controlled as a safe side.

この二重系制御システムによれば、同一の処理プログラムを実装したコンピュータを2台接続して二重系制御システムを構成する。また、A系及びB系のコンピュータの制御出力の論理積を制御対象とする機器に出力する。また、接続手段を介して、A系及びB系間で互いにデータを送受信し、各系において自系の保持するデータと他系から伝送されたデータとを照合するとともに、各系において自系のコンピュータの処理が円滑に実行されているか否かを監視し、照合の結果、A系及びB系のデータが不一致の場合、または監視の結果、いずれかの系において処理が円滑に実行されていないと判断された場合に、処理を停止し、制御対象とする機器への出力を安全側とする。
従って、当該二重形制御システムをセルフチェックすることが可能となり、コンピュータを制御端末として利用する場合の安全性を確保できる。その結果、専用のハードウエア及びソフトウエアによらなくとも、汎用のコンピュータにて鉄道の保安装置の制御端末のような高い安全性が必要とされる装置を構成できるようになり、また汎用製品の導入による低コスト化が可能となる。
According to this dual system control system, two computers having the same processing program are connected to form a dual system control system. Further, the logical product of the control outputs of the A-system and B-system computers is output to the control target device. In addition, data is transmitted and received between the A system and the B system via the connection means, and the data held by the own system and the data transmitted from the other system are collated in each system. Monitors whether or not computer processing is smoothly executed, and if the result of collation is that the data of system A and system B do not match, or as a result of monitoring, processing is not executed smoothly in either system If it is determined, the process is stopped, and the output to the device to be controlled is set to the safe side.
Therefore, the dual control system can be self-checked, and safety when using the computer as a control terminal can be ensured. As a result, it is possible to configure a device that requires high safety, such as a control terminal for a railway security device, using a general-purpose computer without using dedicated hardware and software. Cost reduction by introduction is possible.

また、前記照合手段は、自系のコンピュータが前記外部装置から受信したデータと、他系のコンピュータが前記外部装置から受信したデータとを照合する第1照合手段と、自系のコンピュータにおいて実行される前記処理プログラムによる処理結果と他系のコンピュータにおいて実行される前記処理プログラムによる処理結果とを照合する第2照合手段と、自系の制御出力と自系に対して制御対象とする機器から入力された表示状態とを照合する第3照合手段と、自系の制御出力と他系に対して制御対象とする機器から入力された表示状態とを照合する第4照合手段と、他系の表示状態と自系の表示状態とを照合する第5照合手段と、のうち、少なくともいずれか一つを含むことが望ましい。
第1照合手段によれば外部装置から受信したデータの伝送エラーをチェックでき、第2照合手段によれば自系と他系においてそれぞれ実行される同一の処理プログラムの処理結果について整合性をチェックでき、第3照合手段によれば自系の出力した制御情報と自系に入力された機器の制御状態とを照合することによりインタフェース故障をチェックでき、第4照合手段によれば自系の出力した制御情報と他系に入力された機器の制御状態とを照合することによりインタフェース故障をチェックでき、第5照合手段によれば、自系と他系における表示状態を互いに確認して、インタフェース故障をチェックできる。
The collating means is executed in the first computer and the first computer for collating data received by the local computer from the external device with data received by the other computer from the external device. Second collating means for collating the processing result of the processing program with the processing result of the processing program executed in another computer, and input from the control output of the own system and the device to be controlled with respect to the own system Third collating means for collating the displayed display state, fourth collating means for collating the control output of the own system and the display state input from the device to be controlled with respect to the other system, and the display of the other system It is desirable that at least one of the fifth collating means for collating the state and the display state of the own system is included.
According to the first verification means, it is possible to check the transmission error of the data received from the external device, and according to the second verification means, it is possible to check the consistency of the processing results of the same processing program respectively executed in the own system and the other system. According to the third verification means, the interface failure can be checked by comparing the control information output by the own system with the control state of the device input to the own system, and the fourth verification means outputs the own system. The interface failure can be checked by collating the control information with the control state of the device input to the other system. According to the fifth collating means, the display state in the own system and the other system can be confirmed with each other, and the interface failure can be confirmed. Can check.

また、前記監視手段は、コンピュータに備えられるハードウエアタイマを用いて自系コンピュータの作動状態を監視する第1監視手段と、前記ハードウエアタイマの作動状態をソフトウエアにて監視する第2監視手段と、を備えることが望ましい。
これにより、各コンピュータの動作停止や応答待ち等の異常を確実に検出できる。
The monitoring means includes first monitoring means for monitoring the operating state of the local computer using a hardware timer provided in the computer, and second monitoring means for monitoring the operating state of the hardware timer by software. It is desirable to provide
As a result, it is possible to reliably detect abnormalities such as operation stop of each computer and waiting for a response.

また、前記A系コンピュータと前記B系コンピュータとで、異なるオペレーティングシステムを塔載することが望ましい。
これにより、オペレーティングシステムのバグによる同時誤りを検出でき、更に安全性を向上できる。
Further, it is desirable to mount different operating systems for the A-system computer and the B-system computer.
As a result, simultaneous errors due to operating system bugs can be detected, and safety can be further improved.

また、外部または他系から受信したデータの誤りを判定するデータ誤り判定手段と、前記データ誤り判定手段によりデータの誤りがあると判定された場合に、データの再送を送信元に要求する再送要求手段と、を更に備えることが望ましい。
これにより、データの伝送故障を検知でき、また再送要求を円滑に行なえるようになる。
A data error determining means for determining an error in data received from the outside or another system, and a retransmission request for requesting retransmission of data to the transmission source when the data error determining means determines that there is a data error And means.
As a result, a data transmission failure can be detected, and a retransmission request can be made smoothly.

また、前記処理プログラムが予め定められた順序どおりに実行されているか否かを判定する実行順序診断手段を更に備え、前記実行順序診断手段により前記処理プログラムの実行順序が誤っている場合は、前記処理停止手段によって、当該コンピュータにおける処理を停止し、前記制御対象とする機器への出力を安全側とすることが望ましい。
これにより、各コンピュータにて実行される処理プログラムが予想外の順序で処理を行っていないか確認できる。
In addition, it further includes an execution order diagnosis unit that determines whether or not the processing program is executed in a predetermined order, and when the execution order of the processing program is incorrect by the execution order diagnosis unit, It is desirable that the processing in the computer is stopped by the processing stop means so that the output to the control target device is on the safe side.
Thereby, it can be confirmed whether the processing program executed in each computer is processing in an unexpected order.

また、前記処理プログラムにて使用するメモリエリアについて、異常があるか否かを判定するメモリ診断を実行するメモリ診断手段を更に備え、メモリ診断手段によって前記メモリエリアに異常を検知した場合は、前記処理停止手段によって、当該コンピュータにおける処理を停止し、前記制御対象とする機器への出力を安全側とすることが望ましい。
これにより、定められているメモリエリアを超越するような意図しない動作に繋がる恐れのある事象を検出できる。
Further, the memory area used in the processing program further includes a memory diagnosis unit for executing a memory diagnosis for determining whether or not there is an abnormality, and when the memory diagnosis unit detects an abnormality in the memory area, It is desirable that the processing in the computer is stopped by the processing stop means so that the output to the control target device is on the safe side.
As a result, it is possible to detect an event that may lead to an unintended operation that exceeds a predetermined memory area.

また、各系のコンピュータにて前記外部装置から受信したデータをそれぞれリカバリ情報として記録するリカバリ情報記録手段と、前記処理停止手段による処理停止後、正常な系は異常が発生した系に対してリカバリを要求するリカバリ要求手段と、リカバリ要求を受けた前記異常が発生した系は、正常な系に記録されている前記リカバリ情報を取得し、取得したリカバリ情報に基づいて自系のコンピュータをリカバリ処理するリカバリ処理実行手段と、を備えることが望ましい。
これにより、異常検出による処理停止後、安全なリカバリを行なうことで、円滑な再立ち上げを行なって、制御システムの停止による支障を低減することが可能となる。
In addition, recovery information recording means for recording data received from the external device as recovery information in each system computer, and after the process is stopped by the process stop means, a normal system recovers from a system in which an abnormality has occurred. The recovery request means for requesting the recovery system, and the system in which the abnormality has occurred receiving the recovery request acquires the recovery information recorded in the normal system, and recovers the computer of the local system based on the acquired recovery information It is desirable to provide recovery processing executing means.
As a result, it is possible to perform a safe recovery after performing a process stop due to abnormality detection, thereby performing a smooth restart and reducing troubles due to the stop of the control system.

本発明の二重系制御システムによれば、鉄道の保安装置の制御端末としての安全性を確保しつつ、コストを低減することが可能となる。   According to the dual system control system of the present invention, it is possible to reduce the cost while ensuring the safety as the control terminal of the railway security device.

本発明に係る二重系制御システム1の装置構成を示すブロック図The block diagram which shows the apparatus structure of the dual-system control system 1 which concerns on this invention. 二重系制御システム1に使用されるコンピュータPC_A,PC_Bの内部構成を示すブロック図Block diagram showing the internal configuration of computers PC_A and PC_B used in the dual system control system 1 二重系制御システム1の各コンピュータPC_A,PC_Bにて実行される自己診断処理の流れを説明するフローチャートThe flowchart explaining the flow of the self-diagnosis process executed by each computer PC_A, PC_B of the dual system control system 1 照合処理の詳細な流れを説明するフローチャートFlowchart explaining the detailed flow of collation processing 二重系制御システム1の各コンピュータPC_A,PC_Bにて実行される自己診断処理のウォッチドッグタイマによる監視処理の流れを説明するフローチャートThe flowchart explaining the flow of the monitoring process by the watchdog timer of the self-diagnosis process executed by each computer PC_A, PC_B of the dual system control system 1 ウォッチドッグタイマによる監視処理を監視するソフトカウンタによる監視処理の流れを説明するフローチャートFlowchart explaining the flow of the monitoring process by the software counter that monitors the monitoring process by the watchdog timer 二重系制御システム1にて検出される異常状態の一覧List of abnormal states detected by the dual system control system 1 二重系制御システム1を各種鉄道保安装置の制御端末に利用した鉄道保安制御システム100の全体図Overall view of a railway security control system 100 using the dual system control system 1 as a control terminal for various railway security devices.

以下、図面に基づいて本発明の好適な実施形態について詳細に説明する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.

まず、図1及び図2を参照して、本発明に係る二重系制御システム1の構成について説明する。
図1は二重系制御システム1の装置構成を示すブロック図、図2は二重系制御システム1に使用されるコンピュータPC_A,PC_Bの内部構成を示すブロック図である。
本実施の形態では、一例として鉄道の転てつ機4の制御端末として、本発明に係る二重系制御システム1を利用する例を説明する。
First, with reference to FIG.1 and FIG.2, the structure of the dual-system control system 1 which concerns on this invention is demonstrated.
FIG. 1 is a block diagram showing an apparatus configuration of the dual system control system 1, and FIG. 2 is a block diagram showing an internal configuration of computers PC_A and PC_B used in the dual system control system 1.
In the present embodiment, as an example, an example in which the dual system control system 1 according to the present invention is used as a control terminal of a railway turning machine 4 will be described.

図1に示すように、本発明の二重系制御システム1は、2台のコンピュータPC_A,PC_Bが通信回線2によって接続されて構成される。各コンピュータPC_A,PC_Bには、それぞれ車上装置9との通信を行うための通信部18A,18Bが設けられる。以下、コンピュータPC_A及び通信部18Aを備えて構成される系をA系、コンピュータPC_B及び通信部18Bを備えて構成される系をB系と呼ぶ。
A系及びB系のコンピュータPC_A,PC_Bは、ともに汎用のパーソナルコンピュータが使用される。
通信回線2は2台のコンピュータPC_A,PC_Bを通信接続する回線であり、例えばLAN(Local Area Network)等により構成される。コンピュータPC_A,PC_B間の通信は確実に行なわれる必要があるため有線接続されることが望ましいが、無線で接続してもよい。
As shown in FIG. 1, the dual system control system 1 of the present invention is configured by connecting two computers PC_A and PC_B via a communication line 2. The computers PC_A and PC_B are provided with communication units 18A and 18B for communicating with the on-board device 9, respectively. Hereinafter, a system including the computer PC_A and the communication unit 18A is referred to as an A system, and a system including the computer PC_B and the communication unit 18B is referred to as a B system.
General-purpose personal computers are used as the A-system and B-system computers PC_A and PC_B.
The communication line 2 is a line for communication connection between two computers PC_A and PC_B, and is configured by, for example, a LAN (Local Area Network). Since communication between the computers PC_A and PC_B needs to be performed reliably, a wired connection is desirable, but a wireless connection may also be used.

また、図1に示すように、A系及びB系のコンピュータPC_A,PC_Bの出力(OUT_A1とOUT_B1、OUT_A2とOUT_B2)は、論理積演算回路7に入力され、論理積が演算され、演算結果が制御対象となる機器(例えば、転てつ機4)に出力される。すなわち、両系で一致する出力(制御情報)のみが制御対象となる機器に出力される。
図1に示す論理積演算回路7では、PC_Aからの出力OUT_A1とPC_Bからの出力OUT_B1との論理積が演算され、PC_Aからの出力OUT_A2とPC_Bからの出力OUT_B2との論理積が演算される。また、後述するウォッチドッグタイマ(WDT_A、WDT_B)からの出力も、上述の出力OUT_A1とOUT_B1、OUT_A2とOUT_B2との論理積が演算される。これにより、A系及びB系からの制御情報の出力タイミングの同期が取られるとともに、処理結果の一致が検査される。
Further, as shown in FIG. 1, the outputs (OUT_A1 and OUT_B1, OUT_A2 and OUT_B2) of the A and B computers PC_A and PC_B are input to the logical product operation circuit 7, the logical product is calculated, and the calculation result is calculated. It is output to a device to be controlled (for example, the switch 4). That is, only the output (control information) that matches in both systems is output to the device to be controlled.
In the AND operation circuit 7 shown in FIG. 1, the logical product of the output OUT_A1 from PC_A and the output OUT_B1 from PC_B is calculated, and the logical product of the output OUT_A2 from PC_A and the output OUT_B2 from PC_B is calculated. In addition, for outputs from watchdog timers (WDT_A, WDT_B) described later, the logical product of the outputs OUT_A1 and OUT_B1, and OUT_A2 and OUT_B2 is calculated. Thereby, the output timings of the control information from the A system and the B system are synchronized, and the processing results are checked for coincidence.

図1において、OUT_A1,OUT_A2はPC_Aから出力される制御情報で、それぞれ、例えば転てつ機4の定位側、反位側を表す。また、OUT_B1,OUT_B2はPC_Bから出力される制御情報で、それぞれ、例えば転てつ機4の定位側、反位側を表す。転てつ機4では常時開通している方向を定位という。
OUT_Nは、OUT_A1とOUT_B1との論理積とした結果、転てつ機4を定位側へ制御する信号であり、ONで制御となるものである。OUT_Rは、OUT_A2とOUT_B2との論理積とした結果、転てつ機4を反位側へ制御する信号であり、ONで制御となるものである。ただし、OUT_NとOUT_Rとが両方ともONとなる場合は異常とする。
NKR,RKRは、転てつ機4の制御状態を表す表示情報であり、NKRが定位側、RKRが反位側である。転てつ機4の表示情報NKR,RKRは、PC_A及びPC_Bに入力される。
WDT_AはPC_Aのウォッチドックタイマの出力であり、正常リレー8Aに接続される。WDT_BはPC_Bのウォッチドックタイマの出力であり、正常リレー8Bに接続される。
正常リレー8A,8Bはウォッチドックタイマの出力により作動し、異常が発生した場合はウォッチドックタイマの出力が停止して落下する。これにより、接点10A,10Bを接続または開放のいずれかの状態に作動させる。接点10A,10Bは異常が発生した場合、開放される。
In FIG. 1, OUT_A1 and OUT_A2 are control information output from PC_A, and represent, for example, the localization side and the reverse side of the switch 4 respectively. Further, OUT_B1 and OUT_B2 are control information output from the PC_B and represent, for example, the localization side and the inversion side of the switch 4 respectively. The direction that is always open in the turning machine 4 is called localization.
OUT_N is a signal for controlling the switch 4 to the localization side as a result of the logical product of OUT_A1 and OUT_B1, and is controlled when turned ON. OUT_R is a signal for controlling the switch 4 to the reverse side as a result of logical product of OUT_A2 and OUT_B2, and is controlled when turned ON. However, if both OUT_N and OUT_R are ON, it is considered abnormal.
NKR and RKR are display information indicating the control state of the switch 4, where NKR is the localization side and RKR is the inversion side. The display information NKR and RKR of the turning machine 4 is input to PC_A and PC_B.
WDT_A is the output of the watchdog timer of PC_A and is connected to the normal relay 8A. WDT_B is the output of the watchdog timer of PC_B and is connected to the normal relay 8B.
The normal relays 8A and 8B are operated by the output of the watchdog timer, and when an abnormality occurs, the output of the watchdog timer stops and falls. As a result, the contacts 10A and 10B are operated to either the connected state or the opened state. The contacts 10A and 10B are opened when an abnormality occurs.

図2に示すように、A系及びB系のコンピュータPC_A,PC_Bは、それぞれCPU(Central Processing Unit)11、ROM(Read Only Memory)12、RAM(Random Access Memory)13、入力部14、表示部15、記憶装置16、他系との通信部17、車上装置との通信部18、周辺機器I/F部19等がバス20を介して接続されて構成される。   As shown in FIG. 2, the A-system and B-system computers PC_A and PC_B include a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, an input unit 14, and a display unit, respectively. 15, a storage device 16, a communication unit 17 with another system, a communication unit 18 with an on-board device, a peripheral device I / F unit 19, and the like are connected via a bus 20.

CPU11は、ROM12、記憶装置16、記録媒体等に格納される処理プログラムをRAM13上のワークメモリ領域に呼び出して実行し、バス20を介して接続された各部を駆動制御する。本実施の形態において、CPU11は鉄道の保安装置(例えば、転てつ機4)の制御に関する処理プログラムの実行中、図3に示す自己診断処理を実行する。自己診断処理については後述する。   The CPU 11 calls and executes a processing program stored in the ROM 12, the storage device 16, a recording medium, and the like to a work memory area on the RAM 13, and drives and controls each unit connected via the bus 20. In the present embodiment, the CPU 11 executes the self-diagnosis process shown in FIG. 3 during the execution of the processing program relating to the control of the railway security device (for example, the turning machine 4). The self-diagnosis process will be described later.

ROM12は、コンピュータのブートプログラム、BIOS等の基本的なプログラム、データ等を恒久的に保持する。RAM13は、ロードしたプログラムやデータを一時的に保持するとともに、CPU11が各種処理を行うために使用するワークエリアを備える。   The ROM 12 permanently stores a computer boot program, basic programs such as BIOS, data, and the like. The RAM 13 temporarily holds the loaded program and data, and includes a work area used by the CPU 11 for performing various processes.

記憶装置16は、HDD(ハードディスクドライブ)等であり、コンピュータのOS(オペレーティングシステム)や各種アプリケーションプログラム、プログラム実行に必要なデータ等が格納されている。アプリケーションプログラムには、制御対象とする機器(例えば、転てつ機4)の制御に関する処理プログラム、図3〜図4に示す自己診断処理プログラム(照合処理を含む)、図5〜図6に示す作動状態監視プログラム等を含む。これらのプログラムに含まれる各プログラムコードは、CPU11により必要に応じて読み出されてRAM13に展開され、CPU11にて実行される。記憶装置16は、更に、フロッピー(登録商標)ディスク、CD、DVD、メモリカード等の各種記録メディアを駆動するドライブ装置や入出力装置を含むものとしてもよく、記録メディア内のデータの入出力を行う。   The storage device 16 is an HDD (hard disk drive) or the like, and stores a computer OS (operating system), various application programs, data necessary for program execution, and the like. The application program includes a processing program related to control of a device to be controlled (for example, the turning machine 4), a self-diagnosis processing program (including verification processing) shown in FIGS. 3 to 4, and shown in FIGS. Includes operating condition monitoring program. Each program code included in these programs is read by the CPU 11 as necessary, developed in the RAM 13, and executed by the CPU 11. The storage device 16 may further include a drive device and an input / output device for driving various recording media such as a floppy (registered trademark) disk, a CD, a DVD, and a memory card, and input / output data in the recording medium. Do.

なお、上述のアプリケーションプログラムのうち、制御対象とする機器(例えば、転てつ機4)の制御に関する処理プログラム、自己診断処理プログラム、作動状態監視プログラムに関しては、各系で同一のプログラムが塔載される。これは、同一の処理を各系で実行し、照合することでそれらの整合性を確認し、処理の異常を検知するためである。
また、オペレーティングシステムについては、各系で同一としてもよいし、異なるものとしてもよい。各系で異なるオペレーティングシステムを塔載する場合には、オペレーティングシステムのバグによる同時誤りを防止することができる。
Of the application programs described above, the same program is installed in each system for the processing program, the self-diagnosis processing program, and the operating state monitoring program related to the control of the device to be controlled (for example, the turning machine 4). Is done. This is because the same processing is executed in each system and the consistency is confirmed by collating the detected processing to detect a processing abnormality.
Further, the operating system may be the same in each system, or may be different. When different operating systems are installed in each system, simultaneous errors due to operating system bugs can be prevented.

入力部14は、例えば、キーボード、マウス等のポインティング・デバイス、テンキー等の入力装置であり、入力されたデータをCPU11へ出力する。
表示部15は、例えば液晶パネル、CRTモニタ等のディスプレイ装置と、ディスプレイ装置と連携して表示処理を実行するための論理回路で構成され、CPU11の制御により入力された表示情報をディスプレイ装置上に表示させる。
The input unit 14 is, for example, a keyboard, a pointing device such as a mouse, or an input device such as a numeric keypad, and outputs input data to the CPU 11.
The display unit 15 includes a display device such as a liquid crystal panel or a CRT monitor, and a logic circuit for executing display processing in cooperation with the display device. Display information input under the control of the CPU 11 is displayed on the display device. Display.

他系との通信部17は、通信制御装置、通信ポート等を有し、自系と他系と(A系及びB系)のデータ送受信を媒介する通信インタフェースである。
車上装置9との通信部18は、通信制御装置、通信ポート等を有し、車上制御装置9とのデータ送受信を媒介する通信インタフェースである。
周辺機器I/F部19は、周辺機器とのインタフェースである。例えば、制御対象とする機器(例えば、転てつ機4)とのインタフェースを含む。
The communication unit 17 with another system is a communication interface that has a communication control device, a communication port, and the like and mediates data transmission / reception between the own system and the other system (A system and B system).
The communication unit 18 with the on-board device 9 has a communication control device, a communication port, and the like, and is a communication interface that mediates data transmission / reception with the on-board control device 9.
The peripheral device I / F unit 19 is an interface with the peripheral device. For example, an interface with a device to be controlled (for example, the switch 4) is included.

次に、本発明の二重系制御システム1の自己診断について説明する。
本発明の二重系制御システム1では、当該二重系制御システム1自体の故障の検出を積極的に行い、誤った制御出力を防止するようにしている。
誤った制御出力の要因としては、以下のものが考えられる。
すなわち、誤った制御出力の要因は、大別すると(1)ソフトウエアによる誤りと、(2)ハードウエアによる誤りとなる。ソフトウエアによる誤りには、(1−1)メモリデータの誤り、(1−2)オペレーティングシステムのバグ、(1−3)アプリケーションのバグ、(1−4)アプリケーションのプログラム入力ミス、(1−5)アプリケーションのプログラム設計ミス等が含まれる。また、ハードウエアによる誤りには、(2−1)インタフェースの故障、(2−2)CPUの故障、(2−3)メモリ故障、(2−4)コンピュータの設計不良、(2−5)配線故障、(2−6)外来ノイズによる誤り等が含まれる。
Next, self-diagnosis of the dual system control system 1 of the present invention will be described.
In the dual system control system 1 of the present invention, the fault detection of the dual system control system 1 itself is positively performed to prevent erroneous control output.
Possible causes of erroneous control output are as follows.
That is, the cause of an erroneous control output is roughly classified into (1) software error and (2) hardware error. Software errors include (1-1) memory data error, (1-2) operating system bug, (1-3) application bug, (1-4) application program input error, (1- 5) Includes application program design mistakes. Hardware errors include (2-1) interface failure, (2-2) CPU failure, (2-3) memory failure, (2-4) computer design failure, and (2-5). Wiring failure, (2-6) errors due to external noise, etc. are included.

本発明の二重系制御システム1では、上述の要因を鑑みて異常な制御出力を防ぐとともに、処理プログラム実行中に自己診断を行うことにより故障の検出を行う。   In the dual system control system 1 of the present invention, an abnormal control output is prevented in view of the above-described factors, and a failure is detected by performing a self-diagnosis during execution of the processing program.

具体的には、まず、二重系制御システム1は、コンピュータを2台備えた二重系構成としている。また、A系とB系の各系から出力される制御情報(制御出力)の論理積演算回路7を備え、両系で不一致となる制御出力を破棄するようにしている。このような構成により、同一の被制御情報に対する処理結果を二重に生成して、A系とB系とで異なる処理結果を得た場合には、制御出力を行わず、安全側となる。   Specifically, first, the dual system control system 1 has a dual system configuration including two computers. In addition, a logical product operation circuit 7 of control information (control output) output from each of the A system and the B system is provided, and control outputs that are inconsistent in both systems are discarded. With such a configuration, when processing results for the same controlled information are generated twice and different processing results are obtained for the A system and the B system, the control output is not performed and the safety side is obtained.

また、A系とB系とで、保持するデータを互いに送受信し、ソフトウエアによる照合を行う。これにより、いずれかの系に異常があることを互いに検知できる。照合処理では、例えば、(1)自系のコンピュータが車上装置9から受信したデータ(被制御情報)と、他系のコンピュータが車上装置9から受信したデータ(被制御情報)との不一致(被制御情報不一致)、(2)自系及び他系のコンピュータにおける処理プログラムによる処理結果の不一致(制御出力の不一致)、(3)自系の制御出力と自系に対して制御対象とする機器から入力された表示状態との不一致(系内ループバック不一致)、(4)自系の制御出力と他系に対して制御対象とする機器から入力された表示状態との不一致(系間ループバック不一致)、(5)他系の表示状態と自系の表示状態との不一致(系間表示不一致)を検出する。   In addition, the A system and the B system transmit and receive data to and from each other and collate with software. Thereby, it can mutually detect that there exists abnormality in either system. In the verification process, for example, (1) mismatch between data (controlled information) received by the own computer from the onboard device 9 and data (controlled information) received by the other computer from the onboard device 9 (Controlled information inconsistency), (2) Inconsistency in processing results by processing programs in the own system and other computers (inconsistency in control output), (3) Control output for the own system and the own system Disagreement with the display state input from the device (intra-system loopback disagreement), (4) Disagreement between the control output of the own system and the display state input from the device to be controlled with respect to the other system (inter-system loop) Back mismatch), (5) A mismatch between the display status of the other system and the display status of the own system (inter-system display mismatch) is detected.

また、各系のコンピュータPC_A,PC_Bのハードウエアタイマカウンタをウォッチドッグタイマとして使用し、コンピュータの作動状態を監視するとともに、ウォッチドッグタイマの作動状態を更にソフトウエアカウンタにて監視する。これにより、いずれかの系のコンピュータの動作が異常に遅れたり、停止していることを互いに検知できる。   In addition, the hardware timer counter of each system computer PC_A, PC_B is used as a watchdog timer to monitor the operating state of the computer, and the operating state of the watchdog timer is further monitored by a software counter. Thereby, it can mutually detect that the operation | movement of the computer of either system is abnormally delayed or stopped.

また、上述の照合または監視の結果、いずれか一方の系のコンピュータにおける異常を他方の系のコンピュータにて検出した場合には、正常な系が異常となった系に対して再立ち上げの処理を指示する。各系では、正常な状態では常に被制御情報をリカバリ情報として記録しており、一方に異常が発生して再立ち上げを指示した場合には、互いの系にて保持しているリカバリ情報を照合することにより、異常が発生した時点を検出する。また、正常な系は異常な系に対して異常が発生した時点またはその周辺の時点でのリカバリ情報を送信する。異常が発生した系は、正常な系からリカバリ情報を受信して、リカバリ処理を開始する。リカバリ処理を開始する際、異常が発生した時点までの履歴を正常系と照合し、正常系において新たな被制御情報の受信が行われていないことを照査した上で安全な処理復旧を行う。   In addition, when an abnormality in the computer of one system is detected by the computer of the other system as a result of the above collation or monitoring, the process of restarting the normal system becomes abnormal Instruct. In each system, the controlled information is always recorded as recovery information in a normal state, and when an abnormality occurs on one side and a restart is instructed, the recovery information held in each other's system is recorded. By checking, the time when the abnormality occurs is detected. In addition, the normal system transmits recovery information at the time when the abnormality occurs or the time around the abnormal system. The system in which an abnormality has occurred receives recovery information from the normal system and starts recovery processing. When starting the recovery process, the history up to the point when the abnormality occurred is checked against the normal system, and the safe process is restored after checking that no new controlled information is received in the normal system.

また、各系のコンピュータPC_A,PC_Bは、搭載されている処理プログラムをシングルスレッドと呼ばれる逐次的な処理で実行するものとする。そして、当該処理プログラムが予め定められた順序どおりに実行されているか否かを判定する実行順序診断を、例えば処理プログラムの各モジュールの冒頭で行うことが望ましい。いずれかの系で実行順序が誤っていると診断された場合は、異常と見做し、処理を停止する。
また、更に、処理プログラムにて使用するRAM13のメモリエリア(プログラム領域)を、例えば検査符号等を用いて検査することが望ましい。いずれかの系でメモリが故障していると診断された場合は異常と見做し、処理を停止する。
The computers PC_A and PC_B of each system execute the installed processing program by sequential processing called single thread. Then, it is desirable to perform an execution order diagnosis for determining whether or not the processing program is executed in a predetermined order, for example, at the beginning of each module of the processing program. If it is diagnosed that the execution order is wrong in any of the systems, it is regarded as abnormal and the processing is stopped.
Furthermore, it is desirable to inspect the memory area (program area) of the RAM 13 used in the processing program using, for example, an inspection code. If any of the systems is diagnosed as having a memory failure, it is considered abnormal and processing is stopped.

二重系制御システム1では、上述の照合、監視、実行順序診断、及びメモリ診断のうちいずれか一つを実行するようにしてもよいし、これらの一部または全部を適宜組み合わせて実行するようにしてもよい。   In the dual system control system 1, any one of the above-described verification, monitoring, execution order diagnosis, and memory diagnosis may be executed, or a part or all of these may be executed in combination as appropriate. It may be.

次に図3〜図7を参照して、本発明の二重系制御システム1における処理の流れを説明する。
二重系制御システム1の各系のコンピュータPC_A,PC_Bは、それぞれ図3の処理プログラム実行時の自己診断処理、図4の照合処理、図5及び図6の監視処理を行なう。
まず、図3を参照して、全体の流れを説明する。
なお、図3の処理を実行するに際し、二重系制御システム1には、図1に示すように、車上装置9から定期的または非定期的に被制御情報が送信されているものとする。各時点で送信される各被制御情報には、それぞれ識別情報が付与されている。識別情報としては、例えば車上装置9が発行するシリアル番号等が採用される。二重系制御システム1の各系のコンピュータPC_A,PC_Bに送信され、各コンピュータPC_A,PC_BのCPU11によってそれぞれ同一の処理が施される。すなわち、二重系制御システム1では、各系のコンピュータPC_A,PC_Bにて受信した同一の被制御情報に基づいて、同一の処理プログラムがそれぞれ実行され、例えば転てつ機4等の制御対象とする機器についての制御情報(OUT_A1,OUT_A2、OUT_B1,OUT_B2)が生成される。各系からの制御出力(制御情報)は、論理積演算回路7に入力され、論理積の演算結果が転てつ機4に対して出力される。
Next, the flow of processing in the dual system control system 1 of the present invention will be described with reference to FIGS.
The computers PC_A and PC_B of each system of the dual system control system 1 perform the self-diagnosis process when executing the processing program of FIG. 3, the verification process of FIG. 4, and the monitoring processes of FIGS.
First, the overall flow will be described with reference to FIG.
3, it is assumed that controlled information is transmitted to the dual system control system 1 from the on-board device 9 periodically or irregularly as shown in FIG. . Identification information is given to each controlled information transmitted at each time point. As the identification information, for example, a serial number issued by the on-board device 9 is employed. It is transmitted to the computers PC_A and PC_B of each system of the dual system control system 1, and the same processing is performed by the CPU 11 of each computer PC_A and PC_B. That is, in the dual system control system 1, the same processing program is executed based on the same controlled information received by the computers PC_A and PC_B of each system. Control information (OUT_A1, OUT_A2, OUT_B1, OUT_B2) about the device to be generated is generated. The control output (control information) from each system is input to the logical product operation circuit 7, and the logical product operation result is output to the switch 4.

また、前提として、コンピュータPC_A,PC_BのCPU11は、電源を投入した時点からアプリケーション(処理プログラム)の動作開始までの間に、オペレーティングシステムの立ち上げ等を行うため処理時間を有する。この間については、以下説明する自己診断処理を実行することができない。そのため、まず、コンピュータは電源投入によりオペレーティングシステムの初期化処理実行後、コンピュータPC_A,PC_Bを処理装置として初期化するため初期化アプリケーションを起動する。この時点では、まだ正常リレー8A,8B及び制御出力は制御なし側とする。次に、コンピュータの作動状況を検出できるようにするために、CPU11は周期の設定を行う。例えば、本実施の形態の処理プログラムはシングルスレッドの処理を行うこととしているので、その処理プログラムの動作周期を基本周期とする。基本周期は例えば100ms程度であるが、これに限定されるものではなくどのような値としてもよい。また、CPU11は、ウォッチドッグタイマをセットし、作動を開始する。以降は、何らかの異常により上述の周期または所定周期数内に処理プログラムから正常な出力を得られない場合は、正常リレー8A,8Bを落下させ、安全側の処理を行うものとする。   Further, as a premise, the CPUs 11 of the computers PC_A and PC_B have a processing time for starting up the operating system and the like between the time when the power is turned on and the start of the operation of the application (processing program). During this time, the self-diagnosis process described below cannot be executed. Therefore, first, after the computer executes initialization processing of the operating system when the power is turned on, the computer activates an initialization application to initialize the computers PC_A and PC_B as processing devices. At this time, the normal relays 8A and 8B and the control output are still on the non-control side. Next, in order to be able to detect the operating status of the computer, the CPU 11 sets a cycle. For example, since the processing program of the present embodiment performs single-thread processing, the operation cycle of the processing program is set as the basic cycle. The basic period is, for example, about 100 ms, but is not limited to this and may be any value. Further, the CPU 11 sets a watch dog timer and starts operation. Thereafter, when a normal output cannot be obtained from the processing program within the above-mentioned cycle or a predetermined number of cycles due to some abnormality, the normal relays 8A and 8B are dropped and the processing on the safe side is performed.

定周期動作が開始されると、PC_A,PC_Bは、それぞれ他系に対して自系の保持するデータを送信する。また、他系から送信されるデータを受信し、保持する。他系と自系とのデータの送受信は通信回線2を介して行なわれる。   When the periodic operation is started, PC_A and PC_B each transmit data held by the own system to the other system. It also receives and holds data transmitted from other systems. Data transmission / reception between the other system and the own system is performed via the communication line 2.

図3の処理において、まず、コンピュータPC_A,PC_Bはそれぞれ、車上装置9から被制御情報を受信する(ステップS101)。
コンピュータPC_A,PC_Bは、それぞれ車上装置9から被制御情報(車上装置9からの制御要求)を受信し、RAM13に保持する。この時点では、自系が受信した「つもり」の状態にすぎない。
コンピュータPC_A,PC_Bは、受信した被制御情報に対して伝送故障のチェックを行った後、RAM13のメモリエリアに登録する。伝送故障のチェックは、例えば、データ長チェック、フレームチェックシーケンス、ヘッダのシグネチャチェック、前回受信データの識別番号が異なるかのチェック(初回受信情報は除く)等を含む。これらのチェックの結果、データに損失や故障がなければ、その情報を採用し、データの損失や故障があれば破棄する。なお、最後にデータを採用してから伝送断許容時間(データ伝送が滞る時間として許容できる時間範囲)連続して新たな採用がない場合は、伝送故障と判定する。
In the process of FIG. 3, first, the computers PC_A and PC_B each receive controlled information from the on-board device 9 (step S101).
The computers PC_A and PC_B each receive controlled information (control request from the on-board device 9) from the on-board device 9 and hold it in the RAM 13. At this point, it is only the “intent” state received by the own system.
The computers PC_A and PC_B perform transmission failure checks on the received controlled information and register them in the memory area of the RAM 13. The transmission failure check includes, for example, a data length check, a frame check sequence, a header signature check, a check whether the identification number of the previously received data is different (excluding the first reception information), and the like. As a result of these checks, if there is no loss or failure in the data, that information is adopted, and if there is a loss or failure in the data, it is discarded. It should be noted that if there is no new continuous adoption after the last data adoption, the transmission interruption allowable time (time range acceptable as the data transmission delay time) is determined to be a transmission failure.

コンピュータPC_A,PC_Bは、他系からデータを受信する(ステップS102)。他系から受信するデータには、他系被制御情報、他系処理結果情報、他系診断結果情報等が含まれる。
コンピュータPC_A,PC_Bは、受信したデータに対して伝送故障のチェックを行った後、RAM13のメモリエリアに登録する。伝送故障のチェックは、ステップS101と同様に、例えば、データ長チェック、フレームチェックシーケンス、ヘッダのシグネチャチェック、前回受信データの識別番号が異なるかのチェック(初回受信情報は除く)等を含む。これらのチェックの結果、データに損失や故障がなければ、その情報を採用し、データの損失や故障があれば破棄する。なお、最後にデータを採用してから伝送断許容時間(例えば、3周期程度)連続して新たな採用がない場合は伝送故障と判定する。
The computers PC_A and PC_B receive data from another system (step S102). The data received from the other system includes other system controlled information, other system processing result information, other system diagnosis result information, and the like.
The computers PC_A and PC_B perform transmission failure checks on the received data and then register them in the memory area of the RAM 13. Similar to step S101, the transmission failure check includes, for example, a data length check, a frame check sequence, a header signature check, a check whether the identification numbers of the previously received data are different (excluding the first reception information), and the like. As a result of these checks, if there is no loss or failure in the data, that information is adopted, and if there is a loss or failure in the data, it is discarded. If there is no new adoption continuously after the last adoption of data (for example, about three cycles), it is determined that there is a transmission failure.

コンピュータPC_A,PC_Bは、自系データと他系データとを照合する(ステップS103)。ステップS103では、RAM13に保持されている自系で採用した被制御情報(自系被制御情報)と他系から伝送された被制御情報(他系被制御情報)とを照合する。   The computers PC_A and PC_B collate their own system data with other system data (step S103). In step S103, the controlled information (own controlled information) adopted in the own system held in the RAM 13 is compared with the controlled information (other controlled information) transmitted from the other system.

照合処理の詳細な流れを図4に示す。
図4に示すように、照合処理において、各コンピュータPC_A,PC_BのCPU11は、RAM13から最新の自系被制御情報と他系被制御情報とを読み出し(ステップS201)、比較照合する(ステップS202)。自系被制御情報と他系被制御情報とが一致する場合は(ステップS203;Yes)、更に、他系における当該被制御情報についての診断結果情報を取得して、他系の診断でも「一致」と判定されていれば(ステップS204;Yes)、次のステップへ進む。他系の診断結果が「不一致」であれば(ステップS204;No)、ステップS201へ戻り、再度自系被制御情報と他系被制御情報とを照合する。
自系被制御情報と他系被制御情報とが一致しない場合は(ステップS203;No)、他系へ照合対象となっている情報の再送要求を送信する(ステップS206;No→ステップS207)。そして、ステップS201〜ステップS203を繰り返し、最新の他系被制御情報と被制御情報とを比較する。既定回数(N回;Nは正整数)繰り返しても一致しない場合は(ステップS206;Yes)、自系のコンピュータを再立ち上げし、再立ち上げ後は、リカバリ処理を実行する(ステップS208)。
A detailed flow of the collation process is shown in FIG.
As shown in FIG. 4, in the collation process, the CPU 11 of each computer PC_A, PC_B reads the latest own system controlled information and other system controlled information from the RAM 13 (step S201), and performs comparison collation (step S202). . When the own system controlled information and the other system controlled information match (step S203; Yes), further, the diagnosis result information on the controlled information in the other system is acquired, and the diagnosis of the other system also “matches” ”(Step S204; Yes), the process proceeds to the next step. If the diagnosis result of the other system is “mismatch” (step S204; No), the process returns to step S201, and the own system controlled information and the other system controlled information are collated again.
If the own-system controlled information and the other-system controlled information do not match (step S203; No), a retransmission request for information to be collated is transmitted to the other system (step S206; No → step S207). And step S201-step S203 are repeated and the newest other system controlled information and controlled information are compared. If they do not match even after repeating a predetermined number of times (N times; N is a positive integer) (step S206; Yes), the own computer is restarted, and after the restarting, recovery processing is executed (step S208). .

ステップS103の照合処理によって自系被制御情報と他系被制御情報との整合性が確認できると、各PC_A,PC_Bは、ここではじめて被制御情報を確定し、RAM13の被制御情報を更新する(ステップS104)。   When the consistency between the own-system controlled information and the other-system controlled information can be confirmed by the collation processing in step S103, each PC_A, PC_B first determines the controlled information here and updates the controlled information in the RAM 13. (Step S104).

被制御情報が確定すると、各PC_A,PC_Bは被制御情報を基に処理プログラムを実行して制御情報を生成し、生成した制御情報を処理結果としてRAM13に保持する。この処理プログラムは、被制御情報にて要求される処理であり、例えば、転てつ機4の制御出力を生成する処理とする。すなわち、ステップS104で確定した被制御情報に基づいて転てつ機4の制御情報が生成される。
この時点では自系が転てつ機4を制御「したい」状態にすぎない。
When the controlled information is determined, each PC_A, PC_B executes a processing program based on the controlled information to generate control information, and holds the generated control information in the RAM 13 as a processing result. This processing program is a process requested by the controlled information, and is, for example, a process for generating a control output of the switch 4. That is, the control information of the turning machine 4 is generated based on the controlled information determined in step S104.
At this point, the own system is in a state of “want” to control the machine 4.

また、各PC_A,PC_BはRAM13に保持されている自系の処理結果(自系制御情報)と他系から伝送された処理結果(他系制御情報)とを照合する(ステップS106)。ステップS106の照合処理も図4に示す照合処理と同様である。   Each PC_A and PC_B collate the processing result of the own system (own system control information) held in the RAM 13 with the processing result (other system control information) transmitted from the other system (step S106). The matching process in step S106 is the same as the matching process shown in FIG.

すなわち、ステップS106の照合処理において、各コンピュータPC_A,PC_BのCPU11は、RAM13から最新の自系処理結果と他系処理結果とを読み出し(ステップS201)、比較照合する(ステップS202)。自系処理結果と他系処理結果とが一致する場合は(ステップS203;Yes)、更に、他系における当該処理結果についての診断結果情報を取得して、他系の診断でも「一致」と判定されていれば(ステップS204;Yes)、次のステップへ進む。他系の診断結果が「不一致」であれば(ステップS204;No)、ステップS201へ戻り、再度自系処理結果と他系処理結果とを照合する。
自系処理結果と他系処理結果とが一致しない場合は(ステップS203;No)、他系へ照合対象となっている情報の再送要求を送信する(ステップS206;No→ステップS207)。そして、ステップS201〜ステップS203を繰り返し、最新の他系処理結果と自系処理結果とを比較する。既定回数(N回;Nは正整数)繰り返しても一致しない場合は(ステップS206;Yes)、自系のコンピュータを再立ち上げし、再立ち上げ後は、リカバリ処理を実行する(ステップS208)。繰り返しの既定回数は例えば3回とするが、これに限定されるものではない。
That is, in the collation process of step S106, the CPU 11 of each computer PC_A, PC_B reads the latest local process result and the other system process result from the RAM 13 (step S201), and performs comparison collation (step S202). When the own system processing result and the other system processing result match (step S203; Yes), the diagnosis result information on the processing result in the other system is further acquired, and “match” is also determined in the other system diagnosis. If so (step S204; Yes), the process proceeds to the next step. If the diagnosis result of the other system is “mismatch” (step S204; No), the process returns to step S201, and the self-system process result and the other system process result are collated again.
If the own system processing result and the other system processing result do not match (step S203; No), a retransmission request for information to be collated is transmitted to the other system (step S206; No → step S207). Then, step S201 to step S203 are repeated, and the latest other system processing result is compared with the own system processing result. If they do not match even after repeating a predetermined number of times (N times; N is a positive integer) (step S206; Yes), the own computer is restarted, and after the restarting, recovery processing is executed (step S208). . The predetermined number of repetitions is, for example, 3 times, but is not limited to this.

ステップS106の照合処理によって自系処理結果と他系被処理結果との整合性が確認できると、各PC_A,PC_Bは、ここではじめて処理結果(転てつ機4の制御出力)を確定し、RAM13の処理結果情報を更新する(ステップS107)。   When the consistency between the own system processing result and the other system processed result can be confirmed by the collation processing in step S106, each PC_A, PC_B confirms the processing result (control output of the switch 4) for the first time, The processing result information in the RAM 13 is updated (step S107).

各PC_A,PC_Bは、転てつ機4から制御状態を示す表示情報(以下、表示状態という)NKR、RKRの入力を受け付けている。また、他系に転てつ機4から入力された表示状態NKR、RKRを取得している。各PC_A,PC_BのCPU11は、自系の制御出力と転てつ機4から入力された表示状態との照合(系内ループバック不一致)や、自系の制御出力と他系に対して転てつ機4から入力された表示状態との照合(系間ループバック不一致)を行う(ステップS108)。ステップS108の照合処理も図4に示す照合処理と同様である。   Each PC_A, PC_B accepts input of display information (hereinafter referred to as display state) NKR, RKR indicating the control state from the switch 4. In addition, the display states NKR and RKR input from the switching machine 4 are acquired. The CPU 11 of each PC_A and PC_B collates with the control output of its own system and the display state input from the switch 4 (intra-system loopback mismatch), or changes over to its own control output and other system. The display state input from the machine 4 is collated (intersystem loopback mismatch) (step S108). The matching process in step S108 is the same as the matching process shown in FIG.

各PC_A,PC_Bは、上述の照合処理に加え、例えば、実行順序診断、メモリ診断、系間表示診断等のその他の診断処理を適宜実行する。
なお、実行順序診断は、各モジュールの冒頭で行なわれるものとし、ステップS108の後に行なわれるものではないが「その他の診断」として追記する。
Each PC_A and PC_B appropriately execute other diagnostic processes such as an execution order diagnosis, a memory diagnosis, and an inter-system display diagnosis in addition to the above-described collation process.
The execution order diagnosis is performed at the beginning of each module, and is not performed after step S108, but is added as “other diagnosis”.

実行順序診断は、想定外の順序で処理プリグラムの各モジュールが実行されていないかをチェックするためのものである。実行順序診断では、各モジュールをコールする親処理からモジュール毎にユニークな「呼出識別値」を引数として渡す。コールされたモジュールは渡された呼出識別値が自モジュールのものであるか否かをチェックする。呼出識別値が不一致であれば、故障と判断する。   The execution order diagnosis is for checking whether the modules of the processing program are not executed in an unexpected order. In the execution order diagnosis, a unique “call identification value” is passed as an argument for each module from the parent process that calls each module. The called module checks whether the passed call identification value is that of its own module. If the call identification values do not match, a failure is determined.

メモリ診断は、自プログラムのプロセスメモリ(.exe及び読み込まれたdll)を診断する。自exeを含むロードされた全てのdllのコードセグメント領域の例えばSHA256メッセージダイジェストを演算し、他系診断情報内の同一情報と比較を行なう。   The memory diagnosis diagnoses the process memory (.exe and read dll) of the own program. For example, the SHA256 message digest of all the loaded code segment regions of dll including its own exe is calculated and compared with the same information in the other system diagnosis information.

系間表示診断では、自系と他系のコンピュータPC_A,PC_Bにおける表示情報の照合を行う。表示情報には、転てつ機4から入力された制御状態が含まれる。   In the inter-system display diagnosis, display information in the own system and the other systems PC_A and PC_B is collated. The display information includes the control state input from the switch 4.

「その他の診断」の結果、故障を検知した場合は、そのコンピュータの処理を停止して無力化し、制御出力を安全側とする。   If a failure is detected as a result of "other diagnosis", the computer processing is stopped and disabled, and the control output is set to the safe side.

次に、ハードウエア及びソフトウエアの作動の監視について説明する。
図3、図4に示す自己診断処理を実行中、各コンピュータPC_A,PC_Bは、ウォッチドッグタイマによる監視(図5)、ソフトカウンタによる監視(図6)を行い、正常に各コンピュータPC_A,PC_Bが作動しているかを監視している。
Next, monitoring of hardware and software operations will be described.
While executing the self-diagnosis process shown in FIGS. 3 and 4, each computer PC_A, PC_B performs monitoring by a watchdog timer (FIG. 5) and monitoring by a soft counter (FIG. 6), and each computer PC_A, PC_B normally operates. It is monitoring whether it is operating.

図5に示すように、コンピュータPC_A及びPC_Bはハードウエアタイマカウンタをウォッチドッグタイマとして利用する。所定周期毎(例えば、上述の基本周期;100ms等)にカウントアップしている(ステップS301)。そして所定周期内に各処理から正常な出力が得られた場合は(ステップS302;Yes)、カウンタをリセットし(ステップS303)、出力されたデータをRAM13の所定のメモリエリアへ登録する(ステップS304)。例えば、ステップS101の伝送チェックやステップS106の照合処理では、3周期(N周期)をカウンタの上限値としている。所定周期内に正常出力が得られない場合は(ステップS302;No)、異常とみなして、正常リレー8A,8Bを落下させ(ステップS305)、処理結果の出力を遮断して安全側の処理を行う。例えば、コンピュータPC_AまたはPC_Bが応答待ち及び強制終了の動作を行なった場合は、このウォッチドッグタイマによる監視によりリレー8A,8Bが落下され、安全側の処理が行われる。   As shown in FIG. 5, the computers PC_A and PC_B use a hardware timer counter as a watchdog timer. The count is incremented every predetermined period (for example, the above basic period; 100 ms, etc.) (step S301). If a normal output is obtained from each process within a predetermined period (step S302; Yes), the counter is reset (step S303), and the output data is registered in a predetermined memory area of the RAM 13 (step S304). ). For example, in the transmission check in step S101 and the collation process in step S106, three cycles (N cycles) are set as the upper limit value of the counter. If a normal output is not obtained within a predetermined period (step S302; No), it is regarded as abnormal, the normal relays 8A and 8B are dropped (step S305), the output of the processing result is shut off, and the process on the safe side is performed. Do. For example, when the computer PC_A or PC_B performs a response waiting and forced termination operation, the relays 8A and 8B are dropped by the monitoring by the watchdog timer, and the processing on the safe side is performed.

また、図6に示すように、ソフトウエアカウンタを用いてウォッチドッグタイマの出力を監視し、ウォッチドッグタイマの動作不良を検知することが望ましい。
コンピュータPC_A及びPC_Bは、ソフトウエアカウンタを所定期間毎にカウントアップしている(ステップS401)。CPU11は、ソフトウエアのカウンタが次にカウントアップするまでの期間にウォッチドッグタイマがカウントアップしたか否かを判定し(ステップS402)、ウォッチドッグタイマのカウントアップが検出されない場合は(ステップS402;No)、ウォッチドッグタイマの異常を検出する。異常の場合は、リレー8A,8Bを落下させ、処理結果の出力を遮断して安全側の処理を行う。
Further, as shown in FIG. 6, it is desirable to monitor the output of the watchdog timer using a software counter and detect an operation failure of the watchdog timer.
The computers PC_A and PC_B count up the software counter every predetermined period (step S401). The CPU 11 determines whether or not the watchdog timer has counted up during the period until the software counter next counts up (step S402), and when the count-up of the watchdog timer is not detected (step S402; No), an abnormality of the watchdog timer is detected. In the case of abnormality, the relays 8A and 8B are dropped, the output of the processing result is shut off, and safe processing is performed.

以上説明した自己診断処理(照合処理、その他診断を含む)、ウォッチドッグタイマ等による監視処理の結果、本発明の二重系制御システム1では、図7に示すような異常を検出することが可能となる。
すなわち、ウォッチドッグタイマ、及び図3のステップS101とステップS102とにおけるデータチェックにより「他系情報伝送故障」、「被制御情報伝送故障」が検出される。
また、ステップS103の照合処理により、「被制御情報不一致」が検出される。また、ステップS106の照合処理により、「処理結果不一致」が検出される。
また、ウォッチドッグタイマ、及び図3のステップS108により「系間ループバック不一致」、「系内ループバック不一致」が検出される。
また、ステップS109のその他診断内の実行順序診断により、「実行順序異常」が検出される。また、ステップS109のその他診断内のメモリ診断により、「メモリ異常」が検出される。
また、図3のステップS109のその他診断内の系間表示診断により「系間表示不一致」が検出される。
転てつ機4等へ処理結果を出力したが、制御処理完了の表示情報を得られない場合には、「制御不能」とされる。
As a result of the self-diagnosis process (including verification process and other diagnoses) described above and the monitoring process by the watchdog timer, the dual system control system 1 of the present invention can detect the abnormality as shown in FIG. It becomes.
That is, “other system information transmission failure” and “controlled information transmission failure” are detected by the watchdog timer and the data check in step S101 and step S102 of FIG.
Further, “control information mismatch” is detected by the collation processing in step S103. Further, “processing result mismatch” is detected by the collation processing in step S106.
Further, “intersystem loopback mismatch” and “intrasystem loopback mismatch” are detected by the watchdog timer and step S108 of FIG.
Further, “execution order abnormality” is detected by the execution order diagnosis in the other diagnosis in step S109. Further, “memory abnormality” is detected by the memory diagnosis in the other diagnosis in step S109.
Further, “intersystem display mismatch” is detected by the intersystem display diagnosis in the other diagnosis of step S109 in FIG.
When the processing result is output to the switching machine 4 or the like, but display information indicating that the control process is complete cannot be obtained, the control result is “uncontrollable”.

以上説明したように、本実施の形態の二重系制御システム1は、車上装置9から被制御情報を受信し、受信した被制御情報を基に所定の処理プログラムに従って制御対象とする機器(例えば、転てつ機4)の制御情報を生成し、出力するコンピュータをA系及びB系にそれぞれ備え、A系コンピュータPC_Aと、B系のコンピュータPC_Bとを互いにLAN等の通信回線2により通信接続する。そして、A系コンピュータPC_Aにて生成された制御情報とB系コンピュータPC_Bにて生成された制御情報との論理積を論理積演算回路7にて演算し、制御対象とする機器に対して出力する。また、通信回線2を介してA系コンピュータPC_A及びB系コンピュータPC_B間で互いにデータを送受信し、各系において自系データと他系データとを照合する。また、各系において自系コンピュータの処理が円滑に実行されているか否かを監視する。照合の結果、A系及びB系のコンピュータが保持または出力するデータが不一致の場合、または監視の結果、いずれかの系において処理が円滑に実行されていないと判断された場合は、処理を停止し、当該制御システム1を無力化し、制御対象とする機器への出力を安全側とする。   As described above, the dual system control system 1 according to the present embodiment receives the controlled information from the on-board device 9, and based on the received controlled information, the device to be controlled according to the predetermined processing program ( For example, a computer for generating and outputting control information of the switch 4) is provided in each of the A system and the B system, and the A system computer PC_A and the B system computer PC_B communicate with each other via a communication line 2 such as a LAN. Connecting. The logical product of the control information generated by the A-system computer PC_A and the control information generated by the B-system computer PC_B is calculated by the logical product operation circuit 7 and output to the device to be controlled. . Further, data is transmitted and received between the A-system computer PC_A and the B-system computer PC_B via the communication line 2, and the self-system data and other system data are collated in each system. Further, it is monitored whether or not the processing of the local computer is smoothly executed in each system. As a result of collation, if the data held or output by the A-system and B-system computers do not match, or if monitoring determines that processing is not being executed smoothly in any system, processing is stopped Then, the control system 1 is disabled, and the output to the device to be controlled is the safe side.

このように、本実施の形態の二重系制御システム1では、自系及び他系のデータや処理結果に対してソフトウエアにてセルフチェックを実施し、RAM及びROM等のメモリ内のデータを積極的に比較照合する。また、定期的に正常な出力が行われているか等の監視を行って、コンピュータの作動の異常を積極的に検出する。また、各系からの出力は論理積が演算されるため、両系のデータが一致しない場合には、転てつ機4に対して制御出力が行われず、破棄される。
その結果、ソフトウエアのバグやハードウエアの故障を検知でき、故障の場合には、装置を無力化して安全側の処理を行える。従って、専用のハードウエア及びソフトウエアによらなくとも、汎用のコンピュータにて鉄道の保安装置の制御端末のような高い安全性が必要とされる装置を構成できるようになる。また、その場合にも充分な安全性が確保できる。また、汎用製品の導入による低コスト化が可能となる。
As described above, in the dual system control system 1 according to the present embodiment, self-checks are performed on the self-system and other-system data and processing results by software, and data in a memory such as a RAM and a ROM is stored. Actively compare and collate. In addition, it regularly monitors whether normal output is being performed, and actively detects abnormalities in the operation of the computer. Further, since the logical product of the outputs from the respective systems is calculated, if the data of both systems do not match, the control output is not performed to the switch 4 and is discarded.
As a result, software bugs and hardware failures can be detected, and in the case of failures, the device can be disabled and safe processing can be performed. Therefore, it is possible to configure a device requiring high safety such as a control terminal of a railway security device with a general-purpose computer without using dedicated hardware and software. Also in that case, sufficient safety can be secured. Moreover, the cost can be reduced by introducing a general-purpose product.

なお、上述の実施の形態では、転てつ機4の制御端末として本発明の二重系制御システム1を適用する例を示したが、これに限定されるものではなく、他の保安装置の制御端末として利用してもよい。例えば、図8に示す鉄道の保安装置の制御システム100には、転てつ機4の遠隔制御端末101の他に、閉塞管理装置102や踏切5の遠隔制御端末103等も含まれるが、閉そく管理装置102や踏切5の遠隔制御端末103等にも本発明の二重系制御システム1を適用できる。   In the above-described embodiment, the example in which the dual system control system 1 of the present invention is applied as the control terminal of the switch 4 has been described. However, the present invention is not limited to this, and other security devices can be used. It may be used as a control terminal. For example, the railroad safety device control system 100 shown in FIG. 8 includes the block control device 102 and the remote control terminal 103 of the railroad crossing 5 in addition to the remote control terminal 101 of the switch 4. The dual system control system 1 of the present invention can also be applied to the management device 102, the remote control terminal 103 of the railroad crossing 5, and the like.

以上、添付図面を参照しながら、本発明に係る二重系制御システムの好適な実施形態について説明したが、本発明は係る例に限定されない。当業者であれば、本願で開示した技術的思想の範疇内において、各種の変更例又は修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。   The preferred embodiments of the dual system control system according to the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to such examples. It will be apparent to those skilled in the art that various changes or modifications can be conceived within the scope of the technical idea disclosed in the present application, and these naturally belong to the technical scope of the present invention. Understood.

1・・・・・・二重系制御システム
PC_A・・・A系コンピュータ
PC_B・・・B系コンピュータ
2・・・・・・通信回線
7・・・・・・論理積演算回路
8A,8B・・正常リレー
9・・・・・・車上装置
10A,10B・・接点
18A・・・・車上装置とのA系の通信部
18B・・・・車上装置とのB系の通信部
3・・・・・・列車
4・・・・・・転てつ機
5・・・・・・踏切
6・・・・・・線路
100・・・・鉄道保安制御システム
101・・・・転てつ機の遠隔制御端末(二重系制御システム1を適用)
102・・・・閉塞管理装置(二重系制御システム1を適用)
103・・・・踏切の遠隔制御端末(二重系制御システム1を適用)
1 .... Dual system control system PC_A ... A computer PC_B ... B computer 2 .... Communication line 7 .... AND operation circuit 8A, 8B ... · Normal relay 9 · · · Onboard device 10A, 10B · · Contact 18A · · · A system communication unit with the onboard device 18B · · · B system communication unit with the onboard device 3 ··· Train 4 ··· Trailing machine 5 ··· Rail crossing 6 ··· Railway 100 ··· Railway security control system 101 ··· Turn Remote control terminal (application of dual control system 1)
102... Blockage management device (double system control system 1 is applied)
103 ··· Remote control terminal for level crossing (Dual system control system 1 is applied)

Claims (8)

外部装置からデータを受信し、受信したデータを基に所定の処理プログラムに従って制御対象とする機器の制御情報を生成し、出力するコンピュータをA系及びB系にそれぞれ備えた二重系制御システムであって、
前記A系のコンピュータと、前記B系のコンピュータとを互いに通信接続する接続手段と、
前記A系にて生成された制御情報と前記B系にて生成された制御情報との論理積を前記制御対象とする機器に対して出力する論理積出力手段と、
前記接続手段を介して、前記A系及び前記B系間で互いにデータを送受信し、各系において自系の保持するデータと他系から伝送されたデータとを照合する照合手段と、
各系において自系のコンピュータの処理が円滑に実行されているか否かを監視する監視手段と、
前記照合手段による照合の結果、前記A系及びB系のデータが不一致の場合、または前記監視手段による監視の結果、いずれかの系において処理が円滑に実行されていないと判断された場合に、処理を停止し、前記制御対象とする機器への出力を安全側とする処理停止手段と、
を備えることを特徴とする二重系制御システム。
A dual system control system that receives data from an external device, generates control information for a device to be controlled according to a predetermined processing program based on the received data, and outputs a computer for each of the A system and the B system. There,
Connection means for communicating and connecting the A-system computer and the B-system computer to each other;
Logical product output means for outputting a logical product of the control information generated in the A system and the control information generated in the B system to the device to be controlled;
Checking means for sending and receiving data to and from each other between the A system and the B system via the connecting means, and for checking the data held by the own system and the data transmitted from the other system in each system;
Monitoring means for monitoring whether the processing of the computer of the own system is smoothly executed in each system;
As a result of collation by the collation means, when the data of the A system and the B system do not match, or as a result of monitoring by the monitoring means, when it is determined that the processing is not smoothly executed in any of the systems, A process stop means for stopping the process and setting the output to the device to be controlled as a safe side;
A dual system control system comprising:
前記照合手段は、
自系のコンピュータが前記外部装置から受信したデータと、他系のコンピュータが前記外部装置から受信したデータとを照合する第1照合手段と、
自系のコンピュータにおいて実行される前記処理プログラムによる処理結果と他系のコンピュータにおいて実行される前記処理プログラムによる処理結果とを照合する第2照合手段と、
自系の制御出力と自系に対して制御対象とする機器から入力された表示状態とを照合する第3照合手段と、
自系の制御出力と他系に対して制御対象とする機器から入力された表示状態とを照合する第4照合手段と、
他系の表示状態と自系の表示状態とを照合する第5照合手段と、
のうち、少なくともいずれか一つを含むことを特徴とする請求項1に記載の二重系制御システム。
The verification means includes
First collation means for collating data received by the local computer from the external device with data received by the external computer from the external device;
A second collating means for collating a processing result obtained by the processing program executed in the own computer and a processing result obtained by the processing program executed in the other computer;
Third verification means for verifying the control output of the own system and the display state input from the device to be controlled with respect to the own system;
A fourth collating means for collating the control output of the own system and the display state input from the device to be controlled with respect to the other system;
Fifth collating means for collating the display state of the other system and the display state of the own system;
2. The dual system control system according to claim 1, comprising at least one of them.
前記監視手段は、
コンピュータに備えられるハードウエアタイマを用いて自系コンピュータの作動状態を監視する第1監視手段と、
前記ハードウエアタイマの作動状態をソフトウエアにて監視する第2監視手段と、を備えることを特徴とする請求項1に記載の二重系制御システム。
The monitoring means includes
First monitoring means for monitoring an operating state of the local computer using a hardware timer provided in the computer;
2. The dual system control system according to claim 1, further comprising: second monitoring means for monitoring an operating state of the hardware timer by software.
前記A系コンピュータと前記B系コンピュータとで、異なるオペレーティングシステムを塔載することを特徴とする請求項1に記載の二重系制御システム。   2. The dual system control system according to claim 1, wherein the A system computer and the B system computer are installed with different operating systems. 外部または他系から受信したデータの誤りを判定するデータ誤り判定手段と、
前記データ誤り判定手段によりデータの誤りがあると判定された場合に、データの再送を送信元に要求する再送要求手段と、
を更に備えることを特徴とする請求項1に記載の二重系制御システム。
Data error determination means for determining an error in data received from the outside or another system;
When it is determined by the data error determination means that there is a data error, a retransmission request means for requesting retransmission of data to the transmission source;
The dual system control system according to claim 1, further comprising:
前記処理プログラムが予め定められた順序どおりに実行されているか否かを判定する実行順序診断手段を更に備え、
前記実行順序診断手段により前記処理プログラムの実行順序が誤っている場合は、前記処理停止手段によって、当該コンピュータにおける処理を停止し、前記制御対象とする機器への出力を安全側とすることを特徴とする請求項1に記載の二重系制御システム。
An execution order diagnosis means for determining whether or not the processing program is executed in a predetermined order;
When the execution order of the processing program is wrong by the execution order diagnosis unit, the process stop unit stops the processing in the computer, and the output to the device to be controlled is on the safe side. The dual system control system according to claim 1.
前記処理プログラムにて使用するメモリエリアについて、異常があるか否かを判定するメモリ診断を実行するメモリ診断手段を更に備え、
メモリ診断手段によって前記メモリエリアに異常を検知した場合は、前記処理停止手段によって、当該コンピュータにおける処理を停止し、前記制御対象とする機器への出力を安全側とすることを特徴とする請求項1に記載の二重系制御システム。
The memory area used in the processing program further comprises a memory diagnosis means for executing a memory diagnosis for determining whether or not there is an abnormality,
2. The method according to claim 1, wherein when the memory diagnosis unit detects an abnormality in the memory area, the processing stop unit stops the processing in the computer, and the output to the control target device is on the safe side. 2. The dual system control system according to 1.
各系のコンピュータにて前記外部装置から受信したデータをそれぞれリカバリ情報として記録するリカバリ情報記録手段と、
前記処理停止手段による処理停止後、正常な系は異常が発生した系に対してリカバリを要求するリカバリ要求手段と、
リカバリ要求を受けた前記異常が発生した系は、正常な系に記録されている前記リカバリ情報を取得し、取得したリカバリ情報に基づいて自系のコンピュータをリカバリ処理するリカバリ処理実行手段と、
を備えることを特徴とする請求項1に記載の二重制御システム。
Recovery information recording means for recording data received from the external device as recovery information in each system computer;
After the process is stopped by the process stop unit, a normal system is a recovery request unit that requests recovery for a system in which an abnormality has occurred;
The system in which the abnormality has been received in response to the recovery request acquires the recovery information recorded in the normal system, and recovery processing execution means for recovering the local computer based on the acquired recovery information;
The dual control system according to claim 1, comprising:
JP2010065797A 2010-03-23 2010-03-23 Redundant system control system Pending JP2011198205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010065797A JP2011198205A (en) 2010-03-23 2010-03-23 Redundant system control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010065797A JP2011198205A (en) 2010-03-23 2010-03-23 Redundant system control system

Publications (1)

Publication Number Publication Date
JP2011198205A true JP2011198205A (en) 2011-10-06

Family

ID=44876282

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010065797A Pending JP2011198205A (en) 2010-03-23 2010-03-23 Redundant system control system

Country Status (1)

Country Link
JP (1) JP2011198205A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014197307A (en) * 2013-03-29 2014-10-16 グリー株式会社 Monitoring processing method, monitoring processor and monitoring processing system
JP2015222520A (en) * 2014-05-23 2015-12-10 株式会社日立製作所 Failsafe processor
JP2016058011A (en) * 2014-09-12 2016-04-21 富士電機株式会社 Control system and relay devices
JP2017005483A (en) * 2015-06-10 2017-01-05 三菱電機株式会社 Data processing device, data processing system, and data processing method
WO2017195356A1 (en) * 2016-05-13 2017-11-16 三菱電機株式会社 Data processing device, data processing method, and data processing program
CN110134000A (en) * 2018-02-09 2019-08-16 横河电机株式会社 Control system, diagnostic device, diagnostic method and the computer-readable medium for being stored with diagnostic program
JP2020008048A (en) * 2018-07-05 2020-01-16 本田技研工業株式会社 Hydrogen station

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014197307A (en) * 2013-03-29 2014-10-16 グリー株式会社 Monitoring processing method, monitoring processor and monitoring processing system
JP2015222520A (en) * 2014-05-23 2015-12-10 株式会社日立製作所 Failsafe processor
JP2016058011A (en) * 2014-09-12 2016-04-21 富士電機株式会社 Control system and relay devices
JP2017005483A (en) * 2015-06-10 2017-01-05 三菱電機株式会社 Data processing device, data processing system, and data processing method
WO2017195356A1 (en) * 2016-05-13 2017-11-16 三菱電機株式会社 Data processing device, data processing method, and data processing program
JPWO2017195356A1 (en) * 2016-05-13 2018-09-13 三菱電機株式会社 Data processing apparatus, data processing method, and data processing program
CN110134000A (en) * 2018-02-09 2019-08-16 横河电机株式会社 Control system, diagnostic device, diagnostic method and the computer-readable medium for being stored with diagnostic program
JP2020008048A (en) * 2018-07-05 2020-01-16 本田技研工業株式会社 Hydrogen station
JP7038016B2 (en) 2018-07-05 2022-03-17 本田技研工業株式会社 Hydrogen station

Similar Documents

Publication Publication Date Title
JP2011198205A (en) Redundant system control system
US8006129B2 (en) Detecting and preventing the split-brain condition in redundant processing units
CN100383747C (en) Failure isolation system and method in a communication system
EP2518627B1 (en) Partial fault processing method in computer system
US10921871B2 (en) BAS/HVAC control device automatic failure recovery
JP6222362B2 (en) Power converter
CN111538624A (en) Server power supply maintenance method, device, equipment and medium
US5712967A (en) Method and system for graceful recovery from a fault in peripheral devices using a variety of bus structures
CN115826393A (en) Dual-redundancy management method and device of flight control system
JP2003015900A (en) Follow-up type multiplex system and data processing method capable of improving reliability by follow-up
CN115617550A (en) Processing device, control unit, electronic device, method, and computer program
JP6380141B2 (en) Electronic control unit
KR100279204B1 (en) Dual Controlling Method of Local Controller for An Automatic Control System and an Equipment thereof
JP4613019B2 (en) Computer system
JPS62236056A (en) Input/output controller for information processing system
JP2015106226A (en) Dual system
JPH1196033A (en) Information processor
JPS5931738B2 (en) Parallel triple system configuration method for computer system
US20230001939A1 (en) Vehicle mounted electronic control apparatus
JP2014164472A (en) Information processing system and failure management method of information processing device
JP2023170679A (en) On-vehicle device, program and information processing method
JP2001175545A (en) Server system, fault diagnosing method, and recording medium
JP6553493B2 (en) Electronic control device for vehicle
JP3424916B2 (en) General-purpose interface control device and general-purpose interface control method
CN111857312A (en) Multi-device resetting method and device based on X86 platform