[go: up one dir, main page]

JP2890302B2 - Electronic equipment - Google Patents

Electronic equipment

Info

Publication number
JP2890302B2
JP2890302B2 JP9048513A JP4851397A JP2890302B2 JP 2890302 B2 JP2890302 B2 JP 2890302B2 JP 9048513 A JP9048513 A JP 9048513A JP 4851397 A JP4851397 A JP 4851397A JP 2890302 B2 JP2890302 B2 JP 2890302B2
Authority
JP
Japan
Prior art keywords
voltage
terminal
battery
reference voltage
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP9048513A
Other languages
Japanese (ja)
Other versions
JPH09251042A (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.)
Maxell Ltd
Original Assignee
Hitachi Maxell 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 Hitachi Maxell Ltd filed Critical Hitachi Maxell Ltd
Priority to JP9048513A priority Critical patent/JP2890302B2/en
Publication of JPH09251042A publication Critical patent/JPH09251042A/en
Application granted granted Critical
Publication of JP2890302B2 publication Critical patent/JP2890302B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Credit Cards Or The Like (AREA)
  • Measurement Of Current Or Voltage (AREA)
  • Power Sources (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、電子装置に関
し、詳しくは、メモリカードの電子装置の改良に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic device, and more particularly, to an improvement in a memory card electronic device.

【0002】[0002]

【従来の技術】メモリカードのメモリバックアップ用電
池の交換時期(又は交換の要否以下同じ)或いはその電
力消耗状態を知るために、バックアップ電池の電圧を検
知することが行われる。その検知方法としては、電池の
端子の一部を外部から接触できるようにしておき、テス
ター等によりその端子電圧を測定したり、内部にコンパ
レータ等を有する電圧検知回路を設けて検知することな
どが上げられる。これらの場合の検知方法として重要な
ことは、電圧検知のためにバックアップ電池の容量を
消費してはならないこと、電圧検知回路で検知する場
合には、電源が供給されていない“OFF”状態にある
時にバックアップ電池が放電するような径路があっては
ならないこと、などである。
2. Description of the Related Art The voltage of a backup battery is detected in order to know when to replace a memory backup battery in a memory card (or whether replacement is necessary or not). As a detection method, a part of the battery terminal can be contacted from the outside, and the terminal voltage is measured by a tester or the like, or a voltage detection circuit having a comparator or the like is provided inside for detection. Can be raised. The important detection method in these cases is that the capacity of the backup battery must not be consumed for voltage detection, and when the voltage is detected by the voltage detection circuit, the power is not supplied to the “OFF” state. There must be no path at which the backup battery discharges at one time, and so on.

【0003】[0003]

【発明が解決しようとする課題】しかし、メモリカード
等にバックアップ電池の電圧を検知するための検知用外
部端子を設ける場合には、それが露出したときにグラン
ド(GND)に落とされたりして電池が放電し、電力を
消耗する事故が発生し易い欠点がある。また、内部にコ
ンパレータ等の電圧検知回路を設けて、バックアップ電
池の電圧を検出する方法では、電圧検知回路を動作させ
るために余分な電力が必要であり、例えば、実開昭64
−39520号のカード状記憶装置のようにカードが動
作状態のときになど、電圧検知が不要なときにあっても
電池からの電流が電圧検知回路に加えられて電力が消費
されるということが発生し、これにより電力消費が問題
となる。この発明は、このような従来技術の問題点を解
決するものであって、電圧検知回路による無駄な電力消
費耗を抑えて、バックアップ電池の電力負担を低減する
ことができる電子装置を提供することを目的とする。
However, when a memory card or the like is provided with a detection external terminal for detecting the voltage of the backup battery, it may be dropped to ground (GND) when it is exposed. There is a disadvantage that an accident that the battery is discharged and power is consumed easily occurs. Further, in the method of providing a voltage detection circuit such as a comparator inside and detecting the voltage of the backup battery, extra power is required to operate the voltage detection circuit.
Even when the card is in an operating state as in the case of the card-shaped storage device of -39520, the current from the battery is applied to the voltage detection circuit and the power is consumed even when the voltage detection is unnecessary. Power consumption is a problem. The present invention is to solve such a problem of the related art, and to provide an electronic device capable of suppressing unnecessary power consumption by a voltage detection circuit and reducing a power load on a backup battery. With the goal.

【0004】[0004]

【課題を解決するための手段】このような目的を達成す
るための第1の発明の電子装置の特徴は、電池によりバ
ックアップされるメモリを有する電子機器において、電
池によりバックアップされるメモリへの電源供給ライン
又は電池の正極接続側ラインに接続された電流流出型の
入力端子を有する電圧比較回路と、外部から供給される
電力に応じて基準電圧を発生する基準電圧発生回路と
メモリに外部から電力を供給する第1の端子と、電圧比
較回路および基準電圧発生回路に対して第1の端子とは
独立に外部から電力を供給する第2の端子とを備えてい
て、電圧比較回路と基準電圧発生回路が第2の端子から
供給される電力により動作して入力端子の電圧と基準電
圧とを比較して外部に比較結果を出力し、電圧比較回路
が動作状態にないときには入力端子が高い入力インピー
ダンスとなっているものである。
According to a first aspect of the invention, there is provided an electronic apparatus having a memory backed up by a battery, and a power supply to the memory backed up by the battery. A voltage comparison circuit having a current outflow type input terminal connected to the supply line or the positive electrode connection side line of the battery, a reference voltage generation circuit that generates a reference voltage according to power supplied from the outside ,
A first terminal for externally supplying power to the memory, and a voltage ratio
What is the first terminal for the comparison circuit and the reference voltage generation circuit?
A second terminal for independently supplying power from the outside is provided, and a voltage comparison circuit and a reference voltage generation circuit operate with the power supplied from the second terminal to compare the voltage of the input terminal with the reference voltage The comparison result is output to the outside, and the input terminal has a high input impedance when the voltage comparison circuit is not operating.

【0005】また、第2の発明の電子装置の特徴は、電
源を負の電源として電圧比較回路の入力端子を電流流入
型とし、負荷側からの負の電源ラインに流れてくる電流
を電池手前で分流させて比較するようにしたものであ
る。
Another feature of the electronic device of the second invention is that the power supply is a negative power supply, the input terminal of the voltage comparison circuit is of a current inflow type, and the current flowing from the load side to the negative power supply line is in front of the battery. In this case, the flow is divided for comparison.

【0006】[0006]

【発明の実施の形態】このように、電圧比較回路の比較
端子を電流流出型(負の電源では流入型)のものとし、
外部からの電力で電圧比較回路を動作させ、かつ動作状
態にないときに高いインピーダンスを保持するようにす
る。そして、バックアップ電池の電圧検出状態では、電
圧比較用の入力端子の入力電流とバックアップ電池から
の電流の和がメモリ等の対象回路にバックアップ電流と
して流れるようにする(負の電源では負荷側からの負の
電源ラインに流れてくる電流を電池手前で分流させ
る)。さらに、外部から電力をメモリに供給する端子と
は独立に電力供給端子を設けて電圧比較回路および基準
電圧発生回路をその電力で独立に動作させるようにして
いるので、これら回路を内部の他の回路と切り離すこと
ができる。これにより、電圧比較回路および基準電圧発
生回路の電池との接続ラインは、これらが動作していな
いときに入力端子が高い入力インピーダンスとなる1本
の配線ラインにすることができる。これによりバックア
ップ時のリーク電流を抑制することができる。しかも、
動作状態においてはこれら回路に動作電流を流さなくて
済み、電力供給端子が独立に設けらているので消費電力
の低減を図ることができる。
As described above, the comparison terminal of the voltage comparison circuit is of a current outflow type (inflow type with a negative power supply),
The voltage comparison circuit is operated by external power, and maintains a high impedance when not in operation. Then, in the voltage detection state of the backup battery, the sum of the input current of the input terminal for voltage comparison and the current from the backup battery is caused to flow as a backup current to a target circuit such as a memory (in the case of a negative power supply, the load from the load side). The current flowing to the negative power line is divided before the battery.) In addition, a terminal for supplying power to the memory from the outside
Has an independent power supply terminal to provide a voltage comparison circuit and reference
Operate the voltage generator independently with that power
To separate these circuits from other internal circuits.
Can be. This allows the voltage comparison circuit and the reference voltage generator
The connection lines with the batteries in the raw circuit are not
When the input terminal has a high input impedance when
Wiring line. This allows backup
Leakage current at the time of shutdown can be suppressed. Moreover,
Do not apply operating current to these circuits in the operating state.
Power consumption since power supply terminals are provided independently
Can be reduced.

