JP2560427B2 - IC card - Google Patents

IC card

Info

Publication number
JP2560427B2
JP2560427B2 JP63153785A JP15378588A JP2560427B2 JP 2560427 B2 JP2560427 B2 JP 2560427B2 JP 63153785 A JP63153785 A JP 63153785A JP 15378588 A JP15378588 A JP 15378588A JP 2560427 B2 JP2560427 B2 JP 2560427B2
Authority
JP
Japan
Prior art keywords
card
power consumption
mode
low power
information processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP63153785A
Other languages
Japanese (ja)
Other versions
JPH023884A (en
Inventor
義一 寄本
正志 高橋
誠治 平野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toppan Inc
Original Assignee
Toppan Printing 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 Toppan Printing Co Ltd filed Critical Toppan Printing Co Ltd
Priority to JP63153785A priority Critical patent/JP2560427B2/en
Priority to DK198902139A priority patent/DK174975B1/en
Priority to NO891828A priority patent/NO176079C/en
Priority to US07/347,212 priority patent/US5129091A/en
Priority to DE68920216T priority patent/DE68920216T2/en
Priority to EP89108155A priority patent/EP0349726B1/en
Publication of JPH023884A publication Critical patent/JPH023884A/en
Priority to US07/872,528 priority patent/US5410714A/en
Application granted granted Critical
Publication of JP2560427B2 publication Critical patent/JP2560427B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Credit Cards Or The Like (AREA)
  • Power Sources (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は外部機器である送受信機に挿着されて当該送
受信機との間で情報の授受を行うICカードに関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial field of application> The present invention relates to an IC card which is inserted into a transceiver which is an external device and which exchanges information with the transceiver.

<従来の技術> 小型演算装置やメモリ等を内蔵したICカードは、コン
ピュータ等の送受信装置との間で情報の授受を行うこと
により利用に供せられる。
<Prior Art> An IC card having a small arithmetic unit, a memory, and the like is used by exchanging information with a transmission / reception device such as a computer.

第11図及び第12図に基づいて従来のICカードの作動を
説明する。
The operation of the conventional IC card will be described with reference to FIGS. 11 and 12.

まず、ICカードの動作シーケンスを示す第12図におい
て、ICカードが送受信機に挿着されてICカード内の超小
型演算装置(MPU)が送受信機からのコマンドを受信す
ると、このコマンドをチェックしてコマンド処理を実行
し、その結果を送受信機へ出力する。なお、この動作に
おいて、送受信機からの通信にエラーがある場合若しく
はコマンドにエラーがある場合には送受信機へエラーメ
ッセイジが出力される。
First, in Fig. 12 showing the operation sequence of the IC card, when the IC card is inserted into the transceiver and the micro processing unit (MPU) in the IC card receives the command from the transceiver, this command is checked. Command processing is executed, and the result is output to the transceiver. In this operation, if there is an error in communication from the transceiver or an error in the command, an error message is output to the transceiver.

そしてICカードのMPUの動作は第12図に示すようなサ
イクルに従って行われる。すなわち、ICカードが送受信
機に挿着されてICカードのMPUに送受信機から電源電圧V
ccとクロック信号CLKがそれぞれ供給され、更に送受信
機からリセット信号▲▼がMPUに入力されると、M
PUは初期化等のリセットルーチン(AO)を行い、送受信
機へ送信可能を知らせるアンサー信号ANSWER TO RESE
Tを送信する(A1)。そして、MPUは送受信機からのコマ
ンド信号(コマンドと共にデータも含むシリアル信号SI
O)の入力を待ち(A2)、コマンド信号が入力された場
合には(A3)コマンド処理を実行して(A4)その結果を
送受信機へ出力する(A5)。このような一連の動作が終
了すると、MPUは送受信機から次のコマンド信号が入力
されるのを待ち(A2)、コマンド信号が入力されたとき
には(A3)上記と同様な処理を繰り返す。
The operation of the MPU of the IC card is performed according to the cycle shown in FIG. That is, the IC card is inserted into the transceiver and the power supply voltage V
When cc and the clock signal CLK are respectively supplied and the reset signal ▲ ▼ is input to the MPU from the transceiver, M
PU performs a reset routine (AO) such as initialization, and sends an answer signal ANSWER TO RESE to notify the transmitter / receiver that transmission is possible.
Send T (A1). The MPU is a command signal from the transceiver (serial signal SI
O) is waited for (A2), and when a command signal is input, (A3) command processing is executed (A4) and the result is output to the transceiver (A5). When such a series of operations is completed, the MPU waits for the next command signal to be input from the transceiver (A2), and when the command signal is input (A3), the same processing as above is repeated.

<発明が解決しようとする課題> ここで、ICカードを挿着する送受信機を持ち運び自在
なものとすれば、ICカードシステムとして用途が拡大す
ることから、送受信機に電源電池を内蔵してハンディー
化することが強く望まれている。
<Problems to be Solved by the Invention> Here, if the transceiver for inserting the IC card is made portable, the use as a smart card system will be expanded. Is strongly desired.

このようなシステムを実現するためには、送受信機に
内蔵される電源電池の寿命を延ばす必要があり、送受信
機からICカードへ供給される電力の消費を極力抑える必
要がある。この方策として電池の容量を大きくすること
が考えられるが、電池の設置スペース的な制約や送受信
機の軽量化の必要性等から、電池容量増大には限界があ
る。また、ICカードに内蔵するデバイスを低消費電力型
のCMOS等に変更する方策も考えられるが、デバイス類の
新たな設計が強いられる等、ICカードの開発コストの面
で大きな問題がある。
In order to realize such a system, it is necessary to extend the life of a power supply battery built in the transceiver, and it is necessary to minimize consumption of power supplied from the transceiver to the IC card. Although it is conceivable to increase the capacity of the battery as this measure, there is a limit to the increase in battery capacity due to restrictions on the installation space of the battery, the need to reduce the weight of the transceiver, and the like. In addition, a method of changing a device incorporated in the IC card to a low-power-consumption type CMOS or the like can be considered, but there is a major problem in terms of IC card development cost, such as a new design of devices and the like.

本発明は上記従来の事情に鑑みなされたもので、上記
不具合を伴うことなくICカードの低消費電力化を合理的
に達成することを目的とする。
The present invention has been made in view of the above-described conventional circumstances, and has as its object to rationally achieve a reduction in power consumption of an IC card without the above-described inconvenience.

〈課題を解決するため手段〉 低消費電力化を達成する本発明のICカードは、情報処
理モードと低消費電力モードとを有する小型演算装置を
備えたICカードにおいて、ハードリセット時に外部から
入力されるリセット信号により上記小型演算装置が起動
された後、小型演算装置を情報所理モードから低消費電
力モードに遷移させる低消費電力モード遷移手段と、低
消費電力モード時に外部から入力されるリセット信号に
より小型演算装置を低消費電力モードから情報処理モー
ドへ遷移させる情報処理モード遷移手段と、情報処理を
実行した後に小型演算装置を再び低消費電力モードに遷
移させる低消費電力モード復帰手段とを備え、かつ、上
記低消費電力モードでは上記第2の制御信号の識別が可
能であることを特徴とする。
<Means for Solving the Problem> The IC card of the present invention that achieves low power consumption is an IC card equipped with a small arithmetic unit having an information processing mode and a low power consumption mode, and is input from the outside at the time of hard reset. Low power consumption mode transition means for transitioning the small arithmetic unit from the information processing mode to the low power consumption mode after the small arithmetic unit is activated by the reset signal, and a reset signal externally input during the low power consumption mode. And an information processing mode transition unit that transitions the small computing device from the low power consumption mode to the information processing mode, and a low power consumption mode returning unit that transitions the small computing device to the low power consumption mode again after executing information processing. In addition, the second control signal can be identified in the low power consumption mode.

〈作用〉 本発明のICカードに内蔵された小型演算装置(CPU、M
PU)は低消費電力モード遷移手段により低消費電力モー
ドに遷移する。そして、低消費電力モードにある小型演
算装置は情報処理モード遷移手段によって低消費電力モ
ードから情報処理モードへ遷移して外部からのコマンド
に基づいた情報処理を実行する。これら低消費電力モー
ドと情報処理モードとの間の遷移は直接若しくは間接的
に外部からの制御信号に起因してなされる。
<Operation> A small arithmetic unit (CPU, M
PU) transits to the low power consumption mode by the low power consumption mode transition means. Then, the small-sized arithmetic unit in the low power consumption mode transitions from the low power consumption mode to the information processing mode by the information processing mode transition means and executes information processing based on an external command. The transition between the low power consumption mode and the information processing mode is directly or indirectly caused by an external control signal.

従って、送受信機からのコマンド信号が入力されるの
を待つ間等のようにICカードの小型演算装置が活性化し
ている必要が無いときには、この小型演算装置を低消費
電力モードに遷移させ、この間の電力消費を低減する。
その結果、外部電源である外部の送受信機でも電力消費
を大幅に低減することができる。
Therefore, when it is not necessary to activate the small arithmetic unit of the IC card, such as while waiting for the command signal from the transceiver to be input, this small arithmetic unit is transited to the low power consumption mode, Reduce power consumption.
As a result, the power consumption of the external transceiver, which is an external power supply, can be significantly reduced.

<実施例> 本発明のICカードを実施例に基づいて具体的に説明す
る。
<Example> An IC card of the present invention will be specifically described based on an example.

まず、本発明の一実施例に係るICカードの構成を第1
図に基づいて説明する。
First, the configuration of an IC card according to one embodiment of the present invention
It will be described with reference to the drawings.

ICカード1には超小型演算装置であるMPU2と共にメモ
リとして書き込み,読み出し可能なEEPROM3が内蔵され
ており、MPU2とEEPROM3とはマルチビットのアドレス信
号線An、データ信号線D8、制御信号線CTRLにより接続さ
れている。
The IC card 1 has a built-in EEPROM3 that can be written and read as a memory together with the MPU2, which is an ultra-compact arithmetic unit. It is connected.

尚、本実施例のMPU2としては日立製作所製のHD6301系
シリーズを用いている。
It should be noted that an HD6301 series manufactured by Hitachi, Ltd. is used as the MPU 2 in this embodiment.

ICカード1が挿着される送受信機5は互いにデータ・
アドレスバスで接続されたインターフェース6とパーソ
ナルコンピュータ7とを有している。送受信機5はイン
ターフェース6とパーソナルコンピュータ7とを一体と
した持ち運び自在なハンディーなものであり、その電源
として電池(図示せず)が内蔵されている。
The transmitter / receiver 5 into which the IC card 1 is inserted can exchange data
It has an interface 6 and a personal computer 7 connected by an address bus. The transmitter / receiver 5 is a portable and handy device in which the interface 6 and the personal computer 7 are integrated, and has a battery (not shown) built therein as its power source.

使用に際して、ICカード1はインターフェース6に挿
着され、インターフェース6の電源端子Vcc及び接地端
子GNDがMPU2とメモリ3とにそれぞれ接続されて、送受
信機5側からこれらMPU2とメモリ3とに電源電圧を供給
する。また、インターフェース6のクロック信号出力端
子CLK、リセット信号出力端子▲▼はそれぞれMPU
2に接続され、送受信機5側からMPU2にクロック信号、
リセット信号が入力される。
In use, the IC card 1 is inserted into the interface 6, the power supply terminal Vcc and the ground terminal GND of the interface 6 are connected to the MPU 2 and the memory 3, respectively, and the power supply voltage is supplied from the transceiver 5 side to the MPU 2 and the memory 3. To supply. Also, the clock signal output terminal CLK and the reset signal output terminal ▲ ▼ of the interface 6 are each MPU.
2 is connected to the clock signal from the transceiver 5 to the MPU2,
A reset signal is input.

そして、インターフェース6の情報信号入出力端子SI
OはMPU2の出力端子Tx、入力端子Rxに接続され、送受信
機5とICカード1との間で情報の授受がなされる。ま
た、MPU2の▲▼端子はメモリ3のRDY/▲
▼端子に接続され、後述のようにメモリ3への書き込み
中はMPU2へのIRQ割り込みを禁止するようにしている。
Then, the information signal input / output terminal SI of the interface 6
O is connected to the output terminal Tx and the input terminal Rx of the MPU 2, and information is exchanged between the transceiver 5 and the IC card 1. Also, the MPU2 ▲ ▼ terminal is the RDY / ▲ of the memory 3.
The IRQ interrupt to the MPU 2 is prohibited during the writing to the memory 3 as will be described later.

上記構成のICカード1の作動を第2図〜第6図及び第
8図、第9図に示すフローチャートに沿って説明する。
The operation of the IC card 1 having the above structure will be described with reference to the flowcharts shown in FIGS. 2 to 6, 8 and 9.

まず、メインルーチンを表す第2図に示すように、IC
カード1が送受信機5に挿着されて送受信機5から電源
電圧Vccが供給されると共にクロック信号CLK及びリセッ
ト信号▲▼が入力されると(ステップS1)、MPU2
は第3図に示すリセットルーチン実行する(ステップS
2)。
First, as shown in FIG.
When the card 1 is inserted into the transceiver 5 and the power supply voltage Vcc is supplied from the transceiver 5 and the clock signal CLK and the reset signal ▲ ▼ are input (step S1), the MPU2
Executes the reset routine shown in FIG. 3 (step S
2).

このリセットルーチンは、リセット信号▲▼が
入力される以前に電源電圧Vccが印加されているか否か
を示すSTBY PWRビットを判別し(ステップS31)、この
結果によって後述するハードリセットルーチンまたはコ
マンド処理ルーチンへジャンプする処理を行う(ステッ
プS32、S33)。
This reset routine determines the STBY PWR bit indicating whether or not the power supply voltage Vcc is applied before the reset signal ▲ ▼ is input (step S31), and based on this result, a hard reset routine or a command processing routine described later. A process of jumping to is performed (steps S32 and S33).

ICカード1を送受信機5に挿着した間際においては
(ステップS2)、リセット信号▲▼が入力される
以前に電源電圧Vccが印加されていることはないのでSTB
Y PWRビットは「0」であり、ハードリセットルーチン
へジャンプして(ステップS32)、MPU2の初期化等のハ
ードリセットが実行される(ステップS3)。次いで、IC
カード1から送受信機5へコマンド信号を送信可能であ
ることを知らせるアンサー信号ANSWER TO RESETが出
力され(ステップS4)、MPU2はスタンバイモード遷移ル
ーチンを実行し(ステップS5)、本実施例における低消
費電力モードであるスタンバイモードへ遷移する。スタ
ンバイモード遷移ルーチンでは、第4図に示すように、
スタンバイモードから復帰したときの判断用にSTBY PW
Rビットを「1」とし(ステップS41)、STBY FLAGを
「0」としてMPU2をスタンバイモードへ遷移させる(ス
テップS42)。このスタンバイモードではMPU2の情報処
理回路等が停止して消費電力がきわめて小さい(通常作
動時の約1/60)状態となる。
Just before inserting the IC card 1 into the transceiver 5 (step S2), the power supply voltage Vcc is not applied before the reset signal ▲ ▼ is input.
The Y PWR bit is "0", and the process jumps to the hard reset routine (step S32), and a hard reset such as initialization of MPU2 is executed (step S3). Then IC
An answer signal ANSWER TO RESET indicating that a command signal can be transmitted from the card 1 to the transceiver 5 is output (step S4), the MPU2 executes the standby mode transition routine (step S5), and the low power consumption in this embodiment is achieved. Transition to standby mode, which is the power mode. In the standby mode transition routine, as shown in FIG.
STBY PW for judgment when returning from standby mode
The R bit is set to "1" (step S41), STBY FLAG is set to "0", and the MPU2 is transited to the standby mode (step S42). In this standby mode, the information processing circuit of MPU2 is stopped and the power consumption is extremely low (about 1/60 of normal operation).

すなわち、外部からの制御信号(送受信機からの▲
▼信号)がICカード1に入力されると、これに基づ
く一連の内部処理(ステップS2、S3、S4)の後にMPU2は
スタンバイモードへ遷移するようになっており、MPU2で
実行されるステップS5、S41、S42は外部からの制御信号
に起因してMPU2を低消費電力モードへ遷移させる低消費
電力モード遷移手段を構成している。
That is, a control signal from the outside (▲ from the transceiver
Signal) is input to the IC card 1, the MPU2 shifts to the standby mode after a series of internal processing (steps S2, S3, S4) based on this, and the step S5 executed by the MPU2 is performed. , S41, S42 constitute a low power consumption mode transition means for transitioning the MPU2 to the low power consumption mode due to a control signal from the outside.

一方、ステップS4のアンサー信号ANSWER TO RESET
をICカード1から受信したインターフェース6はこれに
よってICカードが正常か否かを確認する(ステップS
6)。ここで、コンピュータ7からのコマンドの入力が
インターフェース6にあったときには(ステップS7)、
インターフェース6からICカード1へリセット信号▲
▼が出力される(ステップS8)。この結果、スタン
バイモードにあるMPU2は情報処理モードへ遷移し、リセ
ットルーチンを実行する(ステップS9)。このリセット
ルーチンではリセット信号が入力される以前に電源電圧
Vccが印加された状態であるのでSTBY PWRビットは
「1」となっており、第3図に示すようにコマンド処理
ルーチンヘジャンプすることとなる(ステップS33)。
このようなMPU2は送受信機5からのリセット信号▲
▼により情報処理モードへ遷移し、このステップS8は
外部からの制御信号によりMPU2を低消費電力モードから
情報処理モードへ遷移させる情報処理モード遷移手段を
構成している。
On the other hand, answer signal ANSWER TO RESET in step S4
The interface 6 which has received from the IC card 1 confirms whether or not the IC card is normal by this (step S
6). Here, when the command input from the computer 7 is in the interface 6 (step S7),
Reset signal from interface 6 to IC card 1
▼ is output (step S8). As a result, the MPU 2 in the standby mode transitions to the information processing mode and executes the reset routine (step S9). In this reset routine, the power supply voltage is input before the reset signal is input.
Since Vcc is applied, the STBY PWR bit is "1", and the command processing routine is jumped to as shown in FIG. 3 (step S33).
Such MPU2 is a reset signal from the transceiver 5
The transition to the information processing mode is performed by ▼, and this step S8 constitutes an information processing mode transition means for transitioning the MPU 2 from the low power consumption mode to the information processing mode by an external control signal.

上記のように、インターフェース5からコマンドが出
力されると(ステップS10)、ICカード1はコマンド処
理ルーチンを実行する(ステップS11)。すなわち、第
5図に示すように、インターフェース6のSIOからコマ
ンド信号(コマンドと共にデータも含むバイト単位のシ
リアル信号)がICカード1に入力されると(ステップS5
1)、MPU2はこの入力通信にエラーがあるかをチェック
し(ステップS52)、更にコマンドをチェックし(ステ
ップS53、S54)、コマンドに応じた処理を実行して(ス
テップS55)その結果を送受信機5に出力する(ステッ
プS56、S12)。尚、入力通信やコマンドにエラーがある
場合にはエラー処理が実行され(ステップS57)、エラ
ーメッセージが出力される。このようにインターフェー
ス6に入力された処理結果はコンピュータ7へ出力され
る一方(ステップS14、S15)、処理結果を出力したMPU2
は第4図に示したスタンバイモード遷移ルーチンを実行
して再びスタンバイモードへ遷移する(ステップS1
3)。このスタンバイモードへの遷移は外部からの制御
信号(送受信機からのコマンド信号)がICカード1に入
力されて、これに基づく一連の内部処理(コマンド処
理)の後になされるようになっており、MPU2で実行され
るステップS13、S41、S42は外部からの制御信号に起因
してMPU2を低消費電力モードへ遷移させる低消費電力モ
ード遷移手段を構成している。
As described above, when the command is output from the interface 5 (step S10), the IC card 1 executes the command processing routine (step S11). That is, as shown in FIG. 5, when a command signal (a byte serial signal including data together with a command) is input from the SIO of the interface 6 to the IC card 1 (step S5
1) The MPU2 checks whether there is an error in this input communication (step S52), further checks the command (steps S53 and S54), executes the process according to the command (step S55), and sends / receives the result. Output to the machine 5 (steps S56 and S12). If there is an error in the input communication or command, error processing is executed (step S57) and an error message is output. While the processing result thus input to the interface 6 is output to the computer 7 (steps S14 and S15), the MPU2 which has output the processing result.
Executes the standby mode transition routine shown in FIG. 4 and transits to the standby mode again (step S1
3). This transition to the standby mode is performed after a series of internal processing (command processing) based on an external control signal (command signal from the transceiver) input to the IC card 1, Steps S13, S41, and S42 executed by the MPU2 constitute a low power consumption mode transition means for transitioning the MPU2 to the low power consumption mode due to a control signal from the outside.

すなわち上記一連の動作によれば、第6図に示すよう
に、インターフェース6からのリセット信号▲▼
によりスタンバイモードにあるICカードのMPU2は情報処
理モードへ遷移し、また、インターフェース6からのコ
マンド信号に起因したコマンド処理を行った後に情報処
理モードにあるICカード1のMPU2はスタンバイモードへ
遷移する。従って、情報処理を行わない間は、MPU2は電
力の消費がきわめて小さい状態となるため、電力の浪費
を防止することができる。
That is, according to the above series of operations, as shown in FIG. 6, the reset signal ▲ ▼ from the interface 6
Causes the MPU2 of the IC card in the standby mode to transition to the information processing mode, and after performing the command processing resulting from the command signal from the interface 6, the MPU2 of the IC card 1 in the information processing mode transitions to the standby mode. . Therefore, while the information processing is not performed, the MPU 2 is in a state where the power consumption is extremely low, so that the power consumption can be prevented.

ここで本実施例のICカードにあっては、上記コマンド
処理(ステップS55)においてメモリ3への書き込み処
理を実行する場合には、第7図〜第10図に示すように、
MPU2の低消費電力モードの内の一つであるスリープモー
ドへの遷移が行われる。すなわち、MPU2はメモリ3へ制
御信号を送信してデータ書き込みを指示すると共にアド
レス及びデータを供給する(ステップS71)。そして、
第8図に示すSLEEW MODE遷移ルーチンをを行い(ステ
ップS72)、MPU2はIRQへの割り込みを許可する状態とな
った後SLEEP命令を実行してスリープモードへ遷移する
(ステップS82)。
Here, in the IC card of the present embodiment, when the writing process to the memory 3 is executed in the command process (step S55), as shown in FIGS. 7 to 10,
A transition to sleep mode, which is one of the low power consumption modes of MPU2, is performed. That is, the MPU 2 sends a control signal to the memory 3 to instruct writing of data and supply an address and data (step S71). And
The SLEEW MODE transition routine shown in FIG. 8 is executed (step S72), and the MPU 2 enters the state in which the interrupt to the IRQ is permitted and then executes the SLEEP instruction to transit to the sleep mode (step S82).

このようにMPU2がスリープモードに遷移し、メモリ3
の書き込み処理が実行されている状態ではメモリ3のRD
Y/▲▼が“L"レベルとなり、これがインバータ
8で反転されてMPU2のIRQに“H"レベルとして供給さ
れ、IRQへの割り込みを許可した状態に保持している。
In this way, MPU2 transitions to sleep mode and memory 3
RD of the memory 3 while the writing process of
Y / ▲ ▼ becomes "L" level, which is inverted by the inverter 8 and supplied to the IRQ of the MPU 2 as "H" level, which holds the interrupt to IRQ enabled.

すなわち、第10図に示すように、メモリ3の書き込み
がなされている間、MPU2は消費電力の小さいスリープモ
ードに保持される。
That is, as shown in FIG. 10, the MPU 2 is held in the sleep mode in which the power consumption is small while the memory 3 is being written.

そして、スリープモードへの遷移命令によりMPU2がス
リープモードに遷移した状態では、MPU2はIRQ子にメモ
リ3からIRQ割り込み信号が入力されたか否かを判断し
(ステップS73)、IRQ割り込み信号が入力されたときに
は情報処理モード遷移ルーチンを実行し(ステップS7
4)、MPU2の情報処理回路が活性化された情報処理モー
ドへ遷移する。情報処理モード遷移ルーチンでは、第9
図に示すように、IRQ割り込み信号を受けてMPU2のIRQ端
子をマスクし、IRQ割り込み信号の入力による割り込み
不可能な状態とし(ステップS91)、スタックポインタS
Pに規定値を設定し(ステップS92)、第5図に示すコマ
ンド入力ルーチンのアドレスをプログラムカウンタPCに
設定する(ステップS93)。
Then, in the state in which the MPU2 has transitioned to the sleep mode by the transition command to the sleep mode, the MPU2 determines whether the IRQ interrupt signal is input to the IRQ child from the memory 3 (step S73), and the IRQ interrupt signal is input. If so, the information processing mode transition routine is executed (step S7
4), The information processing circuit of MPU2 transits to the activated information processing mode. In the information processing mode transition routine,
As shown in the figure, when the IRQ interrupt signal is received, the IRQ pin of MPU2 is masked to make it uninterruptible by the input of the IRQ interrupt signal (step S91), and the stack pointer S
A prescribed value is set in P (step S92), and the address of the command input routine shown in FIG. 5 is set in the program counter PC (step S93).

ステップS5によりMPU2が情報処理モードに遷移した状
態では、MPU2はインターフェース6のSIOから入力され
たコマンド信号に基づく処理を実行する(第5図)。
In the state where the MPU 2 has transitioned to the information processing mode in step S5, the MPU 2 executes processing based on the command signal input from the SIO of the interface 6 (FIG. 5).

尚、上記実施例では外部からの制御信号に起因してMP
U2が内部処理を実行した後に低消費電力モード(スタン
バイモード)に遷移する例を示したが、外部からの制御
信号をMPU2に直接入力させるように構成してこの制御信
号により直接MPU2を低消費電力モードに遷移させるよう
にしてもよい。
It should be noted that in the above embodiment, MP is caused by a control signal from the outside.
Although the example in which U2 transitions to the low power consumption mode (standby mode) after executing internal processing is shown, the control signal from the outside is directly input to MPU2, and this control signal directly consumes low power consumption of MPU2. You may make it change to a power mode.

また、低消費電力モードとして、上記実施例のHD6301
系の半導体装置ではスタンバイモード、スリープモード
を用いたが、この他にノーオペレーションモード等、小
型演算装置を構成する半導体装置の種類に応じて種々設
定することができる。また、制御信号としてHD6301系の
半導体装置ではリセット信号、IRQ信号等のようにレベ
ル移行によってプログラムカウンタの特定アドレスへの
分岐を実現する信号を用いるが、この制御信号も小型演
算装置を構成する半導体装置の種類に応じて種々設定す
ることができる。
In addition, as a low power consumption mode, the HD6301 of the above embodiment is used.
In the semiconductor device of the system, the standby mode and the sleep mode are used, but in addition to this, various settings such as a no-operation mode can be set according to the type of the semiconductor device forming the small arithmetic unit. Also, as a control signal, in the HD6301 type semiconductor device, a signal that realizes branching to a specific address of the program counter by level transition such as a reset signal and an IRQ signal is used, and this control signal is also a semiconductor that constitutes a small arithmetic unit. Various settings can be made according to the type of device.

また、半導体装置としてCMOSを用いればより一層消費
電力低減を図ることができる。
Further, if CMOS is used as the semiconductor device, power consumption can be further reduced.

<効果> 本発明によれば、外部(送受信機)からの制御信号の
指示に基づいて、ICカードの小型演算装置は情報処理モ
ードまたは低消費電力モードに遷移した状態となるた
め、送受信機からのコマンド信号を待つ間等のように小
型演算装置を活性化しておく必要にないときにはICカー
ドを低消費電力モードに遷移させて電力消費を大幅に低
減することができる。そして、このような低消費電力化
はICカードのデバイスの変更を伴わずに低コストにて達
成することができる。このようにICカードの電力消費を
大幅に低減できる結果、送受信機に電源電池を内蔵し
て、送受信機を持ち運び自在なものとすることができ、
ICカードシステムの用途を拡大することができる。
<Effect> According to the present invention, based on an instruction of a control signal from the outside (transceiver), the small arithmetic unit of the IC card is in a state of transition to the information processing mode or the low power consumption mode. When it is not necessary to activate the small arithmetic unit such as while waiting for the command signal of, the IC card can be transited to the low power consumption mode to significantly reduce the power consumption. Such low power consumption can be achieved at low cost without changing the device of the IC card. As a result of greatly reducing the power consumption of the IC card in this way, it is possible to incorporate the power supply battery in the transceiver and make the transceiver portable.
The applications of the IC card system can be expanded.

また、本発明の適用は送受信機に電源電池を内蔵させ
た形式のものに限定されるものではなく、ICカードに電
源電池を内蔵させた場合にも適用することができ、この
場合には低消費電力化によってICカードの寿命を長くす
ることができるという効果がある。更にまた、ICカード
に電源電池を内蔵することなく且つ送受信機の電源とし
て電池を用いない形式のものにも本発明を適用すること
ができ、この場合には、消費電力の低減によってICカー
ドに内蔵されている半導体装置の発熱を低減することが
でき、ICカードの耐久性を向上することができるという
効果がある。
Further, the application of the present invention is not limited to the type in which the power supply battery is built in the transceiver, and can be applied to the case where the power supply battery is built in the IC card. There is an effect that the life of the IC card can be extended by reducing the power consumption. Furthermore, the present invention can also be applied to a type in which a power supply battery is not built in an IC card and a battery is not used as a power supply for a transceiver. This has the effect of reducing heat generation of the built-in semiconductor device and improving the durability of the IC card.

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

第1図は本発明の一実施例に係るICカードシステムの構
成図、第2図は本発明の一実施例に係るICカードの作動
を示すメインルーチンのフローチャート、第3図はその
リセットルーチンを示すフロチャート、第4図はそのス
タンバイモードへの遷移ルーチンを示すフローチャー
ト、第5図はそのコマンド処理ルーチンを示すフローチ
ャート、第6図はICカードの動作を説明するタイムチャ
ート、第7図はメモリ書き込み等のICカードの動作を示
すフローチャート、第8図はスリープモード遷移ルーチ
ンを示すフローチャート、第9図は情報処理モードへの
遷移ルーチンを示すフローチャート、第10図はメモリ書
き込み時における動作を説明するタイムチャート、第11
図は従来のICカードの動作の説明図、第12図はそのMPU
の動作を説明するタイムチャートである。 1はICカード、 2は小型演算装置(MPU)、 3はメモリ、 5は送受信機、 6はインターフェース、 7はコンピュータである。
FIG. 1 is a block diagram of an IC card system according to an embodiment of the present invention, FIG. 2 is a flowchart of a main routine showing the operation of an IC card according to an embodiment of the present invention, and FIG. FIG. 4 is a flowchart showing the transition routine to the standby mode, FIG. 5 is a flowchart showing the command processing routine, FIG. 6 is a time chart explaining the operation of the IC card, and FIG. 7 is a memory. FIG. 8 is a flow chart showing a sleep mode transition routine, FIG. 9 is a flow chart showing a transition routine to the information processing mode, and FIG. 10 is a flow chart showing the operation during memory writing. Time chart, 11th
The figure shows the operation of the conventional IC card, and Fig. 12 shows the MPU.
3 is a time chart for explaining the operation of FIG. 1 is an IC card, 2 is a small arithmetic unit (MPU), 3 is a memory, 5 is a transceiver, 6 is an interface, and 7 is a computer.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭54−104272(JP,A) 特開 昭61−285521(JP,A) 特開 昭59−90278(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-54-104272 (JP, A) JP-A-61-285521 (JP, A) JP-A-59-90278 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】情報処理モードと低消費電力とを有する小
型演算装置を備えたICカードにおいて、 ハードリセット時に外部から入力されるリセット信号に
より上記小型演算装置が起動された後、小型演算装置を
情報処理モードから低消費電力モードに遷移させる低消
費電力モード遷移手段と、低消費電力モード時に外部か
ら入力されるリセット信号により小型演算装置を低消費
電力モードから情報処理モードへ遷移させる情報処理モ
ード遷移手段と、情報処理を実行した後に小型演算装置
を再び低消費電力モードに遷移させる低消費電力モード
復帰手段とを備え、かつ、上記低消費電力モードでは上
記第2の制御信号の識別が可能であることを特徴とする
ICカード。
1. An IC card having a small arithmetic unit having an information processing mode and low power consumption, wherein the small arithmetic unit is activated after being activated by a reset signal input from outside during a hard reset. Low power consumption mode transition means for transitioning from the information processing mode to the low power consumption mode, and an information processing mode for transitioning the small arithmetic unit from the low power consumption mode to the information processing mode by a reset signal input from the outside in the low power consumption mode It is provided with a transition means and a low power consumption mode returning means for transitioning the small arithmetic unit to the low power consumption mode again after executing the information processing, and in the low power consumption mode, the second control signal can be identified. Is characterized by
IC card.
JP63153785A 1988-05-06 1988-06-21 IC card Expired - Lifetime JP2560427B2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP63153785A JP2560427B2 (en) 1988-06-21 1988-06-21 IC card
DK198902139A DK174975B1 (en) 1988-05-06 1989-05-02 Integrated circuit board
NO891828A NO176079C (en) 1988-05-06 1989-05-03 Integrated circuit board
US07/347,212 US5129091A (en) 1988-05-06 1989-05-04 Integrated-circuit card with active mode and low power mode
DE68920216T DE68920216T2 (en) 1988-05-06 1989-05-05 Integrated circuit card with low power consumption.
EP89108155A EP0349726B1 (en) 1988-05-06 1989-05-05 Integrated-circuit card with a low power consumption mode
US07/872,528 US5410714A (en) 1988-05-06 1992-04-23 Integrated-circuit card equipped with a single chip data processor automatically entering low-power consumption mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63153785A JP2560427B2 (en) 1988-06-21 1988-06-21 IC card

Publications (2)

Publication Number Publication Date
JPH023884A JPH023884A (en) 1990-01-09
JP2560427B2 true JP2560427B2 (en) 1996-12-04

Family

ID=15570089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63153785A Expired - Lifetime JP2560427B2 (en) 1988-05-06 1988-06-21 IC card

Country Status (1)

Country Link
JP (1) JP2560427B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02196390A (en) * 1989-01-26 1990-08-02 Hitachi Maxell Ltd Ic card

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54104272A (en) * 1978-02-03 1979-08-16 Oki Electric Ind Co Ltd Complementary mos logic circuit
JPS5990278A (en) * 1982-11-12 1984-05-24 Toshiba Corp Cassette type storage device
JPS60129820A (en) * 1983-12-16 1985-07-11 Matsushita Electric Ind Co Ltd Device for controlling suspension of execution
JPS61285521A (en) * 1985-06-12 1986-12-16 Hitachi Ltd Computer device of low power consumption
JPS6347812A (en) * 1986-08-15 1988-02-29 Fujitsu Kiden Ltd Sleep mode controller

Also Published As

Publication number Publication date
JPH023884A (en) 1990-01-09

Similar Documents

Publication Publication Date Title
US20230418363A1 (en) Card and host apparatus
KR101565357B1 (en) Systems, methods, and apparatuses for handling timeouts
JP3110949U (en) USB connector with card detector
KR100994003B1 (en) Data processing system and data processor
US20080320202A1 (en) Physical Device (PHY) Support Of The USB2.0 Link Power Management Addendum Using A ULPI PHY Interface Standard
US20030109218A1 (en) Portable wireless storage unit
JP2005519358A (en) Portable data conversion and processing device with standard data interface
US9552051B2 (en) Block partition to minimize power leakage
JPWO2006100743A1 (en) Information media with display function
US8327124B2 (en) SD switch box in a cellular handset
CN103870429A (en) High-speed-signal processing board based on embedded GPU
EP2207101A1 (en) Method and device for parallel interfacing
TW201308069A (en) Image forming apparatus, microcontroller, and methods for controlling image forming apparatus and microcontroller
KR20030051185A (en) Electronic device and method for controlling an operation of the electronic device
JP4421704B2 (en) Computer power-on method and computer
AU1560502A (en) Terminal device and real-time clock control method therefor enabling preservation of clock/calendar information and high information readout speed
JP2560427B2 (en) IC card
JP2003323225A (en) Clock control circuit, data transfer control apparatus and electrical device
JP2654803B2 (en) IC card
CN111541825B (en) Electronic device and control method thereof
WO2012009996A1 (en) Memory device and smart-phone system
JP2601248B2 (en) Communication method of IC card system
CN112306558A (en) Processing unit, processor, processing system, electronic device, and processing method
JPH0776984B2 (en) IC card
JPH05108539A (en) Data processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070919

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20080919

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20080919

Year of fee payment: 12