JP2006012009A - Monitoring circuit - Google Patents

Monitoring circuit Download PDF

Info

Publication number
JP2006012009A
JP2006012009A JP2004191009A JP2004191009A JP2006012009A JP 2006012009 A JP2006012009 A JP 2006012009A JP 2004191009 A JP2004191009 A JP 2004191009A JP 2004191009 A JP2004191009 A JP 2004191009A JP 2006012009 A JP2006012009 A JP 2006012009A
Authority
JP
Japan
Prior art keywords
capacitor
monitoring circuit
power supply
charge amount
supply voltage
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
JP2004191009A
Other languages
Japanese (ja)
Inventor
Naoki Fujii
直樹 藤井
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.)
Rohm Co Ltd
Original Assignee
Rohm Co 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 Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP2004191009A priority Critical patent/JP2006012009A/en
Publication of JP2006012009A publication Critical patent/JP2006012009A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To suppress costs for measures against noise and stabilization of power source voltage in a monitoring circuit which is effective technology for use in a fail-safe system for detecting an abnormal operation of a computer and automatically making it take an avoiding actions, etc. <P>SOLUTION: The monitoring circuit is provided with a means (1) for charging electric charge to a capacitor, a power source voltage determination means (5) for monitoring the power source voltage of a monitoring object, a first discharging means (2a) for performing discharge when an amount of the electric charge of the capacitor exceeds a first amount of electric charge, a second discharging means (2b) for performing discharge of the capacitor when the power supply voltage becomes less than first reference voltage and an amount of electric charge judgment means (4) for generating a signal to reset the monitoring object when the amount of electric charge of the capacitor becomes less than second amount of electric charge set as lower than the first amount of electric charge by discharge of the electric charge of the capacitor after the amount of electric charge of the capacitor exceeds the first electric charge. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明はコンピュータの異常動作を検出して自動的に回避処置をとらせるフェールセーフシステム等に利用するのに有効な技術である監視回路に関するものである。 The present invention relates to a monitoring circuit which is an effective technique for use in a fail-safe system or the like that detects an abnormal operation of a computer and automatically takes avoidance measures.

図5は従来の監視回路の回路図を示している。同図に示す従来の監視回路は、監視対象の一例であるマイコン107の電源電圧108(VDD)が、マイコン107が安全に動作するための電源電圧よりも下回った減電時に、マイコン107を安全に終了させるためのマイコン107の電源電圧108の監視と、マイコン107が正常に動作していない時間が一定時間を超えたときにマイコン107をリセットするための、マイコン107が正常時に動作しているときにマイコン107から出力される正常動作クロックの到達間隔を測定している。マイコン107の電源電圧108の監視は電源電圧判定手段である比較器105を用いることによって行い、また、正常動作クロックの間隔の監視は、充電手段である定電流源101と、放電手段である定電流源102aと放電手段であるNMOSトランジスタ102bを制御することによりコンデンサ103に蓄積される電荷量を電荷量判定手段であるウィンドコンパレータ104で測定して一定の時間を作り出し、正常動作クロックの到達を観測して行う。したがって、電源電圧108が減電時ではなく正常であり、かつ正常動作クロックが監視回路に入力されているときは、マイコン107はリセットされることなく動作し続けることになる。なお、マイコン107の電源電圧と監視回路の電源は同一の電源電圧が使用されている。 FIG. 5 shows a circuit diagram of a conventional monitoring circuit. The conventional monitoring circuit shown in FIG. 3 safely protects the microcomputer 107 when the power supply voltage 108 (VDD) of the microcomputer 107, which is an example of the monitoring target, is lower than the power supply voltage for the microcomputer 107 to operate safely. Monitoring the power supply voltage 108 of the microcomputer 107 for ending the process, and resetting the microcomputer 107 when the time when the microcomputer 107 is not operating normally exceeds a predetermined time. Sometimes the arrival interval of the normal operation clock output from the microcomputer 107 is measured. The power supply voltage 108 of the microcomputer 107 is monitored by using the comparator 105 which is power supply voltage determination means, and the normal operation clock interval is monitored by the constant current source 101 which is charging means and the constant current source which is discharging means. By controlling the current source 102a and the NMOS transistor 102b serving as the discharging means, the amount of charge accumulated in the capacitor 103 is measured by the window comparator 104 serving as the charge amount judging means to create a certain time, and the normal operation clock is reached. Observe and do. Therefore, when the power supply voltage 108 is normal, not during power reduction, and the normal operation clock is input to the monitoring circuit, the microcomputer 107 continues to operate without being reset. The same power supply voltage is used for the power supply voltage of the microcomputer 107 and the power supply of the monitoring circuit.

図5に示す従来の監視回路の動作を、図6に示す従来の監視回路の電圧変動図を用いて説明する。図6において、縦軸は電圧、横軸は時間を表しており、同図に示すグラフはそれぞれ(a)マイコン107の電源電圧108、(b)マイコン107からの正常動作クロック、(c)ウィンドコンパレータ104で測定するコンデンサ103の電荷量、(d)比較器105とウィンドコンパレータ104からのマイコン107へのリセット信号(ローでリセット状態)、(e)ウィンドコンパレータ104の出力、を示している。 The operation of the conventional monitoring circuit shown in FIG. 5 will be described with reference to the voltage fluctuation diagram of the conventional monitoring circuit shown in FIG. In FIG. 6, the vertical axis represents voltage, and the horizontal axis represents time. The graphs shown in FIG. 6 are (a) the power supply voltage 108 of the microcomputer 107, (b) the normal operation clock from the microcomputer 107, and (c) the window. The charge amount of the capacitor 103 measured by the comparator 104, (d) a reset signal (low and reset state) from the comparator 105 and the window comparator 104 to the microcomputer 107, and (e) the output of the window comparator 104 are shown.

図6の縦線(0)は、図5に示す従来の監視回路とマイコン107に電源が入ったタイミングを示している。このとき充電回路である定電流源101は起動するが、定電流源101の充電速度よりも早く放電を行う定電流源102aと、スイッチング動作によってコンデンサ103の放電を行うNMOSトランジスタ102bも起動することからコンデンサ103の電荷は蓄積しない。なお、充電回路である定電流源101は監視回路の電源が落ちない限り常に起動していることから、コンデンサ103の電荷は放電手段である定電流源102aとNMOSトランジスタ102bが起動していない場合はコンデンサ103の電荷は蓄積を続け、コンデンサ103の電荷を放出するには定電流源102aとNMOSトランジスタ102bを起動することによって行う。NMOSトランジスタ102bが起動するとコンデンサ103の電荷は、定電流源102aのみが起動している場合に比較して瞬時に放電される。 A vertical line (0) in FIG. 6 indicates the timing when the power is supplied to the conventional monitoring circuit and the microcomputer 107 shown in FIG. At this time, the constant current source 101 that is a charging circuit is started, but the constant current source 102a that discharges faster than the charging speed of the constant current source 101 and the NMOS transistor 102b that discharges the capacitor 103 by a switching operation are also started. Therefore, the electric charge of the capacitor 103 is not accumulated. Since the constant current source 101 that is a charging circuit is always activated unless the power of the monitoring circuit is turned off, the charge of the capacitor 103 is generated when the constant current source 102a and the NMOS transistor 102b that are discharging means are not activated. The capacitor 103 continues to accumulate charges, and the capacitor 103 is discharged by activating the constant current source 102a and the NMOS transistor 102b. When the NMOS transistor 102b is activated, the charge of the capacitor 103 is instantaneously discharged as compared with the case where only the constant current source 102a is activated.

図6の縦線(6)と縦線(10)は、図5の従来の監視回路に示すマイコン107からの正常動作クロックが監視回路に入力されないので、充電手段である定電流源101によってコンデンサ103の電荷が蓄積され、電荷量判定手段であるウィンドコンパレータ104で測定するコンデンサ103の電荷量がウィンドコンパレータ104のハイ側の閾値電圧(VCthh)を上回ったタイミングを示している。このときウィンドコンパレータ104の出力がハイになり、このウィンドコンパレータ104の出力ハイによってマイコン107にリセットがかけられる。 A vertical line (6) and a vertical line (10) in FIG. 6 indicate that the normal operation clock from the microcomputer 107 shown in the conventional monitoring circuit in FIG. 5 is not input to the monitoring circuit. The timing at which the charge of 103 is accumulated and the charge amount of the capacitor 103 measured by the window comparator 104 as charge amount determination means exceeds the threshold voltage (VCthh) on the high side of the window comparator 104 is shown. At this time, the output of the window comparator 104 becomes high, and the microcomputer 107 is reset by the output high of the window comparator 104.

図6の縦線(3)と縦線(8)は、図5の従来の監視回路が監視する電源電圧108が下がり、比較器105のロー側の閾値電圧(VDDthl)を下回ったタイミングを示している。このとき比較器105の出力によってマイコン107にリセットがかけられる。 The vertical lines (3) and (8) in FIG. 6 indicate the timing when the power supply voltage 108 monitored by the conventional monitoring circuit in FIG. 5 decreases and falls below the low-side threshold voltage (VDDthl) of the comparator 105. ing. At this time, the microcomputer 107 is reset by the output of the comparator 105.

図6の縦線(2)と縦線(5)は、図5の従来の監視回路にマイコン107からの正常動作クロックが入力されたので放電手段である定電流源102aを起動して、コンデンサ103の電荷を放電し始めるタイミングを示している。 The vertical line (2) and vertical line (5) in FIG. 6 indicate that the normal operation clock from the microcomputer 107 is input to the conventional monitoring circuit in FIG. The timing at which discharge of the electric charge 103 starts is shown.

図6の縦線(1)と縦線(4)と縦線(9)は、図5の従来の監視回路のマイコン107の電源電圧108が上昇し、比較器105のハイ側の閾値電圧(VDDthh)を上回ったタイミングを示している。このとき放電手段である定電流源102aとNMOSトランジスタ102bが停止する。 The vertical line (1), vertical line (4), and vertical line (9) in FIG. 6 indicate that the power supply voltage 108 of the microcomputer 107 of the conventional monitoring circuit in FIG. The timing when it exceeds (VDDthh) is shown. At this time, the constant current source 102a and the NMOS transistor 102b which are discharging means are stopped.

図5のウィンドコンパレータ104の出力はコンデンサ103の電荷量の変動によって図6に示すグラフ(e)に示す波形となる。ロジック回路106はウィンドコンパレータ104の出力をマイコン107や定電流源102aへ伝達させ、あるいは伝達させないように動作する。ロジック回路109も比較器105やロジック回路106やマイコン107の出力を定電流源101等に伝達させ、あるいは伝達させないように動作する。図5に示す108は監視回路の電源電圧でもあり、抵抗群110a、110b、110cはウィンドコンパレータ104のハイ側の閾値電圧とロー側の閾値値電圧(VCthl)を設定するために用いられている。 The output of the window comparator 104 in FIG. 5 has the waveform shown in the graph (e) in FIG. The logic circuit 106 operates so as to transmit or not transmit the output of the window comparator 104 to the microcomputer 107 and the constant current source 102a. The logic circuit 109 also operates so as to transmit the output of the comparator 105, the logic circuit 106, and the microcomputer 107 to the constant current source 101 or not. Reference numeral 108 shown in FIG. 5 is also a power supply voltage of the monitoring circuit, and the resistor groups 110a, 110b, and 110c are used to set a high-side threshold voltage and a low-side threshold value voltage (VCthl) of the window comparator 104. .

図5に示す従来の監視回路は以上で説明したが、要約するとコンデンサ103の電荷が蓄積され、ウィンドコンパレータ104で測定する電圧がウィンドコンパレータ104のハイ側の閾値電圧を上回ると、ウィンドコンパレータ104の出力によってマイコン107にリセットをかけ、また電源電圧108が下がって比較器105のロー側の閾値電圧を下回ったときは比較器105の出力によってマイコン107にリセットをかけるように動作しており、2つの経路でマイコン107にリセットをかける構成となっている。そして電源電圧108が下がって比較器105のロー側の閾値電圧を下回った際にマイコン107にリセットをかけると同時に、一定期間を測定するためにコンデンサ103の電荷の放出を瞬時に行う。実開平5−40942号公報でも同様にコンデンサの電荷を瞬時に放電している。
実開平5−40942
The conventional monitoring circuit shown in FIG. 5 has been described above. In summary, when the electric charge of the capacitor 103 is accumulated and the voltage measured by the window comparator 104 exceeds the high-side threshold voltage of the window comparator 104, the The microcomputer 107 is reset by the output, and when the power supply voltage 108 decreases and falls below the low-side threshold voltage of the comparator 105, the microcomputer 107 operates to reset the microcomputer 107 by the output of the comparator 105. The microcomputer 107 is reset by one path. When the power supply voltage 108 drops and falls below the low threshold voltage of the comparator 105, the microcomputer 107 is reset, and at the same time, the capacitor 103 is instantly discharged to measure a certain period. Similarly, in Japanese Utility Model Laid-Open No. 5-40942, the electric charge of the capacitor is instantaneously discharged.
Japanese Utility Model Publication 5-40942

しかし図5に示す従来の監視回路は、図6に示す縦線(4)のタイミングでマイコン107が正常に動作しているときのマイコン107からの正常動作クロック(A)が監視回路に入力されているにも係わらず、図6の縦線(3)で示すノイズ等によって引き起こされる電源電圧108の瞬断によって、電源電圧108が正常に復帰した際にもマイコン107をリセットしてしまう(同図に示すB)。つまりマイコン107は正常に動作しているにも係わらずマイコン107にリセットがかかることとなる。このように、マイコンの正常動作時にもノイズ等によって電源電圧が瞬断した際にマイコンがリセットされてしまうため、ノイズ対策や電源電圧の安定化にコストを費やすこととなり、また正常に動作しているマイコンがリセットされてしまうため、マイコンによって制御される制御対象物の処理が中断されることとなり、マイコンとその制御対象物を備える電子機器の処理速度が遅くなるといった問題が生じるのである。 However, in the conventional monitoring circuit shown in FIG. 5, the normal operation clock (A) from the microcomputer 107 when the microcomputer 107 is operating normally at the timing of the vertical line (4) shown in FIG. 6 is input to the monitoring circuit. Nevertheless, the microcomputer 107 is reset even when the power supply voltage 108 returns to normal due to the instantaneous interruption of the power supply voltage 108 caused by noise or the like indicated by the vertical line (3) in FIG. B) shown. That is, the microcomputer 107 is reset although the microcomputer 107 is operating normally. In this way, the microcomputer is reset when the power supply voltage is momentarily interrupted by noise, etc., even during normal operation of the microcomputer, which means that the cost for noise countermeasures and stabilization of the power supply voltage will be spent. Since the microcomputer is reset, the processing of the controlled object controlled by the microcomputer is interrupted, resulting in a problem that the processing speed of the microcomputer and the electronic device including the controlled object is reduced.

