Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3208060B2 - Parallel dual electronic interlocking device - Google Patents
[go: Go Back, main page]

JP3208060B2 - Parallel dual electronic interlocking device - Google Patents

Parallel dual electronic interlocking device

Info

Publication number
JP3208060B2
JP3208060B2 JP13201496A JP13201496A JP3208060B2 JP 3208060 B2 JP3208060 B2 JP 3208060B2 JP 13201496 A JP13201496 A JP 13201496A JP 13201496 A JP13201496 A JP 13201496A JP 3208060 B2 JP3208060 B2 JP 3208060B2
Authority
JP
Japan
Prior art keywords
data
standby system
standby
control
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP13201496A
Other languages
Japanese (ja)
Other versions
JPH09319401A (en
Inventor
利郎 岡島
淳 向井
肇 関本
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 OR CALCULATING; 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 OR CALCULATING; 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 OR CALCULATING; 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 OR CALCULATING; 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 OR CALCULATING; 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)

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 formed as a double system and can be switched to a standby system when a failure occurs in a used system.

【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, it is assumed that the same input is performed in parallel to both systems, and that the operation results of the used system and the standby system are the same by synchronizing both systems. Came. FIG. 15 is a block diagram showing a main configuration of a conventional device disclosed in, for example, Japanese Patent Application Laid-Open No. 3-292257. In the figure, 1 is a first interlocking control system, 1a is a control unit mounted on the first interlocking control system 1, has a CPU, and executes a program that functions as an interlocking device by the CPU. Reference numeral 1b denotes an external I / F for connecting the control unit 1a to the control target device 6, 1c denotes a control output line for transmitting a control output to the control target device 6, 1d
Is a display line for receiving information from the device 6 to be controlled. Reference numeral 1e denotes a cycle timer for setting a program execution cycle of each control unit of the first interlocking control system 1 and the second interlocking control system 2. Reference numeral 2 denotes a second interlocking control system,
A control unit 2a, an external I / F 2b, a control output line 2c, a display line 2d, and a periodic timer 2e having the same functions as the interlocking control system 1 exist or are connected. 3
Is a system switch, and depending on the state of the system switch 3, only one of the external I / Fs of the first interlock control system 1 and the second interlock control system 2 is operated, and the output of the other system is output. Cut it. 4
“a” connects the system switch 3 and the control unit 1 a, and is a system state signal indicating a system switching state, and 4 b is a system failure signal indicating 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 a use system and the second interlocking control system 2 is a standby system, information from the controlled device 6 is Are transmitted in parallel to the two interlocking control systems 1 and 2 through the display lines 1d and 2d. Based on this information, the control units 1a and 2a perform data processing in synchronization with each other. The instruction information is sent to the controlled device 6 through the output lines 1c and 2c. However, normally, the output of the second interlocking control system 2 which is a standby system is cut off, so that the output of the first interlocking control system 1 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 abnormally.

【0004】第1の連動制御系1と第2の連動制御系2
との処理同期については、使用系が正常に動作している
ときは、その周期を正しいものとして待機系の周期タイ
マ2eを使用系のタイマに合わせてセットすることによ
り、両系の同期をとっている。次に、使用系から待機系
への系切替の手順を示す。各連動制御系1,2では、制
御部1a,1bにて常時異常判断をしており、異常が検
出されると異常を検出した系の系故障信号4b,5bを
出力する。系切替器3では、第1の連動制御系1からの
系故障信号4bを検出したとき、使用系の制御出力をカ
ットし、第2の連動制御系2すなわち待機系を使用系に
切り替える。これにより、第2の連動制御系2が機能す
るようになる。
A first interlocking control system 1 and a second interlocking control system 2
When the used system is operating normally, the period is set to be correct and the standby system cycle timer 2e is set in accordance with the timer of the used system to synchronize the two systems. ing. Next, the procedure of system switching from the used system to the standby system will be described. In each of the interlocking control systems 1 and 2, the control units 1a and 1b constantly judge an abnormality, and when an abnormality is detected, outputs the system failure signals 4b and 5b of the system that has detected the abnormality. When detecting the system failure signal 4b from the first interlocking control system 1, the system switch 3 cuts off the control output of the using system and switches the second interlocking control system 2, that is, the standby system, to the using system. Thereby, the second interlocking control system 2 functions.

【0005】[0005]

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

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

【0007】[0007]

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

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

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

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

【0011】また、使用系から待機系への出力データの
チェック値の受け渡し時に、入力データのチェック値を
付加する手段、および待機系では、両系の出力データの
チェック値の比較に加えて、両系の入力データのチェッ
ク値の比較を行う手段を備えている。
The 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 the standby system includes, in addition to the comparison of the check values of the output data of both systems, A means for comparing check values of input data of both systems is provided.

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

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

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

