JPH08202589A - Information processor and fault diagnostic method - Google Patents

Information processor and fault diagnostic method

Info

Publication number
JPH08202589A
JPH08202589A JP7008650A JP865095A JPH08202589A JP H08202589 A JPH08202589 A JP H08202589A JP 7008650 A JP7008650 A JP 7008650A JP 865095 A JP865095 A JP 865095A JP H08202589 A JPH08202589 A JP H08202589A
Authority
JP
Japan
Prior art keywords
monitoring circuit
start mode
cpu
information processing
monitoring
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
JP7008650A
Other languages
Japanese (ja)
Inventor
Hiroshi Matsuoka
弘 松岡
Shinko Ofuji
眞弘 大藤
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 Home Electronics Ltd
NEC Corp
NEC Robotics Engineering Ltd
Original Assignee
NEC Home Electronics Ltd
Nippon Electric Co Ltd
NEC Robotics Engineering 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 Home Electronics Ltd, Nippon Electric Co Ltd, NEC Robotics Engineering Ltd filed Critical NEC Home Electronics Ltd
Priority to JP7008650A priority Critical patent/JPH08202589A/en
Publication of JPH08202589A publication Critical patent/JPH08202589A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE: To monitor and judge the presence or the absence of fault of a monitoring circuit by providing a means which judges the fault of the monitoring circuit in the case where there is no reset signal from the monitoring circuit within a standby period in a cold start mode, and starting a system in a hot start mode when the reset signal is received within the standby period. CONSTITUTION: When a CPU is reset, a start mode is judged by an MPU (step S1). When the hot start mode is judged by a watch-dog timer(WDT), etc., normal processing is executed (step S2), and when the start mode is judged to be the cold start mode, the system is turned into a standby state for the period enough for the WDT to operate (step S3). Then, when the WDT operates normally within the standby period, the CPU is reset, and when it is restarted, the system is tuned into the hot start mode. On the other hand, in the case where the WDT does not operate within the standby period, the WDT is judged to be faulty (step S4).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CPU、及び、CPU
を監視するウォッチドックタイマー(以下、WDTと略
称する)等の監視回路とを備えた情報処理装置、及び、
この情報処理装置の故障診断を行う故障診断方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CPU and a CPU.
An information processing apparatus including a watchdog timer (hereinafter, abbreviated as WDT) for monitoring the
The present invention relates to a failure diagnosis method for performing failure diagnosis of the information processing device.

【0002】[0002]

【従来の技術】一般に、この種の情報処理装置には、C
PUの他に、情報処理装置の異常を検出するために、W
DTを備えたものがある。このWDTは、一定の監視時
間毎に、CPU内のプログラムに割り込みをかけ、正常
な状態では、常に、プログラムによりリセットされる。
他方、CPUに障害が発生している場合等には、WDT
はプログラムによってリセットされなくなって、警報を
発生する。結果として、WDTは、プログラムの暴走等
による異常を検出、報知することができる。
2. Description of the Related Art Generally, an information processing apparatus of this type includes a C
In addition to the PU, the W
Some have DT. This WDT interrupts the program in the CPU at regular intervals, and is normally reset by the program in a normal state.
On the other hand, if there is a CPU failure, the WDT
Will not be reset by the program and will generate an alarm. As a result, the WDT can detect and notify an abnormality due to a program runaway or the like.

【0003】一方、このような情報処理装置は、自動車
等に広く応用される傾向にあり、高い信頼性と共に、低
価格化が要求されている。したがって、プログラムの暴
走等による異常を安価に、且つ、正確に検出すること
は、非常に重要である。
On the other hand, such an information processing apparatus tends to be widely applied to automobiles and the like, and is required to have high reliability and low cost. Therefore, it is very important to detect abnormalities due to program runaway at low cost and accurately.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記し
た情報処理装置では、WDTの正常動作を前提にしてお
り、WDT自身が正常に動作しているか否かについて
は、保証されていないのが実情である。したがって、W
DTによる異常検出に関する限り、高い信頼性が保証さ
れているとは言い難い。また、複数のCPUを備えた情
報処理装置では、一つのWDTの動作を他のCPUによ
り監視することも考えられるが、この構成では、低価格
化の要求に応えられないという欠点がある。
However, in the above-mentioned information processing apparatus, it is premised that the WDT normally operates, and in reality, it is not guaranteed whether or not the WDT itself operates normally. is there. Therefore, W
As far as abnormality detection by DT is concerned, it cannot be said that high reliability is guaranteed. Further, in an information processing apparatus having a plurality of CPUs, it may be possible to monitor the operation of one WDT by another CPU, but this configuration has a drawback that it cannot meet the demand for cost reduction.

