JPH11144455A - Memory backup control apparatus and method - Google Patents

Memory backup control apparatus and method

Info

Publication number
JPH11144455A
JPH11144455A JP9310191A JP31019197A JPH11144455A JP H11144455 A JPH11144455 A JP H11144455A JP 9310191 A JP9310191 A JP 9310191A JP 31019197 A JP31019197 A JP 31019197A JP H11144455 A JPH11144455 A JP H11144455A
Authority
JP
Japan
Prior art keywords
power supply
secondary battery
backup
voltage
memory
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
JP9310191A
Other languages
Japanese (ja)
Inventor
Akitoshi Kikuchi
明年 菊池
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP9310191A priority Critical patent/JPH11144455A/en
Publication of JPH11144455A publication Critical patent/JPH11144455A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

PROBLEM TO BE SOLVED: To set in flexible the optimum backup power feeding period depending on various secondary battery characteristic and memory environment by providing a memory backup control apparatus for variably setting the backup power feeding period from the secondary battery. SOLUTION: Backup power feeding period from the main power supply or chargeable secondary battery 8 can be controlled from a manipulating section 2 for a volatile memory holding the data. A timer circuit 10 for counting the backup power feeding period preset by the manipulating section 2 or backup power feeding period stored in a non-volatile memory 11 and a means for cutting off the backup power feeding from the secondary battery during the counting are provided. Therefore, since the backup power feeding period can be adjusted, even if the backup power feeding period is varied in the memory environment, the secondary battery can be protected from over-discharging condition. Moreover, the volatile memory 11 is also provided with a plurality of memory chips or cards to supply the backup current to each memory unit.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データを保持する
揮発性メモリに対して、主電源または充放電可能な二次
電池からのバックアップ電源供給を制御するメモリバッ
クアップ制御装置およびメモリバックアップ制御方法に
関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a memory backup control device and a memory backup control method for controlling a backup power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory holding data. Things.

【0002】[0002]

【従来の技術】一般に大容量のメモリを必要とするシス
テムでデータのバックアップをする場合、記憶素子とし
てDRAM(ダイナミックRAM)などの揮発性メモリ
を用いる。
2. Description of the Related Art Generally, when backing up data in a system requiring a large capacity memory, a volatile memory such as a DRAM (Dynamic RAM) is used as a storage element.

【0003】従来のメモリバックアップ制御装置は、そ
のDRAMのデータを保持するためデータをリスト(再
書き込み)するリフレッシュ回路,そのDRAMリフレ
ッシュにおいてシステム動作時とバックアップ時を切り
替えるセレクタ,システムの電源電圧を監視する電源電
圧監視回路,システムの主電源と同電圧を得るバックア
ップ電源回路,バックアップ電源として充電可能な二次
電池,該二次電池を充電する充電回路から構成される。
A conventional memory backup control device includes a refresh circuit that lists (rewrites) data for holding data of the DRAM, a selector for switching between system operation and backup in the DRAM refresh, and monitors a system power supply voltage. Power supply voltage monitoring circuit, a backup power supply circuit that obtains the same voltage as the main power supply of the system, a secondary battery that can be charged as a backup power supply, and a charging circuit that charges the secondary battery.

【0004】このような構成において、従来、バックア
ップ動作は、二次電池容量が有る限り行われるか、また
は二次電池の過放電を防止するために電池電圧をコンパ
レータ等で監視し、ある一定電圧まで低下した場合、バ
ックアップ電源を遮断していた。このため、メモリのバ
ックアップ時間は、二次電池の容量とバックアップする
揮発性メモリとその周辺回路の消費電流で決り、その二
次電池の充電状態、負荷側の条件により変化していた。
In such a configuration, conventionally, the backup operation is performed as long as the secondary battery has a sufficient capacity, or the battery voltage is monitored by a comparator or the like in order to prevent overdischarge of the secondary battery, and a certain constant voltage is used. If it had dropped to a lower level, the backup power was shut off. For this reason, the backup time of the memory is determined by the capacity of the secondary battery, the current consumption of the volatile memory to be backed up and its peripheral circuits, and varies depending on the state of charge of the secondary battery and the conditions on the load side.

【0005】また、二次電池の充電回路には一般的に定
電圧充電が用いられているため、充電時間が非常に長
く、主電源投入後から満充電に達するまでのバックアッ
プ保証率は低かった。また、二次電池の充放電回路にお
いて、異なる充放電特性を有する二次電池の使用は、共
通の充放電回路では無理であった。
In addition, since a constant voltage charging is generally used in a charging circuit for a secondary battery, the charging time is very long, and the backup guarantee rate from the time when the main power is turned on until the battery is fully charged is low. . Further, in a charge / discharge circuit of a secondary battery, use of secondary batteries having different charge / discharge characteristics was impossible with a common charge / discharge circuit.

【0006】[0006]

【発明が解決しようとする課題】従来のメモリバックア
ップ制御装置は上記のように構成されているので、第1
にバッテリ容量の違い、バックアップメモリの消費電流
の違い(メーカによる違い、オプションのメモリ装置の
有無等)によりバックアップ時間が異なることになる。
バッテリとバックアップメモリのセットとしてのバック
アップ時間は、通常最大負荷の状態のバックアップ時間
で保証されることになる。最大負荷時以外は、保証時間
以上のバックアップを行うことになる。その場合、二次
電池の過放電により寿命が短くなるという問題点があっ
た。
The conventional memory backup control device is configured as described above.
In addition, the backup time differs due to the difference in battery capacity and the difference in current consumption of the backup memory (difference between manufacturers, presence / absence of an optional memory device, etc.).
The backup time as a set of the battery and the backup memory is usually guaranteed by the backup time at the maximum load. At times other than the maximum load, backup is performed for the guaranteed time or longer. In that case, there is a problem that the life is shortened due to overdischarge of the secondary battery.

【0007】第2に充電回路において、二次電池が定電
圧充電の場合、放電後充電開始から満充電までの時間が
非常に長く、その間の停電等による主電源の遮断に対し
てバックアップが保証されなくなる可能性が高くなると
いう問題点があった。
Second, in the charging circuit, when the secondary battery is charged at a constant voltage, the time from the start of charging to the full charging after discharging is very long, and backup is guaranteed against interruption of the main power supply due to a power failure during that time. There is a problem that the possibility of being lost is increased.

【0008】第3に異なる充放電特性を有する二次電池
を使用する場合、共通の充放電回路では、充電電流,充
電停止電圧,放電特性によるバックアップ電源供給時間
の変化等の問題があり回路構成が複雑となるという問題
点があった。
Third, when a secondary battery having different charge / discharge characteristics is used, a common charge / discharge circuit has problems such as a change in backup power supply time due to a charge current, a charge stop voltage, and a discharge characteristic. However, there was a problem that it became complicated.

【0009】本発明は上記の問題点を解消するためにな
されたもので、本発明の目的は、放電時間の設定による
二次電池保護及びバックアップメモリチップ数で変化し
ない保証時間の確保、短時間充電により主電源投入後か
ら比較的短時間での主電源停止時のバックアップ保証率
を上げ、充電電流調整により同一回路で容量、充放電特
性の異なる二次電池を使用できるメモリバックアップ制
御装置およびメモリバックアップ制御方法を提供するこ
とである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to protect a secondary battery by setting a discharge time, to secure a guaranteed time that does not change with the number of backup memory chips, and to shorten the time. Memory backup control device and memory that can increase the backup guarantee rate when the main power supply is stopped for a relatively short time after charging the main power supply and adjust the charging current to use secondary batteries with different capacities and charge / discharge characteristics in the same circuit The purpose is to provide a backup control method.

【0010】[0010]

【課題を解決するための手段】本発明に係る第1の発明
は、データを保持する揮発性メモリに対して、主電源ま
たは充放電可能な二次電池からのバックアップ電源供給
を制御するメモリバックアップ制御装置であって、前記
二次電池からのバックアップ電源供給時間を可変設定す
る設定手段を有するものである。
According to a first aspect of the present invention, there is provided a memory backup for controlling backup power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory holding data. The control device includes a setting unit that variably sets a backup power supply time from the secondary battery.

【0011】本発明に係る第2の発明は、前記設定手段
により設定されたバックアップ電源供給時間を記憶する
記憶手段と、前記主電源がオフ状態に切り替わってか
ら、前記設定手段により設定されたバックアップ電源供
給時間または前記記憶手段に記憶されたバックアップ電
源供給時間を計時する計時手段と、前記計時手段の計時
終了状態に基づいて前記二次電池からのバックアップ電
源供給を遮断する遮断制御手段とを有するものである。
According to a second aspect of the present invention, there is provided a storage means for storing the backup power supply time set by the setting means, and a backup set by the setting means after the main power supply is turned off. A timer for counting a power supply time or a backup power supply time stored in the storage unit; and a shutoff control unit for interrupting the backup power supply from the secondary battery based on a time-out state of the timer. Things.

【0012】本発明に係る第3の発明は、前記揮発性メ
モリは、複数のメモリチップまたはメモリカードを備
え、前記メモリチップ単位またはメモリカード単位毎に
バックアップ電流を供給するものである。
According to a third aspect of the present invention, the volatile memory includes a plurality of memory chips or memory cards, and supplies a backup current for each memory chip or memory card.

【0013】本発明に係る第4の発明は、データを保持
する揮発性メモリに対して、主電源または充放電可能な
二次電池からの電源供給を制御するメモリバックアップ
制御装置であって、前記二次電池の電圧を検出する電圧
検出手段と、前記二次電池の電圧変動に対応するバック
アップ電源供給時間テーブルを記憶するテーブルメモリ
と、前記電圧検出手段により検出される前記二次電池の
電圧と前記テーブルメモリに記憶されるバックアップ電
源供給時間テーブルとに基づいて前記二次電池からのバ
ックアップ電源供給時間を可変設定する設定手段とを有
するものである。
A fourth invention according to the present invention is a memory backup control device for controlling power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory holding data, Voltage detecting means for detecting the voltage of the secondary battery, a table memory for storing a backup power supply time table corresponding to the voltage fluctuation of the secondary battery, and a voltage of the secondary battery detected by the voltage detecting means. Setting means for variably setting the backup power supply time from the secondary battery based on the backup power supply time table stored in the table memory.

【0014】本発明に係る第5の発明は、前記テーブル
メモリは、二次電池の種別に応じて複数のバックアップ
電源供給時間テーブルを記憶しているものである。
According to a fifth aspect of the present invention, the table memory stores a plurality of backup power supply time tables according to the type of the secondary battery.

【0015】本発明に係る第6の発明は、前記主電源が
オフ状態に切り替わってから、前記設定手段により設定
された電源供給時間または前記バックアップ電源供給時
間テーブルに記憶された電源供給時間を計時する計時手
段と、前記計時手段の計時終了状態または前記電圧検出
手段により検出される前記二次電池の電圧状態で決定さ
れるバックアップ電源遮断条件を満たすかどうかを判定
する判定手段と、前記判定手段が前記バックアップ電源
遮断条件を満たすと判定した場合に、前記二次電池から
の電源供給の遮断状態を制御する制御手段とを有するも
のである。
According to a sixth aspect of the present invention, the power supply time set by the setting means or the power supply time stored in the backup power supply time table is measured after the main power supply is turned off. Timer means for determining whether or not a backup power-off condition determined by a time-out state of the timer means or a voltage state of the secondary battery detected by the voltage detecting means is satisfied, and the determination means And control means for controlling a cut-off state of power supply from the secondary battery when it is determined that the backup power cut-off condition is satisfied.

【0016】本発明に係る第7の発明は、データを保持
する揮発性メモリに対して、主電源または充放電可能な
二次電池からの電源供給を制御するメモリバックアップ
制御装置であって、前記二次電池に定電流または定電圧
を供給して充電する充電手段と、前記二次電池の電圧を
検出する電圧検出手段と、前記電圧検出手段が検出した
前記二次電池の電圧が設定される充電切替電圧を超えた
場合に、前記充電手段の充電方法を定電流充電から定電
圧充電に切り替える充電制御手段とを有するものであ
る。
According to a seventh aspect of the present invention, there is provided a memory backup control device for controlling power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory for retaining data. Charging means for supplying a constant current or a constant voltage to the secondary battery for charging, voltage detecting means for detecting the voltage of the secondary battery, and voltage of the secondary battery detected by the voltage detecting means are set. And charging control means for switching the charging method of the charging means from constant current charging to constant voltage charging when the charging switching voltage is exceeded.

【0017】本発明に係る第8の発明は、定電流充電時
における定電流値を任意の値に設定可能とするものであ
る。
According to an eighth aspect of the present invention, a constant current value during constant current charging can be set to an arbitrary value.

【0018】本発明に係る第9の発明は、データを保持
する揮発性メモリに対して、主電源または充放電可能な
二次電池からのバックアップ電源供給を制御するメモリ
バックアップ制御方法であって、前記二次電池からのバ
ックアップ電源供給時間を設定する設定工程と、前記二
次電池からのバックアップ電源供給時間の設定後、変更
すべきバックアップ電源供給時間データの入力状態を確
認する確認工程と、前記確認工程により変更すべきバッ
クアップ電源供給時間データの入力を確認した場合に、
設定されているバックアップ電源供給時間データを書き
替える書替工程とを有するものである。
A ninth invention according to the present invention is a memory backup control method for controlling backup power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory holding data, A setting step of setting a backup power supply time from the secondary battery, and a confirmation step of confirming an input state of backup power supply time data to be changed after setting the backup power supply time from the secondary battery, When confirming the input of backup power supply time data to be changed in the confirmation process,
And a rewriting step of rewriting the set backup power supply time data.

【0019】本発明に係る第10の発明は、データを保
持する揮発性メモリに対して、主電源または充放電可能
な二次電池からのバックアップ電源供給を制御するメモ
リバックアップ制御方法であって、前記二次電池に対し
て定電流充電を開始する第1の充電工程と、前記二次電
池の電圧を検出する電圧検出工程と、前記電圧検出工程
が検出した前記二次電池の電圧が設定される充電切替電
圧を超えた場合に、定電流充電に代えて定電圧充電を開
始する第2の充電工程とを有するものである。
A tenth invention according to the present invention is a memory backup control method for controlling backup power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory holding data, A first charging step of starting constant current charging of the secondary battery, a voltage detecting step of detecting a voltage of the secondary battery, and a voltage of the secondary battery detected by the voltage detecting step are set. And a second charging step of starting constant-voltage charging in place of constant-current charging when the charge switching voltage exceeds a predetermined switching voltage.

【0020】本発明に係る第11の発明は、データを保
持する揮発性メモリに対して、主電源または充放電可能
な二次電池からのバックアップ電源供給を制御するメモ
リバックアップ制御方法であって、前記二次電池の電圧
を検出する電圧検出工程と、前記主電源がオフ状態に切
り替わってから、設定された電源供給時間または前記バ
ックアップ電源供給時間テーブルに記憶された電源供給
時間を計時する計時工程と、前記計時工程による計時終
了状態または前記電圧検出工程により検出される前記二
次電池の電圧状態で決定されるバックアップ電源遮断条
件を満たすかどうかを判定する判定工程と、前記判定工
程により前記バックアップ電源遮断条件を満たすと判定
した場合に、前記二次電池からの電源供給を遮断する遮
断工程とを有するものである。
An eleventh invention according to the present invention is a memory backup control method for controlling backup power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory holding data, A voltage detecting step of detecting a voltage of the secondary battery, and a timing step of timing a set power supply time or a power supply time stored in the backup power supply time table after the main power supply is turned off. A determining step of determining whether or not a backup power-off condition determined by a timing end state in the timing step or a voltage state of the secondary battery detected in the voltage detecting step is satisfied; and When it is determined that the power-off condition is satisfied, the power-supply from the secondary battery is cut off. Than it is.

【0021】[0021]

【発明の実施の形態】〔第1実施形態〕図1は、本発明
の第1実施形態を示すメモリバックアップ制御装置の構
成を説明するブロック図であり、例えば揮発性メモリの
バックアップ制御装置に対応する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS [First Embodiment] FIG. 1 is a block diagram illustrating a configuration of a memory backup control device according to a first embodiment of the present invention. I do.

【0022】図において、1はバックアップ制御装置の
システム制御部、2は操作部で、設定データを入力す
る。3は主電源で、AC商用電源等からシステム電源を
供給する。4は電源電圧監視回路で、システムの電源電
圧の低下状態及び復帰状態を検知する。
In FIG. 1, reference numeral 1 denotes a system control unit of the backup control device, and 2 denotes an operation unit for inputting setting data. A main power supply 3 supplies system power from an AC commercial power supply or the like. Reference numeral 4 denotes a power supply voltage monitoring circuit that detects a reduced state and a restored state of the power supply voltage of the system.

【0023】5は充電制御部で、主電源通電時に二次電
池の充電を行う。6は昇圧回路で、主電源3の停止時に
二次電池8の電圧を昇圧してバックアップ電源を出力す
る。7は放電制御部で、主電源3とバックアップ電源の
切り替えとシステム制御部1及びタイマ回路10からの
データバックアップ電源の放電を制御する。なお、二次
電池8は、充放電可能に構成されている。9はDRAM
等で構成される揮発性メモリである。10は時計ICな
どのタイマ回路である。
Reference numeral 5 denotes a charge control unit for charging the secondary battery when the main power supply is turned on. A booster circuit 6 boosts the voltage of the secondary battery 8 when the main power supply 3 is stopped and outputs a backup power supply. Reference numeral 7 denotes a discharge control unit that controls switching between the main power supply 3 and the backup power supply and discharge of the data backup power supply from the system control unit 1 and the timer circuit 10. Note that the secondary battery 8 is configured to be chargeable and dischargeable. 9 is DRAM
And the like. Reference numeral 10 denotes a timer circuit such as a clock IC.

【0024】11は不揮発性メモリで、操作部2から設
定された設定値などのシステムデータを記憶する。な
お、不揮発性メモリ11は、例えばSRAM等の不揮発
性メモリ媒体で構成される。12は一次電池で、タイマ
回路10と不揮発性メモリ11用の電源を供給する。
Reference numeral 11 denotes a non-volatile memory which stores system data such as set values set from the operation unit 2. Note that the nonvolatile memory 11 is configured by a nonvolatile memory medium such as an SRAM, for example. A primary battery 12 supplies power for the timer circuit 10 and the nonvolatile memory 11.

【0025】図2は、図1に示した放電制御部7の詳細
構成を説明するブロック図であり、図1と同一のものに
は同一の符号を付してある。
FIG. 2 is a block diagram for explaining a detailed configuration of the discharge control unit 7 shown in FIG. 1, and the same components as those in FIG. 1 are denoted by the same reference numerals.

【0026】図において、21は切替部で、システム制
御部1からの電源切り替え信号によりDC主電源とバッ
クアップ電源のいずれかを選択する。22は遮断回路
で、バックアップメモリへの電源を遮断する。23は内
部メモリで、操作部2より入力された保証時間データま
たはシステム制御部1でカウントされたメモリチップ数
データを格納する。
In the figure, reference numeral 21 denotes a switching unit which selects one of a DC main power supply and a backup power supply according to a power supply switching signal from the system control unit 1. Reference numeral 22 denotes a shutoff circuit that shuts off power to the backup memory. Reference numeral 23 denotes an internal memory which stores the guaranteed time data input from the operation unit 2 or the memory chip number data counted by the system control unit 1.

【0027】24は比較部で、時計IC等のタイマ回路
10から時間データを受信して保証時間データと比較
し、該比較結果に基づいて該遮断回路22に対して遮断
指示を出力する。
Reference numeral 24 denotes a comparing unit which receives time data from the timer circuit 10 such as a clock IC, compares the received time data with the guaranteed time data, and outputs a shutoff instruction to the shutoff circuit 22 based on the comparison result.

【0028】図3は、図1に示した充電制御部5の詳細
構成を説明するブロック図であり、図1と同一のものに
は同一の符号を付してある。
FIG. 3 is a block diagram for explaining the detailed configuration of the charging control section 5 shown in FIG. 1. The same components as those in FIG. 1 are denoted by the same reference numerals.

【0029】図において、31は切替部で、システム制
御部1からの充電切り替え信号により定電流の充電方式
を切り替える。32は定電圧回路、33は定電流回路
で、定電流で二次電池8を充電する。34は出力電圧リ
ミッタで、二次電池8の充電時のリミット電圧を制御す
る。
In the figure, reference numeral 31 denotes a switching unit, which switches a constant current charging method in accordance with a charging switching signal from the system control unit 1. A constant voltage circuit 32 and a constant current circuit 33 charge the secondary battery 8 with a constant current. An output voltage limiter 34 controls a limit voltage at the time of charging the secondary battery 8.

【0030】以下、本実施形態の特徴的構成について図
1等を参照して説明する。
Hereinafter, a characteristic configuration of the present embodiment will be described with reference to FIG.

【0031】上記のように構成されたメモリバックアッ
プ制御装置において、データを保持する揮発性メモリ9
に対して、主電源または充放電可能な二次電池8からの
バックアップ電源供給を制御するメモリバックアップ制
御装置であって、前記二次電池8からのバックアップ電
源供給時間を可変設定する設定手段(操作部2による)
を有するので、種々の二次電池の特性やメモリ環境に応
じて最適なバックアップ電源供給時間を柔軟に設定する
ことができる。
In the memory backup control device configured as described above, the volatile memory 9 for holding data
A memory backup control device for controlling backup power supply from a main power supply or a chargeable / dischargeable secondary battery 8, and setting means (variable operation) for setting a backup power supply time from the secondary battery 8 variably. (Depends on part 2)
Therefore, the optimal backup power supply time can be flexibly set according to the characteristics of various secondary batteries and the memory environment.

【0032】また、前記設定手段により設定されたバッ
クアップ電源供給時間を記憶する記憶手段(不揮発性メ
モリ11)と、前記主電源がオフ状態に切り替わってか
ら、操作部2により設定されたバックアップ電源供給時
間または不揮発性メモリ11に記憶されたバックアップ
電源供給時間を計時するタイマ回路10と、タイマ回路
10の計時終了状態に基づいて前記二次電池からのバッ
クアップ電源供給を遮断する遮断制御手段(放電制御部
7)とを有するので、バックアップ電源供給時間を調整
可能となり、メモリ環境でバックアップ電源供給時間が
変動しても、二次電池が過放電状態となってしまう事態
を回避することができる。
A storage means (non-volatile memory 11) for storing the backup power supply time set by the setting means, and a backup power supply set by the operation unit 2 after the main power supply is turned off. A timer circuit 10 for measuring the time or the backup power supply time stored in the non-volatile memory 11, and shutoff control means (discharge control) for shutting off the backup power supply from the secondary battery based on the time-out state of the timer circuit 10. Since the backup power supply time can be adjusted, even if the backup power supply time fluctuates in the memory environment, it is possible to prevent the secondary battery from being over-discharged.

【0033】さらに、揮発性メモリ11は、複数のメモ
リチップまたはメモリカードを備え、前記メモリチップ
単位またはメモリカード単位毎にバックアップ電流を供
給するので、メモリ使用環境に最適なバックアップ電流
を供給することができる。
Further, since the volatile memory 11 includes a plurality of memory chips or memory cards and supplies a backup current for each of the memory chips or memory cards, it is possible to supply an optimal backup current to a memory use environment. Can be.

【0034】また、データを保持する揮発性メモリ9に
対して、主電源または充放電可能な二次電池8からの電
源供給を制御するメモリバックアップ制御装置であっ
て、前記二次電池の電圧を検出する電圧検出手段(電源
電圧監視回路4)と、前記二次電池の電圧変動に対応す
るバックアップ電源供給時間テーブルを記憶するテーブ
ルメモリ(不揮発性メモリ11)と、前記電圧検出手段
により検出される前記二次電池の電圧と前記テーブルメ
モリに記憶されるバックアップ電源供給時間テーブルと
に基づいて前記二次電池からのバックアップ電源供給時
間を可変設定する設定手段(システム制御部1)とを有
するので、二次電池からの過放電を防止しつつ、使用す
るメモリ環境に左右されることない保証時間を設定でき
る。
A memory backup control device for controlling power supply from a main power supply or a chargeable / dischargeable secondary battery 8 to a volatile memory 9 for holding data, wherein the voltage of the secondary battery is Voltage detection means (power supply voltage monitoring circuit 4) for detection, table memory (nonvolatile memory 11) for storing a backup power supply time table corresponding to the voltage fluctuation of the secondary battery, and detection by the voltage detection means Setting means (system control unit 1) for variably setting the backup power supply time from the secondary battery based on the voltage of the secondary battery and the backup power supply time table stored in the table memory; It is possible to set a guaranteed time that is not affected by the memory environment used while preventing overdischarge from the secondary battery.

【0035】さらに、前記テーブルメモリは、二次電池
8の種別に応じて複数のバックアップ電源供給時間テー
ブルを記憶しているので、放電時間の異なる多様な二次
電池に対して最適なバックアップ電源供給時間を設定す
ることができる。
Further, since the table memory stores a plurality of backup power supply time tables according to the type of the secondary battery 8, an optimal backup power supply for various secondary batteries having different discharge times is provided. You can set the time.

【0036】また、前記主電源がオフ状態に切り替わっ
てから、前記設定手段により設定された電源供給時間ま
たは前記バックアップ電源供給時間テーブルに記憶され
た電源供給時間を計時する計時手段(タイマ回路10)
と、前記計時手段の計時終了状態または前記電圧検出手
段(電源電圧監視回路4)により検出される前記二次電
池の電圧状態で決定されるバックアップ電源遮断条件を
満たすかどうかを判定する判定手段(比較部24)と、
前記判定手段が前記バックアップ電源遮断条件を満たす
と判定した場合に、前記二次電池からの電源供給の遮断
状態を制御する制御手段(遮断回路22)とを有するの
で、二次電池の使用環境やメモリ使用状況に応じてバッ
クアップ電源供給環境が変動しても、揮発性メモリ内の
データのバックアップ保証率を格段に高めることができ
る。
A timer means (timer circuit 10) for counting the power supply time set by the setting means or the power supply time stored in the backup power supply time table after the main power supply is turned off.
Determining means for determining whether or not a backup power cutoff condition determined by the timing end state of the time measuring means or the voltage state of the secondary battery detected by the voltage detecting means (power supply voltage monitoring circuit 4) is satisfied ( A comparison unit 24);
When the determination unit determines that the backup power supply cutoff condition is satisfied, the control unit includes a control unit (a cutoff circuit 22) that controls a cutoff state of power supply from the secondary battery. Even if the backup power supply environment fluctuates according to the memory usage status, the backup guarantee rate of the data in the volatile memory can be significantly increased.

【0037】さらに、データを保持する揮発性メモリ9
に対して、主電源3または充放電可能な二次電池からの
電源供給を制御するメモリバックアップ制御装置であっ
て、前記二次電池に定電流または定電圧を供給して充電
する充電手段(充電制御部5)と、前記二次電池の電圧
を検出する電圧検出手段(出力電圧リミッタ34)と、
前記電圧検出手段が検出した前記二次電池の電圧が設定
される充電切替電圧を超えた場合に、前記充電手段の充
電方法を定電流充電(定電流回路33)から定電圧充電
(定電圧回路32)に切り替える充電制御手段(切替部
31)とを有するので、充放電特性が異なる二次電池で
あっても、同一回路構成で短時間に二次電池を充電させ
ることができる。
Further, the volatile memory 9 for holding data
A memory backup control device for controlling power supply from a main power supply 3 or a chargeable / dischargeable secondary battery, wherein a charging means (a charging means for supplying a constant current or a constant voltage to the secondary battery to charge the secondary battery) A control unit 5), voltage detecting means (output voltage limiter 34) for detecting the voltage of the secondary battery,
When the voltage of the secondary battery detected by the voltage detecting means exceeds a set charging switching voltage, the charging method of the charging means is changed from constant current charging (constant current circuit 33) to constant voltage charging (constant voltage circuit). 32), the secondary battery can be charged in a short time with the same circuit configuration even if the secondary batteries have different charge / discharge characteristics.

【0038】また、定電流充電時における定電流値を任
意の値に設定可能とするので、二次電池の充電特性に対
して柔軟な定電流充電時間を設定でき、種々の二次電池
を安全に急速充電させることができる。
Further, since the constant current value at the time of constant current charging can be set to an arbitrary value, flexible constant current charging time can be set with respect to the charging characteristics of the secondary battery, and various secondary batteries can be safely used. Can be charged quickly.

【0039】次に、図4に示すフローチャートに従い、
メモリバックアップ時間設定手順動作について説明す
る。
Next, according to the flowchart shown in FIG.
The operation of the memory backup time setting procedure will be described.

【0040】図4は、本発明に係るメモリバックアップ
制御装置における第1のデータ処理手順の一例を示すフ
ローチャートである。なお、(1)〜(7)は各ステッ
プを示す。
FIG. 4 is a flowchart showing an example of a first data processing procedure in the memory backup control device according to the present invention. Note that (1) to (7) indicate each step.

【0041】まず、主電源3を通電後(1)、不揮発性
メモリ11に記憶されているシステムデータの1つであ
る保証時間データをシステム制御部1で読み込み
(2)、放電制御部7に保証時間データを転送する
(3)。該保証時間データを放電制御部7の内部メモリ
23に格納する(4)。
First, after the main power supply 3 is energized (1), the guaranteed time data, which is one of the system data stored in the non-volatile memory 11, is read by the system control unit 1 (2). The guaranteed time data is transferred (3). The guaranteed time data is stored in the internal memory 23 of the discharge controller 7 (4).

【0042】以上の設定を含めシステムの初期設定終了
後、スタンバイ状態に移行する(5)。次に、システム
スタンバイ時に操作部2より保証時間データの入力が有
ったかどうかを判定して(6)、YESならば該入力保
証時間データをシステムデータが格納されている不揮発
性メモリ11に書き込み(7)、再度、放電制御部7の
内部メモリ23に保証時間データを転送して格納した
後、ステップ(3)へ戻る。
After the initial settings of the system including the above settings are completed, the system shifts to the standby state (5). Next, it is determined whether or not guarantee time data has been input from the operation unit 2 during system standby (6), and if YES, the input guarantee time data is written to the nonvolatile memory 11 in which system data is stored. (7) After transferring and storing the guaranteed time data in the internal memory 23 of the discharge control unit 7 again, the process returns to step (3).

【0043】一方、ステップ(6)で、保証時間データ
の入力がなかったと判定した場合は、ステップ(5)へ
戻り、スタンバイ状態に移行する。
On the other hand, if it is determined in step (6) that the guaranteed time data has not been input, the process returns to step (5) and shifts to the standby state.

【0044】以下、図5に示すフローチャートを参照し
て、バックアップ電源用の二次電池8の充電制御手順に
ついて説明する。
The charging control procedure for the secondary battery 8 for the backup power supply will be described below with reference to the flowchart shown in FIG.

【0045】図5は、本発明に係るメモリバックアップ
制御装置における第2のデータ処理手順の一例を示すフ
ローチャートである。なお、(1)〜(14)は各ステ
ップを示す。
FIG. 5 is a flowchart showing an example of the second data processing procedure in the memory backup control device according to the present invention. Note that (1) to (14) indicate each step.

【0046】主電源3が通電されると(1)、不揮発性
メモリ11に記憶されているシステムデータ内の充電電
流(リミット電流)及び定電流充電から定電圧充電に切
り替え時の二次電池8の電圧データを読み込み(2)、
充電制御部5に充電電流及び切り換え電圧データを転送
する(3)。
When the main power supply 3 is energized (1), the charging current (limit current) in the system data stored in the nonvolatile memory 11 and the secondary battery 8 when switching from constant current charging to constant voltage charging. Read the voltage data of (2),
The charge current and the switching voltage data are transferred to the charge control unit 5 (3).

【0047】次に、該充電電流データ及び切り換え電圧
データを充電制御部5内の内部メモリに格納する、ある
いは充電制御部5内の切替え部31で設定電流,設定電
圧にセットする(4)。次いで、該充電電流及び切り替
え電圧の設定後、設定された設定電流充電を開始する
(5)。
Next, the charging current data and the switching voltage data are stored in an internal memory in the charging control unit 5, or are set to the set current and the setting voltage by the switching unit 31 in the charging control unit 5 (4). Next, after setting the charging current and the switching voltage, the set current charging is started (5).

【0048】以上の設定を含めシステムの初期設定終了
後、スタンバイ状態に移行する(6)。次に、システム
スタンバイ時に、操作部2より充電電流または切り替え
電圧の入力が有ったかどうかを判定して(7)、操作部
2より充電電流または切り替え電圧の入力が有ったと判
定した場合は、ステップ(14)へ進み、入力された充
電電流または切り替え電圧データをシステムデータが格
納されている不揮発性メモリ11に書き込み、ステップ
(3)に戻り、再度、充電制御部5内にデータ転送し、
再セットする。
After the initial setting of the system including the above settings is completed, the system shifts to the standby state (6). Next, during system standby, it is determined whether or not a charging current or switching voltage has been input from the operation unit 2 (7). If it is determined that a charging current or switching voltage has been input from the operation unit 2, Then, the process proceeds to step (14), where the input charging current or switching voltage data is written into the nonvolatile memory 11 in which the system data is stored, the process returns to step (3), and the data is transferred again into the charging control unit 5. ,
Reset.

【0049】一方、ステップ(7)で操作部2より充電
電流または切り替え電圧の入力がないと判定された場合
は、定電流充電を継続する(8)。そして、充電制御部
5で二次電池8の電圧を検知し、設定された定電流から
定電圧への切り替え電圧に達しているかどうかを判定し
(9)、切り替え電圧に達していると判定した場合は、
定電圧充電流に切り替え(10)、以後定電圧充電を継
続する(11)。
On the other hand, if it is determined in step (7) that there is no input of the charging current or the switching voltage from the operation unit 2, the constant current charging is continued (8). Then, the charge control unit 5 detects the voltage of the secondary battery 8 and determines whether or not the switching voltage from the set constant current to the constant voltage has been reached (9), and has determined that the switching voltage has been reached. If
Switching to the constant voltage charging flow (10), and then constant voltage charging is continued (11).

【0050】一方、ステップ(9)で、切り替え電圧に
達しないと判定した場合は、ステップ(8)へ戻り、定
電流充電を継続する。
On the other hand, if it is determined in step (9) that the switching voltage has not been reached, the process returns to step (8) to continue the constant current charging.

【0051】次に、定電流時と同様に定電圧充電中にス
タンバイ状態となり(12)、該スタンバイ中に、充電
電流または切り替え電圧の入力が有ったかどうかを判定
し(13)、NOならばステップ(11)へ戻り定電圧
充電を継続し、YESならば、入力された充電電流また
は切り替え電圧データをシステムデータが格納されてい
る不揮発性メモリ11に書き込み(14)、ステップ
(3)へ戻り、再度、充電制御部内にデータ転送し、再
セットする。
Next, as in the case of the constant current, the standby state is established during the constant voltage charging (12). During the standby, it is determined whether or not the charging current or the switching voltage is input (13). If it returns to step (11), the constant voltage charging is continued, and if YES, the input charging current or switching voltage data is written into the nonvolatile memory 11 storing the system data (14), and then to step (3). Then, the data is transferred again into the charge control unit and reset.

【0052】以下、図6に示すフローチャートを参照し
て、主電源3の停止後のメモリバックアップ制御手順に
ついて説明する。
Hereinafter, a memory backup control procedure after the main power supply 3 is stopped will be described with reference to a flowchart shown in FIG.

【0053】図6は、本発明に係るメモリバックアップ
制御装置における第3のデータ処理手順の一例を示すフ
ローチャートである。なお、(1)〜(11)は各ステ
ップを示す。
FIG. 6 is a flowchart showing an example of a third data processing procedure in the memory backup control device according to the present invention. Note that (1) to (11) indicate each step.

【0054】まず、主電源3が停止したら(1)、電源
電圧監視回路4で電源電圧の低下を検知すると(2)、
電源電圧監視回路4からの二次電池8の昇圧回路6に接
続される制御線で昇圧回路6内部のDC/DCコンバー
タをONし、放電制御部7の出力をバックアップ電源側
に切り替え、揮発性メモリ9へバックアップ電源を出力
する(3)。そして、揮発性メモリ9にバックアップデ
ータが存在する場合、バックアップデータが格納されて
いる揮発性メモリチップを選択し(4)、メモリのバッ
クアップ用リフレッシュ回路を起動するか、またはセル
フリフレッシュ機能を有する場合、セルフリフレッシュ
モードに移行する(5)。
First, when the main power supply 3 stops (1), when the power supply voltage monitoring circuit 4 detects a decrease in the power supply voltage (2),
A DC / DC converter inside the booster circuit 6 is turned on by a control line connected to the booster circuit 6 of the secondary battery 8 from the power supply voltage monitoring circuit 4, and the output of the discharge control unit 7 is switched to the backup power supply side, and volatile The backup power is output to the memory 9 (3). Then, when the backup data exists in the volatile memory 9, the volatile memory chip storing the backup data is selected (4), and the backup refresh circuit of the memory is activated or the self-refresh function is provided. Then, the mode shifts to the self-refresh mode (5).

【0055】次に、DRAM等の揮発性メモリのバック
アップ動作移行後(6)、タイマ回路10内部の時計機
能を有するリアルタイムクロック(以下、RTC)IC
から時間データを放電制御部7へ転送し、スタート時間
をセットする(7)。
Next, after the backup operation of a volatile memory such as a DRAM is shifted (6), a real-time clock (hereinafter, RTC) IC having a clock function in the timer circuit 10 is provided.
, The time data is transferred to the discharge control unit 7, and the start time is set (7).

【0056】そして、一定時間間隔または逐次、RTC
ICより時間データを転送し(8)、スタート時間から
の経過時間が設定された保証時間に達したかどうかを判
定し(9)、保証時間に達していると判定した場合、放
電制御部7でバックアップ電源出力を遮断し(10)、
二次電池8の放電を停止する(11)。
The RTC is executed at regular time intervals or successively.
Time data is transferred from the IC (8), and it is determined whether the elapsed time from the start time has reached the set guaranteed time (9). If it is determined that the guaranteed time has been reached, the discharge control unit 7 To shut off the backup power output (10),
The discharge of the secondary battery 8 is stopped (11).

【0057】〔第2実施形態〕以下、図7に示すフロー
チャートを参照して、第2実施形態の主電源ON及びO
FF後のメモリバックアップ制御手順を説明する。
[Second Embodiment] Hereinafter, with reference to the flowchart shown in FIG.
A memory backup control procedure after FF will be described.

【0058】図7は、本発明に係るメモリバックアップ
制御装置における第4のデータ処理手順の一例を示すフ
ローチャートである。なお、(1)〜(15)は各ステ
ップを示す。
FIG. 7 is a flowchart showing an example of the fourth data processing procedure in the memory backup control device according to the present invention. In addition, (1) to (15) indicate each step.

【0059】まず、主電源3の通電開始後(1)、バッ
クアップ用揮発性メモリチップ数、またはバックアップ
データが格納されている揮発性メモリチップ数をシステ
ム制御部1で検知する(2)。
First, after the main power supply 3 is turned on (1), the system controller 1 detects the number of volatile memory chips for backup or the number of volatile memory chips storing backup data (2).

【0060】例えば、図8に示すようなDRAMチップ
数に対する各種二次電池の過放電停止電圧テーブルに従
い、放電停止電圧を選択し(3)、放電制御部7に選択
された電圧データを転送する(4)。
For example, according to the overdischarge stop voltage table of various secondary batteries for the number of DRAM chips as shown in FIG. 8, a discharge stop voltage is selected (3), and the selected voltage data is transferred to the discharge control unit 7. (4).

【0061】次に、放電制御部7の内部メモリ23に放
電停止電圧データを格納する(5)。あるいは、ハード
スイッチの切り替えで放電停止電圧をセットする方法で
もよい。チップ数データに変更があった場合、その度、
チップ数データを変更し、放電制御部7の放電停止電圧
を再セットする。
Next, the discharge stop voltage data is stored in the internal memory 23 of the discharge control section 7 (5). Alternatively, a method of setting the discharge stop voltage by switching a hard switch may be used. Whenever the chip count data changes,
The chip number data is changed, and the discharge stop voltage of the discharge control unit 7 is reset.

【0062】次に、主電源停止後(6)、電源電圧監視
回路4で電源電圧の低下を検知すると(7)、電源電圧
監視回路4からの二次電池の昇圧回路6に接続される制
御線で昇圧回路6内部のDC/DCコンバータをON
し、放電制御部7の出力をバックアップ電源側に切り替
え、揮発性メモリ9へバックアップ電源を出力する
(8)。
Next, after the main power supply is stopped (6), when the power supply voltage monitoring circuit 4 detects a drop in the power supply voltage (7), the control connected to the booster circuit 6 of the secondary battery from the power supply voltage monitoring circuit 4 Turn on DC / DC converter inside booster circuit 6 with line
Then, the output of the discharge control unit 7 is switched to the backup power supply side, and the backup power supply is output to the volatile memory 9 (8).

【0063】次に、揮発性メモリ9にバックアップデー
タが存在する場合、バックアップデータが格納されてい
る揮発性メモリチップを選択し(9)、メモリのバック
アップ用リフレッシュ回路を起動するか、またはセルフ
リフレッシュ機能を有する場合、セルフリフレッシュモ
ードに移行する(10)。
Next, when backup data is present in the volatile memory 9, a volatile memory chip storing the backup data is selected (9), and a backup refresh circuit for the memory is activated or self-refresh is performed. If it has the function, it shifts to the self-refresh mode (10).

【0064】そして、DRAM等の揮発性メモリのバッ
クアップ動作移行後(11)、放電制御部7で二次電池
8の電圧を常時監視し(12)、設定停止電圧以下かど
うかを判定し(13)、設定電圧以上であると判定した
場合は、ステップ(12)へ戻り、二次電池8の電圧を
常時監視する。
After the transition to the backup operation of the volatile memory such as the DRAM (11), the voltage of the secondary battery 8 is constantly monitored by the discharge controller 7 (12), and it is determined whether the voltage is equal to or lower than the set stop voltage (13). If it is determined that the voltage is equal to or higher than the set voltage, the process returns to step (12), and the voltage of the secondary battery 8 is constantly monitored.

【0065】一方、ステップ(13)で、設定電圧以下
であると判定した場合、放電制御部7でバックアップ電
源出力を遮断し(14)、二次電池8の放電を停止する
(15)。
On the other hand, if it is determined in step (13) that the voltage is equal to or lower than the set voltage, the output of the backup power supply is cut off by the discharge controller 7 (14), and the discharge of the secondary battery 8 is stopped (15).

【0066】以下、各実施形態の特徴的構成についてさ
らに、図4〜図7等を参照して説明する。
Hereinafter, the characteristic structure of each embodiment will be further described with reference to FIGS.

【0067】上記のように構成されたデータを保持する
揮発性メモリに対して、主電源3または充放電可能な二
次電池8からのバックアップ電源供給を制御するメモリ
バックアップ制御方法であって、前記二次電池8からの
バックアップ電源供給時間を設定する設定工程(図4の
ステップ(4))、前記二次電池8からのバックアップ
電源供給時間の設定後、変更すべきバックアップ電源供
給時間データの入力状態を確認する確認工程(図4のス
テップ(6))と、前記確認工程により変更すべきバッ
クアップ電源供給時間データの入力を確認した場合に、
設定されているバックアップ電源供給時間データを書き
替える書替工程(図4のステップ(7))とを有するの
で、使用するメモリ環境に左右されることない保証時間
を自在に可変設定できる。
A memory backup control method for controlling backup power supply from the main power supply 3 or the chargeable / dischargeable secondary battery 8 to the volatile memory holding data configured as described above, A setting step of setting the backup power supply time from the secondary battery 8 (step (4) in FIG. 4), and after setting the backup power supply time from the secondary battery 8, inputting backup power supply time data to be changed When a confirmation step (step (6) in FIG. 4) for confirming the state and an input of backup power supply time data to be changed in the confirmation step are confirmed,
Since there is a rewriting process (step (7) in FIG. 4) for rewriting the set backup power supply time data, the guaranteed time which is not affected by the memory environment to be used can be variably set.

【0068】また、データを保持する揮発性メモリ9に
対して、主電源または充放電可能な二次電池8からのバ
ックアップ電源供給を制御するメモリバックアップ制御
方法であって、前記二次電池に対して定電流充電を開始
する第1の充電工程(図5のステップ(5))と、前記
二次電池の電圧を検出する電圧検出工程(図5のステッ
プ(9))と、前記電圧検出工程が検出した前記二次電
池の電圧が設定される充電切替電圧を超えた場合に、定
電流充電に代えて定電圧充電を開始する第2の充電工程
(図5のステップ(10))とを有するので、充放電特
性が異なる二次電池であっても、同一回路構成で短時間
に二次電池を充電させることができる。
Also, there is provided a memory backup control method for controlling a backup power supply from a main power supply or a chargeable / dischargeable secondary battery 8 to a volatile memory 9 for holding data. A first charging step (step (5) in FIG. 5) for starting the constant current charging, a voltage detecting step (step (9) in FIG. 5) for detecting the voltage of the secondary battery, and the voltage detecting step A second charging step (step (10) in FIG. 5) for starting constant voltage charging instead of constant current charging when the detected voltage of the secondary battery exceeds the set charging switching voltage. Therefore, even if the secondary batteries have different charge / discharge characteristics, the secondary batteries can be charged in a short time with the same circuit configuration.

【0069】さらに、データを保持する揮発性メモリ9
に対して、主電源3または充放電可能な二次電池8から
のバックアップ電源供給を制御するメモリバックアップ
制御方法であって、前記二次電池の電圧を検出する電圧
検出工程(図7のステップ(12))と、前記主電源が
オフ状態に切り替わってから、設定された電源供給時間
または前記バックアップ電源供給時間テーブルに記憶さ
れた電源供給時間を計時する計時工程(図6のステップ
(8))と、前記計時工程による計時終了状態または前
記電圧検出工程により検出される前記二次電池の電圧状
態で決定されるバックアップ電源遮断条件を満たすかど
うかを判定する判定工程(図6のステップ(9),図7
のステップ(13))と、前記判定工程により前記バッ
クアップ電源遮断条件を満たすと判定した場合に、前記
二次電池からの電源供給を遮断する遮断工程(図6のス
テップ(10),図7のステップ(14))とを有する
ので、二次電池の使用環境やメモリ使用状況に応じてバ
ックアップ電源供給環境が変動しても、揮発性メモリ内
のデータのバックアップ保証率を格段に高めることがで
きる。
Further, the volatile memory 9 for holding data
In contrast, a memory backup control method for controlling backup power supply from the main power supply 3 or the chargeable / dischargeable secondary battery 8, comprising a voltage detection step of detecting a voltage of the secondary battery (step (FIG. 7) 12)) and a clocking step of clocking the set power supply time or the power supply time stored in the backup power supply time table after the main power supply is turned off (step (8) in FIG. 6). And a determining step of determining whether or not a backup power-off condition determined by the timing end state in the timing step or the voltage state of the secondary battery detected in the voltage detecting step is satisfied (step (9) in FIG. 6). , FIG.
Step (13)), and a shut-off step of shutting off the power supply from the secondary battery when it is judged by the judging step that the backup power cut-off condition is satisfied (Step (10) in FIG. 6 and Step (10) in FIG. 7). Step (14)), even if the backup power supply environment fluctuates according to the usage environment of the secondary battery or the memory usage status, the backup guarantee rate of the data in the volatile memory can be significantly increased. .

【0070】上記各実施形態によれば、電源電圧を検出
する電源電圧検知手段と、充放電可能な二次電池に対
し、主電源が通電中は充電し、主電源が停止中は該二次
電池よりバックアップ電源を得る回路と、データを保持
するメモリと、該メモリ単位数,メモリカード数を判別
する手段を具備するメモリバックアップ回路に於いて、
バックアップ電源供給時間を設定できる手段を備え、主
電源通電時に操作部よりバックアップ時間データを入力
し、放電制御部に時間データを転送する。
According to each of the above embodiments, the power supply voltage detecting means for detecting the power supply voltage and the chargeable / dischargeable secondary battery are charged while the main power supply is energized, and are charged while the main power supply is stopped. In a memory backup circuit including a circuit for obtaining a backup power supply from a battery, a memory for holding data, and a unit for determining the number of memory units and the number of memory cards,
A means for setting a backup power supply time is provided. The backup time data is input from the operation unit when the main power is turned on, and the time data is transferred to the discharge control unit.

【0071】そして、電源電圧監視回路で電源電圧の低
下を検知すると、主電源と同電圧のバックアップ電源を
出力し、バックアップ用のリフレッシュ回路を起動し、
メモリバックアップ動作に移動する。
When the power supply voltage monitoring circuit detects a drop in the power supply voltage, it outputs a backup power supply having the same voltage as the main power supply and activates a backup refresh circuit.
Move to memory backup operation.

【0072】メモリバックアップ動作に移動後は、タイ
マ回路部から定期的に時間データを転送し、設定時間デ
ータと比較する。設定時間に達したと判断されると放電
制御部で揮発性メモリへのバックアップ電源の出力を遮
断する。
After moving to the memory backup operation, time data is periodically transferred from the timer circuit unit and compared with the set time data. When it is determined that the set time has been reached, the discharge control unit cuts off the output of the backup power supply to the volatile memory.

【0073】または、バックアップ時間データの代わり
に二次電池の電池電圧を操作部より入力し、放電制御部
に転送する。放電制御部で二次電池の電池電圧を監視
し、設定電圧に達したらバックアップ電源の出力を遮断
する。あるいは揮発性メモリのチップ数(メモリ単位,
メモリカード単位)をシステム制御部でカウントし、該
カウントデータからバックアップ電源の出力遮断の二次
電池電圧を計算またはテーブルデータより設定する。主
電源通電時は、昇圧回路のスイッチング動作及び二次電
池の放電を停止し、充電回路に切り替える。二次電池へ
の充電電流の電流値(リミット電流)及び定電流充電か
ら定電圧充電への切り替え電圧は、操作部より入力され
た設定データを充電回路に転送し、リミット電流と切り
替え電圧をセットするようにしたので、放電時間の設定
による二次電池保護およびバックアップメモリチップ数
で変化しない保証時間の確保、短時間充電により主電源
投入後から比較的短い時間での主電源停止時のバックア
ップ率を上げ、充電電流調整により同一回路で容量,充
放電特性の異なる二次電池を使用できるようになった。
Alternatively, the battery voltage of the secondary battery is input from the operation unit instead of the backup time data, and is transferred to the discharge control unit. The discharge controller monitors the battery voltage of the secondary battery, and shuts off the output of the backup power supply when the battery voltage reaches the set voltage. Or the number of volatile memory chips (memory unit,
The memory controller unit is counted by the system control unit, and the secondary battery voltage for shutting off the output of the backup power supply is calculated from the count data or set from the table data. When the main power supply is energized, the switching operation of the booster circuit and the discharging of the secondary battery are stopped, and the operation is switched to the charging circuit. For the current value (limit current) of the charging current to the secondary battery and the switching voltage from constant current charging to constant voltage charging, the setting data input from the operation unit is transferred to the charging circuit, and the limit current and switching voltage are set. To ensure the secondary battery protection by setting the discharge time, to secure the guaranteed time that does not change with the number of backup memory chips, and to charge the battery in a short time after the main power is turned on. By adjusting the charging current, secondary batteries with different capacities and charge / discharge characteristics can be used in the same circuit.

【0074】[0074]

【発明の効果】以上説明したように、本発明に係る第1
の発明によれば、データを保持する揮発性メモリに対し
て、主電源または充放電可能な二次電池からのバックア
ップ電源供給を制御するメモリバックアップ制御装置で
あって、前記二次電池からのバックアップ電源供給時間
を可変設定する設定手段を有するので、種々の二次電池
の特性やメモリ環境に応じて最適なバックアップ電源供
給時間を柔軟に設定することができる。
As described above, the first embodiment according to the present invention is described.
According to the invention, a memory backup control device that controls supply of backup power from a main power supply or a rechargeable secondary battery to a volatile memory that retains data, wherein the backup from the secondary battery is performed. Since there is a setting means for variably setting the power supply time, the optimal backup power supply time can be flexibly set according to the characteristics of various secondary batteries and the memory environment.

【0075】第2の発明によれば、前記設定手段により
設定されたバックアップ電源供給時間を記憶する記憶手
段と、前記主電源がオフ状態に切り替わってから、前記
設定手段により設定されたバックアップ電源供給時間ま
たは前記記憶手段に記憶されたバックアップ電源供給時
間を計時する計時手段と、前記計時手段の計時終了状態
に基づいて前記二次電池からのバックアップ電源供給を
遮断する遮断制御手段とを有するので、バックアップ電
源供給時間を調整可能となり、メモリ環境でバックアッ
プ電源供給時間が変動しても、二次電池が過放電状態と
なってしまう事態を回避することができる。
According to the second invention, the storage means for storing the backup power supply time set by the setting means, and the backup power supply set by the setting means after the main power supply is turned off. Since it has a timer means for counting the time or the backup power supply time stored in the storage means, and a cutoff control means for cutting off the backup power supply from the secondary battery based on a time-out state of the clocking means, The backup power supply time can be adjusted, and even if the backup power supply time fluctuates in the memory environment, it is possible to avoid a situation in which the secondary battery is over-discharged.

【0076】第3の発明によれば、前記揮発性メモリ
は、複数のメモリチップまたはメモリカードを備え、前
記メモリチップ単位またはメモリカード単位毎にバック
アップ電流を供給するので、メモリ使用環境に最適なバ
ックアップ電流を供給することができる。
According to the third aspect, the volatile memory includes a plurality of memory chips or memory cards, and supplies a backup current for each memory chip or memory card. A backup current can be supplied.

【0077】第4の発明によれば、データを保持する揮
発性メモリに対して、主電源または充放電可能な二次電
池からの電源供給を制御するメモリバックアップ制御装
置であって、前記二次電池の電圧を検出する電圧検出手
段と、前記二次電池の電圧変動に対応するバックアップ
電源供給時間テーブルを記憶するテーブルメモリと、前
記電圧検出手段により検出される前記二次電池の電圧と
前記テーブルメモリに記憶されるバックアップ電源供給
時間テーブルとに基づいて前記二次電池からのバックア
ップ電源供給時間を可変設定する設定手段とを有するの
で、二次電池からの過放電を防止しつつ、使用するメモ
リ環境に左右されることのない保証時間を設定できる。
According to the fourth invention, there is provided a memory backup control device for controlling power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory holding data, Voltage detection means for detecting the voltage of the battery, a table memory for storing a backup power supply time table corresponding to the voltage fluctuation of the secondary battery, and the voltage of the secondary battery detected by the voltage detection means and the table Setting means for variably setting the backup power supply time from the secondary battery based on the backup power supply time table stored in the memory, so that the memory to be used while preventing overdischarge from the secondary battery You can set a guaranteed time that is not affected by the environment.

【0078】第5の発明によれば、前記テーブルメモリ
は、二次電池の種別に応じて複数のバックアップ電源供
給時間テーブルを記憶しているので、放電時間の異なる
多様な二次電池に対して最適なバックアップ電源供給時
間を設定することができる。
According to the fifth aspect, the table memory stores a plurality of backup power supply time tables in accordance with the type of the secondary battery. An optimal backup power supply time can be set.

【0079】第6の発明によれば、前記主電源がオフ状
態に切り替わってから、前記設定手段により設定された
電源供給時間または前記バックアップ電源供給時間テー
ブルに記憶された電源供給時間を計時する計時手段と、
前記計時手段の計時終了状態または前記電圧検出手段に
より検出される前記二次電池の電圧状態で決定されるバ
ックアップ電源遮断条件を満たすかどうかを判定する判
定手段と、前記判定手段が前記バックアップ電源遮断条
件を満たすと判定した場合に、前記二次電池からの電源
供給の遮断状態を制御する制御手段とを有するので、二
次電池の使用環境やメモリ使用状況に応じてバックアッ
プ電源供給環境が変動しても、揮発性メモリ内のデータ
のバックアップ保証率を格段に高めることができる。
According to the sixth aspect of the invention, after the main power supply is switched to the off state, the clock for measuring the power supply time set by the setting means or the power supply time stored in the backup power supply time table. Means,
Determining means for determining whether a backup power-off condition determined by a time-out state of the time-measuring means or a voltage state of the secondary battery detected by the voltage detecting means is satisfied; and Control means for controlling a cutoff state of power supply from the secondary battery when it is determined that the condition is satisfied, the backup power supply environment fluctuates according to the usage environment of the secondary battery and the memory usage status. However, the backup guarantee rate of the data in the volatile memory can be significantly increased.

【0080】第7の発明によれば、データを保持する揮
発性メモリに対して、主電源または充放電可能な二次電
池からの電源供給を制御するメモリバックアップ制御装
置であって、前記二次電池に定電流または定電圧を供給
して充電する充電手段と、前記二次電池の電圧を検出す
る電圧検出手段と、前記電圧検出手段が検出した前記二
次電池の電圧が設定される充電切替電圧を超えた場合
に、前記充電手段の充電方法を定電流充電から定電圧充
電に切り替える充電制御手段とを有するので、充放電特
性が異なる二次電池であっても、同一回路構成で短時間
に二次電池を充電させることができる。
According to the seventh aspect of the present invention, there is provided a memory backup control device for controlling power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory for holding data. Charging means for supplying a constant current or a constant voltage to the battery for charging; voltage detecting means for detecting the voltage of the secondary battery; and charging switching in which the voltage of the secondary battery detected by the voltage detecting means is set. A charge control unit that switches the charging method of the charging unit from constant current charging to constant voltage charging when the voltage exceeds the voltage. Can charge the secondary battery.

【0081】第8の発明によれば、定電流充電時におけ
る定電流値を任意の値に設定可能とするので、二次電池
の充電特性に対して柔軟な定電流充電時間を設定でき、
種々の二次電池を安全に急速充電させることができる。
According to the eighth aspect, the constant current value at the time of constant current charging can be set to an arbitrary value, so that the constant current charging time can be set flexibly with respect to the charging characteristics of the secondary battery.
Various secondary batteries can be quickly charged safely.

【0082】第9の発明によれば、データを保持する揮
発性メモリに対して、主電源または充放電可能な二次電
池からのバックアップ電源供給を制御するメモリバック
アップ制御方法であって、前記二次電池からのバックア
ップ電源供給時間を設定する設定工程と、前記二次電池
からのバックアップ電源供給時間の設定後、変更すべき
バックアップ電源供給時間データの入力状態を確認する
確認工程と、前記確認工程により変更すべきバックアッ
プ電源供給時間データの入力を確認した場合に、設定さ
れているバックアップ電源供給時間データを書き替える
書替工程とを有するので、使用するメモリ環境に左右さ
れることない保証時間を自在に可変設定できる。
According to a ninth aspect of the present invention, there is provided a memory backup control method for controlling a backup power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory holding data. A setting step of setting a backup power supply time from the secondary battery, a confirmation step of confirming an input state of backup power supply time data to be changed after the setting of the backup power supply time from the secondary battery, and the confirmation step And a rewriting step of rewriting the set backup power supply time data when the input of the backup power supply time data to be changed is confirmed, so that the guaranteed time is not affected by the memory environment used. Can be freely set.

【0083】第10の発明によれば、データを保持する
揮発性メモリに対して、主電源または充放電可能な二次
電池からのバックアップ電源供給を制御するメモリバッ
クアップ制御方法であって、前記二次電池に対して定電
流充電を開始する第1の充電工程と、前記二次電池の電
圧を検出する電圧検出工程と、前記電圧検出工程が検出
した前記二次電池の電圧が設定される充電切替電圧を超
えた場合に、定電流充電に代えて定電圧充電を開始する
第2の充電工程とを有するので、充放電特性が異なる二
次電池であっても、同一回路構成で短時間に二次電池を
充電させることができる。
According to the tenth aspect of the present invention, there is provided a memory backup control method for controlling a backup power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory holding data. A first charging step of starting constant-current charging of the secondary battery, a voltage detecting step of detecting a voltage of the secondary battery, and a charging in which the voltage of the secondary battery detected by the voltage detecting step is set. A second charging step of starting constant-voltage charging instead of constant-current charging when the switching voltage is exceeded. Therefore, even in the case of secondary batteries having different charge / discharge characteristics, the same circuit configuration can be used in a short time. The secondary battery can be charged.

【0084】第11の発明によれば、データを保持する
揮発性メモリに対して、主電源または充放電可能な二次
電池からのバックアップ電源供給を制御するメモリバッ
クアップ制御方法であって、前記二次電池の電圧を検出
する電圧検出工程と、前記主電源がオフ状態に切り替わ
ってから、設定された電源供給時間または前記バックア
ップ電源供給時間テーブルに記憶された電源供給時間を
計時する計時工程と、前記計時工程による計時終了状態
または前記電圧検出工程により検出される前記二次電池
の電圧状態で決定されるバックアップ電源遮断条件を満
たすかどうかを判定する判定工程と、前記判定工程によ
り前記バックアップ電源遮断条件を満たすと判定した場
合に、前記二次電池からの電源供給を遮断する遮断工程
とを有するので、二次電池の使用環境やメモリ使用状況
に応じてバックアップ電源供給環境が変動しても、揮発
性メモリ内のデータのバックアップ保証率を格段に高め
ることができる。
According to the eleventh invention, there is provided a memory backup control method for controlling backup power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory holding data. A voltage detection step of detecting the voltage of the next battery, and a timekeeping step of timing a set power supply time or a power supply time stored in the backup power supply time table after the main power supply is switched to an off state, A determining step of determining whether or not a backup power-off condition determined by a time-out state by the time-measuring step or a voltage state of the secondary battery detected by the voltage detecting step is satisfied; and When it is determined that the condition is satisfied, the power supply from the secondary battery is cut off. Be varied backup power supply environment in accordance with the use environment or memory usage of the next cell, it is possible to greatly increase the backup guarantee rate of the data in volatile memory.

【0085】従って、二次電池に対して定電流充電と定
電圧充電とを切り替えて充電処理でき、従来の充電時間
を格段に短縮した急速充電を安全に行い、主電源投入後
から比較的短い時間で主電源停止時のバックアップ保証
率を上げることができる。
Therefore, the charging process can be performed on the secondary battery by switching between the constant current charging and the constant voltage charging, and the rapid charging with the conventional charging time greatly shortened is performed safely, and the charging time is relatively short after the main power is turned on. The backup guarantee rate when the main power supply is stopped can be increased in a short time.

【0086】また、二次電池に供給すべき充電電流を自
在に調整することができるので、同一回路構成で容量,
条件の異なる幅広い二次電池を使用することができる。
Further, since the charging current to be supplied to the secondary battery can be freely adjusted, the capacity and the capacity can be reduced with the same circuit configuration.
A wide range of secondary batteries with different conditions can be used.

【0087】さらに、バックアップ電源供給時間を可変
設定できるため、二次電池が過放電となる事態を回避
し、かつ、揮発性メモリを構成するメモリチップ数等に
影響されないバックアップ保証時間を確保することがで
きる等の効果を奏する。
Further, since the backup power supply time can be variably set, it is possible to avoid a situation in which the secondary battery is overdischarged, and to secure a backup guarantee time which is not affected by the number of memory chips constituting the volatile memory. And the like.

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

【図1】本発明の第1実施形態を示すメモリバックアッ
プ制御装置の構成を説明するブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a memory backup control device according to a first embodiment of the present invention.

【図2】図1に示した放電制御部の詳細構成を説明する
ブロック図である。
FIG. 2 is a block diagram illustrating a detailed configuration of a discharge control unit illustrated in FIG.

【図3】図1に示した充電制御部の詳細構成を説明する
ブロック図である。
FIG. 3 is a block diagram illustrating a detailed configuration of a charging control unit illustrated in FIG. 1;

【図4】本発明に係るメモリバックアップ制御装置にお
ける第1のデータ処理手順の一例を示すフローチャート
である。
FIG. 4 is a flowchart illustrating an example of a first data processing procedure in the memory backup control device according to the present invention.

【図5】本発明に係るメモリバックアップ制御装置にお
ける第2のデータ処理手順の一例を示すフローチャート
である。
FIG. 5 is a flowchart illustrating an example of a second data processing procedure in the memory backup control device according to the present invention.

【図6】本発明に係るメモリバックアップ制御装置にお
ける第3のデータ処理手順の一例を示すフローチャート
である。
FIG. 6 is a flowchart illustrating an example of a third data processing procedure in the memory backup control device according to the present invention.

【図7】本発明に係るメモリバックアップ制御装置にお
ける第4のデータ処理手順の一例を示すフローチャート
である。
FIG. 7 is a flowchart illustrating an example of a fourth data processing procedure in the memory backup control device according to the present invention.

【図8】本発明に係るメモリバックアップ制御装置にお
ける過放電停止電圧テーブルの一例を示す図である。
FIG. 8 is a diagram showing an example of an overdischarge stop voltage table in the memory backup control device according to the present invention.

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

1 システム制御部 2 操作部 3 主電源 4 電源電圧監視回路 5 充電制御部 6 昇圧回路 7 放電制御部 8 二次電池 9 揮発性メモリ 10 タイマ回路 11 不揮発性メモリ 12 一次電池 DESCRIPTION OF SYMBOLS 1 System control part 2 Operation part 3 Main power supply 4 Power supply voltage monitoring circuit 5 Charge control part 6 Boost circuit 7 Discharge control part 8 Secondary battery 9 Volatile memory 10 Timer circuit 11 Nonvolatile memory 12 Primary battery

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 データを保持する揮発性メモリに対し
て、主電源または充放電可能な二次電池からのバックア
ップ電源供給を制御するメモリバックアップ制御装置で
あって、 前記二次電池からのバックアップ電源供給時間を可変設
定する設定手段を有することを特徴とするメモリバック
アップ制御装置。
1. A memory backup control device for controlling a backup power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory holding data, the backup power supply from the secondary battery A memory backup control device comprising setting means for variably setting a supply time.
【請求項2】 前記設定手段により設定されたバックア
ップ電源供給時間を記憶する記憶手段と、 前記主電源がオフ状態に切り替わってから、前記設定手
段により設定されたバックアップ電源供給時間または前
記記憶手段に記憶されたバックアップ電源供給時間を計
時する計時手段と、 前記計時手段の計時終了状態に基づいて前記二次電池か
らのバックアップ電源供給を遮断する遮断制御手段と、
を有することを特徴とする請求項1記載のメモリバック
アップ制御装置。
2. A storage unit for storing a backup power supply time set by the setting unit; and a backup power supply time set by the setting unit or the storage unit after the main power supply is turned off. Clocking means for clocking the stored backup power supply time; andinterruption control means for interrupting backup power supply from the secondary battery based on a time-out state of the clocking means,
The memory backup control device according to claim 1, further comprising:
【請求項3】 前記揮発性メモリは、複数のメモリチッ
プまたはメモリカードを備え、 前記メモリチップ単位またはメモリカード単位毎にバッ
クアップ電流を供給することを特徴とする請求項1また
は2記載のメモリバックアップ制御装置。
3. The memory backup according to claim 1, wherein the volatile memory includes a plurality of memory chips or memory cards, and supplies a backup current for each memory chip or each memory card. Control device.
【請求項4】 データを保持する揮発性メモリに対し
て、主電源または充放電可能な二次電池からの電源供給
を制御するメモリバックアップ制御装置であって、 前記二次電池の電圧を検出する電圧検出手段と、 前記二次電池の電圧変動に対応するバックアップ電源供
給時間テーブルを記憶するテーブルメモリと、 前記電圧検出手段により検出される前記二次電池の電圧
と前記テーブルメモリに記憶されるバックアップ電源供
給時間テーブルとに基づいて前記二次電池からのバック
アップ電源供給時間を可変設定する設定手段と、を有す
ることを特徴とするメモリバックアップ制御装置。
4. A memory backup control device for controlling power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory holding data, wherein a voltage of the secondary battery is detected. Voltage detection means; a table memory for storing a backup power supply time table corresponding to the voltage fluctuation of the secondary battery; a voltage of the secondary battery detected by the voltage detection means and a backup stored in the table memory Setting means for variably setting a backup power supply time from the secondary battery based on a power supply time table.
【請求項5】 前記テーブルメモリは、二次電池の種別
に応じて複数のバックアップ電源供給時間テーブルを記
憶していることを特徴とする請求項4記載のメモリバッ
クアップ制御装置。
5. The memory backup control device according to claim 4, wherein said table memory stores a plurality of backup power supply time tables according to the type of secondary battery.
【請求項6】 前記主電源がオフ状態に切り替わってか
ら、前記設定手段により設定された電源供給時間または
前記バックアップ電源供給時間テーブルに記憶された電
源供給時間を計時する計時手段と、 前記計時手段の計時終了状態または前記電圧検出手段に
より検出される前記二次電池の電圧状態で決定されるバ
ックアップ電源遮断条件を満たすかどうかを判定する判
定手段と、 前記判定手段が前記バックアップ電源遮断条件を満たす
と判定した場合に、前記二次電池からの電源供給の遮断
状態を制御する制御手段と、を有することを特徴とする
請求項4記載のメモリバックアップ制御装置。
6. A timer means for clocking the power supply time set by the setting means or the power supply time stored in the backup power supply time table after the main power supply is turned off, and the clocking means. A determination unit that determines whether a backup power cutoff condition determined by the time measurement end state or the voltage state of the secondary battery detected by the voltage detection unit is satisfied; and the determination unit satisfies the backup power cutoff condition. 5. The memory backup control device according to claim 4, further comprising: a control unit configured to control a cutoff state of power supply from the secondary battery when the determination is made.
【請求項7】 データを保持する揮発性メモリに対し
て、主電源または充放電可能な二次電池からの電源供給
を制御するメモリバックアップ制御装置であって、 前記二次電池に定電流または定電圧を供給して充電する
充電手段と、 前記二次電池の電圧を検出する電圧検出手段と、 前記電圧検出手段が検出した前記二次電池の電圧が設定
される充電切替電圧を超えた場合に、前記充電手段の充
電方法を定電流充電から定電圧充電に切り替える充電制
御手段と、を有することを特徴とするメモリバックアッ
プ制御装置。
7. A memory backup control device for controlling power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory holding data, wherein the secondary battery has a constant current or a constant current. Charging means for supplying and charging a voltage; voltage detecting means for detecting the voltage of the secondary battery; and when the voltage of the secondary battery detected by the voltage detecting means exceeds a set charging switching voltage. A charge control means for switching a charging method of the charging means from constant current charging to constant voltage charging.
【請求項8】 定電流充電時における定電流値を任意の
値に設定可能とすることを特徴とする請求項7記載のメ
モリバックアップ制御装置。
8. The memory backup control device according to claim 7, wherein a constant current value during constant current charging can be set to an arbitrary value.
【請求項9】 データを保持する揮発性メモリに対し
て、主電源または充放電可能な二次電池からのバックア
ップ電源供給を制御するメモリバックアップ制御方法で
あって、 前記二次電池からのバックアップ電源供給時間を設定す
る設定工程と、 前記二次電池からのバックアップ電源供給時間の設定
後、変更すべきバックアップ電源供給時間データの入力
状態を確認する確認工程と、 前記確認工程により変更すべきバックアップ電源供給時
間データの入力を確認した場合に、設定されているバッ
クアップ電源供給時間データを書き替える書替工程と、
を有することを特徴とするメモリバックアップ制御方
法。
9. A memory backup control method for controlling a backup power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory holding data, wherein the backup power supply from the secondary battery is provided. A setting step for setting a supply time; a confirmation step for confirming an input state of backup power supply time data to be changed after setting the backup power supply time from the secondary battery; and a backup power supply to be changed by the confirmation step. A rewriting process of rewriting the set backup power supply time data when the input of the supply time data is confirmed,
A memory backup control method, comprising:
【請求項10】 データを保持する揮発性メモリに対し
て、主電源または充放電可能な二次電池からのバックア
ップ電源供給を制御するメモリバックアップ制御方法で
あって、 前記二次電池に対して定電流充電を開始する第1の充電
工程と、 前記二次電池の電圧を検出する電圧検出工程と、 前記電圧検出工程が検出した前記二次電池の電圧が設定
される充電切替電圧を超えた場合に、定電流充電に代え
て定電圧充電を開始する第2の充電工程と、を有するこ
とを特徴とするメモリバックアップ制御方法。
10. A memory backup control method for controlling a backup power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory holding data, the method comprising: A first charging step for starting current charging; a voltage detecting step for detecting a voltage of the secondary battery; and a case where the voltage of the secondary battery detected by the voltage detecting step exceeds a set charging switching voltage. And a second charging step of starting constant-voltage charging instead of constant-current charging.
【請求項11】 データを保持する揮発性メモリに対し
て、主電源または充放電可能な二次電池からのバックア
ップ電源供給を制御するメモリバックアップ制御方法で
あって、 前記二次電池の電圧を検出する電圧検出工程と、 前記主電源がオフ状態に切り替わってから、設定された
電源供給時間または前記バックアップ電源供給時間テー
ブルに記憶された電源供給時間を計時する計時工程と、 前記計時工程による計時終了状態または前記電圧検出工
程により検出される前記二次電池の電圧状態で決定され
るバックアップ電源遮断条件を満たすかどうかを判定す
る判定工程と、前記判定工程により前記バックアップ電
源遮断条件を満たすと判定した場合に、前記二次電池か
らの電源供給を遮断する遮断工程と、を有することを特
徴とするメモリバックアップ制御方法。
11. A memory backup control method for controlling a backup power supply from a main power supply or a chargeable / dischargeable secondary battery to a volatile memory holding data, wherein a voltage of the secondary battery is detected. A voltage detection step of performing the following steps: a timing step of timing a set power supply time or a power supply time stored in the backup power supply time table after the main power supply is turned off; A determination step of determining whether a backup power shutdown condition determined by a state or a voltage state of the secondary battery detected by the voltage detection step is determined, and it is determined that the backup power shutdown condition is satisfied by the determination step. A power supply from the secondary battery. Backup control method.
JP9310191A 1997-11-12 1997-11-12 Memory backup control apparatus and method Pending JPH11144455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9310191A JPH11144455A (en) 1997-11-12 1997-11-12 Memory backup control apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9310191A JPH11144455A (en) 1997-11-12 1997-11-12 Memory backup control apparatus and method

Publications (1)

Publication Number Publication Date
JPH11144455A true JPH11144455A (en) 1999-05-28

Family

ID=18002277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9310191A Pending JPH11144455A (en) 1997-11-12 1997-11-12 Memory backup control apparatus and method

Country Status (1)

Country Link
JP (1) JPH11144455A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001095335A1 (en) * 2000-06-08 2001-12-13 Mitsubishi Denki Kabushiki Kaisha Data backup device and step-up/step-down power supply
JP2008154321A (en) * 2006-12-14 2008-07-03 Ricoh Co Ltd Discharge controller and control method, and image forming apparatus
JP2011048563A (en) * 2009-08-26 2011-03-10 Yokogawa Denshikiki Co Ltd Storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001095335A1 (en) * 2000-06-08 2001-12-13 Mitsubishi Denki Kabushiki Kaisha Data backup device and step-up/step-down power supply
JP2008154321A (en) * 2006-12-14 2008-07-03 Ricoh Co Ltd Discharge controller and control method, and image forming apparatus
JP2011048563A (en) * 2009-08-26 2011-03-10 Yokogawa Denshikiki Co Ltd Storage medium

Similar Documents

Publication Publication Date Title
US5666006A (en) Circuit offering sequential discharge and simultaneous charge for a multiple battery system and method for charging multiple batteries
US5414861A (en) Data protection system using different levels of reserve power to maintain data in volatile memories for any period of time
US7579811B2 (en) Battery pack, battery protection processing apparatus and control method thereof
US7495416B2 (en) Battery pack, battery protection processing apparatus, and startup control method of the battery protection processing apparatus
JP3170381B2 (en) Battery life judgment device
US8689032B2 (en) Secondary battery charging control apparatus
JP4111890B2 (en) Uninterruptible power system
JP2007215309A (en) Battery pack control method
JP3571558B2 (en) Backup method and backup device
JP4435000B2 (en) Battery control circuit, electronic device equipped with the battery control circuit, charge control program, and charge control method
US7449864B2 (en) Apparatus and method for controlling battery discharge between internal battery and external battery
JPH11144455A (en) Memory backup control apparatus and method
JP2004194481A (en) Battery charging controlling device and battery charging device
CN111009698B (en) Information processing method and electronic equipment
JPH0654451A (en) Charge/discharge managing apparatus for battery
JPH06311668A (en) Uninterruptible power-supply device
JP3034924B2 (en) Charging device
JP6900802B2 (en) Control board, backup power supply method for control board, backup power supply program for control board
JP2004064975A (en) Uninterruptive power unit
JPH0723533A (en) Charger
JPH07241041A (en) Battery refresh system
JPH06261469A (en) Backup power equipment
JPH0214311A (en) Semiconductor storage device
JPH07163058A (en) Battery life signalling system
JP2012050238A (en) Charge control circuit and charge control method of secondary battery