JPH05181708A - Cpu monitoring circuit - Google Patents

Cpu monitoring circuit

Info

Publication number
JPH05181708A
JPH05181708A JP3358883A JP35888391A JPH05181708A JP H05181708 A JPH05181708 A JP H05181708A JP 3358883 A JP3358883 A JP 3358883A JP 35888391 A JP35888391 A JP 35888391A JP H05181708 A JPH05181708 A JP H05181708A
Authority
JP
Japan
Prior art keywords
monitoring
cpu
sub
pulse signal
interrupt
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
JP3358883A
Other languages
Japanese (ja)
Inventor
Masataka Hino
正孝 日野
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP3358883A priority Critical patent/JPH05181708A/en
Publication of JPH05181708A publication Critical patent/JPH05181708A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To enable monitoring a main CPU and sub-CPUs only by the addition of a little firmware processing without increasing the size of a hardware even when the number of sub-CPUs is increased. CONSTITUTION:A CPU monitoring part 4 sends monitoring pulse signals to sub-CPU parts 2, 3 at the same timing to interrupt them. sub-CPU parts 2, 3 inform the generation of the monitoring interruptions to the main CPU part 1. At the time of receiving the generation of the monitoring interruptions, the main CPU part 1 executes the AND operation of respective interruptions generated from the sub-CPU parts 2, 3, and only when the interruptions are received from both of the sub-CPUs 2, 3, inverts the monitoring pulse signal and returns the inverted signal to the CPU monitoring part 4.

Description

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

【0001】[0001]

【技術分野】本発明はCPU監視回路に関し、特に複数
のCPU(中央処理装置)によって構成されるCPU部
の監視方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CPU monitoring circuit, and more particularly to a monitoring system for a CPU unit composed of a plurality of CPUs (central processing units).

【0002】[0002]

【従来技術】従来、この種のCPU監視方式において
は、図2に示すように、メインCPU部5に対して1個
のサブCPU部2を有する場合、CPU監視部4の監視
パルス発生回路41からサブCPU部2の割込回路22
に定周期の監視パルス信号を送出し、サブCPU部2の
CPU20に割込みをかける。
2. Description of the Related Art Conventionally, in this type of CPU monitoring system, as shown in FIG. 2, when the main CPU unit 5 has one sub CPU unit 2, the monitoring pulse generating circuit 41 of the CPU monitoring unit 4 is used. To the interrupt circuit 22 of the sub CPU unit 2
To the CPU 20 of the sub CPU unit 2 to interrupt the CPU 20 of the sub CPU unit 2.

【0003】CPU20は割込回路22から監視パルス
信号の受信が通知されると、DPM(dual port memor
y)21を介してメインCPU部5の割込回路52に対
して監視割込みが発生したことを通知する。
When the CPU 20 is notified by the interrupt circuit 22 that a monitoring pulse signal has been received, the CPU 20 receives a DPM (dual port memory).
y) Notify that an interrupt has occurred to the interrupt circuit 52 of the main CPU section 5 via 21.

【0004】メインCPU部5のCPU50は割込回路
52から監視割込みの発生が通知されると、監視パルス
発生回路41からの監視パルス信号を反転し、出力ポー
ト51を介してCPU監視部4の反転パルス検出回路4
0に返送する。
When the CPU 50 of the main CPU unit 5 is notified by the interrupt circuit 52 that a monitoring interrupt has occurred, the CPU 50 of the CPU monitoring unit 4 inverts the monitoring pulse signal from the monitoring pulse generation circuit 41 and outputs the signal from the CPU monitoring unit 4 via the output port 51. Inversion pulse detection circuit 4
Return to 0.

【0005】反転パルス検出回路40は出力ポート51
を介して反転パルス信号が返送されてくると、メインC
PU部5およびサブCPU部2が正常に動作しているこ
とを確認する。
The inverted pulse detection circuit 40 has an output port 51.
When the inverted pulse signal is returned via the
It is confirmed that the PU unit 5 and the sub CPU unit 2 are operating normally.

【0006】また、反転パルス検出回路40は監視パル
ス発生回路41からの監視パルス信号の1周期内に出力
ポート51を介して反転パルス信号が返送されてこなか
った場合、メインCPU部5およびサブCPU部2の異
常と判断し、アラームとして通知する。ここで、メイン
CPU部5およびサブCPU部2の正常動作または異常
動作は反転パルス検出回路40の監視結果として通知さ
れる。
Further, if the inversion pulse detection circuit 40 does not return the inversion pulse signal via the output port 51 within one cycle of the monitoring pulse signal from the monitoring pulse generating circuit 41, the main CPU section 5 and the sub CPU It is judged as an abnormality of the section 2, and an alarm is given. Here, the normal operation or the abnormal operation of the main CPU unit 5 and the sub CPU unit 2 is notified as a monitoring result of the inversion pulse detection circuit 40.