本発明は従来の前記実情に鑑み、従来の技術に内在する前記課題を解消する為になされたものであり、本発明の目的はノイズ対策を容易に実現する監視回路を提供することであり、さらに前述の監視回路を備えた半導体装置を提供することである。 The present invention has been made in order to solve the above-described problems inherent in the prior art in view of the above-described actual situation, and an object of the present invention is to provide a monitoring circuit that easily realizes noise countermeasures. Furthermore, it is providing the semiconductor device provided with the above-mentioned monitoring circuit.

上記目的を達成するために、請求項1記載の監視回路は、
コンデンサに電荷を充電する手段と、
監視対象の電源電圧を監視する電源電圧判定手段と、
前記コンデンサの電荷量が第一の電荷量を上回った際に放電を行う第一の放電手段と、
前記電源電圧が第一の基準電圧を下回った際に前記コンデンサの放電を行う第二の放電手段と、
前記コンデンサの電荷量が前記第一の電荷量を上回った後、前記コンデンサの電荷が放電されることによって前記第一の電荷量よりも低く設定された第二の電荷量を下回った際に前記監査対象をリセットするための信号を発する電荷量判定手段と、
を備えることを特徴とする。
In order to achieve the above object, the monitoring circuit according to claim 1 comprises:
Means for charging the capacitor with charge;
Power supply voltage determination means for monitoring the power supply voltage to be monitored;
First discharge means for discharging when the charge amount of the capacitor exceeds the first charge amount;
Second discharge means for discharging the capacitor when the power supply voltage falls below a first reference voltage;
After the charge amount of the capacitor exceeds the first charge amount, the charge of the capacitor is discharged to fall below a second charge amount set lower than the first charge amount. Charge amount determination means for issuing a signal for resetting the audit target;
It is characterized by providing.

請求項2記載の監視回路は、
前記監視対象の電源電圧が前記第一の基準電圧を下回った際に前記コンデンサの電荷が放電されることによって、その電荷量が前記第二の電荷量を下回るまでに
前記監視対象の電源電圧が復帰して前記第一の基準電圧よりも高く設定された第二の基準電圧を上回った際に
前記第二の放電手段を停止することを特徴とする
請求項1記載の監視回路である。
The monitoring circuit according to claim 2 comprises:
When the power supply voltage to be monitored falls below the first reference voltage, the charge of the capacitor is discharged, so that the power supply voltage to be monitored is reduced until the charge amount falls below the second charge amount. 2. The monitoring circuit according to claim 1, wherein the second discharge unit is stopped when the second reference voltage set higher than the first reference voltage is exceeded after returning.

請求項3記載の監視回路は、
前記監視対象の電源電圧が前記第一の基準電圧を下回った際に前記コンデンサの電荷が放電されることによって、その電荷量が前記第二の電荷量を下回るまでに
前記監視対象の電源電圧が復帰して前記第一の基準電圧よりも高く設定された前記第二の基準電圧を上回った際に
前記第一及び前記第二の放電手段を停止する事を特徴とする
請求項1記載の監視回路である。
The monitoring circuit according to claim 3 comprises:
When the power supply voltage to be monitored falls below the first reference voltage, the charge of the capacitor is discharged, so that the power supply voltage to be monitored is reduced until the charge amount falls below the second charge amount. 2. The monitoring according to claim 1, wherein the first and the second discharging means are stopped when returning and exceeding the second reference voltage set higher than the first reference voltage. Circuit.

請求項4記載の監視回路は、前記第一の放電手段が定電流源で、前記第二の放電手段がNMOSトランジスタであり、該NMOSトランジスタのオン抵抗が、前記第一の電荷量から前記第二の電荷量に相当する電荷を5μ秒から400μ秒で放出するように設定されたことを特徴とする請求項1ないし請求項3のいずれかに記載の監視回路である。 The monitoring circuit according to claim 4, wherein the first discharging means is a constant current source, the second discharging means is an NMOS transistor, and an on-resistance of the NMOS transistor is determined based on the first charge amount. 4. The monitoring circuit according to claim 1, wherein the monitoring circuit is set so as to discharge a charge corresponding to the second charge amount in 5 to 400 μs.

請求項5記載の監視回路は、前記第一及び前記第二の放電手段が定電流源で、前記電源電圧判定手段が比較器で構成されたことを特徴とする請求項1ないし請求項3のいずれかに記載の監視回路である。 The monitoring circuit according to claim 5, wherein the first and second discharging means are constant current sources, and the power supply voltage determining means is a comparator. The monitoring circuit according to any one of the above.

請求項6記載の半導体装置は、請求項1ないし請求項5のいずれかの監視回路を備えることを特徴とする半導体装置である。 A semiconductor device according to a sixth aspect is a semiconductor device comprising the monitoring circuit according to any one of the first to fifth aspects.

ノイズ対策を容易に実現する監視回路の提供を実現し、正常に動作しているマイコンの処理の不必要な中断することがなくなるため、マイコンによって制御される制御対象物の処理を中断することがなくなる。 It is possible to provide a monitoring circuit that easily implements noise countermeasures and eliminates unnecessary interruption of processing of a microcomputer that is operating normally. Disappear.

図1に示す本発明に係わる監視回路は、図5に示す従来の監視回路に比較して、電源電圧判定手段の出力によってマイコンにリセットをかける経路を設けておらず、またスイッチング動作により放電を行うNMOSトランジスタのオン抵抗を高くして(本実施例ではコンデンサ3の電荷をほぼゼロまで放電するの約40μ秒必要とするオン抵抗の大きさを意図的に設定している)放電能力を抑えてある。また電源電圧が電源電圧判定手段である比較器のロー側の閾値電圧を下回ったあと、比較器のハイ側の閾値電圧に復帰した際に放電手段であるNMOSトランジスタ(第二の放電手段)を停止するように動作するものである。 Compared with the conventional monitoring circuit shown in FIG. 5, the monitoring circuit according to the present invention shown in FIG. 1 does not have a path for resetting the microcomputer by the output of the power supply voltage determination means, and discharges by the switching operation. The on-resistance of the NMOS transistor to be performed is increased (in this embodiment, the amount of on-resistance required for about 40 μs for discharging the charge of the capacitor 3 to almost zero is intentionally set) to suppress the discharge capability. It is. Also, after the power supply voltage falls below the low threshold voltage of the comparator, which is the power supply voltage determination means, the NMOS transistor (second discharge means), which is the discharge means, is restored when the comparator returns to the high threshold voltage of the comparator. It works to stop.

