JPH1063530A - Redundant type system - Google Patents

Redundant type system

Info

Publication number
JPH1063530A
JPH1063530A JP8221351A JP22135196A JPH1063530A JP H1063530 A JPH1063530 A JP H1063530A JP 8221351 A JP8221351 A JP 8221351A JP 22135196 A JP22135196 A JP 22135196A JP H1063530 A JPH1063530 A JP H1063530A
Authority
JP
Japan
Prior art keywords
data
write
tracking data
shared memory
control signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8221351A
Other languages
Japanese (ja)
Inventor
Hideo Furuno
英夫 古野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP8221351A priority Critical patent/JPH1063530A/en
Publication of JPH1063530A publication Critical patent/JPH1063530A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Hardware Redundancy (AREA)
  • Safety Devices In Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To secure the reliability of tracking operation by a stand-by system by reducing the burden of writing processing. SOLUTION: In this redundant type system, signal buses 3 and 4 and bus buffers 5 and 6 are connected between an operating system device 1 and a stand-by system device 2 and a signal bus 7 with a shared memory 8 is connected between these bus buffers. In this case, the system is provided with the operating system device 1 closing the buffer 5 on the side of the operating system, making the shared memory an output mode at the time of starting a writing cycle and setting data of this time on the signal bus 3 on the side of an operating system, a comparing means 9 comparing data of this time on the signal bus on the side of the operating system and data of last time in the shared memory with each other, a stoppage request issuing means 11 sending a stoppage request when both of data coincide with each other and a means which finishes the writing cycle at the time of receiving a writing stoppage request, opens the bus buffer on the side of the operating system at the time of not receiving the writing stoppage request and executes a writing request to share this time data in the shared memory.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は各種の制御システム
などに利用される冗長型システムに関する。
The present invention relates to a redundant system used for various control systems and the like.

【0002】[0002]

【従来の技術】一般に、産業用制御装置は、高信頼性を
確保する観点から、スタンバイ方式を適用した待機冗長
型システムが用いられている。この待機冗長型システム
は、実際に制御対象の制御を担当する稼動系と、この稼
動系の制御の実行中に制御対象の制御を行わずに待機状
態にあって、稼動系が故障などによって制御を停止した
際に制御対象の制御を引き継ぐ待機系とからなってい
る。
2. Description of the Related Art Generally, a standby redundant system to which a standby system is applied is used for industrial control devices from the viewpoint of ensuring high reliability. This standby redundant system has an active system that is actually in charge of the control of the control target, and a standby system that is not in control of the control target while the control of the active system is being executed. And a standby system that takes over the control of the control target when the operation is stopped.

【0003】ところで、この種のシステムは、稼動系の
ダウン時に速やかに待機系を立ち上げて制御を引き継ぐ
ためには、稼動系の制御用データも速やかに引き継ぐ必
要がある。稼動系のダウンの後に待機系が制御用データ
を引き継ぐことは、稼動系が故障を内在する恐れがある
以上、信頼性の面で問題がある。このため、稼動系の正
常な制御の実行時に制御用データを待機系に送り込むト
ラッキング動作が不可欠となる。
In this type of system, in order to quickly start up a standby system and take over control when the active system goes down, it is necessary to quickly take over control data for the active system. If the standby system takes over the control data after the active system goes down, there is a problem in reliability because the active system may have a failure. For this reason, a tracking operation for sending control data to the standby system during normal execution of the active system control is indispensable.

【0004】図13はトラッキング機能をもった従来の
冗長型システムの構成図である。このシステムは、稼動
系プロセッサ101および待機系プロセッサ102が設
けられ、これら両プロセッサ101,102にはそれぞ
れ稼動系プロセッサ制御信号バス103,待機系プロセ
ッサ制御信号バス104を介してバスバッフア105,
106が接続されている。これらバスバッフア105,
106間は共有メモリ107をもつ共有メモリ制御信号
バス108によって接続されている。
FIG. 13 is a configuration diagram of a conventional redundant system having a tracking function. In this system, an active processor 101 and a standby processor 102 are provided. These two processors 101 and 102 are connected to a bus buffer 105 and a bus buffer 105 via an active processor control signal bus 103 and a standby processor control signal bus 104, respectively.
106 is connected. These bus buffers 105,
106 are connected by a shared memory control signal bus 108 having a shared memory 107.

【0005】このような冗長型システムにおいては、稼
動系プロセッサ101による制御対象の制御時,稼動系
プロセッサ101がバスバッフア105を開けた後、制
御信号バス103、バスバッフア105および制御信号
バス108の経路で共有メモリ107にトラッキングし
ようとする制御用データを書き込む。そして、この制御
用データの書込み後、待機系プロセッサ102は、制御
信号バス104、バスバッフア106および制御信号バ
ス108の経路で共有メモリ107から制御用データを
読み出し、1回のトラッキング動作が完了する。なお、
制御対象の制御を行うコントローラに適用する場合、当
該コントローラは、実時間制御を要求されるので、この
トラッキング動作も周期的に繰り返し行われる。
In such a redundant system, at the time of controlling a control target by the active processor 101, the active processor 101 opens the bus buffer 105, and then controls the control signal bus 103, the bus buffer 105, and the control signal bus 108. The control data to be tracked is written to the shared memory 107. After writing the control data, the standby processor 102 reads the control data from the shared memory 107 via the control signal bus 104, the bus buffer 106, and the control signal bus 108, and one tracking operation is completed. In addition,
When the present invention is applied to a controller that controls a control target, the controller is required to perform real-time control, and thus the tracking operation is also performed periodically and repeatedly.

【0006】図14は従来の別の冗長型システムを示す
構成図である。この冗長型システムは、稼動系100と
待機系120とに分けられ、稼動系10には稼動系プロ
セッサ111および共有メモリ112などが設けられ、
待機系120にも同様に待機系プロセッサ121および
共有メモリ122などが設けられている。113,11
4,123,124は制御信号バス、115,116,
125,126はバスバッフア、130は稼動系−待機
系接続バスである。
FIG. 14 is a block diagram showing another conventional redundant system. This redundant system is divided into an active system 100 and a standby system 120, and the active system 10 is provided with an active system processor 111, a shared memory 112, and the like.
The standby system 120 is also provided with a standby processor 121, a shared memory 122, and the like. 113, 11
4, 123, 124 are control signal buses, 115, 116,
Reference numerals 125 and 126 denote bus buffers, and reference numeral 130 denotes an active-standby connection bus.

【0007】この冗長型システムは、各系110,12
0ごとに独立的に共有メモリ関連部分を設けたものであ
って、稼動系プロセッサ111による制御対象の制御
時,稼動系プロセッサ111がバスバッフア115,1
16を開けた後、制御信号バス113,114および稼
動系−待機系接続バス130の経路で共有メモリ122
に制御用データを書き込んだ後、待機系プロセッサ12
1が周期的に共有メモリ122の内容を読み取る。従っ
て、稼動系プロセッサ111が制御対象を制御している
間、共有メモリ112は使用されていない。但し、稼動
系プロセッサ111の異常時、待機系プロセッサ121
が制御対象を制御しているとき、制御情報を共有メモリ
112に書き込むことになるが、このとき,他方の共有
メモリ122は使用されていない。
[0007] This redundant type system comprises
0 is provided independently for each shared memory, and when the control target is controlled by the active processor 111, the active processor 111
After opening the shared memory 122, the shared memory 122 is routed through the control signal buses 113 and 114 and the operation-standby connection bus 130.
After writing the control data to the standby processor 12
1 periodically reads the contents of the shared memory 122. Therefore, the shared memory 112 is not used while the active processor 111 controls the control target. However, when the active processor 111 is abnormal, the standby processor 121
Controls the control target, the control information is written to the shared memory 112, but at this time, the other shared memory 122 is not used.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、以上の
ような冗長型システムには、次のような問題点が指摘さ
れている。 (1) 稼動系プロセッサ101,111としては、本
来実行しようとする制御動作から見れば、トラッキング
動作は余分な動作であると言える。それにも拘らず、稼
動系プロセッサ101,111は、トラッキング動作の
ために、所定周期ごとに書込サイクルを設定し、今回の
制御用データを新しいトラッキング用データとして共有
メモリ107に書込んでいく書込み処理を実行する必要
があるので、システムの処理面からの負担を増大させる
問題がある。 (2) 稼動系プロセッサ101,111は、制御しよ
うとする制御システムが大きくなればなるほど、待機系
プロセッサ102,121に対してトラッキングしなく
てはならないデータ量が増大し、さらに処理の負担が増
大し、無視できない状態となる。 (3) また、共有メモリ107,122に対するデー
タの書換えの頻度が多くなればなるほど、ノイズなどの
外乱の影響を受ける要因が多くなり、結果的として誤っ
たデータを共有メモリ107,122に書き込んでしま
う場合が増え、待機系プロセッサ102,121に影響
を与える問題がある。 (4) さらに、図14に示すシステムについては、稼
動系プロセッサ111による制御対象の制御時、実際に
使用するのは待機系側共有メモリ122であって、この
とき稼動系側共有メモリ112は使用されていない。待
機系プロセッサ121による制御対象の制御時、今度は
逆に稼動系側共有メモリ112を実際に使用するが、待
機系側共有メモリ122は使用されていない。よって、
制御対象の制御時、必ず1台の共有メモリが使用されて
いないので、いかにも無駄なシステムであると思える
が、この場合には稼動系110と待機系120とが同じ
構成および同じ部品を使用可能であり、コストの低減化
および製造品種の削減化を図ることがゆえに、このよう
なシステムについては、稼動系110と待機系120と
に同じ構成および同じ部品を使用し、かつ、稼動系側共
有メモリ112と待機系側共有メモリ122とを同時に
使用し、利用効率を上げることが要望されている。
However, the following problems have been pointed out in the above-mentioned redundant system. (1) It can be said that the tracking operation is an extra operation from the viewpoint of the control operation that the active processors 101 and 111 originally perform. Nevertheless, the active processors 101 and 111 set a write cycle for each predetermined period for the tracking operation, and write the control data this time as new tracking data in the shared memory 107. Since it is necessary to execute the processing, there is a problem that the processing load of the system increases. (2) For the active processors 101 and 111, as the control system to be controlled becomes larger, the amount of data that must be tracked for the standby processors 102 and 121 increases, and the processing load increases. And it cannot be ignored. (3) In addition, the more frequently data is rewritten to the shared memories 107 and 122, the more factors that are affected by disturbances such as noise. As a result, erroneous data is written to the shared memories 107 and 122. In some cases, there is a problem that the standby processors 102 and 121 are affected. (4) Further, in the system shown in FIG. 14, when the control target is controlled by the active processor 111, the standby shared memory 122 is actually used, and the active shared memory 112 is used at this time. It has not been. When the control target is controlled by the standby processor 121, the active shared memory 112 is actually used, but the standby shared memory 122 is not used. Therefore,
When controlling the control target, one shared memory is not always used, so it seems to be a useless system. In this case, the operating system 110 and the standby system 120 can use the same configuration and the same parts. In order to reduce the cost and the number of types of products to be manufactured, such a system uses the same configuration and the same parts for the active system 110 and the standby system 120 and shares the active system side. It is desired to use the memory 112 and the standby-side shared memory 122 at the same time to increase utilization efficiency.

【0009】本発明は上記実情に鑑みてなされたもの
で、トラッキング用データの書込処理の負担を軽減化す
る冗長型システムを提供することを目的とする。また、
本発明の他の目的は、トラッキング用データのデータ誤
りを少なくし、待機系に与える影響を低減化する冗長型
システムを提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to provide a redundant system which can reduce the load of writing tracking data. Also,
It is another object of the present invention to provide a redundant system that reduces data errors in tracking data and reduces the effect on a standby system.

