JPS62224874A - Ic card read/write device - Google Patents

Ic card read/write device

Info

Publication number
JPS62224874A
JPS62224874A JP61069327A JP6932786A JPS62224874A JP S62224874 A JPS62224874 A JP S62224874A JP 61069327 A JP61069327 A JP 61069327A JP 6932786 A JP6932786 A JP 6932786A JP S62224874 A JPS62224874 A JP S62224874A
Authority
JP
Japan
Prior art keywords
contact
card
contact pin
input
vcc
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
JP61069327A
Other languages
Japanese (ja)
Inventor
Masao Okubo
大久保 政雄
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.)
Bosch Corp
Original Assignee
Diesel Kiki 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 Diesel Kiki Co Ltd filed Critical Diesel Kiki Co Ltd
Priority to JP61069327A priority Critical patent/JPS62224874A/en
Publication of JPS62224874A publication Critical patent/JPS62224874A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent a damage on respective devices because of the shortcircuit between contact pins from being occurred by providing a means to detect the shortcircuit between all of the pins when an IC card is inserted. CONSTITUTION:The card transfer part 5 of the read/write device 2 is provided with six pieces of contact pins CLK-Vpp that contact the respective contact points of the IC card 1. Each pin is connected to each of the I/O terminals P2.2-P2.6 of a CPU9. The CPU9 detects the shortcircuit between optional two of the contact pins corresponding to a signal inputted to each I/O terminal when the contact points of the card 1 contact respective contact pins. When the CPU9 detects the shortcircuit the motor 19 of the part 5 is driven to transfer the card 1. As a result, the damage on respective devices owing to the shortcircuit between contact pins can be prevented from being occurred.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はICカードの読出書込装置に関する。[Detailed description of the invention] (Industrial application field) The present invention relates to an IC card reading/writing device.

(従来技術及びその問題点) 一般に、ICカードは、電気的に再書込みが可能な不揮
発性メモリ(EEPROM)とこのメモリの読出し及び
書込みを制御するCPU (中央演算処理装置)とを内
蔵し、カード表面に露出して設けられた電源入力用の接
点、グラウンド用の接点、情報入出力用の接点、リセッ
ト用の接点、及びクロック用の接点を介して読出書込装
置に接続されるようになっている。
(Prior art and its problems) Generally, an IC card has a built-in electrically rewritable non-volatile memory (EEPROM) and a CPU (central processing unit) that controls reading and writing of this memory. It is connected to the read/write device through the power input contact, ground contact, information input/output contact, reset contact, and clock contact provided on the exposed surface of the card. It has become.

一方、読出書込装置は、ICカードの対応する接点と電
気接触するコンタクトピンを有し、搬送機構によるIC
カードの搬入で当該カードの接点とコンタクトピンとを
接触させ、ICカードに電源、クロック及びリセット信
号を供給すると共に、ICカードのCPUの入出力端子
との接続を図り。
On the other hand, the read/write device has a contact pin that makes electrical contact with the corresponding contact point of the IC card, and the IC card is
When the card is brought in, the contacts of the card are brought into contact with the contact pins to supply power, clock, and reset signals to the IC card, and to connect the IC card to the input/output terminals of the CPU.

ICカードの読出し及び書込みを行うように構成されて
いる。
It is configured to read and write to an IC card.

このような従来の読出書込装置では、ICカードが搬入
され当該ICカードの接点がコンタクトピンに接触する
ことで直ちにICカードに電源が供給され読出し及び書
込み処理が可能な状態におかれるので、悪戯等により鉄
板等の導体板が挿入された場合やICカードの接点間が
異物の付着等により短絡状態にある場合等に、コンタク
トピン間が短絡し、読出し及び書込み処理に支障を来た
す虞があった。特に、電源供給用のコンタクトピンとグ
ラウンド用のコンタクトピンとの間に短絡が生じた場合
には、電源回路の毀損等を生じ、たとえ過電流制限回路
によって電源回路の毀損防止が図られている場合でも電
源電圧はOvのままとなり、回復作業を行わなければ以
後σ動作が停止し、読出し及び書込み処理に支障を来す
という問題があった。また、情報入出力用のコンタクト
ピンとグラウンド用のコンタクトピンとの間、クロック
用のコンタクトピンとグラウンド用のコンタクトピンと
の間、または情報入出力用のコンタクトピンと電源供給
用のコンタクトピンとの間等が短絡した場合にも、IC
カードや続出書込装置内の入出力回路等の毀損等を生じ
る虞があるという問題があった。
In such a conventional read/write device, when an IC card is brought in and the contacts of the IC card come into contact with the contact pins, power is immediately supplied to the IC card and the IC card is ready for reading and writing. If a conductive plate such as a steel plate is inserted as a result of mischief, or if there is a short circuit between the contacts of the IC card due to the adhesion of foreign matter, etc., there is a risk that the contact pins may be short-circuited, which may interfere with reading and writing processes. there were. In particular, if a short circuit occurs between the power supply contact pin and the ground contact pin, damage to the power supply circuit may occur, even if an overcurrent limiting circuit is used to prevent damage to the power supply circuit. There is a problem in that the power supply voltage remains at Ov, and unless a recovery operation is performed, the σ operation will stop from then on, which will impede read and write processing. Also, short circuits may occur between the information input/output contact pin and the ground contact pin, between the clock contact pin and the ground contact pin, or between the information input/output contact pin and the power supply contact pin, etc. In case, IC
There is a problem in that there is a risk of damage to the input/output circuits in the card and the continuous writing device.

