JPH05225162A - Runaway detecting system for multi-cpu system - Google Patents

Runaway detecting system for multi-cpu system

Info

Publication number
JPH05225162A
JPH05225162A JP4024972A JP2497292A JPH05225162A JP H05225162 A JPH05225162 A JP H05225162A JP 4024972 A JP4024972 A JP 4024972A JP 2497292 A JP2497292 A JP 2497292A JP H05225162 A JPH05225162 A JP H05225162A
Authority
JP
Japan
Prior art keywords
cpu
reset pulse
runaway
general
sending
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
JP4024972A
Other languages
Japanese (ja)
Inventor
Masayuki Wada
正幸 和田
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.)
NIPPON DENKI MUSEN DENSHI KK
Original Assignee
NIPPON DENKI MUSEN DENSHI KK
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 NIPPON DENKI MUSEN DENSHI KK filed Critical NIPPON DENKI MUSEN DENSHI KK
Priority to JP4024972A priority Critical patent/JPH05225162A/en
Publication of JPH05225162A publication Critical patent/JPH05225162A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To early detect the CPU having a runaway fault and to recovery this faulty CPU in a multi-CPU system. CONSTITUTION:A reference CPU 2 is actuated in the periodical 1 reset sequence by a periodical reset pulse generating part 1. Then the CPU 2 carries out the programs set at the general CPU 4a-4n through an interface part 3 and a bus 7 and detects the runaway faults of these CPU 4. When the CPU 2 detects a fault of either one of those CPU 4, a reset pulse generating part 5 is instructed by the CPU 2 to produce a reset pulse 9a for initialization of the relevant CPU 4.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は複数のCPUを使用した
システムにおいて各CPUの暴走を監視するとともに上
記暴走の検出時には上記暴走CPUを早期に正常化する
複数CPUシステムの暴走検出方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a runaway detection system for a multiple CPU system which monitors runaway of each CPU in a system using a plurality of CPUs and normalizes the runaway CPUs early when the runaway is detected.

【0002】[0002]

【従来の技術】従来のこの種の複数CPUシステムの暴
走検出方式について、図2のブロック図を参照して説明
する。
2. Description of the Related Art A conventional runaway detection method for a multi-CPU system of this type will be described with reference to the block diagram of FIG.

【0003】この複数CPUシステムの暴走検出方式
は、インターフェイス部21およびバス24を介して相
互に接続されたn(nは整数)個のCPU部22a,2
2b,…,22nが、それぞれウォッチ・ドックタイマ
などのカウンタ23a,23b,…,23nを独立に持
っていた。そして、CPU部22a,22b,…,22
nのそれぞれは、暴走時には、内蔵するプログラムによ
りこれらカウンタ23a,23b,…,23nを定めら
れた時間内にクリアパルス25によりクリアすることに
より、カウンタ23a,23b,…,23nそれぞれか
らのリセットパルス26の発生を禁止していた。
In this runaway detection system for a multiple CPU system, n (n is an integer) CPU sections 22a, 2 connected to each other via an interface section 21 and a bus 24.
, 22n respectively have counters 23a, 23b, ..., 23n such as a watch dock timer. Then, the CPU units 22a, 22b, ..., 22
Each of n is reset pulse from each counter 23a, 23b, ..., 23n by clearing these counters 23a, 23b ,. 26 were banned.

【0004】[0004]

【発明が解決しようとする課題】この従来の複数CPU
システムの暴走検出方式においては、各CPUが独立に
暴走検出システムを持っていたが、このシステムはプロ
グラムにより制御されており、CPUの暴走時にこれら
の暴走検出システムが必らずしも正常に動作するとは限
らない。そして、この場合には基準となるCPUがない
ため、暴走CPUの検出は不可能となる。従って、この
暴走検出システムを正常に戻すためには一旦電源を切る
必要があった。
This conventional multiple CPU
In the system runaway detection method, each CPU had its own runaway detection system, but this system is controlled by a program, and these runaway detection systems operate without fail when the CPU runs out of control. Not necessarily. In this case, since there is no reference CPU, the runaway CPU cannot be detected. Therefore, in order to return the runaway detection system to the normal state, it was necessary to turn off the power once.

【0005】[0005]

