JP2000311451A - Data demodulating method - Google Patents

Data demodulating method

Info

Publication number
JP2000311451A
JP2000311451A JP11116202A JP11620299A JP2000311451A JP 2000311451 A JP2000311451 A JP 2000311451A JP 11116202 A JP11116202 A JP 11116202A JP 11620299 A JP11620299 A JP 11620299A JP 2000311451 A JP2000311451 A JP 2000311451A
Authority
JP
Japan
Prior art keywords
character
peak
data
peak interval
signal
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
JP11116202A
Other languages
Japanese (ja)
Other versions
JP3748496B2 (en
Inventor
Hiroshi Nakamura
宏 中村
Mitsuo Yokozawa
満雄 横沢
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.)
Nidec Instruments Corp
Original Assignee
Sankyo Seiki Manufacturing 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 Sankyo Seiki Manufacturing Co Ltd filed Critical Sankyo Seiki Manufacturing Co Ltd
Priority to JP11620299A priority Critical patent/JP3748496B2/en
Priority to US09/551,960 priority patent/US6674786B1/en
Priority to EP00303352A priority patent/EP1047069A3/en
Publication of JP2000311451A publication Critical patent/JP2000311451A/en
Application granted granted Critical
Publication of JP3748496B2 publication Critical patent/JP3748496B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Digital Magnetic Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform correct demudulations of recorded information even when a peak shift exists in a read-out signal waveform by preparing peak interval values of respective bits constituting one character as a reference arrangement pattern for every character preliminarily and measuring time intervals among respective peaks of a reproduced signal and comparing individual peak interval values constituting the one character with the reference arrangement pattern. SOLUTION: Peak interval values of an object pattern are obtained and they are compared with templates which are preliminarily prepared and correlation values among the peak interval values and the templates are calculated, After calculations of correlation values are completed as to all templates becoming the object of comparisons, the maximum correlation value is obtained from among calculated correlation values and a character corresponding to the templates is obtained, Since this data demodulating method preliminarily prepares peak interval values of respective bits constituting one character as a reference arrangement pattern for every character and prepares time intervals of the reproduced signals as reference patterns and judges a character corresponding to a reference arrangement pattern indicating the highest similarity to be a corresponding character by measuring time intervals of the reproduced signal, the demodulating of recorded information is not affected by the jitter.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えば磁気カード
等に記録されているデータ信号の復調方法に関するもの
で、周波数変調方式により記録されているデータを高い
信頼性で復調することができるようにしたデータの復調
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of demodulating a data signal recorded on, for example, a magnetic card or the like, so that data recorded by a frequency modulation method can be demodulated with high reliability. And a method for demodulating the data.

【0002】[0002]

【従来の技術】例えば磁気カードリーダ等の記録再生装
置においては、Fおよび2Fという2種類の周波数の組
み合わせによって2値のデータ信号を記憶するFM変調
方式が一般に知られている。このFM変調方式によって
記録されたデータの再生時は、磁気カードの磁気ストラ
イプに対して相対的に磁気ヘッドを摺動させることによ
り、磁気記録データをアナログ再生信号の形態で再生
し、このアナログ再生信号の信号波形に基づき、2値デ
ータを復調するようになっている。
2. Description of the Related Art For example, in a recording / reproducing apparatus such as a magnetic card reader, an FM modulation method for storing a binary data signal by a combination of two kinds of frequencies of F and 2F is generally known. When reproducing data recorded by the FM modulation method, the magnetic recording data is reproduced in the form of an analog reproduction signal by sliding the magnetic head relative to the magnetic stripe of the magnetic card. The binary data is demodulated based on the signal waveform of the signal.

【0003】一般的な磁気カードの磁気ストライプは、
実際に記録データが記憶されている有効データ領域だけ
ではなく、その前の同期ビット領域と、記録データの始
まりを示すSTXコード領域と、有効データ領域の後ろ
のデータ終了を示すETXコード領域、LRCコード領
域および同期ビット領域を有している。
The magnetic stripe of a general magnetic card is
Not only the valid data area where the recording data is actually stored, but also the preceding synchronization bit area, the STX code area indicating the start of the recording data, the ETX code area indicating the end of the data after the valid data area, the LRC It has a code area and a synchronization bit area.

【0004】図12に上記のような従来の磁気カードの
記録データ復調時の一般的な機能ブロックを、図13に
その各部の信号波形を示す。図12において、磁気カー
ド10が相対移動することにって得られる磁気ヘッド1
1の出力信号は二つの増幅器12、15によって増幅さ
れる。増幅器12の出力信号はピーク検出回路13によ
ってピーク検出が行われ、ピーク検出回路13のピーク
検出信号はコンパレータ14によってゼロレベルと比較
されゼロクロス点が検出されるようになっている。他方
の増幅器15の出力信号はコンパレータ16によってゼ
ロクロス点が検出され、その出力信号はタイミング発生
回路17に入力される。タイミング発生回路17では、
コンパレータ14の出力信号の転換位置におけるコンパ
レータ16の出力信号のレベルを見て、そのときのコン
パレータ16の出力信号レベルに応じてその出力レベル
を転換するようになっている。タイミング発生回路17
の出力信号はデータ弁別回路またはCPU18に入力さ
れ、所定の信号処理が行われることによって文字が判別
されるようになっている。
FIG. 12 shows general functional blocks at the time of demodulating the recording data of the conventional magnetic card as described above, and FIG. 13 shows signal waveforms at various parts thereof. In FIG. 12, a magnetic head 1 obtained by relative movement of a magnetic card 10 is shown.
One output signal is amplified by two amplifiers 12,15. The output signal of the amplifier 12 is subjected to peak detection by a peak detection circuit 13, and the peak detection signal of the peak detection circuit 13 is compared with a zero level by a comparator 14 to detect a zero cross point. The output signal of the other amplifier 15 has a zero-cross point detected by a comparator 16, and the output signal is input to a timing generation circuit 17. In the timing generation circuit 17,
The level of the output signal of the comparator 16 at the switching position of the output signal of the comparator 14 is viewed, and the output level is switched according to the output signal level of the comparator 16 at that time. Timing generation circuit 17
Is input to the data discriminating circuit or the CPU 18 and a predetermined signal processing is performed to determine the character.

【0005】図12に示す機能ブロックの動作を、図1
3を併せて参照しながらさらに具体的に説明する。磁気
カード10に記録されている信号の例を図13の(a)
に示す。記録信号はFおよび2Fという2種類の周波数
の組み合わせによる2値のデータ信号であって、1ビッ
ト分の時間間隔T内において信号極性の反転の有無によ
ってそのビットが「0」か「1」かを表している。図1
3(a)の例は「01101」を表している。この記録
信号を磁気ヘッド11で読み取り、増幅器12、15で
増幅したものの例を図13の(b)に示す。記録信号
「0」に対応する増幅器12、15の出力の周波数に対
して記録信号「1」に対応する増幅器12、15の出力
の周波数は2倍になっている。
The operation of the functional block shown in FIG.
3 will be described more specifically. An example of a signal recorded on the magnetic card 10 is shown in FIG.
Shown in The recording signal is a binary data signal based on a combination of two types of frequencies, F and 2F, and the bit is “0” or “1” depending on whether or not the signal polarity is inverted within the time interval T of one bit. Is represented. FIG.
The example in FIG. 3A represents “01101”. FIG. 13B shows an example in which the recording signal is read by the magnetic head 11 and amplified by the amplifiers 12 and 15. The output frequencies of the amplifiers 12 and 15 corresponding to the recording signal “1” are twice as high as the output frequencies of the amplifiers 12 and 15 corresponding to the recording signal “0”.

【0006】ピーク検出回路13は微分回路からなるも
のと考えてよく、従ってピーク検出出力は図13の
(c)に示すように増幅器12の出力信号のピーク位置
でゼロクロスとなる信号波形が得られる。その信号はコ
ンパレータ14によりゼロレベルと比較され、図13の
(d)に示すように上記ピーク検出波形のゼロクロス位
置で反転するデジタル信号に変換される。他方の増幅器
15の出力波形はコンパレータ16によりゼロレベルと
比較され、図13の(e)に示すように増幅器15の出
力波形のゼロクロス位置で反転するデジタル信号に変換
される。タイミング発生回路17は、コンパレータ14
の出力信号の転換位置におけるコンパレータ16の出力
信号のレベルを見て、そのときのコンパレータ16の出
力信号レベルに応じてその出力レベルを転換し、図13
の(f)に示すような信号を出力するようになってい
る。図13の(f)に示す信号は(a)に示す信号と同
じ「01101」を表すデジタル信号となっており、磁
気カードに記録されているデータ信号が復調されること
がわかる。
The peak detection circuit 13 may be considered to be composed of a differentiating circuit. Therefore, as shown in FIG. 13 (c), a signal waveform having a zero cross at the peak position of the output signal of the amplifier 12 is obtained as the peak detection output. . The signal is compared with the zero level by the comparator 14 and converted into a digital signal inverted at the zero cross position of the peak detection waveform as shown in FIG. The output waveform of the other amplifier 15 is compared with the zero level by the comparator 16 and converted into a digital signal inverted at the zero cross position of the output waveform of the amplifier 15 as shown in FIG. The timing generation circuit 17 includes the comparator 14
The level of the output signal of the comparator 16 at the switching position of the output signal of FIG. 13 is checked, and the output level is switched according to the output signal level of the comparator 16 at that time.
(F) is output. The signal shown in (f) of FIG. 13 is a digital signal representing “01101”, which is the same as the signal shown in (a), and it can be seen that the data signal recorded on the magnetic card is demodulated.

【0007】[0007]

【発明が解決しようとする課題】以上説明したような磁
気カードに記録されているデータの読み取り性能は、磁
気記録媒体であるカードの状態や、磁気ヘッドの汚れや
摩耗、モータなどからの電気的なノイズ、機械的なノイ
ズなどの影響を受ける。すなわち、磁気カード等の記録
媒体は、繰り返し使用されることによって様々な負荷を
受ける結果、記録媒体の表面の汚れや傷により、本来存
在するはずのない位置に信号が発生することがある。ま
た、記録媒体に記録される基本データは1回書き込まれ
ると使用を繰り返しても書き換えられることはないた
め、繰り返し使用して磁気ヘッドとの接触を繰り返すう
ちに磁力が減衰し、再生に必要な信号強度が不足してデ
ータの読み取りの信頼性が低下する。さらに、磁気ヘッ
ドの摩耗によって磁気ヘッドの分解能が低下し、ピーク
シフトが発生する。
The performance of reading data recorded on a magnetic card as described above depends on the condition of the card, which is a magnetic recording medium, the dirt and wear of the magnetic head, and the electric current from the motor. Noise and mechanical noise. That is, a recording medium such as a magnetic card receives various loads due to repeated use, and as a result, a signal may be generated at a position where it should not exist due to dirt or scratches on the surface of the recording medium. Further, since the basic data recorded on the recording medium is not rewritten even if it is repeatedly used once it is written, the magnetic force is attenuated during repeated use and contact with the magnetic head, and the data required for reproduction is reduced. Insufficient signal strength reduces the reliability of data reading. Further, the resolution of the magnetic head is reduced due to the wear of the magnetic head, and a peak shift occurs.

【0008】このようにしてデータの読み取り波形に異
常が生じると、媒体に記録されているデータの読み取り
性能を低下させる要因となり、データを正しく判別する
ことができなくなる。また、本来存在するはずのないピ
ークが存在したり、本来存在すべき位置にピークが存在
しなかったりすると、異常波形が忠実にデコードされる
ことを原因としてビット数を誤って読み取り、以降のビ
ットの区切りにもずれが生じ、この影響が後続の文字区
間に波及し、後続の文字区間でも誤読を引き起こす原因
となる。
[0008] When an abnormality occurs in the data reading waveform in this manner, the data reading performance of the data recorded on the medium is degraded, and the data cannot be correctly discriminated. In addition, if there is a peak that should not exist or a peak does not exist at the position where it should originally exist, the number of bits is erroneously read due to the fact that the abnormal waveform is faithfully decoded. Is deviated, and the influence spreads to the subsequent character section, which also causes misreading in the subsequent character section.

【0009】前述のFM変調方式では、図2に示すよう
に、1ビットの時間間隔Tに関して一定の基準時間αT
(ただし、0≦α≦1)を設定し、この基準時間αT内
に読み取り信号の極性反転があるかないかで2値データ
が「0」かまたは「1」かの判定を行うようになってい
る。すなわち、基準時間αT内に極性反転がなければ周
波数Fで2値データは「0」、基準時間αT内に極性反
転があれば周波数2Fで2値データは「1」と判定す
る。これによってある程度のピークシフトによる影響を
回避することができる。
In the above-mentioned FM modulation system, as shown in FIG. 2, a fixed reference time αT
(Where 0 ≦ α ≦ 1) is set, and it is determined whether the binary data is “0” or “1” depending on whether the polarity of the read signal is inverted within the reference time αT. I have. That is, if there is no polarity reversal within the reference time αT, the binary data is determined to be “0” at the frequency F, and if there is polarity reversal within the reference time αT, the binary data is determined to be “1” at the frequency 2F. As a result, the influence of the peak shift to some extent can be avoided.

【0010】しかしながら、図2に示す例のように、基
準時間αTを設定し、その時間αT内に読み取り信号の
極性反転があるかないかで2値データを判定するように
しても、前述のような、本来存在するはずのないピーク
が存在したり、本来存在すべき位置にピークが存在しな
かったりすることによって誤読を生じることがある。
However, as shown in the example shown in FIG. 2, even when the reference time αT is set and the binary data is determined based on whether or not the polarity of the read signal is inverted within the time αT, as described above. However, erroneous reading may occur due to the presence of a peak that should not exist or the absence of a peak at a position where it should originally exist.

【0011】そして、ビット列中のたった一つのビット
だけについて誤読を生じたとしても、この誤読が後続の
ビット列にも波及し、誤った判定をすることになる。そ
こで本発明者らは、一つのビットの誤読が後続のビット
列に波及することのないようにしたデータの復調方法に
ついて先に特許出願した。特願平11−88048号の
明細書および図面に記載されている発明がそれで、個々
のビットの2値データを判定するに当たり、1文字分の
文字時間間隔を合理的な方法で区切り、この1文字分の
文字時間間隔という要素を加味することによって、誤読
を大幅に減らし、信頼性の高いデータの復調を可能とし
たものである。
[0011] Even if erroneous reading occurs for only one bit in the bit string, the erroneous reading spreads to the subsequent bit string, resulting in erroneous determination. Accordingly, the present inventors have previously filed a patent application for a data demodulation method that prevents erroneous reading of one bit from spreading to subsequent bit strings. According to the invention described in the specification and drawings of Japanese Patent Application No. 11-88048, when determining the binary data of each bit, the character time interval of one character is divided in a rational manner, By taking into account the element of the character time interval for characters, misreading is greatly reduced, and highly reliable data demodulation is enabled.

【0012】また、本発明者らは、ピーク間隔値配列よ
り個々のピーク間隔値を逐次加算して1文字の終端を決
定したのち、上記1文字分を構成する個々のピーク間隔
値を順方向および逆方向に基準値と比較して二つのビッ
ト配列を求め、この、二つのビット配列に基づいて1文
字分のデータの復調をすることを提案している。こうす
れば、信頼性の高いデータの復調が可能である。
Further, the present inventors determine the end of one character by sequentially adding the individual peak interval values from the peak interval value array, and then determine the individual peak interval values constituting the one character in the forward direction. It has been proposed to obtain two bit arrays by comparing with a reference value in the reverse direction and demodulate data for one character based on the two bit arrays. This makes it possible to demodulate data with high reliability.

【0013】本発明者らはまた、各文字の理想的な再生
信号波形を基準波形データとして予め用意しておき、磁
気記録データに対応する再生信号を、記録データの1文
字に相当する長さを単位としてセグメントに区切り、少
なくとも一つのセグメントについて、上記基準波形デー
タのそれぞれとパターンマッチングによって比較し、各
基準波形データとの類似性の程度を判別して、最も高い
類似性を示した基準波形データに対応する文字を、上記
セグメントの表す文字であると判定することを特徴とす
るデータの復調方法について提案した。これは現在特許
出願中である。
The present inventors also prepare in advance an ideal reproduction signal waveform of each character as reference waveform data, and convert the reproduction signal corresponding to the magnetic recording data to a length corresponding to one character of the recording data. Is divided into segments, and at least one segment is compared with each of the above reference waveform data by pattern matching to determine the degree of similarity with each reference waveform data, and the reference waveform showing the highest similarity A data demodulation method has been proposed in which a character corresponding to data is determined to be a character represented by the segment. It is currently patent pending.

【0014】上記の各出願にかかる発明および上記提案
にかかる発明によれば、データ復調の信頼性を高めるこ
とができる。しかしながら、上記出願や提案にかかる発
明によっても、読み取り信号の異常の出方によっては、
記録媒体上の記録データを正しく読み取ることが困難な
場合がある。例えば、図3に示すように、読み取り信号
波形にピークシフトが存在すると、本来1文字分の2値
データの正しい配列パターンが「01110」であるも
のが、「00111」と誤って読み取られてしまう。そ
の結果、文字の選択を誤ることになるため、何らかのエ
ラー処理が必要になる。また、図3の例では、第2番目
のビットで2値変換を誤った結果、第3ビット以降のビ
ットの区切りにずれが生じ、この影響が後続の文字区間
に波及し、後続の文字区間でも誤読を生じる原因となる
場合もある。このように、上記各出願および提案にかか
る発明には、さらに改良する余地がある。
According to the invention according to each of the above-mentioned applications and the invention according to the above proposal, the reliability of data demodulation can be improved. However, even with the invention according to the above-mentioned application and proposal, depending on how the read signal is abnormal,
In some cases, it is difficult to correctly read the recording data on the recording medium. For example, as shown in FIG. 3, when a peak shift exists in the read signal waveform, the correct arrangement pattern of the binary data for one character, which is “01110”, is erroneously read as “00111”. . As a result, the selection of the character is erroneously performed, and some error processing is required. In addition, in the example of FIG. 3, as a result of incorrectly performing the binary conversion on the second bit, a shift occurs in the delimiter of the bit after the third bit, and this influence spreads to the subsequent character section, and the subsequent character section. However, it may cause misreading. As described above, the inventions according to the above-mentioned applications and proposals have room for further improvement.

【0015】本発明は上記のような従来技術に鑑みてな
されたもので、読み取り信号波形にピークシフトが存在
していても、正確に記録情報を復調することができるよ
うにし、もって、誤読を大幅に減らすことができ、信頼
性の高いデータの復調方法を提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned prior art, and enables the recorded information to be accurately demodulated even if a peak shift exists in the read signal waveform. An object of the present invention is to provide a highly reliable data demodulation method which can be significantly reduced.

【0016】[0016]

【課題を解決するための手段】上記の目的を達成するた
めに本発明は、請求項1に記載されているように、高低
2種の周波数信号の組み合わせによる周波数変調信号で
2値データを形成し、この2値データの所定ビット数に
より1文字分のデータを形成するようになっており、記
録されたデータ信号を再生して得られる再生信号波形よ
りピーク点の有無を検出して2値データを復調するよう
にしたデータの復調方法であって、予め1文字を構成す
る各ビットのピーク間隔値を、各文字ごとに基準配列パ
ターンとして用意しておき、上記再生信号の各ピーク間
の時間間隔を計測し、1文字分を構成する個々のピーク
間隔値を上記基準配列パターンと比較してパターンマッ
チングを行い、最も高い類似度を示す上記基準配列パタ
ーンに対応する文字を該当する文字と判定することを特
徴とする。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention forms binary data with a frequency modulation signal obtained by combining two kinds of high and low frequency signals. Data of one character is formed by a predetermined number of bits of the binary data. The presence or absence of a peak point is detected from a reproduced signal waveform obtained by reproducing a recorded data signal. This is a data demodulation method in which data is demodulated, wherein a peak interval value of each bit constituting one character is prepared in advance as a reference array pattern for each character, and a peak interval value between each peak of the reproduction signal is prepared. A time interval is measured, individual peak interval values constituting one character are compared with the reference array pattern to perform pattern matching, and a sentence corresponding to the reference array pattern showing the highest similarity is obtained. And judging the the appropriate characters.

【0017】請求項2記載の発明は、請求項1記載の発
明において、基準配列パターンの中から、比較の対象と
する基準配列パターンを、1文字分を構成するピーク間
隔数により選定するようにしたものである。
According to a second aspect of the present invention, in the first aspect of the present invention, a reference sequence pattern to be compared is selected from the reference sequence patterns by the number of peak intervals constituting one character. It was done.

【0018】請求項3記載の発明は、請求項1記載の発
明において、再生信号波形をアナログ・デジタル変換に
よってデジタル信号に変換し、デジタル化した再生信号
の各ピーク間の時間間隔を計測してピーク間隔値配列を
生成し、このピーク間隔値配列より個々のピーク間隔値
を順次加算して1文字の終端を決定し、1文字分を構成
する個々のピーク間隔値を基準配列パターンと比較する
ようにしたものである。
According to a third aspect of the present invention, in the first aspect, the reproduced signal waveform is converted into a digital signal by analog-to-digital conversion, and a time interval between each peak of the digitized reproduced signal is measured. A peak interval value array is generated, individual peak interval values are sequentially added from the peak interval value array to determine the end of one character, and individual peak interval values constituting one character are compared with a reference array pattern. It is like that.

【0019】請求項4記載の発明は、請求項3記載の発
明において、所定ビット数により記録データの1文字分
の文字時間間隔を所定の範囲として定めておき、上記1
文字分の文字時間間隔内にあるピーク位置により上記1
文字の終端を決定するとともに、上記文字時間間隔内に
あるピーク位置までのピーク間隔値の個数が、パリティ
ビットの条件を満足するかを検出し、満足しない場合
は、さらに次のピーク間隔値のデータを追加するように
して1文字の終端を決定するようにしたものである。
According to a fourth aspect of the present invention, in the third aspect of the present invention, the character time interval for one character of the recording data is determined as a predetermined range by a predetermined number of bits.
The above 1 is determined by the peak position within the character time interval for characters.
In addition to determining the end of the character, it detects whether the number of peak interval values up to the peak position within the character time interval satisfies the condition of the parity bit, and if not, further determines the next peak interval value. The end of one character is determined by adding data.

【0020】請求項5記載の発明は、請求項1記載の発
明において、基準配列パターンの時間間隔を長短の2値
で表示し、再生信号のピーク間隔値を、2値表示の基準
配列パターンと比較してパターンマッチングを行うよう
にしたものである。
According to a fifth aspect of the present invention, in the first aspect of the present invention, the time interval of the reference array pattern is displayed in a long and short binary value, and the peak interval value of the reproduction signal is compared with the binary array of the reference array pattern. The pattern matching is performed by comparison.

【0021】[0021]

【発明の実施の形態】以下、図1〜図9を参照しながら
本発明にかかるデータの復調方法の実施の形態について
説明する。本発明にかかる方法を実行するハードウエア
の構成例を図1にブロック図で示す。図1において、磁
気記録媒体である磁気カード20の磁気ストライプに
は、Fおよび2Fという高低2種類の周波数信号の組み
合わせによる周波数変調信号で形成された2値データが
記録されている。2値データは、所定ビット数とパリテ
ィビットとにより1文字分のデータを形成するようにな
っていて、複数文字分のデータが記録されている。図1
の例は磁気カード20の記録信号を再生する場合の例
で、磁気カード20を記録再生装置に挿入すると、搬送
ローラ26が図示されないモータによって回転駆動さ
れ、搬送ローラ26は磁気カード20の磁気ストライプ
を磁気ヘッド21に摺接させながら搬送し、磁気ヘッド
21は磁気ストライプに記録されているデータ信号を読
み出すようになっている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of a data demodulation method according to the present invention will be described with reference to FIGS. FIG. 1 is a block diagram showing a configuration example of hardware for executing the method according to the present invention. In FIG. 1, on a magnetic stripe of a magnetic card 20 which is a magnetic recording medium, binary data formed by a frequency modulation signal by a combination of two kinds of high and low frequency signals of F and 2F is recorded. In the binary data, data of one character is formed by a predetermined number of bits and parity bits, and data of a plurality of characters is recorded. FIG.
Is an example in which the recording signal of the magnetic card 20 is reproduced. When the magnetic card 20 is inserted into the recording / reproducing apparatus, the transport roller 26 is driven to rotate by a motor (not shown). Is transported while sliding on the magnetic head 21, and the magnetic head 21 reads data signals recorded on the magnetic stripe.

【0022】磁気ヘッド21の出力信号は増幅器22で
必要な信号強度まで増幅され、アナログ・デジタル変換
器23によってサンプリングされデジタル信号に変換さ
れ、バッファメモリ24に記憶されるようになってい
る。バッファメモリ24の記憶データはCPU25にお
いて読み出され、復調処理が実行される。以下、CPU
25における復調処理について説明する。
The output signal of the magnetic head 21 is amplified to a required signal intensity by an amplifier 22, sampled by an analog / digital converter 23, converted into a digital signal, and stored in a buffer memory 24. The data stored in the buffer memory 24 is read by the CPU 25, and a demodulation process is performed. Hereinafter, CPU
The demodulation processing in 25 will be described.

【0023】図4に示すように、初めにステップ201
(以下ステップについては「S40」「S201」のよ
うに表す)において波形の平滑化を行い、スパイク状ノ
イズを除去する。S202において逐次波形のピークを
検出し、ピークを検出するごとに一つ前のピークとの時
間間隔を計測する。この処理を、LRCを復調するま
で、すなわち磁気カードの磁気ストライプ全長にわたっ
て実行し、ピーク間隔データの配列を生成する。
First, as shown in FIG.
In the following (steps are represented as “S40” and “S201”), the waveform is smoothed to remove spike noise. In S202, peaks of the waveform are sequentially detected, and each time a peak is detected, a time interval from the immediately preceding peak is measured. This process is performed until the LRC is demodulated, that is, over the entire length of the magnetic stripe of the magnetic card, and an array of peak interval data is generated.

【0024】図5に読み取り波形の例とそのピーク間隔
データ(以下「ピーク間隔値」という)配列の例を示
す。磁気カードは、例えばISO規格では第1、第3ト
ラックは記録密度210BPIであり、カード搬送速度
を190mm/sとすれば、1ビットに相当する時間は
636.6μSである。アナログ波形をA/D変換する
ときのサンプリングレートを10μsとすれば、1ビッ
トに含まれるデータ点数の理論値は63.7個になる。
図5の波形の例では、ピーク間隔値配列は「65」「4
4」「34」「31」「31」……となっている。
FIG. 5 shows an example of a read waveform and an example of an array of the peak interval data (hereinafter, referred to as "peak interval value"). In the magnetic card, for example, the first and third tracks have a recording density of 210 BPI according to the ISO standard, and if the card conveyance speed is 190 mm / s, the time corresponding to one bit is 636.6 μS. If the sampling rate at the time of A / D conversion of an analog waveform is 10 μs, the theoretical value of the number of data points included in one bit is 63.7.
In the example of the waveform in FIG. 5, the peak interval value array is “65” “4”.
4 "," 34 "," 31 "," 31 "...

【0025】上記ピーク間隔値配列に基づいてセグメン
テーションを行う。セグメンテーションとは、再生波形
データを文字に対応するように区切ることをいう(図
4、S204参照)。このセグメンテーションの手順の
具体例を図5、図10を参照しながら説明する。図5に
示す波形はISO第3トラックの例である。ISO第3
トラックは4個のデータビットと1個のパリティビット
との合計5ビットで1文字を表す。奇数パリティである
ため、ビット0は偶数個しか許されず、従ってセグメン
トを構成するピーク間隔値の個数は、6、8、10の3
通りに限定される。
The segmentation is performed based on the peak interval value array. The segmentation refers to dividing reproduction waveform data so as to correspond to characters (see S204 in FIG. 4). A specific example of the segmentation procedure will be described with reference to FIGS. The waveform shown in FIG. 5 is an example of the ISO third track. ISO 3rd
A track represents one character with a total of 5 bits of 4 data bits and 1 parity bit. Because of odd parity, only an even number of bits 0 are allowed, and therefore the number of peak interval values constituting a segment is 3, 8, 10, or 3.
Limited to streets.

【0026】ここで、ピーク間隔値の個数が6というこ
とは、「0」が4個、「1」が1個で構成される文字符
号に対応する。ピーク間隔値の個数が8ということは、
「0」が2個、「1」が3個の場合であり、ピーク間隔
値の個数が10ということは、5ビット全てが「1」の
文字符号に対応する。
Here, the fact that the number of peak interval values is 6 corresponds to a character code composed of 4 “0” and 1 “1”. When the number of peak interval values is 8,
In the case where there are two “0” s and three “1” s, and the number of peak interval values is 10, all five bits correspond to the character code of “1”.

【0027】上記セグメンテーションの動作例を図10
に示す。図10において、まず、ピーク間隔値累計をゼ
ロにする(S301)。次にS302で基準セグメント
長を設定する。これは、前述の例ように5ビットで記録
データの1文字分を表すようになっているため、基準ビ
ットセル長の5倍に設定する。基準ビットセル長は、例
えば、連続する「0」で構成される同期ビット部分の波
形を計測するなどして求める。
FIG. 10 shows an example of the above segmentation operation.
Shown in In FIG. 10, first, the total of the peak interval values is set to zero (S301). Next, a reference segment length is set in S302. Since the five bits represent one character of the recording data as described above, the length is set to five times the reference bit cell length. The reference bit cell length is obtained, for example, by measuring the waveform of a synchronization bit portion composed of continuous "0".

【0028】次に、S303において符号化するセグメ
ントの最初のピーク間隔値をピーク間隔値累計に加算す
る。続いてS304でピーク間隔値累計が基準セグメン
ト長の0.9倍を超えているかどうかを判断する。図5
に示す例において、最初のピーク間隔値を加算した段階
ではピーク間隔値累計は「65」で、基準セグメント長
の0.9倍を超えることはないので、S307で次のピ
ーク間隔データを取り出し、これをS303に戻ってピ
ーク間隔値累計に加算する。以上の動作を数回繰り返す
ことによって、S304での判断でピーク間隔値累計が
基準セグメント長の0.9倍を超えるので、そのときは
S305でここまで加算してきたピーク間隔値の個数が
偶数であるかどうかチェックする。
Next, in step S303, the first peak interval value of the segment to be encoded is added to the total peak interval value. Subsequently, in S304, it is determined whether or not the total peak interval value exceeds 0.9 times the reference segment length. FIG.
In the example shown in (1), at the stage when the first peak interval value is added, the total peak interval value is “65” and does not exceed 0.9 times the reference segment length, so the next peak interval data is extracted in S307, The process returns to S303 and is added to the total peak interval value. By repeating the above operation several times, the total of the peak interval values exceeds 0.9 times the reference segment length in the judgment in S304, in which case the number of peak interval values added so far in S305 is an even number. Check if there is.