【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. FIG. 1 is a block diagram showing a main configuration in a case where control is performed using a parallel dual electronic interlocking device according to an embodiment of the present invention. In the figure, reference numerals 1 to 6 are the same as or equivalent to the conventional one shown in FIG.
Reference numeral 7a denotes a mirror memory constituting the first interlocking control system 1, and 7b denotes a mirror memory constituting the second interlocking control system 2. 8a and 8b are connection cables for connecting the mirror memories 7a and 7b to each other. Mirror memory 7a, 7b
Is a memory board that can be written and read in the same manner as a normal RAM when viewed from the control units 1a and 2a. Data written from the control unit 1a to the mirror memory 7a is
At the same time, the data is copied to the corresponding area of the mirror memory 7b via the connection cable 8a and can be read from the control unit 2a. Similarly, 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.
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 And the area of the mirror memory 7a to which the control unit 1a writes data is arranged so as not to overlap, 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による制御周期で繰り返す。
The operation of the first interlocking control system 1 used in the parallel dual electronic interlocking device thus configured is shown in the flowchart of FIG. 2, and the operation of the second interlocking control system as 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 from the controlled device 6 to the internal RAM via the display line 1d (S2). The input information is written to the mirror memories 7a and 7b, and the display information is passed to the second interlocking control system 2 (S3). Next, the first interlocking control system 1 performs a control calculation according to the input information (S4), and calculates a CRC of the control output (S5). The CRC is the remainder when the control output data multiplied by the highest order term of the generator polynomial is 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). The most common way to check the control output is to calculate a CRC, so that an erroneous bit can be detected, so that the check can be reliably performed. By writing the control output CRC into 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). Hereinafter, the above S2 to S
7 is repeated in a 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 the initialization (T1), the input information written by the use system is read from the mirror memory 7b and input to the internal RAM (T1).
2). Next, as in the case of the use system, a control operation is performed according to the input information (T3), and a control output CRC is calculated (T3).
4). Then, the control output CRC written by the use system is read from the mirror memory 7b (T5), and the value is compared with the control output CRC of the standby system calculated at T4 (T5).
6). As a result of the comparison, when a mismatch is detected between both CRCs (NG at T6), the continuity of the control output is not maintained even if the operation is switched to the standby system. The system failure signal 5b is output to the switch 3 (T7). As a result, the standby system program is stopped (T8), and discontinuity of control output due to switching to the standby system can be prevented. If a CRC match is confirmed in T6 (when T6 is OK), T2 to T6
Is repeated at the control cycle of the cycle timer 2e synchronized with the cycle timer 1e. As described above, even if some abnormality occurs in the used system, switching to the standby system is not performed if the control outputs of the used system and the standby system do not match. 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 FIG. In the first embodiment, system switching is performed if the control output of the used system and the control output of the standby system match, but the system is switched from the used system due to a difference in hardware characteristics between the used system and the standby system. After the timer is set and before the data of that cycle is written, the standby system may read the data, in which case,
There was a problem that the standby system would read data one cycle earlier. In the second embodiment, a shift in both calculation periods is detected, and if the calculation periods are shifted even if the control outputs match, 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 with reference to the flowchart of FIG. In the use 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 used.
The display information is transferred to the second interlocking control system 2 by writing the information in the field b (S1 to S3). At the same time, the period counter is incremented and the mirror memory 7 is used as the input counter value.
The data is passed to the standby system by writing to a and 7b (U1). Subsequently, the first interlocking control system 1 performs a control operation in accordance with the input information, calculates a CRC of the control output, and calculates the CRC of the control output.
a, 7b, the control output CR of the used system is written.
C is passed to the standby system (S4 to S6). At this time, the U1
Then, the same counter value as the one passed to the standby system is written to 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, input information is read from the mirror memory 7b (T1 to T1).
2). At the same time, the input counter value written by the used system is read from the mirror memory 7b (U3). Next, similarly to the first embodiment, a control operation is performed according to the input information,
The control output CRC is calculated and compared with the control output CRC of the use system read from the mirror memory 7b (T3 to T3).
6). As a result of the comparison, if a mismatch is detected between both CRCs (NG at T6), a system failure signal 5b is output, and
The standby system program is stopped (T7 to T8). If both CRCs match (OK at T6), the output counter value written by the use system is read from the mirror memory 7b (U4), and if it does not match the counter value read at U3 (NG at U5). ), It is determined that the periods are out of alignment, a failure signal is output, and the program is stopped (T7 to T8). When the input counter read from the mirror memory 7b matches the output counter (O5 in U5)
In the case of K), the processing of T2 to U5 is repeated at the control cycle of the cycle timer 2e synchronized with the cycle timer 1e of the used system. As described above, it is possible to detect a mismatch between the outputs of the two systems due to a shift in 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 active system and the standby system is confirmed. However, 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 the present embodiment will be described with reference to the flowchart of FIG. 6 and the flow of processing of the standby system with reference to the flowchart of FIG. In the use system, as in the first embodiment, after initialization, display information is input from the controlled device 6 and written into the mirror memories 7a and 7b to pass the display information to the second interlocking control system 2 ( S1 to S3).
Then, a control operation is performed according to the input information, a CRC of the control output is calculated and written to the mirror memories 7a and 7b, so that the control output CRC of the use system is passed to the standby system (S4 to S6). Subsequently, in the above processing, the control target device 6
Calculates the CRC of the input information inputted from (V1) and writes the value to the mirror memories 7a and 7b, thereby passing the input information CRC of the active 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, a control operation is performed according to the input information read from the mirror memory 7b, and a control output CRC is calculated and read from the mirror memory 7b, as in the first embodiment. A comparison is made with the control output CRC of the used system (T1 to T6). As a result of the comparison,
When a mismatch is detected between both CRCs (NG at T6), the system failure signal 5b is output and the standby system program is stopped (T7 to T8). If both CRCs match (OK at T6), the mirror memory 7b
Calculates the CRC of the input information in the standby system read from (v3), and reads the CRC of the input information written by the used system from the mirror memory 7b (v4). And
The input information CRC of the standby system calculated in the process of V3 is compared with the CRC of the input information of the active system read in the process of V4 (V5), and if they do not match (NG at V5), 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 processing of T2 to V5 is repeated at the control cycle of 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 used system and the standby system but also the coincidence 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 Due to the difference in hardware characteristics between the active system and the standby system, an event may occur such that the standby system reads before the data writing of the active system is completed, and the written data matches the data to be read. There was a problem of not doing. In the present embodiment, a queue is formed in the mirror memory to protect data, writing to the mirror memory is enqueued (registered) in the queue, and reading from the mirror memory is dequeued (read) from the queue. An example is shown below. 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 with reference to the flowchart of FIG. In the system used, after initialization
Display information is input from the control target device 6 and the mirror memory 7 is input.
The display information is passed to the second interlocking control system 2 by enqueuing to the a and 7b (S1 to W1). Then, a control operation is performed according to the input information, a CRC of the control output is calculated and enqueued in the mirror memories 7a and 7b, so that the control output CRC of the use 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)
Thereafter, the input information is dequeued from the mirror memory 7b (W3), a control operation is performed according to the input information, and a control output CRC is calculated (T3 to T4). Then, the control output CRC of the use system is dequeued from the mirror memory 7b (W4), and the control output CRC of the standby system calculated in T4 is calculated.
(T6). As a result of the comparison, if a mismatch is detected between both CRCs (NG at T6), the system failure signal 5
b to stop the standby program (T7-
T8). If both CRCs match (OK at T6), the processing of W3 to T6 is performed using the period timer 1e of the used system.
Is repeated at the control cycle of the cycle timer 2e synchronized with the control cycle.
As described above, the input data written in the mirror memory from the used system and the input data read by the standby system surely coincide with each other, thereby preventing the output data from being inconsistent due to the inconsistency in the input data.

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

【0025】本実施の形態による使用系の処理の流れを
図11のフローチャート、待機系の処理の流れを図12
のフローチャートに示す。全体の処理の流れは図2に示
したS1〜S7、図3に示したT1〜T8と同様である
が、使用系ではS3およびS6のミラーメモリ書き込み
処理のそれぞれ直後に、待機系に対して割り込みを発生
し(X1およびX2)、書き込み終了を通知する。ま
た、待機系では、使用系からの割り込みを待ち(X3,
X4)、T2およびT5のミラーメモリ読み出しは、使
用系からの書き込み終了を通知する割り込みが発生した
タイミングで行われる。以上により、使用系と待機系と
のデータ授受の同期をとることが可能となる。
FIG. 11 is a flow chart showing the flow of processing in the use system according to the present embodiment, and FIG. 12 is a flow chart showing the flow of processing in the standby system.
Is shown in the flowchart of FIG. The entire processing flow is the same as S1 to S7 shown in FIG. 2 and T1 to T8 shown in FIG. 3, but in the used system, immediately after the mirror memory write processing in S3 and S6, An interrupt is generated (X1 and X2) to notify the end of writing. The standby system waits for an interrupt from the active system (X3,
X4), T2 and T5 mirror memory reading is performed at the timing when an interrupt for notifying the end of writing from the active system occurs. As described above, it is possible to synchronize the data transfer between the use 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. The data exchange between the used system and the standby system can also be synchronized by polling and detecting the status update from the used system in the standby system. In this case, the used system is the mirror memory 7a, 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 and synchronizes the processing with the used system. FIG. 13 is a flowchart showing the flow of processing in the use system according to the present embodiment, and FIG. 14 is a flowchart showing the flow of processing in the standby system. The flow of the entire process is represented by S1 shown in FIG.
S7 to T7, the same as T1 to T8 shown in FIG. 3, except that the statuses on the mirror memories 7a and 7b are updated (Y1, Y2) immediately after the mirror memory write processing of S3 and S6 in the use system. Notifies the end of writing. 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 when the status update for notifying the end of writing from the active system is received. . As a result, as in the fifth embodiment, the data transfer between the use 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
In the above description, the CRC is calculated as a check value for confirming the coincidence of the output data. However, a check sum value may be calculated. A method of calculating a checksum value for checking output data is also common as in the case of CRC, but a checksum is obtained by simply adding output data to be checked, and by its nature, is multiplied by a calculation formula. Can be confirmed at a higher processing speed than that of the CRC including, and the continuity of the control output before and after system switching can be maintained.

【0028】[0028]

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

【0029】使用系と待機系とを常時動作させ、両系の
制御出力データのチェック値を算出して比較し、一致し
ない場合は系の切り替えを禁止するようにしたので、系
の切り替え前後での制御出力の不連続が防止できる。
The used 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, the system switching is prohibited. Can be prevented from being discontinuous.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

フロントページの続き (56)参考文献 特開 平6−329023(JP,A) 特開 平2−196302(JP,A) 特開 平5−63683(JP,A) 特開 平2−114337(JP,A) 特開 昭62−187901(JP,A) 特開 平4−125765(JP,A) 特開 平1−154202(JP,A) 特開 平4−49402(JP,A) (58)調査した分野(Int.Cl.7,DB名) G05B 9/03 B61L 19/06 G06F 11/18 310 Continuation of front page (56) References JP-A-6-329023 (JP, A) JP-A-2-196302 (JP, A) JP-A-5-63683 (JP, A) JP-A-2-114337 (JP) JP-A-62-187901 (JP, A) JP-A-4-125765 (JP, A) JP-A-1-154202 (JP, A) JP-A-4-49402 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) G05B 9/03 B61L 19/06 G06F 11/18 310

Claims (8)

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

Families Citing this family (12)

* 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
JP3897046B2 (en) 2005-01-28 2007-03-22 横河電機株式会社 Information processing apparatus and information processing method
JP5067965B2 (en) * 2007-07-06 2012-11-07 日本信号株式会社 Ground unit, writing device and ground device
JP2010102565A (en) * 2008-10-24 2010-05-06 Mitsubishi Electric Corp Duplex controller
DE102009019087A1 (en) * 2009-04-20 2010-11-11 Pilz Gmbh & Co. Kg Safety control and method for controlling an automated plant
JP4954249B2 (en) * 2009-07-22 2012-06-13 株式会社京三製作所 Electronic terminal device and electronic interlocking device
JP2015194971A (en) 2014-03-31 2015-11-05 日本信号株式会社 redundant system control device
JP7023726B2 (en) * 2018-01-25 2022-02-22 株式会社日立ハイテクソリューションズ Duplex control system
KR102171638B1 (en) * 2018-10-05 2020-10-30 현대로템 주식회사 Tcms and method of data distributed processing
JP7770903B2 (en) * 2021-12-21 2025-11-17 株式会社東芝 Electronic Interlocking System

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

Also Published As

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

Similar Documents

Publication Publication Date Title
JP3208060B2 (en) Parallel dual electronic interlocking device
US11599090B2 (en) System and method of network synchronized time in safety applications
CN113791937B (en) Data synchronous redundancy system and control method thereof
JPH04364562A (en) Method of ensuring data stored in primary database and secondary database in process control system
US7243257B2 (en) Computer system for preventing inter-node fault propagation
JP4161266B2 (en) High-speed dual system controller
JPS62187901A (en) Control method of redundant controller
JP5604799B2 (en) Fault tolerant computer
JPH0458237B2 (en)
JPH08147012A (en) Programmable controller
JPH0218626B2 (en)
JP3396946B2 (en) Switching device in duplex system
JP3112068B2 (en) Redundant configuration device
JP2954040B2 (en) Interrupt monitoring device
JPS6016781B2 (en) Failure detection method for electronic switching processing equipment
JP3497045B2 (en) Information processing equipment
JP3127939B2 (en) Event information transmission device
JPS63213013A (en) Time specification method for computer network systems
JPH0697989A (en) Method and device for switching to line for processing system for duplex processor
JPH03250239A (en) System for communicating data between processors
JPH1115698A (en) Method for reporting failure and mechanism therefor
KR930007469B1 (en) Fault diagnosis and recovery method in processor matching operation
JPS59157759A (en) Dual system
JPH1145189A (en) Data setting method and data processing device
JPS62229333A (en) Multiplexing processor

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