JPH103409A - Microcomputer monitor system and semiconductor integrated circuit device used for the same - Google Patents

Microcomputer monitor system and semiconductor integrated circuit device used for the same

Info

Publication number
JPH103409A
JPH103409A JP8152771A JP15277196A JPH103409A JP H103409 A JPH103409 A JP H103409A JP 8152771 A JP8152771 A JP 8152771A JP 15277196 A JP15277196 A JP 15277196A JP H103409 A JPH103409 A JP H103409A
Authority
JP
Japan
Prior art keywords
microcomputer
output
signal
integrated circuit
semiconductor integrated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8152771A
Other languages
Japanese (ja)
Inventor
Kenichi Yokota
健一 横田
Takashi Soga
高志 曽我
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.)
Hitachi Ltd
Renesas Eastern Japan Semiconductor Inc
Original Assignee
Hitachi Ltd
Hitachi Tohbu Semiconductor 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 Hitachi Ltd, Hitachi Tohbu Semiconductor Ltd filed Critical Hitachi Ltd
Priority to JP8152771A priority Critical patent/JPH103409A/en
Publication of JPH103409A publication Critical patent/JPH103409A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide technology for constituting a microcomputer monitor system whose constitution is made simple, which outputs a rest signal to a microcomputer and outputs a mask signal for masking the output of the microcomputer. SOLUTION: Monitor IC 4 provided with a function for judging whether the output of the microcomputer 2 is normal or abnormal, outputting the reset signal to the microcomputer 2 and outputting the mask signal SM when it is judged to be abnormal is connected to the microcomputer 2. When monitor IC 4 judges the output of the microcomputer 2 to be abnormal, it outputs the reset signal SR to the microcomputer 2, masks the output of the microcomputer 2 with the mask signal and stops the output of the microcomputer 2. Since the reset signal SR and the mask signal SM can be outputted by using one monitor IC 4, cost can be reduced at the time of constituting the microcomputer monitor system.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、マイクロコンピュ
ータ監視システム及びこれに用いられる半導体集積回路
装置に関し、特に、マイクロコンピュータの異常時にマ
イクロコンピュータの出力を停止させるシステムに適用
して有効な技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microcomputer monitoring system and a semiconductor integrated circuit device used for the same, and more particularly to a technique which is effective when applied to a system for stopping the output of the microcomputer when the microcomputer is abnormal.

【0002】[0002]

【従来の技術】各種の機能を有するマイクロコンピュー
タ(以下、単にマイコンと称する)が、所望の負荷を制
御する制御素子として、広い分野に応用されている。一
例として、自動車におけるエンジン制御用電子装置に用
いられている。
2. Description of the Related Art Microcomputers having various functions (hereinafter simply referred to as microcomputers) are widely used as control elements for controlling a desired load. As an example, it is used for an electronic device for engine control in a car.

【0003】このようなマイコンは、超高性能電子部品
であるため、使用環境に応じて容易に誤動作し易い性質
を備えている。例えば、電波障害により突然暴走して誤
動作するような現象が希に発生する。そのような暴走が
例えばエンジン制御用電子装置に用いられているマイコ
ンで生ずると、ドライバの意に反して自動車が急発進し
たり、急加速したりするので、大事故に結びつく可能性
があるため非常に危険となる。従って、マイコンの誤動
作は極力防止するように配慮しなければならない。
[0003] Since such a microcomputer is an ultra-high performance electronic component, it has a property of easily malfunctioning according to the use environment. For example, a phenomenon that a malfunction occurs due to sudden runaway due to radio wave interference rarely occurs. If such a runaway occurs in, for example, a microcomputer used in an engine control electronic device, the car may suddenly start or accelerate rapidly against the driver's will, which may lead to a major accident. Very dangerous. Therefore, care must be taken to minimize malfunctions of the microcomputer.

【0004】このような観点から、マイコンの動作を常
時監視して、その出力が異常であると判断したときはマ
イコンが誤動作しているとみなして、マイコンにリセッ
ト信号を出力してマイコンを正常状態に復帰させるよう
に働くIC、いわゆるWatch Dog Timer
(ウオッチ・ドッグ・タイマ;以下、単にWDTと称す
る)ICが開発されている。このようなWDTは、例え
ば製品名HA16103として(株)日立製作所から発
売されている。このようなWDTは、マイコンに接続さ
れてマイコン監視システムが構成される。
[0004] From such a viewpoint, the operation of the microcomputer is constantly monitored, and when the output is determined to be abnormal, the microcomputer is regarded as malfunctioning and a reset signal is output to the microcomputer to normalize the microcomputer. IC that works to return to the state, so-called Watch Dog Timer
(Watch Dog Timer; hereinafter simply referred to as WDT) ICs have been developed. Such a WDT is, for example, sold by Hitachi, Ltd. under the product name HA16103. Such a WDT is connected to a microcomputer to form a microcomputer monitoring system.

【0005】ところで、そのようなWDTでは、マイコ
ンが暴走して誤動作したときはこれを検知してリセット
信号をマイコンに出力する機能を備えているが、マイコ
ンが暴走したときは出力は不定になるので、それだけで
は不十分である。このため、マイコンに対してリセット
信号を出力するだけでなく、マイコンの出力をマスクし
てマイコンの出力を完全に停止させるマスク信号を出力
する必要がある。
[0005] By the way, such a WDT has a function of detecting a malfunction of the microcomputer due to runaway and outputting a reset signal to the microcomputer, but the output becomes undefined when the microcomputer runs away. So that alone is not enough. Therefore, it is necessary not only to output a reset signal to the microcomputer but also to output a mask signal for masking the output of the microcomputer and completely stopping the output of the microcomputer.

【0006】これには、従来においては、WDT以外に
ゲートアレイなどの別のICを用いたり、あるいはサブ
マイコンを用いることにより、マスク信号を出力させる
機能を持たせるようにしている。
Conventionally, a function of outputting a mask signal is provided by using another IC such as a gate array in addition to the WDT, or by using a sub-microcomputer.

【0007】[0007]

【発明が解決しようとする課題】そのように、マイコン
に対してリセット信号を出力するだけでなく、マイコン
の出力をマスクするマスク信号を出力させるために、W
DT以外にゲートアレイなどの別のICを用いたり、あ
るいはサブマイコンを用いてマイコン監視システムを構
成することは、システムの構成が複雑になるので、コス
トアップになるという問題がある。
In order to output a mask signal for masking the output of the microcomputer as well as to output the reset signal to the microcomputer,
The use of another IC such as a gate array in addition to the DT or the configuration of a microcomputer monitoring system using a sub-microcomputer complicates the configuration of the system, resulting in an increase in cost.

【0008】また、別のICやサブマイコンなどの余分
な部品を用いることによって、故障のポテンシャルが増
えてしまうという不都合も生ずる。
Further, the use of extra components such as another IC or sub-microcomputer also causes a disadvantage that the potential for failure increases.

【0009】本発明の目的は、システムの構成を簡単に
して、マイクロコンピュータに対してリセット信号を出
力するとともに、マイクロコンピュータの出力をマスク
するマスク信号を出力させるマイクロコンピュータ監視
システムを構成することが可能な技術を提供することに
ある。
An object of the present invention is to provide a microcomputer monitoring system which simplifies the system configuration, outputs a reset signal to the microcomputer, and outputs a mask signal for masking the output of the microcomputer. It is to provide a possible technology.

【0010】本発明の前記ならびにその他の目的と新規
な特徴は、本明細書の記述及び添付図面から明らかにな
るであろう。
The above and other objects and novel features of the present invention will become apparent from the description of the present specification and the accompanying drawings.

【0011】[0011]

【課題を解決するための手段】本願において開示される
発明のうち、代表的なものの概要を簡単に説明すれば下
記の通りである。
SUMMARY OF THE INVENTION Among the inventions disclosed in the present application, typical ones are briefly described as follows.

【0012】(1)本発明のマイクロコンピュータ監視
システムは、所望の負荷を制御するマイクロコンピュー
タの動作を常時監視して、異常を検知したときはマイク
ロコンピュータの出力を停止させるように働くマイクロ
コンピュータ監視システムであって、前記マイクロコン
ピュータの出力が正常か異常かを判断し、異常と判断し
たときはリセット信号とともにマスク信号を出力する機
能を備えた半導体集積回路装置を前記マイクロコンピュ
ータに接続し、この半導体集積回路装置がマイクロコン
ピュータの出力を異常と判断したときは、前記リセット
信号をマイクロコンピュータに出力するとともに、前記
マスク信号でマイクロコンピュータの出力をマスクして
マイクロコンピュータの出力を停止させる。
(1) The microcomputer monitoring system of the present invention constantly monitors the operation of the microcomputer for controlling a desired load, and stops the output of the microcomputer when an abnormality is detected. A system, comprising: determining whether the output of the microcomputer is normal or abnormal; connecting the semiconductor integrated circuit device having a function of outputting a mask signal together with a reset signal to the microcomputer when the output is determined to be abnormal; When the semiconductor integrated circuit device determines that the output of the microcomputer is abnormal, the reset signal is output to the microcomputer, and the output of the microcomputer is stopped by masking the output of the microcomputer with the mask signal.

【0013】(2)本発明のマイクロコンピュータ監視
システムに用いられる半導体集積回路装置は、マイクロ
コンピュータに接続されてその出力を入力することによ
りその動作を常時監視する半導体集積回路装置であっ
て、前記マイクロコンピュータの出力が異常であると判
断したときは、マイクロコンピュータに対してリセット
信号を出力するとともに、マイクロコンピュータの出力
をマスクするマスク信号を出力する機能を備えている。
(2) The semiconductor integrated circuit device used in the microcomputer monitoring system of the present invention is a semiconductor integrated circuit device which is connected to a microcomputer and which constantly monitors its operation by inputting its output. When it is determined that the output of the microcomputer is abnormal, the microcomputer has a function of outputting a reset signal to the microcomputer and outputting a mask signal for masking the output of the microcomputer.

【0014】(3)本発明のマイクロコンピュータ監視
システムに用いられる半導体集積回路装置は、マイクロ
コンピュータに接続されてその出力を入力することによ
りその動作を常時監視する半導体集積回路装置であっ
て、マイクロコンピュータの出力を入力してそのパルス
幅に応じて規則的なまたは不規則的な三角波信号を発生
し、この三角波信号のレベルが二つの基準電位の範囲に
あるときだけ所定レベルの信号を出力するウオッチ・ド
ッグ・タイマ部と、このウオッチ・ドッグ・タイマ部の
出力を入力し前記所定レベルの信号の継続時間に応じて
ピークの上昇するまたは下降する三角波信号を発生し、
この三角波信号のレベルに応じてH−Lで交互に変化す
るリセット信号を出力するリセット部と、このリセット
部の出力を入力し前記リセット信号の出力のタイミング
でマスク信号を出力するマスク信号出力部とを備えてい
る。
(3) The semiconductor integrated circuit device used in the microcomputer monitoring system of the present invention is a semiconductor integrated circuit device which is connected to a microcomputer and constantly monitors its operation by inputting its output. Inputs the output of the computer and generates a regular or irregular triangular wave signal according to the pulse width, and outputs a signal of a predetermined level only when the level of the triangular wave signal is within two reference potential ranges. A watch dog timer unit, which receives the output of the watch dog timer unit and generates a triangular wave signal whose peak rises or falls according to the duration of the signal of the predetermined level,
A reset unit that outputs a reset signal that alternates between HL and L in accordance with the level of the triangular wave signal; and a mask signal output unit that receives an output of the reset unit and outputs a mask signal at the output timing of the reset signal. And

【0015】上述した(1)の手段によれば、本発明の
マイクロコンピュータ監視システムは、マイクロコンピ
ュータの出力が正常か異常かを判断し、異常と判断した
ときはリセット信号とともにマスク信号を出力する機能
を備えた半導体集積回路装置を前記マイクロコンピュー
タに接続し、この半導体集積回路装置がマイクロコンピ
ュータの出力を異常と判断したときは、前記リセット信
号をマイクロコンピュータに出力するとともに、前記マ
スク信号でマイクロコンピュータの出力をマスクしてマ
イクロコンピュータの出力を停止させるので、システム
の構成を簡単にして、マイクロコンピュータに対してリ
セット信号を出力するとともに、マイクロコンピュータ
の出力をマスクするマスク信号を出力させるマイクロコ
ンピュータ監視システムを構成することが可能となる。
According to the above-mentioned means (1), the microcomputer monitoring system of the present invention determines whether the output of the microcomputer is normal or abnormal, and outputs a mask signal together with a reset signal when it is determined that the output is abnormal. When a semiconductor integrated circuit device having a function is connected to the microcomputer, and the semiconductor integrated circuit device determines that the output of the microcomputer is abnormal, the semiconductor integrated circuit device outputs the reset signal to the microcomputer, and outputs the reset signal to the microcomputer. A microcomputer that stops the output of the microcomputer by masking the output of the computer, thereby simplifying the system configuration, outputting a reset signal to the microcomputer, and outputting a mask signal that masks the output of the microcomputer. Monitoring system It is possible to configure the Temu.

【0016】上述した(2)の手段によれば、本発明の
マイクロコンピュータ監視システムに用いられる半導体
集積回路装置は、マイクロコンピュータに接続されてそ
の出力を入力することによりその動作を常時監視する半
導体集積回路装置であって、前記マイクロコンピュータ
の出力が異常であると判断したときは、マイクロコンピ
ュータに対してリセット信号とともにマスク信号を出力
する機能を備えているので、このような半導体集積回路
装置を用いてマイクロコンピュータ監視システムを構成
することにより、システムの構成を簡単にして、マイク
ロコンピュータに対してリセット信号を出力するととも
に、マイクロコンピュータの出力をマスクするマスク信
号を出力させるマイクロコンピュータ監視システムを構
成することが可能となる。
According to the above-mentioned means (2), the semiconductor integrated circuit device used in the microcomputer monitoring system of the present invention is a semiconductor integrated circuit device which is connected to a microcomputer and inputs its output to constantly monitor its operation. The integrated circuit device has a function of outputting a mask signal together with a reset signal to the microcomputer when it is determined that the output of the microcomputer is abnormal. A microcomputer monitoring system is configured to output a reset signal to the microcomputer and output a mask signal for masking the output of the microcomputer by configuring the microcomputer monitoring system by using the microcomputer monitoring system. It is possible to It made.

