JPH03222020A - Reset system for multi-micro processor system - Google Patents

Reset system for multi-micro processor system

Info

Publication number
JPH03222020A
JPH03222020A JP2017292A JP1729290A JPH03222020A JP H03222020 A JPH03222020 A JP H03222020A JP 2017292 A JP2017292 A JP 2017292A JP 1729290 A JP1729290 A JP 1729290A JP H03222020 A JPH03222020 A JP H03222020A
Authority
JP
Japan
Prior art keywords
reset
microprocessor
abnormality
circuit
signal
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.)
Granted
Application number
JP2017292A
Other languages
Japanese (ja)
Other versions
JP2998804B2 (en
Inventor
Akira Oba
章 大庭
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2017292A priority Critical patent/JP2998804B2/en
Publication of JPH03222020A publication Critical patent/JPH03222020A/en
Application granted granted Critical
Publication of JP2998804B2 publication Critical patent/JP2998804B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To eliminate a wasteful processing time by permitting a selected micro processor to control the resetting of the other micro processor when the abnormality of the other micro processor is detected. CONSTITUTION:When a program runaway occurs in the micro processor 12 and a watch dog timer (WDT) 15 diagnoses abnormality, the output of abnormality diagnosis is given to a reset control circuit 17. Information on the presence of abnormality is given to the micro processor 11 by the operation of the circuit 17. The processor 11 always supervises the state of the processor 12. When the presence of abnormality is recognized, it is judged which method is optimum for systematically operating the micro processor with abnormality. A reset signal is outputted to the reset circuit 17 based on the judgement result and resetting as against the processor 12 is controlled.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、複数個の→イクロプロセッサを電気的に結合
して各マイクロプロセッサ間でデータ交換等を行なうマ
ルチマイクロプロセッサのリセット方式に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a multi-microprocessor in which a plurality of microprocessors are electrically coupled to exchange data between each microprocessor. Regarding the reset method.

(従来の技術) 第4図において、第1のマイクロプロセッサ1と第2の
マイクロプロセッサ2とはパスライン3によって電気的
に結合しており、互いにデータ交換等を行なう、いわゆ
るマルチマイクロプロセッサシステムを構築している。
(Prior Art) In FIG. 4, a first microprocessor 1 and a second microprocessor 2 are electrically coupled by a path line 3, and form a so-called multi-microprocessor system in which they exchange data with each other. is building.

第1.第2のマイクロプロセッサ1.2にはそれぞれプ
ログラムの異常ループや暴走を検知するための異常診断
回路としてのウォッチドッグタイマ(以下VDTと略称
する)4.5が設けられており、各WDT4゜5の出力
信号はそれぞれゲート回路6.7を介して対応するマイ
クロプロセッサ1.2に入力されている。
1st. Each second microprocessor 1.2 is provided with a watchdog timer (hereinafter abbreviated as VDT) 4.5 as an abnormality diagnostic circuit for detecting an abnormal loop or runaway of the program. The output signals of each are input to the corresponding microprocessor 1.2 via a gate circuit 6.7.

一方、システムの電源スィッチ8のオン操作、またはリ
セットスイッチ9のオン操作を検出してリセット信号を
生成するリセット検出回路10が、前記ゲート回路6,
7を介して第1.第2のマイクロプロセッサ1.2にそ
れぞれ接続されている。
On the other hand, a reset detection circuit 10 detects the on operation of the power switch 8 or the on operation of the reset switch 9 of the system and generates a reset signal.
1st through 7. each connected to a second microprocessor 1.2.

しかして、リセット検出回路1oが電源スィッチ8のオ
ン操作、またはリセットスイッチ9のオン操作を検出し
てリセット信号が出力されると、このリセット信号はゲ
ート回路6.7を介して第1、第2のマイクロプロセッ
サ1.2にそれぞれ入力され、第1.第2のマイクロプ
ロセッサ1゜2はともにリセットがかかる。また、例え
ば第1のマイクロプロセッサ1においてハードウェアの
部品不良やノイズあるいはソフトウェアのバグ等により
プログラムが暴走した場合、このプログラム暴走をWD
T4が検知して異常診断信号がゲート回路6を介して第
1のマイクロプロセッサ1に入力され、第1のマイクロ
プロセッサ1はリセットがかかる。そしてリセット解除
後、この第1のマイクロプロセッサ1のみ初期起動動作
が行なわれ、見掛は上、システムは正常に動き続けるも
のとなる。第2のマイクロプロセッサ2においてプログ
ラム暴走などが発生した場合も同様で、WDT5により
異常診断されると第2のマイクロプロセッサ2にリセッ
トがかかり、リセット解除後、この第2のマイクロプロ
セッサ2のみ初期起動動作が行なわれる。
When the reset detection circuit 1o detects the ON operation of the power switch 8 or the ON operation of the reset switch 9 and outputs a reset signal, this reset signal is transmitted to the first and second gates via the gate circuit 6.7. 2 microprocessors 1.2 respectively; Both the second microprocessors 1 and 2 are reset. For example, if a program runs out of control in the first microprocessor 1 due to a defective hardware component, noise, or a software bug, the program runaway can be prevented by the WD.
T4 is detected and an abnormality diagnosis signal is input to the first microprocessor 1 via the gate circuit 6, and the first microprocessor 1 is reset. After the reset is released, only this first microprocessor 1 performs an initial startup operation, and the system continues to operate normally despite its appearance. The same applies when a program runaway occurs in the second microprocessor 2. When an abnormality is diagnosed by the WDT 5, the second microprocessor 2 is reset, and after the reset is released, only this second microprocessor 2 is initially activated. An action is taken.

従って、一方のマイクロプロセッサにおいてプログラム
暴走等が発生して、そのマイクロプロセッサがリセット
中あるいはリセット解除後の初期起動動作中であっても
、他方のマイクロプロセッサはその事情を知り得す、通
常通り相手側とデータのやり取りを行なおうとする。こ
の場合、異常となった相手系からの応答がないため数回
のりトライを繰り返してエラーとなるので、このリトラ
イ時間およびタイムアウト時間の間、各種動作が停止し
てしまう不都合が発生する。
Therefore, even if a program runaway occurs in one microprocessor and that microprocessor is in the process of being reset or in the initial startup operation after the reset is released, the other microprocessor will be aware of the situation and will continue to operate as usual. Trying to exchange data with the other side. In this case, since there is no response from the partner system that has become abnormal, the connection attempt is repeated several times and an error occurs, resulting in the inconvenience that various operations are stopped during this retry time and timeout time.

(発明が解決しようとする課題) このように従来技術にあっては、他のマイクロプロセッ
サの異常を認知できないので、マイクロプロセッサ間の
データのやり取りに不備が生じ、無駄な処理時間が発生
する不都合が生じていた。
(Problem to be Solved by the Invention) In this way, in the conventional technology, abnormalities in other microprocessors cannot be detected, which causes problems in data exchange between microprocessors, resulting in wasted processing time. was occurring.

本発明はこのような事情に基づいてなされたもので、そ
の目的とするところは、他のマイクロプロセッサの異常
を確実に認知でき、無駄な処理時間を無くしつつ異常マ
イクロプロセッサのリセットを制御できるマルチマイク
ロプロセッサシステムのリセット方式を提供しようとす
るものである。
The present invention was made based on the above circumstances, and its purpose is to provide a multiprocessor that can reliably recognize abnormalities in other microprocessors and control the reset of abnormal microprocessors while eliminating wasted processing time. It attempts to provide a reset method for microprocessor systems.

(課題を解決するための手段と作用) 本発明は、上記課題を解決し目的を達成するためにする
ために、各マイクロプロセッサのうちの任意の1個を選
定し、この選定されたマイクロプロセッサは、他のマイ
クロプロセッサの異常診断回路の出力信号を入力し、こ
の入力信号に基づいて他のマイクロプロセッサの異常判
定を行ない、異常を検出したときその異常マイクロプロ
セッサに対するリセットを制御するようにしたものであ
る。
(Means and Effects for Solving the Problems) In order to solve the above problems and achieve the purpose, the present invention selects any one of the microprocessors, and selects the selected microprocessor. inputs the output signal of the abnormality diagnosis circuit of another microprocessor, determines whether the other microprocessor is abnormal based on this input signal, and controls the reset of the abnormal microprocessor when an abnormality is detected. It is something.

そして、選定されたマイクロプロセッサは、システムの
リセット信号と自己の異常診断回路の出力信号とを入力
し、システムのリセット信号によりリセットがかけられ
たときには他の全てのマイクロプロセッサに対するリセ
ットを制御し、自己の異常診断回路の出力信号によりリ
セットがかけられたときには自身のみリセットを制御す
ることが望ましい。
The selected microprocessor inputs the system reset signal and the output signal of its own abnormality diagnosis circuit, and when reset is applied by the system reset signal, controls the reset of all other microprocessors, When a reset is applied by the output signal of its own abnormality diagnosis circuit, it is desirable that only the reset is controlled by itself.

(実施例) 以下、本発明の一実施例を図面を参照しながら説明する
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図において、第1のマイクロプロセッサ11と第2
のマイクロプロセッサ12とはパスライン13によって
電気的に結合しており、互いにデータ交換等を行なう、
いわゆるマルチマイクロプロセッサシステムを構築して
いる。第1.第2のマイクロプロセッサ11.12には
それぞれプログラムの異常ループやS走を検知するため
の異常診断回路としてのVDT(ウォッチ・ドッグ・タ
イマ)14.15が設けられている。そして、WDT1
4の出力信号はゲート回路16を介して第1のマイクロ
プロセッサ11に入力されており、WDT15の出力信
号はリセット制御回路17を介してやはり第1のマイク
ロプロセッサ11に入力されている。上記リセット制御
回路17は第1のマイクロプロセッサ11の支配下にあ
り、WDT15からの出力信号を取り込んで第1のマイ
クロプロセッサ11に与える機能と、第1のマイクロプ
ロセッサ11からの指令に応じて第2のマイクロプロセ
ッサ12にリセット信号を送出する機能とを有する。
In FIG. 1, a first microprocessor 11 and a second
It is electrically connected to the microprocessor 12 by a pass line 13, and exchanges data with each other.
We are building a so-called multi-microprocessor system. 1st. The second microprocessors 11 and 12 are each provided with a VDT (watch dog timer) 14 and 15 as an abnormality diagnostic circuit for detecting an abnormal program loop or S run. And WDT1
The output signal of WDT 15 is also input to the first microprocessor 11 via the reset control circuit 17. The reset control circuit 17 is under the control of the first microprocessor 11, and has the function of taking in the output signal from the WDT 15 and providing it to the first microprocessor 11, and the function of receiving the output signal from the WDT 15 and providing it to the first microprocessor 11. It has a function of sending a reset signal to the second microprocessor 12.

一方、システムの電源スィッチ18のオン操作、または
リセットスイッチ19のオン操作を検出してリセット信
号を生成するリセット検出回路20が、前記ゲート回路
16を介して第1のマイクロプロセッサ11に接続され
ている。
On the other hand, a reset detection circuit 20 is connected to the first microprocessor 11 via the gate circuit 16 and generates a reset signal by detecting an on operation of the power switch 18 or a reset switch 19 of the system. There is.

第2図は上記第1のマイクロプロセッサ11及びその周
辺回路の本発明に関わる主要構成部を示すブロック図で
ある。マイクロプロセッサ11は、制御部本体としての
CPU (中央処理装置)21にプログラムデータ等を
記憶するメモリ部22、他方の第2のマイクロプロセッ
サ12との間でパスライン13を介して行われるデータ
送受信を制御する伝送コントローラ23等の他に、第1
のステータスポート24、第2のステータスポート25
及びコマンドラッチポート26の各人出力ポートを内部
バス27を介して接続している。
FIG. 2 is a block diagram showing the main components of the first microprocessor 11 and its peripheral circuits related to the present invention. The microprocessor 11 includes a CPU (Central Processing Unit) 21 serving as a main body of the control unit, a memory unit 22 for storing program data, etc., and data transmission/reception between the second microprocessor 12 and the other second microprocessor 12 via a pass line 13. In addition to the transmission controller 23 etc. that controls the
status port 24, second status port 25
and the respective output ports of the command latch port 26 are connected via an internal bus 27.

上記第1のステータスポート24には、前記リセット制
御回路17の異常信号処理部28が接続されている。こ
の異常信号処理部28は、前記第2のマイクロプロセッ
サ12のWDT15からの出力信号を取込み所定の信号
処理を施して第1のマイクロプロセッサ11へ与えるも
のである。
An abnormality signal processing section 28 of the reset control circuit 17 is connected to the first status port 24 . This abnormal signal processing section 28 takes in the output signal from the WDT 15 of the second microprocessor 12, performs predetermined signal processing, and supplies it to the first microprocessor 11.

上記第2のステータスポート25には、前記リセット検
出回路20からのリセット信号および前記WDT14に
おける異常診断出力に応じてリセット信号を生成するリ
セット生成回路2つがゲート回路30を介して入力され
るようになっている。
Two reset generation circuits that generate a reset signal in response to a reset signal from the reset detection circuit 20 and an abnormality diagnosis output from the WDT 14 are input to the second status port 25 via a gate circuit 30. It has become.

上記コマンドラッチポート26は、前記第2のマイクロ
プロセッサ12に対するリセット信号を送出するための
もので、ゲート回路31を介してリセット制御回路31
のリセット信号処理部32に接続されている。なおこの
ポート26は、前記リセット検出回路20からのリセッ
ト信号によりリセットがかかるようになっている。一方
、上記′リセット信号処理部32には前記リセット検出
回路20からのリセット信号もゲート回路31を介して
与えられるようになっている。このリセット信号処理部
32は、ゲート回路31を介して取り込んだリセット信
号に所定の信号処理を施して第2のマイクロプロセッサ
12にリセットをかけるものである。
The command latch port 26 is for sending a reset signal to the second microprocessor 12, and is connected to the reset control circuit 31 via the gate circuit 31.
It is connected to the reset signal processing section 32 of. Note that this port 26 is reset by a reset signal from the reset detection circuit 20. On the other hand, a reset signal from the reset detection circuit 20 is also applied to the 'reset signal processing section 32 via a gate circuit 31. The reset signal processing section 32 performs predetermined signal processing on the reset signal taken in through the gate circuit 31 to reset the second microprocessor 12 .

このように構成された本実施例においては、電源スィッ
チ18のオン操作あるいはリセットスイッチ1つのオン
操作に応じてリセット検出回路20からリセット信号が
出力されると、このリセット信号がゲート回路16を介
して第1のマイクロプロセッサ11に入力される。第1
のマイクロプロセッサ11においては、上記リセット検
出回路20からのリセット信号がゲート回路30を介し
てステータスポート25に与えられるとCPU21がこ
れを検知してリセットがかかる。
In this embodiment configured in this manner, when a reset signal is output from the reset detection circuit 20 in response to an ON operation of the power switch 18 or an ON operation of one reset switch, this reset signal is outputted via the gate circuit 16. and is input to the first microprocessor 11. 1st
In the microprocessor 11, when the reset signal from the reset detection circuit 20 is applied to the status port 25 via the gate circuit 30, the CPU 21 detects this and performs a reset.

また、上記リセット検出回路20からのリセット信号は
ゲート回路31を介してリセット制御回路17のリセッ
ト信号処理部32に与えられる。これにより、第2のマ
イクロプロセッサ12もリセットがかけられる。
Further, the reset signal from the reset detection circuit 20 is given to the reset signal processing section 32 of the reset control circuit 17 via the gate circuit 31. As a result, the second microprocessor 12 is also reset.

また、第1のマイクロプロセッサ11においてプログラ
ム暴走等が発生し、WDT14によって異常診断がなさ
れると、この異常診断出力に応じてリセット生成回路2
9にてリセット信号が生成され、このリセット信号が上
記と同様にゲート回路30を介してステータスポート2
5に与えられる。従って、第1のマイクロプロセッサ1
1はリセットがかかることになる。
Furthermore, when a program runaway or the like occurs in the first microprocessor 11 and an abnormality diagnosis is made by the WDT 14, the reset generation circuit 2 responds to this abnormality diagnosis output.
A reset signal is generated at 9, and this reset signal is sent to the status port 2 via the gate circuit 30 in the same manner as above.
given to 5. Therefore, the first microprocessor 1
1 will require a reset.

一方、第2のマイクロプロセッサ12においてプログラ
ム暴走等が発生し、WDT15によって異常診断がなさ
れた場合には、この異常診断出力がリセット制御回路1
7の異常信号処理部28に与えられる。そして、この異
常信号処理部28の作用により第1のマイクロプロセッ
サ11のステータスポート24に対して異常発生有りの
情報が付与される。CPU21はステータスポート24
を介して第2のマイクロプロセッサ12の状態を常時監
視しており、異常発生有りを認識した場合には、システ
ム的にこの異常マイクロプロセッサ12をどのように動
かすのが最適なのかを判定する。そして、その判定結果
に基いてコマンドラッチポート26からリセット信号を
リセット制御回路17のリセット信号処理部32に出力
し、第2のマイクロプロセッサ12に対するリセットを
制御する。すなわち、第2のマイクロプロセッサ12の
機能が他のマイクロプロセッサにてバックアップされる
ような冗長化システムのような場合および数回連続して
異常発生リスタートを繰り返しているような場合にはリ
セット信号を連続的に出力して第2のマイクロプロセッ
サ12の動作を停止させる。またシステム的に機能がバ
ックアップされておらず異常発生が連続して起きていな
いような場合にはリセット信号を一定時間出力して第2
のマイクロプロセッサ12を再スタートさせる。
On the other hand, if a program runaway or the like occurs in the second microprocessor 12 and an abnormality diagnosis is made by the WDT 15, this abnormality diagnosis output is sent to the reset control circuit 1.
The signal is given to the abnormal signal processing unit 28 of No. 7. Then, by the action of the abnormality signal processing unit 28, information indicating that an abnormality has occurred is given to the status port 24 of the first microprocessor 11. CPU21 is status port 24
The state of the second microprocessor 12 is constantly monitored via the microprocessor 12, and when it is recognized that an abnormality has occurred, it is determined how best to operate the abnormal microprocessor 12 system-wise. Then, based on the determination result, a reset signal is output from the command latch port 26 to the reset signal processing section 32 of the reset control circuit 17, and the reset to the second microprocessor 12 is controlled. That is, in the case of a redundant system in which the functions of the second microprocessor 12 are backed up by another microprocessor, or in the case of repeated restarts due to abnormality several times in succession, the reset signal is not used. is continuously output to stop the operation of the second microprocessor 12. In addition, if the system function is not backed up and abnormalities do not occur continuously, a reset signal is output for a certain period of time and the second
The microprocessor 12 of the computer is restarted.

このように本実施例によれば、第1のマイクロプロセッ
サ11が第2のマイクロプロセッサ12の動作状況を常
に監視しており、第2のマイクロプロセッサ12に異常
が発生した場合にはそれに応じて第2のマイクロプロセ
ッサ12のリセットを制御できるので、プロセッサ間で
のデータのやり取りが異常となることを防止できる。従
って、プロセッサのダウンによるシステム的な影響を最
小限に抑制できる効果を奏する。
As described above, according to this embodiment, the first microprocessor 11 constantly monitors the operating status of the second microprocessor 12, and when an abnormality occurs in the second microprocessor 12, the system takes appropriate action accordingly. Since the reset of the second microprocessor 12 can be controlled, abnormal data exchange between the processors can be prevented. Therefore, it is possible to minimize the effects on the system caused by the failure of the processor.

なお、本発明を2つのマイクロプロセッサからなるマル
チマイクロプロセッサシステムに適用した場合を例示し
たがこれに限定されるものではなく、3つ以上のプロセ
ッサからなるシステムに対しても、リセット制御回路1
7を増設し、かついずれか1つのプロセッサに本実施例
の第1のマイクロプロセッサ11と同様の機能を持たせ
ることによって適用可能であるのは勿論である。
Although the present invention is applied to a multi-microprocessor system consisting of two microprocessors, the present invention is not limited to this, and the reset control circuit 1 may also be applied to a system consisting of three or more processors.
Of course, the present invention can be applied by adding a microprocessor 7 and providing one of the processors with a function similar to that of the first microprocessor 11 of this embodiment.

ところで、前記実施例においては第1のマイクロプロセ
ッサ11の信頼性が重要となる。すなわち、第1のマイ
クロプロセッサ11が自身のプログラム異常により他の
全てのプロセッサをリセットさせてしまうと、重大な故
障に発展してしまうおそれかある。そこで、次に第1の
マイクロプロセッサ11が自身の異常時に他のプロセッ
サに影響を及ぼさないリセット方式の実施例について述
べる。なお、説明の便宜上、マルチマイクロプロセッサ
システムとして第1図に示すシステムに適用した場合の
実施例を述べる。
Incidentally, in the embodiment described above, the reliability of the first microprocessor 11 is important. That is, if the first microprocessor 11 resets all other processors due to an abnormality in its own program, there is a risk that a serious failure will develop. Next, an embodiment of a reset method will be described in which the first microprocessor 11 does not affect other processors when the first microprocessor 11 has an abnormality. For convenience of explanation, an example will be described in which the present invention is applied to the system shown in FIG. 1 as a multi-microprocessor system.

第3図はこの他の実施例における第1のマイクロプロセ
ッサ11及びその周辺回路の本発明に関わる主要構成部
を示すブロック図である。この実施例が前記実施例と異
なる点は、WDT14からの出力信号をクロックパルス
入力とし、基準電源VCCをD入力としたD型フリップ
フロップ40を設ける。そして、このフリップフロップ
40のQ出力を取り込むステータスポート41を前記C
PU21に接続された内部バス27に設けた点である。
FIG. 3 is a block diagram showing the main components related to the present invention of the first microprocessor 11 and its peripheral circuits in another embodiment. This embodiment differs from the previous embodiments in that it is provided with a D-type flip-flop 40 whose clock pulse input is the output signal from the WDT 14 and whose D input is the reference power supply VCC. Then, the status port 41 that takes in the Q output of this flip-flop 40 is connected to the C
This point is provided in the internal bus 27 connected to the PU 21.

それ以外の部分については前記実施例と同様であるので
同一部分には同一符号を付し、詳しい説明は省略する。
Since the other parts are the same as those in the previous embodiment, the same parts are given the same reference numerals and detailed explanations will be omitted.

このような構成の本実施例においては、第2のマイクロ
プロセッサ12にプログラム暴走などが生じてWDT1
5から異常診断出力が出力されると、CPU21はステ
ータスポート24を介してこの異常診断出力を検出し、
コマンドラッチポート26を介して第2のマイクロプロ
セッサ12に適宜リセットをかける。
In this embodiment with such a configuration, if a program runaway occurs in the second microprocessor 12, the WDT1
5 outputs an abnormality diagnosis output, the CPU 21 detects this abnormality diagnosis output via the status port 24,
The second microprocessor 12 is appropriately reset via the command latch port 26.

これに対し、第1のマイクロプロセッサ11にプログラ
ム暴走などが生じてWDT14から異常診断出力が出力
された場合には、リセット生成回路29にて生成された
リセット信号がステータスポート25に入力され、第1
のマイクロプロセッサ11にリセットがかかる。このと
き、フリップフロップ40がセットされるので、CPU
21はリセット解除後ステータスポート41の状態を読
取ることにより今回のリセットが自身の異常によるリセ
ットであることを確認できる。そこで、CPU21はリ
セット解除後、ステータスポート41へのQ出力がセッ
トされている場合には他のプロセッサは正常動作を実行
中であると判定して他のプロセッサに影響を及すことな
く自身の初期起動動作を起動する。こうすることにより
、第1のマイクロプロセッサ11がダウンした場合に第
2のマイクロプロセッサ12に悪影響を及すことなく見
掛は上第1のマイクロプロセッサ11が正常動作を継続
しているようになり、システム的な信頼度を増大できる
ようになる。
On the other hand, when a program runaway or the like occurs in the first microprocessor 11 and an abnormality diagnosis output is output from the WDT 14, a reset signal generated by the reset generation circuit 29 is input to the status port 25, and the reset signal generated by the reset generation circuit 29 is input to the status port 25. 1
The microprocessor 11 is reset. At this time, the flip-flop 40 is set, so the CPU
By reading the status of the status port 41 after the reset is released, the device 21 can confirm that the current reset is due to an abnormality in itself. Therefore, if the Q output to the status port 41 is set after the reset is released, the CPU 21 determines that the other processors are performing normal operations, and the CPU 21 determines that the other processors are performing normal operations, and the CPU 21 performs its own operation without affecting the other processors. Initiate initial startup behavior. By doing this, even if the first microprocessor 11 goes down, the second microprocessor 12 is not adversely affected and the first microprocessor 11 continues to operate normally. , system reliability can be increased.

一方、第1のマイクロプロセッサ11において、リセッ
ト検出回路20からのリセット信号入力によりリセット
がかけられた場合には、フリップフロップ40がリセッ
トされたままなので、CPU21はリセット解除後ステ
ータスポート41の状態を読取ることにより今回のリセ
ットがシステム全体のリセットであることを確認できる
On the other hand, when the first microprocessor 11 is reset by the reset signal input from the reset detection circuit 20, the flip-flop 40 remains reset, so the CPU 21 checks the status of the status port 41 after the reset is released. By reading it, you can confirm that this reset is a system-wide reset.

そこで、CPU21はリセット解除後、ステータスポー
ト41へのQ出力がリセットされている場合には他のプ
ロセッサもリセットされていると判定して他のプロセッ
サを含んだ初期起動動作を起動させる。これは、コマン
ドラッチポート26からの出力によって制御できる。
Therefore, if the Q output to the status port 41 is reset after the reset is canceled, the CPU 21 determines that the other processors have also been reset, and starts the initial startup operation including the other processors. This can be controlled by the output from command latch port 26.

[発明の効果] 以上詳述したように、本発明によれば、他のマイクロプ
ロセッサの異常を確実に認知でき、無駄な処理時間を無
くしつつその異常マイクロプロセッサのリセットを制御
できるマルチマイクロプロセッサシステムのリセット方
式を提供できる。
[Effects of the Invention] As detailed above, the present invention provides a multi-microprocessor system that can reliably recognize an abnormality in other microprocessors and control the reset of the abnormal microprocessor while eliminating wasted processing time. can provide a reset method.

また、請求項2によれば、選定されたマイクロプロセッ
サの異常によるリセットに対しても適切に処置でき、シ
ステムの信頼性を向上できるマルチマイクロプロセッサ
システムのリセット方式を提供できる。
Further, according to claim 2, it is possible to provide a reset method for a multi-microprocessor system that can appropriately handle resets caused by abnormalities in selected microprocessors and improve system reliability.

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

第1図は本発明の一実施例の全体構成を示すブロック図
、第2図は同実施例における主要部の構成を示すブロッ
ク図、第3図は本発明の他の実施例における主要部の構
成を示すプロ・ツク図、第4図は従来例の全体構成を示
すプロ・ツク図である。 11.12・・・ml、!2のマイクロプロセ・ソサ、
14.15・・・WDT、17・・・リセット制御回路
、20・・・リセット検出回路、40・・・D型フリッ
プフロップ。
FIG. 1 is a block diagram showing the overall configuration of one embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of the main parts in the same embodiment, and FIG. 3 is a block diagram showing the main parts in another embodiment of the invention. FIG. 4 is a program diagram showing the overall configuration of a conventional example. 11.12...ml! 2 microprocessor,
14.15...WDT, 17...Reset control circuit, 20...Reset detection circuit, 40...D type flip-flop.

Claims (2)

【特許請求の範囲】[Claims] (1)各々異常診断回路を有する複数個のマイクロプロ
セッサを電気的に結合して各マイクロプロセッサ間でデ
ータ交換等を行うマルチマイクロプロセッサシステムに
おいて、 前記各マイクロプロセッサのうちの任意の1個を選定し
、この選定されたマイクロプロセッサは、他のマイクロ
プロセッサの異常診断回路の出力信号を入力し、この入
力信号に基づいて他のマイクロプロセッサの異常判定を
行ない、異常を検出したときその異常マイクロプロセッ
サに対するリセットを制御することを特徴とするマルチ
マイクロプロセッサシステムのリセット方式。
(1) In a multi-microprocessor system in which a plurality of microprocessors each having an abnormality diagnosis circuit are electrically coupled to exchange data between the microprocessors, any one of the microprocessors is selected. The selected microprocessor inputs the output signal of the abnormality diagnosis circuit of the other microprocessor, determines the abnormality of the other microprocessor based on this input signal, and when an abnormality is detected, the abnormal microprocessor A reset method for a multi-microprocessor system characterized by controlling reset for a multi-microprocessor system.
(2)前記選定されたマイクロプロセッサは、システム
のリセット信号と自己の異常診断回路の出力信号とを入
力し、前記システムのリセット信号によりリセットがか
けられたときには他の全てのマイクロプロセッサに対す
るリセットを制御し、前記自己の異常診断回路の出力信
号によりリセットがかけられたときには自身のみリセッ
トを制御することを特徴とする請求項1記載のマルチマ
イクロプロセッサシステムのリセット方式。
(2) The selected microprocessor inputs the system reset signal and the output signal of its own abnormality diagnosis circuit, and when reset is applied by the system reset signal, resets all other microprocessors. 2. The reset system for a multi-microprocessor system according to claim 1, wherein when the reset is applied by the output signal of the own abnormality diagnostic circuit, only the reset is controlled by itself.
JP2017292A 1990-01-26 1990-01-26 Multi-microprocessor system Expired - Fee Related JP2998804B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017292A JP2998804B2 (en) 1990-01-26 1990-01-26 Multi-microprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017292A JP2998804B2 (en) 1990-01-26 1990-01-26 Multi-microprocessor system

Publications (2)

Publication Number Publication Date
JPH03222020A true JPH03222020A (en) 1991-10-01
JP2998804B2 JP2998804B2 (en) 2000-01-17

Family

ID=11939919

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017292A Expired - Fee Related JP2998804B2 (en) 1990-01-26 1990-01-26 Multi-microprocessor system

Country Status (1)

Country Link
JP (1) JP2998804B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05224778A (en) * 1991-11-21 1993-09-03 Internatl Business Mach Corp <Ibm> One resetting method for plurality of function cards, system thereof and computor program
CN102866931A (en) * 2012-09-06 2013-01-09 广西电网公司电力科学研究院 Watchdog circuit for monitoring device for fault traveling wave of high-voltage transmission line
CN112787645A (en) * 2021-01-13 2021-05-11 拿森汽车科技(杭州)有限公司 Reset control circuit and vehicle

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57130131A (en) * 1981-02-03 1982-08-12 Nippon Denso Co Ltd Multiple computer device
JPS57199065A (en) * 1981-06-02 1982-12-06 Omron Tateisi Electronics Co Initial program setting device at hierarchy system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57130131A (en) * 1981-02-03 1982-08-12 Nippon Denso Co Ltd Multiple computer device
JPS57199065A (en) * 1981-06-02 1982-12-06 Omron Tateisi Electronics Co Initial program setting device at hierarchy system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05224778A (en) * 1991-11-21 1993-09-03 Internatl Business Mach Corp <Ibm> One resetting method for plurality of function cards, system thereof and computor program
CN102866931A (en) * 2012-09-06 2013-01-09 广西电网公司电力科学研究院 Watchdog circuit for monitoring device for fault traveling wave of high-voltage transmission line
CN112787645A (en) * 2021-01-13 2021-05-11 拿森汽车科技(杭州)有限公司 Reset control circuit and vehicle

Also Published As

Publication number Publication date
JP2998804B2 (en) 2000-01-17

Similar Documents

Publication Publication Date Title
US5491787A (en) Fault tolerant digital computer system having two processors which periodically alternate as master and slave
US6112320A (en) Computer watchdog timer
JP2880165B2 (en) Apparatus for monitoring an automotive computer system comprising two processors
JPH03222020A (en) Reset system for multi-micro processor system
JP2768693B2 (en) Apparatus for monitoring a computer system having two processors
JPS59119453A (en) Cpu run-away monitoring circuit
JPH08287030A (en) Device and method for automatically restarting multiple computer system
JPH0652130A (en) Multiprocessor system
JPH0395636A (en) Diagnostic system for fail-safe circuit
JPH0534877B2 (en)
JP4613019B2 (en) Computer system
JPH0430245A (en) Multiprocessor control system
US7016995B1 (en) Systems and methods for preventing disruption of one or more system buses
JP2000194402A (en) Method and device for monitoring cpu abnormality
JPH0273451A (en) Controller
JPH01310422A (en) Resetting circuit for microcomputer
JP2583617B2 (en) Multiprocessor system
JP2706027B2 (en) Programmable controller
JPH10143393A (en) Diagnosis and processing device
JPH02206866A (en) Reset signal generator in multiprocessor system
CN116820837A (en) Exception handling method and device for system component
JPH01292562A (en) Multi-cpu system
JP2815730B2 (en) Adapters and computer systems
JPH05233576A (en) Duplex system
JPS61145617A (en) Power supply disconnection circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees