JPH09319401A - Parallel duplex system electronic interlocking device - Google Patents

Parallel duplex system electronic interlocking device

Info

Publication number
JPH09319401A
JPH09319401A JP8132014A JP13201496A JPH09319401A JP H09319401 A JPH09319401 A JP H09319401A JP 8132014 A JP8132014 A JP 8132014A JP 13201496 A JP13201496 A JP 13201496A JP H09319401 A JPH09319401 A JP H09319401A
Authority
JP
Japan
Prior art keywords
standby
data
standby system
control
interlocking device
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.)
Granted
Application number
JP8132014A
Other languages
Japanese (ja)
Other versions
JP3208060B2 (en
Inventor
Toshiro Okajima
利郎 岡島
Atsushi Mukai
淳 向井
Hajime Sekimoto
肇 関本
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP13201496A priority Critical patent/JP3208060B2/en
Priority to FR9614701A priority patent/FR2749097B1/en
Priority to GB9700644A priority patent/GB2313678B/en
Publication of JPH09319401A publication Critical patent/JPH09319401A/en
Application granted granted Critical
Publication of JP3208060B2 publication Critical patent/JP3208060B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0796Safety measures, i.e. ensuring safe condition in the event of error, e.g. for controlling element
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B7/00Arrangements for obtaining smooth engagement or disengagement of automatic control
    • G05B7/02Arrangements for obtaining smooth engagement or disengagement of automatic control electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B9/00Safety arrangements
    • G05B9/02Safety arrangements electric
    • G05B9/03Safety arrangements electric with multiple-channel loop, i.e. redundant control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1629Error detection by comparing the output of redundant processing systems
    • G06F11/1637Error detection by comparing the output of redundant processing systems using additional compare functionality in one or some but not all of the redundant processing components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1629Error detection by comparing the output of redundant processing systems
    • G06F11/1654Error detection by comparing the output of redundant processing systems where the output of only one of the redundant processing components can drive the attached hardware, e.g. memory or I/O
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1695Error detection or correction of the data by redundancy in hardware which are operating with time diversity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1675Temporal synchronisation or re-synchronisation of redundant processing components

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Hardware Redundancy (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a parallel duplex system electronic interlocking device with which trouble in the operation of control object equipment at the time of system switching can be prevented while keeping the continuity of control outputs before and after the system switching. SOLUTION: A 1st interlock control system 1 as an active system and a 2nd interlock control system 2 as a standby system are operated at all times, the active system dispatches a cyclic redundancy code(CRC) of control output as the control arithmetic result through mirror memories 7a and 7b to the standby system, and the standby system compares that CRC with the CRC of control output as the control arithmetic result of present system. When they are not coincident with each other, a fault signal is outputted. Thus, a system switcher 3 inhibits switching from the active system to the standby system, and the control outputs are prevented from being discontinuous by system switching.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、連動制御系を二
重系に構成し、使用系の故障時に待機系に切り替え可能
な並列二重系電子連動装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parallel dual system electronic interlocking device in which an interlocking control system is configured as a dual system and can be switched to a standby system when a use system fails.

【0002】[0002]

【従来の技術】従来の並列二重系電子連動装置において
は、両系に同様の入力を並列に行い、両系の同期をとる
ことで使用系と待機系との演算結果が同じであるとして
きた。図15は例えば特開平3−292257号公報に
示された従来の装置の主要構成を示すブロック図であ
る。図において、1は第1の連動制御系、1aは第1の
連動制御系1に装着された制御部であり、CPUを有
し、そのCPUにより連動装置としての機能を果たすプ
ログラムを実行する。1bは制御部1aと制御対象機器
6とを接続するための外部I/F、1cは制御対象機器
6への制御出力を送信するための制御出力用回線、1d
は制御対象機器6からの情報を受信する表示用回線であ
る。1eは第1の連動制御系1と第2の連動制御系2の
それぞれの制御部のプログラム実行周期をとるための周
期タイマである。2は第2の連動制御系であって、第1
の連動制御系1と同様の機能を有する制御部2a、外部
I/F2b、制御出力用回線2c、表示用回線2d、お
よび周期タイマ2eが存在、または接続されている。3
は系切替器で、この系切替器3の状態により、第1の連
動制御系1と第2の連動制御系2のどちらか一方の外部
I/Fのみを機能させ、他の系の出力をカットする。4
aは系切替器3と制御部1aとを接続し、系の切替状態
を示す系状態信号、4bは第1の連動制御系1の故障状
態を示す系故障信号である。同様に、5aは系状態信
号、5bは第2の連動制御系2の系故障信号である。
2. Description of the Related Art In a conventional parallel dual-system electronic interlocking device, similar inputs are made in parallel in both systems, and the two systems are synchronized so that the calculation results of the used system and the standby system are the same. Came. FIG. 15 is a block diagram showing the main configuration of a conventional device disclosed in, for example, Japanese Patent Laid-Open No. 3-292257. In the figure, reference numeral 1 is a first interlocking control system, and 1a is a control unit mounted on the first interlocking control system 1, which has a CPU and executes a program which functions as an interlocking device by the CPU. Reference numeral 1b is an external I / F for connecting the control unit 1a and the controlled device 6 and 1c is a control output line for transmitting a control output to the controlled device 6 1d.
Is a display line for receiving information from the controlled device 6. Reference numeral 1e is a cycle timer for determining the program execution cycle of each control unit of the first interlocking control system 1 and the second interlocking control system 2. 2 is a second interlocking control system, which is the first
A control unit 2a having the same function as the interlocking control system 1, an external I / F 2b, a control output line 2c, a display line 2d, and a cycle timer 2e are present or connected. 3
Is a system switching device. Depending on the state of this system switching device 3, only the external I / F of either the first interlocking control system 1 or the second interlocking control system 2 is made to function, and the output of the other system is set. To cut. Four
Reference numeral a is a system status signal that connects the system switching unit 3 and the control unit 1a, and system reference signal 4b is a system failure signal that indicates a failure state of the first interlocking control system 1. Similarly, 5a is a system status signal and 5b is a system failure signal of the second interlocking control system 2.

【0003】このような従来の並列二重系電子連動装置
において、第1の連動制御系1を使用系、第2の連動制
御系2を待機系とした場合、制御対象機器6からの情報
は、LANを介して伝送され、表示用回線1d,2dを
通って両連動制御系1,2に並列に入力され、この情報
を前提として制御部1a,2aは同期してデータ処理を
行い、制御出力用回線1c,2cを通って制御対象機器
6に指示情報が送り出される。但し、通常は、待機系で
ある第2の連動制御系2の出力はカットされているの
で、機能するのは第1の連動制御系1の出力である。第
2の連動制御系2は第1の連動制御系1と同様に制御対
象機器6からの情報を受け等価に動作して異常に備えて
いる。
In such a conventional parallel dual system electronic interlocking device, when the first interlocking control system 1 is the use system and the second interlocking control system 2 is the standby system, the information from the controlled device 6 is , Is transmitted via LAN, and is input in parallel to both interlocking control systems 1 and 2 through the display lines 1d and 2d. On the premise of this information, the control units 1a and 2a synchronously perform data processing and control. Instruction information is sent to the controlled device 6 through the output lines 1c and 2c. However, since the output of the second interlocking control system 2, which is a standby system, is normally cut, it is the output of the first interlocking control system 1 that functions. Like the first interlocking control system 1, the second interlocking control system 2 receives information from the controlled device 6 and operates equivalently to prepare for an abnormality.

【0004】第1の連動制御系1と第2の連動制御系2
との処理同期については、使用系が正常に動作している
ときは、その周期を正しいものとして待機系の周期タイ
マ2eを使用系のタイマに合わせてセットすることによ
り、両系の同期をとっている。次に、使用系から待機系
への系切替の手順を示す。各連動制御系1,2では、制
御部1a,1bにて常時異常判断をしており、異常が検
出されると異常を検出した系の系故障信号4b,5bを
出力する。系切替器3では、第1の連動制御系1からの
系故障信号4bを検出したとき、使用系の制御出力をカ
ットし、第2の連動制御系2すなわち待機系を使用系に
切り替える。これにより、第2の連動制御系2が機能す
るようになる。
First interlocking control system 1 and second interlocking control system 2
Regarding the processing synchronization with the system, when the system in use is operating normally, the cycle is set to be correct and the cycle timer 2e of the standby system is set to match the timer in the system in use to synchronize the two systems. ing. Next, the procedure for switching the system from the active system to the standby system is shown. In each of the interlocking control systems 1 and 2, the control units 1a and 1b constantly determine an abnormality, and when an abnormality is detected, the system failure signals 4b and 5b of the system in which the abnormality is detected are output. In the system switching device 3, when the system failure signal 4b from the first interlocking control system 1 is detected, the control output of the in-use system is cut and the second interlocking control system 2, that is, the standby system is switched to the in-use system. As a result, the second interlocking control system 2 comes to function.

【0005】[0005]

【発明が解決しようとする課題】上記のような従来の並
列二重系電子連動装置では、使用系と待機系とはそれぞ
れ制御対象機器からの入力データを同一情報であるとの
前提で並列に入力して制御演算を行い、その結果を制御
出力しているが、それぞれの制御出力の内容が同一であ
るか否かの確認がなされていないので、双方の制御出力
の内容に違いがある状態で系切り替えが発生し、系の切
り替えの前後で制御出力の連続性が保たれない場合があ
った。制御出力が不連続になると制御対象機器に種々の
支障をきたすといった問題点があった。
In the conventional parallel dual system electronic interlocking device as described above, the use system and the standby system are arranged in parallel on the assumption that the input data from the controlled devices are the same information. Inputting and performing control calculation and outputting the result, but it is not confirmed whether the contents of each control output are the same, so there is a difference in the contents of both control outputs. There was a case where system switching occurred and the continuity of control output was not maintained before and after system switching. If the control output becomes discontinuous, there is a problem in that the control target device causes various problems.

【0006】この発明は、上述のような課題を解決する
ためになされたもので、その目的は、系切り替え前後で
の制御出力の連続性を保ち、系切り替え時の制御対象機
器の運転への支障を防止できる並列二重系電子連動装置
を得ることである。
The present invention has been made to solve the above problems, and its purpose is to maintain the continuity of control output before and after the system switching and to operate the controlled equipment during the system switching. It is to obtain a parallel dual system electronic interlocking device that can prevent trouble.

【0007】[0007]

【課題を解決するための手段】使用系が入力し制御演算
に使用する入力データをミラーメモリを介して上記待機
系に受け渡し、待機系においては受け渡された上記入力
データを用いて制御演算を行う手段、上記使用系および
上記待機系においてそれぞれの出力データのチェック値
を計算する手段、および待機系において、両系の出力デ
ータのチェック値を比較する手段、および上記比較結果
が一致しない場合に待機系の故障として故障情報を出力
する手段を備えている。
Means for Solving the Problems Input data input by a use system and used for control calculation is transferred to the standby system through a mirror memory, and in the standby system, control calculation is performed using the transferred input data. A means for performing, a means for calculating the check value of each output data in the use system and the standby system, a means for comparing the check values of the output data of both systems in the standby system, and when the comparison results do not match. A means for outputting failure information as a failure of the standby system is provided.

【0008】また、チェック値をCRCとして計算する
ものである。
Further, the check value is calculated as a CRC.

【0009】また、チェック値をチェックサムとして計
算するものである。
The check value is calculated as a checksum.

【0010】また、使用系から待機系への入力データの
受け渡し時に、受け渡し周期毎にインクリメントするカ
ウンタ値を付加する手段、および出力データのチェック
値に上記カウンタ値を付加して比較する手段を備えてい
る。
Further, when the input data is transferred from the use system to the standby system, there are provided means for adding a counter value which is incremented for each transfer cycle, and means for adding the above-mentioned counter value to the check value of the output data for comparison. ing.

【0011】また、使用系から待機系への出力データの
チェック値の受け渡し時に、入力データのチェック値を
付加する手段、および待機系では、両系の出力データの
チェック値の比較に加えて、両系の入力データのチェッ
ク値の比較を行う手段を備えている。
In addition to the means for adding the check value of the input data when the check value of the output data is transferred from the used system to the standby system, and in the standby system, in addition to the comparison of the check values of the output data of both systems, It is provided with means for comparing the check values of the input data of both systems.

【0012】また、使用系から待機系へのデータの受け
渡しにおいて、ミラーメモリ上に待ち行列を設け、上記
使用系でエンキュー(待ち行列への登録)し、上記待機
系でデキュー(待ち行列からの読み出し)するようにし
たものである。
In addition, when data is transferred from the active system to the standby system, a queue is provided on the mirror memory, enqueue (register to the queue) in the active system, and dequeue in the standby system (from the queue). Read).

【0013】また、使用系から待機系へのデータ受け渡
し時、データ書き込み後に上記使用系から上記待機系へ
の割り込みを発生させ、その割り込み発生を待機系にお
けるデータ読み出しタイミングとするようにしたもので
ある。
Further, when data is transferred from the active system to the standby system, an interrupt is generated from the active system to the standby system after writing the data, and the interrupt generation is used as a data read timing in the standby system. is there.

【0014】また、使用系から待機系へのデータ受け渡
し時、データ書き込み後に上記使用系が書き込みステー
タスの更新を行い、上記待機系においては、一定周期毎
に上記書き込みステータスの監視を行うことにより読み
出しタイミングとするようにしたものである。
Further, when data is transferred from the use system to the standby system, the use system updates the write status after writing the data, and the standby system reads the data by monitoring the write status at regular intervals. The timing is set.

【0015】[0015]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.図1は、この発明の実施の一形態である
並列二重系電子連動装置を用いて制御を行う場合の主要
構成を示すブロック図である。図において、1〜6は図
15に示した従来のものと同一または相当部分である。
7aは第1の連動制御系1を構成するミラーメモリであ
り、7bは第2の連動制御系2を構成するミラーメモリ
である。8a,8bはミラーメモリ7a,7bを相互に
接続する接続ケーブルである。ミラーメモリ7a,7b
は、各々制御部1a,2aから見て通常のRAMと同様
に書き込み、読み出し可能なメモリボードである。制御
部1aからミラーメモリ7aに書き込まれたデータは、
同時に接続ケーブル8aを介してミラーメモリ7bの該
当エリアにコピーされ、制御部2aから読み出すことが
できる。同様に、制御部2aからミラーメモリ7bに書
き込まれたデータは、同時に接続ケーブル8bを介して
ミラーメモリ7aの該当エリアにコピーされ、制御部1
aから読み出すことができる。ただし、制御部1aから
のデータがコピーされるミラーメモリ7bの該当エリア
と制御部2aがデータを書き込むミラーメモリ7bのエ
リア、および、制御部2aからのデータがコピーされる
ミラーメモリ7aの該当エリアと制御部1aがデータを
書き込むミラーメモリ7aのエリアとは重なり合わない
に配置しており、第1の連動制御系1と第2の連動制御
系2との間のI/Fとして使用する。
Embodiment 1. FIG. 1 is a block diagram showing a main configuration when control is performed using a parallel dual system electronic interlocking device according to an embodiment of the present invention. In the figure, 1 to 6 are the same as or equivalent to the conventional one shown in FIG.
Reference numeral 7a is a mirror memory that constitutes the first interlocking control system 1, and 7b is a mirror memory that constitutes the second interlocking control system 2. Reference numerals 8a and 8b are connection cables for connecting the mirror memories 7a and 7b to each other. Mirror memory 7a, 7b
Is a writable and readable memory board similar to a normal RAM when viewed from the control units 1a and 2a. The data written from the control unit 1a to the mirror memory 7a is
At the same time, it can be copied to the corresponding area of the mirror memory 7b via the connection cable 8a and read from the control unit 2a. Similarly, the data written from the control unit 2a to the mirror memory 7b is simultaneously copied to the corresponding area of the mirror memory 7a via the connection cable 8b.
It can be read from a. However, the corresponding area of the mirror memory 7b to which the data from the control unit 1a is copied, the area of the mirror memory 7b to which the control unit 2a writes the data, and the corresponding area of the mirror memory 7a to which the data from the control unit 2a is copied. Is arranged so as not to overlap the area of the mirror memory 7a where the control unit 1a writes data, and is used as an I / F between the first interlocking control system 1 and the second interlocking control system 2.

【0016】このように構成された並列二重系電子連動
装置における使用系である第1の連動制御系1の動作に
ついては図2のフローチャート、待機系である第2の連
動制御系の動作については図3のフローチャートを参照
しながら説明する。まず、第1の連動制御系1において
は、イニシャライズ(S1)後、制御対象機器6から表
示用回線1dを介して表示情報を内部RAMに入力する
(S2)。入力した情報はミラーメモリ7aおよびミラ
ーメモリ7bに書き込まれ、上記表示情報が第2の連動
制御系2に渡される(S3)。次に、第1の連動制御系
1では、入力情報に応じて制御演算を行い(S4)、制
御出力のCRCを算出する(S5)。CRCとは、制御
出力データにある生成多項式の最高次の項をかけたもの
を生成多項式で割った時の余りの事である。制御出力デ
ータP(X)、多項式G(X)=X16+X12+X5+1
とすると、CRCはX16・P(X)/G(X)の余りで
求められる。制御出力のチェックにはCRCを算出する
のが最も一般的で誤りのあるビットも検出することがで
きるので確実にチェックできる。その制御出力CRCを
ミラーメモリ7a,7bに書き込むことにより(S
6)、使用系の制御出力CRCが待機系に渡される。最
後に、制御出力を制御出力用回線1cを介して制御対象
機器6に対して出力する(S7)。以降、上記S2〜S
7の処理を周期タイマ1eによる制御周期で繰り返す。
Regarding the operation of the first interlocking control system 1 which is the use system in the parallel dual system electronic interlocking device constructed as described above, the flowchart of FIG. 2 and the operation of the second interlocking control system which is the standby system Will be described with reference to the flowchart of FIG. First, in the first interlocking control system 1, after initialization (S1), display information is input to the internal RAM from the controlled device 6 via the display line 1d (S2). The input information is written in the mirror memory 7a and the mirror memory 7b, and the display information is passed to the second interlocking control system 2 (S3). Next, the first interlocking control system 1 performs control calculation according to the input information (S4) and calculates the CRC of the control output (S5). The CRC is the remainder when the control output data is multiplied by the highest-order term of the generator polynomial and divided by the generator polynomial. Control output data P (X), polynomial G (X) = X 16 + X 12 + X 5 +1
Then, the CRC is obtained by the remainder of X 16 · P (X) / G (X). CRC is the most general method for checking the control output, and it is possible to detect even erroneous bits. By writing the control output CRC to the mirror memories 7a and 7b (S
6) The control output CRC of the used system is passed to the standby system. Finally, the control output is output to the control target device 6 via the control output line 1c (S7). Thereafter, the above S2 to S
The processing of 7 is repeated at the control cycle by the cycle timer 1e.

【0017】第2の連動制御系2においては、イニシャ
ライズ(T1)後、ミラーメモリ7bから使用系が書き
込んだ入力情報を読みだして内部RAMに入力する(T
2)。次に、使用系と同様に、入力情報に応じて制御演
算を行い(T3)、制御出力CRCを算出する(T
4)。そして、ミラーメモリ7bから使用系が書き込ん
だ制御出力CRCを読み出し(T5)、その値とT4で
算出した待機系での制御出力CRCとを比較する(T
6)。比較の結果、双方のCRCに不一致を検出した場
合(T6でNGのとき)、待機系に切り替えを行っても
制御出力の連続性が保たれないので、待機系の故障と判
断して、系切替器3に対して系故障信号5bを出力する
(T7)。これにより、待機系のプログラムが停止され
(T8)、待機系への切り替えによる制御出力の不連続
を防止することができる。上記T6でCRCの一致が確
認された場合は(T6でOKのとき)、上記T2〜T6
の処理を周期タイマ1eと同期する周期タイマ2eによ
る制御周期で繰り返す。以上のように、使用系に何らか
の異常が発生した場合でも、使用系と待機系との制御出
力が一致しない場合には待機系への切り替えを行わない
ようにしたので、系切り替え時の出力の不連続を防止す
ることができる。
In the second interlocking control system 2, after initialization (T1), the input information written by the system in use is read from the mirror memory 7b and input to the internal RAM (T).
2). Next, similar to the system used, control calculation is performed according to the input information (T3) to calculate the control output CRC (T
4). Then, the control output CRC written by the used system is read from the mirror memory 7b (T5), and the value is compared with the control output CRC in the standby system calculated in T4 (T).
6). As a result of the comparison, if a mismatch is detected in both CRCs (when T6 is NG), the continuity of the control output cannot be maintained even if the standby system is switched. A system fault signal 5b is output to the switch 3 (T7). As a result, the standby system program is stopped (T8), and discontinuity of the control output due to switching to the standby system can be prevented. If the CRC match is confirmed at the above T6 (when T6 is OK), the above T2 to T6.
Processing is repeated at the control cycle by the cycle timer 2e synchronized with the cycle timer 1e. As described above, even if some abnormality occurs in the active system, if the control outputs of the active system and the standby system do not match, switching to the standby system is not performed. Discontinuity can be prevented.

