JPH0351983A - Method for maintaining reading and writing function of card reader - Google Patents

Method for maintaining reading and writing function of card reader

Info

Publication number
JPH0351983A
JPH0351983A JP1187087A JP18708789A JPH0351983A JP H0351983 A JPH0351983 A JP H0351983A JP 1187087 A JP1187087 A JP 1187087A JP 18708789 A JP18708789 A JP 18708789A JP H0351983 A JPH0351983 A JP H0351983A
Authority
JP
Japan
Prior art keywords
card
card reader
reading
data
writing
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
JP1187087A
Other languages
Japanese (ja)
Inventor
Kiyoaki Takiguchi
清昭 滝口
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.)
NIPPON KAADE CENTER KK
Original Assignee
NIPPON KAADE CENTER KK
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 NIPPON KAADE CENTER KK filed Critical NIPPON KAADE CENTER KK
Priority to JP1187087A priority Critical patent/JPH0351983A/en
Publication of JPH0351983A publication Critical patent/JPH0351983A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To maintain invariably constant reading/writing characteristics of the card reader by providing a characteristic correction program which corrects time variation of the reading/writing characteristics on the memory of an IC card. CONSTITUTION:The card reader consists of a card reader main body 5 which includes a mechanism part, etc., and an IC card 31 constituted by packaging integrally memories 25 and 26 and a circuit part 23 including a control circuit 24 controlling respective circuits, and the IC card 31 is constituted detachably from the card reader main body 5. Further, the characteristic correction program which corrects the time variation of the reading/writing characteristics of the card reader 5 is stored on the memory 25. The control circuit 24 corrects reading/writing timing in bit units of data at the time of the reading and writing of data on and from the magnetic stripe of the magnetic card and corrects the level of a write signal at the time of the data writing according to the characteristic correction program. Consequently, the reading/writing characteristics of the card reader are held constant.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は磁気カードにより代金の精算を行うことができ
る磁気カード精算装置を構戒するカードリーダの読取・
書込機能保持方法に係り、特に機構部及びその駆動回路
を含むカードリーダ本体に、各種データを記憶するメモ
リ及び各回路を制御する制御回路を含む回路部が一体的
に実装された回路部が着脱可能にI戒されたカードリー
ダの読取・書込機能保持方法に関する。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention is directed to reading and writing of a card reader for a magnetic card payment device that allows payments to be made using a magnetic card.
In particular, the method for retaining the write function includes a circuit section in which a circuit section including a memory for storing various data and a control circuit for controlling each circuit is integrally mounted on a card reader body including a mechanism section and its drive circuit. The present invention relates to a method for maintaining read/write functions of a removably attached card reader.

〔従来の技術〕[Conventional technology]

磁気カードにより代金の精算を行うことができる磁気カ
ー.ド精算装置は現在、電話機、自動券売機、自動販売
機等に利用されている。この磁気カード精算装置に使用
される磁気カードはブリペイドカードと称され、予め代
金を支払うことにより磁気カード精算装置により自動的
に発行される。
A magnetic car that allows payments to be made using a magnetic card. Electronic payment devices are currently used in telephones, automatic ticket vending machines, automatic vending machines, etc. The magnetic card used in this magnetic card settlement device is called a bripaid card, and is automatically issued by the magnetic card settlement device after payment is made in advance.

発行されたプリベイドカードは以後、現金を使用せずに
そのカードを使用できる磁気カード精算装置が設置され
ている販売店等で代金の精算を行うことができる。この
ブリペイドカードは一種の金券であり、タレジントカー
ドのような磁気カードとは性格を異にするものである. ところでブリペイドカードにより代金を精算する際にブ
リペイドカードの磁気記録部分(M1気ストライプ)か
らデータを読み出し、精算後にデータを再書込みする装
置としてカードリーダがあり、このカードリーダは磁気
カード精算装置の一部を構戒している。
Thereafter, the issued prepaid card can be used for payment at a store or the like where a magnetic card payment device is installed that allows the card to be used without using cash. This bripaid card is a kind of cash voucher, and has a different character from a magnetic card such as a Tallent card. By the way, there is a card reader as a device that reads data from the magnetic recording part (M1 stripe) of the Bripaid card and rewrites the data after payment when paying with a Bripaid card.This card reader is a magnetic card payment device. Some of them are under guard.

従来はカードリーダのうち機構部及びその駆動回路を含
むカードリーダ本体のみが単体で市販されており、カー
ドリーダを使用する会社側でこのカードリーダ本体を購
入すると共に入出力インターフェースを製作し、各回路
部を制御する、ソフトウエアが格納されたメモリを含む
制御回路が実装されたコントローラ基板のみがカードリ
ーダを管理する管理本部より供給されるようになってい
た。
Conventionally, only the main body of the card reader, which includes the mechanical part and its drive circuit, was commercially available as a standalone product, and the company using the card reader purchased the main body of the card reader and manufactured the input/output interface. Only a controller board on which a control circuit including a memory storing software that controls the circuit section is mounted is supplied by the management headquarters that manages the card reader.

またカードリーダを廃棄処分する場合にはコントローラ
基板のうちソフトウエアが格納されているメモリ部分を
管理本部に返却させることにより廃棄品の悪用を防止す
るようにしていた.しかしながら、このようなカードリ
ーダの廃棄品が出廻った場合にコントローラ基板(メモ
リを除いた)が残っているので、アマチュアの技術レベ
ルでもソフトウェアの解析が可能であり、カードリーダ
が再生されてしまう可能性があるという問題があった。
Additionally, when disposing of a card reader, the memory section of the controller board that stores the software was returned to the management headquarters to prevent the misuse of the discarded product. However, when a discarded card reader like this comes around, the controller board (minus the memory) remains, so even an amateur can analyze the software, and the card reader can be remanufactured. The problem was that it was possible.

またカードリーダ本体と、入出力インターフェースを含
む制御部とが分離して構威されていた為に簡単に改造さ
れる可能性があるという問題があった。
Furthermore, since the card reader body and the control section including the input/output interface were configured separately, there was a problem that they could be easily modified.

〔発明が解決しようとする課題] 上述した問題を解決するために我々はカードリーダを廃
棄処分した場合にその再生または改造の防止を図,るべ
くカードリーダを、機構部及びその駆動回路を含むカー
ドリーダ本体に、各種データを記憶するメモリ及び各回
路を制御する制御回路を含む回路部が一体的に実装され
た回路部を着脱可能に構威し、この一体的に実装された
回路部を管理するカードリーダの管理方法を既に提案し
ている。
[Problems to be Solved by the Invention] In order to solve the above-mentioned problems, we aim to prevent the card reader from being recycled or modified when it is disposed of, and to prevent the card reader from being recycled or modified, preferably including the mechanical part and its drive circuit. The main body of the card reader has a removably mounted circuit section, which includes a memory for storing various data and a control circuit for controlling each circuit. We have already proposed a method for managing card readers.

ところで、このような構成からなるカードリーダの機構
部は同一の仕様であっても複数のメーカーに製造を依頼
した場合に各メーカー並びに製造ロットによりその加工
精度、製造品質にある程度、ばらつきが生じるのは避け
られない。このように製造段階で加工精度、製造品質に
ばらつきが生じてもユーザに設置された当初は正常に動
作するのは勿論である. 一方新品のカードリーダであってもカードリーダが設置
されるユーザの使用頻度、更にはカードリーダの設置場
所(例えば日の当たる場所、当らない場所等)によりそ
の機構部(例えば磁気カードを移動させるビンチローラ
、そのシャフト等)の劣化、摩耗の経年変化が異なる.
この機構部のうち磁気ヘッド、磁気カードを移動させる
ビンチローラ、シャフト等の摩耗の程度がある程度以上
になると磁気カードに書き込まれているデータを読み取
る際に読取エラーが発生し、またデータを書き込む際に
も同様に書込エラーが発生する.このようにカードリー
ダの製造段階に発生したカードリーダの機構部の加工精
度、製造品質のばらつきに、ユーザにカードリーダが設
置され、それぞれ使用されることによりその機構部の磁
気ヘッド、ローラ等の部品の摩耗、劣化の経年変化が加
わり、各ユーザに設置されているカードリーダのデータ
の読取・書込特性が使用年数が経過するにつれて極端に
ばらつく結果となる。この結果、あるユーザに設置され
ているカードリーダで正常にデータの読取・書込が行わ
れた磁気カードが他のユーザのカードリーダでは使用で
きないという事態が生じる可能性がある。
By the way, even if the mechanical part of a card reader with such a configuration has the same specifications, if manufacturing is commissioned to multiple manufacturers, there will be some variation in processing accuracy and manufacturing quality depending on each manufacturer and manufacturing lot. is unavoidable. Even if there are variations in processing accuracy and manufacturing quality during the manufacturing stage, it goes without saying that the system will operate normally when it is installed by the user. On the other hand, even if a new card reader is used, the frequency of use by the user for whom the card reader is installed, and the location where the card reader is installed (for example, a place exposed to sunlight, a place that is not exposed to sunlight, etc.) will depend on its mechanism (for example, moving the magnetic card). Vinci rollers, their shafts, etc.) have different deterioration and wear over time.
If the degree of wear of the magnetic head, the vinyl roller that moves the magnetic card, the shaft, etc. in this mechanical part exceeds a certain level, a reading error will occur when reading the data written on the magnetic card, and when writing the data. A write error occurs in the same way. In this way, variations in the processing accuracy and manufacturing quality of the card reader's mechanical part that occur during the manufacturing stage of the card reader, and as the card reader is installed and used by users, the magnetic head, rollers, etc. of the mechanical part of the card reader are Added to aging changes such as wear and deterioration of parts, the data read/write characteristics of card readers installed at each user become extremely variable over the years of use. As a result, a situation may arise in which a magnetic card on which data has been successfully read and written by a card reader installed by a certain user cannot be used by another user's card reader.

本発明はこのような事情に鑑みてなされたもので,あり
、機構部の摩耗、劣化等の経年変化が生じてもデータの
読取・書込(機能)特性を常に一定に保持することがで
きるカードリーダの読取・書込機能保持方法を提供する
ことを目的とするものである. 〔課題を解決するための手段〕 本発明は上記目的を達或するために、機構部及びその駆
動回路を含むカードリーダ本体に、各種データを記憶す
るメモリ及び各回路を#御する制御回路を含む回路部が
一体的に実装された回路部が着脱可能に構威されたカー
ドリーダの読取・書込機能保持方法において、前記メモ
リにはカードリーダの読取・書込特性の経年変化を補正
する特性補正プログラムが格納されており、前記制御回
路は該特性補正プログラムに基づいて磁気カードの磁気
ストライプからのデータの読取時または該磁気ストライ
プへのデータの書込時におけるビット単位でのデータの
読取・書込タイミングの時間的補正並びにデータ書込時
における書込信号レベルの補正を行うことを特徴とする
ものである。
The present invention has been developed in view of these circumstances, and is capable of maintaining data read/write (functional) characteristics at a constant level even when mechanical parts undergo wear, deterioration, or other changes over time. The purpose is to provide a method for maintaining the reading and writing functions of a card reader. [Means for Solving the Problems] In order to achieve the above object, the present invention includes a card reader body including a mechanism section and its drive circuit, and a memory for storing various data and a control circuit for controlling each circuit. In the method for maintaining the read/write function of a card reader in which a circuit unit including a circuit unit integrally mounted is removably configured, the memory is configured to compensate for secular changes in the read/write characteristics of the card reader. A characteristic correction program is stored, and the control circuit reads data bit by bit when reading data from a magnetic stripe of a magnetic card or writing data to the magnetic stripe based on the characteristic correction program. - It is characterized by temporal correction of write timing and correction of write signal level during data writing.

〔作用〕[Effect]

本発明が適用されるカードリーダは機構部等を含むカー
ドリーダ本体と、メモリ及び各回路を制御する制御回路
を含む回路部が一体的に実装された回路部とからなり、
この一体的に実装された回路部はカードリーダ本体に着
脱可能に構威されている。
A card reader to which the present invention is applied consists of a card reader main body including a mechanism section, etc., and a circuit section in which a circuit section including a memory and a control circuit for controlling each circuit is integrally mounted,
This integrally mounted circuit section is removably attached to the card reader body.

また上記メモリにはカードリーダの読取・書込特性の経
年変化を補正する特性補正プログラムが格納されている
。制御回路はこの特性補正プログラムに基づいて磁気カ
ードの磁気ストライプへのデータの読取・書込時におけ
るデータのビット単位での読取・書込タイξングの時間
的補正並びにデータ書込時における書込信号のレベルの
補正を斤う。
The memory also stores a characteristic correction program for correcting secular changes in the reading/writing characteristics of the card reader. Based on this characteristic correction program, the control circuit temporally corrects the timing of reading and writing data in bit units when reading and writing data to the magnetic stripe of the magnetic card, and when writing data. Perform signal level correction.

従って本発明によれば機構部が経年変化により摩耗する
ことに起因してカードリーダの読取・書込特性が変化し
てもその変化状態に応じて補正されるので、カードリー
ダの読取・書込特性は常に一定に保持される。
Therefore, according to the present invention, even if the reading/writing characteristics of the card reader change due to wear of the mechanical part over time, the reading/writing characteristics of the card reader are corrected according to the changed state. The properties are always held constant.

〔.実施例〕[.. Example〕

以下、本発明の実施例を図面を参照して説明する。第1
図には本発明が適用されるカードリーダに使用される磁
気カード(プリベイドカード)の構戒が示されている。
Embodiments of the present invention will be described below with reference to the drawings. 1st
The figure shows the structure of a magnetic card (prepaid card) used in a card reader to which the present invention is applied.

第1図(1−A)はプリペイドカードの正面図であり、
第1図(1−B)はプリペイドカードの裏面図である.
第1図(1−C)は磁気ストライプに記録されている磁
化の状態を説明するための図である。
FIG. 1 (1-A) is a front view of the prepaid card,
Figure 1 (1-B) is a back view of the prepaid card.
FIG. 1 (1-C) is a diagram for explaining the state of magnetization recorded on the magnetic stripe.

前記ブリベイドカードlの表面には第1図CIA〉に示
すように、精算金額および精算を表示するためのエリア
2が設けられており、その他必要な事項(例えば販売金
額、発行者名等)が印刷されている。また、プリペイド
カードlの裏面には第1図(1−B)に示すように、代
金等の可変情報が書き込まれた磁気ストライプ3と、基
準ビットインターバルで固定情報が書き込まれた磁気ス
トライプ4とが設けられている。前記磁気ストライプ3
には、販売金額、発行者名等がコードで記録される記録
エリアが設けられている.また、磁気ストライプ10は
必要なデータが”1” ″0”をもって記録されている
。また、磁気ストライプ10はII I It  ″゛
O”とも基本的に同一のビットインターバルで記録され
ているのである.磁気ストライプ4は、基準ビットイン
ターバルで記録されているのである。磁気ストライプ4
は、基準ビットインターバルで”1″ ”0″がカード
発行時に正確な書込装置で記録されている。
As shown in Figure 1 CIA, on the front surface of the Vliveid card l, there is an area 2 for displaying the payment amount and payment information, as well as other necessary information (e.g. sales amount, name of issuer, etc.) is printed. In addition, as shown in Figure 1 (1-B), the back of the prepaid card l has a magnetic stripe 3 on which variable information such as the price is written, and a magnetic stripe 4 on which fixed information is written at standard bit intervals. is provided. The magnetic stripe 3
has a recording area where sales amounts, publisher names, etc. are recorded in codes. Further, the magnetic stripe 10 has necessary data recorded as "1" and "0". Furthermore, the magnetic stripe 10 is also recorded with basically the same bit interval as II It ``゛O''. The magnetic stripe 4 is recorded at standard bit intervals. magnetic stripe 4
is a reference bit interval in which "1" and "0" are recorded by an accurate writing device when the card is issued.

また、第1図(1−C)に示す磁気ストライプ3、4に
おいて、IT O”はそのピントインターバノレ内で磁
化の変化が無く、“I I1はそのビノトインターバル
内で磁化の変化が有るように記録されている。
In addition, in the magnetic stripes 3 and 4 shown in FIG. 1 (1-C), ITO" has no change in magnetization within its focus interval, and "II1 has a change in magnetization within its focus interval. It is recorded as follows.

次に第2図にカードリーダの回路構成を示す。Next, FIG. 2 shows the circuit configuration of the card reader.

同図においてカードリーダ5は、ブリペイドカードの磁
気ストライプ4に書き込まれている固定情報を読み取る
読取へンド10と、プリペイドカードの磁気ストライプ
3に可変情報の読取・書込を行う読取・書込ヘノドl1
と、プリペイドカードの位置検出等を行う各種センサ1
2と、ブリペイドカードを移送するローラ(図示せず)
等の機構部を駆動するモータ13と、プリペイドカード
に残金を表示する等の為にパンチ孔を開けるパンチ機構
14と、読取ヘッドlOにより検出された読取fi号を
波形整形する波形整形回路15と、読取・書込ヘッドl
1からの読取信号を波形整形し、また読取・書込ヘッド
に書込信号を出力する読取・書込回路17と、モ−夕I
3を駆動制御するモータコントローラ19と、パンチ機
構14を駆動する駆動回路20と、入出力インターフェ
ース22と、各回路部を制御する制御回路23と、表示
装置30とから構戒されている。
In the figure, the card reader 5 includes a reading hand 10 that reads fixed information written on the magnetic stripe 4 of a prepaid card, and a reading/writing hand that reads and writes variable information on the magnetic stripe 3 of the prepaid card. Henodo l1
and various sensors 1 that detect the position of prepaid cards, etc.
2, and a roller (not shown) for transporting the Bripaid card.
A punch mechanism 14 that punches holes for displaying the balance on a prepaid card, etc., and a waveform shaping circuit 15 that shapes the waveform of the read fi number detected by the reading head IO. , read/write head
A read/write circuit 17 waveform-shapes the read signal from the read/write head 1 and outputs a write signal to the read/write head;
3, a drive circuit 20 that drives the punch mechanism 14, an input/output interface 22, a control circuit 23 that controls each circuit section, and a display device 30.

また制御回路23はCPU24と、RAM25と、各種
のプログラム及び固定データが格納されているROM2
6とからなり、これらはバスライン28により接続され
ている.更に人出力インターフェース22とCPLl2
4とはバスライン27により、CPU24と表示装置3
0とはバスライン29により接続されている。
The control circuit 23 includes a CPU 24, a RAM 25, and a ROM 2 in which various programs and fixed data are stored.
6, which are connected by a bus line 28. Furthermore, the human output interface 22 and CPL12
4 is a bus line 27 that connects the CPU 24 and the display device 3.
0 through a bus line 29.

上記構成において、本発明が適用されるカードリーダ5
は第3図に示すように入出力インターフェース22、制
御回路23と共に、更に波形整形回路15、読取・書込
回路工7、駆動回路20を一体化して実装し、ICカー
ド3lとして一つの回路部に形威し、このICカード3
1が機構部及びその駆動回路等の一部の回路部を含むカ
ードリーダ本体に装着されることによりカードリーダと
して機能させることができるようになっている。
In the above configuration, the card reader 5 to which the present invention is applied
As shown in FIG. 3, an input/output interface 22, a control circuit 23, a waveform shaping circuit 15, a read/write circuit 7, and a drive circuit 20 are integrated and mounted to form one circuit section as an IC card 3l. This IC card 3
1 is attached to a card reader main body that includes a mechanism section and some circuit sections such as its drive circuit, so that it can function as a card reader.

次にカードリーダ5の外観を第4図に示す。同図におい
てカードリーダ5のケース32の前面には表示装置30
の表示部33が設けられている。更にケース32の前面
下方にはブリペイドカードを挿入するためのカード差込
口34が設けられている。
Next, the appearance of the card reader 5 is shown in FIG. In the figure, a display device 30 is provided on the front of the case 32 of the card reader 5.
A display section 33 is provided. Furthermore, a card insertion slot 34 for inserting a BuriPaid card is provided at the lower front of the case 32.

次にカードリーダ5の縦断面を第5図に示す。Next, a longitudinal section of the card reader 5 is shown in FIG.

同図において、ケース32の後面上部にはICカード3
Iを装着するための挿入口36が設けられており、この
挿入口36の最奥部にはICカード3lに設けられたコ
ネクタ31aに接続されるコネクタビン35aを有する
コネクタ35が設けられている。ICカード3lを矢印
方向に挿入口36内に挿入することによりカードリーダ
本体にICカード31が装着される。
In the same figure, an IC card 3 is placed on the upper rear surface of the case 32.
An insertion port 36 for inserting the IC card 3L is provided, and a connector 35 having a connector pin 35a connected to a connector 31a provided on the IC card 3l is provided at the innermost part of the insertion port 36. . The IC card 31 is attached to the card reader main body by inserting the IC card 3l into the insertion slot 36 in the direction of the arrow.

次にカードリーダ5の内部構戒を第6図に示す。Next, the internal structure of the card reader 5 is shown in FIG.

同図においてカードリーダ本体は次のように構威されて
いる.すなわち、前記カード差込口34に対応した位置
には、一対の送りローラー37、38が平行に回転可能
に設けられている。前記送りローラー37、38に近接
して読取ヘッド10が設けられている.前記読取へッド
10は、プリペイドカード1の磁気ストライプ4から基
準ビットインターバルで書き込まれた固定情報を読み取
るものである。
In the figure, the card reader body is structured as follows. That is, at a position corresponding to the card insertion slot 34, a pair of feed rollers 37 and 38 are provided so as to be rotatable in parallel. A reading head 10 is provided adjacent to the feed rollers 37 and 38. The reading head 10 reads fixed information written at standard bit intervals from the magnetic stripe 4 of the prepaid card 1.

また、反射型の光学読取装置39、40、4lが設けら
れている。これら反射型の光学読取装置39、40、4
1は、ブリペイドカード3の位置を検出するものである
。読取ヘッド10の近傍には、読取書込へシド1lが設
けられている.この読取書込ヘッドl1は、磁気ストラ
イプ3に書き込まれている可変情報を読み取り、又は再
書込するものである。読取ヘッド10に対向した位置に
押圧ローラー42が設けられている。また読取・書込ヘ
ッド11に対向した位置に押圧ローラー43が設けられ
ている。前記一対の送りローラー37、38に対して、
さらに一対の送りローラー44、45が平行に回転可能
に設けられている.前記送りローラー44、45に対し
て図示左側には、パンチ機構14が設けられている.か
かるパンチ機構14は、パンチ指令によりブリペイドカ
ード1のエリア2にパンチ孔を開けられるような機構を
有している。また、一対のローラー46、47が平行に
回転可能に設けられており、前記ローラー46、47の
図示右側には、ストツパ兼用のカード当接検出センサ4
8が設けてある。前記送りローラー37、送りローラー
44、ローラー46は、図示しない機構を介して駆動用
のステップモータ13に連結されており、ステップモー
タl3の回転にしたがって回転動作することになる. 前記読取ヘッドlOと、読取書込ヘッド11と、光学読
取装置39、40、41と、パンチ機構14と、力一ド
当接検出センサ48は、コネクタ35を介してICカー
ト゛31内に実装されている制御回路23に電気的に接
続される。また、制御回路23は、モーターコンドロー
ラl9を介してステップモータ13を回転駆動させるよ
うにしてある。
Further, reflective optical reading devices 39, 40, and 4l are provided. These reflective optical reading devices 39, 40, 4
1 detects the position of the bripaid card 3. A reading/writing side 1l is provided near the reading head 10. This read/write head l1 reads or rewrites variable information written on the magnetic stripe 3. A pressure roller 42 is provided at a position facing the reading head 10. Further, a pressure roller 43 is provided at a position facing the read/write head 11 . With respect to the pair of feed rollers 37 and 38,
Furthermore, a pair of feed rollers 44 and 45 are provided so as to be rotatable in parallel. A punch mechanism 14 is provided on the left side of the feed rollers 44 and 45 in the drawing. The punch mechanism 14 has a mechanism capable of punching a hole in the area 2 of the bripaid card 1 in response to a punch command. A pair of rollers 46 and 47 are rotatably provided in parallel, and a card contact detection sensor 4 that also serves as a stopper is located on the right side of the rollers 46 and 47 in the figure.
8 is provided. The feed roller 37, the feed roller 44, and the roller 46 are connected to the driving step motor 13 via a mechanism not shown, and rotate according to the rotation of the step motor 13. The reading head 10, the reading/writing head 11, the optical reading devices 39, 40, 41, the punch mechanism 14, and the force-cold contact detection sensor 48 are mounted in the IC card 31 via the connector 35. The control circuit 23 is electrically connected to the control circuit 23 . Further, the control circuit 23 is configured to rotate the step motor 13 via a motor controller l9.

既述したようにICカード31に実装されている制御回
路23は演算処理を行うCPU24と、RAM25と、
各種プログラム及びICカードの管理番号等の固定デー
タが格納されているROMZ6とから構威されている. 次に第2図における波形整形回路15の構戒を第7図に
示す。同図において波形整形回路15はブリ777”l
50と、微分器151と、ゼロボルトコンパレータ15
2と、パルス整形回路153とから構威されている。こ
のような構成において、ブリペイドカード1の磁気スト
ライプ4に書き込まれた磁気記録データ(第8図(a)
参照)は、読取ヘッド10により読み取られる.この読
取ヘッド10で読み取られたデータ(第8図(b)参照
)は、プリアンプ150で増幅される。その増幅された
データは微分器151で微分される,ついで、微分した
信号(第8図(c)参照)は、ゼロボルト・コンバレー
タ152でゼロボルトを検出し、それを出力する(第8
図(d)参照)。
As mentioned above, the control circuit 23 mounted on the IC card 31 includes a CPU 24 that performs arithmetic processing, a RAM 25,
It consists of a ROMZ6 that stores various programs and fixed data such as IC card management numbers. Next, FIG. 7 shows the configuration of the waveform shaping circuit 15 in FIG. 2. In the same figure, the waveform shaping circuit 15 is 777"l
50, differentiator 151, and zero volt comparator 15
2 and a pulse shaping circuit 153. In such a configuration, the magnetic recording data written on the magnetic stripe 4 of the Bripaid card 1 (see FIG. 8(a)
) is read by the reading head 10. The data read by this read head 10 (see FIG. 8(b)) is amplified by a preamplifier 150. The amplified data is differentiated by a differentiator 151.Then, the differentiated signal (see FIG. 8(c)) detects zero volts by a zero volt converter 152, and outputs it (see FIG. 8(c)).
(See figure (d)).

この信号は、パルス整形回路153でパルス整形するこ
とにより、第8図(e)に示すような読取データが得ら
れる.したがって、この読取データは制御回路23に取
り込まれて、制御回路23において第8図に示すような
ビットインターバルTO,T工、T2、・・・が測定で
きる。なお、読取・書込回路17内に設けられている波
形整形回路は、波形整形回路15と同一回路構戒となっ
ている.次に制御回路23により実行されるプログラム
の内容を第9図に示す。同図において、カード差込口3
4にプリペイドカード3が挿入された状熊が光学読取装
置39により検出されると(ステップ200) ,制御
回路23はCPU24の制御下に、入出力インターフェ
ース22、モータコントローラl9を介してステップモ
ータ13を回転させる(ステップ20l)。
This signal is pulse-shaped by a pulse shaping circuit 153 to obtain read data as shown in FIG. 8(e). Therefore, this read data is taken into the control circuit 23, and the control circuit 23 can measure the bit intervals TO, T, T2, . . . as shown in FIG. Note that the waveform shaping circuit provided in the read/write circuit 17 has the same circuit configuration as the waveform shaping circuit 15. Next, the contents of the program executed by the control circuit 23 are shown in FIG. In the same figure, card slot 3
When the optical reader 39 detects the prepaid card 3 inserted into the stepper motor 13 (step 200), the control circuit 23 operates the step motor 13 under the control of the CPU 24 via the input/output interface 22 and the motor controller 19. (step 20l).

ここで読取ヘッド10、読取・書込ヘッド11を介して
プリベイドカードIの磁気ストライプ4、3よりそれぞ
れ、1ビント単位のデータが基準ビットインターベルT
えで書き込まれている固定情報、可変情報が読み取られ
(ステップ202)、RAM25の所定のメモリエリア
にそれらの読取データ並びにその信号レベルを示すデー
タが格納される(ステップ203) . また、ブリペイドカードlは、カード当接検出センサ4
8に当接するとぐステップ204)、これが入出力イン
ターフェース22を介してCPU24に与えられるので
、CPU24はステップモータl3の回転を停止させる
(ステップ205)。
Here, the data in units of 1 bit is transmitted from the magnetic stripes 4 and 3 of the prepaid card I through the read head 10 and the read/write head 11 at a reference bit interval T.
The fixed information and variable information written in the program are read (step 202), and the read data and data indicating the signal level are stored in a predetermined memory area of the RAM 25 (step 203). In addition, the bripaid card l has a card contact detection sensor 4.
8, step 204) is applied to the CPU 24 via the input/output interface 22, so the CPU 24 stops the rotation of the step motor l3 (step 205).