【0029】S306の判断で偶数でなければ、さらに
S307で次のピーク間隔データを取り出し、S30
4,S305を繰り返す。S305でピーク間隔値の個
数が偶数と判断されれば、S306に進み、ピーク間隔
値累計が基準セグメント長の1.1倍より小さいかどう
かをチェックする。ピーク間隔値累計が基準セグメント
長の1.1倍より小さければ、これでセグメンテーショ
ンを打ち切る。ピーク間隔値累計が基準セグメント長の
1.1倍より大きければ、ピーク間隔値累計が大きすぎ
ると判断できるため、S308で最後の2個分のピーク
間隔値データをピーク間隔値累計から差し引くとともに
ピーク間隔値の個数を表すポインタの値を「2」だけ減
じる。2個分のピーク間隔値データを差し引く理由は、
ピーク間隔値の個数は偶数個しかとりえないという条件
を満足させるためである。
If it is not an even number in the judgment in S306, the next peak interval data is further extracted in S307, and
4. Repeat S305. If it is determined in step S305 that the number of peak interval values is even, the process advances to step S306 to check whether the total peak interval value is smaller than 1.1 times the reference segment length. If the total peak interval value is smaller than 1.1 times the reference segment length, the segmentation is terminated. If the cumulative peak interval value is larger than 1.1 times the reference segment length, it can be determined that the cumulative peak interval value is too large. In S308, the last two peak interval value data are subtracted from the cumulative peak interval value, and the peak interval value is subtracted. The value of the pointer representing the number of interval values is reduced by “2”. The reason for subtracting two peak interval value data is
This is to satisfy the condition that the number of peak interval values can be only an even number.

【0030】このようにして1文字分のセグメントが得
られる。ピーク間隔値の累計個数を、上記のようにして
基準セグメント長の0.9〜1.1倍の範囲に入るよう
に決定する根拠は、この範囲内にあれば、1文字分のセ
グメントがほとんど誤りなく得られることが実験的にわ
かったからである。
Thus, a segment for one character is obtained. The rationale for determining the total number of peak interval values so as to fall within the range of 0.9 to 1.1 times the reference segment length as described above is that if one falls within this range, almost one character segment will This is because it has been experimentally found that it can be obtained without error.

【0031】以上説明したように、再生した信号を記録
データの1文字分の長さに相当するセグメントに切り出
し、このセグメントを一つの処理単位として、これを次
のS205でピーク間隔値で表されるパターンマッチン
グを行う。ここでは、予め1文字を構成する各ビットの
ピーク間隔値を、各文字ごとに基準配列パターンとして
用意しておき、上記再生信号波形をアナログ・デジタル
変換によってデジタル信号に変換し、デジタル化した再
生信号の各ピーク間の時間間隔を計測し、1文字分を構
成する個々のピーク間隔値を上記基準配列パターンと比
較してパターンマッチングを行い、最も高い類似度を示
す上記基準配列パターンに対応する文字を該当する文字
と判定する。以下、このパターンマッチングについて具
体的に説明する。
As described above, the reproduced signal is cut out into a segment corresponding to the length of one character of the recording data, and this segment is used as one processing unit, which is represented by the peak interval value in the next S205. Perform pattern matching. Here, the peak interval value of each bit constituting one character is prepared in advance as a reference array pattern for each character, and the reproduced signal waveform is converted into a digital signal by analog-to-digital conversion, and the digitized reproduction is performed. The time interval between the peaks of the signal is measured, the individual peak interval values constituting one character are compared with the reference array pattern to perform pattern matching, and correspond to the reference array pattern showing the highest similarity. The character is determined as the corresponding character. Hereinafter, this pattern matching will be specifically described.

【0032】パターンマッチングの機能部分として、テ
ンプレート、マッチング演算手段、データ判別手段など
があり、これらの機能部分は、図1に示すCPUあるい
はマイクロコンピュータに持たせることができる。テン
プレートの例を図6に示す。ISO第2、第3トラック
では、4データビット+1パリティビットの5ビットで
1文字を表現するため、図6に示すテンプレートは全部
で16通りのパターンT0,T1,……,T15が存在
する。このうちのパターンT0の波形と、この波形のピ
ーク間隔値配列、および各ピーク間隔値の比率を図7に
示す。これは、文字コード「10H」に対応する理想的
な波形で、ピーク間隔値配列T0={64,64,6
4,64,32,32}である。テンプレートの値とし
ては、バイナリ「0」の磁化反転間隔を「64」、バイ
ナリ「1」の磁化反転間隔を「32」として、この値を
そのまま用いてもよいが、磁化反転間隔の比率が2:1
という条件が満たされていれば、図8に示すように、T
0’={2,2,2,2,1,1}を用いてもよい。図
6の例では、文字コードパターンT0,T1,……,T
15のそれぞれにつき、ピーク間隔値配列を磁化反転間
隔の比率で表すとともに、それぞれに対応する文字コー
ドを表している。
As a functional part of the pattern matching, there are a template, a matching operation means, a data discriminating means, and the like. These functional parts can be provided in the CPU or the microcomputer shown in FIG. FIG. 6 shows an example of the template. In the ISO second and third tracks, since one character is represented by 5 bits of 4 data bits + 1 parity bit, the template shown in FIG. 6 has a total of 16 patterns T0, T1,..., T15. FIG. 7 shows the waveform of the pattern T0, the peak interval value array of this waveform, and the ratio of each peak interval value. This is an ideal waveform corresponding to the character code "10H", and the peak interval value array T0 = {64, 64, 6}.
4, 64, 32, 32}. As the value of the template, the magnetization reversal interval of binary “0” may be “64” and the magnetization reversal interval of binary “1” may be “32”, and these values may be used as they are. : 1
If the condition is satisfied, as shown in FIG.
0 ′ = {2, 2, 2, 2, 1, 1} may be used. In the example of FIG. 6, the character code patterns T0, T1,.
For each of No. 15, the peak interval value array is represented by the ratio of the magnetization reversal intervals, and the corresponding character codes are also represented.

【0033】上記テンプレートを用いたパターンマッチ
ングの具体的な動作例について、図3、図5、図8を参
照しながら説明する。なお、図3、図5に示す波形は同
じ波形であり、図3にはその波形についての正しいビッ
ト変換と誤ったビット変換を示し、図5には、上記波形
を計測して得られるピーク間隔値配列を示す。まず、図
8に示すS1で対象パターンのピーク間隔値Pを取得す
る。図5に示す例では、P={65,44,34,3
1,31,25,38,58}であり、Pの要素は8で
あるから、図6に示す16パターンのテンプレートのう
ち、図9に示すように、要素数8を持つテンプレートT
P3,TP5,TP6,TP7,TP9,TP10,T
P11,TP12,TP13,TP14の10個を比較
の対象となるテンプレートとして取得する(S3)。
A specific operation example of the pattern matching using the template will be described with reference to FIGS. 3, 5, and 8. FIG. Note that the waveforms shown in FIGS. 3 and 5 are the same waveform, FIG. 3 shows correct bit conversion and erroneous bit conversion for the waveform, and FIG. 5 shows a peak interval obtained by measuring the waveform. Indicates a value array. First, the peak interval value P of the target pattern is acquired in S1 shown in FIG. In the example shown in FIG. 5, P = $ 65,44,34,3
1, 31, 25, 38, 58}, and the element of P is 8, so the template T having the number of elements 8 as shown in FIG.
P3, TP5, TP6, TP7, TP9, TP10, T
The ten templates P11, TP12, TP13, and TP14 are acquired as templates to be compared (S3).

