JP2004296058A - Magnetic recording method and device therefor, and device for discriminating coercive force of magnetic recording medium - Google Patents

Magnetic recording method and device therefor, and device for discriminating coercive force of magnetic recording medium Download PDF

Info

Publication number
JP2004296058A
JP2004296058A JP2003197925A JP2003197925A JP2004296058A JP 2004296058 A JP2004296058 A JP 2004296058A JP 2003197925 A JP2003197925 A JP 2003197925A JP 2003197925 A JP2003197925 A JP 2003197925A JP 2004296058 A JP2004296058 A JP 2004296058A
Authority
JP
Japan
Prior art keywords
recording medium
magnetic recording
magnetic
write
head
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
JP2003197925A
Other languages
Japanese (ja)
Inventor
Seiji Moriya
誠司 守屋
Masahiro Yoshii
昌浩 芳井
Akihiro Tadamasa
明博 忠政
Kenji Horinouchi
健司 堀ノ内
Manabu Sezaki
学 瀬崎
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2003197925A priority Critical patent/JP2004296058A/en
Publication of JP2004296058A publication Critical patent/JP2004296058A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To write the magnetic information into a magnetic recording medium by a discriminated appropriate writing current which is discriminated for the magnetic recording medium. <P>SOLUTION: In this device, when a current value suitable for the write-in to the magnetic recording medium is obtained, the coercive force of the magnetic recording medium is obtained from a voltage at the read out time of the magnetic information written into the magnetic recording medium and the transportation amount of this magnetic recording medium, then the current value corresponded to this coercive force is obtained. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
この発明は、磁気カード、磁気ストライプ付きの帳票、磁気券などの磁気記録媒体に磁気情報を適切な電流値で記録するような磁気記録方法とその装置および磁気記録媒体の抗磁力判定装置に関する。
【0002】
【従来の技術】
通常、磁気カードには、磁気ストライプの種類が異なる2種類の磁気カードが存在する。一つは、小さな書込み電流の磁気ヘッドによって、磁気情報が記録される低抗磁力磁気カードである。他の一つは、大きな書込み電流の磁気ヘッドによって、磁気情報が記録される高抗磁力磁気カードである。
【0003】
低抗磁力磁気カードに対して、磁気ヘッドが大きな書込み電流で磁気情報を書込んだ場合、その磁気情報が十分に書込めない場合がある。そのため、その磁気情報を磁気ヘッドで読取った場合、適切な読取り電圧を検出できず、書込んだ情報を再現できないことが発生する。
【0004】
高抗磁力磁気カードに対して、磁気ヘッドが小さな書込み電流で磁気情報を書込んだ場合、も同様な問題が生じている。
【0005】
そこで、高抗磁力磁気カードか低抗磁力磁気カードかを判定するために、次のような判定技術が存在する。
【0006】
(1) ヘッドを相対移動させながら、予め設定された範囲内で書込み電流を増加させつつ磁気ストライプの所定長当たり、所定数の磁束変化で書込む。その書込んだ磁気ストライプを読取りヘッドにより読取る。読取りヘッドからの電圧値および電流値を比較し、その電圧値が許容範囲内にある場合には、その場合の電流値を選択する。電圧値が許容範囲内にない場合には、前記書込み時の予め選択された範囲を変更し、再度磁気ストライプに書込んで、それを読取って、書込み電流値を決定するまでの工程を繰返す。これにより、磁気ストライプの抗磁力を判定し、適切な電流値で磁気情報を磁気ストライプに書込むことができる(特許文献1参照)。
【0007】
(2) 磁気記録媒体の抗磁力を判別し、この判別結果に応じて、磁気記録媒体に付加する磁気の強さを、その磁気記録媒体の抗磁力に合わせながら変化させて記録する磁気情報の記録装置である。この記録情報に使用される磁気記録媒体は、普通券と定期券の2種類がある。これらの券には高抗磁力券であるか低抗磁力券であるかを示す情報が書込まれている。これを読取りヘッドで読取ることによって、投入された券が高抗磁力券であるか低抗磁力券であるかを識別している。この識別結果に基づき、励磁電流を券の抗磁力に適した値にして磁気記録を行う(特許文献2参照)。
【0008】
また、他の方法として、次のものが記載されている。小さい普通券は高抗磁力の記録媒体である。大きい定期券は低抗磁力の記録媒体である。搬送された券が普通券であるか定期券であるかを券の大きさに基づいて判別する。この判別の結果、小さい普通券と判別された場合には、券に対して高抗磁力で情報を書込む。一方、判別の結果、大きな定期券と判別された場合には、券に対して低抗磁力で情報を書込む。これにより、券の抗磁力の大小に応じた磁気の強さで磁気記録するものである。
【0009】
(3)使用される磁気カードの抗磁力を磁気カードリーダで読取って判定するものである。この場合は、カード挿入口に挿入された磁気カードの磁気情報を、磁気ヘッドにより再生または記録するようにした磁気カードリーダにおいて、磁気情報を記録するためのデータトラックの抗磁力を判定する判定手段を設ける。そして、取込んだ磁気カードのデータトラックに、低抗磁力カードに対応する電流にてテストデータを記録した後、再生し、この再生データがテストデータと一致した場合に低抗磁力カードであると判定するものである(特許文献3参照)。
【0010】
(4)使用される磁気カードの抗磁力を磁気カードリーダで読取って判定するものである。この場合は、カード挿入口より挿入した磁気カードに形成された複数トラックの磁気情報を複数トラックに対応して設けた複数の磁気ヘッドにより再生または記録するようにした磁気カードリーダであって、複数の磁気ヘッドのそれぞれを異なる所定値の電流によってデータの記録または消去を行うとともに、その記録または消去結果の再生によりデータトラックの3種以上の抗磁力を判定する抗磁力判定部を設けたものである。例えば、第1のトラックに第1の値の電流にて消去を行った後に再生を行うとともに、第2のトラックに第2の値の電流にて消去を行った後に再生を行い、これらの再生結果の出力レベルと、第1および第2の値との関係に基づいて、磁気カードの抗磁力を判定するものである(特許文献4参照)。
【0011】
(5) 使用される磁気カードの抗磁力を判定する磁気カードの抗磁力判定方法である。この場合は、カード挿入口より挿入された低抗磁力カードまたは高抗磁力カードに形成された磁気情報を磁気ヘッドにより再生または記録するようにした磁気カードの抗磁力判定方法であって、低抗磁力カードのデータのみ消去可能な電流にて挿入されたカードのデータを消去した後、そのカードのデータを再生し、データが破壊状態である場合に、挿入されたカードを低抗磁力カードと判定するものである。データの破壊状態は、再生したデータの磁化反転回数により判定するか、予め定められたカードに記録されているべき特定データ(STXコード)が認識されないことにより判定するものである(特許文献5参照)。
【0012】
(6) 磁気保磁力の判定動作を省略可能として、装置寿命を延長、および誤判定によるデータ破壊の危険性を回避するものである。実際に挿入された磁気カードが、高保磁力カードまたは低保磁力カードのいずれの場合であっても、そのいずれであるかを判定することなく所望の磁気情報が良好に書込まれるように、高書込み電流を用いた記録動作の後に、低書込み電流を用いた再記録動作を行わせて、磁気カードへの記録動作を実行させるようにしたものである(特許文献6参照。)。
【0013】
【特許文献1】
特開2001−148101号公報、
【特許文献2】
特公平4−38045号公報、
【特許文献3】
特開平11−96506号公報、
【特許文献4】
特開平11−328604号公報、
【特許文献5】
特開2000−155816号公報、
【特許文献6】
特開2001―118206号公報。
【0014】
【発明が解決しようとする課題】
しかし、特許文献1では、適切な書込み電流を判定するには、何度も磁気カードを搬送しなければならないため、判定処理に長時間を要してしまうという問題がある。
【0015】
その他の特許文献2〜6については、磁気カードの種類が高抗磁力であるか、低抗磁力であるかの判定を行うことはできる。しかし、低抗磁力磁気カードの抗磁力のばらつきは一定の許容できる領域であるのに対し、高抗磁力磁気カードの抗磁力は、抗磁力が異なっている場合が多い。このため、高抗磁力磁気カード毎に適切な書込み電流が異なっている場合が多い。
【0016】
これらの特許文献2〜6では、磁気カードが高抗磁力であるか低抗磁力であるかの抗磁力が判定されても、その抗磁力の異なる各々の磁気カードに書込むための適切な書込み電流は測定できていない。
【0017】
このため、各々の磁気カードに応じた適切な書込み電流を求めることが望まれる。例えば、磁気カードに抗磁力判定用の磁気情報を書込み、この書込まれた磁気情報を読取ることによって、磁気カードの抗磁力に適した書込み電流を求めることが考えられる。
【0018】
しかし、この場合は磁気カードに書込まれた抗磁力判定用の磁気情報に異常があっても、そのまま磁気判定してしまい正常な抗磁力が得られなくなる。
【0019】
そこで、この発明の目的は、磁気記録媒体から抗磁力判定用の異常のない磁気情報を取得できるようにすることである。そして、取得した異常のない抗磁力判定用の磁気情報から磁気記録媒体の適切な書込み電流を求め、この求めた適切な書込み電流で磁気情報を磁気記録媒体に書込むことである。さらに、磁気記録媒体の適切な書込み電流を求めるために要する書込み回数よりも、書込み時の搬送回数を少なくすることである。
【0020】
【課題を解決するための手段】
この発明は、磁気記録媒体を書込みヘッドおよび読取りヘッドに対して一方向に相対移動させる間に、前記書込みヘッドが複数の異なる電流値で前記磁気記録媒体に予備書込みを行い、該予備書込みした情報を前記読取りヘッドで読取り、この読取り結果に基づいて前記磁気記録媒体への書込み電流の適正値を求め、この求めた適正値で前記書込みヘッドより前記磁気記録媒体に本書込みを行う磁気記録方法である。
【0021】
ここで、磁気記録媒体とは、磁気情報を記録または再生を許容する磁気ストライプなどの磁気記録面を備えた媒体である。
【0022】
前記書込みヘッドは、書込みヘッドに電流をかけることで磁界が発生し、書込みヘッドに接触した磁気記録媒体の磁気記録面に磁気情報を書込む。この書込みヘッドが磁気記録媒体に対して一方向に相対移動したとき、磁気記録媒体の磁気記録面に順次磁気情報を書込む。例えば、書込みヘッドを移動させながら書込む。あるいは、磁気記録媒体を移動させながら書込むなど書込みヘッドおよび磁気記録媒体を一方向に相対的に移動させながら書込むものである。
【0023】
前記読取りヘッドは、磁気記録媒体の磁気記録面上を移動すると磁界が発生し、読取りヘッドに電圧が発生し、その電圧の変化から、磁気記録媒体の磁気記録面から磁気情報を読取る。この書込みヘッドが磁気記録媒体に対して一方向に相対移動したとき、磁気記録媒体の磁気記録面から順次磁気情報を読取る。例えば、読取りヘッドを移動させながら読取る。あるいは、磁気記録媒体を移動させながら読取るなど読取りヘッドおよび磁気記録媒体を一方向に相対的に移動させながら読取るものである。
【0024】
これらの書込みヘッドと読取りヘッドは、磁気記録媒体の同一搬送路の搬送方向に併設してもよいし、読取り書込み可能な両機能を持たせた一つのヘッドで兼用してもよい。
【0025】
前記予備書込みとは、書込みヘッドの書込み電流の電流値を変化させながら磁気記録媒体の磁気記録面に磁気情報を書込むことである。
【0026】
前記本書込みとは、予備書込みの結果から求まった磁気記録媒体の磁気記録面の抗磁力に適した書込み電流で、磁気情報を書込むものである。
【0027】
前記適正値は、磁気記録媒体毎に異なっている抗磁力に適した書込みヘッドに加えられる書込み電流値である。
【0028】
この磁気記録方法によれば、磁気記録媒体に予備書込みした結果から本書込みに要する適正値を求めて本書込みする。このときの予備書込みと本書込みとの各書込み動作は、書込みヘッドに対し磁気記録媒体を一方向に相対移動させる間に実行する。
【0029】
別の発明では、磁気記録媒体に磁気情報を書込む書込みヘッドと、前記磁気記録媒体から磁気情報を読出す読取りヘッドと、これらを制御する制御手段とを備えた磁気記録装置であって、前記制御手段に、前記書込みヘッドおよび前記読取りヘッドに対して前記磁気記録媒体が一方向へ相対移動する間に、前記書込みヘッドが前記磁気記録媒体に複数の異なる電流値で予備書込みを実行する予備書込み処理と、該予備書込みの結果である予備書込み結果を前記読取りヘッドで読取る予備書込み読取り処理と、前記予備書込み結果に基づいて前記磁気記録媒体への書込み電流の適正値を取得する適正値取得処理と、該適正値に基づいて前記書込みヘッドで前記磁気記録媒体に本書込みを実行する本書込み処理とを備えたことを特徴とする。
【0030】
ここで、磁気記録装置とは、磁気記録媒体の磁気情報を読取り、そして磁気記録媒体へ磁気情報を書込むカードリーダなどで構成することができる。
【0031】
前記適正値取得処理は、前記読取りヘッドで読取った出力値から書込み電流の適正値を算出する。例えば、読取りヘッドで読取った波形データの振幅のピーク値、または該ピーク値に近い値を検出し、この検出値から書込み電流の適正値を取得する。
【0032】
別の発明によれば、予備書込み処理は、書込みヘッドに対して磁気記録媒体が一方向へ一回通過する動作で完了する。また、予備読込み処理も、読取りヘッドに対して磁気記録媒体が一回通過する動作で完了する。
【0033】
また、読取りヘッドと書込みヘッドを磁気記録媒体の同一搬送路上に併設すれば、磁気記録媒体を一方向に搬送するだけで書込み処理と読取り処理が行える。このため、少ない搬送回数で磁気記録媒体の抗磁力を求めることができる。
【0034】
別の発明では、磁気記録媒体を搬送する搬送手段と、磁気記録媒体の搬送量を検出する搬送量検出手段と、前記搬送手段で搬送している前記磁気記録媒体の一方向への搬送中に、該磁気記録媒体に複数の異なる電流値で磁気情報を書込む書込みヘッドと、前記書込みヘッドによって、前記磁気記録媒体に磁気情報を書込んだ後、前記搬送手段で搬送している前記磁気記録媒体の磁気情報を読取る読取りヘッドと、前記読取りヘッドで読取った電圧、読取ったときの磁気記録媒体の搬送量に基づいて、前記磁気記録媒体の抗磁力を判定する判定手段とを備えた磁気記録媒体の抗磁力判定装置であることを特徴とする。
【0035】
前記搬送手段は、例えばモータからの回転駆動力を受けて回転する搬送ローラや搬送ベルトなどの搬送部材を搬送方向に配設して磁気記録媒体の搬送路を構成する。そして、ここに導かれた磁気記録媒体を取込み方向または返却方向に移動させる。
【0036】
さらに、この搬送路に書込みヘッドや読取りヘッドを配設して、ここを通過する磁気記録媒体に磁気情報を書込む。また、ここを通過する磁気記録媒体の磁気情報を読取る。
【0037】
前記搬送量は、前記搬送手段をモータなどで駆動して、磁気記録媒体を搬送したときの、その搬送距離または搬送時間に相当する。
【0038】
前記搬送量検出手段は、磁気記録媒体が搬送されたときの前記搬送量を検出する。例えば、搬送手段の駆動源となるモータの回転数と磁気記録媒体の移動距離とは比例関係にある。このため、モータの回転数を検出してもよいし、磁気記録媒体の移動距離を検出してもよい。さらに、磁気記録媒体を一定速度で搬送したとき、磁気記録媒体の移動距離と移動に要する時間は比例関係にある。このため、磁気記録媒体の移動距離を検出してもよいし、その移動時間を検出してもよい。
【0039】
前記判定手段は、複数の異なる電流値で書込まれた磁気記録媒体の磁気情報を読取ったとき、磁気記録媒体の搬送量と、その搬送量に応じて読取りヘッドから得られる電圧の変化とから該磁気記録媒体の抗磁力を判定するものである。
【0040】
別の発明によれば、磁気記録媒体に書込まれた磁気情報を読取ったときの電圧と、その磁気記録媒体の搬送量とから磁気記録媒体への磁気情報の書込み位置および読取り位置を測定する。そして、この磁気記録位置を測定することによって、磁気記録媒体の抗磁力を求める。特に、電流が異なる毎に区別して搬送するのではなく、磁気記録媒体を搬送する場合の一方向への搬送中に、書込みヘッドが磁気記録媒体に高い電流や低い電流など複数の異なる電流値で幅広い磁気情報を書込む。このため、予備書込みの際に磁気情報を書込むときの搬送回数が一回で済む。
【0041】
また、別の発明では磁気記録媒体を搬送する搬送手段と、前記磁気記録媒体の搬送量を検出する搬送量検出手段と、前記搬送手段で搬送している前記磁気記録媒体に磁気情報を書込む書込みヘッドと、前記書込みヘッドの書込み電流値の搬送量に対応して変化する波形を記憶する書込み電流波形記憶手段と、前記書込み電流波形記憶手段に記憶されている書込み電流値に従って、前記書込ヘッドの書込み電流を変更する書込み電流変更手段と、前記書込みヘッドによって、前記磁気記録媒体に磁気情報を書込んだ後、前記搬送手段で搬送している前記磁気記録媒体の磁気情報を読取る読取りヘッドと、前記読取りヘッドで読取った電圧、読取ったときの磁気記録媒体の搬送量、および前記書込み電流波形記憶手段に記憶されている書込み電流値の時間変化に応じて、前記磁気記録媒体の抗磁力を判定する判定手段とを備えた磁気記録媒体の抗磁力判定装置であって、前記書込み電流変更手段は、同じ波形を複数回繰返して変更することを特徴とする。
【0042】
前記搬送距離に対応して変化する波形は、書込み時の電流値を搬送距離の経過に伴って表す波形である。この波形以外にも書込み時の電流値を時間の経過に伴って表す関数によって作成してもよい。また、搬送距離の替わりに搬送時間を用いてもよい。
【0043】
別の発明によれば、書込みヘッドで書込む場合、書込み電流を変更して同じ波形を複数回繰返すことによって、複数の波形の情報を取得する。このため、取得した複数の波形を比較すれば、同じ波形を書込んでいるため各波形の適否を判別できる。例えば、3波形のうち、2つの波形が同じで1つの波形が異なっていれば、1つの波形が不具合な異常波形として認められる。この結果、異常波形を除いた複数の波形から抗磁力を判定できる。
【0044】
また別の発明では、前記磁気記録媒体の搬送中において、前記同じ波形の繰返しの間に、前記書込みヘッドが複数の同じ波形を区切るための時間だけ書込まないことを特徴とする。
【0045】
前記距離の替わりに搬送時間を用い、この搬送時間で複数の波形を区切るようにしてもよい。
【0046】
この場合は、波形と波形との間に、該両波形を区切るための書込まない部分があるため、繰返し書込まれた波形の個々を区別することができる。
【0047】
また別の発明では、前記磁気記録媒体の搬送中において、前記同じ波形の繰返しの間に前記書込み電流変更手段が基準位置となる別の波形を作成する時間だけ前記書込みヘッドの書込み電流を、基準位置となる波形の大きさに維持することを特徴とする。
【0048】
この場合は、波形と波形との間に、該波形とは異なる別の波形ができる。これが目印となり、該目印を設けることにより、複数の波形を区別することができる。また、この目印は波形を位置決めするための基準位置に設定できることから磁気記録媒体の搬送量を求めることができる。
【0049】
別の発明では、前記磁気記録媒体の搬送中において、前記書込み電流変更手段が、前記書込みヘッドの書込み電流を所定の間隔で出力と停止とに交互に繰返させることを特徴とする。
【0050】
この場合は、書込み停止部分が波形のない目印となり、これが波形の位置を測定するときの基準位置となる。特に、短時間の間隔に波形と目印を交互に設けることができるため、仮にどこかの波形が消失しても見分けることができる。従って、磁気記録媒体の書込み位置に対応する該媒体の搬送位置を特定できる。
【0051】
別の発明では、前記磁気記録媒体の搬送中において、前記書込み電流変更手段が前記書込みヘッドの書込み電流を段階的に高めて行き、高める度にその電流値を維持する時間を異ならせることを特徴とする。
【0052】
この場合は、段階的に高めた書込み電流値毎の維持する時間が異なる。このため、この維持時間が異なった時間差によって、段階的に書込まれた一つ一つの書込み波形そのものが目印となる。
【0053】
別の発明では、磁気記録媒体を搬送する搬送手段と、前記磁気記録媒体の搬送量を検出する搬送量検出手段と、前記搬送手段で搬送している前記磁気記録媒体に磁気情報を書込む書込みヘッドと、前記書込みヘッドの書込み電流値の搬送距離に対応して変化する波形を記憶する書込み電流波形記憶手段と、前記書込み電流波形記憶手段に記憶されている書込み電流値に従って、前記書込みヘッドの書込み電流を変更する書込み電流変更手段と、前記書込みヘッドによって、前記磁気記録媒体に磁気情報を書込んだ後、前記磁気記録媒体で搬送している前記磁気記録媒体の磁気情報を読取る読取りヘッドと、前記読取りヘッドで読取った電圧、読取ったときの磁気記録媒体の搬送量、および前記書込み電流波形記憶手段に記憶されている書込み電流値の時間変化に応じて、前記磁気記録媒体の抗磁力を判定する判定手段とを備えた磁気記録媒体の抗磁力判定装置であって、前記磁気記録媒体の前記読取りヘッドによる波形読取り領域の両端において、読取った読取り電圧値が大きい位置を基準として前記判定手段は、前記読取りヘッドで読取ったときの磁気記録媒体の搬送量を決定することを特徴とする。
【0054】
前記波形読取り領域の両端とは、読取りヘッドで読取った波形毎の書込み開始位置から書込み終了位置までのことである。
【0055】
この場合は、読取った読取り電圧値が大きい位置を基準位置に設定している。このため、波形自体に基準位置を持たせることができる。
【0056】
別の発明では、磁気記録媒体に磁気情報を書込む書込みヘッドと、磁気記録媒体の磁気情報を読取る読取りヘッドと、前記書込みヘッドおよび前記読取りヘッドとを搬送する搬送手段と、前記書込みヘッドおよび前記読取りヘッドの搬送量を検出する搬送量検出手段と、前記搬送手段により前記書込みヘッドを搬送する一方向への搬送中に該書込みヘッドの駆動電流を変更する電流変更手段と、前記書込みヘッドによって前記磁気記録媒体に磁気情報を書込んだ後、前記読取りヘッドを前記搬送手段で搬送し、前記磁気記録媒体の磁気情報を読取る読取り制御手段と、前記読取り制御手段によって前記読取りヘッドで読取った値、読取ったときの読取りヘッドの搬送量に基づいて、前記磁気記録媒体の抗磁力を判定する判定手段とを備えた磁気記録媒体の抗磁力判定装置であることを特徴とする。
【0057】
この場合は、磁気記録媒体を静止させ、書込みヘッドと読取りヘッドを搬送させながら磁気記録媒体に磁気情報を記録または再生している。
【0058】
別の発明では、磁気記録媒体を書込みヘッドおよび読取りヘッドに対して相対移動させる搬送手段と、前記搬送手段による移動量を検出する搬送量検出手段と、前記搬送手段によって、前記書込みヘッドに対して相対移動している前記磁気記録媒体の一方向への移動中に、前記磁気ヘッドの書込み電流を変更する書込み電流変更手段と、前記書込みヘッドによって、前記磁気記録媒体に磁気情報を書込んだ後、前記読取りヘッドに対して相対移動している前記磁気記録媒体の磁気情報を前記読取りヘッドで読取り、前記読取りヘッドで読取った電圧および読取ったときの移動量に基づいて、前記磁気記録媒体の抗磁力を判定する判定手段とを備えた磁気記録媒体の抗磁力判定装置であることを特徴とする。
【0059】
この場合は、磁気記録媒体の磁気情報を記録または再生する際、静止させたヘッドの位置に磁気記録媒体を移動させながら記録または再生してもよく、静止させた磁気記録媒体の位置にヘッドを移動させながら記録または再生してもよい。さらに、磁気記録媒体とヘッドとの一方だけでなく、双方を移動させながら磁気処理してもよい。
【0060】
別の発明では、上述の磁気記録媒体の抗磁力判定装置において、前記読取りヘッドが事前に磁気記録媒体の磁気情報を読取り、前記事前に読取った磁気記録媒体の磁気情報を記憶する磁気情報記憶手段と、前記判定手段による判定後、前記磁気情報記憶手段に記憶されている磁気情報を、前記書込みヘッドが前記判定手段で判定された抗磁力に応じた電流で、磁気記録媒体に対して書込むことを特徴とする。
【0061】
この場合は、磁気記録媒体を一方向に搬送させたときに、該媒体に記憶されている磁気情報を読取って抗磁力を求める。そして、その抗磁力に応じた電流で書込む。
【0062】
別の発明では、磁気記録媒体を書込みヘッドおよび読取りヘッドに対して相対移動させる搬送手段と、前記搬送手段による移動量を検出する搬送量検出手段と、前記搬送手段によって、前記書込みヘッドに対して相対移動している前記磁気記録媒体の一方向への搬送中に、前記磁気ヘッドの書込み電流を変更する書込み電流変更手段と、前記書込みヘッドが磁気記録媒体に書込んだ位置を検出する書込み位置検出手段と、前記書込みヘッドによって前記磁気記録媒体に磁気情報を書込んだ後、前記読取りヘッドに対して相対移動している前記磁気記録媒体の磁気情報を前記読取りヘッドで読取り、前記読取りヘッドで読取った電圧、読取ったときの移動量、前記書込んだ位置に基づいて、前記磁気記録媒体の抗磁力を判定する判定手段とを備えた磁気記録媒体の抗磁力判定装置であることを特徴とする。
【0063】
前記書込み位置検出手段は、書込み情報のビット数を計数することで実現できる。
【0064】
この場合は、磁気記録媒体の磁気情報を記録または再生する際、磁気記録媒体またはヘッド(書込みヘッド、読取りヘッド)とのいずれか一方あるいは双方を移動させながら磁気処理してもよい。さらに、磁気記録媒体に書込んだ位置を検出するため、この書込んだ位置から磁気記録媒体の抗磁力を求めることができる。この結果、磁気記録媒体の抗磁力に適した適正書込み電流値を求めて磁気情報を書込むことができる。
【0065】
【発明の効果】
この発明によれば、磁気記録媒体への書込み電流の適正値を求めることができ、そして、搬送回数が少なくなる。
【0066】
【発明の実施の形態】
この発明の実施の形態を以下図面に基づいて説明する。
【0067】
〔第1実施の形態〕
図面は磁気カードに磁気情報を書込み読取りするカードリーダを示す。
【0068】
図1はカードリーダ30の制御回路ブロック図を示している。このカードリーダ30は、モータエンコーダ31と、CPU32と、D/Aコンバータ33と、電流制御回路34と、書込みヘッド35と、読取りヘッド36と、アンプ37と、A/Dコンバータ38と、RAM39と、ROM40とを備えた回路構成を有している。
【0069】
前記モータエンコーダ31は、搬送系のモータに備えたエンコーダである。該モータエンコーダ31は、モータ軸に備えた円盤のスリットからフォトセンサでモータが回転出力したときのパルス数を検出する。これにより、CPU32はモータが駆動されたこと、およびそのときの回転数を算出する。
【0070】
前記CPU32は、ROM40に格納されたプログラムに従って、該CPU32に接続されている機器の制御処理を実行する。前記プログラムに従って磁気情報を磁気カードに書込む場合、磁気カードに予備書込みした結果から本書込みに要する適切な書込み電流値を求めて本書込みする。
【0071】
先ず、予備書込みする場合、書込み電流を段階的に上げて行き、そのときの高い電流や低い電流の複数の異なる電流値で予備書込みするものである。この複数の異なる電流値は予備データとしてROM40に記憶させている。そして、この予備書込みされた予備データを読取ったときにCPU32は、予備書込み結果から磁気カード毎の各抗磁力に適した書込み電流の適正値を求める。この求めた適正値を本書込みの電流値に設定し、この電流値を本データとしてROM40に記憶する。そして、この本データの電流値で本書込みするものである。
【0072】
前記D/Aコンバータ33は、デジタルデータをアナログ信号に変換する。このとき、該D/Aコンバータ33は磁気カードCに書込む磁気情報(予備データや本データ)の書込み電流を設定する。具体的には、段階的に電流値を上げるように設定してあるデジタルデータに基づいて、電流制御回路34に供給する電流を段階的に上げる処理を実行する。
【0073】
前記電流制御回路34は、CPU32から命令された書込みデータを、前記D/Aコンバータ33から供給される電流値で書込みヘッド35に出力する。
前記書込みヘッド35は、磁束を変化させることで、磁気カードCの磁気ストライプSt(図3参照)に、前記書込みデータを前記電流値で書込む。
【0074】
前記読取りヘッド36は、磁気カードCの磁気ストライプStに書込まれているデータを読取ったときに得られる電圧値(出力値)を読取る。
【0075】
前記アンプ37は、前記読取りヘッド36が読取った電圧値をA/Dコンバータ38に出力する。
【0076】
前記A/Dコンバータ38は、アナログ信号をデジタルデータに変換する。また、A/Dコンバータ38は前記電圧値を波形で読出し、波形データとして出力する。
前記RAM39は、CPU32での制御処理に必要なデータ等を一時記憶する。
【0077】
前記ROM40は、適正電流値割出プログラム等の必要なプログラムを格納している。該適正電流値割出プログラムは、初期電流値(最低電流値)データ、既定最大電流値(最高電流値)データ、および予備データを保有している。また、適正な書込み電流値を算出するために、予備データを電流制御回路34に送信する。さらに、最低電流値データから最高電流値データに至るまで段階的に電流値を増加させて、D/Aコンバータ33から電流制御回路34に送信する予備書込み処理を実行する。このとき、モータエンコーダ31を備えているモータよって磁気カードCを移動させ、前記電流値の異なる予備データを順番に書込むように制御する。
【0078】
該予備書込み処理が終了すると、読取りヘッド36からアンプ37を介して取得した電圧値を、A/Dコンバータ38において波形データに変換する。該変換した波形データの振幅のピーク値を割出し、該ピーク値の少し手前の波形データを適正値として本データの書込み電流値に設定する。
【0079】
この場合、適正な書込み電流値を振幅のピーク値より少し手前側に設定するのは、振幅のピーク値を過ぎると出力電圧は飽和状態になるためである(図4参照)。このため、出力電圧の飽和前に該当する位置を適正な書込み電流値に設定する。
【0080】
以上の構成により、CPU32は磁気カードの磁気ストライプに対して予備データや本データを書込み、該予備データや本データを読取ることと、その出力値を読取ることができる。
【0081】
次に、カードリーダ30の処理動作を図2のフローチャートおよび図3の磁気処理動作の説明図を参照して説明する。
CPU32は適正電流値割出プログラムを起動する。そして、最低電流値を設定するとともに磁気カードCの搬送を開始する(ステップn1)。
【0082】
CPU32は、図3(A)に示すように、書込みヘッド35で磁気カードCの磁気ストライプStに予備データを、現在の電流値(デジタルデータ)で書込む(ステップn2)。
【0083】
そして、電流値を一定量、増加させる(ステップn3)。
【0084】
この増加させた電流値が最高電流値に満たない場合には、ステップn2に戻り、増加させた電流値が最高電流値に到達するまで、この予備データの書込みを繰返す(ステップn4)。
【0085】
この繰返しにより、図3(B)に示すように、段階的に電流値を増加させて予備データの書込みを行う。図中、仮想線で示す図表は、横軸を時間t、縦軸を電流強度mAとし、電流を増加させつつ繰返し書込む様子を表している。
【0086】
最高電流値に達した場合は、書込んだ予備データを読取りヘッド36で読取る(ステップn5)。
【0087】
このとき、読取りヘッド36は磁気ストライプStから予備データの電圧値を読取り、図3(C)に仮想線で示すように、電圧の波形データを得ることができる。この波形データを表す図表は、横軸を電流強度mA、縦軸を電圧強度mVとし、磁気ストライプStから出力される電圧値の変化を表している。
【0088】
該予備データの読取りによって取得した波形データは、A/Dコンバータ38でデジタルデータに変換して振幅のピーク値を検出する(ステップn6)。
【0089】
そして、このピーク値より少し手前の位置に対応する電流値を書込み電流値に設定する(ステップn7)。
【0090】
CPU32は、適正電流値割出プログラムを終了し、算出(取得)した適正電流値で磁気カードCの磁気ストライプStに適正電流値での本データの本書込みを実行する(ステップn8)。
【0091】
以上の動作により、図4の図表に示すように、例えば各種磁気カードC毎の第1〜第5の波形データA1〜A5に表される抗磁力の異なる磁気カードCに適した第1〜第5の電流値P1〜P5を設定することができる。
すなわち、
第1波形データA1の磁気カードに対しては、第1電流値P1(約215mA)、
第2波形データA2の磁気カードに対しては、第2電流値P2(約89mA)、
第3波形データA3の磁気カードに対しては、第3電流値P3(約72mA)、
第4波形データA4の磁気カードに対しては、第4電流値P4(約18mA)、
第5波形データA5の磁気カードに対しては、第5電流値P5(約17mA)、
を設定して、適正な電流値で本書込みを実行できる。
【0092】
この場合、第1〜第3波形データA1〜A3の場合は、出力電圧が高いときに書込み電流値が高い値を表す高抗磁力の磁気カードCである。これに対し、第4,第5波形データA4,A5の場合は、出力電圧が高いときに書込み電流値が低い値を表す低抗磁力の磁気カードCである。
【0093】
ところが、それぞれの電流値P1〜P5を過ぎると飽和状態になる。従って、書込みの安全性(安定性)を得るために、書込みに適した電流値として、飽和になったときの各電流値に設定してもよい。
【0094】
また、第1〜第3波形データA1〜A3に示す高抗磁力の磁気カードの場合であれば、書込みの安全性(安定性)をより高めるために、飽和時以上の電流値(例えば飽和時の2倍の電流値等)に設定することも可能である。
【0095】
このようにしてカードリーダ30は、高抗磁力磁気カードや低抗磁力磁気カードの、どのような磁気カードCに対しても適正な電流値を探索して、本書込みを実行することができる。
【0096】
特に、予備データの書込みは、書込みヘッド35に対して磁気カードCが一方向へ一回通過する動作で完了する。また、該予備データの読込みも、読取りヘッド36に対して磁気カードCが一回通過する動作で完了する。
【0097】
上述した実施の形態では磁気カードCを一回通過させる動作で予備データの書込みおよび読込みを実行したが、これに限らない。例えば、磁気カードCを往復搬送させるカードリーダにおいて、一回通過させる動作で予備データの書込みを実行し、磁気カードCを戻す方向へ通過させる次の動作で予備データの読込みを実行するように設定してもよい。この場合は、書込みヘッド35と読取りヘッド36との間隔に依存せず、磁気ストライプStの全体に予備データを書込むことが可能になる。
【0098】
〔第2実施の形態〕
図5は磁気カードの抗磁力判定装置を備えたカードリーダ51の断面の概観を示す。
このカードリーダ51は、本体52の前面に磁気カードCを挿入または返却するカード挿入口53を備えている。このカード挿入口53とつながった内方には、挿入された磁気カードCを挿入方向に搬送または返却方向に搬送するカード搬送路54を備えている。
【0099】
上述のカード搬送路54は、カード挿入口53から内部奥方にかけて、上下一対の前搬送ローラR1,R2と、磁気ヘッド55と、上下一対の後搬送ローラR3,R4とを配設している。さらに、これら3ヵ所の位置には第1〜第3の検知センサS1〜S3を配設して構成している。
【0100】
前記搬送ローラR1〜R4のうち、上下に対向する片方の搬送ローラの回転軸は、図示しないモータからの回転駆動力を受けるように接続されている。そして、モータが回転するに従って、搬送ローラが回転する。
【0101】
これにより、ここに導かれた磁気カードCを、上下の前搬送ローラR1,R2および後搬送ローラR3,R4で挟持して取込み方向または返却方向に搬送する。モータを一定速度で回転させて、搬送ローラを回転させることにより、該磁気カードCは一定速度で搬送される。
【0102】
そして、磁気カードCが搬送されて、該磁気カードCが磁気ヘッド55に接したとき、磁気カードCは磁気書込みまたは磁気読取りされる。このカード搬送路54には磁気ヘッド55を1個配設し、この1個で磁気カードCに書込みと読取りを行うものである。さらに、前記第1〜第3の検知センサS1〜S3でカード搬送路54上の磁気カードCの存在位置を検知する。
【0103】
図6はカードリーダ51の制御ブロック図を示す。
このカードリーダ51は、CPU61と、メモリ62と、磁気書込み制御部63と、磁気読取り制御部64と、磁気ヘッド55と、モータ制御部65と、モータMと、ロータリーエンコーダ66と、カード位置検知部67と、第1〜第3検知センサS1〜S3とを備えている。
【0104】
前記CPU61は、メモリ62に格納されたプログラムに従って、該CPU61に接続された機器を制御する。
【0105】
前記メモリ62は、磁気カード毎に異なる抗磁力に適した書込み電流値の適切な電流値を割出すためのプログラムやデータなどを格納している。
【0106】
前記磁気書込み制御部63は、D/Aコンバータを備えている。D/Aコンバータは、CPU61から受信した書込み情報のデジタルデータをアナログ信号に変換する。そして、磁気書込み制御部63は、このアナログ信号に対応した電流値を一定周期で出力する制御を行う。
【0107】
前記磁気読取り制御部64は、磁気ストライプからの読取りトラック別の読取り制御を行う。磁気ヘッド55から受信した信号を増幅する。そしてA/Dコンバータによって、アナログ信号をデジタルデータに変換する。そして、変換されたデジタルデータをCPU61に送信する。
【0108】
磁気ヘッド55は、電流を加えられることにより、磁界を発生する。加える電流を変化させることにより、磁気ヘッド55に接触させた磁気カードCに磁気情報を書込む。磁気ヘッド55に対して磁気カードCを搬送することで、多数の情報を順次書込む。
【0109】
そして、磁気情報が書込まれた磁気カードCを磁気ヘッドに接触させて搬送することによって、磁界が発生する。磁気ヘッド55には、磁界の変化に対応して、電圧が発生する。磁気ヘッド55は、この電圧の変化を検出することで、磁気カードに記録されている情報を読取る。
【0110】
ところで、上述の書込みに際しては、磁気カードCに予備書込みした結果から本書込みに要する適切な書込み電流値を求めて、本書込みするものである。先ず、予備書込みする場合、書込み電流を段階的に上げて行き、そのときの高い電流や低い電流の複数の異なる電流値で予備書込みするものである。この複数の異なる電流値は予備データとしてメモリ62に記憶させている。そして、この予備書込みされた予備データを磁気カードCから読取ったときにCPU61は、予備書込み結果から磁気カード毎の各抗磁力に適した書込み電流の適正値を求める。この求めた適正値を本書込みの電流値に設定し、この電流値を本データとしてメモリ62に記憶する。そして、この本データの電流値で本書込みするものである。
【0111】
前記モータ制御部65は、CPU61からの駆動信号または停止信号を受けてモータMを一定の回転速度で回転するように制御する。また、モータMを正転方向または逆転方向に回転することにより、カード搬送路54において磁気カードCが取り込み方向にまたは返却方向に搬送される。
【0112】
前記ロータリーエンコーダ66は、モータMのモータ軸に備えた円盤のスリットからフォトセンサでパルス数を検出して回転数を算出する。
【0113】
カード位置検知部67は、カード搬送路54に配設した第1〜第3検知センサS1〜S3からの各検知した信号を取得する。そして、磁気カードCが存在する位置をCPU61に出力する。
【0114】
前記CPU61はメモリ62のプログラムに従って、最低電流値から最高電流値に至るまで段階的に電流値が増加している予備データの書込み処理を実行する。このとき、モータMによって磁気カードCを取込み方向に移動させながら前記予備データを順番に書込むように制御する。
【0115】
該予備書込み後、予備書込みされた磁気情報を磁気カードCから磁気ヘッド55で読取る。そして、磁気ヘッド55から磁気読取り制御部64が受信する電圧値を波形データとして受信する。この波形データの波形ピークを割出し、この波形ピークの少し手前を適正値として、本データの書込みに適した電流値に設定する。
【0116】
この場合、適正な書込み電流値を振幅のピーク値より少し手前側に設定するのは、振幅のピーク値を過ぎると出力電圧は飽和状態になるためである(図4参照)。出力電圧が飽和しないようにするため、出力電圧の飽和前に該当する位置を適正な書込み電流値に設定する。
【0117】
次に、磁気カードの抗磁力を判定した結果から適正な書込み電流値を求める場合について説明する。
【0118】
CPU61はカード搬送路54で一方向に搬送している磁気カードCに対し、その一方向への搬送中に磁気ヘッド55を介して、複数の異なる電流値で磁気情報を書込み制御する。該磁気情報を書込んだ後、前記カード搬送路54上を搬送している前記磁気カードCの磁気情報を磁気ヘッド55が読取る。この読取った電圧、読取ったときの磁気カードCの搬送量に基づいて、前記磁気カードCの抗磁力を判定する。そして、この抗磁力に応じた電流値を書込みに適した電流値として設定する。
【0119】
特に、磁気カードCを一方向へ搬送する間に、磁気ヘッド55が段階的に上げられて行く複数の異なる電流値で磁気情報を該磁気カードCに書込んで行く。すると、一方向に一回通過するだけで予備データを書込むことができる。このため、書込み電流値をある値から他の値まで変化させて書込むときの搬送回数が一回で済む。さらに、書込んだときの電流値によって情報が正常に書込まれているか否かを磁気カードCの返却方向への搬送時に磁気ヘッド55により読取って確認できる。
【0120】
前記磁気カードCの書込み位置の検知に際しては、CPU61からモータMへのパルス命令周期と、同じくCPU61から磁気ヘッド55への書込み命令周期とは比例関係にある。これにより、磁気カードから書込みデータを読取り、そのビット数を計数することにより、書込まれた磁気カード上の磁気情報に応じた書込み位置を知ることができる。よって、磁気カードCに磁気情報を書込んだ位置の検出を、モータMに対する書込み命令周期を計数することにより求めることができる。
【0121】
そのほかの磁気カードCの書込み位置の検出手段として、書込む情報のビット数を計数することでもよい。また、モータMの回転量を出力するロータリーエンコーダの回転量を計測することでもよい。
【0122】
さらに、磁気カードCにロータリーエンコーダに接続したローラを接触させ、その回転量を計測することでもよい。いずれの方法を用いてもよい理由は、これらの計測量は磁気カードCを搬送したときの搬送量に比例しているからである。
【0123】
一方、磁気カードCから磁気情報を読取るときには、モータMの回転量を出力するロータリーエンコーダの回転量を計測することにより、読取り位置を検出することができる。また、磁気カードCにロータリーエンコーダのローラを接触させ、その回転量を計測することでもよい。
【0124】
次に、カードリーダ51の主処理動作を図7の磁気カードCが搬送された位置を示す図およびフローチャートを参照して説明する。図7は、左側に各処理の順序を示している。右側の各カードリーダ51の断面図は、各処理が終了したときの磁気カードCの位置を示している。そして磁気カードC付近の矢印は、次の処理で磁気カードCが移動する方向を示している。
【0125】
モータ制御部65はモータMを駆動して、カードリーダ51のカード挿入口53に挿入された磁気カードCを取込む。そして、カード取込み方向に搬送中の磁気カードCの磁気ストライプに記録されている磁気情報を磁気ヘッド55で読取る。読取った磁気情報をメモリ62に初期データとして記憶させる(ステップn11)。
【0126】
読取り後は、磁気カードCを返却方向に搬送する。磁気ヘッド55との接触時にデータ消去用の電流を磁気ヘッド55に印加して、該磁気カードCの磁気情報を消去する。これにより、磁気カードは予備書込みの待機状態になる(ステップn12)。
【0127】
磁気カードCの磁気情報が消去されると、この磁気カードCを再び取り込み方向に搬送する。そして、この搬送中に磁気ヘッド55により、予備書込みを行う。この予備書込みとは、電流値を低電流値から高電流値へと段階的に変化させた書込み(後述する図8および図9参照)を行うことである(ステップn13)。
【0128】
この電流値を段階的に変化させた予備書込み後は、次に磁気カードCを返却方向に搬送して、磁気ヘッド55により磁気カードCに予備書込みされている磁気情報を読取る。このとき、エンコーダパルス数を同時に計数する。これにより、モータMの回転数を取得する。モータMの回転数と磁気カードCの移動距離とは比例関係にあるため、このエンコーダパルス数から磁気カードCの移動距離を求めることができる。この移動距離を求めることで、予備書込み位置とその書込まれたデータとの対応をとる(ステップn14)。
【0129】
予備書込み情報の読取り後は磁気カードがカード挿入口53側の元の位置に戻り、次の本書込みに備えて待機する。そして、読取った磁気情報からCPU61は適切な書込み電流値を検出する(後述する図10参照)(ステップn15)。
【0130】
この検出した結果からCPU61は適切な書込み電流値を設定する(ステップn16)。
【0131】
適切な書込み電流値が設定されると、CPU61は本書込みに移って、磁気カードCを取り込み方向に搬送する。搬送される間に磁気カードCに磁気ヘッド55が書込みに適した書込み電流値で磁気情報を本書込みする。ここで書込まれる磁気情報は、ステップn11で読取った初期データである。また、メモリ62に記憶されている所定の情報を磁気カードに書込んでもよい。これにより、本書込みが終了する(ステップn17)。
【0132】
この本書込みが終了すると、次に本書込みされた磁気カードCを返却方向に搬送する。この返却方向に搬送する間に、磁気ヘッド55が該磁気カードCの磁気情報を読取る。このとき、磁気カードCに磁気情報が正常に磁気記録されているかを確認する(ステップn18)。
【0133】
そして、読取ったデータが書込んだデータに合っていることを確認すれば、磁気カードCをカード挿入口53へと返却する(ステップn19)。利用者は、カードリーダ51の挿入口から磁気カードCを取り出すことができる。これにより、カードリーダ51での1枚の磁気カードCの主処理動作が終了する。
【0134】
次に、上述のステップn13における電流値を段階的に変化させた予備書込みの一例を説明する。
【0135】
メモリ62には、磁気ヘッド55の書込み電流値の搬送距離に対応して変化する波形を記憶している。そして、このメモリ62に記憶されている書込み電流値に従って、磁気ヘッド55に加える書込み電流値を変更する。この場合、搬送距離に対応して変化する波形は、書込み時の電流値の変化状態を搬送距離の変化に伴って段階的に表した波形である。
【0136】
この場合、波形は1磁気ストライプに対して1つではなく、1磁気ストライプに同じ波形を複数回繰返したものである。例えば、図8に示すように、磁気カードCの長手方向に形成された磁気ストライプ上に、同じ波形を3回繰返したものである。この波形に従って、磁気ヘッド55の電流値を変化させ、磁気ストライプに磁気情報を書込む。これにより、書込み順に従って第1〜第3の波形W1〜W3が得られる。この結果、取得した3波形W1〜W3のそれぞれを比較すれば、同じ波形を書込んでいるため、いずれかの波形に異常が生じていても、その適否を判別できる。
【0137】
例えば3つの波形のうち、2つの波形が同じで1つの波形が異なっていれば、1つの波形が不具合な異常波形として認められる。この結果、異常波形を除いた波形から抗磁力を判定することができる。このときの波形の異常発生原因は、磁気ストライプ面に傷が生じている場合、あるいはゴミの付着などによって生じる。
【0138】
上述の波形以外にも、書込み時の電流値を搬送距離の変化に伴って表す関数によって作成することもできる。また、搬送距離の替わりに搬送時間を用いることもできる。
【0139】
また、3つの波形W1〜W3を繰返し書込む際、波形を書込む前に波形間を区切るための僅かの時間だけ書込まない書込み停止部81を形成している。これにより、波形と波形との間には、書込み停止部81が介在することになる。従って、書込み停止部81を各波形W1〜W3の基準位置に設定できるため、繰返し書込まれた波形W1〜W3の個々を明確に区別することができる。
【0140】
次に、電流値を段階的に変化させて予備書込みする動作を図9のフローチャートを参照して説明する。
【0141】
CPU61は磁気カードCに予備書込みするため、先ず、モータMを駆動する。これにより、磁気カードが一定速度で搬送される (ステップn21)。
【0142】
この搬送中に、CPU61は波形を書込む前に、磁気書込み制御部63を介して磁気ヘッド55の書込み電流を一時停止させて、書込み停止部81が得られる時間、書込み動作を待機させる(ステップn22)。
【0143】
該待機時間が経過すると、磁気書込み制御部63は、先ず、最低電流値での書込みを設定する(ステップn23)。
【0144】
この最低電流値で、1ビット分の情報を書込む(ステップn24)。
【0145】
そして、所定ビット分が書込まれたか否かを判定する(ステップn25)。所定ビット分だけ書込まれていないと判定すると、再び、1ビット分だけ書込む(ステップn24)。所定ビット分だけ書込んだと判定すると、電流値を段階的に高めて書込むために次の電流値を設定する(ステップn26)。そして、第1波形の書込みが完了したか否かを判定する(ステップn27)。第1波形の書込みが完了していなければ、再び1ビット分を書込む(ステップn24)。
【0146】
そして、最初の第1波形W1(図8参照)に基づいた電流値で書込みが完了するまで、この1ビット分ずつの電流値を高めて行く書込み動作を段階的に繰返し実行する(ステップn24〜n27)。
【0147】
その後、最初の第1波形W1に基づいた書込みが完了したと判定すると(ステップn27)、次の波形に基づく書込みに移る。この場合も、最初は書込み停止部81の時間、書込み動作を待機させる。その後、書込み停止部81の距離だけ磁気カードCが搬送されると、上述したステップn22以降の最低電流値からの書込みを実行する。このようにして、次の第2波形W2(図8参照)に基づいた電流値で情報を1ビットずつ書込む。該第2波形W2に基づいた書込み後は、同様な手順を繰返して第3波形W3(図8参照)に基づいた電流値で情報を1ビットずつ書込む(ステップn28)。
【0148】
この書込みが終ると、書込み電流を停止し、またモータMの回転を停止させて、磁気カードCの搬送を停止させ、予備書込みが終了する(ステップn29)。
【0149】
このようにして、全波形W1〜W3に基づいた電流値で情報を書込む。磁気カードCをカード搬送路54の始端側から終端側へと一方向に搬送する間に、全3波形W1〜W3を書込んでいる。
【0150】
次に、本書込みに要する適正書込み電流値の検出動作を図10のフローチャートを参照して説明する。
【0151】
予備書込みを終えてカード搬送路54の終端側に移動した磁気カードCを、該カード搬送路54上で返却方向に搬送する。このように搬送されている間に、磁気カードCは磁気ヘッド55と接触し、該磁気カードCに書込まれている磁気情報に基づいて、磁気ヘッド55に発生する電圧が読取られる。この読取られたときの電圧値から最大出力の電圧を探索する(ステップn31)。
【0152】
そして、最大出力電圧が得られたときのモータ信号(エンコーダパルス)から磁気カードCのカード位置を計算して求める(ステップn32)。
【0153】
この求めたカード位置において、予備書込みのときに書込んだ情報の電流値を求める。これが、磁気カードCに本書込みするための適正な電流値になる。(ステップn33)。
【0154】
次に、このカード位置を求める場合、基準位置となる小さな目印波形に基づいた電流値で情報を書込む場合について、説明する。図11は、メモリ62に記憶されている変化させる書込み電流に対応させた第1〜第3の波形W11〜W13である。この3つの波形に加えて、高抗磁力用電流値の目印波形111と、低抗磁力用電流値の目印波形112がメモリ62に記憶されている。
【0155】
これらの目印波形111,112は、目印となる小さな波形を作成する短い搬送時間だけ磁気ヘッド55の書込み電流を、その目印となる波形の大きさに維持する(図においては棒グラフ状に表れる)。
【0156】
このため、各波形W11〜W13の書込み前には、該波形W11〜W13とは異なる目印波形111,112に基づいた電流で情報が書込まれる。これらの目印波形111,112を設けることにより、全3波形W11〜W13を区別することができる。また、これらの目印波形111,112は、波形を位置決めするための基準位置に設定するため、磁気カードCの搬送位置を容易に求めることができる。
【0157】
このような目印波形111,112を書込むようにした予備書込みを実行する場合も、図7のフローチャートで述べた磁気カードCの処理動作と同様な処理を行う。また、図7のステップn14において、磁気ヘッド55が磁気カードCに書込まれた磁気情報を読取る場合にも、各目印波形111,112を読取って、各波形W11〜W13の位置を特定できる。
【0158】
次に、波形W11〜W13と目印波形111,112とを書込む書込み処理動作を図12のフローチャートを参照して説明する。
【0159】
CPU61は磁気カードCに予備書込みするため、先ず、モータMを駆動する。これにより、磁気カードが一定速度で搬送される (ステップn41)。
【0160】
このとき、カード搬送路54に沿って搬送されてきた磁気カードCが、磁気ヘッド55に接触したとき、CPU61は各波形W11〜W13に基づく書込みに先立って、磁気書込み制御部63を介して磁気ヘッド55の書込み電流を一時停止させる(ステップn42)。
【0161】
その後、磁気カードCが目印波形の書込み位置に至ると、先ず、高抗磁力用電流値による目印波形111に基づいた書込みを開始する。この目印波形111に基づいた搬送距離だけ書込めば、該高抗磁力用電流値による目印波形111の書込みが終る(ステップn43)。
【0162】
続いて、低抗磁力用電流値による目印波形112との区別がつく搬送距離だけ、書込み電流を停止させる(ステップn44)。
【0163】
その後、磁気カードCが低抗磁力用電流値による目印波形112の書込み位置に至ると、低抗磁力用電流値による目印波形112の書込みを開始する(ステップn45)。
【0164】
この目印波形112に基づく搬送距離だけ書込めば、その低抗磁力用電流値による目印波形112の書込みを終える。このようにして、各目印波形111,112に基づいた電流値で情報を書込む(ステップn46)。
【0165】
その後、書込み電流を停止させて、所定時間が経過すると、最低電流値を設定して、これより段階的に電流値を上げながら書込んで行く第1波形W11に基づく電流値による情報の書込みに移る(ステップn47)。
【0166】
この設定された最低電流値で、1ビット分の情報を書込む(ステップn48)。
【0167】
所定ビット分が書込まれたか否かを判定する(ステップn49)。所定ビット分だけ書込まれていないと判定すると、再び、1ビット分だけ書込む(ステップn48)。所定ビット分だけ書込んだと判定すると、電流値を段階的に高めて書込むために次の電流値を設定する(ステップn50)。そして、第1波形の書込みが完了したか否かを判定する(ステップn51)。第1波形の書込みが完了していなければ、再び1ビット分を書込む(ステップn48)。
【0168】
そして、最初の第1波形W11(図11参照)が得られるまで、この1ビット分ずつの電流値を波形に従って高めて行く予備書込み動作を段階的に繰返し実行する(ステップn51)。
【0169】
その後、最初の第1波形W11に基づいた書込みが完了したと判定すると(ステップn51)、次の波形に基づく書込みに移る。この場合も、最初は上述したステップn42〜ステップn46の目印波形111,112に基づいた書込みを行う。その後、再び次の第2波形W12(図11参照)を作成する手順(ステップn47〜ステップn52)に移行して第2波形W12に基づいて情報を書込む。該第2波形W12に基づく情報の書込み後は、同様な手順を繰返して第3波形W13(図11参照)に基づいて情報を書込む(ステップn42〜n52)。
【0170】
この書込みが終ると、書込み電流を停止し、またモータMの回転を停止させて、磁気カードCの搬送を停止させ、予備書込みが終了する(ステップn53)。
【0171】
このようにして、全波形111、112およびW11〜W13に基づいた電流値を磁気ヘッド55に加えて情報を書込む。磁気カードCをカード搬送路54の挿入口付近の始端側から奥の終端側へと一方向に搬送する間に、全3波形W11〜W13に基づいて情報を書込んでいる。
【0172】
次に、予備書込みした結果から適正書込み電流値を検出する動作を図13のフローチャートを参照して説明する。
【0173】
予備書込みを終えた磁気カードCは、その予備書込みされたデータの適否を判定するために返却方向に搬送される。この搬送中に磁気ヘッド55と磁気カードCが接触し、該磁気カードCに書込まれている磁気情報に基づいて、発生する電圧が読取られる。この読取られたときの電圧値から、磁気カードCに書込まれている目印波形111,112から該磁気カードCの基準位置が検出される(ステップn61)。
【0174】
CPU61は、読取った電圧値から最大出力の電圧値を探索する(ステップn62)。
【0175】
そして、検出された基準位置からこの探索した最大出力電圧が得られた位置までの距離を求める(ステップn63)。
【0176】
この求めた磁気情報に対応するカード位置において、予備書込みの時に書込んだ情報の電流値を求める。これが、磁気カードCに本書込みするための適正な電流値になる(ステップn64)。
【0177】
この場合は、目印波形111,112が各波形W11〜W13を位置決めするときの基準になるため、磁気カードCの磁気情報の記録位置を正確に求めることができる。
【0178】
図14は高抗磁力磁気カードの書込み電流値とその読取り結果の一例を示している。図においては3つの波形のうちの1つの波形を拡大して示している。
【0179】
このうち、図中、上側に示す波形データは、CPU61がメモリ62のプログラムに従って磁気ヘッド55で書込むときに印加する電流値の搬送距離に対応して変化する波形141を表し、書込み電流(mA)と搬送距離(mm)との関係を波形図で表している。下側の波形データは、磁気ヘッド55で読取ったときに得られる電圧値の搬送距離に対応して変化する波形142を表し、出力電圧(mV)と搬送距離(mm)との関係を波形図で表している。
【0180】
これらの搬送距離に対応して変化する波形141,142から高抗磁力磁気カードの適正書込み電流値を求めるものである。先ず、最低電流値から最高電流値に至るまで、書込み電流値を時間の経過とともに変化させて、予備書込みするときに印加する電流値の搬送距離に対応して変化する波形141をメモリ62に記憶させておく。
【0181】
その後、磁気ヘッド55で読取ったときの電圧の搬送距離に対応して変化する波形142の最大電圧値を検出する。次に、この検出した最大電圧値に対応する波形ピーク位置143を求める。この波形ピーク位置143と、メモリ62に記憶されている上側の搬送距離に対応して変化する波形141のカード書込み位置と交わる書込み電流値144が、該高抗磁力磁気カードに適した適正書込み電流値となる。
【0182】
図15は低抗磁力磁気カードの書込み電流値とその読取り結果の一例を示している。図においては3波形のうちの1波形を拡大して示している。
【0183】
この場合も同様に、図中上側に示す波形データは、CPU61がメモリ62のプログラムに従って磁気ヘッド55で書込むときに印加する電流値の搬送距離に対応して変化する波形151を表し、書込み電流(mA)と搬送距離(mm)との関係を波形図で表している。下側の波形データは、磁気ヘッド55で読取ったときに得られる電圧値の搬送距離に対応して変化する波形152を表し、出力電圧(mV)と搬送距離(mm)との関係を波形図で表している。
【0184】
これらの搬送距離に対応して変化する波形151,152から高抗磁力磁気カードの適正書込み電流値を求めるものである。先ず、最低電流値から最高電流値に至るまで、書込み電流値を時間の経過とともに変化させて予備書込みするときに印加する電流値の搬送距離に対応して変化する波形151をメモリ62に記憶させておく。
【0185】
その後、磁気ヘッド55で読取ったときの電圧の搬送距離に対応して変化する波形152の最大電圧値を検出する。次に、この検出した最大電圧値に対応する波形ピーク位置153を求める。この波形ピーク位置153と、メモリ62に記憶されている上側の搬送距離に対応して変化する波形151のカード書込み位置と交わる書込み電流値154が、該低抗磁力磁気カードに適した適正書込み電流値となる。
【0186】
従って、高抗磁力磁気カードの場合も、低抗磁力磁気カードの場合であっても、その磁気カードが持つ抗磁力に適した書込み電流値を求めることができる。このため、各磁気カードが持つ抗磁力に適した書込みが行える。特に、高抗磁力磁気カードの場合は、該カードの抗磁力が異なることが多い。このような抗磁力の異なる高抗磁力磁気カード毎に対しても、該磁気カード毎に応じた適正書込み電流値を求めることができる。
【0187】
さらに、図16および図17に示すように、図中、下側に示す電圧の搬送距離に対応して変化する波形161,171は、その書込み開始位置162,172が緩やかに立ち上るため不明瞭で捉え難い。これに対し、該波形161,171の書込み終了位置163,173は電圧値が高く明瞭で捉え易い。
【0188】
このため、磁気ヘッド55が読取った波形毎の書込み開始位置162,172から書込み終了位置163,173までの該波形の読取り領域164,174の両端において、その読取った書込み電流値が大きく明瞭に表される書込み終了位置163,173を波形の基準位置とする。この基準位置に基づいて、CPU61は磁気ヘッド55で読取ったときの磁気カードCの搬送量を決定することができる。
【0189】
このように、書込む波形に不明瞭な書込み開始位置、あるいは目印波形がない場合でも、その波形161,171自体に書込み基準位置を持たせることができる。
【0190】
図18は波形自体に基準位置を持たせた他の実施の形態の搬送距離に対応して変化する波形の一例を示す。この搬送距離に対応して変化する波形の一形態として間欠波形181のものである。この間欠波形181は、磁気ヘッド55で電流値を段階的に上げながら書込む際に、その書込み電流の出力を短時間の間隔で出力と停止とに交互に繰返させるものである。
【0191】
このように書込めば、短時間の間隔で間欠波形181に基づいて磁気ヘッド55に電流が加わり情報が書込まれる。そして、立ち上った間欠波形181の次には、短時間の間欠書込み停止部182に基づいて、間欠波形181に基づいて磁気ヘッド55に電流が加えられ、情報が書込まれる。このため、間欠書込み停止部182が波形自体の基準位置となる。特に、短い搬送時間の間隔に間欠波形181と間欠書込み停止部182とに基づいて交互に電流が加えられるため、一部分の間欠波形181が消失しても見分けることができる。
【0192】
図19は波形自体に基準位置を持たせた他の実施の形態の搬送距離に対応して変化する波形の一例を示す。この搬送距離に対応して変化する波形の一形態は不整列な階段状波形191である。この不整列な階段状波形191は磁気ヘッド55で電流値を段階的に上げながら書込む際に、その書込み電流の出力を段階的に高める度の電流値の維持時間T1〜T6…を徐々に長くなるように異ならせて書込んで行くものである。
【0193】
このように書込めば、段階的に高めた書込み電流値毎の維持時間が異なるため、この維持時間が異なった時間差によって段階的に書込まれた一つ一つの書込み波形自体が異なる。この異なった不規則な階段状波形191のそれぞれが基準位置となる。このように出力しても波形自体に基準位置を持たせることができる。
【0194】
なお、上述の図14〜図17に表示した波形は、図8および図11で示した波形と同様に階段状波形で表されるが、その表示が不明瞭になりやすいため直線および曲線で明瞭に表している。
【0195】
この発明は、上述の実施の形態の構成のみに限定されるものではなく、多くの実施の形態を得ることができる。
例えば、上述の実施の形態では静止させたヘッド35,36,55の位置に磁気カードCを移動させながら磁気処理するものを示したが、これに限らず、静止させた磁気カードの位置に、書込みヘッド・読取りヘッドあるいは書込みと読取りとを兼用する1つの磁気ヘッドを移動させて磁気処理するように構成することもできる。
【図面の簡単な説明】
【図1】第1実施の形態のカードリーダの制御回路ブロック図。
【図2】第1実施の形態のカードリーダの処理動作を示すフローチャート。
【図3】第1実施の形態のカードリーダの磁気処理動作を示す説明図。
【図4】第1実施の形態の様々な磁気カードの波形データ例を示す図表。
【図5】第2実施の形態のカードリーダを示す概略断面図。
【図6】第2実施の形態のカードリーダの制御ブロック図。
【図7】第2実施の形態のカード処理動作を示すフローチャート。
【図8】第2実施の形態の予備書込み時の3波形を示す波形図。
【図9】第2実施の形態の波形書込み動作を示すフローチャート。
【図10】第2実施の形態の適正書込み電流値を求めるためのフローチャート。
【図11】第2実施の形態の目印波形付きの波形を示す波形図。
【図12】第2実施の形態の目印波形付きの波形の書込み動作を示すフローチャート。
【図13】第2実施の形態の目印波形から適正書込み電流値を求めるフローチャート。
【図14】第2実施の形態の高抗磁力磁気カードの適正書込み電流値を求めた波形図。
【図15】第2実施の形態の低抗磁力磁気カードの適正書込み電流値を求めた波形図。
【図16】第2実施の形態の高抗磁力磁気カードの波形の基準位置を示す波形図。
【図17】第2実施の形態の低抗磁力磁気カードの波形の基準位置を示す波形図。
【図18】第2実施の形態の間欠波形と間欠書込み停止部を示す波形図。
【図19】第2実施の形態の不規則な階段形状波形を示す波形図。
【符号の説明】
30,51…カードリーダ
32,61…CPU
35…書込みヘッド
36…読取りヘッド
40…ROM
55…磁気ヘッド
C…磁気カード
62…メモリ
81,182…書込み停止部
111,112…目印波形
W1〜W3,W11〜W13,141,142,151,152,161,171,181,191…波形
143,153…波形ピーク位置
144,154…適正書込み電流値
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a magnetic recording method and apparatus for recording magnetic information on a magnetic recording medium such as a magnetic card, a form with a magnetic stripe, and a magnetic ticket with an appropriate current value, and a coercive force judging apparatus for the magnetic recording medium.
[0002]
[Prior art]
Normally, there are two types of magnetic cards with different types of magnetic stripes. One is a low coercive force magnetic card in which magnetic information is recorded by a magnetic head with a small write current. The other is a high coercive force magnetic card in which magnetic information is recorded by a magnetic head having a large write current.
[0003]
When a magnetic head writes magnetic information to a low coercive force magnetic card with a large write current, the magnetic information may not be sufficiently written. Therefore, when the magnetic information is read by the magnetic head, an appropriate read voltage cannot be detected, and the written information cannot be reproduced.
[0004]
A similar problem arises when a magnetic head writes magnetic information with a small write current to a high coercive force magnetic card.
[0005]
In order to determine whether the card is a high coercive force magnetic card or a low coercive force magnetic card, the following determination technology exists.
[0006]
(1) Writing is performed with a predetermined number of magnetic flux changes per predetermined length of the magnetic stripe while increasing the write current within a preset range while relatively moving the head. The written magnetic stripe is read by a read head. The voltage value and the current value from the read head are compared, and if the voltage value is within an allowable range, the current value in that case is selected. If the voltage value is not within the allowable range, the pre-selected range at the time of writing is changed, the steps of writing to the magnetic stripe again, reading it, and determining the write current value are repeated. Thereby, the coercive force of the magnetic stripe can be determined, and magnetic information can be written to the magnetic stripe with an appropriate current value (see Patent Document 1).
[0007]
(2) The coercive force of the magnetic recording medium is determined, and according to the result of the determination, the strength of the magnetic information added to the magnetic recording medium is changed while being adjusted in accordance with the coercive force of the magnetic recording medium. It is a recording device. There are two types of magnetic recording media used for this recording information: ordinary tickets and commuter passes. Information indicating whether the ticket is a high coercive force ticket or a low coercive force ticket is written in these tickets. By reading this with a read head, it is identified whether the inserted ticket is a high coercive force ticket or a low coercive force ticket. Based on this identification result, the magnetic recording is performed by setting the exciting current to a value suitable for the coercive force of the ticket (see Patent Document 2).
[0008]
The following is described as another method. Small plain tickets are high coercivity recording media. Large commuter passes are low coercivity recording media. Whether the conveyed ticket is a regular ticket or a commuter ticket is determined based on the size of the ticket. As a result of this determination, when it is determined that the ticket is a small ordinary ticket, information is written to the ticket with a high coercive force. On the other hand, if it is determined that the commuter pass is a large commuter pass, information is written to the ticket with low coercive force. Thus, magnetic recording is performed with a magnetic strength corresponding to the magnitude of the coercive force of the ticket.
[0009]
(3) The coercive force of the magnetic card used is read and determined by a magnetic card reader. In this case, in a magnetic card reader configured to reproduce or record magnetic information of a magnetic card inserted into a card insertion slot by a magnetic head, determining means for determining a coercive force of a data track for recording magnetic information. Is provided. Then, after recording test data on the data track of the captured magnetic card with a current corresponding to the low coercive force card, the test data is reproduced, and when the reproduced data matches the test data, it is determined that the card is a low coercive force card. This is a judgment (see Patent Document 3).
[0010]
(4) The coercive force of the magnetic card used is read and determined by a magnetic card reader. In this case, a magnetic card reader configured to reproduce or record magnetic information of a plurality of tracks formed on a magnetic card inserted from a card insertion slot by a plurality of magnetic heads provided corresponding to the plurality of tracks, Each of the magnetic heads records or erases data with a current having a different predetermined value, and includes a coercive force determining unit that determines three or more coercive forces of the data track by reproducing the recording or erasing result. is there. For example, reproduction is performed after erasing a first track with a current of a first value, and reproduction is performed after erasing a second track with a current of a second value. The coercive force of the magnetic card is determined based on the relationship between the resulting output level and the first and second values (see Patent Document 4).
[0011]
(5) This is a magnetic card coercive force determination method for determining the coercive force of a magnetic card to be used. In this case, the magnetic information formed on the low coercive force card or the high coercive force card inserted from the card insertion slot is reproduced or recorded by a magnetic head. After erasing the data on the inserted card with a current that can only erase the data on the magnetic force card, reproduce the data on that card and, if the data is in a destroyed state, determine the inserted card as a low coercive force card Is what you do. The destruction state of the data is determined by the number of times of magnetization reversal of the reproduced data or by not recognizing specific data (STX code) to be recorded on a predetermined card (see Patent Document 5). ).
[0012]
(6) It is possible to omit the operation of determining the magnetic coercive force, extend the life of the device, and avoid the danger of data corruption due to erroneous determination. Regardless of whether the magnetic card actually inserted is a high coercivity card or a low coercivity card, a high coercivity card is used so that desired magnetic information can be written satisfactorily without determining whether it is the coercivity card or the low coercivity card. After a recording operation using a write current, a re-recording operation using a low write current is performed to execute a recording operation on a magnetic card (see Patent Document 6).
[0013]
[Patent Document 1]
JP 2001-148101 A,
[Patent Document 2]
Japanese Patent Publication No. 4-38045,
[Patent Document 3]
JP-A-11-96506,
[Patent Document 4]
JP-A-11-328604,
[Patent Document 5]
JP 2000-155816 A,
[Patent Document 6]
JP-A-2001-118206.
[0014]
[Problems to be solved by the invention]
However, in Patent Literature 1, the magnetic card must be transported many times to determine an appropriate write current, and thus there is a problem that the determination process requires a long time.
[0015]
With respect to the other patent documents 2 to 6, it is possible to determine whether the type of the magnetic card is a high coercive force or a low coercive force. However, the variation of the coercive force of the low coercive force magnetic card is in a certain allowable range, whereas the coercive force of the high coercive force magnetic card often has a different coercive force. Therefore, an appropriate write current is often different for each high coercivity magnetic card.
[0016]
In these Patent Documents 2 to 6, even if the coercive force of the magnetic card is determined to be high coercive force or low coercive force, appropriate writing for writing to each magnetic card having a different coercive force is performed. Current cannot be measured.
[0017]
For this reason, it is desirable to find an appropriate write current according to each magnetic card. For example, it is conceivable to write magnetic information for determining coercive force on a magnetic card and read the written magnetic information to determine a write current suitable for the coercive force of the magnetic card.
[0018]
However, in this case, even if there is an abnormality in the coercive force determination magnetic information written on the magnetic card, the magnetic determination is performed as it is, and a normal coercive force cannot be obtained.
[0019]
SUMMARY OF THE INVENTION It is an object of the present invention to enable acquisition of magnetic information without any abnormality for determining coercive force from a magnetic recording medium. Then, an appropriate write current of the magnetic recording medium is obtained from the acquired magnetic information for determining coercive force without abnormality, and the magnetic information is written to the magnetic recording medium with the obtained appropriate write current. Another object of the present invention is to reduce the number of times of transport during writing to be smaller than the number of times of writing required for obtaining an appropriate writing current of the magnetic recording medium.
[0020]
[Means for Solving the Problems]
According to the present invention, while the magnetic recording medium is relatively moved in one direction with respect to the write head and the read head, the write head pre-writes the magnetic recording medium with a plurality of different current values, Is read by the read head, a proper value of a write current to the magnetic recording medium is determined based on the read result, and the write head performs a main write to the magnetic recording medium with the determined proper value. is there.
[0021]
Here, the magnetic recording medium is a medium having a magnetic recording surface such as a magnetic stripe that permits recording or reproduction of magnetic information.
[0022]
The write head generates a magnetic field by applying a current to the write head, and writes magnetic information on a magnetic recording surface of a magnetic recording medium that is in contact with the write head. When the write head moves in one direction relative to the magnetic recording medium, magnetic information is sequentially written on the magnetic recording surface of the magnetic recording medium. For example, writing is performed while moving the write head. Alternatively, writing is performed while the write head and the magnetic recording medium are relatively moved in one direction, such as writing while moving the magnetic recording medium.
[0023]
The read head generates a magnetic field when it moves on the magnetic recording surface of the magnetic recording medium, generates a voltage in the read head, and reads magnetic information from the magnetic recording surface of the magnetic recording medium based on a change in the voltage. When the write head moves relative to the magnetic recording medium in one direction, magnetic information is sequentially read from the magnetic recording surface of the magnetic recording medium. For example, reading is performed while moving the reading head. Alternatively, reading is performed while the read head and the magnetic recording medium are relatively moved in one direction, such as reading while moving the magnetic recording medium.
[0024]
These write head and read head may be provided side by side in the transport direction of the same transport path of the magnetic recording medium, or may be a single head having both functions capable of reading and writing.
[0025]
The pre-writing means writing magnetic information on the magnetic recording surface of the magnetic recording medium while changing the value of the write current of the write head.
[0026]
The main writing is to write magnetic information with a writing current suitable for the coercive force of the magnetic recording surface of the magnetic recording medium obtained from the result of the preliminary writing.
[0027]
The appropriate value is a write current value applied to a write head suitable for a coercive force that differs for each magnetic recording medium.
[0028]
According to this magnetic recording method, an appropriate value required for the actual writing is obtained from the result of the preliminary writing on the magnetic recording medium, and the actual writing is performed. The respective write operations of the preliminary write and the main write at this time are executed while the magnetic recording medium is relatively moved in one direction with respect to the write head.
[0029]
According to another aspect of the present invention, there is provided a magnetic recording apparatus including a write head for writing magnetic information on a magnetic recording medium, a read head for reading magnetic information from the magnetic recording medium, and control means for controlling these. A control unit configured to perform a preliminary write in which the write head performs preliminary write with a plurality of different current values on the magnetic recording medium while the magnetic recording medium relatively moves in one direction with respect to the write head and the read head; Processing, preliminary writing / reading processing for reading a preliminary writing result, which is the result of the preliminary writing, with the read head, and proper value obtaining processing for obtaining a proper value of a write current to the magnetic recording medium based on the preliminary writing result. And a main writing process for executing main writing on the magnetic recording medium with the write head based on the appropriate value.
[0030]
Here, the magnetic recording device can be constituted by a card reader or the like which reads magnetic information on a magnetic recording medium and writes the magnetic information on the magnetic recording medium.
[0031]
The appropriate value acquisition process calculates an appropriate value of a write current from an output value read by the read head. For example, a peak value of the amplitude of the waveform data read by the read head or a value close to the peak value is detected, and an appropriate value of the write current is acquired from the detected value.
[0032]
According to another aspect, the preliminary writing process is completed by an operation in which the magnetic recording medium passes through the write head once in one direction. The pre-reading process is also completed by the operation in which the magnetic recording medium passes through the read head once.
[0033]
If the read head and the write head are provided on the same transport path of the magnetic recording medium, the write processing and the read processing can be performed only by transporting the magnetic recording medium in one direction. Therefore, the coercive force of the magnetic recording medium can be obtained with a small number of conveyances.
[0034]
In another aspect, a transport unit that transports the magnetic recording medium, a transport amount detecting unit that detects a transport amount of the magnetic recording medium, and a transport unit that transports the magnetic recording medium in one direction while being transported by the transport unit. A write head for writing magnetic information to the magnetic recording medium at a plurality of different current values; and the magnetic recording medium, wherein the magnetic information is written on the magnetic recording medium by the write head and then conveyed by the conveying means. A magnetic recording apparatus comprising: a read head for reading magnetic information of a medium; and determination means for determining a coercive force of the magnetic recording medium based on a voltage read by the read head and a transport amount of the magnetic recording medium at the time of reading. It is a coercive force determination device for a medium.
[0035]
The transport means constitutes a transport path of the magnetic recording medium by disposing transport members such as a transport roller and a transport belt that rotate upon receiving a rotational driving force from a motor in the transport direction. Then, the magnetic recording medium guided here is moved in the loading direction or the returning direction.
[0036]
Further, a write head and a read head are arranged in this transport path, and magnetic information is written on a magnetic recording medium passing therethrough. Also, the magnetic information of the magnetic recording medium passing therethrough is read.
[0037]
The transport amount corresponds to a transport distance or a transport time when the magnetic recording medium is transported by driving the transport unit with a motor or the like.
[0038]
The transport amount detecting means detects the transport amount when the magnetic recording medium is transported. For example, there is a proportional relationship between the number of rotations of a motor serving as a driving source of the transporting means and the moving distance of the magnetic recording medium. For this reason, the number of rotations of the motor may be detected, or the moving distance of the magnetic recording medium may be detected. Further, when the magnetic recording medium is transported at a constant speed, the moving distance of the magnetic recording medium is proportional to the time required for the movement. Therefore, the moving distance of the magnetic recording medium may be detected, or the moving time thereof may be detected.
[0039]
When the magnetic information of the magnetic recording medium written with a plurality of different current values is read, the determination unit determines a transport amount of the magnetic recording medium and a change in a voltage obtained from the read head according to the transport amount. The coercive force of the magnetic recording medium is determined.
[0040]
According to another aspect, the write position and the read position of the magnetic information on the magnetic recording medium are measured from the voltage when reading the magnetic information written on the magnetic recording medium and the transport amount of the magnetic recording medium. . Then, the coercive force of the magnetic recording medium is obtained by measuring the magnetic recording position. In particular, instead of transporting the magnetic recording medium in a different manner each time the magnetic recording medium is transported in one direction when the magnetic recording medium is transported, the write head may feed the magnetic recording medium with a plurality of different current values such as a high current and a low current. Write a wide range of magnetic information. For this reason, the number of transports for writing magnetic information at the time of preliminary writing is only one.
[0041]
According to another aspect of the invention, a transport unit that transports the magnetic recording medium, a transport amount detection unit that detects a transport amount of the magnetic recording medium, and writes magnetic information on the magnetic recording medium that is being transported by the transport unit A write head, write current waveform storage means for storing a waveform that changes in accordance with the carry amount of the write current value of the write head, and the writing in accordance with the write current value stored in the write current waveform storage means. Write current changing means for changing a write current of a head, and a read head for reading magnetic information of the magnetic recording medium being conveyed by the conveying means after writing magnetic information on the magnetic recording medium by the write head And the voltage read by the read head, the transport amount of the magnetic recording medium at the time of reading, and the write current stored in the write current waveform storage means. Determining means for determining the coercive force of the magnetic recording medium according to the time change of the magnetic recording medium, wherein the write current changing means changes the same waveform by repeating the same waveform a plurality of times. It is characterized by doing.
[0042]
The waveform that changes according to the transport distance is a waveform that indicates the current value at the time of writing as the transport distance elapses. In addition to this waveform, the current value at the time of writing may be created by a function that represents the current value over time. Further, the transport time may be used instead of the transport distance.
[0043]
According to another aspect, when writing with a write head, information of a plurality of waveforms is obtained by changing the write current and repeating the same waveform a plurality of times. Therefore, by comparing a plurality of acquired waveforms, it is possible to determine the suitability of each waveform because the same waveform is written. For example, if two of the three waveforms are the same and one waveform is different, one waveform is recognized as a defective abnormal waveform. As a result, the coercive force can be determined from a plurality of waveforms excluding the abnormal waveform.
[0044]
In another aspect of the invention, the writing head does not write for the time for separating the plurality of the same waveforms during the repetition of the same waveform during the transport of the magnetic recording medium.
[0045]
A transport time may be used instead of the distance, and a plurality of waveforms may be separated by the transport time.
[0046]
In this case, since there is an unwritten portion between the waveforms to separate the two waveforms, each of the repeatedly written waveforms can be distinguished.
[0047]
In another aspect of the present invention, during the transport of the magnetic recording medium, the write current of the write head is set to a reference value for a time period during which the write current changing means creates another waveform at the reference position during the repetition of the same waveform. It is characterized by maintaining the size of the waveform to be the position.
[0048]
In this case, another waveform different from the waveform is formed between the waveforms. This serves as a mark, and by providing the mark, a plurality of waveforms can be distinguished. Further, since this mark can be set at a reference position for positioning the waveform, the transport amount of the magnetic recording medium can be obtained.
[0049]
According to another aspect of the present invention, the write current changing means alternately repeats the write current of the write head between output and stop at predetermined intervals while the magnetic recording medium is being conveyed.
[0050]
In this case, the write stop portion is a mark without a waveform, which is a reference position for measuring the position of the waveform. In particular, since the waveform and the mark can be alternately provided at short time intervals, even if any waveform disappears, it can be recognized. Therefore, the transport position of the magnetic recording medium corresponding to the write position of the medium can be specified.
[0051]
According to another aspect of the invention, the write current changing unit increases the write current of the write head in a stepwise manner while the magnetic recording medium is being conveyed, and varies the time for maintaining the current value each time the write current is changed. And
[0052]
In this case, the time for which the write current value is increased stepwisely is different. For this reason, each of the write waveforms written step by step is a mark due to the difference in the maintenance time.
[0053]
In another aspect, a transport unit that transports a magnetic recording medium, a transport amount detecting unit that detects a transport amount of the magnetic recording medium, and a write operation that writes magnetic information on the magnetic recording medium that is transported by the transport unit A head, a write current waveform storage means for storing a waveform that changes in accordance with a conveyance distance of a write current value of the write head, and a write current value stored in the write current waveform storage means. Write current changing means for changing a write current, and a read head for reading magnetic information of the magnetic recording medium carried by the magnetic recording medium after writing magnetic information on the magnetic recording medium by the write head. The voltage read by the read head, the transport amount of the magnetic recording medium at the time of reading, and the write stored in the write current waveform storage means. Determining means for determining a coercive force of the magnetic recording medium in accordance with a time change of the flow value, wherein a coercive force determining apparatus for the magnetic recording medium comprises: At both ends, the determination means determines the transport amount of the magnetic recording medium when the reading is performed by the reading head, based on a position where the read voltage value read is large.
[0054]
Both ends of the waveform reading area are from the write start position to the write end position for each waveform read by the read head.
[0055]
In this case, the position where the read voltage value is large is set as the reference position. Therefore, the waveform itself can have a reference position.
[0056]
In another aspect, a write head that writes magnetic information on a magnetic recording medium, a read head that reads magnetic information on a magnetic recording medium, a transport unit that transports the write head and the read head, Transport amount detecting means for detecting the transport amount of the read head; current changing means for changing the drive current of the write head during transport in one direction in which the write head is transported by the transport means; After writing magnetic information on a magnetic recording medium, the read head is transported by the transport means, read control means for reading the magnetic information of the magnetic recording medium, and a value read by the read head by the read control means, Determining means for determining the coercive force of the magnetic recording medium based on the transport amount of the read head at the time of reading. Characterized in that it is a coercive force determining device for a recording medium.
[0057]
In this case, the magnetic information is recorded or reproduced on the magnetic recording medium while the magnetic recording medium is stationary and the write head and the read head are transported.
[0058]
According to another aspect of the invention, a transport unit that relatively moves the magnetic recording medium with respect to the write head and the read head, a transport amount detection unit that detects an amount of movement by the transport unit, and the transport unit A write current changing means for changing a write current of the magnetic head during movement of the magnetic recording medium in one direction which is moving relative to the magnetic recording medium, after writing magnetic information on the magnetic recording medium by the write head; Reading the magnetic information of the magnetic recording medium relatively moving with respect to the read head with the read head, and detecting the magnetic information of the magnetic recording medium based on the voltage read by the read head and the amount of movement when reading. The present invention is characterized in that the device is a coercive force judging device for a magnetic recording medium, comprising a judging means for judging magnetic force.
[0059]
In this case, when recording or reproducing magnetic information on the magnetic recording medium, recording or reproducing may be performed while moving the magnetic recording medium to the position of the stationary head, and the head may be moved to the position of the stationary magnetic recording medium. Recording or reproduction may be performed while moving. Further, the magnetic processing may be performed while moving not only one of the magnetic recording medium and the head but also both of them.
[0060]
According to another aspect of the present invention, in the above-described apparatus for determining coercive force of a magnetic recording medium, the read head reads magnetic information of the magnetic recording medium in advance, and stores the magnetic information of the magnetic recording medium read in advance. Means, and after the determination by the determination means, writes the magnetic information stored in the magnetic information storage means to the magnetic recording medium with a current corresponding to the coercive force determined by the determination means. It is characterized in that
[0061]
In this case, when the magnetic recording medium is transported in one direction, the magnetic information stored in the medium is read to determine the coercive force. Then, writing is performed with a current corresponding to the coercive force.
[0062]
According to another aspect of the invention, a transport unit that relatively moves the magnetic recording medium with respect to the write head and the read head, a transport amount detection unit that detects an amount of movement by the transport unit, and the transport unit Write current changing means for changing the write current of the magnetic head during one-way conveyance of the magnetic recording medium which is relatively moving; and a write position for detecting a position where the write head has written on the magnetic recording medium. Detecting means for writing magnetic information on the magnetic recording medium by the write head, and then reading magnetic information of the magnetic recording medium moving relative to the read head with the read head; Determining means for determining the coercive force of the magnetic recording medium based on the read voltage, the amount of movement when reading, and the written position; Characterized in that the a coercive force determination device for a magnetic recording medium.
[0063]
The write position detecting means can be realized by counting the number of bits of the write information.
[0064]
In this case, when recording or reproducing the magnetic information on the magnetic recording medium, the magnetic processing may be performed while moving one or both of the magnetic recording medium and the head (write head, read head). Further, since the position where data is written on the magnetic recording medium is detected, the coercive force of the magnetic recording medium can be obtained from the written position. As a result, magnetic information can be written by finding an appropriate write current value suitable for the coercive force of the magnetic recording medium.
[0065]
【The invention's effect】
According to the present invention, an appropriate value of the write current to the magnetic recording medium can be obtained, and the number of times of conveyance is reduced.
[0066]
BEST MODE FOR CARRYING OUT THE INVENTION
An embodiment of the present invention will be described below with reference to the drawings.
[0067]
[First Embodiment]
The drawing shows a card reader for writing and reading magnetic information on a magnetic card.
[0068]
FIG. 1 shows a control circuit block diagram of the card reader 30. The card reader 30 includes a motor encoder 31, a CPU 32, a D / A converter 33, a current control circuit 34, a write head 35, a read head 36, an amplifier 37, an A / D converter 38, a RAM 39 , ROM 40.
[0069]
The motor encoder 31 is an encoder provided for a motor of a transport system. The motor encoder 31 detects the number of pulses when the motor rotates and outputs with a photo sensor through a slit of a disk provided on the motor shaft. Thus, the CPU 32 calculates that the motor has been driven and the number of rotations at that time.
[0070]
The CPU 32 executes a control process of a device connected to the CPU 32 according to a program stored in the ROM 40. When writing magnetic information to a magnetic card according to the program, an appropriate write current value required for the actual writing is obtained from the result of preliminary writing to the magnetic card, and the actual writing is performed.
[0071]
First, in the case of preliminary writing, the writing current is increased stepwise, and preliminary writing is performed with a plurality of different current values of a high current and a low current at that time. The plurality of different current values are stored in the ROM 40 as preliminary data. Then, when reading the preliminary data that has been preliminarily written, the CPU 32 obtains an appropriate value of a write current suitable for each coercive force of each magnetic card from the preliminary write result. The obtained proper value is set as a current value for the main writing, and this current value is stored in the ROM 40 as main data. Then, actual writing is performed using the current value of the actual data.
[0072]
The D / A converter 33 converts digital data into an analog signal. At this time, the D / A converter 33 sets a write current of magnetic information (preliminary data and main data) to be written to the magnetic card C. Specifically, a process of stepwise increasing the current supplied to the current control circuit 34 is performed based on digital data set to increase the current value stepwise.
[0073]
The current control circuit 34 outputs the write data commanded by the CPU 32 to the write head 35 with the current value supplied from the D / A converter 33.
The write head 35 writes the write data at the current value on the magnetic stripe St (see FIG. 3) of the magnetic card C by changing the magnetic flux.
[0074]
The read head 36 reads a voltage value (output value) obtained when reading data written on the magnetic stripe St of the magnetic card C.
[0075]
The amplifier 37 outputs a voltage value read by the read head 36 to an A / D converter 38.
[0076]
The A / D converter 38 converts an analog signal into digital data. The A / D converter 38 reads the voltage value as a waveform and outputs the voltage value as waveform data.
The RAM 39 temporarily stores data and the like necessary for the control processing by the CPU 32.
[0077]
The ROM 40 stores necessary programs such as an appropriate current value calculation program. The appropriate current value determination program has initial current value (lowest current value) data, predetermined maximum current value (highest current value) data, and spare data. Further, in order to calculate an appropriate write current value, preliminary data is transmitted to the current control circuit 34. Further, the current value is increased stepwise from the lowest current value data to the highest current value data, and a preliminary write process of transmitting the current value from the D / A converter 33 to the current control circuit 34 is executed. At this time, the magnetic card C is moved by a motor having the motor encoder 31, and control is performed so that the preliminary data having the different current values is sequentially written.
[0078]
When the preliminary write processing is completed, the voltage value acquired from the read head 36 via the amplifier 37 is converted into waveform data in the A / D converter 38. The peak value of the amplitude of the converted waveform data is determined, and the waveform data slightly before the peak value is set as an appropriate value as the write current value of the data.
[0079]
In this case, the reason why the appropriate write current value is set slightly before the peak value of the amplitude is that the output voltage becomes saturated after the peak value of the amplitude (see FIG. 4). Therefore, the corresponding position is set to an appropriate write current value before the output voltage is saturated.
[0080]
With the above configuration, the CPU 32 can write the spare data and the main data on the magnetic stripe of the magnetic card, read the spare data and the main data, and read the output value.
[0081]
Next, the processing operation of the card reader 30 will be described with reference to the flowchart of FIG. 2 and the illustration of the magnetic processing operation of FIG.
The CPU 32 starts an appropriate current value determining program. Then, the minimum current value is set and the transport of the magnetic card C is started (step n1).
[0082]
As shown in FIG. 3A, the CPU 32 uses the write head 35 to write the spare data on the magnetic stripe St of the magnetic card C with the current value (digital data) (step n2).
[0083]
Then, the current value is increased by a fixed amount (step n3).
[0084]
If the increased current value is less than the maximum current value, the process returns to step n2, and the writing of the preliminary data is repeated until the increased current value reaches the maximum current value (step n4).
[0085]
By repeating this, as shown in FIG. 3B, the current value is increased stepwise to write the preliminary data. In the drawing, the chart indicated by the imaginary line represents a state in which the horizontal axis is time t and the vertical axis is current intensity mA, and the writing is repeated while increasing the current.
[0086]
When the maximum current value is reached, the written preliminary data is read by the read head 36 (step n5).
[0087]
At this time, the read head 36 reads the voltage value of the preliminary data from the magnetic stripe St, and can obtain the waveform data of the voltage as shown by the imaginary line in FIG. In the chart showing the waveform data, the horizontal axis represents the current intensity mA and the vertical axis represents the voltage intensity mV, and represents a change in the voltage value output from the magnetic stripe St.
[0088]
The waveform data obtained by reading the preliminary data is converted into digital data by the A / D converter 38, and the peak value of the amplitude is detected (step n6).
[0089]
Then, a current value corresponding to a position slightly before this peak value is set as a write current value (step n7).
[0090]
The CPU 32 terminates the appropriate current value determining program, and performs the actual writing of the main data with the appropriate current value on the magnetic stripe St of the magnetic card C with the calculated (acquired) appropriate current value (step n8).
[0091]
With the above operation, as shown in the chart of FIG. 5 current values P1 to P5 can be set.
That is,
For the magnetic card of the first waveform data A1, the first current value P1 (about 215 mA),
For the magnetic card of the second waveform data A2, the second current value P2 (about 89 mA),
For the magnetic card of the third waveform data A3, the third current value P3 (about 72 mA),
For the magnetic card of the fourth waveform data A4, the fourth current value P4 (about 18 mA),
For the magnetic card of the fifth waveform data A5, the fifth current value P5 (about 17 mA),
Is set, and the actual writing can be executed with an appropriate current value.
[0092]
In this case, in the case of the first to third waveform data A1 to A3, the magnetic card C has a high coercive force indicating a high write current value when the output voltage is high. On the other hand, in the case of the fourth and fifth waveform data A4 and A5, the magnetic card C has a low coercive force indicating a low write current value when the output voltage is high.
[0093]
However, a saturation state occurs after the current values P1 to P5. Therefore, in order to obtain writing safety (stability), each current value at the time of saturation may be set as a current value suitable for writing.
[0094]
In the case of the high coercive force magnetic card shown in the first to third waveform data A1 to A3, in order to further enhance the writing safety (stability), a current value equal to or higher than the saturation value (for example, the saturation It is also possible to set the current value to twice the current value.
[0095]
In this manner, the card reader 30 can search for an appropriate current value for any magnetic card C, such as a high coercive force magnetic card or a low coercive force magnetic card, and execute the actual writing.
[0096]
In particular, the writing of the preliminary data is completed by the operation in which the magnetic card C passes through the write head 35 once in one direction. The reading of the spare data is also completed by the operation in which the magnetic card C passes through the read head 36 once.
[0097]
In the above-described embodiment, the writing and reading of the preliminary data are executed by the operation of passing the magnetic card C once, but the present invention is not limited to this. For example, in a card reader that reciprocates the magnetic card C, it is set so that the operation of passing the magnetic card C once writes the preliminary data, and the operation of passing the magnetic card C in the returning direction reads the preliminary data. May be. In this case, the spare data can be written to the entire magnetic stripe St without depending on the interval between the write head 35 and the read head 36.
[0098]
[Second embodiment]
FIG. 5 shows an outline of a cross section of a card reader 51 provided with a coercive force determination device for a magnetic card.
The card reader 51 has a card insertion port 53 for inserting or returning the magnetic card C on the front surface of the main body 52. A card transport path 54 for transporting the inserted magnetic card C in the insertion direction or in the return direction is provided inside the card insertion port 53 and connected to the inside.
[0099]
The above-described card transport path 54 is provided with a pair of upper and lower front transport rollers R1, R2, a magnetic head 55, and a pair of upper and lower rear transport rollers R3, R4 from the card insertion slot 53 to the inner back. Further, first to third detection sensors S1 to S3 are arranged at these three positions.
[0100]
Of the transport rollers R1 to R4, the rotation shaft of one of the transport rollers facing up and down is connected to receive a rotational driving force from a motor (not shown). Then, as the motor rotates, the transport roller rotates.
[0101]
As a result, the magnetic card C guided here is sandwiched between the upper and lower front transport rollers R1, R2 and the rear transport rollers R3, R4 and transported in the take-in direction or the return direction. The magnetic card C is transported at a constant speed by rotating the motor and rotating the transport roller.
[0102]
When the magnetic card C is conveyed and the magnetic card C comes into contact with the magnetic head 55, the magnetic card C is magnetically written or read. One magnetic head 55 is provided in the card transport path 54, and this one is used to write and read the magnetic card C. Further, the position of the magnetic card C on the card transport path 54 is detected by the first to third detection sensors S1 to S3.
[0103]
FIG. 6 shows a control block diagram of the card reader 51.
The card reader 51 includes a CPU 61, a memory 62, a magnetic writing control unit 63, a magnetic reading control unit 64, a magnetic head 55, a motor control unit 65, a motor M, a rotary encoder 66, a card position detection A portion 67 and first to third detection sensors S1 to S3 are provided.
[0104]
The CPU 61 controls devices connected to the CPU 61 according to a program stored in the memory 62.
[0105]
The memory 62 stores a program and data for determining an appropriate current value of a write current value suitable for a coercive force different for each magnetic card.
[0106]
The magnetic writing control section 63 includes a D / A converter. The D / A converter converts digital data of the write information received from the CPU 61 into an analog signal. Then, the magnetic write control unit 63 performs control to output a current value corresponding to the analog signal at a constant cycle.
[0107]
The magnetic read control unit 64 performs read control for each read track from the magnetic stripe. The signal received from the magnetic head 55 is amplified. Then, the analog signal is converted into digital data by the A / D converter. Then, the converted digital data is transmitted to the CPU 61.
[0108]
The magnetic head 55 generates a magnetic field when a current is applied. By changing the applied current, magnetic information is written on the magnetic card C that is in contact with the magnetic head 55. By transporting the magnetic card C to the magnetic head 55, a large amount of information is sequentially written.
[0109]
Then, the magnetic card C on which the magnetic information is written is brought into contact with the magnetic head and conveyed, thereby generating a magnetic field. A voltage is generated in the magnetic head 55 in response to a change in the magnetic field. The magnetic head 55 reads the information recorded on the magnetic card by detecting the change in the voltage.
[0110]
By the way, at the time of the above-mentioned writing, an appropriate writing current value required for the actual writing is obtained from the result of the preliminary writing to the magnetic card C, and the actual writing is performed. First, in the case of preliminary writing, the writing current is increased stepwise, and preliminary writing is performed with a plurality of different current values of a high current and a low current at that time. The plurality of different current values are stored in the memory 62 as preliminary data. Then, when the pre-written spare data is read from the magnetic card C, the CPU 61 obtains an appropriate value of the write current suitable for each coercive force for each magnetic card from the preliminary write result. The obtained proper value is set as a current value for the main writing, and this current value is stored in the memory 62 as main data. Then, actual writing is performed using the current value of the actual data.
[0111]
The motor control unit 65 receives a drive signal or a stop signal from the CPU 61 and controls the motor M to rotate at a constant rotation speed. Further, by rotating the motor M in the normal rotation direction or the reverse rotation direction, the magnetic card C is transported in the card transport path 54 in the loading direction or the returning direction.
[0112]
The rotary encoder 66 calculates the number of rotations by detecting the number of pulses with a photosensor from a slit of a disk provided on the motor shaft of the motor M.
[0113]
The card position detection section 67 acquires each detected signal from the first to third detection sensors S1 to S3 disposed on the card transport path 54. Then, the position where the magnetic card C is present is output to the CPU 61.
[0114]
The CPU 61 executes a process of writing spare data in which the current value increases stepwise from the lowest current value to the highest current value according to the program in the memory 62. At this time, control is performed such that the spare data is sequentially written while the magnetic card C is moved in the taking-in direction by the motor M.
[0115]
After the preliminary writing, the prewritten magnetic information is read from the magnetic card C by the magnetic head 55. Then, the voltage value received by the magnetic read controller 64 from the magnetic head 55 is received as waveform data. The waveform peak of the waveform data is determined, and a current value suitable for writing the data is set with an appropriate value slightly before the waveform peak.
[0116]
In this case, the reason why the appropriate write current value is set slightly before the peak value of the amplitude is that the output voltage becomes saturated after the peak value of the amplitude (see FIG. 4). In order to prevent the output voltage from being saturated, the corresponding position is set to an appropriate write current value before the output voltage is saturated.
[0117]
Next, a case where an appropriate write current value is obtained from the result of determining the coercive force of the magnetic card will be described.
[0118]
The CPU 61 controls writing of magnetic information with a plurality of different current values via the magnetic head 55 to the magnetic card C being conveyed in one direction on the card conveyance path 54 during the conveyance in one direction. After writing the magnetic information, the magnetic head 55 reads the magnetic information of the magnetic card C being transported on the card transport path 54. The coercive force of the magnetic card C is determined based on the read voltage and the transport amount of the magnetic card C at the time of reading. Then, a current value corresponding to the coercive force is set as a current value suitable for writing.
[0119]
In particular, while transporting the magnetic card C in one direction, the magnetic head 55 writes magnetic information on the magnetic card C with a plurality of different current values that are stepwise raised. Then, preliminary data can be written only by passing once in one direction. For this reason, the number of times of conveyance when writing while changing the write current value from a certain value to another value is sufficient. Further, whether or not the information has been normally written can be confirmed by reading with the magnetic head 55 when the magnetic card C is transported in the return direction, based on the current value at the time of writing.
[0120]
In detecting the write position of the magnetic card C, the pulse command cycle from the CPU 61 to the motor M and the write command cycle from the CPU 61 to the magnetic head 55 are in a proportional relationship. Thus, by reading the write data from the magnetic card and counting the number of bits, the write position corresponding to the written magnetic information on the magnetic card can be known. Therefore, the detection of the position where the magnetic information is written on the magnetic card C can be obtained by counting the write command cycle for the motor M.
[0121]
As another means for detecting the write position of the magnetic card C, the number of bits of information to be written may be counted. Alternatively, the rotation amount of a rotary encoder that outputs the rotation amount of the motor M may be measured.
[0122]
Further, a roller connected to a rotary encoder may be brought into contact with the magnetic card C and the amount of rotation thereof may be measured. The reason why either method may be used is that these measured amounts are proportional to the carry amount when the magnetic card C is carried.
[0123]
On the other hand, when reading magnetic information from the magnetic card C, the reading position can be detected by measuring the rotation amount of a rotary encoder that outputs the rotation amount of the motor M. Alternatively, a roller of a rotary encoder may be brought into contact with the magnetic card C and the amount of rotation thereof may be measured.
[0124]
Next, the main processing operation of the card reader 51 will be described with reference to the diagram showing the position where the magnetic card C is conveyed in FIG. 7 and a flowchart. FIG. 7 shows the order of each process on the left side. The cross-sectional view of each card reader 51 on the right side shows the position of the magnetic card C when each processing is completed. The arrow near the magnetic card C indicates the direction in which the magnetic card C moves in the next process.
[0125]
The motor control unit 65 drives the motor M to take in the magnetic card C inserted into the card insertion slot 53 of the card reader 51. Then, the magnetic head 55 reads magnetic information recorded on the magnetic stripe of the magnetic card C being conveyed in the card taking-in direction. The read magnetic information is stored as initial data in the memory 62 (step n11).
[0126]
After reading, the magnetic card C is transported in the return direction. At the time of contact with the magnetic head 55, a current for data erasing is applied to the magnetic head 55 to erase the magnetic information of the magnetic card C. As a result, the magnetic card enters a standby state for preliminary writing (step n12).
[0127]
When the magnetic information of the magnetic card C is erased, the magnetic card C is transported again in the loading direction. Then, preliminary writing is performed by the magnetic head 55 during this transport. This preliminary writing is writing (step n13) in which the current value is changed stepwise from a low current value to a high current value (see FIGS. 8 and 9 described later).
[0128]
After the preliminary writing in which the current value is changed stepwise, the magnetic card C is transported in the returning direction, and the magnetic information preliminarily written on the magnetic card C is read by the magnetic head 55. At this time, the number of encoder pulses is counted simultaneously. Thereby, the rotation speed of the motor M is obtained. Since the number of rotations of the motor M and the moving distance of the magnetic card C are in a proportional relationship, the moving distance of the magnetic card C can be obtained from the number of encoder pulses. By obtaining the moving distance, the correspondence between the preliminary write position and the written data is obtained (step n14).
[0129]
After reading the preliminary write information, the magnetic card returns to the original position on the card insertion slot 53 side and waits for the next main write. Then, the CPU 61 detects an appropriate write current value from the read magnetic information (see FIG. 10 described later) (step n15).
[0130]
From this detection result, the CPU 61 sets an appropriate write current value (step n16).
[0131]
When an appropriate write current value is set, the CPU 61 proceeds to the main write and conveys the magnetic card C in the take-in direction. While being conveyed, the magnetic information is permanently written to the magnetic card C by the magnetic head 55 at a write current value suitable for writing. The magnetic information written here is the initial data read in step n11. Alternatively, predetermined information stored in the memory 62 may be written on a magnetic card. Thus, the actual writing is completed (step n17).
[0132]
When the main writing is completed, the magnetic card C on which the main writing is performed is transported in the return direction. The magnetic head 55 reads the magnetic information of the magnetic card C during the transport in the return direction. At this time, it is confirmed whether the magnetic information is normally magnetically recorded on the magnetic card C (step n18).
[0133]
When it is confirmed that the read data matches the written data, the magnetic card C is returned to the card insertion port 53 (step n19). The user can take out the magnetic card C from the insertion slot of the card reader 51. Thereby, the main processing operation of one magnetic card C in the card reader 51 ends.
[0134]
Next, an example of preliminary writing in which the current value in step n13 is changed stepwise will be described.
[0135]
The memory 62 stores a waveform that changes according to the transport distance of the write current value of the magnetic head 55. Then, the write current value applied to the magnetic head 55 is changed according to the write current value stored in the memory 62. In this case, the waveform that changes according to the transport distance is a waveform that represents the state of change in the current value at the time of writing in a stepwise manner as the transport distance changes.
[0136]
In this case, the waveform is not one for one magnetic stripe, but the same waveform repeated for one magnetic stripe a plurality of times. For example, as shown in FIG. 8, the same waveform is repeated three times on a magnetic stripe formed in the longitudinal direction of the magnetic card C. According to this waveform, the current value of the magnetic head 55 is changed, and magnetic information is written on the magnetic stripe. Thereby, first to third waveforms W1 to W3 are obtained according to the writing order. As a result, by comparing each of the three acquired waveforms W1 to W3, since the same waveform is written, even if any of the waveforms has an abnormality, it is possible to determine whether the waveform is appropriate.
[0137]
For example, if two waveforms are the same and one waveform is different among three waveforms, one waveform is recognized as a defective abnormal waveform. As a result, the coercive force can be determined from the waveform excluding the abnormal waveform. The cause of the waveform abnormality at this time is caused by a scratch on the magnetic stripe surface or by adhesion of dust.
[0138]
In addition to the above-described waveforms, the current value at the time of writing can be created by a function representing the change in the transport distance. Further, the transport time can be used instead of the transport distance.
[0139]
In addition, when repeatedly writing the three waveforms W1 to W3, a write stop unit 81 is formed which does not write for a short time to separate the waveforms before writing the waveforms. Thus, the write stop unit 81 is interposed between the waveforms. Therefore, since the write stop unit 81 can be set at the reference position of each of the waveforms W1 to W3, each of the repeatedly written waveforms W1 to W3 can be clearly distinguished.
[0140]
Next, the operation of pre-writing by changing the current value stepwise will be described with reference to the flowchart of FIG.
[0141]
The CPU 61 first drives the motor M to perform preliminary writing on the magnetic card C. As a result, the magnetic card is transported at a constant speed (step n21).
[0142]
During this conveyance, before writing the waveform, the CPU 61 temporarily suspends the write current of the magnetic head 55 via the magnetic write control unit 63, and waits for the write operation for the time during which the write stop unit 81 can be obtained (step n22).
[0143]
After the elapse of the standby time, the magnetic write control unit 63 first sets the writing with the lowest current value (step n23).
[0144]
With this minimum current value, one bit of information is written (step n24).
[0145]
Then, it is determined whether or not predetermined bits have been written (step n25). If it is determined that the data has not been written for the predetermined bit, the data is written again for one bit again (step n24). If it is determined that a predetermined number of bits have been written, the next current value is set in order to write the current value stepwise (step n26). Then, it is determined whether the writing of the first waveform is completed (step n27). If the writing of the first waveform is not completed, one bit is written again (step n24).
[0146]
Until the writing is completed with the current value based on the first first waveform W1 (see FIG. 8), the writing operation of increasing the current value for each bit is repeatedly performed stepwise (steps n24 to n24). n27).
[0147]
Thereafter, when it is determined that the writing based on the first first waveform W1 has been completed (step n27), the process proceeds to writing based on the next waveform. Also in this case, first, the writing operation is made to wait for the time of the writing stop unit 81. Thereafter, when the magnetic card C is conveyed by the distance of the write stop unit 81, the write from the minimum current value in step n22 and thereafter is executed. In this way, information is written bit by bit with a current value based on the next second waveform W2 (see FIG. 8). After writing based on the second waveform W2, the same procedure is repeated to write information bit by bit with a current value based on the third waveform W3 (see FIG. 8) (step n28).
[0148]
When the writing is completed, the writing current is stopped, the rotation of the motor M is stopped, the conveyance of the magnetic card C is stopped, and the preliminary writing is completed (step n29).
[0149]
In this way, information is written with current values based on all the waveforms W1 to W3. While the magnetic card C is conveyed in one direction from the starting end to the end of the card conveying path 54, all three waveforms W1 to W3 are written.
[0150]
Next, an operation of detecting an appropriate write current value required for actual writing will be described with reference to a flowchart of FIG.
[0151]
The magnetic card C, which has been moved to the end side of the card transport path 54 after the completion of the preliminary writing, is transported on the card transport path 54 in the return direction. While being conveyed in this manner, the magnetic card C contacts the magnetic head 55, and the voltage generated in the magnetic head 55 is read based on the magnetic information written on the magnetic card C. The maximum output voltage is searched for from the voltage value at the time of reading (step n31).
[0152]
Then, the card position of the magnetic card C is calculated from the motor signal (encoder pulse) when the maximum output voltage is obtained (step n32).
[0153]
At the obtained card position, a current value of information written at the time of preliminary writing is obtained. This is an appropriate current value for actual writing to the magnetic card C. (Step n33).
[0154]
Next, the case where the card position is obtained and the case where information is written with a current value based on a small mark waveform serving as a reference position will be described. FIG. 11 shows first to third waveforms W11 to W13 corresponding to the changing write current stored in the memory 62. In addition to these three waveforms, a mark waveform 111 of a high coercive force current value and a mark waveform 112 of a low coercive current value are stored in the memory 62.
[0155]
These mark waveforms 111 and 112 maintain the write current of the magnetic head 55 at the magnitude of the mark waveform for a short transport time for creating a small mark waveform (appearing as a bar graph in the figure).
[0156]
Therefore, before writing each of the waveforms W11 to W13, information is written with a current based on the mark waveforms 111 and 112 different from the waveforms W11 to W13. By providing these mark waveforms 111 and 112, all three waveforms W11 to W13 can be distinguished. In addition, since the mark waveforms 111 and 112 are set as reference positions for positioning the waveforms, the transport position of the magnetic card C can be easily obtained.
[0157]
When performing the preliminary writing in which the mark waveforms 111 and 112 are written, the same processing as the processing operation of the magnetic card C described in the flowchart of FIG. 7 is performed. Also, in step n14 of FIG. 7, when the magnetic head 55 reads the magnetic information written on the magnetic card C, the position of each of the waveforms W11 to W13 can be specified by reading each of the mark waveforms 111 and 112.
[0158]
Next, a write processing operation for writing the waveforms W11 to W13 and the mark waveforms 111 and 112 will be described with reference to the flowchart of FIG.
[0159]
The CPU 61 first drives the motor M to perform preliminary writing on the magnetic card C. As a result, the magnetic card is transported at a constant speed (step n41).
[0160]
At this time, when the magnetic card C conveyed along the card conveying path 54 comes into contact with the magnetic head 55, the CPU 61 sends the magnetic card C via the magnetic write control unit 63 prior to writing based on each of the waveforms W11 to W13. The write current of the head 55 is temporarily stopped (Step n42).
[0161]
Thereafter, when the magnetic card C reaches the position where the mark waveform is written, first, writing based on the mark waveform 111 with the high coercive force current value is started. If writing is performed for the transport distance based on the mark waveform 111, the writing of the mark waveform 111 with the high coercive force current value is completed (step n43).
[0162]
Subsequently, the writing current is stopped for a transport distance that can be distinguished from the mark waveform 112 based on the low coercive force current value (step n44).
[0163]
Thereafter, when the magnetic card C reaches the writing position of the mark waveform 112 with the low coercive force current value, the writing of the mark waveform 112 with the low coercive force current value is started (step n45).
[0164]
When writing is performed for the transport distance based on the mark waveform 112, the writing of the mark waveform 112 with the low coercive force current value is completed. In this way, information is written with the current value based on each of the mark waveforms 111 and 112 (step n46).
[0165]
Thereafter, the write current is stopped, and when a predetermined time elapses, the minimum current value is set, and the information is written by the current value based on the first waveform W11 which is written while gradually increasing the current value. Move on (step n47).
[0166]
One bit of information is written with the set minimum current value (step n48).
[0167]
It is determined whether a predetermined number of bits have been written (step n49). When it is determined that the data has not been written for the predetermined bit, the data is written again for one bit again (step n48). If it is determined that a predetermined number of bits have been written, the next current value is set in order to write the current value stepwise (step n50). Then, it is determined whether the writing of the first waveform has been completed (step n51). If the writing of the first waveform is not completed, one bit is written again (step n48).
[0168]
Until the first first waveform W11 (see FIG. 11) is obtained, the preliminary write operation of increasing the current value for each bit in accordance with the waveform is repeatedly performed stepwise (step n51).
[0169]
Thereafter, when it is determined that the writing based on the first first waveform W11 has been completed (step n51), the process proceeds to writing based on the next waveform. Also in this case, first, writing is performed based on the mark waveforms 111 and 112 in steps n42 to n46 described above. Thereafter, the procedure shifts again to the procedure (step n47 to step n52) for creating the next second waveform W12 (see FIG. 11), and information is written based on the second waveform W12. After writing the information based on the second waveform W12, the same procedure is repeated to write information based on the third waveform W13 (see FIG. 11) (steps n42 to n52).
[0170]
When the writing is completed, the writing current is stopped, the rotation of the motor M is stopped, the conveyance of the magnetic card C is stopped, and the preliminary writing is completed (step n53).
[0171]
In this way, information is written by applying a current value based on all the waveforms 111 and 112 and W11 to W13 to the magnetic head 55. Information is written based on all three waveforms W11 to W13 while the magnetic card C is conveyed in one direction from the starting end near the insertion slot of the card conveying path 54 to the rear end side.
[0172]
Next, an operation of detecting an appropriate write current value from a result of the preliminary write will be described with reference to a flowchart of FIG.
[0173]
The magnetic card C for which the preliminary writing has been completed is conveyed in a return direction to determine the suitability of the prewritten data. During this transport, the magnetic head 55 comes into contact with the magnetic card C, and the generated voltage is read based on the magnetic information written on the magnetic card C. From the voltage value at the time of reading, the reference position of the magnetic card C is detected from the mark waveforms 111 and 112 written on the magnetic card C (step n61).
[0174]
The CPU 61 searches for the maximum output voltage value from the read voltage values (step n62).
[0175]
Then, the distance from the detected reference position to the position where the searched maximum output voltage is obtained is obtained (step n63).
[0176]
At the card position corresponding to the obtained magnetic information, the current value of the information written at the time of preliminary writing is obtained. This becomes an appropriate current value for actual writing to the magnetic card C (step n64).
[0177]
In this case, since the mark waveforms 111 and 112 serve as references when positioning the waveforms W11 to W13, the recording position of the magnetic information on the magnetic card C can be accurately obtained.
[0178]
FIG. 14 shows an example of a write current value of a high coercive force magnetic card and a read result thereof. In the figure, one of the three waveforms is shown enlarged.
[0179]
Among these, the waveform data shown on the upper side in the drawing represents a waveform 141 that changes in accordance with the carry distance of the current value applied when the CPU 61 writes with the magnetic head 55 according to the program in the memory 62, and the write current (mA) ) And the transport distance (mm) are shown by waveform diagrams. The lower waveform data represents a waveform 142 that changes in accordance with the transport distance of the voltage value obtained when the voltage is read by the magnetic head 55, and shows the relationship between the output voltage (mV) and the transport distance (mm). It is represented by
[0180]
An appropriate write current value of the high coercive force magnetic card is obtained from the waveforms 141 and 142 that change in accordance with the transport distance. First, the write current value is changed with time from the lowest current value to the highest current value, and a waveform 141 that changes in accordance with the transport distance of the current value applied at the time of preliminary writing is stored in the memory 62. Let it be.
[0181]
After that, the maximum voltage value of the waveform 142 that changes in accordance with the voltage transport distance when the voltage is read by the magnetic head 55 is detected. Next, a waveform peak position 143 corresponding to the detected maximum voltage value is obtained. The write current value 144 that intersects the waveform peak position 143 and the card write position of the waveform 141 that changes in accordance with the upper transport distance stored in the memory 62 is a proper write current suitable for the high coercive force magnetic card. Value.
[0182]
FIG. 15 shows an example of a write current value of a low coercive force magnetic card and a read result thereof. In the figure, one of the three waveforms is shown enlarged.
[0183]
Similarly, in this case, the waveform data shown in the upper part of the drawing represents a waveform 151 that changes in accordance with the transport distance of the current value applied when the CPU 61 writes with the magnetic head 55 according to the program in the memory 62. (MA) and the transport distance (mm) are shown in a waveform diagram. The lower waveform data represents a waveform 152 that changes in accordance with the transport distance of a voltage value obtained when the voltage is read by the magnetic head 55, and illustrates a relationship between the output voltage (mV) and the transport distance (mm). It is represented by
[0184]
The appropriate write current value of the high coercive force magnetic card is obtained from the waveforms 151 and 152 that change in accordance with the transport distance. First, from the lowest current value to the highest current value, the write current value is changed over time and a waveform 151 that changes in accordance with the transport distance of the current value to be applied at the time of preliminary writing is stored in the memory 62. Keep it.
[0185]
After that, the maximum voltage value of the waveform 152 that changes in accordance with the voltage transport distance when the voltage is read by the magnetic head 55 is detected. Next, a waveform peak position 153 corresponding to the detected maximum voltage value is obtained. The write current value 154 that intersects the waveform peak position 153 and the card write position of the waveform 151 that changes in accordance with the upper transport distance stored in the memory 62 is a proper write current suitable for the low coercive force magnetic card. Value.
[0186]
Therefore, a write current value suitable for the coercive force of the magnetic card can be obtained regardless of whether the magnetic card has a high coercive force or a low coercive force magnetic card. Therefore, writing suitable for the coercive force of each magnetic card can be performed. In particular, in the case of a high coercive force magnetic card, the coercive force of the card often differs. Even for such high coercive force magnetic cards having different coercive forces, an appropriate write current value corresponding to each magnetic card can be obtained.
[0187]
Further, as shown in FIG. 16 and FIG. 17, the waveforms 161 and 171 which change in accordance with the voltage carrying distance shown on the lower side in the figure are unclear because the writing start positions 162 and 172 rise slowly. Hard to catch. On the other hand, the write end positions 163 and 173 of the waveforms 161 and 171 have high voltage values and are clear and easy to catch.
[0188]
For this reason, at both ends of the read regions 164 and 174 of the waveform from the write start positions 162 and 172 to the write end positions 163 and 173 for each waveform read by the magnetic head 55, the read write current value is large and clearly displayed. The write end positions 163 and 173 to be performed are set as waveform reference positions. Based on this reference position, the CPU 61 can determine the carry amount of the magnetic card C when reading by the magnetic head 55.
[0189]
In this way, even when the waveform to be written has an unclear writing start position or no mark waveform, the waveforms 161 and 171 themselves can have a writing reference position.
[0190]
FIG. 18 shows an example of a waveform that changes according to the transport distance in another embodiment in which the waveform itself has a reference position. One form of a waveform that changes in accordance with the transport distance is an intermittent waveform 181. The intermittent waveform 181 causes the output of the write current to be alternately repeated between output and stop at short time intervals when the magnetic head 55 writes while increasing the current value stepwise.
[0191]
By writing in this way, current is applied to the magnetic head 55 at short time intervals based on the intermittent waveform 181, and information is written. After the rising intermittent waveform 181, a current is applied to the magnetic head 55 based on the intermittent waveform 181 based on the short-time intermittent writing stop unit 182, and information is written. Therefore, the intermittent write stop unit 182 becomes the reference position of the waveform itself. In particular, since current is alternately applied based on the intermittent waveform 181 and the intermittent write stop unit 182 at short transport time intervals, even if a part of the intermittent waveform 181 disappears, it can be recognized.
[0192]
FIG. 19 shows an example of a waveform that changes according to the transport distance in another embodiment in which the waveform itself has a reference position. One form of the waveform that changes in accordance with the transport distance is an unaligned step-like waveform 191. This non-aligned step-like waveform 191 gradually increases the current value maintaining time T1 to T6... Every time the write current output is increased stepwise when writing with the magnetic head 55 stepwise increasing the current value. It is written differently to make it longer.
[0193]
If the writing is performed in this manner, since the sustain time for each write current value that is increased stepwise is different, the write waveform itself written stepwise is different due to the different time difference between the sustain times. Each of the different irregular staircase waveforms 191 is a reference position. Even with such output, the waveform itself can have a reference position.
[0194]
The waveforms shown in FIGS. 14 to 17 are represented by step-like waveforms like the waveforms shown in FIG. 8 and FIG. Is represented in
[0195]
The present invention is not limited to only the configuration of the above-described embodiment, and many embodiments can be obtained.
For example, in the above-described embodiment, the magnetic processing is performed while moving the magnetic card C to the positions of the stationary heads 35, 36, and 55. However, the present invention is not limited to this. The magnetic processing may be performed by moving the write head / read head or one magnetic head that combines writing and reading.
[Brief description of the drawings]
FIG. 1 is a control circuit block diagram of a card reader according to a first embodiment.
FIG. 2 is a flowchart illustrating a processing operation of the card reader according to the first embodiment;
FIG. 3 is an explanatory diagram illustrating a magnetic processing operation of the card reader according to the first embodiment.
FIG. 4 is a table showing examples of waveform data of various magnetic cards according to the first embodiment.
FIG. 5 is a schematic sectional view showing a card reader according to a second embodiment.
FIG. 6 is a control block diagram of the card reader according to the second embodiment.
FIG. 7 is a flowchart illustrating a card processing operation according to the second embodiment.
FIG. 8 is a waveform chart showing three waveforms at the time of preliminary writing according to the second embodiment.
FIG. 9 is a flowchart illustrating a waveform writing operation according to the second embodiment.
FIG. 10 is a flowchart for obtaining an appropriate write current value according to the second embodiment.
FIG. 11 is a waveform chart showing a waveform with a mark waveform according to the second embodiment.
FIG. 12 is a flowchart illustrating a write operation of a waveform with a mark waveform according to the second embodiment;
FIG. 13 is a flowchart for obtaining an appropriate write current value from a mark waveform according to the second embodiment;
FIG. 14 is a waveform chart showing an appropriate write current value of the high coercive force magnetic card according to the second embodiment.
FIG. 15 is a waveform chart showing an appropriate write current value of the low coercive force magnetic card according to the second embodiment.
FIG. 16 is a waveform chart showing reference positions of waveforms of the high coercive force magnetic card of the second embodiment.
FIG. 17 is a waveform chart showing reference positions of waveforms of the low coercive force magnetic card of the second embodiment.
FIG. 18 is a waveform chart showing an intermittent waveform and an intermittent write stop unit according to the second embodiment;
FIG. 19 is a waveform chart showing an irregular step-shaped waveform according to the second embodiment.
[Explanation of symbols]
30, 51… Card reader
32, 61 ... CPU
35 Write head
36 ... Reading head
40 ... ROM
55 ... Magnetic head
C: Magnetic card
62 ... Memory
81, 182: Write stop unit
111, 112 ... landmark waveform
W1 to W3, W11 to W13, 141, 142, 151, 152, 161, 171, 181, 191 ... waveform
143, 153 ... waveform peak position
144, 154: proper write current value

