JPH0684105A - Method of writing magnetic stripe data - Google Patents

Method of writing magnetic stripe data

Info

Publication number
JPH0684105A
JPH0684105A JP31232791A JP31232791A JPH0684105A JP H0684105 A JPH0684105 A JP H0684105A JP 31232791 A JP31232791 A JP 31232791A JP 31232791 A JP31232791 A JP 31232791A JP H0684105 A JPH0684105 A JP H0684105A
Authority
JP
Japan
Prior art keywords
magnetic stripe
write current
stripe data
writing
current value
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
JP31232791A
Other languages
Japanese (ja)
Inventor
Masami Ayugai
賢美 鮎貝
Satoshi Takamura
聡 高村
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP31232791A priority Critical patent/JPH0684105A/en
Publication of JPH0684105A publication Critical patent/JPH0684105A/en
Pending legal-status Critical Current

Links

Landscapes

  • Ticket-Dispensing Machines (AREA)
  • Recording Or Reproducing By Magnetic Means (AREA)

Abstract

PURPOSE:To write data on both a new and an old medium without re-modeling, by providing a setting circuit which varies a write current value. CONSTITUTION:A write current setting circuit 21 capable of adjusting a write current to an optional value sets the current to a value instructed by a magnetic circuit interface part 20. Whether the writing is normal or not is judged by comparing the written data with the original data. When the writing is abnormal, the write current is adjusted to re-wire the data. Accordingly, the data of magnetic stripes can be written by the write current adjusted in the proper range corresponding to the magnitude of the coercive force of each medium. Even if a medium of a stronger coercive force than that of a precedent one is needed, the data of magnetic stripes can be written both to the new and old media respectively with the suitable write current. Such an inconvenience that the old medium of a weak coercive force is discarded or the like can be prevented.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、磁気ストライプデータ
を有した券を発行する発券装置において、発券すべき発
券媒体に磁気ストライプデータの書き込みを行う磁気ス
トライプデータの書き込み方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic stripe data writing method for writing magnetic stripe data on a ticket issuing medium to be issued in a ticket issuing device for issuing a ticket having magnetic stripe data.

【0002】[0002]

【従来の技術】最近では、乗車券や航空券の発券にも、
磁気ストライプデータを有した券を発行する発券装置が
利用されるようになってきている。このような発券装置
の利用が、発券作業の省力化に適し、さらに乗車・搭乗
の際のチェックの効率化にも適するからである。
2. Description of the Related Art Recently, when issuing tickets and airline tickets,
Ticket issuing devices for issuing tickets having magnetic stripe data have come into use. This is because the use of such a ticket issuing device is suitable for labor saving of ticket issuing work and also for improving efficiency of checking when boarding / boarding.

【0003】図2は、発券装置の機構の概略を示したも
のである。この図2において、ホッパ部100は発券媒
体(乗車券あるいは航空券を発券するための印刷前の
券)101を貯留しておくもので、エンコーダ部200
は磁気ストライプデータの書き込みおよび読み取りを行
うものである。また、プリンタ部300は券面に文字情
報を印刷するもので、吸入排出部400は媒体排出口4
01および媒体吸入口402を装備していて発券媒体1
01の排出および吸入を行うものである。
FIG. 2 shows the outline of the mechanism of the ticket issuing device. In FIG. 2, a hopper unit 100 stores a ticket issuing medium (a ticket before printing for issuing a ticket or an airline ticket) 101, and an encoder unit 200.
Is for writing and reading magnetic stripe data. Further, the printer unit 300 prints character information on the face of the ticket, and the suction / discharge unit 400 is the medium discharge port 4.
01 and a medium inlet 402, and a ticket issuing medium 1
01 is discharged and inhaled.

【0004】前記エンコーダ部200には、書き込み用
磁気ヘッド201や読み取り用磁気ヘッド202が装備
されていて、これらのヘッド200,201によって磁
気ストライプデータの書き込みや読み取りを行う。ま
た、磁気ストライプデータの書き込みや読み取りを実行
するタイミングを検出するための媒***置検出用光学セ
ンサ203も装備されている。この媒***置検出用光学
センサ203は、媒体搬送路204上を搬送されてくる
発券媒体101の位置を、光学的に検出している。
The encoder unit 200 is equipped with a write magnetic head 201 and a read magnetic head 202, and these heads 200, 201 write and read magnetic stripe data. Further, a medium position detecting optical sensor 203 for detecting the timing of writing or reading the magnetic stripe data is also provided. The medium position detecting optical sensor 203 optically detects the position of the ticket issuing medium 101 conveyed on the medium conveying path 204.

【0005】前記プリンタ部300には、印字に使うイ
ンクリボン301や、印字ヘッド302が装備されてい
る。
The printer section 300 is equipped with an ink ribbon 301 used for printing and a print head 302.

【0006】また、前記媒体搬送路204は、前記ホッ
パ部100からエンコーダ部200,プリンタ部300
を経て吸入排出部400に至る発券媒体101の搬送路
を提供している。
Further, the medium transport path 204 includes the hopper section 100, the encoder section 200, and the printer section 300.
It provides a transportation path for the ticket issuing medium 101 that goes through the suction and discharge section 400.

【0007】図3は、前記磁気ストライプデータの書き
込みを行う書き込み回路の従来例を示したもので、書き
込みデータ生成部211によって生成したデータを、ト
ランジスタ212〜215によって所定の電流信号に変
換して、前記書き込み用磁気ヘッド201に供給する。
なお、トランジスタ212,213に接続された電源ラ
イン216には、書き込み電流値を一定値に制限するた
めの制限抵抗217が装備されている。
FIG. 3 shows a conventional example of a write circuit for writing the magnetic stripe data. The data generated by the write data generator 211 is converted into a predetermined current signal by the transistors 212 to 215. , To the write magnetic head 201.
The power supply line 216 connected to the transistors 212 and 213 is equipped with a limiting resistor 217 for limiting the write current value to a constant value.

【0008】いま、書き込みデータ生成部211の生成
したデータの波形が、図4の(イ)に示すようなもので
あったとすると、トランジスタ212〜215のベース
信号は、それぞれ図4の(ロ)〜(ホ)のようになり、
書き込み用磁気ヘッド201に流れる電流波形は、図4
の(ヘ)に示すようになる。
Now, assuming that the waveform of the data generated by the write data generator 211 is as shown in FIG. 4A, the base signals of the transistors 212 to 215 are respectively as shown in FIG. ~ (E) like,
The waveform of the current flowing through the write magnetic head 201 is shown in FIG.
As shown in (f).

【0009】[0009]

【発明が解決しようとする課題】ところで、近年では、
長期間に渡って利用される定期券等も前述の発券装置に
よる発券対象となり、それに伴って、媒体に書き込んだ
磁気ストライプデータが長期に渡って保持されるよう
に、媒体の磁気ストライプの抗磁力(即ち、磁気データ
の書き込み、あるいは書き込んだ磁気データの破壊に必
要な磁束密度)を高めるようになってきている。
By the way, in recent years,
Coupons that are used for a long period of time are also subject to ticket issuance by the above-mentioned ticket issuing device, so that the coercive force of the magnetic stripe of the medium is retained so that the magnetic stripe data written on the medium is retained for a long period of time. (In other words, the magnetic flux density required for writing magnetic data or destroying the written magnetic data) is increasing.

【0010】しかし、抗磁力を高めるということは、そ
れだけ書き込み用磁気ヘッド201に流す電流を増やし
て発生する磁束密度を大きくするために、前記制限抵抗
217を小さくする必要があり、図3に示した従来の書
き込み回路を装備した発券装置では、抗磁力を変更する
都度に、前記制限抵抗217の交換という改造処理が必
要となるという問題があった。
However, in order to increase the coercive force, it is necessary to reduce the limiting resistor 217 in order to increase the current flowing through the write magnetic head 201 and increase the generated magnetic flux density, as shown in FIG. In addition, the conventional ticket issuing device equipped with the writing circuit has a problem that a modification process of replacing the limiting resistor 217 is required every time the coercive force is changed.

【0011】また、書き込み用磁気ヘッド201に流す
電流と読み取り用磁気ヘッド202の再生出力とは、一
般に、図5に曲線Aで示す関係にある。即ち、再生出力
電圧が適正範囲Bに入るためには、書き込み電流値があ
る範囲(適正範囲)C内に設定されていることが必要と
なるが、この書き込み電流値の適正範囲Cは、発券媒体
の抗磁力に依存している。従って、単純に書き込み電流
を大きくすると、抗磁力の小さい以前の媒体の場合に
は、書き込み電流値が適正範囲を超えてしまい、結果的
に、磁気ストライプデータの書き込みができなくなって
しまう。
The current supplied to the write magnetic head 201 and the reproduction output of the read magnetic head 202 generally have the relationship shown by the curve A in FIG. That is, in order for the reproduction output voltage to fall within the proper range B, it is necessary that the write current value is set within a certain range (proper range) C. It depends on the coercive force of the medium. Therefore, if the write current is simply increased, the write current value exceeds the appropriate range in the case of the previous medium having a small coercive force, and as a result, the magnetic stripe data cannot be written.

【0012】従って、図3に示した従来の書き込み回路
を装備した発券装置では、前記制限抵抗217を変更し
て書き込み電流値を大きくした場合には、抗磁力の小さ
い以前の媒体への書き込みができなくなり、抗磁力の小
さい以前の媒体を全て破棄しなければならないなどの問
題が発生する。
Therefore, in the ticket issuing apparatus equipped with the conventional writing circuit shown in FIG. 3, when the limiting resistance 217 is changed to increase the writing current value, writing to the previous medium having a small coercive force is performed. It becomes impossible to do so, and problems such as having to discard all the previous mediums with small coercive force occur.

【0013】本発明は前記事情に鑑みてなされたもの
で、抵抗部品の交換等の改造処理を行わずとも、磁気ス
トライプデータを書き込む際の書き込み電流値を媒体毎
にその媒体の抗磁力の大きさに応じた適正範囲に調節す
ることができ、従って、発券媒体として、旧来の媒体よ
りも抗磁力の大きな媒体の運用が必要となる場合でも、
新旧の双方の媒体に対して、適正な書き込み電流値で磁
気ストライプデータの書き込みを実行することができ、
抗磁力の小さな旧来の媒体の破棄等の不都合の発生を防
止することのできる磁気ストライプデータの書き込み方
法を提供することを目的とする。
The present invention has been made in view of the above circumstances, and the write current value at the time of writing magnetic stripe data is set to a large value of the coercive force of the medium for each medium without performing a modification process such as replacement of a resistance component. It can be adjusted to an appropriate range according to the size, and therefore, even if it is necessary to use a medium with a larger coercive force than the conventional medium as a ticket issuing medium,
It is possible to write magnetic stripe data with an appropriate write current value for both old and new media,
It is an object of the present invention to provide a magnetic stripe data writing method capable of preventing the occurrence of inconveniences such as discarding a conventional medium having a small coercive force.

【0014】[0014]

【課題を解決するための手段】請求項1に記載の磁気ス
トライプデータの書き込み方法は、発券装置において、
発券すべき発券媒体に磁気ストライプデータの書き込み
を行うもので、前記発券装置には、磁気ストライプデー
タの書き込み電流値を調節する書き込み電流設定回路を
装備しておく。
According to a first aspect of the present invention, there is provided a method of writing magnetic stripe data in a ticket issuing device, comprising:
The magnetic stripe data is written on the ticket issuing medium to be issued, and the ticket issuing device is equipped with a write current setting circuit for adjusting the write current value of the magnetic stripe data.

【0015】そして、当該発券装置における発券処理を
制御する制御部においては、磁気ストライプデータの書
き込みを実行した場合には、その書き込んだ磁気ストラ
イプデータが正常であるか否かを判断する。
When the magnetic stripe data is written, the control unit for controlling the ticket issuing process in the ticket issuing device determines whether the written magnetic stripe data is normal or not.

【0016】そして、磁気ストライプデータの書き込み
に異常があった場合には、前記書き込み電流設定回路に
よって書き込み電流値を加減して、再度磁気ストライプ
データの書き込みを実行させる。
If there is an abnormality in writing the magnetic stripe data, the write current value is adjusted by the write current setting circuit, and the magnetic stripe data is written again.

【0017】請求項2に記載の磁気ストライプデータの
書き込み方法は、発券装置において、発券すべき発券媒
体に磁気ストライプデータの書き込みを行うもので、前
記発券装置には、磁気ストライプデータの書き込み電流
値を調節する書き込み電流設定回路と、この電流設定回
路によって設定した適正な電流値を記憶しておく書き込
み電流値記憶手段とを装備しておく。
According to a second aspect of the present invention, there is provided a method of writing magnetic stripe data, wherein the ticket issuing device writes the magnetic stripe data on a ticket issuing medium to be issued, and the ticket issuing device writes a magnetic stripe data write current value. And a write current setting circuit for adjusting the current and a write current value storage means for storing an appropriate current value set by the current setting circuit.

【0018】そして、当該発券装置における発券処理を
制御する制御部においては、前記書き込み電流値記憶手
段に書き込み電流値が保存されていればその保存されて
いる書き込み電流値によって磁気ストライプデータの書
き込みを実行する。
Then, in the control unit for controlling the ticket issuing processing in the ticket issuing apparatus, if the write current value is stored in the write current value storage means, the magnetic stripe data is written by the stored write current value. Run.

【0019】そして、磁気ストライプデータの書き込み
を実行したら、その書き込んだ磁気ストライプデータが
正常であるか否かを判断して、磁気ストライプデータの
書き込みに異常があった場合には、前記書き込み電流設
定回路によって書き込み電流値を加減して再度磁気スト
ライプデータの書き込みを実行させる。
When the writing of the magnetic stripe data is executed, it is judged whether the written magnetic stripe data is normal or not. If the writing of the magnetic stripe data is abnormal, the write current setting is made. The circuit adjusts the write current value to write the magnetic stripe data again.

【0020】また、前記書き込み電流設定回路によって
書き込み電流値を変更して磁気ストライプデータの書き
込みを実行した場合には、書き込んだ磁気ストライプデ
ータが正常であるか否かの判断で正常であると判断すれ
ば、そのときの書き込み電流値を次の磁気ストライプデ
ータの書き込みに利用するために、前記書き込み電流値
記憶手段の保持する書き込み電流値を更新する。
Further, when the write current value is changed by the write current setting circuit to write the magnetic stripe data, it is judged as normal by judging whether the written magnetic stripe data is normal or not. Then, the write current value stored in the write current value storage means is updated in order to use the write current value at that time for writing the next magnetic stripe data.

【0021】[0021]

【作用】請求項1に記載の磁気ストライプデータの書き
込み方法は、発券装置に書き込み電流値を可変にする書
き込み電流設定回路を装備したもので、抵抗部品の交換
等の改造処理を行わずとも、磁気ストライプデータを書
き込む際の書き込み電流値を加減することができる。そ
して、磁気ストライプデータの書き込みをした場合に
は、書き込んだデータを読み取って元のデータと比較す
ることにより書き込みが正常になされたか否かを判断
し、異常があった場合には、書き込み電流値を調節して
再度書き込みをやり直すため、媒体毎にその媒体の抗磁
力の大きさに応じた適正範囲に調節した書き込み電流値
で磁気ストライプデータの書き込みを実行することがで
きる。
According to the magnetic stripe data writing method of the present invention, the ticket issuing device is equipped with the write current setting circuit for changing the write current value, and the modification process such as the replacement of the resistance component is not required. The write current value when writing the magnetic stripe data can be adjusted. When the magnetic stripe data is written, the written data is read and compared with the original data to determine whether the writing was successful. If there is an abnormality, the write current value Is adjusted and the writing is performed again, the magnetic stripe data can be written with a write current value adjusted to an appropriate range according to the magnitude of the coercive force of the medium.

【0022】従って、発券媒体として、旧来の媒体より
も抗磁力の大きな媒体の運用が必要となる場合でも、新
旧の双方の媒体に対して、適正な書き込み電流値で磁気
ストライプデータの書き込みを実行することができ、抗
磁力の小さな旧来の媒体の破棄等の不都合の発生を防止
することができる。
Therefore, even when it is necessary to use a medium having a larger coercive force as the ticket issuing medium than the old medium, the magnetic stripe data is written to both the old and new medium with an appropriate write current value. Therefore, it is possible to prevent the occurrence of inconveniences such as discarding old media having a small coercive force.

【0023】また、請求項2に記載の磁気ストライプデ
ータの書き込み方法では、さらに、書き込みが正常に終
了した場合の書き込み電流値を保存する書き込み電流値
記憶手段を装備しておいて、当該書き込み電流値記憶手
段に保存されている書き込み電流値を次の書き込み処理
に利用するため、抗磁力が同一の媒体を連続して処理す
るような場合には、媒体毎に書き込み電流値を設定する
ような手間を省くことができ、発券処理を高速化するこ
ともできる。
Further, in the magnetic stripe data writing method according to the second aspect of the present invention, a write current value storage means for storing the write current value when the writing is normally completed is further provided, and the write current is stored. Since the write current value stored in the value storage means is used for the next write process, when a medium having the same coercive force is continuously processed, the write current value is set for each medium. It is possible to save time and speed up ticketing processing.

【0024】[0024]

【実施例】図6は、本発明の一実施例を実行する発券装
置の構成を示したものである。この発券装置は、機構的
な全体構成は図2に示した如き構成であるが、制御信号
の流れから考えた場合では、図6に示す如き構成とな
る。即ち、図示せぬ上位装置(例えば、発券管理用のホ
ストコンピュータ)に接続された制御部10が、磁気回
路インターフェース部20,印字回路インターフェース
部30,駆動回路インターフェース部40,センサ回路
インターフェース部50などの各インターフェース部に
指示を出して所定の発券処理を実行するものである。
FIG. 6 shows the construction of a ticket issuing device for carrying out an embodiment of the present invention. This ticket issuing device has a mechanical entire structure as shown in FIG. 2, but has a structure as shown in FIG. 6 in consideration of the flow of control signals. That is, the control unit 10 connected to a host device (not shown) (for example, a host computer for ticketing management) includes a magnetic circuit interface unit 20, a print circuit interface unit 30, a drive circuit interface unit 40, a sensor circuit interface unit 50, and the like. To issue a predetermined ticket issuing process to each interface section.

【0025】前記制御部10は、マイクロCPUやRO
Mや、書き込み電流記憶手段11によって構成されてお
り、前述の各インターフェース部を介して、発券装置内
の各部の動作を制御する。なお、前記書き込み電流記憶
手段11としては、この一実施例では、バッテリーによ
ってバックアップされたRAMが使用されている。
The control unit 10 includes a micro CPU and an RO.
The write current storage means 11 controls the operation of each unit in the ticket issuing apparatus via the above-mentioned interface units. In this embodiment, a RAM backed up by a battery is used as the write current storage means 11.

【0026】前記磁気回路インターフェース部20は、
前記制御部10の指示にしたがって、書き込み電流設定
回路21に書き込み電流値を指示するとともに、書き込
みデータ生成回路22に磁気ストライプデータとして書
き込むべきデータを指示し、また、読み取りデータ生成
回路(いわゆるリードアンプ)23の読み取ったデータ
を制御部10に転送する。
The magnetic circuit interface section 20 includes
In accordance with the instruction of the control unit 10, the write current setting circuit 21 is instructed of the write current value, the write data generating circuit 22 is instructed of the data to be written as the magnetic stripe data, and the read data generating circuit (so-called read amplifier). ) The data read by 23 is transferred to the control unit 10.

【0027】書き込み電流設定回路21は、書き込み電
流を任意の値に調節し得る回路で、具体的には、トラン
ジスタ25,26のエミッタ側に接続されており、これ
らのトランジスタ25,26のエミッタに供給する電流
値を、前記磁気回路インターフェース部20から指示さ
れた値に設定する。書き込みデータ生成回路22は、ト
ランジスタ25〜28のベースに接続されており、制御
部10からの指示される書き込みデータに応じた電流を
書き込み用磁気ヘッド201に流す。また、読み取りデ
ータ生成回路23は、読み取り用磁気ヘッド202から
のアナログ信号を制御部10の扱う論理信号に変換して
いる。
The write current setting circuit 21 is a circuit capable of adjusting the write current to an arbitrary value, and is specifically connected to the emitter sides of the transistors 25 and 26, and is connected to the emitters of these transistors 25 and 26. The current value to be supplied is set to the value instructed by the magnetic circuit interface section 20. The write data generation circuit 22 is connected to the bases of the transistors 25 to 28 and sends a current according to the write data instructed from the control unit 10 to the write magnetic head 201. The read data generation circuit 23 also converts an analog signal from the read magnetic head 202 into a logical signal handled by the control unit 10.

【0028】以上の書き込み電流設定回路21,書き込
みデータ生成回路22,読み取りデータ生成回路23,
トランジスタ25〜28,書き込み用磁気ヘッド201
によって、いわゆる磁気ストライプデータの書き込み回
路が構成されている。
The above write current setting circuit 21, write data generating circuit 22, read data generating circuit 23,
Transistors 25-28, write magnetic head 201
A so-called magnetic stripe data write circuit is configured by the above.

【0029】前記印字回路インターフェース部30は制
御部10から出力される印字データを印字ヘッドドライ
バ31に転送し、この印字ヘッドドライバ31は印字ヘ
ッド302を駆動して発券媒体の券面に印字を行う。
The print circuit interface unit 30 transfers the print data output from the control unit 10 to the print head driver 31, and the print head driver 31 drives the print head 302 to print on the face of the ticket issuing medium.

【0030】駆動回路インターフェース部40は制御部
10からの指示に基づいてモータドライバ41およびマ
グネットドライバ42にデータをセットし、モータドラ
イバ41はセットされたデータに基づいて発券装置内の
各所に配備されたモータ43を駆動し、マグネットドラ
イバ42はセットされたデータに基づいて発券装置内の
各所に配備されたマグネット44を駆動する。
The drive circuit interface section 40 sets data in the motor driver 41 and the magnet driver 42 based on an instruction from the control section 10, and the motor driver 41 is provided at various places in the ticket issuing device based on the set data. The magnet driver 42 drives the motor 43, and the magnet driver 42 drives the magnets 44 arranged at various places in the ticket issuing device based on the set data.

【0031】センサ回路インターフェース部50は、セ
ンサアンプ51の出力するデータを制御部10に通知す
る。ここに、センサアンプ51は、発券装置内の各所に
配備されたセンサ52(図2に示した媒***置検出用光
学センサ203も含まれる)からのアナログ出力を制御
部10で処理し得る論理データに変換している。
The sensor circuit interface section 50 notifies the control section 10 of the data output from the sensor amplifier 51. Here, the sensor amplifier 51 is a logical data that can be processed by the control unit 10 from analog output from the sensor 52 (including the medium position detecting optical sensor 203 shown in FIG. 2) provided at various places in the ticket issuing device. Has been converted to.

【0032】次に、前記制御部10による磁気ストライ
プデータの書き込み処理の手順(即ち、本発明の一実施
例となる磁気ストライプデータの書き込み方法)を図1
に基づいて説明する。
Next, the procedure of the magnetic stripe data write processing by the control unit 10 (that is, the magnetic stripe data write method according to one embodiment of the present invention) will be described with reference to FIG.
It will be described based on.

【0033】まず、制御部10は、上位装置から磁気ス
トライプデータの書き込みの指示を受けると、制御部1
0内にある書き込み電流値記憶手段11の書き込み電流
設定済みフラグが、設定済みになっているかどうかを判
断する(ステップS1)。
First, when the control unit 10 receives an instruction to write magnetic stripe data from a higher-level device, the control unit 1
It is determined whether or not the write current setting completion flag of the write current value storage means 11 in 0 is set (step S1).

【0034】ステップS1において、設定されていなか
ったと判断すると、書き込み電流値を最小値に設定し
(ステップS2)、磁気ストライプデータの書き込みを
行い(ステップS3)、さらに、書き込んだデータの読
み取りを行う(ステップS4)。そして、読み取ったデ
ータと書き込みの元のデータとを比較することによっ
て、磁気ストライプデータの書き込みが正常であったか
否かを判断し(ステップS5)、書き込みの元のデータ
と読み取ったデータとが一致しなかった場合には、書き
込みに異常があったと認識して、次には、書き込み電流
の設定値が書き込み回路で扱い得る書き込み電流値の最
大値であったか否かを判断する(ステップS6)。
If it is determined in step S1 that it has not been set, the write current value is set to the minimum value (step S2), the magnetic stripe data is written (step S3), and the written data is read. (Step S4). Then, it is determined whether or not the writing of the magnetic stripe data was normal by comparing the read data with the original data written (step S5), and the original data written and the read data match. If not, it is recognized that the writing is abnormal, and next, it is determined whether or not the set value of the write current is the maximum value of the write current that can be handled by the write circuit (step S6).

【0035】前記ステップS6で最大値でなかったと判
断すると、前記書き込み電流設定回路21の設定する書
き込み電流値を1段階だけ高めて、ステップS3の処理
に戻る。しかし、前記ステップS6で、書き込み電流の
設定値が最大値であったと判断した場合には、磁気スト
ライプデータの書き込み処理にエラーが生じたことを上
位装置に通知して処理を終了する(ステップS8)。
When it is determined in step S6 that the write current is not the maximum value, the write current value set by the write current setting circuit 21 is increased by one step, and the process returns to step S3. However, when it is determined in step S6 that the set value of the write current is the maximum value, the upper device is notified that an error has occurred in the write process of the magnetic stripe data, and the process is ended (step S8). ).

【0036】また、前記ステップS5で読み取ったデー
タと書き込みの元のデータとが一致していると判断した
場合には、その時の書き込み電流値を前記書き込み電流
値記憶手段11に書き込むとともに、当該記憶手段11
の書き込み電流設定済みフラグの内容を設定済に書き換
えて(ステップS9)、磁気ストライプデータの書き込
みが正常に終了したことを上位装置に通知して処理を終
了する(ステップS10)。
When it is determined that the data read in step S5 and the original data for writing match, the write current value at that time is written in the write current value storage means 11 and the stored current value. Means 11
The content of the write current set flag of is rewritten to set (step S9), the upper device is notified that the writing of the magnetic stripe data has been normally completed, and the process is ended (step S10).

【0037】また、前記ステップS1において、記憶手
段11の書き込み電流設定済みフラグが設定済みである
と判断した場合は、前記記憶手段11に保存されている
書き込み電流値を読み取って、その読み取った書き込み
電流値を前記書き込み電流設定回路21に設定させて
(ステップS11)、磁気ストライプデータの書き込み
を実行し(ステップS12)、次に書き込んだデータの
読み取りを行い(ステップS13)、前記ステップS5
の場合と同様に書き込みの元のデータと読み取ったデー
タとが一致しているか否かによって書き込みが正常にな
されたか否かを判断する(ステップS14)。
If it is determined in step S1 that the write current setting flag of the storage means 11 has been set, the write current value stored in the storage means 11 is read and the read write is performed. A current value is set in the write current setting circuit 21 (step S11), the magnetic stripe data is written (step S12), the written data is read next (step S13), and the step S5 is performed.
Similarly to the case of (3), it is determined whether or not the writing is normally performed depending on whether or not the original data for writing and the read data match.

【0038】そして、ステップS14で一致していると
判断したときは前記ステップS10に移行し、一致して
いないと判断したときは前記記憶手段11に保存されて
いる書き込み電流値が不適当であると認識し、記憶手段
11における書き込み電流設定済みフラグの内容を未設
定の状態に更新して(ステップS15)、ステップS2
に戻る。
If it is determined in step S14 that they match, the process proceeds to step S10. If it is determined that they do not match, the write current value stored in the storage means 11 is inappropriate. And the contents of the write current set flag in the storage means 11 are updated to the unset state (step S15), and step S2
Return to.

【0039】以上のような磁気ストライプデータの書き
込み方法は、発券装置の書き込み回路に書き込み電流値
を可変にする書き込み電流設定回路21を装備したもの
で、抵抗部品の交換等の改造処理を行わずとも、磁気ス
トライプデータを書き込む際の書き込み電流値を加減す
ることができる。そして、磁気ストライプデータの書き
込みをした場合には、書き込んだデータを読み取って元
のデータと比較することにより書き込みが正常になされ
たか否かを判断し、異常があった場合には、書き込み電
流値を調節して再度書き込みをやり直すため、媒体毎に
その媒体の抗磁力の大きさに応じた適正範囲に調節した
書き込み電流値で磁気ストライプデータの書き込みを実
行することができる。
In the magnetic stripe data writing method as described above, the writing circuit of the ticket issuing device is equipped with the writing current setting circuit 21 for varying the writing current value, and the remodeling process such as the replacement of the resistance component is not performed. In both cases, the write current value when writing the magnetic stripe data can be adjusted. When the magnetic stripe data is written, the written data is read and compared with the original data to determine whether the writing was successful. If there is an abnormality, the write current value Is adjusted and the writing is performed again, the magnetic stripe data can be written with a write current value adjusted to an appropriate range according to the magnitude of the coercive force of the medium.

【0040】従って、発券媒体として、旧来の媒体より
も抗磁力の大きな媒体の運用が必要となる場合でも、新
旧の双方の媒体に対して、適正な書き込み電流値で磁気
ストライプデータの書き込みを実行することができ、抗
磁力の小さな旧来の媒体の破棄等の不都合の発生を防止
することができる。
Therefore, even when it is necessary to use a medium having a larger coercive force than the conventional medium as the ticket issuing medium, the magnetic stripe data is written to both the old and new medium with an appropriate write current value. Therefore, it is possible to prevent the occurrence of inconveniences such as discarding old media having a small coercive force.

【0041】また、前述の一実施例の場合では、書き込
みが正常に終了した場合の書き込み電流値を記憶手段1
1に保存しておいて、次の書き込み処理に利用し得るよ
うにしたので、抗磁力が同一の媒体を連続して処理する
ような場合には、媒体毎に書き込み電流値を設定するよ
うな手間を省くことができ、発券処理を高速化すること
もできる。
Further, in the case of the above-described embodiment, the writing current value when the writing is normally completed is stored in the storage means 1.
Since it is stored in No. 1 and can be used for the next writing process, when a medium having the same coercive force is continuously processed, a writing current value is set for each medium. It is possible to save time and speed up ticketing processing.

【0042】なお、前述の一実施例では、磁気ストライ
プデータの書き込みが正常に終了したときの書き込み電
流値を保存する記憶手段11を装備した構成としたが、
磁気ストライプデータの書き込み処理時における書き込
み電流値を可変にして、抗磁力の異なる多様な媒体の処
理を可能ならしめることのみを目的とするならば、前記
記憶手段11は省くこともできる。
In the embodiment described above, the storage means 11 for storing the write current value when the writing of the magnetic stripe data is normally completed is provided.
The storage means 11 may be omitted if the purpose is to make it possible to process various media having different coercive forces by making the write current value during the write processing of the magnetic stripe data variable.

【0043】図7および図8は、前記記憶手段11を装
備せず、その都度、書き込み電流設定回路21によって
書き込み電流値を設定する場合の回路構成と書き込み処
理の手順とを示したものである。
FIGS. 7 and 8 show a circuit configuration and a write processing procedure when the write current value is set by the write current setting circuit 21 each time the storage means 11 is not provided. .

【0044】図7の回路構成は、図6に示した一実施例
と比較した場合、記憶手段11が省かれただけで、その
他の構成は変らない。従って、共通部分には、同番号を
付けることによって、説明を省略する。
The circuit configuration of FIG. 7 is the same as that of the embodiment shown in FIG. 6, except that the storage means 11 is omitted, and other configurations are the same. Therefore, the common parts are given the same numbers and their explanations are omitted.

【0045】図8の書き込み処理の手順は、図1に示し
た一実施例と比較した場合、記憶手段11に保存されて
いる書き込み電流値の値を書き込み電流設定回路21に
セットするステップS11の処理が削除されただけで、
その他の処理手順は変らない。従って、共通部分には、
同番号を付けることによって説明を省略する。
The procedure of the write processing of FIG. 8 is the same as that of the embodiment shown in FIG. 1, and the write current value stored in the storage means 11 is set in the write current setting circuit 21 in step S11. The process was just deleted,
Other processing procedures remain unchanged. Therefore, the common part is
The description is omitted by giving the same numbers.

【0046】なお、一実施例は、交通機関等で利用する
乗車券や航空券を発行する発券装置に利用することを想
定したが、本発明は、乗車券や航空券等の発券装置に限
らず、発券媒体に磁気ストライプデータを書き込む種々
の発券装置に利用可能である。
It should be noted that although one embodiment is assumed to be used for a ticket issuing device for issuing a ticket or an airline ticket used in transportation, the present invention is not limited to a ticket issuing device for a ticket or airline ticket. Instead, it can be used for various ticket issuing devices for writing magnetic stripe data on a ticket issuing medium.

【0047】[0047]

【発明の効果】以上の説明から明らかなように、請求項
1に記載の磁気ストライプデータの書き込み方法は、発
券装置に書き込み電流値を可変にする書き込み電流設定
回路を装備したもので、抵抗部品の交換等の改造処理を
行わずとも、磁気ストライプデータを書き込む際の書き
込み電流値を加減することができる。そして、磁気スト
ライプデータの書き込みをした場合には、書き込んだデ
ータを読み取って元のデータと比較することにより書き
込みが正常になされたか否かを判断し、異常があった場
合には、書き込み電流値を調節して再度書き込みをやり
直すため、媒体毎にその媒体の抗磁力の大きさに応じた
適正範囲に調節した書き込み電流値で磁気ストライプデ
ータの書き込みを実行することができる。
As is apparent from the above description, in the magnetic stripe data writing method according to the first aspect, the ticket issuing device is equipped with the write current setting circuit for varying the write current value. The write current value at the time of writing the magnetic stripe data can be adjusted without performing a modification process such as replacement of the magnetic stripe. When the magnetic stripe data is written, the written data is read and compared with the original data to determine whether the writing was successful. If there is an abnormality, the write current value Is adjusted and the writing is performed again, the magnetic stripe data can be written with a write current value adjusted to an appropriate range according to the magnitude of the coercive force of the medium.

【0048】従って、発券媒体として、旧来の媒体より
も抗磁力の大きな媒体の運用が必要となる場合でも、新
旧の双方の媒体に対して、適正な書き込み電流値で磁気
ストライプデータの書き込みを実行することができ、抗
磁力の小さな旧来の媒体の破棄等の不都合の発生を防止
することができる。
Therefore, even if it is necessary to use a medium having a larger coercive force than the conventional medium as the ticket issuing medium, the magnetic stripe data is written to both the old and new medium with an appropriate write current value. Therefore, it is possible to prevent the occurrence of inconveniences such as discarding old media having a small coercive force.

【0049】また、請求項2に記載の磁気ストライプデ
ータの書き込み方法では、さらに、書き込みが正常に終
了した場合の書き込み電流値を保存する書き込み電流値
記憶手段を装備しておいて、当該書き込み電流値記憶手
段に保存されている書き込み電流値を次の書き込み処理
に利用するため、抗磁力が同一の媒体を連続して処理す
るような場合には、媒体毎に書き込み電流値を設定する
ような手間を省くことができ、発券処理を高速化するこ
ともできる。
Further, in the magnetic stripe data writing method according to the second aspect, a write current value storage means for storing the write current value when the writing is normally completed is further provided, and the write current is stored. Since the write current value stored in the value storage means is used for the next write process, when a medium having the same coercive force is continuously processed, the write current value is set for each medium. It is possible to save time and speed up ticketing processing.

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

【図1】本発明の一実施例の書き込み処理の説明図であ
る。
FIG. 1 is an explanatory diagram of a writing process according to an embodiment of the present invention.

【図2】発券装置の機構の概略構成の説明図である。FIG. 2 is an explanatory diagram of a schematic configuration of a mechanism of the ticket issuing device.

【図3】従来の発券装置における書き込み回路の説明図
である。
FIG. 3 is an explanatory diagram of a writing circuit in a conventional ticket issuing device.

【図4】従来の発券装置における書き込み処理時の波形
の説明図である。
FIG. 4 is an explanatory diagram of waveforms during a writing process in a conventional ticket issuing device.

【図5】磁気ストライプデータの書き込み電流値と再生
出力電圧との相関図である。
FIG. 5 is a correlation diagram between a write current value of magnetic stripe data and a reproduction output voltage.

【図6】本発明の一実施例を実行する発券装置の構成説
明図である。
FIG. 6 is a configuration explanatory view of a ticket issuing device for carrying out an embodiment of the present invention.

【図7】本発明の他の実施例を実行する発券装置の構成
説明図である。
FIG. 7 is a configuration explanatory view of a ticket issuing device for carrying out another embodiment of the present invention.

【図8】本発明の他の実施例の書き込み処理の説明図で
ある。
FIG. 8 is an explanatory diagram of a writing process according to another embodiment of the present invention.

【符号の説明】 10 制御部 11 書き込み電流値記憶手段 20 磁気回路インターフェース部 21 書き込み電流設定回路 22 書き込みデータ生成回路 23 読み取りデータ生成回路 25〜28 トランジスタ 30 印字回路インターフェース部 40 駆動回路インターフェース部 50 センサ回路インターフェース部 201 書き込み用磁気ヘッド[Description of Reference Signs] 10 control unit 11 write current value storage unit 20 magnetic circuit interface unit 21 write current setting circuit 22 write data generation circuit 23 read data generation circuit 25 to 28 transistor 30 printing circuit interface unit 40 drive circuit interface unit 50 sensor Circuit interface unit 201 Magnetic head for writing

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 発券装置において、発券すべき発券媒体
に磁気ストライプデータの書き込みを行う磁気ストライ
プデータの書き込み方法であって、 前記発券装置には、磁気ストライプデータの書き込み電
流値を調節する書き込み電流設定回路を装備しておき、 当該発券装置における発券処理を制御する制御部におい
ては、磁気ストライプデータの書き込みを実行した場合
には、その書き込んだ磁気ストライプデータが正常であ
るか否かを判断し、磁気ストライプデータの書き込みに
異常があった場合には、前記書き込み電流設定回路によ
って書き込み電流値を加減して再度磁気ストライプデー
タの書き込みを実行させることを特徴とした磁気ストラ
イプデータの書き込み方法。
1. A method of writing magnetic stripe data in a ticket issuing device for writing magnetic stripe data to a ticket issuing medium, wherein the ticket issuing device includes a write current for adjusting a write current value of the magnetic stripe data. When the magnetic stripe data is written, the control unit that is equipped with the setting circuit and controls the ticket issuing process in the ticket issuing device determines whether the written magnetic stripe data is normal or not. A method for writing magnetic stripe data, wherein when there is an error in writing the magnetic stripe data, the write current value is adjusted by the write current setting circuit and the magnetic stripe data is written again.
【請求項2】 発券装置において、発券すべき発券媒体
に磁気ストライプデータの書き込みを行う磁気ストライ
プデータの書き込み方法であって、 前記発券装置には、磁気ストライプデータの書き込み電
流値を調節する書き込み電流設定回路と、この電流設定
回路によって設定した適正な電流値を記憶しておく書き
込み電流値記憶手段とを装備しておき、 当該発券装置における発券処理を制御する制御部におい
ては、前記書き込み電流値記憶手段に書き込み電流値が
保存されていればその保存されている書き込み電流値に
よって磁気ストライプデータの書き込みを実行し、 また、磁気ストライプデータの書き込みを実行したら、
その書き込んだ磁気ストライプデータが正常であるか否
かを判断して、磁気ストライプデータの書き込みに異常
があった場合には、前記書き込み電流設定回路によって
書き込み電流値を加減して再度磁気ストライプデータの
書き込みを実行させ、 前記書き込み電流設定回路によって書き込み電流値を変
更して磁気ストライプデータの書き込みを実行した場合
には、書き込んだ磁気ストライプデータが正常であるか
否かの判断で正常であると判断すれば、そのときの書き
込み電流値を次の磁気ストライプデータの書き込みに利
用するために、前記書き込み電流値記憶手段の保持する
書き込み電流値を更新することを特徴とする磁気ストラ
イプデータの書き込み方法。
2. A method of writing magnetic stripe data in a ticket issuing device for writing magnetic stripe data to a ticket issuing medium, wherein the ticket issuing device includes a write current for adjusting a write current value of the magnetic stripe data. A setting circuit and a write current value storage means for storing an appropriate current value set by the current setting circuit are provided, and the write current value is stored in the control unit that controls the ticket issuing process in the ticket issuing device. If the write current value is stored in the storage means, the magnetic stripe data is written by the stored write current value, and when the magnetic stripe data is written,
It is judged whether the written magnetic stripe data is normal, and if the writing of the magnetic stripe data is abnormal, the write current value is adjusted by the write current setting circuit and the magnetic stripe data of the magnetic stripe data is read again. When the writing is executed and the writing current value is changed by the writing current setting circuit to execute the writing of the magnetic stripe data, it is judged as normal by judging whether the written magnetic stripe data is normal or not. Then, in order to utilize the write current value at that time for writing the next magnetic stripe data, the write current value held by the write current value storage means is updated.
JP31232791A 1991-11-27 1991-11-27 Method of writing magnetic stripe data Pending JPH0684105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31232791A JPH0684105A (en) 1991-11-27 1991-11-27 Method of writing magnetic stripe data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31232791A JPH0684105A (en) 1991-11-27 1991-11-27 Method of writing magnetic stripe data

Publications (1)

Publication Number Publication Date
JPH0684105A true JPH0684105A (en) 1994-03-25

Family

ID=18027904

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31232791A Pending JPH0684105A (en) 1991-11-27 1991-11-27 Method of writing magnetic stripe data

Country Status (1)

Country Link
JP (1) JPH0684105A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0993648A1 (en) * 1997-12-01 2000-04-19 Innovonics, Inc. Methods and apparatus for writing to tracks on magnetic-stripe cards
EP1396848A2 (en) * 2002-08-28 2004-03-10 Omron Corporation Device for determining coercive force of magnetic recording medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0993648A1 (en) * 1997-12-01 2000-04-19 Innovonics, Inc. Methods and apparatus for writing to tracks on magnetic-stripe cards
EP0993648A4 (en) * 1997-12-01 2002-08-07 Innovonics Inc Methods and apparatus for writing to tracks on magnetic-stripe cards
EP1396848A2 (en) * 2002-08-28 2004-03-10 Omron Corporation Device for determining coercive force of magnetic recording medium
EP1396848A3 (en) * 2002-08-28 2005-11-02 Omron Corporation Device for determining coercive force of magnetic recording medium

Similar Documents

Publication Publication Date Title
US5432533A (en) Recording method with control of head energization and recording medium conveyance power consumption
JPH0684105A (en) Method of writing magnetic stripe data
JP2557049B2 (en) Printing method of thermal printer
JPH07147060A (en) Method for writing magnetic stripe data
JP3321987B2 (en) Printing equipment
US20240208251A1 (en) Printing apparatus and method of controlling printing apparatus
WO2006109523A1 (en) Printer
JPS6236241A (en) Image recording device
JPH10202977A (en) Printer device for bankbook
JPH11208069A (en) Recorder and recording method
JPH1110962A (en) Printer and printing method
JP2001180134A (en) Printing medium and its label printer
JP3250118B2 (en) Printing device data management method
JPS63161579A (en) Magnetic tape device
JPS58134774A (en) Abnormality-detecting system for head system in printer
JP2767245B2 (en) Printhead print control method
JPH04181502A (en) Magnetic disk drive
JPH04350784A (en) Ticket issue device
JPH0834135A (en) Printer and printing method thereof
JPH09226985A (en) Image forming device
JPH0611553B2 (en) Print control method
JPH04173350A (en) Recording device
JPH11161448A (en) Terminal control unit and its control method
JPS5957767A (en) Printing pressure controlling method
JPS61249783A (en) Ink ribbon feed control system of printer