【0007】一方、図3に示すように、メインCPU部
6に対して2個のサブCPU部2,3を有する場合、C
PU監視部7の監視パルス発生回路72,73からサブ
CPU部2,3の割込回路22,32に定周期の監視パ
ルス信号を送出し、サブCPU部2,3のCPU20,
30に夫々独立に割込みをかける。
On the other hand, as shown in FIG. 3, when the main CPU unit 6 has two sub CPU units 2 and 3, the C
The monitoring pulse generation circuits 72 and 73 of the PU monitoring unit 7 send monitoring pulse signals of a fixed cycle to the interrupt circuits 22 and 32 of the sub CPU units 2 and 3, and the CPU 20 of the sub CPU units 2 and 3
Each 30 is independently interrupted.

【0008】CPU20,30各々は割込回路22,3
2から監視パルス信号の受信が通知されると、DPM2
1,31を介してメインCPU部6の割込回路62に対
して監視割込みが発生したことを通知する。
Each of the CPUs 20 and 30 has an interrupt circuit 22 or 3.
2 notifies that the monitoring pulse signal has been received, the DPM2
The interrupt circuit 62 of the main CPU unit 6 is notified of the occurrence of the monitoring interrupt via 1, 31.

【0009】メインCPU部6のCPU60は割込回路
62からサブCPU部2,3各々における監視割込みの
発生が通知されると、監視パルス発生回路72,73か
らの監視パルス信号を反転し、出力ポート61および信
号線111 ,112 を介してCPU監視部7の反転パルス検
出回路70,71に返送する。
When the CPU 60 of the main CPU unit 6 is notified by the interrupt circuit 62 that a monitoring interrupt has occurred in each of the sub CPU units 2 and 3, the monitoring pulse signals from the monitoring pulse generation circuits 72 and 73 are inverted and output. It is returned to the inverted pulse detection circuits 70 and 71 of the CPU monitoring unit 7 via the port 61 and the signal lines 111 and 112.

【0010】反転パルス検出回路70,71は出力ポー
ト61および信号線111 ,112 を介して反転パルス信号
が返送されてくると、メインCPU部6およびサブCP
U部2,3が正常に動作していることを確認する。
When the inverted pulse signal is returned via the output port 61 and the signal lines 111 and 112, the inverted pulse detection circuits 70 and 71 return the main CPU section 6 and the sub CP.
Check that U parts 2 and 3 are operating normally.

【0011】また、反転パルス検出回路70,71は監
視パルス発生回路72,73からの監視パルス信号の1
周期内に出力ポート61および信号線111 ,112 を介し
て反転パルス信号が返送されてこなかった場合、メイン
CPU部6およびサブCPU部2,3の異常と判断し、
アラームとして通知する。
Further, the inversion pulse detection circuits 70 and 71 are one of the monitoring pulse signals from the monitoring pulse generation circuits 72 and 73.
If the inverted pulse signal is not returned via the output port 61 and the signal lines 111 and 112 within the cycle, it is determined that the main CPU unit 6 and the sub CPU units 2 and 3 are abnormal,
Notify as an alarm.

【0012】これら反転パルス検出回路70,71の検
出結果はオア回路74で論理和がとられ、監視結果とし
て出力される。よって、反転パルス検出回路70,71
のうち一方でメインCPU部5およびサブCPU部2の
異常動作が検出されると、メインCPU部6およびサブ
CPU部2,3のアラームとして通知される。
The OR circuit 74 ORs the detection results of the inversion pulse detection circuits 70 and 71 and outputs the result as a monitoring result. Therefore, the inverted pulse detection circuits 70 and 71
On the other hand, when an abnormal operation of the main CPU unit 5 and the sub CPU unit 2 is detected, the main CPU unit 6 and the sub CPU units 2 and 3 are notified as an alarm.

【0013】このような従来のCPU監視方式では、メ
インCPU部6に対して複数個のサブCPU部2,3を
有する場合、サブCPU部2,3の個数に応じて監視パ
ルス発生回路72,73や反転パルス検出回路70,7
1、および反転パルス信号送出用の信号線111 ,112 な
どのハードウェアが増加するという問題がある。
In such a conventional CPU monitoring system, when the main CPU unit 6 has a plurality of sub CPU units 2 and 3, the monitoring pulse generating circuit 72, 73 and inverted pulse detection circuits 70 and 7
1 and hardware such as the signal lines 111 and 112 for sending the inverted pulse signal increases.