【0034】次に、S4において、対象パターンと、上
記比較の対象となる10個のテンプレートとの相関値を
演算する。相関値の演算は次の式による。rkは相関
値、Snはセグメント、Tkはテンプレートを示す。
Next, in S4, a correlation value between the target pattern and the ten templates to be compared is calculated. The calculation of the correlation value is based on the following equation. rk indicates a correlation value, Sn indicates a segment, and Tk indicates a template.

【0035】比較の対象となる10個のテンプレート全
てについて相関値の演算が済んだら(S5)、次に、算
出された相関値の中から最大相関値を見つける(S
7)。図3、図5に示す波形の例について、比較の対象
となる上記10個のテンプレートを比較演算して得られ
た各相関値を図9に示す。この例によれば、テンプレー
トTP14との相関値が約0.9と最も大きいので、こ
のセグメントの文字は、テンプレートTP14に対応す
る「0EH」(コード「01110B」)を、該当する
文字と判定する。この文字コードは、図3に示す波形
の、本来の正しいビット変換値列と一致しており、図3
に示すようなピークシフト(ジッタ)が存在する波形で
あっても、誤りなく読み取ることができることがわか
る。
After calculating the correlation values for all of the ten templates to be compared (S5), the maximum correlation value is then found from the calculated correlation values (S5).
7). FIG. 9 shows correlation values obtained by performing a comparison operation on the ten templates to be compared for the example waveforms shown in FIGS. 3 and 5. According to this example, since the correlation value with the template TP14 is the largest, about 0.9, the character of this segment is determined to be “0EH” (code “01110B”) corresponding to the template TP14 as the corresponding character. . This character code matches the originally correct bit conversion value sequence of the waveform shown in FIG.
It can be seen that even a waveform having a peak shift (jitter) as shown in FIG.

【0036】図4にS211で示されるように、LRC
を復調するまで、ピーク検出およびピーク間隔計測、セ
グメンテーション、ピーク間隔マッチング(パターンマ
ッチング)操作が繰り返され、LRC復調が終わると、
最後にS212でLRCチェック、すなわち全体として
の復調結果の成否判定が行われる。
As indicated by S211 in FIG.
The peak detection and peak interval measurement, segmentation, and peak interval matching (pattern matching) operations are repeated until the LRC demodulation is performed.
Finally, in S212, the LRC check, that is, the success / failure determination of the demodulation result as a whole is performed.

【0037】以上説明した実施の形態によれば、予め1
文字を構成する各ビットのピーク間隔値を、各文字ごと
に基準配列パターンとして用意しておき、上記再生信号
の時間間隔を計測し、1文字分を構成する個々のピーク
間隔値を上記基準配列パターンと比較してパターンマッ
チングを行い、最も高い類似度を示す上記基準配列パタ
ーンに対応する文字を該当する文字と判定するようにし
たため、ビット変換では正しく判定することができない
異常波形を含む場合、例えば局所的なピーク間隔の変動
があっても、1文字分を構成するセグメントという一つ
のブロック全体として、局所的なピーク間隔の変動の影
響を受け難く、正しく文字を判定することができ、デー
タ復調の信頼性を高めることができる。
According to the embodiment described above, 1
The peak interval value of each bit constituting a character is prepared as a reference array pattern for each character, the time interval of the reproduced signal is measured, and the individual peak interval values constituting one character are stored in the reference array pattern. Performing pattern matching in comparison with the pattern, so that the character corresponding to the reference array pattern showing the highest similarity is determined as the corresponding character, if the abnormal waveform that can not be correctly determined by the bit conversion, For example, even if there is a local fluctuation of the peak interval, the whole block of one segment, which constitutes one character, is hardly affected by the local fluctuation of the peak interval. The reliability of demodulation can be improved.

【0038】また、基準配列パターンの中から、比較対
象パターンと比較すべき基準配列パターンを、1文字分
を構成するピーク間隔数により選定するようにしたた
め、パターンマッチングを行う前に基準配列パターンを
絞り込んでおき、絞り込まれた基準配列パターンのみを
比較の対象とすることができ、パターンマッチング処理
を簡単に行うことができるとともに、データ復調の信頼
性をより一層高めることができる。
Since the reference sequence pattern to be compared with the pattern to be compared is selected from the reference sequence patterns based on the number of peak intervals constituting one character, the reference sequence pattern is selected before pattern matching is performed. After narrowing down, only the narrowed reference array pattern can be used as a comparison target, so that the pattern matching process can be easily performed, and the reliability of data demodulation can be further improved.

【0039】再生信号波形をアナログ・デジタル変換に
よってデジタル信号に変換し、デジタル化した再生信号
の各ピーク間の時間間隔を計測してピーク間隔値配列を
生成し、このピーク間隔値配列より個々のピーク間隔値
を順次加算して1文字の終端を決定し、1文字分を構成
する個々のピーク間隔値配列を比較対象パターンとし、
これを基準配列パターンと比較するようにすれば、1文
字の終端を的確に決定することができ、この点からも、
データ復調の信頼性をより高めることができる。
The reproduced signal waveform is converted into a digital signal by analog-to-digital conversion, the time interval between each peak of the digitized reproduced signal is measured, and a peak interval value array is generated. The peak interval values are sequentially added to determine the end of one character, and each peak interval value array constituting one character is set as a comparison target pattern.
If this is compared with the reference sequence pattern, the end of one character can be accurately determined.
The reliability of data demodulation can be further improved.

【0040】さらに、所定ビット数により記録データの
1文字分の文字時間間隔を所定の範囲として定めてお
き、上記1文字分の文字時間間隔内にあるピーク位置に
より上記1文字の終端を決定するとともに、上記文字時
間間隔内にあるピーク位置までのピーク間隔値の個数
が、パリティビットの条件を満足するかを検出し、満足
しない場合は、さらに次のピーク間隔値のデータを追加
するようにして1文字の終端を決定するようにすれば、
1文字の終端を的確かつ正確に決定することができ、デ
ータ復調の信頼性をより一層高めることができる。
Further, the character time interval of one character of the recording data is determined as a predetermined range by a predetermined number of bits, and the end of the one character is determined by the peak position within the character time interval of the one character. At the same time, it is detected whether the number of peak interval values up to the peak position within the character time interval satisfies the parity bit condition, and if not, the data of the next peak interval value is added. To determine the end of one character,
The end of one character can be determined accurately and accurately, and the reliability of data demodulation can be further improved.

【0041】次に、図11に示す別の実施の形態につい
て説明する。この実施の形態において、上側の増幅器2
2、AD変換器23、メモリ24、CPU25からなる
機能ブロック部分は図1に示す実施の形態と同じ構成に
なっており、その下のピーク検出回路13、コンパレー
タ14、コンパレータ16、タイミング発生回路17か
らなる機能ブロック部分は、図12に示す従来例と実質
同一の構成になっている。すなわち、この実施の形態
は、図1に示す実施の形態と図12に示す従来方式とを
併用したものであって、これによってより信頼性の高い
データの復調を行うことができる。
Next, another embodiment shown in FIG. 11 will be described. In this embodiment, the upper amplifier 2
2, a functional block portion including an AD converter 23, a memory 24, and a CPU 25 has the same configuration as that of the embodiment shown in FIG. 1, and a peak detection circuit 13, a comparator 14, a comparator 16, and a timing generation circuit 17 thereunder. The configuration of the functional block portion is substantially the same as that of the conventional example shown in FIG. That is, this embodiment is a combination of the embodiment shown in FIG. 1 and the conventional system shown in FIG. 12, thereby enabling more reliable demodulation of data.