【0010】[0010]

【課題を解決するための手段】請求項1に対応する発明
は、稼動系装置と待機系装置との間の制御信号バスに共
有メモリが接続され、前記稼動系装置からのトラッキン
グ用データを前記共有メモリに書込み、前記稼動系装置
の異常時に前記待機系装置が前記トラッキング用データ
を用いて所要とする処理を実行する冗長型システムにお
いて、前記稼動系装置による書込サイクル開始時、今回
トラッキング用データと前記共有メモリに書込まれてい
る前回トラッキング用データとを比較し、両トラッキン
グ用データが一致したとき、前記稼動系装置に対して書
込停止要求を送出する書込データ比較手段を設け、前回
トラッキング用データと同一の今回トラッキング用デー
タの前記共有メモリへの重複書込処理を回避する冗長型
システムである。
According to a first aspect of the present invention, a shared memory is connected to a control signal bus between an active device and a standby device, and the tracking data from the active device is transmitted to the shared memory. In a redundant system in which the standby system device executes a required process using the tracking data when an error occurs in the active system device, writing to the shared memory, when a write cycle by the active system device starts, Write data comparison means for comparing data with the previous tracking data written in the shared memory, and sending a write stop request to the active device when the two tracking data match. This is a redundant system that avoids the process of writing the current tracking data identical to the previous tracking data in the shared memory.

【0011】この請求項1に対応する発明は、以上のよ
うな手段を講じたことにより、書込データ比較手段で
は、今回トラッキング用データと共有メモリに書込まれ
ている前回トラッキング用データとを比較し、両トラッ
キング用データが一致したとき、共有メモリへの書込サ
イクルを終結するので、共有メモリへのデータ書込処理
の負担を削減でき、また書込処理が少なくなればなるほ
ど誤ったデータを共有メモリに書込みことが少なくな
り、待機系に与える影響を低減化できる。
According to the first aspect of the present invention, by taking the above means, the write data comparing means compares the current tracking data with the previous tracking data written in the shared memory. In comparison, when the two tracking data match, the write cycle to the shared memory is terminated, so that the load of data write processing to the shared memory can be reduced. In the shared memory is reduced, and the effect on the standby system can be reduced.

【0012】請求項2に対応する発明は、稼動系装置に
よる共有メモリへのトラッキング用データの書込処理時
に当該トラッキング用データを記憶する書込履歴記憶手
段と、前記稼動系装置による書込サイクル開始時、今回
トラッキング用データと前記書込履歴記憶手段に記憶さ
れる前回トラッキング用データとを比較し、両トラッキ
ング用データが一致したとき、前記稼動系装置に対して
書込停止要求を送出する書込データ比較手段とを設け、
前回トラッキング用データと同一の今回トラッキング用
データの共有メモリへの重複書込み処理を回避する冗長
型システムである。
According to a second aspect of the present invention, there is provided a write history storage means for storing tracking data during a process of writing tracking data to a shared memory by an active system, and a write cycle by the active system. At the start, the current tracking data is compared with the previous tracking data stored in the writing history storage means, and when both tracking data match, a write stop request is sent to the active system device. Writing data comparison means,
This is a redundant system that avoids the process of repeatedly writing the current tracking data identical to the previous tracking data to the shared memory.

【0013】この請求項2に対応する発明は、以上のよ
うな手段を講じたことにより、書込データ比較手段を用
いて今回トラッキング用データと前回トラッキング用デ
ータとを比較するとき、書込履歴記憶手段に記憶される
前回トラッキング用データを用いるので、共有メモリに
対する読出しアクセスの処理を行う必要がなく、確実に
データ書込み処理を低減化でき、かつ、誤ったデータの
書込みが少なくなって待機系に与える影響を低減化でき
る。
According to a second aspect of the present invention, when the above-described means is employed, when the current tracking data and the previous tracking data are compared using the write data comparing means, the writing history Since the previous tracking data stored in the storage means is used, there is no need to perform read access processing to the shared memory, so that the data write processing can be reliably reduced, and erroneous data writing is reduced to reduce the standby system. Can be reduced.

【0014】請求項3に対応する発明は、稼動系装置お
よび第1の制御信号バスとをもつ稼動系と、待機系装置
および第2の制御信号バスをもつ待機系とが第3の制御
信号バスで接続されてなる冗長型システムにおいて、前
記第2の制御信号バスに接続され、書込サイクルの書込
処理時に前記稼動系装置から出力される今回トラッキン
グ用データを記憶し、前記稼動系装置の異常時に前記待
機系装置が用いる前記トラッキング用データとして保持
する共有メモリと、前記第1の制御信号バスに接続さ
れ、前記今回トラッキング用データの前記共有メモリへ
の書込み処理時に当該今回トラッキング用データを履歴
データとして保持する書込履歴記憶手段と、前記稼動系
装置による書込サイクル開始時、前記第1の制御信号バ
ス上の今回トラッキング用データと前記書込履歴記憶手
段に書込まれている履歴データである前回トラッキング
用データとを比較し、両トラッキング用データが一致し
たとき、前記稼動系装置に対して書込停止要求を送出す
る書込データ比較手段とを設け、前回トラッキング用デ
ータと同一の今回トラッキング用データの前記共有メモ
リへの重複書込処理を回避する冗長型システムである。
According to a third aspect of the present invention, an operating system having an operating system device and a first control signal bus and a standby system having a standby system device and a second control signal bus are provided with a third control signal. A redundant system connected by a bus, connected to the second control signal bus, for storing current tracking data output from the active system device at the time of write processing in a write cycle; A shared memory that is held as the tracking data used by the standby system device when an error occurs, and is connected to the first control signal bus, and the current tracking data is written during the writing processing of the current tracking data to the shared memory. Write history storage means for holding the current track as history data, and a current track on the first control signal bus at the start of a write cycle by the operating system device. The data for tracking and the previous tracking data, which is the history data written in the write history storage means, are compared. When the two tracking data match, a write stop request is issued to the active system device. This is a redundant system which includes write data comparing means for sending out data and avoids the process of writing the same tracking data as the previous tracking data to the shared memory.

【0015】この請求項3に対応する発明は、以上のよ
うな手段を講じたことにより、稼動系と待機系とを同一
構成とすることが可能であり、コストの低減化および各
系の交換等のメンテナンスに有利となり、さらに今回ト
ラッキング用データを共有メモリに書込むとき、書込履
歴記憶手段にも同時に書込むことにより、書込データ比
較手段のデータ比較時に前回トラッキング用データとし
て利用するので、共有メモリおよび従来使用していない
メモリも書込履歴記憶手段も同時に使用でき、請求項1
および2に対応する発明と同様の作用を有する他、コス
トの低減化、メンテナンスに優れ、さらにメモリの利用
効率を高めることができる。
According to the third aspect of the present invention, by taking the above measures, the operating system and the standby system can have the same configuration, thereby reducing costs and replacing each system. This is advantageous for maintenance, etc., and when writing the tracking data to the shared memory this time, it is also written to the write history storage means at the same time, so that it is used as the previous tracking data at the time of data comparison by the write data comparison means. And a shared memory, a memory not conventionally used and a write history storage means can be used simultaneously.
In addition to having the same effects as the inventions corresponding to the first and second aspects, it is possible to reduce costs, maintain excellently, and further increase the memory use efficiency.

【0016】さらに、請求項4,請求項5および請求項
6に対応する発明は、請求項1,請求項2および請求項
3に対応する発明の構成に新たに、両トラッキング用デ
ータの比較を行う書込データ比較手段と、今回トラッキ
ング用データのデータ誤りを検出する誤り検出手段と、
書込データ比較手段による両トラッキング用データの一
致検出および誤り検出手段による誤り検出を得たとき、
稼動系装置に対して書込停止要求を実行する書込停止要
求発行手段とを付加してなる冗長型システムである。
Further, the invention corresponding to claim 4, claim 5, and claim 6 newly compares the two tracking data with the configuration of the invention corresponding to claim 1, claim 2, and claim 3. Write data comparing means for performing, and error detecting means for detecting a data error of the current tracking data,
When the coincidence detection of both tracking data by the write data comparison means and the error detection by the error detection means are obtained,
This is a redundant system to which a write stop request issuing means for executing a write stop request to an active device is added.

【0017】従って、このような手段を講じることによ
り、請求項1,請求項2および請求項3に対応する発明
と同様な作用を奏する他、誤ったトラッキング用データ
を書込むことがなくなり、待機系によるトラッキング動
作の信頼性を上げ、制御対象に対する制御の安定化を確
保できる。
Therefore, by adopting such means, the same effects as those of the inventions according to the first, second and third aspects can be obtained, and erroneous tracking data can be prevented from being written. It is possible to increase the reliability of the tracking operation by the system and to stabilize the control of the control target.

【0018】[0018]

【発明の実施の形態】先ず、本発明システムの実施の形
態を説明するに先立ち、本発明を実現するに至った経緯
を説明する。トラッキング動作は周期的に繰り返される
が、通常,制御用データは毎周期変化するとは限らず、
むしろある一時期において変化する場合が多い。その根
拠は、制御対象が制御周期以上の速度で様々なデータを
変化させることはないという性質によるものである。そ
の結果、トラッキング動作の多くは、同じ制御用データ
を共有メモリの同じ場所に重ね書きすることが多いと言
える。しかも、図13,図14から明らかなように、共
有メモリ107,112,122のデータ書込みおよび
読み出し時におけるデータ伝送の向きは固定的であり、
稼動系と待機系が共有メモリ107,112,122の
同じ場所に競合して書き込むこともない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Prior to the description of an embodiment of the system of the present invention, the circumstances leading to the realization of the present invention will be described. Although the tracking operation is repeated periodically, the control data usually does not always change every period.
Rather, it often changes during a certain period. The reason is based on the property that the controlled object does not change various data at a speed longer than the control cycle. As a result, it can be said that in many tracking operations, the same control data is often overwritten at the same location in the shared memory. Moreover, as is clear from FIGS. 13 and 14, the direction of data transmission at the time of writing and reading data in and from the shared memories 107, 112 and 122 is fixed.
The active system and the standby system do not compete with each other and write to the same location in the shared memories 107, 112, and 122.

【0019】そこで、本発明者は、以上のような性質に
着目し、制御用データの書込サイクル開始時に前回と今
回の制御用データが同一のデータとなるケースを検出
し、その検出時に速やかに制御用データの書込処理を停
止させることにより、共有メモリに対する重ね書きをな
くして書込時間の短縮および書込処理の負担軽減を図る
ことにある。
The present inventor has paid attention to the above-described characteristics, and has detected a case where the previous control data and the current control data are the same at the start of the control data write cycle. Therefore, by stopping the writing process of the control data, the overwriting of the shared memory is eliminated, thereby shortening the writing time and reducing the load of the writing process.

【0020】そこで、このような要望を達成するために
は次のような手段が必要となる。 イ.今回制御用データの書込サイクル開始時に直前まで
共有メモリに書き込んである制御用データを把握するた
めの手段。 ロ.今回書込みの制御用データと直前まで共有メモリに
書込んである制御用データとを比較しその比較結果を出
力する手段。 ハ.プロセッサによる書込サイクル開始時に、この書込
みサイクルを書込実行と書込不実行とに設定替えする手
段。
Therefore, in order to achieve such a demand, the following means are required. I. A means for ascertaining the control data that has been written to the shared memory until immediately before the start of the control data write cycle. B. Means for comparing the control data written this time with the control data written in the shared memory until immediately before and outputting the comparison result. C. Means for switching the write cycle between write execution and write non-execution at the start of the write cycle by the processor.

