JPH06103581B2 - Method of analyzing magnetic recording data - Google Patents

Method of analyzing magnetic recording data

Info

Publication number
JPH06103581B2
JPH06103581B2 JP60137032A JP13703285A JPH06103581B2 JP H06103581 B2 JPH06103581 B2 JP H06103581B2 JP 60137032 A JP60137032 A JP 60137032A JP 13703285 A JP13703285 A JP 13703285A JP H06103581 B2 JPH06103581 B2 JP H06103581B2
Authority
JP
Japan
Prior art keywords
data
interval
magnetic
magnetic flux
flux reversal
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 - Lifetime
Application number
JP60137032A
Other languages
Japanese (ja)
Other versions
JPS61296578A (en
Inventor
研治 園田
Original Assignee
株式会社プライム
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 株式会社プライム filed Critical 株式会社プライム
Priority to JP60137032A priority Critical patent/JPH06103581B2/en
Publication of JPS61296578A publication Critical patent/JPS61296578A/en
Publication of JPH06103581B2 publication Critical patent/JPH06103581B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、周波数変調方式により磁気記録媒体に連続的
に記録されたデータが所定の規格で記録されているか否
かを判定する磁気記録データの分析方法に関する。
Description: TECHNICAL FIELD The present invention relates to magnetic recording data for determining whether or not data continuously recorded on a magnetic recording medium by a frequency modulation method is recorded according to a predetermined standard. Analysis method.

〔従来技術とその問題点〕[Prior art and its problems]

近年、キャッシュカード,身分証明用のIDカード,タイ
ムカード,入室管理カードあるいは各種会員カード等と
して、磁気カードが広く用いられており、この磁気カー
ドの磁気記録媒体となる磁気ストライプに書き込まれた
社名,個人名あるいは登録番号等の磁気記録データを磁
気カードリーダで読み取って所定のデータ処理を行うよ
うになされている。
In recent years, magnetic cards have been widely used as cash cards, ID cards for identification, time cards, entrance management cards, various membership cards, etc. The company name written on the magnetic stripe that is the magnetic recording medium of this magnetic card. , Magnetic recording data such as personal name or registration number is read by a magnetic card reader to perform predetermined data processing.

ところで、磁気カードの磁気ストライプに、前記社名,
個人名等を書き込む場合には、所定のキャラクタを2進
符号「0」「1」に置き換えて、周波数変調方式により
記録することとしている。
By the way, on the magnetic stripe of the magnetic card, the company name,
When writing an individual name or the like, a predetermined character is replaced with a binary code “0” or “1” and recorded by a frequency modulation method.

この周波数変調方式は、データの記録に際し、各データ
ビットを区切る刻時信号と、2進符号「1」を示すデー
タビット中において夫々磁束反転を与えるものであり、
刻時信号の磁束反転を一定の間隔で与えることによって
各データビットを示し、該データビット中に磁速反転が
存在しない場合は2進符号「0」を示し、データビット
の中央に磁束反転が存在する場合は2進符号「1」を示
すこととしている。
In this frequency modulation method, when recording data, a magnetic flux reversal is given in each of the clock signal for delimiting each data bit and the data bit indicating the binary code "1",
Each data bit is indicated by giving the magnetic flux reversal of the clock signal at regular intervals, and when there is no magnetic velocity reversal in the data bit, a binary code "0" is indicated, and the magnetic flux reversal is present in the center of the data bit. If it exists, the binary code "1" is indicated.

これら各データビットの記録間隔は、JIS規格によって
8.268bit/mm±4%以内に規制されており、1ビット当
たりのデータ記録間隔は約0.12mmとされている(JIS−B
9561)。
The recording interval of each of these data bits depends on the JIS standard.
It is regulated within 8.268bit / mm ± 4%, and the data recording interval per bit is about 0.12mm (JIS-B
9561).

したがって、磁気カードにデータを記録する際に、何等
かの原因で前記データ記録間隔に大きな誤差が生じた場
合には、磁気カードリーダはそのデータを読み取ること
ができないため、当該磁気カードは使用不能となるが、
このような場合、その原因を発見することは困難であっ
た。
Therefore, when a large error occurs in the data recording interval for some reason when recording data on the magnetic card, the magnetic card reader cannot read the data, and the magnetic card cannot be used. However,
In such a case, it was difficult to find the cause.

そこで従来では、磁気カードの磁気記録媒体に記録され
たデータビットのデータ記録間隔の偏差を測定すること
により当該磁気カードにデータが正確な間隔で記録され
ているか否かを判定して、使用不能となった原因を究明
する手掛りとしていた。
Therefore, conventionally, by measuring the deviation of the data recording interval of the data bits recorded on the magnetic recording medium of the magnetic card, it is determined whether or not the data is recorded at the correct interval on the magnetic card, and the data cannot be used. It was used as a clue to investigate the cause.

このような従来の判定方法を、第1図を参酌して説明す
ると、各データビットのデータ記録間隔Tiを測定し、該
データ記録間隔Tiを所定の基準データ記録間隔Tkと比較
して、各データ記録間隔Tiの偏差RTiを、 RTi=(Ti−Tk)/Tk により求めていた。
The conventional determination method will be described with reference to FIG. 1. The data recording interval Ti of each data bit is measured, and the data recording interval Ti is compared with a predetermined reference data recording interval Tk. The deviation RTi of the data recording interval Ti was calculated by RTi = (Ti-Tk) / Tk.

この基準データ記録間隔Tkとして、通常、全データビッ
トのデータ記録間隔の平均値Tavと、直前のデータビッ
トのデータ記録間隔Ti-1の二種類の値が用いられる。こ
れは、電動式のカードリーダと手動式のカードリーダと
でデータの読み取り方が異なることに基づくものであ
る。
As the reference data recording interval Tk, normally, two kinds of values, that is, an average value Tav of data recording intervals of all data bits and a data recording interval Ti −1 of the immediately previous data bit are used. This is based on the difference in how to read data between the electric card reader and the manual card reader.

即ち、電動式のカードリーダにあってはカード搬送速度
が略一定しているので、全データビットのデータ記録間
隔の平均値Tavを基準としてデータを読み込むこととし
ており、手動式のカードリーダにあってはカードの搬送
速度が一定しないので、直前のデータビットのデータ記
録間隔Ti-1を基準としてデータを読み込むこととしてい
る。
That is, in the electric card reader, since the card transport speed is substantially constant, the data is read based on the average value Tav of the data recording intervals of all data bits, which is the case in the manual card reader. However, since the card transport speed is not constant, data is read based on the data recording interval Ti -1 of the immediately previous data bit.

したがって、前者による偏差RAiは、 RAi=(Ti−Tav)/Tav 〔i≧1〕 で表され、後者による偏差RBiは、 RBi=(Ti−Ti-1)/Ti-1 〔i≧2〕 で表される。Therefore, the deviation RAi due to the former is expressed by RAi = (Ti−Tav) / Tav [i ≧ 1], and the deviation RBi due to the latter is RBi = (Ti−Ti −1 ) / Ti −1 [i ≧ 2] It is represented by.

そして、上記偏差RAi及びRBiが、所定の許容範囲内にあ
るか否かを判断することにより、各データビットが磁気
カードの磁気記録媒体に正確な間隔で記録されているか
否かを判定していた。
Then, by determining whether the deviations RAi and RBi are within a predetermined allowable range, it is determined whether or not each data bit is recorded on the magnetic recording medium of the magnetic card at an accurate interval. It was

しかしながら、上記の方法により正常であると判断され
た磁気カードであっても、実際に使用できないというト
ラブルが発生した。
However, even if the magnetic card is judged to be normal by the above method, there is a problem that it cannot be actually used.

即ち、周波数変調方式によれば、データビットに2進符
号「1」が記録される場合には、データ記録間隔の半分
の間隔(0.06mm)で磁束反転を与えることとしている
が、従来の判定方法ではデータ記録間隔Tiの偏差のみを
測定することとしているから、各データビットの略中央
において与えられる2進符号「1」の磁速反転の位置が
ずれていたとしても、これを検出することができなかっ
た。
That is, according to the frequency modulation method, when the binary code “1” is recorded in the data bit, the magnetic flux reversal is given at a half of the data recording interval (0.06 mm). Since only the deviation of the data recording interval Ti is measured in the method, even if the magnetic speed reversal position of the binary code "1" given at the approximate center of each data bit is deviated, this can be detected. I couldn't.

例えば、第1図に示す如く2番目のデータビットに2進
符号「1」が記録されているときに、中央の磁束反転位
置Pが破線で示すP′位置に偏移して、許容範囲を超え
る偏差(約±10%以上)が生じている場合であっても、
そのデータビットのデータ記録間隔T2が許容範囲内であ
れば、当該磁気カードは、実際に使用不可能であっても
正常であるという判定結果が出てしまうから、磁気カー
ドに記録されているデータの良否を正確に判定すること
ができないという問題があった。
For example, when the binary code “1” is recorded in the second data bit as shown in FIG. 1, the central magnetic flux reversal position P shifts to the P ′ position indicated by the broken line, and the allowable range is Even if there is a deviation that exceeds (± 10% or more),
If the data recording interval T 2 of the data bit is within the allowable range, the magnetic card is judged to be normal even if it is actually unusable, so it is recorded on the magnetic card. There is a problem that the quality of data cannot be accurately determined.

〔発明の目的〕[Object of the Invention]

そこで、本発明は、上記の如き従来の方法に加えて、2
進符号「1」において与えられる磁束反転位置の偏りに
よるデータ不良をも検出することにより、当該磁気記録
媒体にデータが所定の規格で記録されているか否かを確
実に判定することのできる磁気記録情報の分析方法を提
供せんとするものである。
Therefore, in addition to the conventional method as described above, the present invention
By also detecting a data defect due to the deviation of the magnetic flux reversal position given by the binary code "1", it is possible to reliably determine whether or not the data is recorded on the magnetic recording medium according to a predetermined standard. It is intended to provide a method of analyzing information.

〔発明の構成〕[Structure of Invention]

この目的を達成するために、本発明は、周波数変調方式
により磁気記録媒体に連続的に記録されたデータが所定
の規格で記録されているか否かを判定する磁気記録デー
タの分析方法であって、磁気記録媒体に記録された各デ
ータビットのデータ記録間隔を、直前のデータビットの
データ記録間隔及び全データ記録間隔の平均値と比較し
て夫々の偏差を測定すると共に、2進符号「1」が記録
されているデータビット内の前後いずれか一方の磁束反
転間隔を他方の磁束反転間隔又は直前のデータビットの
データ記録間隔の1/2と比較してその偏差を測定し、測
定された前記三種類の各偏差の量をデータ記録位置と相
関させて表示することを特徴とする。
To achieve this object, the present invention is a method of analyzing magnetic recording data for determining whether or not data continuously recorded on a magnetic recording medium by a frequency modulation method is recorded according to a predetermined standard. The data recording interval of each data bit recorded on the magnetic recording medium is compared with the data recording interval of the immediately previous data bit and the average value of all data recording intervals to measure the respective deviations and the binary code "1". '' Is measured by comparing the magnetic flux reversal interval before or after in the recorded data bit with the other magnetic flux reversal interval or 1/2 of the data recording interval of the immediately preceding data bit and measuring the deviation. It is characterized in that the amount of each of the three types of deviation is displayed in correlation with the data recording position.

〔発明の作用〕[Operation of the invention]

本発明方法によれば、磁気記録媒体に記録された各デー
タビットのデータ記録間隔の偏差を測定すると共に、2
進符号「1」において与えられる磁束反転間隔の偏差を
も測定することとしているので、従来行っていたデータ
記録間隔の大小に起因するデータの異常を検出すること
ができるのは勿論のこと、2進符号「1」が記録された
データビット中で与えられる磁束反転位置の偏りに起因
するデータの異常をも検出することができる。
According to the method of the present invention, the deviation of the data recording interval of each data bit recorded on the magnetic recording medium is measured and
Since the deviation of the magnetic flux reversal interval given by the binary code “1” is also measured, it goes without saying that it is possible to detect the abnormality of the data due to the size of the data recording interval, which is conventionally performed. It is also possible to detect a data abnormality due to the bias of the magnetic flux reversal position given in the data bit in which the binary code "1" is recorded.

また、測定された偏差は、例えば、縦軸に偏差の量をと
り、横軸にデータ記録位置をとったグラフ上に表すこと
により、どの位置に記録されたデータにどういう異常が
あるかを一目で容易に判断することができる。
In addition, the measured deviation is represented on a graph in which, for example, the amount of deviation is plotted on the vertical axis and the data recording position is plotted on the horizontal axis. You can easily judge with.

〔実施例〕〔Example〕

以下、本発明方法を図面に基づいて具体的に説明する。 Hereinafter, the method of the present invention will be specifically described with reference to the drawings.

第1図は、周波数変調方式により磁気記録媒体となる磁
気ストライプに記録されたデータと磁束との関係を示す
説明図である。
FIG. 1 is an explanatory diagram showing a relationship between data recorded on a magnetic stripe serving as a magnetic recording medium by a frequency modulation method and magnetic flux.

図中、Sは磁気カードの磁気ストライプに記録された磁
気記録情報の信号波形の一例である。
In the figure, S is an example of the signal waveform of the magnetic recording information recorded on the magnetic stripe of the magnetic card.

I1,I2…In…は、磁気カードに記録された磁束反転間隔
であって、データビットに2進符号「0」が記録されて
いるときは、該磁束反転間隔Inがデータ記録間隔Tiと等
しくなり、またデータビットに2進符号「1」が記録さ
れているときは、該磁束反転間隔In及びIn+1が夫々Zi及
びKiとなって該データビットのデータ記録間隔Tiは、 Ti=In+In+1 で表される。
I 1 , I 2 ... In are magnetic flux reversal intervals recorded on the magnetic card, and when the binary code “0” is recorded in the data bit, the magnetic flux reversal intervals In are the data recording intervals Ti. When the binary code “1” is recorded in the data bit, the magnetic flux reversal intervals In and In + 1 become Zi and Ki, respectively, and the data recording interval Ti of the data bit is Ti. = In + In + 1

なお、Zi及びKiは、夫々i番目のデータビットに2進符
号「1」が記録されている場合の前半及び後半の磁束反
転間隔である。
Zi and Ki are the magnetic flux reversal intervals in the first half and the second half when the binary code "1" is recorded in the i-th data bit, respectively.

2進符号「1」が記録されたデータ記録間隔の偏差RHi
は、そのデータビットにおける前半の磁束反転間隔Ziを
基準磁束反転間隔として、 RHi=(Ki−Zi)/Zi で定義する。
Deviation RHi of data recording interval in which binary code "1" is recorded
Is defined as RHi = (Ki−Zi) / Zi, where the first half of the magnetic flux reversal interval Zi in the data bit is the reference magnetic flux reversal interval.

なお、Fjは、データビットに「0」が記録されている場
合のビットの磁束反転間隔であって、各データビットの
磁束反転間隔に等しい。
Note that Fj is the magnetic flux reversal interval of bits when "0" is recorded in the data bits, and is equal to the magnetic flux reversal interval of each data bit.

第2図は本発明方法を使用した磁気記録データ分析装置
の基本的構成を示すブロック図、第3図はその処理手順
を示すフローチャートである。
FIG. 2 is a block diagram showing the basic structure of a magnetic recording data analyzer using the method of the present invention, and FIG. 3 is a flow chart showing the processing procedure thereof.

磁気記録データ分析装置には、少なくとも、インターフ
ェイス回路1,演算処理装置2及び記憶装置3を有するマ
イクロコンピュータで成る制御装置4が配設されてい
る。
The magnetic recording data analysis device is provided with at least a control device 4 including a microcomputer having an interface circuit 1, an arithmetic processing device 2 and a storage device 3.

ここで、インターフェイス回路1には、その入力側に磁
気カードCの磁気ストライプ6に摺接されて該磁気スト
ライプ6に記録された磁束反転位置を読み取る磁気ヘッ
ド7と、該ヘッド7に磁気カードCが摺接されているか
否かを検出する光学センサ8が接続されており、その出
力側に磁気カードCを前記磁気ヘッド7に対し一定の速
度で摺接させる搬送装置9と、CRTディスプレイ10と、
プリンタ11等が接続されている。
Here, in the interface circuit 1, a magnetic head 7 which is in sliding contact with the magnetic stripe 6 of the magnetic card C on the input side thereof and reads the magnetic flux reversal position recorded in the magnetic stripe 6, and the magnetic card C in the head 7. Is connected to an optical sensor 8 for detecting whether or not the magnetic card C is in sliding contact with the magnetic head C, and a conveying device 9 for sliding the magnetic card C in contact with the magnetic head 7 at a constant speed, and a CRT display 10. ,
The printer 11 and the like are connected.

そして、搬送装置9により磁気カードCを一定速度(例
えば19cm/s)で搬送しなから、該磁気ヘッド7で磁束反
転を検出するたびごとにクロック(図示せず)を作動さ
せて計時すれば、磁束反転間隔Inは時間で表されること
になる。なお、磁気カードCを19cm/sで搬送したとき
に、JIS規格通りに信号が記録されていれば、データビ
ット間隔Tiは約637μsであり、2進符号「1」が記録
されたデータビットの磁束反転間隔Zi及びKiは約318μ
sである。
Since the magnetic card C is not conveyed by the conveying device 9 at a constant speed (for example, 19 cm / s), a clock (not shown) is activated each time the magnetic head 7 detects the reversal of magnetic flux to measure the time. , The magnetic flux reversal interval In will be expressed in time. If the signal is recorded according to JIS when the magnetic card C is transported at 19 cm / s, the data bit interval Ti is about 637 μs, and the data bit recorded with the binary code “1” is Magnetic flux reversal interval Zi and Ki is about 318μ
s.

演算処理装置2は、前記ヘッド7から読み取られた全て
の磁束反転間隔Inに基づいて所定の演算処理を実行し、
データ記録間隔の偏差RAi,RBi及び2進符号「1」が記
録されたデータビットの磁束反転間隔の偏差RHjを算出
してこれらの値に基づいて磁気カードに記録されたデー
タの異常を検出し、その検出を出力する。
The arithmetic processing unit 2 executes a predetermined arithmetic processing based on all the magnetic flux reversal intervals In read from the head 7,
The deviations RAi, RBi of the data recording intervals and the deviation RHj of the magnetic flux reversal intervals of the data bits in which the binary code “1” is recorded are calculated, and the abnormality of the data recorded in the magnetic card is detected based on these values. , Output its detection.

記憶装置3は、前記演算処理装置2の演算処理に必要な
処理プログラムと演算処理過程で必要な処理データを記
憶し、また演算処理結果を一時記憶する。
The storage device 3 stores a processing program necessary for the arithmetic processing of the arithmetic processing device 2 and processing data necessary in the arithmetic processing process, and also temporarily stores the arithmetic processing result.

以下、第3図に示すフローチャートに基づいて演算処理
装置2の処理手順を説明する。
The processing procedure of the arithmetic processing unit 2 will be described below based on the flowchart shown in FIG.

ここで、ステップからステップまでが、磁気カード
Cの磁気ストライプ6に記憶された信号波形Sの磁束反
転間隔Inの読取手順であり、ステップからステップ
までが2進符号判定手段であり、ステップからステッ
プまでがデータ不良検出手段である。
Here, the steps from step to step are the procedure for reading the magnetic flux reversal interval In of the signal waveform S stored in the magnetic stripe 6 of the magnetic card C, the steps from step to step are the binary code determination means, and the steps from step to step. The above are the data defect detecting means.

スイッチ(図示せず)をオンすると、前記分析装置が起
動されて第2図に示す処理の実行が開始され、まずステ
ップにおいて分析する磁気カードCが挿通口(図示せ
ず)に挿通されたか否かを判定し、磁気カードCが挿通
されたときはステップに移行し、磁気カードCが挿通
されないときは挿通されるまで待機する。
When a switch (not shown) is turned on, the analyzer is started and the processing shown in FIG. 2 is started, and it is determined whether or not the magnetic card C to be analyzed in step 1 is inserted into the insertion port (not shown). It is determined whether or not the magnetic card C is inserted, the process proceeds to step, and when the magnetic card C is not inserted, the process waits until the magnetic card C is inserted.

次いで、ステップでは、磁束反転間隔Inのインデック
スn=1と置いた後、ステップに移行して搬送装置9
を駆動させ磁気カードCを一定速度(例えば19cm/s)で
搬送し、ステップに移行する。
Next, in the step, after setting the index n = 1 of the magnetic flux reversal interval In, the process proceeds to the step and the transport device 9
Is driven to convey the magnetic card C at a constant speed (for example, 19 cm / s), and the process proceeds to step.

ステップで磁気ヘッド7により磁束反転を検出する
と、ステップに移行し、制御装置4内に配設されたク
ロック(図示せず)を作動させて磁束反転間隔Inを表す
時間の計時を開始する。
When magnetic flux reversal is detected by the magnetic head 7 in step, the process proceeds to step and a clock (not shown) provided in the control device 4 is operated to start timing of a time indicating the magnetic flux reversal interval In.

次いで、ステップで次の磁束反転を検出したときは、
ステップに移行してクロックによる計時を一旦停止
し、そのときの時間を磁束反転間隔Inとして記憶装置の
所定の記憶領域に記憶させる。そして、ステップでク
ロックをリセットし、ステップでインデックスn=n
+1と置き換えた後、再びステップに戻って、次の磁
束反転間隔Inの計時を開始する。
Then, when the next flux reversal is detected in step,
After shifting to the step, the clocking is temporarily stopped, and the time at that time is stored as a magnetic flux reversal interval In in a predetermined storage area of the storage device. Then, in step, the clock is reset, and in step, index n = n
After replacing with +1, the process returns to the step again to start measuring the next magnetic flux reversal interval In.

なお、ステップで磁束反転を検出しないときは、ステ
ップに移行して磁束反転間隔Inの読み込みが終了した
か否かを判定する。
When the magnetic flux reversal is not detected in the step, the process shifts to the step to determine whether or not the reading of the magnetic flux reversal interval In is completed.

この判定は、光学センサ8の出力によって、磁気カード
Cの磁気ストライプ6が磁気ヘッド7に摺接されている
か否かを判断することによって行う。そして、磁気スト
ライプ6がまだ磁気ヘッド7に摺接されているときはス
テップに戻り、また磁気カードCが磁気ヘッド6を通
過して磁束反転間隔Inの読み取りが終了したときは、ス
テップに移行して、前記搬送装置9の駆動を停止する
と共にクロックの作動を停止し、ステップに移行して
最後の磁束反転間隔Inのインデックスnの値neを記憶し
た後、ステップ以下の2進符号判定手段に移行する。
This judgment is made by judging whether or not the magnetic stripe 6 of the magnetic card C is in sliding contact with the magnetic head 7 based on the output of the optical sensor 8. When the magnetic stripe 6 is still in sliding contact with the magnetic head 7, the process returns to the step. When the magnetic card C passes through the magnetic head 6 and the reading of the magnetic flux reversal interval In is completed, the process proceeds to the step. Then, the driving of the carrier device 9 is stopped and the operation of the clock is stopped, and the process proceeds to the step to store the value ne of the index n of the last magnetic flux reversal interval In, and then to the binary code determination means after the step. Transition.

即ち、磁束反転間隔Inは、記憶されている2進符号
「0」「1」の別に拘わらず読み取っているので、その
読み取ったデータに基づいてデータビットに記録された
データが「0」か「1」かを判断し、各データビットに
ついてデータ記録間隔Ti及び2進符号「1」が記録され
ている場合の磁束反転間隔Zi,Ki等を求める。
That is, since the magnetic flux reversal interval In is read regardless of the stored binary code “0” or “1”, whether the data recorded in the data bit is “0” or “0” based on the read data. 1 "is determined, and the magnetic flux reversal intervals Zi, Ki, etc. when the data recording interval Ti and the binary code" 1 "are recorded for each data bit are obtained.

まず、ステップでデータ記録間隔Tiのインデックスi
=0,「0」が記録されたデータビットの磁束反転間隔Fj
のインデックスj=0,磁束反転間隔Inのインデックスn
=1と置くと共に、s=1と設定した後、ステップに
移行して記憶装置3に記憶した磁束反転間隔Inを呼び出
す。
First, in step, the index i of the data recording interval Ti
= 0, the magnetic flux reversal interval Fj of the data bit in which "0" is recorded
Index j of 0, index n of magnetic flux reversal interval In
After setting = 1 and setting s = 1, the process proceeds to step and the magnetic flux reversal interval In stored in the storage device 3 is called.

次いで、ステップにおいて当該磁束反転間隔Inを含む
データビットが「0」であるか「1」であるかを判定す
る。この判定は、磁束反転間隔Inと予め設定された間隔
I(637μs)とを比較し、例えばIn>0.7Iであれば
「0」、In≦0.7Iであれば「1」と判断する。
Next, in step, it is determined whether the data bit including the magnetic flux reversal interval In is “0” or “1”. In this determination, the magnetic flux reversal interval In is compared with a preset interval I (637 μs), and for example, it is determined to be “0” if In> 0.7I and “1” if In ≦ 0.7I.

そして、「0」と判断された場合は、ステップに移行
してインデックスi=i+1,j=j+1と置き換えると
共にs=1と置いた後、ステップに移行し、データ記
録間隔Ti=In及び「0」が記録されたデータビットの磁
束反転間隔Fj=Inとして、前記Ti及びFjを記憶装置3の
所定の記憶領域に記憶する。
If it is determined to be "0", the process shifts to the step, the index i = i + 1, j = j + 1 is replaced and s = 1 is set, and then the process shifts to the data recording interval Ti = In and "0". The magnetic flux reversal interval Fj of the data bits in which “” is recorded is set to Fj = In, and Ti and Fj are stored in a predetermined storage area of the storage device 3.

また、前記ステップにおいて「1」と判断されたとき
は、ステップに移行し、当該磁束反転間隔Inが、該デ
ータビットの前半の磁束反転間隔Ziであるか後半の磁束
反転間隔Kiであるかを判定する。この判定は、sの値に
よって判断し、s=1のときは前半、s=2のときは後
半とする。
If it is determined to be "1" in the above step, the process proceeds to step to determine whether the magnetic flux reversal interval In is the first half magnetic flux reversal interval Zi or the second half magnetic flux reversal interval Ki of the data bit. judge. This determination is made based on the value of s. The first half is set when s = 1 and the second half is set when s = 2.

そして、s=1と判断されたときはステップに移行し
てインデックスi=i+1と置き換えた後、ステップ
で前半の磁束反転間隔Zi=Inと置いて記憶装置3の所定
の記憶領域に記憶し、ステップでs=2と置き換え
る。
When it is determined that s = 1, the process shifts to the step, the index i = i + 1 is replaced, and in the step, the first half magnetic flux reversal interval Zi = In is stored in a predetermined storage area of the storage device 3, Replace s = 2 in step.

さらに、前記ステップでs=2と判断されたときは、
ステップで後半の磁束反転間隔Ki=Inと置き、ステッ
プで当該データビットのデータ記録間隔Ti=Zi+Kiを
算出すると共にs=1と置き換えて、前記Ki及びTiを所
定の記憶領域に記憶する。
Further, when s = 2 is determined in the above step,
In the step, the latter half magnetic flux reversal interval Ki = In is set, and in the step, the data recording interval Ti = Zi + Ki of the data bit is calculated and replaced with s = 1 to store the Ki and Ti in a predetermined storage area.

次いで、前記ステップ,又はからステップに移
行し、全ての磁束反転間隔Inに対して処理を終了したか
否かを判定する。この判定は、インデックスnの値がス
テップで記憶した最終値neと等しいか否かを判断する
ことにより行い、n≠neのときはステップに移行して
n=n+1と置き換えた後ステップに戻って処理を継
続し、n=neに達したときはステップに移行してイン
デックスiの最終値ieを記憶した後、ステップ以下の
データ不良検出手段に移行する。
Then, the process shifts to the step or to the step, and it is determined whether or not the processing has been completed for all the magnetic flux reversal intervals In. This determination is performed by determining whether the value of the index n is equal to the final value ne stored in the step. When n ≠ ne, the process proceeds to the step and replaces n = n + 1 and then returns to the step. The process is continued, and when n = ne is reached, the process proceeds to the step, the final value ie of the index i is stored, and then the process proceeds to the data defect detecting means at the step and below.

まず、ステップでは、全データビットのデータ記録間
隔Ti(1≦i≦ie)の平均値Tavを算出し、ステップ
に移行して、データ記録間隔の偏差RAi,RBi及び2進符
号「1」が記録されたデータビットの磁束反転間隔の偏
差RHiを算出する。
First, in the step, the average value Tav of the data recording intervals Ti (1 ≦ i ≦ ie) of all the data bits is calculated, and the process proceeds to the step, where the deviations RAi, RBi of the data recording intervals and the binary code “1” are calculated. The deviation RHi of the magnetic flux reversal interval of the recorded data bits is calculated.

次に、ステップに移行して前記各偏差RAi,RBi及びRHi
が所定の許容範囲以内(例えば±10〜15%以内)である
か否かを判定し、許容範囲を超える偏差がある場合は、
ステップに移行し、所定のエラーメッセージをCRTデ
ィスプレイ10又はプリンタ11に出力することにより、ま
たは所定のブザー音を発し、あるいはLEDを点灯表示す
るなどして、当該カードCにデータ異常があることを報
知してステップに移行する。
Next, the step proceeds to the above deviations RAi, RBi and RHi.
Is within a predetermined tolerance range (for example, within ± 10 to 15%), and if there is a deviation beyond the tolerance range,
By moving to a step and outputting a predetermined error message to the CRT display 10 or the printer 11, issuing a predetermined buzzer sound, or displaying an LED for lighting, it is possible to detect that there is a data abnormality in the card C. Notify and move to step.

また、許容範囲をこえる偏差がない場合はステップに
移行し、スイッチあるいはキーボード(図示せず)等か
らの指示により所定のデータを出力して処理を終了す
る。
If there is no deviation exceeding the permissible range, the process proceeds to step, and predetermined data is output according to an instruction from a switch, a keyboard (not shown) or the like, and the process ends.

なお、ステップの出力内容として、例えば偏差RAi,RB
i及びRHiの分布状態が一目でわかるように、第4図に示
す如く各偏差を、X軸にデータビットの記録位置,Y軸に
偏差の値(%)を取ったグラフ上にドット表示する。こ
のとき、グラフの表示範囲を超える偏差を生じた場合は
該グラフの上限ラインU又は下限ラインD上に出力され
るようになされている。
The output contents of the steps include, for example, deviations RAi, RB
As shown in Fig. 4, each deviation is displayed in dots on the graph with the data bit recording position on the X-axis and the deviation value (%) on the Y-axis so that the distribution state of i and RHi can be seen at a glance. . At this time, when a deviation exceeding the display range of the graph occurs, the deviation is output on the upper limit line U or the lower limit line D of the graph.

また、「0」が記録されたデータビットの磁束反転間隔
Fjと、「1」が記録された磁束反転間隔Zi及びKiと、デ
ータ記録間隔Tiの夫々について最大値,最小値及び平均
値がμs単位で出力される。
Also, the magnetic flux reversal interval of the data bit in which "0" is recorded
The maximum value, the minimum value, and the average value of Fj, the magnetic flux reversal intervals Zi and Ki in which “1” is recorded, and the data recording interval Ti are output in μs units.

更に、各データビットに記録されているデータが、2進
符号「0」「1」に置き換えて出力される。
Further, the data recorded in each data bit is replaced with the binary code “0” and “1” and output.

以下、上記の如く構成された記録情報分析装置による本
発明方法を第1図に基づいて説明する。
Hereinafter, the method of the present invention by the recording information analyzing apparatus configured as described above will be described with reference to FIG.

まず、スイッチ(図示せず)をオンして、信号波形Sが
記録された磁気カードCを分析装置の挿通口に挿入する
と搬送装置9が駆動され、磁気ヘッド7で信号波形S磁
束反転を検出するたびごとに、クロックが作動されて磁
束反転間隔Inを時間で測定し、記憶装置3に記憶する
〔ステップ〜〕。
First, when a switch (not shown) is turned on and the magnetic card C on which the signal waveform S is recorded is inserted into the insertion opening of the analyzer, the carrier device 9 is driven and the magnetic head 7 detects the magnetic flux reversal of the signal waveform S. Each time, the clock is activated and the magnetic flux reversal interval In is measured in time and stored in the storage device 3 [steps-].

信号波形Sにおいて、最初のデータビットには「0」が
記録されているので最初の磁束反転間隔I1≒Iである。
したがって、I1>0.7Iとなり該磁束反転間隔I1は「0」
のデータビットを構成する磁束反転間隔として取り扱わ
れ〔ステップ〕、I1はそのまま該データビットのデー
タ記録間隔T1及び「0」が記録されたデータビットの磁
束反転間隔F1として記憶装置3に記憶される〔ステップ
〕 次に、2番目のデータビットには「1」が記録されてい
るから、その磁束反転間隔I2≒I/2である。したがっ
て、I2≦0.7Iとなり該磁束反転間隔I2は「1」のデータ
ビットを構成する磁束反転間隔として取り扱われる〔ス
テップ)〕。このとき、sの値はステップでs=1
と設定されたままなので、磁束反転間隔I2は該データビ
ットの前半の磁束反転間隔Z2=I2として記憶される〔ス
テップ〕。
In the signal waveform S, since "0" is recorded in the first data bit, the first magnetic flux reversal interval I 1 ≈I.
Therefore, I 1 > 0.7I and the magnetic flux reversal interval I 1 is “0”.
Is treated as the magnetic flux reversal interval constituting the data bit [step], and I 1 is stored in the storage device 3 as the data recording interval T 1 of the data bit and the magnetic flux reversal interval F 1 of the data bit in which “0” is recorded. [Step] Next, since “1” is recorded in the second data bit, the magnetic flux reversal interval I 2 ≈I / 2. Therefore, I 2 ≦ 0.7I, and the magnetic flux reversal interval I 2 is treated as the magnetic flux reversal interval constituting the data bit of “1” [step]. At this time, the value of s is s = 1 in steps.
Therefore, the magnetic flux reversal interval I 2 is stored as the magnetic flux reversal interval Z 2 = I 2 in the first half of the data bit [step].