【0005】更に、この種の情報処理装置には、WDT
以外にも、CPUの異常を監視する種々の形式の監視回
路が使用されているが、これら監視回路が正常か否かを
監視することについては、何等、考慮されていない。
Further, the information processing apparatus of this type includes a WDT
Other than that, various types of monitoring circuits for monitoring the abnormality of the CPU are used, but no consideration is given to monitoring whether or not these monitoring circuits are normal.

【0006】本発明の目的は、WDT等の監視回路にお
ける故障の有無を監視、判定できる情報処理装置を提供
することである。
An object of the present invention is to provide an information processing apparatus capable of monitoring and determining the presence / absence of a failure in a monitoring circuit such as WDT.

【0007】本発明の他の目的は、WDT等の監視回路
における故障の有無を簡単に診断できる故障診断方法を
提供することである。
Another object of the present invention is to provide a failure diagnosis method capable of easily diagnosing the presence or absence of a failure in a monitoring circuit such as WDT.

【0008】[0008]

【課題を解決するための手段】本発明によれば、この種
の情報処理装置に備えられているコールドスタートモー
ドと、ホットスタートモードとを有効に利用することに
より、監視回路を故障診断できる。
According to the present invention, the failure diagnosis of the monitoring circuit can be performed by effectively utilizing the cold start mode and the hot start mode provided in this type of information processing apparatus.

【0009】ここで、コールドスタートモードは、電源
オフ状態から起動するモードであり、他方、ホットスタ
ートモードは、電源オン状態から起動するモードであ
る。
Here, the cold start mode is a mode which is started from a power-off state, while the hot start mode is a mode which is started from a power-on state.

【0010】より具体的に言えば、本発明では、中央処
理装置及びCPUを監視する監視回路とを備え、コール
ドスタートモード及びホットスタートモードのいずれか
により起動される情報処理装置において、前記コールド
スタートモード及びホットスタートモードとを識別する
手段と、前記コールドスタートモードの際、監視回路が
動作するのに十分な待機時間、待機状態となり、監視回
路の動作を待つ手段と、前記待機時間内に、監視回路か
らのリセット信号が無い場合、監視回路の故障と判定す
る判定手段とを備え、前記待機時間内に監視回路からリ
セット信号をうけると、ホットスタートモードで起動す
ることにより、監視回路の正常状態を確認できる情報処
理装置が得られる。
More specifically, according to the present invention, in the information processing apparatus having a central processing unit and a monitoring circuit for monitoring the CPU, which is activated in either the cold start mode or the hot start mode, the cold start is performed. Means for distinguishing between the mode and the hot start mode, a waiting time sufficient for the monitoring circuit to operate in the cold start mode, a means for waiting for the operation of the monitoring circuit, and a means for waiting for the operation of the monitoring circuit; and within the waiting time, When there is no reset signal from the monitoring circuit, the monitoring circuit is provided with a judging means for judging that the monitoring circuit has a failure. An information processing device whose state can be confirmed is obtained.

【0011】更に、本発明では、CPU及び監視回路と
を備え、コールドスタートモード及びホットスタートモ
ードのいずれかにより起動される情報処理装置の故障診
断方法において、コールドスタートモードの際、監視回
路が動作するのに十分な待機時間、待機状態となり、こ
の待機時間内に監視回路からリセット信号が無い場合に
は、監視回路の故障と判定する一方、前記待機時間内に
監視回路からリセット信号が出力されると、ホットスタ
ートモードで起動され、これによって、監視回路の正常
性を確認できる故障診断方法が得られる。
Further, according to the present invention, in a failure diagnosis method for an information processing apparatus, which comprises a CPU and a monitoring circuit and is activated in either a cold start mode or a hot start mode, the monitoring circuit operates in the cold start mode. If there is no reset signal from the monitoring circuit within this waiting time, the monitoring circuit determines that the monitoring circuit has failed, and outputs a reset signal from the monitoring circuit within the waiting time. Then, it is started in the hot start mode, which provides a failure diagnosis method capable of confirming the normality of the monitoring circuit.

【0012】[0012]