【0021】等を備える必要がある。次に、このような
手段をもったシステムの実施の形態について説明する。 (第1の実施の形態)図1は請求項1に係わる冗長型シ
ステムの一実施の形態を示す構成図である。
It is necessary to provide the following. Next, an embodiment of a system having such means will be described. (First Embodiment) FIG. 1 is a block diagram showing one embodiment of a redundant system according to the first aspect.

【0022】このシステムは、実際に制御対象を制御す
る稼動系プロセッサ1と、この稼動系プロセッサ1の異
常を含む故障時に稼動系プロセッサ1に代って制御対象
を制御する待機系プロセッサ2と、これらプロセッサ
1,2から導出される制御信号バス3,4に接続され、
各プロセッサ1,2からのアクセス制御に従って開閉す
るバスバッフア5,6と、これらバスバッフア5,6間
を接続する共有メモリ制御信号バス7と、この共有メモ
リ制御信号バス7に接続され、トラッキングしようとす
る制御用データを記憶する共有メモリ8とが設けられて
いる。
The system comprises an active processor 1 for actually controlling a controlled object, a standby processor 2 for controlling the controlled object in place of the active processor 1 in the event of a failure including an abnormality in the active processor 1, Connected to control signal buses 3 and 4 derived from these processors 1 and 2,
Bus buffers 5 and 6 that open and close according to access control from each processor 1 and 2, a shared memory control signal bus 7 that connects the bus buffers 5 and 6, and are connected to the shared memory control signal bus 7 to track. A shared memory 8 for storing control data is provided.

【0023】前記稼動系プロセッサ1は、実際に制御対
象を制御する一方、所定の周期ごとの書込サイクル時に
トラッキングしようとする制御用データの書込処理に先
立ち,制御信号バス3上にアドレスデータと今回書込デ
ータ(制御用データ)とをビット設定する処理を行う
が、外部から後述する書込停止要求信号を受けたとき、
または共有メモリ8から書込終了の応答信号を受けたと
き、書込サイクルを終結する機能をもっている。
The active processor 1, while actually controlling the object to be controlled, stores address data on the control signal bus 3 before writing control data to be tracked in a write cycle for each predetermined cycle. And the current write data (control data) are set in a bit. When a write stop request signal described later is received from the outside,
Alternatively, it has a function of terminating the write cycle when receiving a write end response signal from the shared memory 8.

【0024】また、このシステムは、書込サイクル開始
時に制御信号バス3上の今回書込データと制御信号バス
7上の前回書込データとを比較する書込データ比較手段
9およびこの書込データ比較手段9による比較結果から
両書込データが一致したとき、稼動系プロセッサ1に書
込停止要求信号10を発行する停止要求発行手段11が
設けられている。この稼動系プロセッサ1は、書込停止
要求信号10をうけたとき今回書込データの書込処理を
行うことなく、つまり書込命令および共有メモリへの書
込み等を行うことなく、書込サイクルを終結する。
Further, this system includes a write data comparing means 9 for comparing the current write data on control signal bus 3 with the previous write data on control signal bus 7 at the start of a write cycle, and the write data comparing means 9. Stop request issuing means 11 for issuing a write stop request signal 10 to the active processor 1 when both write data match from the comparison result by the comparing means 9 is provided. When receiving the write stop request signal 10, the active processor 1 performs the write cycle without performing the write processing of the current write data, that is, without performing a write instruction and writing to the shared memory. To end.

【0025】次に、以上のような冗長型システムの動作
について図2を参照して説明する。稼動系プロセッサ1
は、制御対象を制御する一方、書込サイクル開始時に制
御信号バス3上にアドレスデータおよび今回書込データ
をビット設定する。この書込サイクル開始時、バスバッ
フア5は閉じており、また共有メモリ8は出力モードと
なっているので制御信号バス7上に前回書込データが載
っている。
Next, the operation of the above-described redundant system will be described with reference to FIG. Active processor 1
Sets the address data and the current write data on the control signal bus 3 at the start of the write cycle. At the start of the write cycle, the bus buffer 5 is closed and the shared memory 8 is in the output mode, so that the previous write data is loaded on the control signal bus 7.

【0026】この状態において書込データ比較手段9
は、制御信号バス3上の今回書込データと制御信号バス
7上の前回書込データとを取り込み、両書込データの比
較を行う。ここで、両書込データの一致を検出すると、
一致信号を受けて停止要求発行手段11が書込停止要求
信号10を発行し稼動系プロセッサ1に送出する。
In this state, the write data comparing means 9
Captures the current write data on the control signal bus 3 and the previous write data on the control signal bus 7, and compares the two write data. Here, when a match between the two write data is detected,
Upon receiving the coincidence signal, the stop request issuing means 11 issues a write stop request signal 10 and sends it to the active processor 1.

【0027】この稼動系プロセッサ1は、書込停止要求
信号10を受けると、実行中の書込サイクルを終結する
ことにより書込停止とする。この書込サイクルの終結に
よる書込停止により、制御信号バス3上に今回書込デー
タがなくなるので、共有メモリ8には今回書込データの
書込みが行われず、かつ、停止要求発行手段11による
書込停止要求が終了する。
When the active processor 1 receives the write stop request signal 10, the active processor 1 terminates the current write cycle to stop writing. Due to the stoppage of writing at the end of the write cycle, there is no more write data on the control signal bus 3 this time, so that the write data is not written on the shared memory 8 and the write request by the stop request issuing means 11 The stop request is terminated.

【0028】一方、両書込データが不一致となると、書
込停止要求信号10が発行されないので、稼動系プロセ
ッサ1は、書込サイクルを継続し、バスバッフア5を開
けて制御信号バス7にアドレスデータと今回書込データ
とを載せた後、書込命令を実行する。その結果、制御信
号バス7上のアドレスデータに基づき、共有メモリ8の
該当アドレスに今回書込データを重ね書きする。そし
て、今回書込データの書き込みが終結すると、共有メモ
リ8から応答信号が出るので、稼動系プロセッサ1は、
共有メモリ8からの応答信号に基づいて今回書込データ
の書込みを終結する。
On the other hand, if the two write data do not match, the write stop request signal 10 is not issued, so that the active processor 1 continues the write cycle, opens the bus buffer 5 and sends the address data to the control signal bus 7. And write data this time, and then execute a write command. As a result, the current write data is overwritten on the corresponding address of the shared memory 8 based on the address data on the control signal bus 7. When the writing of the write data is completed this time, a response signal is output from the shared memory 8, so that the active processor 1
The writing of the current write data is terminated based on the response signal from the shared memory 8.

【0029】従って、以上のような実施の形態によれ
ば、書込サイクル開始時、今回書込データと既に共有メ
モリ8に記憶されている前回書込データとを比較し、今
回書込データが前回書込データと同じとき、書込停止要
求の下に書込サイクルを終結するので、待機系プロセッ
サ2にトラッキングするデータ量が多くても、今回書込
データが前回書込データと同一の場合には書込処理を行
わないので、結果として書込時間の短縮および書込処理
の負担を軽減することができる。しかも、データの書換
頻度が少なくなれば、それだけ外乱の影響を受けにくく
なり、トラッキングデータの正確性を期することができ
る。
Therefore, according to the above embodiment, at the start of the write cycle, the current write data is compared with the previous write data already stored in the shared memory 8, and the current write data is When the write data is the same as the previous write data, the write cycle is terminated under the write stop request. Therefore, even if the data amount to be tracked to the standby processor 2 is large, the current write data is the same as the previous write data. Since the writing process is not performed on, the writing time can be shortened and the load of the writing process can be reduced. In addition, the less the frequency of data rewriting, the less likely it is to be affected by disturbances, and the more accurate the tracking data.

【0030】なお、この実施の形態は、請求項1に係わ
る発明に限らず、次のような発明も実現可能である。す
なわち、稼動系装置と待機系装置との間にそれぞれ制御
信号バスおよびバスバッフアが接続され、これらバスバ
ッフア間に共有メモリをもった共有メモリ用う制御信号
バスが接続され、前記稼動系装置から出力されるトラッ
キング用データを前記共有メモリに書込み、前記稼動系
装置の異常時に前記待機系装置がトラッキング用データ
を用いて所要とする処理を実行する冗長型システムにお
いて、書込サイクル開始時、前記稼動系側バスバッフア
を閉とし、かつ、前記共有メモリを出力モードの状態と
するとともに、前記稼動系側制御信号バス上に今回トラ
ッキング用データを設定する前記稼動系装置と、この稼
動系装置による書込サイクル開始時、稼動系側制御信号
バス上の今回トラッキング用データと前記共有メモリに
記憶される前回トラッキング用データとを比較する書込
データ比較手段と、この書込データ比較手段によって両
トラッキング用データが一致したとき、前記稼動系装置
に対して書込停止要求を送出する停止要求発行手段と、
前記稼動系装置が停止要求発行手段から書込停止要求を
受けたとき、前記共有メモリに今回トラッキング用デー
タの書込処理を行うことなく書込サイクルを終結し、前
記書込停止要求を受けないとき、稼動系側バスバッフア
を開制御した後、書込命令を実行し今回トラッキング用
データを前記共有メモリに記憶する手段とを備えた構成
とすることにより、両トラッキング用データが不一致の
ときだけ、書込処理を実施し、共有メモリに今回トラッ
キング用データを記憶するので、書込時間の短縮、書込
処理の負担軽減およびデータ書換頻度の低減化により、
トラッキング用データが外乱の影響を受けにくくなり、
トラッキングデータの正確性を期することができる。 (第2の実施の形態)図3は請求項2に係わる冗長型シ
ステムの一実施の形態を示す構成図である。
It should be noted that this embodiment is not limited to the invention according to claim 1, and the following invention can be realized. That is, a control signal bus and a bus buffer are connected between the active system device and the standby system device, respectively, and a control signal bus for a shared memory having a shared memory is connected between the bus buffers and output from the active system device. In a redundant system in which the tracking data is written into the shared memory and the standby system device performs a required process using the tracking data when the active system device is abnormal, at the start of a write cycle, An operating system device that closes a side bus buffer, sets the shared memory in an output mode, and sets current tracking data on the operating system control signal bus; and a write cycle by the operating system device. At the start, the current tracking data on the operating system control signal bus and the previous data stored in the shared memory Write data comparing means for comparing the tracking data, when both the tracking data has been matched by the write data comparison means, and stop request issuing means for sending a write stop request to the operating system device,
When the active device receives a write stop request from the stop request issuing means, the write cycle is terminated without performing the write processing of the current tracking data in the shared memory, and the write stop request is not received. When the active bus buffer is controlled to open, a write command is executed and the current tracking data is stored in the shared memory, so that only when the two tracking data do not match, Since the writing process is performed and the tracking data is stored in the shared memory this time, the writing time is reduced, the load of the writing process is reduced, and the frequency of data rewriting is reduced.
Tracking data is less susceptible to disturbances,
The accuracy of the tracking data can be expected. (Second Embodiment) FIG. 3 is a block diagram showing one embodiment of a redundant system according to the second embodiment.

【0031】このシステムは、図1と同様に稼動系プロ
セッサ1と待機系プロセッサ2との間に制御信号バス
3,4およびバスバッフア5,6が接続され、これらバ
スバッフア5,6間を結ぶ共有メモリ制御信号バス7に
共有メモリ8が接続されている。
In this system, control signal buses 3 and 4 and bus buffers 5 and 6 are connected between the active processor 1 and the standby processor 2 as in FIG. 1, and a shared memory connecting these bus buffers 5 and 6 is provided. A shared memory 8 is connected to the control signal bus 7.