そして、次の磁束反転間隔I3も同様に「1」のデータビ
ットを構成する磁束反転間隔として取り扱われるが〔ス
テップ〕、このときsの値はステップでs=2と設
定されているので、磁束反転間隔I3は該データビットの
後半の磁束反転間隔K2として記憶され〔ステップ〕、
更に該データビットのデータ記録間隔T2はT2=Z2+K2
して記憶される〔ステップ〕。
Then, the next magnetic flux reversal interval I 3 is also treated as the magnetic flux reversal interval that constitutes the data bit of “1” [step], but at this time, the value of s is set to s = 2 in step, The magnetic flux reversal interval I 3 is stored as the magnetic flux reversal interval K 2 in the latter half of the data bit (step),
Further, the data recording interval T 2 of the data bit is stored as T 2 = Z 2 + K 2 [step].

そして、入力された全ての磁束反転間隔In(n=1〜n
e)に対し以上の処理を繰り返し、前記データ記録間隔T
iに基づいてその平均値Tavを算出〔ステップ〕すると
同時に、該平均値Tav,データ記録間隔Ti及び磁束反転間
隔Ki,Ziに基づいて偏差RAi,RBi及びRHiを、 RAi=(Ti−Tav)/Tav RBi=(Ti−Ti-1)/Ti-1 RHi=(Ki−Zi)/Zi により算出し〔ステップ〕、各偏差が許容範囲(例え
ば±10〜15%)を超える場合は、所定のエラーメッセー
ジを出力して、該磁気カードCにデータ異常があること
を検出する〔ステップ〜〕。
Then, all the input magnetic flux reversal intervals In (n = 1 to n
The above processing is repeated for e), and the data recording interval T
At the same time that the average value Tav is calculated [step] based on i, the deviations RAi, RBi and RHi are calculated based on the average value Tav, the data recording interval Ti and the magnetic flux reversal interval Ki, Zi, RAi = (Ti-Tav) / Tav RBi = (Ti-Ti -1 ) / Ti -1 RHi = (Ki-Zi) / Zi Calculate [step], if each deviation exceeds the allowable range (for example ± 10 to 15%) Error message is output to detect that the magnetic card C has a data error [step-].

