JPH11110497A - Device for monitoring ic card insertion and pulling-out - Google Patents

Device for monitoring ic card insertion and pulling-out

Info

Publication number
JPH11110497A
JPH11110497A JP9265693A JP26569397A JPH11110497A JP H11110497 A JPH11110497 A JP H11110497A JP 9265693 A JP9265693 A JP 9265693A JP 26569397 A JP26569397 A JP 26569397A JP H11110497 A JPH11110497 A JP H11110497A
Authority
JP
Japan
Prior art keywords
card
power supply
microprocessor
resistor
power
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
JP9265693A
Other languages
Japanese (ja)
Inventor
Yuzuru Sato
譲 佐藤
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.)
NEC Home Electronics Ltd
NEC Corp
Original Assignee
NEC Home Electronics Ltd
Nippon Electric 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 NEC Home Electronics Ltd, Nippon Electric Co Ltd filed Critical NEC Home Electronics Ltd
Priority to JP9265693A priority Critical patent/JPH11110497A/en
Publication of JPH11110497A publication Critical patent/JPH11110497A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an IC card insertion and pulling-out monitoring device for surely judging that an IC card is correctly mounted at a normal position. SOLUTION: When an IC card 102 is correctly inserted, a terminal contact 108 of the IC card 102 is connected with a connector 110 and power source current flows to the IC card 102. As the result, a voltage drop is generated in a resistor 105, and a comparator 107 detects the generation of a potential difference at each of input terminals and outputs the result to a microprocessor 109. The microprocessor 109 judges that the IC card 102 is correctly inserted based on the output from the comparator 107 and makes the IC card 2 start the reading or writing of the data.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【発明の属する技術分野】本発明は、ICカード挿抜監
視装置に関し、特にICカードの挿入状態あるいは排出
状態を監視するICカード挿抜監視装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an IC card insertion / removal monitoring device, and more particularly to an IC card insertion / removal monitoring device for monitoring an inserted or ejected state of an IC card.

【従来の技術】従来のICカード挿抜監視装置1は、図
1に示すように、データの読み出しまたは書き込みを行
なうために後述するコネクタ8へ接続される端子接点6
を有するICカード2と、ICカード2へ電源を供給さ
せるための電源回路3と、ICカード2への電源供給を
制御する電源供給スイッチ4と、ICカードが正規の位
置に挿入された事を検出するICカード挿入/排出検出
スイッチ5と、電源供給スイッチ4を制御すると共にI
Cカード挿入/排出検出スイッチ5からの出力に基づい
てICカード2とデータ通信を開始させるマイクロプロ
セッサ7と、ICカード2の端子接点6を介してICカ
ード2をマイクロプロセッサ7及び電源供給スイッチ4
に接続させるコネクタ8とから構成される。マイクロプ
ロセッサ7は、ICカード2が正規の位置に装着され、
ICカード挿入/排出検出スイッチ5が挿入を検出する
とマイクロプロセッサ7は端子接点6がコネクタ8を介
して接続されたと判断する。そして、電源供給スイッチ
4をオン状態に変化させてICカード2に電源回路3よ
り電源を供給し、ICカード2を活性化させ、ICカー
ド2とデータ通信を開始させる。また、マイクロプロセ
ッサ7は、ICカード2とのデータ通信が終了すると、
電源供給スイッチ4をオフ状態に変化させて、ICカー
ド2を非活性化させて抜き取り可能状態にする。
2. Description of the Related Art As shown in FIG. 1, a conventional IC card insertion / removal monitoring device 1 has a terminal contact 6 connected to a connector 8 described later for reading or writing data.
, A power supply circuit 3 for supplying power to the IC card 2, a power supply switch 4 for controlling power supply to the IC card 2, and a check that the IC card is inserted into a proper position. It controls the IC card insertion / ejection detection switch 5 and the power supply switch 4 for detecting
A microprocessor 7 for starting data communication with the IC card 2 based on an output from the C card insertion / ejection detection switch 5, and the microprocessor 7 and the power supply switch 4 via the terminal contacts 6 of the IC card 2.
And a connector 8 to be connected to the The microprocessor 7 has the IC card 2 mounted in a regular position,
When the IC card insertion / ejection detection switch 5 detects the insertion, the microprocessor 7 determines that the terminal contact 6 is connected via the connector 8. Then, the power supply switch 4 is turned on to supply power to the IC card 2 from the power supply circuit 3 to activate the IC card 2 and start data communication with the IC card 2. Further, when the data communication with the IC card 2 ends, the microprocessor 7
The power supply switch 4 is turned off to deactivate the IC card 2 to make it removable.

【発明が解決しようとする課題】しかしながら、このよ
うな従来のICカード挿抜監視装置では、ICカードの
コネクタへの正規の装着状況は、ICカード挿入/排出
検出スイッチにのみ依存していた。そのため、マイクロ
プロセッサはICカードの表裏あるいは逆差しの判断が
つかずに、ICカードの活性化を試みる事になり、活性
化がうまくいった場合は良いが、活性化に失敗した場合
には、その失敗した理由の判断がつかないという課題が
あった。それ故、本発明の目的は、ICカードが正規の
位置に正しく装着されたことを確実に判断できるICカ
ード挿抜監視装置を提供することにある。
However, in such a conventional IC card insertion / removal monitoring device, the proper mounting state of the IC card to the connector depends only on the IC card insertion / ejection detection switch. Therefore, the microprocessor tries to activate the IC card without knowing whether the IC card is upside down or reversed, and if the activation is successful, it is good. There was a problem that the reason for the failure could not be determined. Therefore, an object of the present invention is to provide an IC card insertion / removal monitoring device that can reliably determine that an IC card has been correctly mounted in a proper position.

【課題を解決するための手段】従って、本発明は、上述
の目的を達成するために、データの読み出しまたは書き
込みが行われるICカードと、ICカードへ電源を供給
させるための電源回路と、ICカードへ電源回路からの
電源供給を制御する電源供給スイッチと、ICカードに
電源が供給された場合にその電源電流が流れることによ
り電圧降下を引き起こす抵抗器と、この抵抗器の両端に
接続され、抵抗器の電圧降下による電位差が生じたこと
を検出するコンパレータと、電源供給スイッチを制御す
ると共にコンパレータの検出結果に基づいてデータ通信
を行なうかどうかを判断するマイクロプロセッサとを具
備したことを特徴とする。また、本発明は、データの読
み出しまたは書き込みが行われるICカードと、ICカ
ードへ電源を供給させるための電源回路と、ICカード
へ電源回路からの電源供給を制御する電源供給スイッチ
と、ICカードに電源が供給された場合にその電源電流
が流れることにより電圧降下を引き起こす抵抗器と、こ
の抵抗器の両端間の電圧降下による電位差が生じたこと
を検出するA/Dコンバータを内蔵し、このA/Dコン
バータの検出結果に基づいてデータ通信を行なうかどう
かを判断するマイクロプロセッサとを具備したことを特
徴とする。
SUMMARY OF THE INVENTION Accordingly, in order to achieve the above object, the present invention provides an IC card for reading or writing data, a power supply circuit for supplying power to the IC card, and an IC card. A power supply switch for controlling power supply from a power supply circuit to the card, a resistor that causes a voltage drop due to a flow of the power supply current when power is supplied to the IC card, and is connected to both ends of the resistor; A comparator for detecting that a potential difference due to a voltage drop of the resistor has occurred, and a microprocessor for controlling a power supply switch and determining whether to perform data communication based on a detection result of the comparator. I do. The present invention also provides an IC card from which data is read or written, a power supply circuit for supplying power to the IC card, a power supply switch for controlling power supply from the power supply circuit to the IC card, and an IC card. And a built-in resistor that causes a voltage drop when power is supplied to the power supply and an A / D converter that detects the occurrence of a potential difference due to the voltage drop between both ends of the resistor. A microprocessor that determines whether to perform data communication based on a detection result of the A / D converter.

