JPH05181710A - System for monitoring central processing unit - Google Patents

System for monitoring central processing unit

Info

Publication number
JPH05181710A
JPH05181710A JP3346264A JP34626491A JPH05181710A JP H05181710 A JPH05181710 A JP H05181710A JP 3346264 A JP3346264 A JP 3346264A JP 34626491 A JP34626491 A JP 34626491A JP H05181710 A JPH05181710 A JP H05181710A
Authority
JP
Japan
Prior art keywords
processing unit
central processing
pulse
watchdog timer
output
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
JP3346264A
Other languages
Japanese (ja)
Inventor
Takashi Tabata
隆司 田畑
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP3346264A priority Critical patent/JPH05181710A/en
Publication of JPH05181710A publication Critical patent/JPH05181710A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To prevent the generation of a fault by individually detecting whether all of a central processing unit(CPU), a watchdog timer and a CPU monitoring means are normally driven or not. CONSTITUTION:The CPU 1 is provided with a means for generating a prescribed synchronous pulse P to the watchdog timer 2 and the timer 2 is provided with a reset pulse generating means for generating a reset pulse RP to the CPU 1 when the pulse P does not arrives from the CPU 1. In addition, the CPU monitoring means 3 is provided with a function for monitoring a reset pulse RP outputted from the timer 2 and judging whether the function of the CPU 1 is normally operated or not from information obtained from a reset pulse RP. An alarming means 4 is driven in response to an output outputted from the means 3 and indicating the abnormality of the function of the CPU 1.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、中央演算装置を使用し
た各種の演算回路に於ける中央演算装置及びその周辺の
制御、演算回路が正常に機能しているか否かを監視する
モニタシステムに関するものであり、特に詳しくは、コ
ンピュータ等からなる中央演算装置の故障、暴走、或い
は無限ループ等を検出すると同時に該中央演算装置の機
能を監視するモニター回路の機能も同時に監視する事に
より、中央演算装置を中心とする演算回路の動作異常を
効果的に正確に検出しえる中央演算装置のモニタシステ
ムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a central processing unit in various arithmetic circuits using the central processing unit and the control of the periphery thereof, and a monitor system for monitoring whether or not the arithmetic circuit is functioning normally. More specifically, the central processing is performed by simultaneously detecting the failure, runaway, or infinite loop of the central processing unit including a computer, etc., and simultaneously monitoring the function of the monitor circuit for monitoring the function of the central processing unit. The present invention relates to a monitor system for a central processing unit capable of effectively and accurately detecting an abnormal operation of a processing circuit centered on the device.

【0002】[0002]

【従来の技術】従来、図9に示す様に、適宜のマイクロ
コンピュ−タ−等から構成される中央演算装置1が、所
定の演算回路、制御回路等に於いて、常に正常に作動し
ているかどうかを検出し、該中央演算装置の動作が異常
の場合には、当該中央演算装置を停止させるか、オペレ
ータにその動作異常を警告するアラーム手段を駆動させ
る装置が併用されている。
2. Description of the Related Art Conventionally, as shown in FIG. 9, a central processing unit 1 composed of an appropriate micro computer or the like always operates normally in a predetermined processing circuit, control circuit or the like. A device for detecting whether or not the central processing unit is present and stopping the central processing unit when the operation of the central processing unit is abnormal or driving an alarm means for warning the operator of the abnormal operation is also used.

【0003】かかる装置の一例として、ウオッチドッグ
タイマ2が知られている。該ウオッチドッグタイマ2
は、該中央演算装置1に直接接続されており、具体的に
は、該中央演算装置1から該ウオッチドッグタイマに対
して、適宜の周波数をもつ所定のパルスPを発生させ
る。該パルスをウオッチドッグタイマパルス或いはポン
ピングパルスとも称される。
A watchdog timer 2 is known as an example of such a device. The watchdog timer 2
Is directly connected to the central processing unit 1, and specifically, the central processing unit 1 causes the watchdog timer to generate a predetermined pulse P having an appropriate frequency. The pulse is also called a watchdog timer pulse or a pumping pulse.

【0004】一方、該ウオッチドッグタイマ2に於いて
は通常、電源投入時に、該中央演算装置1をリセットし
て初期化する為のリセットパルスRPを発生させる機構
を有するものであるが、更に該中央演算装置から所定の
パルスPが入力されない場合には、当該中央演算装置1
の機能に障害が発生したものと判断して、リセットパル
スRPを発生させる機能を有しているもので有る。
On the other hand, the watchdog timer 2 usually has a mechanism for generating a reset pulse RP for resetting and initializing the central processing unit 1 when the power is turned on. When the predetermined pulse P is not input from the central processing unit, the central processing unit 1
It has a function of generating a reset pulse RP by determining that a failure has occurred in the function of.

【0005】該所定のパルスは、該中央演算装置1が、
正常な動作を実行している間は常時所定の間隔で該ウオ
ッチドッグタイマ2に発信されるものであり、例えば、
該中央演算装置1で所定の演算処理が終了する毎に出力
されるもので有っても良い。つまり、該ウオッチドッグ
タイマ2に於いては、電源投入後に該中央演算装置から
所定のパルスPが入力されない場合、或いは当該パルス
Pが所定の期間入力されていたが、或る時点から所定の
時間経過しても該パルスPの入力が無い場合更には、該
中央演算装置1が暴走して異常に多数のパルスが該中央
演算装置1から発信されて、該ウオッチドッグタイマ2
では、正常なパルスが入力されたと判断しえない様な状
態が発生した場合には、該中央演算装置1の機能に障害
が発生したと判断して、電源をOFFするとか、アラー
ムを発生させてオペレータに警告を行い当該中央演算装
置1の修理、取替えが実行される事になる。
The predetermined pulse is transmitted by the central processing unit 1.
While the normal operation is being executed, the watchdog timer 2 is constantly transmitted at a predetermined interval.
It may be output every time a predetermined arithmetic processing is completed in the central processing unit 1. That is, in the watchdog timer 2, when the predetermined pulse P is not input from the central processing unit after the power is turned on, or the pulse P is input for a predetermined period, a predetermined time is passed from a certain time point. When the pulse P is not input even after the passage of time, further, the central processing unit 1 goes out of control, and an abnormally large number of pulses are transmitted from the central processing unit 1, and the watchdog timer 2
Then, when a state in which it cannot be determined that a normal pulse has been input occurs, it is determined that the function of the central processing unit 1 has failed, and the power is turned off or an alarm is generated. Then, the operator is warned and the central processing unit 1 is repaired or replaced.

【0006】[0006]

【発明が解決しようとする課題】処で、係るウオッチド
ッグタイマ2を用いた中央演算装置のモニタ回路に於い
ては、確かに中央演算装置の機能チックが行われるが、
当該ウオッチドッグタイマ2それ自体に関しては、何ら
のチェックシステムが無く、場合によっては、該ウオッ
チドッグタイマ1が故障していて、該中央演算装置1か
ら該所定のパルスPが出力されていないにも係わらず、
該ウオッチドッグタイマ2からリセットパルスRPが出
力されず、当該中央演算装置1は、故障したまま作動を
継続し、その結果、該中央演算装置が暴走したり、無限
ループに入ってしまうと言う問題が発生する。
In the monitor circuit of the central processing unit using the watchdog timer 2, the functional tick of the central processing unit is certainly performed.
As for the watchdog timer 2 itself, there is no check system, and in some cases, the watchdog timer 1 is out of order and the predetermined pulse P is not output from the central processing unit 1. Regardless of
The reset pulse RP is not output from the watchdog timer 2 and the central processing unit 1 continues to operate with a failure, and as a result, the central processing unit runs out of control or enters an infinite loop. Occurs.