【0032】さらに、このシステムには、共有メモリ8
とは別に制御信号バス3上の書込データを保持する書込
履歴メモリ21と、書込サイクル時に制御信号バス3上
の今回書込データと書込履歴メモリ21から読み出され
る制御信号バス22上の前回書込データとを比較する書
込データ比較手段23と、この書込データ比較手段23
による比較結果から両書込データが一致したとき、稼動
系プロセッサ1に書込停止要求信号24を発行する停止
要求発行手段25とが設けられている。
Further, this system has a shared memory 8
Separately, a write history memory 21 for holding write data on the control signal bus 3 and a current write data on the control signal bus 3 and a control signal bus 22 read from the write history memory 21 during a write cycle. Write data comparing means 23 for comparing with the previous write data, and write data comparing means 23
And a stop request issuing means 25 for issuing a write stop request signal 24 to the active processor 1 when both write data match from the result of the comparison.

【0033】次に、以上のような実施の形態をもつ冗長
型システムの動作について図4を参照して説明する。稼
動系プロセッサ1は、制御対象を制御する一方、書込サ
イクル開始時、制御信号バス3上にアドレスデータおよ
び今回書込データをビット設定する。このとき、書込履
歴メモリ21は出力モードとなって前回書込データを出
力しており、またバスバッフア5が開かれていることか
ら、共有メモリ制御信号バス7上に前記アドレスデータ
および今回書込データが載っている。
Next, the operation of the redundant system having the above-described embodiment will be described with reference to FIG. The active processor 1 controls the control object, and sets the address data and the current write data on the control signal bus 3 at the start of the write cycle. At this time, the write history memory 21 is in the output mode to output the previous write data, and since the bus buffer 5 is open, the address data and the current write data are written on the shared memory control signal bus 7. There is data.

【0034】この状態において書込データ比較手段23
は、制御信号バス3上の今回書込データと制御信号バス
22上の前回書込データとを取り込み、両書込データの
比較を行う。ここで、両書込データの一致を検出する
と、その一致信号を受けて停止要求発行手段25が書込
停止要求信号24を発行して稼動系プロセッサ1に送出
する。
In this state, the write data comparing means 23
Captures the current write data on the control signal bus 3 and the previous write data on the control signal bus 22, and compares the two write data. Here, upon detecting a match between the two write data, the stop request issuing means 25 receives the match signal, issues a write stop request signal 24 and sends it to the active processor 1.

【0035】この稼動系プロセッサ1は、書込停止要求
信号24を受けると、直ちに実行中の書込サイクルを終
結する。この書込サイクルの終結によって制御信号バス
3,7上に今回書込データがなくなるので、共有メモリ
8には今回書込データの書込みが行われず、かつ、停止
要求発行手段25による書込停止要求が終了する。
When the active processor 1 receives the write stop request signal 24, it immediately ends the write cycle being executed. At the end of this write cycle, there is no more write data on the control signal buses 3 and 7 this time, so that the write data is not written on the shared memory 8 and the stop request issuing means 25 Ends.

【0036】一方、両書込データが不一致になると、書
込停止要求信号24が発行されないので、稼動系プロセ
ッサ1は、書込サイクルを継続すめとともに書込命令を
実行すると、制御信号バス7上の今回書込データが共有
メモリ8の該当アドレスに書き込まれ、また制御信号バ
ス7上の今回書込データが書込履歴メモリ21の該当ア
ドレスに書込まれ、履歴データの更新を行う。そして、
今回書込データの書き込みが終結すると、共有メモリ8
から応答信号が出るので、稼動系プロセッサ1は、共有
メモリ8からの応答信号を受けて今回書込データの書込
みを終結する。
On the other hand, if the two write data do not match, the write stop request signal 24 is not issued, so that the active processor 1 continues the write cycle and executes the write instruction. Is written to the corresponding address of the shared memory 8, and the current write data on the control signal bus 7 is written to the corresponding address of the write history memory 21 to update the history data. And
When the writing of the write data is completed this time, the shared memory 8
The active processor 1 receives the response signal from the shared memory 8 and terminates the writing of the current write data.

【0037】従って、この実施の形態によれば、前回書
込データの参照用として専用の書込履歴メモリ21を設
け、稼動系プロセッサ1の書込サイクル開始時に制御信
号バス3上の今回書込データと書込履歴メモリ21の前
回書込データとを比較し、両書込データが一致したと
き、共有メモリ8への今回書込データの書込を停止する
ので、確実に書込処理を減らすことができ、第1の実施
の形態と同様の効果を奏する。また、第1の実施の形態
と比べて、データの比較時に専用の書込履歴メモリ21
の前回書込データを参照するので、共有メモリ8に対す
る読出アクセスを追加する必要がなく、トラッキング動
作を大幅に減らすことができる。
Therefore, according to the present embodiment, a dedicated write history memory 21 is provided for referencing the previous write data, and the current write on the control signal bus 3 is started when the write cycle of the active processor 1 starts. The data and the previous write data in the write history memory 21 are compared, and when the two write data match, the writing of the current write data to the shared memory 8 is stopped, so that the number of write processes is reliably reduced. Therefore, an effect similar to that of the first embodiment can be obtained. Also, as compared with the first embodiment, a dedicated write history memory 21 is used when comparing data.
Since the previous write data is referred to, there is no need to add a read access to the shared memory 8, and the tracking operation can be greatly reduced.

【0038】なお、この実施の形態は、請求項2に係わ
る発明に限らず、次のような発明も実現可能である。す
なわち、稼動系装置と待機系装置との間にそれぞれ制御
信号バスおよびバスバッフアが接続され、これらバスバ
ッフア間に共有メモリをもった共有メモリ用制御信号バ
スが接続され、前記稼動系装置から出力されるトラッキ
ング用データを前記共有メモリに書込み、前記稼動系装
置の異常時に前記待機系装置がトラッキング用データを
用いて所要とする処理を実行する冗長型システムにおい
て、前記稼動系側制御信号バスに接続され、前記稼動系
装置による前記共有メモリへのトラッキング用データの
書込処理時に当該トラッキング用データを記憶する書込
履歴記憶手段と、書込サイクル開始時、前記稼動系側バ
スバッフアを開とし、かつ、前記書込履歴記憶手段を出
力モードの状態とするとともに、前記稼動系側制御信号
バス上に今回トラッキング用データを設定する前記稼動
系装置と、この稼動系装置による書込サイクル開始時、
稼動系側制御信号バス上の今回トラッキング用データと
前記書込履歴記憶手段に記憶されている前回トラッキン
グ用データとを比較する書込データ比較手段と、この書
込データ比較手段によって両トラッキング用データが一
致したとき、前記稼動系装置に対して書込停止要求を送
出する停止要求発行手段と、前記稼動系装置が停止要求
発行手段から書込停止要求を受けたとき、前記共有メモ
リに今回トラッキング用データの書込処理を行うことな
く書込サイクルを終結し、前記書込停止要求を受けない
とき、書込命令を実行し今回トラッキング用データを前
記共有メモリと前記書込履歴記憶手段とに記憶する同時
記憶手段とを備えた構成とすることにより、第1の実施
の形態と同様の効果の他、第1の実施の形態と比べてデ
ータの比較時に専用の書込履歴メモリ21の前回書込デ
ータを参照するので、共有メモリ8に対する読出アクセ
スを追加する必要がなく、トラッキング動作を大幅に減
らすことができる。 (第3の実施の形態)図5は請求項3に係わる冗長型シ
ステムの一実施の形態を示す構成図である。
This embodiment is not limited to the invention according to claim 2, but the following invention can be realized. That is, a control signal bus and a bus buffer are connected between the active device and the standby device, respectively, and a shared memory control signal bus having a shared memory is connected between the bus buffers and output from the active device. In a redundant system in which tracking data is written to the shared memory and the standby system device performs a required process using the tracking data when the active system device is abnormal, the standby system device is connected to the active system side control signal bus. Writing history storage means for storing the tracking data at the time of writing the tracking data to the shared memory by the active system device, and at the start of a write cycle, opening the active system side buffer, and The write history storage means is set to the output mode state, and the current time is output to the operating system side control signal bus. It said active system device for setting the Kkingu data, beginning write cycle by the operating system device,
Write data comparison means for comparing the current tracking data on the operating system side control signal bus with the previous tracking data stored in the write history storage means; And a stop request issuing unit for sending a write stop request to the active system device, and when the active system device receives a write stop request from the stop request issuing unit, the stop request issuing unit sends the write request to the shared memory. When the write cycle is terminated without performing the write processing of the write data and the write stop request is not received, a write command is executed and the current tracking data is stored in the shared memory and the write history storage means. With the configuration including the simultaneous storage means for storing data, in addition to the same effects as those of the first embodiment, it is possible to use only a special data comparing function in comparison with the first embodiment. Since reference to previous write data of the write history memory 21, it is not necessary to add a read access to the shared memory 8, it is possible to reduce the tracking operation significantly. (Third Embodiment) FIG. 5 is a block diagram showing an embodiment of a redundant system according to the third aspect.

【0039】この実施の形態は、稼動系30と待機系4
0とに分け、これら稼動系30および待機系40に同じ
部品および構成を用いて、コストの低減化およびメンテ
ナンスの高能率化を図るものである。
In this embodiment, the operation system 30 and the standby system 4
The same components and configurations are used for the operating system 30 and the standby system 40 to reduce costs and increase maintenance efficiency.

【0040】前記稼動系30は、具体的には、稼動系プ
ロセッサ1と、稼動系プロセッサ1から導出される制御
信号バス3に接続されるバスバッフア31と、このバス
バッフア31から出力される制御信号バス32に接続さ
れるバスバッフア33と、この制御信号バス32に接続
され従来の図12において不使用とされていたメモリ1
12の有効利用を図るための共有メモリ兼用書込履歴メ
モリ34と、書込サイクル開始時の制御信号バス3上の
今回書込データと書込履歴兼用共有メモリ34から出力
される前回書込データとを比較する書込データ比較手段
35と、この書込データ比較手段35の比較結果から両
書込データが一致したとき、稼動系プロセッサ1に書込
停止要求信号36を発行する停止要求発行手段37とに
よって構成されている。
The operating system 30 includes, specifically, an operating system processor 1, a bus buffer 31 connected to a control signal bus 3 derived from the operating system processor 1, and a control signal bus output from the bus buffer 31. A bus buffer 33 connected to the control signal bus 32 and a memory 1 which is not used in FIG.
12, the shared write / write history memory 34 for effective use of the memory 12, the current write data on the control signal bus 3 at the start of the write cycle, and the previous write data output from the write history / shared memory 34. And a stop request issuing means for issuing a write stop request signal 36 to the active processor 1 when both write data match from the comparison result of the write data comparing means 35. 37.

【0041】前記待機系40は、稼動系30と全く同じ
構成を採用し、待機系プロセッサ2と、待機系プロセッ
サ2から導出される制御信号バス4に接続されるバスバ
ッフア41と、このバスバッフア41から出力される制
御信号バス42に接続されるバスバッフア43と、この
制御信号バス42に接続される書込履歴兼用共有メモリ
44とを有し、さらに書込データ比較手段45および書
込停止要求信号46を発行する停止要求発行手段47が
設けられている。
The standby system 40 employs exactly the same configuration as the active system 30, and includes a standby processor 2, a bus buffer 41 connected to a control signal bus 4 derived from the standby processor 2, and a bus buffer 41. It has a bus buffer 43 connected to the output control signal bus 42, a write history shared memory 44 connected to the control signal bus 42, and further includes a write data comparing means 45 and a write stop request signal 46. Is issued.