以下、図1に示す本発明に係わる監視回路の実施例1の動作を、図2に示す本発明に係わる実施例1の監視回路の電圧変動図を用いて説明する。
なお、図2において、縦軸は電圧、横軸は時間を表しており、同図に示すグラフはそれぞれ(a)マイコン7の電源電圧8、(b)マイコン7からの正常動作クロック、(c)ウィンドコンパレータ104で測定するコンデンサ3の電荷量、(d)比較器5からマイコン7へのリセット信号(ローでリセット状態)、(e)ウィンドコンパレータ4の出力、を示している。
The operation of the first embodiment of the monitoring circuit according to the present invention shown in FIG. 1 will be described below using the voltage fluctuation diagram of the monitoring circuit according to the first embodiment according to the present invention shown in FIG.
In FIG. 2, the vertical axis represents voltage and the horizontal axis represents time, and the graphs shown in FIG. 2 are (a) the power supply voltage 8 of the microcomputer 7, (b) the normal operation clock from the microcomputer 7, and (c The figure shows the charge amount of the capacitor 3 measured by the window comparator 104, (d) the reset signal from the comparator 5 to the microcomputer 7 (low and reset state), and (e) the output of the window comparator 4.

図2に示す縦線(0)は図1の本発明に係わる監視回路と監視対象であるマイコン7の電源が入ったタイミングを示している。このとき充電回路である定電流源1は起動するが、それぞれが定電流源1の充電速度より早く放電する定電流源2a(第一の放電手段)とNMOSトランジスタ2b(第二の放電手段)も起動することからコンデンサ3の電荷は蓄積されない。なお、定電流源1は監視回路の電源が落ちない限り常に起動している。 A vertical line (0) shown in FIG. 2 indicates a timing when the monitoring circuit according to the present invention in FIG. 1 and the microcomputer 7 to be monitored are turned on. At this time, the constant current source 1 which is a charging circuit is activated, but the constant current source 2a (first discharging means) and the NMOS transistor 2b (second discharging means) each discharge faster than the charging speed of the constant current source 1. The capacitor 3 is not charged. It should be noted that the constant current source 1 is always activated unless the monitoring circuit is powered off.

図2に示す縦線(1)はマイコン7の電源電圧8が電源電圧判定手段である比較器5のハイ側の閾値電圧(第二の基準電圧であるVDDthh)を上回ったタイミングを示しており、このとき比較器5の出力によって放電手段である定電流源2aおよびオン抵抗の高いNMOSトランジスタ2bが停止するので、コンデンサ3の電荷は蓄積し始める。なお、比較器5のハイ側の閾値電圧と後述のロー側の閾値電圧(第一の基準電圧であるVDDthl)は比較器5の出力を帰還して抵抗分割を行うことでヒステリシスを持たせて設定している。 The vertical line (1) shown in FIG. 2 indicates the timing when the power supply voltage 8 of the microcomputer 7 exceeds the high-side threshold voltage (VDDthh which is the second reference voltage) of the comparator 5 which is the power supply voltage determination means. At this time, the constant current source 2a, which is a discharging means, and the NMOS transistor 2b having a high on-resistance are stopped by the output of the comparator 5, so that the charge of the capacitor 3 starts to accumulate. Note that the high-side threshold voltage of the comparator 5 and the low-side threshold voltage (VDDthl, which is a first reference voltage), which will be described later, are given hysteresis by feeding back the output of the comparator 5 and performing resistance division. It is set.

図2に示す縦線(1)と縦線(2)の間の区間は定電流源1によってコンデンサ3に電荷が蓄積されている状態を示している。 A section between the vertical line (1) and the vertical line (2) shown in FIG. 2 shows a state in which charges are accumulated in the capacitor 3 by the constant current source 1.

図2に示す縦線(2)はコンデンサ3に電荷が蓄積し、コンデンサ3の電荷量が電荷量判定手段であるウィンドコンパレータ4のロー側の閾値電圧(第二の電荷量に相当する電圧VCthl)を上回ったので、ウィンドコンパレータ4の出力がローになったタイミングを示している。このときロジック回路6はこのウィンドコンパレータ4のローの出力を伝達させないように動作する。ロジック回路9もウィンドコンパレータ4や比較器5やマイコン7の出力を充電手段である定電流源1や放電手段である定電流源2aやオン抵抗の高いNMOSトランジスタ2bに伝達させ、あるいは伝達させない様に動作する。なおウィンドコンパレータ4のロー側の閾値電圧と後述のハイ側の閾値電圧(第一の電荷量に相当する電圧VCthh)はそれぞれウィンドコンパレータ4の電源電圧8を抵抗10a、10b、10cで分圧することによって設定されている。 A vertical line (2) shown in FIG. 2 indicates that charge is accumulated in the capacitor 3, and the charge amount of the capacitor 3 is the threshold voltage on the low side of the window comparator 4 serving as charge amount determination means (voltage VCthl corresponding to the second charge amount). This indicates the timing when the output of the window comparator 4 becomes low. At this time, the logic circuit 6 operates so as not to transmit the low output of the window comparator 4. The logic circuit 9 also transmits or does not transmit the output of the window comparator 4, the comparator 5, and the microcomputer 7 to the constant current source 1 that is the charging means, the constant current source 2 a that is the discharging means, and the NMOS transistor 2 b with high on-resistance. To work. Note that a low-side threshold voltage and a later-described high-side threshold voltage (voltage VCthh corresponding to the first charge amount) of the window comparator 4 respectively divide the power supply voltage 8 of the window comparator 4 by resistors 10a, 10b, and 10c. Is set by.

図2に示す縦線(2)と縦線(3)の間の区間は定電流源1によってコンデンサ3に電荷が蓄積されている状態を示している。 A section between the vertical line (2) and the vertical line (3) shown in FIG. 2 shows a state in which charges are accumulated in the capacitor 3 by the constant current source 1.

図2に示す縦線(3)はコンデンサ3に電荷が蓄積し、ウィンドコンパレータ4で測定するコンデンサ3の電荷量がウィンドコンパレータ4のハイ側の閾値電圧を上回ったタイミングを示している。このときウィンドコンパレータ4の出力はハイになり、このウィンドコンパレータ4の出力によってマイコン7がリセット解除の状態になる。またウィンドコンパレータ4の出力によって放電手段である定電流源2aが起動される。 A vertical line (3) shown in FIG. 2 indicates a timing at which charges are accumulated in the capacitor 3 and the amount of charge of the capacitor 3 measured by the window comparator 4 exceeds the high-side threshold voltage of the window comparator 4. At this time, the output of the window comparator 4 becomes high, and the output of the window comparator 4 brings the microcomputer 7 into a reset release state. Further, the constant current source 2a, which is a discharging means, is activated by the output of the window comparator 4.

図2に示す縦線(3)と縦線(4)の間の区間は、放電回路である定電流源2aが起動したことからコンデンサ3の電荷が放出されている状態を示している。 The section between the vertical line (3) and the vertical line (4) shown in FIG. 2 shows a state in which the electric charge of the capacitor 3 is released because the constant current source 2a which is a discharge circuit is activated.

図2に示す縦線(4)は、コンデンサ3の電荷が放出され、ウィンドコンパレータ4で測定するコンデンサ3の電荷量がウィンドコンパレータ4のハイ側の閾値電圧を下回ったタイミングを示している。このときウィンドコンパレータ4の出力はローになるが、ロジック回路6はこのウィンドコンパレータ4の出力ローを伝達させないように動作する。 A vertical line (4) shown in FIG. 2 indicates the timing when the charge of the capacitor 3 is released and the amount of charge of the capacitor 3 measured by the window comparator 4 falls below the high-side threshold voltage of the window comparator 4. At this time, the output of the window comparator 4 becomes low, but the logic circuit 6 operates so as not to transmit the output low of the window comparator 4.

図2に示す縦線(4)と縦線(5)の間の区間は定電流源2aが起動しているのでコンデンサ3の電荷が放出されている状態を示している。 A section between the vertical line (4) and the vertical line (5) shown in FIG. 2 shows a state in which the capacitor 3 is discharged because the constant current source 2a is activated.

図2に示す縦線(5)は、マイコン7からの正常動作クロックが本発明に係わる監視回路に入力されたタイミングを示している。マイコン7からの正常動作クロックの到達は監視回路の放電手段である定電流源2aを制御することによって行われる。マイコン7からの正常動作クロックが本発明に係わる監視回路に入力されると放電手段である定電流源2aが停止し、コンデンサ3の電荷が蓄積されはじめる。 A vertical line (5) shown in FIG. 2 indicates the timing at which the normal operation clock from the microcomputer 7 is input to the monitoring circuit according to the present invention. The normal operation clock arrives from the microcomputer 7 by controlling the constant current source 2a which is a discharging means of the monitoring circuit. When the normal operation clock from the microcomputer 7 is input to the monitoring circuit according to the present invention, the constant current source 2a serving as the discharging means stops and the charge of the capacitor 3 starts to be accumulated.

図2に示す縦線(5)と縦線(6)の間の区間は放電手段である定電流源2aが停止していることからコンデンサ3に電荷が蓄積されている状態を示している。 A section between the vertical line (5) and the vertical line (6) shown in FIG. 2 shows a state in which the electric charge is accumulated in the capacitor 3 because the constant current source 2a serving as the discharging means is stopped.

図1に示す本発明に係わる監視回路は、図2に示す縦線(6)のタイミングと、縦線(6)と縦線(7)の間に示す区間において、同図に示す縦線(3)のタイミングと、縦線(3)と縦線(4)の間に示す区間と同一の動作をするため説明を省略する。 The monitoring circuit according to the present invention shown in FIG. 1 has a vertical line (6) in the timing shown in FIG. 2 and a section (between the vertical line (6) and the vertical line (7)). Since the operation is the same as the timing of 3) and the section shown between the vertical line (3) and the vertical line (4), the description is omitted.

