JPH04247531A - Fault detecting system - Google Patents

Fault detecting system

Info

Publication number
JPH04247531A
JPH04247531A JP3013099A JP1309991A JPH04247531A JP H04247531 A JPH04247531 A JP H04247531A JP 3013099 A JP3013099 A JP 3013099A JP 1309991 A JP1309991 A JP 1309991A JP H04247531 A JPH04247531 A JP H04247531A
Authority
JP
Japan
Prior art keywords
arithmetic
circuit
clocks
circuits
arithmetic circuit
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.)
Withdrawn
Application number
JP3013099A
Other languages
Japanese (ja)
Inventor
Hiroshi Takahashi
弘 高橋
Kenji Ishihara
石原 健治
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3013099A priority Critical patent/JPH04247531A/en
Publication of JPH04247531A publication Critical patent/JPH04247531A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

PURPOSE:To present the fault detecting system which does not define the operational not-coincidence of each arithmetic circuit as a fault according to asynchronous signals concerning the fault detecting system of the duplex arithmetic circuits. CONSTITUTION:An arithmetic stepping circuit 7 is provided to operate respective duplex arithmetic circuits 1 and 2 only for arbitrary clocks, and a means is provided to step one arithmetic circuit only for (n) clocks while stopping the operation of the other arithmetic circuit when non-coincidence is detected between the arithmetic circuits 1 and 2 or to step one arithmetic circuit only for (m)(>n) clocks while stopping the operation of the other arithmetic circuit. When coincidence is detected by operating only one or the other among the arithmetic circuits 1 and 2 by the means, the stop is canceled and when non- coincidence is detected in the both cases, it is recognized as the fault. 3,4: interruption signal/timer signal, 5: comparator circuit, 6: clock preparing circuit, I: fault, II: announcement to host device.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、二重化された演算回路
をもつ演算処理装置において、二重化された演算回路の
障害検出方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for detecting a fault in a duplexed arithmetic circuit in an arithmetic processing device having a duplexed arithmetic circuit.

【0002】近年の演算処理装置においては、ノースト
ップ、ノーダウンに対する要求が強い。このためには該
演算処理装置を二重化して、どちらか一方の演算処理装
置が障害を検出した場合に、他方に切り替えるという方
式が一般的に用いられる。
In recent years, there is a strong demand for no-stop and no-down processing in arithmetic processing devices. For this purpose, a method is generally used in which the arithmetic processing units are duplicated and when one of the arithmetic processing units detects a failure, it is switched to the other one.

【0003】この時の演算処理装置の障害を的確に検出
するために、例えば、内部の演算回路を二重化して比較
し、不一致を検出したとき、該演算処理装置の障害とす
る障害検出方式がある。
In order to accurately detect a failure in the arithmetic processing unit at this time, for example, the internal arithmetic circuits are duplicated and compared, and when a discrepancy is detected, a failure detection method is used that determines that the arithmetic processing unit is at fault. be.

【0004】この場合、該二重化された演算回路に、例
えば、割り込み信号,又は、タイマー信号等が非同期で
入力されると、該演算回路が障害でもないのに不一致を
検出してしまうことがあることから、このような非同期
事象に起因した不一致を検出することがない障害検出方
式が要求される。
In this case, if, for example, an interrupt signal or a timer signal is input asynchronously to the duplicated arithmetic circuit, the arithmetic circuit may detect a mismatch even though it is not a fault. Therefore, there is a need for a failure detection method that does not detect inconsistencies caused by such asynchronous events.

【0005】[0005]

【従来の技術】図3〜図5は、従来の障害検出方式を説
明する図であり、(a) は演算処理装置の構成例を示
し、(b1),(b2) は動作タイムチャートを示し
ている。以下、1クロックで1命令を実行する場合を例
として説明する。
[Prior Art] FIGS. 3 to 5 are diagrams for explaining conventional failure detection methods, in which (a) shows an example of the configuration of an arithmetic processing unit, and (b1) and (b2) show operation time charts. ing. An example in which one instruction is executed in one clock will be described below.

【0006】従来の二重化された演算回路 1,2を持
つ演算処理装置の障害検出方法は、例えば、二重化され
た演算回路 1,2の動作を比較回路 5で、クロック
に同期して比較し、不一致を検出したとき、該演算処理
装置の障害とする障害検出方式が一般的である。
A conventional fault detection method for an arithmetic processing device having duplex arithmetic circuits 1 and 2 includes, for example, comparing the operations of duplex arithmetic circuits 1 and 2 in synchronization with a clock in a comparator circuit 5; A common fault detection method is to detect a mismatch as a fault in the arithmetic processing device.