Claims (13)

磁気記録媒体を書込みヘッドおよび読取りヘッドに対して一方向に相対移動させる間に、前記書込みヘッドが複数の異なる電流値で前記磁気記録媒体に予備書込みを行い、該予備書込みした情報を前記読取りヘッドで読取り、この読取り結果に基づいて前記磁気記録媒体への書込み電流の適正値を求め、この求めた適正値で前記書込みヘッドより前記磁気記録媒体に本書込みを行う
磁気記録方法。
While the magnetic recording medium is relatively moved in one direction with respect to the write head and the read head, the write head pre-writes the magnetic recording medium with a plurality of different current values, and writes the pre-written information to the read head. A magnetic recording method in which an appropriate value of a write current to the magnetic recording medium is obtained based on the read result, and a main write is performed on the magnetic recording medium by the write head with the obtained appropriate value.
磁気記録媒体に磁気情報を書込む書込みヘッドと、
前記磁気記録媒体から磁気情報を読出す読取りヘッドと、
これらを制御する制御手段とを備えた磁気記録装置であって、
前記制御手段に、
前記書込みヘッドおよび前記読取りヘッドに対して前記磁気記録媒体が一方向へ相対移動する間に、前記書込みヘッドが前記磁気記録媒体に複数の異なる電流値で予備書込みを実行する予備書込み処理と、
該予備書込みの結果である予備書込み結果を前記読取りヘッドで読取る予備書込み読取り処理と、
前記予備書込み結果に基づいて前記磁気記録媒体への書込み電流の適正値を取得する適正値取得処理と、
該適正値に基づいて前記書込みヘッドで前記磁気記録媒体に本書込みを実行する本書込み処理と、
を備えた磁気記録装置。
A write head for writing magnetic information to a magnetic recording medium;
A read head for reading magnetic information from the magnetic recording medium;
A magnetic recording device comprising control means for controlling these,
In the control means,
While the magnetic recording medium relatively moves in one direction with respect to the write head and the read head, a preliminary write process in which the write head performs preliminary write on the magnetic recording medium with a plurality of different current values;
A preliminary write / read process for reading a preliminary write result, which is a result of the preliminary write, with the read head;
Proper value acquisition processing for acquiring a proper value of a write current to the magnetic recording medium based on the preliminary write result;
A main writing process of performing main writing on the magnetic recording medium with the write head based on the appropriate value;
Magnetic recording device provided with.
磁気記録媒体を搬送する搬送手段と、
磁気記録媒体の搬送量を検出する搬送量検出手段と、
前記搬送手段で搬送している前記磁気記録媒体の一方向への搬送中に、該磁気記録媒体に複数の異なる電流値で磁気情報を書込む書込みヘッドと、
前記書込みヘッドによって、前記磁気記録媒体に磁気情報を書込んだ後、前記搬送手段で搬送している前記磁気記録媒体の磁気情報を読取る読取りヘッドと、
前記読取りヘッドで読取った電圧、読取ったときの磁気記録媒体の搬送量に基づいて、前記磁気記録媒体の抗磁力を判定する判定手段と、
を備えた磁気記録媒体の抗磁力判定装置。
Conveying means for conveying the magnetic recording medium;
Transport amount detecting means for detecting the transport amount of the magnetic recording medium,
A write head that writes magnetic information on the magnetic recording medium with a plurality of different current values while the magnetic recording medium being conveyed by the conveying unit in one direction;
A write head for writing magnetic information on the magnetic recording medium by the write head, and then reading magnetic information on the magnetic recording medium being conveyed by the conveying means;
Determining means for determining a coercive force of the magnetic recording medium based on a voltage read by the read head and a transport amount of the magnetic recording medium at the time of reading;
An apparatus for determining a coercive force of a magnetic recording medium comprising:
磁気記録媒体を搬送する搬送手段と、
前記磁気記録媒体の搬送量を検出する搬送量検出手段と、
前記搬送手段で搬送している前記磁気記録媒体に磁気情報を書込む書込みヘッドと、
前記書込みヘッドの書込み電流値の搬送量に対応して変化する波形を記憶する書込み電流波形記憶手段と、
前記書込み電流波形記憶手段に記憶されている書込み電流値に従って、前記書込ヘッドの書込み電流を変更する書込み電流変更手段と、
前記書込みヘッドによって、前記磁気記録媒体に磁気情報を書込んだ後、前記搬送手段で搬送している前記磁気記録媒体の磁気情報を読取る読取りヘッドと、
前記読取りヘッドで読取った電圧、読取ったときの磁気記録媒体の搬送量、および前記書込み電流波形記憶手段に記憶されている書込み電流値の時間変化に応じて、前記磁気記録媒体の抗磁力を判定する判定手段とを備えた磁気記録媒体の抗磁力判定装置であって、
前記書込み電流変更手段は、同じ波形を複数回繰返して変更することを特徴とする磁気記録媒体の抗磁力判定装置。
Conveying means for conveying the magnetic recording medium;
Transport amount detecting means for detecting the transport amount of the magnetic recording medium,
A write head for writing magnetic information to the magnetic recording medium being conveyed by the conveying means,
Write current waveform storage means for storing a waveform that changes in accordance with the carry amount of the write current value of the write head;
Write current changing means for changing a write current of the write head according to a write current value stored in the write current waveform storage means;
A write head for writing magnetic information on the magnetic recording medium by the write head, and then reading magnetic information on the magnetic recording medium being conveyed by the conveying means;
The coercive force of the magnetic recording medium is determined in accordance with the voltage read by the read head, the amount of conveyance of the magnetic recording medium at the time of reading, and the time change of the write current value stored in the write current waveform storage means. A coercive force determination device for a magnetic recording medium, comprising:
The coercive force determination device for a magnetic recording medium, wherein the write current changing means repeatedly changes the same waveform a plurality of times.
前記同じ波形の繰返しの間に、前記書込みヘッドは、複数の同じ波形を区切るための距離だけ書込まないことを特徴とする請求項4に記載されている磁気記録媒体の抗磁力判定装置。5. The apparatus according to claim 4, wherein during the repetition of the same waveform, the write head does not write the distance for separating the plurality of same waveforms. 前記同じ波形の繰返しの間に、前記書込み電流変更手段は、基準位置となる別の波形を作成する時間だけ前記書込みヘッドの書込み電流を、該基準位置となる波形の大きさに維持することを特徴とする請求項4に記載されている磁気記録媒体の抗磁力判定装置。During the repetition of the same waveform, the write current changing means maintains the write current of the write head at the size of the waveform serving as the reference position for a time period for creating another waveform serving as the reference position. The apparatus for determining a coercive force of a magnetic recording medium according to claim 4. 前記書込み電流変更手段は、前記書込みヘッドの書込み電流を所定の間隔で出力と停止とに交互に繰返させることを特徴とする請求項4に記載されている磁気記録媒体の抗磁力判定装置。5. The apparatus according to claim 4, wherein the write current changing means alternately repeats the write current of the write head between output and stop at predetermined intervals. 前記書込み電流変更手段は、前記書込みヘッドの書込み電流を段階的に高めて行き、高める度にその電流値を維持する時間を異ならせることを特徴とする請求項4に記載されている磁気記録媒体の抗磁力判定装置。5. The magnetic recording medium according to claim 4, wherein the write current changing unit increases the write current of the write head in a stepwise manner, and changes the time for maintaining the current value each time the write current is increased. Coercive force determination device. 磁気記録媒体を搬送する搬送手段と、
前記磁気記録媒体の搬送量を検出する搬送量検出手段と、
前記搬送手段で搬送している前記磁気記録媒体に磁気情報を書込む書込みヘッドと、
前記書込みヘッドの書込み電流値の搬送量に対応して変化する波形を記憶する書込み電流波形記憶手段と、
前記書込み電流波形記憶手段に記憶されている書込み電流値に従って、前記書込みヘッドの書込み電流を変更する書込み電流変更手段と、
前記書込みヘッドによって、前記磁気記録媒体に磁気情報を書込んだ後、前記磁気記録媒体で搬送している前記磁気記録媒体の磁気情報を読取る読取りヘッドと、
前記読取りヘッドで読取った電圧、読取ったときの磁気記録媒体の搬送量、および前記書込み電流波形記憶手段に記憶されている書込み電流値の時間変化に応じて、前記磁気記録媒体の抗磁力を判定する判定手段とを備えた磁気記録媒体の抗磁力判定装置であって、
前記磁気記録媒体の前記読取りヘッドによる波形読取り領域の両端において、読取った読取り電圧値が大きい位置を基準として前記判定手段は、前記読取りヘッドで読取ったときの磁気記録媒体の搬送量を決定することを特徴とする磁気記録媒体の抗磁力判定装置。
Conveying means for conveying the magnetic recording medium;
Transport amount detecting means for detecting the transport amount of the magnetic recording medium,
A write head for writing magnetic information to the magnetic recording medium being conveyed by the conveying means,
Write current waveform storage means for storing a waveform that changes in accordance with the carry amount of the write current value of the write head;
Write current changing means for changing a write current of the write head according to a write current value stored in the write current waveform storage means;
A write head for writing magnetic information on the magnetic recording medium by the write head, and then reading magnetic information on the magnetic recording medium being carried on the magnetic recording medium;
The coercive force of the magnetic recording medium is determined in accordance with the voltage read by the read head, the amount of conveyance of the magnetic recording medium at the time of reading, and the time change of the write current value stored in the write current waveform storage means. A coercive force determination device for a magnetic recording medium, comprising:
At both ends of the waveform read area of the magnetic recording medium by the read head, the determination unit determines a transport amount of the magnetic recording medium when read by the read head based on a position where a read voltage value is large. An apparatus for determining a coercive force of a magnetic recording medium.
磁気記録媒体に磁気情報を書込む書込みヘッドと、
磁気記録媒体の磁気情報を読取る読取りヘッドと、
前記書込みヘッドおよび前記読取りヘッドとを搬送する搬送手段と、
前記書込みヘッドおよび前記読取りヘッドの搬送量を検出する搬送量検出手段と、
前記搬送手段により前記書込みヘッドを搬送する一方向への搬送中に該書込みヘッドの駆動電流を変更する電流変更手段と、
前記書込みヘッドによって、前記磁気記録媒体に磁気情報を書込んだ後、前記読取りヘッドを前記搬送手段で搬送し、前記磁気記録媒体の磁気情報を読取る読取り制御手段と、
前記読取り制御手段によって前記読取りヘッドで読取った値、読取ったときの読取りヘッドの搬送量に基づいて、前記磁気記録媒体の抗磁力を判定する判定手段と、
を備えた磁気記録媒体の抗磁力判定装置。
A write head for writing magnetic information to a magnetic recording medium;
A read head for reading magnetic information of a magnetic recording medium;
Conveying means for conveying the write head and the read head;
Transport amount detecting means for detecting the transport amount of the write head and the read head,
Current changing means for changing a drive current of the write head during conveyance in one direction for conveying the write head by the conveyance means,
After the magnetic head writes the magnetic information to the magnetic recording medium by the write head, the read head is transported by the transport unit, and the read control unit reads the magnetic information of the magnetic recording medium;
Determining means for determining a coercive force of the magnetic recording medium based on a value read by the read head by the read control means, and a transport amount of the read head at the time of reading;
An apparatus for determining a coercive force of a magnetic recording medium comprising:
磁気記録媒体を書込みヘッドおよび読取りヘッドに対して相対移動させる搬送手段と、
前記搬送手段による移動量を検出する搬送量検出手段と、
前記搬送手段によって、前記書込みヘッドに対して相対移動している前記磁気記録媒体の一方向への移動中に、前記磁気ヘッドの書込み電流を変更する書込み電流変更手段と、
前記書込みヘッドによって、前記磁気記録媒体に磁気情報を書込んだ後、前記読取りヘッドに対して相対移動している前記磁気記録媒体の磁気情報を前記読取りヘッドで読取り、前記読取りヘッドで読取った電圧、読取ったときの移動量に基づいて、前記磁気記録媒体の抗磁力を判定する判定手段と、
を備えた磁気記録媒体の抗磁力判定装置。
Conveying means for moving the magnetic recording medium relative to the write head and the read head;
Transport amount detecting means for detecting an amount of movement by the transport means,
Write current changing means for changing a write current of the magnetic head while the transport means moves in one direction of the magnetic recording medium relatively moving with respect to the write head;
After the magnetic information is written on the magnetic recording medium by the write head, the magnetic information of the magnetic recording medium moving relative to the read head is read by the read head, and the voltage read by the read head is Determining means for determining a coercive force of the magnetic recording medium based on a movement amount at the time of reading;
An apparatus for determining a coercive force of a magnetic recording medium comprising:
請求項11記載の磁気記録媒体の抗磁力判定装置において、
前記読取りヘッドは、事前に磁気記録媒体の磁気情報を読取り、前記事前に読取った磁気記録媒体の磁気情報を記憶する磁気情報記憶手段を設け、
前記判定手段による判定後、前記磁気情報記憶手段に記憶されている磁気情報を、前記書込みヘッドが、前記判定手段で判定された抗磁力に応じた電流で、磁気記録媒体に対して書込むことを特徴とする磁気記録媒体の抗磁力判定装置。
The apparatus for determining a coercive force of a magnetic recording medium according to claim 11,
The read head is provided with magnetic information storage means for reading magnetic information of the magnetic recording medium in advance and storing the magnetic information of the magnetic recording medium read in advance,
After the determination by the determination unit, the write head writes the magnetic information stored in the magnetic information storage unit to a magnetic recording medium with a current corresponding to the coercive force determined by the determination unit. An apparatus for determining a coercive force of a magnetic recording medium.
磁気記録媒体を書込みヘッドおよび読取りヘッドに対して相対移動させる搬送手段と、
前記搬送手段による移動量を検出する搬送量検出手段と、
前記搬送手段によって、前記書込みヘッドに対して相対移動している前記磁気記録媒体の一方向への搬送中に、前記磁気ヘッドの書込み電流を変更する書込み電流変更手段と、
前記書込みヘッドが磁気記録媒体に書込んだ位置を検出する書込み位置検出手段と、
前記書込みヘッドによって、前記磁気記録媒体に磁気情報を書込んだ後、前記読取りヘッドに対して相対移動している前記磁気記録媒体の磁気情報を前記読取りヘッドで読取り、前記読取りヘッドで読取った電圧、読取ったときの移動量、前記書込んだ位置に基づいて、前記磁気記録媒体の抗磁力を判定する判定手段と、
を備えた磁気記録媒体の抗磁力判定装置。
Conveying means for moving the magnetic recording medium relative to the write head and the read head;
Transport amount detecting means for detecting an amount of movement by the transport means,
Write current changing means for changing a write current of the magnetic head during conveyance in one direction of the magnetic recording medium moving relative to the write head by the transfer means;
Write position detecting means for detecting a position where the write head has written on a magnetic recording medium;
After the magnetic information is written on the magnetic recording medium by the write head, the magnetic information of the magnetic recording medium moving relative to the read head is read by the read head, and the voltage read by the read head is Determining means for determining a coercive force of the magnetic recording medium based on a movement amount when reading and the written position;
An apparatus for determining a coercive force of a magnetic recording medium comprising:
JP2003197925A 2002-08-28 2003-07-16 Magnetic recording method and device therefor, and device for discriminating coercive force of magnetic recording medium Pending JP2004296058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003197925A JP2004296058A (en) 2002-08-28 2003-07-16 Magnetic recording method and device therefor, and device for discriminating coercive force of magnetic recording medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2002248510 2002-08-28
JP2003033694 2003-02-12
JP2003197925A JP2004296058A (en) 2002-08-28 2003-07-16 Magnetic recording method and device therefor, and device for discriminating coercive force of magnetic recording medium

