JPH0981708A - IC card, IC card reading device, and IC card writing device - Google Patents
IC card, IC card reading device, and IC card writing deviceInfo
- Publication number
- JPH0981708A JPH0981708A JP7237224A JP23722495A JPH0981708A JP H0981708 A JPH0981708 A JP H0981708A JP 7237224 A JP7237224 A JP 7237224A JP 23722495 A JP23722495 A JP 23722495A JP H0981708 A JPH0981708 A JP H0981708A
- Authority
- JP
- Japan
- Prior art keywords
- card
- identifier
- reading
- frequency
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003780 insertion Methods 0.000 claims abstract description 48
- 230000037431 insertion Effects 0.000 claims abstract description 48
- 238000012544 monitoring process Methods 0.000 abstract description 2
- 238000000034 method Methods 0.000 description 29
- 238000004891 communication Methods 0.000 description 14
- 230000005540 biological transmission Effects 0.000 description 9
- 238000001514 detection method Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 230000004044 response Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 2
- 230000012447 hatching Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000005389 magnetism Effects 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 239000000843 powder Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Abstract
(57)【要約】
【課題】 本発明は、ICカードの動作クロックの周波
数を識別するため待ち時間が長くかかるといった課題を
解決するものである。
【解決手段】 ICカード読み取り・書き込み装置1
は、カード挿入口4,5の入口にICカード3の種類
(動作クロックの周波数)を識別するための識別センサ
ユニット4A,5Aが設けられている。ICカード3の
表面には、当該ICカード3の種類を識別するための識
別子が設けられている。識別センサユニット4A,5A
は、一対のフォトインタラプタよりなり、ICカード3
の識別子が通過すると、その部分だけ光が反射しないた
め、フォトインタラプタの出力がオフとなる。従って、
フォトインタラプタからの出力を監視することによりI
Cカード3の識別子の有無を検出してICカード3の種
類を識別することができる。
The present invention solves the problem that a waiting time is long because the frequency of an operation clock of an IC card is identified. SOLUTION: IC card reading / writing device 1
Are provided with identification sensor units 4A and 5A for identifying the type (frequency of the operation clock) of the IC card 3 at the entrances of the card insertion ports 4 and 5. An identifier for identifying the type of the IC card 3 is provided on the surface of the IC card 3. Identification sensor unit 4A, 5A
Consists of a pair of photo interrupters, and the IC card 3
When the identifier of No. 2 passes, the light is not reflected only at that portion, and the output of the photo interrupter is turned off. Therefore,
By monitoring the output from the photo interrupter, I
The type of the IC card 3 can be identified by detecting the presence or absence of the C card 3 identifier.
Description
【0001】[0001]
【発明の属する技術分野】本発明は所定のクロック周波
数でデータの読み取り・書き込みが行われるICカード
の識別を行うよう構成されたICカード及びICカード
読み取り装置及びICカード書き込み装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an IC card, an IC card reading device, and an IC card writing device configured to identify an IC card for reading / writing data at a predetermined clock frequency.
【0002】[0002]
【従来の技術】個人のデータが記憶されるメモリ(EE
PROM)及びデータの読み取り・書き込みの制御を行
う1チップマイコンが内蔵されたICカードを各人に配
付して個人データを管理する管理システムの開発が進め
られている。例えば各事業所毎にICカード読み取り・
書き込み装置を設置することにより、複数の事業所にお
ける人の出入りの時間、日付等をICカードに記憶させ
ることができるので、各人がICカードを携帯し、各事
業所に設置されたICカード読み取り・書き込み装置に
ICカードを挿入するだけで、各個人の出勤時間、退社
時間、出勤日数等のデータを管理することができる。2. Description of the Related Art Memory (EE) for storing personal data
A management system that manages personal data by distributing an IC card having a built-in PROM (PROM) and a one-chip microcomputer for controlling reading and writing of data to each person is being developed. For example, IC card reading /
By installing a writing device, it is possible to store the time of arrival and departure of people at multiple offices, the date, etc. in the IC card, so that each person can carry an IC card with him and the IC card installed in each office. By simply inserting an IC card into the reading / writing device, it is possible to manage the data such as the office work time, leaving time, and work days of each individual.
【0003】そして、ICカード読み取り・書き込み装
置では、ICカードが挿入されると、ICカードの表面
に設けられた端子を介して所定の動作クロック、電源を
供給すると共に、データの読み取り・書き込みを行う。
このように使用されるICカードにおいては、データの
授受を行うためのクロック周波数が規定されている。そ
のため、ICカード読み取り・書き込み装置の制御装置
は、規定の動作クロックで通信を行うように構成されて
いる。In the IC card reading / writing device, when the IC card is inserted, a predetermined operation clock and power are supplied through a terminal provided on the surface of the IC card, and data reading / writing is performed. To do.
In the IC card used in this way, the clock frequency for transmitting and receiving data is specified. Therefore, the control device of the IC card reading / writing device is configured to perform communication with a specified operation clock.
【0004】また、ICカードは、ISO規格によりそ
の形状や各寸法が決められているが、従来から動作クロ
ックの異なる複数種のICカードが使用されている。こ
の動作クロックもISO規格により統一されることにな
るものの、ICカード読み取り・書き込み装置において
は、どのICカードでも使用できることが要望されてい
る。Further, the shape and each dimension of the IC card are determined by the ISO standard, but conventionally, plural kinds of IC cards having different operation clocks have been used. Although this operation clock is also standardized by the ISO standard, it is desired that any IC card can be used in the IC card reading / writing device.
【0005】そのため、従来のICカード読み取り・書
き込み装置では、動作クロックの異なる複数種のICカ
ードに対応できるようにICカードの各動作クロックを
生成する複数の発振回路を有する回路基板を設けた構成
となっている。そのため、ICカード読み取り・書き込
み装置にICカードが挿入されると、当該ICカードに
所定の動作クロックが発信され、その結果ICカードか
らの応答の有無を確認する。そして、ICカードから応
答がない場合には、動作クロックが不一致であると判断
して、別の周波数を有する動作クロックをICカードに
送信してICカードからの応答が得られるまで動作クロ
ックの周波数を切り換える。Therefore, in the conventional IC card reading / writing device, a circuit board having a plurality of oscillation circuits for generating respective operation clocks of the IC card is provided so as to correspond to a plurality of types of IC cards having different operation clocks. Has become. Therefore, when the IC card is inserted into the IC card reading / writing device, a predetermined operation clock is transmitted to the IC card, and as a result, the presence or absence of a response from the IC card is confirmed. When there is no response from the IC card, it is determined that the operation clocks do not match, an operation clock having another frequency is transmitted to the IC card, and the frequency of the operation clock is obtained until the response from the IC card is obtained. Switch.
【0006】[0006]
【発明が解決しようとする課題】ところが、上記のよう
な構成とされた従来のICカード読み取り・書き込み装
置では、ICカードが装置内に挿入されてから動作クロ
ックを判定する構成であり、しかも装置側の動作クロッ
クがICカードの動作クロックと一致しない場合にはI
Cカードから応答がないため一致するまで動作クロック
の周波数を切り換える必要がある。However, in the conventional IC card reading / writing apparatus configured as described above, the operation clock is determined after the IC card is inserted into the apparatus, and the apparatus is also used. If the operating clock on the side does not match the operating clock on the IC card, I
Since there is no response from the C card, it is necessary to switch the frequency of the operating clock until they match.
【0007】そのため、ICカードが装置内に挿入され
てデータの読み取りあるいは書き込みが行われるまでの
待ち時間が長くかかる場合があり、動作クロックの周波
数の種類が多くなると、その分ICカードを受け取るま
での時間が延長されてしまい、例えば朝の出勤時間帯に
は多数の社員が連続して到着するため、後から到着した
人々は前の人がICカードを受け取るまで待たなければ
ならならず、複数の人が並んだ場合にはその人数分だけ
待ち時間が長くなる。Therefore, it may take a long waiting time until the IC card is inserted into the device and the data is read or written. If the frequency of the operation clock increases, the IC card is received correspondingly. For example, many employees arrive in a row during the morning work hours, so those who arrive later must wait until the former person receives the IC card, When there are a number of people in line, the waiting time becomes longer by the number of people.
【0008】さらに、1枚のICカードが挿入されてか
らイジェクトされるまでの時間が長くなると、装置の消
費電力が増大し、装置がバッテリで駆動される構成のも
のでは、動作途中で電力不足となるおそれがある。そこ
で、本発明は上記問題を解決したICカード及びICカ
ード読み取り装置及びICカード書き込み装置を提供す
ることを目的とする。Further, if the time from the insertion of one IC card to the ejection is long, the power consumption of the device increases, and in the device driven by the battery, the power is insufficient during the operation. There is a risk that Therefore, an object of the present invention is to provide an IC card, an IC card reading device, and an IC card writing device that solve the above problems.
【0009】[0009]
【課題を解決するための手段】上記課題を解決するた
め、本発明は以下のような特徴を有する。上記請求項1
の発明は、データが記録されたメモリと、該メモリに所
定周波数の動作クロックでデータが入力される端子とを
有するICカードにおいて、前記動作クロックの周波数
を識別するための識別子を表面に設けたことを特徴とす
るものである。In order to solve the above problems, the present invention has the following features. Claim 1
According to the invention, in an IC card having a memory in which data is recorded and a terminal to which data is input to the memory at an operation clock of a predetermined frequency, an identifier for identifying the frequency of the operation clock is provided on the surface. It is characterized by that.
【0010】従って、請求項1によれば、動作クロック
の周波数を識別するための識別子がICカードの表面に
設けられているので、ICカードが挿入される過程で動
作クロックの周波数を識別することができ、従来のよう
に装置側から動作クロックを送信して動作クロックの周
波数を判定する必要がない。Therefore, according to the first aspect, since the identifier for identifying the frequency of the operation clock is provided on the surface of the IC card, the frequency of the operation clock can be identified in the process of inserting the IC card. Therefore, it is not necessary to determine the frequency of the operation clock by transmitting the operation clock from the device side as in the conventional case.
【0011】また、請求項2の発明は、ICカードが挿
入されるカード挿入部と、該カード挿入部に挿入された
該ICカードのメモリに記憶されたデータを読み取るデ
ータ読み取り部を有するICカード読み取り装置におい
て、前記カード挿入部の入口に前記ICカードに設けら
れた識別子を検出する識別子検出手段を設けてなること
を特徴とするものである。Further, the invention of claim 2 has an IC card having a card insertion section into which an IC card is inserted and a data reading section for reading data stored in the memory of the IC card inserted into the card insertion section. In the reading device, an identifier detecting means for detecting an identifier provided on the IC card is provided at the entrance of the card insertion portion.
【0012】従って、請求項2によれば、ICカードの
識別子を検出して当該ICカードの動作クロックの周波
数を識別することができるので、ICカードが挿入され
る過程で動作クロックの周波数を設定することが可能に
なり、ICカードが挿入されると直ちにICカードのメ
モリに記憶されたデータを読み取ることができ、ICカ
ードが挿入されてからイジェクトされるまでの待ち時間
を短縮することができる。Therefore, according to the second aspect, since the identifier of the IC card can be detected to identify the frequency of the operation clock of the IC card, the frequency of the operation clock is set in the process of inserting the IC card. It becomes possible to read the data stored in the memory of the IC card immediately after the IC card is inserted, and it is possible to shorten the waiting time from the insertion of the IC card to the ejection. .
【0013】また、請求項3の発明は、ICカードが挿
入されるカード挿入部と、該カード挿入部に挿入された
ICカードのメモリに所定周波数の動作クロックでデー
タを記憶させるデータ書き込み部を有するICカード書
き込み装置において、前記カード挿入部の入口に前記I
Cカードに設けられた識別子を検出する識別子検出手段
を設けてなることを特徴とするものである。According to the invention of claim 3, there is provided a card insertion portion into which the IC card is inserted, and a data writing portion for storing data in the memory of the IC card inserted into the card insertion portion at an operation clock of a predetermined frequency. In an IC card writing device having the above, the I
It is characterized in that an identifier detecting means for detecting an identifier provided on the C card is provided.
【0014】従って、請求項3によれば、ICカードの
識別子を検出して当該ICカードの動作クロックの周波
数を識別することができるので、ICカードが挿入され
る過程で動作クロックの周波数を設定することが可能に
なり、ICカードが挿入されると直ちにICカードのメ
モリに所定周波数の動作クロックでデータを記憶させる
ことができ、ICカードが挿入されてからイジェクトさ
れるまでの待ち時間を短縮することができる。Therefore, according to the third aspect, since the identifier of the IC card can be detected to identify the frequency of the operation clock of the IC card, the frequency of the operation clock is set in the process of inserting the IC card. As soon as the IC card is inserted, data can be stored in the memory of the IC card at an operating clock of a predetermined frequency, and the waiting time from the insertion of the IC card to the ejection is shortened. can do.
【0015】[0015]
【発明の実施の形態】以下、図面と共に本発明の一実施
例について説明する。尚、図1はICカード読み取り・
書き込み装置の斜視図、図2はICカード読み取り・書
き込み装置のブロック図である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. Fig. 1 shows the IC card reading
FIG. 2 is a perspective view of the writing device, and FIG. 2 is a block diagram of the IC card reading / writing device.
【0016】ICカード読み取り・書き込み装置1は、
側面からみると略三角形状に形成されており、カード挿
入操作が容易に行えるように筐体1aの前面1bが傾斜
されている。この前面1bの中央には、液晶ディスプレ
イよりなる表示器2が配設され、表示器2の左右両側に
はICカード3が挿入されるカード挿入口4,5が配設
されている。The IC card reading / writing device 1 is
When viewed from the side, it is formed in a substantially triangular shape, and the front surface 1b of the housing 1a is inclined so that the card insertion operation can be performed easily. At the center of the front surface 1b, a display 2 composed of a liquid crystal display is arranged, and card insertion ports 4 and 5 into which an IC card 3 is inserted are arranged on both left and right sides of the display 2.
【0017】ICカード読み取り・書き込み装置1で
は、後述するようにICカード3が挿入されると、IC
カード3の表面に設けられた端子を介して所定の動作ク
ロック、電源を供給すると共に、データの読み取り・書
き込みを行う。そして、ICカード3においては、デー
タの授受を行うためのクロック周波数が規定されている
ため、ICカード読み取り・書き込み装置1は、規定の
動作クロックでICカード3と通信を行うように構成さ
れている。In the IC card reading / writing device 1, when the IC card 3 is inserted as described later, the IC
A predetermined operation clock and power are supplied through a terminal provided on the surface of the card 3, and data is read and written. Since the IC card 3 defines a clock frequency for transmitting and receiving data, the IC card reading / writing device 1 is configured to communicate with the IC card 3 at a specified operation clock. There is.
【0018】また、ICカード3は動作クロックの異な
る複数種が使用されている。そのため、ICカード読み
取り・書き込み装置1では、動作クロックの異なる複数
種のICカード3に対応して複数の動作クロックを生成
することができるようになっている。A plurality of types of IC cards 3 having different operation clocks are used. Therefore, the IC card reading / writing device 1 can generate a plurality of operation clocks corresponding to a plurality of types of IC cards 3 having different operation clocks.
【0019】また、カード挿入口4,5の入口には、後
述するようなICカード3の種類(動作クロックの周波
数)を識別するための識別センサユニット(識別子検出
手段)4A,5Aが設けられている。ICカード読み取
り・書き込み装置1の回路基板には、制御回路6、電源
7、SRAM8、EEPROM(Electrically Erasabi
e Programmable Read Only Memory )9、表示駆動部1
0、リセット制御部11、電源制御部12、通信制御部
13、クロック制御部14、発振子15、A/D変換器
16、後述するローディング機構28を駆動させるモー
タ駆動部28A等が設けられている。Further, identification sensor units (identifier detection means) 4A, 5A for identifying the type of the IC card 3 (frequency of operation clock), which will be described later, are provided at the entrances of the card insertion openings 4, 5. ing. The circuit board of the IC card reading / writing device 1 includes a control circuit 6, a power supply 7, an SRAM 8 and an EEPROM (Electrically Erasabi).
e Programmable Read Only Memory) 9, display driver 1
0, a reset control unit 11, a power supply control unit 12, a communication control unit 13, a clock control unit 14, an oscillator 15, an A / D converter 16, a motor drive unit 28A for driving a loading mechanism 28 described later, and the like. There is.
【0020】制御回路6は、装置全体の制御を行うデバ
イスであり、1チップマイコンよりなる。上記電源7は
装置1内の各デバイスに電源を供給すると共に、カード
挿入口4,5に挿入されたICカード3に電源を供給す
る。また、SRAM8はスタティック形メモリであり、
制御回路6が制御を行う際に一時的にデータが記憶され
る。また、EEPROM9は、電気的に書き込みが行え
る不揮発性メモリであり、制御回路6が制御を行うため
の制御プログラムや各データ等が記憶されている。この
制御プログラムには、識別センサユニット4A,5Aに
より検出されたICカード3の識別データに基づいて当
該ICカード3の動作クロックの周波数を識別する動作
クロック識別プログラムと、ICカード3の識別結果に
基づいて通信制御部13の動作クロックがICカード3
の動作クロックと一致するように通信速度を変更する通
信速度変更プログラムが登録されている。The control circuit 6 is a device that controls the entire apparatus and is composed of a one-chip microcomputer. The power supply 7 supplies power to each device in the apparatus 1 and also supplies power to the IC card 3 inserted in the card insertion ports 4 and 5. The SRAM 8 is a static memory,
When the control circuit 6 performs control, data is temporarily stored. The EEPROM 9 is a non-volatile memory that can be electrically written, and stores a control program for controlling the control circuit 6 and various data. The control program includes an operation clock identification program for identifying the frequency of the operation clock of the IC card 3 based on the identification data of the IC card 3 detected by the identification sensor units 4A and 5A, and an identification result of the IC card 3. Based on the operation clock of the communication control unit 13, the IC card 3
A communication speed change program for changing the communication speed to match the operation clock of is registered.
【0021】表示駆動部10は、表示器2にメッセージ
を表示させると共に、制御回路6からの表示データの受
け渡しエリアとしても使用される。また、リセット制御
部11はICカード3に対してリセットパルスを入力す
る制御部であり、ICカード3はリセットパルスが入力
されると動作を開始する。さらに電源制御部12は、I
Cカード3への電源供給を制御しており、ICカード3
と通信中には電源を遮断せず、ICカード3がイジェク
トされる際に確実に電源を遮断するように制御する。The display drive section 10 displays a message on the display 2 and is also used as an area for passing display data from the control circuit 6. The reset control unit 11 is a control unit that inputs a reset pulse to the IC card 3, and the IC card 3 starts its operation when the reset pulse is input. Further, the power supply control unit 12
The power supply to the C card 3 is controlled, and the IC card 3
The power supply is not shut off during communication with, and the power supply is controlled so as to be shut off when the IC card 3 is ejected.
【0022】また、通信制御部13は、ICカード3と
の通信を行っており、例えば出勤時間あるいは退出時間
等の送信データを送受信する。ICカード3は送受信兼
用であるので、通信制御部13はICカード3を送信又
は受信に切り換えるようになっている。そのため、制御
回路6から送/受信切換信号aが出力されると、通信制
御部13はICカード3に対する通信モードを送信又は
受信に切り換える。従って、通信制御部13は送/受信
切換信号aの供給によりICカード3への送信データb
を送信し、あるいはICカード3からの受信データbを
受信してICカード3に対するデータの読み取り・書き
込みを行う。The communication control unit 13 is in communication with the IC card 3, and transmits and receives transmission data such as attendance time or leaving time. Since the IC card 3 is used for both transmission and reception, the communication control unit 13 switches the IC card 3 between transmission and reception. Therefore, when the transmission / reception switching signal a is output from the control circuit 6, the communication control unit 13 switches the communication mode for the IC card 3 to transmission or reception. Therefore, the communication control unit 13 supplies the transmission data b to the IC card 3 by supplying the transmission / reception switching signal a.
Or the received data b from the IC card 3 is received to read / write data from / to the IC card 3.
【0023】クロック制御部14は制御回路6からの制
御信号により、発振子15から出力されるクロックパル
スを制御している。また、制御回路6は、後述するよう
にA/D変換器16を介して入力された識別センサユニ
ット4A,5AによりICカード3の表面3aに設けら
れた識別子3bの有無を検出してICカード3の動作ク
ロックの周波数を識別する。The clock controller 14 controls the clock pulse output from the oscillator 15 by the control signal from the control circuit 6. Further, the control circuit 6 detects the presence or absence of the identifier 3b provided on the front surface 3a of the IC card 3 by the identification sensor units 4A and 5A input via the A / D converter 16, as described later, and detects the IC card. The frequency of the operation clock of 3 is identified.
【0024】図3はICカード3の構成を示すブロック
である。ICカード3は、内部に1チップマイコンより
なるCPU17と、EEPROM18とを有する。ま
た、ICカード3の表面には、ICカード読み取り・書
き込み装置1のカード挿入口4,5に挿入された際に接
続される外部端子が配設されている。本実施例では、電
源端子(Vcc)19、リセット端子(RST)20、ク
ロック端子(CLK)21、アース端子(GND)2
2、電源端子(Vpp)23、I/Oインタフェース(I
/O)24等の外部端子がICカード3に設けられてい
る。FIG. 3 is a block diagram showing the configuration of the IC card 3. The IC card 3 has a CPU 17 composed of a one-chip microcomputer and an EEPROM 18 inside. Further, on the surface of the IC card 3, external terminals are provided which are connected when the IC card 3 is inserted into the card insertion ports 4 and 5 of the IC card reading / writing device 1. In this embodiment, the power supply terminal (Vcc) 19, the reset terminal (RST) 20, the clock terminal (CLK) 21, and the ground terminal (GND) 2
2, power supply terminal (Vpp) 23, I / O interface (I
/ O) 24 and other external terminals are provided on the IC card 3.
【0025】上記構成とされたICカード3がカード挿
入口4,5の一方に挿入されると、電源端子(Vcc)1
9が電源制御部12に接続されてCPU17に電源供給
すると共に、リセット端子(RST)20がリセット制
御部11に接続される。これと同時に、クロック端子
(CLK)21はクロック制御部14に接続されてクロ
ックパルスが入力され、I/Oインタフェース(I/
O)24は通信制御部13に接続されて制御回路6から
出力された出勤時間あるいは退出時間等の送信データが
入力される。そのため、通信制御部13から送信された
送信データは、I/Oインタフェース(I/O)24を
介してCPU17に供給されてEEPROM18に記憶
される。When the IC card 3 having the above structure is inserted into one of the card insertion ports 4 and 5, the power supply terminal (Vcc) 1
9 is connected to the power control unit 12 to supply power to the CPU 17, and the reset terminal (RST) 20 is connected to the reset control unit 11. At the same time, the clock terminal (CLK) 21 is connected to the clock control unit 14 and receives a clock pulse, and the I / O interface (I / O)
O) 24 is connected to the communication control unit 13 and receives the transmission data such as attendance time or leaving time output from the control circuit 6. Therefore, the transmission data transmitted from the communication control unit 13 is supplied to the CPU 17 via the I / O interface (I / O) 24 and stored in the EEPROM 18.
【0026】図4は第1実施例のICカード3の平面図
である。ICカード3の表面3aには、上記端子19〜
24と、当該ICカード3の種類(動作クロックの周波
数)を識別するための識別子3bが印刷等により設けら
れている。この識別子3bは、社名「TOKICO」を
印刷する際に最後の「O」の部分を黒丸として無反射部
が形成されている。FIG. 4 is a plan view of the IC card 3 of the first embodiment. On the front surface 3a of the IC card 3, the terminals 19 to
24 and an identifier 3b for identifying the type (frequency of the operation clock) of the IC card 3 are provided by printing or the like. In this identifier 3b, a non-reflective portion is formed with the last "O" portion as a black circle when printing the company name "TOKICO".
【0027】また、識別子3bは、ICカード3がカー
ド挿入口4,5に挿入される過程で識別センサユニット
4A,5Aに対向する識別域3c,3d(破線で示す)
に設けられている。本実施例では識別域3c,3dのカ
ード挿入方向の後部に識別子3bが設けられている。従
って、ICカード3がカード挿入口4,5に挿入される
と、識別センサユニット4A,5Aにより識別子3bの
有無が検出される。The identifier 3b is an identification area 3c, 3d (shown by a broken line) facing the identification sensor units 4A, 5A in the process of inserting the IC card 3 into the card insertion ports 4, 5.
It is provided in. In this embodiment, the identifier 3b is provided at the rear of the identification areas 3c and 3d in the card insertion direction. Therefore, when the IC card 3 is inserted into the card insertion ports 4 and 5, the presence or absence of the identifier 3b is detected by the identification sensor units 4A and 5A.
【0028】このように、識別センサユニット4A,5
Aにより識別子3bの有無が光学的に検出されるため、
識別子3bは黒丸等の光を反射しない無反射部として形
成されているが、印刷の代わりに識別子3bとしてのシ
ールを貼着するようにしても良い。In this way, the identification sensor units 4A, 5
Since the presence or absence of the identifier 3b is optically detected by A,
Although the identifier 3b is formed as a non-reflective portion such as a black circle that does not reflect light, a seal as the identifier 3b may be attached instead of printing.
【0029】ICカード3はこの識別子3bの有無によ
り種類を判別されるように作成されており、例えば識別
子3bが全くない場合には、正当なICカード3ではな
いことを表し、識別子3bが1個の場合には周波数が
3.5795MHzであることを表し、識別子3bが2個
の場合には周波数が4.9152MHzであることを表
す。The IC card 3 is created so that the type can be discriminated depending on the presence or absence of the identifier 3b. For example, if there is no identifier 3b, it means that the IC card 3 is not a valid IC card 3 and the identifier 3b is 1 When the number is 3, the frequency is 3.5795 MHz, and when the number of the identifiers 3b is 2, the frequency is 4.9152 MHz.
【0030】図5は識別センサユニット4A,5Aの取
付状態を示す縦断面図、図6は識別センサユニット4
A,5Aの取付状態を示す正面図である。尚、識別セン
サユニット4Aと識別センサユニット5Aとは同一構成
であるので、以下一方の識別センサユニット4Aについ
て説明し、他方の識別センサユニット5Aの説明は省略
する。FIG. 5 is a vertical sectional view showing the mounting state of the identification sensor units 4A and 5A, and FIG. 6 is the identification sensor unit 4
It is a front view which shows the attachment state of A and 5A. Since the identification sensor unit 4A and the identification sensor unit 5A have the same configuration, one identification sensor unit 4A will be described below, and the description of the other identification sensor unit 5A will be omitted.
【0031】識別センサユニット4Aは、カード挿入口
4の裏側に設けられており、筐体1aの前面1bと筐体
1a内部に設けられた読み取り・書き込み部26との間
に保持されている。読み取り・書き込み部26は、筐体
1aに固定されたブラケット1cに支持されている。The identification sensor unit 4A is provided on the back side of the card insertion slot 4 and is held between the front surface 1b of the housing 1a and the reading / writing section 26 provided inside the housing 1a. The reading / writing unit 26 is supported by a bracket 1c fixed to the housing 1a.
【0032】また、読み取り・書き込み部26は、IC
カード3が挿入されたことを検出する光センサ等からな
るカード検出センサ27と、カード挿入口4からICカ
ード3が挿入されるとICカード3を引き込み、読み取
り・書き込み処理終了後ICカード3をイジェクトする
ローディング機構28と、挿入されたICカード3の端
子19〜24を介してデータの送受信を行う電極29等
を有する。The read / write unit 26 is an IC
A card detection sensor 27 including an optical sensor for detecting that the card 3 has been inserted, and the IC card 3 is pulled in when the IC card 3 is inserted from the card insertion port 4, and the IC card 3 is inserted after the reading / writing process is completed. It has a loading mechanism 28 for ejecting, an electrode 29 for transmitting and receiving data through the terminals 19 to 24 of the inserted IC card 3, and the like.
【0033】ローディング機構28は、カード挿入口4
から挿入されたICカード3を挟持するゴムローラ28
a,28bを回転駆動することによりICカード3を移
動させるように構成されている。このローディング機構
28は、ゴムローラ28a,28bを回転駆動するため
のローディングモータ(図示せず)を有する。The loading mechanism 28 has a card insertion slot 4
Rubber roller 28 for holding the IC card 3 inserted from
The IC card 3 is moved by rotating a and 28b. The loading mechanism 28 has a loading motor (not shown) for rotationally driving the rubber rollers 28a and 28b.
【0034】識別センサユニット4Aは、一対のフォト
インタラプタ30,31よりなる。このフォトインタラ
プタ30,31はICカード3に向けて光を照射する発
光素子(LED)30a,31aと、ICカード3で反
射した光を受光すると信号を出力するフォトトランジス
タ30b,31bとがハウジング30c,31c内に設
けられている。The identification sensor unit 4A comprises a pair of photo interrupters 30 and 31. The photo interrupters 30 and 31 include light emitting elements (LEDs) 30a and 31a that emit light toward the IC card 3, and phototransistors 30b and 31b that output a signal when the light reflected by the IC card 3 is received. , 31c.
【0035】そして、一対のフォトインタラプタ30,
31は、ICカード3の識別子3bが通過する上方で識
別子3bと対向するように取り付けられている。また、
フォトインタラプタ30,31のフォトトランジスタ3
0b,31bは、ICカード3がないときは反射光を受
光できず、ICカード3がカード挿入口4に挿入される
と、ICカード3に反射した光を受光する。Then, a pair of photo interrupters 30,
Reference numeral 31 is attached so as to face the identifier 3b above the identifier 3b of the IC card 3. Also,
Phototransistor 3 of photointerrupter 30, 31
0b and 31b cannot receive the reflected light when the IC card 3 is not present, and when the IC card 3 is inserted into the card insertion slot 4, the light reflected by the IC card 3 is received.
【0036】そのため、無反射部として形成された識別
子3bがフォトインタラプタ30,31の下方を通過す
ると、その部分だけ光が反射しないため、フォトトラン
ジスタ30b,31bの出力がオフとなる。従って、フ
ォトインタラプタ30,31のフォトトランジスタ30
b,31bからの出力を監視することによりICカード
3の識別子3bの有無を検出してICカード3の種類を
識別することができる。Therefore, when the identifier 3b formed as a non-reflecting portion passes below the photo interrupters 30 and 31, light is not reflected only in that portion, and the outputs of the phototransistors 30b and 31b are turned off. Therefore, the phototransistor 30 of the photointerrupter 30, 31 is
By monitoring the outputs from b and 31b, the presence or absence of the identifier 3b of the IC card 3 can be detected to identify the type of the IC card 3.
【0037】ここで、制御回路6が実行する処理につき
図7のフローチャートを参照して説明する。制御回路6
は、電源スイッチ(図示せず)がオンに操作されると、
図7に示す処理を実行してカード挿入口4,5の一方に
挿入されたICカード3との通信を行う。Here, the processing executed by the control circuit 6 will be described with reference to the flowchart of FIG. Control circuit 6
When the power switch (not shown) is turned on,
The processing shown in FIG. 7 is executed to communicate with the IC card 3 inserted in one of the card insertion ports 4 and 5.
【0038】装置1の電源スイッチ(図示せず)がオン
に操作されると、ステップS1(以下「ステップ」を省
略する)において、カード検出センサ27によりICカ
ード3の前端が読み取り・書き込み部26に挿入された
か否かを判定する。カード検出センサ27からICカー
ド3の検出信号が出力されると、S2に進み、ローディ
ング機構28のローディングモータ(図示せず)を正転
させてゴムローラ28a,28bをカード挿入方向に回
転駆動させる。When the power switch (not shown) of the device 1 is turned on, the front end of the IC card 3 is read / written by the card detection sensor 27 in step S1 (hereinafter "step" is omitted). It is determined whether or not it has been inserted into. When the detection signal of the IC card 3 is output from the card detection sensor 27, the process proceeds to S2, in which the loading motor (not shown) of the loading mechanism 28 is normally rotated to rotate the rubber rollers 28a and 28b in the card insertion direction.
【0039】これにより、カード挿入口4,5に挿入さ
れたICカード3が読み取り・書き込み部26の内部に
引き込まれ、フォトインタラプタ30,31の下方を通
過して読み取り・書き込み部26の内部に装着され、電
極29がICカード3の端子19〜24に接触する。こ
のカード挿入過程においては、ICカード3の表面3a
の識別域3c,3dには、フォトインタラプタ30,3
1の発光素子(LED)30a,31aから発光された
光が照射され、その反射光がフォトトランジスタ30
b,31bに入射される。As a result, the IC card 3 inserted in the card insertion ports 4 and 5 is drawn into the reading / writing unit 26, passes below the photo interrupters 30 and 31, and enters the reading / writing unit 26. The electrode 29 is mounted and contacts the terminals 19 to 24 of the IC card 3. In this card insertion process, the front surface 3a of the IC card 3
In the identification areas 3c and 3d of the photo interrupters 30 and 3,
The light emitted from the light emitting elements (LEDs) 30a and 31a of No. 1 is irradiated, and the reflected light is emitted from the phototransistor 30.
It is incident on b and 31b.
【0040】続いて、S3では、A/D変換器16によ
りデジタル信号に変換されたフォトインタラプタ30,
31のフォトトランジスタ30b,31bの出力を読み
込みICカード3の識別子3bの数をカウントする。次
のS4で検出された識別子3bの数が1個であるとき
は、S5に進み、動作クロックの周波数を3.5795
MHzに設定する。しかし、S4において、検出された識
別子3bが1個でないときは、S6に進み、検出された
識別子3bの数が2個である否かを判定する。そして、
検出された識別子3bの数が2個であるときは、S7に
進み、動作クロックの周波数を4.9152MHzに設定
する。Subsequently, in S3, the photo interrupter 30, which is converted into a digital signal by the A / D converter 16,
The outputs of the phototransistors 30b and 31b of 31 are read and the number of identifiers 3b of the IC card 3 is counted. When the number of the identifiers 3b detected in the next S4 is one, the process proceeds to S5 and the frequency of the operation clock is set to 3.5795.
Set to MHZ. However, when the number of the detected identifiers 3b is not one in S4, the process proceeds to S6, and it is determined whether or not the number of the detected identifiers 3b is two. And
When the number of detected identifiers 3b is two, the process proceeds to S7 and the frequency of the operation clock is set to 4.9152 MHz.
【0041】このようにICカード3が装置1内に挿入
される過程でフォトインタラプタ30,31によりIC
カード3の識別子3bが検出されてICカード3の動作
クロックに対応する周波数が自動的に設定される。その
ため、ICカード3が読み取り・書き込み部26に装着
された時点では、当該ICカード3に対応する動作クロ
ックの周波数が既に設定されている。従って、ICカー
ド3が装着されてから動作クロックを設定する必要がな
いので、その分待ち時間の短縮化が図られている。As described above, in the process of inserting the IC card 3 into the apparatus 1, the photo interrupters 30 and 31 are used to IC
The identifier 3b of the card 3 is detected and the frequency corresponding to the operation clock of the IC card 3 is automatically set. Therefore, when the IC card 3 is attached to the reading / writing unit 26, the frequency of the operation clock corresponding to the IC card 3 has already been set. Therefore, since it is not necessary to set the operation clock after the IC card 3 is attached, the waiting time can be shortened accordingly.
【0042】次のS8でローディング機構28のローデ
ィングモータを停止させた後、S9に進み、ICカード
3の端子19〜24を介してICカード3のEEPRO
M18にデータ(日付け、出勤時間あるいは退出時間
等)を書き込むか、あるいはICカード3のEEPRO
M18に記憶されているデータを読み取る。After the loading motor of the loading mechanism 28 is stopped in the next S8, the process proceeds to S9, in which the EEPRO of the IC card 3 is passed through the terminals 19 to 24 of the IC card 3.
Write data (date, time to work, time to leave, etc.) in M18 or EEPRO of IC card 3
Read the data stored in M18.
【0043】その後、S10ではローディングモータを
逆回転させ、ゴムローラ28a,28bをイジェクト方
向に回転駆動させる。ICカード3はゴムローラ28
a,28bの逆回転によりイジェクト方向に移動する。
これで、ICカード3の後端がフォトインタラプタ3
0,31の下方を通過してカード挿入口4からイジェク
トされる。その際、フォトインタラプタ30,31によ
りICカード3の識別子3bが検出されると(S1
1)、ローディングモータを停止させる(S12)。Thereafter, in S10, the loading motor is rotated in the reverse direction to rotate the rubber rollers 28a and 28b in the eject direction. The IC card 3 is a rubber roller 28.
It moves in the eject direction by the reverse rotation of a and 28b.
With this, the rear end of the IC card 3 is the photo interrupter 3
It passes below 0 and 31 and is ejected from the card insertion slot 4. At that time, when the photo interrupters 30 and 31 detect the identifier 3b of the IC card 3 (S1
1) Stop the loading motor (S12).
【0044】これで、ICカード3の読み取り・書き込
み処理が終了して装置1からICカード3を引き抜くこ
とができる。尚、S6において、ICカード3の識別子
3bが検出されず識別子3bがゼロである場合には、I
Cカード3の挿入方向が間違っているか、あるいは正当
なICカードでないので、S13に移行して表示器2に
カードエラーを表示させる。その後、S14でローディ
ング機構28のローディングモータを逆回転させてゴム
ローラ28a,28bをイジェクト方向に回転駆動させ
る。このようにICカード3をイジェクトさせた後、S
12に移行してローディングモータを停止させる。With this, the reading / writing process of the IC card 3 is completed, and the IC card 3 can be pulled out from the apparatus 1. In S6, if the identifier 3b of the IC card 3 is not detected and the identifier 3b is zero, I
Since the inserting direction of the C card 3 is wrong or the IC card is not a valid IC card, the process moves to S13 and the display 2 displays a card error. Thereafter, in S14, the loading motor of the loading mechanism 28 is rotated in the reverse direction to rotate the rubber rollers 28a and 28b in the eject direction. After ejecting the IC card 3 in this way, S
Moving to 12, the loading motor is stopped.
【0045】このように、ICカード3の動作クロック
の周波数がICカード3の挿入動作により自動的に設定
することができるので、その分ICカード3が挿入され
てからイジェクトされるまでの待ち時間を短縮すること
ができる。そのため、ICカード3の読み込み・書き込
み処理の効率化を図ることができ、例えば朝の出勤時間
帯に多数の社員が連続して到着しても、待ち時間を短縮
して従来のように長時間待たされて不快感を感じること
がない。As described above, since the frequency of the operation clock of the IC card 3 can be automatically set by the inserting operation of the IC card 3, the waiting time from the insertion of the IC card 3 to the ejection is correspondingly. Can be shortened. Therefore, it is possible to improve the efficiency of the reading / writing process of the IC card 3. For example, even when a large number of employees continuously arrive during the morning work hours, the waiting time is shortened and a long time is required as in the past. No discomfort due to waiting.
【0046】尚、上記実施例では、フォトインタラプタ
30,31によりICカード3の識別子3bが検出され
る構成としたが、これに限らず、例えば識別子3bを磁
化されたシールや磁性金属粉を含むインクで印刷するこ
とにより形成すると共に磁気センサを用いて磁気の有無
を検出してICカード3の種類を識別するようにしても
良いのは勿論である。Although the identifier 3b of the IC card 3 is detected by the photo interrupters 30 and 31 in the above embodiment, the invention is not limited to this. For example, the identifier 3b includes a magnetized seal or magnetic metal powder. Of course, it may be formed by printing with ink, and the type of the IC card 3 may be identified by detecting the presence or absence of magnetism using a magnetic sensor.
【0047】図8は本発明の第2実施例のICカード4
1の平面図である。ICカード41の表面41aには、
2種類の識別子42,43が印刷により形成されてい
る。識別子42,43は夫々ICカード41の挿入方向
と平行に形成された第1、第2の識別域41b,41c
(破線で示す)に設けられており、第1、第2の識別域
41b,41cは前述したフォトインタラプタ30,3
1の下方を通過するように設けられている。FIG. 8 shows an IC card 4 according to the second embodiment of the present invention.
1 is a plan view of FIG. On the front surface 41a of the IC card 41,
Two types of identifiers 42 and 43 are formed by printing. The identifiers 42 and 43 are first and second identification areas 41b and 41c formed in parallel with the insertion direction of the IC card 41, respectively.
The first and second identification areas 41b and 41c are provided in (shown by broken lines), and the photo interrupters 30 and 3 described above are provided.
It is provided so as to pass below 1.
【0048】第1の識別子42は挿入方向を示す矢印形
状のグラデーション(階調:知覚的濃度変化)で形成さ
れている。すなわち、第1の識別子42は、段階的な濃
淡変化(図8ではハッチングにより示してある)により
反射光の強度が階段状に変化するように設けられてい
る。The first identifier 42 is formed by an arrow-shaped gradation (gradation: perceptual density change) indicating the insertion direction. That is, the first identifier 42 is provided so that the intensity of the reflected light changes in a stepwise manner due to a gradual change in shading (indicated by hatching in FIG. 8).
【0049】また、第2の識別子43は、黒字で社名を
印刷したものであり、目視によりICカード41が正当
なものか判断できると共に、第2の識別域41cだけを
みると社名の文字がバーコードして機能するようになっ
ている。図9はICカード41が挿入されたときのフォ
トインタラプタ30,31の出力変化を示す波形図であ
る。The second identifier 43 is a black-printed company name. It is possible to visually judge whether the IC card 41 is legitimate, and when only the second identification area 41c is viewed, the characters of the company name are It works as a barcode. FIG. 9 is a waveform diagram showing changes in the outputs of the photo interrupters 30 and 31 when the IC card 41 is inserted.
【0050】上記ICカード41がカード挿入口4から
挿入されて識別子42,43が通過したとき、フォトイ
ンタラプタ30のフォトトランジスタ30bは、第1の
識別子42のグラデーションで反射した反射光を受光
し、フォトインタラプタ31のフォトトランジスタ31
bは、第2の識別子43のバーコードで反射した反射光
を受光する。そのため、フォトトランジスタ30bから
出力は図9(a)で示すような段階的に増加する階段状
の波形となり、フォトトランジスタ31bから出力は図
9(b)で示すような社名に応じた間隔のパルス波とな
る。When the IC card 41 is inserted from the card insertion slot 4 and the identifiers 42 and 43 pass, the phototransistor 30b of the photointerrupter 30 receives the reflected light reflected by the gradation of the first identifier 42, Phototransistor 31 of photointerrupter 31
b receives the reflected light reflected by the barcode of the second identifier 43. Therefore, the output from the phototransistor 30b has a stepwise waveform that increases stepwise as shown in FIG. 9A, and the output from the phototransistor 31b has pulses at intervals according to the company name as shown in FIG. 9B. Become a wave.
【0051】図10は制御回路6が実行する処理の第2
実施例のフローチャートである。制御回路6は、電源ス
イッチ(図示せず)がオンに操作されると、図7に示す
処理を実行してカード挿入口4,5の一方に挿入された
ICカード41との通信を行う。FIG. 10 shows the second process executed by the control circuit 6.
It is a flow chart of an example. When the power switch (not shown) is turned on, the control circuit 6 executes the process shown in FIG. 7 to communicate with the IC card 41 inserted into one of the card insertion ports 4 and 5.
【0052】装置1の電源スイッチ(図示せず)がオン
に操作されると、S21において、カード検出センサ2
7によりICカード41の前端が読み取り・書き込み部
26に挿入されたか否かを判定する。カード検出センサ
27からICカード41の検出信号が出力されると、S
22に進み、ローディング機構28のローディングモー
タ(図示せず)を正転させてゴムローラ28a,28b
をカード挿入方向に回転駆動させる。When the power switch (not shown) of the device 1 is turned on, in S21, the card detection sensor 2
7, it is determined whether or not the front end of the IC card 41 has been inserted into the reading / writing unit 26. When the detection signal of the IC card 41 is output from the card detection sensor 27, S
22, the loading motor (not shown) of the loading mechanism 28 is rotated forward to rotate the rubber rollers 28a, 28b.
Drive in the card insertion direction.
【0053】これにより、カード挿入口4,5に挿入さ
れたICカード41が読み取り・書き込み部26の内部
に引き込まれ、フォトインタラプタ30,31の下方を
通過して読み取り・書き込み部26の内部に装着され、
電極29がICカード41の端子19〜24に接触す
る。このカード挿入過程においては、ICカード41の
表面41aの識別域41c,41dには、フォトインタ
ラプタ30,31の発光素子(LED)30a,31a
から発光された光が照射され、その反射光がフォトトラ
ンジスタ30b,31bに入射される。As a result, the IC card 41 inserted into the card insertion ports 4 and 5 is drawn into the reading / writing unit 26, passes below the photo interrupters 30 and 31, and enters the reading / writing unit 26. Installed,
The electrode 29 contacts the terminals 19 to 24 of the IC card 41. During this card insertion process, the light emitting elements (LEDs) 30a and 31a of the photo interrupters 30 and 31 are provided in the identification areas 41c and 41d on the front surface 41a of the IC card 41.
The light emitted from is emitted, and the reflected light is incident on the phototransistors 30b and 31b.
【0054】続いて、S23では、A/D変換器16に
よりデジタル信号に変換されたフォトインタラプタ31
のフォトトランジスタ31bからの出力を読み込みIC
カード41に設けられた第2の識別子43である社名バ
ーコードを識別する。このフォトインタラプタ31によ
り検出された社名バーコードが正当である場合には、S
24に進み、A/D変換器16によりデジタル信号に変
換されたフォトインタラプタ30のフォトトランジスタ
30bからの出力を読み込みICカード41に設けられ
た第1の識別子42のグラデーションを識別する。Subsequently, in S23, the photo interrupter 31 converted into a digital signal by the A / D converter 16 is executed.
IC reads the output from the phototransistor 31b
The company name barcode, which is the second identifier 43 provided on the card 41, is identified. If the company name barcode detected by this photo interrupter 31 is valid, S
In step 24, the output from the phototransistor 30b of the photointerrupter 30 converted into a digital signal by the A / D converter 16 is read and the gradation of the first identifier 42 provided in the IC card 41 is identified.
【0055】S24では、読み込まれたグラデーション
の反射光の階調に応じた階段状の出力波形が得られ、次
のS25ではこの階段状の出力波形が予め設定された上
限値と下限値との範囲内に入っているか否かを判定す
る。例えば、S25において、図11に示すようにフォ
トインタラプタ30の出力波形が上限値と下限値との範
囲内に入っている場合には、S26に進み、動作クロッ
クの周波数を3.5795MHzに設定する。しかし、フ
ォトトランジスタ30bの出力波形が範囲内に入ってい
ない場合には、S27に進み、動作クロックの周波数を
4.9152MHzに設定する。In step S24, a stepwise output waveform corresponding to the gradation of the read gradation reflected light is obtained, and in step S25, the stepwise output waveform is divided into preset upper and lower limit values. It is determined whether it is within the range. For example, in S25, when the output waveform of the photo interrupter 30 is within the range between the upper limit value and the lower limit value as shown in FIG. 11, the process proceeds to S26 and the frequency of the operation clock is set to 3.5795 MHz. . However, if the output waveform of the phototransistor 30b is not within the range, the process proceeds to S27 and the frequency of the operation clock is set to 4.9152 MHz.
【0056】このようにICカード41が装置1内に挿
入される過程でフォトインタラプタ30,31によりI
Cカード41の識別子32,43が検出されてICカー
ド41の動作クロックに対応する周波数が自動的に設定
される。そのため、ICカード41が読み取り・書き込
み部26に装着された時点では、当該ICカード41に
対応する動作クロックの周波数が設定されているので、
ICカード41が装着されてから動作クロックを設定す
る必要はない。As described above, when the IC card 41 is inserted into the device 1, the I
The identifiers 32 and 43 of the C card 41 are detected and the frequency corresponding to the operation clock of the IC card 41 is automatically set. Therefore, when the IC card 41 is attached to the reading / writing unit 26, the frequency of the operation clock corresponding to the IC card 41 is set,
It is not necessary to set the operation clock after the IC card 41 is mounted.
【0057】次のS28でローディングモータを停止さ
せた後、S29に進み、ICカード41の端子19〜2
4を介してICカード41のEEPROM18にデータ
(日付け、出勤時間あるいは退出時間等)を書き込む
か、あるいはICカード41のEEPROM18に記憶
されているデータを読み取る。After the loading motor is stopped in the next S28, the process proceeds to S29, in which terminals 19 to 2 of the IC card 41 are connected.
The data (date, attendance time, leaving time, etc.) is written in the EEPROM 18 of the IC card 41 via 4 or the data stored in the EEPROM 18 of the IC card 41 is read.
【0058】その後、S30ではローディング機構28
のローディングモータを逆回転させ、ゴムローラ28
a,28bをイジェクト方向に回転駆動させる。ICカ
ード41はゴムローラ28a,28bの逆回転によりイ
ジェクト方向に移動する。これで、ICカード41の後
端がフォトインタラプタ30,31の下方を通過してカ
ード挿入口4からイジェクトされる。その際、S31で
フォトインタラプタ30,31からの出力を読み込む。
そして、フォトインタラプタ30,31によりICカー
ド41の識別子42,43が挿入時と逆向きに変化する
出力波形が得られた場合には(S32)、ローディング
モータを停止させる(S33)。Thereafter, in S30, the loading mechanism 28
Reverse the loading motor of the rubber roller 28
The a and 28b are rotationally driven in the eject direction. The IC card 41 moves in the eject direction by the reverse rotation of the rubber rollers 28a and 28b. As a result, the rear end of the IC card 41 passes below the photo interrupters 30 and 31 and is ejected from the card insertion slot 4. At that time, the outputs from the photo interrupters 30 and 31 are read in S31.
Then, when the output waveforms in which the identifiers 42 and 43 of the IC card 41 change in the direction opposite to that at the time of insertion are obtained by the photo interrupters 30 and 31 (S32), the loading motor is stopped (S33).
【0059】これで、ICカード41の読み取り・書き
込み処理が終了して装置1からICカード41を引き抜
くことができる。尚、S23において、ICカード41
の第2の識別子43が検出されずフォトインタラプタ3
1の出力がゼロ、あるいは異なる間隔のパルス波が検出
された場合には、ICカード41の挿入方向が間違って
いるか、あるいは正当なICカードではないので、S3
4に移行して表示器2にカードエラーを表示させる。そ
の後、S35でローディングモータを逆回転させてIC
カード41をイジェクトした後、S33に移行してロー
ディングモータを停止させる。With this, the reading / writing process of the IC card 41 is completed, and the IC card 41 can be pulled out from the apparatus 1. Incidentally, in S23, the IC card 41
The second identifier 43 of the photo interrupter 3 is not detected
If the output of 1 is zero or pulse waves with different intervals are detected, the IC card 41 is inserted in the wrong direction or is not a valid IC card.
The process moves to 4 and the display 2 displays a card error. Then, in S35, the loading motor is rotated in the reverse direction and the IC
After ejecting the card 41, the process proceeds to S33 to stop the loading motor.
【0060】このように、ICカード41の動作クロッ
クの周波数がICカード41の挿入動作により自動的に
設定することができるので、その分ICカード41が挿
入されてからイジェクトされるまでの待ち時間を短縮す
ることができる。また、上記社名バーコードを識別する
際は、信号レベルがオンになった時間、あるいは信号レ
ベルがオンになった回数により識別するようにしても良
い。As described above, since the frequency of the operation clock of the IC card 41 can be automatically set by the insertion operation of the IC card 41, the waiting time from the insertion of the IC card 41 to the ejection is correspondingly. Can be shortened. Further, when identifying the company name bar code, the company name barcode may be identified by the time when the signal level is turned on or the number of times the signal level is turned on.
【0061】尚、上記実施例では、ICカード3が挿入
されると、データの読み取り又は書き込みを行えるIC
カード読み取り・書き込み装置1を一例として説明した
が、これに限らず、例えばICカード3が挿入されると
データの読み取りのみを行うICカード読み取り装置、
あるいはICカード3が挿入されるとデータの書き込み
のみを行うICカード書き込み装置にも適用することが
できるのは勿論である。In the above embodiment, when the IC card 3 is inserted, the IC can read or write data.
Although the card reading / writing device 1 has been described as an example, the present invention is not limited to this, and for example, an IC card reading device that only reads data when the IC card 3 is inserted,
Alternatively, it can be applied to an IC card writing device that only writes data when the IC card 3 is inserted.
【0062】また、上記実施例では、フォトインタラプ
タを使用してICカードの識別子を光学的に検出して識
別する構成としたが、これに限らず、フォトインタラプ
タの代わりにイメージセンサを用いてもよい。その場
合、イメージセンサから出力された画像と予め設定され
た基準画像とを比較することによりICカードの種類を
識別することができる。In the above embodiment, the photo interrupter is used to optically detect and identify the IC card identifier. However, the present invention is not limited to this, and an image sensor may be used instead of the photo interrupter. Good. In this case, the type of IC card can be identified by comparing the image output from the image sensor with a preset reference image.
【0063】[0063]
【発明の効果】上述の如く、上記請求項1によれば、動
作クロックの周波数を識別するための識別子がICカー
ドの表面に設けられているため、従来のように装置側か
ら動作クロックを送信して動作クロックの周波数を判定
する必要がなく、ICカードが挿入される過程で動作ク
ロックの周波数を判別することが可能になり、ICカー
ドが挿入されてからイジェクトされるまでの待ち時間を
短縮することができる。As described above, according to the first aspect, since the identifier for identifying the frequency of the operation clock is provided on the surface of the IC card, the operation clock is transmitted from the device side as in the conventional case. Since it is not necessary to determine the frequency of the operating clock by doing so, the frequency of the operating clock can be determined in the process of inserting the IC card, and the waiting time from the insertion of the IC card to the ejection is shortened. can do.
【0064】また、請求項2によれば、ICカードの識
別子を検出して当該ICカードの動作クロックの周波数
を識別することができるため、ICカードが挿入される
過程で動作クロックの周波数を設定することが可能にな
り、ICカードが挿入されると直ちにICカードのメモ
リに記憶されたデータを読み取ることができ、ICカー
ドが挿入されてからイジェクトされるまでの待ち時間を
短縮することができる。According to the second aspect of the invention, the frequency of the operation clock of the IC card can be identified by detecting the identifier of the IC card. Therefore, the frequency of the operation clock is set in the process of inserting the IC card. It becomes possible to read the data stored in the memory of the IC card immediately after the IC card is inserted, and it is possible to shorten the waiting time from the insertion of the IC card to the ejection. .
【0065】また、請求項3によれば、ICカードの識
別子を検出して当該ICカードの動作クロックの周波数
を識別することができるので、ICカードが挿入される
過程で動作クロックの周波数を設定することが可能にな
り、ICカードが挿入されると直ちにICカードのメモ
リに所定周波数の動作クロックでデータを記憶させるこ
とができ、ICカードが挿入されてからイジェクトされ
るまでの待ち時間を短縮することができる。According to the third aspect of the present invention, the frequency of the operating clock of the IC card can be identified by detecting the identifier of the IC card. Therefore, the frequency of the operating clock is set in the process of inserting the IC card. As soon as the IC card is inserted, data can be stored in the memory of the IC card at an operating clock of a predetermined frequency, and the waiting time from the insertion of the IC card to the ejection is shortened. can do.
【図1】本発明の一実施例としてのICカード読み取り
・書き込み装置の斜視図である。FIG. 1 is a perspective view of an IC card reading / writing device according to an embodiment of the present invention.
【図2】ICカード読み取り・書き込み装置の構成を示
すブロック図である。FIG. 2 is a block diagram showing a configuration of an IC card reading / writing device.
【図3】ICカードの構成を説明するための図である。FIG. 3 is a diagram illustrating a configuration of an IC card.
【図4】第1実施例のICカードの平面図である。FIG. 4 is a plan view of the IC card according to the first embodiment.
【図5】識別センサユニットの取付状態を示す縦断面図
である。FIG. 5 is a vertical cross-sectional view showing an attached state of an identification sensor unit.
【図6】識別センサユニットの取付状態を示す正面図で
ある。FIG. 6 is a front view showing a mounting state of an identification sensor unit.
【図7】制御回路が第1実施例のICカードに対して実
行する制御処理を説明するためのフローチャートであ
る。FIG. 7 is a flowchart illustrating a control process executed by the control circuit for the IC card according to the first embodiment.
【図8】第2実施例のICカードの平面図である。FIG. 8 is a plan view of an IC card according to a second embodiment.
【図9】第2実施例のICカードが挿入されたときのフ
ォトインタラプタの出力変化を示す波形図である。FIG. 9 is a waveform diagram showing changes in the output of the photo interrupter when the IC card of the second embodiment is inserted.
【図10】制御回路が第2実施例のICカードに対して
実行する制御処理を説明するためのフローチャートであ
る。FIG. 10 is a flowchart illustrating a control process executed by the control circuit for the IC card according to the second embodiment.
【図11】第2実施例のICカードのグラデーションを
検出したときのフォトインタラプタの出力変化を判別す
るための上限値、下限値を示す波形図である。FIG. 11 is a waveform diagram showing an upper limit value and a lower limit value for discriminating the output change of the photo interrupter when the gradation of the IC card of the second embodiment is detected.
1,41 ICカード読み取り・書き込み装置 2 表示器 3,41 ICカード 3b,42,43 識別子 3c,3d,41c,41d 識別域 4,5 カード挿入口 4A,5A 識別センサユニット 6 制御回路 26 読み取り・書き込み部 27 カード検出センサ 28 ローディング機構 29 電極 30,31 フォトインタラプタ 1,41 IC card reading / writing device 2 Display device 3,41 IC card 3b, 42, 43 Identifier 3c, 3d, 41c, 41d Identification area 4,5 Card insertion slot 4A, 5A Identification sensor unit 6 Control circuit 26 Reading / reading Writing unit 27 Card detection sensor 28 Loading mechanism 29 Electrode 30, 31 Photo interrupter
Claims (3)
に所定周波数の動作クロックでデータが入力される端子
とを有するICカードにおいて、 前記動作クロックの周波数を識別するための識別子を表
面に設けたことを特徴とするICカード。1. An IC card having a memory in which data is recorded and a terminal to which data is input to the memory at an operating clock of a predetermined frequency, wherein an identifier for identifying the frequency of the operating clock is provided on the surface. An IC card characterized by that.
と、該カード挿入部に挿入された該ICカードのメモリ
に記憶されたデータを読み取るデータ読み取り部を有す
るICカード読み取り装置において、 前記カード挿入部の入口に前記ICカードに設けられた
識別子を検出する識別子検出手段を設けてなることを特
徴とするICカード読み取り装置。2. An IC card reading device having a card insertion section into which an IC card is inserted and a data reading section for reading data stored in a memory of the IC card inserted into the card insertion section, An IC card reading device, characterized in that an identifier detecting means for detecting an identifier provided on the IC card is provided at the entrance of the unit.
と、該カード挿入部に挿入されたICカードのメモリに
所定周波数の動作クロックでデータを記憶させるデータ
書き込み部を有するICカード書き込み装置において、 前記カード挿入部の入口に前記ICカードに設けられた
識別子を検出する識別子検出手段を設けてなることを特
徴とするICカード書き込み装置。3. An IC card writing device comprising: a card insertion section into which an IC card is inserted; and a data writing section for storing data at an operating clock of a predetermined frequency in a memory of the IC card inserted into the card insertion section, An IC card writing device, characterized in that an identifier detecting means for detecting an identifier provided on the IC card is provided at the entrance of the card insertion portion.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7237224A JPH0981708A (en) | 1995-09-14 | 1995-09-14 | IC card, IC card reading device, and IC card writing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7237224A JPH0981708A (en) | 1995-09-14 | 1995-09-14 | IC card, IC card reading device, and IC card writing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0981708A true JPH0981708A (en) | 1997-03-28 |
Family
ID=17012226
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7237224A Pending JPH0981708A (en) | 1995-09-14 | 1995-09-14 | IC card, IC card reading device, and IC card writing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0981708A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010259172A (en) * | 2009-04-22 | 2010-11-11 | Panasonic Electric Works Co Ltd | Contactless power supply system |
| JP2020086856A (en) * | 2018-11-22 | 2020-06-04 | 三菱重工機械システム株式会社 | Card reader, card reader system, processing method and program |
-
1995
- 1995-09-14 JP JP7237224A patent/JPH0981708A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010259172A (en) * | 2009-04-22 | 2010-11-11 | Panasonic Electric Works Co Ltd | Contactless power supply system |
| EP2244351A3 (en) * | 2009-04-22 | 2014-06-04 | Panasonic Corporation | Non-contact power supply system |
| JP2020086856A (en) * | 2018-11-22 | 2020-06-04 | 三菱重工機械システム株式会社 | Card reader, card reader system, processing method and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6216954B1 (en) | Card reader | |
| CA1149065A (en) | Time recorder | |
| EP0803832A2 (en) | Card holder-type balance display | |
| US4401994A (en) | Recorders for recording data | |
| JPH06138536A (en) | Information recorder for camera | |
| EP0122040A1 (en) | Apparatus for and a method of vending software | |
| JPH0981708A (en) | IC card, IC card reading device, and IC card writing device | |
| US5587574A (en) | Non-contact reader | |
| JPH10105473A (en) | Electronic equipment | |
| JPH09120472A (en) | Controller for automatic vending machine | |
| JP4401677B2 (en) | Time recorder | |
| GB2093246A (en) | Recorders for Recording Data | |
| JPH0877309A (en) | Rewrite print display tag issuing device | |
| JPH09147071A (en) | IC card reader | |
| JPH1125230A (en) | IC card device | |
| JPH0652345A (en) | Light source device, optical information reader and optical information reading identifying device | |
| EP0093812A1 (en) | Recorders for recording data | |
| EP0528927B1 (en) | Card reader | |
| JPH05250521A (en) | Device for cyclically using rewritable card | |
| JP2002230644A (en) | Payment terminal device | |
| EP0831448A2 (en) | Electronic information display apparatus | |
| KR200191468Y1 (en) | An ic card coin system | |
| JPH04294482A (en) | Manual magnetic card reader | |
| JP3243983B2 (en) | Barcode display device | |
| JPH035895A (en) | Prepaid card using apparatus |