【0007】その結果、電流流出型の入力端子を有する
ことにより、たとえ動作中において電池の電圧を検出し
たとしても、入力端子から流れ出た電流は、メモリへの
電源供給ライン又は電池の正極接続側ラインからメモリ
へと流れるので、この間の電池の放電が抑制されるとと
もに、このときの電流は、微小であることからバックア
ップ状態における電池の電圧を変動させることはない。
したがって、メモリに対しても悪影響を与えない。その
結果、電池の電圧検知時点でも、また、バックアップ時
点でもバックアップ用の電池の無駄な電力消費を抑える
ことができる。
[0007] As a result, by having the current outflow type input terminal, even if the voltage of the battery is detected during operation, the current flowing out of the input terminal is supplied to the power supply line to the memory or the positive electrode connection side of the battery. Since the current flows from the line to the memory, the discharge of the battery during this period is suppressed, and the current at this time is small, so that the voltage of the battery in the backup state does not fluctuate.
Therefore, there is no adverse effect on the memory. As a result, wasteful power consumption of the backup battery can be suppressed at the time of battery voltage detection and at the time of backup.

【0008】[0008]

【実施例】図1は、この発明の電子装置をメモリカード
に適用した一実施例のブロック図であり、図2は、その
他の一実施例のブロック図、図3は、さらに他の一実施
例のブロック図である。図1において、1は、メモリカ
ードであって、メモリカードリーダ・ライタ2(以下リ
ーダ・ライタ2)に装着されて使用される。
FIG. 1 is a block diagram of an embodiment in which the electronic apparatus of the present invention is applied to a memory card, FIG. 2 is a block diagram of another embodiment, and FIG. 3 is another embodiment. FIG. 3 is a block diagram of an example. In FIG. 1, reference numeral 1 denotes a memory card, which is used by being mounted on a memory card reader / writer 2 (hereinafter, reader / writer 2).