【0007】然しながら、この従来方式においては、各
々の演算回路 1,2に供給されている割込み信号■,
 またはタイマー信号■などによる非同期事象を演算す
る時に、各々の演算回路 1,2の特性差により該非同
期事象を一方が演算し、他方が演算しない場合にも障害
として検出してしまう問題があった。
However, in this conventional method, the interrupt signals
Or, when calculating an asynchronous event caused by a timer signal, etc., there was a problem that due to the difference in characteristics between each calculation circuit 1 and 2, if one side calculated the asynchronous event and the other did not, it would be detected as a failure. .

【0008】例えば、(b1)図に示した動作タイムチ
ャートにおいて、該クロックに非同期な割り込み信号■
 (又は、タイマー信号■) が、該演算回路 1,2
に対するクロックとクロックとの間に発生した場合、該
二重化されか演算回路 1,2においては、同じクロッ
クで受け付け信号■を生成し、該二重化された演算回路
 1,2の、例えば、プログラムカウンタ(PC)は、
同じクロックタイミングで、割り込みエントリーアドレ
ス“8000”を生成し、該生成されたアドレスから、
同期して割り込み処理の実行 (演算) を開始する。 従って、この場合には、該二重化されか演算回路 1,
2で不一致が検出されることはない。
For example, in the operation time chart shown in FIG.
(or timer signal ■) is the arithmetic circuit 1, 2
, the duplexed arithmetic circuits 1 and 2 generate the acceptance signal ■ with the same clock, and the duplexed arithmetic circuits 1 and 2, for example, the program counter ( PC) is
At the same clock timing, an interrupt entry address "8000" is generated, and from the generated address,
Starts interrupt processing execution (calculation) synchronously. Therefore, in this case, the duplexed arithmetic circuit 1,
2, no mismatch is detected.

【0009】然して、(b2)図に示した動作タイムチ
ャートにおいては、該クロックに非同期な割り込み信号
■ (又は、タイマー信号■) が、該演算回路 1,
2に対するクロックと、ほぼ同じタイミングで発生した
場合を示している。
However, in the operation time chart shown in FIG.
This shows a case where the clock occurs at almost the same timing as the clock for 2.

【0010】この場合、該二重化されか演算回路 1,
2では、該非同期信号■, ■を受け付ける回路の動作
特性のバラツキ等により、それぞれ、別々のクロックで
受け付け信号■を作成してしまうことがある。
In this case, the duplicated arithmetic circuit 1,
2, due to variations in the operating characteristics of the circuits that accept the asynchronous signals (2) and (2), the acceptance signals (2) may be generated using different clocks.

【0011】従って、該二重化された演算回路 1,2
のプログラムカウンタ(PC)は、別々なタイミングで
割り込みエントリーアドレス“8000”を生成して、
該割り込み処理を実行する。
Therefore, the duplicated arithmetic circuits 1 and 2
The program counter (PC) generates the interrupt entry address "8000" at different timings,
Execute the interrupt processing.

【0012】該二重化された演算回路 1,2の上記プ
ログラムカウンタ(PC)の値を、比較回路5で比較し
ていると、上記の場合、比較エラーが発生し、当該演算
処理装置はエラーと認識される。
When the comparator circuit 5 compares the values of the program counters (PC) of the duplicated arithmetic circuits 1 and 2, a comparison error occurs in the above case, and the arithmetic processing unit detects the error. Recognized.

【0013】尚、上記の比較対象は、特に、限定される
ものではなく、該プログラムカウンタ(PC)の他に、
例えば、実行シーケンス回路, 演算部(ALU) の
演算結果, 主要レジスタ等がある。
[0013] The above comparison targets are not particularly limited, and in addition to the program counter (PC),
For example, there are execution sequence circuits, operation results of the arithmetic unit (ALU), main registers, etc.

【0014】[0014]

【発明が解決しようとする課題】このため、例えば、上
記割込み信号■,又は、タイマー信号■などを共通回路
として各々の演算回路 1,2に供給し、前記のような
非同期事象を一方が演算し、他方が演算しないというこ
とが発生しないようにする方法がとる方式が考えられる
然しながら、この方法によれば、該共通回路に障害が発
生した場合に、該障害を検出できないという問題点があ
る。
[Problem to be Solved by the Invention] Therefore, for example, the above-mentioned interrupt signal (■) or timer signal (■) is supplied to each arithmetic circuit 1 and 2 as a common circuit, so that one of the asynchronous events as described above can be computed. However, there is a method that can be considered to prevent the other circuit from not performing operations, but this method has the problem that if a fault occurs in the common circuit, the fault cannot be detected. .

