JP2826690B2 - Magnetic stripe data reading circuit - Google Patents

Magnetic stripe data reading circuit

Info

Publication number
JP2826690B2
JP2826690B2 JP23176592A JP23176592A JP2826690B2 JP 2826690 B2 JP2826690 B2 JP 2826690B2 JP 23176592 A JP23176592 A JP 23176592A JP 23176592 A JP23176592 A JP 23176592A JP 2826690 B2 JP2826690 B2 JP 2826690B2
Authority
JP
Japan
Prior art keywords
amplification factor
magnetic stripe
magnetic
slice level
stripe data
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.)
Expired - Fee Related
Application number
JP23176592A
Other languages
Japanese (ja)
Other versions
JPH0676214A (en
Inventor
賢美 鮎貝
聡 高村
照和 浦野
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 JP23176592A priority Critical patent/JP2826690B2/en
Publication of JPH0676214A publication Critical patent/JPH0676214A/en
Application granted granted Critical
Publication of JP2826690B2 publication Critical patent/JP2826690B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Digital Magnetic Recording (AREA)

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 reading circuit in a magnetic stripe data reading device for reading magnetic stripe data, such as a ticket issuing device installed in a transportation facility or the like.

【0002】[0002]

【従来の技術】交通機関等においては、乗車券あるいは
航空券等の販売および乗車,搭乗のチェックの効率化の
ために発券装置を設置している。図8は発券装置の概略
を示す構成図で、ホッパ部101は、乗車券あるいは航
空券等のチケットを発券するための各種情報の記録前の
チケットを収納している。
2. Description of the Related Art In transportation and the like, a ticketing device is installed to increase the efficiency of sales of tickets or air tickets and checking of boarding and boarding. FIG. 8 is a configuration diagram schematically showing a ticket issuing apparatus, in which a hopper unit 101 stores tickets before recording various information for issuing tickets such as a boarding ticket or an air ticket.

【0003】エンコーダ部102は、チケットに貼り付
けられた磁気ストライプへの磁気ストライプデータの書
き込みおよび磁気ストライプからの磁気ストライプデー
タの読み取りを行う。プリンタ部103は、チケット表
面に文字情報を印字する。吸入排出部104は磁気スト
ライプデータの書き込みや文字情報の印字の完了したチ
ケットの排出および磁気ストライプデータの書き込みや
文字情報の印字を行うチケットの吸入を行う。
The encoder unit 102 writes magnetic stripe data on a magnetic stripe attached to a ticket and reads magnetic stripe data from the magnetic stripe. The printer unit 103 prints character information on the ticket surface. The suction / discharge unit 104 discharges a ticket for which writing of magnetic stripe data or printing of character information is completed and suction of a ticket for writing of magnetic stripe data or printing of character information.

【0004】前記エンコーダ部102には、書き込み用
磁気ヘッド105と読み取り用磁気ヘッド106が設け
られ、チケットに貼り付けられた磁気ストライプへの磁
気ストライプデータの書き込みおよび磁気ストライプか
らの磁気ストライプデータの読み取りを行う。また、チ
ケット位置検出用光学センサ107は、磁気ストライプ
データの書き込みおよび読み取りのタイミングを検出す
る。媒体搬送路108はホッパ部101からエンコーダ
部102の書き込み用磁気ヘッド105と読み取り用磁
気ヘッド106,印字部103を通り吸入排出部104
を結び、チケットの搬送を行う。
The encoder unit 102 is provided with a write magnetic head 105 and a read magnetic head 106 for writing magnetic stripe data to a magnetic stripe attached to a ticket and reading magnetic stripe data from the magnetic stripe. I do. The optical sensor 107 for detecting a ticket position detects the timing of writing and reading of the magnetic stripe data. The medium transport path 108 passes from the hopper 101 to the write magnetic head 105, the read magnetic head 106 of the encoder 102, the print head 103, and the suction / eject unit 104.
And transport the ticket.

【0005】図9は従来の磁気ストライプデータ読み取
り回路を示すブロック図で、読み取り用磁気ヘッド10
6によって読み取られた磁気ストライプ上の磁束変化量
は、差動アンプ109によってオフセットを取り去ら
れ、増幅率が半固定抵抗110によって可変であるメイ
ンアンプ111によって規定の出力レベルになるように
増幅される。
FIG. 9 is a block diagram showing a conventional magnetic stripe data reading circuit.
The amount of change in the magnetic flux on the magnetic stripe read by 6 is offset by the differential amplifier 109 and amplified by the main amplifier 111 whose amplification factor is variable by the semi-fixed resistor 110 so that the output level becomes a specified output level. You.

【0006】この信号は、ピークセンス回路112,レ
ベルセンス回路113に入力され、それぞれピーク検出
およびレベル検出を行い、この出力を用いて復調回路1
14によってデジタルデータに変換される。図10は上
記従来の磁気ストライプデータ読み取り回路における信
号波形を示す説明図で、図9に示すA点の信号波形が図
10(a)に示すようなものであり、レベルセンス回路
113のスライスレベルがVであるとすると、ピークセ
ンス回路112およびレベルセンス回路113の出力は
図10(b),(c)に示すようになる。
This signal is input to a peak sensing circuit 112 and a level sensing circuit 113, which perform peak detection and level detection, respectively.
14 converts the data into digital data. FIG. 10 is an explanatory diagram showing a signal waveform in the conventional magnetic stripe data reading circuit. The signal waveform at point A shown in FIG. 9 is as shown in FIG. Is V, the outputs of the peak sense circuit 112 and the level sense circuit 113 are as shown in FIGS. 10B and 10C.

【0007】一般に、ピークセンス回路はピークの発生
電圧がある一定量にならないとピークを検出することが
不可能であり、また、メインアンプの増幅率が大きすぎ
ると、出力が飽和して増幅率が一定とならない。したが
って、上記のような回路構成におけるメインアンプ11
1の増幅率の調整は、以下に示す手順によって行ってい
た。 (1) 図10のA点の出力信号をオシロスコープ等で
監視しながら、あらかじめ一定レベルで磁気ストライプ
データが書き込まれたチケットを読み取らせる。 (2) A点の信号の、ピークが全て最低規定電圧V1
を越えていて、なおかつ最大規定電圧V2を越えていな
いかどうかを判定する。 (3) ピークの内で最低規定電圧V1を下回っている
ものがあればメインアンプ111の増幅率を上げ、最大
規定電圧を上回っているものがあれば増幅率を下げ、規
定電圧をはずれるものが最大,最低ともにあればギャッ
プの調整等の機構的な調整をして上記(1)の処理から
やり直す。
In general, a peak sense circuit cannot detect a peak unless the voltage at which the peak occurs reaches a certain amount, and if the amplification factor of the main amplifier is too large, the output is saturated and the amplification factor is reduced. Is not constant. Therefore, the main amplifier 11 in the circuit configuration as described above
The adjustment of the amplification factor of No. 1 was performed by the following procedure. (1) While monitoring the output signal at point A in FIG. 10 with an oscilloscope or the like, a ticket in which magnetic stripe data has been written at a predetermined level in advance is read. (2) The peak of the signal at point A is all the minimum specified voltage V1
Is determined to have exceeded the maximum specified voltage V2. (3) If any of the peaks is lower than the minimum specified voltage V1, the amplification factor of the main amplifier 111 is increased. If both the maximum and the minimum are satisfied, a mechanical adjustment such as a gap adjustment is performed, and the processing from the above (1) is repeated.

【0008】[0008]

【発明が解決しようとする課題】一般に、読み取り用磁
気ヘッドと磁気ストライプとの間には、ヘッドの磨耗を
考慮して極力一定量のギャップを取るようにしている
が、このギャップが広すぎると読み取り用磁気ヘッドが
読み取る磁束変化量が下がり、正常な読み取り動作がで
きなくなる。
Generally, a gap between the read magnetic head and the magnetic stripe is made as small as possible in consideration of the wear of the head. The amount of change in magnetic flux read by the reading magnetic head decreases, and a normal reading operation cannot be performed.

【0009】したがって、チケットの厚みのばらつきに
よって読み取り用磁気ヘッドは磨耗してしまうので、磁
気ヘッドは消耗品と位置づけられ、定期的に交換され
る。しかしながら、メインアンプの増幅率の調整は、先
に示したように、オシロスコープ等を用いて調整しなけ
ればならず、特にサイバネ規格のような十数トラックも
ある場合は、この調整に時間がかかり、保守費用を増大
させるという問題がある。
Therefore, the magnetic head for reading is worn out due to the variation in the thickness of the ticket, so that the magnetic head is positioned as a consumable item and is periodically replaced. However, the adjustment of the amplification factor of the main amplifier must be performed using an oscilloscope or the like, as described above. This adjustment takes time especially when there are more than a dozen tracks according to the cyber spring standard. However, there is a problem that maintenance costs are increased.

【0010】さらに、調整時間が長いことによって、顧
客がその装置をすぐには利用できなくなるので、顧客へ
のサービズが低下するという問題がある。また、一般
に、読み取り用磁気ヘッドの取り付け部等の機構部品の
たわみによって、チケットを挿入方向で搬送した場合と
排出方向で搬送した場合では磁気ストライプと磁気ヘッ
ドとの接触の仕方が異なり、それぞれ適正な増幅率が異
なる。
[0010] Further, since the adjustment time is long, the customer cannot use the device immediately, and the service to the customer is reduced. In addition, in general, the manner in which the magnetic stripe contacts the magnetic head differs between when the ticket is transported in the insertion direction and when the ticket is transported in the ejection direction due to the bending of the mechanical parts such as the mounting portion of the reading magnetic head. Different amplification factors.

【0011】したがって、従来の半固定抵抗を用いたメ
インアンプで増幅する場合は、挿入されるチケットの磁
気ストライプデータの読み取り時と、ホッパ部から繰り
出したチケットに磁気ストライプデータを書き込んだ後
の確認用読み取り時におけるチケットの搬送方向を統一
しなければならない。図8に示す発券装置において搬送
方向を挿入方向に統一した場合を考えると、チケットを
挿入して磁気ストライプデータの更新をする処理におい
ては、吸入排出部104からチケット挿入後、エンコー
ダ部102で一回挿入方向に搬送してまず現状の磁気ス
トライプデータを読み取り、続いてもう一度挿入方向に
搬送して磁気ストライプデータの更新と更新データが正
しく書き込まれているかどうかのチェックのための読み
取りを同時に行う。正常に書き込まれていれば、今度は
排出方向に搬送しチケットを排出する。
Therefore, when amplifying with a conventional main amplifier using a semi-fixed resistor, it is necessary to check when reading the magnetic stripe data of the ticket to be inserted and after writing the magnetic stripe data on the ticket fed from the hopper. The transport direction of the ticket at the time of reading must be unified. Considering the case where the transport direction is unified in the insertion direction in the ticket issuing device shown in FIG. 8, in the process of updating the magnetic stripe data by inserting a ticket, after the ticket is inserted from the suction / discharge unit 104, the encoder unit 102 First, the current magnetic stripe data is read by transporting in the insertion direction, and then the magnetic stripe data is again transported in the insertion direction again to simultaneously read the update of the magnetic stripe data and check whether the updated data is correctly written. If it has been written normally, it is conveyed in the discharge direction and the ticket is discharged.

【0012】また、ホッパ部101からチケットを取り
出し、磁気ストライプデータを書き込んで排出する処理
においては、チケットをエンコーダ部102に取り込む
ために排出方向でエンコーダ部102を一回搬送させ、
その後、挿入方向に一回搬送させて磁気ストライプデー
タの書き込みと書き込みデータが正しく書き込まれてい
るかどうかのチェックのための読み取りを同時に行う。
正常に書き込まれていれば、再び排出方向に搬送しチケ
ットを吸入排出部104から排出する。
In the process of taking out a ticket from the hopper 101, writing magnetic stripe data and discharging the ticket, the encoder 102 is conveyed once in the discharging direction to take the ticket into the encoder 102.
Thereafter, the magnetic stripe data is conveyed once in the insertion direction, and writing of the magnetic stripe data and reading for checking whether the written data is correctly written are simultaneously performed.
If it has been written normally, it is transported again in the discharge direction and the ticket is discharged from the suction / discharge unit 104.

【0013】このように、外部からの挿入処理時とホッ
パ部からの排出処理時において磁気ストライプデータの
読み取り搬送方向を統一すると、チケットがエンコーダ
部を無駄に搬送される時間が発生し、装置の処理速度が
低下するため、顧客に対するサービスが低下するという
問題がある。本発明は、このような問題を解決するため
になされたもので、読み取り用磁気ヘッドの出力を増幅
させるメインアンプの増幅率調整にかかる時間を短縮
し、保守費用を節減するとともに、顧客に対するサービ
スを向上させることを目的とする。
As described above, if the reading and conveying directions of the magnetic stripe data are unified during the insertion process from the outside and the ejection process from the hopper unit, a time occurs in which the ticket is uselessly conveyed through the encoder unit. Since the processing speed is reduced, there is a problem that service to customers is reduced. SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and shortens the time required for adjusting the amplification factor of a main amplifier that amplifies the output of a read magnetic head, reduces maintenance costs, and provides services to customers. The purpose is to improve.

【0014】さらに、本発明は、読み取り用磁気ヘッド
の出力を増幅させるメインアンプの増幅率が搬送方向に
よって変更できないことを除去し、チケットの搬送方向
に合わせた増幅率で各種処理を行い、装置の処理時間を
短縮して顧客に対するサービスを向上させることを目的
とする。
Further, the present invention eliminates the fact that the amplification factor of the main amplifier for amplifying the output of the magnetic head for reading cannot be changed depending on the transport direction, and performs various processes with the amplification factor matched to the transport direction of the ticket. The purpose of the present invention is to improve the service for customers by shortening the processing time.

【0015】[0015]

【課題を解決するための手段】この目的を達成するた
め、本発明の請求項1にかかる磁気ストライプデータ読
み取り回路は、磁気ストライプデータを読み取ることで
磁気ヘッドより出力される信号を増幅し、かつその増幅
率が可変である増幅手段と、前記増幅手段で増幅された
信号をスライスし、かつそのスライスレベルが可変であ
るスライスレベル設定手段と、前記スライスレベル設定
手段に設定されたスライスレベルに応じて、前記増幅手
段で増幅された信号の磁束の反転回数をカウントする計
数手段と、規定のビット密度で固定された標準媒体から
読み取った磁気ストライプデータを用いて前記増幅手段
の増幅率を設定して記憶手段に記憶し、通常の磁気スト
ライプデータ読み取り動作時には、前記記憶手段に記憶
した増幅率を増幅手段にセットして読み取り動作を行う
制御手段とを備え、前記制御手段は、前記標準媒体から
読み取った磁気ストライプデータに対して、前記スライ
スレベル設定手段に設定されるスライスレベルを最小と
した時に、前記計数手段でカウントされる磁束反転回数
が規定値でなければ、磁束反転回数が規定値となるまで
前記増幅手段の増幅率を上げる工程と、スライスレベル
を最大とした時に、磁束反転回数がゼロでなければ、磁
束反転回数がゼロになるまで増幅率を下げる工程とを組
み合わせて行い、前記増幅手段における増幅率を設定し
て前記記憶手段に記憶することを特徴とする。
In order to achieve this object, a magnetic stripe data reading circuit according to claim 1 of the present invention amplifies a signal output from a magnetic head by reading magnetic stripe data, and amplifying means that the amplification factor is variable, slicing the signal amplified by the amplifying means and the slice level setting means that the slice level is variable, depending on the slice level set on the slice level setting means The amplification hand
Counting means for counting the number of reversals of the magnetic flux of the signal amplified by the stage, and a standard medium fixed at a specified bit density
Using the read magnetic stripe data,
The amplification factor is set and stored in the storage means.
During the read data reading operation, the data is stored in the storage means.
Set the gain to the amplification means and perform the reading operation
Control means, and wherein the control means
For the read magnetic stripe data,
The slice level set in the level setting means
The number of magnetic flux reversals counted by the counting means
Is not the specified value, until the number of flux reversals reaches the specified value
Increasing the amplification factor of the amplifying means;
When the maximum number of flux reversals is not zero,
Steps to reduce the amplification rate until the number of bundle inversions becomes zero
And set the amplification factor in the amplification means.
In the storage means .

【0016】本発明の請求項2にかかる磁気ストライプ
データ読み取り回路は、上述した請求項1にかかる磁気
ストライプデータ読み取り回路において、前記制御手段
は、増幅率の設定時は、まず、前記スライスレベル設定
手段に設定されるスライスレベルを最小とし、この時、
前記計数手段によりカウントされた磁束反転回数が規定
値でなければ、磁束反転回数が規定値となるまで前記増
幅手段の増幅率を上げる工程を行い、磁束反転回数が規
定値となると、次に、スライスレベルを最大とし、この
時、磁束反転回数がゼロでなければ、磁束反転回数がゼ
ロになるまで増幅率を下げる工程を行うことを特徴とす
る。
A magnetic stripe according to claim 2 of the present invention.
2. The data reading circuit according to claim 1, wherein
In the stripe data reading circuit, the control means
When setting the amplification factor, first set the slice level
Minimize the slice level set in the means,
The number of magnetic flux reversals counted by the counting means is defined.
If not, increase the number of times until the number of magnetic flux reversals reaches the specified value.
Perform the step of increasing the amplification factor of the width means, and
Next, the slice level is set to the maximum,
When the number of flux reversals is not zero, the number of flux reversals is zero.
The process of lowering the amplification rate until
You.

【0017】本発明の請求項3にかかる磁気ストライプ
データ読み取り回路は、上述した請求項2にかかる磁気
ストライプデータ読み取り回路において、前記制御手段
は、前記スライスレベルを最大とした時に磁束反転回数
をゼロにする工程を行った後、再度スライスレベルを最
小とし、この時、磁束反転回数が規定値であればその時
の増幅率を前記記憶手段に記憶し、磁束反転回数が規定
値でなければエラーとする工程を行うことを特徴とす
る。
A magnetic stripe according to claim 3 of the present invention.
The data reading circuit according to claim 2, wherein
In the stripe data reading circuit, the control means
Is the number of flux reversals when the slice level is maximized.
After performing the process of zeroing the slice level,
At this time, if the number of magnetic flux reversals is the specified value, then
Is stored in the storage means, and the number of magnetic flux reversals is specified.
If it is not a value, an error process is performed.
You.

【0018】本発明の請求項4にかかる磁気ストライプ
データ読み取り回路は、磁気ストライプデータを読み取
ることで磁気ヘッドより出力される信号を増幅し、かつ
その増幅率が可変である増幅手段と、前記増幅手段で増
幅された信号をスライスし、かつそのスライスレベルが
可変であるスライスレベル設定手段と、前記スライスレ
ベル設定手段に設定されたスライスレベルに応じて、前
記増幅手段で増幅された信号の磁束の反転回数をカウン
トする計数手段と、規定のビット密度で固定された標準
媒体から読み取った磁気ストライプデータを用いて前記
増幅手段の増幅率を設定して記憶手段に記憶し、通常の
磁気ストライプデータ読み取り動作時には、前記記憶手
段に記憶した増幅率を増幅手段にセットして読み取り動
作を行う制御手段とを備え、前記制御手段は、前記標準
媒体を第1の方向に搬送させて読み取った磁気ストライ
プデータに対して、前記スライスレベル設定手段に設定
されるスライスレベルを最小とした時に、前記計数手段
でカウントされる磁束反転回数が規定値でなければ、磁
束反転回数が規定値となるまで前記増幅手段の増幅率を
上げる工程と、スライスレベルを最大とした時に、磁束
反転回数がゼロでなければ、磁束反転回数がゼロになる
まで増幅率を下げる工程とを組み合わせて行い、媒体を
第1の方向に搬送させた時の前記増幅手段における増幅
率を設定して前記記憶手段に記憶するとともに、前記標
準媒体を前記第1の方向と反対の第2の方向に搬送させ
て読み取った磁気ストライプデータに対して、前記各工
程を組み合わせて行い、媒体を第2の方向に搬送させた
時の増幅率を設定して前記記憶手段に記憶し、通常の磁
気ストライプデータ読み取り動作時には、媒体の搬送方
向に応じて前記記憶手段に記憶した増幅率を増幅手段に
セットして読み取り動作を行うことを特徴とする。
A magnetic stripe according to claim 4 of the present invention.
Data reading circuit reads magnetic stripe data
Amplifies the signal output from the magnetic head, and
Amplifying means whose amplification factor is variable;
Slice the width signal, and the slice level is
A variable slice level setting means;
Depending on the slice level set in the bell setting means,
The number of reversals of the magnetic flux of the signal amplified by the amplification means is counted.
Counting means and a fixed standard at a specified bit density
Using the magnetic stripe data read from the medium
The amplification factor of the amplification means is set and stored in the storage means.
At the time of the magnetic stripe data reading operation,
Set the amplification factor stored in the stage to the amplification means and read
Control means for performing operations.
Magnetic stripe read by transporting the medium in the first direction
Data set in the slice level setting means
When the slice level is minimized, the counting means
If the number of magnetic flux reversals counted in
Until the number of bundle inversions reaches a specified value,
When raising the slice level and maximizing the slice level,
If the number of reversals is not zero, the number of flux reversals will be zero
And the process of lowering the amplification rate up to
Amplification in the amplifying means when transported in a first direction
Rate is set and stored in the storage means,
Transporting the quasi medium in a second direction opposite to the first direction
The magnetic stripe data read by
The medium was transported in the second direction
The amplification factor at the time is set and stored in the storage means.
When reading stripe data, the media
The amplification factor stored in the storage means is stored in the amplification means according to the direction.
The reading operation is performed by setting.

【0019】[0019]

【作用】上述した構成を有する本発明は、規定のビット
密度で書き込まれた磁気ストライプデータを読み取らせ
ると、制御手段はスライスレベルを変化させこのときの
磁束反転回数から適正な増幅率を設定し、設定が行われ
たことを示すデータを記憶しておく。
According to the present invention having the above-described structure, when magnetic stripe data written at a specified bit density is read, the control means changes the slice level and sets an appropriate amplification factor from the number of magnetic flux reversals at this time. , Data indicating that the setting has been performed.

【0020】そして、通常の読み取り時は、増幅率の設
定が行われているか否かを判断し、行われている場合は
設定した増幅率を増幅手段にセットして読み取り動作を
行い、増幅率の設定が行われていない場合は読み取り動
作を中止する。また、本発明は、媒体の搬送方向に応じ
た適正な増幅率を保持しておき、通常の読み取り時は媒
体の搬送方向に合わせて適正な増幅率を増幅手段にセッ
トして読み取り動作を行う。
At the time of normal reading, it is determined whether or not the amplification factor has been set. If so, the set amplification factor is set in the amplifying means, and the reading operation is performed. If the setting is not performed, the reading operation is stopped. Further, according to the present invention, a reading operation is performed by holding an appropriate amplification factor according to the medium transport direction and setting an appropriate amplification factor in the amplifying unit in accordance with the medium transport direction during normal reading. .

【0021】[0021]

【実施例】図1は本発明の一実施例における磁気ストラ
イプ読み取り回路を制御する回路のブロック図、図2は
本実施例における磁気ストライプ読み取り回路のブロッ
ク図である。なお、発券装置については従来の技術で説
明した図8のものと同じであるので、ここではその説明
を省略する。
FIG. 1 is a block diagram of a circuit for controlling a magnetic stripe reading circuit according to one embodiment of the present invention, and FIG. 2 is a block diagram of a magnetic stripe reading circuit according to this embodiment. Note that the ticket issuing device is the same as that of FIG. 8 described in the related art, so that the description thereof is omitted here.

【0022】図1,図2において、1は差動アンプで、
この差動アンプ1は、読み取り用磁気ヘッド105によ
って磁気ストライプに書き込まれた磁気データを読み取
ることで、該読み取り用磁気ヘッド105から出力され
る磁束変化量を示す信号のオフセットを取り去る。2は
差動アンプ1によりオフセットを取り去った信号を増幅
するメインアンプで、このメインアンプ2の増幅率は後
述する制御部により変更可能となっている。
1 and 2, reference numeral 1 denotes a differential amplifier.
The differential amplifier 1 reads the magnetic data written on the magnetic stripe by the read magnetic head 105 to remove the offset of the signal indicating the amount of change in the magnetic flux output from the read magnetic head 105. Reference numeral 2 denotes a main amplifier that amplifies the signal from which the offset has been removed by the differential amplifier 1. The amplification factor of the main amplifier 2 can be changed by a control unit described later.

【0023】3はメインアンプ2で増幅された信号のピ
ークを検出するピークセンス回路、4はメインアンプ2
で増幅された信号を所定のレベルでスライスしてレベル
検出を行うレベルセンス回路で、このレベルセンス回路
4におけるスライスレベルは後述する制御部により変更
可能となっている。5はピークセンス回路3とレベルセ
ンス回路4の出力を入力してこれをデジタル信号に変換
する復調回路、6はピークセンス回路3とレベルセンス
回路4の出力を入力してレベルセンス回路4で設定され
ているスライスレベル以上の出力をピークセンス回路3
で検出することで磁束の反転(ピークの存在)をカウン
トする磁束反転回数カウンタである。
3 is a peak sense circuit for detecting the peak of the signal amplified by the main amplifier 2, and 4 is the main sense circuit.
Is a level sense circuit that slices the signal amplified by the above at a predetermined level and performs level detection. The slice level in the level sense circuit 4 can be changed by a control unit described later. Reference numeral 5 denotes a demodulation circuit for inputting the output of the peak sense circuit 3 and the level sense circuit 4 and converting the output into a digital signal. The output equal to or higher than the slice level is output to the peak sense circuit 3
Is a magnetic flux reversal counter that counts the reversal of magnetic flux (the presence of a peak) by detecting the number of reversals.

【0024】7は制御部で、この制御部7はマイクロC
PU8やプログラムROM9,ワークRAM10および
バッテリーにバックアップされたRAM(以下BBMと
いう)または再書き込み可能な不揮発性メモリ11(以
下EEPROMと言う)等から構成され、図2に示す磁
気ストライプ読み取り回路を制御している。この制御部
7は図示しない上位装置に接続されるとともに、磁気リ
ード回路インタフェース12,その他の周辺回路13に
それぞれ接続されている。
Reference numeral 7 denotes a control unit.
A PU 8, a program ROM 9, a work RAM 10, a RAM (hereinafter referred to as BBM) backed up by a battery, a rewritable nonvolatile memory 11 (hereinafter referred to as EEPROM), and the like control the magnetic stripe reading circuit shown in FIG. ing. The control unit 7 is connected to a host device (not shown), and is also connected to the magnetic read circuit interface 12 and other peripheral circuits 13.

【0025】磁気リード回路インターフェース部12
は、制御部7の指示にしたがって図2に示したメインア
ンプ2に所定の増幅率をセットするとともに、レベルセ
ンス回路4に所定のスライスレベルをセットする。ま
た、磁気リード回路インターフェース部12は、復調回
路5,磁束反転回数カウンタ6のデータを制御部7へ転
送する。
Magnetic read circuit interface section 12
Sets a predetermined amplification factor in the main amplifier 2 shown in FIG. 2 and sets a predetermined slice level in the level sense circuit 4 in accordance with an instruction from the control unit 7. Further, the magnetic read circuit interface unit 12 transfers the data of the demodulation circuit 5 and the magnetic flux reversal counter 6 to the control unit 7.

【0026】その他の周辺回路13は、書き込み用磁気
ヘッド105やモータ・マグネット群14、各種センサ
群15に接続され、制御部7の指示により磁気ストライ
プへの磁気データの書き込みやチケットの搬送のために
書き込み用磁気ヘッド105、モータ・マグネット群1
4を駆動するとともに、各種センサ群15の情報を制御
部7に転送する。
The other peripheral circuits 13 are connected to the write magnetic head 105, the motor / magnet group 14, and the various sensor groups 15, and for writing magnetic data to the magnetic stripe and transporting the ticket according to an instruction from the control unit 7. Magnetic head 105 for writing, motor / magnet group 1
4 and transfers information of the various sensor groups 15 to the control unit 7.

【0027】図3は本実施例の作用を示す磁気ストライ
プ読み取り増幅率調整のメインフローチャートで、制御
部7はオペレータの指示により磁気ストライプ読み取り
増幅率調整動作に入ると、あらかじめビット密度が固定
の磁気ストライプデータが書き込まれた標準媒体の挿入
を誘導し(S1)、媒体の挿入を検知すると(S2)、
挿入方向の調整(S3)、排出方向の調整(S4)を順
次行う。
FIG. 3 is a main flow chart of the magnetic stripe read gain adjustment showing the operation of the present embodiment. When the control unit 7 enters the magnetic stripe read gain adjustment operation according to the instruction of the operator, the control unit 7 sets a magnetic bit having a fixed bit density in advance. The insertion of the standard medium on which the stripe data is written is guided (S1), and when the insertion of the medium is detected (S2),
Adjustment of the insertion direction (S3) and adjustment of the ejection direction (S4) are sequentially performed.

【0028】最後に、各調整においてエラーが発生しな
かったかどうかをBBMまたはEEPROM11上にエ
ラーコードを読み取って判断し(S5)、BBMまたは
EEPROM11上にエラーコードがセットされていな
ければ正常終了表示を行うとともに、BBMまたはEE
PROM11上の増幅率未設定フラグをリセットする
(S6)。
Finally, it is determined whether or not an error has occurred in each adjustment by reading an error code on the BBM or the EEPROM 11 (S5). If no error code has been set on the BBM or the EEPROM 11, a normal end display is displayed. Do, BBM or EE
The amplification factor non-setting flag on the PROM 11 is reset (S6).

【0029】一方、前記S5でエラーコードがセットさ
れていたと判断した場合は、異常終了をエラーコードと
ともに表示し、BBMまたはEEPROM11上の増幅
率未設定フラグをセットする(S7)。図4は本実施例
の挿入方向調整のサブルーチンフローチャートであっ
て、制御部7はレベルセンス回路4のスライスレベルを
最低規定電圧V1にセットするとともに、メインアンプ
2の増幅率(GAIN)をデフォルト値(最小値)にセ
ットする(S11)。
On the other hand, if it is determined in S5 that the error code has been set, the abnormal end is displayed together with the error code, and the amplification factor unset flag on the BBM or EEPROM 11 is set (S7). FIG. 4 is a flowchart of a subroutine for adjusting the insertion direction according to the present embodiment. The control unit 7 sets the slice level of the level sense circuit 4 to the minimum specified voltage V1 and sets the gain (GAIN) of the main amplifier 2 to a default value. (Minimum value) (S11).

【0030】次に、モータ・マグネット群14等を駆動
することで標準媒体を挿入方向に搬送させて読み取り用
磁気ヘッド105上を挿入方向に一回走行させ、磁束反
転回数カウンタ6のカウント値を読み取り(S12)、
カウンタ値が標準媒体に書き込まれた磁気ストライプデ
ータのビット密度から計算される規定回数に達している
かどうかを判定する(S13)。
Next, by driving the motor / magnet group 14 and the like, the standard medium is conveyed in the insertion direction and travels once on the reading magnetic head 105 in the insertion direction. Reading (S12),
It is determined whether the counter value has reached a specified number of times calculated from the bit density of the magnetic stripe data written on the standard medium (S13).

【0031】S13で規定値に達していないと判定され
ると、現在の増幅率が最大値に達しているかを判定し
(S22)、最大値に達していなければ増幅率を1アッ
プしてセットし(S23)、S12の処理に戻る。ま
た、最大値に達していると判定された場合は、エラーコ
ードをBBMまたはEEPROM11上に格納し、本サ
ブルーチンを終了する(S24)。
If it is determined in S13 that the current value has not reached the specified value, it is determined whether the current amplification factor has reached the maximum value (S22). If the current amplification factor has not reached the maximum value, the amplification factor is increased by one and set. Then (S23), the process returns to S12. If it is determined that the maximum value has been reached, the error code is stored in the BBM or the EEPROM 11, and the present subroutine ends (S24).

【0032】一方、S13で規定値に達していると判定
されると、レベルセンス回路4のスライスレベルを最大
規定電圧V2にセットし(S14)、S12同様の処理
を行い(S15)、これによって得られた磁束反転回数
がゼロであったかどうかを判定する(S16)。S16
で、ゼロでなかったと判定されると、現在の増幅率が最
小値に達しているかどうかを判定し(S25)、最小値
に達していなければ増幅率を1ダウンしてセットし(S
26)、S15同様の処理に戻る。また、最小値に達し
ていると判定された場合は、エラーコードをBBMまた
はEEPROM11上に格納し、本サブルーチンを終了
する(S27)。
On the other hand, if it is determined in S13 that the specified value has been reached, the slice level of the level sensing circuit 4 is set to the maximum specified voltage V2 (S14), and the same processing as in S12 is performed (S15). It is determined whether the obtained number of magnetic flux reversals is zero (S16). S16
If it is determined that the current amplification factor is not zero, it is determined whether the current amplification factor has reached the minimum value (S25). If the current amplification factor has not reached the minimum value, the amplification factor is set down by one (S25).
26), returning to the same processing as S15. If it is determined that the minimum value has been reached, the error code is stored in the BBM or the EEPROM 11, and the present subroutine ends (S27).