ここで、制御回路23においてCPU24は、プリペイ
ドカード1の磁気ストライプ4から読み取った固定情報
からビットインターバルをT.   T・・・・・・求
める処理を実行する(ステップ206)。
Here, in the control circuit 23, the CPU 24 determines the bit interval from the fixed information read from the magnetic stripe 4 of the prepaid card 1. T...Execute the required process (step 206).

次に磁気ストライプ4から読み取られた固定情報の各ビ
ットインターバルTIの基準ビットインターバルT.に
対する時間的変動量であるジッター値△T,(=fTi
  −T,I  l)を算出し、RAM25に椙納する
(ステップ207)。磁気ストライプ3、4にそれぞれ
書き込まれている可変情報、固定情報は共に最初は基準
ビットインターバルTIで書き込まれる。磁気ストライ
プ4に書き込まれた固定情報はその後、再書込がされる
ことはないので磁気ストライプ4には正確に基準ビット
インターバルT,で固定情報が書き込まれている。
Next, the reference bit interval T. for each bit interval TI of the fixed information read from the magnetic stripe 4. Jitter value △T, (=fTi
-T, Il) is calculated and stored in the RAM 25 (step 207). Both variable information and fixed information written to the magnetic stripes 3 and 4 are initially written at a reference bit interval TI. Since the fixed information written on the magnetic stripe 4 is not rewritten thereafter, the fixed information is written on the magnetic stripe 4 accurately at the reference bit interval T.

