JP2637109B2 - Processing unit for portable media - Google Patents

Processing unit for portable media

Info

Publication number
JP2637109B2
JP2637109B2 JP62193640A JP19364087A JP2637109B2 JP 2637109 B2 JP2637109 B2 JP 2637109B2 JP 62193640 A JP62193640 A JP 62193640A JP 19364087 A JP19364087 A JP 19364087A JP 2637109 B2 JP2637109 B2 JP 2637109B2
Authority
JP
Japan
Prior art keywords
card
power supply
portable medium
reset signal
voltage
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 - Fee Related
Application number
JP62193640A
Other languages
Japanese (ja)
Other versions
JPS6437685A (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.)
Toshiba Corp
Toshiba Intelligent Technology Co Ltd
Original Assignee
Toshiba Corp
Toshiba Intelligent Technology 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 Toshiba Corp, Toshiba Intelligent Technology Co Ltd filed Critical Toshiba Corp
Priority to JP62193640A priority Critical patent/JP2637109B2/en
Publication of JPS6437685A publication Critical patent/JPS6437685A/en
Application granted granted Critical
Publication of JP2637109B2 publication Critical patent/JP2637109B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、例えばICカードなどの携帯可能媒体に対し
て所定のカード電源、カードクロック信号及びカードリ
セット信号を送出し、この携帯可能媒体と情報の授受を
行なう携帯可能媒体用処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial application field) The present invention transmits a predetermined card power supply, a card clock signal and a card reset signal to a portable medium such as an IC card, The present invention relates to a portable medium processing device that exchanges information with the portable medium.

(従来の技術) 携帯可能媒体として、例えばICカードはクレジットカ
ードと同等の大きさのプラスチックカードにメモリやマ
イクロコンピュータ等のICカードチップを埋設したもの
である。ICカードはメモリの記録容量が大きく、かつマ
イクロコンピュータ等の制御部を備えているので、多く
の記憶容量を必要とする種々の情報やデータ等を記憶す
るのに適している。その上、携帯に適した大きさである
ため、ショッピングカード、健康診断カードとしての種
々の用途が考えられ、一部実用化されている。
(Prior Art) As a portable medium, for example, an IC card is a plastic card having the same size as a credit card, in which an IC card chip such as a memory or a microcomputer is embedded. Since an IC card has a large memory storage capacity and a control unit such as a microcomputer, it is suitable for storing various information, data, and the like that require a large storage capacity. In addition, since it has a size suitable for carrying, various uses as a shopping card and a health check card are conceivable, and some of them have been put to practical use.

ICカードはその外表面に複数の端子が露出して形成さ
れている。そして、ICカードが携帯可能媒体用処理装
置、例えば読取・書込装置(以下、カードリーダ/ライ
タと称する)に挿入されると、カードリーダ/ライタの
コンタクト部に設けられた接触子とICカードの対応する
各端子とが電気的に接触して、カードリーダ/ライタか
らカード電源が供給されると共にデータの授受が行なわ
れるようになっている。
The IC card has a plurality of terminals exposed on an outer surface thereof. When the IC card is inserted into a portable medium processing device, for example, a reading / writing device (hereinafter, referred to as a card reader / writer), a contact provided on a contact portion of the card reader / writer and the IC card Are electrically connected to each other, so that card power is supplied from a card reader / writer and data is exchanged.

このような従来のカードリーダ/ライタとしては第3
図に示すようなものが知られている。
As such a conventional card reader / writer, the third one
The one shown in the figure is known.

第3図に示す従来のカードリーダ/ライタは、図示し
ないICカードに対して所定の電源電圧のカード電源21
と、カードリセット信号22と、カードクロック信号23及
びシリアル伝送信号24のそれぞれを送出している。これ
らのカード電源21、カードリセット信号22、カードクロ
ック信号23及びシリアル伝送信号24のそれぞれは独立し
て制御されるようになっている。
A conventional card reader / writer shown in FIG. 3 uses a card power supply 21 of a predetermined power supply voltage for an IC card (not shown).
, A card reset signal 22, a card clock signal 23, and a serial transmission signal 24. Each of these card power supply 21, card reset signal 22, card clock signal 23, and serial transmission signal 24 is controlled independently.

すなわち、マイクロコンピュータ(以下CPUと略す)1
1の端子P2から出力される制御指令に基づいてトランジ
スタTR19がオン・オフすることにより、カード電源21が
制御される。
That is, a microcomputer (hereinafter abbreviated as CPU) 1
The card power supply 21 is controlled by turning on / off the transistor TR19 based on the control command output from the terminal P2 of No. 1.

また、CPU11の端子P1から出力される制御指令に基づ
いてカードリセット信号22が制御される。このカードリ
セット信号22の伝送線路はダイオードD1を介して駆動電
源回路13の出力側に接続される。また、CPU11の端子P0
からの制御指令が論理積回路G19の一方の入力端子に与
えられ、この論理積回路G19の他方の入力端子にはクロ
ック発生回路15からのクロック信号が与えられており、
論理積回路G19の論理積出力に基づいてカードクロック
信号23が送出されることから、CPU11の端子P0から出力
される制御指令に基づいて、カードクロック信号23が制
御される。
The card reset signal 22 is controlled based on a control command output from the terminal P1 of the CPU 11. The transmission line of the card reset signal 22 is connected to the output side of the drive power supply circuit 13 via the diode D1. Also, the terminal P0 of CPU11
Is supplied to one input terminal of the AND circuit G19, and the other input terminal of the AND circuit G19 is supplied with a clock signal from the clock generation circuit 15,
Since the card clock signal 23 is transmitted based on the logical product output of the logical product circuit G19, the card clock signal 23 is controlled based on the control command output from the terminal P0 of the CPU 11.

このように図示しないICカードに対して、所定電圧の
カード電源21、カードリセット信号22及びカードクロッ
ク信号23のそれぞれが送出されると、予め設定した制御
シーケンスに基づいて、カード電源21及びカードクロッ
ク信号23が送出されてから、カード内の回路の誤動作を
防止するために所定時間、例えば50m秒の時間経過後に
カードリセット信号22を解除する。例えば、カード電源
21を送出してから上記50m秒経過後にカードリセット信
号22をLレベルからHレベルへ立上げることにより、カ
ードリセット信号22を解除する。このようにカードリセ
ット信号22を解除してからICカード等の携帯可能媒体と
情報の授受を行なうようにしていた。
When the card power 21, the card reset signal 22, and the card clock signal 23 each having a predetermined voltage are transmitted to an IC card (not shown), the card power 21 and the card clock 21 are transmitted based on a preset control sequence. After the signal 23 is transmitted, the card reset signal 22 is released after a lapse of a predetermined time, for example, 50 ms, in order to prevent a malfunction of a circuit in the card. For example, card power
The card reset signal 22 is released by raising the card reset signal 22 from the L level to the H level after the elapse of 50 msec from the transmission of the signal 21. In this manner, information is exchanged with a portable medium such as an IC card after the card reset signal 22 is released.

(発明が解決しようとする問題点) しかしながら、第3図に示した従来例では、カード電
源21、カードリセット信号22及びカードクロック信号23
のそれぞれが独立して制御されることから、カード電源
21が送出されていないにもかかわらず、カードリセット
信号22が解除される虞れが生じる。そのため、カード電
源21もしくはカードクロック信号23が送出されていない
状態にもかかわらず、カードリセット信号22が解除され
てしまうと、携帯可能媒体に記憶された重要なデータが
消去されてしまうという重大な問題を生じた。
(Problems to be Solved by the Invention) However, in the conventional example shown in FIG. 3, the card power supply 21, the card reset signal 22, and the card clock signal 23
Are controlled independently, so the card power supply
There is a possibility that the card reset signal 22 is released even though 21 is not transmitted. Therefore, even if the card power supply 21 or the card clock signal 23 is not transmitted, if the card reset signal 22 is released, important data stored in the portable medium is erased. I had a problem.

さらに、上記カード電源21、カードリセット信号22、
カードクロック信号23及びシリアル伝送信号24の電位
は、例えばカードリセット信号の駆動電源へのプルアッ
プやカードクロック信号23のグランドへのプルダウンと
いった回路構成をとっていないため、それぞれが独立し
て電位を保つところとなり、またカード電源21の+5Vの
電源が他の回路の駆動電源と共用になっていることから
電圧が非常に不安定なものとなり、そのため誤動作等の
生じる虞れをも招来するところとなった。
Further, the above card power supply 21, card reset signal 22,
The potentials of the card clock signal 23 and the serial transmission signal 24 do not have a circuit configuration such as, for example, pulling up a card reset signal to a driving power source and pulling down a card clock signal 23 to the ground. In addition, since the + 5V power supply of the card power supply 21 is shared with the drive power supply of other circuits, the voltage becomes very unstable, which may cause a malfunction or the like. became.

本発明は、上記問題点に鑑みてなされたもので、第1
は、カード電源が低い場合、供給されていない場合にIC
カードが起動されるのを防止し、ICカード誤動作を防ぐ
こと、 第2は、短絡等でICカードが破壊されるのを防止する
ことのできる携帯可能媒体用処理装置を提供することを
目的とする。
The present invention has been made in view of the above problems,
Is the IC when the card power is low or not supplied
A second object of the present invention is to provide a portable medium processing device capable of preventing the IC card from being activated and preventing the IC card from malfunctioning. I do.

[発明の構成] (問題点を解決するための手段) 上記目的を達成するために本発明が提供する手段は、
携帯可能媒体に電源を供給するとともに携帯可能媒体と
の間で情報交換を行う携帯可能媒体処理装置において、
携帯可能媒体への第1の伝送路を介して前記携帯可能媒
体に所定のカード電源を供給する電源供給手段と、携帯
可能媒体への第2の伝送路を介して前記携帯可能媒体に
カード用クロック信号を供給するクロック供給手段と、
携帯可能媒体への第3の伝送路を介して前記携帯可能媒
体にカードリセット信号を送出すリセット信号送出し手
段と、 前記電源供給手段及びクロック供給手段にてカード電
源及びカード用クロック信号を前記携帯可能媒体に供給
してから所定時間後に前記リセット信号送出し手段によ
るリセット信号の送出しを解除するよう上記各手段を制
御する制御手段と、 前記電源供給手段により携帯可能媒体に供給されてい
るカード電源の電圧が所定の電圧以下に下がった場合前
記リセット信号送出し手段によりリセット信号の送出し
が解除されるのを禁止する禁止手段と、 前記第3の伝送路上に設けられ前記電源供給手段によ
り携帯可能媒体に供給されている電源の電圧が所定の電
圧以上の場合前記クロック信号供給手段によるクロック
信号の供給を許可する許可手段とを具備し、さらに、前
記携帯可能媒体にカードリセット信号を供給する第2の
伝送路が前記携帯可能媒体に電源電圧を供給する第1の
伝送路上にプルアップ接続され、前記携帯可能媒体へク
ロック信号を供給する第3の伝送路はグランドにプルダ
ウン接続されていることを特徴とする。
[Structure of the Invention] (Means for Solving the Problems) Means provided by the present invention to achieve the above object are:
In a portable medium processing device that supplies power to the portable medium and exchanges information with the portable medium,
Power supply means for supplying a predetermined card power to the portable medium via a first transmission path to the portable medium; and a power supply means for supplying the card to the portable medium via a second transmission path to the portable medium. Clock supply means for supplying a clock signal;
Reset signal sending means for sending a card reset signal to the portable medium via a third transmission path to the portable medium; and card power and a card clock signal by the power supply means and the clock supply means. Control means for controlling each of the above-mentioned means so as to cancel the transmission of the reset signal by the reset signal sending means after a predetermined time from the supply to the portable medium, and the power supply means supplies the portable medium to the portable medium. Prohibiting means for prohibiting release of the reset signal by the reset signal transmitting means when the voltage of the card power supply falls below a predetermined voltage; and the power supply means provided on the third transmission line Supply of a clock signal by the clock signal supply means when the voltage of the power supply supplied to the portable medium is equal to or higher than a predetermined voltage. Permission means for permitting, further comprising a second transmission path for supplying a card reset signal to the portable medium, wherein the second transmission path is connected to a first transmission path for supplying a power supply voltage to the portable medium, A third transmission path for supplying a clock signal to the portable medium is characterized in that it is pull-down connected to ground.

(作用) 本発明の第1の手段は、電源状態を監視して、電源が
カード電源電圧である場合に、カード電源電圧が所定値
以下のとき前記カードリセット信号の解除を禁止するよ
うにしたものである。
(Operation) The first means of the present invention monitors the power supply state, and when the power supply is at the card power supply voltage, inhibits the cancellation of the card reset signal when the card power supply voltage is equal to or lower than a predetermined value. Things.

また、本発明の第2の手段は、カード電源の異常を検
出したときにカード電源の送出を阻止するようにしたも
のである。
Further, a second means of the present invention is to prevent the card power supply from being sent out when an abnormality of the card power supply is detected.

(実施例) 以下、本発明の第1の手段の実施例を図面を参照して
詳細に説明し、合わせて、本発明の第2の手段の実施例
を説明する。
(Example) Hereinafter, an example of the first means of the present invention will be described in detail with reference to the drawings, and an example of the second means of the present invention will be described together.

第1図は本発明の第1の手段及び第2の手段の一実施
例を示した回路図、第2図は第1図に示した定電圧電源
回路の内部構成図である。
FIG. 1 is a circuit diagram showing an embodiment of the first means and the second means of the present invention, and FIG. 2 is an internal configuration diagram of the constant voltage power supply circuit shown in FIG.

CPU11はワンチップのマイクロコンピュータであり、
リセット端子RESETに+5ボルトの電圧が与えられる
と、予め設定した制御シーケンスに基づいて種々の制御
指令を実行する。
CPU11 is a one-chip microcomputer,
When a voltage of +5 volts is applied to the reset terminal RESET, various control commands are executed based on a preset control sequence.

このCPU11の制御シーケンスについて具体的に説明す
ると、例えば、後で説明するカード電源21、カードリセ
ット信号22及びカードクロック信号23のそれぞれを図示
しないICカード等の携帯可能媒体に対して送出し、カー
ド電源21が安定状態となる所定時間、例えば50m秒経過
後にカードリセット信号22を解除する。すなわち、所定
電圧のカード電源21を送出してから50m秒経過後にカー
ドリセット信号22をLレベルからHレベルに立上げるこ
とにより、このカードリセット信号22を解除して、携帯
可能媒体と情報の授受を行なうようにしている。この携
帯可能媒体との情報の授受はシリアル伝送信号24により
行なわれる。すなわち、CPU11の端子TXDからゲート回路
G14及びG15及び抵抗R22を介してCPU11からの情報、すな
わちシリアル伝送信号24を携帯可能媒体に対して伝送す
ると共に、この携帯可能媒体からの情報すなわちシリア
ル伝送信号24は抵抗R23及びゲート回路G16を介してCPU1
1の端子RXDへ与えられる。
The control sequence of the CPU 11 will be specifically described. For example, a card power supply 21, a card reset signal 22, and a card clock signal 23, which will be described later, are transmitted to a portable medium such as an IC card (not shown), The card reset signal 22 is released after a predetermined time, for example, 50 ms, when the power supply 21 is in a stable state. That is, by raising the card reset signal 22 from the L level to the H level 50 ms after the card power supply 21 of the predetermined voltage is transmitted, the card reset signal 22 is released to exchange information with the portable medium. I do it. The exchange of information with the portable medium is performed by a serial transmission signal 24. That is, the gate circuit is connected from the terminal TXD of the CPU11.
The information from the CPU 11, that is, the serial transmission signal 24 is transmitted to the portable medium via G14 and G15 and the resistor R22, and the information from the portable medium, that is, the serial transmission signal 24 is transmitted through the resistor R23 and the gate circuit G16. Through CPU1
1 is applied to the terminal RXD.

駆動電源回路13は所定の電源電圧の駆動用の電源を各
回路部へ供給する。すなわち、携帯可能媒体の携帯可能
媒体用処理装置、例えばカードリーダ/ライタの図示し
ない電源スイッチがオンされると、駆動用の電源を各回
路部へ出力する。この駆動電源回路13の出力端子は、抵
抗R2を介してCPU11のリセット端子RESETへ与えられてお
り、電源スイッチがオンされるとCPU11の制御動作を開
始させるようにしている。また、この駆動電源回路13の
出力端子はダイオードD1を介してカードリセット信号22
を送出するための伝送線路へ接続されており、駆動電源
の電源電圧が所定の電圧以下の時にカードリセット信号
22の解除を禁止する第2の禁止手段を構成している。
The driving power supply circuit 13 supplies driving power of a predetermined power supply voltage to each circuit unit. That is, when a power supply switch (not shown) of a portable medium processing device for a portable medium, for example, a card reader / writer is turned on, a driving power supply is output to each circuit unit. The output terminal of the drive power supply circuit 13 is provided to the reset terminal RESET of the CPU 11 via the resistor R2, and when the power switch is turned on, the control operation of the CPU 11 is started. The output terminal of the drive power supply circuit 13 is connected to a card reset signal 22 via a diode D1.
Is connected to the transmission line for transmitting the card reset signal when the power supply voltage of the drive power supply is lower than a predetermined voltage.
This constitutes a second prohibiting means for prohibiting the release of the 22.

電源回路14の入力端子INはカード電源21を送出するた
めの伝送線路に接続されると共に、電源回路14の出力端
子OUTはカードリセット信号22を送出するための伝送線
路に接続されている。この電源回路14はカード電源21の
電源電圧を監視しており、このカード電源電圧が予め設
定した所定の電圧値以下に下がった時に前述のカードリ
セット信号22の解除を禁止する第1の禁止手段を構成し
ている。
The input terminal IN of the power supply circuit 14 is connected to a transmission line for transmitting the card power supply 21, and the output terminal OUT of the power supply circuit 14 is connected to a transmission line for transmitting the card reset signal 22. The power supply circuit 14 monitors the power supply voltage of the card power supply 21. When the card power supply voltage falls below a predetermined voltage value, a first prohibiting means for prohibiting the cancellation of the card reset signal 22 described above. Is composed.

カード電源制御回路16はCPU11の端子P1の制御指令に
基づいて制御され、所定の電源電圧のカード電源21を生
成する。
The card power supply control circuit 16 is controlled based on a control command of the terminal P1 of the CPU 11, and generates a card power supply 21 having a predetermined power supply voltage.

このカード電源制御回路16を具体的に説明すると、定
電圧電源回路12の入力端子1は+12V電源とトランジス
タTr1のコレクタ及びコンデンサC19に接続され、端子2
はトランジスタTR1のベースに接続されると共に、抵抗1
1を介してトランジスタTR1のエミッタへ接続されてい
る。この定電圧電源回路12の出力端子2から出力される
出力信号に基づいてトランジスタTR1を制御することに
より、カード電源21の電源電圧を所定の電圧に調整す
る。
The input terminal 1 of the constant voltage power supply circuit 12 is connected to the + 12V power supply, the collector of the transistor Tr1 and the capacitor C19, and the terminal 2
Is connected to the base of transistor TR1 and
1 is connected to the emitter of the transistor TR1. The power supply voltage of the card power supply 21 is adjusted to a predetermined voltage by controlling the transistor TR1 based on the output signal output from the output terminal 2 of the constant voltage power supply circuit 12.

また、定電圧電源回路12の端子3は短絡保護用の端子
であり、この短絡保護用端子3がLレベルに引き込まれ
ると、前述の定電圧電源回路12の出力端子2を低レベル
に設定することから、図示しない携帯可能媒体に対する
カード電源21の送出を阻止することができる。具体的に
説明すると、この阻止手段である定電圧電源回路12の短
絡保護用端子3はトランジスタTR2のコレクタに接続さ
れており、このトランジスタTR2と抵抗Rは短絡検出回
路を形成し、カード電源21の短絡により過大電流を検出
抵抗Rの電圧降下として検出すると、トランジスタTR2
をオン状態として、前述の定電圧電源回路12の短絡保護
用端子3をLレベルに引き込み、カード電源21の送出を
阻止する。
The terminal 3 of the constant voltage power supply circuit 12 is a short-circuit protection terminal. When the short-circuit protection terminal 3 is pulled down to the L level, the output terminal 2 of the constant voltage power supply circuit 12 is set to a low level. Therefore, it is possible to prevent the card power supply 21 from being sent to a portable medium (not shown). More specifically, the short-circuit protection terminal 3 of the constant-voltage power supply circuit 12, which is the blocking means, is connected to the collector of the transistor TR2. The transistor TR2 and the resistor R form a short-circuit detection circuit. When the excessive current is detected as a voltage drop of the detection resistor R due to the short circuit of the transistor TR2, the transistor TR2
Is turned on, the short-circuit protection terminal 3 of the above-described constant voltage power supply circuit 12 is pulled down to the L level, and the transmission of the card power supply 21 is prevented.

また、この定電圧電源回路12の短絡保護用端子3は抵
抗R15及びゲート回路G3を介してCPU11の端子P1に接続さ
れている。CPU11は、端子P1を介して制御信号を出力す
る制御手段を内蔵しており、CPU11の端子P1からの制御
信号、すなわちカード電源21のオン・オフを制御するた
めの制御信号が短絡保護用端子3に与えられる。
The short-circuit protection terminal 3 of the constant voltage power supply circuit 12 is connected to the terminal P1 of the CPU 11 via the resistor R15 and the gate circuit G3. The CPU 11 has a built-in control means for outputting a control signal via the terminal P1, and a control signal from the terminal P1 of the CPU 11, that is, a control signal for controlling on / off of the card power supply 21 is a short-circuit protection terminal. 3 given.

また、定電圧電源回路12の端子4は可変抵抗VRと抵抗
R14との接続点に接続されており、カード電源21の出力
状態の状態信号を帰還する。すなわち、可変抵抗VRを調
整することにより、定電圧電源回路12の端子4へ帰還す
る状態信号が変化し、カード電源21の電源電圧を調整す
ることができる。
The terminal 4 of the constant voltage power supply circuit 12 is connected to the variable resistor VR and the resistor.
It is connected to the connection point with R14 and feeds back the state signal of the output state of the card power supply 21. That is, by adjusting the variable resistor VR, the state signal that returns to the terminal 4 of the constant voltage power supply circuit 12 changes, and the power supply voltage of the card power supply 21 can be adjusted.

このようにして生成されたカード電源21は図示しない
ICカード等の携帯可能媒体へ送出される。また、このカ
ード電源21を送出するための伝送線路には抵抗R3及び抵
抗R21を介してカードリセット信号22を送出するための
伝送線が接続(プルアップ接続)されているまた、この
カードリセット信号22を送出するために伝送線は、前述
したように電源回路14の出力側及び駆動電源回路13の出
力側に接続されると共に、オープンコレクタ等を用いて
形成したゲート回路G2を介してCPU11の端子P2に接続さ
れている。従って、CPU11の端子P2から出力されるリセ
ット信号の解除指令はゲート回路G2を介して送出され
る。
The card power supply 21 generated in this manner is not shown.
It is sent to a portable medium such as an IC card. A transmission line for transmitting a card reset signal 22 via a resistor R3 and a resistor R21 is connected (pull-up connection) to a transmission line for transmitting the card power supply 21. The transmission line for transmitting 22 is connected to the output side of the power supply circuit 14 and the output side of the drive power supply circuit 13 as described above, and is connected to the CPU 11 via the gate circuit G2 formed using an open collector or the like. Connected to terminal P2. Therefore, the reset signal release command output from the terminal P2 of the CPU 11 is transmitted through the gate circuit G2.

クロック発生回路15はインバータG12,13、抵抗R17,1
8、コンデンサC15,16及び水晶発振器Xで形成されてお
り、所定周期のクロック信号を発生する。このクロック
発生回路15で発生されたクロック信号はゲート回路G1を
介してカードクロック信号23として送出される。このゲ
ート回路G1は、制御端子にカード電源21の電源電圧が与
えられており、カード電源21の電源電圧が予め設定した
所定電圧以上の時にカードクロック信号23の送出を許可
するための許可手段を構成している。又、クロック信号
23の供給ラインは第1図に示すように抵抗RGを介してグ
ランドに接続(プルダウン接続)されている。
The clock generation circuit 15 includes inverters G12 and G13, and resistors R17 and R17.
8, formed by capacitors C15 and C16 and crystal oscillator X, and generates a clock signal of a predetermined cycle. The clock signal generated by the clock generation circuit 15 is sent out as a card clock signal 23 via the gate circuit G1. The gate circuit G1 has a control terminal to which the power supply voltage of the card power supply 21 is applied, and has a permission means for permitting the transmission of the card clock signal 23 when the power supply voltage of the card power supply 21 is equal to or higher than a predetermined voltage set in advance. Make up. Also, the clock signal
The 23 supply lines are connected to a ground (pull-down connection) via a resistor RG as shown in FIG.

次に第2図を参照して定電圧電源回路12の内部構成を
説明する。
Next, the internal configuration of the constant voltage power supply circuit 12 will be described with reference to FIG.

所定の入力電圧が入力端子1に入力すると、スタート
回路31がスタート動作を開始する。基準電圧発生回路32
は、スタート回路31からのスタート信号に応じて予め設
定した基準電圧を発生し、この基準電圧を誤差増幅器33
の非反転入力端子に与える。また、この誤差増幅器33の
反転入力端子には、端子4を介して帰還信号、すなわち
カード電源21の出力状態を示す状態信号が帰還される。
従って、この誤差増幅器33は端子4を介して入力する帰
還信号と基準電圧発生回路32から与えられる所定の基準
電圧とを比較し、双方の電圧差を増幅して出力する。過
熱保護回路34は、過電流によって生じた過熱による回路
部の損傷を保護する。過電流制限回路35には、ダーリン
トン結合されたトランジスタ36及び37が接続されてお
り、誤差増幅器33の出力に基づいて、前述のトランジス
タTR1のベース電圧を制御することにより、カード電源2
1の電源電圧を一定電圧に調整する。
When a predetermined input voltage is input to the input terminal 1, the start circuit 31 starts a start operation. Reference voltage generator 32
Generates a preset reference voltage according to a start signal from the start circuit 31, and supplies this reference voltage to the error amplifier 33.
To the non-inverting input terminal. A feedback signal, that is, a state signal indicating the output state of the card power supply 21 is fed back to the inverting input terminal of the error amplifier 33 via the terminal 4.
Therefore, the error amplifier 33 compares the feedback signal input via the terminal 4 with a predetermined reference voltage provided from the reference voltage generating circuit 32, amplifies the difference between the two, and outputs the amplified voltage. The overheat protection circuit 34 protects a circuit section from being damaged by overheating caused by an overcurrent. Darlington-coupled transistors 36 and 37 are connected to the overcurrent limiting circuit 35, and the card power supply 2 is controlled by controlling the base voltage of the transistor TR1 based on the output of the error amplifier 33.
Adjust the power supply voltage of 1 to a constant voltage.

次に第1図及び第2図を参照して本発明の第1の手段
の動作を説明し、合わせて本発明の第2の手段の動作を
説明する。
Next, the operation of the first means of the present invention will be described with reference to FIGS. 1 and 2, and the operation of the second means of the present invention will be described together.

まず最初に電源投入時の動作について説明する。 First, the operation when the power is turned on will be described.

図示しない電源スイッチがオンされると、駆動電源回
路13から所定の電源電圧が各回路部へ送出される。ま
た、駆動電源回路13から所定の電源電圧がCPU11のリセ
ット端子RESETへ与えられ、CPU11が予め設定した所定の
制御シーケンスに基づいて制御動作を開始する。この予
め設定した制御シーケンスに基づいて端子P1,P2及びTXD
のそれぞれから制御指令が出力されると、カード電源制
御回路16が起動し、所定の電源電圧のカード電源21を出
力する。この所定の電圧のカード電源21は図示しない携
帯可能媒体へ送出される。
When a power switch (not shown) is turned on, a predetermined power supply voltage is sent from the drive power supply circuit 13 to each circuit unit. Further, a predetermined power supply voltage is supplied from the drive power supply circuit 13 to the reset terminal RESET of the CPU 11, and the CPU 11 starts a control operation based on a predetermined control sequence set in advance. Based on this preset control sequence, the terminals P1, P2 and TXD
When a control command is output from each of the above, the card power supply control circuit 16 is activated and outputs the card power supply 21 having a predetermined power supply voltage. The card power supply 21 having the predetermined voltage is sent to a portable medium (not shown).

一方、前述の駆動電源回路13からの電源電圧の供給を
受けてクロック発生回路15が発振動作を開始し、所定周
期のクロック信号を出力する。カードクロック信号23の
送出を許可するための許可手段であるゲート回路G1の制
御端子には、前述の所定電圧のカード電源が与えられて
おり、クロック発生回路15からの所定周期のクロック信
号をカードクロック信号23として携帯可能媒体へ送出す
る。
On the other hand, in response to the supply of the power supply voltage from the drive power supply circuit 13, the clock generation circuit 15 starts oscillating and outputs a clock signal of a predetermined cycle. The control terminal of the gate circuit G1, which is a permission means for permitting the transmission of the card clock signal 23, is supplied with the above-described card power of the predetermined voltage, and the clock signal of the predetermined cycle from the clock generation circuit 15 is transmitted to the card. It is transmitted to a portable medium as a clock signal 23.

このように図示しない電源スイッチの投入により、カ
ード電源21及びカードクロック信号23が携帯可能媒体へ
送出されてから、所定時間例えば50m秒の時間が経過す
ると、CPU11の端子P2からカードリセット信号の解除指
令が送出される。このカードリセット信号の解除指令は
ゲート回路G2を伝送され、カードリセット信号22をLレ
ベルからHレベルへ立上げることにより、カードリセッ
ト信号の解除を実行する。携帯可能媒体では、このカー
ドリセット信号のLレベルからHレベルへ立上がる解除
信号を入力すると、カードリーダ/ライタとの間で情報
の授受を行なうことができる。
As described above, when the power switch (not shown) is turned on and the card power supply 21 and the card clock signal 23 are transmitted to the portable medium, a predetermined time, for example, 50 ms, elapses, and the card reset signal is released from the terminal P2 of the CPU 11. A command is sent. The command to release the card reset signal is transmitted through the gate circuit G2, and the card reset signal 22 is raised from the L level to the H level to release the card reset signal. In a portable medium, when a release signal that rises from the L level to the H level of the card reset signal is input, information can be exchanged with the card reader / writer.

次にカード電源21の電源電圧が低下した場合について
説明する。
Next, a case where the power supply voltage of the card power supply 21 decreases will be described.

カード電源21を伝送するための伝送線路が短絡等によ
りカード電源21の電源電圧が低下したとすると、電源回
路14がゲート電源21の電源電圧を監視しており、カード
電源21の電源電圧をが予め設定した所定の電圧以下であ
ることを検出すると、電源回路14の出力側、即ちカード
リセット信号22の伝送線路をLレベルに設定する。この
ようにカードリセット信号22を伝送するための伝送線路
がLレベルに設定されると、カードリセット信号22の解
除が禁止される。すなわち、カードリセット信号22とし
てLレベルの信号が送出される。これにより携帯可能媒
体では、カードリセット信号22がLレベルに設定される
と、データ情報の書込・読出動作を停止し、予め記憶さ
れたデータ内容を保護する。
Assuming that the power supply voltage of the card power supply 21 decreases due to a short circuit in the transmission line for transmitting the card power supply 21, the power supply circuit 14 monitors the power supply voltage of the gate power supply 21. When detecting that the voltage is equal to or lower than a predetermined voltage, the output side of the power supply circuit 14, that is, the transmission line of the card reset signal 22 is set to L level. When the transmission line for transmitting the card reset signal 22 is set to L level in this manner, the release of the card reset signal 22 is prohibited. That is, an L-level signal is transmitted as the card reset signal 22. Thus, in the portable medium, when the card reset signal 22 is set to the L level, the writing / reading operation of the data information is stopped, and the data content stored in advance is protected.

次に駆動電源回路13から出力される駆動電源の電源電
圧が低下した場合について説明する。
Next, a case where the power supply voltage of the drive power supply output from the drive power supply circuit 13 is reduced will be described.

例えば、カードリーダ/ライタ内でいずれかの回路部
が短絡等を生じ、駆動電源回路13からの出力が低下した
とすると、駆動電源回路13の出力側がダイオードD1を介
してカードリセット信号22を伝送するための伝送線路に
接続されており、このカードリセット信号22を伝送する
ための伝送線路がLレベルに設定される。従って、駆動
電源回路13から出力される駆動用の電源電圧が予め設定
した所定の電圧以下に低下すると、カードリセット信号
の解除が禁止される。すなわち、Lレベルのカードリセ
ット信号22が携帯可能媒体へ伝送される。これにより携
帯可能媒体では、Lレベルのカードリセット信号22を入
力すると、データ情報の読出・書込動作を停止し、予め
記憶したデータ内容を確実に保護することができる。
For example, if one of the circuit sections in the card reader / writer causes a short circuit or the like and the output from the drive power supply circuit 13 decreases, the output side of the drive power supply circuit 13 transmits the card reset signal 22 via the diode D1. The transmission line for transmitting the card reset signal 22 is set to L level. Therefore, when the driving power supply voltage output from the driving power supply circuit 13 falls below a predetermined voltage, the cancellation of the card reset signal is prohibited. That is, the L-level card reset signal 22 is transmitted to the portable medium. Thus, in the portable medium, when the L-level card reset signal 22 is input, the read / write operation of the data information is stopped, and the data contents stored in advance can be reliably protected.

また、カード電源21が短絡したときには短絡保護用端
子3がLレベルに引き込まれて、カード電源21の送出を
阻止する阻止手段としての定電圧電源回路12を組込んだ
ことから、前述の短絡保護用端子3に制御信号を与える
だけで、カード電源21のオン・オフを制御することがで
きる。これにより、カード電源制御回路を簡略化するこ
とができ、コストをさらに低減させることができる。
Further, when the card power supply 21 is short-circuited, the short-circuit protection terminal 3 is pulled down to the L level, and the constant-voltage power supply circuit 12 as blocking means for preventing transmission of the card power supply 21 is incorporated. The ON / OFF of the card power supply 21 can be controlled only by supplying a control signal to the terminal 3 for use. As a result, the card power control circuit can be simplified, and the cost can be further reduced.

[発明の効果] 本願発明によれば、 携帯可能媒体に供給されているカード電源の電圧が所
定の電圧以下に下がった場合リセット信号送出し手段に
よりリセット信号の送出しが解除されるのを禁止する。
[Effects of the Invention] According to the present invention, when the voltage of the card power supply supplied to the portable medium falls below a predetermined voltage, the reset signal transmission means is inhibited from canceling the reset signal transmission. I do.

携帯可能媒体に供給されている電源の電圧が所定の電
圧以上の場合クロック信号供給によるクロック信号の供
給を許可する。
When the voltage of the power supply supplied to the portable medium is equal to or higher than a predetermined voltage, the supply of the clock signal by the supply of the clock signal is permitted.

カードリセット信号を供給する伝送路が携帯可能媒体
に電源電圧を供給する伝送路にプルアップ接続されてい
るとともに、携帯可能媒体へクロック信号を供給する伝
送路はグランドにプルダウン接続されている。
A transmission line for supplying a card reset signal is connected to a transmission line for supplying a power supply voltage to a portable medium by a pull-up connection, and a transmission line for supplying a clock signal to the portable medium is connected to a ground by a pull-down connection.

という構成により、携帯可能媒体への供給電圧が正常な
場合にのみ携帯可能媒体を起動し、さらに、リセット信
号及びクロック信号が各々プルアップ,プルダウンする
ことで携帯可能媒体への供給信号の電位が所定に保た
れ、携帯可能媒体が誤動作することを防止できるという
効果を奏する。
With this configuration, the portable medium is started only when the supply voltage to the portable medium is normal, and the reset signal and the clock signal are pulled up and down, respectively, so that the potential of the supply signal to the portable medium is increased. It is possible to prevent the portable medium from malfunctioning, which is maintained at a predetermined value.

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

第1図は本発明の一実施例を示した回路図、第2図は第
1図に示した定電圧電源回路の内部構成図、第3図は従
来例を示した回路図である。 11……マイクロコンピュータ 12……定電圧電源回路、13……駆動電源回路 14……電源回路、15……クロック発生回路 16……カード電源制御回路 21……カード電源 22……カードリセット信号 23……カードクロック信号
FIG. 1 is a circuit diagram showing one embodiment of the present invention, FIG. 2 is an internal configuration diagram of the constant voltage power supply circuit shown in FIG. 1, and FIG. 3 is a circuit diagram showing a conventional example. 11 Microcomputer 12 Constant voltage power supply circuit 13 Drive power supply circuit 14 Power supply circuit 15 Clock generation circuit 16 Card power supply control circuit 21 Card power supply 22 Card reset signal 23 …… Card clock signal

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭62−105293(JP,A) 実開 昭62−44348(JP,U) ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-62-105293 (JP, A) JP-A-62-44348 (JP, U)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】携帯可能媒体に電源を供給するとともに携
帯可能媒体との間で情報交換を行う携帯可能媒体処理装
置において、携帯可能媒体への第1の伝送路を介して前
記携帯可能媒体に所定のカード電源を供給する電源供給
手段と、携帯可能媒体への第2の伝送路を介して前記携
帯可能媒体にカード用クロック信号を供給するクロック
供給手段と、携帯可能媒体への第3の伝送路を介して前
記携帯可能媒体にカードリセット信号を送出すリセット
信号送出し手段と、 前記電源供給手段及びクロック供給手段にてカード電源
及びカード用クロック信号を前記携帯可能媒体に供給し
てから所定時間後に前記リセット信号送出し手段による
リセット信号の送出しを解除するよう上記各手段を制御
する制御手段と、 前記電源供給手段により携帯可能媒体に供給されている
カード電源の電圧が所定の電圧以下に下がった場合前記
リセット信号送出し手段によりリセット信号の送出しが
解除されるのを禁止する禁止手段と、 前記第3の伝送路上に設けられ前記電源供給手段により
携帯可能媒体に供給されている電源の電圧が所定の電圧
以上の場合前記クロック信号供給手段によるクロック信
号の供給を許可する許可手段とを具備し、さらに、前記
携帯可能媒体にカードリセット信号を供給する第2の伝
送路が前記携帯可能媒体に電源電圧を供給する第1の伝
送路にプルアップ接続され、前記携帯可能媒体へクロッ
ク信号を供給する第3の伝送路はグランドにプルダウン
接続されていることを特徴とする携帯可能媒体用処理装
置。
1. A portable medium processing device for supplying power to a portable medium and exchanging information with the portable medium, wherein the portable medium is connected to the portable medium via a first transmission path to the portable medium. A power supply for supplying a predetermined card power; a clock supply for supplying a card clock signal to the portable medium via a second transmission path to the portable medium; and a third supply to the portable medium. A reset signal sending unit for sending a card reset signal to the portable medium via a transmission path; and a card power supply and a clock signal for the card supplied to the portable medium by the power supply unit and the clock supply unit. Control means for controlling each of the above means so as to release the reset signal sent by the reset signal sending means after a predetermined time; and portable by the power supply means Prohibiting means for prohibiting release of the reset signal by the reset signal transmitting means when the voltage of the card power supply supplied to the body drops below a predetermined voltage; and Permission means for permitting the supply of a clock signal by the clock signal supply means when the voltage of the power supplied to the portable medium by the power supply means is equal to or higher than a predetermined voltage. A second transmission path for supplying a card reset signal to the medium is connected to the first transmission path for supplying a power supply voltage to the portable medium by pull-up connection, and a third transmission path for supplying a clock signal to the portable medium. Is a portable medium processing device characterized by being connected to a ground by a pull-down connection.
JP62193640A 1987-08-04 1987-08-04 Processing unit for portable media Expired - Fee Related JP2637109B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62193640A JP2637109B2 (en) 1987-08-04 1987-08-04 Processing unit for portable media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62193640A JP2637109B2 (en) 1987-08-04 1987-08-04 Processing unit for portable media

Publications (2)

Publication Number Publication Date
JPS6437685A JPS6437685A (en) 1989-02-08
JP2637109B2 true JP2637109B2 (en) 1997-08-06

Family

ID=16311303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62193640A Expired - Fee Related JP2637109B2 (en) 1987-08-04 1987-08-04 Processing unit for portable media

Country Status (1)

Country Link
JP (1) JP2637109B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6119835U (en) * 1984-07-09 1986-02-05 株式会社明電舎 Computer DC power supply monitoring device
JPS6244348U (en) * 1985-09-03 1987-03-17
JPS62105293A (en) * 1985-10-31 1987-05-15 Toshiba Corp Reading/writing device for portable recording medium

Also Published As

Publication number Publication date
JPS6437685A (en) 1989-02-08

Similar Documents

Publication Publication Date Title
EP0124092B1 (en) Electronic postage meter and method and apparatus for controlling erasure and writing of data in non-volatile memory
EP0075825B2 (en) Electronic postage metersystem
JP2563475B2 (en) Microcomputer and IC card incorporating the microcomputer
EP1212754B1 (en) Electric/electronic circuit device
JP2544350B2 (en) IC card reader / writer
JP2637109B2 (en) Processing unit for portable media
JPH0318218B2 (en)
JPS61221530A (en) Electronic apparatus
JP3668514B2 (en) Semiconductor memory device
JP3351498B2 (en) IC card reader / writer
JP2504864B2 (en) Memory system
JPH0142002B2 (en)
JPS62282389A (en) Reader/writer for portable recording medium
JP7213939B2 (en) Non-volatile memory writing device
JPH022165B2 (en)
KR920002393Y1 (en) Memory backup circuit using voltage sensing
JPS599319Y2 (en) Card module insertion monitoring device
JP2952136B2 (en) Memory card
JPS6010000Y2 (en) Portable CMOS memory device
JP3007998B2 (en) Identification system
JP2587705Y2 (en) CPU reset circuit and hot-wire detector using the same
JP2530742B2 (en) Memory card
JPH0430720Y2 (en)
JP2593885B2 (en) IC card reader / writer
JPH0195314A (en) Power supply circuit for ic card

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees