JP2001156610A - Watchdog timer control circuit and watchdog timer control method - Google Patents

Watchdog timer control circuit and watchdog timer control method

Info

Publication number
JP2001156610A
JP2001156610A JP33277999A JP33277999A JP2001156610A JP 2001156610 A JP2001156610 A JP 2001156610A JP 33277999 A JP33277999 A JP 33277999A JP 33277999 A JP33277999 A JP 33277999A JP 2001156610 A JP2001156610 A JP 2001156610A
Authority
JP
Japan
Prior art keywords
charging
voltage
characteristic
watchdog timer
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP33277999A
Other languages
Japanese (ja)
Inventor
Yoshihisa Sugano
喜久 菅野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP33277999A priority Critical patent/JP2001156610A/en
Publication of JP2001156610A publication Critical patent/JP2001156610A/en
Pending legal-status Critical Current

Links

Landscapes

  • Pulse Circuits (AREA)
  • Electronic Switches (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a watchdog timer control circuit that can prevent malfunction of a watchdog timer and to provide a watchdog timer control method. SOLUTION: The watchdog timer control circuit is provided with a 1st control means that includes a charging means that is provided with a pair of charging resistive elements and capacitors, a discharge means that discharges electric charges charged in the charging means, a charging characteristic changeover means that is provided with a pair of differential transistors(TRs) to change the charging characteristic of the charging voltage, a decision means that detects a charging voltage being a charge amounts charged in the charging means and transmits a reset signal when the charging voltage exceeds a specified level, and an output circuit that transmits an output pulse to operate the discharge means for a prescribed period, and with a 2nd control means that includes a voltage monitor means that monitors the charging voltage and a charging characteristic revision means that supplies a signal to change the charging characteristic of the charging voltage to a pair of the differential TRs.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ウォッチドッグタ
イマ制御技術に係り、特に充電回路を利用したウォッチ
ドッグタイマにおける、温度特性等による充電特性の変
動に主因して発生する誤動作を防ぐことができるウォッ
チドッグタイマ制御回路およびウォッチドッグタイマ制
御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a watchdog timer control technique, and more particularly to a watchdog timer using a charging circuit, which can prevent malfunctions caused mainly by fluctuations in charging characteristics due to temperature characteristics and the like. The present invention relates to a watchdog timer control circuit and a watchdog timer control method.

【0002】[0002]

【従来の技術】図2は一般の充電回路の充電特性を示し
ている。図2において、横軸は充電開始からの経過時
間、縦軸は充電電圧であり、曲線(a)は高温時の特
性、曲線(b)は常温時の特性、曲線(c)は低温時の
特性を示している。一般に、抵抗素子とコンデンサで構
成された充電回路はコンデンサ容量の温度変動などによ
り、図2に示すように充電特性が変化する。すなわち、
A/D変換のタイミングにおける充電電圧がVl〜Vhの
間で変動してしまう。
2. Description of the Related Art FIG. 2 shows a charging characteristic of a general charging circuit. In FIG. 2, the horizontal axis represents the elapsed time from the start of charging, the vertical axis represents the charging voltage, the curve (a) shows the characteristic at high temperature, the curve (b) shows the characteristic at normal temperature, and the curve (c) shows the characteristic at low temperature. The characteristics are shown. In general, a charging circuit composed of a resistance element and a capacitor changes its charging characteristics as shown in FIG. 2 due to temperature fluctuation of the capacitance of the capacitor. That is,
The charging voltage at the timing of the A / D conversion varies between Vl and Vh.

【0003】図3は、図2の温度特性を有する充電回路
P13を有する従来のウォッチドッグタイマP10の一
例である。図3において、P10は従来のウォッチドッ
グタイマ、P11は放電回路、P13は充電回路、P1
7はコンパレータ、P21はCPUを示している。
FIG. 3 shows an example of a conventional watchdog timer P10 having a charging circuit P13 having the temperature characteristic of FIG. In FIG. 3, P10 is a conventional watchdog timer, P11 is a discharging circuit, P13 is a charging circuit, P1
7 denotes a comparator, and P21 denotes a CPU.

【0004】図3におけるからのそれぞれのポイン
トの電圧変動を、図4のからに示す。図4を説明す
ると、正常動作中においては、波形のように、CPU
P21から一定間隔で放電パルスが出力されることによ
り、一定間隔で充電回路P13の電荷が放電されるた
め、充電電圧Vcは波形のような変動を周期的に繰り
返す。このとき、コンパレータP17により設定された
判定レベルは、波形のピーク電圧より高く設定され
ており、CPUP21からのパルスが定期的に出力され
ている限り、コンパレータP17はリセット信号を送出
しない。もし、異常によりCPUP21からのパルスが
途絶えると、充電回路P13の定期的な放電が止まり、
充電電圧VcはコンパレータP17により設定された判
定レベルを超えるため、コンパレータP17はCPUP
21に対してリセット信号を送出することで異常状態で
の作動を停止させることができる。
The voltage fluctuation at each point from FIG. 3 is shown in FIG. Referring to FIG. 4, during normal operation, like a waveform, the CPU
Since the charge of the charging circuit P13 is discharged at regular intervals by outputting a discharge pulse at regular intervals from P21, the charge voltage Vc periodically repeats a fluctuation like a waveform. At this time, the determination level set by the comparator P17 is set higher than the peak voltage of the waveform, and the comparator P17 does not send out the reset signal as long as the pulse from the CPU P21 is periodically output. If the pulse from the CPU P21 is interrupted due to an abnormality, the periodic discharge of the charging circuit P13 stops,
Since the charging voltage Vc exceeds the determination level set by the comparator P17, the comparator P17
By transmitting a reset signal to the CPU 21, the operation in the abnormal state can be stopped.

【0005】[0005]

【発明が解決しようとする課題】充電回路を利用した従
来のウォッチドッグタイマにおいては、前述したよう
に、パルス出力が停止してから異常判定して動作を停止
させるまでの異常判定時間は、ウォッチドッグタイマP
10を機能させるシステムの安全性等を考慮して決めら
れている。しかしながら、充電回路P13が、図2のよ
うな温度特性を有していた場合、図5の判定レベル、
波形、波形に示すように、低温時には常温時と比較
して充電時間が増大し、異常判定時間をオーバーしたに
も拘わらず、充電電圧VcがコンパレータP17の判定
レベルを超えないため、異常状態での動作を停止させら
れないという問題点があった。また、逆に、図5の判定
レベル’、波形’、波形’の通り、高温時には常
温時と比較して充電時間が減少し、異常判定時間をオー
バーしていないにも拘わらず、充電電圧Vcがコンパレ
ータP17の判定電圧を超えてしまい、正常な作動が停
止されてしまうという問題が生ずる。換言すれば、温度
特性等の影響により充電特性が変動し、異常判定ができ
なくなるか、または、正常なのに異常判定してしまうと
いう問題があった。
In the conventional watchdog timer using the charging circuit, as described above, the abnormality determination time from when the pulse output is stopped until the abnormality is determined and the operation is stopped is determined by the watch. Dog timer P
10 is determined in consideration of the safety and the like of the system for making the function of the system 10 work. However, when the charging circuit P13 has a temperature characteristic as shown in FIG.
As shown in the waveforms and waveforms, the charging time increases at low temperatures as compared with that at normal temperature, and the charging voltage Vc does not exceed the determination level of the comparator P17 even though the abnormality determination time has been exceeded. Operation cannot be stopped. Conversely, as shown in the determination level ', waveform', and waveform 'in FIG. 5, the charging time at high temperature is shorter than that at normal temperature, and the charging voltage Vc is higher than the abnormality determination time. Exceeds the determination voltage of the comparator P17, and the normal operation is stopped. In other words, there has been a problem that the charging characteristics fluctuate due to the influence of the temperature characteristics and the like, making it impossible to determine the abnormality, or determining that the abnormality is normal.

【0006】本発明は斯かる問題点を鑑みてなされたも
のであり、その目的とするところは、充電回路を利用し
たウォッチドッグタイマにおける、温度特性等による充
電特性の変動に主因して発生する誤動作を防ぐことがで
きるウォッチドッグタイマ制御回路およびウォッチドッ
グタイマ制御方法を提供する点にある。
The present invention has been made in view of such a problem, and an object of the present invention is to generate a watchdog timer using a charging circuit mainly due to fluctuations in charging characteristics due to temperature characteristics and the like. It is an object of the present invention to provide a watchdog timer control circuit and a watchdog timer control method capable of preventing a malfunction.

【0007】[0007]

【課題を解決するための手段】請求項1に記載の発明の
要旨は、充電用抵抗素子およびコンデンサを備えた充電
手段と、前記充電手段に充電された電荷を放出するため
の放電手段と、充電電圧の充電特性を変更するためのト
ランジスタを備えた充電特性切り替え手段と、前記充電
手段に充電された電荷量である前記充電電圧を検出する
とともに、前記充電電圧が規定のレベルを超えた場合に
リセット信号を送出するための判定手段と、前記放電手
段を一定周期で作動させるための出力パルスを送出する
出力回路を備えた第1の制御手段と、前記充電電圧を監
視する電圧監視手段と前記充電電圧の充電特性を変更す
るための信号を前記トランジスタに供給する充電特性変
更手段を備えた第2の制御手段を有することを特徴とす
るウォッチドッグタイマ制御回路に存する。また、請求
項2に記載の発明の要旨は、前記充電電圧を監視するた
め、前記充電電圧を前記第1の制御手段とは別の前記第
2の制御手段の電圧監視手段に入力し、前記充電手段の
充電特性を周期的に監視する構成を有することを特徴と
する請求項1に記載のウォッチドッグタイマ制御回路に
存する。また、請求項3に記載の発明の要旨は、前記第
2の制御手段により前記充電手段の充電特性を変化させ
る回路を用意し、前記充電電圧の変動によらず、適正な
充電特性となるように回路を制御する構成を有すること
を特徴とする請求項2に記載のウォッチドッグタイマ制
御回路に存する。また、請求項4に記載の発明の要旨
は、充電開始後から、ある所定のタイミングにおける前
記充電電圧のA/D変換値が、一定の範囲内であるかど
うかを判定し、範囲外である場合には、前記トランジス
タを制御して前記充電手段の前記充電用抵抗素子を切り
替えて充電特性を変化させる構成を有することを特徴と
する請求項1乃至3のいずれか一項に記載のウォッチド
ッグタイマ制御回路に存する。また、請求項5に記載の
発明の要旨は、充電用抵抗素子およびコンデンサを備え
た充電手段と、前記充電手段に充電された電荷を放出す
るための放電手段と、充電電圧の充電特性を変更するた
めのトランジスタを備えた充電特性切り替え手段と、前
記充電手段に充電された電荷量である前記充電電圧を検
出するとともに、前記充電電圧が規定のレベルを超えた
場合にリセット信号を送出するための判定手段と、前記
放電手段を一定周期で作動させるための出力パルスを送
出する出力回路を備えた第1の制御手段と、前記充電電
圧を監視する電圧監視手段と前記充電電圧の充電特性を
変更するための信号を前記トランジスタに供給する充電
特性変更手段を備えた第2の制御手段を有するウォッチ
ドッグタイマ制御回路に対して、前記充電電圧を監視す
るため、前記充電電圧を前記第1の制御手段とは別の前
記第2の制御手段の電圧監視手段に入力し、前記充電手
段の充電特性を周期的に監視することを特徴とするウォ
ッチドッグタイマ制御方法に存する。また、請求項6に
記載の発明の要旨は、前記第2の制御手段により前記充
電手段の充電特性を変化させる回路を用意し、前記充電
電圧の変動によらず、適正な充電特性となるように回路
を制御することを特徴とする請求項5に記載のウォッチ
ドッグタイマ制御方法に存する。また、請求項7に記載
の発明の要旨は、充電開始後から、ある所定のタイミン
グにおける前記充電電圧のA/D変換値が、一定の範囲
内であるかどうかを判定し、範囲外である場合には、前
記トランジスタを制御して前記充電手段の前記充電用抵
抗素子を切り替えて充電特性を変化させることを特徴と
する請求項5または6に記載のウォッチドッグタイマ制
御方法に存する。
The gist of the present invention is as follows: a charging means having a charging resistor and a capacitor; a discharging means for discharging charges charged in the charging means; A charging characteristic switching unit including a transistor for changing a charging characteristic of a charging voltage, and detecting the charging voltage, which is an amount of charge charged in the charging unit, and when the charging voltage exceeds a specified level. Determining means for transmitting a reset signal to the first control means, first control means including an output circuit for transmitting an output pulse for operating the discharging means at a constant period, and voltage monitoring means for monitoring the charging voltage. A watchdog comprising: a second control unit including a charging characteristic changing unit that supplies a signal for changing a charging characteristic of the charging voltage to the transistor. It resides in the timer control circuit. According to another aspect of the present invention, in order to monitor the charging voltage, the charging voltage is input to a voltage monitoring means of the second control means different from the first control means, 2. The watchdog timer control circuit according to claim 1, wherein the watchdog timer control circuit has a configuration for periodically monitoring a charging characteristic of the charging unit. According to another aspect of the present invention, a circuit is provided for changing the charging characteristic of the charging unit by the second control unit, so that the charging characteristic is appropriate regardless of the fluctuation of the charging voltage. 3. The watchdog timer control circuit according to claim 2, further comprising a circuit for controlling the circuit. The gist of the invention described in claim 4 is to determine whether the A / D conversion value of the charging voltage at a predetermined timing after the start of charging is within a certain range, and determine whether the value is outside the range. 4. The watchdog according to claim 1, wherein in the case, the transistor is controlled to change the charging characteristic by switching the charging resistance element of the charging unit. 5. It resides in the timer control circuit. According to another aspect of the present invention, a charging unit including a charging resistance element and a capacitor, a discharging unit for discharging a charge charged in the charging unit, and a charging characteristic of a charging voltage are changed. Charging characteristic switching means including a transistor for detecting the charging voltage, which is the amount of charge charged in the charging means, and transmitting a reset signal when the charging voltage exceeds a specified level. Determining means, a first control means having an output circuit for sending an output pulse for operating the discharging means at a constant cycle, a voltage monitoring means for monitoring the charging voltage, and a charging characteristic of the charging voltage. A watchdog timer control circuit having a second control means including a charge characteristic changing means for supplying a signal for changing the charge voltage to the transistor. Watch for inputting the charging voltage to a voltage monitoring means of the second control means different from the first control means to periodically monitor a charging characteristic of the charging means. It lies in the dog timer control method. The gist of the invention described in claim 6 is that a circuit for changing the charging characteristic of the charging means by the second control means is provided so that the charging characteristic is appropriate regardless of the fluctuation of the charging voltage. 6. The watchdog timer control method according to claim 5, wherein the circuit is controlled in the following manner. The gist of the invention described in claim 7 is that it is determined whether the A / D conversion value of the charging voltage at a predetermined timing after the start of charging is within a certain range and is out of the range. 7. The watchdog timer control method according to claim 5, wherein in the case, the transistor is controlled to change the charging characteristic by switching the charging resistance element of the charging unit.

【0008】[0008]

【発明の実施の形態】本発明の特徴は、充電回路を利用
したウォッチドッグタイマにおいて、充電特性の監視を
行って充電特性の切り替えを行うような構成とすること
で、温度変動等による充電特性の変化による誤動作を防
止できる点にある。以下、本発明の実施の形態を図面に
基づいて詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A feature of the present invention is that in a watchdog timer using a charging circuit, the charging characteristics are monitored and switching of the charging characteristics is performed. This is to prevent malfunction due to the change of. Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

【0009】図1は本発明の一実施の形態に係るウォッ
チドッグタイマ制御回路10を説明するための回路図で
ある。図1において、10はウォッチドッグタイマ制御
回路、11は放電回路(放電手段)、13は充電回路
(充電手段)、15は充電特性切り替え手段、17はコ
ンパレータ(判定手段)、19はCPU(第2の制御手
段)、21はCPU(第1の制御手段)、131は充電
用コンデンサ、171,173は分圧抵抗素子、191
はA/D変換回路(電圧監視手段)、193は出力回路
(充電特性変更手段)、211は出力回路、A,Bは差
動トランジスタ(一対の差動トランジスタ)、Ra,R
bは充電用抵抗素子、Vcは充電電圧を示している。
FIG. 1 is a circuit diagram for explaining a watchdog timer control circuit 10 according to one embodiment of the present invention. In FIG. 1, 10 is a watchdog timer control circuit, 11 is a discharge circuit (discharge means), 13 is a charge circuit (charge means), 15 is a charge characteristic switching means, 17 is a comparator (judgment means), and 19 is a CPU (No. 2, 21 is a CPU (first control means), 131 is a charging capacitor, 171 and 173 are voltage dividing resistance elements, 191
Is an A / D conversion circuit (voltage monitoring means), 193 is an output circuit (charging characteristic changing means), 211 is an output circuit, A and B are differential transistors (a pair of differential transistors), Ra and R
b indicates a charging resistance element, and Vc indicates a charging voltage.

【0010】図1を参照すると、本実施の形態のウォッ
チドッグタイマ制御回路10は、充電回路13(充電手
段)と、放電回路11(放電手段)と、充電特性切り替
え手段15と、コンパレータ17(判定手段)と、出力
回路211を有するCPU21(第1の制御手段)と、
CPU19(第2の制御手段)を備えている。
Referring to FIG. 1, a watchdog timer control circuit 10 of the present embodiment includes a charging circuit 13 (charging means), a discharging circuit 11 (discharging means), a charging characteristic switching means 15, a comparator 17 ( Determining means), a CPU 21 (first control means) having an output circuit 211,
A CPU 19 (second control means) is provided.

【0011】充電回路13(充電手段)は、一対の充電
用抵抗素子Ra,Rb、充電用コンデンサ131を備え
ている。放電回路11(放電手段)は、充電回路13
(充電手段)に充電された電荷を放出する構成を備えて
いる。充電特性切り替え手段15は充電電圧Vcの充電
特性を変更するための差動トランジスタA,B(一対の
差動トランジスタ)を備えている。コンパレータ17
(判定手段)は、充電回路13(充電手段)に充電され
た電荷量、すなわち充電電圧Vcを検出し、充電電圧Vc
が規定のレベル(分圧抵抗素子171,173の分圧比
で決定される電圧値)を超えた場合にリセット信号を送
出する構成を備えている。CPU21(第1の制御手
段)は、前記放電回路11(放電手段)を一定周期で作
動させるための出力パルスを送出する出力回路211を
備えている。CPU19(第2の制御手段)は、前記充
電電圧Vcを監視するA/D変換回路191(電圧監視
手段)と前記充電電圧Vcの充電特性を変更するための
信号を差動トランジスタA,B(一対の差動トランジス
タ)に供給する出力回路193(充電特性変更手段)を
備えている。
The charging circuit 13 (charging means) includes a pair of charging resistance elements Ra and Rb and a charging capacitor 131. The discharging circuit 11 (discharging means) includes a charging circuit 13
(Charging means) is provided with a structure for discharging the charged electric charge. The charging characteristic switching means 15 includes differential transistors A and B (a pair of differential transistors) for changing the charging characteristic of the charging voltage Vc. Comparator 17
The (determination means) detects the amount of charge charged in the charging circuit 13 (charging means), that is, the charging voltage Vc, and detects the charging voltage Vc.
Is greater than a prescribed level (a voltage value determined by a voltage division ratio of the voltage dividing resistance elements 171 and 173), a reset signal is transmitted. The CPU 21 (first control means) includes an output circuit 211 for transmitting an output pulse for operating the discharge circuit 11 (discharge means) at a constant cycle. The CPU 19 (second control means) includes an A / D conversion circuit 191 (voltage monitoring means) for monitoring the charging voltage Vc and a signal for changing the charging characteristics of the charging voltage Vc by the differential transistors A and B ( An output circuit 193 (charging characteristic changing means) for supplying a pair of differential transistors) is provided.

【0012】次に、図1〜図5を参照して本実施の形態
の全体の動作について詳細に説明する。図2は一般の充
電回路P13の充電特性を示している。図2において、
横軸は充電開始からの経過時間、縦軸は充電電圧であ
り、曲線(a)は高温時の特性、曲線(b)は常温時の
特性、曲線(c)は低温時の特性、ThLはA/D変換
値の規定の下限値、ThHはA/D変換値の規定の上限
値を示している。一般に、抵抗素子とコンデンサで構成
された充電回路P13はコンデンサ容量の温度変動など
により、図2に示すように充電特性が変化する。すなわ
ち、A/D変換のタイミングにおける充電電圧がVl〜
Vhの間で変動してしまう。
Next, the overall operation of the present embodiment will be described in detail with reference to FIGS. FIG. 2 shows the charging characteristics of a general charging circuit P13. In FIG.
The horizontal axis is the elapsed time from the start of charging, the vertical axis is the charging voltage, the curve (a) is the characteristic at high temperature, the curve (b) is the characteristic at room temperature, the curve (c) is the characteristic at low temperature, and ThL is The specified lower limit of the A / D conversion value, ThH, indicates the specified upper limit of the A / D conversion value. Generally, the charging characteristic of the charging circuit P13 including the resistance element and the capacitor changes as shown in FIG. 2 due to the temperature fluctuation of the capacitance of the capacitor. That is, the charging voltage at the timing of A / D conversion is Vl to
Vh.

【0013】図3は、図2の温度特性を有する充電回路
P13を有する従来のウォッチドッグタイマP10の一
例である。図3におけるからのそれぞれのポイント
の電圧変動を、図4のからに示す。図4を説明する
と、正常動作中においては、波形のように、CPUP
21から一定間隔で放電パルスが出力されることによ
り、一定間隔で充電回路P13の電荷が放電されるた
め、充電電圧Vcは波形のような変動を周期的に繰り
返す。このとき、コンパレータP17により設定された
判定レベルは、波形のピーク電圧より高く設定され
ており、CPUP21からのパルスが定期的に出力され
ている限り、コンパレータP17はリセット信号を送出
しない。もし、異常によりCPUP21からのパルスが
途絶えると、充電回路P13の定期的な放電が止まり、
充電電圧VcはコンパレータP17により設定された判
定レベルを超えるため、コンパレータP17はCPUP
21に対してリセット信号を送出することで異常状態で
の作動を停止させることができる。
FIG. 3 shows an example of a conventional watchdog timer P10 having a charging circuit P13 having the temperature characteristic of FIG. The voltage fluctuation at each point from FIG. 3 is shown in FIG. Referring to FIG. 4, during normal operation, the CPUP
Since a discharge pulse is output at a constant interval from 21, the charge of the charging circuit P13 is discharged at a constant interval, so that the charging voltage Vc periodically repeats a fluctuation like a waveform. At this time, the determination level set by the comparator P17 is set higher than the peak voltage of the waveform, and the comparator P17 does not send out the reset signal as long as the pulse from the CPU P21 is periodically output. If the pulse from the CPU P21 is interrupted due to an abnormality, the periodic discharge of the charging circuit P13 stops,
Since the charging voltage Vc exceeds the determination level set by the comparator P17, the comparator P17
By transmitting a reset signal to the CPU 21, the operation in the abnormal state can be stopped.

【0014】このように、パルス出力が停止してから異
常判定して動作を停止させるまでの異常判定時間は、ウ
ォッチドッグタイマP10を機能させるシステムの安全
性等を考慮して決められている。ところが、充電回路P
13が、図2のような温度特性を有していた場合、図5
の判定レベル、波形、波形に示すように、低温時
には常温時と比較して充電時間が増大し、異常判定時間
をオーバーしたにも拘わらず、充電電圧Vcがコンパレ
ータP17の判定レベルを超えないため、異常状態での
動作を停止させられないという問題点があった。
As described above, the abnormality determination time from when the pulse output stops to when the abnormality is determined and the operation is stopped is determined in consideration of the safety of the system in which the watchdog timer P10 functions, and the like. However, the charging circuit P
13 has the temperature characteristic as shown in FIG.
As shown in the determination levels, waveforms, and waveforms of FIG. 7, the charging time increases at low temperatures as compared with that at normal temperature, and the charging voltage Vc does not exceed the determination level of the comparator P17 even though the abnormality determination time has been exceeded. However, there is a problem that the operation in the abnormal state cannot be stopped.

【0015】また、逆に、図5の判定レベル’、波形
’、波形’の通り、高温時には常温時と比較して充
電時間が減少し、異常判定時間をオーバーしていないに
も拘わらず、充電電圧VcがコンパレータP17の判定
電圧を超えてしまい、正常な作動が停止されてしまうと
いう問題が生ずる。
Conversely, as shown in the determination level ', waveform', and waveform 'in FIG. 5, the charging time at high temperature is shorter than at normal temperature, and although the abnormality determination time is not exceeded, The charging voltage Vc exceeds the determination voltage of the comparator P17, which causes a problem that normal operation is stopped.

【0016】そこで、本実施の形態では、図1に示すよ
うに、充電電圧Vcを監視するため、充電電圧VcをCP
U21(第1の制御手段)とは別のCPU19(第2の
制御手段)のA/D変換回路191(電圧監視手段)に
入力し、充電回路13(充電手段)の充電特性を周期的
に監視する。さらに、CPU19(第2の制御手段)に
より充電回路13(充電手段)の充電特性を変化させる
回路を用意し、充電電圧Vcの変動によらず、適正な充
電特性となるように回路を制御する。
Therefore, in this embodiment, as shown in FIG. 1, in order to monitor the charging voltage Vc, the charging voltage Vc
It is input to the A / D conversion circuit 191 (voltage monitoring means) of the CPU 19 (second control means) different from U21 (first control means), and the charging characteristics of the charging circuit 13 (charging means) are periodically changed. Monitor. Further, a circuit for changing the charging characteristics of the charging circuit 13 (charging means) is prepared by the CPU 19 (second control means), and the circuit is controlled so as to obtain appropriate charging characteristics irrespective of the fluctuation of the charging voltage Vc. .

【0017】すなわち、図2において、充電開始後か
ら、あるタイミングにおける充電電圧VcのA/D変換
値が、一定の範囲内であるかどうかを判定し、範囲外で
ある場合には、図1の差動トランジスタA,B(一対の
差動トランジスタ)により充電回路13(充電手段)の
一対の充電用抵抗素子Ra,Rbを切り替え、充電特性
を変化させる。
That is, in FIG. 2, it is determined whether or not the A / D converted value of the charging voltage Vc at a certain timing after the start of charging is within a certain range. The pair of charging resistance elements Ra and Rb of the charging circuit 13 (charging means) are switched by the differential transistors A and B (a pair of differential transistors) to change the charging characteristics.

【0018】例えば、図1において、差動トランジスタ
Aにより充電用抵抗素子Raを通電し、差動トランジス
タBにより充電用抵抗素子Rbを通電し、充電用抵抗素
子Raの抵抗値<充電用抵抗素子Rbの抵抗値としてお
く。
For example, in FIG. 1, the charging resistor Ra is supplied by the differential transistor A, the charging resistor Rb is supplied by the differential transistor B, and the resistance value of the charging resistor Ra <the charging resistor. The resistance value of Rb is set.

【0019】まず、常温時には差動トランジスタAのみ
をONさせて、充電用抵抗素子Raと充電用コンデンサ
131により充電回路13(充電手段)を構成してお
き、充電電圧VcのA/D変換値が図2に示す規定範囲
(ThHからThLの間)に収まるように充電用抵抗素子
Raおよび充電用コンデンサ131の値を設定してお
く。
First, at normal temperature, only the differential transistor A is turned on, and a charging circuit 13 (charging means) is constituted by the charging resistor Ra and the charging capacitor 131, and the A / D conversion value of the charging voltage Vc is obtained. Are set within the specified range (between ThH and ThL) shown in FIG. 2.

【0020】いまここで、低温時に充電特性が変化し、
図2の曲線(b)のように充電電圧VcのA/D変換値
が規定の下限値ThL以下のVlとなったとすれば、図1
において差動トランジスタBをONさせることにより、
回路構成を充電用抵抗素子Raと充電用抵抗素子Rbの
並列接続とすることで合成抵抗値を下げ、充電特性を図
2の曲線(c)から曲線(b)のように変化させる。
Now, the charging characteristics change at low temperatures,
Assuming that the A / D conversion value of the charging voltage Vc becomes Vl which is equal to or less than a specified lower limit ThL as shown by a curve (b) in FIG.
By turning on the differential transistor B at
The circuit configuration is configured by connecting the charging resistance element Ra and the charging resistance element Rb in parallel, thereby lowering the combined resistance value and changing the charging characteristic from the curve (c) to the curve (b) in FIG.

【0021】逆に、高温時には、図2の曲線(a)のよ
うに充電電圧VcのA/D変換値が規定の上限値(Th
H)以上のVhとなったとすれば、図1において差動トラ
ンジスタAをOFFし、差動トランジスタBのみをON
させることにより充電回路13(充電手段)の抵抗値を
増加させ、充電特性を曲線(a)から曲線(b)の方向
に変化させる。
Conversely, when the temperature is high, the A / D conversion value of the charging voltage Vc is equal to the specified upper limit (Th) as shown by the curve (a) in FIG.
H) If Vh is not less than Vh, the differential transistor A is turned off and only the differential transistor B is turned on in FIG.
By doing so, the resistance value of the charging circuit 13 (charging means) is increased, and the charging characteristics are changed from the curve (a) to the curve (b).

【0022】以上説明したように本実施の形態によれ
ば、充電回路13(充電手段)を利用したウォッチドッ
グタイマにおける、温度特性等による充電特性の変動に
主因して発生する誤動作を防ぐことができるようになる
といった効果を奏する。
As described above, according to the present embodiment, it is possible to prevent a malfunction caused in the watchdog timer using the charging circuit 13 (charging means) mainly due to a change in charging characteristics due to a temperature characteristic or the like. It has the effect of being able to do so.

【0023】なお、本発明が上記実施の形態に限定され
ず、本発明の技術思想の範囲内において、各実施の形態
は適宜変更され得ることは明らかである。また上記構成
部材の数、位置、形状等は上記実施の形態に限定され
ず、本発明を実施する上で好適な数、位置、形状等にす
ることができる。また、各図において、同一構成要素に
は同一符号を付している。
It should be noted that the present invention is not limited to the above-described embodiments, and it is clear that each embodiment can be appropriately modified within the scope of the technical idea of the present invention. Further, the number, position, shape, and the like of the constituent members are not limited to the above-described embodiment, and can be set to numbers, positions, shapes, and the like suitable for carrying out the present invention. In each drawing, the same components are denoted by the same reference numerals.

【0024】[0024]

【発明の効果】本発明によれば、充電回路を利用したウ
ォッチドッグタイマにおける、温度特性等による充電特
性の変動に主因して発生する誤動作を防ぐことができる
ようになるといった効果を奏する。
According to the present invention, it is possible to prevent an erroneous operation of a watchdog timer using a charging circuit, which is mainly caused by fluctuations in charging characteristics due to temperature characteristics and the like.

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

【図1】本発明の一実施の形態に係るウォッチドッグタ
イマ制御回路を説明するための回路図である。
FIG. 1 is a circuit diagram for explaining a watchdog timer control circuit according to one embodiment of the present invention.

【図2】一般の充電回路の充電特性を示している。FIG. 2 shows a charging characteristic of a general charging circuit.

【図3】図2の温度特性を有する充電回路を有する従来
のウォッチドッグタイマの一例である。
FIG. 3 is an example of a conventional watchdog timer having a charging circuit having a temperature characteristic shown in FIG. 2;

【図4】図3のウォッチドッグタイマにおけるから
のそれぞれのポイントの電圧変動を示している。
FIG. 4 shows voltage fluctuations at respective points from the watchdog timer of FIG. 3;

【図5】図2のような温度特性を有していた場合の図4
の各ポイントの電圧変動を示している。
FIG. 5 shows a case where the device has temperature characteristics as shown in FIG. 2;
3 shows the voltage fluctuation at each point.

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

10…ウォッチドッグタイマ制御回路 11…放電回路(放電手段) 13…充電回路(充電手段) 15…充電特性切り替え手段 17…コンパレータ(判定手段) 19…CPU(第2の制御手段) 21…CPU(第1の制御手段) 131…充電用コンデンサ 171,173…分圧抵抗素子 191…A/D変換回路(電圧監視手段) 193…出力回路(充電特性変更手段) 211…出力回路 A,B…差動トランジスタ(一対の差動トランジスタ) Ra,Rb…充電用抵抗素子 ThL…A/D変換値の規定の下限値 ThH…A/D変換値の規定の上限値 Vc…充電電圧 DESCRIPTION OF SYMBOLS 10 ... Watchdog timer control circuit 11 ... Discharge circuit (discharge means) 13 ... Charge circuit (charge means) 15 ... Charge characteristic switching means 17 ... Comparator (judgment means) 19 ... CPU (second control means) 21 ... CPU ( First control means) 131: charging capacitors 171, 173: voltage-dividing resistance elements 191: A / D conversion circuit (voltage monitoring means) 193: output circuit (charging characteristic changing means) 211: output circuits A, B: difference Active transistors (a pair of differential transistors) Ra, Rb: charging resistance element ThL: lower limit of A / D conversion value ThH: upper limit of A / D conversion value Vc: charging voltage

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 充電用抵抗素子およびコンデンサを備え
た充電手段と、 前記充電手段に充電された電荷を放出するための放電手
段と、 充電電圧の充電特性を変更するためのトランジスタを備
えた充電特性切り替え手段と、 前記充電手段に充電された電荷量である前記充電電圧を
検出するとともに、前記充電電圧が規定のレベルを超え
た場合にリセット信号を送出するための判定手段と、 前記放電手段を一定周期で作動させるための出力パルス
を送出する出力回路を備えた第1の制御手段と、 前記充電電圧を監視する電圧監視手段と前記充電電圧の
充電特性を変更するための信号を前記トランジスタに供
給する充電特性変更手段を備えた第2の制御手段を有す
ることを特徴とするウォッチドッグタイマ制御回路。
A charging unit including a charging resistor and a capacitor; a discharging unit configured to release a charge stored in the charging unit; and a charging unit including a transistor configured to change a charging characteristic of a charging voltage. A characteristic switching unit, a determination unit for detecting the charging voltage, which is an amount of charge charged in the charging unit, and transmitting a reset signal when the charging voltage exceeds a prescribed level; and the discharging unit. First control means having an output circuit for sending an output pulse for causing the transistor to operate at a constant cycle; voltage monitoring means for monitoring the charging voltage; and a signal for changing a charging characteristic of the charging voltage to the transistor. A watchdog timer control circuit, comprising: a second control unit including a charging characteristic changing unit that supplies a charge characteristic to the watchdog timer.
【請求項2】 前記充電電圧を監視するため、前記充電
電圧を前記第1の制御手段とは別の前記第2の制御手段
の電圧監視手段に入力し、前記充電手段の充電特性を周
期的に監視する構成を有することを特徴とする請求項1
に記載のウォッチドッグタイマ制御回路。
2. In order to monitor the charging voltage, the charging voltage is input to a voltage monitoring means of the second control means different from the first control means, and a charging characteristic of the charging means is periodically changed. 2. The apparatus according to claim 1, further comprising:
2. The watchdog timer control circuit according to 1.
【請求項3】 前記第2の制御手段により前記充電手段
の充電特性を変化させる回路を用意し、前記充電電圧の
変動によらず、適正な充電特性となるように回路を制御
する構成を有することを特徴とする請求項2に記載のウ
ォッチドッグタイマ制御回路。
3. A circuit for changing a charging characteristic of the charging means by the second control means is provided, and the circuit is controlled so as to have an appropriate charging characteristic irrespective of the fluctuation of the charging voltage. 3. The watchdog timer control circuit according to claim 2, wherein:
【請求項4】 充電開始後から、ある所定のタイミング
における前記充電電圧のA/D変換値が、一定の範囲内
であるかどうかを判定し、範囲外である場合には、前記
トランジスタを制御して前記充電手段の前記充電用抵抗
素子を切り替えて充電特性を変化させる構成を有するこ
とを特徴とする請求項1乃至3のいずれか一項に記載の
ウォッチドッグタイマ制御回路。
4. After the start of charging, it is determined whether an A / D conversion value of the charging voltage at a predetermined timing is within a certain range, and if not, the transistor is controlled. The watchdog timer control circuit according to any one of claims 1 to 3, further comprising a configuration for changing a charging characteristic by switching the charging resistance element of the charging unit.
【請求項5】 充電用抵抗素子およびコンデンサを備え
た充電手段と、前記充電手段に充電された電荷を放出す
るための放電手段と、充電電圧の充電特性を変更するた
めのトランジスタを備えた充電特性切り替え手段と、前
記充電手段に充電された電荷量である前記充電電圧を検
出するとともに、前記充電電圧が規定のレベルを超えた
場合にリセット信号を送出するための判定手段と、前記
放電手段を一定周期で作動させるための出力パルスを送
出する出力回路を備えた第1の制御手段と、前記充電電
圧を監視する電圧監視手段と前記充電電圧の充電特性を
変更するための信号を前記トランジスタに供給する充電
特性変更手段を備えた第2の制御手段を有するウォッチ
ドッグタイマ制御回路に対して、 前記充電電圧を監視するため、前記充電電圧を前記第1
の制御手段とは別の前記第2の制御手段の電圧監視手段
に入力し、前記充電手段の充電特性を周期的に監視する
ことを特徴とするウォッチドッグタイマ制御方法。
5. A charging device comprising: a charging device having a charging resistor and a capacitor; a discharging device for discharging a charge stored in the charging device; and a transistor having a transistor for changing a charging characteristic of a charging voltage. Characteristic switching means, determination means for detecting the charging voltage, which is the amount of charge charged in the charging means, and transmitting a reset signal when the charging voltage exceeds a prescribed level; and discharging means A first control means having an output circuit for sending an output pulse for causing the transistor to operate at a constant period; a voltage monitoring means for monitoring the charging voltage; and a signal for changing a charging characteristic of the charging voltage to the transistor. A watchdog timer control circuit having a second control means provided with a charge characteristic changing means for supplying the charging voltage to the charge characteristic monitoring means; Wherein the pressure first
A watchdog timer control method comprising: inputting a voltage to a voltage monitoring means of the second control means, which is different from the control means, and periodically monitoring a charging characteristic of the charging means.
【請求項6】 前記第2の制御手段により前記充電手段
の充電特性を変化させる回路を用意し、前記充電電圧の
変動によらず、適正な充電特性となるように回路を制御
することを特徴とする請求項5に記載のウォッチドッグ
タイマ制御方法。
6. A circuit for changing a charging characteristic of the charging means by the second control means, and controlling the circuit so as to obtain an appropriate charging characteristic irrespective of the fluctuation of the charging voltage. The watchdog timer control method according to claim 5, wherein
【請求項7】 充電開始後から、ある所定のタイミング
における前記充電電圧のA/D変換値が、一定の範囲内
であるかどうかを判定し、範囲外である場合には、前記
トランジスタを制御して前記充電手段の前記充電用抵抗
素子を切り替えて充電特性を変化させることを特徴とす
る請求項5または6に記載のウォッチドッグタイマ制御
方法。
7. After the start of charging, it is determined whether an A / D conversion value of the charging voltage at a predetermined timing is within a certain range, and if not, the transistor is controlled. 7. The watchdog timer control method according to claim 5, wherein the charging characteristic is changed by switching the charging resistance element of the charging unit.
JP33277999A 1999-11-24 1999-11-24 Watchdog timer control circuit and watchdog timer control method Pending JP2001156610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33277999A JP2001156610A (en) 1999-11-24 1999-11-24 Watchdog timer control circuit and watchdog timer control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33277999A JP2001156610A (en) 1999-11-24 1999-11-24 Watchdog timer control circuit and watchdog timer control method

Publications (1)

Publication Number Publication Date
JP2001156610A true JP2001156610A (en) 2001-06-08

Family

ID=18258742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33277999A Pending JP2001156610A (en) 1999-11-24 1999-11-24 Watchdog timer control circuit and watchdog timer control method

Country Status (1)

Country Link
JP (1) JP2001156610A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005066742A1 (en) * 2003-12-26 2005-07-21 Rohm Co., Ltd. Monitoring circuit
JP2018006815A (en) * 2016-06-27 2018-01-11 株式会社オートネットワーク技術研究所 Output device and switching system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005066742A1 (en) * 2003-12-26 2005-07-21 Rohm Co., Ltd. Monitoring circuit
JP2018006815A (en) * 2016-06-27 2018-01-11 株式会社オートネットワーク技術研究所 Output device and switching system

Similar Documents

Publication Publication Date Title
KR900001444B1 (en) Engine control apparatus
JP3410765B2 (en) CMOS power-on reset circuit
EP0402144B1 (en) Interunit communication system and resetting method
JPH061860Y2 (en) Automatic vehicle speed controller
JPH11127547A (en) On/off controller for power unit
JP2001156610A (en) Watchdog timer control circuit and watchdog timer control method
EP2443731A1 (en) A digital stress share method
JP6733349B2 (en) Abnormality diagnosis device and abnormality diagnosis method
JP4140209B2 (en) Secondary battery control device
JP2003023735A (en) Power device
US20070050687A1 (en) Watchdog monitoring circuit and method for controlling energization of the load using the watchdog monitoring circuit
CN109074046A (en) controller system
JP2004340660A (en) Abnormality detection circuit
JP2503336B2 (en) Overcharge prevention method
JPH0241983Y2 (en)
JP2006115203A (en) Communication controller
JPH04291634A (en) Fault detecting circuit for microcomputer
JP2571090Y2 (en) Watchdog circuit
US20080141053A1 (en) Monitoring Circuit
JP7445388B2 (en) Digital input devices and programmable logic controllers
KR100731506B1 (en) Micro controller having watchdog circuit and controlling method therefor
JP2001218449A (en) Semiconductor switch control device and method
JPH0335393A (en) Automatic vending machine
JP2005328684A (en) Abnormal cell detecting device
KR100775328B1 (en) Apparatus for resetting micoms

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030603