【0033】一方、S16でゼロであったと判定される
と、再びスライスレベルを最小規定電圧V1にセットし
(S17)、S12と同様の処理を行い(S18)、こ
れによって得られた磁束反転回数が規定回数に達してい
るかどうかを判定する(S19)。S19で規定回数に
達していると判定された場合は、現在の増幅率を挿入用
増幅率としてBBMまたはEEPROM11上に格納
し、本サブルーチンを終了する(S20)。
On the other hand, if it is determined in S16 that the value is zero, the slice level is set to the minimum specified voltage V1 again (S17), and the same processing as in S12 is performed (S18). It is determined whether or not has reached the specified number of times (S19). If it is determined in S19 that the specified number of times has been reached, the current amplification factor is stored in the BBM or EEPROM 11 as the insertion amplification factor, and this subroutine is terminated (S20).

【0034】また、S19で規定回数に達していなかっ
たと判定されると、エラーコードをBBMまたはEEP
ROM11上に格納し、本サブルーチンを終了する(S
21)。図5は排出方向調整のサブルーチンフローチャ
ートであって、制御部7はレベルセンス回路4のスライ
スレベルを最低規定電圧V1にセットするとともに、メ
インアンプ2の増幅率をデフォルト値にセットする(S
31)。
If it is determined in S19 that the number of times has not reached the specified number, the error code is set to BBM or EEP.
The program is stored in the ROM 11 and the subroutine ends (S
21). FIG. 5 is a subroutine flowchart of the discharge direction adjustment. The control unit 7 sets the slice level of the level sense circuit 4 to the minimum specified voltage V1, and sets the amplification factor of the main amplifier 2 to a default value (S
31).

【0035】次に、標準媒体を排出方向に搬送させて読
み取り用磁気ヘッド105上を排出方向に一回走行さ
せ、磁束反転回数カウンタ6のカウンタ値を読み取り
(S32)、カウンタ値が標準媒体に書き込まれた磁気
ストライプデータのビット密度から計算される規定回数
に達しているかどうかを判定する(S33)。S33で
規定値に達していないと判定されると、現在の増幅率が
最大値に達しているかを判定し(S42)、最大値に達
していなければ増幅率を1アップしてセットし(S4
3)、S32の処理に戻る。また、最大値に達している
と判定された場合は、エラーコードをBBMまたはEE
PROM11上に格納し、本サブルーチンを終了する
(S44)。
Next, the standard medium is conveyed in the discharge direction and travels once on the read magnetic head 105 in the discharge direction, and the counter value of the magnetic flux reversal counter 6 is read (S32). It is determined whether the specified number of times calculated from the bit density of the written magnetic stripe data has been reached (S33). If it is determined in S33 that the current amplification factor has not reached the specified value, it is determined whether the current amplification factor has reached the maximum value (S42). If the current amplification factor has not reached the maximum value, the amplification factor is increased by one and set (S4).
3) Return to the process of S32. If it is determined that the maximum value has been reached, the error code is set to BBM or EE.
The program is stored in the PROM 11 and the subroutine ends (S44).

【0036】一方、S33で規定値に達していると判定
されると、レベルセンス回路4のスライスレベルを最大
規定電圧V2にセットし(S34)、S32同様の処理
を行い(S35)、これによって得られた磁束反転回数
がゼロであったかどうかを判定する(S36)。S36
でゼロでなかったと判定されると、現在の増幅率が最小
値に達しているかどうかを判定し(S45)、最小値に
達していなければ増幅率を1ダウンしてセットし(S4
6)、S35の処理に戻る。また、最小値に達している
と判定された場合は、エラーコードをBBMまたはEE
PROM11上に格納し、本サブルーチンを終了する
(S47)。一方、S36でゼロであったと判定される
と、再びスライスレベルを最小規定電圧V1にセットし
(S37)、S32と同様の処理を行い(S38)、こ
れによって得られた磁束反転回数が規定回数に達してい
るかどうかを判定する(S39)。
On the other hand, if it is determined in S33 that the specified value has been reached, the slice level of the level sense circuit 4 is set to the maximum specified voltage V2 (S34), and the same processing as in S32 is performed (S35). It is determined whether the obtained number of magnetic flux reversals is zero (S36). S36
If it is determined that is not zero, it is determined whether or not the current amplification factor has reached the minimum value (S45). If the current amplification factor has not reached the minimum value, the amplification factor is reduced by 1 and set (S4).
6) Return to the process of S35. If it is determined that the minimum value has been reached, the error code is set to BBM or EE.
The program is stored on the PROM 11 and the subroutine ends (S47). On the other hand, if it is determined in S36 that the value is zero, the slice level is set to the minimum specified voltage V1 again (S37), and the same processing as in S32 is performed (S38). Is determined (S39).

【0037】S39で規定回数に達していると判定され
た場合は、現在の増幅率を排出用増幅率としてBBMま
たはEEPROM11上に格納し、本サブルーチンを終
了する(S40)。また、S39で規定回数に達してい
なかったと判定されると、エラーコードをBBMまたは
EEPROM11上に格納し、本サブルーチンを終了す
る(S41)。
If it is determined in S39 that the specified number of times has been reached, the current amplification factor is stored in the BBM or EEPROM 11 as the ejection amplification factor, and this subroutine ends (S40). If it is determined in S39 that the number has not reached the specified number, the error code is stored in the BBM or the EEPROM 11, and the subroutine ends (S41).

【0038】以上のようにして、挿入用,排出用それぞ
れの磁気ストライプ読み取り増幅率を決定した後は、図
6に示すフローに基づいて各処理を行う。図6は、通常
の磁気ストライプ読み取り時の制御フローチャートであ
って、上位装置によって磁気ストライプ読み取りを指示
されると、制御部7は、まずBBMまたはEEPROM
11上の増幅率未設定フラグの状態を見て(S51)、
未設定かどうか判断する(S52)。
After the read and write gains of the magnetic stripes for insertion and ejection are determined as described above, each processing is performed based on the flow shown in FIG. FIG. 6 is a control flowchart at the time of reading a normal magnetic stripe. When an instruction to read a magnetic stripe is issued from a higher-level device, the control unit 7 firstly operates the BBM or the EEPROM.
Looking at the state of the amplification factor unset flag on No. 11 (S51),
It is determined whether it has not been set (S52).

【0039】S52で設定済と判断すると、制御部7は
上位からの命令が挿入後の磁気ストライプ読み取りか、
ホッパ繰り出し後の磁気ストライプ読み取りかを判断し
(S53)、挿入後である場合はBBMまたはEEPR
OM11上の挿入用増幅率をメインアンプ2にセットし
(S54)、ホッパ繰り出し後の場合は、排出用の増幅
率をセットする(S55)。
If it is determined in S52 that the setting has been completed, the control unit 7 determines whether the command from the upper layer is for reading the magnetic stripe after insertion or not.
It is determined whether or not the magnetic stripe is read after the hopper has been extended (S53).
The amplification factor for insertion on the OM 11 is set in the main amplifier 2 (S54), and after feeding out the hopper, the amplification factor for ejection is set (S55).

【0040】その後、磁気ストライプ読み取り動作に入
り、読み取ったデータを上位装置へ通知して処理を終え
る(S56)。一方、S52で未設定であると判断した
場合は、制御部7は、上位装置にエラーを通知して処理
を終える(S57)。図7は本発明の第2の実施例にお
ける磁気ストライプデータ読み取り回路を示すブロック
図である。
Thereafter, the magnetic stripe reading operation is started, the read data is notified to the host device, and the process is terminated (S56). On the other hand, if it is determined in S52 that the setting has not been made, the control unit 7 notifies the host device of the error and ends the processing (S57). FIG. 7 is a block diagram showing a magnetic stripe data reading circuit according to the second embodiment of the present invention.

【0041】上記第1の実施例では、チケットが挿入方
向に搬送される場合と排出方向に搬送される場合では適
正な増幅率が異なることに対応して、チケットが挿入方
向に搬送される場合と排出方向に搬送される場合におけ
る磁気ストライプ読み取り回路の増幅率を直接制御部で
設定可能とし、ここで設定した増幅率をメモリ上に格納
して、チケットの搬送方向に応じて所定の増幅率をメモ
リから呼び出してメインアンプにセットしているが、メ
インアンプの増幅率を決定する半固定抵抗器を挿入用,
排出用に1つずつ有し、どちらの半固定抵抗器を用いる
かを決めるスイッチを制御部によって切り替え可能とす
ることでも効果は全く同じである。
In the first embodiment, when the ticket is conveyed in the insertion direction, the appropriate amplification factor differs between the case where the ticket is conveyed in the insertion direction and the case where the ticket is conveyed in the ejection direction. The amplification factor of the magnetic stripe reading circuit when transported in the ejection direction can be directly set by the control unit, and the amplification factor set here is stored in the memory, and the predetermined amplification factor is set according to the transport direction of the ticket. Is called from the memory and set in the main amplifier, but for inserting a semi-fixed resistor that determines the amplification factor of the main amplifier,
The same effect can be obtained by providing one for each discharge and enabling the control unit to switch which of the semi-fixed resistors is used by the control unit.

【0042】すなわち、図7において、16はメインア
ンプ、16a,16bはメインアンプ212の増幅率を
決定する2つの半固定抵抗器であり、一方の半固定抵抗
器16aを挿入用、他方の半固定抵抗器16bを排出用
として、どちらの半固定抵抗器16a,16bをメイン
アンプ16に接続するのかはアナログスイッチ17によ
り排他的に決定される。このアナログスイッチ17は、
磁気リード回路インターフェース部18を介して制御部
19より制御信号を受信し動作する。
That is, in FIG. 7, 16 is a main amplifier, 16a and 16b are two semi-fixed resistors for determining the amplification factor of the main amplifier 212. One half-fixed resistor 16a is used for insertion, and the other half-fixed resistor 16a is used. The analog switch 17 exclusively determines which of the semi-fixed resistors 16a and 16b is connected to the main amplifier 16 with the fixed resistor 16b used for discharging. This analog switch 17
It operates by receiving a control signal from the control unit 19 via the magnetic read circuit interface unit 18.

【0043】この第2の実施例の作用の概略を説明する
と、上位装置によって磁気ストライプ読み取りを指示さ
れると、制御部19は上位からの命令が挿入後の磁気ス
トライプ読み取りか、ホッパ繰り出し後の磁気ストライ
プ読み取りかを判断し、挿入後である場合はアナログス
イッチ17を操作して挿入用の半固定抵抗器16aをメ
インアンプ16に接続し、ホッパ繰り出し後の場合は排
出用の半固定抵抗器16bをメインアンプ16に接続す
る。
To explain the outline of the operation of the second embodiment, when an instruction to read a magnetic stripe is issued by a host device, the control unit 19 reads the magnetic stripe after an instruction from the host device is inserted or after a hopper is fed out. It is determined whether or not the magnetic stripe is read. If it is after the insertion, the analog switch 17 is operated to connect the semi-fixed resistor 16a for insertion to the main amplifier 16, and if the hopper is extended, the semi-fixed resistor for ejection is ejected. 16b is connected to the main amplifier 16.

【0044】その後、磁気ストライプ読み取り動作に入
り、読み取ったデータを上位装置へ通知して処理を終え
る。
Thereafter, the magnetic stripe reading operation is started, and the read data is notified to the host device, and the processing is completed.

【0045】[0045]

【発明の効果】以上詳細に説明したように、本発明の磁
気ストライプデータ読み取り回路は、磁気ストライプデ
ータを読み取ることで磁気ヘッドより出力される信号を
増幅し、かつその増幅率が可変である増幅手段と、前記
増幅手段で増幅された信号をスライスし、かつそのスラ
イスレベルが可変であるスライスレベル設定手段と、前
記スライスレベル設定手段に設定されたスライスレベル
に応じて、前記増幅手段で増幅された信号の磁束の反転
回数をカウントする計数手段と、規定のビット密度で固
定された標準媒体から読み取った磁気ストライプデータ
を用いて前記増幅手段の増幅率を設定して記憶手段に記
憶し、通常の磁気ストライプデータ読み取り動作時に
は、前記記憶手段に記憶した増幅率を増幅手段にセット
して読み取り動作を行う制御手段とを備え、前記制御手
段は、前記標準媒体から読み取った磁気ストライプデー
タに対して、前記スライスレベル設定手段に設定される
スライスレベルを最小とした時に、前記計数手段でカウ
ントされる磁束反転回数が規定値でなければ、磁束反転
回数が規定値となるまで前記増幅手段の増幅率を上げる
工程と、スライスレベルを最大とした時に、磁束反転回
数がゼロでなければ、磁束反転回数がゼロになるまで増
幅率を下げる工程とを組み合わせて行い、前記増幅手段
における増幅率を設定して前記記憶手段に記憶すること
としたものである。ここで、上述した増幅率の調整が正
規に行われたか否かを示すデータを前記記憶手段に記憶
しておき、通常の磁気ストライプデータの読み取り動作
時に増幅率の調整が正規に行われているか否かを記憶手
段に記憶したデータから判断し、調整が行われていない
場合は読み取り動作を中止することとしてもよい。
As described above in detail, the magnetic stripe data reading circuit of the present invention amplifies the signal output from the magnetic head by reading the magnetic stripe data, and the amplification rate of which is variable. Means and said
Slice level setting means for slicing the signal amplified by the amplification means , and having a variable slice level; and a slice level set in the slice level setting means.
Counting means for counting the number of reversals of the magnetic flux of the signal amplified by the amplifying means, and a fixed bit density.
Magnetic stripe data read from a specified standard medium
Is used to set the amplification factor of the amplifying means and store it in the storage means.
Remember, during normal magnetic stripe data read operation
Sets the amplification factor stored in the storage means in the amplification means.
Control means for performing a reading operation by reading
The column is a magnetic stripe data read from the standard medium.
Data is set in the slice level setting means.
When the slice level is minimized, the counting means
If the number of magnetic flux reversals
Increase the amplification rate of the amplification means until the number of times reaches a specified value
When the process and slice level are maximized,
If the number is not zero, increase until the number of flux reversals becomes zero.
Performing the step of reducing the width ratio in combination with the amplifying means.
Setting the amplification factor in and storing it in the storage means.
It is obtained by the. Here, the adjustment of the amplification factor described above is correct.
Data indicating whether or not the operation has been performed is stored in the storage means.
In addition, normal magnetic stripe data read operation
Sometimes it is necessary to remember whether or not the amplification factor is adjusted properly.
Judging from the data stored in the column, no adjustment has been made
In this case, the reading operation may be stopped.

【0046】このように、本発明は、磁気ストライプ読
み取り増幅率の調整が半自動的に行われるので、調整時
間が短縮でき顧客に対するサービスが向上する。また、
調整が正常に終わっているかどうかを検出しているの
で、調整忘れ等のミスがなく、品質も向上する
As described above, according to the present invention, since the adjustment of the magnetic stripe reading amplification factor is semi-automatically performed, the adjustment time can be reduced and the service to the customer can be improved. Also,
Since it is detected whether or not the adjustment has been completed normally, there is no mistake such as forgetting the adjustment, and the quality is improved .

【0047】さらに、本発明の磁気ストライプデータ読
み取り回路は、磁気ストライプデータを読み取ることで
磁気ヘッドより出力される信号を増幅し、かつその増幅
率が可変である増幅手段と、前記増幅手段で増幅された
信号をスライスし、かつそのスライスレベルが可変であ
るスライスレベル設定手段と、前記スライスレベル設定
手段に設定されたスライスレベルに応じて、前記増幅手
段で増幅された信号の磁束の反転回数をカウントする計
数手段と、規定のビット密度で固定された標準媒体から
読み取った磁気ストライプデータを用いて前記増幅手段
の増幅率を設定して記憶手段に記憶し、通常の磁気スト
ライプデータ読み取り動作時には、前記記憶手段に記憶
した増幅率を増幅手段にセットして読み取り動作を行う
制御手段とを備え、前記制御手段は、前記標準媒体を第
1の方向に搬送させて読み取った磁気ストライプデータ
に対して、前記スライスレベル設定手段に設定されるス
ライスレベルを最小とした時に、前記計数手段でカウン
トされる磁束反転回数が規定値でなければ、磁束反転回
数が規定値となるまで前記増幅手段の増幅率を上げる工
程と、スライスレベルを最大とした時に、磁束反転回数
がゼロでなければ、磁束反転回数がゼロになるまで増幅
率を下げる工程とを組み合わせて行い、媒体を第1の方
向に搬送させた時の前記増幅手段における増幅率を設定
して前記記憶手段に記憶するとともに、前記標準媒体を
前記第1の方向と反対の第2の方向に搬送させて読み取
った磁気ストライプデータに対して、前記各工程を組み
合わせて行い、媒体を第2の方向に搬送させた時の増幅
率を設定して前記記憶手段に記憶し、通常の磁気ストラ
イプデータ読み取り動作時には、媒体の搬送方向に応じ
て前記記憶手段に記憶した増幅率を増幅手段にセットし
て読み取り動作を行うこととしたものである。このよう
に、本発明は、磁気ストライプ読み取り増幅率の調整を
半自動的に行い、増幅率を記憶手段に記憶しておいて、
通常の磁気ストライプデータ読み取り動作時には、この
記憶手段に記憶した増幅率を増幅手段にセットして読み
取り動作を行うので、磁気ストライプ読み取り増幅率
挿入方向と排出方向とで異なった値設定できるように
なり、搬送方向によらず安定した磁気ストライプデータ
の読み取り動作が可能であり、搬送方向を統一する必要
がなくなる。したがって、無駄な搬送動作も生じないの
で装置の処理時間が低減でき、顧客に対するサービスが
向上する。
Further, the magnetic stripe data reading of the present invention is performed.
The readout circuit reads the magnetic stripe data
Amplify the signal output from the magnetic head and amplify it
Amplifying means whose rate is variable, and
Slices the signal and the slice level is variable
Slice level setting means, and the slice level setting
The amplification means according to the slice level set in the means.
A counter that counts the number of reversals of the magnetic flux of the signal amplified by the stage
From a number of means and a standard medium fixed at a specified bit density
Using the read magnetic stripe data,
The amplification factor is set and stored in the storage means.
During the read data reading operation, the data is stored in the storage means.
Set the gain to the amplification means and perform the reading operation
Control means, wherein the control means stores the standard medium in the
Magnetic stripe data read while transported in direction 1
The slice set by the slice level setting means.
When the rice level is minimized, the counting means
If the number of magnetic flux reversals
Increase the amplification factor of the amplifying means until the number reaches a specified value.
And the number of magnetic flux reversals when the slice level is maximized
If is not zero, amplify until the number of flux reversals becomes zero
The medium in the first direction
Set the amplification factor in the amplification means when transported in the direction
And stores the standard medium in the storage means.
Conveying and reading in a second direction opposite to the first direction
The above steps are combined for the magnetic stripe data
Amplification when media is transported in the second direction
Rate is set and stored in the storage means, and a normal magnetic
When reading media data, the media
Setting the amplification factor stored in the storage means in the amplification means.
Reading operation. Thus, the present invention provides for adjusting the magnetic stripe read amplification factor .
Semi-automatically, the amplification factor is stored in the storage means,
During normal magnetic stripe data reading operation,
Set the amplification factor stored in the storage means to the amplification means and read it.
Since the read operation is performed, the magnetic stripe read gain can be set to different values in the insertion direction and the ejection direction.
Thus , a stable reading operation of magnetic stripe data can be performed regardless of the transport direction, and it is not necessary to unify the transport direction. Therefore, no wasteful transport operation occurs, so that the processing time of the apparatus can be reduced, and the service to the customer is improved.

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

【図1】本発明の一実施例における磁気ストライプ読み
取り回路を制御する回路のブロック図である。
FIG. 1 is a block diagram of a circuit for controlling a magnetic stripe reading circuit according to an embodiment of the present invention.

【図2】本実施例における磁気ストライプ読み取り回路
のブロック図である。
FIG. 2 is a block diagram of a magnetic stripe reading circuit according to the embodiment.

【図3】本実施例の作用を示す磁気ストライプ読み取り
増幅率調整のメインフローチャートである。
FIG. 3 is a main flowchart of a magnetic stripe read amplification rate adjustment showing the operation of the present embodiment.

【図4】本実施例の挿入方向調整のサブルーチンフロー
チャートである。
FIG. 4 is a flowchart illustrating a subroutine for adjusting an insertion direction according to the embodiment;

【図5】本実施例の排出方向調整のサブルーチンフロー
チャートである。
FIG. 5 is a flowchart illustrating a subroutine for adjusting a discharge direction according to the embodiment.

【図6】通常の磁気ストライプ読み取り時の制御フロー
チャートである。
FIG. 6 is a control flowchart when reading a normal magnetic stripe.

【図7】本発明の第2の実施例における磁気ストライプ
データ読み取り回路を示すブロック図である。
FIG. 7 is a block diagram showing a magnetic stripe data reading circuit according to a second embodiment of the present invention.

【図8】発券装置の概略を示す構成図である。FIG. 8 is a configuration diagram schematically showing a ticket issuing device.

【図9】従来の磁気ストライプデータ読み取り回路を示
すブロック図である。
FIG. 9 is a block diagram showing a conventional magnetic stripe data reading circuit.

【図10】従来の磁気ストライプデータ読み取り回路に
おける信号波形を示す説明図である。
FIG. 10 is an explanatory diagram showing signal waveforms in a conventional magnetic stripe data reading circuit.

【符号の説明】[Explanation of symbols]

2 メインアンプ 4 レベルセンス回路 6 磁束反転回数カウンタ 7 制御部 11 バッテリーバックアップRAMまたは不揮発性メ
モリ
2 Main amplifier 4 Level sense circuit 6 Flux reversal counter 7 Control unit 11 Battery backup RAM or nonvolatile memory

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 磁気ストライプデータを読み取ることで
磁気ヘッドより出力される信号を増幅し、かつその増幅
率が可変である増幅手段と、 前記増幅手段で増幅された信号をスライスし、かつその
スライスレベルが可変であるスライスレベル設定手段
と、 前記スライスレベル設定手段に設定されたスライスレベ
に応じて、前記増幅手段で増幅された信号の磁束の反
転回数をカウントする計数手段と、規定のビット密度で固定された標準媒体から読み取った
磁気ストライプデータを用いて前記増幅手段の増幅率を
設定して記憶手段に記憶し、通常の磁気ストライプデー
タ読み取り動作時には、前記記憶手段に記憶した増幅率
を増幅手段にセットして読み取り動作を行う制御手段と
を備え、 前記制御手段は、前記標準媒体から読み取った磁気スト
ライプデータに対して、前記スライスレベル設定手段に
設定されるスライスレベルを最小とした時に、前記計数
手段でカウントされる磁束反転回数が規定値でなけれ
ば、磁束反転回数が規定値となるまで前記増幅手段の増
幅率を上げる工程と、 スライスレベルを最大とした時に、磁束反転回数がゼロ
でなければ、磁束反転回数がゼロになるまで増幅率を下
げる工程とを組み合わせて行い、前記増幅手段における
増幅率を設定して前記記憶手段に記憶する ことを特徴と
する磁気ストライプデータ読み取り回路。
Amplifying means for amplifying a signal output from a magnetic head by reading magnetic stripe data and varying an amplification factor; slicing a signal amplified by the amplifying means; a slice level setting unit level is variable, depending on the slice level set on the slice level setting means, counting means for counting the number of reversals of the magnetic flux of the signal amplified by the amplifying means, the bit density of the prescribed Read from standard media fixed at
Using the magnetic stripe data, the amplification factor of the amplification means
After setting and storing it in the storage unit,
During the data reading operation, the amplification factor stored in the storage means is used.
Control means for performing a reading operation by setting
Wherein the control means, a magnetic strike read from the standard medium
For the slice data, the slice level setting means
When the set slice level is minimized, the counting
The number of magnetic flux reversals counted by the means must be the specified value
If the number of magnetic flux reversals reaches a specified value,
When the width ratio is increased and the slice level is maximized, the number of magnetic flux reversals is zero.
Otherwise, reduce the amplification factor until the number of flux reversals becomes zero.
And a combination of
A magnetic stripe data reading circuit, wherein an amplification factor is set and stored in the storage means .
【請求項2】 請求項1記載の磁気ストライプデータ読
み取り回路において、 前記制御手段は、増幅率の設定時は、まず、前記スライ
スレベル設定手段に設定されるスライスレベルを最小と
し、この時、前記計数手段によりカウントされた磁束反
転回数が規定値でなければ、磁束反転回数が規定値とな
るまで前記増幅手段の増幅率を上げる工程を行い、 磁束反転回数が規定値となると、次に、スライスレベル
を最大とし、この時、磁束反転回数がゼロでなければ、
磁束反転回数がゼロになるまで増幅率を下げる工程を行
ことを特徴とする磁気ストライプデータ読み取り回
路。
2. The magnetic stripe data reading according to claim 1,
In the sampling circuit, when the amplification factor is set, the control means firstly sets the slide.
The slice level set in the level setting means
At this time, the magnetic flux counter counted by the counting means
If the number of turns is not the specified value, the number of magnetic flux
The step of increasing the amplification factor of the amplifying means is performed until the number of magnetic flux reversals reaches a specified value.
Is maximized. At this time, if the number of flux reversals is not zero,
Perform the process of lowering the amplification rate until the number of flux reversals becomes zero.
Magnetic stripe data read circuit, characterized in that the Hare.
【請求項3】 請求項2記載の磁気ストライプデータ読
み取り回路において 前記制御手段は、前記スライスレベルを最大とした時に
磁束反転回数をゼロにする工程を行った後、再度スライ
スレベルを最小とし、この時、磁束反転回数が規定値で
あればその時の増幅率を前記記憶手段に記憶し、磁束反
転回数が規定値でなければエラーとする工程を行う こと
を特徴とする磁気ストライプデータ読み取り回路。
3. The magnetic stripe data reading according to claim 2,
In the sampling circuit, when the control unit sets the slice level to the maximum,
After performing the process of reducing the number of flux reversals to zero,
Level, and at this time, the number of magnetic flux reversals is
If present, the amplification factor at that time is stored in the storage means, and the magnetic flux
A magnetic stripe data reading circuit for performing an error step if the number of turns is not a prescribed value .
【請求項4】 磁気ストライプデータを読み取ることで
磁気ヘッドより出力される信号を増幅し、かつその増幅
率が可変である増幅手段と、 前記増幅手段で増幅された信号をスライスし、かつその
スライスレベルが可変であるスライスレベル設定手段
と、 前記スライスレベル設定手段に設定されたスライスレベ
ルに応じて、前記増幅手段で増幅された信号の磁束の反
転回数をカウントする計数手段と、 規定のビット密度で固定された標準媒体から読み取った
磁気ストライプデータを用いて前記増幅手段の増幅率を
設定して記憶手段に記憶し、通常の磁気ストライプデー
タ読み取り動作時には、前記記憶手段に記憶した増幅率
を増幅手段にセットして読み取り動作を行う制御手段と
を備え、 前記制御手段は、前記標準媒体を第1の方向に搬送させ
て読み取った磁気ストライプデータに対して、前記スラ
イスレベル設定手段に設定されるスライスレベルを最小
とした時に、前記計数手段でカウントされる磁束反転回
数が規定値でなければ、磁束反転回数が規定値となるま
で前記増幅手段の増幅率を上げる工程と、 スライスレベルを最大とした時に、磁束反転回数がゼロ
でなければ、磁束反転回数がゼロになるまで増幅率を下
げる工程とを組み合わせて行い、媒体を第1の方向に搬
送させた時の前記増幅手段における増幅率を設定して前
記記憶手段に記憶するとともに、 前記標準媒体を前記第1の方向と反対の第2の方向に搬
送させて読み取った磁気ストライプデータに対して、前
記各工程を組み合わせて行い、媒体を第2の方向に搬送
させた時の増幅率を設定して前記記憶手段に記憶し、 通常の磁気ストライプデータ読み取り動作時には、媒体
の搬送方向に応じて前 記記憶手段に記憶した増幅率を増
幅手段にセットして読み取り動作を行うことを特徴とす
磁気ストライプデータ読み取り回路。
4. A method for reading magnetic stripe data.
Amplify the signal output from the magnetic head and amplify it
Amplifying means having a variable rate , and slicing the signal amplified by the amplifying means, and
Slice level setting means with variable slice level
And the slice level set in the slice level setting means.
The magnetic flux of the signal amplified by the amplification means
Counting means for counting the number of rotations and reading from a standard medium fixed at a specified bit density
Using the magnetic stripe data, the amplification factor of the amplification means
After setting and storing it in the storage unit,
During the data reading operation, the amplification factor stored in the storage means is used.
Control means for performing a reading operation by setting
And the control means causes the standard medium to be transported in a first direction.
The magnetic stripe data read by
The slice level set in the chair level setting means
, The magnetic flux inversion times counted by the counting means
If the number is not the specified value, the number of magnetic flux reversals reaches the specified value.
In the step of increasing the amplification factor of the amplifying means, and when the slice level is maximized, the number of magnetic flux reversals is zero.
Otherwise, reduce the amplification factor until the number of flux reversals becomes zero.
The medium in the first direction.
Set the amplification factor in the amplifying means when
And storing the standard medium in a second direction opposite to the first direction.
To the magnetic stripe data read
Carry the medium in the second direction by combining the above steps
The amplification factor at the time of the operation is set and stored in the storage unit, and the medium is read during the normal magnetic stripe data reading operation.
Increasing the amplification factor stored before Symbol storage means in accordance with the conveyance direction of the
The reading operation is performed while being set in the width means.
Magnetic stripe data read circuit that.
JP23176592A 1992-08-31 1992-08-31 Magnetic stripe data reading circuit Expired - Fee Related JP2826690B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23176592A JP2826690B2 (en) 1992-08-31 1992-08-31 Magnetic stripe data reading circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23176592A JP2826690B2 (en) 1992-08-31 1992-08-31 Magnetic stripe data reading circuit

Publications (2)

Publication Number Publication Date
JPH0676214A JPH0676214A (en) 1994-03-18
JP2826690B2 true JP2826690B2 (en) 1998-11-18

Family

ID=16928684

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23176592A Expired - Fee Related JP2826690B2 (en) 1992-08-31 1992-08-31 Magnetic stripe data reading circuit

Country Status (1)

Country Link
JP (1) JP2826690B2 (en)

Also Published As

Publication number Publication date
JPH0676214A (en) 1994-03-18

Similar Documents

Publication Publication Date Title
US5714743A (en) Card and card issuing apparatus
JPH11301049A (en) Printer, printer system, method for printing by changing printing attribute, and recording medium containing program for controlling printer
JP2826690B2 (en) Magnetic stripe data reading circuit
JP5887743B2 (en) Printer device and maintenance system thereof
JPH06139385A (en) Magnetic card reader
JP5463427B2 (en) Medium processing apparatus and medium recovery apparatus
JPH0129096Y2 (en)
JP2912395B2 (en) Media processing device
JP4081393B2 (en) Image sensor operation confirmation method, operation confirmation apparatus, and operation confirmation program
JP2946836B2 (en) Media mark reading method
JP2864334B2 (en) Cards and card readers
JP3000703B2 (en) Card device
JPS63161579A (en) Magnetic tape device
JPH0962766A (en) Magnetic head and magnetic data reproduction circuit
JP2973213B2 (en) Magnetic recording medium issuing device
JP3245902B2 (en) Redundant bit setting device for magnetic ticket
JP3280853B2 (en) Writing device for magnetic recording media
JPH08147430A (en) Magnetic recording medium reader
JPH03246695A (en) Device for issuing recording medium
JP2918190B2 (en) Magnetic writing device
JPH0369380A (en) Passbook printer
JPH04338559A (en) Thermal printer and thermal printing medium
JPH02184455A (en) Printer
JPH06267178A (en) Magnetic recorder
JPH07147060A (en) Method for writing magnetic stripe data

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070918

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20080918

LAPS Cancellation because of no payment of annual fees