(発明の目的) 本発明は上記事情に鑑みてなされたもので、コンタクト
ピン間の短絡による各装置の毀損等を防止し得るICカ
ードの読出書込装置を提供することを目的とする。
(Object of the Invention) The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an IC card reading/writing device that can prevent damage to each device due to short circuit between contact pins.

(問題点を解決するための手段) 上記目的を達成するために、本発明においては。(Means for solving problems) In order to achieve the above object, in the present invention.

ICカードに設けられた複数の接点のそれぞれに対応し
て接触する各コンタクトピンを備え、該各コンタクトピ
ンを介して該ICカード内の情報の読出書込処理を行う
ようにしたICカードの続出書込装置において、前記I
Cカードの搬入時に該各コンタクトピンのすべてのコン
タクトピン間の短絡を検出する検出手段を具備し、前記
各コンタクトピンのうちの少なくともいずれか2つのコ
ンタクトピンが短絡していることを検出したときは、前
記ICカードを搬出するようにした構成としたものであ
る。
A growing number of IC cards are provided with contact pins that contact each of a plurality of contact points provided on the IC card, and read/write processing of information in the IC card is performed via each of the contact pins. In the writing device, the above I
A detection means is provided for detecting a short circuit between all of the contact pins when the C card is carried in, and when it is detected that at least any two of the contact pins are short circuited. The configuration is such that the IC card is taken out.

(実施例) 以下1本発明の一実施例を図面を参照して説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図において、1はICカード、2はICカードの読
出書込装置である。
In FIG. 1, 1 is an IC card, and 2 is an IC card reading/writing device.

ICカード1は、電気的に再書込み可能な不揮発性メモ
リ3 (EEPROM)とこのメモリ3の読出し及び書
込みを制御するCPU4とを内蔵し。
The IC card 1 includes an electrically rewritable non-volatile memory 3 (EEPROM) and a CPU 4 that controls reading and writing of the memory 3.

このメモリ3及びCPU4を読出書込装置2と接続する
ための6個の接点elk、 ilo、 rst、 gn
d。
Six contacts elk, ilo, rst, gn for connecting the memory 3 and CPU 4 to the reading/writing device 2
d.

v cc 、 v ppがカード表面に露出して設けら
れている。接点clkはクロック信号の入力用、接点i
/。
vcc and vpp are provided exposed on the card surface. Contact clk is for clock signal input, contact i
/.

は情報の入出力用、接点rstはリセット信号の入力用
、接点gndはグラウンド用、接点vccは動作電源の
入力用、接点vppはメモリ3の書込電源入力用である
is for inputting and outputting information, contact rst is for inputting a reset signal, contact gnd is for grounding, contact vcc is for inputting operating power, and contact vpp is for inputting write power to the memory 3.

続出書込装置!2は、カード搬送部5に、ICカード1
の接点と電気接触する6個のコンタクトピンCLK、I
10.R3T、GND、Vcc、Vppを備えている。
More and more writing devices! 2, the IC card 1 is placed in the card transport section 5.
six contact pins CLK, I that make electrical contact with the contacts of
10. It is equipped with R3T, GND, Vcc, and Vpp.

コンタクトピンCLKはクロック信号用で、ICカード
1の接点elkと接触する。コンタクトピンI10は情
報入出力用で、ICカード1の接点i10と接触する。
The contact pin CLK is for a clock signal and contacts the contact elk of the IC card 1. The contact pin I10 is for information input/output and makes contact with the contact i10 of the IC card 1.

コンタクトピンR8Tはリセット信号用で、ICカード
1の接点rstと接触する。コンタクトピンGNDはグ
ラウンド用で、ICカードlの接点gndと接触する。
The contact pin R8T is for a reset signal and contacts the contact rst of the IC card 1. The contact pin GND is for ground and makes contact with the contact GND of the IC card I.

コンタクトピンVccは動作電源供給用で、ICカード
1の接点vccと接触する。コンタクトピンVPPは書
込電源供給用で、ICカード1の接点vppと接触する
The contact pin Vcc is for supplying operating power and is in contact with the contact Vcc of the IC card 1. The contact pin VPP is for supplying write power and is in contact with the contact point vpp of the IC card 1.

これらのコンタクトピンは続出書込装置2の読出書込部
6に導入されている。
These contact pins are introduced into the read/write section 6 of the continuous write device 2.

コンタクトピンCLKは、トライステートバッファ7を
介して、クロック信号を与えるオシレータ8の出力端子
に接続されている。コンタクトピンI10は、逆並列接
続のトライステートバッファ11.12を介して、読出
書込部6のCPU9の出力端子P1.1及び入力端子P
 L、3に接続されている。コンタクトピンR8Tは、
トライステートバッファ10を介して、CPU9の出力
端子P1.5に接続されている。各トライステートバッ
ファ7゜、10,11.12(7)制御端子はそれぞれ
CPU9の出力端子PL、0. Pl、6. PL、2
. Pl、4に接続され、CPU9によって、これらの
制御端子がLしベルまたはHレベルに制御されるように
なっている。トライステートバッファ7、10.11.
12は。
Contact pin CLK is connected via tristate buffer 7 to an output terminal of oscillator 8 that provides a clock signal. The contact pin I10 is connected to the output terminal P1.1 and the input terminal P of the CPU 9 of the read/write unit 6 via an anti-parallel connected tri-state buffer 11.12.
Connected to L, 3. Contact pin R8T is
It is connected to the output terminal P1.5 of the CPU 9 via the tri-state buffer 10. Each tri-state buffer 7°, 10, 11.12 (7) control terminals are the output terminals PL, 0. Pl, 6. PL, 2
.. These control terminals are controlled by the CPU 9 to either the L level or the H level. Tri-state buffer 7, 10.11.
12 is.

制御端子がLレベルの場合に入力信号をそのまま出力し
、Hレベルの場合に出力がハイインピーダンス状態とな
る。従って、トライステートバッファ7.10,11,
12の出力がハイインピーダンスの状態では、コンタク
トピンCLK、I10゜RSTとICカード1の接点e
lk、 i10. rstとが接触している場合でもI
Cカード1とCPU9とは電気的に切り離された状態(
オフ)となる。コンタクトピンGNDは、リレー13の
接点を介して、接地されている。コンタクトピンVcc
は、リレー14の接点を介して、電源回路16に接続さ
れている。コンタクトピンVPρは、リレー15の接点
を介して、電源回路16に接続されている。各リレー1
3.14.15のそれぞれのコイルにはリレー駆動素子
としてのトランジスタTrt+ Tr、、 Tr。
When the control terminal is at the L level, the input signal is output as is, and when the control terminal is at the H level, the output becomes a high impedance state. Therefore, tristate buffer 7.10, 11,
When the output of 12 is in a high impedance state, contact pin CLK, I10°RST and contact e of IC card 1
lk, i10. Even if rst is in contact with I
C card 1 and CPU 9 are electrically disconnected (
off). Contact pin GND is grounded via a contact of relay 13. Contact pin Vcc
is connected to the power supply circuit 16 via the contacts of the relay 14. Contact pin VPρ is connected to power supply circuit 16 via a contact of relay 15. Each relay 1
3.14.15 each has a transistor Trt+Tr,, Tr as a relay driving element.

が直列に接続され、バッテリからの電流が供給される。are connected in series and supplied with current from the battery.

該トランジスタTr工、Tr、Tr、のそれぞれのベー
スはCPU9の出力端子P1.7. R2,1゜22.
0に接続されている。従って、各リレー13゜14、1
5のそれぞれの接点は、トランジスタT rl。
The bases of the transistors Tr, Tr, and Tr are connected to the output terminals P1, 7, . R2,1°22.
Connected to 0. Therefore, each relay 13°14, 1
Each contact of 5 is a transistor T rl.

Tr、、 Tr、を介してCPU9によって開閉制御さ
れる。
Opening/closing is controlled by the CPU 9 via Tr, Tr.

CPU9は、入出力端子P2.2〜P2.6に入力され
る信号(電圧)に応じて、ICカードの複数の接点el
k、 i10. rsL gnd、 vcc、 vpp
と各コンタクトピンCLK、I10.R8T、GND、
Vcc。
The CPU 9 controls multiple contacts el of the IC card according to the signals (voltages) input to the input/output terminals P2.2 to P2.6.
k, i10. rsL gnd, vcc, vpp
and each contact pin CLK, I10. R8T, GND,
Vcc.

Vppとの接触時に該各コンタクトピンのうちの任意の
2つのコンタク1−ピン間の短絡を検出するようになっ
ており、該入出力端子P2.2〜P2.6は下記の所定
箇所に接続される。入出力端子P2.2はトライステー
トバッファ7とコンタクトピンCLKとの間に接続され
ている。入出力端子P2.3はトライステートバッファ
1oとコンタクトピンR8Tとの間に接続されている。
When in contact with Vpp, a short circuit between any two of the contact pins is detected, and the input/output terminals P2.2 to P2.6 are connected to the specified locations below. be done. Input/output terminal P2.2 is connected between tristate buffer 7 and contact pin CLK. Input/output terminal P2.3 is connected between tristate buffer 1o and contact pin R8T.

入出力端子P2.4はリレー15の接点とコンタクトピ
ンVPPとの間に接続されている。入出力端子P2.5
はリレー14の接点とコンタクトピンVccとの間に接
続されている。
Input/output terminal P2.4 is connected between the contact of relay 15 and contact pin VPP. Input/output terminal P2.5
is connected between the contact of the relay 14 and the contact pin Vcc.

入出力端子P2.6はリレー13の接点とコンタクトピ
ンGNDとの間に接続されている。これらの入出力端子
P2.2. R2,3,R2,4,R2,5,R2,6
はそれぞれ抵抗R2,R,、R4,R,、R,を介して
接地されている。
The input/output terminal P2.6 is connected between the contact of the relay 13 and the contact pin GND. These input/output terminals P2.2. R2,3, R2,4, R2,5, R2,6
are grounded via resistors R2, R, , R4, R, , R, respectively.

一方、トライステートバッファ11及び12とコンタク
トピンI10との間には抵抗R1を介して電源回路16
からの電圧Vccが印加されている。
On the other hand, a power supply circuit 16 is connected between the tristate buffers 11 and 12 and the contact pin I10 via a resistor R1.
A voltage Vcc from is applied.

また、CPU9は所定時に入出力端子P2.2. R2
,3゜R2,4,R2,5,又−はR2,6の出力電圧
をハイレベルとする。
Further, the CPU 9 inputs and outputs the input/output terminals P2.2. R2
, 3° R2,4, R2,5, or - or R2,6 is set to a high level.

コンタクトピンCLK、I10.R3T、GND。Contact pin CLK, I10. R3T, GND.

VcctVppが設けられたカード搬送部5には、IC
カード1を搬入搬出するための転送ローラ18と、転送
ローラ18を駆動するモータ19と、ICカード1の挿
入を検出するリミットスイッチ20と、ICカード1の
搬入終了を検出するリミットスイッチ21とが設けられ
ている。モータ19はモータ駆動回路22を介してCP
U9の制御下におかれている。リミットスイッチ20,
21はCPU9に接続され、これによってCPU9にI
Cカード1の挿入情報及び搬入終了情報が与えられる。
The card transport unit 5 provided with VcctVpp includes an IC
A transfer roller 18 for loading and unloading the card 1, a motor 19 for driving the transfer roller 18, a limit switch 20 for detecting the insertion of the IC card 1, and a limit switch 21 for detecting the completion of loading the IC card 1. It is provided. The motor 19 is connected to the CP via a motor drive circuit 22.
It is under the control of U9. limit switch 20,
21 is connected to the CPU 9, thereby providing an I
C-card 1 insertion information and carry-in completion information are given.

尚、ICカード1の搬入終了でコンタクトピンと接点と
が接触するように構成されている。
It should be noted that the structure is such that the contact pins and the contacts come into contact after the IC card 1 is loaded.

第2図は第1図の読出書込装置2のCPUQ内で実行さ
れる読出書込処理プログラムのフローチャートを示し、
以下、このプログラムの処理手順を説明する。
FIG. 2 shows a flowchart of a read/write processing program executed within the CPUQ of the read/write device 2 of FIG.
The processing procedure of this program will be explained below.

読出書込装置2の電源が投入されると、まず。When the read/write device 2 is powered on, first.

ステップ1で読出書込部6のCPU9を初期化する。次
に、ステップ2でCPU9はリレー(RLYI〜RLY
3)13,14,15の接点を開成状態(オープン)と
し、ステップ3でトライステートバッファ7.10,1
1.12をオフにすると共に、入出力端子P2.2〜P
2.6をすべてハイインピーダンス状態にセットする。
In step 1, the CPU 9 of the reading/writing section 6 is initialized. Next, in step 2, the CPU 9 sends the relays (RLYI to RLY
3) Set the contacts 13, 14, and 15 in the open state (open), and in step 3, the tristate buffers 7, 10, 1
1.12 and turn off the input/output terminals P2.2~P.
2. Set all 6 to high impedance state.

この後、ICカード1の挿入待ちの状態となる(ステッ
プ4)。
After this, the device enters a state of waiting for insertion of the IC card 1 (step 4).

ICカード1の挿入はリミットスイッチ20の作動によ
って認識され、この認識で、ICカード1の搬入処理が
行われる(ステップ5)。搬入処理はリミットスイッチ
2o、21の検知に基づくモータ19の駆動制御を介し
て行われ、これによって続出書込装置2のコンタクトピ
ンとICカード1の接点とが接触状態となる。
Insertion of the IC card 1 is recognized by the operation of the limit switch 20, and upon this recognition, the process of importing the IC card 1 is performed (step 5). The carrying-in process is performed through drive control of the motor 19 based on the detection of the limit switches 2o and 21, whereby the contact pins of the continuous writing device 2 and the contacts of the IC card 1 are brought into contact.

この状態では、コンタクトピンVcc、 Vppはリレ
ー14.15の開成によって電源回路16から切り離さ
れているので、ICカード1の搬入で。
In this state, the contact pins Vcc and Vpp are disconnected from the power supply circuit 16 by opening the relays 14 and 15, so when the IC card 1 is loaded.

何らかの理由によりコンタクトピンVcc、 Vppが
グラウンド用のコンタクトピンGNDと短絡したとして
も電源回路16、ICカード1及び読出帯、送装置2の
毀損等が生じることがない。
Even if the contact pins Vcc and Vpp are short-circuited with the ground contact pin GND for some reason, the power supply circuit 16, IC card 1, reading band, and sending device 2 will not be damaged.

ICカード1が搬入された後、まず、ステップ6で入出
力端子P2.2〜P2.6がすべてローレベルであるか
否かを判別する。この場合、前記ステップ3で入出力端
子P2.2〜P2.6がすべてハイインピーダンスにセ
ットされており、また、端子P2.2〜P2.6がそれ
ぞれ抵抗R2〜R,を介して接地されているので、コン
タクトピンI10がコンタクトピンCL K r RS
 T t VpP+ Vcc及びGNDと短絡していな
い正常な状態においては、入出力端子P2.2〜P2.
6はすべてローレベルとなる。しかしながら、コンタク
トピンI10とコンタクトピンCLK、、RST、Vp
p、Vcc、GNDの少なくともいずれか1つとが短絡
しているときは、該短絡しているコンタクトピン及び抵
抗R0を介して電圧Vccが与えられるので、入出力端
子P2.2〜P2.6の少なくともいずれか1つがハイ
レベルとなり。
After the IC card 1 is carried in, first, in step 6, it is determined whether all input/output terminals P2.2 to P2.6 are at low level. In this case, the input/output terminals P2.2 to P2.6 are all set to high impedance in step 3, and the terminals P2.2 to P2.6 are grounded through the resistors R2 to R, respectively. Therefore, the contact pin I10 is the contact pin CL K r RS
T t VpP+ In a normal state without shorting to Vcc and GND, input/output terminals P2.2 to P2.
6 are all low level. However, contact pin I10 and contact pin CLK, , RST, Vp
When at least one of P, Vcc, and GND is short-circuited, voltage Vcc is applied via the short-circuited contact pin and resistor R0, so that input/output terminals P2.2 to P2.6 At least one of them will be at a high level.

ステップ6の判別結果は否定(No)となる。尚、R工
〜RGの抵抗値は前述の判別が可能なようにICカード
1の各接点の入力インピーダンス等も考慮して決められ
ている。
The determination result in step 6 is negative (No). Incidentally, the resistance values of R to RG are determined in consideration of the input impedance of each contact of the IC card 1 so that the above-mentioned discrimination can be made.

ステップ6の判別結果が否定(NO)のときは、P2.
2〜P2.6のうちハイレベルのものを検出し。
If the determination result in step 6 is negative (NO), P2.
2 to P2.6, a high level one is detected.

これによりコンタクトピンI10とコンタクトピンCL
K、RSTt VPP+ Vcc、GNDのうちのどれ
とが短絡しているかを検出してそのことをCPU9と接
続された記憶装置(図示せず)に記憶し、警報、表示等
によりICカード1の使用者にその状態を伝達するよう
にする(ステップ19)。
As a result, contact pin I10 and contact pin CL
It detects which of K, RSTt VPP+ Vcc, and GND is short-circuited and stores it in a storage device (not shown) connected to CPU 9, and prevents the use of IC card 1 by alarm, display, etc. The status is communicated to the person (step 19).

その後、モータ19の逆転制御によるカード搬出処理(
ステップ18)によりICカード1の搬出が行われてス
テップ2に戻される。
After that, the card ejection process (
In step 18), the IC card 1 is taken out and the process returns to step 2.

ステップ6の判別結果が背定(Yes)のときは、入出
力端子P2.2をハイレベルにセットして(ステップ7
)該入出力端子P2.2からコンタクトピンCLKへ所
定の電圧を印加し、次のステップ8で入出力端子P2.
3〜P2.6がすべてローレベルであるか否かを判別す
る。この場合、前記ステップ6でコンタクトピンI10
とコンタクトピンCLK、R8T、Vpp、Vcc、G
NDのいずれもとが短絡していないことが確認されてい
るので。
If the determination result in step 6 is positive (Yes), input/output terminal P2.2 is set to high level (step 7
) A predetermined voltage is applied from the input/output terminal P2.2 to the contact pin CLK, and in the next step 8, the input/output terminal P2.
3 to P2.6 are all at low level. In this case, in step 6, the contact pin I10
and contact pins CLK, R8T, Vpp, Vcc, G
It has been confirmed that none of the NDs are short-circuited.

コンタクトピンCLKとコンタクトピンR3T。Contact pin CLK and contact pin R3T.

Vpp、Vcc、GNDの少なくともいずれか1つとが
短絡していない限り、入出力端子P2.3〜P2゜6は
すべてローレベルとなる。しかしながら、コンタクトピ
ンCLKとコンタクトピンRST、VPP+Vcc、G
NDの少なくともいずれか1つとが短絡しているときは
、入出力端子P2.3〜P2.6の少な′   くとも
いずれか1つがハイレベルとなり、ステップ8の判別結
果は否定(N o )となる。
Unless there is a short circuit with at least one of Vpp, Vcc, and GND, all input/output terminals P2.3 to P2.6 are at a low level. However, contact pin CLK and contact pin RST, VPP+Vcc, G
When at least one of the input/output terminals P2.3 to P2.6 is short-circuited, at least one of the input/output terminals P2.3 to P2.6 becomes high level, and the determination result in step 8 is negative (No). Become.

ステップ8の判別結果が否定(No)のときは、P2.
3〜P2.6のうちハイレベルのものを検出し、これに
よりコンタクトピンCLKとコンタクトピンR5T、V
pp、Vcc、GN、Dのうちのどれとが短絡している
かを検出してそのことを記憶し、前述のようにその状態
を使用者に伝達するようにする(ステップ20)、その
後、前記ステップ18によりICカード1の搬出が行な
われてステップ2に戻される。
When the determination result in step 8 is negative (No), P2.
The high level one among 3 to P2.6 is detected, and this causes contact pin CLK and contact pin R5T, V
Detect which one of pp, Vcc, GN, and D is short-circuited, memorize it, and communicate the status to the user as described above (step 20). In step 18, the IC card 1 is carried out, and the process returns to step 2.

ステップ8の判別結果が肯定(Yes)のときは、入出
力端子P2.3をハイレベルにセットして(ステップ9
)コンタクトピンR3Tへ所定の電圧を印加し、次のス
テップ10で入出力端子P2.4〜P2.6がすべてロ
ーレベルであるか否かを判別する。この場合、前記ステ
ップ6及び8でコンタクトピンI10及びCLKは正常
であることが確認されているので、コンタクトピンRS
TとコンタクトピンVPP+ Vcc、 G NDの少
なくともいずれか1つとが短絡していない限り、入出力
端子P2.4〜P2.6はすべてローレベルとなる。し
かしながら、コンタクトピンR8Tとコンタクトピンv
PPy Vcc。
If the determination result in step 8 is affirmative (Yes), input/output terminal P2.3 is set to high level (step 9
) A predetermined voltage is applied to contact pin R3T, and in the next step 10 it is determined whether all input/output terminals P2.4 to P2.6 are at low level. In this case, since it has been confirmed in steps 6 and 8 that the contact pins I10 and CLK are normal, the contact pins RS
Unless T is short-circuited with at least one of the contact pins VPP+Vcc and GND, all input/output terminals P2.4 to P2.6 are at a low level. However, contact pin R8T and contact pin v
PPy Vcc.

GNDの少なくともいずれか1つとが短絡しているとき
は、ステップ10の判別結果は否定(N o )となる
When at least one of the GNDs is short-circuited, the determination result in step 10 is negative (No).

ステップ10の判別結果が否定(NO)のときは、P2
.4〜P2.6のうちハイレベルのものを検出し、これ
によりコンタクトピンR8TとコンタクトピンVpp、
Vcc、GNDのうちのどれとが短絡しているかを検出
してそのことを記憶し、前述のようにその状態を使用者
に伝達するようにする(ステップ21)。その後、前記
ステップ18によりICカードの搬出が行なわれてステ
ップ2に戻される。
If the determination result in step 10 is negative (NO), P2
.. The high level one among 4 to P2.6 is detected, and as a result, contact pin R8T and contact pin Vpp,
Which of Vcc and GND is short-circuited is detected and memorized, and the state is communicated to the user as described above (step 21). Thereafter, the IC card is carried out in step 18, and the process returns to step 2.

ステップ10の判別結果が肯定(Yes)のときは、入
出力端子P2.4をハイレベルにセットして(ステップ
11)コンタクトピンVρPへ所定の電圧を印加し、次
のステップ12で入出力端子P2.5゜P2.6のいず
れもがローレベルであるか否かを判別する。この場合、
前記ステップ6.8及び10でコンタクトピンI10.
CLK及びRSTは正常であることが確認されているの
で、コンタクトピンVpρとコンタクトピンvcc、G
NDの少なくともいずれか1つとが短絡していない限り
、入出力端子P2.5. P2.6はいずれもローレベ
ルとなる。しかしながら、コンタクトピンVPPとコン
タクトピンVcc、GNDの少なくともいずれか1つと
が短絡しているときは、ステップ12の判別結果は否定
(NO)となる。
When the determination result in step 10 is affirmative (Yes), the input/output terminal P2.4 is set to high level (step 11), a predetermined voltage is applied to the contact pin VρP, and in the next step 12, the input/output terminal It is determined whether any of P2.5 and P2.6 are at low level. in this case,
In steps 6.8 and 10 above, contact pin I10.
Since CLK and RST have been confirmed to be normal, contact pin Vpρ and contact pins vcc and G
As long as at least one of the input/output terminals P2.5.ND is not short-circuited, the input/output terminals P2.5. Both P2.6 are at low level. However, when the contact pin VPP and at least one of the contact pins Vcc and GND are short-circuited, the determination result in step 12 is negative (NO).

ステップ12の判別結果が否定(NO)のときは、P2
.5. P2.6のうちハイレベルのものを検出し、こ
れによりコンタクトピンVPPとコンタクトピンvcc
、GNDのうちのどれとが短絡しているかを検出してそ
のことを記憶し、前述のようにその状態を使用者に伝達
するようにする(ステップ22)。
If the determination result in step 12 is negative (NO), P2
.. 5. The high level one among P2.6 is detected, and the contact pin VPP and contact pin vcc are thereby detected.
, GND is detected and memorized, and the state is communicated to the user as described above (step 22).

その後、前記ステップ18によりICカード1の搬出が
行なわれてステップ2に戻される。
Thereafter, the IC card 1 is carried out in step 18, and the process returns to step 2.

ステップ12の判別結果が肯定(Yes)のときは、入
出力端子P2.5をハイレベルにセットして(ステップ
13)コンタクトピンVccへ所定の電圧を印加し、次
のステップ14で入出力端子P2.6がローレベルであ
るか否かを判別する。この場合、前記ステップ6、8.
10及び12でコンタクトピンエ10゜CLK、RST
及びVPPは正常であることが確認されているので、コ
ンタクトピンVecとコンタクトピンGNDとが短絡し
ていない限り、入出力端子P2.6はローレベルとなる
。しかしながら、コンタクトピンVccとコンタクトピ
ンGNDとが短絡しているときは、ステップ14の判別
結果は否定(NO)となる。
When the determination result in step 12 is affirmative (Yes), the input/output terminal P2.5 is set to high level (step 13), a predetermined voltage is applied to the contact pin Vcc, and in the next step 14, the input/output terminal It is determined whether P2.6 is at low level. In this case, steps 6, 8.
Contact pin 10°CLK, RST at 10 and 12
and VPP are confirmed to be normal, so unless the contact pin Vec and contact pin GND are short-circuited, the input/output terminal P2.6 will be at a low level. However, when contact pin Vcc and contact pin GND are short-circuited, the determination result in step 14 is negative (NO).

ステップ14の判別結果が否定(No)のときは、コン
タクトピンvCCとコンタクトピンGNDとが短絡して
いることを記憶し、前述のようにその状態を使用者に伝
達するようにする(ステップ2゛3)。ステップ18に
よりICカードの搬出が行なわれてステップ2に戻され
る。
When the determination result in step 14 is negative (No), the fact that the contact pin vCC and the contact pin GND are short-circuited is memorized, and the state is communicated to the user as described above (step 2゛3). The IC card is carried out in step 18, and the process returns to step 2.

ステップ14の判別結果が背定(Yes)のときは、各
コンタクトピンCLK、I10.R5T。
When the determination result in step 14 is positive (Yes), each contact pin CLK, I10. R5T.

G N D t Vcc、 vPPのうちのいずれの2
つのコンタクトピンも短絡していないので、ステップ1
5においてトライステートバッファ7.10,11゜1
2の制御端子にLレベル信号を与え、入力信号をそのま
ま通す状態、即ち、オン状態とし、また、入出力端子P
2.2〜P2.6をすべてハイインピーダンス状態にセ
ットする。次いで、ステップ16においてリレー13を
閉成状態とし、コンタクトピンGNDを接地し、またリ
レー14.15を閉成状態とし、コンタクトピンVcc
、 VPPを電源回路16と接続する。その後コンタク
トピンI10と接点i10との接触を通して読出しおよ
び/または書込みが行なわれ(ステップ17)、その終
了でモータ19の逆転制御によるICカード1の搬出処
理(ステップ18)を経て、ステップ2に戻され、次の
ICカードの処理準備が行なわれることとなる。
Any two of G N D t Vcc, vPP
None of the contact pins are shorted, so step 1
5 tri-state buffer 7.10,11゜1
An L level signal is applied to the control terminal of P2, and the input signal is passed through as is, that is, it is in the ON state, and the input/output terminal P
2.2 to P2.6 are all set to high impedance state. Next, in step 16, the relay 13 is closed, the contact pin GND is grounded, and the relays 14.15 are closed, and the contact pin Vcc is grounded.
, VPP is connected to the power supply circuit 16. Thereafter, reading and/or writing is performed through contact between the contact pin I10 and the contact point i10 (step 17), and upon completion of this, the IC card 1 is ejected by reverse control of the motor 19 (step 18), and then the process returns to step 2. Then, preparations are made for processing the next IC card.

(発明の効果) 以上詳述したように、本発明のICカードの続出書込装
置によれば、ICカードに設けられた複数の接点のそれ
ぞれに対応して接触する各コンタクトピンを備え、該各
コンタクトビンを介して該ICカード内の情報の読出書
込処理を行うようにしたICカードの続出書込装置にお
いて、前記ICカードの搬入時に該各コンタクトピンの
すべてのコンタクトピン間の短絡を検出する検出手段を
具備し、前記各コンタクトピンのうちの少なくともいず
れか2つのコンタクトピンが短絡していることを検出し
たときは、前記ICカードを搬出するようにしたので、
鉄板等の挿入あるいはICカード表面の導電性付着物等
により電源供給用のコンタクトピンが短絡した場合に当
該コンタクトピンと電源とが接続されないようにでき、
読出書込装置の動作不良および毀損防止を図ることがで
きる。
(Effects of the Invention) As described in detail above, the IC card successive writing device of the present invention is provided with contact pins that contact each of the plurality of contacts provided on the IC card. In an IC card continuous writing device that performs read/write processing of information in the IC card through each contact bin, short-circuits between all contact pins of the respective contact pins are prevented when the IC card is carried in. The IC card is equipped with a detection means for detecting, and when it is detected that at least any two of the contact pins are short-circuited, the IC card is taken out.
When a contact pin for power supply is short-circuited due to the insertion of an iron plate or the like or conductive deposits on the surface of an IC card, the contact pin and the power supply can be prevented from being connected.
Malfunctions and damage to the read/write device can be prevented.