【0017】上述した(3)の手段によれば、本発明の
マイクロコンピュータ監視システムに用いられる半導体
集積回路装置は、ウオッチ・ドッグ・タイマ部は、マイ
クロコンピュータの出力を入力してそのパルス幅に応じ
て規則的なまたは不規則的な三角波信号を発生し、この
三角波信号のレベルに応じて信号を出力する。リセット
部は、ウオッチ・ドッグ・タイマ部の出力を入力し前記
所定レベルの信号の継続時間に応じてピークの上昇する
または下降する三角波信号を発生し、この三角波のレベ
ルに応じてH−Lで交互に変化するリセット信号を出力
する。マスク信号出力部は、リセット部の出力を入力し
前記リセット信号の出力のタイミングでマスク信号を出
力する。従って、このような半導体集積回路装置を用い
てマイクロコンピュータ監視システムを構成することに
より、システムの構成を簡単にして、マイクロコンピュ
ータに対してリセット信号を出力するとともに、マイク
ロコンピュータの出力をマスクするマスク信号を出力さ
せるマイクロコンピュータ監視システムを構成すること
が可能となる。
According to the above-mentioned means (3), in the semiconductor integrated circuit device used in the microcomputer monitoring system of the present invention, the watch dog timer section inputs the output of the microcomputer and adjusts the pulse width thereof. A regular or irregular triangular wave signal is generated in response to the signal, and a signal is output according to the level of the triangular wave signal. The reset unit receives an output of the watch dog timer unit, generates a triangular wave signal whose peak rises or falls according to the duration of the signal of the predetermined level, and outputs HL in accordance with the level of this triangular wave. The reset signal which changes alternately is output. The mask signal output unit receives the output of the reset unit and outputs a mask signal at the output timing of the reset signal. Therefore, by configuring a microcomputer monitoring system using such a semiconductor integrated circuit device, the configuration of the system is simplified, a reset signal is output to the microcomputer, and a mask for masking the output of the microcomputer is provided. It is possible to configure a microcomputer monitoring system that outputs a signal.

【0018】以下、本発明について、図面を参照して実
施形態とともに詳細に説明する。
Hereinafter, the present invention will be described in detail with embodiments with reference to the drawings.

【0019】なお、実施形態を説明するための全図にお
いて、同一機能を有するものは同一符号を付け、その繰
り返しの説明は省略する。
In all the drawings for describing the embodiments, parts having the same functions are denoted by the same reference numerals, and their repeated description will be omitted.

【0020】[0020]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

(実施形態)図1は本実施形態によるマイクロコンピュ
ータ(マイコン)監視システムの構成を示すブロック図
である。本実施形態によるマイコン監視システム1は、
基本的に、マイコン2と、このマイコン2によって制御
される例えばエンジン制御用電子装置のような負荷3
と、マイコン2の動作を常時監視する監視用半導体集積
回路装置(以下、単に監視用ICと称する)4とから構
成されている。また、Qは負荷3を駆動する駆動用トラ
ンジスタ、5は駆動用トランジスタQを制御するアンド
(AND)ゲートである。
(Embodiment) FIG. 1 is a block diagram showing a configuration of a microcomputer (microcomputer) monitoring system according to the present embodiment. The microcomputer monitoring system 1 according to the present embodiment includes:
Basically, the microcomputer 2 and a load 3 controlled by the microcomputer 2 such as an electronic device for engine control.
And a monitoring semiconductor integrated circuit device (hereinafter, simply referred to as a monitoring IC) 4 that constantly monitors the operation of the microcomputer 2. Q is a driving transistor for driving the load 3, and 5 is an AND gate for controlling the driving transistor Q.

【0021】監視用IC4は、マイコン2の出力を入力
することにより、マイコン2の動作を常時監視してい
る。この監視用IC4は、マイコン2の出力が正常か異
状かを判断して、異状と判断したときは、マイコン2に
対してリセット信号SRを出力するとともに、マイコン
2の出力を停止させるマスク信号SMを出力する機能を
備えている。マイコン2の出力が正常か異状かの判断
は、その出力のパルス幅を監視して、その変動状況が激
しくて正常範囲から外れたときには、マイコンが異状で
あるとの判断を行う。
The monitoring IC 4 constantly monitors the operation of the microcomputer 2 by inputting the output of the microcomputer 2. The monitoring IC 4 determines whether the output of the microcomputer 2 is normal or abnormal, and when it determines that the output is abnormal, outputs a reset signal SR to the microcomputer 2 and a mask signal SM for stopping the output of the microcomputer 2. Output function. To determine whether the output of the microcomputer 2 is normal or abnormal, the pulse width of the output is monitored, and if the fluctuation is out of the normal range due to severe fluctuation, it is determined that the microcomputer is abnormal.

【0022】図2は、監視用IC4の具体的回路構成を
示している。監視用IC4は、マイコン2の出力を監視
するWDT部6と、WDT部6の出力に基づきマイコン
2の出力が異状であるときはリセット信号SRをマイコ
ン2に出力するリセット部7と、マイコン2の出力が異
状であるときはマスク信号SMを出力するマスク信号出
力部8とから構成されている。WDT部6とリセット部
7との間はオアゲート12によって接続されている。V
ccは電源、R1〜R4は抵抗である。この監視用IC
4は、従来WDT部6とリセット部7とからなるWDT
として知られているICに、新たにマスク信号出力部8
が追加されて構成されている。
FIG. 2 shows a specific circuit configuration of the monitoring IC 4. The monitoring IC 4 includes a WDT unit 6 that monitors the output of the microcomputer 2, a reset unit 7 that outputs a reset signal SR to the microcomputer 2 when the output of the microcomputer 2 is abnormal based on the output of the WDT unit 6, When the output is abnormal, the mask signal output section 8 outputs a mask signal SM. The WDT unit 6 and the reset unit 7 are connected by an OR gate 12. V
cc is a power supply, and R1 to R4 are resistors. This monitoring IC
4 is a conventional WDT comprising a WDT unit 6 and a reset unit 7
A new mask signal output unit 8
Has been added.

【0023】WDT部6は、端子T1からマイコン2の
出力を入力してこの信号によって制御される第1のトラ
ンジスタQ1と、これに直列接続された第2のトランジ
スタQ2と、第1の定電流源I1と、第1のコンパレー
タ9及び第2のコンパレータ10と、第1及び第2のコ
ンパレータ9、10の両出力を入力するアンドゲート1
1とから構成されている。また、第1の定電流源I1に
は第1のキャパシタCWが外付けで接続されている。
The WDT section 6 receives the output of the microcomputer 2 from the terminal T1 and controls the first transistor Q1 controlled by this signal, the second transistor Q2 connected in series to the first transistor Q1, and the first constant current A source I1, a first comparator 9 and a second comparator 10, and an AND gate 1 for inputting both outputs of the first and second comparators 9 and 10;
And 1. Further, a first capacitor CW is externally connected to the first constant current source I1.

【0024】第1のキャパシタCWは、端子T1から入
力されるマイコン2の出力がH(High;ハイ)レベ
ルのときは、定電流源I1によって充電されるととも
に、その出力がL(Low;ロー)レベルのときは、ト
ランジスタQ2により放電されて、三角波信号を発振す
るように働く。
When the output of the microcomputer 2 input from the terminal T1 is at a high level, the first capacitor CW is charged by the constant current source I1, and the output of the first capacitor CW is low. ) Level, it is discharged by the transistor Q2 and acts to oscillate a triangular wave signal.

【0025】第1のコンパレータ9の−端子及び第2の
コンパレータ10の+端子はともに第1のキャパシタC
Wに接続されて、その三角波信号が入力されるようにな
っている。一方、第1のコンパレータ9の+端子は基準
電位V1´に接続されるとともに、第2のコンパレータ
10の−端子は基準電位V1(V1´>V1)に接続さ
れるようになっている。これら第1及び第2のコンパレ
ータ9、10は、いわゆるウインドコンパレータを構成
しており、第1のキャパシタCWから入力される三角波
信号の大きさがV1〜V1´の間にあるときだけ、アン
ドゲート11からHレベルを出力するようになってい
る。このアンドゲート11からの出力はオアゲート12
を通じてスイッチSWをオフ(閉)させる。
The minus terminal of the first comparator 9 and the plus terminal of the second comparator 10 are both connected to the first capacitor C.
W to receive the triangular wave signal. On the other hand, the + terminal of the first comparator 9 is connected to the reference potential V1 ′, and the − terminal of the second comparator 10 is connected to the reference potential V1 (V1 ′> V1). These first and second comparators 9 and 10 constitute a so-called window comparator, and only when the magnitude of the triangular wave signal input from the first capacitor CW is between V1 and V1 ', is the AND gate. 11 outputs an H level. The output from this AND gate 11 is OR gate 12
The switch SW is turned off (closed) through.

【0026】リセット部7は、オアゲート12を通じて
入力されるWDT部6のアンドゲート11の出力によっ
て開閉動作が制御されるスイッチSWと、このスイッチ
SWを通じて直列接続される第2の定電流源I2及び第
3の定電流源I3(I2<I3)と、第3のコンパレー
タ13と、第3のトランジスタQ3とから構成されてい
る。第3のコンパレータ13の出力の一部は、第1のイ
ンバータIV1を通じてオアゲート12の入力に接続さ
れる。また、第2の定電流源I2には第2のキャパシタ
CWが外付けで接続されている。
The reset unit 7 includes a switch SW whose opening and closing operation is controlled by the output of the AND gate 11 of the WDT unit 6 input through the OR gate 12, a second constant current source I2 connected in series through the switch SW, It comprises a third constant current source I3 (I2 <I3), a third comparator 13, and a third transistor Q3. Part of the output of the third comparator 13 is connected to the input of the OR gate 12 through the first inverter IV1. A second capacitor CW is externally connected to the second constant current source I2.

【0027】第2のキャパシタCRは、第2の定電流源
I2によって充電されるとともに、スイッチSWがオン
時は、第2及び第3の定電流源I2、I3による電流I
2〜I3によって放電されて、三角波信号を発振するよ
うに働く。
The second capacitor CR is charged by the second constant current source I2, and when the switch SW is turned on, the current I by the second and third constant current sources I2 and I3 is charged.
It is discharged by 2 to I3 and works to oscillate a triangular wave signal.

【0028】第3のコンパレータ13の+端子は第2の
キャパシタCRに接続されるとともに、その−端子は抵
抗R4を通じて第3のトランジスタQ3に接続されるよ
うになっている。また、抵抗R4は抵抗R3に並列接続
されている。これによって、第3のコンパレータ13
は、−端子の入力として基準電位V2、V2´(V2<
V2´)の二値をとるヒシテリシスコンパレータを構成
している。すなわち、トランジスタQ3がオフの状態で
はV2´をとるとともに、トランジスタQ3がオンの状
態では、抵抗R3、R4が並列接続されて、V2をとる
ように構成されている。
The + terminal of the third comparator 13 is connected to the second capacitor CR, and the-terminal of the third comparator 13 is connected to the third transistor Q3 through the resistor R4. The resistor R4 is connected in parallel with the resistor R3. Thereby, the third comparator 13
Are reference potentials V2, V2 '(V2 <
V2 ') to form a hysteresis comparator which takes two values. That is, when the transistor Q3 is off, V2 'is taken, and when the transistor Q3 is on, the resistors R3 and R4 are connected in parallel to take V2.

【0029】端子T1にマイコン2からの入力がない場
合は、第2のキャパシタCRは規則的な三角波信号を発
振するので、第3のコンパレータ13は規則的なH−L
のパルスを発生して、端子T2からマイコン2へリセッ
ト信号SRを出力する。
When there is no input from the microcomputer 2 to the terminal T1, the second capacitor CR oscillates a regular triangular wave signal.
And a reset signal SR is output from the terminal T2 to the microcomputer 2.

【0030】ここで、端子T1にマイコン2から正常な
出力が入力された場合は、WDT部6からの出力におけ
るHレベルとなる時間が長くなる(スイッチSWのオフ
時間は長くなる)ので、第2のキャパシタCRの電位は
充電されて上昇するようになる。このため、第3のコン
パレータ13の出力はHレベルに保持される。
Here, when a normal output is input from the microcomputer 2 to the terminal T1, the time during which the output from the WDT unit 6 becomes H level becomes longer (the OFF time of the switch SW becomes longer). The potential of the second capacitor CR is charged and rises. Therefore, the output of the third comparator 13 is kept at the H level.

【0031】また、マイコン2が暴走して、端子T1に
マイコン2から異常な出力が入力された場合は、リセッ
ト部7のスイッチSWのオフ時間は短くなるので、第2
のキャパシタCRの電位は放電されて低下するようにな
るので、端子T2からリセット信号SRが出力される。
When the microcomputer 2 runs away and an abnormal output is input from the microcomputer 2 to the terminal T1, the off time of the switch SW of the reset unit 7 is shortened.
Is discharged and the potential of the capacitor CR is lowered, so that the reset signal SR is output from the terminal T2.

【0032】マスク信号出力部8は、第4のコンパレー
タ14と、これに接続されたラッチ回路15とから構成
されている。
The mask signal output section 8 comprises a fourth comparator 14 and a latch circuit 15 connected thereto.

【0033】第4のコンパレータ14の+端子は第2の
キャパシタCRに接続されるとともに、その−端子は基
準電位V3(V3>V2´)に接続されている。
The + terminal of the fourth comparator 14 is connected to the second capacitor CR, and the-terminal is connected to the reference potential V3 (V3> V2 ').

【0034】ラッチ回路15のR(リセット)端子は第
4のコンパレータ14の出力側に接続されるとともに、
そのS(セット)端子は第2のインバータIV2を通じ
てリセット部7の第3のコンパレータ13の出力側に接
続される。
The R (reset) terminal of the latch circuit 15 is connected to the output side of the fourth comparator 14,
The S (set) terminal is connected to the output side of the third comparator 13 of the reset unit 7 through the second inverter IV2.

【0035】ラッチ回路15は入力信号を所望時間保持
するように働き、これによりマイコン2の出力が異状に
なった場合に、正確にこれを検知できるように構成され
ている。
The latch circuit 15 functions so as to hold the input signal for a desired time, so that when the output of the microcomputer 2 becomes abnormal, it can be detected accurately.

【0036】ラッチ回路15のR端子に入力されるリセ
ット信号がLレベルのとき、ラッチ回路15はラッチさ
れて反転Q端子からLレベル信号を出力する。一方、第
2のキャパシタCWの電位が基準電位V3より高くなっ
たときは、ラッチ回路15はリセットされて反転Q端子
からHレベル信号を出力する。このラッチ回路15の反
転Q端子からの出力は、マスク信号SMとして端子T3
から、図1のアンドゲート5に出力されて、マイコン2
の出力をマスクする。
When the reset signal input to the R terminal of the latch circuit 15 is at L level, the latch circuit 15 is latched and outputs an L level signal from the inverted Q terminal. On the other hand, when the potential of the second capacitor CW becomes higher than the reference potential V3, the latch circuit 15 is reset and outputs an H level signal from the inverted Q terminal. The output from the inverted Q terminal of the latch circuit 15 is used as a mask signal SM at the terminal T3.
Is output to the AND gate 5 in FIG.
Mask the output of

【0037】次に、本実施形態によるマイコン監視シス
テム1の動作について、図3乃至図5のタイミングチャ
ートを参照して説明する。監視対象であるマイコン2
が、(1)非動作時、(2)正常動作時、(3)異常動
作時の3通りに分けて順次説明する。
Next, the operation of the microcomputer monitoring system 1 according to the present embodiment will be described with reference to the timing charts of FIGS. Microcomputer 2 to be monitored
However, (1) at the time of non-operation, (2) at the time of normal operation, and (3) at the time of abnormal operation will be sequentially described in three ways.

【0038】(1)マイコンが非動作時 図3に示すように、(a)のマイコンの出力SPはない
ので、監視用IC4の端子T1に入力はないため、WD
T部6のトランジスタQ1はオフするとともに、トラン
ジスタQ2はオンする。これにより、(b)の第1のキ
ャパシタCWの出力はLレベルとなる。
(1) When the microcomputer is not operating As shown in FIG. 3, since there is no output SP of the microcomputer of (a), there is no input to the terminal T1 of the monitoring IC 4, so that WD
The transistor Q1 of the T section 6 turns off and the transistor Q2 turns on. As a result, the output of the first capacitor CW in FIG.

【0039】また、リセット部8のスイッチSWはオン
しており、第2のキャパシタCRは(c)のように、V
2´−V2の規則的な三角波信号を発振するので、第3
のコンパレータ13は規則的なH−Lのパルスを発生し
て、端子T2からマイコン2へ(d)のような規則的な
リセット信号SRを出力する。
Further, the switch SW of the reset unit 8 is turned on, and the second capacitor CR is connected to V
Since a regular triangular wave signal of 2'-V2 is oscillated, the third
The comparator 13 generates a regular HL pulse and outputs a regular reset signal SR as shown in (d) to the microcomputer 2 from the terminal T2.

【0040】さらに、第2のキャパシタCRの電位が基
準電位V3以下に保持されているので、マスク信号部8
のラッチ回路15はR端子にLレベルのリセット信号S
Rが入力されるためラッチされて、(e)のようなLレ
ベルのマスク信号SMを出力する。
Further, since the potential of the second capacitor CR is kept below the reference potential V3, the mask signal portion 8
Latch circuit 15 outputs an L-level reset signal S to the R terminal.
Since R is input, it is latched and outputs an L level mask signal SM as shown in (e).

【0041】(2)マイコンが正常動作時 図4に示すように、(a)のマイコンの出力は規則的な
H−Lのパルスとなって、監視用IC4の端子T1に入
力される。これにより、WDT部6のトランジスタQ1
はオン、オフし、トランジスタQ2はオフ、オンする。
第1のキャパシタCWは基準電位V1´をピークとす
る、(b)のような規則的な三角波信号を出力する。
(2) When the microcomputer operates normally As shown in FIG. 4, the output of the microcomputer shown in (a) becomes regular HL pulses and is inputted to the terminal T1 of the monitoring IC 4. As a result, the transistor Q1 of the WDT unit 6
Turns on and off, and the transistor Q2 turns off and on.
The first capacitor CW outputs a regular triangular wave signal having a peak at the reference potential V1 'as shown in FIG.

【0042】また、リセット部7の第2のキャパシタC
Rの電位は、WDT部6からの出力におけるHレベルと
なる時間が長くなるので、充電されて上昇するようにな
るため、第2のキャパシタCRは(c)に示すように、
徐々にピークが上昇する三角波信号を出力する。これに
より、第3のコンパレータ13は、第2のキャパシタC
Rの出力(c)が基準電位V2´に上昇したタイミング
で、それまでのLレベルがHレベルに立ち上がった
(d)のようなリセット信号SRを発生して、端子T2
からマイコン2へ出力する。
The second capacitor C of the reset unit 7
The potential of R rises because it takes a long time to be at the H level in the output from the WDT unit 6, so that the second capacitor CR is charged as shown in (c).
A triangular wave signal whose peak gradually rises is output. As a result, the third comparator 13 sets the second capacitor C
At the timing when the output (c) of R rises to the reference potential V2 ', a reset signal SR as shown in (d) in which the L level has risen to the H level is generated, and the terminal T2
To the microcomputer 2.

【0043】さらに、マスク信号出力部8のラッチ回路
15は、第2のキャパシタCRの出力(c)が基準電位
V3に上昇したタイミングで、それまでのLレベルがH
レベルに立ち上がった(e)のようなマスク信号SMを
発生して、端子T3から出力する。
Further, at the timing when the output (c) of the second capacitor CR rises to the reference potential V3, the latch circuit 15 of the mask signal output section 8 changes the L level up to that time to H.
A mask signal SM as shown in (e) rising to the level is generated and output from the terminal T3.

【0044】(3)マイコンが異常動作時 図5に示すように、(a)のマイコンの出力は不規則的
なH−Lのパルスとなって、すなわち経時的に幅が変動
したパルスとなって、監視用IC4の端子T1に入力さ
れる。これにより、WDT部6のトランジスタQ1、Q
2がオン、オフする周期が不規則になり、第1のキャパ
シタCWは(a)のマイコン2の出力SPにおけるそれ
ぞれパルス幅に比例したピークを有する、(b)のよう
な三角波信号を出力する。
(3) Abnormal operation of the microcomputer As shown in FIG. 5, the output of the microcomputer in (a) is an irregular HL pulse, that is, a pulse whose width fluctuates with time. Then, it is inputted to the terminal T1 of the monitoring IC4. As a result, the transistors Q1 and Q
2 is turned on and off at irregular intervals, and the first capacitor CW outputs a triangular wave signal as shown in (b), which has a peak proportional to the pulse width in the output SP of the microcomputer 2 in (a). .

【0045】この図5の(b)の第1のキャパシタCW
による三角波信号の列は、図4の(b)の三角波信号の
ように規則的な波形にはならず、図5の(a)の出力S
Pのパルス幅に応じて周波数が変化してくるようにな
る。すなわち、(a)のパルス列の区間Aが正常な出力
とすると、この区間AのパルスP1に対応した三角波信
号S1は図4の(b)の三角波信号に相当した周波数の
信号が出力される。次に、(a)のパルス列の区間Bが
パルス幅の大きい出力とすると、この区間BのパルスP
2、P3に対応した三角波信号S2、S3はピークの大
きい信号となり、周波数の低い信号となる。続いて、
(a)のパルス列の区間Cがパルス幅の小さい出力とす
ると、この区間CのパルスP4、P5、P6…に対応し
た三角波信号S4、S5、S6…はピークの小さい信号
となり、周波数の高い信号となる。
The first capacitor CW shown in FIG.
The triangular wave signal sequence does not have a regular waveform like the triangular wave signal shown in FIG. 4B, and the output S shown in FIG.
The frequency changes according to the pulse width of P. That is, assuming that the section A of the pulse train in FIG. 4A is normal, the triangular wave signal S1 corresponding to the pulse P1 in this section A has a frequency corresponding to the triangular wave signal in FIG. 4B. Next, assuming that section B of the pulse train in (a) is an output having a large pulse width, the pulse P in this section B is output.
2, the triangular wave signals S2 and S3 corresponding to P3 are signals having large peaks and signals having low frequencies. continue,
Assuming that the section C of the pulse train in (a) is an output having a small pulse width, the triangular wave signals S4, S5, S6... Corresponding to the pulses P4, P5, P6. Becomes

【0046】すなわち、マイコン2の出力のパルス列に
応じた三角波信号の周波数を監視することにより、正常
時のパルス列に比較して、パルス幅の大きい信号あるい
は小さい信号になった場合は、マイコン2の出力が異常
であると判断することができ、マイコン2が暴走したと
みなすことができる。
That is, by monitoring the frequency of the triangular wave signal corresponding to the pulse train output from the microcomputer 2, if the signal has a pulse width larger or smaller than that of the normal pulse train, the signal of the microcomputer 2 The output can be determined to be abnormal, and the microcomputer 2 can be considered to have run away.

【0047】また、リセット部7の第2のキャパシタC
Rの電位は、WDT部6からの出力におけるHレベルと
なる時間が短くなるので、放電されて低下するようにな
るため、第2のキャパシタCRは(c)に示すように、
徐々にピークが下降して基準電位V2´をピークとした
レベルで安定した三角波信号を出力する。これにより、
第3のコンパレータ13は、第2のキャパシタCRの出
力(c)が基準電位V2に下降したタイミングで、それ
までのHレベルがLレベルに下がった(d)のようなリ
セット信号SRを発生して、端子T2からマイコン2へ
出力する。
The second capacitor C of the reset unit 7
Since the time during which the potential of R becomes the H level in the output from the WDT unit 6 is shortened, the potential of R is reduced by discharging, so that the second capacitor CR is set as shown in (c).
The peak gradually decreases, and a stable triangular wave signal is output at a level having the peak at the reference potential V2 '. This allows
At the timing when the output (c) of the second capacitor CR drops to the reference potential V2, the third comparator 13 generates a reset signal SR as shown in (d) in which the previous H level has dropped to the L level. Then, the signal is output from the terminal T2 to the microcomputer 2.

【0048】さらに、これと同時に、マスク信号出力部
8のラッチ回路15は、第3のコンパレータ13の出力
である(d)のリセット信号SRが最初にそれまでのH
レベルがLレベルに下がったタイミングで、それまでの
HレベルがLレベルに立ち上がった(e)のようなマス
ク信号SMを発生して、端子T3からアンドゲート5へ
出力する。
Further, at the same time, the latch circuit 15 of the mask signal output section 8 outputs the reset signal SR of (d) which is the output of the third comparator 13 first to the H level.
At the timing when the level falls to the L level, a mask signal SM as shown in (e) in which the H level has risen to the L level up to that time is generated and output from the terminal T3 to the AND gate 5.

【0049】このように、マイコン2へ端子T2から図
5の(d)のリセット信号SRが出力されるとともに、
端子T3から図5の(e)のマスク信号SMがアンドゲ
ート5に出力されることにより、アンドゲート5の機能
によってマイコン2はこの動作が停止される。これによ
って、従来のように、マイコンに対してリセット信号だ
けでなくマスク信号を出力させるために、WDT以外に
ゲートアレイなどの別のICを用いたり、あるいはサブ
マイコンを用いてマイコン監視システムを構成すること
は不要になる。従って、システムの構成が簡単になるた
め、コストアップを避けることができる。また、別のI
Cやサブマイコンなどの余分な部品を用いないことによ
って、故障のポテンシャルが増えるような不都合は生じ
ない。
As described above, while the reset signal SR shown in FIG. 5D is output from the terminal T2 to the microcomputer 2,
When the mask signal SM shown in FIG. 5E is output from the terminal T3 to the AND gate 5, the operation of the microcomputer 2 is stopped by the function of the AND gate 5. As a result, in order to output the mask signal as well as the reset signal to the microcomputer as in the conventional case, another IC such as a gate array is used in addition to the WDT, or the microcomputer monitoring system is configured using a sub-microcomputer. It becomes unnecessary to do. Accordingly, the configuration of the system is simplified, and an increase in cost can be avoided. Another I
By not using extra components such as C and sub-microcomputer, there is no inconvenience that the potential for failure increases.

【0050】以上のような本実施形態によるマイコン監
視システム1によれば次のような効果を得ることができ
る。
According to the microcomputer monitoring system 1 of the present embodiment as described above, the following effects can be obtained.

【0051】(1)マイコン2の出力が正常か異常かを
判断し、異常と判断したときはマイコン2に対してリセ
ット信号SRを出力するとともに、マスク信号SMを出
力する機能を備えた監視用IC4をマイコン2に接続
し、この監視用IC4がマイコン2の出力を異常と判断
したときは、前記リセット信号SRをマイコン2に出力
するとともに、マスク信号SMでマイコン2の出力をマ
スクしてマイコン2の出力を停止させるので、システム
の構成を簡単にして、マイコンに対してリセット信号を
出力するとともに、マイコンの出力をマスクするマスク
信号を出力させるマイコン監視システムを構成すること
が可能となる。
(1) It is determined whether the output of the microcomputer 2 is normal or abnormal. If the output is determined to be abnormal, a monitoring signal having a function of outputting a reset signal SR to the microcomputer 2 and outputting a mask signal SM is provided. When the IC 4 is connected to the microcomputer 2 and the monitoring IC 4 determines that the output of the microcomputer 2 is abnormal, the microcomputer 4 outputs the reset signal SR to the microcomputer 2 and masks the output of the microcomputer 2 with the mask signal SM. Since the output of the microcomputer 2 is stopped, the configuration of the system can be simplified, and a microcomputer monitoring system that outputs a reset signal to the microcomputer and outputs a mask signal for masking the output of the microcomputer can be configured.

【0052】(2)マイコン2の出力が異常であると判
断したときは、マイコン2に対してリセット信号SRを
出力するとともに、マイコン2の出力をマスクするマス
ク信号SMを出力する機能を備えた監視用IC4を用い
てマイコン監視システム1を構成するので、システムの
構成を簡単にできるので、コストダウンが可能となる。
(2) When the output of the microcomputer 2 is determined to be abnormal, a function of outputting a reset signal SR to the microcomputer 2 and outputting a mask signal SM for masking the output of the microcomputer 2 is provided. Since the microcomputer monitoring system 1 is configured by using the monitoring IC 4, the configuration of the system can be simplified, so that the cost can be reduced.

【0053】以上、本発明者によってなされた発明を、
前記実施形態に基づき具体的に説明したが、本発明は、
前記実施形態に限定されるものではなく、その要旨を逸
脱しない範囲において種々変更可能であることは勿論で
ある。
As described above, the invention made by the present inventor is:
Although specifically described based on the embodiment, the present invention
It is needless to say that the present invention is not limited to the above-described embodiment, but can be variously modified without departing from the scope of the invention.

【0054】例えば、前記実施形態では各種信号の論理
レベルは一例を示したものであるが、これに限らず任意
の論理レベルに設定することができる。例えば、マイコ
ンの動作を停止させるためのマスク信号はLレベルに設
定した例で説明したが、逆にHレベルに設定するように
しても良い。
For example, in the above-described embodiment, the logic levels of various signals are shown by way of example. However, the present invention is not limited to this, and can be set to any logic level. For example, although the mask signal for stopping the operation of the microcomputer has been described as being set at the L level, the mask signal may be set at the H level.

【0055】以上の説明では主として本発明者によって
なされた発明をその背景となった利用分野であるマイコ
ン監視システムに適用した場合について説明したが、そ
れに限定されるものではない。本発明は、少なくとも負
荷を制御する制御素子に異常が検知されたときに、その
制御素子の動作を停止させることを条件とするものには
適用できる。
In the above description, the case where the invention made by the present inventor is mainly applied to a microcomputer monitoring system, which is the field of application as the background, has been described, but the invention is not limited to this. The present invention can be applied to an apparatus that is conditioned on stopping the operation of at least a control element that controls a load when an abnormality is detected.

【0056】[0056]

【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば、下
記の通りである。
The effects obtained by typical ones of the inventions disclosed in the present application will be briefly described as follows.

【0057】マイクロコンピュータの出力が正常か異常
かを判断し、異常と判断したときはマイクロコンピュー
タに対してリセット信号とともにマスク信号を出力する
機能を備えた半導体集積回路装置をマイクロコンピュー
タに接続し、この半導体集積回路装置がマイクロコンピ
ュータの出力を異常と判断したときは、リセット信号を
マイクロコンピュータに出力するとともに、マスク信号
でマイクロコンピュータの出力をマスクしてマイクロコ
ンピュータの出力を停止させるので、システムの構成を
簡単にして、マイクロコンピュータに対してリセット信
号を出力するとともに、マイクロコンピュータの出力を
マスクするマスク信号を出力させるマイコン監視システ
ムを構成することが可能となる。
It is determined whether the output of the microcomputer is normal or abnormal. If the output is determined to be abnormal, a semiconductor integrated circuit device having a function of outputting a reset signal and a mask signal to the microcomputer is connected to the microcomputer. When the semiconductor integrated circuit device determines that the output of the microcomputer is abnormal, the reset signal is output to the microcomputer, and the output of the microcomputer is stopped by masking the output of the microcomputer with a mask signal. By simplifying the configuration, it is possible to configure a microcomputer monitoring system that outputs a reset signal to the microcomputer and outputs a mask signal for masking the output of the microcomputer.

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

【図1】本発明の実施形態によるマイクロコンピュータ
監視システムの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a microcomputer monitoring system according to an embodiment of the present invention.

【図2】本発明の実施形態によるマイクロコンピュータ
監視システムに用いられる監視用ICの具体的構成を示
す回路図である。
FIG. 2 is a circuit diagram showing a specific configuration of a monitoring IC used in the microcomputer monitoring system according to the embodiment of the present invention.

【図3】マイコンが非動作時の本発明の実施形態による
マイクロコンピュータ監視システムの動作を説明するタ
イミングチャートである。
FIG. 3 is a timing chart illustrating the operation of the microcomputer monitoring system according to the embodiment of the present invention when the microcomputer is not operating.

【図4】マイコンが正常動作時の本発明の実施形態によ
るマイクロコンピュータ監視システムの動作を説明する
タイミングチャートである。
FIG. 4 is a timing chart illustrating the operation of the microcomputer monitoring system according to the embodiment of the present invention when the microcomputer operates normally.

【図5】マイコンが異常動作時の本発明の実施形態によ
るマイクロコンピュータ監視システムの動作を説明する
タイミングチャートである。
FIG. 5 is a timing chart illustrating the operation of the microcomputer monitoring system according to the embodiment of the present invention when the microcomputer operates abnormally.

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

1…マイコン(マイクロコンピュータ)監視システム、
2…マイコン(マイクロコンピュータ)、3…負荷、4
…監視用IC(半導体集積回路装置)、5、11…アン
ドゲート、6…WDT(Watch Dog Time
r)部、7…リセット部、8…マスク信号出力部、9…
第1のコンパレータ、10…第2のコンパレータ、12
…オアゲート、13…第3のコンパレータ、14…第4
のコンパレータ、15…ラッチ回路、SR…リセット信
号、SM…マスク信号、Q、Q1、Q2、Q3…トラン
ジスタ、I1、I2、I3…定電流源、CW…第1のキ
ャパシタ、CR…第2のキャパシタ、SW…スイッチ、
V1、V1´、V2、V2´、V3…基準電位、IV1
…第1のインバータ、IV2…第2のインバータ、Vc
c…電源、R1〜R4…抵抗。
1 ... microcomputer (microcomputer) monitoring system,
2 ... microcomputer (microcomputer), 3 ... load, 4
... Monitoring IC (semiconductor integrated circuit device), 5, 11 AND gate, 6 WDT (Watch Dog Time)
r) part, 7 ... reset part, 8 ... mask signal output part, 9 ...
First comparator, 10... Second comparator, 12
... OR gate, 13 ... third comparator, 14 ... fourth
Latch circuit, SR reset signal, SM mask signal, Q, Q1, Q2, Q3 transistor, I1, I2, I3 constant current source, CW first capacitor, CR second Capacitor, SW ... Switch,
V1, V1 ', V2, V2', V3... Reference potential, IV1
... first inverter, IV2 ... second inverter, Vc
c: power supply, R1 to R4: resistance.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 所望の負荷を制御するマイクロコンピュ
ータの動作を常時監視して、異常を検知したときはマイ
クロコンピュータの出力を停止させるように働くマイク
ロコンピュータ監視システムであって、前記マイクロコ
ンピュータの出力が正常か異常かを判断し、異常と判断
したときはリセット信号とともにマスク信号を出力する
機能を備えた半導体集積回路装置を前記マイクロコンピ
ュータに接続し、この半導体集積回路装置がマイクロコ
ンピュータの出力を異常と判断したときは、前記リセッ
ト信号をマイクロコンピュータに出力するとともに、前
記マスク信号でマイクロコンピュータの出力をマスクし
てマイクロコンピュータの出力を停止させることを特徴
とするマイクロコンピュータ監視システム。
1. A microcomputer monitoring system which constantly monitors the operation of a microcomputer for controlling a desired load and stops an output of the microcomputer when an abnormality is detected. Is determined to be normal or abnormal, and when determined to be abnormal, a semiconductor integrated circuit device having a function of outputting a mask signal together with a reset signal is connected to the microcomputer, and the semiconductor integrated circuit device outputs the output of the microcomputer. A microcomputer monitoring system that outputs the reset signal to the microcomputer when the abnormality is determined, and stops the microcomputer output by masking the microcomputer output with the mask signal;
【請求項2】 前記半導体集積回路装置は、マイクロコ
ンピュータの出力のパルス幅を監視して、出力が正常か
異常かを判断することを特徴とする請求項1に記載のマ
イクロコンピュータ監視システム。
2. The microcomputer monitoring system according to claim 1, wherein the semiconductor integrated circuit device monitors a pulse width of an output of the microcomputer to determine whether the output is normal or abnormal.
【請求項3】 前記半導体集積回路装置は、マイクロコ
ンピュータの出力のパルス幅の変動が激しいときは、出
力が異常であると判断することを特徴とする請求項2に
記載のマイクロコンピュータ監視システム。
3. The microcomputer monitoring system according to claim 2, wherein the semiconductor integrated circuit device judges that the output is abnormal when the pulse width of the output of the microcomputer fluctuates greatly.
【請求項4】 マイクロコンピュータに接続されてその
出力を入力することによりその動作を常時監視する半導
体集積回路装置であって、前記マイクロコンピュータの
出力が異常であると判断したときは、マイクロコンピュ
ータに対してリセット信号を出力するとともに、マイク
ロコンピュータの出力をマスクするマスク信号を出力す
る機能を備えたことを特徴とする半導体集積回路装置。
4. A semiconductor integrated circuit device connected to a microcomputer and constantly monitoring its operation by inputting its output. When it is determined that the output of said microcomputer is abnormal, the microcomputer is connected to the microcomputer. A semiconductor integrated circuit device having a function of outputting a reset signal and a mask signal for masking an output of a microcomputer.
【請求項5】 前記マイクロコンピュータの出力のパル
ス幅の変動が激しいときは、出力が異常であると判断す
ることを特徴とする請求項4に記載の半導体集積回路装
置。
5. The semiconductor integrated circuit device according to claim 4, wherein the output is judged to be abnormal when the pulse width of the output of the microcomputer is large.
【請求項6】 マイクロコンピュータに接続されてその
出力を入力することによりその動作を常時監視する半導
体集積回路装置であって、マイクロコンピュータの出力
を入力してそのパルス幅に応じて規則的なまたは不規則
的な三角波信号を発生し、この三角波信号のレベルが二
つの基準電位の範囲にあるときだけ所定レベルの信号を
出力するウオッチ・ドッグ・タイマ部と、このウオッチ
・ドッグ・タイマ部の出力を入力し前記所定レベルの信
号の継続時間に応じてピークの上昇するまたは下降する
三角波信号を発生し、この三角波信号のレベルに応じて
H−Lで交互に変化するリセット信号を出力するリセッ
ト部と、このリセット部の出力を入力し前記リセット信
号の出力のタイミングでマスク信号を出力するマスク信
号出力部とを備えることを特徴とする半導体集積回路装
置。
6. A semiconductor integrated circuit device which is connected to a microcomputer and constantly monitors its operation by inputting its output. The semiconductor integrated circuit device receives an output of the microcomputer and regularly or in accordance with a pulse width thereof. A watch dog timer unit that generates an irregular triangular wave signal and outputs a signal of a predetermined level only when the level of the triangular wave signal is within two reference potential ranges, and an output of the watch dog timer unit And a reset unit for generating a triangular wave signal whose peak rises or falls according to the duration of the signal of the predetermined level, and outputs a reset signal which alternates between HL according to the level of the triangular wave signal And a mask signal output unit that receives an output of the reset unit and outputs a mask signal at the timing of outputting the reset signal. A semiconductor integrated circuit device characterized by the above-mentioned.
JP8152771A 1996-06-14 1996-06-14 Microcomputer monitor system and semiconductor integrated circuit device used for the same Pending JPH103409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8152771A JPH103409A (en) 1996-06-14 1996-06-14 Microcomputer monitor system and semiconductor integrated circuit device used for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8152771A JPH103409A (en) 1996-06-14 1996-06-14 Microcomputer monitor system and semiconductor integrated circuit device used for the same

Publications (1)

Publication Number Publication Date
JPH103409A true JPH103409A (en) 1998-01-06

Family

ID=15547799

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8152771A Pending JPH103409A (en) 1996-06-14 1996-06-14 Microcomputer monitor system and semiconductor integrated circuit device used for the same

Country Status (1)

Country Link
JP (1) JPH103409A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100368969B1 (en) * 2000-06-30 2003-01-24 주식회사 하이닉스반도체 Wafer level package
US7269492B2 (en) 2003-06-03 2007-09-11 Hitachi, Ltd. Control system
JP2008003797A (en) * 2006-06-21 2008-01-10 Denso Corp Microcomputer and electronic control device
JP2009265711A (en) * 2008-04-22 2009-11-12 Hitachi High-Technologies Corp Control system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100368969B1 (en) * 2000-06-30 2003-01-24 주식회사 하이닉스반도체 Wafer level package
US7269492B2 (en) 2003-06-03 2007-09-11 Hitachi, Ltd. Control system
JP2008003797A (en) * 2006-06-21 2008-01-10 Denso Corp Microcomputer and electronic control device
JP4665846B2 (en) * 2006-06-21 2011-04-06 株式会社デンソー Microcomputer and electronic control device
JP2009265711A (en) * 2008-04-22 2009-11-12 Hitachi High-Technologies Corp Control system

Similar Documents

Publication Publication Date Title
KR100296984B1 (en) Monitoring System For Electronic Control System
US20230115936A1 (en) Power management circuit and method
JPWO2018181815A1 (en) Load drive device
JPH103409A (en) Microcomputer monitor system and semiconductor integrated circuit device used for the same
JP3732190B2 (en) Regulator protection circuit and power supply device including the same
JP2007065961A (en) Electronic control device and method
JP2001168286A (en) Control circuit for semiconductor device with superheating protection function
JP4015616B2 (en) Method for monitoring the voltage supply of a control device in a motor vehicle
JP2003060490A (en) Clock stop detecting circuit, and semiconductor device
KR0177093B1 (en) CPU reset circuit
JP3524294B2 (en) Switch open / closed state detection circuit
JP3597786B2 (en) Abnormality detection circuit and abnormality detection device for semiconductor integrated circuit
JP2556156B2 (en) In-vehicle control device microcomputer runaway monitoring device
JP7035929B2 (en) Power control device and electronic control device
JP2002369499A (en) Voltage controller
JP2006269930A (en) Pulse control circuit
JPH0443436A (en) Device with microprocessor
KR100731506B1 (en) Micro controller having watchdog circuit and controlling method therefor
JP2024044801A (en) Microcontrollers and Electronic Circuits
JP2860817B2 (en) PWM controller
KR100775328B1 (en) Apparatus for resetting micoms
JP2571589Y2 (en) Watchdog detection control circuit
JP2000221225A (en) Disconnection sensor and image input device having the same
JP2007252012A (en) Regulator damage preventing system
JPH04291634A (en) Fault detecting circuit for microcomputer