【発明の実施の形態】以下、本発明にかかるICカード
挿抜監視装置の一実施の形態について図面を参照して説
明する。図1は、本発明にかかるICカード挿抜監視装
置の一実施の形態を示す概略構成図である。本発明のI
Cカード挿抜監視装置101は、図1に示すように、デ
ータの読み出しまたは書き込みを行なうために後述する
コネクタ108へ接続される端子接点106を有するI
Cカード102と、ICカード102へ電源を供給させ
るための電源回路103と、ICカード102へ電源回
路103からの電源供給を制御する電源供給スイッチ1
04と、ICカードが正規の位置に挿入された事を検出
するICカード挿入/排出検出スイッチ105と、IC
カード102に電源が供給された場合にその電源電流が
流れることにより電圧降下を引き起こす抵抗器106
と、この抵抗器106の両端に接続され、抵抗器106
の電圧降下による電位差が生じたことを検出するコンパ
レータ107と、電源供給スイッチ104を制御すると
共にコンパレータ107の検出結果に基づいてデータ通
信を行なうかどうかを判断するマイクロプロセッサ10
9と、ICカード102の端子接点108を介してIC
カード102をマイクロプロセッサ109及び電源供給
スイッチ104に接続させるコネクタ110とから構成
される。このような構成におけるICカード挿抜監視装
置101は、例えば、次のように動作する。ICカード
102が挿入され、ICカード挿入/排出検出スイッチ
105がICカード102の装着を検出すると、マイク
ロプロセッサ109は電源供給スイッチ104をオンさ
せて、ICカード102に電源回路103より電源を供
給する。ICカード102が正しく挿入されていない
と、ICカード102の端子接点108はコネクタ11
0と接続されず、ICカード102には電源電流が流れ
ない。よって抵抗器106は電圧降下を起こさないた
め、マイクロプロセッサ111は、ICカード102が
正しく挿入されていないと判断し、ICカード102に
対してデータの読み出しまたは書き込みは行われない。
ここで、ICカード102が正しい位置に挿入される
と、ICカード102の端子接点108はコネクタ11
0と接続され、ICカード102には電源電流が流れ
る。その結果、抵抗器106が電圧降下を引き起こし、
両端に電位差が生じる。そして、コンパレータ107は
それぞれの入力端子に電位差が生じたことを検出し、そ
の結果をマイクロプロセッサ109に出力する。マイク
ロプロセッサ109は、コンパレータ107からの出力
に基づいてICカード102が正しく挿入されたと判断
し、ICカード102を活性化させ、ICカード102
に対してデータの読み出しまたは書き込みを開始させ
る。また、マイクロプロセッサ109は、ICカード1
02に対するデータの読み出しまたは書き込みが終了す
ると、電源供給スイッチ104をオフ状態に変化させ
て、ICカード102を非活性化させて抜き取り可能状
態にする。したがって、本発明によれば、マイクロプロ
セッサ109によってICカード102に電源が供給さ
れているかどうかを検出し、ICカードの接点が正しく
コネクタと接続されてICカードが活性化可能つまりデ
ータの読み出しまたは書き込みが可能かどうかを常時監
視することが可能となる。次に、本発明にかかるICカ
ード挿抜監視装置の他の実施の形態について図面を用い
て説明する。図2は、本発明にかかるICカード挿抜監
視装置の他の実施の形態を示す概略構成図である。この
ICカード挿抜検出装置201は、図1に示すICカー
ド挿抜検出装置101におけるコンパレータ107の代
わりにマイクロプロセッサ111に内蔵されるA/Dコ
ンバータ(図示せず)を使用して抵抗器106両端の電
位差を検出させても、カード挿抜検出装置101と同じ
機能を実現することができる。つまり、抵抗器106両
端に生じた電位差はA/Dコンバータにより検出され、
その結果、マイクロプロセッサ111は、ICカード1
02が正しく挿入されたと判断し、ICカード102を
活性化させ、ICカード102に対してデータの読み出
しまたは書き込みを開始させる。また、マイクロプロセ
ッサ111は、ICカード102に対するデータの読み
出しまたは書き込みが終了すると、電源供給スイッチ1
04をオフ状態に変化させて、ICカード102を非活
性化させて抜き取り可能状態にする。したがって、マイ
クロプロセッサ111によって、このマイクロプロセッ
サ111内のA/Dコンバータの状態に応じてICカー
ド102に電源が供給されてされているかどうかを検出
し、ICカードの接点が正しくコネクタと接続されてI
Cカードが活性化可能つまりデータの読み出しまたは書
き込みが可能かどうかを常時監視することができる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of an IC card insertion / removal monitoring apparatus according to the present invention will be described below with reference to the drawings. FIG. 1 is a schematic configuration diagram showing an embodiment of an IC card insertion / removal monitoring device according to the present invention. I of the present invention
As shown in FIG. 1, the C card insertion / removal monitoring device 101 has a terminal contact 106 connected to a connector 108 described later for reading or writing data.
C card 102, power supply circuit 103 for supplying power to IC card 102, and power supply switch 1 for controlling power supply from power supply circuit 103 to IC card 102
04, an IC card insertion / ejection detection switch 105 for detecting that the IC card has been inserted into a proper position,
When power is supplied to the card 102, a resistor 106 that causes a voltage drop due to the flow of the power supply current
Connected to both ends of the resistor 106,
And a microprocessor 10 that controls the power supply switch 104 and determines whether to perform data communication based on the detection result of the comparator 107.
9 and the IC via the terminal contact 108 of the IC card 102.
A connector 110 connects the card 102 to the microprocessor 109 and the power supply switch 104. The IC card insertion / removal monitoring device 101 having such a configuration operates as follows, for example. When the IC card 102 is inserted and the IC card insertion / ejection detection switch 105 detects the attachment of the IC card 102, the microprocessor 109 turns on the power supply switch 104 and supplies power to the IC card 102 from the power supply circuit 103. . If the IC card 102 is not inserted correctly, the terminal contacts 108 of the IC card 102
0, the power supply current does not flow through the IC card 102. Therefore, since the resistor 106 does not cause a voltage drop, the microprocessor 111 determines that the IC card 102 has not been correctly inserted, and does not read or write data to or from the IC card 102.
Here, when the IC card 102 is inserted into a correct position, the terminal contacts 108 of the IC card 102
0, and a power supply current flows through the IC card 102. As a result, the resistor 106 causes a voltage drop,
A potential difference occurs at both ends. Then, the comparator 107 detects that a potential difference has occurred between the respective input terminals, and outputs the result to the microprocessor 109. The microprocessor 109 determines that the IC card 102 is correctly inserted based on the output from the comparator 107, activates the IC card 102, and
To start reading or writing data. Further, the microprocessor 109 is provided with the IC card 1
When the reading or writing of data to 02 has been completed, the power supply switch 104 is turned off to deactivate the IC card 102 to put it in a state where it can be extracted. Therefore, according to the present invention, the microprocessor 109 detects whether power is supplied to the IC card 102, and the contacts of the IC card are correctly connected to the connector so that the IC card can be activated, that is, data can be read or written. It is possible to constantly monitor whether or not is possible. Next, another embodiment of the IC card insertion / removal monitoring device according to the present invention will be described with reference to the drawings. FIG. 2 is a schematic configuration diagram showing another embodiment of the IC card insertion / removal monitoring device according to the present invention. This IC card insertion / removal detection device 201 uses an A / D converter (not shown) built in a microprocessor 111 instead of the comparator 107 in the IC card insertion / removal detection device 101 shown in FIG. Even when the potential difference is detected, the same function as that of the card insertion / removal detection device 101 can be realized. That is, the potential difference generated between both ends of the resistor 106 is detected by the A / D converter,
As a result, the microprocessor 111
The IC card 102 is determined to be correctly inserted, the IC card 102 is activated, and data reading or writing to the IC card 102 is started. When reading or writing of data to the IC card 102 is completed, the microprocessor 111
04 is turned off to deactivate the IC card 102 to bring it into a removable state. Therefore, the microprocessor 111 detects whether or not power is being supplied to the IC card 102 according to the state of the A / D converter in the microprocessor 111, and the contacts of the IC card are correctly connected to the connector. I
It is possible to constantly monitor whether the C card can be activated, that is, whether data can be read or written.

【発明の効果】以上説明したように、本発明のICカー
ド挿抜監視装置によれば、マイクロプロセッサによっ
て、コンパレータまたはA/Dコンバータの検出結果に
基づいてICカードに電源が供給されてされているかど
うかを判断し、ICカードの接点が正しくコネクタと接
続されてICカードが活性化可能つまりデータの読み出
しまたは書き込みが可能かどうかを常時監視することが
可能となるので、ICカードが正規の位置に正しく装着
されたことを確実に判断することができる。
As described above, according to the IC card insertion / removal monitoring device of the present invention, whether power is supplied to the IC card by the microprocessor based on the detection result of the comparator or the A / D converter. The IC card is correctly connected to the connector and the IC card can be activated. That is, it is possible to constantly monitor whether the data can be read or written. It can be reliably determined that the camera has been correctly mounted.

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

【図1】本発明にかかるICカード挿抜監視装置の一実
施の形態を示す概略構成図である。
FIG. 1 is a schematic configuration diagram showing one embodiment of an IC card insertion / removal monitoring device according to the present invention.

【図2】本発明にかかるICカード挿抜監視装置の他の
実施の形態を示す概略構成図である。
FIG. 2 is a schematic configuration diagram showing another embodiment of the IC card insertion / removal monitoring device according to the present invention.

【図3】従来のICカード挿抜監視装置を示す概略構成
図である。
FIG. 3 is a schematic configuration diagram showing a conventional IC card insertion / removal monitoring device.

【符号の説明】[Explanation of symbols]