【0042】また、図12に示す従来の機能ブロック構
成例では、アナログ回路が出力する読み取りデータパル
スをデータ弁別またはCPU18が前述のような従来方
式によって復調していたが、機能ブロック構成は図12
に示す従来例のままにして、データ弁別またはCPU1
8によるデータの復調方法を、本発明にかかるデータの
復調方法に置き換えて使用することも可能である。
In the conventional functional block configuration example shown in FIG. 12, the read data pulse output from the analog circuit is discriminated by data or the CPU 18 demodulates the read data pulse by the conventional method as described above.
Data discrimination or CPU1
8 can be used in place of the data demodulation method according to the present invention.

【0043】本発明にかかるデータの復調方法は、モー
タ駆動式磁気カードリーダにも適用できるし、手動式磁
気カードリーダにも適用することができる。
The data demodulation method according to the present invention can be applied to a motor-driven magnetic card reader and also to a manual magnetic card reader.

【0044】[0044]

【発明の効果】請求項1記載の発明によれば、予め1文
字を構成する各ビットのピーク間隔値を、各文字ごとに
基準配列パターンとして用意しておき、上記再生信号の
各ピーク間の時間間隔を計測し、1文字分を構成する個
々のピーク間隔値を上記基準配列パターンと比較してパ
ターンマッチングを行い、最も高い類似度を示す上記基
準配列パターンに対応する文字を該当する文字と判定す
るようにしたため、ビット変換では正しく判定すること
ができない異常波形を含む場合、例えば局所的なピーク
間隔の変動があっても、正しく文字を判定することがで
き、データ復調の信頼性を高めることができる。
According to the first aspect of the present invention, the peak interval value of each bit constituting one character is prepared in advance as a reference array pattern for each character, and the interval between each peak of the reproduction signal is prepared. A time interval is measured, individual peak interval values constituting one character are compared with the reference array pattern to perform pattern matching, and a character corresponding to the reference array pattern having the highest similarity is determined as a corresponding character. Since the determination is made, when an abnormal waveform that cannot be correctly determined by the bit conversion is included, for example, even if there is a local fluctuation of the peak interval, the character can be correctly determined, and the reliability of data demodulation is improved. be able to.

【0045】請求項2記載の発明によれば、基準配列パ
ターンの中から、比較対象パターンと比較すべき基準配
列パターンを、1文字分を構成するピーク間隔数により
選定するようにしたため、パターンマッチングを行う前
に基準配列パターンを絞り込んでおき、絞り込まれた基
準配列パターンのみを比較の対象とすることができ、パ
ターンマッチング処理を簡単に行うことができるととも
に、データ復調の信頼性をより一層高めることができ
る。
According to the second aspect of the present invention, the reference sequence pattern to be compared with the comparison target pattern is selected from the reference sequence patterns by the number of peak intervals constituting one character. The reference array pattern is narrowed down before performing the comparison, and only the narrowed down reference array pattern can be used as a comparison target, so that the pattern matching process can be easily performed and the reliability of data demodulation is further improved. be able to.

【0046】請求項3記載の発明によれば、再生信号波
形をアナログ・デジタル変換によってデジタル信号に変
換し、デジタル化した再生信号の各ピーク間の時間間隔
を計測してピーク間隔値配列を生成し、このピーク間隔
値配列より個々のピーク間隔値を順次加算して1文字の
終端を決定し、1文字分を構成する個々のピーク間隔値
配列を比較対象パターンとし、これを基準配列パターン
と比較するようにすれば、1文字の終端を的確に決定す
ることができ、この点からも、データ復調の信頼性をよ
り高めることができる。
According to the third aspect of the present invention, the reproduced signal waveform is converted into a digital signal by analog-to-digital conversion, and the time interval between each peak of the digitized reproduced signal is measured to generate a peak interval value array. Then, the individual peak interval values are sequentially added from the peak interval value array to determine the end of one character, and the individual peak interval value array constituting one character is set as a comparison target pattern. If the comparison is made, the end of one character can be accurately determined, and from this point, the reliability of data demodulation can be further improved.

【0047】請求項4記載の発明によれば、所定ビット
数により記録データの1文字分の文字時間間隔を所定の
範囲として定めておき、上記1文字分の文字時間間隔内
にあるピーク位置により上記1文字の終端を決定すると
ともに、上記文字時間間隔内にあるピーク位置までのピ
ーク間隔値の個数が、パリティビットの条件を満足する
かを検出し、満足しない場合は、さらに次のピーク間隔
値のデータを追加するようにして1文字の終端を決定す
るようにすれば、1文字の終端を的確かつ正確に決定す
ることができ、データ復調の信頼性をより一層高めるこ
とができる。
According to the fourth aspect of the present invention, the character time interval for one character of the recording data is determined as a predetermined range by a predetermined number of bits, and the peak position within the character time interval for the one character is determined. The end of the one character is determined, and it is detected whether the number of peak interval values up to the peak position within the character time interval satisfies the condition of the parity bit. If the end of one character is determined by adding value data, the end of one character can be determined accurately and accurately, and the reliability of data demodulation can be further improved.

【0048】請求項5記載の発明のように、基準配列パ
ターンの時間間隔を長短の2値で表示し、再生信号のピ
ーク間隔値を、2値表示の基準配列パターンと比較して
パターンマッチングを行うようにしても、請求項1記載
の発明と同様の効果を得ることができる。
According to the fifth aspect of the present invention, the time interval of the reference array pattern is displayed in a long and short binary value, and the peak interval value of the reproduced signal is compared with the binary array of the reference array pattern to perform pattern matching. Even if it performs, the same effect as the invention of claim 1 can be obtained.

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

【図1】本発明にかかるデータの復調方法の実施の形態
を示す機能ブロック図である。
FIG. 1 is a functional block diagram showing an embodiment of a data demodulation method according to the present invention.

【図2】F2F変調方式を説明するための波形図であ
る。
FIG. 2 is a waveform diagram for explaining an F2F modulation method.

【図3】データ復調における再生波形の例とそのビット
変換の例を示す波形図である。
FIG. 3 is a waveform diagram showing an example of a reproduced waveform in data demodulation and an example of bit conversion thereof.

【図4】上記実施の形態によるデータ復調動作を示すフ
ローチャートである。
FIG. 4 is a flowchart showing a data demodulation operation according to the embodiment.

【図5】データ復調における再生波形の例とそのピーク
間隔値配列を示す波形図である。
FIG. 5 is a waveform diagram showing an example of a reproduced waveform in data demodulation and an arrangement of peak intervals thereof.

【図6】本発明にかかるデータの復調方法においてパタ
ーンマッチングに用いるテンプレートの例を示す数列図
である。
FIG. 6 is a sequence diagram showing an example of a template used for pattern matching in the data demodulation method according to the present invention.

【図7】本発明に用いることができる特定の1文字分の
テンプレートの例を示す波形図である。
FIG. 7 is a waveform diagram showing an example of a template for one specific character that can be used in the present invention.

【図8】本発明におけるパターンマッチングの例を示す
フローチャートである。
FIG. 8 is a flowchart illustrating an example of pattern matching according to the present invention.

【図9】本発明において比較の対象とする基準配列パタ
ーンとある再生信号ピーク間隔値配列とを比較した結果
を類似度で示す数列図である。
FIG. 9 is a sequence diagram showing the result of comparing a reference array pattern to be compared with a certain reproduced signal peak interval value array in the present invention by similarity.

【図10】本発明における1文字分のセグメンテーショ
ンの例を示すフローチャートである。
FIG. 10 is a flowchart illustrating an example of segmentation for one character according to the present invention.

【図11】本発明にかかるデータの復調方法の別の実施
の形態を示すフローチャートである。
FIG. 11 is a flowchart showing another embodiment of the data demodulation method according to the present invention.

【図12】従来のデータの復調方法の例を示す機能ブロ
ック図である。
FIG. 12 is a functional block diagram showing an example of a conventional data demodulation method.

【図13】同上従来のデータの復調方法の動作を説明す
るためのタイミングチャートである。
FIG. 13 is a timing chart for explaining the operation of the conventional data demodulation method.

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

20 磁気カード 21 磁気ヘッド 22 増幅器 23 AD変換器 24 メモリ 25 CPU 30 カードリーダ 40 上位制御装置 Reference Signs List 20 magnetic card 21 magnetic head 22 amplifier 23 AD converter 24 memory 25 CPU 30 card reader 40 host controller

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 高低2種の周波数信号の組み合わせによ
る周波数変調信号で2値データを形成し、この2値デー
タの所定ビット数により1文字分のデータを形成するよ
うになっており、記録されたデータ信号を再生して得ら
れる再生信号波形よりピーク点の有無を検出して2値デ
ータを復調するようにしたデータの復調方法であって、 予め1文字を構成する各ビットのピーク間隔値を、各文
字ごとに基準配列パターンとして用意しておき、 上記再生信号の各ピーク間の時間間隔を計測し、 1文字分を構成する個々のピーク間隔値を上記基準配列
パターンと比較してパターンマッチングを行い、最も高
い類似度を示す上記基準配列パターンに対応する文字を
該当する文字と判定することを特徴とするデータの復調
方法。
1. Binary data is formed by a frequency modulation signal based on a combination of high and low frequency signals, and one character data is formed by a predetermined number of bits of the binary data. A method of demodulating binary data by detecting the presence or absence of a peak point from a reproduced signal waveform obtained by reproducing a reproduced data signal, wherein the peak interval value of each bit constituting one character in advance Is prepared as a reference array pattern for each character, a time interval between the peaks of the reproduction signal is measured, and individual peak interval values constituting one character are compared with the reference array pattern. A data demodulation method comprising performing matching and determining a character corresponding to the reference array pattern having the highest similarity as a corresponding character.
【請求項2】 基準配列パターンの中から、比較の対象
とする基準配列パターンを、1文字分を構成するピーク
間隔数により選定するようにした請求項1記載のデータ
の復調方法。
2. The data demodulation method according to claim 1, wherein a reference array pattern to be compared is selected from the reference array patterns based on the number of peak intervals constituting one character.
【請求項3】 再生信号波形をアナログ・デジタル変換
によってデジタル信号に変換し、デジタル化した再生信
号の各ピーク間の時間間隔を計測してピーク間隔値配列
を生成し、このピーク間隔値配列より個々のピーク間隔
値を順次加算して1文字の終端を決定し、1文字分を構
成する個々のピーク間隔値を基準配列パターンと比較す
るようにした請求項1記載のデータの復調方法。
3. A reproduction signal waveform is converted into a digital signal by analog-to-digital conversion, a time interval between each peak of the digitized reproduction signal is measured, and a peak interval value array is generated. 2. The data demodulation method according to claim 1, wherein each peak interval value is sequentially added to determine the end of one character, and each peak interval value constituting one character is compared with a reference array pattern.
【請求項4】 所定ビット数により記録データの1文字
分の文字時間間隔を所定の範囲として定めておき、上記
1文字分の文字時間間隔内にあるピーク位置により上記
1文字の終端を決定するとともに、上記文字時間間隔内
にあるピーク位置までのピーク間隔値の個数が、パリテ
ィビットの条件を満足するかを検出し、満足しない場合
は、さらに次のピーク間隔値のデータを追加するように
して1文字の終端を決定するようにした請求項3記載の
データの復調方法。
4. A character time interval of one character of the recording data is determined as a predetermined range by a predetermined number of bits, and the end of the one character is determined by a peak position within the character time interval of the one character. At the same time, it is detected whether the number of peak interval values up to the peak position within the character time interval satisfies the parity bit condition, and if not, the data of the next peak interval value is added. 4. The data demodulation method according to claim 3, wherein the end of one character is determined by the following method.
【請求項5】 基準配列パターンの時間間隔を長短の2
値で表示し、再生信号のピーク間隔値を、2値表示の基
準配列パターンと比較してパターンマッチングを行う請
求項1記載のデータの復調方法。
5. The time interval of the reference array pattern is set to two
2. The data demodulation method according to claim 1, wherein the pattern matching is performed by comparing the peak interval value of the reproduced signal with a reference array pattern of binary display.
JP11620299A 1999-04-23 1999-04-23 Data demodulation method Expired - Fee Related JP3748496B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP11620299A JP3748496B2 (en) 1999-04-23 1999-04-23 Data demodulation method
US09/551,960 US6674786B1 (en) 1999-04-23 2000-04-19 Data demodulation
EP00303352A EP1047069A3 (en) 1999-04-23 2000-04-20 Data demodulating method and data demodulating apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11620299A JP3748496B2 (en) 1999-04-23 1999-04-23 Data demodulation method

Publications (2)

Publication Number Publication Date
JP2000311451A true JP2000311451A (en) 2000-11-07
JP3748496B2 JP3748496B2 (en) 2006-02-22

Family

ID=14681374

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11620299A Expired - Fee Related JP3748496B2 (en) 1999-04-23 1999-04-23 Data demodulation method

Country Status (1)

Country Link
JP (1) JP3748496B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008287457A (en) * 2007-05-17 2008-11-27 Nidec Sankyo Corp Method and apparatus for magnetic character recognition
JP2009169712A (en) * 2008-01-17 2009-07-30 Nidec Sankyo Corp Method and apparatus for magnetic character recognition
JP2009289195A (en) * 2008-05-30 2009-12-10 Nidec Sankyo Corp Method and apparatus for magnetic character recognition
JP2013025852A (en) * 2011-07-25 2013-02-04 Nidec Sankyo Corp Magnetic data demodulation method and magnetic data demodulation device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008287457A (en) * 2007-05-17 2008-11-27 Nidec Sankyo Corp Method and apparatus for magnetic character recognition
JP2009169712A (en) * 2008-01-17 2009-07-30 Nidec Sankyo Corp Method and apparatus for magnetic character recognition
JP2009289195A (en) * 2008-05-30 2009-12-10 Nidec Sankyo Corp Method and apparatus for magnetic character recognition
JP2013025852A (en) * 2011-07-25 2013-02-04 Nidec Sankyo Corp Magnetic data demodulation method and magnetic data demodulation device

Also Published As

Publication number Publication date
JP3748496B2 (en) 2006-02-22

Similar Documents

Publication Publication Date Title
US6674786B1 (en) Data demodulation
JP2752874B2 (en) Method and apparatus for decoding F2F signal
JP2915334B2 (en) Decoding device for dual frequency data signal
US6570723B2 (en) Magnetic card reader and magnetic data reproduction method, data demodulation method and demodulator of magnetic record data
US6757342B1 (en) Data demodulation
JP3778742B2 (en) Data demodulating method and data demodulating device
JP3748496B2 (en) Data demodulation method
US6600613B1 (en) Demodulation of magnetically recorded data
US5054017A (en) Optical information reproducing apparatus
JP3681570B2 (en) Data demodulation method
JP2001202723A (en) Magnetic card reader and method for demodulating magnetic data
JP3571246B2 (en) Data demodulation method
JP2000293961A (en) Data demodulating method
US20030058557A1 (en) Data demodulating method for magnetic recording data
US20190303628A1 (en) Demodulation method and demodulation device for magnetic data
JP2576370B2 (en) ID mark reading device
JPS6043556B2 (en) character reading device
JPH0325690A (en) Signal processing method for bar code reader
JP3664876B2 (en) Magnetic data reader
JPH0737032A (en) Handwritten symbol entering form and handwritten symbol recognizer
JP2003077231A (en) Data demodulation method for magnetic recording data
JPH1055626A (en) Method and medium for recording data, and device for reading data

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050506

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050630

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050802

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050830

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20051101

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051124

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051128

R150 Certificate of patent or registration of utility model

Ref document number: 3748496

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20091209

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091209

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101209

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101209

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111209

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111209

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121209

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20131209

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees