JPS61190637A - Automatic reset device at computer trouble - Google Patents

Automatic reset device at computer trouble

Info

Publication number
JPS61190637A
JPS61190637A JP60030274A JP3027485A JPS61190637A JP S61190637 A JPS61190637 A JP S61190637A JP 60030274 A JP60030274 A JP 60030274A JP 3027485 A JP3027485 A JP 3027485A JP S61190637 A JPS61190637 A JP S61190637A
Authority
JP
Japan
Prior art keywords
circuit
reset
failure
cpu
detected
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
JP60030274A
Other languages
Japanese (ja)
Inventor
Kenji Akiyama
秋山 賢二
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 JP60030274A priority Critical patent/JPS61190637A/en
Publication of JPS61190637A publication Critical patent/JPS61190637A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs

Abstract

PURPOSE:To secure the reliability of a device and to improve the operating ratio by resetting an interface (I/F) circuit to stop the output to the external if troubles exceeding a prescription are detected in a certain time. CONSTITUTION:When a trouble occurs in a CPU11, a self-diagnostic circuit 21 resets the CPU21, and contents of a counter circuit 22 are increased by +1. Though the CPU11 is reset, the output to an external device 3 is held as it is because an I/F circuit 12 is as it is, and the state of the external device 3 is held. The CPU11 is restarted after reset, the control is continued if any more trouble is not detected. When A-number of seconds elapses after the restart of the CPU11, a timer circuit 23 clears the counter circuit 22; but if a trouble is detected before the elapse of A-number of seconds, contents of the counter circuit 22 are increased by +1. At this time, it is judged that a serious trouble occurs in the CPU, and the output signal to the external is stopped to stop the external device 3.

Description

【発明の詳細な説明】 [発明の技術分野] 本発明はコンピューター故障時に、コンピューターに対
し自動的にリセットをかけるための装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an apparatus for automatically resetting a computer in the event of a computer failure.

[発明の技術的背景とその問題点] コンピューター故障時の自動リセット装置の従来例につ
いて第3図、第4図により、その構成および動作を説明
する。
[Technical Background of the Invention and Problems thereof] The structure and operation of a conventional automatic reset device when a computer fails will be explained with reference to FIGS. 3 and 4.

コンピューター1は中央処理装置(以下、CPUと呼ぶ
)11とインターフェース回路(以下、I/F回路と呼
ぶ)12から構成される装置 を出している。自動リセット装置2は自己診断回路21
から成り,信号線L1を通してcputtの状態を監視
している。
The computer 1 includes a central processing unit (hereinafter referred to as CPU) 11 and an interface circuit (hereinafter referred to as I/F circuit) 12. The automatic reset device 2 is a self-diagnosis circuit 21
The state of cput is monitored through the signal line L1.

この装置の動作は自己診断回路21がCPUIIの故障
を検出すると、cpuilとI/F回路12に対してリ
セットをかけ、コンピューター1を初期化し,再スター
トを行なうものである。
The operation of this device is such that when the self-diagnosis circuit 21 detects a failure in the CPU II, it resets the CPU and the I/F circuit 12, initializes the computer 1, and restarts it.

この動作は第4図のフローチャート上で、故障検出(1
00)から’lesに分岐し. I/F回路リセット(
101) 、CPUリセット(102)の後. cpu
リセット解除(103) 、I/F回路リセット解除(
104)を行ない,正常な動作に戻る流れに対応する。
This operation is shown in the flowchart in Figure 4 for failure detection (1).
00) to 'les. I/F circuit reset (
101), after CPU reset (102). cpu
Reset release (103), I/F circuit reset release (
104) to respond to the flow of returning to normal operation.

この自動リセット装置2では、1度故障を検出するとI
/F回路12をリセットするので、外部装置3へ送られ
る出力信号も初期化され、外部装置は停止することにな
る。つまり、この自動リセット装置2の場合、 CPU
IIおよび自己診断回路21に雑音等の一時的な原因で
外乱が入り、故障を検出すると。
In this automatic reset device 2, once a failure is detected, the
Since the /F circuit 12 is reset, the output signal sent to the external device 3 is also initialized, and the external device is stopped. In other words, in the case of this automatic reset device 2, the CPU
II and the self-diagnosis circuit 21 due to a temporary cause such as noise, and a failure is detected.

