JPH02220189A - Portable ic card terminal equipment - Google Patents

Portable ic card terminal equipment

Info

Publication number
JPH02220189A
JPH02220189A JP1041205A JP4120589A JPH02220189A JP H02220189 A JPH02220189 A JP H02220189A JP 1041205 A JP1041205 A JP 1041205A JP 4120589 A JP4120589 A JP 4120589A JP H02220189 A JPH02220189 A JP H02220189A
Authority
JP
Japan
Prior art keywords
card
data
frequency
rated
clock
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
JP1041205A
Other languages
Japanese (ja)
Inventor
Takehiro Takahashi
武博 高橋
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 JP1041205A priority Critical patent/JPH02220189A/en
Publication of JPH02220189A publication Critical patent/JPH02220189A/en
Priority to US07/953,299 priority patent/US5247164A/en
Priority to US08/123,101 priority patent/US5406064A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To decrease the current consumption of an IC card without a data transmission fault by supplying a frequency slower than the rated clock frequency of the IC card, and data-communicating at the data transmitting speed delayed with respect to the rated data transmission speed at the same ratio as that of the supplied clock frequency to the IC card. CONSTITUTION:In a processing execution period 22 when an IC card 2 executes a processing corresponding to a command 20, a handy terminal 16 impresses the frequency somewhat lower than the rated clock frequency, for example a clock frequency fa = 2.4576MHz to be 1/2 of the rated clock frequency, to the IC card 2 by a clock control circuit 4, and in a command waiting period 23, a clock frequency f' = 614.40kHz is impressed to the IC card 2 by the clock control circuit 4. A microprocessor 9 controls a serial communication interface circuit (SCI) 5, and transmits the data at the 1/8 transmission speed of the rated data transmission speed by the SCI 5. Thus the current consumption of the IC card is reduced to about 1/8.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、携帯用ICカード端末装置に関し、詳しく
は、電池駆動の携帯用端末装置において、装着されたI
Cカードを駆動するときの電力消費を低減することがで
きるような携帯用ICカード端末装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a portable IC card terminal device, and more specifically, in a battery-powered portable terminal device, an attached IC card terminal device is used.
The present invention relates to a portable IC card terminal device that can reduce power consumption when driving a C card.

[従来の技術] 従来のICカードが行う外部装置との間のデータ授受動
作としては、例えば、外部装置の1つであるホストコン
ピュータ、ICカードリーダ・ライタ、或いは端末装置
(以下、これらを含めて端末装置で代表する)にICカ
ードが装着されたときに、端末装置から発信されたコマ
ンドをICカードの内部制御プログラムで解読し、その
内容に従ってメモリのアクセス、例えばデータの書込み
、読出し及び消去を実行し、その結果をコマンドに対す
るレスポンスとして端末装置に返答するシーケンスに従
って行われる。この場合、端末装置は、常に、マスター
杖態にあって、ICカードはスレーブとなり、端末装置
から送出されるコマンドを待って動作するコマンド待ち
杖態がある。
[Prior Art] Conventional IC cards exchange data with external devices, such as a host computer, which is one of the external devices, an IC card reader/writer, or a terminal device (hereinafter, including these). When an IC card is inserted into a terminal device (represented by a terminal device), the IC card's internal control program decodes commands sent from the terminal device, and accesses the memory according to the contents, such as writing, reading, and erasing data. This is done according to a sequence in which the command is executed and the result is returned to the terminal device as a response to the command. In this case, the terminal device is always in a master state, and the IC card is a slave, and there is a command waiting state in which it operates while waiting for a command sent from the terminal device.

このような従来のICカードでは、その消費電力が1チ
ツプ型ICを内蔵するものでは約50mW程度であり、
2チツプ型ICを内蔵するものでは約210mW程度で
ある。これは、卓上電子計算機等の消費電力が0.3〜
15mW程度であるのに比べ、比較的大きな消費電力で
あると言える。
In such conventional IC cards, the power consumption is approximately 50mW if it has a built-in 1-chip IC.
For those with a built-in 2-chip IC, the output power is approximately 210 mW. This means that the power consumption of desktop computers, etc. is 0.3~
It can be said that the power consumption is relatively large compared to that of about 15 mW.

一方、近年、−枚のICカードで種々の機能を持たせて
、あるときは銀行用に、あるときは病院用に、またある
ときは、クレジット用にと各種の用途に使用できるよう
にすることがICカードに要求されている。しかも、各
種の要求を清たすために、ICカードが携帯用端末装置
に装着されて使用されるようになってきている。
On the other hand, in recent years, IC cards have been given various functions so that they can be used for various purposes such as banks, hospitals, and credit cards. This is required for IC cards. Furthermore, in order to satisfy various demands, IC cards are being used by being attached to portable terminal devices.

[解決しようとする課題] ICカードが携帯用端末装置であるハンディターミナル
等の端末装置で使用される場合、端末装置側は、通常、
電池駆動のICカード端子付き端末装置(以下、ハンデ
ィ端末)となっていて、比較的大容量の電池が組込まれ
ている。それがハンディ端末の重量を重クシ、その軽減
の障害となるばかりか、充電式電池を内蔵するものでは
、ICカードの消費電力が大きくなると、その充電回数
も多くなる欠点がある。しかも、充電式の大型電池を使
用した場合には、ハンディ端末をポケットに入る程度ま
で小型化することが難しくなる。
[Problem to be solved] When an IC card is used in a terminal device such as a handheld terminal device, the terminal device usually
It is a battery-powered terminal device with an IC card terminal (hereinafter referred to as a "handy terminal"), and is equipped with a relatively large-capacity battery. Not only does this increase the weight of the handheld terminal, which is an obstacle to reducing the weight, but also, in the case of an IC card with a built-in rechargeable battery, as the power consumption of the IC card increases, the number of times the IC card must be charged also increases. Moreover, when a large rechargeable battery is used, it becomes difficult to downsize the handy terminal to the extent that it can fit in a pocket.

この発明は、このような従来技術の問題点を解決するも
のであって、小容量電池等を使用してICカードに電力
供給をしても長時間ICカードを駆動することができ、
小型化が容易な携帯用ICカード端末装置を提供するこ
とを目的とする。
The present invention solves the problems of the prior art, and is capable of driving an IC card for a long time even when power is supplied to the IC card using a small capacity battery, etc.
An object of the present invention is to provide a portable IC card terminal device that can be easily miniaturized.

[課題を解決するための手段] このような目的を達成するためのこの発明の携帯用IC
カード端末装置の特徴は、ICカードに設定された定格
のクロック数周波数より低い周波数のクロック信号(以
下クロック)を発生するクロック信号発生回路と、この
クロックの周波数と定格のクロック周波数との比率に対
応する比率の伝送速度でICカードへデータを送出し、
ICカードからデータを受けるインターフェイスとを備
えていて、低い周波数のクロックをICカードに供給し
てICカードとデータの授受を行うものである。
[Means for Solving the Problems] Portable IC of the present invention for achieving the above purpose
The card terminal device is characterized by a clock signal generation circuit that generates a clock signal (hereinafter referred to as a clock) with a frequency lower than the rated clock frequency set on the IC card, and the ratio of the frequency of this clock to the rated clock frequency. Sends data to the IC card at the transmission speed of the corresponding ratio,
It is equipped with an interface for receiving data from an IC card, and transmits and receives data to and from the IC card by supplying a low frequency clock to the IC card.

[作用] ところで、ICカードに内蔵されているマイクロフロセ
ッサの消費電流は、およそクロック周波数が高(なると
それに比例して増加する。そこで、ICカードは、低消
費電流化を目的にクロック周波数を低減させることが可
能であるが、クロックを規準にしてデータの送受信動作
を行うため、ハンディ端末が定格伝送速度でICカード
とデータ伝送が行えなくなる。しかし、伝送速度を定格
伝送速度×(供給クロック周波数)/(定格クロック周
波数)に低減すれば、データ伝送は可能である。
[Function] By the way, the current consumption of the microprocessor built into an IC card increases in proportion to the higher the clock frequency. Therefore, IC cards reduce the clock frequency for the purpose of lowering the current consumption. However, since data transmission and reception operations are performed based on the clock, the handy terminal will not be able to transmit data with the IC card at the rated transmission speed. )/(rated clock frequency), data transmission is possible.

したがって、前記のように構成してICカードへの供給
クロック周波数を低減させ、もって、その消費電力を低
減することができる。しかし、この場合、ICカード内
の処理速度が低下する。そこで、ICカードとの間で多
量のデータを伝送してICカードに対してリード/ライ
トを行うような場合には多くの時間を要する。このよう
な場合に、処理速度の大きな低下をさせずに消費電流を
低減させるために、定格周波数のクロック又はそれより
少し低い周波数とこれらよりさらに低いクロックの複数
のクロック周波数を発生させる手段を設けて、ICカー
ドが特定の処理を実行しているときには定格の周波数或
いは定格周波数からあまり大きく下げていないクロック
周波数でICカードを動作させ、このことにより処理速
度の低下を抑えることができる。
Therefore, with the above configuration, it is possible to reduce the clock frequency supplied to the IC card, thereby reducing its power consumption. However, in this case, the processing speed within the IC card decreases. Therefore, it takes a lot of time to transmit a large amount of data to and from the IC card and read/write data to and from the IC card. In such a case, in order to reduce current consumption without significantly reducing processing speed, a means is provided to generate multiple clock frequencies, including a clock at the rated frequency or a slightly lower frequency and a clock even lower than these. When the IC card is executing a specific process, the IC card is operated at the rated frequency or at a clock frequency that is not significantly lower than the rated frequency, thereby suppressing a decrease in processing speed.

そこで、例えば、ICカードがコマンド待ち状態にある
間はクロック周波数を大きく下げて低い周波数のクロッ
クを供給することで消費電力を下げ、かつ、特定の処理
実行時には定格のクロック周波数に近い低い周波数とし
て処理速度を通常の場合より大きく低下させることなく
処理を実行させることができる。
Therefore, for example, while the IC card is in the command waiting state, the clock frequency can be significantly lowered to supply a low frequency clock to reduce power consumption, and when executing a specific process, the clock frequency can be lowered to a lower frequency close to the rated clock frequency. Processing can be executed without significantly reducing the processing speed compared to normal cases.

なお、ICカードは、コマンドに対する処理時間よりも
コマンド待ち時間の方が長い時間であるので、前記のよ
に、コマンド待ちの間にクロック周波数を大きく下げる
ことにより、平均消費電流を太き(低減させることがで
きる。この場合、電力消費を抑えるためにICカードに
対する供給電源を切ったりしたときのようにICカード
内のRAMの情報が失われてしまうというような危険性
はない。また、コマンド待ちの間は、ICカード内のL
SIの正常動作範囲内で特にクロックの供給をストップ
させて、さらに、電力消費を低減させることもできる。
Note that with an IC card, the command waiting time is longer than the command processing time, so as mentioned above, by significantly lowering the clock frequency while waiting for a command, the average current consumption can be increased (reduced). In this case, there is no risk that the information in the RAM in the IC card will be lost, unlike when the power supply to the IC card is cut off to reduce power consumption. While waiting, press L on your IC card.
It is also possible to further reduce power consumption by specifically stopping the clock supply within the normal operating range of the SI.

ICカード内のLSIには、書込み可能な不揮発性メモ
リ(例えば、EEPROM)の書込み/消去の動作シー
ケンスを生成するために発振器を内蔵したものがあって
、普通、この発振器はICカード供給クロックとは独立
に動作する。そこで、このようなEEPROMに対して
データの書込み/消去を行う場合には、ICカードの内
部の制御プログラムは、この発振器の動作シーケンスに
同期して動作するが、内部に格納された書込み/消去の
制御プログラム自体は、ICカードに対して外部から供
給される定格のクロック周波数で動作することになる。
Some LSIs in IC cards have built-in oscillators to generate write/erase operation sequences for writable non-volatile memory (e.g. EEPROM), and this oscillator is usually synchronized with the IC card supply clock. operate independently. Therefore, when writing/erasing data to such an EEPROM, the internal control program of the IC card operates in synchronization with the operating sequence of this oscillator, but the internally stored writing/erasing The control program itself operates at the rated clock frequency supplied externally to the IC card.

その結果、クロック周波数が低下した場合にはEEPR
OMへのデータの書込み/消去が行えなくなる欠点があ
る。
As a result, if the clock frequency decreases, the EEPR
There is a drawback that writing/erasing data to OM becomes impossible.

このような場合に、EEPROMへのデータの書込み/
消去を正常に行い、消費電流を低減させるために、EE
PROMを内蔵しているICカードでは、データの書込
み/消去を行う間だけ定格クロック周波数でクロックを
ICカードに供給するようにし、それ以外の場合には定
格クロック周波数より低い周波数のクロックを供給して
消費電力を低減することができる。
In such cases, writing data to EEPROM/
In order to erase normally and reduce current consumption, EE
For IC cards with a built-in PROM, a clock is supplied to the IC card at the rated clock frequency only while writing/erasing data, and at other times, a clock at a frequency lower than the rated clock frequency is supplied. power consumption can be reduced.

[実施例] 以下、この発明の一実施例について図面を参照して詳細
に説明する。
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は、この発明による携帯用ICカード端末装置を
ハンディ端末に適用した一実施例の回路構成図であり、
第2図は、そのハンディ端末の外観図、第3図は、その
動作タイミングチャート、第4図は、ICカードにEE
FROMが内蔵されている場合のデータの書込処理の一
例を示すタイミングチャート、そして、第5図は、この
発明を適用したハンディ端末におけるEEFROMにデ
ータを書込む場合の一実施例の動作タイミングチャート
である。
FIG. 1 is a circuit diagram of an embodiment in which a portable IC card terminal device according to the present invention is applied to a handy terminal.
Fig. 2 is an external view of the handy terminal, Fig. 3 is its operation timing chart, and Fig. 4 is an EE
A timing chart showing an example of a data writing process when a FROM is built-in, and FIG. 5 is an operation timing chart of an example of writing data to an EEFROM in a handy terminal to which the present invention is applied. It is.

第1図において、16は、ハンディ端末であって、IC
カード2が装着され、このICカード2とデータ交換を
行う。ハンディ端末1θは、マイクロプロセッサ9と、
マイクロプロセッサ9とICカード2とのインタフェー
スとなるtCカードインターフェース回路1、電源制御
回路8、表示制御回路101キーボードインタフエース
回路11、そしてメモリ12とを有していて、表示制御
回路10には液晶表示装置(LCD)13が接続され、
キーボードインタータエース回11にはキーボード14
が接続されている。
In FIG. 1, 16 is a handy terminal with an IC
A card 2 is installed, and data is exchanged with this IC card 2. The handy terminal 1θ includes a microprocessor 9,
It has a tC card interface circuit 1 serving as an interface between the microprocessor 9 and the IC card 2, a power supply control circuit 8, a display control circuit 101, a keyboard interface circuit 11, and a memory 12. A display device (LCD) 13 is connected,
Keyboard interace time 11 is keyboard 14
is connected.

電源制御回路8は、電源スィッチ9と電池7とが接続さ
れていて、電池7の電力が電源スィッチ9の“0N10
FF”に応じてハンディ端末16を構成する前記の各回
路に供給される。そして、ICカード2にはマイクロプ
ロセッサ9の制御の下にICカードインタフェース回路
1を介して電池7から電力が供給される。
In the power supply control circuit 8, a power switch 9 and a battery 7 are connected, and the power of the battery 7 is set to "0N10" of the power switch 9.
FF" is supplied to each of the circuits that constitute the handy terminal 16. Power is then supplied to the IC card 2 from the battery 7 via the IC card interface circuit 1 under the control of the microprocessor 9. Ru.

ICカードインタフェース回路1は、制御信号に応じて
ICカード2に電力を供給するICカード電源制御回路
3と、定格クロック周波数(=f)のクロック信号を発
生し、これを、例えば、178に低減する1/8分周回
路を内蔵し、定格周波数の178の周波数(=f’)の
クロックを生成するクロック制御回路4、そしてマイク
ロプロセッサ9から出力されるパラレルデータをシリア
ルに変換してICカード2に出力し、ICカード2から
のシリアルのデータをパラレルに変換してマイクロプロ
セッサ8に送出するシリアルコミユニケージUンインタ
フェース回路(SCI)5とを備えている。
The IC card interface circuit 1 and the IC card power supply control circuit 3 supply power to the IC card 2 according to a control signal, and generate a clock signal of a rated clock frequency (=f), which is reduced to, for example, 178. A clock control circuit 4 has a built-in 1/8 frequency divider circuit that generates a clock with a frequency of 178 (=f'), which is the rated frequency, and converts parallel data output from the microprocessor 9 into serial data and outputs it to an IC card. 2, and a serial communication interface circuit (SCI) 5 that converts serial data from the IC card 2 into parallel data and sends it to the microprocessor 8.

ここで、5CI5は、マイクロプロセッサ9に制御され
て、クロック制御回路4が発生するクロック信号が1/
8 (:l’ /f)となったときに、それに対応して
そのデータ伝送速度を1/8を低減させてICカード2
とデータ交換を行う。また、表示制御回路10は、マイ
クロプロセッサ9の制御に応じてマイクロプロセッサ9
等から受けたデータをLCD13に転送して所定の情報
を表示する制御をし、キーボードインターフェース回路
11は、キーボード14からの入力情報を受けて、マイ
クロプロセッサ9に割込みをかけ、所定の入力情報をマ
イクロプロセッサ9に送出スる。
Here, the 5CI5 is controlled by the microprocessor 9 so that the clock signal generated by the clock control circuit 4 is 1/
8 (:l' /f), the data transmission speed is reduced by 1/8 and the IC card 2
and exchange data. The display control circuit 10 also controls the microprocessor 9 according to the control of the microprocessor 9.
The keyboard interface circuit 11 receives input information from the keyboard 14 and interrupts the microprocessor 9 to display predetermined information. It is sent to the microprocessor 9.

次に、以上のような構成からなるハンディ端末18の動
作について説明すると、まず、電源スィッチ8が投入(
“ON”)されると、電源制御回路8が動作し、電池7
から一定電圧の電力がマイクロプロセッサ9と、ICカ
ードインターフェース回路1、表示制御回路10、キー
ボードインターフェース回路11.メモリ12、LCD
13、そしてキーボード14にそれぞれ供給される。マ
イクロプロセッサ9は、電力供給を受けると、内蔵され
たプログラム格納ROM15内の所定のプログラムを起
動してこれに従って、ICカードインターフェース回路
1と、表示制御回路10、キーボードインターフェース
回路IL メモリ12、そして電源制御回路8を制御し
てハンディ端末!6に設定されたアプリケ−シロン処理
を実行する。
Next, the operation of the handy terminal 18 having the above configuration will be explained. First, when the power switch 8 is turned on (
When turned on (“ON”), the power supply control circuit 8 operates, and the battery 7
A constant voltage power is supplied to the microprocessor 9, the IC card interface circuit 1, the display control circuit 10, the keyboard interface circuit 11 . Memory 12, LCD
13 and the keyboard 14, respectively. When the microprocessor 9 receives power, it starts a predetermined program in the built-in program storage ROM 15 and, in accordance with the program, controls the IC card interface circuit 1, the display control circuit 10, the keyboard interface circuit IL memory 12, and the power supply. Handy terminal by controlling the control circuit 8! Execute the application processing set to 6.

このアプリケージ日ン処理の実行過程においてICカー
ド2に対してアクセス要求が生じた場合には、ICカー
ドインターフェース回路1をマイクロプロセッサ9が制
御して、ICカードインターフェース回路1がICカー
ド2に電力供給信号線1aを介して電力(電源Vcc)
を供給し、クロック供給線1bを介してクロック(CL
K)を供給し、制御線1dから加えるリセット信号(π
IT)をHh i ghレベル(以下“H”)に設定し
、I10信号線1cを通してデータを送信或は受信する
。なお、1eは、接地(GND)信号線である。
When an access request is made to the IC card 2 during the execution process of the application card date processing, the microprocessor 9 controls the IC card interface circuit 1, and the IC card interface circuit 1 supplies power to the IC card 2. Power (power supply Vcc) via the supply signal line 1a
A clock (CL) is supplied via the clock supply line 1b.
K) and a reset signal (π
IT) is set to Hh i gh level (hereinafter referred to as "H"), and data is transmitted or received through the I10 signal line 1c. Note that 1e is a ground (GND) signal line.

ここで、ICカード2は、例えば、ISO規格に基づい
た定格クロツク周波数f =4.9152MH71定格
デ一タ伝送速度9800BPSのカードであると仮定す
ると、この実施例では、クロック制御回路4により前記
の定格クロック周波数の1/8のf′=B璽4.40K
Hzの周波数のクロックをICカード2へ送出する。
Here, assuming that the IC card 2 is a card with a rated clock frequency f = 4.9152 MH71 and a rated data transmission speed of 9800 BPS based on the ISO standard, in this embodiment, the clock control circuit 4 1/8 of the rated clock frequency f' = B 4.40K
A clock with a frequency of Hz is sent to the IC card 2.

ICカード2は、受けた4、9152MHz ツクC’
 −/ りを規準にして、98008PSのデータ伝送
処理を行うように規格化されているので、ここで、G1
4.40KH2のクロックを印加した場合には、980
08PSではデータ伝送を行えなくなる。そこで、マイ
クロプロセッサ9が5CI5を制御して、5Cf5によ
り、 すなわち、定格データ伝送速度の1/8の伝送速度12
00BPSでデータ伝送をするように制御し、このこと
でICカードとハンディ端末16との間でのデータ伝送
が可能となる。このようにすることにより、ICカード
の消費電流は約1/8となり、小型電池による電力供給
が可能となり、ハンディ端末16の小型、軽量化ができ
る。
IC card 2 received 4,9152MHz TsukuC'
-/ Since it has been standardized to perform data transmission processing of 98008 PS, G1
When applying a clock of 4.40KH2, 980
Data transmission cannot be performed in 08PS. Therefore, the microprocessor 9 controls the 5CI5 to obtain a transmission rate of 12, which is 1/8 of the rated data transmission rate, by the 5Cf5.
Control is performed such that data is transmitted at 00 BPS, thereby enabling data transmission between the IC card and the handy terminal 16. By doing so, the current consumption of the IC card is reduced to about 1/8, and power can be supplied by a small battery, making it possible to make the handy terminal 16 smaller and lighter.

一方、このようなハンディ端末16がICカード2に対
して多量のデータを一括書込みするときには、或は−括
読出しをするときなどの処理では、前記の方式だけでは
データの伝送時間が長くなる。
On the other hand, when such a handy terminal 16 writes a large amount of data to the IC card 2 at once, or performs a batch read operation, the data transmission time becomes long if only the above method is used.

そこで、このような欠点を排除するため、ハンディ端末
16は、第3図に示すような動作する。
Therefore, in order to eliminate such drawbacks, the handy terminal 16 operates as shown in FIG. 3.

すなわち、第3図は、ハンディ端末16からICカード
2に送出されるクロック(CLK)、!:ハンディ端末
18とICカード2との間の伝送データ(Ilo)との
関係を示している。
That is, FIG. 3 shows the clock (CLK) sent from the handy terminal 16 to the IC card 2, ! : Shows the relationship between the transmission data (Ilo) between the handy terminal 18 and the IC card 2.

ICカード2は、ハンディ端末16からコマンドデータ
20を受信し、レスポンスデータ21を送信する。IC
カード2がコマンド20に対応シた処理を行う処理実行
期間22の期間では、ハンディ端末16は、クロック制
御回路4により定格クロック周波数より多少低い、例え
ば、定格クロック周波数の172のクロック周波数fa
=2.45711MHzをICカード2に印加し、コマ
ンド待ち期間23の期間では、クロック制御回路4によ
りりC1,り周波数f ’ =814.40KIIzを
ICカード2に印加する。このようにコマンドデータ2
0、及びレスポンスデータ21の送受信時には、ハンデ
ィ端末16が2.4576MHzのりo +7りをIC
7!F−)’2に印加する場合には、ハンディ端末lθ
の伝送速度は、定格データ伝送速度の1/2のデータ伝
送速度は、 となる。
The IC card 2 receives command data 20 from the handy terminal 16 and transmits response data 21. IC
During the processing execution period 22 in which the card 2 performs processing corresponding to the command 20, the handy terminal 16 is controlled by the clock control circuit 4 to operate at a clock frequency fa of 172, which is slightly lower than the rated clock frequency.
=2.45711 MHz is applied to the IC card 2, and during the command waiting period 23, the clock control circuit 4 applies a frequency f' =814.40 KIIz to the IC card 2. Command data 2 like this
When transmitting and receiving 0 and response data 21, the handy terminal 16 transmits the 2.4576MHz frequency o +7 to the IC.
7! When applying to F-)'2, the handy terminal lθ
The transmission speed of 1/2 of the rated data transmission speed is as follows.

なお、ICカード2へのコマンドデータ20゜レスポン
スデータ21の送受信は、キーボード14のキー押下に
対応して行われるため、その処理実行期間はコマンド待
ち時間に比べてきわめて小さい。その結果、多量データ
をICカードとの間で高速に処理でき、かつ平均消費電
流を小さくすることができる。また、コマンド待ちの間
、電源を切るようなことをしないで済むため、ICカー
ド2のRAM内の情報が失われるという欠点もない。
Note that since the command data 20° and response data 21 are transmitted and received to and from the IC card 2 in response to key presses on the keyboard 14, the processing execution period is extremely short compared to the command waiting time. As a result, a large amount of data can be processed at high speed with the IC card, and average current consumption can be reduced. Furthermore, since there is no need to turn off the power while waiting for a command, there is no disadvantage that information in the RAM of the IC card 2 will be lost.

ところで、ICカード2内にEEPROMのチップを内
蔵するものでは、データの書込み/消去の動作シーケン
スを生成するために外部クロックとは独立する発振器を
内蔵したものがある。第4図は、このようなEEPRO
Mを有するICカード2の一般的な書込み動作にっての
タイミングチャートである。
By the way, some IC cards 2 that include an EEPROM chip include an oscillator that is independent of an external clock in order to generate a data write/erase operation sequence. Figure 4 shows such an EEPRO
3 is a timing chart of a general write operation of an IC card 2 having M.

第4図に示す(a)は、アドレス(AddreS)信号
であり、データを書込むには、まず、同図(b)のチッ
プイネーブル(CE)信号をり。
(a) shown in FIG. 4 is an address (AdreS) signal. To write data, first, the chip enable (CE) signal shown in FIG. 4 (b) is used.

Wレベル(以下“L”)にし、同図(d)のアウトプッ
トイネーブル(OE)信号をH”にしたあと、アドレス
データ(D f n)をセットし、同図(C)のライト
イネーブル信号を“L″にする。
After setting the output enable (OE) signal in the figure (d) to the W level (hereinafter referred to as "L") and setting the output enable (OE) signal in the figure (d) to "H", set the address data (D f n) and set the write enable signal in the figure (C). Set to “L”.

その結果、同図(e)の書込みデータ(D i n)が
ロードされる。このロードがなされた後に、同図(C)
のライトイネーブル信号を“H”にし、その後、最初の
1バイトデータをロードし、それから30US(:tB
Lc)以内であれば、再びライトイネーブル信号を“L
”にすることにより連続して32バイトまでのデータの
書込みができる。
As a result, the write data (D i n ) shown in FIG. 4(e) is loaded. After this loading is done, the same figure (C)
Set the write enable signal to “H”, then load the first 1 byte data, and then
Lc), the write enable signal is set to “L” again.
”, it is possible to write up to 32 bytes of data consecutively.

