JPH0676214A - Magnetic stripe data reading circuit - Google Patents

Magnetic stripe data reading circuit

Info

Publication number
JPH0676214A
JPH0676214A JP23176592A JP23176592A JPH0676214A JP H0676214 A JPH0676214 A JP H0676214A JP 23176592 A JP23176592 A JP 23176592A JP 23176592 A JP23176592 A JP 23176592A JP H0676214 A JPH0676214 A JP H0676214A
Authority
JP
Japan
Prior art keywords
magnetic stripe
amplification factor
slice level
stripe data
magnetic
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.)
Granted
Application number
JP23176592A
Other languages
Japanese (ja)
Other versions
JP2826690B2 (en
Inventor
Masami Ayugai
賢美 鮎貝
Satoshi Takamura
聡 高村
Terukazu Urano
照和 浦野
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)

Abstract

PURPOSE:To provide a magnetic stripe data reading circuit capable of shortening the time required for adjusting an amplification factor in a main amplifier amplifying the output of a magnetic head. CONSTITUTION:By a controller 7, when a slice level in a level sense circuit 4 is set to a minimum prescribed value and the number of times of the magnetic flux inversion at the time of reading magnetic data from a standard medium arrive at a prescribed value, and the slice level is set to a maximum prescribed value and the number of times of the magnetic flux inversion at the time of reading the magnetic data from the standard medium is zero, the amplification factor in the main amplifier 2 at this time is stored in a BBM or an EEPROM 11 as the proper amplification factor.

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.

【0002】[0002]

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

【0003】エンコーダ部102は、チケットに貼り付
けられた磁気ストライプへの磁気ストライプデータの書
き込みおよび磁気ストライプからの磁気ストライプデー
タの読み取りを行う。プリンタ部103は、チケット表
面に文字情報を印字する。吸入排出部104は磁気スト
ライプデータの書き込みや文字情報の印字の完了したチ
ケットの排出および磁気ストライプデータの書き込みや
文字情報の印字を行うチケットの吸入を行う。
The encoder unit 102 writes magnetic stripe data to the magnetic stripe attached to the ticket and reads magnetic stripe data from the magnetic stripe. The printer unit 103 prints character information on the front surface of the ticket. The suction / discharge unit 104 discharges a ticket for which writing of magnetic stripe data or printing of character information has been completed and suction of a ticket for writing 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, and writes magnetic stripe data to a magnetic stripe attached to a ticket and reads magnetic stripe data from the magnetic stripe. I do. Further, the ticket position detection optical sensor 107 detects the timing of writing and reading the magnetic stripe data. The medium transport path 108 passes from the hopper 101 to the magnetic write head 105 of the encoder 102, the magnetic read head 106, and the print unit 103, and the suction / discharge unit 104.
The ticket is transported by tying.

【0005】図9は従来の磁気ストライプデータ読み取
り回路を示すブロック図で、読み取り用磁気ヘッド10
6によって読み取られた磁気ストライプ上の磁束変化量
は、差動アンプ109によってオフセットを取り去ら
れ、増幅率が半固定抵抗110によって可変であるメイ
ンアンプ111によって規定の出力レベルになるように
増幅される。
FIG. 9 is a block diagram showing a conventional magnetic stripe data reading circuit, in which a reading magnetic head 10 is used.
The amount of change in 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 as to reach a specified output level. It

【0006】この信号は、ピークセンス回路112,レ
ベルセンス回路113に入力され、それぞれピーク検出
およびレベル検出を行い、この出力を用いて復調回路1
14によってデジタルデータに変換される。図10は上
記従来の磁気ストライプデータ読み取り回路における信
号波形を示す説明図で、図9に示すA点の信号波形が図
10(a)に示すようなものであり、レベルセンス回路
113のスライスレベルがVであるとすると、ピークセ
ンス回路112およびレベルセンス回路113の出力は
図10(b),(c)に示すようになる。
This signal is input to the peak sense circuit 112 and the level sense circuit 113, which performs peak detection and level detection, respectively, and uses this output to demodulate circuit 1
It is converted into digital data by 14. FIG. 10 is an explanatory diagram showing signal waveforms in the above-mentioned 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. 10 (b) and 10 (c).

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

【0008】[0008]

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

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

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

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

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

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

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

【0015】[0015]

【課題を解決するための手段】この目的を達成するた
め、本発明の磁気ストライプデータ読み取り回路は、磁
気ストライプデータを読み取ることで磁気ヘッドより出
力される信号を増幅し、かつその増幅率が可変である増
幅手段と、前記メインアンプで増幅された信号をスライ
スし、かつそのスライスレベルが可変であるスライスレ
ベル設定手段と、前記スライスレベル設定手段に設定さ
れたスライスレベル以上の出力を検出して磁束の反転回
数をカウントする計数手段と、前記増幅手段とスライス
レベル設定手段と計数手段とを制御して、スライスレベ
ル設定手段のスライスレベルを変化させながら規定のビ
ット密度で書き込まれた磁気ストライプデータを読み取
ったときの磁束反転回数から増幅手段の増幅率を設定す
る制御手段とを備えたことを特徴とする。
To achieve this object, a magnetic stripe data reading circuit of the present invention amplifies a signal output from a magnetic head by reading magnetic stripe data, and the amplification factor is variable. And a slice level setting means for slicing the signal amplified by the main amplifier, and the slice level of which is variable, and detecting an output equal to or higher than the slice level set in the slice level setting means. Magnetic stripe data written at a specified bit density while changing the slice level of the slice level setting means by controlling the counting means for counting the number of times of reversal of magnetic flux, the amplifying means, the slice level setting means and the counting means. And a control means for setting the amplification factor of the amplification means from the number of magnetic flux reversals when reading It is characterized in.

【0016】また、本発明は、電源断状態でもデータを
保持可能でかつ再書き込み可能な記憶手段を設け、制御
手段は、増幅手段とスライスレベル設定手段と計数手段
とを制御して、スライスレベル設定手段のスライスレベ
ルを変化させながら規定のビット密度で書き込まれた磁
気ストライプデータを読み取ったときの磁束反転回数か
ら増幅手段の増幅率を設定し、これを前記記憶手段に記
憶するとともに、この増幅率の調整が正規に行われたか
否かを示すデータを記憶手段に記憶して、通常の磁気ス
トライプデータの読み取り動作時に増幅率の調整が正規
に行われているか否かを記憶手段に記憶したデータから
判断し、正規に調整が行われている場合は記憶手段に記
憶した増幅率を増幅手段にセットして読み取り動作を行
い、調整が行われていない場合は読み取り動作を中止す
ることとしてもよい。
Further, the present invention is provided with a storage means capable of holding data and rewritable even in a power-off state, and the control means controls the amplifying means, slice level setting means and counting means to make a slice level. While the slice level of the setting means is being changed, the amplification factor of the amplification means is set from the number of magnetic flux reversals when the magnetic stripe data written at the specified bit density is read, and this is stored in the storage means and the amplification is performed. Data indicating whether or not the ratio adjustment was properly performed was stored in the storage means, and whether or not the amplification factor adjustment was normally performed during the normal magnetic stripe data reading operation was stored in the storage means. Judging from the data, if the adjustment is done properly, the amplification factor stored in the storage means is set in the amplification means and the reading operation is performed to make the adjustment. If not it is also possible to stop the read operation.

【0017】さらに、本発明の磁気ストライプデータ読
み取り回路は、磁気ストライプデータを読み取ることで
磁気ヘッドより出力される信号を増幅し、かつその増幅
率が可変である増幅手段と、媒体の搬送方向毎に適正な
増幅率を保持する手段と、磁気ストライプ上に書き込ま
れた磁気ストライプデータの読み取り時に、該磁気スト
ライプの貼り付けられた媒体が搬送される方向に合わせ
て前記保持手段によって保持されている該当搬送方向の
増幅率を前記増幅手段に設定する制御手段とを備えたこ
とを特徴とする。
Further, 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 amplifying means whose amplification factor is variable, and the medium carrying direction. Means for holding an appropriate amplification factor, and when reading the magnetic stripe data written on the magnetic stripe, it is held by the holding means in accordance with the direction in which the medium to which the magnetic stripe is attached is conveyed. And a control means for setting the amplification factor in the corresponding conveyance direction in the amplification means.

【0018】なお、前記適正な増幅率を保持する手段
は、バッテリーによってバックアップされたメモリ、再
書き込み可能な不揮発性メモリ、あるいは半固定抵抗器
とする。
The means for holding the proper amplification factor is a memory backed up by a battery, a rewritable nonvolatile memory, or a semi-fixed resistor.

【0019】[0019]

【作用】上述した構成を有する本発明は、規定のビット
密度で書き込まれた磁気ストライプデータを読み取らせ
ると、制御手段はスライスレベルを変化させこのときの
磁束反転回数から適正な増幅率を設定し、設定が行われ
たことを示すデータを記憶しておく。
According to the present invention having the above-described structure, when the magnetic stripe data written at the 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 is stored.

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

【0021】[0021]

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

【0022】図1,図2において、1は差動アンプで、
この差動アンプ1は、読み取り用磁気ヘッド105によ
って磁気ストライプに書き込まれた磁気データを読み取
ることで、該読み取り用磁気ヘッド105から出力され
る磁束変化量を示す信号のオフセットを取り去る。2は
差動アンプ1によりオフセットを取り去った信号を増幅
するメインアンプで、このメインアンプ2の増幅率は後
述する制御部により変更可能となっている。
1 and 2, 1 is a differential amplifier,
The differential amplifier 1 reads the magnetic data written in the magnetic stripe by the read magnetic head 105 to remove the offset of the signal indicating the magnetic flux change amount output from the read magnetic head 105. Reference numeral 2 is a main amplifier that amplifies a signal whose 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
で検出することで磁束の反転(ピークの存在)をカウン
トする磁束反転回数カウンタである。
Reference numeral 3 is a peak sense circuit for detecting the peak of the signal amplified by the main amplifier 2, and 4 is the main amplifier 2.
This is a level sense circuit that performs level detection by slicing the signal amplified in 1. at a predetermined level, and the slice level in this level sense circuit 4 can be changed by a control unit described later. Reference numeral 5 is a demodulation circuit that inputs the outputs of the peak sense circuit 3 and the level sense circuit 4 and converts them into a digital signal, and 6 is input by the outputs of the peak sense circuit 3 and the level sense circuit 4 and set by the level sense circuit 4. Output above the specified slice level is peak sense circuit 3
It is a magnetic flux reversal counter that counts the reversal of the magnetic flux (existence of a peak) by detecting with.

【0024】7は制御部で、この制御部7はマイクロC
PU8やプログラムROM9,ワークRAM10および
バッテリーにバックアップされたRAM(以下BBMと
いう)または再書き込み可能な不揮発性メモリ11(以
下EEPROMと言う)等から構成され、図2に示す磁
気ストライプ読み取り回路を制御している。この制御部
7は図示しない上位装置に接続されるとともに、磁気リ
ード回路インタフェース12,その他の周辺回路13に
それぞれ接続されている。
Reference numeral 7 is a control unit, and this control unit 7 is a micro C
It comprises a PU 8, a program ROM 9, a work RAM 10, a RAM backed up by a battery (hereinafter referred to as BBM), a rewritable nonvolatile memory 11 (hereinafter referred to as EEPROM), and the like, and controls 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
2 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 according to an instruction from the control unit 7. The magnetic read circuit interface unit 12 also 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 for writing magnetic data to the magnetic stripe or carrying a ticket according to an instruction from the control unit 7. Writing magnetic head 105, motor / magnet group 1
4 is driven, and information of various sensor groups 15 is transferred to the control unit 7.

【0027】図3は本実施例の作用を示す磁気ストライ
プ読み取り増幅率調整のメインフローチャートで、制御
部7はオペレータの指示により磁気ストライプ読み取り
増幅率調整動作に入ると、あらかじめビット密度が固定
の磁気ストライプデータが書き込まれた標準媒体の挿入
を誘導し(S1)、媒体の挿入を検知すると(S2)、
挿入方向の調整(S3)、排出方向の調整(S4)を順
次行う。
FIG. 3 is a main flow chart of the magnetic stripe read amplification rate adjustment showing the operation of this embodiment. When the control section 7 enters the magnetic stripe read amplification rate adjustment operation according to the operator's instruction, the magnetic field with a fixed bit density is preset. When the insertion of the standard medium in which the stripe data is written is guided (S1) and 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 judged whether or not an error has occurred in each adjustment by reading the error code on the BBM or the EEPROM 11 (S5), and if the error code is not set on the BBM or the EEPROM 11, a normal end display is displayed. Do BBM or EE
The amplification factor unset 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 is set, the abnormal termination 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 sub-routine 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 amplification factor (GAIN) of the main amplifier 2 to a default value. It is set to (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 traveled once on the reading magnetic head 105 in the insertion direction, and the count value of the magnetic flux reversal counter 6 is changed. Read (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 amplification factor has not reached the specified value, it is determined whether the current amplification factor has reached the maximum value (S22). If it has not reached the maximum value, the amplification factor is increased by 1 and set. (S23), and the process returns to S12. If it is determined that the maximum value is reached, the error code is stored in the BBM or the EEPROM 11 and this subroutine is finished (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 it has reached the specified value, the slice level of the level sensing circuit 4 is set to the maximum specified voltage V2 (S14), and the same processing as S12 is performed (S15). It is determined whether or not the obtained number of times of magnetic flux reversal is zero (S16). S16
Then, if it is determined that the amplification factor is not zero, it is determined whether or not the current amplification factor has reached the minimum value (S25). If it has not reached the minimum value, the amplification factor is decremented by 1 and set (S25).
26), and returns 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 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 it is zero, the slice level is set again to the minimum specified voltage V1 (S17), the same processing as S12 is performed (S18), and the number of magnetic flux reversals obtained by this is set. Determines whether the number of times has reached the specified number (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 the present subroutine ends (S20).

【0034】また、S19で規定回数に達していなかっ
たと判定されると、エラーコードをBBMまたはEEP
ROM11上に格納し、本サブルーチンを終了する(S
21)。図5は排出方向調整のサブルーチンフローチャ
ートであって、制御部7はレベルセンス回路4のスライ
スレベルを最低規定電圧V1にセットするとともに、メ
インアンプ2の増幅率をデフォルト値にセットする(S
31)。
If it is determined in S19 that the specified number of times has not been reached, the error code is set to BBM or EEP.
Store in ROM 11 and end this subroutine (S
21). FIG. 5 is a flow chart of a subroutine for adjusting the discharge direction. 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 the 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 ejecting direction and run once on the reading magnetic head 105 in the ejecting direction, the counter value of the magnetic flux reversal counter 6 is read (S32), and the counter value becomes the standard medium. 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 specified value has not been reached, it is determined whether the current amplification factor has reached the maximum value (S42), and if it has not reached the maximum value, the amplification factor is increased by 1 and set (S4).
3) and returns 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.
It is stored in the PROM 11 and this subroutine is finished (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 S32 is performed (S35). It is determined whether or not the obtained number of magnetic flux reversals is zero (S36). S36
If it is determined that the current amplification factor has not reached the minimum value (S45), the amplification factor is decreased by 1 and set (S4).
6) and the process returns to S35. If it is determined that the minimum value has been reached, the error code is set to BBM or EE.
It is stored in the PROM 11 and this subroutine is finished (S47). On the other hand, if it is determined in S36 that the slice level is zero, the slice level is set again to the minimum specified voltage V1 (S37), and the same processing as S32 is performed (S38). It is determined whether or not (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 is terminated (S40). If it is determined in S39 that the specified number of times has not been reached, the error code is stored in the BBM or the EEPROM 11, and this subroutine is finished (S41).

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

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

【0040】その後、磁気ストライプ読み取り動作に入
り、読み取ったデータを上位装置へ通知して処理を終え
る(S56)。一方、S52で未設定であると判断した
場合は、制御部7は、上位装置にエラーを通知して処理
を終える(S57)。図7は本発明の第2の実施例にお
ける磁気ストライプデータ読み取り回路を示すブロック
図である。
Then, the magnetic stripe reading operation is started, the read data is notified to the host device, and the processing is terminated (S56). On the other hand, when it is determined in S52 that the setting has not been made, the control unit 7 notifies the upper-level device of an error and ends the process (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 inserting direction, the proper amplification factor is different when the ticket is conveyed in the inserting direction and when the ticket is conveyed in the ejecting direction. The amplification factor of the magnetic stripe reading circuit can be set directly by the control unit when it is conveyed in the ejection direction, and the amplification factor set here is stored in the memory, and the predetermined amplification factor can be stored according to the conveyance 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 effect is exactly the same if one switch is provided for discharging and one switch for determining which semi-fixed resistor is used is switchable 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, and 16a and 16b are two semi-fixed resistors that determine the amplification factor of the main amplifier 212. One half-fixed resistor 16a is for insertion, and the other half is fixed. The analog switch 17 exclusively determines which of the semi-fixed resistors 16a and 16b is connected to the main amplifier 16 while the fixed resistor 16b is 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 a magnetic stripe reading is instructed by the host device, the control unit 19 reads the magnetic stripe after the command from the host is inserted or after the hopper is fed out. It is judged whether the reading is a magnetic stripe, and if it is after the insertion, the analog switch 17 is operated to connect the insertion semi-fixed resistor 16a to the main amplifier 16, and after the hopper is fed out, the semi-fixed resistor for ejection. 16b is connected to the main amplifier 16.

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

【0045】[0045]

【発明の効果】以上詳細に説明したように、本発明の磁
気ストライプデータ読み取り回路は、磁気ストライプデ
ータを読み取ることで磁気ヘッドより出力される信号を
増幅し、かつその増幅率が可変である増幅手段と、前記
メインアンプで増幅された信号をスライスし、かつその
スライスレベルが可変であるスライスレベル設定手段
と、前記スライスレベル設定手段に設定されたスライス
レベル以上の出力を検出して磁束の反転回数をカウント
する計数手段と、電源断状態でもデータを保持可能でか
つ再書き込み可能な記憶手段と、前記増幅手段とスライ
スレベル設定手段と計数手段とを制御して、スライスレ
ベル設定手段のスライスレベルを変化させながら規定の
ビット密度で書き込まれた磁気ストライプデータを読み
取ったときの磁束反転回数から増幅手段の増幅率を設定
し、これを前記記憶手段に記憶するとともに、この増幅
率の調整が正規に行われたか否かを示すデータを記憶手
段に記憶して、通常の磁気ストライプデータの読み取り
動作時に増幅率の調整が正規に行われているか否かを記
憶手段に記憶したデータから判断し、正規に調整が行わ
れている場合は記憶手段に記憶した増幅率を増幅手段に
セットして読み取り動作を行い、調整が行われていない
場合は読み取り動作を中止する制御手段とを備えたもの
である。
As described in detail above, 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 factor is variable. Means for slicing the signal amplified by the main amplifier, and the slice level setting means for varying the slice level, and reversing the magnetic flux by detecting an output higher than the slice level set by the slice level setting means. The slice level of the slice level setting means is controlled by controlling the counting means for counting the number of times, the storage means capable of holding the data even when the power is off and rewritable, the amplifying means, the slice level setting means and the counting means. Of the magnetic flux when reading the magnetic stripe data written with the specified bit density while changing the The amplification factor of the amplification means is set from the number of times, and this is stored in the storage means, and at the same time, data indicating whether or not the adjustment of the amplification rate is properly performed is stored in the storage means, and normal magnetic stripe data is stored. It is judged from the data stored in the storage means whether or not the amplification factor is properly adjusted during the reading operation of, and if the adjustment is normally performed, the amplification factor stored in the storage device is set in the amplification device. Then, the reading operation is performed, and when the adjustment is not performed, the reading operation is stopped.

【0046】このように、本発明は、磁気ストライプ読
み取り増幅率の調整が半自動的に行われるので、調整時
間が短縮でき顧客に対するサービスが向上する。また、
調整が正常に終わっているかどうかを検出しているの
で、調整忘れ等のミスがなく、品質も向上する。さら
に、本発明の磁気ストライプデータ読み取り回路は、磁
気ストライプデータを読み取ることで磁気ヘッドより出
力される信号を増幅し、かつその増幅率が可変である増
幅手段と、媒体の搬送方向毎に適正な増幅率を保持する
手段と、磁気ストライプ上に書き込まれた磁気ストライ
プデータの読み取り時に、該磁気ストライプの貼り付け
られた媒体が搬送される方向に合わせて前記保持手段に
よって保持されている該当搬送方向の増幅率を前記増幅
手段に設定する制御手段とを備えたものである。
As described above, according to the present invention, the magnetic stripe read amplification factor is adjusted semi-automatically, so that the adjustment time can be shortened and the service to the customer is improved. Also,
Since it is detected whether or not the adjustment is completed normally, there is no mistake such as forgetting the adjustment, and the quality is improved. Further, 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 amplifying means having a variable amplification factor, and the appropriate amplifying means for each medium carrying direction. A means for holding the amplification factor and a corresponding carrying direction held by the holding means in accordance with the direction in which the medium to which the magnetic stripe is attached is carried at the time of reading the magnetic stripe data written on the magnetic stripe. And a control means for setting the amplification factor of the above in the amplification means.

【0047】このように、本発明は、磁気ストライプ読
み取り増幅率を挿入方向と排出方向とで異なった値を設
定できるようにしたので、搬送方向によらず安定した磁
気ストライプデータの読み取り動作が可能であり、搬送
方向を統一する必要がなくなる。したがって、無駄な搬
送動作も生じないので装置の処理時間が低減でき、顧客
に対するサービスが向上する。
As described above, according to the present invention, the magnetic stripe read amplification factor can be set to different values in the inserting direction and the ejecting direction, so that the stable reading operation of the magnetic stripe data can be performed regardless of the carrying direction. Therefore, it is not necessary to unify the transport directions. Therefore, since wasteful transport operation does not occur, the processing time of the device can be reduced, and the service to the customer is improved.

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

【図1】本発明の一実施例における磁気ストライプ読み
取り回路を制御する回路のブロック図である。
FIG. 1 is a block diagram of a circuit that controls 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 present embodiment.

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

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

【図5】本実施例の排出方向調整のサブルーチンフロー
チャートである。
FIG. 5 is a flowchart of a subroutine for adjusting the discharge direction according to the present 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 showing an outline of 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 magnetic flux reversal counter 7 controller 11 battery backup RAM or non-volatile memory

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 磁気ストライプデータを読み取ることで
磁気ヘッドより出力される信号を増幅し、かつその増幅
率が可変である増幅手段と、 前記メインアンプで増幅された信号をスライスし、かつ
そのスライスレベルが可変であるスライスレベル設定手
段と、 前記スライスレベル設定手段に設定されたスライスレベ
ル以上の出力を検出して磁束の反転回数をカウントする
計数手段と、 前記増幅手段とスライスレベル設定手段と計数手段とを
制御して、スライスレベル設定手段のスライスレベルを
変化させながら規定のビット密度で書き込まれた磁気ス
トライプデータを読み取ったときの磁束反転回数から増
幅手段の増幅率を設定する制御手段とを備えたことを特
徴とする磁気ストライプデータ読み取り回路。
1. An amplifying means for amplifying a signal output from a magnetic head by reading magnetic stripe data and having a variable amplification factor; and slicing the signal amplified by the main amplifier, and slicing the sliced signal. Slice level setting means having a variable level, counting means for detecting the output of the slice level or more set in the slice level setting means and counting the number of times of magnetic flux reversal, the amplifying means, the slice level setting means, and the counting And a control means for setting the amplification factor of the amplification means from the number of magnetic flux reversals when the magnetic stripe data written at the specified bit density is read while changing the slice level of the slice level setting means. A magnetic stripe data reading circuit characterized by being provided.
【請求項2】 磁気ストライプデータを読み取ることで
磁気ヘッドより出力される信号を増幅し、かつその増幅
率が可変である増幅手段と、 前記メインアンプで増幅された信号をスライスし、かつ
そのスライスレベルが可変であるスライスレベル設定手
段と、 前記スライスレベル設定手段に設定されたスライスレベ
ル以上の出力を検出して磁束の反転回数をカウントする
計数手段と、 電源断状態でもデータを保持可能でかつ再書き込み可能
な記憶手段と、 前記増幅手段とスライスレベル設定手段と計数手段とを
制御して、スライスレベル設定手段のスライスレベルを
変化させながら規定のビット密度で書き込まれた磁気ス
トライプデータを読み取ったときの磁束反転回数から増
幅手段の増幅率を設定し、これを前記記憶手段に記憶す
るとともに、この増幅率の調整が正規に行われたか否か
を示すデータを記憶手段に記憶して、通常の磁気ストラ
イプデータの読み取り動作時に増幅率の調整が正規に行
われているか否かを記憶手段に記憶したデータから判断
し、正規に調整が行われている場合は記憶手段に記憶し
た増幅率を増幅手段にセットして読み取り動作を行い、
調整が行われていない場合は読み取り動作を中止する制
御手段とを備えたことを特徴とする磁気ストライプデー
タ読み取り回路。
2. Amplifying means for amplifying a signal output from a magnetic head by reading magnetic stripe data and having a variable amplification factor; and slicing the signal amplified by the main amplifier, and slicing the sliced signal. Slice level setting means having a variable level, counting means for detecting the output of the slice level or more set in the slice level setting means and counting the number of times of magnetic flux reversal, capable of holding data even in a power-off state, and By controlling the rewritable storage means, the amplifying means, the slice level setting means, and the counting means, the magnetic stripe data written at the specified bit density was read while changing the slice level of the slice level setting means. When the amplification factor of the amplifying means is set from the number of times of magnetic flux reversal at that time, and this is stored in the storage means, In addition, data indicating whether or not the adjustment of the amplification factor is normally performed is stored in the storage means, and whether or not the adjustment of the amplification factor is normally performed during the reading operation of the normal magnetic stripe data is stored. Judging from the data stored in the means, if the adjustment is properly performed, the amplification factor stored in the storage means is set in the amplification means, and the reading operation is performed.
A magnetic stripe data reading circuit, comprising: a control means for stopping the reading operation when no adjustment is made.
【請求項3】 磁気ストライプデータを読み取ることで
磁気ヘッドより出力される信号を増幅し、かつその増幅
率が可変である増幅手段と、 媒体の搬送方向毎に適正な増幅率を保持する手段と、 磁気ストライプ上に書き込まれた磁気ストライプデータ
の読み取り時に、該磁気ストライプの貼り付けられた媒
体が搬送される方向に合わせて前記保持手段によって保
持されている該当搬送方向の増幅率を前記増幅手段に設
定する制御手段とを備えたことを特徴とする磁気ストラ
イプデータ読み取り回路。
3. Amplifying means for amplifying a signal output from a magnetic head by reading magnetic stripe data and having a variable amplification factor, and means for holding an appropriate amplification factor for each medium carrying direction. When the magnetic stripe data written on the magnetic stripe is read, the amplification means holds the amplification factor in the corresponding carrying direction held by the holding means in accordance with the carrying direction of the medium to which the magnetic stripe is attached. A magnetic stripe data reading circuit, comprising:
【請求項4】 前記適正な増幅率を保持する手段は、バ
ッテリーによってバックアップされたメモリであること
を特徴とする請求項3記載の磁気ストライプデータ読み
取り回路。
4. The magnetic stripe data reading circuit according to claim 3, wherein the means for holding the proper amplification factor is a memory backed up by a battery.
【請求項5】 前記適正な増幅率を保持する手段は、再
書き込み可能な不揮発性メモリであることを特徴とする
請求項3記載の磁気ストライプデータ読み取り回路。
5. The magnetic stripe data reading circuit according to claim 3, wherein the means for holding the proper amplification factor is a rewritable nonvolatile memory.
【請求項6】 前記適正な増幅率を保持する手段は、半
固定抵抗器であることを特徴とした請求項3記載の磁気
ストライプデータ読み取り回路。
6. The magnetic stripe data reading circuit according to claim 3, wherein the means for holding the proper amplification factor is a semi-fixed resistor.
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 true JPH0676214A (en) 1994-03-18
JP2826690B2 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
JP2826690B2 (en) 1998-11-18

Similar Documents

Publication Publication Date Title
US5714743A (en) Card and card issuing apparatus
JPH05246414A (en) Label printer
JPH0676214A (en) Magnetic stripe data reading circuit
US20060153065A1 (en) Point-of-sales terminal, failure information display method and failure information display program
US5850236A (en) Prefiring method for an ink-jet head and apparatus having the ink-jet head with the prefiring method
JPH0781099A (en) Thermal recording device
JP5463427B2 (en) Medium processing apparatus and medium recovery apparatus
JPH0129096Y2 (en)
JPH06139385A (en) Magnetic card reader
JP2864334B2 (en) Cards and card readers
JP2703968B2 (en) Automatic passbook entry device
JP2946836B2 (en) Media mark reading method
JPH0695364B2 (en) Magnetic tape device
JP4081393B2 (en) Image sensor operation confirmation method, operation confirmation apparatus, and operation confirmation program
JPH03128257A (en) Printing device of device for dealing with cards
JP2973213B2 (en) Magnetic recording medium issuing device
JPH01173271A (en) Mark reading system
JPH04338559A (en) Thermal printer and thermal printing medium
JP3270855B2 (en) Media position control device
JPH1035039A (en) Ticket issuing apparatus
JPH096887A (en) Card reader writer and card system
JP2000030207A (en) Magnetic medium processing device and its host device and magnetic medium processing system
JP2007112060A (en) Dot impact printer and printing method of dot impact printer
JPH08138311A (en) Card processor
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