また、その他、いずれの2つのコンタクトピンが短絡し
た場合にも、読出書込処理が行なわれないようにでき、
ICカードや読出書込装置内の入力回路の毀損等も完全
に防止することができる。
In addition, even if any two contact pins are short-circuited, read/write processing can be prevented from being performed.
It is also possible to completely prevent damage to input circuits in IC cards and read/write devices.

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

第1図は本発明のICカードの続出書込装置の一実施例
を示す構成図、第2図は第1図の装置の動作フローチャ
ートである。 1・・・ICカード、2・・・読出書込装置、CLK。 Ilo、R5T、GND、Vcct vPP”’:r’
タクトピン、elk、 ilo、 rst、 gnd、
 vcc、 vpp…接点、13,14,15・・・リ
レー、16・・・電源回路。
FIG. 1 is a block diagram showing an embodiment of the IC card continuous writing device of the present invention, and FIG. 2 is an operation flowchart of the device shown in FIG. 1...IC card, 2...Reading/writing device, CLK. Ilo, R5T, GND, Vcct vPP”':r'
tact pin, elk, ilo, rst, gnd,
vcc, vpp...contact, 13, 14, 15...relay, 16...power supply circuit.

Claims (1)

【特許請求の範囲】[Claims] 1.ICカードに設けられた複数の接点のそれぞれに対
応して接触する各コンタクトピンを備え、該各コンタク
トピンを介して該ICカード内の情報の読出書込処理を
行うようにしたICカードの読出書込装置において、前
記ICカードの搬入時に該各コンタクトピンのすべての
コンタクトピン間の短絡を検出する検出手段を具備し、
前記各コンタクトピンのうちの少なくともいずれか2つ
のコンタクトピンが短絡していることを検出したときは
、前記ICカードを搬出するようにしたことを特徴とす
るICカードの読出書込装置。
1. An IC card reader comprising contact pins that contact each of a plurality of contact points provided on an IC card, and reading and writing processing of information in the IC card is performed via each contact pin. The writing device includes a detection means for detecting a short circuit between all of the contact pins when the IC card is carried in,
An IC card reading/writing device, characterized in that the IC card is ejected when it is detected that at least any two of the contact pins are short-circuited.
JP61069327A 1986-03-26 1986-03-26 Ic card read/write device Pending JPS62224874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61069327A JPS62224874A (en) 1986-03-26 1986-03-26 Ic card read/write device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61069327A JPS62224874A (en) 1986-03-26 1986-03-26 Ic card read/write device

Publications (1)

Publication Number Publication Date
JPS62224874A true JPS62224874A (en) 1987-10-02

Family

ID=13399342

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61069327A Pending JPS62224874A (en) 1986-03-26 1986-03-26 Ic card read/write device

Country Status (1)

Country Link
JP (1) JPS62224874A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01161594A (en) * 1987-11-13 1989-06-26 Alcatel Cit Ic card reader contact frame with end point contact
US6840454B1 (en) * 1998-09-11 2005-01-11 Schlumberger Systemes Data transmission method and card therefor

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58175058A (en) * 1982-04-05 1983-10-14 Dainippon Printing Co Ltd Reader and writer for ic card

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58175058A (en) * 1982-04-05 1983-10-14 Dainippon Printing Co Ltd Reader and writer for ic card

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01161594A (en) * 1987-11-13 1989-06-26 Alcatel Cit Ic card reader contact frame with end point contact
US6840454B1 (en) * 1998-09-11 2005-01-11 Schlumberger Systemes Data transmission method and card therefor

Similar Documents

Publication Publication Date Title
CA1319987C (en) Ic card reader/writer having a short-circuit detection capability
US4785166A (en) Reader/writer for portable recording medium with power supply abnormality detection
EP0351911B1 (en) Method and device for testing multiple power supply connections of an integrated circuit on a printed-circuit board
KR100701713B1 (en) Data carrier with obscured power consumption
US6271675B1 (en) Terminal contact-type IC card having terminal contact fault detector, IC card system using the IC card, and IC for the IC card
US4772783A (en) IC card reader/writer
JPS62224874A (en) Ic card read/write device
JP3349998B2 (en) Data processing device and operation control method thereof
JP3461308B2 (en) Data processing device and operation control method thereof
JPS62157984A (en) Reading and writing device for ic card
AU1085688A (en) Computer-aided probe with tri-state circuitry test capability
US6642602B2 (en) Self-terminating blow process of electrical anti-fuses
KR100222747B1 (en) Ic card reader and writer
JPS6378496A (en) Electrostatic breakdown protector
US8047437B2 (en) Card access apparatus and electronic apparatus implementing the same
JPS63247889A (en) Ic card
JP3022842B2 (en) IC card reading / writing device
JPH04108264U (en) IC card reading/writing device
JPS6243791A (en) Ic card
JP3604468B2 (en) Power supply abnormality detection device and its detection method
JPS6340982A (en) Ic card system
JPS62102377A (en) Memory card reader
JPS62165286A (en) Reading/writing device for portable recording medium
JP2941082B2 (en) IC memory card processing device
JPS63146190A (en) Ic card reader