【0009】メモリカード1は、半導体メモリとしての
RAM3と、その記憶データを保持するためのバックア
ップ電池4、バックアップ電池4の電力と外部から供給
される電力とを切換えてRAM3に電力を供給する電源
切換回路5、外部から電力を受けて基準電圧を発生する
基準電圧発生回路6、そして、この基準電圧をバックア
ップ電池4の電圧とを比較する電圧比較回路(COM)
7とを備えている。さらに、メモリカード1には、外部
から供給される電力を受けるための2つの電源端子8,
9と、バックアップ電池4の電圧と基準電圧とを比較し
てその判定結果を外部へ出力するために電圧比較回路7
の出力に接続された判定結果出力端子10、RAM3に
対するデータ及び制御信号用のバスに接続された端子群
11i …11n 、そしてグランド(GND)端子12と
が外部とのコネクタ端子として設けられている。
The memory card 1 includes a RAM 3 as a semiconductor memory, a backup battery 4 for holding the stored data, and a power supply for switching the power of the backup battery 4 and the power supplied from the outside to supply the power to the RAM 3. A switching circuit 5, a reference voltage generating circuit 6 for receiving a power from the outside to generate a reference voltage, and a voltage comparing circuit (COM) for comparing the reference voltage with the voltage of the backup battery 4
7 is provided. Further, the memory card 1 has two power supply terminals 8 for receiving power supplied from the outside,
9 and a voltage comparison circuit 7 for comparing the voltage of the backup battery 4 with the reference voltage and outputting the result of the determination to the outside.
, 11n... 11n connected to a bus for data and control signals to the RAM 3, and a ground (GND) terminal 12 are provided as external connector terminals. .

【0010】ここで、電源切換回路5は、カソード側が
共通にRAM3の電源端子Vccに接続された2個のダイ
オードD1 ,D2 で構成され、電源端子8から供給され
る電力をダイオードD1 を介してRAM3に供給する。
また、外部から電源端子8を介して電力が供給されてい
ないときには、この回路は、バックアップ電池4からの
電力をダイオードD2 を介してRAM3に供給し、外部
電力から内部のバックアップ電池4へと電力供給の切換
えを行う。電圧比較回路7は、図に示すように互いにエ
ミッタを接続した2つのPNP形トランジスタによる差
動増幅型の増幅器13を有していて、PNP形トランジ
スタのベースをそれぞれの(+),(−)位相の入力端
子とし、その(+)位相側入力端子がRAM3の電源端
子VCCに接続され、(−)位相側入力端子が基準電圧発
生回路6の出力に接続されている。なお、基準電圧発生
回路6と電圧比較回路7とは、電源端子9から供給され
る外部電力を受けて動作する。
Here, the power supply switching circuit 5 is composed of two diodes D 1 and D 2 whose cathodes are commonly connected to the power supply terminal Vcc of the RAM 3. The power supplied from the power supply terminal 8 is supplied to the diode D 1. Via the RAM 3.
When power is not supplied from the outside via the power supply terminal 8, this circuit supplies the power from the backup battery 4 to the RAM 3 via the diode D 2 , and supplies the power from the external power to the internal backup battery 4. The power supply is switched. The voltage comparison circuit 7 has a differential amplification type amplifier 13 composed of two PNP transistors whose emitters are connected to each other as shown in the figure. The bases of the PNP transistors are respectively (+) and (-). The (+) phase side input terminal is connected to the power supply terminal VCC of the RAM 3, and the (−) phase side input terminal is connected to the output of the reference voltage generating circuit 6. Note that the reference voltage generation circuit 6 and the voltage comparison circuit 7 operate by receiving external power supplied from the power supply terminal 9.

【0011】次に、その動作を説明すると、メモリカー
ド1がリーダ・ライタ2に装着された時に、リーダ・ラ
イタ2は、始めにその電源回路から電源端子9に電圧+
5Vの電力を供給する。なお、この装着時点では、電源
端子8側には電力が供給されない。そこで、まず、基準
電圧発生回路6と電圧比較回路7とが動作して、基準電
圧発生回路6がVref (基準電圧)を発生し、これを電
圧比較回路7の(−)位相入力端子側ヘと送出する。こ
の状態では電源端子8に電圧が供給されていないために
電源切換回路5の出力電圧、すなわちRAM3の電源電
圧Vccは、バックアップ電池4でバックアップされた電
圧となっている。そこで、この電圧(Vcc)の信号が電
圧比較回路7の(+)位相入力端子側の入力となり、こ
のバックアップ電池4からの電圧VccとVref の電圧と
が電圧比較回路7で比較され、その結果が判定結果出力
端子10に出力される。
Next, the operation will be described. When the memory card 1 is mounted on the reader / writer 2, the reader / writer 2 first applies a voltage + from the power supply circuit to the power supply terminal 9.
Supply 5V power. At this time, no electric power is supplied to the power supply terminal 8 side. Then, first, the reference voltage generation circuit 6 and the voltage comparison circuit 7 operate, and the reference voltage generation circuit 6 generates Vref (reference voltage), and sends this to the (−) phase input terminal side of the voltage comparison circuit 7. Is sent. In this state, since no voltage is supplied to the power supply terminal 8, the output voltage of the power supply switching circuit 5, that is, the power supply voltage Vcc of the RAM 3 is a voltage backed up by the backup battery 4. Then, the signal of this voltage (Vcc) becomes an input on the (+) phase input terminal side of the voltage comparison circuit 7, and the voltage Vcc from the backup battery 4 and the voltage of Vref are compared by the voltage comparison circuit 7, and as a result, Is output to the determination result output terminal 10.

【0012】このときの比較対象となる電圧は、バック
アップ電池4の電圧Va からダイオードD2 の順方向電
圧を引いた電圧であることからVccを比較することによ
りバックアップ電池4の電圧Va の低下を知ることがで
きる。そこで、今仮に、Vref を、RAM3のデータ保
持に必要な最低限の電圧(2.0 V)より 0.2V高い 2.2
Vに設定してあるものとし、電圧比較回路7は、(+)
位相入力端子の電圧が(−)位相入力端子の電圧より高
いときにHIGHレベル(以下“H”)の出力を発生し
て、逆の場合には、LOWレベル(以下“L”)の出力
を発生するものとする。
[0012] The reduction in comparison subject to voltage, the voltage of the backup battery 4 by comparing the Vcc from being a voltage obtained by subtracting the forward voltage of the diode D 2 from the voltage Va of the backup battery 4 Va at this time You can know. Therefore, it is now assumed that Vref is 0.2 V higher than the minimum voltage (2.0 V) required for holding data in the RAM 3.
V, and the voltage comparison circuit 7 outputs (+)
When the voltage of the phase input terminal is higher than the voltage of the (−) phase input terminal, an output of a HIGH level (hereinafter “H”) is generated, and in the opposite case, an output of a LOW level (hereinafter “L”) is generated. Shall occur.

【0013】さて、バックアップ電池4が所定の電圧を
発生し、その比較対象電圧Vccが 2.2V以上あるときに
は、判定結果出力端子10には“H”の出力が得られ
る。逆にバックアップ電池4の放電により比較対象電圧
Vccが低下してそれが 2.2V以下になったときには、判
定結果出力端子10には、“L”の出力が得られる。リ
ーダ・ライタ2は、この判定結果出力端子10の出力レ
ベルをメモリカード1が装着された時点で判定結果端子
10からの出力信号として得て、これを判定することで
バックアップ電池4の状態を検知し、もって、リーダ・
ライタ2は、電池交換が必要か否かを検知するものであ
る。
When the backup battery 4 generates a predetermined voltage and the comparison target voltage Vcc is 2.2 V or more, an output of "H" is obtained at the judgment result output terminal 10. Conversely, when the comparison target voltage Vcc decreases due to the discharge of the backup battery 4 and becomes 2.2 V or less, an output of "L" is obtained at the determination result output terminal 10. The reader / writer 2 obtains the output level of the determination result output terminal 10 as an output signal from the determination result terminal 10 when the memory card 1 is inserted, and detects the state of the backup battery 4 by determining this. And then, the leader
The writer 2 detects whether battery replacement is necessary.

【0014】ここで、電圧比較回路7の比較動作は、2
つのPNP形トランジスタによる差動増幅型の増幅器1
3により行われ、PNP形トランジスタのベースにRA
M3の電源端子VCCが接続されているので、電圧比較回
路7の入力端子にはPNP形トランジスタのベース電流
が流出してくる形態となっている。したがって、バック
アップ電池4の電圧を比較する状態にあっては、このベ
ース電流とバックアップ電池4からの電流の和がRAM
3へのバックアップのための電流となる。このベース電
流方向はバックアップ電池4を放電する方向とは逆のも
のであるためバックアップ電池4の電圧を検知する状態
では、電圧比較回路7の追加によるバックアップ電池4
の不必要な放電が行われない。また、RAM3のバック
アップに必要な電流量に対して前記の電圧比較回路7の
(+)位相入力端子から流出する電流は、極めて小さく
設定することができるので、バックアップ電池4のバッ
クアップ状態の電圧にほとんど影響を与えないで済む。
Here, the comparison operation of the voltage comparison circuit 7 is as follows.
Amplifier of Differential Amplification Type Using Two PNP Transistors 1
3 and RA is connected to the base of the PNP transistor.
Since the power supply terminal Vcc of M3 is connected, the base current of the PNP transistor flows out to the input terminal of the voltage comparison circuit 7. Therefore, when the voltage of the backup battery 4 is compared, the sum of the base current and the current from the backup battery 4 is equal to the RAM.
3 is a current for backup. Since this base current direction is opposite to the direction in which the backup battery 4 is discharged, in the state where the voltage of the backup battery 4 is detected, the backup battery 4
Unnecessary discharge is not performed. Further, the current flowing out of the (+) phase input terminal of the voltage comparison circuit 7 can be set extremely small with respect to the amount of current required for the backup of the RAM 3. Has little effect.

