JPS6284392A - Card reader - Google Patents
Card readerInfo
- Publication number
- JPS6284392A JPS6284392A JP60225183A JP22518385A JPS6284392A JP S6284392 A JPS6284392 A JP S6284392A JP 60225183 A JP60225183 A JP 60225183A JP 22518385 A JP22518385 A JP 22518385A JP S6284392 A JPS6284392 A JP S6284392A
- Authority
- JP
- Japan
- Prior art keywords
- motor
- card
- cpu
- clock
- timer
- 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
- 238000001514 detection method Methods 0.000 description 4
- 230000008929 regeneration Effects 0.000 description 3
- 238000011069 regeneration method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Landscapes
- Conveying Record Carriers (AREA)
Abstract
Description
【発明の詳細な説明】 [産業上の利用分野コ 本発明はカードリーダに関するものである。[Detailed description of the invention] [Industrial application fields] The present invention relates to a card reader.
[従来の技術]
カード挿入時にのみカード送り用のモータを駆動するも
のとして、従来は主に2種類のものがある。一つは、実
開昭57−46954号公報に示されるように、マイク
ロスイッチによってカードの有無を検出するものであり
、もう一つは専用のフォトインタラプタを用いて光学的
にカードを検出するものである。[Prior Art] Conventionally, there are mainly two types of devices that drive a card feeding motor only when a card is inserted. One is to detect the presence or absence of a card using a microswitch, as shown in Japanese Utility Model Application Publication No. 57-46954, and the other is to optically detect the card using a dedicated photointerrupter. It is.
[発明が解決しようとする問題点コ
上記の方法はいずれも検出のための専用部品を必要とし
、構成的に繁雑になる。しかもカード送り中に、カード
がつかえたり、何らかの外力によって送りが妨げられた
りすると、いずれもモータが回転し続け、これが長時間
にわたると、モータを破損する恐れがある。[Problems to be Solved by the Invention] All of the above methods require dedicated parts for detection and are complex in structure. Furthermore, if the card gets stuck during card feeding or if feeding is interrupted by some external force, the motor continues to rotate, and if this continues for a long time, there is a risk of damage to the motor.
本発明は専用部品を必要とせず、カードが停止したとき
にモータを停止させるようにしたものである。The present invention does not require special parts, and the motor is stopped when the card stops.
[問題点を解決するための手段]
本発明は、カードに形成されたタイミングマークを検出
する検出手段の出力が一定周期内で到来するか否かによ
ってモータの駆動を制御する制御手段を設けたものであ
る。[Means for Solving the Problems] The present invention provides a control means for controlling the drive of the motor depending on whether or not the output of the detection means for detecting the timing mark formed on the card arrives within a certain period. It is something.
[実施例コ
第1図において、1はカードで、m−mはデータ読取り
用のタイミングマークである。2はタイミングマーク検
出用の反射形フォトセンサ、3はクロック再生回路、4
は種々の制御を行うCPU。[Embodiment In FIG. 1, 1 is a card, and mm is a timing mark for reading data. 2 is a reflective photo sensor for timing mark detection, 3 is a clock regeneration circuit, 4 is a reflective photo sensor for detecting timing marks;
is a CPU that performs various controls.
5はカード送り用のモータ、6はモータ駆動回路・7は
カード送り用ローラである。8はタイマで、ブードが送
られているときのクロック再生回路3からのクロックの
周期よりやや長い時間に設定しである。5 is a card feeding motor, 6 is a motor drive circuit, and 7 is a card feeding roller. 8 is a timer, which is set to a time slightly longer than the cycle of the clock from the clock regeneration circuit 3 when the bood is being sent.
つぎに動作について第2図のフローチャートを参照しな
がら説明する。カードの先頭のタイミングマークはカー
ド1がローラ7に挿入されたときにセンサ2を通過する
ように配置されている。そのためカードの挿入によって
クロックが発生し、CPU4に伝えられる。このクロッ
クの立上りによってCPU4はタイマ8をクリアすると
ともにモータ5の駆動命令を出し、カードがローラ7に
よって送られる。Next, the operation will be explained with reference to the flowchart shown in FIG. The timing mark at the beginning of the card is arranged so that it passes the sensor 2 when the card 1 is inserted into the roller 7. Therefore, a clock is generated by inserting the card and is transmitted to the CPU 4. Upon the rise of this clock, the CPU 4 clears the timer 8 and issues a command to drive the motor 5, so that the card is fed by the roller 7.
一方、モータの駆動中は、CPUには常にタイマの割込
みがかかり、クロックの立上りからの時間が計時される
。On the other hand, while the motor is being driven, the CPU is always interrupted by a timer, and the time from the rise of the clock is measured.
モータ5が一旦駆動されると、カードはローラによって
送られるので、カード上に等間隔で配置されたタイミン
グマークがつぎつぎにセンサ2を通過していき、一定周
期でクロックが再生される。Once the motor 5 is driven, the card is fed by rollers, so that the timing marks placed at equal intervals on the card pass the sensor 2 one after another, and the clock is regenerated at a constant cycle.
タイマ8は各クロックの立上りによってクリアされ、モ
ータ5が回転し続ける。The timer 8 is cleared at the rising edge of each clock, and the motor 5 continues to rotate.
カード上のデータはタイミングマークによって読み取ら
れていく。The data on the card is read using timing marks.
そして全てのタイミングマークが通過しおえたかあるい
は何らかの力によってカードが途中で停止してしまった
場合には、もはやクロックは発生せず、タイマにクリア
がかからない。タイマの内容が設定値に達すると、モー
タ5の駆動信号が停止し、モータの回転が停止する。If all the timing marks have passed or if the card is stopped midway due to some force, the clock will no longer be generated and the timer will not be cleared. When the contents of the timer reach the set value, the drive signal for the motor 5 is stopped, and the rotation of the motor is stopped.
したがってモータに無理な負担がかからず、破損を招く
ことがない。Therefore, no unreasonable load is placed on the motor and no damage is caused.
なおタイミングマークとしては、カードにパンチングし
た孔を用いてもよく、この場合には、そのセンサとして
透過形のものを用いる。Note that a hole punched in the card may be used as the timing mark, and in this case, a transparent type sensor is used as the sensor.
[発明の効果コ
本発明によれば、データ読取り用のタイミングマークに
よって一定周期で出力が発生している間はモータを駆動
し、上記出力が停止したらモータを停止するようにした
ので、カード検出のための専用部品が必要なく、しかも
途中でカードが停止したときにはモータが停止するため
モータに無理な負担がかからず破損を防止することがで
きる。[Effects of the Invention] According to the present invention, the motor is driven while the output is being generated at a constant cycle by the timing mark for data reading, and the motor is stopped when the output stops, so that the card detection is easy. There is no need for special parts for this, and since the motor stops when the card stops midway through, undue stress is not placed on the motor and damage can be prevented.
第1図は本発明の一実施例を示した説明図、第2図は動
作説明のためのフローチャートである。
1・・・カード
m・・・タイミングマーク
2・・・センサ
3・・・クロック再生回路
4・・・CPU
5・・・モータ
以 上FIG. 1 is an explanatory diagram showing one embodiment of the present invention, and FIG. 2 is a flowchart for explaining the operation. 1...Card m...Timing mark 2...Sensor 3...Clock regeneration circuit 4...CPU 5...Motor and above
Claims (1)
を検出する検出手段と、 この検出手段から一定周期内で出力が発生している間は
カード送り用のモータを駆動し、上記一定周期以上出力
が到来しないときは上記モータを停止せしめる制御手段
とを具備したカードリーダ。[Scope of Claims] Detecting means for detecting a timing mark for reading data formed on a card; and a motor for driving the card while the detecting means is generating an output within a certain period; A card reader comprising: control means for stopping the motor when no output is received for a predetermined period or more.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60225183A JPS6284392A (en) | 1985-10-09 | 1985-10-09 | Card reader |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60225183A JPS6284392A (en) | 1985-10-09 | 1985-10-09 | Card reader |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6284392A true JPS6284392A (en) | 1987-04-17 |
Family
ID=16825260
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60225183A Pending JPS6284392A (en) | 1985-10-09 | 1985-10-09 | Card reader |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6284392A (en) |
-
1985
- 1985-10-09 JP JP60225183A patent/JPS6284392A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6284392A (en) | Card reader | |
| JP3153719B2 (en) | Card transport mechanism of IC card reader | |
| JPS622699Y2 (en) | ||
| JP2580160B2 (en) | LSI card reader / writer | |
| JPS60122425A (en) | Magnetic card recording and reproducing device with punch mechanism | |
| EP0121572B1 (en) | Tape reader | |
| JPS624754B2 (en) | ||
| JPH0631566Y2 (en) | Sensor device for time recorder | |
| JP2729862B2 (en) | Card carrier | |
| JPS6145570Y2 (en) | ||
| JPS60158248U (en) | Failure detection circuit for information processing equipment | |
| JPH0694223B2 (en) | Label printer | |
| JPS6142200Y2 (en) | ||
| JPS5932083A (en) | Slip feed controller | |
| JPS58128884A (en) | Paper feed detector | |
| JPH04148289A (en) | Paper tape reader | |
| JPS57161973A (en) | Control system for reader | |
| JPH0488408A (en) | Information processor | |
| JPS5975368A (en) | Tape reader | |
| JPS58104666U (en) | Ink ribbon running detection device | |
| JP2001197266A (en) | Reader | |
| JPS61121448U (en) | ||
| JPH02286369A (en) | Printer equipped with device for detecting paper position | |
| JPH02228877A (en) | Facsimile equipment | |
| JPS62120997A (en) | cutter drive device |