JPH0426914Y2 - - Google Patents

Info

Publication number
JPH0426914Y2
JPH0426914Y2 JP5088685U JP5088685U JPH0426914Y2 JP H0426914 Y2 JPH0426914 Y2 JP H0426914Y2 JP 5088685 U JP5088685 U JP 5088685U JP 5088685 U JP5088685 U JP 5088685U JP H0426914 Y2 JPH0426914 Y2 JP H0426914Y2
Authority
JP
Japan
Prior art keywords
microcomputers
microcomputer
reference pulse
runaway detection
circuit
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.)
Expired
Application number
JP5088685U
Other languages
Japanese (ja)
Other versions
JPS61168434U (en
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 filed Critical
Priority to JP5088685U priority Critical patent/JPH0426914Y2/ja
Publication of JPS61168434U publication Critical patent/JPS61168434U/ja
Application granted granted Critical
Publication of JPH0426914Y2 publication Critical patent/JPH0426914Y2/ja
Expired legal-status Critical Current

Links

Landscapes

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

Description

【考案の詳細な説明】 〔産業上の利用分野〕 この考案は、複数のマイクロコンピユータを用
いてシステム制御を行なうデジタル制御装置にお
けるマイクロコンピユータの暴走検知システムに
関する。
[Detailed Description of the Invention] [Industrial Application Field] This invention relates to a microcomputer runaway detection system in a digital control device that performs system control using a plurality of microcomputers.

〔従来の技術〕[Conventional technology]

従来のこの種の暴走検知システムとしては、例
えば第3図に示すようなものがある。これは複数
のマイクロコンピユータ1,2,3に対して専用
の暴走検知回路4,5,6を夫々設けたものであ
り、上記マイクロコンピユータ1,2,3はプロ
グラムにより一定のパルス信号S1,S2,S3を暴走
検知回路4,5,6に送り、また暴走検知回路
4,5,6は、上記パルス信号S1,S2,S3の周期
を夫々監視し、これによりマイクロコンピユータ
の暴走でパルス信号S1,S2,S3の手記が乱れたと
きに、リセツト信号R1,R2,R3をマイクロコン
ピユータ1,2,3に送る暴走検知システムであ
る。
As a conventional runaway detection system of this type, there is one shown in FIG. 3, for example. This is a system in which dedicated runaway detection circuits 4, 5, and 6 are provided for a plurality of microcomputers 1, 2, and 3, respectively, and the microcomputers 1, 2, and 3 receive constant pulse signals S1, S1, and S1 by a program. S 2 and S 3 are sent to the runaway detection circuits 4, 5, and 6, and the runaway detection circuits 4, 5, and 6 monitor the cycles of the pulse signals S 1 , S 2 , and S 3, respectively. This is a runaway detection system that sends reset signals R 1 , R 2 , R 3 to microcomputers 1, 2 , and 3 when the notes of pulse signals S 1 , S 2 , and S 3 are disturbed due to runaway.

〔考案が解決しようとする問題点〕[Problem that the invention attempts to solve]

しかしながら、このような従来の暴走検知シス
テムにあつては、1つのマイクロコンピユータが
夫々1つの暴走検知回路を持つているため、マイ
クロコンピユータの数が増すごとに、暴走検知回
路の数も増すため、部品点数が増大してコストが
上がる。また、リセツト信号が共通でないため、
マイクロコンピユータシステム全体の動作が不安
定となるという問題点があつた。
However, in such conventional runaway detection systems, each microcomputer has one runaway detection circuit, and as the number of microcomputers increases, the number of runaway detection circuits also increases. The number of parts increases and costs rise. Also, since the reset signal is not common,
There was a problem that the operation of the entire microcomputer system became unstable.

この考案は、このような従来の問題点に着目し
てなされたもので、暴走検知システムの信頼性の
向上が図れると共に、監視されるべき複数のマイ
クロコンピユータに対する暴走検知回路の個数が
1つで済む構成とし、しかもマイクロコンピユー
タシステム全体の動作が安定するマイクロコンピ
ユータの暴走検知システムを提供することを目的
とするものである。
This idea was created by focusing on these conventional problems, and not only improves the reliability of the runaway detection system, but also reduces the number of runaway detection circuits to one for multiple microcomputers to be monitored. It is an object of the present invention to provide a runaway detection system for a microcomputer that has a simple configuration and stabilizes the operation of the entire microcomputer system.

〔問題点を解決するための手段〕[Means for solving problems]

そこで、この考案にかかるマイクロコンピユー
タの暴走検知システムは、複数のマイクロコンピ
ユータにより、夫々のマイクロコンピユータに基
準パルス発生回路から共通に入力される基準パル
ス信号に基づいて互に同一周期のパルス信号をプ
ログラムで作り出すと共に、上記複数のマイクロ
コンピユータから夫々出力されるパルス信号と上
記基準パルス発生回路から出力される基準パルス
信号との各周期が互に同一か否かを単一の暴走検
知回路で検出し、これにより各マイクロコンピユ
ータのプログラムをリセツトするか又は暴走警報
を行なう構成としたものである。
Therefore, in the microcomputer runaway detection system according to this invention, a plurality of microcomputers program pulse signals of the same period to each microcomputer based on a reference pulse signal commonly input from a reference pulse generation circuit. A single runaway detection circuit detects whether the cycles of the pulse signals outputted from the plurality of microcomputers and the reference pulse signals outputted from the reference pulse generation circuit are the same. Accordingly, the program of each microcomputer is reset or a runaway alarm is issued.

〔作用〕[Effect]

この考案によるマイクロコンピユータの暴走検
知システムによれば、基準パルス信号の周期と、
その基準パルス信号に基づいて互に同一周期のパ
ルス信号を出力するようにプログラムされた複数
のマイクロコンピユータからのパルス信号の周期
とが同一か否かを検出し、各周期が互に同一でな
くなつたことを検出したとき、上記各々マイクロ
コンピユータにリセツト信号を供給するか又は暴
走警報を行なう。
According to the microcomputer runaway detection system according to this invention, the period of the reference pulse signal,
Based on the reference pulse signal, it is detected whether the periods of pulse signals from multiple microcomputers that are programmed to output pulse signals with the same period are the same, and whether the periods are different from each other or not. When it is detected that the microcomputer has been damaged, it supplies a reset signal to each of the microcomputers mentioned above or issues a runaway alarm.

〔実施例〕〔Example〕

以下、この考案を図面に基づいて説明する。第
1図は、この考案の一実施例を示す図である。ま
ず構成を説明すると、11,12は所定のシステ
ム制御を行なう第1及び第2のマイクロコンピユ
ータcpu1,cpu2,13は基準パルス発生回路で、
この基準パルス発生回路13は基準パルスを発生
する第3のマイクロコンピユータcpu314、該基
準パルス信号の発生を監視する第3のマイクロコ
ンピユータ用暴走検知回路15及びノア回路16
よりなる。17は暴走検知回路で、暴走検知回路
17はイクスクルーシブオア機能のゲート回路1
8、フイルタ回路19、インバータ(リセツトパ
ルス発生回路20よりなる。更に、このゲート回
路18は前記第1乃至第3のマイクロコンピユー
タ11,12,14からのパルス信号c,b,a
を入力するナンド回路181、オア回路182及
びこれら両回路181,182の出力を入力する
ナンド回路183よりなる。
This invention will be explained below based on the drawings. FIG. 1 is a diagram showing an embodiment of this invention. First, to explain the configuration, 11 and 12 are first and second microcomputers that perform predetermined system control; CPU1 , CPU2 , and 13 are reference pulse generation circuits;
This reference pulse generation circuit 13 includes a third microcomputer CPU 3 14 that generates a reference pulse, a runaway detection circuit 15 for the third microcomputer, and a NOR circuit 16 that monitors the generation of the reference pulse signal.
It becomes more. 17 is a runaway detection circuit, and the runaway detection circuit 17 is the gate circuit 1 of the exclusive OR function.
8, a filter circuit 19, an inverter (reset pulse generation circuit 20).Furthermore, this gate circuit 18 receives pulse signals c, b, a from the first to third microcomputers 11, 12, 14.
, an OR circuit 182 , and a NAND circuit 183 that receives the outputs of both these circuits 181 and 182 .

次に、この実施例の動作を第2図に示したタイ
ミングチヤートも参照にして説明する。基準パル
ス発生回路13の第3のマイクロコンピユータ1
4の出力ポートから基準パルス信号aが発せられ
ると、第1及び第2のマイクロコンピユータ1
1,12は正常であるとその各出力ポートから互
に同期したパルス信号c,bを出力し、この2つ
のパルス信号c,bは基準パルス信号aと共にゲ
ート回路18に入力される。
Next, the operation of this embodiment will be explained with reference to the timing chart shown in FIG. Third microcomputer 1 of reference pulse generation circuit 13
When the reference pulse signal a is emitted from the output port of 4, the first and second microcomputers 1
1 and 12 output mutually synchronized pulse signals c and b from their respective output ports when they are normal, and these two pulse signals c and b are input to the gate circuit 18 together with the reference pulse signal a.

このゲート回路18は3つのパルス信号a,
b,cの不一致を検出してその不一致期間ローレ
ベル信号を出力するものであるが、2つのパルス
信号c,bが基準パルス信号aに対して信号の受
け渡しにかかる時間分の延れがあるため、第1及
び第2のマイクロコンピユータ11,12の正常
時においても、ゲート回路18からスパイク状の
ローレベル信号が出力される(第2図f参照)。
このスパイク状のローレベル信号はフイルタ回路
19で積分されることにより除去され、そのため
フイルタ回路19の出力電圧は若干降下するだけ
で略ハイレベルに保たれることになる。従つて、
インバータ20の出力レベルはローレベルのまま
であり、リセツト信号RES1hは発せられない。
This gate circuit 18 receives three pulse signals a,
It detects a mismatch between b and c and outputs a low level signal during the mismatch period, but there is a delay between the two pulse signals c and b relative to the reference pulse signal a by the amount of time it takes to transfer the signals. Therefore, even when the first and second microcomputers 11 and 12 are operating normally, a spike-like low level signal is output from the gate circuit 18 (see FIG. 2f).
This spike-like low level signal is removed by being integrated by the filter circuit 19, so that the output voltage of the filter circuit 19 is maintained at a substantially high level with only a slight drop. Therefore,
The output level of inverter 20 remains at low level, and the reset signal RES 1 h is not generated.

しかし、1つのマイクロコンピユータ例えば第
2のマイクロコンピユータ12が暴走してそのパ
ルス信号6が他のパルス信号cと同期しなくなる
と、ゲート回路18の出力レベルは一致しなくな
つた分だけローレベルとなり、フイルタ回路19
の出力電圧が予め設定されたインバータ20のし
きい値より低くなると、このインバータ20から
のリセツト信号RES1がノア回路16によつて反
転され、その反転されたリセツト信号RESが複
数のマイクロコンピユータ11,12,14の
夫々に供給されそれらがリセツトされる。
However, if one microcomputer, for example, the second microcomputer 12, goes out of control and its pulse signal 6 becomes out of synchronization with the other pulse signal c, the output level of the gate circuit 18 becomes a low level corresponding to the mismatch. , filter circuit 19
When the output voltage of the inverter 20 becomes lower than a preset threshold value of the inverter 20, the reset signal RES1 from the inverter 20 is inverted by the NOR circuit 16, and the inverted reset signal RES is sent to the plurality of microcomputers 11. , 12, and 14 to reset them.

マイクロコンピユータ11,12,14はリセ
ツトをかけられると、夫々の各入出力はハイ・イ
ンピーダンスとなりプルアツプ抵抗184により
夫々のパルス信号a,b,cはハイレベルとな
り、ナンド回路181の出力はローレベル、オア
回路182の出力はハイレベルとなる。
When the microcomputers 11, 12, and 14 are reset, their inputs and outputs become high impedance, and the pull-up resistor 184 causes the pulse signals a, b, and c to become high level, and the output of the NAND circuit 181 becomes low level. , the output of the OR circuit 182 becomes high level.

その結果、ナンド回路183の出力はハイレベ
ルとなりリセツト解除がなされる。なお、ここで
は、マイクロコンピユータ12の暴走について触
れたがいずれのマイクロコンピユータ11又は1
2の暴走に対しても同じである。
As a result, the output of the NAND circuit 183 becomes high level and the reset is released. Although the runaway of the microcomputer 12 has been mentioned here, any microcomputer 11 or 1
The same applies to the runaway of 2.

また、第3のマイクロコンピユータ14が暴走
した場合、第3のマイクロコンピユータ用暴走検
知回路15が第3のマイクロコンピユータ14の
暴走即ち基準パルス信号aの発生停止を検出し、
ノア回路16から第1乃至第3のマイクロコンピ
ユータ11,12,14にリセツトをかけるもの
である。
Further, when the third microcomputer 14 runs out of control, the third microcomputer runaway detection circuit 15 detects the runaway of the third microcomputer 14, that is, the stoppage of generation of the reference pulse signal a;
The NOR circuit 16 resets the first to third microcomputers 11, 12, and 14.

なお、第3のマイクロコンピユータ14の基準
パルス信号aを暴走検知回路17に入力させてい
るのは、第1図のX点の断線を検出するためであ
る。
The reference pulse signal a from the third microcomputer 14 is input to the runaway detection circuit 17 in order to detect a disconnection at point X in FIG.

また、暴走検知回路17のゲート回路18を単
一のイクスクルーシブオア回路で置き換えてもよ
いことは勿論のことである。
Furthermore, it goes without saying that the gate circuit 18 of the runaway detection circuit 17 may be replaced with a single exclusive OR circuit.

〔考案の効果〕[Effect of idea]

以上説明してきたように、この考案によれば、
複数のマイクロコンピユータ11,12を使用し
た場合にもその暴走を1つの暴走検知回路17で
検出することが可能であり、また、各マイクロコ
ンピユータ11,12から発せられるパルス信号
c,bの同期ずれを検出しているので、いずれの
マイクロコンピユータ11,12が暴走した場合
にも敏速な検出が可能である。
As explained above, according to this idea,
Even when a plurality of microcomputers 11 and 12 are used, it is possible to detect runaway with one runaway detection circuit 17, and it is possible to detect synchronization of pulse signals c and b emitted from each microcomputer 11 and 12. Therefore, even if either of the microcomputers 11, 12 goes out of control, it can be quickly detected.

また、基準パルス信号発生回路13からの基準
パルス信号aを暴走検知回路17に入力させてい
るので、第1図X点における断線も検知すること
ができ暴走検知システム全体の信頼性が向上して
いる。
In addition, since the reference pulse signal a from the reference pulse signal generation circuit 13 is input to the runaway detection circuit 17, a disconnection at point X in Figure 1 can also be detected, improving the reliability of the entire runaway detection system. There is.

更に、実施例の如く第3のマイクロコンピユー
タ用暴走検知回路15からのリセツト信号を第1
及び第2のマイクロコンピユータ11,12にも
入力することにより、複数のマイクロコンピユー
タ11,12,14からなるマイクロコンピユー
タシステムの同時関係が確実となつている。
Furthermore, as in the embodiment, the reset signal from the third microcomputer runaway detection circuit 15 is applied to the first
By also inputting the information to the second microcomputers 11 and 12, the simultaneous relationship of the microcomputer system consisting of the plurality of microcomputers 11, 12, and 14 is ensured.

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

第1図はこの考案の一実施例の回路図、第2図
はそのタイミングチヤートを示す図、第3図は従
来列の回路図である。 11,12……マイクロコンピユータ、13…
…基準パルス信号発生回路、14……他のマイク
ロコンピユータ、15……他のマイクロコンピユ
ータ用暴走検知回路、17……暴走検知回路、1
8……ゲート回路、19……フイルタ回路、20
……インバータ。
FIG. 1 is a circuit diagram of an embodiment of this invention, FIG. 2 is a timing chart thereof, and FIG. 3 is a circuit diagram of a conventional train. 11, 12... microcomputer, 13...
... Reference pulse signal generation circuit, 14 ... Other microcomputer, 15 ... Runaway detection circuit for other microcomputer, 17 ... Runaway detection circuit, 1
8... Gate circuit, 19... Filter circuit, 20
...Inverter.

Claims (1)

【実用新案登録請求の範囲】 (1) プログラムに従つて所定のシステム制御を行
なう複数のマイクロコンピユータ11,12を
備え、該複数のマイクロコンピユータ11,1
2は、夫々プログラムが正常に動作し得る状態
にあるときに、その外部に設けられた基準パル
ス発生回路13から供給される基準パルス信号
aに基づいて、互に同一周期のパルス信号c,
bを夫々所定の出力ポートから出力するプログ
ラムを有し、更に、前記複数のマイクロコンピ
ユータ11,12の各出力ポートから出力され
る複数のパルス信号c,bと前記基準パルス発
生回路13から出力される基準パルス信号aと
を入力し、該複数のパルス信号c,b及び基準
パルス信号aの各周期が互に同一か否かを検出
する暴走検知回路17を備えたことを特徴とす
るマイクロコンピユータの暴走検知システム。 (2) 前記暴走検知回路17は、前記複数のマイク
ロコンピユータ11,12の各出力ポートから
夫々出力される複数のパルス信号c,bと前記
基準パルス発生回路13から出力される基準パ
ルス信号aとの各周期が互に同一でなくなつた
ことを検出したときに、前記複数のマイクロコ
ンピユータ11,12の各プログラムをリセツ
トせしめるリセツト信号hを発生するか、又は
警報を発生する回路であることを特徴とする実
用新案登録請求の範囲第1項記載のマイクロコ
ンピユータの暴走検知システム。 (3) 前記基準パルス発生回路13は、自己のプロ
グラム暴走に対するフエイルセイフリセツト機
能を備え、かつ前記複数のマイクロコンピユー
タ11,12と共にそのプログラムに従つて所
定のシステム制御を行なう他のマイクロコンピ
ユータ14からなることを特徴とする実用新案
登録請求の範囲第1項記載のマイクロコンピユ
ータの暴走検知システム。 (4) 前記複数のマイクロコンピユータ11,12
は、前記他のマイクロコンピユータ14のフエ
イルセイフリセツト機能によるリセツト信号を
受けて、夫々のプログラムがリセツトされるこ
とを特徴とする実用新案登録請求の範囲第3項
記載のマイクロコンピユータの暴走検知システ
ム。
[Claims for Utility Model Registration] (1) A plurality of microcomputers 11 and 12 are provided which perform predetermined system control according to a program, and the plurality of microcomputers 11 and 1
2 generate pulse signals c, 2 with the same period based on a reference pulse signal a supplied from a reference pulse generation circuit 13 provided externally when the respective programs are in a state where they can operate normally.
It has a program that outputs a plurality of pulse signals c and b from respective output ports of the plurality of microcomputers 11 and 12 and a plurality of pulse signals c and b output from the reference pulse generation circuit 13. A microcomputer comprising a runaway detection circuit 17 which inputs a reference pulse signal a and detects whether the periods of the plurality of pulse signals c, b and the reference pulse signal a are the same. runaway detection system. (2) The runaway detection circuit 17 receives a plurality of pulse signals c and b outputted from each output port of the plurality of microcomputers 11 and 12, and a reference pulse signal a outputted from the reference pulse generation circuit 13. The circuit generates a reset signal h for resetting each program of the plurality of microcomputers 11 and 12 or generates an alarm when detecting that the cycles of the microcomputers 11 and 12 are no longer the same. A runaway detection system for a microcomputer according to claim 1, characterized in that it is a utility model. (3) The reference pulse generation circuit 13 has a fail-safe reset function against its own program runaway, and is connected to another microcomputer 14 that performs predetermined system control in accordance with the program together with the plurality of microcomputers 11 and 12. A runaway detection system for a microcomputer according to claim 1, characterized in that the system comprises: (4) The plurality of microcomputers 11 and 12
The microcomputer runaway detection system according to claim 3, wherein each program is reset in response to a reset signal from the fail-safe reset function of the other microcomputer 14. .
JP5088685U 1985-04-05 1985-04-05 Expired JPH0426914Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5088685U JPH0426914Y2 (en) 1985-04-05 1985-04-05

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5088685U JPH0426914Y2 (en) 1985-04-05 1985-04-05

Publications (2)

Publication Number Publication Date
JPS61168434U JPS61168434U (en) 1986-10-18
JPH0426914Y2 true JPH0426914Y2 (en) 1992-06-29

Family

ID=30569438

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5088685U Expired JPH0426914Y2 (en) 1985-04-05 1985-04-05

Country Status (1)

Country Link
JP (1) JPH0426914Y2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6224545B2 (en) * 2014-08-05 2017-11-01 日立オートモティブシステムズ株式会社 Electronic control unit

Also Published As

Publication number Publication date
JPS61168434U (en) 1986-10-18

Similar Documents

Publication Publication Date Title
JPH0351002B2 (en)
JP2533192B2 (en) Power-on reset circuit in multiprocessor system
JPH0426914Y2 (en)
JPH064301A (en) Time division interruption control system
JP2600969Y2 (en) Reset circuit of central processing unit
JPS6327930A (en) Interruption control circuit
JPS63224446A (en) Communication system
JPH0426915Y2 (en)
JPH0418044Y2 (en)
JPH0823834B2 (en) Microcomputer
JP3006330B2 (en) Clock collision detection circuit of data processing device
JP2592525B2 (en) Error detection circuit of common bus system
JP2774595B2 (en) Operation monitoring device for CPU system
JP2725680B2 (en) Bus error detection circuit
JPS6213153Y2 (en)
JPH0726762Y2 (en) Bus mismatch circuit
JPH0679298B2 (en) Abnormality monitoring circuit for multi-drop serial bus transmission unit
JPS6051965A (en) Bus controlling system
JPS63168757A (en) Bus error detecting system
JPS61134846A (en) Electronic computer system
JPS6128146B2 (en)
JPH02143340A (en) Abnormality supervising method for electronic circuit
JP2939666B2 (en) Bus failure judgment method
JPH0588926A (en) Automatic switching circuit for monitor and control system
JPH07129278A (en) Resetting control circuit of multiprocessor system