このように、本発明による磁気記録データ分析方法によ
れば、従来より測定されていた各データビットのデータ
記録間隔の偏差RAi及びRBiだけでなく、2進符号「1」
が記録されたデータビットの磁束反転間隔の偏差RHiを
も測定することとしているので、データ記録間隔Tiの誤
差に起因するデータ不良は勿論のこと、従来の分析方法
では検出することができなかった2進符号「1」の磁束
反転位置のずれに起因するデータ不良をも検出すること
ができ、したがって、当該磁気カードが正常に使用し得
るものであるか否かを正しく判定することができる。
As described above, according to the magnetic recording data analysis method of the present invention, not only the deviations RAi and RBi of the data recording intervals of the respective data bits, which have been conventionally measured, but also the binary code “1” is used.
Since the deviation RHi of the magnetic flux reversal interval of the recorded data bit is also measured, not only the data defect due to the error of the data recording interval Ti but also the conventional analysis method cannot detect it. It is also possible to detect a data defect due to the deviation of the magnetic flux reversal position of the binary code “1”, and therefore it is possible to correctly determine whether or not the magnetic card can be normally used.

また、本実施例によれば、各偏差の分布状態がグラフ等
によって可視表示されるので、当該磁気カードが正常で
ないと判断された場合に、データの不良箇所及びその程
度を一目で判断することができる。また、データ異常が
ない場合でも、その結果を検討することにより磁気カー
ドCにデータを入力するエンコーダの性能等を知ること
ができる。
Further, according to the present embodiment, since the distribution state of each deviation is visually displayed by a graph or the like, when the magnetic card is judged to be not normal, it is possible to judge at a glance the defective portion of the data and its degree. You can Even when there is no data abnormality, the performance of the encoder that inputs data to the magnetic card C can be known by examining the result.