一方、既述したように経年変化により、カードリーダの
機構部のブリベイドカードlを移送するローラ、あるい
はモータのシャフト等が摩耗することによりブリペイド
カード1の移動速度が周期的に変動し、この結果磁気ス
トライプ4から読み取られた固定情報のビットインター
バルは第10図(1)の点線で示す曲線Pの如く、周期
的に変動する,尚、同図において黒点で示したのは各ビ
ットインターバルのジッター値ΔT,である.これは磁
気ストライプ3から読み出される可変情報についても言
えるが、可変情報の場合は読取動作に付随して必ず書込
動作が行われるので磁気ストライプ3に書き込まれてい
る可変情報のビットインターバルは既に機構部の経年変
化に起因するカードリーダの読取・書込特性の影響を受
けている。
On the other hand, as mentioned above, due to aging, the moving speed of the Bripaid card 1 periodically fluctuates due to wear of the rollers that transport the Bripaid card 1 in the mechanical part of the card reader, or the shaft of the motor, etc. As a result, the bit intervals of the fixed information read from the magnetic stripe 4 fluctuate periodically, as shown by the dotted curve P in Figure 10 (1). is the jitter value ΔT. This can also be said about the variable information read from the magnetic stripe 3, but in the case of variable information, a write operation is always performed along with a read operation, so the bit interval of the variable information written on the magnetic stripe 3 is already fixed. The reading and writing characteristics of the card reader are affected by the aging of the card reader.

そこで、本発明では磁気ストライプ4に基準ビットイン
ターバルT0で正確に書き込まれている固定情報を読み
出し、第10図(n)に示すようにその読取データから
得られたビットインターバルT(f=0,1 、2 、
・・・、n 、・”)とROM26に格納されている基
準ビットインターバル220 (T. )との差である
ジッター値ΔTi(i=0,1  ・・・)″を求め、
各ビットインターバルの補正量、すなわち第10図(I
II)に示すように各ビットインターバルが基準ビット
インターバルTIIに等しくなるように調整する値の補
正量としてジッター値ΔT.に極性を付してRAM25
に格納される。またこの補正量と共に、これに対応させ
て補正後のビットインターバルもRAM25に格納され
る,RAM25に格納されるビットインターバルT.、
補正量、補正後のビットインターバルのテーブルを第1
1図に示す. 次に磁気ストライプ4に書き込まれている固定情報の読
取データから得られたジツター値ΔT.に応じて既にR
AM25の所定のエリアに格納されている可変情報の読
取データのビットインターバルを補正してデータを書き
換えて再度、RAM25に格納する(ステップ20B)
 . 次いで金額データがカードリーダに付設されたキーボー
ド(図示せず)により入力されたか否かが判定され(ス
テップ209)、金額データが入力されると減額が可能
か否か、即ち残金で精算が可能か否かが判定される(ス
テップ210).残金で精算ができない場合にはその旨
、表示装230の表示部33に表示され(ステップ21
6)、このプログラムの実行を終了する. 一方、残金で精算可能である場合には減算処理を行い、
その計算結果をRAM25に格納する(ステップ211
)。次いで既にRAM25に格納されている磁気ストラ
イプ3より読み取られた可変情報の読取信号レベルを示
すデータに基づいて書込信号のレベルを決定し、読取・
書込回路内の増幅器のゲインが制御回路23から入出力
インターフェース22を介して出力される制御信号によ
り調整される(ステップ212) . このようにして書込信号のレベルが補正された状態で各
書込タイミングt+, tz、・・・で既述したRAM
25に格納されている補正ピントインターバルT,一Δ
T ,T z −ΔT2 ・・・・・・で各種データの
書込が行われる(ステップ213)。
Therefore, in the present invention, the fixed information written accurately on the magnetic stripe 4 at the standard bit interval T0 is read out, and the bit interval T (f=0, 1, 2,
. . , n , . . ”) and the reference bit interval 220 (T. ) stored in the ROM 26.
The amount of correction for each bit interval, that is, Fig. 10 (I
As shown in II), the jitter value ΔT. Add polarity to RAM25
is stored in In addition to this amount of correction, the bit interval after correction is also stored in the RAM 25. ,
The correction amount and the bit interval table after correction are shown in the first table.
It is shown in Figure 1. Next, the jitter value ΔT. obtained from the read data of the fixed information written on the magnetic stripe 4. Already according to R
The bit interval of the read data of the variable information stored in a predetermined area of the AM 25 is corrected, the data is rewritten, and the data is stored in the RAM 25 again (step 20B).
.. Next, it is determined whether or not the amount data has been input using a keyboard (not shown) attached to the card reader (step 209), and once the amount data has been input, it is determined whether or not the amount can be reduced, that is, it is possible to pay with the remaining amount. It is determined whether or not (step 210). If the balance cannot be used to settle the payment, a message to that effect is displayed on the display section 33 of the display device 230 (step 21).
6) Terminate the execution of this program. On the other hand, if it is possible to settle the payment with the remaining amount, the subtraction process will be performed.
The calculation result is stored in the RAM 25 (step 211
). Next, the level of the write signal is determined based on the data indicating the read signal level of the variable information read from the magnetic stripe 3 already stored in the RAM 25, and the read/write signal level is determined.
The gain of the amplifier in the write circuit is adjusted by the control signal output from the control circuit 23 via the input/output interface 22 (step 212). With the level of the write signal corrected in this way, the RAM described above is processed at each write timing t+, tz,...
Correction focus interval T, -Δ stored in 25
Writing of various data is performed at T , T z −ΔT2 . . . (step 213).

制御回路23はステップモータ13を逆回転させてブリ
ペイドカード1をカード差込口34まで移動させ(ステ
ップ2l4)、プリペイドカード1がカード差込口34
から抜き取られるのを待ち、プリペイドカードlが抜き
取られるとこのプログラムの実行を終了する(ステップ
215)。
The control circuit 23 reversely rotates the step motor 13 to move the prepaid card 1 to the card insertion slot 34 (step 2l4), and the prepaid card 1 moves to the card insertion slot 34.
When the prepaid card l is removed, the execution of this program is terminated (step 215).

〔発明の効果] 以上に説明したように本発明では機構部及びその駆動回
路を含むカードリーダ本体に、各種データを記憶するメ
モリ及び各回路を制御する制御回路を含む回路部が一体
的に実装された回路部が着脱可能に構威されたカードリ
ーダの読取・書込機能保持方法において、前記メモリに
はカードリーダの読取・書込特性の経年変化を補正する
特性補正ブログラ云が格納されており、前記制御回路は
該特性補正プログラムに基づいて磁気カードの磁気スト
ライプからのデータの読取時または該磁気ストライプへ
のデータの書込時におけるビット単位でのデータの読取
・書込タイξングの時間的補正並びにデータ書込時にお
ける書込信号レベルの補正を行うように構威したので、
本発明によればカードリーダの機構部が経年変化により
摩耗することに起因してその読取・書込特性が変化して
もその特性の変化状態に応じて補正されるので、カード
リーダの読取・書込特性は常に一定に保持される.
[Effects of the Invention] As explained above, in the present invention, a circuit section including a memory for storing various data and a control circuit for controlling each circuit is integrally mounted on a card reader body including a mechanism section and its drive circuit. In the method for maintaining the read/write function of a card reader in which a circuit section is configured to be detachable, the memory stores a characteristic correction blog for correcting secular changes in the read/write characteristics of the card reader. The control circuit controls data read/write timing in bit units when reading data from the magnetic stripe of the magnetic card or writing data to the magnetic stripe based on the characteristic correction program. Since it is designed to perform time correction and correction of the write signal level when writing data,
According to the present invention, even if the reading/writing characteristics of the card reader change due to wear due to aging, the reading/writing characteristics of the card reader are corrected according to the changing state of the characteristics. The write characteristics are always held constant.

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

第1図は本発明が適用されるカードリーダに使用される
磁気カードの構威を示す説明図、第2図は本発明が適用
されるカードリーダの回路構成を示すブロック図、第3
図は第2図に示した回路構戊のうちの一部を一体化して
実装した回路構成を示すブロシク図、第4図は第3図に
示したカードリーダの外観を示す斜視図、第5図は第4
図に示したカードリーダの縦断面図、第6図は第3図に
示したカードリーダの内部構成を示す構成図、第7図は
第2図における波形整形回路の構成を示すブロンク図、
第8図は第7図に示した波形整形回路の動作状態を示す
タイムチャート、第9図は制御回路により実行されるプ
ログラムの内容を示すフローチャート、第10図は読み
出された固定情報のビットインターバル、基準ビットイ
ンターバル及びジッター値の関係を示す説明図、第11
図はメモリに格納される、読取・書込タイミングとビッ
トインターバルT.、その補正量及び補正後のビットイ
ンターバルの関係を表すテーブルを示す図である。
FIG. 1 is an explanatory diagram showing the configuration of a magnetic card used in a card reader to which the present invention is applied, FIG. 2 is a block diagram showing the circuit configuration of the card reader to which the present invention is applied, and FIG.
The figure is a block diagram showing a circuit configuration in which a part of the circuit structure shown in Fig. 2 is integrated and mounted, Fig. 4 is a perspective view showing the external appearance of the card reader shown in Fig. 3, and Fig. 5 The figure is number 4
6 is a configuration diagram showing the internal configuration of the card reader shown in FIG. 3, FIG. 7 is a bronch diagram showing the configuration of the waveform shaping circuit in FIG. 2,
Fig. 8 is a time chart showing the operating state of the waveform shaping circuit shown in Fig. 7, Fig. 9 is a flowchart showing the contents of the program executed by the control circuit, and Fig. 10 is the bits of fixed information read out. Explanatory diagram showing the relationship between intervals, reference bit intervals, and jitter values, 11th
The figure shows the read/write timing and bit interval T. , a table showing the relationship between the amount of correction and the bit interval after correction.

Claims (1)

【特許請求の範囲】[Claims] 機構部及びその駆動回路を含むカードリーダ本体に、各
種データを記憶するメモリ及び各回路を制御する制御回
路を含む回路部が一体的に実装された回路部が着脱可能
に構成されたカードリーダの読取・書込機能保持方法に
おいて、前記メモリにはカードリーダの読取・書込特性
の経年変化を補正する特性補正プログラムが格納されて
おり、前記制御回路は該特性補正プログラムに基づいて
磁気カードの磁気ストライプからのデータの読取時また
は該磁気ストライプへのデータの書込時におけるビット
単位でのデータの読取・書込タイミングの時間的補正並
びにデータ書込時における書込信号レベルの補正を行う
ことを特徴とするカードリーダの読取・書込機能保持方
法。
A card reader in which a circuit section including a memory for storing various data and a control circuit for controlling each circuit is integrally mounted on a card reader main body including a mechanism section and its driving circuit, and a circuit section is removably mounted. In the read/write function retention method, the memory stores a characteristic correction program for correcting secular changes in the read/write characteristics of the card reader, and the control circuit adjusts the characteristics of the magnetic card based on the characteristic correction program. Temporal correction of data read/write timing in bit units when reading data from a magnetic stripe or writing data to the magnetic stripe, and correction of a write signal level when writing data. A method for retaining reading and writing functions of a card reader, characterized by:
JP1187087A 1989-07-19 1989-07-19 Method for maintaining reading and writing function of card reader Pending JPH0351983A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1187087A JPH0351983A (en) 1989-07-19 1989-07-19 Method for maintaining reading and writing function of card reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1187087A JPH0351983A (en) 1989-07-19 1989-07-19 Method for maintaining reading and writing function of card reader

Publications (1)

Publication Number Publication Date
JPH0351983A true JPH0351983A (en) 1991-03-06

Family

ID=16199890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1187087A Pending JPH0351983A (en) 1989-07-19 1989-07-19 Method for maintaining reading and writing function of card reader

Country Status (1)

Country Link
JP (1) JPH0351983A (en)

Similar Documents

Publication Publication Date Title
US7306146B2 (en) Merchandise sales data processing apparatus
JPH0351983A (en) Method for maintaining reading and writing function of card reader
JPS6288088A (en) Vending machine
JPH04314599A (en) Optical information recording card for frequency management
JPS6224388A (en) Vending machine
JP2680640B2 (en) Card type vending machine
JP5287189B2 (en) Card processing device, ticket issuing machine
JPH0351976A (en) Control method for card reader
JP3563307B2 (en) Image reading apparatus and method of notifying motor replacement time of image reading apparatus
JPH02105987A (en) Re-issue system for magnetic card
JP2675416B2 (en) Card processing equipment
JP3074849B2 (en) Prepaid card and its payment device
JP2514128B2 (en) Prepaid card and its printing method
JPH02135594A (en) Card system automatic vending machine
JPS62154187A (en) Card processor
JPS625468A (en) Automatic household account recording system
JPS63173271A (en) Protection system for magnetic card utilizing system
JPH0261787A (en) Unit and method for transacting medium processing
JPH0546822A (en) Issuing method and processor for prepaid card
JPH0318992A (en) Card reader managing method
JPH0477864A (en) Reading device
JPH02226555A (en) Magnetic card reader/writer
JPH0351911A (en) Control method for card reader
JPH0348389A (en) Method for deciding authenticity of magnetic card
JPS63173272A (en) Protection system for magnetic card utilizing system