【0018】実施の形態2.なお、上記実施の形態1に
おいては、使用系の制御出力と待機系の制御出力が一致
すれば系切り替えを行っていたが、使用系と待機系との
ハード特性の違い等によって、使用系からタイマがセッ
トされた後その周期のデータが書き込まれる前に、待機
系がデータを読み込んでしまう場合があり、その場合、
待機系は一周期前のデータを読んでしまうといった問題
があった。本実施の形態2においては、双方の演算周期
のずれを検知し、制御出力が一致しても演算周期がずれ
ている場合には、系切り替えを禁止するようにする。本
実施の形態による使用系の処理の流れを図4のフローチ
ャート、待機系の処理の流れを図5のフローチャートを
参照しながら説明する。使用系では実施の形態1の場合
と同様、イニシャライズの後、制御対象機器6から表示
情報を入力し、ミラーメモリ7aおよびミラーメモリ7
bに書き込むことにより上記表示情報を第2の連動制御
系2に渡す(S1〜S3)。同時に、周期カウンタをイ
ンクリメントし、入力カウンタ値としてミラーメモリ7
a,7bに書き込むことで待機系に渡す(U1)。続い
て、第1の連動制御系1では、入力情報に応じて制御演
算を行い、制御出力のCRCを算出してミラーメモリ7
a,7bに書き込むことにより、使用系の制御出力CR
Cを待機系に渡す(S4〜S6)。このとき、上記U1
で待機系に渡したものと同一のカウンタ値を出力カウン
タとしてミラーメモリ7a,7bに書き込む(U2)。
最後に、制御出力を制御出力用回線1cを介して制御対
象機器6に対して出力する(S7)。
Embodiment 2. In the first embodiment, system switching is performed if the control output of the active system and the control output of the standby system match, but due to differences in the hardware characteristics of the active system and the standby system, In some cases, the standby system may read the data after the timer is set and before the data for that cycle is written. In that case,
The standby system had a problem of reading the data of one cycle ago. In the second embodiment, the deviation of the calculation cycles of both is detected, and if the calculation cycles are different even if the control outputs match, the system switching is prohibited. The flow of processing of the use system according to the present embodiment will be described with reference to the flowchart of FIG. 4, and the flow of processing of the standby system will be described with reference to the flow chart of FIG. In the usage system, as in the case of the first embodiment, after initialization, display information is input from the control target device 6, and the mirror memory 7a and the mirror memory 7 are input.
The display information is passed to the second interlocking control system 2 by writing in b (S1 to S3). At the same time, the cycle counter is incremented, and the mirror memory 7 is set as the input counter value.
It is passed to the standby system by writing to a and 7b (U1). Then, in the first interlocking control system 1, the control calculation is performed according to the input information, the CRC of the control output is calculated, and the mirror memory 7
By writing to a and 7b, the control output CR of the used system
C is passed to the standby system (S4 to S6). At this time, the above U1
Then, the same counter value as that passed to the standby system is written in the mirror memories 7a and 7b as an output counter (U2).
Finally, the control output is output to the control target device 6 via the control output line 1c (S7).

【0019】一方、待機系ではイニシャライズの後、ミ
ラーメモリ7bから入力情報を読み出す(T1〜T
2)。それと同時に、使用系が書き込んだ入力カウンタ
値をミラーメモリ7bから読み出す(U3)。次に、実
施の形態1と同様、入力情報に応じて制御演算を行い、
制御出力CRCを算出して、ミラーメモリ7bから読み
出した使用系の制御出力CRCとを比較する(T3〜T
6)。比較の結果、双方のCRCに不一致を検出した場
合(T6でNGのとき)、系故障信号5bを出力して、
待機系のプログラムを停止する(T7〜T8)。双方の
CRCが一致した場合(T6でOKのとき)、使用系が
書き込んだ出力カウンタ値ををミラーメモリ7bから読
み出し(U4)、上記U3で読み込んだカウンタ値と一
致しなければ(U5でNGのとき)、周期がずれている
と判断し、故障信号を出力してプログラムを停止する
(T7〜T8)。ミラーメモリ7bから読み出した入力
カウンタと出力カウンタとが一致した場合は(U5でO
Kのとき)、上記T2〜U5の処理を使用系の周期タイ
マ1eと同期した周期タイマ2eによる制御周期で繰り
返す。以上により、実行周期のずれによる両系の出力の
不一致も検出することができる。
On the other hand, in the standby system, after initialization, the input information is read from the mirror memory 7b (T1 to T).
2). At the same time, the input counter value written by the usage system is read from the mirror memory 7b (U3). Next, similar to the first embodiment, the control calculation is performed according to the input information,
The control output CRC is calculated and compared with the control output CRC of the used system read from the mirror memory 7b (T3 to T).
6). As a result of comparison, when a mismatch is detected in both CRCs (when T6 is NG), the system fault signal 5b is output,
The standby system program is stopped (T7 to T8). If both CRCs match (when T6 is OK), the output counter value written by the usage system is read from the mirror memory 7b (U4), and if it does not match the counter value read in U3 (NG in U5). In this case), it is determined that the cycle is shifted, a failure signal is output, and the program is stopped (T7 to T8). If the input counter read from the mirror memory 7b and the output counter match (O in U5
In the case of K), the processes of T2 to U5 are repeated in the control cycle by the cycle timer 2e synchronized with the cycle timer 1e of the system used. As described above, it is possible to detect a discrepancy between the outputs of both systems due to the deviation of the execution cycle.

【0020】実施の形態3.なお、上記実施の形態1に
おいては、使用系と待機系との制御出力の一致を確認し
たが、本実施の形態3においては、それに加えて両系の
入力データの一致も確認するようにする。本実施の形態
による使用系の処理の流れを図6のフローチャート、待
機系の処理の流れを図7のフローチャートを参照しなが
ら説明する。使用系では実施の形態1の場合と同様、イ
ニシャライズの後、制御対象機器6から表示情報を入力
し、ミラーメモリ7a,7bに書き込むことにより上記
表示情報を第2の連動制御系2に渡す(S1〜S3)。
そして、入力情報に応じて制御演算を行い、制御出力の
CRCを算出してミラーメモリ7a,7bに書き込むこ
とにより、使用系の制御出力CRCが待機系に渡される
(S4〜S6)。続いて、上記の処理で制御対象機器6
から入力した入力情報のCRCを算出し(V1)、その
値をミラーメモリ7a,7bに書き込むことで、使用系
の入力情報CRCを待機系に渡す(V2)。最後に、制
御出力を制御出力用回線1cを介して制御対象機器6に
対して出力する(S7)。
Embodiment 3 In the first embodiment, the coincidence of the control outputs of the used system and the standby system is confirmed, but in the third embodiment, the coincidence of the input data of both systems is also confirmed. . The flow of processing of the use system according to this embodiment will be described with reference to the flowchart of FIG. 6, and the flow of processing of the standby system will be described with reference to the flow chart of FIG. In the usage system, as in the case of the first embodiment, after initialization, the display information is input from the controlled device 6 and written in the mirror memories 7a and 7b, thereby passing the display information to the second interlocking control system 2 ( S1 to S3).
Then, the control calculation is performed according to the input information, the CRC of the control output is calculated and written in the mirror memories 7a and 7b, and the control output CRC of the used system is passed to the standby system (S4 to S6). Then, in the above process, the controlled device 6
The CRC of the input information input from is calculated (V1), and the value is written to the mirror memories 7a and 7b, thereby passing the input information CRC of the used system to the standby system (V2). Finally, the control output is output to the control target device 6 via the control output line 1c (S7).

【0021】一方、待機系ではイニシャライズの後、実
施の形態1と同様に、ミラーメモリ7bから読み出した
入力情報に応じて制御演算を行い、制御出力CRCを算
出して、ミラーメモリ7bから読み出した使用系の制御
出力CRCとを比較する(T1〜T6)。比較の結果、
双方のCRCに不一致を検出した場合(T6でNGのと
き)、系故障信号5bを出力して、待機系のプログラム
を停止する(T7〜T8)。双方のCRCが一致した場
合(T6でOKのとき)、上記処理でミラーメモリ7b
から読み出した待機系での入力情報のCRCを算出し
(V3)、さらに、ミラーメモリ7bから使用系が書き
込んだ入力情報のCRCを読み出す(V4)。そして、
上記V3の処理で算出した待機系の入力情報CRCと上
記V4の処理で読み出した使用系の入力情報のCRCと
を比較して(V5)、一致しなければ(V5でNGのと
き)故障信号5bを出力して待機系のプログラムを停止
する(T7〜T8)。双方が一致した場合は(V5でO
Kのとき)、上記T2〜V5の処理を使用系の周期タイ
マ1eと同期した周期タイマ2eによる制御周期で繰り
返す。以上により、使用系と待機系の双方の制御出力デ
ータだけでなく、入力データの一致も確認できる。
On the other hand, in the standby system, after initialization, as in the first embodiment, control calculation is performed according to the input information read from the mirror memory 7b, the control output CRC is calculated, and read from the mirror memory 7b. The control output CRC of the used system is compared (T1 to T6). As a result of the comparison,
When a mismatch is detected in both CRCs (when T6 is NG), the system failure signal 5b is output and the standby system program is stopped (T7 to T8). When both CRCs match (when OK in T6), the mirror memory 7b is processed in the above process.
The CRC of the input information in the standby system read from is calculated (V3), and the CRC of the input information written by the used system is read from the mirror memory 7b (V4). And
If the input information CRC of the standby system calculated in the process of V3 and the CRC of the input information of the used system read in the process of V4 are compared (V5) and they do not match (when V5 is NG), the failure signal 5b is output to stop the standby system program (T7 to T8). If both match (O at V5
In the case of K), the processes of T2 to V5 are repeated in the control cycle by the cycle timer 2e synchronized with the cycle timer 1e of the used system. As described above, not only the control output data of both the use system and the standby system but also the matching of the input data can be confirmed.

【0022】実施の形態4.なお、使用系と待機系との
ハード特性の違い等によって、使用系のデータ書き込み
が終了しないうちに待機系が読み出すような事象が生じ
る場合があり、書き込まれたデータと読み込まれるデー
タとが一致しないといった問題があった。本実施の形態
においては、ミラーメモリに待ち行列を構成してデータ
を保護し、ミラーメモリへの書き込みは待ち行列へのエ
ンキュー(登録)、ミラーメモリからの読み出しは待ち
行列からのデキュー(読み出し)とする例を示す。本実
施の形態による使用系の処理の流れを図8のフローチャ
ート、待機系の処理の流れを図9のフローチャートを参
照しながら説明する。使用系ではイニシャライズの後、
制御対象機器6から表示情報を入力し、ミラーメモリ7
a,7bにエンキューすることにより上記表示情報を第
2の連動制御系2に渡す(S1〜W1)。そして、入力
情報に応じて制御演算を行い、制御出力のCRCを算出
してミラーメモリ7a,7bにエンキューすることによ
り、使用系の制御出力CRCが待機系に渡される(S4
〜W2)。最後に、制御出力を制御出力用回線1cを介
して制御対象機器6に対して出力する(S7)。
Embodiment 4 In some cases, due to differences in the hardware characteristics of the active system and the standby system, the standby system may read the data before the active system has finished writing data, and the written data matches the read data. There was a problem not to do it. In the present embodiment, a queue is formed in the mirror memory to protect data, writing to the mirror memory enqueues (registers), and reading from the mirror memory dequeues (reads) from the queue. Here is an example. The flow of processing of the use system according to the present embodiment will be described with reference to the flowchart of FIG. 8 and the flow of processing of the standby system will be described with reference to the flow chart of FIG. In the system used, after initialization,
Display information is input from the controlled device 6 and the mirror memory 7
The display information is passed to the second interlocking control system 2 by enqueuing to a and 7b (S1 to W1). Then, the control calculation is performed according to the input information, the CRC of the control output is calculated and enqueued in the mirror memories 7a and 7b, and the control output CRC of the used system is passed to the standby system (S4).
~ W2). Finally, the control output is output to the control target device 6 via the control output line 1c (S7).

【0023】一方、待機系ではイニシャライズ(T1)
の後、ミラーメモリ7bから入力情報をデキューして
(W3)、その入力情報に応じて制御演算を行い、制御
出力CRCを算出する(T3〜T4)。そして、使用系
の制御出力CRCをミラーメモリ7bからデキューし
(W4)、上記T4で算出した待機系の制御出力CRC
と比較する(T6)。比較の結果、双方のCRCに不一
致を検出した場合(T6でNGのとき)、系故障信号5
bを出力して、待機系のプログラムを停止する(T7〜
T8)。双方のCRCが一致した場合(T6でOKのと
き)、上記W3〜T6の処理を使用系の周期タイマ1e
と同期した周期タイマ2eによる制御周期で繰り返す。
以上により、使用系からミラーメモリに書き込まれた入
力データと待機系が読み込む入力データとが確実に一致
し、入力データの不一致による出力データの不一致が防
止である。
On the other hand, in the standby system, initialization (T1)
After that, the input information is dequeued from the mirror memory 7b (W3), the control calculation is performed according to the input information, and the control output CRC is calculated (T3 to T4). Then, the control output CRC of the used system is dequeued from the mirror memory 7b (W4), and the control output CRC of the standby system calculated at T4 is calculated.
(T6). As a result of comparison, if a mismatch is detected in both CRCs (when T6 is NG), the system fault signal 5
b is output and the standby system program is stopped (T7-
T8). When both CRCs match (when T6 is OK), the processing of W3 to T6 is performed using the periodic timer 1e.
It is repeated with the control cycle by the cycle timer 2e synchronized with.
As described above, the input data written from the used system to the mirror memory and the input data read by the standby system surely match, and the mismatch of the output data due to the mismatch of the input data can be prevented.

【0024】実施の形態5.なお、前にも述べたように
使用系からデータの書き込み途中で待機系がデータを読
み出してしまうことがあったが、使用系がミラーメモリ
へのデータ書き込み終了時に割り込みを発生するように
し、待機系では割り込み発生時にデータを読み出すこと
で、双方の同期が図れる。図10は本実施の形態例にお
ける装置のブロック図であり、図1に示したものと構成
は同じであるが、ミラーメモリ7a,7bは、相互に割
り込み信号を発生する機能を有している。また、9aは
ミラーメモリ7aから制御部1aへの割り込み線、9b
はミラーメモリ7bから制御部2aへの割り込み線であ
る。制御部1aがミラーメモリ7aの特定のエリアに書
き込みを行うことで同時にミラーメモリ7bの割り込み
発生エリアにアクセスし、その結果ミラーメモリ7bか
ら制御部2aに対し割り込み線9bによる割り込みが発
生する。ミラーメモリ7aから制御部1aに対する割り
込みの発生も同様の手順で行われる。
Embodiment 5 As previously mentioned, the standby system sometimes read data while writing data from the active system, but the active system generates an interrupt when the data writing to the mirror memory is completed, and the standby In the system, both can be synchronized by reading the data when an interrupt occurs. FIG. 10 is a block diagram of an apparatus according to the present embodiment, and although the configuration is the same as that shown in FIG. 1, the mirror memories 7a and 7b have a function of mutually generating interrupt signals. . Further, 9a is an interrupt line from the mirror memory 7a to the control unit 1a, and 9b
Is an interrupt line from the mirror memory 7b to the controller 2a. The control unit 1a simultaneously accesses the interrupt generation area of the mirror memory 7b by writing in a specific area of the mirror memory 7a, and as a result, an interrupt is generated from the mirror memory 7b to the control unit 2a by the interrupt line 9b. An interrupt from the mirror memory 7a to the control unit 1a is also generated in the same procedure.

【0025】本実施の形態による使用系の処理の流れを
図11のフローチャート、待機系の処理の流れを図12
のフローチャートに示す。全体の処理の流れは図2に示
したS1〜S7、図3に示したT1〜T8と同様である
が、使用系ではS3およびS6のミラーメモリ書き込み
処理のそれぞれ直後に、待機系に対して割り込みを発生
し(X1およびX2)、書き込み終了を通知する。ま
た、待機系では、使用系からの割り込みを待ち(X3,
X4)、T2およびT5のミラーメモリ読み出しは、使
用系からの書き込み終了を通知する割り込みが発生した
タイミングで行われる。以上により、使用系と待機系と
のデータ授受の同期をとることが可能となる。
FIG. 11 shows the flow of the processing of the use system according to the present embodiment, and FIG. 12 shows the flow of the processing of the standby system.
It is shown in the flowchart. The overall processing flow is the same as S1 to S7 shown in FIG. 2 and T1 to T8 shown in FIG. 3, but in the use system, immediately after the mirror memory write processing of S3 and S6, respectively, the standby system is executed. An interrupt is generated (X1 and X2) to notify the end of writing. The standby system waits for an interrupt from the using system (X3,
The X4), T2, and T5 mirror memory reading is performed at the timing when an interrupt for notifying the end of writing from the usage system occurs. As described above, it becomes possible to synchronize the data exchange between the active system and the standby system.

【0026】実施の形態6.なお、使用系からのステー
タスの更新を待機系でポーリングし検知することによっ
ても、使用系と待機系とのデータ授受の同期をとること
ができる。この場合、使用系がミラーメモリ7a,7b
上のステータスを更新することで待機系に対して動作の
タイミングを与え、待機系はミラーメモリ7bを通して
ステータスの更新を監視して使用系との処理同期を行
う。本実施の形態による使用系の処理の流れを図13の
フローチャート、待機系の処理の流れを図14のフロー
チャートに示す。全体の処理の流れは図2に示したS1
〜S7、図3に示したT1〜T8と同様であるが、使用
系ではS3およびS6のミラーメモリ書き込み処理のそ
れぞれ直後に、ミラーメモリ7a,7b上のステータス
を更新する(Y1,Y2)ことで、書き込み終了を通知
する。また、待機系では、ミラーメモリ7b上のステー
タスの更新を待ち(Y3,Y4)、T2およびT5のミ
ラーメモリ読み出しは、使用系からの書き込み終了を通
知するステータスの更新を受け付けたタイミングで行わ
れる。これにより、実施の形態5と同様、使用系と待機
系とのデータ授受の同期が図れる。
Embodiment 6 FIG. It should be noted that data transfer between the active system and the standby system can be synchronized by polling and detecting the status update from the active system in the standby system. In this case, the system used is the mirror memories 7a and 7b.
By updating the above status, the operation timing is given to the standby system, and the standby system monitors the status update through the mirror memory 7b to synchronize the processing with the system in use. The flow of processing of the use system according to the present embodiment is shown in the flowchart of FIG. 13, and the flow of processing of the standby system is shown in the flow chart of FIG. The overall processing flow is S1 shown in FIG.
~ S7, the same as T1 to T8 shown in FIG. 3, but in the usage system, the status on the mirror memories 7a and 7b is updated (Y1, Y2) immediately after the mirror memory write processing of S3 and S6, respectively. Then, the writing end is notified. Further, the standby system waits for the status update on the mirror memory 7b (Y3, Y4), and the mirror memory reading of T2 and T5 is performed at the timing of accepting the status update for notifying the write completion from the using system. . As a result, similar to the fifth embodiment, the data transfer between the active system and the standby system can be synchronized.

【0027】実施の形態7.なお、上記実施の形態1〜
6においては出力データの一致を確認するためのチェッ
ク値としてCRCを計算するものとして述べたが、チェ
ックサム値を計算するものとしてもよい。出力データの
チェックにチェックサム値を算出する方法もCRCと同
様に一般的であるが、チェックサムとはチェックする出
力データを単に足し算して得られるものであり、その性
質上、算出式に掛算を含むCRCに比べるとより速い処
理速度で確認が行え、系切り替えの前後での制御出力の
連続性を保つことができる。
Embodiment 7 It should be noted that the first to the first embodiments
Although the CRC is calculated as the check value for confirming the coincidence of the output data in 6 above, the checksum value may be calculated. The method of calculating the checksum value for checking the output data is generally the same as the CRC, but the checksum is obtained by simply adding the output data to be checked, and by its nature, it is multiplied by the calculation formula. As compared with a CRC including, the confirmation can be performed at a higher processing speed, and the continuity of the control output before and after the system switching can be maintained.

【0028】[0028]

【発明の効果】この発明は、以上説明したように構成さ
れているので、以下に示すような効果を奏する。
Since the present invention is constructed as described above, it has the following effects.

【0029】使用系と待機系とを常時動作させ、両系の
制御出力データのチェック値を算出して比較し、一致し
ない場合は系の切り替えを禁止するようにしたので、系
の切り替え前後での制御出力の不連続が防止できる。
The operating system and the standby system are always operated, the check values of the control output data of both systems are calculated and compared, and if they do not match, switching of the systems is prohibited. It is possible to prevent discontinuity of the control output of.

【0030】また、制御出力データのチェックをCRC
を計算して行うようにしたので、確認が確実に行える。
The CRC of the control output data is checked.
Since it is calculated and performed, the confirmation can be surely performed.

【0031】また、制御出力データのチェックをチェッ
クサムを計算した行うようにしたので、より速く確認が
行える。
Since the control output data is checked by calculating the checksum, the check can be performed faster.

【0032】また、使用系から待機系へミラーメモリを
介してデータを渡す際に、カウンタ値を付加し、制御出
力データとともにカウンタ値もチェックするようにした
ので、実行周期のずれによるデータの不一致の検知も可
能となる。
Further, when the data is passed from the used system to the standby system through the mirror memory, the counter value is added and the counter value is checked together with the control output data. Can also be detected.

【0033】また、使用系から待機系へミラーメモリを
介して出力データのチェック値を渡す際に、その出力デ
ータの演算元となった入力データのチェック値を付加
し、出力データとともに入力データもチェックするよう
にしたので、さらに確実に確認可能となる。
Further, when the check value of the output data is passed from the used system to the standby system through the mirror memory, the check value of the input data which is the operation source of the output data is added, and the input data as well as the output data is added. Since it is checked, it will be possible to confirm more reliably.

【0034】また、ミラーメモリに待ち行列を構成する
ようにしたので、使用系が書き込んだデータと待機系が
読み出すデータとの不一致が防止できる。
Further, since the queue is formed in the mirror memory, it is possible to prevent the data written by the active system and the data read by the standby system from being inconsistent.

【0035】また、ミラーメモリの書き込みタイミング
を割り込みにより使用系から待機系へ通知するようにし
たので、両系間のデータ授受の同期が図れる。
Further, since the write timing of the mirror memory is notified from the active system to the standby system by interruption, the data transfer between both systems can be synchronized.

【0036】また、ミラーメモリの書き込みタイミング
をステータスの更新により使用系から待機系へ通知する
ようにしたので、両系間のデータ授受の同期が図れる。
Further, since the write timing of the mirror memory is notified from the active system to the standby system by updating the status, data transfer between both systems can be synchronized.

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

【図1】 この発明の実施の一形態による並列二重系電
子連動装置の主要構成を示すブロック図である。
FIG. 1 is a block diagram showing a main configuration of a parallel dual system electronic interlocking device according to an embodiment of the present invention.

【図2】 この発明の実施の形態1における使用系の処
理の流れを示すフローチャートである。
FIG. 2 is a flowchart showing a processing flow of a usage system according to the first embodiment of the present invention.

【図3】 この発明の実施の形態1における待機系の処
理の流れを示すフローチャートである。
FIG. 3 is a flowchart showing a processing flow of a standby system according to the first embodiment of the present invention.

【図4】 この発明の実施の形態2における使用系の処
理の流れを示すフローチャートである。
FIG. 4 is a flowchart showing a processing flow of a usage system according to the second embodiment of the present invention.

【図5】 この発明の実施の形態2における待機系の処
理の流れを示すフローチャートである。
FIG. 5 is a flowchart showing a processing flow of a standby system according to the second embodiment of the present invention.

【図6】 この発明の実施の形態3における使用系の処
理の流れを示すフローチャートである。
FIG. 6 is a flowchart showing a processing flow of a usage system according to the third embodiment of the present invention.

【図7】 この発明の実施の形態3における待機系の処
理の流れを示すフローチャートである。
FIG. 7 is a flowchart showing a processing flow of a standby system according to the third embodiment of the present invention.

【図8】 この発明の実施の形態4における使用系の処
理の流れを示すフローチャートである。
FIG. 8 is a flowchart showing a processing flow of a usage system according to the fourth embodiment of the present invention.

【図9】 この発明の実施の形態4における待機系の処
理の流れを示すフローチャートである。
FIG. 9 is a flowchart showing a processing flow of a standby system according to the fourth embodiment of the present invention.

【図10】 この発明の実施の形態5による並列二重系
電子連動装置の主要構成を示すブロック図である。
FIG. 10 is a block diagram showing a main configuration of a parallel dual system electronic interlocking device according to a fifth embodiment of the present invention.

【図11】 この発明の実施の形態5における使用系の
処理の流れを示すフローチャートである。
FIG. 11 is a flowchart showing a processing flow of a usage system according to the fifth embodiment of the present invention.

【図12】 この発明の実施の形態5における待機系の
処理の流れを示すフローチャートである。
FIG. 12 is a flowchart showing a processing flow of a standby system according to the fifth embodiment of the present invention.

【図13】 この発明の実施の形態6における使用系の
処理の流れを示すフローチャートである。
FIG. 13 is a flowchart showing a flow of processing of a usage system in the sixth embodiment of the present invention.

【図14】 この発明の実施の形態6における待機系の
処理の流れを示すフローチャートである。
FIG. 14 is a flowchart showing a processing flow of a standby system according to the sixth embodiment of the present invention.

【図15】 従来の並列二重系電子連動装置の主要構成
を示すブロック図である。
FIG. 15 is a block diagram showing the main configuration of a conventional parallel dual system electronic interlocking device.

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

1 第1の連動制御系、2 第2の連動制御系、3 系
切替器、7a,7b ミラーメモリ、9a,9b 割り
込み線。
1 1st interlocking control system, 2nd 2nd interlocking control system, 3 system switch, 7a, 7b mirror memory, 9a, 9b interrupt line.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 通常の連動制御に使用する使用系と上記
使用系の故障時に備える待機系との二重系により構成
し、上記両系を常時動作させ、使用系の故障時に待機系
への切り替えを行う並列二重系電子連動装置において、 上記使用系が入力し制御演算に使用する入力データをミ
ラーメモリを介して上記待機系に受け渡し、上記待機系
においては受け渡された上記入力データを用いて制御演
算を行う手段、上記使用系および上記待機系においてそ
れぞれの出力データのチェック値を計算する手段、およ
び待機系において、両系の出力データのチェック値を比
較する手段、および上記比較結果が一致しない場合に上
記待機系の故障として故障情報を出力する手段を備え、
上記故障情報出力時には系の切り替えを禁止することを
特徴とする並列二重系電子連動装置。
1. A dual system comprising a use system used for normal interlocking control and a standby system provided in case of failure of the use system, both systems are operated at all times, and a standby system is provided when the use system fails. In a parallel dual system electronic interlocking device that performs switching, the input data input by the above-mentioned use system and used for control calculation is transferred to the above-mentioned standby system via a mirror memory, and the above-mentioned input data transferred in the above-mentioned standby system is transferred. Means for performing control calculation using the means, means for calculating check values of respective output data in the use system and the standby system, means for comparing check values of output data of both systems in the standby system, and the comparison result When the two do not match, a means for outputting failure information as a failure of the standby system is provided,
A parallel dual system electronic interlocking device, wherein switching of the system is prohibited when the failure information is output.
【請求項2】 チェック値をCRC(=Cyclic Redunda
ncy Code 巡回冗長符号)として計算することを特徴と
する請求項1記載の並列二重系電子連動装置。
2. The check value is CRC (= Cyclic Redunda
The parallel dual system electronic interlocking device according to claim 1, wherein the parallel dual system electronic interlocking device is calculated as an ncy code (cyclic redundancy code).
【請求項3】 チェック値をチェックサムとして計算す
ることを特徴とする請求項1記載の並列二重系電子連動
装置。
3. The parallel dual system electronic interlocking device according to claim 1, wherein the check value is calculated as a checksum.
【請求項4】 使用系から待機系への入力データの受け
渡し時に、受け渡し周期毎にインクリメントするカウン
タ値を付加する手段、および出力データのチェック値に
上記カウンタ値を付加して比較する手段を備えたことを
特徴とする請求項1ないし3のいずれかに記載の並列二
重系電子連動装置。
4. A means for adding a counter value that is incremented for each transfer cycle when the input data is transferred from the use system to the standby system, and a means for adding the counter value to the check value of the output data and comparing the check values. The parallel dual system electronic interlocking device according to any one of claims 1 to 3, characterized in that.
【請求項5】 使用系から待機系への出力データのチェ
ック値の受け渡し時に、入力データのチェック値を付加
する手段、および待機系では、両系の出力データのチェ
ック値の比較に加えて、両系の入力データのチェック値
の比較を行う手段を備えたことを特徴とする請求項1な
いし4のいずれかに記載の並列二重系電子連動装置。
5. A means for adding the check value of the input data when the check value of the output data is transferred from the use system to the standby system, and in the standby system, in addition to the comparison of the check values of the output data of both systems, 5. The parallel dual system electronic interlocking device according to claim 1, further comprising means for comparing check values of input data of both systems.
【請求項6】 使用系から待機系へのデータの受け渡し
において、ミラーメモリ上に待ち行列を設け、上記使用
系でエンキュー(待ち行列への登録)し、上記待機系で
デキュー(待ち行列からの読み出し)するようにしたこ
とを特徴とする請求項1ないし5のいずれかに記載の並
列2重系電子連動装置。
6. When transferring data from the active system to the standby system, a queue is provided on the mirror memory, enqueues (registers in the queue) in the active system, and dequeues (registers from the queue in the standby system. 6. The parallel double system electronic interlocking device according to claim 1, wherein the parallel double system electronic interlocking device.
【請求項7】 使用系から待機系へのデータ受け渡し
時、データ書き込み後に上記使用系から上記待機系への
割り込みを発生させ、その割り込み発生を待機系におけ
るデータ読み出しタイミングとするようにしたことを特
徴とする請求項1ないし5のいずれかに記載の並列二重
系電子連動装置。
7. When the data is transferred from the active system to the standby system, an interrupt is generated from the active system to the standby system after writing the data, and the interrupt generation is set as a data read timing in the standby system. The parallel dual system electronic interlocking device according to any one of claims 1 to 5.
【請求項8】 使用系から待機系へのデータ受け渡し
時、データ書き込み後に上記使用系が書き込みステータ
スの更新を行い、上記待機系においては、一定周期毎に
上記書き込みステータスの監視を行うことにより読み出
しタイミングとするようにしたことを特徴とする請求項
1ないし5のいずれかに記載の並列二重系電子連動装
置。
8. When data is transferred from the active system to the standby system, the active system updates the write status after writing the data, and the standby system reads the data by monitoring the write status at regular intervals. The parallel dual system electronic interlocking device according to any one of claims 1 to 5, wherein timing is set.
JP13201496A 1996-05-27 1996-05-27 Parallel dual electronic interlocking device Expired - Fee Related JP3208060B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP13201496A JP3208060B2 (en) 1996-05-27 1996-05-27 Parallel dual electronic interlocking device
FR9614701A FR2749097B1 (en) 1996-05-27 1996-11-29 ELECTRONICALLY LOCKED MULTIPLEX PARALLEL CONTROL SYSTEM
GB9700644A GB2313678B (en) 1996-05-27 1997-01-14 Electronically-interlocked parallel-multiplexed control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13201496A JP3208060B2 (en) 1996-05-27 1996-05-27 Parallel dual electronic interlocking device

Publications (2)

Publication Number Publication Date
JPH09319401A true JPH09319401A (en) 1997-12-12
JP3208060B2 JP3208060B2 (en) 2001-09-10

Family

ID=15071521

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13201496A Expired - Fee Related JP3208060B2 (en) 1996-05-27 1996-05-27 Parallel dual electronic interlocking device

Country Status (3)

Country Link
JP (1) JP3208060B2 (en)
FR (1) FR2749097B1 (en)
GB (1) GB2313678B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006080431A1 (en) * 2005-01-28 2006-08-03 Yokogawa Electric Corporation Information processing device and information processing method
JP2009012657A (en) * 2007-07-06 2009-01-22 Nippon Signal Co Ltd:The Ground element, writing unit, and ground device
JP2010102565A (en) * 2008-10-24 2010-05-06 Mitsubishi Electric Corp Duplex controller
JP2011025733A (en) * 2009-07-22 2011-02-10 Kyosan Electric Mfg Co Ltd Electronic terminal device and electronic interlocking device
JP2012524353A (en) * 2009-04-20 2012-10-11 ピルツ ゲーエムベーハー アンド コー.カーゲー Safety-related control unit and control method for automated equipment
KR20160138203A (en) 2014-03-31 2016-12-02 닛뽄신고가부시기가이샤 Redundant control device and system switching method
JP2019128820A (en) * 2018-01-25 2019-08-01 株式会社日立ハイテクソリューションズ Double control system
KR20200045021A (en) * 2018-10-05 2020-05-04 현대로템 주식회사 Tcms and method of data distributed processing

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2345153A (en) * 1998-12-23 2000-06-28 Motorola Ltd Fault-tolerant microcontroller arrangement, eg for a vehicle braking system
DE10057782C1 (en) * 2000-11-22 2002-06-20 Siemens Ag Operating mode switching method for process control switches between solo operating mode and redundant control mode employing back-up central processing unit
US6938124B2 (en) 2002-07-19 2005-08-30 Hewlett-Packard Development Company, L.P. Hardware assisted communication between processors

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS573101A (en) * 1980-06-09 1982-01-08 Hitachi Ltd Multiple control device
JPH0729749B2 (en) * 1989-07-21 1995-04-05 株式会社日立製作所 Passenger conveyor control device
EP0518630A3 (en) * 1991-06-12 1993-10-20 Aeci Ltd Redundant control system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006080431A1 (en) * 2005-01-28 2006-08-03 Yokogawa Electric Corporation Information processing device and information processing method
US8359529B2 (en) 2005-01-28 2013-01-22 Yokogawa Electric Corporation Information processing apparatus and information processing method
JP2009012657A (en) * 2007-07-06 2009-01-22 Nippon Signal Co Ltd:The Ground element, writing unit, and ground device
JP2010102565A (en) * 2008-10-24 2010-05-06 Mitsubishi Electric Corp Duplex controller
JP2012524353A (en) * 2009-04-20 2012-10-11 ピルツ ゲーエムベーハー アンド コー.カーゲー Safety-related control unit and control method for automated equipment
JP2014225276A (en) * 2009-04-20 2014-12-04 ピルツ ゲーエムベーハー アンド コー.カーゲー Safety related control unit and automated facility control method
US9098074B2 (en) 2009-04-20 2015-08-04 Pilz Gmbh & Co. Kg Safety-related control unit and method for controlling an automated installation
JP2011025733A (en) * 2009-07-22 2011-02-10 Kyosan Electric Mfg Co Ltd Electronic terminal device and electronic interlocking device
KR20160138203A (en) 2014-03-31 2016-12-02 닛뽄신고가부시기가이샤 Redundant control device and system switching method
JP2019128820A (en) * 2018-01-25 2019-08-01 株式会社日立ハイテクソリューションズ Double control system
KR20200045021A (en) * 2018-10-05 2020-05-04 현대로템 주식회사 Tcms and method of data distributed processing

Also Published As

Publication number Publication date
FR2749097B1 (en) 1998-07-24
GB2313678A (en) 1997-12-03
GB9700644D0 (en) 1997-03-05
GB2313678B (en) 1998-09-09
FR2749097A1 (en) 1997-11-28
JP3208060B2 (en) 2001-09-10

Similar Documents

Publication Publication Date Title
JPH09319401A (en) Parallel duplex system electronic interlocking device
US7243257B2 (en) Computer system for preventing inter-node fault propagation
JP3529994B2 (en) Verification circuit
JPS62293441A (en) Data outputting system
JPS62187901A (en) Method for controlling duplex controller
JPS59200365A (en) Transfer system of control information
SU1365086A1 (en) Device for checking control units
JP3396946B2 (en) Switching device in duplex system
JPS6227814A (en) Fault detection circuit
JP3497045B2 (en) Information processing equipment
JPS6224354A (en) Duplex computer system
JPH08147012A (en) Programmable controller
JPH07104795B2 (en) Error detection method
KR920008791B1 (en) Signal relying system
JP3127939B2 (en) Event information transmission device
JPS5857843A (en) Check system for data line exchange
JPS6016781B2 (en) Failure detection method for electronic switching processing equipment
JPS59157759A (en) Dual system
JPH04155535A (en) Fault detecting system for information processor
JPH03111962A (en) Multiprocessor system
JPH1115698A (en) Method for reporting failure and mechanism therefor
JPH04211841A (en) Duplex processor
JPH04157549A (en) Bus control system
JPH0454643A (en) Parity generating and checking circuit
JPH05189259A (en) External register setting system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070706

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080706

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090706

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100706

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100706

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110706

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110706

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120706

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120706

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130706

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees