JPH02234241A - Reset retry circuit - Google Patents

Reset retry circuit

Info

Publication number
JPH02234241A
JPH02234241A JP1053855A JP5385589A JPH02234241A JP H02234241 A JPH02234241 A JP H02234241A JP 1053855 A JP1053855 A JP 1053855A JP 5385589 A JP5385589 A JP 5385589A JP H02234241 A JPH02234241 A JP H02234241A
Authority
JP
Japan
Prior art keywords
hardware
reset
error
errors
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
JP1053855A
Other languages
Japanese (ja)
Inventor
Toru Maeda
徹 前田
Noriyoshi Miyajima
宮嶋 教至
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.)
Hitachi Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Engineering Co Ltd
Hitachi 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 Hitachi Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Engineering Co Ltd
Priority to JP1053855A priority Critical patent/JPH02234241A/en
Publication of JPH02234241A publication Critical patent/JPH02234241A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the hardware with high reliability by resetting automatically the intermittent errors and stopping the hardware if an error is immediately produced again even though an automatic resetting action is tried. CONSTITUTION:The normal working is monitored by a watchdog timer 13 and a parity checker 14. The timer 13 detects the runaway of an MPU, and the checker 14 detects the errors occurring on a data bus of the MPU. These errors are recovered by resetting the hardware. Then the working of a device is stopped as long as the error occurring interval is kept within a fixed time when the errors are continuously produced by the hard troubles, etc. Thus it is possible to obtain the hardware that does not easily have a down and has the high reliability.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロプロセッサユニット(以下MPU)
応用製品に係り、特に、各種システムの制御系,保護系
など高信頼度を要求される場合に好適な,エラー発生時
のリセット・リトライ方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention is directed to a microprocessor unit (hereinafter referred to as MPU).
The present invention relates to applied products, and in particular to a reset/retry method in the event of an error, which is suitable for control systems, protection systems, etc. of various systems that require high reliability.

〔従来の技術〕[Conventional technology]

従来、MPU応用製品は、[ディジタル回路のオートリ
セット回路」に記載のように,電源の投入、遮断時等、
電源電圧が定格外である場合にハードウェアをリセット
する方式が採られていた。
Conventionally, MPU application products have been designed to operate automatically when power is turned on or off, etc., as described in [Auto-reset circuit for digital circuits].
A method was adopted in which the hardware was reset if the power supply voltage was outside the rated range.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は,ハードウェアリセットに依らなければ
回復不能なエラーの発生の際のリセットについては考慮
されておらず、このため、エラーの発生の際には、装置
をダウンさせざるをえないという問題があった。
The above conventional technology does not take into consideration resetting in the event of an error that cannot be recovered without relying on a hardware reset, and for this reason, when an error occurs, the device must be brought down. There was a problem.

本発明の目的は、エラーの発生の際には、ハードウェア
リセットによる自動回復により,インターミツテントな
エラーによるダウンを防止し、真に、致命的なハード故
障によるエラーの場合のみダウンさせるリセッ・ト・リ
トライ回路を提供することにある。
The purpose of the present invention is to prevent downtime due to intermittent errors by automatic recovery by hardware reset when an error occurs, and to prevent downtime due to an error caused by a truly fatal hardware failure. The purpose of this invention is to provide a retry circuit.

(lllifiを解決するための手段〕上記目的は,ハ
ードウェアリセットによる回復が必要なエラーの発生を
検出した際には、ハードウェアリセットを実施し、かつ
、エラーが、ハード故障に起因する場合など、連続して
発生する場合には、エラーの発生間隔が一定時間内であ
ることをもって装置を停止させる方式とすることにより
達成される。
(Means for resolving llifi) The above purpose is to perform a hardware reset when an error that requires recovery by a hardware reset is detected, and when the error is caused by a hardware failure, etc. , if the error occurs continuously, this can be achieved by stopping the device when the error occurrence interval is within a certain period of time.

〔作用〕[Effect]

ハードウェアリセットの必要なエラーが検出された際に
は,本方式によりハードウェアリセットが実施されるた
め,リセットスタートによる自動回復が可能となる。こ
れによってエラーがインターミツテントなものであった
場合には、以後、正常稼動が可能である。
When an error requiring a hardware reset is detected, this method performs a hardware reset, allowing automatic recovery by starting a reset. As a result, if the error is intermittent, normal operation is possible from now on.

一方、エラーがハードウェア故障等による連続的なもの
であった場合には、この動作゛による自動復帰後もエラ
ーが再度発生するため,このエラーの発生間隔が一定時
間内であることをもって装置を停止させる方式により、
真に致命的な場合のみの停止が実現される。
On the other hand, if the error is continuous due to a hardware failure, etc., the error will occur again even after automatic recovery by this operation. Depending on the method of stopping,
Shutdown is achieved only in truly fatal cases.

〔実施例〕〔Example〕

以下、本発明の一実施例を説明する。 An embodiment of the present invention will be described below.

第1図は、本発明の一実施例を示す。FIG. 1 shows one embodiment of the invention.

本実施例は、ウオッチドッグタイマ13,パリテイチェ
ツカ14によるハードウェアリセットの必要なエラーの
検出部と、エラーの発生時点を認識するためのフリップ
/フロツプ2と、エラーの発生時点からの経過時間を計
測するためのワンショットマルチバイブレータ4と、エ
ラー発生時にハードウェアリセットを実施するためのワ
ンショツ1・マノレチバイブレータ9と、一回目のエラ
ーから一定時間内に再度エラーが発生した場合にハード
ウェアを停止させるための停止用フリツプ/フロツプ5
、及び,電源電圧を蛤視して通常のハードウェアリセッ
トを実施するためのリセット回路15とから構成される
This embodiment includes a watchdog timer 13 and a parity checker 14 for detecting errors that require hardware reset, a flip/flop 2 for recognizing the point at which an error occurs, and measuring the elapsed time from the point at which the error occurs. one-shot multi-vibrator 4 for resetting the hardware when an error occurs, one-shot 1/manoretic vibrator 9 for resetting the hardware when an error occurs, and stopping the hardware if an error occurs again within a certain period of time after the first error. Flip/Flop 5 for stopping
, and a reset circuit 15 for performing a normal hardware reset by checking the power supply voltage.

以下、本実施例の動作を説明する。The operation of this embodiment will be explained below.

まず、電源投入、遮断時等の電rX電圧不確定時には、
リセット回路15により、リセット信号7が出力され、
リセットイコ号11・が出力されてハードウェアがリセ
ットされる。
First, when the electric rX voltage is uncertain, such as when turning on or turning off the power,
The reset circuit 15 outputs a reset signal 7,
Reset equalizer number 11. is output and the hardware is reset.

正常稼動は、ウオッチドッグタイマ13、及び.パリテ
イチェツカ14により監視され、ウオッチドッグタイマ
13は、MPUの暴走を、パリテイチェツカ14は、M
PUのデータパス上の誤まりの発生を検出し、いずれの
エラー発生時もハードウェアリセットによる回復が必要
である。
During normal operation, the watchdog timer 13 and . The parity checker 14 monitors the runaway of the MPU, and the watchdog timer 13 monitors the runaway of the MPU.
It is necessary to detect the occurrence of an error on the data path of the PU, and to recover by hardware reset when any error occurs.

このいずれかのエラーが発生するとエラー検出信号1が
出力され、この発生時点、すなわち、エラー,検出信号
1の立上がりエッジを、フリップ/フロツプ2で検出す
る。この結果、エラー信号3が出力されるとワンショッ
トマルチバイブレータ4がトリガされ、あらかじめ設定
されたワンショット時間の間リセット起動信号6が出力
される。
When any of these errors occurs, an error detection signal 1 is output, and the flip/flop 2 detects the point of occurrence, that is, the rising edge of the error detection signal 1. As a result, when the error signal 3 is output, the one-shot multivibrator 4 is triggered, and the reset activation signal 6 is output for a preset one-shot time.

このリセット起動信号6の立上がりエッジでワンショッ
トマルチバイブレータ9がトリガされると、エラーリセ
ット信号10が出力され、その結果、リセット信号Bl
lが出力されてハードウェアリセットが実施される。
When the one-shot multivibrator 9 is triggered by the rising edge of this reset activation signal 6, an error reset signal 10 is output, and as a result, the reset signal Bl
1 is output and a hardware reset is performed.

以上により,エラー発生時のハードウェアリセットが実
呪される. 一方,一度エラーが発生して、上記の動作によりワンシ
ョットマルチバイブレータ4の出力であるリセット起動
信号6が出力されているワンショット時間の間に,再度
、エラーが発生して、エラー検出信号1の立上がりエッ
ジが発生すると、停止用フリツプ/フロツプ5によりリ
セット起動信号6が取り込まれ、停止信号12が出力さ
れる。
As a result of the above, hardware reset is actually performed when an error occurs. On the other hand, once an error occurs, during the one-shot time when the reset start signal 6, which is the output of the one-shot multivibrator 4, is output due to the above operation, an error occurs again, and the error detection signal 1 When a rising edge occurs, the stop flip/flop 5 takes in the reset activation signal 6 and outputs the stop signal 12.

この停止信号12の出力をもって停止用フリップ/フロ
ップ5は、ロックされ、かつ、ハードウェアを停止させ
る。
With the output of this stop signal 12, the stop flip/flop 5 is locked and the hardware is stopped.

この動作を第2図のタイムチャートを用いて説明する。This operation will be explained using the time chart shown in FIG.

エラー発生により、エラー検出信″:″,1がアクティ
ブになるとその立上がりエッジでエラー借号3がアクテ
ィブになる。エラー信号3の立上がりエッジでリセット
起動信号6がアクティブになるとリセット信号Bllが
アクティブとなり、ハードウェアはリセットされる。
When the error detection signal ``:'', 1 becomes active due to the occurrence of an error, the error signal 3 becomes active at its rising edge. When the reset activation signal 6 becomes active at the rising edge of the error signal 3, the reset signal Bll becomes active and the hardware is reset.

エラー検出信号1の立上がりエッジで、リセット起動信
号6のレベルが停止信号12に反映されるが、エラー検
出信号1の立上がりエッジの時点では、リセット起動信
号6はローレベルのため、停止信号12はハイのままで
あり、ハードウェアは、リセット信号11がインアクテ
ィブとなってリセットが終了すると、再度、稼動し、エ
ラーから復帰する。
At the rising edge of the error detection signal 1, the level of the reset activation signal 6 is reflected in the stop signal 12, but at the time of the rising edge of the error detection signal 1, the reset activation signal 6 is low level, so the stop signal 12 is It remains high and the hardware runs again and recovers from the error when the reset signal 11 becomes inactive and the reset ends.

ここでリセット起動信号6は、ワンショット時間Tの間
アクティブ(ハイレベル)になっているが、一度、エラ
ーが発生してから、自動復帰して稼動中に、t l>T
となるような時間1x後に、再度、エラーが発生しても
エラーによるエラー検呂信号1の立上がりエッジでは、
既に、リセット起動信号6はロー・レベルであるため、
停止信号12はハイ・レベルのままであり、再度、リセ
ットされた後,自動復帰する。
Here, the reset activation signal 6 is active (high level) for a one-shot time T, but once an error occurs, it automatically returns and during operation, t l>T
Even if an error occurs again after a time 1x such that
Since the reset activation signal 6 is already at low level,
The stop signal 12 remains at a high level and automatically returns after being reset again.

このように、ごく散発的に発生する可能性のあるインタ
ーミツテントな,ノイズ等によるエラーの場合には,自
動復帰が可能である。
In this way, automatic recovery is possible in the case of an intermittent error caused by noise or the like that may occur sporadically.

一方、ハードウェア故障などにより、エラーが発生する
場合は、頻発するため、エラーの発生間隔t 2 < 
’l’となり、この場合には、一つ前のエラーによりア
クティブとなっているリセット起動信号6のハイ・レベ
ルが,エラー検出信号1の立上がリエッジで停止信号1
2に伝達され、この結果、リセットは行なわれず,ハー
ドウェアは停止させられる. このように,まれに発生するインターミツテントなエラ
ーでは、リセットによる自動復帰が可能で、ハード故障
等、エラーにより、リセットして自動復帰させようとし
ても、すぐ、再度エラーの発生する場合には、ハードウ
ェアを停止させることができる. 本実施例によれば、リセットによる自動復帰の可能なイ
ンターミツテントなエラーの場合には、自動復帰による
リトライが可能で、真に、致命的なハード故障等による
エラーの切り分けをワンショットマルチバイブレータ4
に設定するワンショット時間で変えられるため、各種の
ハードウェアに対して容易に最適化でき、よりダウンし
にくい、高信頼度のハードウェアを実現することができ
る。
On the other hand, when an error occurs due to a hardware failure, etc., it occurs frequently, so the error occurrence interval t 2 <
In this case, the high level of the reset activation signal 6, which has become active due to the previous error, becomes the stop signal 1 at the rising edge of the error detection signal 1.
As a result, no reset is performed and the hardware is stopped. In this way, for intermittent errors that occur rarely, it is possible to automatically recover by resetting, and even if you try to reset and automatically recover due to an error such as a hardware failure, if the error occurs again immediately, , the hardware can be stopped. According to this embodiment, in the case of an intermittent error that can be automatically recovered by a reset, a retry is possible by automatic recovery, and the one-shot multivibrator is used to isolate errors caused by truly fatal hardware failures. 4
Since it can be changed in a one-shot time setting, it can be easily optimized for various types of hardware, making it possible to realize highly reliable hardware that is less likely to go down.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、インターミツテントなエラーでは,ダ
ウンせずにリセットスタートにより自動復帰し、真に致
命的な、ハード故障等、エラーが゛連続的、あるいは高
い頻度で発生する場合のみ停止させることができる。
According to the present invention, in the case of an intermittent error, the system automatically recovers by a reset start without going down, and is stopped only when the error occurs continuously or frequently, such as a truly fatal hardware failure. be able to.

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

第1図は、本発明の一実施例の回路図、第2図は第1図
の動作を説明するタイミングチャートである。 2・・・フリップ/フロップ、4・・・ワンショットマ
ルチバイブレータ、5・・・停止用フリツプ/フロップ
FIG. 1 is a circuit diagram of an embodiment of the present invention, and FIG. 2 is a timing chart explaining the operation of FIG. 1. 2...Flip/flop, 4...One-shot multivibrator, 5...Flip/flop for stopping.

Claims (1)

【特許請求の範囲】[Claims] 1、マイクロプロセッサ応用製品において、ハードウェ
アリセットに依らなければ回復の不可能なエラーの発生
を検出した際には前記ハードウェアリセットを実施し、
前記エラーの発生間隔が一定時間以内である際には、前
記ハードウェアを停止させることとしたことを特徴とす
るリセット・リトライ回路。
1. In a microprocessor applied product, when an error that cannot be recovered without a hardware reset is detected, the hardware reset is performed;
A reset/retry circuit characterized in that the hardware is stopped when the error occurrence interval is within a certain period of time.
JP1053855A 1989-03-08 1989-03-08 Reset retry circuit Pending JPH02234241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1053855A JPH02234241A (en) 1989-03-08 1989-03-08 Reset retry circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1053855A JPH02234241A (en) 1989-03-08 1989-03-08 Reset retry circuit

Publications (1)

Publication Number Publication Date
JPH02234241A true JPH02234241A (en) 1990-09-17

Family

ID=12954386

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1053855A Pending JPH02234241A (en) 1989-03-08 1989-03-08 Reset retry circuit

Country Status (1)

Country Link
JP (1) JPH02234241A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05114061A (en) * 1991-10-23 1993-05-07 Toshiba Corp Paper sheets processor
JP2009520290A (en) * 2005-12-22 2009-05-21 ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング Fault-tolerant processor system
JP2017517060A (en) * 2014-06-24 2017-06-22 華為技術有限公司Huawei Technologies Co.,Ltd. Fault processing method, related apparatus, and computer

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05114061A (en) * 1991-10-23 1993-05-07 Toshiba Corp Paper sheets processor
JP2009520290A (en) * 2005-12-22 2009-05-21 ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング Fault-tolerant processor system
JP2017517060A (en) * 2014-06-24 2017-06-22 華為技術有限公司Huawei Technologies Co.,Ltd. Fault processing method, related apparatus, and computer
US10353763B2 (en) 2014-06-24 2019-07-16 Huawei Technologies Co., Ltd. Fault processing method, related apparatus, and computer
US11360842B2 (en) 2014-06-24 2022-06-14 Huawei Technologies Co., Ltd. Fault processing method, related apparatus, and computer

Similar Documents

Publication Publication Date Title
JPH02234241A (en) Reset retry circuit
JPH11259340A (en) Reactivation control circuit for computer
JP4534995B2 (en) Restart method for digital protective relay
JP3724034B2 (en) Control circuit for production equipment
JPS5855535B2 (en) Multi-computer device for vehicles
JPH1078896A (en) Industrial electronic computer
JPH04363729A (en) Computer system
JPH02293939A (en) Stack overflow detection time processing system
JP3107104B2 (en) Standby redundancy method
KR100408266B1 (en) Device for automatically recovering fault of computer system
JPH04332047A (en) Switching system for step-out of synchronism of redundant computer
JPH04291610A (en) Reset circuit for microcomputer
JPH1051515A (en) Communication abnormality detector
JPS5827559B2 (en) Ijiyou Kanshi Cairo
JP2004317365A (en) Failure detection circuit for reset ic for control equipment
JPH02141814A (en) Power failure restorative interruption and control system
JPH0242508A (en) Programmable controller
JPS63296116A (en) Power source disconnection monitoring circuit system
JPH01231153A (en) Fault processing system
JPS60195648A (en) System for detecting malfunction of microprocessor
JPH0277854A (en) Resetting system for microprocessor
KR20010011631A (en) Method And Apparatus For Fail Recovery And Board Selecting In Dual System
JPH02245939A (en) Parity inspection device
JPS58140827A (en) Input/output controller
JPH05264618A (en) Method for detecting abnormality of clock signal