【作用】上記したように、本発明においては、コールド
スタートの度毎に、監視回路の動作を確認することよ
り、監視回路の動作の信頼性を保証することができる。
As described above, in the present invention, the reliability of the operation of the monitoring circuit can be guaranteed by confirming the operation of the monitoring circuit every cold start.

【0013】[0013]

【実施例】以下、図面を参照して、本発明の一実施例に
係る情報処理装置、並びに、当該情報処理装置における
故障診断方法を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An information processing apparatus according to an embodiment of the present invention and a failure diagnosis method for the information processing apparatus will be described below with reference to the drawings.

【0014】図1を参照すると、本発明の一実施例に係
る情報処理装置は、CPU10と、このCPU10に外
付けされたWDT11とを有している。更に、CPU1
0内部には、マイクロプロセッサ(MPU)12、RO
M13、及び、RAM14が設けられており、この内、
ROM13には、プログラム、データ等が格納されてお
り、他方、RAM14には、データ、命令等が一時的に
格納される。また、ROM13には、後述するようなプ
ログラムも格納されている。これらROM13及びRA
M14は、アドレスバスAB及びデータバスDBを介し
て、MPU12と接続されている。
Referring to FIG. 1, an information processing apparatus according to an embodiment of the present invention has a CPU 10 and a WDT 11 externally attached to the CPU 10. Furthermore, CPU1
0 has a microprocessor (MPU) 12, RO
M13 and RAM14 are provided.
The ROM 13 stores programs, data, etc., while the RAM 14 temporarily stores data, instructions, etc. The ROM 13 also stores programs to be described later. ROM 13 and RA
The M14 is connected to the MPU 12 via the address bus AB and the data bus DB.

【0015】また、CPU10には、コールドスタート
モードとホットスタートモードとを識別、判定する起動
モード判定回路16が接続されている。この判定回路1
6としては、種々の回路が考えられるが、例えば、特開
昭63−307516号に記載された回路を使用するこ
とができる。一方、この起動モード判定回路16の機能
は、ROM13のプログラムによっても実現できる。こ
の場合、起動モード判定を行う手段はCPU内に内蔵さ
れた形となる。
The CPU 10 is also connected to a start mode determination circuit 16 that distinguishes between the cold start mode and the hot start mode. This judgment circuit 1
Although various circuits can be considered as 6, the circuit described in JP-A-63-307516 can be used, for example. On the other hand, the function of the startup mode determination circuit 16 can also be realized by the program of the ROM 13. In this case, the means for determining the start mode is built in the CPU.

【0016】簡単に言えば、起動モード判定は、電源電
圧Vccの投入に応答して、電源電圧Vccの投入をあらわ
す信号を発生すると共に、ホットスタートモードの場
合、当該ホットスタートモードをあらわす識別信号を発
生できるように、構成することによって実現できる。
Briefly, in the start mode determination, in response to the turning on of the power supply voltage Vcc, a signal indicating the turning on of the power supply voltage Vcc is generated and, in the case of the hot start mode, an identification signal indicating the hot start mode. Can be realized by configuring so as to generate.

【0017】図2を参照すると、WDT11を監視する
ためのプログラムが示されており、このプログラムは図
1のROM13に格納されている。まず、CPU10が
リセットされると、MPU12では、判定回路16から
の出力信号を検出して、起動モードの判定を行う(ステ
ップS1)。WDT11等によるホットスタートモード
が判定されると、ホットスタートモードに応じた通常処
理が実行される(ステップS2)。
Referring to FIG. 2, a program for monitoring the WDT 11 is shown, and this program is stored in the ROM 13 of FIG. First, when the CPU 10 is reset, the MPU 12 detects the output signal from the determination circuit 16 and determines the startup mode (step S1). When the hot start mode by the WDT 11 or the like is determined, normal processing according to the hot start mode is executed (step S2).

【0018】一方、ステップS1において、コールドス
タートモードであると判定されると、ステップS3に移
行して、プログラムはWDT11を監視するモードにな
る。したがって、ステップS1及びS3は、それぞれ、
コールドスタートモード及びホットスタートモードのよ
うな起動モードを判定する手段及びWDT11を監視す
る手段を構成している。
On the other hand, if it is determined in step S1 that the mode is the cold start mode, the process proceeds to step S3 and the program enters the mode for monitoring the WDT 11. Therefore, steps S1 and S3 are
It constitutes a means for determining a starting mode such as a cold start mode and a hot start mode, and means for monitoring the WDT 11.

【0019】ステップS3では、WDT11が働くのに
十分な時間待機する状態となり、この間、ウォッチドッ
クタイマー(WDT)処理を行わない。このステップS
3における待機時間は、システム毎に任意に定めること
ができる。また、待機時間は、CPU10の外部に取り
付けられた外付タイマー(図示せず)によって定められ
ても良いし、クロック等のカウント数の形で設定してお
いても良い。
In step S3, the WDT 11 waits for a sufficient time to work, and the watchdog timer (WDT) process is not performed during this time. This step S
The waiting time in 3 can be arbitrarily set for each system. The standby time may be determined by an external timer (not shown) attached outside the CPU 10, or may be set in the form of a count number such as a clock.

【0020】ステップS3において、待機時間内に、W
DT11が正常に動作すれば、CPU10にリセットが
かかり、再起動された時にはホットスタートモードとな
る。このホットスタートモードはステップS1で識別さ
れた後、ステップS2の通常処理に移る。
In step S3, within the waiting time, W
When the DT 11 operates normally, the CPU 10 is reset, and when it is restarted, the hot start mode is set. After the hot start mode is identified in step S1, the normal processing of step S2 is performed.

【0021】他方、ステップS3において、待機時間内
に、WDT11が動作しなかった場合、プログラムを実
行するMPU12は、ステップS4においてWDT11
の故障と判定する。したがって、ステップS4はWDT
11の故障を判定する判定手段を構成している。
On the other hand, if the WDT 11 does not operate within the waiting time in step S3, the MPU 12 executing the program executes the WDT 11 in step S4.
It is determined to be a failure. Therefore, step S4 is WDT.
The determination means for determining the failure of 11 is configured.

【0022】ステップS4でWDT11が故障と判定さ
れると、ステップS5に移行し、フェイルセーフ処置を
実行する。このフェイルセーフ処置では、故障の警報を
発生、報知したり、或いは、制御動作の停止等の処置を
行う。
When the WDT 11 is determined to be faulty in step S4, the process proceeds to step S5 and the fail safe measure is executed. In this fail-safe measure, a warning of failure is generated and notified, or a control operation is stopped.

【0023】図3(a)及び(b)を参照すると、本発
明の他の実施例に係る情報処理装置の概略構成が示され
ている。図3(a)では、WDT11の代わりに、CP
U10の異常を監視する監視回路20が使用されている
点で、図1に示された実施例とは異なっている。この監
視回路20は、CPU10から与えられる一定周期のパ
ルスAを監視し、このパルスが停止した場合、リセット
信号BをCPU10に出力して、CPU10が異常と判
定する回路である。
Referring to FIGS. 3A and 3B, there is shown a schematic configuration of an information processing apparatus according to another embodiment of the present invention. In FIG. 3 (a), CP is used instead of WDT11.
It differs from the embodiment shown in FIG. 1 in that a monitoring circuit 20 for monitoring the abnormality of U10 is used. The monitoring circuit 20 is a circuit that monitors a pulse A of a constant cycle given from the CPU 10 and outputs a reset signal B to the CPU 10 when the pulse stops to determine that the CPU 10 is abnormal.

【0024】より具体的に言えば、パルス信号Aはコン
デンサーを介して、監視回路20のNPNトランジスタ
Qに与えられる。このトランジスタQのコレクターは、
抵抗Rと充電用コンデンサーCとの接続点に接続されて
おり、且つ、抵抗Rの他端には、電源電圧Vccが与えら
れている。
More specifically, the pulse signal A is given to the NPN transistor Q of the monitoring circuit 20 via the capacitor. The collector of this transistor Q is
It is connected to the connection point between the resistor R and the charging capacitor C, and the power supply voltage Vcc is applied to the other end of the resistor R.

【0025】また、抵抗Rと充電用コンデンサーCとの
接続点は、比較器COMの入力端子の一方に接続されて
おり、比較器COMの入力端子の他方には、基準電圧V
が与えられている。
The connection point between the resistor R and the charging capacitor C is connected to one of the input terminals of the comparator COM, and the reference voltage V is applied to the other input terminal of the comparator COM.
Is given.

