JP2765502B2 - Backup power supply circuit - Google Patents

Backup power supply circuit

Info

Publication number
JP2765502B2
JP2765502B2 JP7009844A JP984495A JP2765502B2 JP 2765502 B2 JP2765502 B2 JP 2765502B2 JP 7009844 A JP7009844 A JP 7009844A JP 984495 A JP984495 A JP 984495A JP 2765502 B2 JP2765502 B2 JP 2765502B2
Authority
JP
Japan
Prior art keywords
voltage
battery
microcomputer
memory
backup
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP7009844A
Other languages
Japanese (ja)
Other versions
JPH08205424A (en
Inventor
功 鈴木
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
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
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

Landscapes

  • Power Sources (AREA)
  • Stand-By Power Supply Arrangements (AREA)

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 backup power to a memory or a microcomputer 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 supply is performed to operate the clock function even when the power is turned off. However, during backup power supply, data in the memory may be destroyed due to a battery failure or the like. Therefore, after turning on the power,
A technique of checking data in a memory and initializing the memory when it is determined that the data has been destroyed and notifying the user is described in, for example, Japanese Patent Application Laid-Open No. 5-298195. By using this technique, the user can determine whether or not data in the memory has been destroyed after turning on the power. Further, in this technique, if data in a memory is not destroyed, data before a battery failure occurs is used as data at power-on.

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

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

【0005】[0005]

【発明が解決しようとする課題】しかしながら、電源電
池が外れた状態が長く維持され、バックアップ電池の容
量が低下して、バックアップ電池電圧がマイコンの動作
電圧より低くなった場合、上述の従来技術では、電源投
入後もバックアップ電池電圧が低下する以前の状態をメ
モリが保持しているため、表示時刻等が正確ではなくな
るという問題がある。これは、マイコンの動作電圧とメ
モリの保持電圧との最低電圧の違いに起因する。
However, in the case where the state in which the power supply battery is disconnected is maintained for a long time, the capacity of the backup battery is reduced, and the backup battery voltage becomes lower than the operating voltage of the microcomputer, the above-described conventional technique does not work. 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 become inaccurate. 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, generally, a minimum holding voltage of a memory is lower than an operating voltage of a microcomputer. Therefore, when the backup battery voltage actually decreases due to the fact that the backup battery continues to supply power and the battery capacity decreases, the microcomputer first reaches the minimum operating voltage. At this time,
In order to prevent malfunction of the microcomputer, the microcomputer is forcibly stopped. When the operation of the microcomputer is stopped, the current consumption is extremely reduced, so that the backup battery voltage hardly decreases. 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, in the time period when 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.
No abnormality can 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 data held in the memory, that is, the time when the backup battery voltage is less than or equal to the operating voltage of the microcomputer. Will shift. However, since no abnormality is reported, the user cannot determine whether or not the correct time is displayed.

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

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

【0010】[0010]

【課題を解決するための手段】上述した目的を達成する
ために、本発明によるバックアップ給電回路は、電源電
池と、バックアップ電池と、前記電源電池の電圧または
前記バックアップ電池の電圧が供給される負荷と、前記
バックアップ電池の電圧を強制的に放電させ、前記負荷
への電圧を低下させる放電手段とを備え、前記電源電池
または前記バックアップ電池の電圧が第1の電圧以下に
低下すると、前記放電手段により前記バックアップ電池
の電圧を放電し、前記バックアップ電池の電圧を前記第
1の電圧より低い第2の電圧以下に低下させることを特
徴とする。
In order to achieve the above-mentioned object, a backup power supply circuit according to the present invention comprises a power supply battery, a backup battery, and a voltage of the power supply battery or a voltage of the backup battery . The load supplied and the
Forcibly discharge the voltage of the backup battery, and
Discharge means for lowering the voltage to the power supply battery,
Or, the voltage of the backup battery falls below the first voltage.
When the battery voltage drops, the backup battery is
And discharge the voltage of the backup battery to the
The voltage is reduced to a second voltage lower than the first voltage .

【0011】前記負荷は、前記電圧が供給される時計機
能等を有するメモリを内蔵したマイコンであり、前記第
1の電圧が前記マイコンの最低動作電圧であり、前記第
2の電圧が前記メモリの最低保持電圧であることが好ま
しい。しかも、前記放電手段は、前記バックアップ電池
を所定時間以上かけて放電することが望ましい。さら
に、本願発明では、前記マイコンの再動作時に、前記電
圧が前記第2の電圧以下になったことを検出すると、前
記メモリを初期化することが好ましい。
The load is a watch to which the voltage is supplied.
Microcomputer with built-in memory
1 is the minimum operating voltage of the microcomputer,
2 is the lowest holding voltage of the memory.
New In addition, the discharging means includes the backup battery.
Is desirably discharged over a predetermined time. Further
According to the present invention, when the microcomputer is restarted,
When it is detected that the pressure has fallen below the second voltage,
Preferably, the memory is initialized.

【0012】[0012]

【作用】上述した構成の採用により、本発明によるバッ
クアップ給電回路は、電池電圧が所定電圧範囲内にある
とき、バックアップ電池の放電制御を行うことによりバ
ックアップ電池電圧をメモリ最低保持電圧まで下げるこ
とができるので、メモリ内のデータを消去できる。これ
により、電源再投入時にメモリ内の古いデータを用いて
再開することがない。
With the above configuration, 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 a predetermined voltage range. As a result, data in the memory can be erased. As a result, there is no need to restart using old data in the memory when the power is turned on again.

【0013】また、電池容量低下による電池電圧低下を
他の要因による電圧低下と区別して、マイコンを制御で
きる。
Also, 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]

【実施例】次に本発明について図面を参照して詳細に説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, 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 one 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 comprises 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へ供給されなくても良い。
The battery voltage of the battery 1, for example, 4.5 to 5.0
V is a diode 1 to the microcomputer 8 for controlling the clock function and the like.
1. The microcomputer 8 is formed of, for example, a one-chip microcomputer, and has a memory (for example, an SRAM) for storing time information and the like therein. This microcomputer 8
Is connected to a clock (not shown). The minimum operating voltage of the microcomputer 8 is, for example, about 2.0 V, and the minimum holding voltage of the internal memory is, for example, about 1.8 V. Further, the battery voltage is also supplied to the backup battery 3 via the charging circuit 2 composed of, for example, a resistor. 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 does not have to be supplied to the backup battery 3.

【0017】電池電圧検出回路4は、電池1あるいはバ
ックアップ電池3の電池電圧がマイコンの最低動作電圧
(2.0V)以上か否かを検出し、その検出出力は放電
判定回路7およびマイコン8のリセット端子へ供給され
る。そして、検出された電池電圧がマイコンの最低動作
電圧以下の時、マイコンはリセットされる。
The battery voltage detecting circuit 4 detects whether or not the battery voltage of the battery 1 or the backup battery 3 is higher than the minimum operating voltage (2.0 V) of the microcomputer. It is supplied to the reset terminal. When the detected battery voltage is 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 to discharge the backup battery 3 based on the outputs of the battery voltage detection circuit 4 and the backup battery voltage detection circuit 5.
N / OFF is controlled. When the battery voltage is higher than the minimum operating voltage of the microcomputer or lower than the minimum holding voltage of the memory, the switch 9 is turned off. When the battery voltage is lower than the minimum operating voltage of the microcomputer and higher than 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 and thus starts discharging, and the battery voltage supplied to the microcomputer 8 decreases. The discharge circuit 10 is formed of a resistor, and one end of the discharge circuit 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. In other words, when the battery voltage is equal to or higher than the minimum operating voltage of the microcomputer, the microcomputer operates normally, so that the backup battery 3 does not need to be discharged. 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 equal to or lower than the minimum operating voltage of the microcomputer and equal to or higher than 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におけるメモリの記憶内容のチェ
ックとしては、例えば上述の従来技術に示されているよ
うに、予め所定のデータをメモリ内に記憶しておき、こ
のデータが破壊されたか否かをチェックすることが用い
られても良い。
When the supplied battery voltage is lower than the minimum operating voltage of the microcomputer, the microcomputer 8 is reset to prevent malfunction. When the supplied battery voltage becomes equal to or higher than the minimum operating voltage of the microcomputer, the stored contents of the memory are checked. If the battery voltage is destroyed, the contents of the memory 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 restart from the stored contents. As a check of the memory content 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, according to the present invention, when the battery voltage supplied to the microcomputer falls below the minimum operating voltage of the microcomputer, the backup battery 3 is discharged and the battery voltage is forcibly reduced to 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 is restarted. On the other hand, if the voltage drops momentarily due to disturbance or the like, the backup battery is discharged. However, the battery voltage recovers immediately and exceeds the minimum operating voltage of the microcomputer, so that 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. Also, 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 a change in the backup battery voltage. In FIG. 2, a solid line indicates a change in the backup battery voltage in the related art, and a dashed line indicates a change in the backup battery voltage in the present invention. The two-dot chain line indicates a temporary change in 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 the 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 related art,
Since the data in the memory is not destroyed, (T2-T
In spite of the lapse of the time between 1), the time display is restarted at the time T2 based on the information of the time T1.

【0026】一方、本発明においては、一点鎖線に示
されるように、バックアップ電池電圧がマイコンの最低
動作電圧を下回る時間T1で、放電判定回路7はスイッ
チ9をONするので、バックアップ電池3がメモリ最低
保持電圧まで放電され、メモリの内容は破壊される。し
たがって、時間T2で電池が接続されると、マイコン8
は電源投入後のメモリの内容チェック機能により、メモ
リの内容を消去し、初期スタートを行う。
On the other hand, in the present invention, 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, as indicated by the one-dot chain line. Discharging to the minimum holding voltage destroys the contents of the memory. Therefore, when the battery is connected at time T2, the microcomputer 8
Erases the contents of the memory by the function of checking the contents of the memory after turning on the power and performs an initial start.

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

【0028】このように、放電回路10の抵抗値は、外
乱による電圧低下と区別できるよう、短時間でバックア
ップ電池電圧がメモリ最低保持電圧を下回らないように
設定される。
As described above, the resistance value of the discharge circuit 10 is set so that the backup battery voltage does not fall below the minimum memory 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は不要となる。
In the embodiment described above, two independent battery voltage detection circuits are provided, but one battery voltage detection circuit may be used to compare the minimum operating voltage of the microcomputer and the minimum holding voltage of the memory. In this case, the one battery voltage detection circuit 4 or 5 in FIG. 1 becomes unnecessary.

【0030】[0030]

【発明の効果】以上説明したように、本発明によるバッ
クアップ給電回路は、マイコンに供給される電池電圧が
マイコンの最低動作電圧以下かつメモリの最低保持電圧
以上の時にバックアップ電池をメモリの最低保持電圧以
下まで放電させてメモリの記憶内容を消去することによ
って、電源電池の接続後においてマイコンがメモリを初
期状態からスタートさせる。
As described above, the backup power supply circuit according to the present invention uses the backup battery when the battery voltage supplied to the microcomputer is lower than the minimum operating voltage of the microcomputer and higher than 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 the connection of the power supply battery.

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

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

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

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

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

1 ・・・ 電池 2 ・・・ 充電回路 3 ・・・ バックアップ電池 4 ・・・ 電池電圧検出回路 5 ・・・ 電池電圧検出回路 6 ・・・ ダイオード 7 ・・・ 放電判定回路 8 ・・・ マイコン 9 ・・・ スイッチ 10 ・・・ 放電回路 11 ・・・ ダイオード DESCRIPTION OF SYMBOLS 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)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 バックアップ給電回路において、 電源電池と、 バックアップ電池と、 前記電源電池の電圧または前記バックアップ電池の電圧
が供給される負荷と、 前記バックアップ電池の電圧を強制的に放電させ、前記
負荷への電圧を低下させる放電手段とを備え、 前記電源電池または前記バックアップ電池の電圧が第1
の電圧以下に低下すると、前記放電手段により前記バッ
クアップ電池の電圧を放電し、前記バックアップ電池の
電圧を前記第1の電圧より低い第2の電圧以下に低下さ
せる ことを特徴とするバックアップ給電回路。
1. A backup power supply circuit, comprising: a power supply battery; a backup battery; and a voltage of the power supply battery.OrThe backup batteryVoltage
And the load that is supplied Forcibly discharging the voltage of the backup battery,
Discharge means for reducing the voltage to the load, When the voltage of the power supply battery or the backup battery is the first
When the voltage drops below the voltage of
Discharge the backup battery voltage, and
The voltage is reduced below a second voltage lower than the first voltage.
Let A backup power supply circuit, characterized in that:
【請求項2】 前記負荷は、前記電圧が供給される時計
機能等を有するメモリを内蔵したマイコンであり、前記
メモリの最低保持電圧と前記マイコンの最低動作電圧と
が異なることを特徴とする請求項1記載のバックアップ
給電回路。
2. The load according to claim 1, wherein the load is a microcomputer having a built-in memory having a clock function or the like to which the voltage is supplied , and a minimum holding voltage of the memory is different from a minimum operating voltage of the microcomputer. Item 2. The backup power supply circuit according to Item 1.
【請求項3】 前記第1の電圧が前記マイコンの最低動
作電圧で、前記第2の電圧が前記メモリの最低保持電圧
であることを特徴とする請求項記載のバックアップ給
電回路。
3. The backup power supply circuit according to claim 2, wherein the first voltage is a minimum operating voltage of the microcomputer, and the second voltage is a minimum holding voltage of the memory.
【請求項4】 前記第1の電圧が前記マイコンの最低動
作電圧で、前記第2の電圧が前記メモリの最低保持電圧
であり、前記第2の電圧以下の場合に前記メモリの内容
が破壊されることを特徴とする請求項2記載のバックア
ップ給電回路。
4. The microcomputer according to claim 1, wherein said first voltage is a minimum operating voltage of said microcomputer.
Operating voltage, wherein the second voltage is a minimum holding voltage of the memory.
And the content of the memory when the voltage is equal to or less than the second voltage.
3. A back-up according to claim 2, wherein
Power supply circuit.
【請求項5】 前記マイコンの再動作時に、前記電圧が
前記第2の電圧以下になったことを検出すると、前記メ
モリを初期化することを特徴とする請求項4記載のバッ
クアップ給電回路。
5. When the microcomputer is restarted, the voltage becomes
When detecting that the voltage has become equal to or lower than the second voltage, the message
5. The battery according to claim 4, wherein the memory is initialized.
Power supply circuit.
【請求項6】 前記放電手段は、前記バックアップ電池
を所定時間以上かけて放電することを特徴とする請求項
記載のバックアップ給電回路。
6. The discharge means for discharging the backup battery over a predetermined time.
2. The backup power supply circuit according to 1 .
【請求項7】 前記バックアップ電池が前記電源電池か
ら充電されることを特徴とする請求項1記載のバックア
ップ給電回路。
7. The backup power supply circuit according to claim 1, wherein the backup battery is charged from the power 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 JPH08205424A (en) 1996-08-09
JP2765502B2 true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5088711B2 (en) * 2010-10-20 2012-12-05 東芝ライテック株式会社 LED lighting device and lighting device
JP5417311B2 (en) * 2010-12-14 2014-02-12 リンナイ株式会社 Cooking equipment
JP6253433B2 (en) 2014-02-07 2017-12-27 キヤノン株式会社 Control device

Family Cites Families (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

Also Published As

Publication number Publication date
JPH08205424A (en) 1996-08-09

Similar Documents

Publication Publication Date Title
US5717936A (en) Data terminal and method of protecting memory items stored in non-persistent memory in a data terminal
EP0187369B1 (en) Power supply system for an electronic apparatus having memory
US4422163A (en) Power down circuit for data protection in a microprocessor-based system
US5414861A (en) Data protection system using different levels of reserve power to maintain data in volatile memories for any period of time
US5475271A (en) Power source control system for electronic device and expansion unit connected thereto
CA1166352A (en) Backup power circuit for biasing bit lines of a static semiconductor memory
US6690366B1 (en) Display apparatus
JPH08249244A (en) Data holding circuit
JP2765502B2 (en) Backup power supply circuit
EP1548546A2 (en) Method and circuit for preservation of user data in a mobile terminal
JPS60129858A (en) Electronic apparatus incorporating memory
JP3662409B2 (en) Power supply monitoring circuit and power supply monitoring method thereof
JP3133492B2 (en) Information processing device
JP2003339125A (en) Backup power supply control circuit
JP2001352694A (en) Backup power unit
JP3291159B2 (en) Portable equipment
JP2001341595A (en) Power source control device
JPH113292A (en) Data backup method and system
JP2740685B2 (en) Storage device backup circuit
JP2687772B2 (en) Selective call receiver
JPH05224786A (en) Holding circuit for nickel-cadmium battery voltage
JP3807308B2 (en) Data backup system and method
JPH0374712A (en) Information processor
JP3077552B2 (en) Backup device for data storage circuit
JP3553452B2 (en) Gaming machine memory backup controller

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