【0015】さらに、リーダ・ライタ2に装着されてい
ないとき、すなわち、バックアップ状態では、電圧比較
回路7と基準電圧発生回路6とバックアップ電池4との
関係は、単に、電圧比較回路7のPNP形トランジスタ
のベースにRAM3の電源端子VCCが接続されているだ
けであって、ベース側からコレクタ側をみた入力インピ
ーダンスが非常に高いので、消費される電力も極めて微
小なものとなり、電力がほとんど消費されない状態に抑
えることができる。ところで、リーダ・ライタ2は、メ
モリカード1の装着時に、判定結果出力端子10からの
出力を信号を判定してバックアップ電池4の電圧検知を
行ったときに、その判定出力が“H”であれば、電池の
交換時期ではないものとし、データの授受可(OK)と
判定して、電源端子8に+5Vの電圧の電力を供給す
る。そして、バックアップ電池4によるバックアップを
中止させて、端子111,…11n を介してRAM3と
の間でデータ授受の処理に入る。
Further, when not mounted on the reader / writer 2, that is, in the backup state, the relationship between the voltage comparison circuit 7, the reference voltage generation circuit 6, and the backup battery 4 is simply the PNP type of the voltage comparison circuit 7. Since only the power supply terminal VCC of the RAM 3 is connected to the base of the transistor and the input impedance from the base side to the collector side is very high, the power consumed is extremely small and almost no power is consumed. State can be suppressed. By the way, when the reader / writer 2 determines the signal from the output from the determination result output terminal 10 and detects the voltage of the backup battery 4 when the memory card 1 is inserted, the determination output is “H”. For example, it is not time to replace the battery, and it is determined that data transmission / reception is possible (OK), and power of +5 V is supplied to the power supply terminal 8. Then, the backup by the backup battery 4 is stopped, and the process of data transfer with the RAM 3 via the terminals 11 1 ,.

【0016】なお、リーダ・ライタ2は、このデータ授
受の段階では、判定結果出力端子10の状態については
無視して所定のデータ処理を実行する。また、リーダ・
ライタ2がバックアップ電池4の電圧検知を行ってOK
となったときには、リーダ・ライタ2は、その時点で電
源端子9での電力供給を停止するように処理してもよ
い。メモリカード1がリーダ・ライタ2から排出された
時或いは取出された時には、電源端子9がGNDにショ
ートされるような場合もあるが、このようなことがあっ
ても電圧比較回路7の入力段がPNP形トランジスタで
あるため、入力インピーダンスが高いのでバックアップ
電池4の不必要な放電が起きることはない。
In this data transfer stage, the reader / writer 2 ignores the state of the determination result output terminal 10 and executes predetermined data processing. In addition, leader ・
Writer 2 detects voltage of backup battery 4 and OK
, The reader / writer 2 may perform processing so as to stop the power supply at the power supply terminal 9 at that time. When the memory card 1 is ejected or removed from the reader / writer 2, the power supply terminal 9 may be short-circuited to GND in some cases. Is a PNP transistor, so that the input impedance is high, so that unnecessary discharge of the backup battery 4 does not occur.

【0017】図2は、図1の電圧比較回路7の(+)位
相入力端子がバックアップ電池4に直接接続された他の
実施例である。この場合には、バックアップ電池4がR
AM3をバックアップしている時に電源端子9に+5V
の電力を供給してバックアップ電池4の電圧と基準電圧
Vref とを比較し、バックアップ電池4の良否を判断す
る。この回路は、図1の実施例と同様に電圧比較回路7
の(+)位相入力端子からベース電流が流れ出してくる
ため、電源端子9に+5Vが供給されているときには、
バックアップ電池4を充電するモードとなる。そこで、
このようなことを防止するために、図2の回路では、電
圧比較を終えた後にリーダ・ライタ2は、電源端子9の
電力供給を“OFF”にして、電源端子8に+5Vの電
圧の電力を供給するようにするように電源供給の切換え
る処理を行う。
FIG. 2 shows another embodiment in which the (+) phase input terminal of the voltage comparison circuit 7 of FIG. 1 is directly connected to the backup battery 4. In this case, the backup battery 4
+ 5V to power supply terminal 9 when backing up AM3
Is supplied, the voltage of the backup battery 4 is compared with the reference voltage Vref, and the quality of the backup battery 4 is determined. This circuit is similar to the embodiment of FIG.
Since the base current flows from the (+) phase input terminal of FIG.
The mode for charging the backup battery 4 is set. Therefore,
In order to prevent such a situation, in the circuit of FIG. 2, after completing the voltage comparison, the reader / writer 2 turns off the power supply of the power supply terminal 9 and supplies the power supply terminal 8 with the power of + 5V. Is performed to switch the power supply so as to supply the power.

【0018】以上は、電源を+5Vとして、正の電源電
圧を加え、RAM3を動作させるものであるが、負の電
源を加える場合には、図3に示すように、電圧比較回路
の電流切換型の増幅器13をPNPトランジスタからN
PNトランジスタからなる差動増幅型の増幅器13aと
すればよい。図3は、電圧比較回路7aの入力段をNP
N形トランジスタとすることにより負の電源で動作させ
るようにしたものであって、この場合に、RAM3aを
バックアップするための電流は、グランド側であるGN
D端子12から負荷であるRAM3aに供給されて、R
AM3aから流れ出た電流がバックアップ電池4aと電
圧比較回路7aとに分流する。そこで、電圧比較回路7
aに流れる電流は、バックアップ電池4から供給されな
いで済む。
In the above description, the power supply is set to +5 V and a positive power supply voltage is applied to operate the RAM 3. However, when a negative power supply is applied, as shown in FIG. Amplifier 13 from the PNP transistor to N
What is necessary is just to make it the differential amplification type amplifier 13a which consists of a PN transistor. FIG. 3 shows that the input stage of the voltage comparison circuit 7a is NP
An N-type transistor is used to operate with a negative power supply. In this case, the current for backing up the RAM 3a is GN which is on the ground side.
D is supplied from the D terminal 12 to the RAM 3a, which is a load.
The current flowing out of the AM 3a is divided into the backup battery 4a and the voltage comparison circuit 7a. Therefore, the voltage comparison circuit 7
The current flowing through a does not need to be supplied from the backup battery 4.

