JPH08205424A - Backup power supply circuit - Google Patents

Backup power supply circuit

Info

Publication number
JPH08205424A
JPH08205424A JP7009844A JP984495A JPH08205424A JP H08205424 A JPH08205424 A JP H08205424A JP 7009844 A JP7009844 A JP 7009844A JP 984495 A JP984495 A JP 984495A JP H08205424 A JPH08205424 A JP H08205424A
Authority
JP
Japan
Prior art keywords
voltage
battery
backup
microcomputer
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7009844A
Other languages
Japanese (ja)
Other versions
JP2765502B2 (en
Inventor
Isao Suzuki
功 鈴木
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 JP7009844A priority Critical patent/JP2765502B2/en
Publication of JPH08205424A publication Critical patent/JPH08205424A/en
Application granted granted Critical
Publication of JP2765502B2 publication Critical patent/JP2765502B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To prevent erroneous function of a microcomputer when the voltage of a backup battery in a backup power supply circuit drops. CONSTITUTION: The backup power supply circuit comprises circuits 4, 5 for detecting the battery voltage being fed to a microcomputer 8. When a data must be erased even if the battery voltage is higher than the lowest level for retaining the data in a memory, a backup battery 3 is discharged until the voltage thereof drops below the lowest data retaining voltage level thus erasing the data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、電池を用いてメモリや
マイコンにバックアップ給電を行うバックアップ給電回
路に関し、特に、時計機能を有する装置のバックアップ
給電回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a backup power supply circuit for supplying power to a memory or a microcomputer by using a battery, and more particularly to a backup power supply circuit for a device having a clock function.

【0002】[0002]

【従来の技術】従来、時計機能を有する様々な装置にお
いて電源断時においても時計機能を動作させるためバッ
クアップ給電が行われている。しかし、バックアップ給
電中に電池障害の発生等によりメモリ内のデータ等が破
壊されてしまうことがある。そのため、電源投入後に、
メモリ内のデータをチェックし、データが破壊されてい
ると判断した場合にメモリを初期化し使用者に報知する
技術が、例えば、特開平5−298195号公報に記載
されている。この技術を用いれば、使用者はメモリ内の
データ等が破壊されたか否かを電源投入後に判断するこ
とができる。また、この技術では、メモリのデータが破
壊されていなければ電池障害発生前のデータが電源投入
時におけるデータとして用いられる。
2. Description of the Related Art Conventionally, in various devices having a clock function, backup power is supplied to operate the clock function even when the power is turned off. However, data or the like in the memory may be destroyed due to a battery failure or the like during backup power supply. Therefore, after turning on the power,
A technique for checking the data in the memory and initializing the memory and notifying the user when it is determined that the data has been destroyed is described in, for example, Japanese Patent Laid-Open No. 5-298195. Using this technique, the user can determine whether the data in the memory has been destroyed or not after the power is turned on. Further, in this technique, if the data in the memory is not destroyed, the data before the occurrence of the battery failure is used as the data when the power is turned on.

【0003】一方、携帯電話等の無線装置では、動作電
圧の低電圧化が進み、電源電圧とマイコン等の動作電圧
との差が縮まり、また、バックアップ電池の電圧とマイ
コンやメモリ(例えばSRAM)の動作電圧との差も縮
まっている。したがって、時計データ等を処理している
マイコンへのバックアップ電池からの給電電圧がマイコ
ンの最低動作電圧より下回りやすい。例えば、無線装置
を充電器に差し込んだり、抜いたりするとき、あるいは
車載型無線電話では、車のイグニッションキーを回した
とき等、一時的に電池電圧がマイコンの動作電圧より下
回る場合がある。
On the other hand, in wireless devices such as mobile phones, the operating voltage is becoming lower, the difference between the power supply voltage and the operating voltage of the microcomputer is narrowed, and the voltage of the backup battery and the microcomputer or memory (for example, SRAM). The difference from the operating voltage is also narrowing. Therefore, the power supply voltage from the backup battery to the microcomputer processing the clock data etc. tends to fall below the minimum operating voltage of the microcomputer. For example, the battery voltage may temporarily fall below the operating voltage of the microcomputer when the wireless device is inserted into or removed from the charger, or when the vehicle-mounted wireless telephone turns the ignition key of the car.

【0004】このような外乱等による電池電圧の低下の
場合、上述した従来技術を用いれば、メモリ内のデータ
等が破壊されたか否かにより、メモリの内容をそのまま
用いるか初期状態とするか判断されるので何ら問題はな
い。
When the battery voltage drops due to such a disturbance or the like, using the above-described conventional technique, it is determined whether the contents of the memory are used as they are or the initial state is determined depending on whether the data in the memory is destroyed. There is no problem because it is done.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、電源電
池が外れた状態が長く維持され、バックアップ電池の容
量が低下して、バックアップ電池電圧がマイコンの動作
電圧より低くなった場合、上述の従来技術では、電源投
入後もバックアップ電池電圧が低下する以前の状態をメ
モリが保持しているため、表示時刻等が正確ではなくな
るという問題がある。これは、マイコンの動作電圧とメ
モリの保持電圧との最低電圧の違いに起因する。
However, when the power supply battery is kept removed for a long time and the backup battery capacity decreases, and the backup battery voltage becomes lower than the operating voltage of the microcomputer, the above-mentioned conventional technique is used. Since the memory retains the state before the backup battery voltage drops even after the power is turned on, there is a problem that the display time and the like are not accurate. This is due to the difference in the minimum voltage between the operating voltage of the microcomputer and the holding voltage of the memory.

【0006】携帯無線装置においては一般に、メモリの
最低保持電圧がマイコンの動作電圧より低い。そのた
め、実際にバックアップ用電池が給電を続け電池容量が
減少することによりバックアップ電池電圧が低下した場
合、先にマイコンの最低動作電圧に達する。このとき、
マイコンの誤動作を防ぐため、マイコンは強制的に動作
停止状態にされる。マイコンの動作停止状態では、消費
電流は極端に減少するため、バックアップ電池電圧は殆
ど低下しない。したがって、バックアップ電池電圧がメ
モリの最低保持電圧まで達しなければ、メモリはデータ
等を正常に記憶している。
In a portable wireless device, the minimum holding voltage of the memory is generally lower than the operating voltage of the microcomputer. For this reason, when the backup battery voltage drops due to the fact that the backup battery actually continues to supply power and the battery capacity decreases, the minimum operating voltage of the microcomputer is reached first. At this time,
In order to prevent the malfunction of the microcomputer, the microcomputer is forcibly put into the stopped state. When the operation of the microcomputer is stopped, the current consumption is extremely reduced, so that the backup battery voltage hardly drops. Therefore, if the backup battery voltage does not reach the minimum holding voltage of the memory, the memory normally stores data and the like.

【0007】つまり、バックアップ電池電圧がマイコン
の動作電圧以下でかつメモリの最低保持電圧以上の時間
帯においては、メモリ内のデータは破壊されないので、
電源投入後に異常を検出することができず、メモリ内の
データは保持される。すると、長時間マイコンが停止状
態であっても電源投入後に表示される時間は、メモリ内
に保持されたデータ、すなわち、バックアップ電池電圧
がマイコンの動作電圧以下となった時間となり、正確な
時間とずれることになる。しかし、異常が報知されない
ため、使用者は正確な時間が表示されているか否か判別
できない。
That is, since the backup battery voltage is lower than the operating voltage of the microcomputer and higher than the minimum holding voltage of the memory, the data in the memory is not destroyed.
The abnormality cannot be detected after the power is turned on, and the data in the memory is retained. Then, even if the microcomputer is stopped for a long time, the time displayed after the power is turned on is the time when the data held in the memory, that is, the backup battery voltage becomes equal to or lower than the operating voltage of the microcomputer. It will shift. However, since the abnormality is not notified, the user cannot determine whether or not the correct time is displayed.

【0008】本発明の目的は、上述した課題を解決し、
電池容量低下による電池電圧低下時においてメモリの内
容を消去するバックアップ給電回路を提供することにあ
る。
The object of the present invention is to solve the above-mentioned problems,
Another object of the present invention is to provide a backup power supply circuit that erases the contents of the memory when the battery voltage drops due to the battery capacity drop.

【0009】本発明の他の目的は、外乱等による電池電
圧低下と電池容量低下による電圧低下とを区別し得るバ
ックアップ給電回路を提供することにある。
Another object of the present invention is to provide a backup power supply circuit capable of distinguishing a battery voltage drop due to disturbance or the like and a battery voltage drop due to battery capacity drop.

【0010】[0010]

【課題を解決するための手段】上述した目的を達成する
ために、本発明によるバックアップ給電回路は、電源電
池と、バックアップ電池と、供給される電池電圧を検出
する電圧検出手段と、検出された電池電圧に応じてバッ
クアップ電池を放電するか否か判定する判定手段とを有
することを特徴とする。
In order to achieve the above-mentioned object, a backup power supply circuit according to the present invention includes a power supply battery, a backup battery, and a voltage detecting means for detecting the supplied battery voltage. And a determination unit that determines whether to discharge the backup battery according to the battery voltage.

【0011】判定手段は、電池電圧が第1の電圧、例え
ばマイコンの最低動作電圧以下で、かつ第2の電圧、例
えばメモリ最低保持電圧以上の時、バックアップ電池を
放電すると判定しても良い また、バックアップ給電回路は、バックアップ電池を第
2の電圧以下まで放電する放電回路を有しても良い。
The determining means may determine to discharge the backup battery when the battery voltage is the first voltage, for example, the minimum operating voltage of the microcomputer or less and the second voltage, for example, the minimum memory holding voltage or more. The backup power supply circuit may include a discharge circuit that discharges the backup battery to a voltage equal to or lower than the second voltage.

【0012】[0012]

【作用】上述した構成の採用により、本発明によるバッ
クアップ給電回路は、電池電圧が所定電圧範囲内にある
とき、バックアップ電池の放電制御を行うことによりバ
ックアップ電池電圧をメモリ最低保持電圧まで下げるこ
とができるので、メモリ内のデータを消去できる。これ
により、電源再投入時にメモリ内の古いデータを用いて
再開することがない。
By adopting the above-described structure, the backup power supply circuit according to the present invention can reduce the backup battery voltage to the minimum memory holding voltage by controlling the discharge of the backup battery when the battery voltage is within the predetermined voltage range. Therefore, the data in the memory can be erased. This prevents the old data in the memory from being used again when the power is turned on again.

【0013】また、電池容量低下による電池電圧低下を
他の要因による電圧低下と区別して、マイコンを制御で
きる。
Further, the microcomputer can be controlled by distinguishing the battery voltage drop due to the battery capacity drop from the voltage drop due to other factors.

【0014】[0014]

【実施例】次に本発明について図面を参照して詳細に説
明する。
The present invention will be described in detail with reference to the drawings.

【0015】図1は、本発明の一実施例を示すバックア
ップ給電回路のブロック図である。バックアップ給電回
路は、電源電池1、充電回路2、バックアップ電池3、
電源電池電圧検出回路4、バックアップ電池電圧検出回
路5、ダイオード6および11、放電判定回路7、マイ
コン8、スイッチ9および放電回路10から構成され
る。
FIG. 1 is a block diagram of a backup power supply circuit showing an embodiment of the present invention. The backup power supply circuit includes a power supply battery 1, a charging circuit 2, a backup battery 3,
It is composed of a power supply battery voltage detection circuit 4, a backup battery voltage detection circuit 5, diodes 6 and 11, a discharge determination circuit 7, a microcomputer 8, a switch 9 and a discharge circuit 10.

【0016】電池1の電池電圧、例えば4.5〜5.0
V、は時計機能等を制御するマイコン8にダイオード1
1を介して供給される。マイコン8は例えば1チップマ
イコンで構成され、その内部に時刻情報等を記憶するメ
モリ(例えばSRAM)を有している。このマイコン8
は図示されていない時計に接続されている。このマイコ
ン8の最低動作電圧は例えば2.0V位で、内部メモリ
の最低保持電圧は例えば1.8V位である。また、電池
電圧は例えば抵抗で構成される充電回路2を介してバッ
クアップ電池3にも供給される。これは、電池1からの
電池電流が突然バックアップ電池3へ流れ、電池3を破
壊することを防ぐためである。しかし、充電回路2は必
ずしも必要ではなく、電池1からの電池電圧がバックア
ップ電池3へ供給されなくても良い。
Battery voltage of the battery 1, for example 4.5 to 5.0
V is a diode 1 in the microcomputer 8 that controls the clock function, etc.
It is supplied via 1. The microcomputer 8 is composed of, for example, a one-chip microcomputer, and has a memory (for example, SRAM) for storing time information and the like therein. This microcomputer 8
Is connected to a watch not shown. The minimum operating voltage of the microcomputer 8 is, for example, about 2.0V, and the minimum holding voltage of the internal memory is, for example, about 1.8V. The battery voltage is also supplied to the backup battery 3 via the charging circuit 2 composed of a resistor, for example. This is to prevent the battery current from the battery 1 from suddenly flowing to the backup battery 3 and destroying the battery 3. However, the charging circuit 2 is not always necessary, and the battery voltage from the battery 1 may not be supplied to the backup battery 3.

【0017】電池電圧検出回路4は、電池1あるいはバ
ックアップ電池3の電池電圧がマイコンの最低動作電圧
(2.0V)以上か否かを検出し、その検出出力は放電
判定回路7およびマイコン8のリセット端子へ供給され
る。そして、検出された電池電圧がマイコンの最低動作
電圧以下の時、マイコンはリセットされる。
The battery voltage detection circuit 4 detects whether or not the battery voltage of the battery 1 or the backup battery 3 is equal to or higher than the minimum operating voltage (2.0V) of the microcomputer, and the detection output is detected by the discharge determination circuit 7 and the microcomputer 8. Supplied to the reset pin. Then, when the detected battery voltage is equal to or lower than the minimum operating voltage of the microcomputer, the microcomputer is reset.

【0018】バックアップ電池電圧検出回路5はバック
アップ電池電圧がメモリの最低保持電圧(1.8V)以
上か否かを検出し、検出電圧は放電判定回路7へ供給さ
れる。
The backup battery voltage detection circuit 5 detects whether the backup battery voltage is equal to or higher than the minimum holding voltage (1.8 V) of the memory, and the detected voltage is supplied to the discharge determination circuit 7.

【0019】放電判定回路7は電池電圧検出回路4とバ
ックアップ電池電圧検出回路5との出力により、バック
アップ電池3を放電するか否か判定し、スイッチ9のO
N/OFFを制御する。電池電圧がマイコンの最低動作
電圧以上またはメモリの最低保持電圧以下の時、スイッ
チ9はOFFとなり、電池電圧がマイコンの最低動作電
圧以下でかつメモリの最低保持電圧以上の時、スイッチ
9はONとなる。スイッチ9がONの時、バックアップ
電池3は、放電回路10と接続されるため、放電を開始
し、マイコン8へ供給される電池電圧は低くなる。放電
回路10は抵抗で構成され、その一端は接地される。
The discharge determination circuit 7 determines whether or not the backup battery 3 is discharged, based on the outputs of the battery voltage detection circuit 4 and the backup battery voltage detection circuit 5, and the O of the switch 9 is turned on.
Control N / OFF. When the battery voltage is above the minimum operating voltage of the microcomputer or below the minimum holding voltage of the memory, the switch 9 is turned off. When the battery voltage is below the minimum operating voltage of the microcomputer and above the minimum holding voltage of the memory, the switch 9 is turned on. Become. When the switch 9 is ON, the backup battery 3 is connected to the discharge circuit 10, so that the discharge is started and the battery voltage supplied to the microcomputer 8 becomes low. The discharge circuit 10 is composed of a resistor, and one end thereof is grounded.

【0020】スイッチ9がOFFの時はバックアップ電
池3の電池電圧はダイオード6を介してマイコン8へ供
給される。つまり、電池電圧がマイコンの最低動作電圧
以上の時、マイコンが正常に動作しているため、バック
アップ電池3の放電を行う必要がない。また、電池電圧
がメモリの最低保持電圧(1.8V)以下の時は、メモ
リの内容が消去され、これ以上バックアップ電池を放電
する必要がない。一方、電池電圧がマイコンの最低動作
電圧以下でかつメモリの最低保持電圧以上の時、バック
アップ電池電圧がメモリの最低保持電圧を下回るようバ
ックアップ電池3の放電が行われる。このとき、メモリ
の内容が破壊される。
When the switch 9 is off, the battery voltage of the backup battery 3 is supplied to the microcomputer 8 via the diode 6. That is, when the battery voltage is equal to or higher than the minimum operating voltage of the microcomputer, the microcomputer is operating normally, and it is not necessary to discharge the backup battery 3. Further, when the battery voltage is equal to or lower than the minimum holding voltage (1.8 V) of the memory, the contents of the memory are erased and it is not necessary to discharge the backup battery any more. On the other hand, when the battery voltage is below the minimum operating voltage of the microcomputer and above the minimum holding voltage of the memory, the backup battery 3 is discharged so that the backup battery voltage falls below the minimum holding voltage of the memory. At this time, the contents of the memory are destroyed.

【0021】マイコン8は、供給される電池電圧がマイ
コンの最低動作電圧以下の時、誤動作を防ぐためリセッ
トされる。供給される電池電圧がマイコンの最低動作電
圧以上になると、メモリの記憶内容をチェックし、破壊
されているとメモリの内容を消去し、初期スタートを行
う。一方、メモリの内容が破壊されていなければ、メモ
リの内容は消去されず、記憶されている内容から再スタ
ートする。マイコン8におけるメモリの記憶内容のチェ
ックとしては、例えば上述の従来技術に示されているよ
うに、予め所定のデータをメモリ内に記憶しておき、こ
のデータが破壊されたか否かをチェックすることが用い
られても良い。
The microcomputer 8 is reset to prevent malfunction when the supplied battery voltage is equal to or lower than the minimum operating voltage of the microcomputer. When the supplied battery voltage exceeds the minimum operating voltage of the microcomputer, the memory contents are checked. If the battery voltage is destroyed, the memory contents are erased and an initial start is performed. On the other hand, if the contents of the memory are not destroyed, the contents of the memory are not erased, and the contents are restarted from the stored contents. For checking the memory contents of the memory in the microcomputer 8, for example, as shown in the above-mentioned prior art, predetermined data is stored in the memory in advance, and it is checked whether or not this data is destroyed. May be used.

【0022】ここで、マイコン8へ供給される電池電圧
がメモリの最低保持電圧以下となると、メモリの内容は
破壊される。そこで、本発明では、マイコンへ供給され
る電池電圧がマイコンの最低動作電圧以下となると、バ
ックアップ電池3を放電させ、強制的に電池電圧をメモ
リの最低保持電圧以下とする。これにより、メモリの内
容は破壊され、マイコンの再動作時、初期スタートす
る。一方、外乱等による瞬間的な電圧低下では、バック
アップ電池を放電してしまうが、直ちに電池電圧が回復
し、マイコンの最低動作電圧を越えるので、放電を中止
し、メモリの内容は破壊されない。
Here, when the battery voltage supplied to the microcomputer 8 becomes lower than the minimum holding voltage of the memory, the contents of the memory are destroyed. Therefore, in the present invention, when the battery voltage supplied to the microcomputer becomes equal to or lower than the minimum operating voltage of the microcomputer, the backup battery 3 is discharged, and the battery voltage is forced to be equal to or lower than the minimum holding voltage of the memory. As a result, the contents of the memory are destroyed and an initial start is performed when the microcomputer restarts. On the other hand, if the voltage drops instantaneously due to disturbance or the like, the backup battery is discharged, but the battery voltage immediately recovers and exceeds the minimum operating voltage of the microcomputer, so the discharge is stopped and the contents of the memory are not destroyed.

【0023】なお、ダイオード6は電池1からマイコン
8へ供給される電流がバックアップ電池3へ逆流するこ
とを防ぐために設けられている。また、ダイオード11
はバックアップ電池3からの電流が電池1へ逆流するの
を防ぐために設けられている。
The diode 6 is provided to prevent the current supplied from the battery 1 to the microcomputer 8 from flowing back to the backup battery 3. In addition, the diode 11
Is provided to prevent the current from the backup battery 3 from flowing back to the battery 1.

【0024】図2は、バックアップ電池電圧の変化を示
す図である。図2において、の実線は従来技術におけ
るバックアップ電池電圧の変化を示し、の一点鎖線は
本発明におけるバックアップ電池電圧の変化を示してい
る。また、の二点鎖線は外乱等による一時的なバック
アップ電池電圧の変化を示している。
FIG. 2 is a diagram showing changes in the backup battery voltage. In FIG. 2, the solid line indicates the change in the backup battery voltage in the prior art, and the alternate long and short dash line indicates the change in the backup battery voltage in the present invention. Also, the two-dot chain line of indicates a temporary change of the backup battery voltage due to disturbance or the like.

【0025】電源電池が接続されていない時間T1にお
いてバックアップ電池電圧がマイコン最低動作電圧以下
となると、マイコンの動作は停止される。そのため、バ
ックアップ電池電圧はメモリ最低保持電圧まで下がらず
(実線参照)、メモリ内のデータは保持される。時間
T2で電源電池が接続されると、従来技術においては、
メモリ内のデータが破壊されていないため、(T2−T
1)間の時間が経過したにもかかわらず、時間T2のと
き時間T1の情報を基に時刻表示が再開されてしまう。
When the backup battery voltage becomes equal to or lower than the microcomputer minimum operating voltage at time T1 when the power battery is not connected, the operation of the microcomputer is stopped. Therefore, the backup battery voltage does not drop to the memory minimum holding voltage (see the solid line), and the data in the memory is held. When the power battery is connected at time T2, in the conventional technique,
Since the data in the memory is not destroyed, (T2-T
Despite the passage of time between 1), at time T2, the time display is restarted based on the information of time T1.

【0026】一方、本発明においては、一点鎖線に示
されるように、バックアップ電池電圧がマイコンの最低
動作電圧を下回る時間T1で、放電判定回路7はスイッ
チ9をONするので、バックアップ電池3がメモリ最低
保持電圧まで放電され、メモリの内容は破壊される。し
たがって、時間T2で電池が接続されると、マイコン8
は電源投入後のメモリの内容チェック機能により、メモ
リの内容を消去し、初期スタートを行う。
On the other hand, in the present invention, as indicated by the alternate long and short dash line, the discharge determination circuit 7 turns on the switch 9 at the time T1 when the backup battery voltage falls below the minimum operating voltage of the microcomputer, so that the backup battery 3 is stored in the memory. The contents of the memory are destroyed by discharging to the minimum holding voltage. Therefore, when the battery is connected at time T2, the microcomputer 8
After the power is turned on, the memory contents check function erases the contents of the memory and performs an initial start.

【0027】電源電池1が充電器に接続されるとき、あ
るいは車のイグニッションキーが回されるとき等の外乱
による一時的な電圧降下(2点鎖線参照)では、短時
間バックアップ電池が放電されるが、バックアップ電圧
がメモリ最低保持電圧を下回る前に直ちに回復されるの
でマイコン最低動作電圧を越える。そのため、スイッチ
9がOFFされ、マイコンはメモリの内容をチェック
し、内容が破壊されていないので、電圧低下以前に保持
された状態から再スタートする。
The backup battery is discharged for a short time due to a temporary voltage drop (refer to the chain double-dashed line) due to disturbance such as when the power supply battery 1 is connected to the charger or when the ignition key of the vehicle is turned. However, since the backup voltage is immediately restored before it falls below the memory minimum holding voltage, the microcomputer minimum operating voltage is exceeded. Therefore, the switch 9 is turned off, the microcomputer checks the contents of the memory, and since the contents are not destroyed, the microcomputer restarts from the state held before the voltage drop.

【0028】このように、放電回路10の抵抗値は、外
乱による電圧低下と区別できるよう、短時間でバックア
ップ電池電圧がメモリ最低保持電圧を下回らないように
設定される。
Thus, the resistance value of the discharge circuit 10 is set so that the backup battery voltage does not fall below the memory minimum holding voltage in a short time so that it can be distinguished from the voltage drop due to disturbance.

【0029】以上説明した実施例では、2つの独立した
電池電圧検出回路を有しているが、1つの電池電圧検出
回路でマイコンの最低動作電圧およびメモリの最低保持
電圧と比較しても良い。この場合、図1における一方の
電池電圧検出回路4あるいは5は不要となる。
Although the embodiment described above has two independent battery voltage detection circuits, one battery voltage detection circuit may be used for comparison with the minimum operating voltage of the microcomputer and the minimum holding voltage of the memory. In this case, one battery voltage detection circuit 4 or 5 in FIG. 1 is unnecessary.

【0030】[0030]

【発明の効果】以上説明したように、本発明によるバッ
クアップ給電回路は、マイコンに供給される電池電圧が
マイコンの最低動作電圧以下かつメモリの最低保持電圧
以上の時にバックアップ電池をメモリの最低保持電圧以
下まで放電させてメモリの記憶内容を消去することによ
って、電源電池の接続後においてマイコンがメモリを初
期状態からスタートさせる。
As described above, in the backup power supply circuit according to the present invention, when the battery voltage supplied to the microcomputer is less than the minimum operating voltage of the microcomputer and more than the minimum holding voltage of the memory, the backup battery is the minimum holding voltage of the memory. By discharging to the following and erasing the stored contents of the memory, the microcomputer starts the memory from the initial state after connecting the power battery.

【0031】また、放電特性によって、バックアップ電
池容量低下による電池電圧低下を他の要因による電圧低
下と区別してマイコンを制御できる。外乱による一時的
な電圧低下では、マイコンは誤動作しない。
Further, the discharge characteristic makes it possible to control the microcomputer by distinguishing battery voltage drop due to backup battery capacity drop from voltage drop due to other factors. The microcomputer does not malfunction due to a temporary voltage drop due to disturbance.

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

【図1】本発明の一実施例を示すバックアップ給電回路
のブロック図。
FIG. 1 is a block diagram of a backup power supply circuit showing an embodiment of the present invention.

【図2】バックアップ電池電圧の変化を示す図。FIG. 2 is a diagram showing changes in backup battery voltage.

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

1 ・・・ 電池 2 ・・・ 充電回路 3 ・・・ バックアップ電池 4 ・・・ 電池電圧検出回路 5 ・・・ 電池電圧検出回路 6 ・・・ ダイオード 7 ・・・ 放電判定回路 8 ・・・ マイコン 9 ・・・ スイッチ 10 ・・・ 放電回路 11 ・・・ ダイオード 1 ・ ・ ・ Battery 2 ・ ・ ・ Charging circuit 3 ・ ・ ・ Backup battery 4 ・ ・ ・ Battery voltage detection circuit 5 ・ ・ ・ Battery voltage detection circuit 6 ・ ・ ・ Diode 7 ・ ・ ・ Discharge determination circuit 8 ・ ・ ・ Microcomputer 9 ・ ・ ・ Switch 10 ・ ・ ・ Discharge circuit 11 ・ ・ ・ Diode

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】バックアップ給電回路において、 電源電池と、 バックアップ電池と、 前記電源電池あるいは前記バックアップ電池から供給さ
れる電池電圧を所定電圧と比較する電圧検出手段と、 前記電池電圧に応じて前記バックアップ電池を放電する
か否か判定する判定手段とを有することを特徴とするバ
ックアップ給電回路。
1. A backup power supply circuit, a power supply battery, a backup battery, voltage detection means for comparing a battery voltage supplied from the power supply battery or the backup battery with a predetermined voltage, and the backup according to the battery voltage. A backup power supply circuit, comprising: a determination unit that determines whether or not to discharge the battery.
【請求項2】前記電池電圧が供給される時計機能等を有
するメモリを内蔵したマイコンを備え、前記メモリの最
低保持電圧と前記マイコンの最低動作電圧とが異なるこ
とを特徴とする請求項1記載のバックアップ給電回路。
2. A microcomputer having a built-in memory having a clock function or the like to which the battery voltage is supplied, wherein the minimum holding voltage of the memory and the minimum operating voltage of the microcomputer are different from each other. Backup power supply circuit.
【請求項3】前記判定手段は、前記電池電圧が第1の電
圧以下かつ第2の電圧以上の時、前記バックアップ電池
を放電することを特徴とする請求項2記載のバックアッ
プ給電回路。
3. The backup power supply circuit according to claim 2, wherein the determination means discharges the backup battery when the battery voltage is equal to or lower than the first voltage and equal to or higher than the second voltage.
【請求項4】前記バックアップ電池電圧を前記第2の電
圧まで放電する放電手段を備えることを特徴とする請求
項3記載のバックアップ給電回路。
4. The backup power supply circuit according to claim 3, further comprising discharging means for discharging the backup battery voltage to the second voltage.
【請求項5】前記放電手段は、前記バックアップ電池を
所定時間以上かけて放電することを特徴とする請求項4
記載のバックアップ給電回路。
5. The discharging means discharges the backup battery over a predetermined period of time or more.
The backup power supply circuit described.
【請求項6】前記第1の電圧が前記マイコンの最低動作
電圧で、前記第2の電圧が前記メモリの最低保持電圧で
あることを特徴とする請求項3記載のバックアップ給電
回路。
6. The backup power supply circuit according to claim 3, wherein the first voltage is a minimum operating voltage of the microcomputer, and the second voltage is a minimum holding voltage of the memory.
【請求項7】前記バックアップ電池が前記電源電池から
充電されることを特徴とする請求項1記載のバックアッ
プ給電回路。
7. The backup power supply circuit according to claim 1, wherein the backup battery is charged from the power supply battery.
JP7009844A 1995-01-25 1995-01-25 Backup power supply circuit Expired - Fee Related JP2765502B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7009844A JP2765502B2 (en) 1995-01-25 1995-01-25 Backup power supply circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7009844A JP2765502B2 (en) 1995-01-25 1995-01-25 Backup power supply circuit

Publications (2)

Publication Number Publication Date
JPH08205424A true JPH08205424A (en) 1996-08-09
JP2765502B2 JP2765502B2 (en) 1998-06-18

Family

ID=11731445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7009844A Expired - Fee Related JP2765502B2 (en) 1995-01-25 1995-01-25 Backup power supply circuit

Country Status (1)

Country Link
JP (1) JP2765502B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011034977A (en) * 2010-10-20 2011-02-17 Toshiba Lighting & Technology Corp Led lighting device and lighting system
JP2012127558A (en) * 2010-12-14 2012-07-05 Rinnai Corp Heating cooking device
US9883067B2 (en) 2014-02-07 2018-01-30 Canon Kabushiki Kaisha Memory reset control apparatus, method for controlling the control apparatus, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5638945A (en) * 1979-09-05 1981-04-14 Fujitsu Ltd Unattended system stopping system
JPS63133841A (en) * 1986-11-21 1988-06-06 岩崎通信機株式会社 Electric source circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5638945A (en) * 1979-09-05 1981-04-14 Fujitsu Ltd Unattended system stopping system
JPS63133841A (en) * 1986-11-21 1988-06-06 岩崎通信機株式会社 Electric source circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011034977A (en) * 2010-10-20 2011-02-17 Toshiba Lighting & Technology Corp Led lighting device and lighting system
JP2012127558A (en) * 2010-12-14 2012-07-05 Rinnai Corp Heating cooking device
US9883067B2 (en) 2014-02-07 2018-01-30 Canon Kabushiki Kaisha Memory reset control apparatus, method for controlling the control apparatus, and storage medium

Also Published As

Publication number Publication date
JP2765502B2 (en) 1998-06-18

Similar Documents

Publication Publication Date Title
US6493593B1 (en) Electronic control unit
US4984185A (en) Portable computer having a battery voltage detecting circuit
US6236226B1 (en) Test method and system for uninterruptible power supply
US5522034A (en) Battery disconnection detecting apparatus
US7181340B2 (en) Engine control circuit
JP2004326629A (en) Abnormality monitoring device
JPH05107267A (en) Control system
JPH08205424A (en) Backup power supply circuit
JP2004300955A (en) Engine control unit
JP3662409B2 (en) Power supply monitoring circuit and power supply monitoring method thereof
GB2175759A (en) Rechargeable battery systems
JP3133492B2 (en) Information processing device
JP2001341595A (en) Power source control device
JP2001166017A (en) Power supply voltage monitoring system of on-vehicle battery
JP2740685B2 (en) Storage device backup circuit
JP4655398B2 (en) Vehicle control device with backup function
JP3077552B2 (en) Backup device for data storage circuit
JP4227284B2 (en) CPU control circuit
JPH04287108A (en) Disk cache device
JPH11272369A (en) Method for preventing malfunction of portable electronic instrument and portable electronic instrument adopting its method
JPH10287200A (en) Occupant protecting device
JPH0612579A (en) Device for monitoring removal of electronic equipment
KR19980045493A (en) Data Stabilization Device in Vehicle Driving Information Recording System
JPH08115269A (en) Power unit for portable terminal equipment
JPH08331215A (en) Portable equipment

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980303

LAPS Cancellation because of no payment of annual fees