【0007】特に、近年、自動車等の乗物に於ける各種
の制御に、係るマイクロコンピュータ、CPU等から構
成された中央演算装置が多用されてきているが、係る車
両用の制御回路は、振動とか、発熱等の影響を受け易
く、故障が発生したり、ノイズが入力されたりする事が
多く安定的な動作を継続させる上に問題が多かった。特
に、最近に於けるエアバッグの制御システムに使用され
る制御回路は、厳密な制御が要求されており、更には絶
対に故障状態が発生しない様に管理されている必要があ
る。
In particular, in recent years, a central processing unit composed of a microcomputer, a CPU and the like has been widely used for various controls in vehicles such as automobiles. However, it is easily affected by heat generation, etc., and failures often occur and noise is often input, and there are many problems in maintaining stable operation. In particular, a control circuit used in a recent air bag control system is required to be strictly controlled, and further, it is necessary to be managed so that a failure state will never occur.

【0008】然しながら、従来の係る中央演算装置を中
心とした制御演算回路に於いては、各回路の機能が正常
に作動しているか否を正確に判断する機能が不十分であ
り、又各回路の機能の状態を監視するモニター回路が正
確に作動しているか否をチェックする機能も無かった
為、フェールセーフを実現する制御回路を構成するには
不十分であった。
However, in the conventional control arithmetic circuit centering on the central arithmetic unit, the function of accurately determining whether or not the function of each circuit is operating normally is insufficient, and each circuit is insufficient. Since there was no function to check whether the monitor circuit for monitoring the state of the function of (1) was operating correctly, it was insufficient to construct a control circuit that realizes fail-safe.

【0009】従って、本発明の目的は、係る従来技術に
於ける問題を解決し、簡単な回路構成により、常時該中
央演算装置1と該中央演算装置周辺の監視回路の双方が
共に正常に作動しているか否かを正確にモニター出来る
様なシステムを提供するもので有って、少なくとも何れ
かの回路の機能が故障した場合には、その状態を即座
に、警報手段を作動させてオペレータに注意を喚起させ
ると同時に、該中央演算装置自身でも、当該演算回路で
の機能異常を判断しえる様にした中央演算装置のモニタ
システムを提供するものである。
Therefore, an object of the present invention is to solve the problems in the prior art, and with a simple circuit configuration, both the central processing unit 1 and the monitoring circuit around the central processing unit can operate normally at the same time. It provides a system that can accurately monitor whether or not it is operating, and if at least one of the circuit functions fails, immediately notify the operator by activating the alarm means. The present invention provides a monitor system for a central processing unit, which allows the central processing unit itself to judge a functional abnormality in the processing circuit while calling attention.

【0010】[0010]

【課題を解決するための手段】本発明は上記した目的を
達成するため、以下に記載されたような技術構成を採用
するものである。即ち、中央演算装置、該中央演算装置
に接続されたウオッチドッグタイマ、該ウオッチドッグ
タイマに接続された該中央演算装置の機能が正常に作動
しているか否かを検出する為の中央演算装置モニタ手段
及び該中央演算装置モニタ手段に接続された警報手段と
から構成されたモニタシステムで有って、該中央演算装
置には該中央演算装置から該ウオッチドッグタイマに対
して所定周期のパルスを発生させる手段が設けられ、該
ウオッチドッグタイマに於いては、該中央演算装置から
の所定パルスが来なくなった場合に該中央演算装置に対
してリセットパルスを発生させるリセットパルス発生手
段が設けられており、更に該中央演算装置モニタ手段
は、該ウオッチドッグタイマから出力されるリセットパ
ルスを監視すると共に該リセットパルスにより得られる
情報から該中央演算装置の機能が正常に作動しているか
否かを判断する機能を有しており、該警報手段は、該中
央演算装置モニタ手段から該中央演算装置の機能が異常
である事を示す出力に応答して駆動される様に構成され
た中央演算装置のモニタシステムである。
In order to achieve the above-mentioned object, the present invention adopts the technical constitution as described below. That is, a central processing unit, a watchdog timer connected to the central processing unit, a central processing unit monitor for detecting whether or not the functions of the central processing unit connected to the watchdog timer are normally operating. And a warning means connected to the central processing unit monitoring means, wherein the central processing unit generates a pulse of a predetermined cycle from the central processing unit to the watchdog timer. The watchdog timer is provided with a reset pulse generating means for generating a reset pulse to the central processing unit when a predetermined pulse from the central processing unit stops. Further, the central processing unit monitor means monitors the reset pulse output from the watchdog timer and The central processing unit has a function of judging whether the function of the central processing unit is operating normally from the information obtained by Is a monitor system of a central processing unit configured to be driven in response to an output indicating that

【0011】[0011]

【作用】本発明に係る中央演算装置のモニタシステムで
は、上記した様な技術構成を採用しているので、該中央
演算装置1は、該ウオッチドッグタイマ2によりその出
力パルスPが監視されると同時に該ウオッチドッグタイ
マ2は該中央演算装置からのパルスPの入力が無い場合
にリセットパルスRPを発生させ、そのリセットパルス
RPを、該中央演算装置モニタ手段3で監視する事によ
り、該中央演算装置1の機能が正常に作動しているか否
かを常時チェックする事が出来る。
The monitoring system for the central processing unit according to the present invention employs the technical configuration as described above, so that the central processing unit 1 monitors the output pulse P of the watchdog timer 2. At the same time, the watchdog timer 2 generates a reset pulse RP when there is no input of the pulse P from the central processing unit, and the reset pulse RP is monitored by the central processing unit monitoring means 3 to perform the central processing. It is possible to constantly check whether the functions of the device 1 are operating normally.

【0012】一方、該中央演算装置モニタ手段3の機能
は、該中央演算装置1から該リセットパルスRPに近似
した疑似リセットパルスRPを発生させて該中央演算装
置モニタ手段3に入力させ、当該中央演算装置モニタ手
段3が所定の動作を実行するか否かを判断する事によっ
て当該中央演算装置モニタ手段3が正常に機能している
か否かを判断するものである。
On the other hand, the function of the central processing unit monitor means 3 is that the central processing unit 1 generates a pseudo reset pulse RP which is close to the reset pulse RP and inputs the pseudo reset pulse RP into the central processing unit monitoring means 3. By determining whether or not the arithmetic unit monitor means 3 executes a predetermined operation, it is determined whether or not the central arithmetic unit monitor means 3 is functioning normally.

【0013】更に、該ウオッチドッグタイマ2及び該中
央演算装置モニタ手段3の機能が正常に作動しているか
否かの判断は、該中央演算装置1側から該パルスPの出
力を故意に停止し且つ該中央演算装置1のリセットパル
ス入力端子部にリセットパルスが入力されない様にして
おき、係る状態に於いて該ウオッチドッグタイマ2から
該中央演算装置モニタ手段3を経由してリセットパルス
RPが該中央演算装置1に帰還されるか否かを監視する
事により実行されるものである。
Further, when it is judged whether the functions of the watchdog timer 2 and the central processing unit monitor means 3 are operating normally, the output of the pulse P is intentionally stopped from the central processing unit 1 side. Further, the reset pulse is prevented from being input to the reset pulse input terminal portion of the central processing unit 1, and in such a state, the reset pulse RP is transmitted from the watchdog timer 2 via the central processing unit monitoring means 3. It is executed by monitoring whether or not it is returned to the central processing unit 1.