【0019】したがって、電圧比較回路7aの(+)位
相入力端子から流入する電流によってバックアップ電池
4aが放電することはない。図3は、負電源のリーダ・
ライタ等の電子機器にメモリカード1aを装着する場合
であるが、この場合には、電源端子8a、9aに供給さ
れる電力の電圧は−5Vとなる。なお、リーダ・ライタ
からの電力の供給のシーケンスは、図1の実施例と同様
であって、まず、電源端子9aに−5V電源から電力を
供給し、判定結果出力端子10aから出力信号を受けて
バックアップ電池4aの検査を行い、その判定結果がO
Kであるときに、その後、電源端子8aに−5Vの電力
の供給を開始する。
Therefore, the backup battery 4a is not discharged by the current flowing from the (+) phase input terminal of the voltage comparison circuit 7a. Figure 3 shows a negative power reader
This is a case where the memory card 1a is mounted on an electronic device such as a writer. In this case, the voltage of the power supplied to the power terminals 8a and 9a is -5V. The sequence of power supply from the reader / writer is the same as that of the embodiment of FIG. 1. First, power is supplied to the power supply terminal 9a from a -5V power supply, and an output signal is received from the determination result output terminal 10a. The backup battery 4a is inspected by the
When it is K, thereafter, the supply of -5V power to the power supply terminal 8a is started.

【0020】ところで、以上の実施例においては、バッ
クアップ電池4,4aの電圧を検知した判定結果出力端
子10,10aの判定結果出力が“L”となり、電池交
換状態を示しているときには、バックアップ電池4,4
aの電力が消耗状態にある。そこで、リーダ・ライタ2
は、メモリカード1,1aとのデータ授受を行わず、電
池交換を指示するメッセージをその表示装置に表示する
か、或いはメモリカード1,1aをエジェクトして排出
するものである。このように、バックアップ用電池の発
生電圧をバックアップ時に検知する場合に、その検知用
電圧比較回路の入力バイアス電流についてはバックアッ
プ用電池を放電する方向とはせずに、逆にメモリに流し
込む(負電源ではメモリから流れ出る電流を分流して流
し込む)構成としているので、バックアップ用の電池の
不必要な放電をほとんど抑えることができる。また、バ
ックアップの状態では、ほとんどバックアップに必要な
電力のみの電力消費で済む。
By the way, in the above embodiment, when the judgment result output of the judgment result output terminals 10 and 10a detecting the voltages of the backup batteries 4 and 4a becomes "L" and indicates the battery replacement state, 4,4
The power of a is in a consumption state. Therefore, reader / writer 2
Does not exchange data with the memory cards 1 and 1a and displays a message instructing battery replacement on the display device, or ejects and discharges the memory cards 1 and 1a. As described above, when the generated voltage of the backup battery is detected at the time of backup, the input bias current of the detection voltage comparison circuit does not flow in the direction of discharging the backup battery but flows into the memory (negative). Since the power supply is configured to shunt the current flowing from the memory), unnecessary discharge of the backup battery can be almost suppressed. Also, in the backup state, only power consumption required for backup is sufficient.

【0021】以上説明してきたが、実施例では、バック
アップ電池の交換時期を検出する信号を判定結果出力端
子から得ているが、これに限らず、電圧比較回路の比較
基準となる基準電圧の値を変えれば、それに応じて電池
の消耗状態をはじめとして各種のバックアップ電池の状
態を検出することができる。また、判定結果信号の
“H”,“L”は、どちらを電池交換の時期を示す信号
としてもく、電源電圧も5Vに限定されるものではな
い。また、実施例では、メモリカードを中心としてこの
発明を説明しているが、この発明は、ICカードやメモ
リカートリッジ等、電池によりバックアップする必要の
あるメモリを有する各種のデバイス、さらに、これらの
ほか、電池によりバックアップされる各種の電子機器に
適用することができる。実施例では、電圧比較回路の入
力段にPNPトランジスタ,NPNトランジスタを用い
た例を挙げているが、これらは、バイポーラトランジス
タでも、MOSトランジスタでもよく、また、他の同様
な半導体回路であってもよい。
As described above, in the embodiment, the signal for detecting the time of replacement of the backup battery is obtained from the determination result output terminal. However, the present invention is not limited to this. In this case, the state of various backup batteries including the state of exhaustion of the battery can be detected. Either "H" or "L" of the determination result signal may be a signal indicating the time of battery replacement, and the power supply voltage is not limited to 5V. Further, in the embodiments, the present invention has been described centering on a memory card. However, the present invention relates to various devices having a memory that needs to be backed up by a battery, such as an IC card and a memory cartridge, and further, other devices. The present invention can be applied to various electronic devices that are backed up by a battery. In the embodiment, an example is described in which a PNP transistor and an NPN transistor are used in the input stage of the voltage comparison circuit. However, these may be bipolar transistors, MOS transistors, or other similar semiconductor circuits. Good.

【0022】[0022]

【発明の効果】以上説明したように、この発明では、電
圧比較回路の比較端子を電流流出型(負の電源では流入
型)のものとし、外部からの電力で電圧比較回路を動作
させ、かつ動作状態にないときに高いインピーダンスを
保持するようにする。さらに、外部から電力をメモリに
供給する端子とは独立に電力供給端子を設けて電圧比較
回路および基準電圧発生回路をその電力で独立に動作す
るようにしている。そして、バックアップ電池の電圧検
出状態では、電圧比較用の入力端子の入力電流とバック
アップ電池からの電流の和がメモリ等の対象回路にバッ
クアップ電流として流れるようにする(負の電源では負
荷側からの負の電源ラインに流れてくる電流を電池手前
で分流させる)ことにより、電池の電圧検知時点でも、
また、バックアップ時点でもバックアップ用の電池の無
駄な電力消費を抑えることができる。
As described above, according to the present invention, the comparison terminal of the voltage comparison circuit is of a current outflow type (inflow type for a negative power supply), the voltage comparison circuit is operated by external power, and Maintain high impedance when not in operation. In addition, external power is stored in memory
Provide a power supply terminal independent of the supply terminal and compare the voltage
Circuit and the reference voltage generation circuit operate independently with that power.
I am trying to. Then, in the voltage detection state of the backup battery, the sum of the input current of the input terminal for voltage comparison and the current from the backup battery is caused to flow as a backup current to a target circuit such as a memory (in the case of a negative power supply, the load from the load side). By dividing the current flowing in the negative power line before the battery), even when the battery voltage is detected,
Further, even at the time of backup, useless power consumption of the backup battery can be suppressed.

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

【図1】図1は、この発明の電子装置をメモリカードに
適用した一実施例のブロック図である。
FIG. 1 is a block diagram of an embodiment in which an electronic device of the present invention is applied to a memory card.

【図2】図2は、その他の一実施例のブロック図であ
る。
FIG. 2 is a block diagram of another embodiment.

【図3】図3は、さらに他の一実施例のブロック図であ
る。
FIG. 3 is a block diagram of still another embodiment.

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

1,1a…メモリカード、2…メモリカードリーダ・ラ
イタ、3,3a…RAM、4,4a…バックアップ電
池、5,5a…電源切換回路、6,6a…基準電圧発生
回路、7,7a…電圧比較回路、8,8a,9,9a…
電源端子、10,10a…判定結果出力端子、11,1
1a…RAMのデータ/制御用端子群、12,12a…
グランド(GND)端子。
1, 1a: memory card, 2: memory card reader / writer, 3, 3a: RAM, 4, 4a: backup battery, 5, 5a: power supply switching circuit, 6, 6a: reference voltage generation circuit, 7, 7a: voltage Comparison circuit, 8, 8a, 9, 9a ...
Power supply terminal, 10, 10a ... judgment result output terminal, 11, 1
1a: RAM data / control terminal group, 12, 12a ...
Ground (GND) terminal.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H02J 7/00 G06K 19/00 J (56)参考文献 特開 平2−30599(JP,A) 特開 昭62−241016(JP,A) 特開 昭57−173220(JP,A) 特開 昭58−154672(JP,A) 実開 昭64−39520(JP,U) 実開 昭63−92976(JP,U) 実開 昭60−53065(JP,U) 実開 昭58−134774(JP,U) 実開 昭61−178479(JP,U) (58)調査した分野(Int.Cl.6,DB名) G01R 19/00 - 19/32 G01R 31/36 B42D 15/10 G06F 1/28 G06K 19/07 - 19/077 H02J 7/00 ────────────────────────────────────────────────── (5) Continuation of the front page (51) Int.Cl. 6 Identification symbol FI H02J 7/00 G06K 19/00 J (56) References JP-A-2-30599 (JP, A) JP-A-62-241016 ( JP, A) JP-A-57-173220 (JP, A) JP-A-58-154672 (JP, A) Actually open Showa 64-39520 (JP, U) Actually open Showa 63-92976 (JP, U) Actually open Showa 60-53065 (JP, U) Actually open Showa 58-134774 (JP, U) Actually open Showa 61-178479 (JP, U) (58) Fields investigated (Int. Cl. 6 , DB name) G01R 19 / 00-19/32 G01R 31/36 B42D 15/10 G06F 1/28 G06K 19/07-19/077 H02J 7/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】電池によりバックアップされるメモリを有
する電子装置において、前記電池によりバックアップさ
れるメモリへの電源供給ライン又は前記電池の正極接続
側ラインに接続された電流流出型の入力端子を有する電
圧比較回路と、外部から供給される電力に応じて基準電
圧を発生する基準電圧発生回路と、前記メモリに外部か
ら電力を供給する第1の端子と、前記電圧比較回路およ
び前記基準電圧発生回路に対して前記第1の端子とは独
立に外部から電力を供給する第2の端子とを備え、前記
電圧比較回路と前記基準電圧発生回路は前記第2の端子
から供給される電力により動作して前記入力端子の電圧
と前記基準電圧とを比較して外部に比較結果を出力し、
前記入力端子は前記電圧比較回路が動作状態にないとき
には高い入力インピーダンスとなっていることを特徴と
する電子装置。
1. An apparatus having a memory backed up by a battery.
An electronic device that includes a voltage comparator circuit having an input terminal of the positive electrode connecting end connected current outflow type to the line of the power supply line or the battery to the memory that is backed up by the battery, depending on the power supplied from the outside a reference voltage generating circuit for generating a reference voltage Te, or external to the memory
A first terminal for supplying power from the
The first terminal for the reference voltage generating circuit
A second terminal for supplying power from the outside , and wherein the voltage comparison circuit and the reference voltage generation circuit operate with the power supplied from the second terminal to operate the voltage of the input terminal. And outputs the comparison result to the outside by comparing with the reference voltage,
The electronic device, wherein the input terminal has a high input impedance when the voltage comparison circuit is not operating.
【請求項2】グランド側を正極側とした負の電圧出力の
電池によりバックアップされるメモリを有する電子装置
において、前記電池によりバックアップされるメモリへ
の負電源供給ライン又は前記電池の負極接続側ラインに
接続された電流流入型の入力端子を有する電圧比較回路
と、外部から供給される電力に応じて基準電圧を発生す
る基準電圧発生回路と、前記メモリから流出する電流を
外部に流すために外部から前記負の電圧出力にされる第
1の端子と、前記電圧比較回路および前記基準電圧発生
回路に対して前記第1の端子とは独立に外部から前記負
の電圧出力にされる第2の端子とを備え、前記電圧比較
回路と前記基準電圧発生回路は前記グランド側から供給
され前記第2の端子を経て流出する電力により動作して
前記入力端子の電圧と前記基準電圧とを比較して外部に
比較結果を出力し、前記入力端子は前記電圧比較回路が
動作状態にないときには高い入力インピーダンスとなっ
ていることを特徴とする電子装置。
2. An electronic device having a memory which is backed up by a battery having a negative voltage output with the ground side being a positive side, wherein a negative power supply line to the memory which is backed up by the battery or a negative connection side line of the battery. A voltage comparison circuit having a current inflow type input terminal connected to a reference voltage generation circuit that generates a reference voltage according to power supplied from the outside, and a current flowing out of the memory.
The negative voltage output from the outside to flow to the outside
1 terminal, the voltage comparison circuit and the reference voltage generation
The circuit has the negative terminal independent of the first terminal.
And a second terminal for outputting a voltage of the reference voltage , wherein the voltage comparison circuit and the reference voltage generation circuit are supplied from the ground side.
Operating by the power flowing out through the second terminal, comparing the voltage of the input terminal with the reference voltage, and outputting a comparison result to the outside, and the input terminal is not operating the voltage comparison circuit. An electronic device characterized by sometimes having a high input impedance.
【請求項3】電子装置は、メモリカード又はICカード
であり、基準電圧は、電池の交換要否を検出するために
設定される電圧であることを特徴とする請求項1又は2
記載の電子装置。
3. The electronic device is a memory card or an IC card, and the reference voltage is a voltage set for detecting whether or not the battery needs to be replaced.
An electronic device as described.
JP9048513A 1997-02-17 1997-02-17 Electronic equipment Expired - Lifetime JP2890302B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9048513A JP2890302B2 (en) 1997-02-17 1997-02-17 Electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9048513A JP2890302B2 (en) 1997-02-17 1997-02-17 Electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP63182045A Division JP2657829B2 (en) 1988-07-21 1988-07-21 Backup battery voltage detection method

Publications (2)

Publication Number Publication Date
JPH09251042A JPH09251042A (en) 1997-09-22
JP2890302B2 true JP2890302B2 (en) 1999-05-10

Family

ID=12805462

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9048513A Expired - Lifetime JP2890302B2 (en) 1997-02-17 1997-02-17 Electronic equipment

Country Status (1)

Country Link
JP (1) JP2890302B2 (en)

Also Published As

Publication number Publication date
JPH09251042A (en) 1997-09-22

Similar Documents

Publication Publication Date Title
EP0861468B1 (en) Automatic voltage detection in multiple voltage applications
US5224010A (en) Power supply supervisor with independent power-up delays and a system incorporating the same
US6654264B2 (en) System for providing a regulated voltage with high current capability and low quiescent current
US8699195B2 (en) System and method for detection of multiple current limits
EP0696832A2 (en) Power supply unit for an electronic system and a method for controlling the unit
EP0187369A2 (en) Power supply system for an electronic apparatus having memory
US5761061A (en) Data processing medium, its backup circuit, and data processing system
US6304256B1 (en) Display unit
US4831595A (en) Low voltage power down logic control circuit
JP2001119868A (en) Battery life extending power-switching device for all- time operation system
EP0181943A1 (en) Data-holding circuit in a memory
KR20010049689A (en) Data processing circuit having a waiting mode
JPS6128319Y2 (en)
JP2890302B2 (en) Electronic equipment
JPH08182214A (en) Circuit for controlling discharge of auxiliary battery and circuit for charging/discharging auxiliary battery and disconnecting auxiliary battery from main battery
JP2657829B2 (en) Backup battery voltage detection method
US5042065A (en) Resetting circuit in a key-telephone system
EP0437129A2 (en) Card type semiconductor device
CN116662232A (en) Electronic equipment and detection method
EP0369782A2 (en) Drive circuit for operating an appliance such as a printer
JPH1078834A (en) Power supply voltage detection circuit and IC card having the same
KR20000047865A (en) Current measuring method and current measuring apparatus
KR0151498B1 (en) Power supply using DC-DC converter
EP0734546B1 (en) Data processing medium, its backup circuit, and data processing system
US20240072664A1 (en) Power management chip, electronic device having the same, and operating method thereof

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: 19990112

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090226

Year of fee payment: 10

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090226

Year of fee payment: 10