【0015】本発明は上記従来の欠点に鑑み、割込み信
号■, 又は、タイマー信号■発生回路などを共通回路
とせず、しかも各々の演算回路の特性差により非同期事
象を一方が演算し、他方が演算しない場合にも障害とし
ない障害検出方式を提供することを目的とするものであ
る。
In view of the above-mentioned drawbacks of the conventional art, the present invention does not use a common circuit for generating an interrupt signal (2) or a timer signal (2), and moreover, one side calculates an asynchronous event while the other calculates an asynchronous event due to the difference in the characteristics of each calculation circuit. It is an object of this invention to provide a failure detection method that does not cause a failure even when no calculation is performed.

【0016】[0016]

【課題を解決するための手段】図1は本発明の原理構成
図である。上記の問題点は下記の如くに構成した障害検
出方式によって解決される。
[Means for Solving the Problems] FIG. 1 is a diagram showing the basic configuration of the present invention. The above problems are solved by a fault detection method configured as follows.

【0017】二重化された演算回路 1,2と, 前記
二重化された演算回路 1,2を比較するための比較回
路 5を有する演算装置において、前記二重化された演
算回路 1,2の各々を任意クロックだけ歩進させる演
算歩進回路 7を持ち、前記二重化された演算回路 1
,2を比較するための比較回路 5が不一致を検出した
場合に、前記演算歩進回路 7が一方の演算回路 1,
 又は、2 の歩進を停止し、他方の演算回路 2, 
又は、1 をnクロックだけ歩進させる手段と、前記演
算歩進回路 7が他方の演算回路 2, 又は、1 の
歩進を停止し、一方の演算回路 1, 又は、2 をm
クロックだけ歩進させる手段と、前記二重化された演算
回路 1,2を比較するための比較回路 5が一致を検
出した場合に、両方の演算回路 1,2を歩進させる手
段を設けて、前記二重化された演算回路 1,2の動作
に不一致が検出された場合に、前記二重化された演算回
路 1,2の一方 1, 又は、2 の歩進を停止し、
他方 2, 又は、1 をnクロックだけ歩進させて、
その間に前記比較回路 5が一致を検出した場合には、
上記一方 1, 又は、2 の歩進の停止を解除し、上
記の操作で、前記比較回路 5が一致を検出しなかった
場合は、他方 2, 又は、1 の歩進を停止し、一方
の演算回路 1, 又は、2 を、上記nクロックより
大きいmクロックだけ歩進させて、その間に前記比較回
路が一致を検出した場合には他方の演算回路 2, 又
は、1 の歩進の停止を解除し、上記何れの操作におい
ても、前記比較回路 5が一致を検出しなかった場合の
み、該不一致を上位装置に通知するように構成する。
In an arithmetic device having duplex arithmetic circuits 1 and 2 and a comparison circuit 5 for comparing the duplex arithmetic circuits 1 and 2, each of the duplex arithmetic circuits 1 and 2 is clocked by an arbitrary clock. The duplexed arithmetic circuit 1 has an arithmetic step circuit 7 that increments by 1.
.
Or, stop the step of 2 and start the other arithmetic circuit 2,
1 by n clocks, and the arithmetic step circuit 7 stops the other arithmetic circuit 2, or 1 from advancing, and one arithmetic circuit 1, or 2 is set to m.
means for incrementing only the clock, and means for incrementing both arithmetic circuits 1 and 2 when a comparison circuit 5 for comparing the duplicated arithmetic circuits 1 and 2 detects a match; When a mismatch between the operations of the duplicated arithmetic circuits 1 and 2 is detected, stopping the progress of one of the duplicated arithmetic circuits 1 and 2;
On the other hand, step 2 or 1 by n clocks,
If the comparison circuit 5 detects a match during that time,
If the stoppage of the step of one of the above 1 or 2 is canceled and the comparison circuit 5 does not detect a match by the above operation, the step of the other 2 or 1 is stopped, and the step of the other 2 or 1 is stopped. The arithmetic circuit 1 or 2 is stepped by m clocks that are larger than the above n clocks, and if the comparison circuit detects a match during that time, the step of the other arithmetic circuit 2 or 1 is stopped. The configuration is such that only when the comparator circuit 5 does not detect a match in any of the above operations, the host device is notified of the mismatch.

【0018】[0018]

【作用】本発明の障害検出方式においては、二重化され
た演算回路に非同期な割り込み信号■, タイマー信号
■等が入力され、該二重化され演算回路の、例えば、プ
ログラムカウンタ(PC) を比較して、不一致が検出
された場合、例えば、演算回路1側の動作を停止させて
、他方の演算回路 2を、例えば、1クロック毎に歩進
させる。
[Operation] In the fault detection method of the present invention, an asynchronous interrupt signal (■), a timer signal (■), etc. are input to a duplexed arithmetic circuit, and a comparison is made between, for example, a program counter (PC) of the duplexed arithmetic circuit. If a mismatch is detected, for example, the operation of the arithmetic circuit 1 is stopped, and the other arithmetic circuit 2 is made to step forward, for example, every clock.

【0019】従って、演算回路 1のプログラムカウン
タ(PC)が、該非同期な割り込み処理のエントリーア
ドレス“8000”になったが、演算回路 2では、未
だ、該割り込み処理エントリーアドレス“8000”に
なっていなかった場合、上記歩進動作により、該演算回
路 2を割り込み処理のエントリーアドレス“8000
”に入れることができ、一致を検出するようになる。
Therefore, the program counter (PC) of the arithmetic circuit 1 has become the entry address "8000" for the asynchronous interrupt processing, but the arithmetic circuit 2 still has the entry address "8000" for the asynchronous interrupt processing. If not, the step operation described above causes the arithmetic circuit 2 to be set to the entry address "8000" for interrupt processing.
” and it will detect a match.

【0020】若し、逆の場合、即ち、演算回路 2のプ
ログラムカウンタ(PC)が、該非同期な割り込み処理
のエントリーアドレス“8000”になったが、演算回
路 1では、未だ、該割り込み処理エントリーアドレス
“8000”になっていなかった場合、上記の動作によ
り、先行している演算回路 2のプログラムカウンタ(
PC)が、更に、先行することになり、一致を検出する
ことができない。
If the opposite is the case, that is, the program counter (PC) of the arithmetic circuit 2 has reached the entry address "8000" for the asynchronous interrupt processing, but the arithmetic circuit 1 still has the entry address "8000" for the asynchronous interrupt processing. If the address is not "8000", the above operation causes the program counter (
PC) will further lead, and no match will be detected.

【0021】そこで、本発明の場合、一定クロック数n
だけ歩進させて一致が得られない場合、該歩進させてい
た演算回路 2の動作を停止させて、演算回路 1を1
クロック毎に歩進させる。
Therefore, in the case of the present invention, a fixed number of clocks n
If a match cannot be obtained after incrementing by 1, the operation of arithmetic circuit 2 that was incremented is stopped, and arithmetic circuit 1 is changed to 1.
Step by step every clock.

【0022】然して、該演算回路 1を上記nクロック
歩進させた時点で、当初の不一致が発生したタイミング
関係となるのみであるので、未だ、一致を得ることはな
い。そこで、本発明においては、該演算回路 1側をn
クロックより多いmクロックだけ歩進させることで、上
記非同期信号■, 又は、■による非同期事象の場合に
は、演算回路 1,2の、例えば、プログラムカウンタ
(PC)を一致させることができる。
However, at the time when the arithmetic circuit 1 is advanced by the n clocks, the timing relationship in which the initial mismatch has occurred has been established, and therefore no coincidence has yet been obtained. Therefore, in the present invention, the arithmetic circuit 1 side is n
By stepping forward by m clocks, which are more than the clock, in the case of an asynchronous event caused by the asynchronous signal (2) or (2), the program counters (PCs) of the arithmetic circuits 1 and 2, for example, can be brought into agreement.

【0023】従って、本発明においては、二重化された
演算回路に供給される非同期信号{上記割り込み信号■
, 又は、タイマー信号■}により, 各々の演算回路
の動作が不一致になった場合でも障害とすることなく、
且つ、同期を取り直すことができ、的確な障害検出が可
能になるという効果が得られる。
Therefore, in the present invention, the asynchronous signal {the above-mentioned interrupt signal
, or the timer signal ■}, even if the operation of each arithmetic circuit becomes inconsistent, it will not be considered a failure.
In addition, it is possible to resynchronize and accurately detect failures.

【0024】[0024]

【実施例】以下本発明の実施例を図面によって詳述する
。前記の図1は本発明の原理構成図であり、図2は本発
明の一実施例を動作タイムチャートで示した図ある。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Examples of the present invention will be described below in detail with reference to the drawings. The above-mentioned FIG. 1 is a diagram showing the principle configuration of the present invention, and FIG. 2 is a diagram showing an embodiment of the present invention in the form of an operation time chart.

【0025】本発明においては、二重化された演算回路
 1,2の各々を任意クロックだけ動作させる演算歩進
回路 7を備え、該演算回路 1,2の不一致を検出し
た場合、一方の演算回路 1, 又は、2 の動作を停
止させて、他方の演算回路 2, 又は、1 をnクロ
ックだけ歩進させるか、或いは、他方の演算回路 2,
 又は、1 の動作を停止させて、一方の演算回路 1
, 又は、2 をnより大きいmクロックだけ歩進させ
る手段を設けて、該手段により、演算回路 1,2の一
方,又は、他方のみを動作させて一致を検出した場合、
該停止側の演算回路の停止を解除し、何れの場合でも不
一致を検出した場合、当該演算処理装置の障害と認識す
る手段が、本発明を実施するのに必要な手段である。尚
、全図を通して同じ符号は同じ対象物を示している。
The present invention includes an arithmetic step circuit 7 that operates each of the duplex arithmetic circuits 1 and 2 by an arbitrary clock, and when a mismatch between the arithmetic circuits 1 and 2 is detected, one of the arithmetic circuits 1 , or 2, and the other arithmetic circuit 2, or 1 is stepped by n clocks, or the other arithmetic circuit 2, or 1 is incremented by n clocks.
Or, by stopping the operation of 1, one of the arithmetic circuits 1
, or 2 by m clocks greater than n, and when a match is detected by operating only one or the other of the arithmetic circuits 1 and 2,
A means necessary to carry out the present invention is a means for canceling the suspension of the arithmetic circuit on the halted side and recognizing that there is a failure in the arithmetic processing device when a mismatch is detected in any case. Note that the same reference numerals indicate the same objects throughout the figures.

【0026】以下、図1を参照しながら、図2により、
本発明による障害検出方式を説明する。図1は本発明の
原理構成図であって、二重化された演算回路 1,2を
持つ演算処理装置の概略図を示している。
Hereinafter, while referring to FIG. 1, according to FIG. 2,
A failure detection method according to the present invention will be explained. FIG. 1 is a diagram illustrating the principle of the present invention, and is a schematic diagram of an arithmetic processing device having dual arithmetic circuits 1 and 2. As shown in FIG.

【0027】本図において、1と2は演算回路、3と4
は割込み信号■, 又は、タイマー信号■の供給回路、
5は二重化された演算回路をクロックタイミングで比較
する比較回路であり、不一致の場合は、演算歩進回路 
7に通知する。7 は演算回路 1,2を任意クロック
だけ歩進できる演算歩進回路である。尚、本実施例では
、図3の従来方式で説明したように、1クロックで1命
令を実行すると仮定する。
In this figure, 1 and 2 are arithmetic circuits, 3 and 4
is an interrupt signal ■, or a timer signal ■ supply circuit,
5 is a comparison circuit that compares the duplicated arithmetic circuits based on clock timing, and if there is a mismatch, the arithmetic step circuit is
Notify 7. 7 is an arithmetic step circuit that can step the arithmetic circuits 1 and 2 by an arbitrary clock. In this embodiment, it is assumed that one instruction is executed in one clock, as explained in the conventional method shown in FIG.