直ちにコンピューター1を初期化し、外部装置3も止め
るので、信頼性の向上は望めても、稼動率が低下すると
いう欠点を有していた。
Since the computer 1 is immediately initialized and the external device 3 is also shut down, although it is possible to improve reliability, it has the drawback of lowering the operating rate.

[発明の目的] 本発明は、上記従来技術の問題点を解消し、自己診断回
路による装置の信頼性向上を保ちつつ、一時的原因の故
障による外部装置の動作中断を避け、稼動率の向上を図
る自動リセット装置を提供することを目的とする。
[Objective of the Invention] The present invention solves the problems of the prior art described above, improves the reliability of the device by the self-diagnosis circuit, avoids interruptions in the operation of external devices due to temporary failures, and improves the operating rate. The purpose of the present invention is to provide an automatic reset device that achieves this.

[発明の概要] この目的を達成するために、本発明は自己診断回路の他
にタイマー回路およびカウンター回路を設け、故障検出
時には必要最少限の回路のみをリセットし、I/F回路
は現状のまま維持しておき、リセット解除後、それ以上
故障が検出されないときはそのまま処理を続行し、一定
時間内に規定以上の故障が検出された場合はI/F回路
をリセットして外部への出力を止めることにより、H1
1m頼性の確保と共に稼動率の向上を図ったものである
[Summary of the invention] In order to achieve this object, the present invention provides a timer circuit and a counter circuit in addition to a self-diagnosis circuit, resets only the minimum necessary circuits when a failure is detected, and replaces the I/F circuit with the current one. If no more failures are detected after the reset is released, processing continues as is, and if more failures than specified are detected within a certain period of time, the I/F circuit is reset and output to the outside. By stopping H1
The aim is to ensure 1m reliability and improve operating efficiency.

[発明′の実施例] 第1図に本発明の一実施例に係る自動リセット装置の回
路図を示す。
[Embodiment of the invention'] FIG. 1 shows a circuit diagram of an automatic reset device according to an embodiment of the invention.

CPUIIとI/F回路12によって構成されるコンピ
ューター1はバルブ等の外部装置3を制御している。自
動リセット装置2は自己診断回路21の他にカウンター
回路22とタイマー回路23から構成され、信号線L1
を通してcputtの状態を監視している。CPUII
にクロックの停止、パリティエラー、ウォッチ・ドッグ
・エラー等の故障が発生すると、自己診断回路21は信
号線L2によりCPUIIを1度リセットし、再スター
トを行なわせる。同時に、信号線L3.L4によりカウ
ンター回路22を1回カウントし、タイマー回路23を
クリアーする。タイマー回路23はクリアーされること
なく一定時間経過すると、信号線L5によりカウンター
回路をクリアする。タイマー回路23からのクリアを受
ける前に、カウンタ回路22がCPUIIの故障の検出
により規定の回数以上カウントされると、カウンター回
路22は信号線L6によりI/F回路12をリセットす
るように構成されている。
A computer 1 composed of a CPU II and an I/F circuit 12 controls external devices 3 such as valves. The automatic reset device 2 includes a self-diagnosis circuit 21, a counter circuit 22, and a timer circuit 23, and a signal line L1
The status of cput is monitored through. CPUII
When a failure such as a clock stop, a parity error, or a watch dog error occurs, the self-diagnosis circuit 21 resets the CPU II once through the signal line L2 and causes it to restart. At the same time, signal line L3. L4 counts the counter circuit 22 once and clears the timer circuit 23. When the timer circuit 23 is not cleared for a certain period of time, the counter circuit is cleared by the signal line L5. The counter circuit 22 is configured to reset the I/F circuit 12 via the signal line L6 when the counter circuit 22 counts a predetermined number of times or more due to the detection of a failure in the CPU II before receiving the clear from the timer circuit 23. ing.

次に本発明の作用を第1図および動作フローチャートを
示した第2図を用いて説明する。説明を簡単にするため
、カウンター回路22の設定回数は2回、タイマー回路
の設定時間はA秒とする。
Next, the operation of the present invention will be explained using FIG. 1 and FIG. 2 showing an operation flowchart. To simplify the explanation, it is assumed that the number of times the counter circuit 22 is set is two, and the time that the timer circuit is set is A seconds.

CPU 11が正常に動作しているときは、第2図のフ
ローチャート上で、故障検出(200)でNOに分岐し
ループを作る。
When the CPU 11 is operating normally, the flowchart shown in FIG. 2 branches to NO at failure detection (200), creating a loop.

正常に動作していたCPU 11に故障が発生すると。When a failure occurs in CPU 11, which was operating normally.

自己診断回路21はcputtをリセットし、カウンタ
ー回路22のカウントアツプを行ないカウントを1にし
、更にタイマー回路23をクリアーする。 cpuli
はリセットされるがI/F回路12はそのままなので、
外部装置3への出力は現状が維持され、外部装置3の状
態は保持される。リセット後、CPU 11は再スター
トし、それ以上故障が検出されなかった場合はそのまま
制御が続行される。
The self-diagnostic circuit 21 resets cputt, counts up the counter circuit 22 to 1, and clears the timer circuit 23. cpuli
is reset, but the I/F circuit 12 remains the same, so
The current output to the external device 3 is maintained, and the state of the external device 3 is maintained. After resetting, the CPU 11 restarts, and if no further failure is detected, control continues.

この動作は第2図のフローチャート上では、故障検出(
200)で’lesに分岐し、 cpuリセット(20
1)を行ない、A秒以内に2回の故障検出(202)で
はNOに分岐し、CPUのリセット解除(203)を行
なった後、正常な動作にもどる流れに対応する。このこ
とかられかるように、cputtまたは自己診断回路2
1に入ってくるノイズ等の一時的な原因による故障では
、外部装置3を止めることなく稼動率の高い制御が行な
える。
This operation is shown in the flowchart in Figure 2 as failure detection (
200), branch to 'les and do a cpu reset (20
1), and if a failure is detected twice within A seconds (202), the process branches to NO, and after canceling the reset of the CPU (203), the process returns to normal operation. As you can see from this, cputt or self-diagnosis circuit 2
In the event of a failure due to a temporary cause such as noise coming into the device 1, control with a high operating rate can be performed without stopping the external device 3.

また、CPUIIのリセットを解除し、再スタートさせ
てからA秒経過すると、タイマー回路23はカウンター
回路22をクリアするが、その前に再度故障が検出され
るとカウンター回路22はさらにカウントアツプされ、
カウントが2になる。このときはCPUIIに重大な故
障が発生したものと判断してI/F回路12をリセット
し、外部への出力信号を止め、外部装置3を停止させる
Furthermore, when A seconds have passed after the CPU II is reset and restarted, the timer circuit 23 clears the counter circuit 22, but if a failure is detected again before that, the counter circuit 22 counts up further.
The count becomes 2. In this case, it is determined that a serious failure has occurred in the CPU II, and the I/F circuit 12 is reset, the output signal to the outside is stopped, and the external device 3 is stopped.

この動作は第2図のフローチャート上では、故障検出(
200)でYesに分岐し、 CPUリセット(201
)を行ない、A秒以内に2回の故障検出(202)で’
lesに分岐し、 I/F回路リセット(204)を行
なう流れに対応する。このことかられかるように、自己
診断機能による制御の信頼性向上は確保される。
This operation is shown in the flowchart in Figure 2 as failure detection (
Branch to Yes at 200) and reset the CPU (201
), and the failure is detected twice (202) within A seconds.
This corresponds to the flow of branching to les and resetting the I/F circuit (204). As can be seen from this, the reliability of control by the self-diagnosis function can be improved.

更に、I/F回路12をリセットしてからCPUIIだ
けリセット解除して再スタート行ったとき、故障が検出
されている間はタイマー回路23がクリアーされるので
、I/F回路12はリセットの状態を保つ。
Furthermore, when the I/F circuit 12 is reset and then the CPU II is reset and restarted, the timer circuit 23 is cleared while a failure is detected, so the I/F circuit 12 remains in the reset state. keep it.

この動作は第2図のフローチャート上で、CPUリセッ
ト解除(205)から最後の故障検出からA秒以内に再
度故障検出(206)で’lesに分岐し、CPUリセ
ット(207)を行なった後、CPUリセット解除(2
05)を行なうループに対応する。
This operation is shown in the flowchart of FIG. 2. Within A seconds from the last failure detection after the CPU reset is released (205), the failure is detected again (206) and branches to 'les, and after the CPU is reset (207), CPU reset release (2)
05).

しかし、CPUIIの故障が検出されなくなってからA
秒経過すると、タイマー回路23はカウンタ回路22を
クリアするので、I/F回路12のリセット状態も解除
され、始めから制御が行なわれる。
However, after the CPU II failure was no longer detected,
When seconds have elapsed, the timer circuit 23 clears the counter circuit 22, so that the reset state of the I/F circuit 12 is also released and control is performed from the beginning.

この動作は第2図のフローチャート上で、最後の故障検
出からA秒以内に再度故障検出(206)でNOに分岐
し、I/F回路リセット解除(208)の後、正常な動
作に戻る流れに対応する。
This operation is shown in the flowchart in Figure 2. Within A seconds after the last failure is detected, the failure is detected again (206) and the process branches to NO, and after the I/F circuit reset is released (208), the process returns to normal operation. corresponds to

これにより、cpu i 1が制御不能であるにも拘ら
ず制御を再開して、外部袋[3の起動・停止を何度も繰
り返すという不具合が無くなり、 cpultが正常復
帰したことを確認した上で、自動的に再起動を行なうこ
とができるようになる。
This eliminates the problem of restarting control even though cpu i 1 is out of control and repeatedly starting and stopping the external bag [3], and after confirming that cpult has returned to normal. , it will be possible to restart automatically.

尚、上記実施例ではI/F回路12をCPUII故障時
にリセットする例について示したが、I/F回路12内
の設定によりリセットせず現状維持することも可能であ
り、外部袋[3に応じたシステム構成とすることができ
る。
Although the above embodiment shows an example in which the I/F circuit 12 is reset when the CPU II fails, it is also possible to maintain the current status without resetting depending on the settings within the I/F circuit 12. The system configuration can be made as follows.

[発明の効果] 以上説明したように本発明によれば、コンピューター故
障時の自己診断機能を保ちつつ、一時的な故障により外
部装置を止めることがなく、高信頼性を保った上で、装
置の稼動率を向上させるという効果が得られる。
[Effects of the Invention] As explained above, according to the present invention, the self-diagnosis function in the event of a computer failure is maintained, the external device is not stopped due to a temporary failure, and the device can be operated while maintaining high reliability. This has the effect of improving the operating rate.

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

第1図は本発明のコンピューター故障時の自動リセット
装置の一実施例の回路図、第2図はその動作のフローチ
ャート、第3図は従来のコンピユー噂 ター故障時の自動リセット装置の回路図、第1!±その
動作のフローチャートである。 1・・・ コンピューター、2・・・ 自動リセット装
置、3・・・外部装置、11・・・CPU、 12・・
・I/F回路、21・・・自己診断回路、22・・・カ
ウンター回路、23・・・タイマー回路。 (7317)  代理人 弁理士 則 近  憲 佑(
ほか1名) 第1図 第2図 第3図 〕
FIG. 1 is a circuit diagram of an embodiment of an automatic reset device when a computer malfunctions according to the present invention, FIG. 2 is a flowchart of its operation, and FIG. 3 is a circuit diagram of a conventional automatic reset device when a computer malfunctions. 1st! ± is a flowchart of its operation. 1... Computer, 2... Automatic reset device, 3... External device, 11... CPU, 12...
- I/F circuit, 21... self-diagnosis circuit, 22... counter circuit, 23... timer circuit. (7317) Agent: Patent Attorney Noriyuki Chika (
(and 1 other person) Figure 1, Figure 2, Figure 3]

Claims (1)

【特許請求の範囲】[Claims]  中央処理装置と外部装置とのインターフェース回路を
持ったコンピューターにおいて、前記中央処理装置の故
障を検出して故障検出信号を出力し、前記中央処理装置
をリセットする自己診断回路と、前記故障検出信号によ
りクリアされる一方、クリアされることなく一定時間経
過したとき出力を発生するタイマー回路と、このタイマ
ー回路の出力によりクリアされる一方、クリアされるこ
となく前記故障検出信号を規定数カウントしたとき出力
を発生し、前記インターフェース回路に対してリセット
をかけるカウンタ回路とを備えることを特徴とするコン
ピューター故障時の自動リセット装置。
In a computer having an interface circuit between a central processing unit and an external device, a self-diagnosis circuit detects a failure in the central processing unit, outputs a failure detection signal, and resets the central processing unit; A timer circuit that generates an output when a certain period of time elapses without being cleared, and a timer circuit that is cleared by the output of this timer circuit, but outputs when a specified number of failure detection signals are counted without being cleared. an automatic reset device in the event of a computer failure, characterized in that the device comprises: a counter circuit that generates a counter circuit that resets the interface circuit;
JP60030274A 1985-02-20 1985-02-20 Automatic reset device at computer trouble Pending JPS61190637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60030274A JPS61190637A (en) 1985-02-20 1985-02-20 Automatic reset device at computer trouble

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60030274A JPS61190637A (en) 1985-02-20 1985-02-20 Automatic reset device at computer trouble

Publications (1)

Publication Number Publication Date
JPS61190637A true JPS61190637A (en) 1986-08-25

Family

ID=12299124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60030274A Pending JPS61190637A (en) 1985-02-20 1985-02-20 Automatic reset device at computer trouble

Country Status (1)

Country Link
JP (1) JPS61190637A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04121460A (en) * 1990-09-10 1992-04-22 Hitachi Ltd Control unit and method of hydroelectric power plant
JP2016126692A (en) * 2015-01-08 2016-07-11 株式会社デンソー Electronic control device
JP2017194833A (en) * 2016-04-20 2017-10-26 京セラドキュメントソリューションズ株式会社 Image forming apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04121460A (en) * 1990-09-10 1992-04-22 Hitachi Ltd Control unit and method of hydroelectric power plant
JP2016126692A (en) * 2015-01-08 2016-07-11 株式会社デンソー Electronic control device
JP2017194833A (en) * 2016-04-20 2017-10-26 京セラドキュメントソリューションズ株式会社 Image forming apparatus

Similar Documents

Publication Publication Date Title
JPH01258057A (en) Synchronous method and apparatus for a plurality of processors
JPS5983254A (en) Watchdog timer
JPH04211843A (en) Microprocessor device
JPS61163447A (en) Non-action state detector
JPS61190637A (en) Automatic reset device at computer trouble
JPS63221437A (en) Detecting system for cpu runaway
JP2003067220A (en) Computer system
JP4126849B2 (en) Multi-CPU system monitoring method
JPH1078896A (en) Industrial electronic computer
JPH02293939A (en) Stack overflow detection time processing system
JPH02234241A (en) Reset retry circuit
SU1140124A1 (en) Device for checking program execution time
JPS6142220A (en) Method of restarting digital protection relay
JPS63118848A (en) Resetting circuit for abnormal case of microcomputer
JPH04148246A (en) Watchdog timer
JP3107104B2 (en) Standby redundancy method
JPS5821955A (en) Emergency controlling system
JPH04369740A (en) Controller with watch dog timer
JPS61255445A (en) Cpu supervisory circuit
JPS626262B2 (en)
JPH0433138A (en) Cpu runaway monitoring system
JP2731386B2 (en) Control device
JPS6389941A (en) Monitor and control equipment for microprocessor applied equipment
JPS632922Y2 (en)
JPH09212201A (en) Control circuit for production facility