さらに、磁気カードCに記録された信号波形Sの磁束反
転を検出して磁束反転間隔Inを測定する際に、磁束反転
の方向及びパルス高さをも検出することとすれば、信号
波形の連続性及び記録された磁界の強度不足に基づくデ
ータ不良を判定することができる。
Further, when detecting the magnetic flux reversal of the signal waveform S recorded on the magnetic card C and measuring the magnetic flux reversal interval In, if the direction of the magnetic flux reversal and the pulse height are also detected, the continuous signal waveform Data defects due to poor quality of recorded data and recorded magnetic field strength can be determined.

また、読み取った磁束反転間隔Inを積算し、磁気カード
Cの搬送速度(19cm/s)との積を求め、各データビット
の記録位置を算出すれば、当該カードCの所定のデータ
(STX,LRC)が、例えばJIS−B9561に基づく記録様式に
基づいて所定の位置に記録されているか否かを判定する
ことができる。
Further, the read magnetic flux reversal interval In is integrated, the product with the transport speed (19 cm / s) of the magnetic card C is calculated, and the recording position of each data bit is calculated, whereby the predetermined data (STX, It is possible to determine whether or not LRC) is recorded at a predetermined position based on a recording format based on JIS-B9561, for example.

更にまた、必要に応じて読み取った全ての磁束反転間隔
Inを出力させれば、該データを検討することによって、
より詳細な分析を行うことができる。
Furthermore, all magnetic flux reversal intervals read as needed.
If you output In, by examining the data,
More detailed analysis can be performed.

なお、上記実施例の説明では、2進符号「1」が記録さ
れたデータビットの磁束反転間隔の偏差RHiを、前半の
磁束反転間隔Ziと後半の磁束反転間隔Kiとで、 RHi=(Ki−Zi)/Zi により定義したが、本発明はこれに限らず、例えば該デ
ータビットのデータ記録間隔Tiの1/2を基準磁束反転間
隔として、 RHi=2(Zi−Ti/2)/Ti のように定義される場合であってもよい。
In the description of the above embodiment, the deviation RHi of the magnetic flux reversal interval of the data bit in which the binary code “1” is recorded is RHi = (Ki -Zi) / Zi, but the present invention is not limited to this, and for example, RHi = 2 (Zi-Ti / 2) / Ti with 1/2 of the data recording interval Ti of the data bit as the reference flux reversal interval. May be defined as follows.

また、実施例においては、磁気カードCに記録された全
てのデータを分析する場合について説明したが、磁気カ
ードCの特定の範囲、例えば初め符号STXが記録された
データビットからLRC符号が記録されたデータビットま
でのデータについてのみ分析するものであってもよい。
Further, in the embodiment, the case where all the data recorded on the magnetic card C is analyzed has been described, but the LRC code is recorded from a specific range of the magnetic card C, for example, the data bit where the code STX is first recorded. It is also possible to analyze only data up to the data bit.

更に、実施例では本発明方法を、磁気カードに記録され
たデータの分析に適用した場合について説明したが、そ
の他任意の磁気記録媒体に記録されたデータの分析にも
適用できることは勿論である。
Furthermore, in the embodiment, the case where the method of the present invention is applied to the analysis of the data recorded on the magnetic card has been described, but it goes without saying that the method of the present invention can also be applied to the analysis of the data recorded on any other magnetic recording medium.

〔発明の効果〕〔The invention's effect〕

以上述べたように、本発明方法によれば、記録媒体に記
録された各データビットのデータ記録間隔の偏差を測定
すると共に、これに加えて2進符号「1」において与え
られる磁束反転間隔の偏差をも測定することとしている
から、従来より行われていたデータ記録間隔の誤差に起
因するデータの異常を検出することができるのは勿論の
こと、2進符号「1」が記録されたデータビット間で与
えられる磁束反転位置の偏りに起因するデータの異常を
も検出することができるので、当該磁気記録媒体に対す
るデータの記録状態の良否を正確に分析して判定するこ
とができるという優れた効果があり、記録媒体に磁気情
報を記録する入力装置の異常を推測する有力な基礎デー
タを提供することができるという有用性がある。
As described above, according to the method of the present invention, the deviation of the data recording interval of each data bit recorded on the recording medium is measured, and in addition to this, the magnetic flux reversal interval given by the binary code “1” Since the deviation is also measured, it goes without saying that it is possible to detect the abnormality of the data due to the error of the data recording interval, which has been conventionally performed, and the data in which the binary code “1” is recorded. Since it is also possible to detect an abnormality in the data due to the deviation of the magnetic flux reversal position given between the bits, it is possible to accurately analyze and determine the quality of the recording state of the data on the magnetic recording medium, which is excellent. There is an effect that it is possible to provide effective basic data for estimating the abnormality of the input device for recording magnetic information on the recording medium.

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

第1図は本発明方法を説明するために磁気記録媒体に記
録された磁気記録情報の信号波形を示す図、第2図は本
発明方法を適用した磁気記録情報の分析装置の基本構成
を示すブロック図、第3図はその演算処理装置の処理手
順を示すフローチャート、第4図は磁気記録情報の分析
結果を示すグラフである。 符号の説明 4……制御装置、7……磁気ヘッド、8……光学セン
サ、9……搬送装置、10……CRTディスプレイ、11……
プリンタ、S……信号波形、Ti……データ記録間隔、Z
i,Ki,In……磁束反転間隔。
FIG. 1 is a diagram showing a signal waveform of magnetic recording information recorded on a magnetic recording medium for explaining the method of the present invention, and FIG. 2 is a basic configuration of an apparatus for analyzing magnetic recording information to which the method of the present invention is applied. FIG. 3 is a block diagram, FIG. 3 is a flowchart showing the processing procedure of the arithmetic processing unit, and FIG. 4 is a graph showing the analysis result of magnetic recording information. Explanation of symbols 4 ... Control device, 7 ... Magnetic head, 8 ... Optical sensor, 9 ... Conveying device, 10 ... CRT display, 11 ...
Printer, S ... Signal waveform, Ti ... Data recording interval, Z
i, Ki, In ... Magnetic flux reversal interval.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】周波数変調方式により磁気記録媒体に連続
的に記録されたデータが所定の規格で記録されているか
否かを判定する磁気記録データの分析方法であって、磁
気記録媒体に記録された各データビットのデータ記録間
隔を、直前のデータビットのデータ記録間隔及び全デー
タ記録間隔の平均値と比較して夫々の偏差を測定すると
共に、2進符号「1」が記録されているデータビット内
の前後いずれか一方の磁束反転間隔を他方の磁束反転間
隔又は直前のデータビットのデータ記録間隔の1/2と比
較してその偏差を測定し、測定された前記三種類の各偏
差の量をデータ記録位置と相関させて表示することを特
徴とする磁気記録データの分析方法。
1. A method of analyzing magnetic recording data for determining whether or not data continuously recorded on a magnetic recording medium by a frequency modulation method is recorded according to a predetermined standard. The data recording interval of each data bit is compared with the data recording interval of the immediately preceding data bit and the average value of all the data recording intervals to measure the respective deviations, and the data in which the binary code "1" is recorded. Either the magnetic flux reversal interval before or after in the bit is compared with the other magnetic flux reversal interval or 1/2 of the data recording interval of the immediately preceding data bit, and the deviation is measured, and the deviation of each of the three types of the measured deviations is measured. A method for analyzing magnetic recording data, characterized in that the amount is displayed in correlation with the data recording position.
JP60137032A 1985-06-25 1985-06-25 Method of analyzing magnetic recording data Expired - Lifetime JPH06103581B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60137032A JPH06103581B2 (en) 1985-06-25 1985-06-25 Method of analyzing magnetic recording data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60137032A JPH06103581B2 (en) 1985-06-25 1985-06-25 Method of analyzing magnetic recording data

Publications (2)

Publication Number Publication Date
JPS61296578A JPS61296578A (en) 1986-12-27
JPH06103581B2 true JPH06103581B2 (en) 1994-12-14

Family

ID=15189251

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60137032A Expired - Lifetime JPH06103581B2 (en) 1985-06-25 1985-06-25 Method of analyzing magnetic recording data

Country Status (1)

Country Link
JP (1) JPH06103581B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55146623A (en) * 1980-04-14 1980-11-15 Sanyo Electric Co Ltd Demodulating circuit for self-clocking information signal
JPS5930217A (en) * 1982-08-06 1984-02-17 インタ−ナシヨナル ビジネス マシ−ンズ コ−ポレ−シヨン Demodulator having error detection mechanism

Also Published As

Publication number Publication date
JPS61296578A (en) 1986-12-27

Similar Documents

Publication Publication Date Title
CA1040313A (en) Code recognition apparatus
US4506309A (en) Tape drive calibration meter
US20100212987A1 (en) Drinking level detecting system and drinking level detecting method
JPH06103581B2 (en) Method of analyzing magnetic recording data
US20060103961A1 (en) Digital recording and reproducing apparatus, recording medium used therefor, and error factor estimating method and error factor estimating system thereof
KR910001261B1 (en) Distinction system of coin
EP0925559B1 (en) Magnetic reader
US6327378B1 (en) Character recognition method
JPH06300603A (en) Meter internal data reading/displaying device
JPH03504159A (en) Method and apparatus for evaluating quadrature encoders
JPH06105490B2 (en) Method of analyzing magnetic recording data
JPH06105537B2 (en) Method of analyzing magnetic recording data
JP2003016604A (en) Magnetic recording data analysis method for magnetic card
JPH08334515A (en) Automatic analysis device
CN116039713B (en) Intelligent damage identification management system for steel rail
JP2750766B2 (en) Punch hole detection method for magnetic recording cards
JPH0478984A (en) Conveying speed measuring system for magnetic card
JP3560213B2 (en) Vehicle operation record analysis system, vehicle operation record analysis device, and recording medium
JPH06105489B2 (en) Method of analyzing magnetic recording data
JP3005305B2 (en) Inspection device
JPH09506451A (en) Device and method for detecting and recording a string of alphanumeric characters on the surface of a ferromagnetic member
JPH11161903A (en) Magnetic card system
JPH07104032A (en) Semiconductor inspection system
JPH05114056A (en) Card reader device
JPH05298605A (en) Magnetic recorder

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term