【0028】上記比較回路 5が不一致を検出すると、
図2の動作タイムチャートで示したように、演算歩進回
路 7が、例えば、演算回路 2(演算回路 #2 で
示す) に対して歩進の停止を指示し、かつ、演算回路
 1 (演算回路 #1 で示す) に対してnクロッ
ク(本実施例では、例えば、2クロック)だけ歩進を指
示する。
When the comparison circuit 5 detects a mismatch,
As shown in the operation time chart of FIG. 2, the arithmetic step circuit 7 instructs the arithmetic circuit 2 (indicated by arithmetic circuit #2) to stop stepping, and also The circuit (indicated by #1) is instructed to advance by n clocks (for example, 2 clocks in this embodiment).

【0029】本実施例においては、上記の動作により、
演算回路 2のプログラムカウンタ(PC) #2 が
、例えば、“200C”で停止しており、演算回路 1
のプログラムカウンタ(PC) #1 は、割り込みエ
ントリーアドレス“8000”から“8002”,“8
004”と歩進する。
[0029] In this embodiment, due to the above operation,
The program counter (PC) #2 of the arithmetic circuit 2 has stopped at "200C", for example, and the program counter (PC) #2 of the arithmetic circuit 1 has stopped.
The program counter (PC) #1 is from interrupt entry address “8000” to “8002”, “8
004''.

【0030】該n(=2)クロックだけ歩進する間に、
比較回路 5が一致を検出すると、演算歩進回路 7は
、演算回路 2に対して歩進の停止の解除を指示する。 該n(=2)クロックだけ歩進して、未だ、該比較回路
 5が不一致を検出している場合は、本発明においては
、該演算歩進回路 7が、演算回路 1に対して歩進の
停止を指示する。
[0030] While stepping by the n (=2) clocks,
When the comparison circuit 5 detects a match, the arithmetic step circuit 7 instructs the arithmetic circuit 2 to stop the step. If the comparator circuit 5 still detects a mismatch after incrementing by the n (=2) clocks, in the present invention, the arithmetic step circuit 7 increments the arithmetic circuit 1. to stop.

【0031】本実施例においては、図2から明らかな如
く、演算回路 1のプログラムカウンタ(PC) #1
 は、アドレス“8004”の儘で停止となる。そして
、今まで停止状態にあった演算回路 2に対して、nク
ロックより大きいmクロック、本例では、例えば、3ク
ロックだけの歩進を指示する。
In this embodiment, as is clear from FIG. 2, the program counter (PC) #1 of the arithmetic circuit 1
stops at address "8004". Then, the arithmetic circuit 2, which has been in a stopped state, is instructed to advance by m clocks, which is greater than n clocks, and in this example, by only 3 clocks, for example.

【0032】該m(=3)クロックだけ歩進している間
に、比較回路 5が一致を検出{本例では、プログラム
カウンタ(PC)がアドレス“8004”を指示したと
き、演算回路 1,2のプログラムカウンタ(PC) 
#1,#2の値が一致している}すると、該演算歩進回
路 7は、演算回路 1に対して歩進の停止の解除を指
示する。従って、該演算回路1,2はプログラムカウン
タ(PC)が示すアドレス“8004”から、同期して
、該非同期の割り込み処理を実行することになる。
While incrementing by the m (=3) clocks, the comparator circuit 5 detects a match {in this example, when the program counter (PC) indicates address "8004", the arithmetic circuit 1, 2 program counter (PC)
If the values of #1 and #2 match, then the arithmetic step circuit 7 instructs the arithmetic circuit 1 to cancel the step stop. Therefore, the arithmetic circuits 1 and 2 synchronously execute the asynchronous interrupt processing from address "8004" indicated by the program counter (PC).

【0033】若し、m(=3)クロックだけ歩進しても
、比較回路 5が不一致を検出している場合は、当該演
算処理装置の障害と認識して、上記演算歩進回路 7が
上位装置に通知する。
If the comparator circuit 5 detects a mismatch even after incrementing by m (=3) clocks, it is recognized that there is a failure in the arithmetic processing unit, and the arithmetic increment circuit 7 Notify the higher-level device.

【0034】このように、本発明は、二重化された演算
回路 1,2の各々を任意クロックだけ動作させる演算
歩進回路 7を備え、該演算回路1,2の不一致を検出
した場合、一方の演算回路 1, 又は、2 の動作を
停止させて、他方の演算回路 2, 又は、1 をnク
ロックだけ歩進させるか、或いは、他方の演算回路 2
, 又は、1 の動作を停止させて、一方の演算回路 
1, 又は、2 をnより大きいmクロックだけ歩進さ
せる手段を設けて、該手段により、演算回路 1,2の
一方,又は、他方のみを動作させて一致を検出した場合
、該停止側の演算回路の停止を解除し、何れの場合でも
不一致を検出した場合、当該演算処理装置の障害と認識
するようにした所に特徴がある。
As described above, the present invention includes the arithmetic step circuit 7 that operates each of the duplex arithmetic circuits 1 and 2 by an arbitrary clock, and when a mismatch between the arithmetic circuits 1 and 2 is detected, one of the arithmetic circuits 1 and 2 is activated. The operation of the arithmetic circuit 1 or 2 is stopped and the other arithmetic circuit 2 or 1 is made to advance by n clocks, or the other arithmetic circuit 2 is stopped.
, or by stopping the operation of 1, one of the arithmetic circuits
1 or 2 by m clocks greater than n, and when a coincidence is detected by operating only one or the other of arithmetic circuits 1 and 2, the stop side The feature is that when the arithmetic circuit is stopped and a mismatch is detected in any case, it is recognized as a failure of the arithmetic processing device.

【0035】[0035]

【発明の効果】以上、詳細に説明したように、本発明の
障害検出方式は、二重化された演算回路を含む演算処理
装置において、二重化された演算回路の各々を任意クロ
ックだけ動作させる演算歩進回路を備え、該二重化され
た演算回路の不一致を検出した場合、一方の演算回路の
動作を停止させて、他方の演算回路をnクロックだけ歩
進させるか、或いは、他方の演算回路の動作を停止させ
て、一方の演算回路をnより大きいmクロックだけ歩進
させる手段を設けて、該手段により、該二重化された演
算回路の一方,又は、他方のみを動作させて一致を検出
した場合、該停止側の演算回路の停止を解除し、何れの
場合でも不一致を検出した場合、当該演算処理装置の障
害と認識するようにしたものであるので、二重化された
演算回路に供給される非同期信号■等により、各々の演
算回路の動作が不一致になった場合でも障害としないで
、かつ同期を取り直すことができ、真の障害のときのみ
、上位装置に通知するように動作する為、的確な障害検
出が可能となる効果が得られる。
As explained above in detail, the fault detection method of the present invention is an arithmetic step system that operates each of the duplexed arithmetic circuits by an arbitrary clock in an arithmetic processing device including duplexed arithmetic circuits. If a mismatch between the duplicated arithmetic circuits is detected, the operation of one arithmetic circuit is stopped and the other arithmetic circuit is advanced by n clocks, or the operation of the other arithmetic circuit is stopped. In the case where a means is provided for stopping one arithmetic circuit and incrementing one arithmetic circuit by m clocks greater than n, and a coincidence is detected by operating only one or the other of the duplicated arithmetic circuits, If the suspension of the arithmetic circuit on the stopped side is canceled and a mismatch is detected in any case, it is recognized as a failure of the arithmetic processing unit, so the asynchronous signal supplied to the redundant arithmetic circuit is (2) Even if the operation of each arithmetic circuit becomes inconsistent, it is not considered a failure, and synchronization can be reestablished. Only in the case of a true failure, the system notifies the higher-level device, so it is possible to accurately This provides the effect of enabling failure detection.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の原理構成図[Figure 1] Principle configuration diagram of the present invention

【図2】本発明の一実施例を動作タイムチャートで示し
た図
[Fig. 2] A diagram showing an embodiment of the present invention in the form of an operation time chart.

【図3】従来の障害検出方式を説明する図 (その1)
[Figure 3] Diagram explaining the conventional failure detection method (Part 1)

【図4】従来の障害検出方式を説明する図 (その2)
[Figure 4] Diagram explaining the conventional fault detection method (Part 2)

【図5】従来の障害検出方式を説明する図 (その3)
[Figure 5] Diagram explaining the conventional failure detection method (Part 3)

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

1,2   演算回路   3,4   割り込み信号, タイマー信号の供給回路
5     比較回路 7     演算歩進回路 ■    割り込み信号              
  ■    タイマー信号
1, 2 Arithmetic circuit 3, 4 Interrupt signal, timer signal supply circuit 5 Comparison circuit 7 Arithmetic step circuit■ Interrupt signal
■ Timer signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】二重化された演算回路(1,2) と, 
前記二重化された演算回路(1,2) を比較するため
の比較回路(5) を有する演算装置において、前記二
重化された演算回路(1,2) の各々を任意クロック
だけ歩進させる演算歩進回路(7) を持ち、前記二重
化された演算回路(1,2) を比較するための比較回
路(5) が不一致を検出した場合に、前記演算歩進回
路(7) が一方の演算回路(1, 又は、2)の歩進
を停止し、他方の演算回路(2, 又は、1)をnクロ
ックだけ歩進させる手段と、前記演算歩進回路(7) 
が他方の演算回路(2, 又は、1)の歩進を停止し、
一方の演算回路(1, 又は、2)をmクロックだけ歩
進させる手段と、前記二重化された演算回路(1,2)
 を比較するための比較回路(5) が一致を検出した
場合に、両方の演算回路(1,2) を歩進させる手段
を設けて、前記二重化された演算回路(1,2) の動
作に不一致が検出された場合に、前記二重化された演算
回路(1,2) の一方(1, 又は、2)の歩進を停
止し、他方(2, 又は、1)をnクロックだけ歩進さ
せて、その間に前記比較回路(5) が一致を検出した
場合には、上記一方(1, 又は、2)の歩進の停止を
解除し、上記の操作で、前記比較回路(5) が一致を
検出しなかった場合は、他方(2, 又は、1)の歩進
を停止し、一方の演算回路(1, 又は、2)を、上記
nクロックより大きいmクロックだけ歩進させて、その
間に前記比較回路が一致を検出した場合には他方の演算
回路(2, 又は、1)の歩進の停止を解除し、上記何
れの操作においても、前記比較回路(5) が一致を検
出しなかった場合のみ、該不一致を上位装置に通知する
ことを特徴とする障害検出方式。
[Claim 1] Duplicated arithmetic circuits (1, 2);
In an arithmetic device having a comparator circuit (5) for comparing the duplex arithmetic circuits (1, 2), an arithmetic increment step that advances each of the duplex arithmetic circuits (1, 2) by an arbitrary clock. If the comparator circuit (5) for comparing the duplicated arithmetic circuits (1, 2) detects a mismatch, the arithmetic step forward circuit (7) switches between the two arithmetic circuits (1, 2). 1, or 2), and means for incrementing the other arithmetic circuit (2, or 1) by n clocks; and the arithmetic step circuit (7).
stops the progress of the other arithmetic circuit (2 or 1),
means for incrementing one arithmetic circuit (1, or 2) by m clocks; and the duplex arithmetic circuit (1, 2).
A means is provided to advance both arithmetic circuits (1, 2) when a comparison circuit (5) for comparing the two arithmetic circuits (5) detects a match. When a mismatch is detected, one (1, or 2) of the duplexed arithmetic circuits (1, 2) stops advancing, and the other (2, or 1) advances by n clocks. If the comparator circuit (5) detects a match during that time, the stoppage of one of the steps (1 or 2) is released, and the above operation causes the comparator circuit (5) to detect a match. If not detected, the other (2, or 1) stops advancing, and one arithmetic circuit (1, or 2) advances by m clocks, which is greater than the above n clocks, and during that time If the comparison circuit detects a match, the stoppage of the other arithmetic circuit (2 or 1) is released, and in any of the above operations, the comparison circuit (5) detects a match. A fault detection method characterized by notifying a host device of the mismatch only when there is no discrepancy.
JP3013099A 1991-02-04 1991-02-04 Fault detecting system Withdrawn JPH04247531A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3013099A JPH04247531A (en) 1991-02-04 1991-02-04 Fault detecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3013099A JPH04247531A (en) 1991-02-04 1991-02-04 Fault detecting system

Publications (1)

Publication Number Publication Date
JPH04247531A true JPH04247531A (en) 1992-09-03

Family

ID=11823710

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3013099A Withdrawn JPH04247531A (en) 1991-02-04 1991-02-04 Fault detecting system

Country Status (1)

Country Link
JP (1) JPH04247531A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7107484B2 (en) 2002-07-12 2006-09-12 Nec Corporation Fault-tolerant computer system, re-synchronization method thereof and re-synchronization program thereof
JP2007304838A (en) * 2006-05-11 2007-11-22 Nec Computertechno Ltd Microprocessor, information processing method using it, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7107484B2 (en) 2002-07-12 2006-09-12 Nec Corporation Fault-tolerant computer system, re-synchronization method thereof and re-synchronization program thereof
JP2007304838A (en) * 2006-05-11 2007-11-22 Nec Computertechno Ltd Microprocessor, information processing method using it, and program

Similar Documents

Publication Publication Date Title
US4497059A (en) Multi-channel redundant processing systems
KR100566339B1 (en) Fault-tolerant computer system, re-synchronization method thereof and computer-readable storage medium having re-synchronization program thereof
JPH0833874B2 (en) Device for synchronizing multiple processors
KR20040007338A (en) Fault tolerant computer system re-synchronization method thereof and computer-readable storage medium having re-synchronization program thereof recorded thereon
JPH06508229A (en) Synchronization of fault-tolerant processors using interrupt-driven discrete clock schemes
JPH04247531A (en) Fault detecting system
JPH086800A (en) Data processor and microprocessor
US6587957B1 (en) Disk drive controller for controlling data flow therethrough by switching to secondary bus to receive clock pulses when a failure on master bus is detected
JP3423732B2 (en) Information processing apparatus and failure processing method in information processing apparatus
JP3536293B2 (en) Redundant computer equipment
JP3118742B2 (en) Device malfunction prevention method in case of clock disturbance
JPH09198280A (en) Method for generating pulse for system monitoring and real time operating system provided with pulse generation function for monitoring
JPH1078896A (en) Industrial electronic computer
JPH04270419A (en) Information processor
JP3055249B2 (en) Processor debugging method
JPH0652004A (en) Pair cpu unit
JPH03154901A (en) Duplex controller
JP2698431B2 (en) Timeout detection device
JP3331695B2 (en) Time synchronization method
JPH06131209A (en) Artificial error generating system
JPS6272038A (en) Testing method for program runaway detecting device
JPH02110742A (en) Error detecting and synchronizing system for multi-processor
JPH01209516A (en) System for monitoring timer working
JPH05143379A (en) Program monitoring device
JPS63238641A (en) Simplified detecting system for fault of microprocessor

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514