101 ICカード挿抜監視装置 102 ICカード 103 電源回路 104 電源供給スイッチ 105 ICカード挿入/排出検出スイッチ 106 抵抗器 107 コンパレータ 108 端子接点 109 マイクロプロセッサ 110 コネクタ 111 マイクロプロセッサ Reference Signs List 101 IC card insertion / removal monitoring device 102 IC card 103 Power supply circuit 104 Power supply switch 105 IC card insertion / ejection detection switch 106 Resistor 107 Comparator 108 Terminal contact 109 Microprocessor 110 Connector 111 Microprocessor

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 データの読み出しまたは書き込みが行わ
れるICカードと、 ICカードへ電源を供給させるための電源回路と、 ICカードへ電源回路からの電源供給を制御する電源供
給スイッチと、 ICカードに電源が供給された場合にその電源電流が流
れることにより電圧降下を引き起こす抵抗器と、 この抵抗器の両端に接続され、抵抗器の電圧降下による
電位差が生じたことを検出するコンパレータと、 電源供給スイッチを制御すると共にコンパレータの検出
結果に基づいてデータ通信を行なうかどうかを判断する
マイクロプロセッサとを具備したことを特徴とするIC
カード挿抜監視装置。
An IC card for reading or writing data; a power supply circuit for supplying power to the IC card; a power supply switch for controlling power supply from the power supply circuit to the IC card; A resistor that causes a voltage drop when the power is supplied when the power is supplied, a comparator connected to both ends of the resistor to detect a potential difference caused by the voltage drop of the resistor, and a power supply A microprocessor for controlling a switch and determining whether to perform data communication based on a detection result of the comparator.
Card insertion and removal monitoring device.
【請求項2】 データの読み出しまたは書き込みが行わ
れるICカードと、 ICカードへ電源を供給させるための電源回路と、 ICカードへ電源回路からの電源供給を制御する電源供
給スイッチと、 ICカードに電源が供給された場合にその電源電流が流
れることにより電圧降下を引き起こす抵抗器と、 この抵抗器の両端間の電圧降下による電位差が生じたこ
とを検出するA/Dコンバータを内蔵し、このA/Dコ
ンバータの検出結果に基づいてデータ通信を行なうかど
うかを判断するマイクロプロセッサとを具備したことを
特徴とするICカード挿抜監視装置。
2. An IC card from which data is read or written; a power supply circuit for supplying power to the IC card; a power supply switch for controlling power supply from the power supply circuit to the IC card; When a power is supplied, a resistor that causes a voltage drop when the power supply current flows and an A / D converter that detects that a potential difference has occurred due to a voltage drop between both ends of the resistor are built in. And a microprocessor for determining whether to perform data communication based on a detection result of the / D converter.
JP9265693A 1997-09-30 1997-09-30 Device for monitoring ic card insertion and pulling-out Pending JPH11110497A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9265693A JPH11110497A (en) 1997-09-30 1997-09-30 Device for monitoring ic card insertion and pulling-out

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9265693A JPH11110497A (en) 1997-09-30 1997-09-30 Device for monitoring ic card insertion and pulling-out

Publications (1)

Publication Number Publication Date
JPH11110497A true JPH11110497A (en) 1999-04-23

Family

ID=17420705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9265693A Pending JPH11110497A (en) 1997-09-30 1997-09-30 Device for monitoring ic card insertion and pulling-out

Country Status (1)

Country Link
JP (1) JPH11110497A (en)

Similar Documents

Publication Publication Date Title
US8036708B2 (en) Mobile communication terminal and mobile communication method
JPH06139414A (en) Ic card detecting device
JPH0757062A (en) Electronic equipment
TW200934203A (en) Method and communications device for changing electronic cards without power off
JPH11110497A (en) Device for monitoring ic card insertion and pulling-out
KR100268637B1 (en) Ic card reader/writer and its control method
US6910629B2 (en) Information reproduction apparatus
CN112214094B (en) Method and equipment for coping with power supply jitter of hard disk
JP4731995B2 (en) Electronic device apparatus and processing method thereof
JP4470048B2 (en) Information recording and playback equipment, electronic equipment
JP2765502B2 (en) Backup power supply circuit
JP2004094821A (en) Recording device
US6904531B2 (en) Portable computer with low power consumption of a card bus controller thereof
JP3389792B2 (en) Electrical equipment
JP2001341595A (en) Power source control device
JPH0612579A (en) Device for monitoring removal of electronic equipment
JP2657829B2 (en) Backup battery voltage detection method
JPS62269252A (en) Ic card reader/writer
JP2000075968A (en) Small-sized electronic equipment
JP2001202479A (en) Ic card reader and writer
JP3593294B2 (en) Power supply status detector
JP2890302B2 (en) Electronic equipment
JPH022471A (en) Ic card system
JPS6293777A (en) Information writing and reading device for portable card
JPH11328508A (en) Card processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020402