JPH08106604A - Magnetic data reader - Google Patents

Magnetic data reader

Info

Publication number
JPH08106604A
JPH08106604A JP26838194A JP26838194A JPH08106604A JP H08106604 A JPH08106604 A JP H08106604A JP 26838194 A JP26838194 A JP 26838194A JP 26838194 A JP26838194 A JP 26838194A JP H08106604 A JPH08106604 A JP H08106604A
Authority
JP
Japan
Prior art keywords
data
reading
reading means
read
correct
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP26838194A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Yuasa
誉之 湯浅
Hirotsugu Anzai
博次 安斉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Signal Co Ltd
Original Assignee
Nippon Signal 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 Nippon Signal Co Ltd filed Critical Nippon Signal Co Ltd
Priority to JP26838194A priority Critical patent/JPH08106604A/en
Publication of JPH08106604A publication Critical patent/JPH08106604A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Magnetic Recording (AREA)

Abstract

(57)【要約】 【目的】 磁気ヘッドの出力を二系統に分けて読取り、
データ読取りの信頼性を高める。 【構成】 磁気記録媒体(磁気カード)に記録されてい
るデータを磁気ヘッドを介して抽出した信号のピーク検
出を基に読取る第1データ読取手段と、前記磁気ヘッド
を介して抽出した信号を所定のしきい値を基に読取る第
2データ読取手段と、その第1読取手段及び第2読取手
段でそれぞれ読取られたデータをCRCチェック法等の
データチェック法を用いてそれぞれデータチェックを行
うデータチェック手段と、前記データチェック手段が前
記第1読取手段及び第2読取手段でそれぞれ読取ったデ
ータを共に正しいと判定したときはそのうちの一方のデ
ータを、又いずれか一方のみのデータが正しいと判定し
たときはその正しいと判定されたデータを演算処理用に
取込むデータ取込手段とからなる。
(57) [Summary] [Purpose] The output of the magnetic head is divided into two systems and read.
Increase the reliability of data reading. A first data reading means for reading data recorded on a magnetic recording medium (magnetic card) on the basis of peak detection of a signal extracted via a magnetic head, and a signal extracted via the magnetic head are predetermined. Second data reading means for reading based on the threshold value of, and data check for checking the data read respectively by the first reading means and the second reading means using a data check method such as a CRC check method And the data checking means determines that both the data read by the first reading means and the data read by the second reading means are correct, it is determined that one of the data is correct or only one of the data is correct. In this case, the data fetching means fetches the data determined to be correct for arithmetic processing.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、磁気カード等の磁気記
録媒体に記録されているデータを読取るための磁気デー
タ読取装置に係り、特に、周波数変調(FM)方式ある
いはF2F方式と呼ばれている読取装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic data reader for reading data recorded on a magnetic recording medium such as a magnetic card, and more particularly, it is called a frequency modulation (FM) system or an F2F system. Reading device.

【0002】[0002]

【従来の技術】図4は、従来のF2F方式の磁気データ
読取装置の概略構成を示すブロック図であって、磁気記
録媒体(以下、磁気カードという)Cが、図示しない搬
送機構を介してピンチローラRで所定圧力で押圧されな
がら磁気ヘッドHに接して移動すると、磁気ヘッドHか
らは、磁気カードCに記録されているデータに対応した
読取電圧の波形出力が得られるように構成されている。
2. Description of the Related Art FIG. 4 is a block diagram showing a schematic configuration of a conventional F2F type magnetic data reader, in which a magnetic recording medium (hereinafter referred to as a magnetic card) C is pinched via a transport mechanism (not shown). When the roller R moves while contacting the magnetic head H while being pressed by a predetermined pressure, the magnetic head H is configured to obtain a waveform output of a read voltage corresponding to the data recorded on the magnetic card C. .

【0003】磁気ヘッドHからの出力は、増幅機能、ピ
ーク検出機能及び波形成形機能を有するピーク検出増幅
回路1で処理された後、F2F復調ロジック回路2に入
力される。これらピーク検出増幅回路1及びF2F復調
ロジック回路2は、通常、半導体集積回路(LSI)で
構成されていて市販されているものである。
An output from the magnetic head H is processed by a peak detection / amplification circuit 1 having an amplification function, a peak detection function and a waveform shaping function, and then input to an F2F demodulation logic circuit 2. The peak detecting / amplifying circuit 1 and the F2F demodulating logic circuit 2 are usually composed of a semiconductor integrated circuit (LSI) and are commercially available.

【0004】F2F復調回路2では、図5に示されるよ
うに、クロック信号に同期したF2F信号が生成される
ように構成されている。すなわち、このF2F信号は、
1ビット内にエッジの変化のないとき、つまり周波数が
1Fのときに論理値“0”(以下、論理値を省略すると
きもある。)と、また、1ビット内にエッジの変化があ
るとき、つまり周波数が2Fのときを“1”としてい
る。
As shown in FIG. 5, the F2F demodulation circuit 2 is configured to generate an F2F signal synchronized with a clock signal. That is, this F2F signal is
When there is no edge change in 1 bit, that is, when the frequency is 1F, a logical value "0" (hereinafter, the logical value may be omitted), and when there is an edge change in 1 bit That is, when the frequency is 2F, it is set to "1".

【0005】F2F復調回路2でF2Fパターン信号に
変換された信号(データ)は、磁気カードCのデータ読
取り初めの部分の不安定なデータを除去するために、所
定のビット数が読み捨てられた後、シリアルインターフ
ェース(I/F)回路3を介してCPU4に取込まれる
ように構成されている。
The signal (data) converted into the F2F pattern signal by the F2F demodulation circuit 2 has a predetermined number of bits read and discarded in order to remove the unstable data at the beginning of the data reading of the magnetic card C. , The serial interface (I / F) circuit 3 is incorporated into the CPU 4.

【0006】CPU4は、例えば、この磁気データ読取
装置が自動改札機に組込まれるものであるときは、その
自動改札機を統括的に制御するものである。したがっ
て、シリアルI/F回路3を介して取込まれたデータ
は、改札処理の演算処理用に供される。
For example, when the magnetic data reader is incorporated in an automatic ticket gate, the CPU 4 controls the automatic ticket gate in a centralized manner. Therefore, the data taken in via the serial I / F circuit 3 is used for the arithmetic processing of the ticket gate processing.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記従
来の磁気データ読取装置は、磁気ヘッドで読取られた信
号をCPUに入力するまでの処理は、一つのハード処理
で行われるため、ノイズ等により所定の基準から外れた
読取り信号は全て読取りエラーとなって、その磁気デー
タ読取装置を組込んだ全体のシステム、例えば自動改札
機の信頼性を低下さる欠点があった。
However, in the above-mentioned conventional magnetic data reading apparatus, the processing until the signal read by the magnetic head is input to the CPU is performed by one hardware processing, so that it is determined by noise or the like. All read signals out of the standard of 1 result in a read error, and there is a drawback that the reliability of the entire system incorporating the magnetic data reader, for example, an automatic ticket gate, is deteriorated.

【0008】そこで、本発明は、上記欠点を解決するた
めになされたものであって、その目的は、読取エラーを
少なくし、信頼性を高めることのできる磁気データ読取
装置を提供することにある。
Therefore, the present invention has been made to solve the above-mentioned drawbacks, and an object of the present invention is to provide a magnetic data reading apparatus capable of reducing reading errors and improving reliability. .

【0009】[0009]

【課題を解決するための手段】本発明に係る磁気データ
読取装置は、上記目的を達成するために、磁気カードに
記録されているデータを磁気ヘッドを介して抽出した信
号のピーク検出を基に読取る第1データ読取手段と、前
記磁気ヘッドを介して抽出した信号を所定のしきい値を
基に読取る第2データ読取手段と、その第1読取手段及
び第2読取手段でそれぞれ読取られたデータをCRCチ
ェック法等のデータチェック法を用いてそれぞれデータ
チェックを行うデータチェック手段と、そのデータチェ
ック手段が前記第1読取手段及び第2読取手段でそれぞ
れ読取ったデータを共に正しいと判定したときはそのう
ちのいずれか一方のデータを、又いずれか一方のみのデ
ータが正しいと判定したときはその正しいと判定された
データを演算処理用に取込むデータ取込手段とを有する
ことを特徴としている。
In order to achieve the above object, a magnetic data reader according to the present invention is based on peak detection of a signal obtained by extracting data recorded on a magnetic card through a magnetic head. First data reading means for reading, second data reading means for reading a signal extracted via the magnetic head based on a predetermined threshold value, and data read by the first reading means and the second reading means, respectively. When the data check means for performing the data check using the data check method such as the CRC check method and the data check means determines that the data read by the first reading means and the data read by the second reading means are both correct, When it is judged that either one of them or only one of them is correct, the data judged as correct is processed. It is characterized by having a Tokomu data acquisition means.

【0010】[0010]

【作用】上記構成において、データチェック手段が第1
読取手段及び第2読取手段でそれぞれ読取ったデータを
共に正しいと判定したときはそのうちのいずれか一方の
データを、又いずれか一方のみのデータが正しいと判定
したときはその正しいと判定されたデータを演算処理用
に取込む。
In the above structure, the data check means is the first
When it is determined that the data read by the reading means and the data read by the second reading means are both correct, one of the data is determined, and when it is determined that only one of the data is determined, the data determined to be correct. Is taken in for arithmetic processing.

【0011】[0011]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図1は、一実施例装置の概略構成図である。な
お、従来と同一構成要素には同一符号を用い、これら構
成要素については説明が重複するため新規な部分のみに
ついて異なる符号を付して説明する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic configuration diagram of an apparatus according to an embodiment. Note that the same reference numerals are used for the same components as the conventional ones, and the description of these components will be duplicated, so only the new portions will be assigned different reference numerals for the description.

【0012】図中、5はコンパレータ回路であって、図
2に示される磁気ヘッドHの出力波形(図1の(イ)に
おける波形)を+側及び−側を所定のしきい値±thを
用いてスライスしてそれぞれ出力を得るように構成され
ている。また、6は、上記F2F復調ロジック回路2と
同じF2F復調ロジック回路であり、さらに、7は、上
記シリアルI/F回路3と同じシリアルI/F回路であ
る。
In the figure, reference numeral 5 is a comparator circuit, which outputs the output waveform of the magnetic head H shown in FIG. 2 (the waveform in FIG. 1B) to the + and-sides to a predetermined threshold value ± th. It is configured to be used for slicing to obtain respective outputs. Reference numeral 6 is the same F2F demodulation logic circuit as the F2F demodulation logic circuit 2, and reference numeral 7 is the same serial I / F circuit as the serial I / F circuit 3.

【0013】本実施例装置におけるピーク検出増幅回路
1、F2F復調ロジック回路2及びシリアルI/F回路
3は、図2の波形のピークp,p…を検出して磁気カー
ドCのデータを読取る本発明の第1データ読取手段を構
成している。
The peak detecting / amplifying circuit 1, the F2F demodulating logic circuit 2 and the serial I / F circuit 3 in the apparatus of the present embodiment detect the peaks p, p ... Of the waveform in FIG. 2 and read the data of the magnetic card C. It constitutes the first data reading means of the invention.

【0014】また、本実施例装置におけるコンパレータ
回路5、F2F復調ロジック回路6及びシリアルI/F
回路3は、図2の波形を所定のしきい値±thでスライ
スして得る磁気カードCのデータを読取る本発明の第2
データ読取手段を構成している。
The comparator circuit 5, the F2F demodulation logic circuit 6 and the serial I / F in the apparatus of this embodiment are also provided.
The circuit 3 reads the data of the magnetic card C obtained by slicing the waveform of FIG. 2 at a predetermined threshold value ± th.
It constitutes data reading means.

【0015】次に、図3のフローチャートを用いて磁気
カードCのデータ読取制御動作について説明する。
Next, the data reading control operation of the magnetic card C will be described with reference to the flowchart of FIG.

【0016】今、磁気カードCが、自動改札機等の磁気
カード処理機に挿入されて磁気ヘッドHに摺動すると、
磁気ヘッドHからは、図2に示されるような磁気カード
Cに記録されているデータに対応した出力波形の信号が
得られる(ステップ100肯定。以下、ステップをSと
する。)。
Now, when the magnetic card C is inserted into a magnetic card processor such as an automatic ticket gate and slides on the magnetic head H,
A signal having an output waveform corresponding to the data recorded on the magnetic card C as shown in FIG. 2 is obtained from the magnetic head H (Yes at step 100. Hereinafter, step is referred to as S).

【0017】磁気ヘッドHの出力は2分され、そのうち
の一方は、ピーク検出増幅回路1、F2Fロジック回路
2及びシリアルI/F回路3を介してCPU4に取込ま
れ、また他方は、コンパレータ5、F2F復調ロジック
回路6及びシリアルI/F回路7を介してCPU4に取
込まれる(S102)。
The output of the magnetic head H is divided into two, one of which is taken in by the CPU 4 through the peak detection amplification circuit 1, the F2F logic circuit 2 and the serial I / F circuit 3, and the other of which is the comparator 5. , F2F demodulation logic circuit 6 and serial I / F circuit 7 are taken in by the CPU 4 (S102).

【0018】すなわち、CPU4には、検出方法の異な
る2種類の読取データが取込まれ、CPU4のRAM
(図示せず)に格納される。この格納された読取データ
は、正常に読取られていれば一致するはずである。そこ
で、正常に読取られているか否かをチェックするため
に、CRCチェック法により判定される(S104)。
なお、この判定方法は、CRCチェックによらず、パリ
ティチェック等の他のチェック法によってもよい。
That is, two kinds of read data having different detection methods are fetched into the CPU 4, and the RAM of the CPU 4 is loaded.
(Not shown). The stored read data should match if read normally. Then, in order to check whether or not the data is normally read, it is determined by the CRC check method (S104).
It should be noted that this determination method may be based on another check method such as parity check instead of CRC check.

【0019】先ず、ピーク検出増幅回路1側で得られた
データのCRCチェックが行われる(S106)。そし
て、このCRCチェックの判定がOK(正常)であれ
ば、そのデータが自動改札処理演算等の所定の演算処理
用に供される(S106肯定、S108)。
First, a CRC check is performed on the data obtained on the peak detection amplifier circuit 1 side (S106). Then, if the result of the CRC check is OK (normal), the data is used for predetermined arithmetic processing such as automatic ticket gate arithmetic (Yes at S106, S108).

【0020】上述のCRCチェックの判定がNO(異
常)のときは(S106否定)、そのデータは廃棄処分
されるとともに、コンパレータ回路5側のデータのCR
Cチェックが行われる(S106否定、S110)。こ
のCRCチェックの判定がOKであればそのデータが所
定の演算処理用に供される(S112)。また、このC
RCチエックの判定もNOのときは(S110否定)、
両方の読取りデータは異常であるので読取りエラーとな
り異常処理が行われる。具体的には、磁気カードCが自
動改札機に挿入されたものであるときは、ドアは閉じら
れて改札通路の通過が阻止され、その挿入された磁気カ
ードCは返却される。
When the above-mentioned CRC check is NO (abnormal) (No in S106), the data is discarded and the data CR on the side of the comparator circuit 5 is CR.
A C check is performed (No at S106, S110). If the result of this CRC check is OK, the data is used for predetermined arithmetic processing (S112). Also, this C
When the determination of RC check is also NO (No in S110),
Since both read data are abnormal, a read error occurs and abnormal processing is performed. Specifically, when the magnetic card C is inserted in the automatic ticket gate, the door is closed to prevent passage through the ticket gate passage, and the inserted magnetic card C is returned.

【0021】以上のように、本実施例装置は、磁気ヘッ
ドの出力を2系統で読取り処理し、そのうちのいずれか
一方の読取りデータが正しければ、そのデータを採用し
て演算処理に供することができるので、読取りの信頼性
を高めることができる。
As described above, the apparatus of this embodiment can read the output of the magnetic head in two systems, and if the read data of either one of them is correct, the data can be adopted for the arithmetic processing. Therefore, the reliability of reading can be improved.

【0022】なお、上述の実施例では、ピーク読取りデ
ータのCRCチェックを先にしたが、これをしきい値デ
ータのCRCチェックより後にしてもよい。または、両
者を並行してCRCチェックをするようにし、両方とも
OKであれば、いずれか一方のデータを採用するように
してもよい。
In the above-mentioned embodiment, the CRC check of the peak read data is performed first, but it may be performed after the CRC check of the threshold data. Alternatively, the CRC check may be performed on both of them in parallel, and if both are OK, either one of the data may be adopted.

【0023】[0023]

【発明の効果】本発明に係る磁気データ読取装置は、磁
気カードに記録されているデータを磁気ヘッドを介して
抽出した信号のピーク検出を基に読取る第1データ読取
手段と、前記磁気ヘッドを介して抽出した信号を所定の
しきい値を基に読取る第2データ読取手段と、その第1
読取手段及び第2読取手段でそれぞれ読取られたデータ
をCRCチェック法等のデータチェック法を用いてそれ
ぞれデータチェックを行うデータチェック手段と、その
データチェック手段が前記第1読取手段及び第2読取手
段でそれぞれ読取ったデータを共に正しいと判定したと
きはそのうちのいずれか一方のデータを、又いずれか一
方のみのデータが正しいと判定したときはその正しいと
判定されたデータを演算処理用に取込むデータ取込手段
とからなるので、磁気ヘッドの出力を2系統で読取り処
理して、そのうちのいずれか一方の読取りデータが正し
ければ、そのデータを採用して演算処理に供することが
できるので、読取りの信頼性を高めることができる。
The magnetic data reading apparatus according to the present invention includes the first data reading means for reading the data recorded on the magnetic card based on the peak detection of the signal extracted through the magnetic head, and the magnetic head. Second data reading means for reading the signal extracted through the first threshold value based on a predetermined threshold value;
Data checking means for checking the data respectively read by the reading means and the second reading means using a data checking method such as a CRC checking method, and the data checking means is the first reading means and the second reading means. If both of the read data are judged to be correct, the data of one of them is taken in, and if the data of only one of them is judged to be correct, the data judged to be correct is taken in for arithmetic processing. Since it is composed of the data fetching means, the output of the magnetic head is read by two systems, and if the read data of either one is correct, the data can be adopted and used for the arithmetic processing. The reliability of can be increased.

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

【図1】本発明の一実施例装置の概略構成図である。FIG. 1 is a schematic configuration diagram of an apparatus according to an embodiment of the present invention.

【図2】磁気ヘッドの出力波形である。FIG. 2 is an output waveform of a magnetic head.

【図3】制御動作を示すフローチャートである。FIG. 3 is a flowchart illustrating a control operation.

【図4】従来装置の概略構成図である。FIG. 4 is a schematic configuration diagram of a conventional device.

【図5】F2F信号の説明図である。FIG. 5 is an explanatory diagram of an F2F signal.

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

1 ピーク検出増幅回路 2,6 F2F復調ロジック回路 3,7 シリアルI/F回路 4 CPU 5 コンパレータ回路 1 Peak detection amplification circuit 2,6 F2F demodulation logic circuit 3,7 Serial I / F circuit 4 CPU 5 Comparator circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 磁気記録媒体に記録されているデータを
磁気ヘッドを介して抽出した信号のピーク検出を基に読
取る第1データ読取手段と、 前記磁気ヘッドを介して抽出した信号を所定のしきい値
を基に読取る第2データ読取手段と、 前記第1読取手段及び第2読取手段でそれぞれ読取られ
たデータをCRCチェック法等のデータチェック法を用
いてそれぞれデータチェックを行うデータチェック手段
と、 前記データチェック手段が前記第1読取手段及び第2読
取手段でそれぞれ読取ったデータを共に正しいと判定し
たときはそのうちのいずれか一方のデータを、又いずれ
か一方のみのデータが正しいと判定したときはその正し
いと判定されたデータを演算処理用に取込むデータ取込
手段と、 を有することを特徴とする磁気データ読取装置。
1. A first data reading means for reading data recorded on a magnetic recording medium based on peak detection of a signal extracted through a magnetic head, and a predetermined signal for extracting the signal extracted through the magnetic head. Second data reading means for reading based on a threshold value, and data checking means for checking the data respectively read by the first reading means and the second reading means using a data checking method such as a CRC checking method When the data checking means determines that both the data read by the first reading means and the data read by the second reading means are both correct, it is determined that one of the data is correct, or only one of the data is correct. In this case, a magnetic data reading device comprising: a data fetching unit that fetches the data determined to be correct for arithmetic processing.
JP26838194A 1994-10-05 1994-10-05 Magnetic data reader Pending JPH08106604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26838194A JPH08106604A (en) 1994-10-05 1994-10-05 Magnetic data reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26838194A JPH08106604A (en) 1994-10-05 1994-10-05 Magnetic data reader

Publications (1)

Publication Number Publication Date
JPH08106604A true JPH08106604A (en) 1996-04-23

Family

ID=17457703

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26838194A Pending JPH08106604A (en) 1994-10-05 1994-10-05 Magnetic data reader

Country Status (1)

Country Link
JP (1) JPH08106604A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100407511B1 (en) * 2001-09-18 2003-11-28 사이버넷 주식회사 method for accessing track data of magnetic stripe card

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100407511B1 (en) * 2001-09-18 2003-11-28 사이버넷 주식회사 method for accessing track data of magnetic stripe card

Similar Documents

Publication Publication Date Title
JP2752874B2 (en) Method and apparatus for decoding F2F signal
US6175460B1 (en) Magnetic recording and reproduction apparatus
JPH0831112A (en) Magnetic data reader
EP0428411B1 (en) Information processing apparatus
JP2650682B2 (en) How to read encoded data
JPH1069606A (en) Magnetic data reader
JPH0896313A (en) Magnetic data reader
JPH0830906A (en) Magnetic data reader
JP2686842B2 (en) Magnetic recording medium demodulation method
JPH02244409A (en) Magnetic tape device
JP2609768B2 (en) Error detection method for control information read data
JP3388996B2 (en) Magnetic information processing device
US4688107A (en) Information recording and regenerating system
JPH08227501A (en) Magnetic data reader
JP3510371B2 (en) Magnetic data reader
JPH11328872A (en) Magnetic data reader
JP2581042B2 (en) Skew correction circuit
KR0143545B1 (en) Frame sync. detecting circuit for data recording equipment
JPH11328882A (en) Magnetic data reader
JPH08235512A (en) Magnetic data reader
JPH0512813A (en) Digital data reproduction method and device
JPS6292178A (en) Error detection method
JPH06180971A (en) Envelope detection circuit
JPH07320212A (en) Magnetic data reader
JP2003077102A (en) Method for detecting stop section of magnetic recording medium and method for demodulating data of magnetic recording data