【0042】48はバスバッフア33と43との間を接
続する稼動系−待機系接続バスである。このような実施
の形態をとるシステムの動作について図6を参照して説
明する。
Reference numeral 48 denotes an operating-standby connection bus for connecting the bus buffers 33 and 43 to each other. The operation of the system employing such an embodiment will be described with reference to FIG.

【0043】稼動系プロセッサ1は、制御対象を制御す
る一方、書込サイクル開始時、制御信号バス3上にアド
レスデータおよび今回書込データをビット設定する。こ
のとき、各バスバッフア31,33,41,43は閉じ
られた状態となっており、また共有メモリ兼用書込履歴
メモリ34は出力モードとなって制御信号バス32上に
前回書込データが載っている。なお、稼動系−待機系接
続バス48および制御信号バス42は、バスバッフアが
閉じられているので無効なデータとなっている。
The active processor 1 controls the control object, and sets the address data and the current write data on the control signal bus 3 at the start of the write cycle. At this time, each of the bus buffers 31, 33, 41, and 43 is in a closed state, and the shared memory / write history memory 34 is in the output mode, and the previous write data is loaded on the control signal bus 32. I have. The active-standby connection bus 48 and the control signal bus 42 have invalid data because the bus buffer is closed.

【0044】このような状態において書込データ比較手
段35は、制御信号バス3上の今回書込データと共有メ
モリ兼用書込履歴メモリ34から出力される前回書込デ
ータとを取り込み、両書込データの比較を行う。ここ
で、両書込データの一致を検出すると、その一致信号を
受けて停止要求発行手段37が書込停止要求信号36を
発行し稼動系プロセッサ1に送出する。
In such a state, the write data comparing means 35 takes in the current write data on the control signal bus 3 and the previous write data output from the shared memory / write history memory 34, and Perform data comparison. Here, upon detecting a match between the two write data, the stop request issuing means 37 receives the match signal, issues a write stop request signal 36, and sends it to the active processor 1.

【0045】この稼動系プロセッサ1は、書込停止要求
信号36を受けると、直ちに実行中の書込サイクルを終
結する。この書込サイクルの終結によって制御信号バス
3,32上に今回書込データがなくなるので、書込履歴
兼用共有メモリ44には今回書込データの書込みが行わ
れず、かつ、停止要求発行手段37による書込停止要求
が終了する。
Upon receiving write stop request signal 36, active processor 1 immediately terminates the write cycle being executed. At the end of this write cycle, there is no more data to be written this time on the control signal buses 3 and 32, so that the data to be written this time is not written in the shared memory 44 for writing history and the stop request issuing means 37 The write stop request ends.

【0046】また、両書込データが不一致のとき、書込
停止要求信号36が発行されないので、稼動系プロセッ
サ1は、書込サイクルを継続し、各バスバッフア31,
33,43を開き、制御信号バス42上に今回書込デー
タを載せた後、書込命令を実行すると、制御信号バス4
2上の今回書込データが書込履歴兼用共有メモリ44の
該当アドレスに書き込まれ、また制御信号バス32上の
今回書込データが共有メモリ兼用書込履歴メモリ34の
該当アドレスに書込まれ、履歴データの更新を行う。そ
して、今回書込データの書き込みが終結すると、共有メ
モリ44から応答信号が出るので、稼動系プロセッサ1
は、共有メモリ44からの応答信号を受けて今回書込デ
ータの書込みを終結する。
When the two write data do not match, the write stop request signal 36 is not issued, so that the active processor 1 continues the write cycle and
When the write command is executed after the current write data is loaded on the control signal bus 42, the control signal bus 4 is opened.
2, the current write data on the control signal bus 32 is written to the corresponding address of the shared memory / write history memory 34, and the current write data on the control signal bus 32 is written to the corresponding address of the shared memory / write history memory 34. Update history data. When the writing of the write data is completed this time, a response signal is output from the shared memory 44.
Receives the response signal from the shared memory 44 and terminates the writing of the current write data.

【0047】従って、以上のような実施の形態によれ
ば、稼動系30と待機系40とを同じ構成にすることに
より、製造コストの低減化および異常等に伴う稼動系3
0,待機系40の交換時に非常に有効であり、交換用部
品の保管管理も容易となる。また、従来,稼動系の実制
御時に不使用となっている共有メモリ(図14)を共有
メモリ兼用書込履歴メモリ34として用い、制御信号バ
ス3上の今回書込データと共有メモリ兼用書込履歴メモ
リ34の前回書込データとを比較し、一致したときに書
込サイクルを終結するので、メモリの無駄がなくなり、
システム全体の有効活用を図ることができる。 (第4の実施の形態)図7は請求項4に係わる冗長型シ
ステムの一実施の形態を示す構成図である。
Therefore, according to the above-described embodiment, the operating system 30 and the standby system 40 have the same configuration, thereby reducing the manufacturing cost and the operating system 3 associated with an abnormality.
0, it is very effective when replacing the standby system 40, and storage management of replacement parts is also facilitated. Further, the shared memory (FIG. 14), which has not been used during the actual control of the operating system, is used as the shared memory / write history memory 34, and the current write data and the shared memory / write on the control signal bus 3 are used. The write cycle is terminated when the previous write data of the history memory 34 is compared with the previous write data, and the memory is not wasted.
Effective utilization of the entire system can be achieved. (Fourth Embodiment) FIG. 7 is a block diagram showing an embodiment of a redundant system according to the fourth aspect.

【0048】このシステムは、第1の実施の形態で説明
した図1の構成に新たに、制御信号バス7上の今回書込
データの誤りを検出する誤り検出手段51と、書込デー
タ比較手段9の比較結果による両書込データの不一致検
出時および誤り検出手段51によるデータ誤り検出時に
書込停止要求信号52を出力する書込停止要求発行手段
53とを付加してなる構成である。
This system is different from the configuration of FIG. 1 described in the first embodiment in that an error detecting means 51 for detecting an error in the current write data on the control signal bus 7 and a write data comparing means 9 and a write stop request issuing means 53 for outputting a write stop request signal 52 upon detection of a mismatch between the two write data based on the comparison result and upon detection of a data error by the error detection means 51.

【0049】この誤り検出手段51のデータ誤り検出
は、例えば稼動系プロセッサ1から今回書込データを出
力するとき、今回書込データに例えば1ビットのチェッ
クビットを付加して制御信号バス3,7に載せ、パリテ
ィチェック方式を用いてデータ誤りを検出するとか、或
いは予め書込データとして取りえないデータ範囲を設定
し、今回書込データがその範囲に入ったとき、データ誤
りを検出するとか、その他従来周知の種々のチェック方
式が用いられる。
The data error detection by the error detection means 51 is performed, for example, when the current write data is output from the active processor 1 by adding, for example, a 1-bit check bit to the current write data. To detect a data error by using a parity check method, or to set a data range that cannot be taken as write data in advance and to detect a data error when the write data enters this range, Various other well-known check methods are used.

【0050】次に、以上のようなシステムの動作につい
て図8を参照して説明する。稼動系プロセッサ1は、書
込サイクル開始時に制御信号バス3上にアドレスデータ
および今回書込データをビット設定する。このとき、バ
スバッフア5は閉じており、また共有メモリ8は出力モ
ードとなっているので制御信号バス7上に前回書込デー
タが載っている。
Next, the operation of the above system will be described with reference to FIG. The active processor 1 sets the address data and the current write data on the control signal bus 3 at the start of the write cycle. At this time, since the bus buffer 5 is closed and the shared memory 8 is in the output mode, the previous write data is loaded on the control signal bus 7.

【0051】そこで、書込データ比較手段9は、制御信
号バス3上の今回書込データと制御信号バス7上の前回
書込データとを取り込み、両書込データの比較を行う。
ここで、両書込データの一致を検出すると、その一致信
号S1を受けて停止要求発行手段53が書込停止要求信
号52を発行し稼動系プロセッサ1に送出し、実行中の
書込サイクルを終結する。
Therefore, the write data comparing means 9 takes in the current write data on the control signal bus 3 and the previous write data on the control signal bus 7 and compares the two write data.
Here, upon detecting a match between the two write data, the stop request issuing means 53 receives the match signal S1 and issues a write stop request signal 52, sends it out to the active processor 1, and sets the write cycle being executed to To end.

【0052】一方、両書込データが不一致のとき、書込
停止要求信号52が発行されないので、稼動系プロセッ
サ1は、バスバッフア5を開けて制御信号バス7にアド
レスデータと今回書込データとを載せた後、書込命令を
実行し、共有メモリ8の該当アドレスに今回書込データ
を書込こもうとするが、誤り検出手段51は、制御信号
バス7に今回書込データが載ったとき、今回書込データ
に誤りがあるか否かを判断し、誤りがあれば誤り検出信
号S2を出力し、停止要求発行手段53を介して稼動系
プロセッサ1に書込停止要求信号52を送出し、実行中
の書込サイクルを終結する。
On the other hand, when the two write data do not match, the write stop request signal 52 is not issued, so that the active processor 1 opens the bus buffer 5 and stores the address data and the current write data on the control signal bus 7. After that, the write instruction is executed to try to write the current write data to the corresponding address of the shared memory 8. It is determined whether there is an error in the current write data. If there is an error, an error detection signal S2 is output, and a write stop request signal 52 is sent to the active processor 1 via the stop request issuing means 53. , End the current write cycle.

【0053】従って、以上のような実施の形態によれ
ば、今回書込データと前回書込データとを比較し、両書
込データが一致するとき、書込サイクルを終結するの
で、トラッキング用データの書込処理が少なくなり、処
理負担の低減化を図ることができる。また、共有メモリ
8に今回書込データを書込むとき、例えば伝送経路のど
こかで今回書込データに異常が発生すると、誤った書込
データの書込を停止するので、待機系に誤ったデータを
与える心配がなくなり、待機系による制御動作の安定化
を確保できる。
Therefore, according to the above-described embodiment, the current write data is compared with the previous write data, and when the two write data match, the write cycle is terminated. Can be reduced, and the processing load can be reduced. When writing the current write data to the shared memory 8, for example, if an error occurs in the current write data somewhere on the transmission path, the writing of the erroneous write data is stopped. There is no need to worry about giving data, and the control operation by the standby system can be stabilized.