【0014】又、本発明に係る該中央演算装置のモニタ
システムに於いては、中央演算装置1、ウオッチドッグ
タイマ2及び中央演算装置モニタ手段3の少なくとも一
つの機能が異常となった場合には、該警報手段が適宜の
アラームを作動させて、上記何れかの回路が故障してい
る事をオペレータ等に報知する事により当該回路を修理
するか取り替える操作が実行される。
In the monitoring system for the central processing unit according to the present invention, when at least one of the functions of the central processing unit 1, the watchdog timer 2 and the central processing unit monitoring means 3 becomes abnormal. The alarm means activates an appropriate alarm to notify an operator or the like that any one of the above circuits has a failure, so that the operation for repairing or replacing the circuit is executed.

【0015】[0015]

【実施例】以下に、本発明に係るウオッチドッグタイマ
のモニタ回路の具体例を図面を参照しながら詳細に説明
する。即ち、図1は、本発明に係る中央演算装置のモニ
タシステムの大まかなブロックダイアグラムを示すもの
であり、図中、中央演算装置1、該中央演算装置に接続
されたウオッチドッグタイマ2、該ウオッチドッグタイ
マ2に接続された該中央演算装置1の機能が正常に作動
しているか否かを検出する為の中央演算装置モニタ手段
3及び該中央演算装置モニタ手段3に接続された警報手
段4とから構成されたモニタシステムで有って、該中央
演算装置1には該中央演算装置のパルス出力端部8から
該ウオッチドッグタイマに対して上述した様な所定周期
のパルスPを発生させ、一方該ウオッチドッグタイマ2
に於いては、該中央演算装置1からの所定パルスPが来
なくなった場合に該中央演算装置1に対してリセットパ
ルスRPを発生させるリセットパルス発生手段11が設
けられている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A specific example of a watchdog timer monitor circuit according to the present invention will be described below in detail with reference to the drawings. That is, FIG. 1 is a schematic block diagram of a monitor system for a central processing unit according to the present invention, in which the central processing unit 1, a watchdog timer 2 connected to the central processing unit, and the watch are shown. A central processing unit monitor means 3 for detecting whether or not the function of the central processing unit 1 connected to the dog timer 2 is operating normally; and an alarm means 4 connected to the central processing unit monitoring means 3. In the monitor system constituted by, the central processing unit 1 generates a pulse P having a predetermined period as described above to the watchdog timer from the pulse output end 8 of the central processing unit. The watchdog timer 2
In this case, there is provided reset pulse generating means 11 for generating a reset pulse RP to the central processing unit 1 when the predetermined pulse P from the central processing unit 1 stops.

【0016】尚、該リセットパルスRPは該中央演算装
置1のリセットパルス入力端部9に入力されるものであ
る。更に該中央演算装置モニタ手段3は、該ウオッチド
ッグタイマと接続されており、該ウオッチドッグタイマ
2から出力されるリセットパルスRPを監視すると共に
該リセットパルスRPにより得られる情報から該中央演
算装置1の機能が正常に作動しているか否かを判断する
機能を有しており、又該警報手段4は、該中央演算装置
モニタ手段3から該中央演算装置1の機能が異常である
事を示す出力に応答して駆動される様に構成された中央
演算装置のモニタシステムである。
The reset pulse RP is input to the reset pulse input terminal 9 of the central processing unit 1. Further, the central processing unit monitor means 3 is connected to the watchdog timer, monitors the reset pulse RP output from the watchdog timer 2, and at the same time, the central processing unit 1 is monitored from the information obtained by the reset pulse RP. Has a function of judging whether or not the function of the central processing unit 1 is operating normally, and the alarm means 4 indicates from the central processing unit monitoring means 3 that the function of the central processing unit 1 is abnormal. A monitoring system for a central processing unit configured to be driven in response to an output.

【0017】本発明に係る該ウオッチドッグタイマの該
パルスPモニタ回路の構成は特に限定されるものでは無
いが、該中央演算装置1から出力される該パルスPを入
力して、該パルスPが適正な間隔で連続して入力されて
いる場合には、当該中央演算装置1の機能は正常に作動
しているものと判断し、該パルスPが所定の時間を経過
しても入力されないか、入力されても正常なパルスPと
認識しえない場合には、当該中央演算装置1の機能が異
常であると判断し、リセットパルスRPを出力しそのリ
セットパルスRPは該中央演算装置1のリセットパルス
入力端部9に入力される。
The configuration of the pulse P monitor circuit of the watchdog timer according to the present invention is not particularly limited, but the pulse P output from the central processing unit 1 is input to the pulse P monitor. When continuously input at appropriate intervals, it is determined that the function of the central processing unit 1 is operating normally, and whether the pulse P is not input even after a predetermined time elapses. When it is not recognized as a normal pulse P even if it is input, it is determined that the function of the central processing unit 1 is abnormal, a reset pulse RP is output, and the reset pulse RP resets the central processing unit 1. It is input to the pulse input terminal 9.

【0018】尚、本発明に係る中央演算装置のモニタシ
ステムに於いては、該リセットパルスRPが一発出力さ
れると該中央演算装置1の機能が異常であるとして該中
央演算装置の電源を遮断するとか、該中央演算装置を修
理したり、取替えたりするものではなく、該中央演算装
置1は、一旦異常な状態になっても、リセットを掛けて
再起動させると復旧する場合が多い事から、該リセット
パルスRPを複数回に亘り繰り返すものである。
In the monitoring system for a central processing unit according to the present invention, when the reset pulse RP is output once, it is determined that the function of the central processing unit 1 is abnormal and the power source of the central processing unit is turned off. Instead of shutting off or repairing or replacing the central processing unit, the central processing unit 1 often recovers even if it is in an abnormal state when it is reset and restarted. Therefore, the reset pulse RP is repeated a plurality of times.

【0019】従って、該リセットパルスRPが最初に出
力されて、該中央演算装置1の機能が正常に復帰すれば
問題ないが、該リセットパルスRPを出力させても該中
央演算装置1からパルスPが来ない場合には、再度リセ
ットパルスRPを出力させ様子をみる事になり、この操
作を少なくとも複数回例えば10回程度繰り返す事にな
る。
Therefore, there is no problem if the reset pulse RP is first output and the function of the central processing unit 1 is restored to normal, but even if the reset pulse RP is output, the pulse P from the central processing unit 1 is output. If does not occur, the reset pulse RP is output again and the situation is observed, and this operation is repeated at least a plurality of times, for example, about 10 times.

【0020】該ウオッチドッグタイマ2に於ける該リセ
ットパルスRP発生手段の一具体例を図1に示して有る
が、例えば該中央演算装置1からのパルスPが入力され
る一端部を有する第1のコンデンサC1と該第1のコン
デンサC1の他端部と接続される一端部を有し他端部が
接地されている第2のコンデンサC2を有し、該第2の
コンデンサC2の一端部と接続される反転入力端子部と
適宜の基準電源と接続された非反転入力端子分とを有す
るコンパレータ12が設けられ、該コンパレータ12の
出力と接続される増幅回路13から構成されるもので有
って、該増幅回路13の出力側から当該リセットパルス
RPが出力される。
A specific example of the reset pulse RP generating means in the watchdog timer 2 is shown in FIG. 1. For example, the first one having one end to which the pulse P from the central processing unit 1 is inputted. And a second capacitor C2 having one end connected to the other end of the first capacitor C1 and the other end grounded, and one end of the second capacitor C2 A comparator 12 having an inverting input terminal portion connected thereto and a non-inverting input terminal portion connected to an appropriate reference power source is provided, and includes an amplifier circuit 13 connected to an output of the comparator 12. Then, the reset pulse RP is output from the output side of the amplifier circuit 13.

