JPH0487532A - Electronics - Google Patents
ElectronicsInfo
- Publication number
- JPH0487532A JPH0487532A JP2193952A JP19395290A JPH0487532A JP H0487532 A JPH0487532 A JP H0487532A JP 2193952 A JP2193952 A JP 2193952A JP 19395290 A JP19395290 A JP 19395290A JP H0487532 A JPH0487532 A JP H0487532A
- Authority
- JP
- Japan
- Prior art keywords
- voltage
- card
- backup battery
- voltage detector
- cost reduction
- 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
Links
Landscapes
- Power Sources (AREA)
- Stand-By Power Supply Arrangements (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は電子機器、特に外部記憶装置として着脱自在な
ICカードを用いるとともに、ICカードの装着期間で
は装置本体からICカードに電源供給を行ない、ICカ
ードを取り外した場合ICカード内のバックアップ電源
素子によりICカードの記憶素子の記憶内容がバックア
ップされる電子機器に関するものである。[Detailed Description of the Invention] [Field of Industrial Application] The present invention uses a removable IC card as an electronic device, particularly an external storage device, and supplies power to the IC card from the device body during the period when the IC card is installed. The present invention relates to an electronic device in which, when the IC card is removed, the storage contents of the memory element of the IC card are backed up by a backup power supply element within the IC card.
[従来の技術]
従来より、電子機器、特にハンディターミナルや携帯型
のワードプロセッサやパーソナルコンピュータとして、
記憶媒体としてICカードを用いる装置が知られている
。この種の装置では、メモリカードが装置に装着されて
いない時は、メモリカードに内蔵されたバックアップ電
池によってメモリ上のデータを保持する構造が知られて
いる。[Prior Art] Traditionally, electronic devices, especially handheld terminals, portable word processors, and personal computers, have been used.
Devices that use IC cards as storage media are known. In this type of device, a structure is known in which data on the memory is retained by a backup battery built into the memory card when the memory card is not installed in the device.
従来のバックアップ電池付きのICカードの回路図は第
3図のようになっている。第3図において、符号31は
、カードの記憶媒体としてのRAM (通常はS−RA
M)で、制御IC32(ICI)を介してバックアップ
電池Batの出力により記憶内容のバックアップが行な
われる。また、バックアップ電池Batの電圧は抵抗R
1を介して、ホストとなる電子機器に人力され、ホスト
側でこの電圧を検出できるようになっている。The circuit diagram of a conventional IC card with a backup battery is shown in FIG. In FIG. 3, reference numeral 31 denotes a RAM (usually S-RA) as a storage medium of the card.
In M), the storage contents are backed up by the output of the backup battery Bat via the control IC 32 (ICI). Also, the voltage of the backup battery Bat is the resistance R
1 to the host electronic device, and this voltage can be detected on the host side.
第3図において、I C32は、通常リセットICと呼
ばれ、ホスト側からの電源V DOlとバックアップ電
池Bat出力の内、高い方の電圧をカードの電源電圧V
DO2として、RAM31に供給する。In FIG. 3, IC32 is usually called a reset IC, and connects the higher voltage of the power supply V DOl from the host side and the backup battery Bat output to the card power supply voltage V
It is supplied to the RAM 31 as DO2.
またIC32はVDDIの電圧が所定値以下になり、動
作電圧を割り込むと、R5T電圧をローレベルにし、R
AM31のチップおよびライトイネーブル信号バスを制
御するアナログスイッチ33 (IC2)をオフ状態に
して、RAM31をスタンバイ状態にする。In addition, when the voltage of VDDI falls below a predetermined value and interrupts the operating voltage, IC32 sets the R5T voltage to a low level and R
The analog switch 33 (IC2) that controls the chip of AM31 and the write enable signal bus is turned off, and the RAM 31 is placed in a standby state.
[発明が解決しようとする課題]
上記従来例では、ホスト側に電圧検出回路(通常はA−
D変換回路)を持たねばならず、ホストの実装面積やコ
ストが増加する欠点があった。また、第3図のリセット
IC32は比較的高価であり、ICの寸法も大きいとい
う問題がある。[Problems to be Solved by the Invention] In the above conventional example, a voltage detection circuit (usually A-
D conversion circuit), which has the drawback of increasing the mounting area and cost of the host. Further, the reset IC 32 shown in FIG. 3 is relatively expensive and the size of the IC is also large.
本発明の課題は、以上の問題を解決することにある。An object of the present invention is to solve the above problems.
[課題を解決するための手段]
以上の課題を解決するために、本発明においては、外部
記憶装置として着脱自在なICカードを用いるとともに
、ICカードの装着期間では装置本体からICカードに
電源供給を行ないICカードを取り外した場合ICカー
ド内のバックアップ電源素子によりICカードの記憶素
子の記憶内容がバックアップされる電子機器において、
電圧検出回路と、この電圧検出回路の入力電圧として前
記バックアップ電源素子ないし装置本体から供給される
バイアス電圧のうち高い電圧を供給する制御手段と、前
記電圧検出回路の圧力を装置本体側に入力する手段から
なる構成を採用した。[Means for Solving the Problems] In order to solve the above problems, in the present invention, a removable IC card is used as an external storage device, and power is supplied from the main body of the device to the IC card during the period when the IC card is installed. In electronic equipment where the memory contents of the IC card's memory element are backed up by the backup power supply element inside the IC card when the IC card is removed after
a voltage detection circuit, a control means for supplying a higher voltage of the bias voltage supplied from the backup power supply element or the device main body as an input voltage to the voltage detection circuit, and inputting the pressure of the voltage detection circuit to the device main body side. A structure consisting of means was adopted.
[作 用]
以上の構成によれば、ホスト側のA/D変換回路を必要
とすることなく、ICカード側の電圧検出器によりバッ
クアップ電池の出力電圧を検出できる。[Function] According to the above configuration, the output voltage of the backup battery can be detected by the voltage detector on the IC card side without requiring an A/D conversion circuit on the host side.
[実施例]
以下、図面に示す実施例に基づき、本発明の詳細な説明
する。[Example] Hereinafter, the present invention will be described in detail based on the example shown in the drawings.
第1図に本発明を採用した電子機器の構造を示す。FIG. 1 shows the structure of an electronic device adopting the present invention.
第1図において、符号Batは、第3図と同様にバック
アップ電池を示し、バックアップ電池Batの電圧はi
f流制限のための抵抗R1,ダイオードD2を介して、
カードの電源電圧V DO2として供給され、また、バ
ックアップ電池Batの出力は、ダイオードD3を介し
て電圧検出器IC4に人力される。In FIG. 1, the symbol Bat indicates a backup battery as in FIG. 3, and the voltage of the backup battery Bat is i
f Through a resistor R1 and a diode D2 for limiting the current,
The power supply voltage VDO2 of the card is supplied, and the output of the backup battery Bat is inputted to the voltage detector IC4 via the diode D3.
を源電圧vDD1はホストからの電源であり、ダイオー
ドDiを介してカードの電源電圧V DO2として供給
される。このとき、ダイオードDl、D2のカソードど
うしが結合されているので、バックアップ電池Batの
出力か、ホストがらの電源電圧VDDIのうち電圧が高
いほうがカードの電源電圧V DO2として供給される
。The source voltage vDD1 is the power from the host, and is supplied as the card's power supply voltage VDO2 via the diode Di. At this time, since the cathodes of the diodes Dl and D2 are coupled together, the output of the backup battery Bat or the host's power supply voltage VDDI, whichever is higher, is supplied as the card's power supply voltage VDO2.
本実施例において符号13j5よび14(IC3とIC
4)は、電圧検出器であり、電圧検出器13はホストの
動作電圧が所定値以下になると出力電圧Voをローレベ
ルにして、IC2のアナログスイッチを遮断する。アナ
ログスイッチ12はRAMIIのチップおよびライトイ
ネーブル信号バス(CE、WE:図中のバーは負論理能
動を示す)を制御する。電圧検出器I3はリセット入力
の制御を要しないので簡単なコンパレータなどにより構
成できる。In this embodiment, symbols 13j5 and 14 (IC3 and IC
4) is a voltage detector, and when the operating voltage of the host becomes lower than a predetermined value, the voltage detector 13 sets the output voltage Vo to a low level and shuts off the analog switch of IC2. The analog switch 12 controls the RAM II chip and write enable signal buses (CE, WE: bars in the figure indicate negative logic active). Since the voltage detector I3 does not require reset input control, it can be configured with a simple comparator or the like.
アナログスイッチ12がオフになると、RAMIIのチ
ップイネーブル電圧CEとライトイネーブル電圧WEは
R2とR3でプルアップされているのでスタンバイ状態
となる。検出回路16内の電圧検出器14はバックアッ
プ電池Batの出力電圧が所定値以下になったかどうか
を検出するための電圧検出器である。When the analog switch 12 is turned off, the chip enable voltage CE and write enable voltage WE of RAMII are pulled up by R2 and R3, so the RAM II enters a standby state. The voltage detector 14 in the detection circuit 16 is a voltage detector for detecting whether the output voltage of the backup battery Bat has become below a predetermined value.
ここで、回路の電源電圧を5vとすると、電圧検出器1
4はOv近< (1,5v以下)では出力が不定となる
ため、検出回路16内にバイアス回路を設けている。Here, if the power supply voltage of the circuit is 5V, the voltage detector 1
4, a bias circuit is provided in the detection circuit 16 because the output becomes unstable near Ov<(1.5V or less).
検出回路16において、符号Q1.Q2はスイッチ用の
トランジスタである。ここで、トランジスタQ1.Q2
.抵抗R3,R4,R5,およびツェナーダイオードZ
Dは1本体側の電源電圧VDDI (あるいは別の電
圧の電圧)から、電圧検出器14に入力するバイアス電
圧を形成するためのものである。In the detection circuit 16, the code Q1. Q2 is a switching transistor. Here, transistor Q1. Q2
.. Resistors R3, R4, R5 and Zener diode Z
D is for forming a bias voltage input to the voltage detector 14 from the power supply voltage VDDI (or another voltage) on the main body side.
ホスト装置はICカードのバックアップ電池の電圧を検
出する時に電圧DETにローレベルの信号を出力し、所
定時間後にLB電圧の論理レベルを読み取る。The host device outputs a low level signal to the voltage DET when detecting the voltage of the backup battery of the IC card, and reads the logic level of the LB voltage after a predetermined time.
電圧DETからローレベルが入力されると、トランジス
タQlはonし、抵抗R4を通してツェナーダイオード
ZDに電流が流れる。ツェナーダイオードZDのツェナ
ー電圧は電圧検出器14の動作電圧以上で、メモリバッ
クアップ電圧以下のものを選ぶ。When a low level is input from the voltage DET, the transistor Ql is turned on, and current flows into the Zener diode ZD through the resistor R4. The Zener voltage of the Zener diode ZD is selected to be higher than the operating voltage of the voltage detector 14 and lower than the memory backup voltage.
ツェナー電圧はD4を介して電圧検出器14に人力され
ているので、バックアップ電池Batの出力電圧とツェ
ナー電圧の高い方が電圧検出器14の入力電圧となる。Since the Zener voltage is inputted to the voltage detector 14 via D4, the higher of the output voltage of the backup battery Bat and the Zener voltage becomes the input voltage of the voltage detector 14.
第2図のV BATは、バックアップ電池Batの出力
電圧を示しており、ここでは、2.5vがメモリバック
アップに関するしきい値である。V BAT in FIG. 2 indicates the output voltage of the backup battery Bat, and here 2.5v is the threshold for memory backup.
電圧検出器14はバックアップ電池Batの電圧がメモ
リバックアップに十分な電圧であるうちは出力電圧vO
をハイレベル又は、オーブン(ハイインピーダンス)状
態にする。このとき、ホストが電圧DETからローレベ
ルを与えても、電圧LBの出力はハイレベルのままであ
る。The voltage detector 14 outputs an output voltage vO as long as the voltage of the backup battery Bat is sufficient for memory backup.
to high level or oven (high impedance) state. At this time, even if the host applies a low level from the voltage DET, the output of the voltage LB remains at a high level.
一方、バックアップ電池Batの電圧がメモリバックア
ップ電圧として不十分になると、出力電圧voからロー
レベルを出力する。On the other hand, when the voltage of the backup battery Bat becomes insufficient as a memory backup voltage, a low level is output from the output voltage vo.
この時、トランジスタQ2には、トランジスタQ1と抵
抗R5を通してベース電流が流れるので、電圧LBをロ
ーレベルに引っ張る(第2図在合
土器)。また、バックアップ電池Batが抜かれるか、
その容量が0になると、バイアス電圧が電圧検出器14
に人力され、同様にしてLB電圧はローレベルとなる。At this time, a base current flows through the transistor Q2 through the transistor Q1 and the resistor R5, pulling the voltage LB to a low level (see Fig. 2). Also, whether the backup battery Bat is removed or
When the capacitance becomes 0, the bias voltage is applied to the voltage detector 14.
Similarly, the LB voltage becomes low level.
このようにしてホスト側では、電圧DETをローにして
からの電圧LBのレベルを読みバックアップ電池の電圧
を判断できる。In this manner, the host side can read the level of the voltage LB after setting the voltage DET to low and determine the voltage of the backup battery.
この時、LB電圧がローレベルならば、バックアップ電
池の電圧が低下していると判断できるので、この場合に
は、ブザー音や、可視表小によ命てユーザに警告を発生
すればよい。At this time, if the LB voltage is at a low level, it can be determined that the voltage of the backup battery has decreased, so in this case, a warning may be issued to the user by issuing a buzzer or a visible display.
なお、ツェナー電流は比較的大きいので、ホスト側はL
B電圧の状態を読んだら直ぐに電圧DETをハイレベル
にして、無駄な消費電流を抑えるようにするとよい。Note that since the Zener current is relatively large, the host side
It is advisable to set the voltage DET to a high level immediately after reading the state of the B voltage to suppress wasteful current consumption.
上記実施例によれば、ICカード内にバックアップ電池
の電圧検出回路を設けることにより、ホスト側のA/D
変換回路が必要なくなる。また、高価で寸法の大きいリ
セットICを安価で寸法の小さい電圧検出器13に置き
換えることができ、ホスト側の省スペース、コストダウ
ンとICカードのコストダウンを実現することができる
。According to the above embodiment, by providing a backup battery voltage detection circuit in the IC card, the host side A/D
No need for a conversion circuit. In addition, the expensive and large-sized reset IC can be replaced with the inexpensive and small-sized voltage detector 13, making it possible to save space and cost on the host side and reduce the cost of the IC card.
また、上記実施例によれば、ホスト側の電圧を分圧して
バイアス電圧を作り、このバイアス電圧とバックアップ
電池の電圧の高い方を電圧検出器14の入力としたので
、バックアップ電池の容量が無くなった時や抜かれた時
でも電圧検出を行なえるという利点がある。Furthermore, according to the above embodiment, the voltage on the host side is divided to create a bias voltage, and the higher of this bias voltage and the voltage of the backup battery is input to the voltage detector 14, so that the capacity of the backup battery is exhausted. It has the advantage that voltage can be detected even when it is disconnected or disconnected.
前記実施例においては、バイアス電圧の発生用にツェナ
ーダイオードを用いる例を説明したが、第4図に示すよ
うに、抵抗R4とR6で電圧分割した電圧を用いてもほ
ぼ同様な効果が得られる。In the above embodiment, an example was explained in which a Zener diode was used to generate the bias voltage, but as shown in FIG. 4, almost the same effect can be obtained by using a voltage divided by the resistors R4 and R6. .
ただし、抵抗R4とR6の値は、その分圧が電圧検出器
14の最大動作電圧以上で、バックアップ保持電圧以下
となるように設定しておく。However, the values of the resistors R4 and R6 are set so that the partial voltage thereof is greater than or equal to the maximum operating voltage of the voltage detector 14 and less than or equal to the backup holding voltage.
[発明の効果]
以上から明らかなように、本発明によれば、外部記憶装
置として着脱自在なICカードを用いるとともに、IC
カードの装着期間では装置本体からICカードに電源供
給を行ない、ICカードを取り外した場合ICカード内
のバックアップ電源素子によりICカードの記憶素子の
記憶内容がバックアップされる電子機器において、電圧
検出回路と、この電圧検出回路の入力電圧として前記バ
ックアップ電源素子ないし装置本体から供給されるバイ
アス電圧のうち高い電圧を供給する制御手段と、前記電
圧検出回路の出力を装置本体側に人力する手段からなる
構成を採用しているので、本体側のA/D変換回路を必
要とすることなく、ICカード側の電圧検出器によりバ
ックアップ電池の出力電圧を検出できる。また、高価で
寸法の大きいカード側のリセットICを安価で寸法の小
さい電圧検出器に置換でき、ホスト側の省スペース、コ
ストダウンとICカードのコストダウンを実現できる、
さらに、
バックアップ電池の容量が無くなった時や抜かれた時で
もその電圧検出を行なえるなどの優れた効果がある。[Effects of the Invention] As is clear from the above, according to the present invention, a removable IC card is used as an external storage device, and an IC card is used as an external storage device.
In electronic equipment, power is supplied from the device itself to the IC card during the card installation period, and when the IC card is removed, the contents of the memory element of the IC card are backed up by the backup power supply element inside the IC card. , a control means for supplying a higher voltage of the bias voltage supplied from the backup power supply element or the device main body as an input voltage of the voltage detection circuit, and a means for manually inputting the output of the voltage detection circuit to the device main body. , the output voltage of the backup battery can be detected by the voltage detector on the IC card side without requiring an A/D conversion circuit on the main body side. In addition, the expensive and large-sized reset IC on the card side can be replaced with an inexpensive and small-sized voltage detector, making it possible to save space and cost on the host side and reduce the cost of the IC card.
Furthermore, it has excellent effects such as being able to detect the voltage even when the backup battery has run out of capacity or has been removed.
第1図は本発明を実施したICカードの回路図、第2図
は第1図の動作を示したタイミングチャート図、第3図
は従来構成を示した回路図、第4図は他の実施例を示し
た回路図である。
12−・・アナログスイッチ
13.14・・−電圧検出器
Ql、Q2−・・トランジスタ
D1〜D4−・・ダイオード
ZD−−・ツェナーダイオード
R1−R6・・−抵抗
Bat−・−メモリバックアップ電池
RAM−−・スタティックRAMFig. 1 is a circuit diagram of an IC card embodying the present invention, Fig. 2 is a timing chart showing the operation of Fig. 1, Fig. 3 is a circuit diagram showing a conventional configuration, and Fig. 4 is another implementation. FIG. 3 is a circuit diagram showing an example. 12--Analog switch 13.14--Voltage detector Ql, Q2--Transistor D1-D4--Diode ZD--Zener diode R1-R6--Resistance Bat--Memory backup battery RAM --・Static RAM
Claims (1)
とともに、ICカードの装着期間では装置本体からIC
カードに電源供給を行ない、ICカードを取り外した場
合ICカード内のバックアップ電源素子によりICカー
ドの記憶素子の記憶内容がバックアップされる電子機器
において、 電圧検出回路と、 この電圧検出回路の入力電圧として前記バックアップ電
源素子ないし装置本体から供給されるバイアス電圧のう
ち高い電圧を供給する制御手段と、 前記電圧検出回路の出力を装置本体側に入力する手段か
らなることを特徴とする電子機器。[Claims] 1) A removable IC card is used as an external storage device, and during the period when the IC card is installed, the IC card is not removed from the main body of the device.
In electronic equipment where the contents of the memory element of the IC card are backed up by the backup power supply element inside the IC card when power is supplied to the card and the IC card is removed, the input voltage of the voltage detection circuit and this voltage detection circuit is An electronic device comprising: a control means for supplying a higher voltage among the bias voltages supplied from the backup power supply element or the device main body; and a means for inputting the output of the voltage detection circuit to the device main body.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2193952A JPH0487532A (en) | 1990-07-24 | 1990-07-24 | Electronics |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2193952A JPH0487532A (en) | 1990-07-24 | 1990-07-24 | Electronics |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0487532A true JPH0487532A (en) | 1992-03-19 |
Family
ID=16316491
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2193952A Pending JPH0487532A (en) | 1990-07-24 | 1990-07-24 | Electronics |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0487532A (en) |
-
1990
- 1990-07-24 JP JP2193952A patent/JPH0487532A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6516418B1 (en) | Portable computer having universal serial bus ports controlled power supply and a method of the same | |
| KR920002245B1 (en) | Battery powered portable device | |
| US6445383B1 (en) | System to detect a power management system resume event from a stylus and touch screen | |
| KR100626359B1 (en) | Power Management Methods for Computer Systems | |
| EP0834796B1 (en) | A computer system and control method for saving power | |
| WO2010030705A1 (en) | Circuit having a low power mode | |
| US4383184A (en) | Power controller | |
| US5333309A (en) | Personal computer for disabling resume mode upon replacement of HDD | |
| US5105074A (en) | Power supply reliability of portable electronic device | |
| US5867718A (en) | Method and apparatus for waking up a computer system via a parallel port | |
| JP2001051756A (en) | Power-on method of computer and computer | |
| US6353893B1 (en) | Sleep mode indicator for a battery-operated device | |
| US20050206613A1 (en) | Method and system for power management of an optical mouse | |
| JPH0487532A (en) | Electronics | |
| CN112650384A (en) | Low-power-consumption dormancy awakening control circuit and control circuit of multiple power domains | |
| JP2523960B2 (en) | Document editing device | |
| US4961008A (en) | Power reduction during power down | |
| WO2000025195A1 (en) | Electronic device, control circuit for electronic device, and method of controlling electronic device | |
| JPH0279111A (en) | Electronics | |
| JPH02178817A (en) | Portable electronic apparatus | |
| JP3671255B2 (en) | Power monitoring device | |
| JPH0464190A (en) | IC cards and data processing devices | |
| KR200299465Y1 (en) | Microprocessor's Power-Down Wake-Up Circuitry | |
| JPH04220789A (en) | Clock switching method for ic card | |
| JP2515152B2 (en) | Electronic circuit |