【0054】なお、この実施の形態は、請求項4に係わ
る発明に限らず、次のような発明も実現可能である。す
なわち、稼動系装置と待機系装置との間にそれぞれ制御
信号バスおよびバスバッフアが接続され、これらバスバ
ッフア間に共有メモリをもった共有メモリ用う制御信号
バスが接続され、前記稼動系装置から出力されるトラッ
キング用データを前記共有メモリに書込み、前記稼動系
装置の異常時に前記待機系装置がトラッキング用データ
を用いて所要とする処理を実行する冗長型システムにお
いて、書込サイクル開始時、前記稼動系側バスバッフア
を閉とし、かつ、前記共有メモリを出力モードの状態と
するとともに、前記稼動系側制御信号バス上に今回トラ
ッキング用データを設定する前記稼動系装置と、この稼
動系装置による書込サイクル開始時、稼動系側制御信号
バス上の今回トラッキング用データと前記共有メモリに
記憶される前回トラッキング用データとを比較する書込
データ比較手段と、この書込データ比較手段の比較結果
から両トラッキング用データが不一致のとき、前記共有
メモリに書込む今回トラッキング用データのデータ誤り
を検出する誤り検出手段と、前記書込データ比較手段の
比較結果から両トラッキング用データの一致検出および
前記誤り検出手段による誤り検出のとき、前記稼動系装
置に対して書込停止要求を送出する書込停止要求発行手
段と、前記稼動系装置が停止要求発行手段から書込停止
要求を受けたとき、前記共有メモリに今回トラッキング
用データの書込処理を行うことなく書込サイクルを終結
し、前記書込停止要求を受けないとき、稼動系側バスバ
ッフアを開制御した後、書込命令を実行し今回トラッキ
ング用データを前記共有メモリに記憶する手段とを備え
た構成とすることにより、両トラッキング用データが不
一致のときだけ、書込処理を実施し、共有メモリに今回
トラッキング用データを記憶するので、書込時間の短
縮、書込処理の負担軽減およびデータ書換頻度の低減化
により、トラッキング用データが外乱の影響を受けにく
くなり、トラッキングデータの正確性を期することがで
きる。また、共有メモリ8に今回書込データを書込むと
き、例えば伝送経路のどこかで今回書込データに異常が
発生すると、誤った書込データの書込を停止するので、
待機系に誤ったデータを与える心配がなくなり、待機系
による制御動作の安定化を確保できる。 (第5の実施の形態)図9は請求項5に係わるシステム
の一実施の形態を示す構成図である。
This embodiment is not limited to the invention according to claim 4, and the following invention can be realized. That is, a control signal bus and a bus buffer are connected between the active system device and the standby system device, respectively, and a control signal bus for a shared memory having a shared memory is connected between the bus buffers and output from the active system device. In a redundant system in which the tracking data is written into the shared memory and the standby system device performs a required process using the tracking data when the active system device is abnormal, at the start of a write cycle, An operating system device that closes a side bus buffer, sets the shared memory in an output mode, and sets current tracking data on the operating system control signal bus; and a write cycle by the operating system device. At the start, the current tracking data on the operating system control signal bus and the previous data stored in the shared memory A write data comparing means for comparing the data with the racking data; and an error for detecting a data error of the current tracking data to be written into the shared memory when the two tracking data do not match from the comparison result of the write data comparing means. A write stop request for sending a write stop request to the active device when a match between both tracking data is detected from the comparison result of the detection means and the write data comparison means and an error is detected by the error detection means; Issuing means and, when the active system device receives a write stop request from the stop request issuing means, terminates the write cycle without performing the current tracking data writing process in the shared memory; When the request is not received, after opening the active system bus buffer, a write instruction is executed, and the tracking data is written to the shared memory this time. With this configuration, the writing process is performed only when the two tracking data do not match, and the current tracking data is stored in the shared memory. By reducing the processing load and the data rewriting frequency, the tracking data is less likely to be affected by disturbance, and the accuracy of the tracking data can be improved. Further, when writing the current write data to the shared memory 8, for example, if an error occurs in the current write data somewhere on the transmission path, the writing of the erroneous write data is stopped.
There is no fear of giving erroneous data to the standby system, and the control operation by the standby system can be stabilized. (Fifth Embodiment) FIG. 9 is a block diagram showing an embodiment of the system according to the fifth aspect.

【0055】この実施の形態は、第2の実施の形態を説
明した図3の構成に新たに、制御信号バス7上の今回書
込データの誤りを検出する誤り検出手段51と、書込デ
ータ比較手段9の比較結果による両書込データの不一致
検出時および誤り検出手段51によるデータ誤り検出時
に書込停止要求信号52を出力する書込停止要求発行手
段53とを付加してなる構成である。
This embodiment is different from the configuration of FIG. 3 described in the second embodiment in that an error detecting means 51 for detecting an error in the current write data on the control signal bus 7 and a write data A write stop request issuing unit 53 that outputs a write stop request signal 52 when a mismatch between both write data is detected based on the comparison result of the comparison unit 9 and when a data error is detected by the error detection unit 51 is added. .

【0056】このシステムにおいても、稼動系プロセッ
サ1は、書込サイクル開始時、制御信号バス3上にアド
レスデータおよび今回書込データをビット設定する。こ
のとき、書込履歴メモリ21は出力モードとなって前回
書込データを出力しており、またバスバッフア5が開か
れていることから、共有メモリ制御信号バス7上に前記
アドレスデータおよび今回書込データが載っている。
Also in this system, the active processor 1 sets the address data and the current write data on the control signal bus 3 at the start of the write cycle. At this time, the write history memory 21 is in the output mode to output the previous write data, and since the bus buffer 5 is open, the address data and the current write data are written on the shared memory control signal bus 7. There is data.

【0057】この状態において書込データ比較手段23
は、制御信号バス3上の今回書込データと制御信号バス
22上の前回書込データとを比較し、両書込データが一
致したとき、停止要求発行手段53が書込停止要求信号
52を稼動系プロセッサ1に送出し、実行中の書込サイ
クルを終結する。
In this state, the write data comparing means 23
Compares the current write data on the control signal bus 3 with the previous write data on the control signal bus 22, and when the two write data match, the stop request issuing means 53 sends the write stop request signal 52 The write cycle is sent to the active processor 1 to end the write cycle being executed.

【0058】一方、両書込データが不一致のとき、稼動
系プロセッサ1は、書込命令を出力し、制御信号バス7
上の今回書込データを共有メモリ8に記憶し、また制御
信号バス3上の今回書込データを書込履歴メモリ21に
書込むが、この今回書込む前の制御信号バス7上に今回
書込データをビット設定したとき、誤り検出手段51
は、今回書込データに誤りがあるか否かを判断し、誤り
があれば誤り検出信号S2を出力し、停止要求発行手段
53を介して稼動系プロセッサ1に書込停止要求信号5
2を送出し、実行中の書込サイクルを終結する。
On the other hand, when the two write data do not match, the active processor 1 outputs a write command and the control signal bus 7
The above-mentioned current write data is stored in the shared memory 8 and the current write data on the control signal bus 3 is written into the write history memory 21. The current write data is written on the control signal bus 7 before this write. When the bit of the embedded data is set, the error detection means 51
Determines whether there is an error in the current write data, outputs an error detection signal S2 if there is an error, and sends a write stop request signal 5 to the active processor 1 via the stop request issuing means 53.
2 to end the current write cycle.

【0059】従って、この実施の形態によれば、両書込
みデータの比較時に専用の書込履歴メモリ21の前回書
込データを参照するので、共有メモリ8に対する読出ア
クセスを追加せずに前回書込データを参照でき、しかも
両書込みデータが一致するときに共有メモリ8の書込み
処理を停止するので、トラッキング用データの書込処理
が少なくなり、処理負担の低減化を図ることができる。
また、伝送経路のどこかで今回書込データに異常が発生
すると、誤った書込データの書込を停止するので、待機
系に誤ったデータを与える心配がなくなり、待機系によ
る制御動作の安定化を確保できる。
Therefore, according to this embodiment, since the previous write data in the dedicated write history memory 21 is referred to when comparing both write data, the previous write can be performed without adding read access to the shared memory 8. Since the data can be referred to and the write processing of the shared memory 8 is stopped when the two write data match, the write processing of the tracking data is reduced, and the processing load can be reduced.
Also, if an error occurs in the current write data somewhere on the transmission path, the writing of the incorrect write data is stopped, so that there is no need to worry about giving the standby system erroneous data, and the control operation by the standby system is stabilized. Can be secured.

【0060】なお、この実施の形態は、請求項5に係わ
る発明に限らず、次のような発明も実現可能である。す
なわち、稼動系装置と待機系装置との間にそれぞれ制御
信号バスおよびバスバッフアが接続され、これらバスバ
ッフア間に共有メモリをもった共有メモリ用制御信号バ
スが接続され、前記稼動系装置から出力されるトラッキ
ング用データを前記共有メモリに書込み、前記稼動系装
置の異常時に前記待機系装置がトラッキング用データを
用いて所要とする処理を実行する冗長型システムにおい
て、前記稼動系側制御信号バスに接続され、前記稼動系
装置による前記共有メモリへのトラッキング用データの
書込処理時に当該トラッキング用データを記憶する書込
履歴記憶手段と、書込サイクル開始時、前記稼動系側バ
スバッフアを開とし、かつ、前記書込履歴記憶手段を出
力モードの状態とするとともに、前記稼動系側制御信号
バス上に今回トラッキング用データを設定する前記稼動
系装置と、この稼動系装置による書込サイクル開始時、
稼動系側制御信号バス上の今回トラッキング用データと
前記書込履歴記憶手段に記憶されている前回トラッキン
グ用データとを比較する書込データ比較手段と、前記共
有メモリ用制御信号バス上に存在する今回トラッキング
用データのデータ誤りを検出する誤り検出手段と、前記
書込データ比較手段の比較結果から両トラッキング用デ
ータの一致検出および前記誤り検出手段による誤り検出
のとき、前記稼動系装置に対して書込停止要求を送出す
る書込停止要求発行手段と、前記稼動系装置が停止要求
発行手段から書込停止要求を受けたとき、前記共有メモ
リに今回トラッキング用データの書込処理を行うことな
く書込サイクルを終結し、前記書込停止要求を受けない
とき、書込命令を実行し今回トラッキング用データを前
記共有メモリと前記書込履歴記憶手段に記憶する手段と
を備えた構成とすることにより、第2の実施の形態と同
様の効果の他、第2の実施の形態と比べてデータの比較
時に専用の書込履歴メモリ21の前回書込データを参照
するので、共有メモリ8に対する読出アクセスを追加す
る必要がなく、トラッキング動作を大幅に減らすことが
できる。 (第6の実施の形態)図11は請求項6に係わるシステ
ムの一実施の形態を示す構成図である。
This embodiment is not limited to the invention according to claim 5, and the following invention can be realized. That is, a control signal bus and a bus buffer are connected between the active device and the standby device, respectively, and a shared memory control signal bus having a shared memory is connected between the bus buffers and output from the active device. In a redundant system in which tracking data is written to the shared memory and the standby system device performs a required process using the tracking data when the active system device is abnormal, the standby system device is connected to the active system side control signal bus. Writing history storage means for storing the tracking data at the time of writing the tracking data to the shared memory by the active system device, and at the start of a write cycle, opening the active system side buffer, and The write history storage means is set to the output mode state, and the current time is output to the operating system side control signal bus. It said active system device for setting the Kkingu data, beginning write cycle by the operating system device,
Write data comparing means for comparing the current tracking data on the operating system side control signal bus with the previous tracking data stored in the write history storage means; and a write data comparing means existing on the shared memory control signal bus. Error detection means for detecting a data error in the tracking data this time, and when the coincidence detection of the two tracking data and the error detection by the error detection means are performed based on the comparison result of the write data comparison means, A write stop request issuing unit for sending a write stop request; and when the operating system device receives a write stop request from the stop request issuing unit, the write processing of the current tracking data is not performed in the shared memory. When the write cycle is completed and the write stop request is not received, a write instruction is executed to store the current tracking data with the shared memory. With the configuration including means for storing in the write history storage means, in addition to the same effect as in the second embodiment, a dedicated write history can be used when comparing data as compared with the second embodiment. Since the previous write data in the memory 21 is referred to, there is no need to add a read access to the shared memory 8, and the tracking operation can be greatly reduced. (Sixth Embodiment) FIG. 11 is a block diagram showing an embodiment of the system according to the sixth aspect.

【0061】この実施の形態は、第3の実施の形態を説
明した図5の構成に新たに、稼動系として、制御信号バ
ス42上の今回書込データの誤りを検出する誤り検出手
段51と、書込データ比較手段35の比較結果による両
書込データの一致検出時および誤り検出手段51による
データ誤り検出時に書込停止要求信号52を出力する書
込停止要求発行手段53とを付加してなる構成である。
In this embodiment, an error detecting means 51 for detecting an error in currently written data on the control signal bus 42 is newly provided as an operating system in addition to the configuration of FIG. And a write stop request issuing means 53 for outputting a write stop request signal 52 when a match between the two write data is detected based on the comparison result of the write data comparing means 35 and when a data error is detected by the error detecting means 51. Configuration.

【0062】待機系40においても、誤り検出手段5
1′および書込停止要求発行手段53′が設けられてい
る。次に、以上のようなシステムの動作について図12
を参照して説明する。
In the standby system 40, the error detecting means 5
1 'and a write stop request issuing means 53' are provided. Next, the operation of the above system will be described with reference to FIG.
This will be described with reference to FIG.

【0063】稼動系プロセッサ1は、書込サイクル開始
時、制御信号バス3上にアドレスデータおよび今回書込
データをビット設定する。このとき、各バスバッフア3
1,33,41,43は閉じられた状態となっており、
また共有メモリ兼用書込履歴メモリ34は出力モードと
なって制御信号バス32上に前回書込データが載ってい
る。
The active processor 1 sets the address data and the current write data on the control signal bus 3 at the start of the write cycle. At this time, each bus buffer 3
1, 33, 41 and 43 are in a closed state,
Also, the shared memory / write history memory 34 is in the output mode, and the previous write data is loaded on the control signal bus 32.

【0064】このような状態において書込データ比較手
段35は、制御信号バス3上の今回書込データと制御信
号バス32上の前回書込データとを比較し両データが一
致したとき、停止要求発行手段53が書込停止要求信号
52を発行する。
In such a state, the write data comparison means 35 compares the current write data on the control signal bus 3 with the previous write data on the control signal bus 32, and when both data match, a stop request is issued. The issuing unit 53 issues a write stop request signal 52.

【0065】ここで、稼動系プロセッサ1は、書込停止
要求信号52を受けると、直ちに実行中の書込サイクル
を終結する。この書込サイクルの終結によって制御信号
バス3,32上に今回書込データがなくなるので、書込
履歴兼用共有メモリ44に今回書込データの書込みが行
われず、かつ、停止要求発行手段53による書込停止要
求が終了する。
Here, upon receiving the write stop request signal 52, the active processor 1 immediately ends the write cycle being executed. At the end of this write cycle, there is no more current write data on the control signal buses 3 and 32, so that the current write data is not written in the write history / shared memory 44 and the write by the stop request issuing means 53 is performed. The stop request is terminated.

【0066】一方、両データが不一致のとき、稼動系プ
ロセッサ1が各バッフア31,33,43を開けると、
誤り検出手段51は、今回書込データに誤りがあるか否
かを判断し、誤りがあれば誤り検出信号S2を出力し、
停止要求発行手段53を介して稼動系プロセッサ1に書
込停止要求信号52を送出し、実行中の書込サイクルを
終結する。
On the other hand, when the two data do not match, when the active processor 1 opens the buffers 31, 33, 43,
The error detecting means 51 determines whether there is an error in the current write data, and if there is an error, outputs an error detection signal S2,
A write stop request signal 52 is sent to the active processor 1 via the stop request issuing means 53, and the write cycle being executed is terminated.

【0067】なお、待機系プロセッサ2が稼動系となっ
たとき、同様に誤り検出手段51′を用いて誤りを検出
したとき、停止要求発行手段53′を介して書込停止要
求信号52′を待機系プロセッサ2に送出する。
When the standby processor 2 becomes active and an error is detected using the error detecting means 51 ', a write stop request signal 52' is output via a stop request issuing means 53 '. It is sent to the standby processor 2.

【0068】従って、この実施の形態によれば、第3の
実施の形態と同様な効果の他、伝送経路のどこかで今回
書込データに異常が発生すると、誤った書込データの書
込を停止するので、待機系に誤ったデータを与える心配
がなくなり、待機系による制御動作の安定化を確保でき
る。
Therefore, according to this embodiment, in addition to the same effects as in the third embodiment, if an error occurs in the current write data somewhere on the transmission path, the erroneous write data is written. Is stopped, there is no need to worry about giving erroneous data to the standby system, and the control operation by the standby system can be stabilized.

【0069】[0069]

【発明の効果】以上説明したように本発明によれば、次
のような種々の効果を奏する。請求項1の発明では、書
込サイクル開始時、今回書込データが前回書込データと
同じとき、書込停止要求の下に書込サイクルを終結する
ので、今回書込データが前回書込データと同一の場合に
は書込処理を行う必要がなくなり、結果として書込時間
の短縮および書込処理の負担を軽減化できる。また、デ
ータの書換頻度が少なくなれば、外乱の影響を受けにく
くなり、待機系によるトラッキング動作の信頼性を上げ
ることができる。
As described above, according to the present invention, the following various effects can be obtained. According to the first aspect of the present invention, at the start of a write cycle, when the current write data is the same as the previous write data, the write cycle is terminated under a write stop request. In the same case as described above, it is not necessary to perform the writing process. As a result, the writing time can be reduced and the load of the writing process can be reduced. Further, if the frequency of rewriting data is reduced, the influence of disturbance is reduced, and the reliability of the tracking operation by the standby system can be improved.

【0070】請求項2の発明では、専用の書込履歴メモ
リを設け、稼動系プロセッサの書込サイクル開始時に今
回書込データと書込履歴メモリの前回書込データとが一
致したとき、共有メモリへの今回書込データの書込を停
止するので、確実に書込処理を低減化でき、第1の実施
の形態と同様の効果を奏する。また、第1の実施の形態
と比べて、データの比較時に専用の書込履歴メモリの前
回書込データを参照するので、共有メモリに対する読出
アクセスを追加する必要がなく、トラッキング動作を大
幅に減らすことができる。
According to the second aspect of the present invention, a dedicated write history memory is provided, and when the current write data matches the previous write data in the write history memory at the start of the write cycle of the active processor, the shared memory is used. Since the writing of the current write data to the memory is stopped, the write processing can be surely reduced, and the same effect as in the first embodiment can be obtained. Further, as compared with the first embodiment, since the previous write data in the dedicated write history memory is referred to when comparing data, there is no need to add read access to the shared memory, and the tracking operation is greatly reduced. be able to.

【0071】請求項3の発明では、稼動系と待機系とを
同じ構成にすることができ、製造コストの低減化および
異常等における稼動系,待機系交換等のメンテナンスを
スムーズに行うことができ、備品の保管管理も容易とな
る。また、従来,図14のシステムでは、何れか一方の
共有メモリが不使用となっていたが、本発明では書込履
歴メモリとして用いることにより、前回書込データを取
り出すことができ、メモリを無駄なく使用でき、システ
ム全体の有効活用を図ることができる。
According to the third aspect of the present invention, the operating system and the standby system can have the same configuration, so that the manufacturing cost can be reduced and maintenance such as replacement of the operating system and the standby system in the event of an abnormality can be smoothly performed. In addition, storage management of equipment is also facilitated. Conventionally, in the system of FIG. 14, one of the shared memories is not used. However, in the present invention, by using it as a write history memory, previously written data can be taken out, and the memory is wasted. And the system can be used effectively.

【0072】さらに、請求項4ないし請求項6の発明で
は、請求項1ないし請求項3と同様の効果を奏する他、
誤り検出手段を設けることにより、書込データに異常が
発生したとき、誤った書込データの書込を停止するの
で、待機系に誤ったデータを与える心配がなくなり、待
機系による制御動作の安定化を確保できる。
Further, in the inventions of claims 4 to 6, in addition to the same effects as those of claims 1 to 3,
By providing the error detecting means, when an error occurs in the write data, the writing of the erroneous write data is stopped, so that there is no need to worry about giving erroneous data to the standby system, and the control operation by the standby system is stabilized. Can be secured.

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

【図1】 請求項1に係わる冗長型システムの実施の形
態を示す構成図。
FIG. 1 is a configuration diagram showing an embodiment of a redundant system according to claim 1;

【図2】 図1に示すシステムの動作を説明するタイム
チャート。
FIG. 2 is a time chart for explaining the operation of the system shown in FIG. 1;

【図3】 請求項2に係わる冗長型システムの実施の形
態を示す構成図。
FIG. 3 is a configuration diagram showing an embodiment of a redundant system according to claim 2;

【図4】 図3に示すシステムの動作を説明するタイム
チャート。
FIG. 4 is a time chart for explaining the operation of the system shown in FIG. 3;

【図5】 請求項3に係わる冗長型システムの実施の形
態を示す構成図。
FIG. 5 is a configuration diagram showing an embodiment of a redundant system according to claim 3;

【図6】 図5に示すシステムの動作を説明するタイム
チャート。
FIG. 6 is a time chart for explaining the operation of the system shown in FIG. 5;

【図7】 請求項4に係わる冗長型システムの実施の形
態を示す構成図。
FIG. 7 is a configuration diagram showing an embodiment of a redundant system according to claim 4.

【図8】 図7に示すシステムの動作を説明するタイム
チャート。
FIG. 8 is a time chart for explaining the operation of the system shown in FIG. 7;

【図9】 請求項5に係わる冗長型システムの実施の形
態を示す構成図。
FIG. 9 is a configuration diagram showing an embodiment of a redundant system according to claim 5;

【図10】 図9に示すシステムの動作を説明するタイ
ムチャート。
FIG. 10 is a time chart for explaining the operation of the system shown in FIG. 9;

【図11】 請求項6に係わる冗長型システムの実施の
形態を示す構成図。
FIG. 11 is a configuration diagram showing an embodiment of a redundant system according to claim 6;

【図12】 図11に示すシステムの動作を説明するタ
イムチャート。
FIG. 12 is a time chart for explaining the operation of the system shown in FIG. 11;

【図13】 従来の冗長型システムの構成図。FIG. 13 is a configuration diagram of a conventional redundant system.

【図14】 従来の別の冗長型システムの構成図。FIG. 14 is a configuration diagram of another conventional redundant system.

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