【0014】また、メインCPU部6のCPU60およ
び割込回路62によるサブCPU部2,3のCPU2
0,30からの割込みに対する処理を個別に行わなけれ
ばならず、これらの処理のためのファームウェア処理を
追加しなければならないという問題がある。
Further, the CPU 60 of the main CPU section 6 and the CPU 2 of the sub CPU sections 2 and 3 by the interrupt circuit 62.
There is a problem in that processing for interrupts from 0 and 30 must be individually performed, and firmware processing for these processing must be added.

【0015】[0015]

【発明の目的】本発明は上記のような従来のものの問題
点を除去すべくなされたもので、サブCPUの数が増加
してもハードウェア規模を増加させることなく、僅かな
ファームウェア処理の追加でメインCPUおよびサブC
PUの監視を行うことができるCPU監視回路の提供を
目的とする。
SUMMARY OF THE INVENTION The present invention has been made in order to eliminate the above-mentioned problems of the conventional ones. Even if the number of sub CPUs increases, the hardware scale is not increased and a small amount of firmware processing is added. Main CPU and Sub C
It is an object of the present invention to provide a CPU monitoring circuit capable of monitoring PU.

【0016】[0016]

【発明の構成】本発明によるCPU監視回路は、各々監
視手段から送出されてくる監視パルス信号に応答して割
込み信号を出力する複数のサブCPUと、前記複数のサ
ブCPU各々からの前記割込み信号に応答して前記監視
パルス信号を反転した反転パルス信号を前記監視手段に
送出するメインCPUとからなる情報処理システムのC
PU監視回路であって、前記複数のサブCPU各々に共
通の監視パルス信号を発生する発生手段と、前記発生手
段で発生した前記共通の監視パルス信号に対する前記複
数のサブCPU各々からの前記割込み信号の論理演算を
行う演算手段と、前記演算手段の演算結果に応じて前記
反転パルス信号を前記監視手段に送出する送出手段とを
設けたことを特徴とする。
A CPU monitoring circuit according to the present invention comprises a plurality of sub CPUs for outputting an interrupt signal in response to a monitoring pulse signal sent from each monitoring means, and the interrupt signal from each of the plurality of sub CPUs. C of an information processing system including a main CPU which sends an inverted pulse signal which is the inverted pulse signal to the monitoring means in response to
A PU monitoring circuit, wherein the generating means generates a common monitoring pulse signal for each of the plurality of sub CPUs, and the interrupt signal from each of the plurality of sub CPUs for the common monitoring pulse signal generated by the generating means. And a sending means for sending the inversion pulse signal to the monitoring means according to the result of the calculation by the calculating means.

【0017】[0017]

【実施例】次に、本発明の一実施例について図面を参照
して説明する。
An embodiment of the present invention will be described with reference to the drawings.

【0018】図1は本発明の一実施例の構成を示すブロ
ック図である。図においては、メインCPU部1に対し
て2個のサブCPU部2,3を有する場合を示してい
る。CPU監視部4の監視パルス発生回路41はサブC
PU部2,3の割込回路22,32に対して同一タイミ
ングの監視パルス信号を送出し、サブCPU部2,3の
CPU20,30に夫々割込みをかける。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. The figure shows a case where the main CPU unit 1 has two sub CPU units 2 and 3. The monitoring pulse generation circuit 41 of the CPU monitoring unit 4 is a sub C
The monitoring pulse signals at the same timing are sent to the interrupt circuits 22 and 32 of the PU units 2 and 3 to interrupt the CPUs 20 and 30 of the sub CPU units 2 and 3, respectively.

【0019】CPU20,30は割込回路22,32か
ら監視パルス信号の受信が通知されると、DPM21,
31を介してメインCPU部1の割込回路12に対して
監視割込みが発生したことを通知する。
When the CPUs 20 and 30 are notified by the interrupt circuits 22 and 32 that the monitoring pulse signal has been received, the DPM 21 and
The interrupt circuit 12 of the main CPU unit 1 is notified via 31 that a monitoring interrupt has occurred.

【0020】メインCPU部1のCPU10は割込回路
12から監視割込みの発生が通知されると、サブCPU
部2,3各々からの割込みのアンドをとり、サブCPU
部2,3両方からの割込みを受信したときのみ監視パル
ス発生回路41からの監視パルス信号を反転し、出力ポ
ート11および一つの信号線101 を介してCPU監視部
4の反転パルス検出回路40に返送する。ここで、CP
U10においてはサブCPU部2,3各々からの割込み
のアンドが図示せぬアンド回路またはファームウェア処
理によってとられる。
When the CPU 10 of the main CPU unit 1 is notified by the interrupt circuit 12 that a monitoring interrupt has occurred, the sub CPU
Takes the AND of interrupts from parts 2 and 3
Only when the interrupts from both units 2 and 3 are received, the supervisory pulse signal from the supervisory pulse generation circuit 41 is inverted, and the inverted pulse detection circuit 40 of the CPU supervisory unit 4 is instructed via the output port 11 and one signal line 101. Send it back. Where CP
In U10, AND of interrupts from each of the sub CPU units 2 and 3 is taken by an AND circuit (not shown) or firmware processing.

【0021】反転パルス検出回路40は出力ポート11
および信号線101 を介して反転パルス信号が返送されて
くると、メインCPU部1およびサブCPU部2,3の
正常動作を確認する。
The inverted pulse detection circuit 40 has an output port 11
When the inverted pulse signal is returned via the signal line 101, the normal operation of the main CPU unit 1 and the sub CPU units 2 and 3 is confirmed.

【0022】例えば、メインCPU部1に対してサブC
PU部2,3のどちらか一方でも監視割込みの発生が通
知されなければ、監視パルス信号を反転してCPU監視
部4の反転パルス検出回路40に返送されることはな
い。この場合、CPU監視部4の反転パルス検出回路4
0では監視パルス発生回路41からの監視パルス信号の
1周期内に反転パルス信号の返送を検出することができ
ず、メインCPU部1およびサブCPU部2,3の異常
と判断してアラームとして通知する。
For example, for the main CPU unit 1, a sub C
Unless either one of the PU units 2 and 3 is notified of the occurrence of the monitoring interrupt, the monitoring pulse signal is not inverted and returned to the inversion pulse detection circuit 40 of the CPU monitoring unit 4. In this case, the inverted pulse detection circuit 4 of the CPU monitoring unit 4
When 0, the return of the inversion pulse signal cannot be detected within one cycle of the monitor pulse signal from the monitor pulse generating circuit 41, and it is determined that the main CPU unit 1 and the sub CPU units 2 and 3 are abnormal and notified as an alarm. To do.

【0023】このように、CPU監視部4の監視パルス
発生回路41からサブCPU部2,3の割込回路22,
32に対して送出された同一タイミングの監視パルス信
号によるサブCPU部2,3のCPU20,30からの
割込みのアンドをとり、サブCPU部2,3両方からの
割込みを受信したときのみ監視パルス信号を反転してC
PU監視部4の反転パルス検出回路40に返送すること
によって、CPU監視部4に対して一つの信号線101 で
監視パルス信号を反転した反転パルス信号を送信するこ
とができる。よって、サブCPU部2,3の数が増加し
ても僅かな回路またはファームウェア処理の追加でメイ
ンCPU部1およびサブCPU2,3の監視を行うこと
ができ、ハードウェア規模の削減あるいは流用の効率化
を図ることができる。
In this way, from the monitoring pulse generation circuit 41 of the CPU monitoring unit 4 to the interrupt circuit 22 of the sub CPU units 2 and 3,
An AND of interrupts from the CPUs 20 and 30 of the sub CPU units 2 and 3 by a monitor pulse signal of the same timing sent to 32, and a monitor pulse signal only when the interrupts from both sub CPU units 2 and 3 are received. Invert C
By returning the signal to the inverted pulse detection circuit 40 of the PU monitoring unit 4, the inverted pulse signal obtained by inverting the monitoring pulse signal through the single signal line 101 can be transmitted to the CPU monitoring unit 4. Therefore, even if the number of the sub CPU units 2 and 3 increases, the main CPU unit 1 and the sub CPUs 2 and 3 can be monitored by adding a small amount of circuit or firmware processing, and the hardware scale can be reduced or the diversion efficiency can be improved. Can be promoted.

【0024】[0024]

【発明の効果】以上説明したように本発明によれば、複
数のサブCPU各々に共通に発生された監視パルス信号
に対する複数のサブCPU各々からの割込み信号の論理
演算を行い、その演算結果に応じて反転パルス信号を監
視手段に送出するようにすることによって、サブCPU
の数が増加してもハードウェア規模を増加させることな
く、僅かなファームウェア処理の追加でメインCPUお
よびサブCPUの監視を行うことができるという効果が
ある。
As described above, according to the present invention, the logical operation of the interrupt signal from each of the plurality of sub CPUs with respect to the monitoring pulse signal commonly generated in each of the plurality of sub CPUs is performed, and the operation result is obtained. In response to this, by sending an inverted pulse signal to the monitoring means, the sub CPU
There is an effect that the main CPU and the sub CPU can be monitored by adding a small amount of firmware processing without increasing the hardware scale even if the number of CPUs increases.

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

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

【図2】従来例の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a conventional example.

【図3】従来例の構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of a conventional example.

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

1 メインCPU 2,3 サブCPU 4 CPU監視部 10,20,30 CPU 12,22,32 割込回路 40 反転パルス検出回路 41 監視パルス発生回路 1 Main CPU 2, 3 Sub CPU 4 CPU Monitoring Unit 10, 20, 30 CPU 12, 22, 32 Interrupt Circuit 40 Inversion Pulse Detection Circuit 41 Monitoring Pulse Generation Circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 各々監視手段から送出されてくる監視パ
ルス信号に応答して割込み信号を出力する複数のサブC
PUと、前記複数のサブCPU各々からの前記割込み信
号に応答して前記監視パルス信号を反転した反転パルス
信号を前記監視手段に送出するメインCPUとからなる
情報処理システムのCPU監視回路であって、前記複数
のサブCPU各々に共通の監視パルス信号を発生する発
生手段と、前記発生手段で発生した前記共通の監視パル
ス信号に対する前記複数のサブCPU各々からの前記割
込み信号の論理演算を行う演算手段と、前記演算手段の
演算結果に応じて前記反転パルス信号を前記監視手段に
送出する送出手段とを設けたことを特徴とするCPU監
視回路。
1. A plurality of sub-Cs, each of which outputs an interrupt signal in response to a monitoring pulse signal sent from the monitoring means.
A CPU monitoring circuit of an information processing system comprising a PU and a main CPU which sends an inverted pulse signal obtained by inverting the monitoring pulse signal to the monitoring means in response to the interrupt signal from each of the plurality of sub CPUs. Generating means for generating a monitoring pulse signal common to each of the plurality of sub CPUs, and operation for performing a logical operation of the interrupt signal from each of the plurality of sub CPUs with respect to the common monitoring pulse signal generated by the generating means A CPU monitoring circuit comprising: means and a sending means for sending the inversion pulse signal to the monitoring means in accordance with a calculation result of the calculating means.
JP3358883A 1991-12-26 1991-12-26 Cpu monitoring circuit Pending JPH05181708A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3358883A JPH05181708A (en) 1991-12-26 1991-12-26 Cpu monitoring circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3358883A JPH05181708A (en) 1991-12-26 1991-12-26 Cpu monitoring circuit

Publications (1)

Publication Number Publication Date
JPH05181708A true JPH05181708A (en) 1993-07-23

Family

ID=18461598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3358883A Pending JPH05181708A (en) 1991-12-26 1991-12-26 Cpu monitoring circuit

Country Status (1)

Country Link
JP (1) JPH05181708A (en)

Similar Documents

Publication Publication Date Title
JPH0746322B2 (en) Faulty device identification system
JPH05181708A (en) Cpu monitoring circuit
JPH05207637A (en) Digital relay
JP2003330905A (en) Computer system
JPH0652130A (en) Multiprocessor system
JP2518517B2 (en) Communication bus monitoring device
JPH09212388A (en) Method for monitoring operation of cpu
JPH0934852A (en) Cluster system
US5418794A (en) Error determination scan tree apparatus and method
JP2606160B2 (en) Failure detection method for parity check circuit
JPS63101917A (en) Method for supervising clock pulse in control device
JPH11250026A (en) Fault recovery method and its system for parallel multiprocessor system
KR960020561A (en) How to Report Common Bus Status During Processor Initialization at Electronic Switching
JP3071744B2 (en) Diagnostic processing system
JPS5983438A (en) Program failure detecting system
JPH0296840A (en) Runaway prevention circuit of central processing unit
JPH05324407A (en) Cpu monitor system
JP2692576B2 (en) Multiple clock pulse monitor
KR0142357B1 (en) Multiple fault alarm processing device using group event flag
JPH04284540A (en) Data check circuit
JPH0594427A (en) Fault monitor system for decentralized processor system
JPH1011324A (en) Signal sending-out circuit
JPS59165169A (en) System trouble detector
JPH03189837A (en) Fault informing method
JPH09231186A (en) Information processing system