図2に示す縦線(8)は放電手段である定電流源2aによってコンデンサ3の電荷が放出され、ウィンドコンパレータ4で測定するコンデンサ3の電荷量がウィンドコンパレータ4のロー側の閾値電圧を下回ったタイミングを示している。このときウィンドコンパレータ4の出力がハイになり、このウィンドコンパレータ4の出力によってマイコン4にリセットがかかるとともに放電手段である定電流源2aが停止する。 The vertical line (8) shown in FIG. 2 indicates that the charge of the capacitor 3 is discharged by the constant current source 2 a serving as a discharging means, and the charge amount of the capacitor 3 measured by the window comparator 4 is lower than the low-side threshold voltage of the window comparator 4. Shows the timing. At this time, the output of the window comparator 4 becomes high, the microcomputer 4 is reset by the output of the window comparator 4, and the constant current source 2a as a discharging means is stopped.

図2に示す縦線(8)と縦線(9)の間に示す区間は、放電手段である定電流源2aが停止したことから、コンデンサ3の電荷が蓄積し始めた状態を示している。 The section shown between the vertical line (8) and the vertical line (9) shown in FIG. 2 shows a state in which the electric charge of the capacitor 3 starts to be accumulated because the constant current source 2a serving as the discharging means has stopped. .

図1に示す本発明に係わる監視回路は、図2に示す縦線(9)のタイミングと、縦線(9)と縦線(11)の間の区間において、同図に示す縦線(2)のタイミングと、縦線(2)と縦線(4)の間に示す区間と同一の動作をするため動作説明を省略する。 The monitoring circuit according to the present invention shown in FIG. 1 has the vertical line (2) shown in FIG. 2 in the timing of the vertical line (9) shown in FIG. 2 and the section between the vertical lines (9) and (11). ) And the same operation as the section shown between the vertical line (2) and the vertical line (4), the description of the operation is omitted.

図2に示す縦線(12)は、ノイズ等によってマイコン7の電源電圧8が下がり、比較器5のロー側の閾値電圧を下回ったタイミングを示している。このとき比較器5の出力によって放電手段である定電流源2aに比較して放電能力があるオン抵抗の高いNMOSトランジスタ2bが起動されることから、コンデンサ3の電位は定電流源2aのみが起動しているときに比較して急激に下がり始める。 A vertical line (12) shown in FIG. 2 indicates a timing at which the power supply voltage 8 of the microcomputer 7 decreases due to noise or the like and falls below the low-side threshold voltage of the comparator 5. At this time, the output of the comparator 5 activates the NMOS transistor 2b having a higher discharge resistance than the constant current source 2a which is a discharging means, so that the potential of the capacitor 3 is activated only by the constant current source 2a. Compared to when it begins to fall sharply.

図2に示す縦線(12)と縦線(13)の間の区間は、放電手段である定電流源2aと放電手段であるオン抵抗の高いNMOSトランジスタ2bによってコンデンサ3の電荷が放出されている状態を示している。なおオン抵抗の高いNMOSトランジスタ2bのオン抵抗は、定電流源2aとオン抵抗の高いNMOSトランジスタ2bとによって電荷量判定手段であるウィンドコンパレータ4のハイ側の閾値電圧に相当するコンデンサ3の電荷をウィンドコンパレータ4のロー側の閾値電圧に相当する電荷にまで放出するのに約40μ秒の時間がかかるように設定されている。 In the section between the vertical line (12) and the vertical line (13) shown in FIG. 2, the charge of the capacitor 3 is discharged by the constant current source 2a as the discharging means and the NMOS transistor 2b with high on-resistance as the discharging means. It shows the state. Note that the on-resistance of the NMOS transistor 2b having a high on-resistance is set such that the constant current source 2a and the NMOS transistor 2b having a high on-resistance cause the charge of the capacitor 3 corresponding to the threshold voltage on the high side of the window comparator 4 serving as the charge amount judging means. It is set so that it takes about 40 μs to release the electric charge corresponding to the low-side threshold voltage of the window comparator 4.

図2に示す縦線(13)は電源電圧8が瞬段した状態から復帰して、比較器5のハイ側の閾値電圧を上回ったタイミングを示している。このとき比較器5の出力によって放電手段であるオン抵抗の高いNMOSトランジスタ2bは停止する。 The vertical line (13) shown in FIG. 2 indicates the timing when the power supply voltage 8 returns from the instantaneous stage and exceeds the threshold voltage on the high side of the comparator 5. At this time, the output of the comparator 5 stops the NMOS transistor 2b having a high on-resistance, which is a discharging means.

縦線(13)と縦線(13b)の間の区間は、放電手段である定電流源2aによってコンデンサ3の電荷が放出されている状態を示している。 A section between the vertical line (13) and the vertical line (13b) indicates a state in which the electric charge of the capacitor 3 is discharged by the constant current source 2a which is a discharging means.

縦線(13b)はマイコン7からの正常動作クロックがロジック回路109に入力されるタイミングを示している。このマイコン7からの正常動作クロックによって放電手段である定電流源2aが停止される。 A vertical line (13 b) indicates the timing at which the normal operation clock from the microcomputer 7 is input to the logic circuit 109. The constant current source 2a, which is a discharging means, is stopped by the normal operation clock from the microcomputer 7.

図2に示す縦線(13b)と縦線(14)の間の区間は、放電手段である定電流源2aと放電手段であるオン抵抗の高いNMOSトランジスタ2bが停止していることから、充電手段である定電流源1によってコンデンサ3に電荷が蓄積し始めている状態を示している。 In the section between the vertical line (13b) and the vertical line (14) shown in FIG. 2, the constant current source 2a as the discharging means and the NMOS transistor 2b with high on-resistance as the discharging means are stopped. A state is shown in which the electric charge starts to be accumulated in the capacitor 3 by the constant current source 1 as means.

図1に示す本発明に係わる監視回路は、図2に示す縦線(14)のタイミングと、縦線(14)と縦線(15)の間の区間において、同図に示す縦線(10)のタイミングと、縦線(10)と縦線(11)の間の区間と同一の動作をすることから動作説明を省略する。 The monitoring circuit according to the present invention shown in FIG. 1 has a vertical line (10) in the timing of the vertical line (14) shown in FIG. 2 and the section between the vertical line (14) and the vertical line (15). ) And the same operation as the section between the vertical line (10) and the vertical line (11), the description of the operation is omitted.

図2に示す縦線(16)は電源電圧8がノイズ等によって比較器5のロー側の閾値電圧を下回ったタイミングを示している。このとき比較器5の出力によって放電手段であるオン抵抗の高いNMOSトランジスタ2bが起動する。 A vertical line (16) shown in FIG. 2 indicates the timing when the power supply voltage 8 falls below the low-side threshold voltage of the comparator 5 due to noise or the like. At this time, the NMOS transistor 2b having a high on-resistance, which is a discharging means, is activated by the output of the comparator 5.

図2に示す縦線(16)と縦線(17)の間の区間は、放電手段である定電流源2aと放電手段であるオン抵抗の高いNMOSトランジスタ2bによって、コンデンサ3の電荷が瞬時に放出されている状態を示している。 In the section between the vertical line (16) and the vertical line (17) shown in FIG. 2, the charge of the capacitor 3 is instantaneously generated by the constant current source 2a as the discharge means and the NMOS transistor 2b with high on-resistance as the discharge means. The released state is shown.

図2に示す縦線(17)はコンデンサ3の電荷が放出されウィンドコンパレータ4で測定するコンデンサ3の電位がウィンドコンパレータ4のロー側の閾値電圧を下回ったタイミングを示している。このときウィンドコンパレータ4の出力はハイとなり、このウィンドコンパレータ4の出力によってマイコン7にリセットがかかる。 A vertical line (17) shown in FIG. 2 indicates the timing when the electric charge of the capacitor 3 is released and the potential of the capacitor 3 measured by the window comparator 4 falls below the threshold voltage on the low side of the window comparator 4. At this time, the output of the window comparator 4 becomes high, and the microcomputer 7 is reset by the output of the window comparator 4.

図2に示す縦線(17)と縦線(18)の間の区間は、電源電圧8の瞬断から復帰に向かっているものの、コンデンサ3の電荷は放電手段である定電流源2aと放電手段であるNオン抵抗の高いMOSトランジスタ2bによって放出したままの状態を示している。 Although the section between the vertical line (17) and the vertical line (18) shown in FIG. 2 is moving from the instantaneous interruption of the power supply voltage 8 to the recovery, the electric charge of the capacitor 3 is discharged from the constant current source 2a as a discharging means. The state is shown as being emitted by the MOS transistor 2b having a high N-on resistance, which is a means.

図2に示す縦線(18)はマイコン7の電源電圧8の瞬断から復帰して比較器5のハイ側の閾値電圧を上回ったタイミングを示している。このとき比較器5の出力によって放電手段である定電流源2aと放電手段であるオン抵抗の高いNMOSトランジスタ2bが停止する。 A vertical line (18) shown in FIG. 2 indicates a timing when the microcomputer 7 recovers from an instantaneous interruption of the power supply voltage 8 and exceeds the threshold voltage on the high side of the comparator 5. At this time, the constant current source 2a as the discharging means and the NMOS transistor 2b with high on-resistance as the discharging means are stopped by the output of the comparator 5.

図2に示す縦線(18)と縦線(19)の間に示す区間は、放電手段である定電流源2aと放電手段であるオン抵抗の高いNMOSトランジスタ2bが停止したため充電手段である定電流源1によってコンデンサ3に電荷が蓄積されている状態を示している。 The section shown between the vertical line (18) and the vertical line (19) shown in FIG. 2 is a constant charging source because the constant current source 2a serving as a discharging unit and the NMOS transistor 2b having a high on-resistance serving as a discharging unit are stopped. A state in which electric charges are accumulated in the capacitor 3 by the current source 1 is shown.

図1に示す本発明に係わる監視回路は、図2に示す縦線(19)のタイミングと、縦線(19)と縦線(21)の間の区間において、同図に示す縦線(9)のタイミングと、縦線(9)と縦線(11)の間の区間と同一の動作をするため動作説明を省略する。 The monitoring circuit according to the present invention shown in FIG. 1 has a vertical line (9) in the timing between the vertical line (19) shown in FIG. 2 and the section between the vertical line (19) and the vertical line (21). ) And the same operation as the section between the vertical line (9) and the vertical line (11), the description of the operation is omitted.

以上で説明したように、図1に示す本発明に係わる監視回路は、コンデンサ3の電荷が放出され、ウィンドコンパレータ4で測定するコンデンサ3の電位が下がってウィンドコンパレータ4のロー側の閾値電圧を下回ると、ウィンドコンパレータ4の出力によってマイコン7にリセットをかけ、また電源電圧8が比較器5のロー側の閾値電圧を下回ったときは比較器5の出力によってマイコン7にリセットをかけるのではなく、比較器5の出力によって放電手段であるオン抵抗の高いNMOSトランジスタ2bを起動してコンデンサ3の電荷を放出させ、それによってウィンドコンパレータ4で測定する電圧がウィンドコンパレータ4のロー側の閾値電圧を下回るとウィンドコンパレータ4の出力によってマイコン7にリセットをかけるように動作するものである。すなわち、本発明に係わる監視回路は、マイコン7の正常動作クロックの間隔と、マイコン7の電源電圧8の二つを監視するものの、マイコン7にリセットをかける経路は一つとなっているのである。 As described above, in the monitoring circuit according to the present invention shown in FIG. 1, the capacitor 3 is discharged, the potential of the capacitor 3 measured by the window comparator 4 is lowered, and the threshold voltage on the low side of the window comparator 4 is reduced. If it falls below, the microcomputer 7 is reset by the output of the window comparator 4, and when the power supply voltage 8 falls below the low-side threshold voltage of the comparator 5, the microcomputer 7 is not reset by the output of the comparator 5. The output of the comparator 5 activates the NMOS transistor 2b having a high on-resistance, which is a discharging means, and discharges the charge of the capacitor 3, whereby the voltage measured by the window comparator 4 becomes the threshold voltage on the low side of the window comparator 4. If it falls below, the microcomputer 7 is reset by the output of the window comparator 4 It is intended to operate. That is, the monitoring circuit according to the present invention monitors the normal operation clock interval of the microcomputer 7 and the power supply voltage 8 of the microcomputer 7, but there is only one path for resetting the microcomputer 7.

マイコンが安全に動作することができる電圧を下回るとマイコンを安全に終了させるためにマイコンをリセットする必要があるが、マイコンの電源電圧がノイズ等によって瞬断したあとすぐに復帰する際など、マイコンにリセットをかける必要がないときに、図5の従来の監視回路はリセットをかけてしまうが、図1に示す本発明に係わる監視回路はマイコンにリセットをかける経路を一つだけにし、なおかつコンデンサの電荷をスイッチング動作により放出することで、一定の時間を確保することが可能となり、マイコンの電源電圧がノイズ等によって瞬時に下がってすぐ復帰する際などはマイコンにリセットをかけない様に動作するのである。 When the voltage falls below the level at which the microcomputer can operate safely, it is necessary to reset the microcomputer in order to safely stop the microcomputer. The conventional monitoring circuit of FIG. 5 resets when there is no need to reset the circuit, but the monitoring circuit according to the present invention shown in FIG. 1 has only one path for resetting the microcomputer, and the capacitor. It is possible to secure a certain amount of time by releasing the electric charge of the microcomputer, and when the power supply voltage of the microcomputer decreases instantaneously due to noise, etc., and immediately recovers, the microcomputer does not reset. It is.

以上のことから本発明に係わる監視回路の電圧変動図2は、従来の監視回路の電圧変動図6に示す、必要のないリセット信号(B)を発生させることはないので、本発明に係わる監視回路はノイズ対策を容易に実現することが可能となるのである。 From the above, the voltage fluctuation of the monitoring circuit according to the present invention does not generate the unnecessary reset signal (B) shown in FIG. 6 of the voltage fluctuation of the conventional monitoring circuit. The circuit can easily implement noise countermeasures.