Publications (1)

Publication Number Publication Date
JP2004296058A true JP2004296058A (en) 2004-10-21

Family

ID=33424707

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003197925A Pending JP2004296058A (en) 2002-08-28 2003-07-16 Magnetic recording method and device therefor, and device for discriminating coercive force of magnetic recording medium

Country Status (1)

Country Link
JP (1) JP2004296058A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008293377A (en) * 2007-05-25 2008-12-04 Oki Electric Ind Co Ltd Magnetic recorder
WO2012160871A1 (en) * 2011-05-24 2012-11-29 日本電産サンキョー株式会社 Method for determining coercivity of magnetic recording medium
CN103514667A (en) * 2012-06-22 2014-01-15 冲电气工业株式会社 Medium processing apparatus and medium processing system
JP2019179584A (en) * 2018-03-30 2019-10-17 日本電産サンキョー株式会社 Information medium processing device and driving life determination method of information medium processing device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008293377A (en) * 2007-05-25 2008-12-04 Oki Electric Ind Co Ltd Magnetic recorder
WO2012160871A1 (en) * 2011-05-24 2012-11-29 日本電産サンキョー株式会社 Method for determining coercivity of magnetic recording medium
US9274185B2 (en) 2011-05-24 2016-03-01 Nidec Sankyo Corporation Method for judging coercive force of magnetic recording medium
CN103514667A (en) * 2012-06-22 2014-01-15 冲电气工业株式会社 Medium processing apparatus and medium processing system
JP2019179584A (en) * 2018-03-30 2019-10-17 日本電産サンキョー株式会社 Information medium processing device and driving life determination method of information medium processing device
JP7132734B2 (en) 2018-03-30 2022-09-07 日本電産サンキョー株式会社 Information media processing device and drive life determination method for information media processing device

Similar Documents

Publication Publication Date Title
JP5648024B2 (en) Card reader
WO2016158952A1 (en) Card reader
JP2004296058A (en) Magnetic recording method and device therefor, and device for discriminating coercive force of magnetic recording medium
EP1396848B1 (en) Device for determining coercive force of magnetic recording medium
JP5273704B2 (en) Magnetic recording card encoding device
JP4335946B2 (en) Magnetic recording / reproducing device
JPH06139385A (en) Magnetic card reader
KR101555772B1 (en) Method for determining coercivity of magnetic recording medium
JP4212373B2 (en) IC card reader
JP2973213B2 (en) Magnetic recording medium issuing device
JP2019102107A (en) Card reader and control method for card reader
JPH05258091A (en) Card reading method
JP2006221511A (en) Recording device and method for detecting conveyance jitter
JP2019100730A (en) Card reader and control method for card reader
JPH08147430A (en) Magnetic recording medium reader
JPH01120691A (en) Ic card identification system
JPS60124064A (en) Magnetic data reading system
JP2011165234A (en) Magnetic information reading device and control method of magnetic information reading device
JPH11306290A (en) Usage of information card and encoder
JPH05108898A (en) Kind identification system of information recording card
JP2564124Y2 (en) Card data reader
JPH06267178A (en) Magnetic recorder
JP5358376B2 (en) Magnetic head device of card reader and rereading method of card reader
JP3452784B2 (en) Magnetic data processing device
JP2000348441A (en) Device for measuring jitter of magnetically recorded data

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051020

A131 Notification of reasons for refusal

Effective date: 20051108

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Effective date: 20060110

Free format text: JAPANESE INTERMEDIATE CODE: A523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060328

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060522

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060704

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060830

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Effective date: 20060912

Free format text: JAPANESE INTERMEDIATE CODE: A911

A912 Removal of reconsideration by examiner before appeal (zenchi)

Effective date: 20061006

Free format text: JAPANESE INTERMEDIATE CODE: A912