JPH1040351A - IC memory card - Google Patents

IC memory card

Info

Publication number
JPH1040351A
JPH1040351A JP8195869A JP19586996A JPH1040351A JP H1040351 A JPH1040351 A JP H1040351A JP 8195869 A JP8195869 A JP 8195869A JP 19586996 A JP19586996 A JP 19586996A JP H1040351 A JPH1040351 A JP H1040351A
Authority
JP
Japan
Prior art keywords
battery
voltage
circuit
external device
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
JP8195869A
Other languages
Japanese (ja)
Inventor
Koji Sakuta
浩司 作田
Koichi Toyokuni
康一 豊國
Yoshiaki Imanishi
吉昭 今西
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP8195869A priority Critical patent/JPH1040351A/en
Publication of JPH1040351A publication Critical patent/JPH1040351A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/0701Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips at least one of the integrated circuit chips comprising an arrangement for power management
    • G06K19/0702Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips at least one of the integrated circuit chips comprising an arrangement for power management the arrangement including a battery
    • G06K19/0705Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips at least one of the integrated circuit chips comprising an arrangement for power management the arrangement including a battery the battery being connected to a power saving arrangement

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Credit Cards Or The Like (AREA)
  • Power Sources (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

(57)【要約】 【課題】 電池によって内蔵する揮発性メモリの記憶内
容を保持するICメモリカードにおいて、この電池によ
る記憶内容保持の信頼性向上と省電力化を目的とする。 【解決手段】 外部機器2と接続された接続部1、メモ
リ部3、電池4、供給電源を切り換え制御する電源制御
部5、メモリ部3を制御する制御部6、分圧回路11
と、電池4の端子電圧を分圧回路11へ供給するスイッ
チ回路12と、分圧回路11の出力電圧を検出する第1
の電圧検出回路13と、第1の電圧検出回路13の出力
信号を受けて接続部1に供給する出力回路14とで構成
された電池電圧検出部7とを備えており、これにより第
1の電圧検出回路13の誤動作もなく、電池4の高寿命
化を計ることができるICメモリカードを提供できる。
(57) [Problem] To provide an IC memory card that retains the stored content of a volatile memory built in by a battery, with the object of improving the reliability of retaining the stored content by the battery and saving power. SOLUTION: A connection unit 1 connected to an external device 2, a memory unit 3, a battery 4, a power supply control unit 5 for controlling switching of a power supply, a control unit 6 for controlling the memory unit 3, and a voltage dividing circuit 11.
A switch circuit 12 for supplying a terminal voltage of the battery 4 to the voltage dividing circuit 11, and a first circuit for detecting an output voltage of the voltage dividing circuit 11.
, And a battery voltage detection unit 7 including an output circuit 14 that receives an output signal of the first voltage detection circuit 13 and supplies the output signal to the connection unit 1. It is possible to provide an IC memory card which can extend the life of the battery 4 without malfunction of the voltage detection circuit 13.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、記憶保持のために
電池を内蔵したICメモリカードに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an IC memory card having a built-in battery for storing data.

【0002】[0002]

【従来の技術】近年、ICメモリカードは、RAM、R
OMなどのメモリLSIを内蔵した携帯記憶媒体とし
て、多方面で利用されている。
2. Description of the Related Art In recent years, IC memory cards include RAM, R
It is widely used as a portable storage medium incorporating a memory LSI such as an OM.

【0003】この際、揮発性メモリを内蔵したICメモ
リカードでは、記憶保持のために電池を用いてバックア
ップする必要があり、その信頼性を高めるために、電池
の端子電圧を検出して電池の放電状態を常に監視し、放
電容量の低下に伴う記憶内容の消失を防止する必要があ
った。
At this time, in the case of an IC memory card having a built-in volatile memory, it is necessary to back up the battery using a battery in order to retain the memory. In order to enhance the reliability, the terminal voltage of the battery is detected to detect the battery voltage. It is necessary to constantly monitor the state of discharge and prevent loss of stored contents due to a decrease in discharge capacity.

【0004】以下図面を参照しながら、従来のICメモ
リカードの記憶内容保護の仕組みについて説明する。
[0004] Referring to the drawings, a description will be given of a mechanism for protecting the stored contents of a conventional IC memory card.

【0005】図4において15は接続部であり、外部機
器16から電源供給され、信号の授受を行う。17はメ
モリLSIからなるメモリ部で、データの読み出し書き
込みをする揮発性メモリであるスタティックRAMやダ
イナミックRAMを少なくとも1つ含んでいる。18は
電池で、外部機器16から接続部15を介して電源が供
給されていない時にメモリ部17の揮発性メモリの記憶
内容を保持するバックアップ用電源である。19は電源
制御部で、メモリ部17への電源供給源を外部機器16
から電池18に、もしくは電池18から外部機器16に
切り換え制御する。20はメモリ制御部で、接続部15
を介して外部機器16からの信号によりメモリ部17を
制御する。21は電池電圧検出部であり、電池18の端
子電圧を検出し、検出結果を接続部15に供給して、外
部機器16がその情報を受けて電池18の状態を把握す
ることによって、ICメモリカードの記憶内容を保護す
るための各信号を出力する。
In FIG. 4, reference numeral 15 denotes a connection unit, which is supplied with power from an external device 16 and transmits and receives signals. Reference numeral 17 denotes a memory unit composed of a memory LSI, which includes at least one static RAM or dynamic RAM which is a volatile memory for reading and writing data. Reference numeral 18 denotes a battery, which is a backup power supply that retains the contents stored in the volatile memory of the memory unit 17 when power is not supplied from the external device 16 via the connection unit 15. Reference numeral 19 denotes a power control unit which supplies a power supply to the memory unit 17 to the external device 16.
From the battery 18 or from the battery 18 to the external device 16. Reference numeral 20 denotes a memory control unit, and a connection unit 15
The memory unit 17 is controlled by a signal from the external device 16 via the. Reference numeral 21 denotes a battery voltage detection unit which detects a terminal voltage of the battery 18 and supplies a detection result to the connection unit 15 so that the external device 16 receives the information and grasps the state of the battery 18 so that an IC memory is detected. Each signal for protecting the stored contents of the card is output.

【0006】図5に示す電池電圧検出部21の回路図に
おいて、21Aは基準電圧発生器で、21B、21C、
21D、21Eはいずれも抵抗器で、21Fと21Gは
電圧比較器である。電圧比較器21Fと21Gの出力信
号が共にハイレベルの時は、電池18の端子電圧は正常
であってメモリ部17のデータは、記憶保持されている
ことを示す信号を接続部15に出力し、この信号を受け
て外部機器16は使用者に電池電圧は正常であることを
伝達している。電池18の使用に伴い電池電圧が低下
し、電圧比較器21Fの出力信号のみがローレベルにな
ると、電池18の端子電圧が低下しており、電池18を
交換もしくは充電する必要が生じたことを示す。この
際、電池18によりメモリ部17はまだ記憶保持されて
おり、この情報も正常時と同様の方法で外部機器16か
ら使用者に伝達している。そして電圧比較器21Fと2
1Gの出力信号が共にローレベルになると、電池18の
端子電圧がさらに低下し、電池18を交換もしくは充電
する必要が生じていると共に、メモリ部17は既に記憶
保持できていないこととを示す信号を正常時と同様の方
法で、外部機器16から使用者に伝達している。
In the circuit diagram of the battery voltage detecting section 21 shown in FIG. 5, reference numeral 21A is a reference voltage generator, and 21B, 21C,
21D and 21E are resistors, and 21F and 21G are voltage comparators. When the output signals of the voltage comparators 21F and 21G are both at a high level, a signal indicating that the terminal voltage of the battery 18 is normal and the data of the memory unit 17 is stored and output is output to the connection unit 15. Upon receiving this signal, the external device 16 informs the user that the battery voltage is normal. When the battery voltage decreases with the use of the battery 18 and only the output signal of the voltage comparator 21F becomes low level, the terminal voltage of the battery 18 decreases, and it is necessary to replace or charge the battery 18. Show. At this time, the memory unit 17 is still stored and held by the battery 18, and this information is also transmitted from the external device 16 to the user in the same manner as in the normal state. And the voltage comparators 21F and 2
When both of the 1G output signals become low level, the terminal voltage of the battery 18 further decreases, and it is necessary to replace or charge the battery 18, and the signal indicating that the memory unit 17 has not been able to store the data. Is transmitted from the external device 16 to the user in the same manner as in the normal state.

【0007】[0007]

【発明が解決しようとする課題】しかしながら上記従来
の構成では、図5に示す記憶保持動作に関連しない抵抗
器21Eによる電力消費が生じてしまう。これにより、
限られた電池の電気容量を有効に活用できず、電池寿命
の短命化につながる。例えば、128KバイトSRAM
カードでは、低消費電力タイプの1MビットSRAMの
バックアップ電流を1μAとし、抵抗器21Eに1MΩ
を用い、電池の端子電圧を3Vとすると、抵抗器21E
への電池の放電電流は3μAとなって抵抗器21Eが存
在しない場合と比較して電池寿命は1/4程度に低下し
てしまう。
However, in the above-mentioned conventional configuration, power is consumed by the resistor 21E which is not related to the memory holding operation shown in FIG. This allows
The limited electric capacity of the battery cannot be used effectively, which leads to a shorter life of the battery. For example, 128K byte SRAM
In the card, the backup current of the low power consumption type 1 Mbit SRAM is set to 1 μA, and 1 MΩ is connected to the resistor 21 </ b> E.
And the terminal voltage of the battery is 3 V, the resistor 21E
The discharge current of the battery becomes 3 μA, and the battery life is reduced to about 1 / as compared with the case where the resistor 21E is not present.

【0008】しかし、単に抵抗器21Eの抵抗値を小さ
くするもしくは抵抗器21Eを削除するだけでは、電池
を装着していない場合に電圧比較器21Fと21Gの入
力端子が開放状態となって、入力バイアス電流の影響
や、ハイインピーダンス入力を開放状態にすることによ
るノイズの影響等で、誤動作を生じ、電圧比較器21F
と21Gの出力信号がハイレベルになり、電池を装着し
ていないにもかかわらず、前記外部機器では電池の端子
電圧は正常であって、メモリ部のデータは正常に記憶保
持されると判断してしまう場合があった。
However, simply reducing the resistance value of the resistor 21E or removing the resistor 21E causes the input terminals of the voltage comparators 21F and 21G to be open when no batteries are installed, and causes the input to occur. A malfunction occurs due to the influence of the bias current, the influence of noise caused by opening the high impedance input, and the like.
And the output signal of 21G becomes high level, and it is determined that the terminal voltage of the battery is normal and the data of the memory unit is normally stored and held even though the battery is not mounted. There was a case.

【0009】本発明はこのような従来の問題点を解決す
るためのものであり、電池寿命を延ばし、電池を装着し
ていない場合においても誤動作を生じない電池電圧検出
部を実現することができる信頼性の高いICメモリカー
ドを提供することを目的とする。
The present invention has been made to solve such a conventional problem, and can realize a battery voltage detecting section which extends the life of a battery and does not cause a malfunction even when a battery is not mounted. It is an object to provide a highly reliable IC memory card.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に本発明は、外部機器から電源の供給を受けると共に信
号の授受を行う接続部と、少なくとも1つの揮発性メモ
リを含むメモリ部と、前記外部機器からの信号により前
記メモリ部を制御するメモリ制御部と、前記メモリ部の
揮発性メモリの記憶保持を行う電池と、前記外部機器と
前記電池からの電源供給を切り換え制御する電源制御部
と、前記電池の端子電圧を検出する電池電圧検出部とを
備え、前記電池電圧検出部が、分圧回路、前記電池の端
子電圧を前記分圧回路へ供給するスイッチ回路、前記分
圧回路の出力電圧を検出する第1の電圧検出回路および
前記第1の電圧検出回路の出力信号を受けて前記接続部
に信号を供給する出力回路から構成されており、これに
より電力消費を抑えられ、電池未装着時には、前記分圧
回路により前記電圧検出回路の入力端子の開放を防止す
るものであり、この構成によって電池の高寿命化を計る
ことができると共に、電池を装着していない場合におい
ても誤動作を防止することができる。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a connection unit receiving power from an external device and transmitting and receiving a signal, a memory unit including at least one volatile memory, A memory control unit that controls the memory unit according to a signal from the external device; a battery that stores and holds volatile memory of the memory unit; and a power control unit that controls switching between power supply from the external device and the battery. And a battery voltage detection unit that detects a terminal voltage of the battery, wherein the battery voltage detection unit includes a voltage dividing circuit, a switch circuit that supplies a terminal voltage of the battery to the voltage dividing circuit, and a voltage dividing circuit. A first voltage detection circuit for detecting an output voltage; and an output circuit for receiving an output signal of the first voltage detection circuit and supplying a signal to the connection unit, thereby suppressing power consumption. When the battery is not mounted, the voltage dividing circuit prevents the input terminal of the voltage detection circuit from being opened, and this configuration can extend the life of the battery, and can be used when the battery is not mounted. Also, malfunction can be prevented.

【0011】また上記発明において、電源制御部は、外
部機器から供給される電源電圧を検出する第2の電圧検
出回路、前記第2の電圧検出回路の出力信号によりリセ
ットパルスを発生するパルス回路、前記外部機器と電池
からの電源供給を切り換え制御する切り換え回路とから
構成することにより、リセットパルスでメモリ制御部を
介して前記メモリ部を制御し、電源電圧の変動時のノイ
ズによるメモリ部のデータの記憶内容破壊を防止するこ
とができる。
In the above invention, the power supply control section includes a second voltage detection circuit for detecting a power supply voltage supplied from an external device, a pulse circuit for generating a reset pulse based on an output signal of the second voltage detection circuit, The external device and the switching circuit for switching and controlling the power supply from the battery control the memory unit via the memory control unit with a reset pulse, and the data in the memory unit due to noise when the power supply voltage fluctuates. Can be prevented from being destroyed.

【0012】さらに上記発明において、外部機器の電源
がオフ状態からオン状態に切り換えられた際のみに、電
池電圧検出部は前記電池の電圧検出を行い、接続部を介
して前記外部機器へ検出結果を送出し、前記外部機器の
電源が再度オフ状態とされるまで出力回路が前記検出結
果を保持する構成とすると、外部機器がオンとなってい
る際は消耗することのない電池の不要な電圧検出を防止
することができ、かつ外部機器がこの検出結果を用いて
メモリ部のデータの記憶内容が有効か無効か、また新た
なデータの記憶が可能か否かを常時判断することができ
る。
Further, in the above invention, the battery voltage detector detects the voltage of the battery only when the power of the external device is switched from the off state to the on state, and sends the detection result to the external device via the connection unit. And the output circuit holds the detection result until the power supply of the external device is turned off again, so that when the external device is on, the unnecessary voltage of the battery which is not consumed is not consumed. The detection can be prevented, and the external device can always use the detection result to determine whether the data stored in the memory unit is valid or invalid, and whether new data can be stored.

【0013】[0013]

【発明の実施の形態】以下、本発明の好ましい実施の形
態について、図面を参照しつつ詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the drawings.

【0014】図1において、1は接続部であり、外部機
器2からの電源の供給を受けると共に、信号の授受を行
う。3はメモリLSIからなるメモリ部であり、外部機
器2から接続部1を介してデータの読み出し書き込みを
する揮発性メモリであるスタティックRAMやダイナミ
ックRAMを少なくとも1つ含んでいる。4は電池であ
り、外部機器2から接続部1を介して電源が供給されて
いない時にメモリ部3の揮発性メモリの記憶内容を保持
するバックアップ用電源である。5は電源制御部であ
り、メモリ部3の記憶内容保持のための電源供給源を、
外部機器2から電池4に、もしくは電池4から外部機器
2に切り換え制御する。6はメモリ制御部であり、接続
部1を介して外部機器2からの信号を受けてメモリ部3
を制御する。7は電池電圧検出部であり、電池4の端子
電圧を検出する。検出結果は接続部1を介して、外部機
器2に送出される。外部機器2は、この情報を受けて電
池4の状態を把握し、ICメモリカードの記憶内容を保
護するための各信号を出力していた。
In FIG. 1, reference numeral 1 denotes a connection unit, which receives power from the external device 2 and transmits and receives signals. Reference numeral 3 denotes a memory unit composed of a memory LSI, which includes at least one static RAM or dynamic RAM, which is a volatile memory for reading and writing data from the external device 2 via the connection unit 1. Reference numeral 4 denotes a battery, which is a backup power supply that retains the contents stored in the volatile memory of the memory unit 3 when power is not supplied from the external device 2 via the connection unit 1. Reference numeral 5 denotes a power supply control unit, which controls a power supply source for holding the stored contents of the memory unit 3.
Control is performed by switching from the external device 2 to the battery 4 or from the battery 4 to the external device 2. Reference numeral 6 denotes a memory control unit which receives a signal from the external device 2 via the connection unit 1 and
Control. Reference numeral 7 denotes a battery voltage detection unit that detects a terminal voltage of the battery 4. The detection result is sent to the external device 2 via the connection unit 1. The external device 2 receives this information, grasps the state of the battery 4, and outputs each signal for protecting the storage contents of the IC memory card.

【0015】電池電圧検出部7は、分圧回路11と、電
池4の端子電圧を分圧回路11へ供給するスイッチ回路
12と、分圧回路11の出力電圧を検出する第1の電圧
検出回路13と、第1の電圧検出回路13の出力信号を
受けて接続部1に供給する出力回路14とから構成さ
れ、電源制御部5からの信号によりスイッチ回路12を
作動させる。
The battery voltage detecting section 7 includes a voltage dividing circuit 11, a switch circuit 12 for supplying a terminal voltage of the battery 4 to the voltage dividing circuit 11, and a first voltage detecting circuit for detecting an output voltage of the voltage dividing circuit 11. 13, and an output circuit 14 that receives an output signal of the first voltage detection circuit 13 and supplies the output signal to the connection unit 1. The switch circuit 12 is operated by a signal from the power supply control unit 5.

【0016】一方電源制御部5は、外部機器2からの電
源電圧を検出する第2の電圧検出回路8と、第2の電圧
検出回路8の出力信号によりリセットパルスを発生する
パルス回路9と、第2の電圧検出回路8の出力信号によ
り外部機器2と電池4からの電源供給源を切り換え制御
する切り換え回路10とで構成されている。
On the other hand, the power supply control unit 5 includes a second voltage detection circuit 8 for detecting a power supply voltage from the external device 2, a pulse circuit 9 for generating a reset pulse based on an output signal of the second voltage detection circuit 8, It comprises a switching circuit 10 for switching and controlling the power supply from the external device 2 and the battery 4 in accordance with the output signal of the second voltage detection circuit 8.

【0017】図2において、分圧回路11を構成する1
1Aと11Bは抵抗器、そして12はスイッチ回路であ
る。本実施の形態においてはこのスイッチ回路12にF
ETを用いているが他のスイッチング素子でもよい。
In FIG. 2, 1 which constitutes a voltage dividing circuit 11
1A and 11B are resistors, and 12 is a switch circuit. In the present embodiment, the switch circuit 12 has F
Although ET is used, other switching elements may be used.

【0018】図3において、13Aは基準電圧発生器で
あり、13Bと13Cと13Dは抵抗器であり、13E
と13Fは電圧比較器である。電圧比較器13Eと13
Fの出力信号が共にハイレベルにある時、電池4の端子
電圧は正常範囲であって、メモリ部3のデータは記憶保
持されていることを示す信号を接続部1に出力する。こ
の信号を受けて外部機器2は使用者に電池電圧は正常で
あることを伝達している。電圧比較器13Eの出力信号
のみがローレベルになると、電池4の端子電圧が低下し
ており、電池4を交換もしくは充電する必要が生じたこ
とを示している。この際、電池4によりメモリ部3はま
だ記憶保持されており、この情報も正常時と同様の方法
で外部機器2から使用者に伝達している。電圧比較器1
3Eと13Fの出力信号が共にローレベルになると、電
池4の端子電圧がさらに低下し、電池4を交換もしくは
充電する必要があると共に、メモリ部3のデータは既に
記憶保持できていないこととを示す信号を外部機器2か
ら使用者に伝達している。
In FIG. 3, 13A is a reference voltage generator, 13B, 13C and 13D are resistors, and 13E
And 13F are voltage comparators. Voltage comparators 13E and 13
When both the output signals of F are at the high level, a signal indicating that the terminal voltage of the battery 4 is within the normal range and the data of the memory unit 3 is stored and held is output to the connection unit 1. In response to this signal, the external device 2 informs the user that the battery voltage is normal. When only the output signal of the voltage comparator 13E becomes low level, the terminal voltage of the battery 4 has decreased, indicating that the battery 4 needs to be replaced or charged. At this time, the memory unit 3 is still stored and held by the battery 4, and this information is also transmitted from the external device 2 to the user in the same manner as in the normal state. Voltage comparator 1
When the output signals of 3E and 13F both become low level, the terminal voltage of the battery 4 further decreases, and it is necessary to replace or charge the battery 4 and that the data of the memory unit 3 has not been stored and held. The indicated signal is transmitted from the external device 2 to the user.

【0019】以上のように構成された本発明のICメモ
リカードについて、その保護動作を説明する。
The protection operation of the IC memory card of the present invention configured as described above will be described.

【0020】まず、接続部1を介して外部機器2にIC
メモリカードを接続した状態で、外部機器2の電源をオ
ンにすると、外部機器2よりICメモリカードは電源供
給を受ける。電源制御部5は第2の電圧検出回路8で外
部機器2から供給される電源電圧を検出し、第2の電圧
検出回路8の出力信号によりパルス回路9でリセットパ
ルスを発生する。このリセットパルスはスイッチ回路1
2を作動させ、電池4の端子電圧が分圧回路11で分圧
され、第1の電圧検出回路13へ供給される。出力回路
14は、第1の電圧検出回路13の出力信号を受け、接
続部1に信号を供給する。これにより外部機器2は、接
続部1を介して電池4の端子電圧を測定した結果を知る
ことができ、これに基づいてICメモリカードの記憶内
容を保護するための各信号を出力している。
First, an IC is connected to the external device 2 through the connection unit 1.
When the power of the external device 2 is turned on with the memory card connected, the IC memory card receives power supply from the external device 2. The power supply controller 5 detects the power supply voltage supplied from the external device 2 by the second voltage detection circuit 8 and generates a reset pulse by the pulse circuit 9 based on the output signal of the second voltage detection circuit 8. This reset pulse is applied to the switch circuit 1
2 is operated, the terminal voltage of the battery 4 is divided by the voltage dividing circuit 11 and supplied to the first voltage detecting circuit 13. The output circuit 14 receives the output signal of the first voltage detection circuit 13 and supplies the signal to the connection unit 1. As a result, the external device 2 can know the result of measuring the terminal voltage of the battery 4 via the connection unit 1, and outputs each signal for protecting the storage contents of the IC memory card based on the result. .

【0021】この構成によると、図3に示すように電圧
検出回路13に従来例(図5)の21Eに相当する抵抗
を設けなくとも良いため、電圧検出回路13で不要な電
力消費をなくせ、電池4の寿命を数倍に引き延ばすこと
ができる。
According to this configuration, as shown in FIG. 3, the voltage detecting circuit 13 does not need to be provided with a resistor corresponding to 21E of the conventional example (FIG. 5), so that unnecessary power consumption can be eliminated in the voltage detecting circuit 13. The life of the battery 4 can be extended several times.

【0022】この電池4の端子電圧のチェック時には、
第1の電圧検出回路13の入力に分圧回路11の抵抗器
11Bが接続されるため、従来例の課題である電池4を
装着していない場合に、電圧比較器13Fと13Gの入
力端子が開放状態となって、入力バイアス電流の影響や
ハイインピーダンス入力を開放状態にすることによるノ
イズの影響等で誤動作を生じ、電圧比較器13Fと13
Gの出力信号がハイレベルになり、電池4を装着してい
ないにもかかわらず、外部機器2では電池4の端子電圧
は正常であって、メモリ部3は記憶保持されていると判
断してしまうという不利益も生じない。
At the time of checking the terminal voltage of the battery 4,
Since the resistor 11B of the voltage dividing circuit 11 is connected to the input of the first voltage detecting circuit 13, the input terminals of the voltage comparators 13F and 13G are not connected when the battery 4, which is a problem of the conventional example, is not mounted. When the voltage comparators 13F and 13F are opened, a malfunction occurs due to the influence of the input bias current and the influence of noise caused by opening the high impedance input.
It is determined that the terminal voltage of the battery 4 is normal in the external device 2 and the memory unit 3 is stored and held even though the output signal of G becomes high level and the battery 4 is not mounted. There is no disadvantage of getting it.

【0023】この際、電源制御部5の働きとしては、外
部機器2に接続されていない時、切り換え回路10によ
ってメモリ部3への電源供給源を電池4に切り換え、メ
モリ部3のデータの記憶内容保持を引き続き円滑に行っ
ている。また、外部機器2の電源投入、切断時等には、
外部機器2からの電源電圧を監視している第2の電圧検
出回路8によって、パルス回路9でリセットパルスを発
生させ、前記リセットパルスによる信号でメモリ部3を
制御して、電源電圧上昇・下降の過渡期のノイズによる
メモリ部3の記憶内容破壊を防止している。
At this time, when the power supply control unit 5 is not connected to the external device 2, the switching circuit 10 switches the power supply source to the memory unit 3 to the battery 4 and stores the data in the memory unit 3. The content has been kept smoothly. In addition, when the external device 2 is turned on or off,
A reset pulse is generated by a pulse circuit 9 by a second voltage detection circuit 8 monitoring a power supply voltage from the external device 2, and the memory unit 3 is controlled by a signal based on the reset pulse to increase or decrease the power supply voltage. Of the memory section 3 is prevented from being destroyed due to noise during the transition period.

【0024】次に、内蔵している電池4の端子電圧チェ
ックについて説明する。接続部1が外部機器2に接続さ
れている時は、外部機器2より電源供給を受け、電池4
からは電源供給しないため、電池4は消耗しておらず、
電池4の端子電圧を定期的に繰り返し測定しても意味を
なさない。外部機器2に接続されていない時、あるいは
外部機器2の電源がオフされて外部機器2より電源供給
されない時には、電池4より電源供給されており、電池
4の消耗が進んでいる。そこで、内蔵している電池4の
端子電圧チェックは、接続部1が外部機器2に接続され
ており、外部機器2より新たに電源が供給された時のみ
行い、その後はパルス回路9でリセットパルスを発生さ
せ、スイッチ回路12をオフ状態としておくことによ
り、接続部1が外部機器2に接続されている間は電池4
の端子電圧チェックを行わないので、電池4の省電力化
が計れる。
Next, the check of the terminal voltage of the built-in battery 4 will be described. When the connection unit 1 is connected to the external device 2, power is supplied from the external device 2 and the battery 4
Battery is not exhausted because power is not supplied from
It does not make sense to periodically and repeatedly measure the terminal voltage of the battery 4. When not connected to the external device 2 or when the power of the external device 2 is turned off and the power is not supplied from the external device 2, the power is supplied from the battery 4 and the battery 4 is being consumed. Therefore, the terminal voltage of the built-in battery 4 is checked only when the connection unit 1 is connected to the external device 2 and the power is newly supplied from the external device 2. Is generated and the switch circuit 12 is turned off, so that the battery 4 is connected while the connection unit 1 is connected to the external device 2.
Since the terminal voltage check is not performed, power saving of the battery 4 can be achieved.

【0025】また電池4の端子電圧をチェックした結果
は、出力回路14によって、外部機器2の電源がオフさ
れない限り保持する構成としておくことにより、それま
での電池4の消耗状態がチェックでき、メモリ部3の記
憶内容が有効であるか否か判断することができる。ま
た、その後新たなデータの記憶が可能か否か等も同様に
判断することができる。
The result of checking the terminal voltage of the battery 4 is maintained by the output circuit 14 unless the power of the external device 2 is turned off. It can be determined whether or not the storage content of the unit 3 is valid. Then, it can be similarly determined whether new data can be stored or not.

【0026】なお、電池4により電源供給されている場
合は、電池4は消耗しているので、従来の場合と同様に
適宜電池4の端子電圧チェックを行う必要があることは
いうまでもない。
When the power is supplied from the battery 4, the battery 4 is depleted, and it is needless to say that the terminal voltage of the battery 4 needs to be checked as in the conventional case.

【0027】[0027]

【発明の効果】このように本発明によれば、電圧検出回
路に入力端子を解放状態とすることを防止するための従
来例の21Eにあたる抵抗を設けなくとも良いため、電
池使用時には電圧検出回路による電力消費を減じ、また
電池未装着時等においても分圧回路に設けた抵抗器を設
けたため前記電圧検出回路が開放状態となるのを防止す
ることができる。これにより電圧検出回路の誤動作もな
く、電池の高寿命化を計ることができるICメモリカー
ドを提供できる。
As described above, according to the present invention, it is not necessary to provide a resistor equivalent to 21E of the conventional example for preventing the input terminal from being opened in the voltage detection circuit. In addition, since the resistor provided in the voltage dividing circuit is provided even when the battery is not mounted, it is possible to prevent the voltage detecting circuit from being opened. This makes it possible to provide an IC memory card which can extend the life of the battery without malfunction of the voltage detection circuit.

【0028】またパルス回路から発生するリセットパル
スによる信号でメモリ部を制御することにより、電源電
圧の変動時等のノイズによるメモリ部の記憶内容破壊を
防止することができるICメモリカードを提供できる。
Further, by controlling the memory unit with a signal based on a reset pulse generated from a pulse circuit, it is possible to provide an IC memory card which can prevent the storage contents of the memory unit from being destroyed due to noise such as a change in power supply voltage.

【0029】さらに外部機器の電源が新たにオンとなっ
た際のみ、電池電圧検出部において電池電圧の検出を行
い、接続部を介して前記外部機器へ検出結果を提供する
構成とすると、不要な検出を防止することができ、かつ
外部機器がこの検出結果を用いてメモリ部の記憶内容が
有効か無効か、また新たなデータの記憶が可能か否か等
を判断することができるICメモリカードを提供でき
る。
Further, if the battery voltage detection unit detects the battery voltage only when the power of the external device is newly turned on, and the detection result is provided to the external device via the connection unit, it becomes unnecessary. An IC memory card that can prevent detection and allows an external device to use the detection result to determine whether the storage content of the memory unit is valid or invalid, and whether or not new data can be stored. Can be provided.

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

【図1】本発明の一実施の形態におけるICメモリカー
ドのブロック図
FIG. 1 is a block diagram of an IC memory card according to an embodiment of the present invention.

【図2】本発明の一実施の形態における分圧・スイッチ
回路図
FIG. 2 is a circuit diagram of a voltage divider / switch according to an embodiment of the present invention.

【図3】本発明の一実施の形態における第1の電圧検出
回路図
FIG. 3 is a diagram illustrating a first voltage detection circuit according to an embodiment of the present invention;

【図4】従来のICメモリカードを示すブロック図FIG. 4 is a block diagram showing a conventional IC memory card.

【図5】従来のICメモリカードの要部回路図FIG. 5 is a main part circuit diagram of a conventional IC memory card.

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

1 接続部 2 外部機器 3 メモリ部 4 電池 5 電源制御部 6 メモリ制御部 7 電池電圧検出部 8 第2の電圧検出回路 9 パルス回路 10 切り換え回路 11 分圧回路 12 スイッチ回路 13 第1の電圧検出回路 14 出力回路 REFERENCE SIGNS LIST 1 connection unit 2 external device 3 memory unit 4 battery 5 power control unit 6 memory control unit 7 battery voltage detection unit 8 second voltage detection circuit 9 pulse circuit 10 switching circuit 11 voltage division circuit 12 switch circuit 13 first voltage detection Circuit 14 Output circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 12/16 340 G06K 17/00 E G06K 17/00 G06F 1/00 330E 333D 335C ──────────────────────────────────────────────────続 き Continuation of the front page (51) Int.Cl. 6 Identification code Agency reference number FI Technical display location G06F 12/16 340 G06K 17/00 E G06K 17/00 G06F 1/00 330E 333D 335C

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 外部機器が接続され、記憶保持動作を行
うICメモリカードであって、 外部機器から電源の供給を受けると共に信号の授受を行
う接続部と、少なくとも1つの揮発性メモリを含むメモ
リ部と、前記外部機器からの信号により前記メモリ部を
制御するメモリ制御部と、前記メモリ部の揮発性メモリ
の記憶保持を行う電池と、前記外部機器と前記電池から
の電源供給を切り換え制御する電源制御部と、前記電池
の端子電圧を検出する電池電圧検出部とを備え、 前記電池電圧検出部が、分圧回路、前記電池の端子電圧
を前記分圧回路へ供給するスイッチ回路、前記分圧回路
の出力電圧を検出する第1の電圧検出回路および前記第
1の電圧検出回路の出力信号を受けて前記接続部に信号
を供給する出力回路から構成されたことを特徴とするI
Cメモリカード。
An IC memory card to which an external device is connected and which performs a memory holding operation, a connection portion receiving power from the external device and transmitting / receiving a signal, and a memory including at least one volatile memory Unit, a memory control unit that controls the memory unit according to a signal from the external device, a battery that stores and holds volatile memory in the memory unit, and controls switching between power supply from the external device and the battery. A power supply control unit; and a battery voltage detection unit that detects a terminal voltage of the battery, wherein the battery voltage detection unit includes a voltage dividing circuit, a switch circuit that supplies a terminal voltage of the battery to the voltage dividing circuit, A first voltage detection circuit that detects an output voltage of the voltage circuit, and an output circuit that receives an output signal of the first voltage detection circuit and supplies a signal to the connection unit. That I
C memory card.
【請求項2】 電源制御部は、外部機器から供給される
電源電圧を検出する第2の電圧検出回路、前記第2の電
圧検出回路の出力信号によりリセットパルスを発生する
パルス回路、前記外部機器と電池からの電源供給を切り
換え制御する切り換え回路とから構成された請求項1記
載のICメモリカード。
2. A power supply control unit comprising: a second voltage detection circuit for detecting a power supply voltage supplied from an external device; a pulse circuit for generating a reset pulse based on an output signal of the second voltage detection circuit; 2. The IC memory card according to claim 1, further comprising a switching circuit for switching and controlling power supply from a battery.
【請求項3】 外部機器の電源がオフ状態からオン状態
に切り換えられた際のみに、電池電圧検出部は前記電池
の電圧検出を行い、接続部を介して前記外部機器へ検出
結果を送出し、前記外部機器の電源が再度オフ状態とさ
れるまで出力回路が前記検出結果を保持する請求項1ま
たは請求項2記載のICメモリカード。
3. The battery voltage detector detects the voltage of the battery only when the power of the external device is switched from an off state to an on state, and sends a detection result to the external device via a connection unit. 3. The IC memory card according to claim 1, wherein the output circuit holds the detection result until the power supply of the external device is turned off again.
JP8195869A 1996-07-25 1996-07-25 IC memory card Pending JPH1040351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8195869A JPH1040351A (en) 1996-07-25 1996-07-25 IC memory card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8195869A JPH1040351A (en) 1996-07-25 1996-07-25 IC memory card

Publications (1)

Publication Number Publication Date
JPH1040351A true JPH1040351A (en) 1998-02-13

Family

ID=16348349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8195869A Pending JPH1040351A (en) 1996-07-25 1996-07-25 IC memory card

Country Status (1)

Country Link
JP (1) JPH1040351A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4782211A (en) * 1985-12-09 1988-11-01 Weld Mold Company Method of welding and product obtained therefrom
JP2011253413A (en) * 2010-06-03 2011-12-15 Fujitsu Semiconductor Ltd Semiconductor integrated circuit, operation method for the semiconductor integrated circuit, and debug system
WO2013105261A1 (en) * 2012-01-13 2013-07-18 三菱電機株式会社 Sram memory card and voltage monitoring circuit
CN107861053A (en) * 2017-11-30 2018-03-30 深圳市锐能微科技有限公司 A kind of the detection circuit and electric quantity metering chip of the circuit parameter for detecting bleeder circuit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4782211A (en) * 1985-12-09 1988-11-01 Weld Mold Company Method of welding and product obtained therefrom
JP2011253413A (en) * 2010-06-03 2011-12-15 Fujitsu Semiconductor Ltd Semiconductor integrated circuit, operation method for the semiconductor integrated circuit, and debug system
WO2013105261A1 (en) * 2012-01-13 2013-07-18 三菱電機株式会社 Sram memory card and voltage monitoring circuit
JP5562496B2 (en) * 2012-01-13 2014-07-30 三菱電機株式会社 SRAM memory card and voltage monitoring circuit
US9117551B2 (en) 2012-01-13 2015-08-25 Mitsubishi Electric Corporation SRAM memory card and voltage monitoring circuit
CN107861053A (en) * 2017-11-30 2018-03-30 深圳市锐能微科技有限公司 A kind of the detection circuit and electric quantity metering chip of the circuit parameter for detecting bleeder circuit

Similar Documents

Publication Publication Date Title
US4422163A (en) Power down circuit for data protection in a microprocessor-based system
US5414861A (en) Data protection system using different levels of reserve power to maintain data in volatile memories for any period of time
US5717936A (en) Data terminal and method of protecting memory items stored in non-persistent memory in a data terminal
EP0124092B2 (en) Electronic postage meter and method and apparatus for controlling erasure and writing of data in non-volatile memory
US4712196A (en) Data processing apparatus
US5761061A (en) Data processing medium, its backup circuit, and data processing system
TW406221B (en) Power switching apparatus for increasing the battery lifetime and the full-time operation apparatus
JPH1040351A (en) IC memory card
KR100539881B1 (en) Battery discharge state monitoring circuit
US6115225A (en) Power supply system
EP0439988A2 (en) Computer monitoring of installed options
JP2874381B2 (en) IC memory card
JP3164729B2 (en) Power management mechanism for battery starter
KR100250879B1 (en) Memory data back-up apparatus
JPH0612579A (en) Device for monitoring removal of electronic equipment
JP2817180B2 (en) Memory card
EP0734546B1 (en) Data processing medium, its backup circuit, and data processing system
JPS5850029A (en) Power failure detector
JPH08205424A (en) Backup power supply circuit
JP3311545B2 (en) Battery voltage display
JPH0495146A (en) information processing equipment
JPH0738148B2 (en) Memory card monitoring device
JPH04153995A (en) Memory card
JPH0546820A (en) Battery exchange device for card-shaped electronic devices
JPH07311825A (en) IC memory card