JPS60163189A - Card reader controller - Google Patents

Card reader controller

Info

Publication number
JPS60163189A
JPS60163189A JP59018966A JP1896684A JPS60163189A JP S60163189 A JPS60163189 A JP S60163189A JP 59018966 A JP59018966 A JP 59018966A JP 1896684 A JP1896684 A JP 1896684A JP S60163189 A JPS60163189 A JP S60163189A
Authority
JP
Japan
Prior art keywords
card
card reader
tmax
stored
tmin
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
JP59018966A
Other languages
Japanese (ja)
Inventor
Kinya Morinouchi
森ノ内 欽也
Shigeru Kitano
北野 繁
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP59018966A priority Critical patent/JPS60163189A/en
Priority to DE19853503443 priority patent/DE3503443A1/en
Publication of JPS60163189A publication Critical patent/JPS60163189A/en
Priority to US07/051,171 priority patent/US4782455A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K13/00Conveying record carriers from one station to another, e.g. from stack to punching mechanism
    • G06K13/02Conveying record carriers from one station to another, e.g. from stack to punching mechanism the record carrier having longitudinal dimension comparable with transverse dimension, e.g. punched card
    • G06K13/06Guiding cards; Checking correct operation of card-conveying mechanisms
    • G06K13/067Checking presence, absence, correct position, or moving status of cards

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Conveying Record Carriers (AREA)

Abstract

PURPOSE:To check abnormality of the running speed of a card by measuring intervals of a clock signal led out from a card reader. CONSTITUTION:A clock signal inverted RCP outputted from a card reader 1 is counted, and counted values corresponding to maximum and minimum card running speeds are stored in buffers TMAX and TMIN respectively. At the time when the reading operation of the card is terminated or by the operation of a keyboard 4 due to an operator, stored contents of said buffers TMIN and TMAX are transferred to an area A of a RAM6 and are displayed on a display device 8 through a display buffer DBB. Simultaneously, they are printed by a printer 9; and thus, the operator watches displayed data to detect always whether the card is read normally or not.

Description

【発明の詳細な説明】 〈発明の技術分野〉 本発明はカードリーダ制御装置の改良に関するものであ
り、更に詳細には例えば手動式カードリーダ等における
カードの走行速度の良否の判定を可能にしたカードリー
ダ制御装置に関するものである。
[Detailed Description of the Invention] <Technical Field of the Invention> The present invention relates to an improvement of a card reader control device, and more specifically, it is possible to determine whether the running speed of a card is good or bad in a manual card reader, etc. The present invention relates to a card reader control device.

〈発明の技術的背景とその問題点〉 一般にカードリーダにおいて、カードの走行速度の変動
が読み取り動作の性能に影響を与える。
<Technical background of the invention and its problems> Generally, in a card reader, fluctuations in the running speed of the card affect the performance of the reading operation.

例えば手動式の磁気カードリーダにあっては手動によっ
てカードの走行が行なわれるため、走行速度が大きく変
動する。またカードリーダ及び制御部においてもカード
の走行が速過ぎた場合には、その速度に追随した処理が
出来なくなり、遅過ぎた場合には磁気カードリーダ等よ
りの読取り信号が検出されない等の能力の限界があり、
そのだめカードの所定の走行速度で移動させることが必
要となる。
For example, in a manual magnetic card reader, since the card is moved manually, the running speed varies greatly. In addition, if the card is running too fast in the card reader and control unit, it will not be possible to process the card to keep up with that speed, and if it is too slow, the read signal from the magnetic card reader, etc. will not be detected. There are limits,
It is necessary to move the card at a predetermined running speed.

従来のカードリーダにおいて、カード読取りエラーを検
出した場合アプリケーションによりエラー内容を検知す
ることが出来るが、このエラーがカードの適正走行速度
の状態で読取られた場合のエラーであるか、異常走行速
度(速過ぎる、遅過ぎる等)の状態で読取られた場合の
エラーであるかを判定することが困難であ−っだ。
In conventional card readers, when a card reading error is detected, the error content can be detected by the application. It is difficult to determine whether it is an error when the data is read too fast, too slow, etc.).

〈発明の目的〉 本発明は上記従来の問題点を除去したカードリータ制御
装置を提供することを目的としてなされたものであり、
この目的を達成するため、本発明のカーF l)−ダ制
御装置は、カードリーダから導出されるクロック信号の
間隔を計測する計測手段と、この計測手段の胴側結果に
もとすいた鎖を記憶する記憶手段と、この記憶手段の記
憶内容を読み出す続出手段とを備えるように構成されて
いる。
<Object of the Invention> The present invention has been made for the purpose of providing a card reader control device that eliminates the above-mentioned conventional problems.
To achieve this objective, the card reader control device of the present invention comprises a measuring means for measuring the interval of clock signals derived from the card reader, and a linkage to the body-side result of this measuring means. The apparatus is configured to include a storage means for storing the information, and a retrieval means for reading out the stored contents of the storage means.

(発明の実施例〉 以−ト、図面を嘉照して本発明の一実施例を詳細Iに説
明する3゜ 第1図は本発明を実施した装置の構成を示すグロック図
である。
(Embodiment of the Invention) Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings. 3. FIG. 1 is a block diagram showing the configuration of an apparatus in which the present invention is implemented.

第1図において1は磁気カードリーダ、2は磁%fJ 
−1”J−り1のコン1−ローフy (MCRコントロ
ーラ)、3は例えばZ80AKよ、って構成されたメイ
ンCPU、4は入力キーボード、5はROM。
In Figure 1, 1 is a magnetic card reader, 2 is a magnetic %fJ
-1"J-ri1's controller 1-loafy (MCR controller), 3 is a main CPU configured as, for example, Z80AK, 4 is an input keyboard, and 5 is a ROM.

6はRAM、7け入出力インク−フェイス、8は表示装
置、9は印字装置である。
6 is a RAM, 7 is an input/output ink face, 8 is a display device, and 9 is a printing device.

本発明に関連して後述する言」測したタイマー値の最小
値及び最人値を記憶する”’ M I N及びT MA
Xエリアがコントローラ2の内部RAM21の所定領域
に設定されている。なお、コントローラ2を用いない場
合にば]’MIN及びTMAXエリアはメインCPU3
のRA M 6のA領域に設定される。
The minimum and maximum values of the measured timer values are stored in the terms described later in connection with the present invention.
The X area is set in a predetermined area of the internal RAM 21 of the controller 2. Note that if controller 2 is not used, the MIN and TMAX areas are
It is set in area A of RAM 6 of .

第2図はカード読み取り速度検出及び記憶のだめのアプ
リケーションを示すフロー図であり、以下このフ11−
図を参照して本発明を説明する。
FIG. 2 is a flow diagram showing an application for card reading speed detection and storage, and this flowchart will be described below.
The present invention will be explained with reference to the figures.

カーI−の読取り動作に先立って、今例えばコントロー
ラ2内の内部RAM21の任意の領域に各1バイト分ず
つ設定されたノくノファTMIN、 TMAXが初期設
定され、バッファTMINにF F ”の初期値か設定
され、TMAXにo o ”の初期値が設定される(ス
テップnl)。次にカード待ちの状態よりカードがカー
ドリータIK挿入されると、従来公知の構成によりカー
トリーダIKよってカードの挿入が検知されて、該カー
ドリーダ1よりカード挿入信号CL Sが出力され(“
°L°°レベル信号、第4図参照)、このカード挿入信
号CLSの“L” レベルが検知されると(ステップn
2)、次のステップn3に移行する。カードリーダ1は
カードの挿入を検知した後、カードに記録された情報の
読取り動作を開始するが、・この読取り動作にしたがっ
て、従来公知の構成により、クロック信号7で1がカー
ドリーダ1より出力される。このクロック信号RCPは
例えばカード−にに記録された同期信号トラックの読取
信号、あるいはセルフクロック方式によって読取り情報
から作成されるクロック信号であって、その周期はカー
ド走行速度に対応したものとなっている。ステップn3
においてクロック信号RCPが′”L ”になることを
検知するとステップn4に移行してタイマ動作を起動し
てタイマのカウントを開始する。次にステップn5にお
いて次のクロック信号RCPの立下が9を検知すること
によって]2記タイマ動作をイ亭、+L Lで(ステッ
プn6)、そのタイマイ直TをCPU内のワーキンクレ
シ7.りW R内に一時記憶すると共に(ステップn7
)、再びタイマ動作を起動して次のタイマのカウントを
開始する(ステップn8)。
Prior to the read operation of the car I-, for example, TMIN and TMAX, which are set for 1 byte each in an arbitrary area of the internal RAM 21 in the controller 2, are initialized, and the buffer TMIN is initialized with FF''. value is set, and the initial value of o o'' is set in TMAX (step nl). Next, when a card is inserted into the card reader IK from the card waiting state, the insertion of the card is detected by the card reader IK according to a conventionally known configuration, and the card reader 1 outputs a card insertion signal CLS (“
°L°° level signal (see Figure 4), when the "L" level of this card insertion signal CLS is detected (step n
2), proceed to the next step n3. After the card reader 1 detects the insertion of the card, it starts reading the information recorded on the card. According to this reading operation, a clock signal 7 of 1 is output from the card reader 1 according to a conventionally known configuration. be done. This clock signal RCP is, for example, a read signal of a synchronization signal track recorded on the card, or a clock signal created from read information using a self-clock method, and its period corresponds to the card running speed. There is. step n3
When it is detected that the clock signal RCP becomes ``L'', the process proceeds to step n4, where the timer operation is activated and the timer starts counting. Next, in step n5, by detecting that the falling edge of the next clock signal RCP is 9, the timer operation in step 2 is started at +LL (step n6), and the timer is set to the working clock in the CPU. is temporarily stored in W R (step n7).
), the timer operation is activated again and the next timer starts counting (step n8).

次にステップn9に移行して−「記ステップn7におい
てワーキングレジヌタW Rに記憶したタイマのカウン
ト値Tの内容とバッファTMIHに記憶された内容を比
較し、W R) T旧、でないときのみ、ワーキングレ
シスクW Rの記憶内容ヲy<ツファTMIN K書込
んで、TMIHの記憶の内容を更新するくステップn1
(1)。次にステップn11に移行して更に上記ステッ
プn7においてワーキングレシヌタWRに記憶したタイ
マのカウント値′rの内容とバッファT MAXに記憶
された内容を比較し、WR<TMAxでないときのみ、
ワーキンクレシスグWRの記憶内容をハンフIT M 
A X (fc 94き込んで、”’MAXの記憶内容
を更新する(ステップn12)。その後ステップn 5
に戻り、以後ステソゲn5〜n12の動作をカードの読
み取り動作が終了するまで繰返す。
Next, the process moves to step n9 and compares the contents of the timer count value T stored in the working register WR in step n7 with the contents stored in the buffer TMIH. , write the memory contents of the working register WR < TMINK and update the memory contents of the TMIH. Step n1
(1). Next, the process moves to step n11, and the contents of the timer count value 'r stored in the working register WR in step n7 are compared with the contents stored in the buffer TMAX, and only when WR<TMAx,
Hanfu IT M with the memory contents of Working Crescing WR
A
After that, the operations of the stethogens n5 to n12 are repeated until the card reading operation is completed.

以上の動作によってバッフITMINには最高のカード
の走行速度に対応したタイマカウント値が記憶され、ま
たバッファTMAXには最低のカードの走行速度に対応
したタイマカウント値が記憶されることになる。
Through the above operations, the timer count value corresponding to the running speed of the highest card is stored in the buffer ITMIN, and the timer count value corresponding to the running speed of the lowest card is stored in the buffer TMAX.

第3図は上記の動作によってバッファTMIN及びTM
AXに記憶された値を読み出すアプリケーションを示す
フロー図であるー。
FIG. 3 shows that the buffers TMIN and TM are
FIG. 2 is a flow diagram illustrating an application that reads values stored in AX.

今、第3図においてカードの読取り動作の終了時、ある
いはオペレータのキーボード4からの指示によってバッ
ファTMINの内容がRAM6内のA領域に転送記憶さ
れ、更にその内容がCPUa内の表示出力バッファDB
Bに出力され(ステ7プn 2 + )、またバッフI
TMAXの内容がRAM6内のA領域に転送記憶され、
更にその内容がCPC3内の表示バッファDBHに出力
さ←(ヌテノプn22)、上記表示バッファDBBに転
送された最小及び最大のタイマ値が表示装置8で表示さ
れると共に印字装置9で印字される。
Now, in FIG. 3, at the end of the card reading operation or by an operator's instruction from the keyboard 4, the contents of the buffer TMIN are transferred and stored in the A area in the RAM 6, and the contents are further transferred to the display output buffer DB in the CPUa.
B (step 7 n 2 + ), and buffer I
The contents of TMAX are transferred to area A in RAM6 and stored.
Further, the contents are outputted to the display buffer DBH in the CPC 3 (nutenop n22), and the minimum and maximum timer values transferred to the display buffer DBB are displayed on the display device 8 and printed on the printing device 9.

以上のようにしてカードの走行動作中に計測したタイマ
値のTMIN値及びT MAX値の表示あるいは印字出
力を確認することによってカードの走行状態を知ること
が出来る。
The running state of the card can be known by checking the display or print output of the timer values TMIN and TMAX measured during the running operation of the card as described above.

即ち上記したTMIN値及びTMAX値はカードリーダ
1からのクロック信号RCPの1サイクルの間隔をタイ
マによりカウントしたカウント数の最小及び最大値であ
り、実際のRCPの1サイクル時間TBは であり、それぞれカードの走行速度(の逆数)に対応し
たものになっている。
That is, the TMIN value and TMAX value mentioned above are the minimum and maximum values of the counts counted by the timer at the interval of one cycle of the clock signal RCP from the card reader 1, and the actual one cycle time TB of RCP is, respectively. It corresponds to (the reciprocal of) the running speed of the card.

したがって、これらの値をめることにより、次のような
ことを行なわせることができる。
Therefore, by setting these values, the following can be performed.

■カードが正常に読捷れる限界値をTMIN値及びTM
AX値よりめ、この値を表示または印字することにより
、カードリーダの読み取り能力を知ることが出来、例え
ばカードリーダの仕様書等と照合することにより、その
カードリーダの良否を判定することができる。
■The limit value at which the card can be read normally is the TMIN value and TM.
By displaying or printing this value based on the AX value, it is possible to know the reading ability of the card reader, and by comparing it with the card reader's specifications, for example, it is possible to determine whether the card reader is good or bad. .

■カードリーダの仕様書等にもとすいて、カード走りの
適正速度(規格内の速度)の範囲をめ、実際の走行速度
に対応したTMIN値及びTMAX値と比較すると・と
により、カードが適正速度で読まれているか否かを判断
することが出来る。
■ Based on the specifications of the card reader, determine the appropriate speed range for card running (speed within the standard), and compare it with the TMIN and TMAX values corresponding to the actual running speed. It is possible to judge whether or not the text is being read at an appropriate speed.

〈発明の効果〉 以上のように本発明のカードリーダ制御装置によれば、
カードリーダから導出されるクロック信号の間隔を計測
する計測手段と、この1測手段の計測結果にもとすいた
値を記憶する記憶手段と、この記憶手段の記憶内容を読
み出す読出手段とを備えるように構成されているため、
記憶手段の記憶内容にもとすいてカードの走行速度が適
正であったか否かを判定することが可能となり、その結
果カードリーダの信頼性を改善することが出来る。
<Effects of the Invention> As described above, according to the card reader control device of the present invention,
It is equipped with a measuring means for measuring the interval of clock signals derived from the card reader, a storing means for storing a value calculated from the measurement result of the measuring means, and a reading means for reading out the stored contents of the storing means. Because it is configured as
It becomes possible to determine whether the traveling speed of the card is appropriate based on the stored contents of the storage means, and as a result, the reliability of the card reader can be improved.

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

第1図は本発明を実施した装置の構成を示すブロック図
、第2図はカード読み増り速度検出及び記憶のだめのア
プリケーションを示すフロー図、第3図は記憶内容の読
み出しのアプリケーションを示すフロー図、第4図は本
発明装置の動作説明に供する信号波、形図である。 1・・・カードリーダ、2−・・コントローラ、3・・
CPU、6・・・RAM、8・・・表示装置、9・・・
印字装置、 TMIN・・・計測最小値記憶エリア、 
TMAX・・・計測最大値記憶エリア、■で1・・・ク
ロック信号。
Fig. 1 is a block diagram showing the configuration of a device implementing the present invention, Fig. 2 is a flow chart showing an application for detecting increased card reading speed and storing data, and Fig. 3 is a flow chart showing an application for reading out stored contents. 4 are signal wave and shape diagrams for explaining the operation of the device of the present invention. 1...Card reader, 2-...Controller, 3...
CPU, 6...RAM, 8...Display device, 9...
Printing device, TMIN...measurement minimum value storage area,
TMAX...Measurement maximum value storage area, 1 for ■...Clock signal.

Claims (1)

【特許請求の範囲】 1 カードリーダから導出されるクロック信号の間隔を
計測する計測手段と、 該計測手段の計測結果にもとすいた値を記憶する記憶手
段と、 該記憶手段の記憶内容を読み出す読出手段と、を備えた
ことを特徴とする力〜ドリーダ制御装置。 2 上記記憶手段は上記計測結果の最大値及び最小値を
記憶するように成したことを特徴とする特許請求の範囲
第1項記載のカードリーダ制御装置。
[Scope of Claims] 1. Measuring means for measuring the interval of clock signals derived from a card reader, storage means for storing a value corresponding to the measurement result of the measuring means, and storage contents of the storage means. A power-reader control device comprising: reading means for reading. 2. The card reader control device according to claim 1, wherein the storage means is configured to store maximum and minimum values of the measurement results.
JP59018966A 1984-02-02 1984-02-02 Card reader controller Pending JPS60163189A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP59018966A JPS60163189A (en) 1984-02-02 1984-02-02 Card reader controller
DE19853503443 DE3503443A1 (en) 1984-02-02 1985-02-01 CONTROL SYSTEM FOR DETERMINING THE CARD SPEED IN A CARD READER
US07/051,171 US4782455A (en) 1984-02-02 1987-05-18 Card speed determination in a card reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59018966A JPS60163189A (en) 1984-02-02 1984-02-02 Card reader controller

Publications (1)

Publication Number Publication Date
JPS60163189A true JPS60163189A (en) 1985-08-26

Family

ID=11986392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59018966A Pending JPS60163189A (en) 1984-02-02 1984-02-02 Card reader controller

Country Status (1)

Country Link
JP (1) JPS60163189A (en)

Similar Documents

Publication Publication Date Title
US4782455A (en) Card speed determination in a card reader
JPS60163189A (en) Card reader controller
JPS6425769U (en)
JP3013251U (en) Prepaid card reader
JPH071603B2 (en) Magnetic stripe data reader
JPS58158784A (en) Discrimination of propriety in bit interval of ticket
JP3013247U (en) Prepaid card determination mechanism
JP3013141U (en) Prepaid card determination mechanism
JPS60163190A (en) Card reader controller
JP3334682B2 (en) Method and apparatus for detecting gap between blocks in magnetic tape device
JP3013006U (en) Prepaid card type determination mechanism
JP3280853B2 (en) Writing device for magnetic recording media
JPH02165350A (en) Information processor
JPS62154187A (en) Card processor
JPH05174201A (en) Ic card reader/writer
JPH0129096Y2 (en)
JP3013013U (en) Prepaid card type determination mechanism
JPS61141088A (en) Data i/o device
KR100293573B1 (en) The method of report used magnetic card system for entertainment machines
JPS63317950A (en) Data recording processing system by magnetic tape
JPH0498658A (en) Recording medium reading device
JPH0498657A (en) Recording medium reading device
JPS61242375A (en) Signal reading device
JPH0263872A (en) Paper automatic discrimination system for printer
JPS6319046A (en) Register testing system