以下、図3に示す本発明に係わる監視回路の実施例2の動作を、図4に示す本発明に係わる監視回路の実施例2の電圧変動図を用いて説明する。実施例2では実施例1に比較してロジック回路9の動作を変更し、なおかつ電源電圧判定手段である比較器5からロジック回路109への経路を設け、電源電圧が比較器5のロー側の閾値電圧を下回った際に放電回路である定電流源2a(第一の放電手段)とオン抵抗の高いNMOSトランジスタ2b(第二の放電手段)の両方を停止するように動作する。なお、図4において、縦軸は電圧、横軸は時間を表しており、同図に示すグラフはそれぞれ(a)マイコン7の電源電圧8、(b)マイコン7からの正常動作クロック、(c)ウィンドコンパレータ104で測定するコンデンサ3の電荷量、(d)比較器5からマイコン7へのリセット信号(ローでリセット状態)、(e)ウィンドコンパレータ4の出力、を示している。 The operation of the second embodiment of the monitoring circuit according to the present invention shown in FIG. 3 will be described below with reference to the voltage fluctuation diagram of the second embodiment of the monitoring circuit according to the present invention shown in FIG. In the second embodiment, the operation of the logic circuit 9 is changed as compared with the first embodiment, and a path from the comparator 5 serving as the power supply voltage determination means to the logic circuit 109 is provided, so that the power supply voltage is on the low side of the comparator 5. When the voltage falls below the threshold voltage, both the constant current source 2a (first discharge means), which is a discharge circuit, and the NMOS transistor 2b (second discharge means) having a high on-resistance are stopped. In FIG. 4, the vertical axis represents voltage and the horizontal axis represents time. The graphs shown in FIG. 4 are (a) the power supply voltage 8 of the microcomputer 7, (b) the normal operation clock from the microcomputer 7, and (c The figure shows the charge amount of the capacitor 3 measured by the window comparator 104, (d) the reset signal from the comparator 5 to the microcomputer 7 (low and reset state), and (e) the output of the window comparator 4.

図4に示す本発明に係わる監視回路の電圧変動図は、図2に示す本発明に係わる監視回路の電圧変動図に比較して縦線(13)に示すタイミングでコンデンサ3の電荷が充電の状態に変化している。これはマイコン7の電源電圧8が比較器5のロー側の閾値電圧を下回ったあと、ハイ側の閾値電圧まで復帰した際は、比較器5の出力によって放電手段である定電流源2aとオン抵抗の高いNMOSトランジスタ2bの両方を停止させるようにロジック回路9が動作するからである。 The voltage fluctuation diagram of the monitoring circuit according to the present invention shown in FIG. 4 shows that the charge of the capacitor 3 is charged at the timing indicated by the vertical line (13) as compared with the voltage fluctuation diagram of the monitoring circuit according to the present invention shown in FIG. The state has changed. When the power supply voltage 8 of the microcomputer 7 falls below the low-side threshold voltage of the comparator 5 and then returns to the high-side threshold voltage, the output of the comparator 5 turns on the constant current source 2a, which is a discharging means, and turns on. This is because the logic circuit 9 operates so as to stop both the NMOS transistors 2b having high resistance.

以上のように、図3の本発明に係わる監視回路の実施例2を用いても本発明に係わる監視回路の実施例1と同様に、従来の監視回路の課題を解決することが可能となる。 As described above, even when the monitoring circuit according to the second embodiment of the present invention shown in FIG. 3 is used, the problem of the conventional monitoring circuit can be solved as in the first embodiment of the monitoring circuit according to the present invention. .

本発明は、上述した実施形態に限られることなく、特許請求の範囲に記載した事項の範囲内でのあらゆる設計変更はすべて本発明の範囲に含まれる。例えば本発明の実施例1において説明したオン抵抗の高いNMOSトランジスタ2bのオン抵抗は一例に過ぎず、除去したいノイズの大きさによってオン抵抗の値を設定することができる。そのオン抵抗は、電荷量判定手段であるウィンドコンパレータ4のハイ側の閾値電圧に相当するコンデンサ3の電荷をウィンドコンパレータ4のロー側の閾値電圧に達するまで放出するのに5μから400μ秒の時間がかかるように設定してもよい。また本発明の放電手段にはNMOSスイッチ2bが用いられているが、オン抵抗の高いNMOSトランジスタ2bを定電流源に替えてコンデンサの電荷を放電してもほぼ同一の効果を得ることができる。また放電手段としてはアナログスイッチを用いてもほぼ同一の目的を達成することが可能である。 The present invention is not limited to the above-described embodiment, and all design changes within the scope of the matters described in the claims are included in the scope of the present invention. For example, the on-resistance of the NMOS transistor 2b having a high on-resistance described in the first embodiment of the present invention is merely an example, and the value of the on-resistance can be set according to the magnitude of noise to be removed. The on-resistance is a time of 5 μm to 400 μs for discharging the electric charge of the capacitor 3 corresponding to the threshold voltage on the high side of the window comparator 4 serving as the charge amount judging means until the threshold voltage on the low side of the window comparator 4 is reached. It may be set to take. Further, although the NMOS switch 2b is used in the discharging means of the present invention, substantially the same effect can be obtained even if the charge of the capacitor is discharged by replacing the NMOS transistor 2b having a high on-resistance with a constant current source. Even if an analog switch is used as the discharging means, it is possible to achieve substantially the same purpose.

本発明に係わる実施例1の監視回路のブロック図1 is a block diagram of a monitoring circuit according to a first embodiment of the present invention. 本発明に係わる監視回路の実施例1(図1)の電圧変動図Voltage fluctuation diagram of Embodiment 1 (FIG. 1) of the monitoring circuit according to the present invention. 本発明に係わる実施例2の監視回路のブロック図FIG. 2 is a block diagram of a monitoring circuit according to a second embodiment of the present invention. 本発明に係わる監視回路の実施例2(図3)の電圧変動図Voltage fluctuation diagram of Embodiment 2 (FIG. 3) of the monitoring circuit according to the present invention 従来の監視回路のブロック図Block diagram of a conventional monitoring circuit 従来の監視回路(図5)の電圧変動図Voltage fluctuation diagram of conventional monitoring circuit (Fig. 5)

符号の説明Explanation of symbols

1、2a 定電流源
2b NMOSトランジスタ
3 コンデンサ
4 ウィンドコンパレータ
5 比較器
6、9 ロジック回路
7 マイコン
8 マイコンと監視回路の電源電圧
10a、10b、10c 抵抗
1, 2a Constant current source 2b NMOS transistor 3 Capacitor 4 Window comparator 5 Comparator 6, 9 Logic circuit 7 Microcomputer 8 Power supply voltage 10a, 10b, 10c for microcomputer and monitoring circuit Resistance

Claims (6)

コンデンサに電荷を充電する手段と、
監視対象の電源電圧を監視する電源電圧判定手段と、
前記コンデンサの電荷量が第一の電荷量を上回った際に放電を行う第一の放電手段と、
前記電源電圧が第一の基準電圧を下回った際に前記コンデンサの放電を行う第二の放電手段と、
前記コンデンサの電荷量が前記第一の電荷量を上回った後、前記コンデンサの電荷が放電されることによって前記第一の電荷量よりも低く設定された第二の電荷量を下回った際に前記監査対象をリセットするための信号を発する電荷量判定手段と、
を備えることを特徴とする監視回路。
Means for charging the capacitor with charge;
Power supply voltage determination means for monitoring the power supply voltage to be monitored;
First discharge means for discharging when the charge amount of the capacitor exceeds the first charge amount;
Second discharge means for discharging the capacitor when the power supply voltage falls below a first reference voltage;
After the charge amount of the capacitor exceeds the first charge amount, the charge of the capacitor is discharged to fall below a second charge amount set lower than the first charge amount. Charge amount determination means for issuing a signal for resetting the audit target;
A monitoring circuit comprising:
前記監視対象の電源電圧が前記第一の基準電圧を下回った際に前記コンデンサの電荷が放電されることによって、その電荷量が前記第二の電荷量を下回るまでに
前記監視対象の電源電圧が復帰して前記第一の基準電圧よりも高く設定された第二の基準電圧を上回った際に
前記第二の放電手段を停止することを特徴とする
請求項1記載の監視回路。
When the power supply voltage to be monitored falls below the first reference voltage, the charge of the capacitor is discharged, so that the power supply voltage to be monitored is reduced until the charge amount falls below the second charge amount. 2. The monitoring circuit according to claim 1, wherein the second discharging means is stopped when the second reference voltage set higher than the first reference voltage is exceeded after returning.
前記監視対象の電源電圧が前記第一の基準電圧を下回った際に前記コンデンサの電荷が放電されることによって、その電荷量が前記第二の電荷量を下回るまでに
前記監視対象の電源電圧が復帰して前記第一の基準電圧よりも高く設定された前記第二の基準電圧を上回った際に
前記第一及び前記第二の放電手段を停止する事を特徴とする
請求項1記載の監視回路。
When the power supply voltage to be monitored falls below the first reference voltage, the charge of the capacitor is discharged, so that the power supply voltage to be monitored is reduced until the charge amount falls below the second charge amount. 2. The monitoring according to claim 1, wherein the first and the second discharging means are stopped when returning and exceeding the second reference voltage set higher than the first reference voltage. circuit.
前記第一の放電手段が定電流源で、前記第二の放電手段がNMOSトランジスタで構成されており、該NMOSトランジスタのオン抵抗が、前記第一の電荷量から前記第二の電荷量に相当する電荷を5μ秒から400μ秒で放出するように設定されたことを特徴とする請求項1ないし請求項3のいずれかに記載の監視回路。 The first discharge means is a constant current source, and the second discharge means is an NMOS transistor, and the on-resistance of the NMOS transistor corresponds to the second charge amount from the first charge amount. The monitoring circuit according to any one of claims 1 to 3, wherein the monitoring circuit is set so as to release the electric charge to be emitted in 5 to 400 µsec. 前記第一及び前記第二の放電手段が定電流源で、前記電源電圧判定手段が比較器で構成されたことを特徴とする請求項1ないし請求項3のいずれかに記載の監視回路。 4. The monitoring circuit according to claim 1, wherein the first and second discharging means are constant current sources, and the power supply voltage determining means is a comparator. 請求項1ないし請求項5のいずれかの監視回路を備えることを特徴とする半導体装置。





























6. A semiconductor device comprising the monitoring circuit according to claim 1.





























JP2004191009A 2004-06-29 2004-06-29 Monitoring circuit Pending JP2006012009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004191009A JP2006012009A (en) 2004-06-29 2004-06-29 Monitoring circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004191009A JP2006012009A (en) 2004-06-29 2004-06-29 Monitoring circuit

Publications (1)

Publication Number Publication Date
JP2006012009A true JP2006012009A (en) 2006-01-12

Family

ID=35779182

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004191009A Pending JP2006012009A (en) 2004-06-29 2004-06-29 Monitoring circuit

Country Status (1)

Country Link
JP (1) JP2006012009A (en)

Similar Documents

Publication Publication Date Title
TWI484710B (en) Electronic fuse apparatus and method of operating the same
JP2007124867A (en) Battery protective device and circuit
CN110098597B (en) Drive circuit with overcurrent protection function
JP2010279188A (en) Overcurrent protection circuit
US9622304B2 (en) Load driving circuit
JP5902975B2 (en) Monitoring device and in-vehicle electronic control device
JP2007214647A (en) High-side driver circuit
JP5455826B2 (en) Power-on control circuit
JP2009525721A (en) Two-level current limit power supply system
JP4776968B2 (en) Temperature protection circuit, semiconductor integrated circuit device, power supply device, electrical equipment
JP5163211B2 (en) Semiconductor integrated circuit for reset circuit and power supply control
JP2006012009A (en) Monitoring circuit
KR101779943B1 (en) Operation voltage detection circuit of MCU
JP2011078178A (en) Device and system for driving load
JP2008141907A (en) Charging device with temperature protection feature
JP5817585B2 (en) Electronic control unit
JP2004340660A (en) Abnormality detection circuit
JP2007306351A (en) Power-on reset circuit
JP2009124494A (en) Circuit for driving power element
JPWO2005066742A1 (en) Supervisory circuit
JP2009291048A (en) Overcurrent protective circuit
JP5181761B2 (en) Semiconductor integrated circuit for reset circuit and power supply control
US8975902B2 (en) Power circuit
JP2006115203A (en) Communication controller
JP2005039946A (en) Self-exciting oscillation type load drive unit