【0026】まず、監視回路20の通常状態における動
作を説明する。CPU10が正常に動作している場合、
図3(b)に示されるようなパルス信号Aが与えられて
おり、この結果、監視回路20のトランジスタQは、パ
ルス信号Aを受ける度毎に、電源電圧Vccにより充電さ
れている充電用コンデンサーCの電荷を放電する。この
ため、パルス信号Aが入力している間、トランジスタQ
のコレクター電圧Vcは図3(b)に示すように、鋸歯
状となり、基準電圧Vを越えない。したがって、比較器
COMは、リセット信号Bを出力せず、CPU10が正
常に動作していることを保証する。
First, the operation of the monitoring circuit 20 in the normal state will be described. If the CPU 10 is operating normally,
A pulse signal A as shown in FIG. 3B is given, and as a result, the transistor Q of the monitoring circuit 20 is charged by the power supply voltage Vcc every time the pulse signal A is received. The electric charge of C is discharged. Therefore, while the pulse signal A is being input, the transistor Q
As shown in FIG. 3 (b), the collector voltage Vc of the circuit has a sawtooth shape and does not exceed the reference voltage V. Therefore, the comparator COM does not output the reset signal B, and guarantees that the CPU 10 is operating normally.

【0027】一方、パルス信号Aが入力しなくなると、
充電用コンデンサーCに接続された比較器COMの入力
端子の電圧は、基準電圧Vよりも高くなり、この結果、
比較器COMからはリセット信号Bを出力し、CPU1
0をリセットし、CPU10の異常を指示する。
On the other hand, when the pulse signal A is no longer input,
The voltage at the input terminal of the comparator COM connected to the charging capacitor C becomes higher than the reference voltage V, and as a result,
The reset signal B is output from the comparator COM, and the CPU 1
0 is reset and the CPU 10 is instructed to be abnormal.

【0028】通常状態において上記したCPU10の監
視動作を行う監視回路20自身も、CPU20によっ
て、図1に示された実施例と同様に、その正常性を監視
される。まず、図1に関連して述べたように、起動モー
ド判定回路16でコールドスタートモードであることが
判定されると、監視回路20はCPU20が異常である
と判定するのに十分な時間(図3(b)のtの時間)、
即ち、充電用コンデンサーCの充電電圧が基準電圧を越
えるのに十分な時間、パルス信号Aを停止する。
The monitoring circuit 20 itself which performs the above-described monitoring operation of the CPU 10 in the normal state is also monitored by the CPU 20 for its normality, as in the embodiment shown in FIG. First, as described with reference to FIG. 1, when the startup mode determination circuit 16 determines that the cold start mode is in effect, the monitoring circuit 20 has sufficient time to determine that the CPU 20 is abnormal (see FIG. 3 (b) t),
That is, the pulse signal A is stopped for a sufficient time so that the charging voltage of the charging capacitor C exceeds the reference voltage.

【0029】もし、監視回路20が正常に動作している
場合には、パルス信号Aが時間tの間、停止されると、
リセット信号Bが比較器COMから出力され、CPU1
0はリセット状態となり、再起動される。このリセット
状態はホットスタートモードと同様であるため、CPU
10は、ホットスタートモードと判定すると共に、監視
回路20が正常に動作していると判定する。これらの判
定後、CPU10は通常の処理に移行する。
If the monitoring circuit 20 is operating normally and the pulse signal A is stopped for the time t,
The reset signal B is output from the comparator COM, and the CPU 1
0 is reset and restarted. This reset state is similar to the hot start mode, so the CPU
No. 10 determines that it is in the hot start mode, and also determines that the monitoring circuit 20 is operating normally. After these determinations, the CPU 10 shifts to normal processing.

【0030】他方、パルス信号Aが時間tの間、停止さ
れても、リセット信号Bが監視回路20からCPU10
に与えられない場合には、CPU10は、監視回路20
の故障と判定し、フェイルセーフ処理を実行し、故障の
警報、制御の停止等の処理を行う。
On the other hand, even if the pulse signal A is stopped for the time t, the reset signal B is sent from the monitoring circuit 20 to the CPU 10.
If not given to the monitoring circuit 20,
It is determined that the failure has occurred, fail-safe processing is executed, and processing such as failure warning and control stop is performed.

【0031】上に述べたように、この実施例では、CP
U10を監視する監視回路20自身の故障の有無を監
視、検出できる。
As mentioned above, in this embodiment, the CP
It is possible to monitor and detect whether or not there is a failure in the monitoring circuit 20 itself that monitors U10.

【0032】図4を参照すると、本発明の更に他の実施
例に係る情報処理装置は、図3と同様に、CPU10の
故障を監視する監視回路20´を備えており、図示され
た監視回路20´は、尋問及び判定部21を備えてい
る。ここで、尋問及び判定部21は、CPU10の動作
の正常性を監視、確認するために、CPU10に対して
尋問信号Xを出力する。この尋問信号Xは、例えば、
(1+1=?)のような質問をあらわす信号であり、こ
れに対して、CPU10は、回答信号Yを監視回路20
´に送出する。上記した例の場合、回答信号Yが”2”
であれば、CPU10は正常に動作していると、監視回
路20´は判定する。回答信号Yが”2”以外の場合に
は、CPU10は異常であると、監視回路20´は判定
して、リセット信号RSをCPU10に送出する。リセ
ット信号RSを受けると、CPU10は再起動されるこ
とになる。
Referring to FIG. 4, an information processing apparatus according to yet another embodiment of the present invention includes a monitoring circuit 20 'for monitoring a failure of the CPU 10, as in FIG. The reference numeral 20 ′ includes an interrogation and determination section 21. Here, the interrogation and determination unit 21 outputs an interrogation signal X to the CPU 10 in order to monitor and confirm the normality of the operation of the CPU 10. This interrogation signal X is, for example,
(1 + 1 =?) Is a signal indicating a question, and the CPU 10 sends the answer signal Y to the monitoring circuit 20.
Send to ' In the case of the above example, the response signal Y is "2".
If so, the monitoring circuit 20 'determines that the CPU 10 is operating normally. When the response signal Y is other than "2", the monitoring circuit 20 'determines that the CPU 10 is abnormal and sends the reset signal RS to the CPU 10. Upon receiving the reset signal RS, the CPU 10 will be restarted.

【0033】一方、この実施例に係るCPU10は、起
動モードの判定の結果、コールドスタートモードと判定
されると、監視回路20´からの尋問信号Xに対して、
意図的に誤った回答信号Yを監視回路20´に出力し、
監視回路20´がCPU10の異常を判定するのに十分
な時間、待機する。
On the other hand, when the CPU 10 according to this embodiment determines the cold start mode as a result of the determination of the start mode, the CPU 10 responds to the interrogation signal X from the monitoring circuit 20 '.
By intentionally outputting an incorrect response signal Y to the monitoring circuit 20 ',
The monitoring circuit 20 'waits for a sufficient time to determine the abnormality of the CPU 10.

【0034】意図的に誤った回答信号Yを受けた監視回
路20´が正常に動作している場合には、監視回路20
´はリセット信号RSをCPU10に返送して、CPU
10にリセットを掛ける。この結果、CPU10は再起
動されて、ホットスタートモードなり、監視回路20´
の正常性を確認する。このように、監視回路20´が正
常に動作していると判定された場合には、CPU10は
通常の処理に移行する。
When the monitoring circuit 20 'which has intentionally received an incorrect answer signal Y is operating normally, the monitoring circuit 20'
′ Returns the reset signal RS to the CPU 10
Reset to 10. As a result, the CPU 10 is restarted to enter the hot start mode, and the monitoring circuit 20 '
Check the normality of. In this way, when it is determined that the monitoring circuit 20 'is operating normally, the CPU 10 shifts to normal processing.

【0035】また、意図的に誤った回答信号Yを受けた
監視回路20´がCPU10の異常を判断できず、結果
として、監視回路20´からリセット信号RSがCPU
10に送出されなかった場合には、CPU10は監視回
路20´の故障と判定し、他の実施例と同様な処理を行
う。
Further, the monitoring circuit 20 'which intentionally receives the incorrect reply signal Y cannot judge the abnormality of the CPU 10, and as a result, the reset signal RS is sent from the monitoring circuit 20' to the CPU.
If it is not sent to the CPU 10, the CPU 10 determines that the monitoring circuit 20 'has a failure, and performs the same processing as in the other embodiments.

【0036】上記した実施例におけるWDT11、監視
回路20、20´は、単に、監視回路と総称されて良
い。
The WDT 11 and the monitoring circuits 20 and 20 'in the above embodiments may be simply referred to as a monitoring circuit.

【0037】[0037]

【発明の効果】以上述べたように、本発明では、WDT
等の監視回路における故障の有無をコールドスタートの
度毎に、判定できるため、監視回路に故障が発生した場
合にも、監視回路の故障状態が長時間にわたって放置さ
れることがなく、情報処理装置全体における信頼性、安
全性を向上させることができる。
As described above, according to the present invention, the WDT is
Since it is possible to determine whether or not there is a failure in the monitoring circuit for each cold start, even if a failure occurs in the monitoring circuit, the failure state of the monitoring circuit is not left for a long time, and the information processing device The overall reliability and safety can be improved.

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

【図1】本発明に一実施例に係る情報処理装置の概略構
成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an information processing apparatus according to an embodiment of the present invention.

【図2】図1に示された情報処理装置の故障検出動作を
説明するためのフローチャートである。
FIG. 2 is a flowchart for explaining a failure detection operation of the information processing apparatus shown in FIG.

【図3】(a)は本発明の他の実施例に係る情報処理装
置の概略構成を示すブロック図である。(b)は図3
(a)の動作を説明するためのタイムチャートである。
FIG. 3A is a block diagram showing a schematic configuration of an information processing apparatus according to another embodiment of the present invention. (B) is FIG.
It is a time chart for explaining operation of (a).

【図4】本発明の更に他の実施例に係る情報処理装置の
概略構成を示すブロック図である。
FIG. 4 is a block diagram showing a schematic configuration of an information processing apparatus according to still another embodiment of the present invention.

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

10 CPU 11 ウォッチドックタイマー(WD
T) 12 マイクロプロセッサー(MPU) 13 ROM 14 RAM 16 起動モード判定回路 20、20´ 監視回路 21 尋問及び判定部
10 CPU 11 Watchdog timer (WD
T) 12 microprocessor (MPU) 13 ROM 14 RAM 16 startup mode determination circuit 20, 20 'monitoring circuit 21 interrogation and determination unit

フロントページの続き (72)発明者 大藤 眞弘 神奈川県横浜市神奈川区新浦島町1丁目1 番地25 日本電気ロボットエンジニアリン グ株式会社内Continued Front Page (72) Inventor Masahiro Ofuji 1-1, Shinrashima-cho, Kanagawa-ku, Yokohama, Kanagawa Prefecture NEC Robot Engineering Co., Ltd. 25

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置(以下、CPUと略称す
る)及びCPUを監視する監視回路とを備え、コールド
スタートモード及びホットスタートモードのいずれかに
より起動される情報処理装置において、前記コールドス
タートモード及びホットスタートモードとを識別する手
段と、前記コールドスタートモードの際、監視回路が動
作するのに十分な待機時間、待機状態となり、監視回路
の動作を待つ手段と、前記待機時間内に、監視回路から
のリセット信号が無い場合、監視回路の故障と判定する
判定手段とを備え、前記待機時間内に監視回路からリセ
ット信号をうけると、ホットスタートモードで起動する
ことにより、監視回路の正常状態を確認できることを特
徴とする情報処理装置。
1. An information processing apparatus comprising a central processing unit (hereinafter abbreviated as CPU) and a monitoring circuit for monitoring the CPU, wherein the information processing apparatus is activated in either a cold start mode or a hot start mode, wherein the cold start mode is used. And a means for distinguishing between the hot start mode and a means for waiting the operation of the monitoring circuit in a standby state for a sufficient time for the monitoring circuit to operate in the cold start mode, and for monitoring during the waiting time. If there is no reset signal from the circuit, the monitoring circuit is provided with a judging means for judging a failure of the monitoring circuit, and when the reset signal is received from the monitoring circuit within the waiting time, the monitoring circuit is started in the hot start mode, thereby the normal state of the monitoring circuit An information processing device characterized by being able to confirm.
【請求項2】 請求項1において、前記判定手段におい
て監視回路の故障と判定された場合、警報を発生する警
報発生手段を備えていることを特徴とする情報処理装
置。
2. The information processing apparatus according to claim 1, further comprising an alarm generation unit that generates an alarm when the determination unit determines that the monitoring circuit has failed.
【請求項3】 請求項1において、前記判定手段におい
て監視回路の故障と判定された場合、フェイルセーフ処
置を行う手段を有していることを特徴とする情報処理装
置。
3. The information processing apparatus according to claim 1, further comprising means for performing a fail-safe measure when the determination means determines that the monitoring circuit has failed.
【請求項4】 CPU及び監視回路とを備え、コールド
スタートモード及びホットスタートモードのいずれかに
より起動される情報処理装置の故障診断方法において、
コールドスタートモードの際、監視回路が動作するのに
十分な待機時間、待機状態となり、この待機時間内に監
視回路からリセット信号が無い場合には、監視回路の故
障と判定することを特徴とする故障診断方法。
4. A failure diagnosis method for an information processing apparatus, comprising a CPU and a monitoring circuit, which is activated in either a cold start mode or a hot start mode,
In the cold start mode, the monitoring circuit is in a standby state for a sufficient waiting time for operation, and if there is no reset signal from the monitoring circuit within this waiting time, it is determined that the monitoring circuit has failed. Failure diagnosis method.
【請求項5】 請求項4において、前記待機時間内に監
視回路からリセット信号が出力されると、ホットスター
トモードで起動され、これによって、監視回路の正常性
を確認できることを特徴とする故障診断方法。
5. The fault diagnosis according to claim 4, wherein when a reset signal is output from the monitor circuit within the waiting time, the monitor circuit is activated in a hot start mode, whereby the normality of the monitor circuit can be confirmed. Method.
JP7008650A 1995-01-24 1995-01-24 Information processor and fault diagnostic method Withdrawn JPH08202589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7008650A JPH08202589A (en) 1995-01-24 1995-01-24 Information processor and fault diagnostic method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7008650A JPH08202589A (en) 1995-01-24 1995-01-24 Information processor and fault diagnostic method

Publications (1)

Publication Number Publication Date
JPH08202589A true JPH08202589A (en) 1996-08-09

Family

ID=11698822

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7008650A Withdrawn JPH08202589A (en) 1995-01-24 1995-01-24 Information processor and fault diagnostic method

Country Status (1)

Country Link
JP (1) JPH08202589A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1295602C (en) * 2003-04-23 2007-01-17 华为技术有限公司 System of capable of identifying cold boot and warm boot, and method for quickenning speed of starting up system
CN1311337C (en) * 2004-06-24 2007-04-18 华为技术有限公司 Realization and maintainment for running mode of preventing apparatus
US7305587B2 (en) 2003-02-27 2007-12-04 Denso Corporation Electronic control unit for monitoring a microcomputer
JP2009142304A (en) * 2007-12-11 2009-07-02 Daiichi Shokai Co Ltd Game machine
JP2023178072A (en) * 2022-06-03 2023-12-14 フジテック株式会社 Control device, control method, and passenger transport control device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7305587B2 (en) 2003-02-27 2007-12-04 Denso Corporation Electronic control unit for monitoring a microcomputer
CN1295602C (en) * 2003-04-23 2007-01-17 华为技术有限公司 System of capable of identifying cold boot and warm boot, and method for quickenning speed of starting up system
CN1311337C (en) * 2004-06-24 2007-04-18 华为技术有限公司 Realization and maintainment for running mode of preventing apparatus
JP2009142304A (en) * 2007-12-11 2009-07-02 Daiichi Shokai Co Ltd Game machine
JP2023178072A (en) * 2022-06-03 2023-12-14 フジテック株式会社 Control device, control method, and passenger transport control device

Similar Documents

Publication Publication Date Title
US6883123B2 (en) Microprocessor runaway monitoring control circuit
JP3520662B2 (en) Monitoring device for electronic control unit
CN105868060B (en) Method for operating a data processing unit of a driver assistance system and data processing unit
JPH08202589A (en) Information processor and fault diagnostic method
JP2593915B2 (en) Double microcomputer system runaway prevention circuit
CN111475292A (en) Server system and frequency control device of processor in server system
US11726853B2 (en) Electronic control device
JP2009003663A (en) Power control device
JPH08115235A (en) Abnormality detector for controller and method therefor
JP2002196948A (en) Operation control device
JP2659067B2 (en) Microcomputer reset circuit
JP2536789Y2 (en) Device for preventing malfunction of microcomputer system
JP4126849B2 (en) Multi-CPU system monitoring method
US20020129303A1 (en) Method and device for improving the reliability of a computer system
JPH04256038A (en) Watchdog timer inspecting device
JP4613019B2 (en) Computer system
JP2990008B2 (en) Processor self-diagnosis method
JP2004310291A (en) Cpu system equipped with watchdog timer failure detecting circuit
JP2818437B2 (en) Fault detection circuit
JP3082806B2 (en) Fault diagnosis device
JPH02281343A (en) Cpu operation monitor system
JPH0581080A (en) Runaway supervisory device for micro processor
JP2023170679A (en) On-vehicle device, program and information processing method
JPH06139088A (en) Duplex processor system
JPH01303534A (en) Resetting system for runaway of bus master unit

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