JPH02236742A - Cpu abnormality detection circuit - Google Patents

Cpu abnormality detection circuit

Info

Publication number
JPH02236742A
JPH02236742A JP1058725A JP5872589A JPH02236742A JP H02236742 A JPH02236742 A JP H02236742A JP 1058725 A JP1058725 A JP 1058725A JP 5872589 A JP5872589 A JP 5872589A JP H02236742 A JPH02236742 A JP H02236742A
Authority
JP
Japan
Prior art keywords
cpu
counter
pulse
detection circuit
abnormality detection
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
JP1058725A
Other languages
Japanese (ja)
Inventor
Hiroyuki Takahashi
広幸 高橋
Shiyousaku Tanabe
田辺 章作
Kiyoji Uchiumi
内海 喜代治
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
NEC Miyagi Ltd
Original Assignee
NEC Corp
NEC Miyagi 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 NEC Corp, NEC Miyagi Ltd filed Critical NEC Corp
Priority to JP1058725A priority Critical patent/JPH02236742A/en
Publication of JPH02236742A publication Critical patent/JPH02236742A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To comprise a GATE ARRAY incorporated in a WATCH DOG TIM ER detection circuit by sending a signal representing the fact that a CPU is abnormal when a counter counts a time longer than a constant pulse cycle sent from the CPU. CONSTITUTION:The circuit is comprised of the counter 2 which counts the time 1 longer than the constant cycle sent from the CPU, and a reset circuit 3 which resets the count of the counter 2. A CPU abnormality detection circuit 1 receiving the pulse S1 of constant cycle from the CPU 4 counts the counter only for the time T1 from the trailing edge of a reset pulse S3 which resets the counter 2. When the next WATCH DOG TIMER pulse S1 is received, the counter 2 is reset, and the counter is counted for the timer T1 again. When no WATCH DOG TIMER pulse S1 arrives, the counter 2 is counted for the time(T1) longer than the cycle of the pulse S1, and a CPU abnormality detecting signal S2 is sent out. Thereby, it is possible to comprise the GATE ARRAY incorporated in the WATCH DOG TIMER detection circuit.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はC P U (CENTRAL PROCES
SING UNIT)の監視に関し、特にCPU異常を
監視するCPU異常検出回路に関する. 〔従来の技術〕 従来、CPU異常検出回路(WATCH DOG TI
MER検出回路)は抵抗とコンデンサとで構成される平
滑回路であり、CPUが送出する周期的に決められたパ
ルスを受けたか受けないかによってCPUの監視を行な
っている。
[Detailed description of the invention] [Industrial application field] The present invention is based on CPU (CENTRAL PROCES).
This article relates to the monitoring of CPU abnormalities (SING UNIT), and particularly to the CPU abnormality detection circuit that monitors CPU abnormalities. [Prior art] Conventionally, a CPU abnormality detection circuit (WATCH DOG TI
The MER detection circuit (MER detection circuit) is a smoothing circuit composed of a resistor and a capacitor, and monitors the CPU depending on whether it receives periodically determined pulses sent out by the CPU.

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

上述した機に従来のWATCH  DOG  TIME
R検出回路は外付けの抵抗とコンデンサとが必要であり
、WATCH  DOG  TIMER検出回路内蔵の
GATE  ARRAYを構成することができない. 〔課題を解決するための手段〕 本発明のCPU異常検出回路は、CPUが送出する一定
のパルス周期より長い時間をカウントするカウンタと、
前記CPUが送出するパルスによって前記カウンタをリ
セットずるりセット回路とを有し、前記パルスの周期よ
りも長い時間を前記カウンタがカウントしたとき前記C
PUが異常であることを示.す信号を送出するようにし
て構成される. 〔実施例〕 次に、本発明について図面を参照して説明する。
Conventional WATCH DOG TIME on the above-mentioned machine
The R detection circuit requires an external resistor and capacitor, and cannot form a GATE ARRAY with a built-in WATCH DOG TIMER detection circuit. [Means for Solving the Problems] The CPU abnormality detection circuit of the present invention includes a counter that counts a time longer than a constant pulse period sent out by the CPU;
the counter is reset by a pulse sent by the CPU, and when the counter counts a time longer than the period of the pulse, the C
Indicates that the PU is abnormal. It is configured to send out a signal. [Example] Next, the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロック図、第2図は
タイミングチャートである。
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a timing chart.

本発明のCPU異常検出回路は、CPUが送出する一定
のパルス周期より長い時間T1をカウントするカウンタ
2と、カウンタ2のカウントをリセットするリセット回
路3とを有して構成されている。
The CPU abnormality detection circuit of the present invention includes a counter 2 that counts a time T1 that is longer than a constant pulse period sent out by the CPU, and a reset circuit 3 that resets the count of the counter 2.

CPU4より一定周期のパルスS1を受けたCPU異常
検出回路1はカウンタ2をリセットするリセットパルス
S3の立ち下がりからCPU4が送出する一定のパルス
周期より長い時間Tlカウンタを回す。次回のWATC
H  DOG  TIMERパルスS1を受けるとパル
ス(S3)によってカウンタ2がリセットされ、再び時
間T1だけカウンタを回す,WATCH  DOG  
TIMERパルスSlが来なくなると、パルスSlの周
期より長い時間(T1)だけカウンタ2が回り終わって
しまう。そのときカウンタ2はCPU異常検出信号S2
を送出する。すなわちCPUがCPU異常検出回路1に
周期的に決められたパルス(S1)を送っていないと判
断し、CPU異常検出信号S2を送出する。
The CPU abnormality detection circuit 1, which receives a pulse S1 of a constant period from the CPU 4, rotates the Tl counter for a time longer than the constant pulse period sent out by the CPU 4 from the fall of the reset pulse S3 that resets the counter 2. Next WATC
When receiving the H DOG TIMER pulse S1, the counter 2 is reset by the pulse (S3) and the counter is turned again for the time T1, WATCH DOG
When the TIMER pulse Sl stops coming, the counter 2 finishes rotating for a time (T1) longer than the period of the pulse Sl. At that time, counter 2 outputs CPU abnormality detection signal S2.
Send out. That is, it is determined that the CPU is not sending a periodically determined pulse (S1) to the CPU abnormality detection circuit 1, and a CPU abnormality detection signal S2 is sent.

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

以上説明したように、本発明は従来のWATCH  D
OG  TIMER検出回路に必要な外付け部品を必要
としないので、WATCH  DOGTIMER検出回
路内蔵のGATE  ARRAYを構成できる効果があ
る.
As explained above, the present invention can be applied to the conventional WATCH D
Since no external parts required for the OG TIMER detection circuit are required, it is possible to configure a GATE ARRAY with a built-in WATCH DOGTIMER detection circuit.

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

第1図は本発明の一実施例を示すブロック図、第2図は
タイミング・チャートである.1・・・CPU異常検出
回路、2・・・カウンタ、3・・・リセット回路、4・
・・CPU。
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a timing chart. 1... CPU abnormality detection circuit, 2... Counter, 3... Reset circuit, 4...
...CPU.

Claims (1)

【特許請求の範囲】[Claims] CPUが送出する一定のパルス周期より長い時間をカウ
ントするカウンタと、前記CPUが送出するパルスによ
って前記カウンタをリセットするリセット回路とを有し
、前記パルスの周期よりも長い時間を前記カウンタがカ
ウントしたとき前記CPUが異常であることを示す信号
を送出することを特徴とするCPU異常検出回路。
It has a counter that counts a time longer than a certain pulse period sent out by a CPU, and a reset circuit that resets the counter by the pulse sent out by the CPU, and the counter counts a time longer than the period of the pulse. A CPU abnormality detection circuit, characterized in that the CPU abnormality detection circuit sends out a signal indicating that the CPU is abnormal.
JP1058725A 1989-03-10 1989-03-10 Cpu abnormality detection circuit Pending JPH02236742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1058725A JPH02236742A (en) 1989-03-10 1989-03-10 Cpu abnormality detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1058725A JPH02236742A (en) 1989-03-10 1989-03-10 Cpu abnormality detection circuit

Publications (1)

Publication Number Publication Date
JPH02236742A true JPH02236742A (en) 1990-09-19

Family

ID=13092480

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1058725A Pending JPH02236742A (en) 1989-03-10 1989-03-10 Cpu abnormality detection circuit

Country Status (1)

Country Link
JP (1) JPH02236742A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS564848A (en) * 1979-06-22 1981-01-19 Hitachi Ltd Restart system for computer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS564848A (en) * 1979-06-22 1981-01-19 Hitachi Ltd Restart system for computer

Similar Documents

Publication Publication Date Title
JPH02236742A (en) Cpu abnormality detection circuit
JPH02252034A (en) Watchdog timer setting system
JPS6255110B2 (en)
JP3396649B2 (en) Period monitoring circuit
SU1179276A1 (en) Device for monitoring parameters
JPS5831525B2 (en) A-D
JPH03186765A (en) Speed-of-revolution measuring device
JPH0736244U (en) Abnormality detection device for arithmetic processing unit
JPS63241622A (en) Data processor
JPH0395484A (en) Electronic clock rate measuring device
SU1473077A1 (en) Device for monitoring a pulse train
JPH0277854A (en) Resetting system for microprocessor
JP2516711B2 (en) Watchdog timer device
SU862147A2 (en) Device for checking and recording information on treated textile materials lots
JPH0218633A (en) Runaway monitor/restart circuit for microprocessor
SU1383423A1 (en) Device for counting products
JPH05257748A (en) Microprocessor device
JP2505057Y2 (en) Information processing device
SU1640822A1 (en) Frequency-to-code converter
JPS6242206A (en) Detecting circuit for abnormal working
JPS6289146A (en) Condition signal supervising circuit
KR19980028915U (en) Micom's timer input capture device
JPH02134225A (en) Controlling device used in injection molding apparatus
SU1280632A2 (en) Device for processing interruptions
JPH0426498B2 (en)