1…稼動系プロセッサ、2…待機系プロセッサ、3,
4,7…制御信号バス、8…共有メモリ、9,23,3
5,45…書込データ比較手段、11,25,37,4
7…停止要求発行手段、21…書込履歴メモリ、30…
稼動系、40…待機系、34…共有メモリ兼用書込履歴
メモリ、44…書込履歴兼用共有メモリ、51…誤り検
出手段、53…停止要求発行手段。
1 ... active processor, 2 ... standby processor, 3,
4, 7: control signal bus, 8: shared memory, 9, 23, 3
5, 45... Write data comparing means, 11, 25, 37, 4
7 ... stop request issuing means, 21 ... write history memory, 30 ...
Active system, 40 standby system, 34 shared memory and write history memory, 44 shared write history and shared memory, 51 error detecting means, 53 stop request issuing means.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 稼動系装置と待機系装置との間の制御信
号バスに共有メモリが接続され、前記稼動系装置から出
力されるトラッキング用データを前記共有メモリに書込
み、前記稼動系装置の異常時に前記待機系装置がトラッ
キング用データを用いて所要とする処理を実行する冗長
型システムにおいて、 前記稼動系装置による書込サイクル開始時、今回トラッ
キング用データと前記共有メモリに書込まれている前回
トラッキング用データとを比較し、両トラッキング用デ
ータが一致したとき、前記稼動系装置に対して書込停止
要求を送出する書込データ比較手段を設け、 前回トラッキング用データと同一の今回トラッキング用
データの前記共有メモリへの重複書込処理を回避するこ
とを特徴とする冗長型システム。
1. A shared memory is connected to a control signal bus between an active system device and a standby system device, and tracking data output from the active system device is written into the shared memory. In the redundant system in which the standby system device performs a required process using the tracking data at the time, at the start of the write cycle by the active system device, the current tracking data and the last time written to the shared memory are written. A write data comparison unit that compares the tracking data with the active data and sends a write stop request to the active system device when the two tracking data match each other; A redundant system for avoiding redundant writing processing to said shared memory.
【請求項2】 稼動系装置と待機系装置との間の制御信
号バスに共有メモリが接続され、前記稼動系装置から出
力される今回トラッキング用データを前記共有メモリに
書込み、前記稼動系装置の異常時に前記待機系装置がト
ラッキング用データを用いて所要とする処理を実行する
冗長型システムにおいて、 前記稼動系装置による前記共有メモリへのトラッキング
用データの書込処理時に当該トラッキング用データを記
憶する書込履歴記憶手段と、 前記稼動系装置による書込サイクル開始時、今回トラッ
キング用データと前記書込履歴記憶手段に記憶される前
回トラッキング用データとを比較し、両トラッキング用
データが一致したとき、前記稼動系装置に対して書込停
止要求を送出する書込データ比較手段と、 を備え、前回トラッキング用データと同一の今回トラッ
キング用データの前記共有メモリへの重複書込み処理を
回避することを特徴とする冗長型システム。
2. A shared memory is connected to a control signal bus between an active system device and a standby system device, and current tracking data output from the active system device is written into the shared memory. In a redundant system in which the standby system device performs required processing using the tracking data when an abnormality occurs, the tracking data is stored when the active system device writes the tracking data to the shared memory. At the start of a write cycle by the active system device, a comparison is made between the current tracking data and the previous tracking data stored in the write history storage unit, and when the two tracking data match. Writing data comparison means for sending a writing stop request to the active system device. A redundant type system for avoiding an overlapping writing process of the same tracking data as the current data to the shared memory.
【請求項3】 稼動系装置および第1の制御信号バスと
をもつ稼動系と、待機系装置および第2の制御信号バス
をもつ待機系とが第3の制御信号バスで接続されてなる
冗長型システムにおいて、 前記第2の制御信号バスに接続され、書込サイクルの書
込処理時に前記稼動系装置から出力される今回トラッキ
ング用データを記憶し、前記稼動系装置の異常時に前記
待機系装置が用いる前記トラッキング用データとして保
持する共有メモリと、 前記第1の制御信号バスに接続され、前記今回トラッキ
ング用データの前記共有メモリへの書込み処理時に当該
今回トラッキング用データを履歴データとして保持する
書込履歴記憶手段と、 前記稼動系装置による書込サイクル開始時、前記第1の
制御信号バス上の今回トラッキング用データと前記書込
履歴記憶手段に書込まれている履歴データである前回ト
ラッキング用データとを比較し、両トラッキング用デー
タが一致したとき、前記稼動系装置に対して書込停止要
求を送出する書込データ比較手段と、 を設け、前回トラッキング用データと同一の今回トラッ
キング用データの前記共有メモリへの重複書込処理を回
避することを特徴とする冗長型システム。
3. A redundant system in which an operating system having an operating system device and a first control signal bus and a standby system having a standby system device and a second control signal bus are connected by a third control signal bus. In the type system, the current control unit is connected to the second control signal bus, and stores current tracking data output from the active device during a write process in a write cycle. And a shared memory connected to the first control signal bus and used to hold the current tracking data as history data when writing the current tracking data to the shared memory. At the start of a write cycle by the operating system device, the current tracking data on the first control signal bus and the write data Write data comparing means for comparing with the previous tracking data, which is the history data written in the history storage means, and sending a write stop request to the active device when the two tracking data match; And a redundant system for avoiding an overlapping writing process of the current tracking data identical to the previous tracking data to the shared memory.
【請求項4】 稼動系装置と待機系装置との間の制御信
号バスに共有メモリが接続され、前記稼動系装置からの
トラッキング用データを前記共有メモリに書込み、前記
稼動系装置の異常時に前記待機系装置が前記トラッキン
グ用データを用いて所要とする処理を実行する冗長型シ
ステムにおいて、 前記稼動系装置による書込サイクル開始時、今回トラッ
キング用データと前記共有メモリに書込まれている前回
トラッキング用データとを比較する書込データ比較手段
と、 この書込データ比較手段の比較結果から両トラッキング
用データが不一致のとき、前記共有メモリに書込む今回
トラッキング用データのデータ誤りを検出する誤り検出
手段と、 前記書込データ比較手段の比較結果から両トラッキング
用データの一致検出および前記誤り検出手段による誤り
検出のとき、前記稼動系装置に対して書込停止要求を送
出する書込停止要求発行手段と、 を備えたことを特徴とする冗長型システム。
4. A shared memory is connected to a control signal bus between an active device and a standby device, and tracking data from the active device is written into the shared memory. In a redundant system in which a standby device performs a required process using the tracking data, at the start of a write cycle by the active device, the current tracking data and the previous tracking data written in the shared memory are used. Write data comparing means for comparing the data with the write data, and error detection for detecting a data error of the current tracking data to be written into the shared memory when the two tracking data do not match from the comparison result of the write data comparing means. Means for detecting the coincidence of both tracking data and the error detecting means from the comparison result of the write data comparing means. And a write stop request issuing means for sending a write stop request to the operating system device when an error is detected by a stage.
【請求項5】 稼動系装置と待機系装置との間の制御信
号バスに共有メモリが接続され、前記稼動系装置からの
トラッキング用データを前記共有メモリに書込み、前記
稼動系装置の異常時に前記待機系装置が前記トラッキン
グ用データを用いて所要とする処理を実行する冗長型シ
ステムにおいて、 前記稼動系装置による前記共有メモリのトラッキング用
データの書込処理時に当該トラッキング用データを記憶
する書込履歴記憶手段と、 前記稼動系装置による書込サイクル開始時、今回トラッ
キング用データと前記書込履歴記憶手段に記憶される前
回トラッキング用データとを比較する書込データ比較手
段と、 この書込データ比較手段の比較結果から両トラッキング
用データが不一致のとき、前記共有メモリに書込む今回
トラッキング用データのデータ誤りを検出する誤り検出
手段と、 前記書込データ比較手段の比較結果から両トラッキング
用データの一致検出および前記誤り検出手段による誤り
検出のとき、前記稼動系装置に対して書込停止要求を送
出する書込停止要求発行手段と、 を備えたことを特徴とする冗長型システム。
5. A shared memory is connected to a control signal bus between an active system device and a standby system device, and writes tracking data from the active system device to the shared memory. In a redundant system in which a standby device performs a required process using the tracking data, a write history storing the tracking data when the active device writes the tracking data in the shared memory. Storage means; write data comparison means for comparing the current tracking data with the previous tracking data stored in the write history storage means at the start of a write cycle by the active system device; When the two tracking data do not match from the comparison result of the means, the current tracking data to be written to the shared memory. An error detecting means for detecting a data error of the data, and a write stop request to the active device when the coincidence of both tracking data is detected from the comparison result of the write data comparing means and the error is detected by the error detecting means. And a write stop request issuing means for sending out.
【請求項6】 稼動系装置および第1の制御信号バスと
をもつ稼動系と、待機系装置および第2の制御信号バス
をもつ待機系とが第3の制御信号バスで接続されてなる
冗長型システムにおいて、 前記第2の制御信号バスに接続され、書込サイクルの書
込処理時に前記稼動系装置から出力される今回トラッキ
ング用データを記憶し、前記稼動系装置の異常時に前記
待機系装置が用いる前記トラッキング用データとして保
持する共有メモリと、 前記第1の制御信号バスに接続され、前記今回トラッキ
ング用データの前記共有メモリへの書込み処理時に当該
今回トラッキング用データを履歴データとして保持する
書込履歴記憶手段と、 前記稼動系装置による書込サイクル開始時、前記第1の
制御信号バス上の今回トラッキング用データと前記書込
履歴記憶手段に書込まれている履歴データである前回ト
ラッキング用データとを比較する書込データ比較手段
と、 この書込データ比較手段の比較結果から両トラッキング
用データが不一致のとき、前記共有メモリに書込む今回
トラッキング用データのデータ誤りを検出する誤り検出
手段と、 前記書込データ比較手段の比較結果から両トラッキング
用データの一致検出および前記誤り検出手段による誤り
検出のとき、前記稼動系装置に対して書込停止要求を送
出する書込停止要求発行手段と、 を備えたことを特徴とする冗長型システム。
6. A redundant system in which an operating system having an operating system device and a first control signal bus and a standby system having a standby system device and a second control signal bus are connected by a third control signal bus. In the type system, the current control unit is connected to the second control signal bus, and stores current tracking data output from the active device during a write process in a write cycle. And a shared memory connected to the first control signal bus and used to hold the current tracking data as history data when writing the current tracking data to the shared memory. At the start of a write cycle by the operating system device, the current tracking data on the first control signal bus and the write data A write data comparing means for comparing with the previous tracking data which is history data written in the history storage means; and when the two tracking data do not match based on a comparison result of the write data comparing means, the shared memory Error detecting means for detecting a data error of the current tracking data to be written in the active device; and detecting the coincidence of the two tracking data from the comparison result of the write data comparing means and detecting the error by the error detecting means. And a write stop request issuing means for sending a write stop request to the redundant system.
JP8221351A 1996-08-22 1996-08-22 Redundant type system Pending JPH1063530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8221351A JPH1063530A (en) 1996-08-22 1996-08-22 Redundant type system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8221351A JPH1063530A (en) 1996-08-22 1996-08-22 Redundant type system

Publications (1)

Publication Number Publication Date
JPH1063530A true JPH1063530A (en) 1998-03-06

Family

ID=16765447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8221351A Pending JPH1063530A (en) 1996-08-22 1996-08-22 Redundant type system

Country Status (1)

Country Link
JP (1) JPH1063530A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011134025A (en) * 2009-12-23 2011-07-07 Autonetworks Technologies Ltd Processor and control method
JP5024042B2 (en) * 2005-05-30 2012-09-12 セイコーエプソン株式会社 Semiconductor memory device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5024042B2 (en) * 2005-05-30 2012-09-12 セイコーエプソン株式会社 Semiconductor memory device
JP2011134025A (en) * 2009-12-23 2011-07-07 Autonetworks Technologies Ltd Processor and control method

Similar Documents

Publication Publication Date Title
US5694538A (en) Memory rewriting apparatus
US20060150006A1 (en) Securing time for identifying cause of asynchronism in fault-tolerant computer
US5390103A (en) Synchronized programmable controller and method of controlling the same
EP0173967B1 (en) Microprogram load unit
JPH1063530A (en) Redundant type system
JP3239935B2 (en) Tightly-coupled multiprocessor system control method, tightly-coupled multiprocessor system, and recording medium therefor
US5182754A (en) Microprocessor having improved functional redundancy monitor mode arrangement
JPH0232652B2 (en)
JP2869971B2 (en) Failure detection device
JPH04343144A (en) Microprocessor
JPH08220198A (en) Battery backup memory unit and backup function testing method
JP2000339218A (en) Fault processor for cache memory, fault processing method for cache memory and multiprocessor system
KR100284044B1 (en) Abnormal operation recovery method of functional devices with relation
JPS62166451A (en) History analyzing device for logical unit
JPS61150041A (en) Duplex information processing system
JP4226121B2 (en) Memory information update system and memory information update method
JPH08328997A (en) Local bus access method and bus adapter
JPH01270157A (en) Multiplex memory device
JPS63282852A (en) Stand-by system diagnosing system in duplex processing system
JPS61285558A (en) Data processor
JPH08305637A (en) Storage
JPH0341538A (en) Main storage device
JPS592295A (en) Diagnosis system of memory controller
JPS60256834A (en) External memory controller
JPH0527146B2 (en)