なお、このバイトロードサイクルt BLCの最大値3
0usは、ICカード2へ供給クロックとは独立な、L
SI内の発振器によって決まる。なお、同図(e)は、
ビジー(Buz)’)信号である。
Note that the maximum value of this byte load cycle t BLC is 3.
0us is an L signal that is independent of the clock supplied to the IC card 2.
Determined by the oscillator within the SI. In addition, the same figure (e) is
This is a busy (Buz) signal.

さて、この場合、ライトイネーブル信号の制御は、IC
カード2内のマイクロプロセッサ9のプログラムによっ
て行われる。そのためICカード2への供給クロックに
依存するのでICカード供給クロック周波数を大きく低
下させると、バイトロードサイクルt BLCの最大値
以内に、ライトイネーブル信号を制御できず、書込み不
良が生じる。
Now, in this case, the write enable signal is controlled by the IC.
This is performed by the program of the microprocessor 9 in the card 2. Therefore, since it depends on the clock supplied to the IC card 2, if the frequency of the clock supplied to the IC card is significantly lowered, the write enable signal cannot be controlled within the maximum value of the byte load cycle tBLC, resulting in a write failure.

このような欠点を解決するためのクロック制御の動作の
タイミング制御が第5図である。
FIG. 5 shows timing control of the clock control operation to solve such a drawback.

第5図の(b)に示すように、ライトイネーブル(WE
)信号を制御して、データの書込みを行うデータ書込み
実行期間24の間は、同図の(a)に示すように、IC
カードの定格クロックf (=4.9152MHz )
を印加し、それ以外では低周波数のクロックf″ (:
814.40にHz )を印加するように制御する。こ
のときのデータ伝送速度は、定格りo−、りf (=4
.9152MH2)のときには定格であり、りo +7
りf ’  (=614.40KHz )の印加時には
1200BPSとなる。この場合、ICカード書込み実
行期間は、他のICカード処理期間に比べて小さいので
、平均消費電流を低くすることができ、かつ書込み不良
が生じない。
As shown in FIG. 5(b), the write enable (WE)
) During the data write execution period 24 in which data is written by controlling the signal, as shown in (a) of the figure, the IC
Card rated clock f (=4.9152MHz)
otherwise a low frequency clock f'' (:
814.40 Hz). The data transmission speed at this time is rated o-, f (=4
.. 9152MH2), it is rated and Rio +7
When f' (=614.40KHz) is applied, the speed is 1200BPS. In this case, since the IC card write execution period is smaller than other IC card processing periods, the average current consumption can be lowered and no write failures occur.

以上説明してきたが、ICカード内のEEPROMへの
データの消去/書込み以外にも、ICカード供給クロッ
クと独立な時間制限がある場合に同様にクロックを低減
させる制御が有効である。
As described above, in addition to erasing/writing data to the EEPROM in the IC card, control to reduce the clock is also effective when there is a time limit independent of the IC card supply clock.

また、定格のクロックの供給については、EEPROM
へのデータ書込み実行期間より長い期間、例えば、消去
/書込み関係コマンドの実行時に対して定格クロック周
波数を印加するようにしてもよい。
In addition, regarding the supply of the rated clock, please refer to the EEPROM
The rated clock frequency may be applied for a period longer than the data writing period, for example, when erasing/writing related commands are executed.

なお、実施例で採用したクロック周波数は一例であり、
他の周波数でも同様の効果があることは言うまでもない
。したがって、この発明は、実施例に示すように定格ク
ロック周波数やそれに対して1/8にクロック周波数を
低減する場合に限定されるものではないことはもちろん
である。
Note that the clock frequency adopted in the example is an example;
It goes without saying that similar effects can be obtained at other frequencies. Therefore, it goes without saying that the present invention is not limited to the rated clock frequency or to the case where the clock frequency is reduced to 1/8 of the rated clock frequency as shown in the embodiments.

[発明の効果コ 以上説明したように、この発明にあっては、ICカード
の定格クロック周波数より遅い周波数を供給する手段と
、ICカードの定格クロック周波数に対するICカード
への供給クロック周波数と同比率で、定格データ伝送速
度に対して遅くしたデータ伝送速度でデータ通信する手
段を備えているのでデータ伝送障害なしにICカードの
消費電流の低減ができ、携帯用ICカード端末装置を小
型化できる。
[Effects of the Invention] As explained above, the present invention includes a means for supplying a frequency slower than the rated clock frequency of the IC card, and a means for supplying a frequency slower than the rated clock frequency of the IC card, and a means for supplying a clock frequency that is equal in ratio to the rated clock frequency of the IC card. Since the device is equipped with a means for data communication at a data transmission speed lower than the rated data transmission speed, the current consumption of the IC card can be reduced without any data transmission failure, and the portable IC card terminal device can be downsized.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、この発明による携帯用ICカード端末装置を
ハンディ端末に適用した一実施例の回路構成図、第2図
は、そのハンディ端末の外観図、第3図は、その動作タ
イミングチャート、第4図は、ICカードにEEPRO
Mが内蔵されている場合のデータの書込処理の一例を示
すタイミングチャート、第5図は、この発明を適用した
ハンディ端末におけるEEPROMにデータを書込む場
合の一実施例の動作タイミングチャートである。 l・・・ICカードインターフェース回路、2・・・I
Cカード、3・・・ICカード電源制御回路、4・・・
クロック制御回路、5・・・シリアルコミユニケージロ
ンインターフェース回路(SCI)、6・・・電源スィ
ッチ、7・・・電池、8・・・電源制御回路、9・・・
マイクロプロセッサ、lO・・・表示制御回路、11・
・・キーボードインタータエース回路、12・・・メモ
リ、13・・・LCD。 14・・・キーボード、15・・・プログラム格納RO
M116・・・携帯用ICカード端末装置、f、f’ 
 fa・・・クロック周波数、20・・・コマンドデー
タ、21・・・レスポンスデータ、22・・・処理実行
期間、23・・・コマンド待ち期間。 第1図 特許出願人 日立マクセル株式会社
FIG. 1 is a circuit configuration diagram of an embodiment in which a portable IC card terminal device according to the present invention is applied to a handy terminal, FIG. 2 is an external view of the handy terminal, and FIG. 3 is an operation timing chart thereof. Figure 4 shows the EEPRO on the IC card.
FIG. 5 is a timing chart showing an example of a data writing process when M is built-in. FIG. . l...IC card interface circuit, 2...I
C card, 3... IC card power supply control circuit, 4...
Clock control circuit, 5... Serial communication interface circuit (SCI), 6... Power switch, 7... Battery, 8... Power control circuit, 9...
Microprocessor, lO...display control circuit, 11.
...Keyboard interace circuit, 12...Memory, 13...LCD. 14...Keyboard, 15...Program storage RO
M116...portable IC card terminal device, f, f'
fa...Clock frequency, 20...Command data, 21...Response data, 22...Process execution period, 23...Command waiting period. Figure 1 Patent applicant Hitachi Maxell Ltd.

Claims (4)

【特許請求の範囲】[Claims] (1) ICカードが装着され、装着されたこのICカ
ードに電力とクロック信号と制御信号とを送出してこの
ICカードとデータの授受を行い、電池で駆動される携
帯用ICカード端末装置において、前記ICカードに設
定された定格のクロック数周波数より低い周波数の前記
クロック信号を発生するクロック信号発生回路と、この
クロック信号の周波数と前記定格のクロック周波数との
比率に対応する比率の伝送速度で前記ICカードへデー
タを送出し、前記ICカードからデータを受けるインタ
ーフェイスとを備え、低い周波数の前記クロック信号を
前記ICカードに供給して前記ICカードとデータの授
受を行うことを特徴とする携帯用ICカード端末装置。
(1) In a portable IC card terminal device in which an IC card is installed, data is exchanged with the IC card by sending power, a clock signal, and a control signal to the installed IC card, and the device is powered by a battery. , a clock signal generation circuit that generates the clock signal with a frequency lower than the rated clock frequency set in the IC card, and a transmission speed having a ratio corresponding to the ratio between the frequency of this clock signal and the rated clock frequency. and an interface for transmitting data to the IC card and receiving data from the IC card, and supplying the clock signal of a low frequency to the IC card to exchange data with the IC card. Portable IC card terminal device.
(2) クロック信号発生回路はその外部から供給され
る制御信号に応じて定格の周波数のクロック信号及びこ
れより低い周波数のクロック信号のいずれか一方を選択
的に発生し、前記クロック信号発生回路が発生するクロ
ック信号が定格周波数であるときにはインターフェイス
は前記定格周波数に対応する定格のデータ伝送速度でI
Cカードへデータを送出し、このICカードからデータ
を受けることを特徴とする請求項1記載の携帯用ICカ
ード端末装置。
(2) The clock signal generation circuit selectively generates either a clock signal of a rated frequency or a clock signal of a lower frequency according to a control signal supplied from the outside, and the clock signal generation circuit When the generated clock signal is at the rated frequency, the interface transmits I at the rated data transmission rate corresponding to said rated frequency.
2. The portable IC card terminal device according to claim 1, wherein the portable IC card terminal device transmits data to a C card and receives data from the IC card.
(3) 装着されるICカードが書込み可能な不揮発性
メモリを有していて、前記ICカードへのデータ消去又
は書込み動作時には前記ICカードに定格周波数のクロ
ック信号を供給することを特徴とする請求項2記載の携
帯用ICカード端末装置。
(3) A claim characterized in that the IC card to be installed has a writable nonvolatile memory, and a clock signal of a rated frequency is supplied to the IC card when data is erased or written to the IC card. The portable IC card terminal device according to item 2.
(4) ICカードがコマンド待ち状態に入ったときに
前記ICカードへ供給するクロック信号を一時的に停止
させる手段を備えることを特徴とする請求項1乃至3か
ら選択された1項記載の携帯用ICカード端末装置。
(4) The mobile phone according to claim 1 selected from claims 1 to 3, further comprising means for temporarily stopping the clock signal supplied to the IC card when the IC card enters a command waiting state. IC card terminal device.
JP1041205A 1989-01-26 1989-02-21 Portable ic card terminal equipment Pending JPH02220189A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP1041205A JPH02220189A (en) 1989-02-21 1989-02-21 Portable ic card terminal equipment
US07/953,299 US5247164A (en) 1989-01-26 1992-09-30 IC card and portable terminal
US08/123,101 US5406064A (en) 1989-01-26 1993-09-20 IC card and portable terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1041205A JPH02220189A (en) 1989-02-21 1989-02-21 Portable ic card terminal equipment

Publications (1)

Publication Number Publication Date
JPH02220189A true JPH02220189A (en) 1990-09-03

Family

ID=12601911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1041205A Pending JPH02220189A (en) 1989-01-26 1989-02-21 Portable ic card terminal equipment

Country Status (1)

Country Link
JP (1) JPH02220189A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0620106A (en) * 1991-12-13 1994-01-28 Matsushita Electric Ind Co Ltd Data transfer system and data transfer terminal equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0620106A (en) * 1991-12-13 1994-01-28 Matsushita Electric Ind Co Ltd Data transfer system and data transfer terminal equipment

Similar Documents

Publication Publication Date Title
US5247164A (en) IC card and portable terminal
US11169594B2 (en) Card and host apparatus
US7233541B2 (en) Storage device
US20050185463A1 (en) Nonvolatile memory and data processing system
EP0569131B1 (en) IC card
WO2004049177A2 (en) Combination non-volatile memory and input-output card with direct memory access
JP2002109490A (en) Memory card and clock control circuit
US20120007723A1 (en) Interrupt generation and acknowledgment for rfid
EP1763036B1 (en) Semiconductor storage device, electronic apparatus, and mode setting method
JP2005174337A (en) Memory system, and method for setting data transmission speed between host and memory card
US8957763B2 (en) RFID access method using an indirect memory pointer
JPH02220189A (en) Portable ic card terminal equipment
CN114141291A (en) Memory, memory control method and system
KR100399603B1 (en) Smart card and method for writing/erasing and operating an os program the same
US5910652A (en) Portable terminal apparatus for an IC card for supplying a power source voltage in a predetermined timing
US7549594B2 (en) Electronic device having plurality of functional units and controller for controlling registers according to status of functional units
JPH02196390A (en) Ic card
JPH02196389A (en) Ic card
JP2654803B2 (en) IC card
JPS62211788A (en) Ic card
JP2003248806A (en) Portable electronic device
JPH04155487A (en) Information processor for ic card
JPH01280891A (en) Ic card