【0021】尚、該コンパレータ12と該増幅回路13
を接続する配線に適宜のコンデンサ14と定電流源15
を設けたもので有っても良い。係るウオッチドッグタイ
マ2のリセットパルス発生手段に於いては、該パルスP
により該第2のコンデンサC2に充電される電圧(即
ち、ノード部Nの電位)を該コンパレータ12に於いて
所定の基準電圧と比較する事により、該パルスPの入力
が無いことによって該電圧が該所定の基準電圧より低下
した場合に、該中央演算装置1の動作が異常であると判
断してリセットパルスRPを出力するものである。
The comparator 12 and the amplifier circuit 13
An appropriate capacitor 14 and constant current source 15 for the wiring connecting
May be provided. In the reset pulse generating means of the watchdog timer 2, the pulse P
By comparing the voltage charged in the second capacitor C2 (that is, the potential of the node portion N) with a predetermined reference voltage in the comparator 12, the voltage is changed by the absence of the input of the pulse P. When the voltage is lower than the predetermined reference voltage, it is determined that the operation of the central processing unit 1 is abnormal, and the reset pulse RP is output.

【0022】次に、本発明に係る中央演算装置モニタ手
段3の構成に付いて説明する。該中央演算装置モニタ手
段3は、該ウオッチドッグタイマ2から出力されるリセ
ットパルスRPの数に基づいて、該中央演算装置の機能
が正常か異常かを判断する情報を出力するものであり、
その構成の一具体例を図1に示してある。図1に於ける
該中央演算装置モニタ手段は、該ウオッチドッグタイマ
から所定期間の間に出力されるリセットパルスの数に応
答する電圧を発生させるパルスー電圧変換手段5、該パ
ルスー電圧変換手段5から出力される電圧を所定の基準
電圧と比較する電圧比較手段6、及び該電圧比較手段6
から出力される、該中央演算装置の機能が異常である事
を示す出力に応答して駆動される警報手段駆動手段7と
から構成されているものである。
Next, the structure of the central processing unit monitor means 3 according to the present invention will be described. The central processing unit monitor means 3 outputs information for judging whether the function of the central processing unit is normal or abnormal based on the number of reset pulses RP output from the watchdog timer 2.
A specific example of the configuration is shown in FIG. The central processing unit monitoring means in FIG. 1 includes a pulse-voltage converting means 5 for generating a voltage corresponding to the number of reset pulses output from the watchdog timer during a predetermined period, and the pulse-voltage converting means 5. Voltage comparing means 6 for comparing the output voltage with a predetermined reference voltage, and the voltage comparing means 6
The alarm means drive means 7 is driven in response to the output from the CPU indicating that the function of the central processing unit is abnormal.

【0023】該中央演算装置モニタ手段3に於ける該パ
ルスー電圧変換手段5は、該ウオッチドッグタイマ2の
リセットパルスRP出力端部とダイオードD1を介して
接続されている。本発明に係る該パルスー電圧変換手段
5は特に限定されるものではないが、単位時間内に入力
される該リセットパルスRPの入力数に応じた電圧を発
生する機能を有するものであれば如何なる構成を有する
回路でも使用する事が出来る。
The pulse-voltage converting means 5 in the central processing unit monitoring means 3 is connected to the reset pulse RP output end of the watchdog timer 2 via a diode D1. The pulse-voltage converting means 5 according to the present invention is not particularly limited, but any configuration is possible as long as it has a function of generating a voltage according to the number of input of the reset pulse RP input within a unit time. It can also be used in circuits with.

【0024】例えば、該パルスー電圧変換手段は、該リ
セットパルスの周波数の変化に応答した電圧を発生する
機能を有するもので有っても良く又、コンデンサから構
成され該コンデンサに該複数個のリセットパルスを入力
させてその充電電圧を出力する様に構成されたもので有
っても良い。該パルスー電圧変換手段5により出力され
る該リセットパルスRPに応じた電圧を該電圧比較手段
6で比較し、該パルスー電圧変換手段5から出力される
電圧が所定の基準電圧値を越えた場合に、該中央演算装
置1の機能が異常であると判断し該警報手段駆動手段7
を駆動させて該警報手段駆動手段7に接続されているい
適宜の警報手段、例えば警告ランプ、アラーム音発生手
段等を作動させるものである。
For example, the pulse-voltage converting means may have a function of generating a voltage in response to a change in the frequency of the reset pulse, and may be composed of a capacitor, and the capacitor may be provided with the plurality of resets. It may be configured to input a pulse and output the charging voltage. When the voltage according to the reset pulse RP output by the pulse-voltage converting means 5 is compared by the voltage comparing means 6, and the voltage output from the pulse-voltage converting means 5 exceeds a predetermined reference voltage value, , It is judged that the function of the central processing unit 1 is abnormal, and the alarm means driving means 7
Is operated to activate appropriate alarm means connected to the alarm means drive means 7, for example, a warning lamp, an alarm sound generating means and the like.

【0025】本発明に於いては、該警報手段駆動手段7
の出力を直接該中央演算装置1の所定の入力端子部16
に入力させ、該中央演算装置内の適宜の判断回路でその
異常を判断させる様にしたもので有っても良い。つま
り、本発明に於いては、該リセットパルスRPが複数回
出力され該中央演算装置に複数回の復旧の機会を与えた
にも係わらず該中央演算装置1の機能が正常に復旧しえ
ない状態にあると判断するものである。
In the present invention, the alarm means driving means 7
Output directly from the predetermined input terminal section 16 of the central processing unit 1.
May be input to the CPU and the abnormality may be judged by an appropriate judgment circuit in the central processing unit. That is, in the present invention, the function of the central processing unit 1 cannot be normally restored although the reset pulse RP is output a plurality of times to give the central processing unit a plurality of recovery opportunities. It is determined to be in a state.

【0026】又、本発明に於いては、該パルスー電圧変
換手段5の機能そのものが正常に作動しているか否かが
問題となるので、該パルスー電圧変換手段5の機能をチ
エックする為のモニター回路を設ける必要があり、その
一手段として、該パルスー電圧変換手段5に対して、更
に該中央演算装置1に設けられモニタ端子部10から該
リセットパルスRPに相当する擬似パルスFRPが供給
される様な構成をとるものである。
Further, in the present invention, there is a problem whether or not the function itself of the pulse-voltage converting means 5 is operating normally. Therefore, a monitor for checking the function of the pulse-voltage converting means 5 is required. It is necessary to provide a circuit, and as one of the means, a pseudo pulse FRP corresponding to the reset pulse RP is supplied to the pulse-voltage converting means 5 from the monitor terminal section 10 provided in the central processing unit 1. It has such a configuration.

【0027】即ち、本具体例では、該中央演算装置1の
モニタ端子部10から該リセットパルスRPと同一の或
いは該リセットパルスRPに近似した擬似パルスFRP
を第2のダイオードD2を介して該パルスー電圧変換手
段5の入力端部に供給するものであり、該擬似パルスF
RPを用いて該パルスー電圧変換手段5の機能が正常に
作動するか否かを強制的にチエックしようとするもので
ある。
That is, in this example, a pseudo pulse FRP that is the same as or close to the reset pulse RP is output from the monitor terminal 10 of the central processing unit 1.
Is supplied to the input end of the pulse-voltage conversion means 5 via the second diode D2, and the pseudo pulse F
The RP is used to forcibly check whether or not the function of the pulse-voltage converting means 5 operates normally.

【0028】従って、該擬似パルスFRPは、該パルス
ー電圧変換手段5が作動するに充分なパルスであれば何
でも良い。又、該チエック操作は、該ウオッチドッグタ
イマから所定のリセットパルスRPが出力されている場
合には、避ける必要があり、好ましくは、該中央演算装
置1を中心とする演算処理回路に電源が投入された直後
で、所定の演算処理が開始されて居ない時点で実施する
事が好ましい。
Therefore, the pseudo pulse FRP may be any pulse as long as the pulse-voltage converting means 5 operates. The check operation must be avoided when a predetermined reset pulse RP is output from the watchdog timer, and it is preferable that the arithmetic processing circuit centered on the central processing unit 1 be powered on. Immediately after the execution, it is preferable to carry out the operation when the predetermined arithmetic processing is not started.

【0029】本発明に係る中央演算装置のモニタシステ
ム回路は、上記した様に該中央演算装置1が電源投入後
は、常時連続して該中央演算装置1と該パルスー電圧変
換手段5の両回路の機能が正常に作動しているか否かを
確実にチェックする事が可能となる。本具体例に於ける
該コンパレータ12の基準電圧Vref は、該ウオッチド
ッグタイマのモニタ回路の電源がVCCであるとすると、
1/2VCCである事が望ましい。
As described above, the monitor system circuit of the central processing unit according to the present invention has both circuits of the central processing unit 1 and the pulse-voltage converting means 5 continuously continuously after the central processing unit 1 is turned on. It is possible to reliably check whether or not the function of is operating normally. The reference voltage V ref of the comparator 12 in this example is assumed to be V CC when the power source of the monitor circuit of the watchdog timer is V CC .
It is preferably 1/2 V CC .

【0030】本発明に係る中央演算装置のモニタシステ
ムの操作手順を図2及び図3のフローチャートに従って
説明する。図2は、本発明に係る該中央演算装置のモニ
タシステムに於ける該中央演算装置1の機能をチエック
する操作手順を説明したものであり、該中央演算装置1
のマイクロコンピュータが何らかの原因で暴走した場合
を想定したものであり、先ず係る状態が中央演算装置1
で発生するとステップ(1)に於いて該中央演算装置1
のパルスP出力端子部8から該パルスPの出力が停止さ
れる。
The operation procedure of the monitor system of the central processing unit according to the present invention will be described with reference to the flow charts of FIGS. FIG. 2 illustrates an operation procedure for checking the function of the central processing unit 1 in the monitor system for the central processing unit according to the present invention.
It is assumed that the microcomputer of 1 is out of control for some reason. First, the state concerned is the central processing unit 1.
When it occurs in step (1), the central processing unit 1
The output of the pulse P is stopped from the pulse P output terminal section 8 of.

【0031】次にステップ(2)に於いて、該ウオッチ
ドッグタイマ2のリセットパルスRP発生回路が、該パ
ルスPの入力が無い事を検知して、所定の期間該パルス
Pの入力が無い場合に該リセットパルスRPを出力する
と同時に、ステップ(3)に於いて該パルスPの入力が
無い限り所定の回数迄一定周期でリセットパルスRPを
発生する。
Next, in step (2), when the reset pulse RP generating circuit of the watchdog timer 2 detects that the pulse P is not input, and the pulse P is not input for a predetermined period. At the same time that the reset pulse RP is output to, the reset pulse RP is generated in a constant cycle up to a predetermined number of times unless the pulse P is input in step (3).

【0032】ステップ(4)に於いて、該リセットパル
スRPの出力が該パルスー電圧変換手段5に入力され、
該パルスー電圧変換手段に於いて該リセットパルスRP
の数、周波数、等からそれに比例した電圧を発生させ、
当該電圧を所定の基準電圧と比較して、該電圧が該基準
電圧値を越えた場合に、該中央演算装置1の機能が異常
であると判断して該警報手段駆動手段7を駆動させ、ス
テップ(5)で該警報手段駆動手段7に接続されている
い適宜の警報手段4、例えば警告ランプ、アラーム音発
生手段等を作動させる。
In step (4), the output of the reset pulse RP is input to the pulse-voltage conversion means 5,
The reset pulse RP in the pulse-voltage conversion means
The voltage proportional to the number, frequency, etc. of
The voltage is compared with a predetermined reference voltage, and when the voltage exceeds the reference voltage value, it is determined that the function of the central processing unit 1 is abnormal, and the alarm means driving means 7 is driven, In step (5), the appropriate alarm means 4 connected to the alarm means driving means 7, such as an alarm lamp and an alarm sound generating means, is activated.

【0033】ステップ(6)でオペレータが該警報に基
づいて該中央演算装置1の点検修理を実行する。又図3
は、本発明に於ける該パルスー電圧変換手段5の機能チ
エックを実行する場合のフローチャートであり、ステッ
プ(1)で先ず該中央演算装置1のモニターチエック端
子部10から、所定のモニターパルスを出力させ、ステ
ップ(2)で該モニターパルスを該パルスー電圧変換手
段5に入力する。
In step (6), the operator executes the inspection and repair of the central processing unit 1 based on the alarm. See also Figure 3
3 is a flow chart for executing the function check of the pulse-voltage conversion means 5 in the present invention. First, in step (1), a predetermined monitor pulse is output from the monitor check terminal unit 10 of the central processing unit 1. Then, in step (2), the monitor pulse is input to the pulse-voltage converting means 5.

【0034】ステップ(3)に於いて警報手段4の警報
が駆動されるか否かを判断し、該警報手段4の警報が駆
動されれば、該パルスー電圧変換手段5の機能は正常に
作動していると判断し(ステップ(4))、該警報手段
4の警報が駆動され無ければ、該パルスー電圧変換手段
5の機能は正常に作動していないと判断する(ステップ
(5))ものである。
In step (3), it is judged whether or not the alarm of the alarm means 4 is driven. If the alarm of the alarm means 4 is driven, the function of the pulse-voltage conversion means 5 operates normally. If the alarm of the alarm means 4 is not driven (step (4)), it is determined that the function of the pulse-voltage conversion means 5 is not operating normally (step (5)). Is.

【0035】尚、本発明に於ける該中央演算装置モニタ
手段3の他の具体例を図4に示す。即ち、上記した該中
央演算装置モニタ手段3のパルスー電圧変換手段5は、
所定の基準電源40の電圧と該ウオッチドッグタイマ2
から出力される該リセットパルスRPの電圧とを比較す
る第1のコンパレータ41と該第1のコンパレータ41
の出力に接続されたトランジスタ42、該トランジスタ
42のコレクタに接続された第1のコンデンサ43、該
コンデンサ43の他端部にダイオード44、45を介し
て接続されている第2のコンデンサ46及び該第2のコ
ンデンサ46の電圧値と基準電源49の電圧値とを比較
する第2のコンパレータ48からなり、更には該第2の
コンパレータ48の出力により駆動される警報手段駆動
手段7が設けられているものである。
FIG. 4 shows another specific example of the central processing unit monitor means 3 in the present invention. That is, the pulse-voltage conversion means 5 of the central processing unit monitor means 3 described above is
The voltage of the predetermined reference power source 40 and the watchdog timer 2
And a first comparator 41 for comparing the voltage of the reset pulse RP output from
42 connected to the output of the transistor 42, a first capacitor 43 connected to the collector of the transistor 42, a second capacitor 46 connected to the other end of the capacitor 43 via diodes 44 and 45, and It comprises a second comparator 48 for comparing the voltage value of the second capacitor 46 and the voltage value of the reference power source 49, and further has an alarm means driving means 7 driven by the output of the second comparator 48. There is something.

【0036】該回路構成に於いて、該第1のコンパレー
タ41から第2のコンデンサ46迄が、該パルスー電圧
変換手段5を構成し、該第2のコンパレータ48が電圧
比較手段6に相当するものである。該パルスー電圧変換
手段5に於いては、該ウオッチドッグタイマ2から入力
されるリセットパルスRPを増幅して第1のコンデンサ
43を介して第2のコンデンサ46に逐次充電させると
共に、その充電電圧を第2のコンパレータ48に入力さ
せるものであるが、該リセットパルスRPが来ない状態
に於いては、該第2のコンデンサ46の電荷が抵抗49
を介して放電し、当該コンデンサの電荷は低減される様
に構成されているものである。
In the circuit structure, the first comparator 41 to the second capacitor 46 constitute the pulse-voltage converting means 5, and the second comparator 48 corresponds to the voltage comparing means 6. Is. In the pulse-voltage converting means 5, the reset pulse RP input from the watchdog timer 2 is amplified to sequentially charge the second capacitor 46 via the first capacitor 43, and the charging voltage is Although it is input to the second comparator 48, in the state where the reset pulse RP does not come, the charge of the second capacitor 46 is changed to the resistance 49.
The electric charge of the capacitor is reduced by discharging through the capacitor.

【0037】上記した本発明に於ける中央演算装置のモ
ニタシステムでは、該中央演算装置モニタ手段3の機能
が正常に作動しているか否かがチェック出来るが、該ウ
オッチドッグタイマ2の機能が正常に作動しているか否
かをチェックする事が出来ない。その為、本発明に係る
中央演算装置のモニタシステムの他の具体例では、該ウ
オッチドッグタイマ回路2の動作をモニタしえる機能を
追加した中央演算装置のモニタシステムを提供するもの
である。
In the above-described central processing unit monitor system according to the present invention, it is possible to check whether or not the function of the central processing unit monitor means 3 is operating normally, but the function of the watchdog timer 2 is normal. It is not possible to check whether or not it is working. Therefore, another specific example of the central processing unit monitoring system according to the present invention provides a central processing unit monitoring system to which a function for monitoring the operation of the watchdog timer circuit 2 is added.

【0038】図5は、係る中央演算装置のモニタシステ
ムの他の例を説明するブロックダイアグラムである。即
ち、本具体例に於いては、該ウオッチドッグタイマ2に
設けられたリセットパルス発生手段11と該中央演算装
置1に設けられているリセットパルス入力端子部9とを
接続する配線51の途中に、当該リセットパルスRPが
該リセットパルス入力端子部9に入力される事を禁止す
るゲート手段52を設けると共に、該中央演算装置1に
設けられているリセット禁止出力端子部50の出力によ
り該ゲート手段52が制御される様に構成されている中
央演算装置のモニタシステムである。
FIG. 5 is a block diagram for explaining another example of the monitor system for the central processing unit. That is, in the present specific example, the reset pulse generating means 11 provided in the watchdog timer 2 and the reset pulse input terminal portion 9 provided in the central processing unit 1 are connected in the middle of the wiring 51. The gate means 52 for inhibiting the reset pulse RP from being input to the reset pulse input terminal portion 9 is provided, and the gate means 52 is provided by the output of the reset inhibition output terminal portion 50 provided in the central processing unit 1. 52 is a central processing unit monitor system configured to be controlled.

【0039】又、該リセット禁止出力端子部50の出力
により該ゲート手段52を制御して、該リセットパルス
入力端子部9に該リセットパルスRPが入力されない様
にした後に該中央演算装置1のパルス出力端子8から該
ウオッチドッグタイマ2に対して出力されている所定周
期のパルスPの発生手段を停止させる様に構成されてい
るものである。
Further, the gate means 52 is controlled by the output of the reset prohibition output terminal section 50 so that the reset pulse RP is not inputted to the reset pulse input terminal section 9 and then the pulse of the central processing unit 1 is outputted. It is configured to stop the means for generating the pulse P of a predetermined cycle output from the output terminal 8 to the watchdog timer 2.

【0040】そして該所定周期パルス発生手段の機能停
止後に当該警報手段7の駆動状況から該ウオッチドッグ
タイマ回路の作動が正常であるか否かが判別されるので
あって、該システムによれば、該中央演算装置モニタ手
段の作動状況も同時に判別する事が可能となる。もので
ある。
After the function of the predetermined period pulse generating means is stopped, it is judged from the drive status of the alarm means 7 whether the operation of the watchdog timer circuit is normal or not. According to the system, It is also possible to simultaneously determine the operating status of the central processing unit monitor means. It is a thing.

【0041】本具体例に係る該ゲート手段52は例えば
PNP型トランジスタで構成されても良く、そのコレク
タは該ウオッチドッグタイマ2に設けられたリセットパ
ルス発生手段11の出力端子部と該中央演算装置1に設
けられているリセットパルス入力端子部9とを接続する
配線51の途中に接続されており、又そのエミッタ部は
所定の電源に接続されているものである。
The gate means 52 according to this example may be constituted by, for example, a PNP type transistor, the collector of which is the output terminal of the reset pulse generating means 11 provided in the watchdog timer 2 and the central processing unit. 1 is connected in the middle of the wiring 51 for connecting to the reset pulse input terminal portion 9 provided in No. 1 and the emitter portion thereof is connected to a predetermined power source.

【0042】そして、該トランジスタのベースは該中央
演算装置1に設けられているリセット禁止信号出力端子
部50に接続されており、該リセット禁止信号により該
トランジスタ52が制御されるものである。該トランジ
スタ52がONとなると該リセット入力端子部の電圧が
“H”レベルに固定されるので、該ウオッチドッグタイ
マ2から出力される“L”レベルのリセットパルスが該
リセット入力端子部9に入力されるのを禁止する事が出
来る。
The base of the transistor is connected to the reset inhibition signal output terminal section 50 provided in the central processing unit 1, and the transistor 52 is controlled by the reset inhibition signal. When the transistor 52 is turned on, the voltage of the reset input terminal section is fixed to the "H" level, so that the "L" level reset pulse output from the watchdog timer 2 is input to the reset input terminal section 9. You can prohibit being played.

【0043】本具体例に於いて、該ウオッチドッグタイ
マ2の作動状態をチェックする必要が生じた場合には、
先ずリセット禁止信号出力端子部50から該リセット禁
止信号を出力させ、該トランジスタ52をONとなし、
該リセット入力端子部9の電圧を“H”レベルに固定し
て該ウオッチドッグタイマ2からのリセットパルスが該
リセット入力端子部9に入力されるのを禁止する。
In this example, when it is necessary to check the operating state of the watchdog timer 2,
First, the reset inhibit signal is output from the reset inhibit signal output terminal section 50 to turn on the transistor 52,
The voltage of the reset input terminal section 9 is fixed at "H" level to prohibit the reset pulse from the watchdog timer 2 from being input to the reset input terminal section 9.

【0044】その後、パルスP出力端子部8から出力さ
れている該パルスPの出力を停止させる。その結果、該
ウオッチドッグタイマ2は、当該パルスPが来なくなっ
たので、所定に時間経過後にリセットパルスRPを出力
するが、そのリセットパルスRPは該中央演算装置1の
リセット入力端子部9には入力されず、従って該中央演
算装置1は、リセットされる事はない。
After that, the output of the pulse P output from the pulse P output terminal section 8 is stopped. As a result, the watchdog timer 2 outputs the reset pulse RP after the lapse of a predetermined time because the pulse P has stopped, but the reset pulse RP is not supplied to the reset input terminal section 9 of the central processing unit 1. No input is made, so that the central processing unit 1 is not reset.

【0045】係る状態が暫く継続されると、該ウオッチ
ドッグタイマが正常な状態であれば該ウオッチドッグタ
イマ2からは、上述の様にリセットパルスRPが複数回
(例えば10回)出力されるので、それにより該パルス
ー電圧変換手段5が正常に作動していれば、該パルスー
電圧変換手段5から中央演算装置が異常状態である事を
示す信号が出力され、該警報手段駆動手段が作動して警
報手段が作動するか或いはその信号が直接中央演算装置
1の警報信号入力端子部53に入力されその情報を中央
演算装置1自身の判断により、該ウオッチドッグタイマ
2の作動が正常か否かが決定される。
If such a state is continued for a while, if the watchdog timer 2 is in a normal state, the watchdog timer 2 outputs the reset pulse RP a plurality of times (for example, 10 times) as described above. Therefore, if the pulse-voltage converting means 5 is operating normally, a signal indicating that the central processing unit is in an abnormal state is output from the pulse-voltage converting means 5, and the alarm means driving means is activated. Whether the alarm means is activated or the signal is directly input to the alarm signal input terminal portion 53 of the central processing unit 1 and the information is judged by the central processing unit 1 itself to determine whether or not the operation of the watchdog timer 2 is normal. It is determined.

【0046】即ち、本具体例に於いては、一旦該中央演
算装置1の作動を故意に停止させ、該ウオッチドッグタ
イマ2がその異常を通知して来るかどうかをチェックす
る様にしたものである。図6は、係るモニターシステム
を操作する場合のフローチャートを示すものであり、ス
タート後ステップ(1)でリセット禁止信号出力端子部
50から該リセット禁止信号を出力させ、それによりス
テップ(2)で該トランジスタ52をONとなし、該リ
セット入力端子部9の電圧を“H”レベルに固定する
(ステップ(3))。
That is, in this embodiment, the operation of the central processing unit 1 is intentionally stopped once, and it is checked whether or not the watchdog timer 2 notifies the abnormality. is there. FIG. 6 shows a flowchart for operating such a monitor system. After the start, the reset prohibition signal is output from the reset prohibition signal output terminal section 50 in step (1), whereby the reset prohibition signal is output in step (2). The transistor 52 is turned on, and the voltage of the reset input terminal section 9 is fixed to the "H" level (step (3)).

【0047】その後、ステップ(4)に於いてパルスP
出力端子部8から出力されている該パルスPの出力を停
止させる。その後、ステップ(5)に於いてオペレータ
もしくは中央演算装置1自身で警報手段が駆動されたか
否かが判断され、YESであればステップ(6)に於い
て該ウオッチドッグタイマ2の機能は正常に作動してい
るものと判断し、もしNOであればステップ(7)に移
り該中央演算装置1からパルスPを出力させ、該中央演
算装置1の作動を正常な状態に戻す。
Then, in step (4), the pulse P
The output of the pulse P output from the output terminal unit 8 is stopped. Thereafter, in step (5), it is judged whether or not the alarm means has been driven by the operator or the central processing unit 1 itself, and if YES, the function of the watchdog timer 2 becomes normal in step (6). If it is judged that the central processing unit 1 is operating, if NO, the process goes to step (7) to output the pulse P from the central processing unit 1 to restore the normal operation of the central processing unit 1.

【0048】その結果、ステップ(8)に於いて該ウオ
ッチドッグタイマ2がモニタ操作を開始する事になり、
ステップ(9)に於いて再度オペレータもしくは中央演
算装置1自身で警報手段7が駆動されたか否かが判断さ
れ、YESであればステップ(10)に於いて該ウオッ
チドッグタイマ2の機能が異常で有ったと判断する。又
もしNOであればステップ(11)に移り該中央演算装
置モニタ手段3の機能が異常であると判断するものであ
る。
As a result, in step (8), the watchdog timer 2 starts the monitor operation,
In step (9), it is judged again whether the alarm means 7 has been driven by the operator or the central processing unit 1 itself. If YES, the function of the watchdog timer 2 is abnormal in step (10). Judge that there was. If NO, the process proceeds to step (11) to judge that the function of the central processing unit monitor means 3 is abnormal.

【0049】[0049]

【発明の効果】本発明に係る中央演算装置のモニタシス
テムは、上記した構成を採用しているので、簡単な回路
構成により、常時該中央演算装置1と該ウオッチドッグ
タイマ2及び該中央演算装置モニタ手段3が共に正常に
作動しているか否かを個別に且つ正確に検出出来る様に
するもので有って、少なくとも一方の機能が故障した場
合には、その状態を即座に、当該回路の動作を停止させ
るか、オペレータに警告する為の表示を行う事により、
事故の発生を未然に防止する事の出来る中央演算装置の
モニタシステムがえられるものである。
Since the monitor system of the central processing unit according to the present invention adopts the above-mentioned configuration, the central processing unit 1, the watchdog timer 2 and the central processing unit are always operated with a simple circuit configuration. Whether or not both the monitor means 3 are normally operating can be individually and accurately detected. If at least one of the functions fails, the state of the circuit is immediately notified. By stopping the operation or displaying a warning to the operator,
It is possible to obtain a monitor system for a central processing unit that can prevent accidents from occurring.

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

【図1】図1は、本発明に係る中央演算装置のモニタシ
ステムのモニタ回路の原理及び一具体例を説明するブロ
ックダイアグラムである。
FIG. 1 is a block diagram illustrating a principle and a specific example of a monitor circuit of a monitor system of a central processing unit according to the present invention.

【図2】図2は、本発明に係る中央演算装置のモニタシ
ステムの操作を説明する為のフローチャートである。
FIG. 2 is a flow chart for explaining the operation of the monitor system of the central processing unit according to the present invention.

【図3】図3は、本発明に係る中央演算装置のモニタシ
ステムに於ける中央演算装置モニタ手段の作動をチェッ
クする操作を説明する為のフローチャートである。
FIG. 3 is a flow chart for explaining an operation for checking the operation of the central processing unit monitor means in the central processing unit monitoring system according to the present invention.

【図4】図4は、本発明に係る中央演算装置のモニタシ
ステムに用いられる中央演算装置モニタ手段の他の構成
例を示すブロックダイアグラムである。
FIG. 4 is a block diagram showing another configuration example of the central processing unit monitoring means used in the central processing unit monitoring system according to the present invention.

【図5】図5は、本発明に係る中央演算装置のモニタシ
ステムの他の具体例を示すブロックダイアグラムであ
る。
FIG. 5 is a block diagram showing another specific example of the monitor system of the central processing unit according to the present invention.

【図6】図6は、図5の具体例に於ける操作手順を説明
するフローチャートである。
FIG. 6 is a flowchart illustrating an operation procedure in the specific example of FIG.

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

1…中央演算装置 2…ウオッチドッグタイマ 3…中央演算装置モニタ手段 4…警報手段 5…パルスー電圧変換手段 6…コンパレータ 7…警報手段駆動手段 50…リセット禁止パスル出力端子 52…ゲート手段 53…警報手段駆動信号入力端子 DESCRIPTION OF SYMBOLS 1 ... Central processing unit 2 ... Watchdog timer 3 ... Central processing unit monitoring means 4 ... Warning means 5 ... Pulse-voltage conversion means 6 ... Comparator 7 ... Warning means driving means 50 ... Reset prohibition pulse output terminal 52 ... Gate means 53 ... Warning Means drive signal input terminal

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 中央演算装置、該中央演算装置に接続さ
れたウオッチドッグタイマ、該ウオッチドッグタイマに
接続された該中央演算装置の機能が正常に作動している
か否かを検出する為の中央演算装置モニタ手段及び該中
央演算装置モニタ手段に接続された警報手段とから構成
されたモニタシステムで有って、該中央演算装置には該
中央演算装置から該ウオッチドッグタイマに対して所定
周期のパルスを発生させる手段が設けられ、該ウオッチ
ドッグタイマに於いては、該中央演算装置からの所定パ
ルスが来なくなった場合に該中央演算装置に対してリセ
ットパルスを発生させるリセットパルス発生手段が設け
られており、更に該中央演算装置モニタ手段は、該ウオ
ッチドッグタイマから出力されるリセットパルスを監視
すると共に該リセットパルスにより得られる情報から該
中央演算装置の機能が正常に作動しているか否かを判断
する機能を有しており、該警報手段は、該中央演算装置
モニタ手段から該中央演算装置の機能が異常である事を
示す出力に応答して駆動されるものである事を特徴とす
る中央演算装置のモニタシステム。
1. A central processing unit, a watchdog timer connected to the central processing unit, a central unit for detecting whether or not the function of the central processing unit connected to the watchdog timer is operating normally. A monitor system comprising an arithmetic unit monitoring means and an alarm means connected to the central arithmetic unit monitoring means, wherein the central arithmetic unit has a predetermined cycle from the central arithmetic unit to the watchdog timer. A means for generating a pulse is provided, and in the watchdog timer, a reset pulse generating means is provided for generating a reset pulse to the central processing unit when a predetermined pulse from the central processing unit stops Further, the central processing unit monitoring means monitors the reset pulse output from the watchdog timer and resets the reset pulse. A function of the central processing unit to determine whether the function of the central processing unit is operating normally from the information obtained by the pulse. A central processing unit monitor system characterized by being driven in response to an output indicating an abnormality.
【請求項2】 該中央演算装置モニタ手段は、該ウオッ
チドッグタイマから所定期間の間に出力されるリセット
パルスの数に応答する電圧を発生させるパルスー電圧変
換手段、該パルスー電圧変換手段から出力される電圧を
所定の基準電圧と比較する電圧比較手段、及び該電圧比
較手段から出力される、該中央演算装置の機能が異常で
ある事を示す出力に応答して駆動される警報手段駆動手
段とから構成されている事を特徴とする請求項1記載の
中央演算装置のモニタシステム。
2. The central processing unit monitor means outputs a pulse-voltage converting means for generating a voltage corresponding to the number of reset pulses output from the watchdog timer during a predetermined period, and the pulse-voltage converting means outputs the voltage. A voltage comparing means for comparing a predetermined voltage with a predetermined reference voltage, and an alarm means driving means driven in response to an output from the voltage comparing means indicating that the function of the central processing unit is abnormal. The monitoring system for a central processing unit according to claim 1, characterized in that the monitoring system comprises:
【請求項3】 該パルスー電圧変換手段に対して、更に
該中央演算装置に設けられモニタ端子部から該リセット
パルスに相当する擬似パルスが供給される様に構成され
ている事を特徴とする請求項2記載の中央演算装置のモ
ニタシステム。
3. The pulse-voltage converting means is further provided in the central processing unit so that a pseudo pulse corresponding to the reset pulse is supplied from a monitor terminal section. Item 2. A monitoring system for a central processing unit according to Item 2.
【請求項4】 該中央演算装置モニタ手段における該警
報手段駆動手段の出力が該中央演算装置に帰還される様
に構成されている事を特徴とする請求項2記載の中央演
算装置のモニタシステム。
4. A monitoring system for a central processing unit according to claim 2, wherein the output of said alarm means driving means in said central processing unit monitoring means is fed back to said central processing unit. ..
【請求項5】 該パルスー電圧変換手段は、該リセット
パルスの周波数の変化に応答した電圧を発生する機能を
有するものである事を特徴とする請求項2記載の中央演
算装置のモニタシステム。
5. The monitor system for a central processing unit according to claim 2, wherein the pulse-voltage converting means has a function of generating a voltage in response to a change in the frequency of the reset pulse.
【請求項6】 該パルスー電圧変換手段は、コンデンサ
から構成され該コンデンサに該複数個のリセットパルス
を入力させてその充電電圧を出力する様に構成されたも
のである事を特徴とする請求項2記載の中央演算装置の
モニタシステム。
6. The pulse-voltage conversion means is composed of a capacitor, and is configured to input the plurality of reset pulses to the capacitor and output the charging voltage thereof. The monitoring system of the central processing unit according to 2.
【請求項7】 該ウオッチドッグタイマに設けられたリ
セットパルス発生手段と該中央演算装置に設けられてい
るリセットパルス入力端子部とを接続する配線の途中
に、当該リセットパルスが該リセットパルス入力端子部
に入力される事を禁止するゲート手段を設けると共に、
該中央演算装置に設けられているリセット禁止出力端子
部の出力により該ゲート手段が制御される様に構成され
ている事を特徴とする請求項1記載の中央演算装置のモ
ニタシステム。
7. The reset pulse input terminal is provided with the reset pulse in the middle of a wiring connecting a reset pulse generating means provided in the watchdog timer and a reset pulse input terminal section provided in the central processing unit. In addition to providing gate means to prohibit input to the department,
2. The monitoring system for a central processing unit according to claim 1, wherein the gate means is controlled by an output of a reset prohibition output terminal section provided in the central processing unit.
【請求項8】 該リセット禁止出力端子部の出力により
該ゲート手段を制御して、該リセットパルス入力端子部
に該リセットパルスが入力されない様にした後に該中央
演算装置に於ける該ウオッチドッグタイマに対する所定
周期パルス発生手段の機能を停止させる様に構成されて
いる事を特徴とする請求項7記載の中央演算装置のモニ
タシステム。
8. The watchdog timer in the central processing unit after controlling the gate means by the output of the reset prohibition output terminal to prevent the reset pulse from being input to the reset pulse input terminal. 8. The monitoring system for the central processing unit according to claim 7, wherein the function of the predetermined period pulse generating means for the above is stopped.
【請求項9】 該所定周期パルス発生手段の機能停止後
に当該警報手段の駆動状況から該ウオッチドッグタイマ
回路と該中央演算装置モニタ手段の作動状況を判別する
事を特徴とする請求項8記載の中央演算装置のモニタシ
ステム。
9. The operating status of the watchdog timer circuit and the central processing unit monitoring means is determined from the driving status of the alarm means after the function of the predetermined period pulse generating means is stopped. Central processing unit monitoring system.
JP3346264A 1991-12-27 1991-12-27 System for monitoring central processing unit Withdrawn JPH05181710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3346264A JPH05181710A (en) 1991-12-27 1991-12-27 System for monitoring central processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3346264A JPH05181710A (en) 1991-12-27 1991-12-27 System for monitoring central processing unit

Publications (1)

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

Family

ID=18382228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3346264A Withdrawn JPH05181710A (en) 1991-12-27 1991-12-27 System for monitoring central processing unit

Country Status (1)

Country Link
JP (1) JPH05181710A (en)

Similar Documents

Publication Publication Date Title
US6883123B2 (en) Microprocessor runaway monitoring control circuit
JPH0674024B2 (en) Control device for automobile driver restraint system
US20080263409A1 (en) Self-Test System
US6076172A (en) Monitoting system for electronic control unit
JP5902975B2 (en) Monitoring device and in-vehicle electronic control device
JPH02501960A (en) Monitoring method and circuit device for operating elements controlled by computer
US6949932B2 (en) Method for monitoring a power supply of a control unit in a motor vehicle
JPH05181710A (en) System for monitoring central processing unit
JPH114531A (en) Power supply protection circuit and power supply control method
JP3230471B2 (en) PWM control device and PWM control method
JP2002196948A (en) Operation control device
JPH08202589A (en) Information processor and fault diagnostic method
JPH05173841A (en) Monitor circuit for watchdog timer
JP3457629B2 (en) Overvoltage detection control system for parallel DC power supply
JPH04291634A (en) Fault detecting circuit for microcomputer
US10671027B2 (en) Electronic component monitoring method and apparatus
JP2536789Y2 (en) Device for preventing malfunction of microcomputer system
JP3238430B2 (en) Medical device alarm device
JPH0327420B2 (en)
JP3343022B2 (en) Actuator failure judgment device
KR100408266B1 (en) Device for automatically recovering fault of computer system
JP2725658B2 (en) Abnormal alarm device
KR20020057321A (en) Fan fail alarm
JP3606351B2 (en) Abnormality detection method for microcomputer gas meter
JPH04256038A (en) Watchdog timer inspecting device

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: 19990311