【課題を解決するための手段】本発明の複数CPUシス
テムの暴走検出方式は、一定周期のリセットパルスを発
生する定周期リセットパルス発生器と、前記一定周期リ
セットパルスにより初期化される基準CPUと、複数の
一般CPUと、前記基準CPUおよび前記複数の一般C
PUとを相互に接続するインターフェイス部と、前記基
準CPU部の指示により前記一般CPUにリセットパル
スを送出するリセットパルス発生部とを有し、前記基準
CPUが、前記一般CPUのそれぞれに定められたシー
ケンスのプログラムを実行させることにより前記一般C
PUの暴走を監視する暴走監視手段と、前記監視手段が
暴走CPUを発見したときには前記リセットパルス発生
部に前記暴走CPUに対して前記リセットパルスを送出
させるリセットパルス送出指示手段とを備えている。
A runaway detection system for a multiple CPU system according to the present invention comprises a fixed cycle reset pulse generator for generating a fixed cycle reset pulse, and a reference CPU initialized by the fixed cycle reset pulse. , A plurality of general CPUs, the reference CPU and the plurality of general Cs
An interface unit interconnecting the PU and a reset pulse generation unit for sending a reset pulse to the general CPU according to an instruction from the standard CPU unit, and the standard CPU is set for each of the general CPUs. By executing the sequence program, the general C
A runaway monitoring means for monitoring the runaway of the PU, and a reset pulse sending instruction means for sending the reset pulse to the runaway CPU when the monitoring means finds the runaway CPU are provided.

【0006】[0006]

【実施例】次に本発明について図面を参照して説明す
る。図1は本発明の一実施例のブロック図である。
The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention.

【0007】CPU部2は定周期リセットパルス発生部
1の供給する一定周期のリセットパルス6で絶えず初期
化されている。このCPU部2とn個のCPU部4a,
…,4nとは、インターフェイス部3およびバス7,8
a,…,8nを介して互いに接続されている。また、C
PU部2はバス7を介してリセットパルス発生部5を制
御する。リセットパルス発生部5は、CPU部2の指示
によってCPU部4a,…,4nにそれぞれリセットパ
ルス9a,…,9nを送出する機能を持っている。そし
て、CPU部2を基準CPUとし、このCPU部2によ
って一般CPUとされるCPU部4a,…,4nを監視
することになる。
The CPU section 2 is constantly initialized by the reset pulse 6 having a constant cycle supplied from the constant cycle reset pulse generating section 1. This CPU unit 2 and n CPU units 4a,
..., 4n are the interface unit 3 and the buses 7, 8
, 8n are connected to each other. Also, C
The PU unit 2 controls the reset pulse generating unit 5 via the bus 7. The reset pulse generating section 5 has a function of sending reset pulses 9a, ..., 9n to the CPU sections 4a ,. Then, the CPU section 2 is used as a reference CPU, and the CPU sections 4a, ..., 4n, which are general CPUs, are monitored by this CPU section 2.

【0008】即ち、CPU部2はCPU部4a〜4nに
定められたシーケンスのプログラムを実行させる。そし
てCPU部2は、正常なプログラム実行が行われないC
PU部2xを検出し,例えばCPU部4nが正常なプロ
グラム実行をしていなければこのCPU部4nを暴走し
ているとみなし、リセットパルス発生部5を制御してリ
セットパルス9nをCPU部4nに送出する。すると、
CPU部4nは初期化されて正常状態に戻ることにな
る。この暴走から正常復帰までの時間はリセットパルス
6の周期によって決定される。
That is, the CPU section 2 causes the CPU sections 4a to 4n to execute the program of the determined sequence. Then, the CPU unit 2 does not execute the normal program C
The PU unit 2x is detected and, for example, if the CPU unit 4n is not executing a normal program, it is considered that the CPU unit 4n is running out of control, and the reset pulse generating unit 5 is controlled to send the reset pulse 9n to the CPU unit 4n. Send out. Then,
The CPU unit 4n is initialized and returns to the normal state. The time from this runaway to the normal recovery is determined by the cycle of the reset pulse 6.

【0009】[0009]

【発明の効果】以上説明したように本発明は、複数のC
PUのうちのあるCPUの暴走によるシステムの誤動作
を基準CPUを定めてこの基準CPUの制御により定期
的に一般CPUの診断を行うことにより、暴走CPUを
早期に正常復帰させることができる効果がある。従っ
て、この複数CPUシステムの暴走検出方式は、複数C
PUを使用する通信機器等のシステムにおいて特に有効
である。
As described above, according to the present invention, a plurality of C
A malfunction of the system due to a runaway of a CPU in the PU is set as a reference CPU, and the general CPU is regularly diagnosed under the control of the reference CPU, so that the runaway CPU can be quickly returned to normal. .. Therefore, the runaway detection method of this multiple CPU system is based on multiple C
It is particularly effective in a system such as a communication device using a PU.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】従来の複数CPUシステムの暴走検出方式のブ
ロック図である。
FIG. 2 is a block diagram of a runaway detection method of a conventional multiple CPU system.

【符号の説明】 1 定周期リセットパルス発生部 2,4a,4n,22a,22b,22n CPU部 3,21 インターフェイス部 5 リセットパルス発生部 6,9a,9n,26 リセットパルス 7,8a,8n,24 バス 23a,23b,23n カウンタ 25 リセットパルス[Explanation of Codes] 1 fixed-cycle reset pulse generator 2, 4a, 4n, 22a, 22b, 22n CPU unit 3,21 interface unit 5 reset pulse generator 6, 9a, 9n, 26 reset pulse 7, 8a, 8n, 24 bus 23a, 23b, 23n counter 25 reset pulse

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 一定周期のリセットパルスを発生する定
周期リセットパルス発生器と、前記一定周期リセットパ
ルスにより初期化される基準CPUと、複数の一般CP
Uと、前記基準CPUおよび前記複数の一般CPUとを
相互に接続するインターフェイス部と、前記基準CPU
部の指示により前記一般CPUにリセットパルスを送出
するリセットパルス発生部とを有し、前記基準CPU
が、前記一般CPUのそれぞれに定められたシーケンス
のプログラムを実行させることにより前記一般CPUの
暴走を監視する暴走監視手段と、前記監視手段が暴走C
PUを発見したときには前記リセットパルス発生部に前
記暴走CPUに対して前記リセットパルスを送出させる
リセットパルス送出指示手段とを備えていることを特徴
とする複数CPUシステムの暴走検出方式。
1. A fixed-cycle reset pulse generator for generating a fixed-cycle reset pulse, a reference CPU initialized by the fixed-cycle reset pulse, and a plurality of general CPs.
U, an interface unit interconnecting the reference CPU and the general CPUs, and the reference CPU
A reset pulse generator for sending a reset pulse to the general CPU according to an instruction from the reference CPU.
However, a runaway monitoring means for monitoring the runaway of the general CPU by executing a program in a predetermined sequence in each of the general CPU, and the runaway C by the monitoring means.
A runaway detection system for a plurality of CPU systems, characterized in that the reset pulse generating section is provided with reset pulse sending instruction means for sending the reset pulse to the runaway CPU when a PU is found.
JP4024972A 1992-02-12 1992-02-12 Runaway detecting system for multi-cpu system Withdrawn JPH05225162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4024972A JPH05225162A (en) 1992-02-12 1992-02-12 Runaway detecting system for multi-cpu system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4024972A JPH05225162A (en) 1992-02-12 1992-02-12 Runaway detecting system for multi-cpu system

Publications (1)

Publication Number Publication Date
JPH05225162A true JPH05225162A (en) 1993-09-03

Family

ID=12152889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4024972A Withdrawn JPH05225162A (en) 1992-02-12 1992-02-12 Runaway detecting system for multi-cpu system

Country Status (1)

Country Link
JP (1) JPH05225162A (en)

Similar Documents

Publication Publication Date Title
US4635258A (en) System for detecting a program execution fault
JPS62154037A (en) Virtual computer supervising and controlling system
JP2603805Y2 (en) Supervisory circuit for a system with multiple functional components
JPH05225162A (en) Runaway detecting system for multi-cpu system
KR100279204B1 (en) Dual Controlling Method of Local Controller for An Automatic Control System and an Equipment thereof
JPH08202589A (en) Information processor and fault diagnostic method
JP2675645B2 (en) System failure monitoring device
JPS6213153Y2 (en)
JPS61169036A (en) System supervisory device
JPS5814204A (en) Microcomputer controller
JP2744113B2 (en) Computer system
JP3511033B2 (en) Fault tolerant computer equipment
JP2774595B2 (en) Operation monitoring device for CPU system
JPH01245322A (en) Power failure control circuit for microprocessor
JP2990008B2 (en) Processor self-diagnosis method
KR100408266B1 (en) Device for automatically recovering fault of computer system
JPS5868166A (en) Processor fault monitoring device
JPH02308343A (en) Trouble detection reporting system for microprocessor
JPS63238641A (en) Simplified detecting system for fault of microprocessor
JPS573148A (en) Diagnostic system for other system
JPH04293133A (en) Fault monitoring system in loosely coupled multi-processor system
JPH01281540A (en) Fault detecting device
JPH0764666A (en) Device malfunction preventing system at the time of clock disturbance
JPH0270150A (en) Operation state detector
JPH05224998A (en) Fault detecting system for application task

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990518