JPH0376523B2 - - Google Patents
Info
- Publication number
- JPH0376523B2 JPH0376523B2 JP11523784A JP11523784A JPH0376523B2 JP H0376523 B2 JPH0376523 B2 JP H0376523B2 JP 11523784 A JP11523784 A JP 11523784A JP 11523784 A JP11523784 A JP 11523784A JP H0376523 B2 JPH0376523 B2 JP H0376523B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- peak value
- bit interval
- signal
- magnetic card
- 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
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Digital Magnetic Recording (AREA)
Description
【発明の詳細な説明】
本発明は磁気カードに記録されたデータの記録
状態を測定する磁気カードのデータ記録状態測定
方法に関し、特に磁気カードに記録されたデータ
の波高値を測定できる磁気カードのデータ記録状
態測定方法に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a magnetic card data recording state measuring method for measuring the recording state of data recorded on a magnetic card, and particularly to a magnetic card data recording state measuring method that can measure the peak value of data recorded on a magnetic card. The present invention relates to a data recording state measuring method.
一般に磁気カードには、多くのものがJIS−
B9561規格に基づいて必要なデータが記録されて
いる。前記磁気カードにおける記録データの間隔
は、当該基格によれば、8.268bit/mm±4%と規
定されている。しかして、その記録データの間隔
は、具体的には、0.12mmであり、許容誤差が±4
%とあるので、±約5μmとなる。このように5μm
の如き微小な磁気記録状態における記録データの
波高値を測定する必要が生じてきた。 In general, many magnetic cards are JIS-
Necessary data is recorded based on the B9561 standard. According to the standard, the interval between recorded data on the magnetic card is defined as 8.268 bit/mm±4%. Specifically, the interval between the recorded data is 0.12 mm, and the tolerance is ±4.
%, so it is about ±5 μm. 5 μm like this
It has become necessary to measure the peak value of recorded data in such minute magnetic recording states.
本発明は上述のことに鑑みてなされたものであ
り、磁気カードに記録された各種データを再生
し、その再生信号の波高値をデイジタル信号に変
換すると共に、その波高値間毎の時間間隔を測定
して記憶し、その記憶された時間間隔を読み出し
て一測定前の時間間隔と比較し、その比較結果に
より当該比較された時間間隔が一方の論理と判定
されたときにはその間の波高値を、他方の論理と
判定されたときにはその間の波高値と一測定後の
波高値との平均をとつた波高値を出力する磁気カ
ードの記録状態測定方法を提供することにある。 The present invention has been made in view of the above, and it reproduces various data recorded on a magnetic card, converts the peak value of the reproduced signal into a digital signal, and also converts the time interval between the peak values. Measure and store the stored time interval, read out the stored time interval, and compare it with the time interval from one measurement before, and when the compared time interval is determined to be one of the logics based on the comparison result, the peak value during that time is It is an object of the present invention to provide a method for measuring the recording state of a magnetic card, which outputs a peak value that is the average of the peak value between them and the peak value after one measurement when the other logic is determined.
以下、本発明の実施例を図面に基づいて説明す
る。 Embodiments of the present invention will be described below based on the drawings.
第1図Aは磁気カードを示す平面図であり、第
1図Bは磁気カードに設けられた磁気ストライプ
に記録されたデーターの記録状態を示す説明図で
ある。 FIG. 1A is a plan view showing a magnetic card, and FIG. 1B is an explanatory diagram showing the recording state of data recorded on a magnetic stripe provided on the magnetic card.
第1図Aにおいて、符号1は磁気カードであ
り、この磁気カード1には磁気ストライプ2が設
けられると共に、磁気カード1の発行元名称3、
所定のコード番号4、個人氏名5、有効期限6な
どが記されている。 In FIG. 1A, reference numeral 1 indicates a magnetic card, and this magnetic card 1 is provided with a magnetic stripe 2, as well as the name 3 of the issuer of the magnetic card 1,
A predetermined code number 4, individual name 5, expiration date 6, etc. are written.
磁気カード1に設けられた磁気ストライプ2に
は、第1図Bに示すように、必要なデータが論理
“1”、“0”をもつて記録されている。磁気スト
ライプ2は、“0”、“1”とも基本的には同一間
隔で記録されているものであり、“0”はその間
隔内で磁化の変化がなく、また、“1”はその間
隔内で磁化の変化がある。同図Bに示す矢符は磁
気の方向であり、“0”は磁気の方向は変つてい
てもその間隔中に磁化変化がなく、また“1”は
その間隔中に必ず磁化変化があることが理解でき
る。 On the magnetic stripe 2 provided on the magnetic card 1, necessary data is recorded as logic "1" and "0", as shown in FIG. 1B. In the magnetic stripe 2, both "0" and "1" are basically recorded at the same interval, and "0" has no change in magnetization within that interval, and "1" has no change in magnetization within that interval. There is a change in magnetization within. The arrow shown in Figure B indicates the direction of magnetism; "0" means that there is no change in magnetization during that interval even if the direction of magnetism changes, and "1" means that there is always a change in magnetization during that interval. I can understand that.
第2図は本発明に係る磁気カードのデータ記録
状態測定方法の実施例を実現する測定装置を示す
斜視図である。第2図において、第1図と同一構
成要素には同一符号を付して説明を省略する。 FIG. 2 is a perspective view showing a measuring device that implements an embodiment of the method for measuring the data recording state of a magnetic card according to the present invention. In FIG. 2, the same components as those in FIG. 1 are given the same reference numerals and their explanations will be omitted.
第2図において、符号7は読取装置であり、こ
の読取装置7には、電源スイツチ8、電源スイツ
チ8を“ON”したときに点灯する電源表示灯
9、磁気カード1をカード挿入口10に挿入し該
磁気カード1の磁気ストライプ2に記録されたデ
ータを読み取るリーダー11、マスターキー1
2、磁気カード1のデータの記録状態が正常又は
異常のときにそれぞれ点灯するOK表示灯13又
はNG表示灯14、リーダー11で磁気カード1
のストライプ2から読み出した再生信号を取り出
せるプラグ15とが設けられている。 In FIG. 2, reference numeral 7 is a reading device, and this reading device 7 includes a power switch 8, a power indicator light 9 that lights up when the power switch 8 is turned on, and a magnetic card 1 inserted into the card insertion slot 10. A reader 11 that inserts and reads data recorded on the magnetic stripe 2 of the magnetic card 1, and a master key 1.
2. OK indicator light 13 or NG indicator light 14 lights up when the data recording status of magnetic card 1 is normal or abnormal, and magnetic card 1 is detected by reader 11.
A plug 15 is provided from which a reproduced signal read from the stripe 2 can be taken out.
この読取装置7はケーブル16を介して処理装
置17に接続されている。 This reading device 7 is connected to a processing device 17 via a cable 16.
処理装置17には、キーボード18が設けられ
ている。この処理装置17には、種々の情報を表
示するCRTデイスプレイ装置19と、当該処理
装置17を動作させるプログラムや各種のデータ
を記憶するフロツピーデイスク装置20と、及び
該処理装置からの各種印刷データを印刷するプリ
ンタ21とが接続されている。 The processing device 17 is provided with a keyboard 18 . This processing device 17 includes a CRT display device 19 that displays various information, a floppy disk device 20 that stores programs and various data for operating the processing device 17, and various print data from the processing device. A printer 21 for printing is connected.
第3図は本発明の実施例が適用される測定装置
の信号系統を示すブロツク図である。 FIG. 3 is a block diagram showing a signal system of a measuring device to which an embodiment of the present invention is applied.
第3図において、上記読取装置7における信号
系統は、リーダー11のカード挿入口10に挿入
された磁気カード1の磁気ストライプ2に記録さ
れたデータを電気信号に再生できる磁気ヘツド2
2と、この磁気ヘツド22からの再生信号を一定
のレベルで増幅する増幅器23と、この増幅器2
3からの出力信号の波高値(上下のピーク値)を
ホールドするサンプルホールド回路24と、該サ
ンプルホールド回路24からの出力信号の波高値
をデジタル信号に変換するアナログ−デジタル
(AD)変換器25と、該増幅器23からの出力
信号を基に時間間隔測定信号(タイムインターバ
ル測定信号ともいう)を形成すると共にサンプル
ホールド回路24にサンプリング指令を出力する
比較回路26と、該比較回路26からの出力信号
により磁気カード1の磁気ストライプ2に記録さ
れたデータの上下ピークらピークまでの時間間隔
を測定すると共に該AD変換器25AD変換のタ
イミング信号を形成できる時間間隔測定回路27
と、上記処理装置17にデータ取り込みタイミン
グを指示し、また処理装置17からの指令により
増幅器23の増幅度を設定すると共に測定のタイ
ミングの制御をする制御回路28とを含んで構成
されている。しかして、AD変換器25及び時間
間隔測定回路27から出力される信号は、処理装
置17に供給されるようになつている。 In FIG. 3, the signal system in the reading device 7 includes a magnetic head 2 that can reproduce data recorded on the magnetic stripe 2 of the magnetic card 1 inserted into the card insertion slot 10 of the reader 11 into electrical signals.
2, an amplifier 23 that amplifies the reproduced signal from the magnetic head 22 at a constant level, and this amplifier 2.
a sample-and-hold circuit 24 that holds the peak value (upper and lower peak values) of the output signal from the sample-and-hold circuit 24; and an analog-digital (AD) converter 25 that converts the peak value of the output signal from the sample-and-hold circuit 24 into a digital signal. , a comparison circuit 26 that forms a time interval measurement signal (also referred to as a time interval measurement signal) based on the output signal from the amplifier 23 and outputs a sampling command to the sample hold circuit 24; and an output from the comparison circuit 26. A time interval measuring circuit 27 capable of measuring the time interval between the upper and lower peaks of the data recorded on the magnetic stripe 2 of the magnetic card 1 based on a signal and forming a timing signal for AD conversion of the AD converter 25.
and a control circuit 28 which instructs the data acquisition timing to the processing device 17, sets the amplification degree of the amplifier 23 based on commands from the processing device 17, and controls the measurement timing. Thus, the signals output from the AD converter 25 and the time interval measurement circuit 27 are supplied to the processing device 17.
次に、処理装置17の信号系統について説明す
る。 Next, the signal system of the processing device 17 will be explained.
処理装置17は、各種の演算処理や制御を行う
中央演算処理装置(CPU)29と、該CPU29
の基本的動作等を実行させるプログラムが記憶さ
れたリードオンリメモリ(ROM)30と、当該
測定方法を実行するプログラム、所定の定数、外
部から取り込んだデータ等を記憶できるランダム
アクセスメモリ(RAM)31と、該AD変換器
25からのデータを取り込むためのデイジタル入
力ポート32と、該時間間隔測定回路27からの
データを取り込むためのデイジタル入力ポート3
3と、該読取装置7との間で各種指令の入出力を
行うための入出力ポート34と、キーボード1
8、CRTデイスプレイ装置19、フロツピーデ
イスク装置20及びプリンタ21を該CPU29
に接続するための入出力制御装置35,36,3
7及び38と、各ポート32〜34、RAM3
1、入出力制御装置35〜38及びCPU29間
を接続するバス39とを含んで構成されている。 The processing device 17 includes a central processing unit (CPU) 29 that performs various arithmetic processing and control;
a read-only memory (ROM) 30 that stores programs for executing basic operations, etc., and a random access memory (RAM) 31 that can store programs for executing the measurement method, predetermined constants, data imported from the outside, etc. , a digital input port 32 for taking in data from the AD converter 25, and a digital input port 3 for taking in data from the time interval measuring circuit 27.
3, an input/output port 34 for inputting and outputting various commands between the reading device 7, and a keyboard 1.
8. Connect the CRT display device 19, floppy disk device 20 and printer 21 to the CPU 29.
Input/output control devices 35, 36, 3 for connecting to
7 and 38, each port 32 to 34, RAM3
1, a bus 39 that connects input/output control devices 35 to 38 and a CPU 29.
上述のように構成された測定装置の動作を以下
に説明する。 The operation of the measuring device configured as described above will be explained below.
第4図〜は上記読取装置7の動作を説明す
るために示すタイムチヤートであり、第5図〜
は測定装置の動作を説明するために示すフロー
チヤートである。 FIGS. 4 to 4 are time charts shown to explain the operation of the reading device 7, and FIGS.
is a flowchart shown to explain the operation of the measuring device.
第4図において、は磁気ストライプ2に記録
されたデータの記録状態を、は増幅器23から
の出力信号を、はから得られるデイジタル信
号を、はデイジタル信号から得られる微分信
号を、は信号を基に得られるビツトインター
バル測定信号を、はビツトインターバル信号
によつて測定される時間間隔(T1,T2,…)を、
それぞれ示すものであり、また各横軸は時間がと
られている。尚、図〜は比較回路26内で形
成される信号であり、がそれの出力信号として
出力される。 In FIG. 4, indicates the recording state of data recorded on the magnetic stripe 2, indicates the output signal from the amplifier 23, indicates the digital signal obtained from the digital signal, indicates the differential signal obtained from the digital signal, and indicates the signal based on the signal. The bit interval measurement signal obtained in , is the time interval (T 1 , T 2 ,...) measured by the bit interval signal,
Each horizontal axis represents time. Incidentally, the signals in the figures are generated within the comparator circuit 26, and are outputted as its output signals.
それでは、第1図〜第5図を参照して動作を説
明することにする。 Now, the operation will be explained with reference to FIGS. 1 to 5.
まず、第5図を参照しながら磁気カード1の
データの読み込みについて説明する。 First, reading of data from the magnetic card 1 will be explained with reference to FIG.
磁気カードを読取装置7のリーダー11のカー
ド挿入口10に挿入する(ステツプS41)。する
と、リーダー11は、磁気カード1が挿入された
のを検知して磁気カード1の磁気ストライプ2に
記録されたデータ(第4図参照)を磁気ヘツド
22で読み出す(ステツプS42)。その読み出し
た再生信号は、増幅器23で増幅されてサンプホ
ールド回路24及び比較回路26に供給される
(ステツプS43)。サンプルホールド回路24では
上記比較回路26からの指令信号により上のピー
ク値又は下のピーク値を保持する(ステツプ
S44)。このサンプルホールド回路24でホール
ドされたピーク値をAD変換器25でデジタル信
号に変換し入出力ポート32を介してRAM31
の所定の第1のエリアに前記デジタル信号が記憶
される(ステツプS45)。 The magnetic card is inserted into the card insertion slot 10 of the reader 11 of the reading device 7 (step S41). Then, the reader 11 detects that the magnetic card 1 has been inserted and reads out the data (see FIG. 4) recorded on the magnetic stripe 2 of the magnetic card 1 using the magnetic head 22 (step S42). The read reproduction signal is amplified by the amplifier 23 and supplied to the sample and hold circuit 24 and the comparison circuit 26 (step S43). The sample hold circuit 24 holds the upper peak value or the lower peak value according to the command signal from the comparison circuit 26 (step
S44). The peak value held by the sample hold circuit 24 is converted into a digital signal by the AD converter 25 and sent to the RAM 31 via the input/output port 32.
The digital signal is stored in a predetermined first area (step S45).
一方、増幅器23から出力された信号(第4図
参照)は、比較回路26において、まず第4図
に示す信号に変換される(ステツプS46)。次
に、第4図に示す信号は、同様に比較回路26
において、微分されて同図に示す微分信号とさ
れ、これにより同図に示すようなビツトインタ
ーバル測定信号を得る(ステツプS47)。このビ
ツトインターバル測定信号は、時間間隔測定回路
27に供給されて、ビツトインターバル測定信号
の立下りから立下りまでの時間が測定される(ス
テツプS48)。尚、時間間隔測定回路27は、実
際には、該測定信号の立下りから立下りまで測定
するのではなく、例えばワンシヨツトマルチバイ
ブレータを該測定信号で駆動し、この素子より出
力された信号から該測定信号の次の立下りまでの
時間TTを測定し、この時間TSをワンシヨツトマ
ルチバイブレータの動作時間TSに加えて使用す
る回路構成がとられている。しかして、ワンシヨ
ツトマルチバイブレータが動作している時間TS
の間は、その測定時間TTを処理装置17に転送
するために使用されている。このように測定され
たタイムインターバルデータT1,T2,T3,…TN
(同図参照)は、時間間隔測定回路27より入
出力ポート33を介してRAM31の所定の第2
のエリアに記憶される(ステツプS49)。すなわ
ち、AD変換器25及び時間間隔測定回路27か
らの出力データは、一坦、RAM31の所定のエ
リアに全て記憶されることになる。以上が磁気カ
ード1からのデータ読み込みの動作である。 On the other hand, the signal output from the amplifier 23 (see FIG. 4) is first converted into the signal shown in FIG. 4 in the comparison circuit 26 (step S46). Next, the signal shown in FIG.
At step S47, the signal is differentiated into a differential signal shown in the same figure, thereby obtaining a bit interval measurement signal as shown in the same figure. This bit interval measurement signal is supplied to the time interval measurement circuit 27, and the time from fall to fall of the bit interval measurement signal is measured (step S48). Note that the time interval measurement circuit 27 does not actually measure the measurement signal from one fall to the other, but drives, for example, a one-shot multivibrator with the measurement signal, and measures the signal output from this element. A circuit configuration is adopted in which the time T T until the next fall of the measurement signal is measured, and this time T S is used in addition to the operating time T S of the one-shot multivibrator. Therefore, the operating time T S of the one-shot multivibrator is
The period between is used to transfer the measurement time T T to the processing device 17. Time interval data T 1 , T 2 , T 3 ,...T N measured in this way
(See the figure)
is stored in the area (step S49). That is, all output data from the AD converter 25 and the time interval measurement circuit 27 are stored in a predetermined area of the RAM 31. The above is the operation of reading data from the magnetic card 1.
次に、ビツトインターバルデータの処理につい
て第5図を参照して説明する。 Next, processing of bit interval data will be explained with reference to FIG.
ステツプ50において、RAM31の第2のエリ
アに記憶されたタイムインターバルデータT1,
T2,T3…を読み出し、これらを加算してその加
算値の平均をとり、これを基に第1の基準幅が得
られる。すなわち、下式の如き演算をさせる。 At step 50, the time interval data T 1 ,
T 2 , T 3 . . . are read out, these are added together, and the average of the added values is taken, and the first reference width is obtained based on this. That is, the following calculation is performed.
Tmean=T1+T2+T3+…TN/N ……(1)
ただし、N;T1〜TNまでの数
しかして、その演算結果を基にして第1の基準
幅TS1{=(1±α)Tmean}を得る。尚、αは前
述の如く例えば4%である。 Tmean=T 1 +T 2 +T 3 +...T N /N (1) However, N is the number from T 1 to T N. Based on the calculation result, the first standard width T S1 {= (1±α)Tmean} is obtained. Note that α is, for example, 4% as described above.
また、ビツトインターバルデータTMは、RAM
31から順次読み出され(ステツプ51)、ステツ
プS52で論理が“1”か“0”かを判定される。
このステツプS52において、論理が“0”と判定
されたらステツプS53に移る。ステツプS53では、
そのビツトインターバルデータTMを第1の基準
幅TS1(例えば、0.12m±5μmに相当するもの)と
比較し、そのビツトインターバルデータTMが第
1の基準幅TS1内に入つている否かを判定する。 Also, bit interval data TM is stored in RAM
31 (step S51), and it is determined in step S52 whether the logic is "1" or "0".
In this step S52, if the logic is determined to be "0", the process moves to step S53. In step S53,
The bit interval data TM is compared with the first reference width T S1 (e.g., equivalent to 0.12 m ± 5 μm), and it is determined whether the bit interval data TM is within the first reference width T S1 . Determine whether
このステツプS53で前記データTMが所定の第1
の基準値幅TS1に入つていると判定されるとステ
ツプS54に移り、その判定結果(“OK”)をRAM
31の第3のエリアに記憶させる。 In this step S53, the data TM is set to a predetermined first value.
If it is determined that the value is within the standard value range T S1 , the process moves to step S54, and the determination result (“OK”) is stored in the RAM.
The information is stored in the third area of No. 31.
一方、ステツプS53で前記データTMが第1の基
準幅TS1内に入つていないと判定されるとステツ
プS55に移り、その判定結果(“NG”)をRAM3
1の第4のエリアに記憶させる。 On the other hand, if it is determined in step S53 that the data TM is not within the first reference width T S1 , the process moves to step S55, and the determination result ("NG") is stored in the RAM 3.
1 in the fourth area.
前述のステツプS54、S55の次にはRAM31の
第2のエリアに記憶されているビツトインターバ
ルデータTMの全てが終了したか否かをステツプ
S56で判定する。このステツプS56で全ビツトイ
ンターバルデータの比較が終了していないとき
は、ステツプS51に戻り、全ビツトインターバル
データの比較が終了したときには次のステツプ
S57に移る。 After the above-mentioned steps S54 and S55, a step is performed to determine whether all of the bit interval data TM stored in the second area of the RAM 31 has been completed.
Determine with S56. If the comparison of all bit interval data is not completed in this step S56, the process returns to step S51, and when the comparison of all bit interval data is completed, the next step is started.
Move on to S57.
また、ステツプS52でRAM31の第2エリア
からのビツトインターバルデータが論理“1”で
あると判定されるとステツプS58に移り、ここで
RAM31の第2エリアから次のビツトインター
バルデータ(TM+1)を読み出す。次いで、ステ
ツプS59において、先のビツトインターバルデー
タ(TM)と、今読み出してきたビツトインター
バルデータ(TM+1)とを加算(TM+TM+1)し、
この加算結果をステツプS53のビツトインターバ
ルデータとして使用可能とし、ステツプS53に移
る。 Further, if it is determined in step S52 that the bit interval data from the second area of the RAM 31 is logic "1", the process moves to step S58, where
The next bit interval data ( TM+1 ) is read from the second area of the RAM 31. Next, in step S59, the previous bit interval data (T M ) and the bit interval data (T M+1 ) just read out are added (T M +T M+1 ), and
This addition result can be used as bit interval data in step S53, and the process moves to step S53.
次に、ステツプS57ではRAM31の第2のエ
リアから最初のビツトインターバルデータT1を
読み出して、TA(1+α)の演算をし、これを仮
りの第2の基準値TS2とし、ステツプS60に移る。
ステツプS60ではRAM31の第2のエリアから
次のビツトインターバルデータTMを読み出し、
これが論理“1”か“0”かを判定する。ここで
ビツトインターバルデータTMが“0”と判定さ
れるとステツプS61に移り、ステツプS61でこの
データTMを第2の基準幅TS2と比較する。このス
テツプS61で前記データTMが第2の基準幅TS2内
に入つていれば、“OK”としてその判定結果を
RAM31の第3のエリアに記憶させる(ステツ
プS62)。 Next, in step S57, the first bit interval data T1 is read from the second area of the RAM 31, T A (1 + α) is calculated, this is set as a temporary second reference value T S2 , and the process proceeds to step S60. Move.
In step S60, the next bit interval data TM is read from the second area of the RAM 31, and
It is determined whether this is logic "1" or "0". If it is determined that the bit interval data TM is "0", the process moves to step S61, and in step S61, this data TM is compared with the second reference width T S2 . If the data T M is within the second standard width T S2 in step S61, the judgment result is determined as "OK".
It is stored in the third area of the RAM 31 (step S62).
一方、このステツプS61で前記データTMが第2
の基準幅TS2内に入つていなければ、“NG”とし
てその判定結果をRAM31の第3エリアに記憶
させる(ステツプS63)。 On the other hand, in this step S61, the data TM is
If it is not within the standard width T S2 , the judgment result is determined as "NG" and is stored in the third area of the RAM 31 (step S63).
ステツプS62、S63からはステツプS64に移り、
このステツプS64にて第2の基準値TS2をこのデ
ータTMから下記第(2)式で演算し、
TS2=(1±α)TM ……(2)
この演算結果を次の第2の基準値TS2とする。 From steps S62 and S63, the process moves to step S64.
In this step S64, the second reference value T S2 is calculated from this data T M using the following equation (2), T S2 = (1±α) T M ... (2) This calculation result is used as the next 2 standard value T S2 .
次いで、ステツプS65に移り、ここで全部のビ
ツトインターバルデータTNの比較が終了したか
判定し、終了していなければステツプS60に戻
り、また終了していればステツプS66に移る。 Next, the process moves to step S65, where it is determined whether the comparison of all bit interval data T N has been completed. If the comparison has not been completed, the process returns to step S60, and if it has completed, the process moves to step S66.
一方、ステツプS60で前記データTMが“1”と
判定されると、ステツプS67に移る。ステツプ
S67では、次のビツトインターバルデータTM+1を
RAM31の第2のエリアから読み出す。次い
で、ステツプS68で先のデータTMから第3基準値
TS3{=(1±α)TM}を演算して、これで次のデ
ータTM+1と比較する(ステツプS69)。比較結果
が、“NG”ならばステツプS70に、“OK”ならば
ステツプS71に移る。ステツプS70ではその比較
結果をRAM31の第4のエリアに記憶させる。
ステツプS71ではその比較結果をRAM31の第
3のエリアに記憶させる。これらステツプS70、
S71を通過したら、先のデータTMと後のデータ
TM+1とをステツプS72において加算(TM+TM+1)
し、その加算結果をステツプS61におけるデータ
TMとして用いられるようにし、ステツプS61に移
る。 On the other hand, if the data TM is determined to be "1" in step S60, the process moves to step S67. step
In S67, the next bit interval data T M+1 is
Read from the second area of RAM31. Next, in step S68, the third reference value is calculated from the previous data T M.
T S3 {=(1±α) T M } is calculated and compared with the next data T M+1 (step S69). If the comparison result is "NG", the process moves to step S70, and if the comparison result is "OK", the process moves to step S71. In step S70, the comparison result is stored in the fourth area of the RAM 31.
In step S71, the comparison result is stored in the third area of the RAM 31. These steps S70,
After passing S71, the previous data T M and the subsequent data
T M+1 is added in step S72 (T M + T M+1 )
Then, the addition result is used as the data in step S61.
It is made to be used as TM , and the process moves to step S61.
ステツプS66では、RAM31の第3及び第4
のエリアを検索し、“NG”がなければOK表示灯
13を点灯させ、“NG”があればNG表示灯14
点灯させる。尚、“NG”の数に等によつてNG表
示灯14を点灯させるか否かを調整することもで
きる。 In step S66, the third and fourth RAM 31
Search the area, and if there is no "NG", turn on the OK indicator light 13, and if there is "NG", turn on the NG indicator light 14.
Turn it on. Incidentally, it is also possible to adjust whether or not the NG indicator light 14 is turned on depending on the number of "NG" or the like.
このように当該測定装置によれば、AD変換器
25によりピーク値をデジタル信号に変換し、そ
のピーク値からピーク値までの時間間隔を測定
し、これを所定の基準値幅と比較して正確な間隔
でデータが磁気カードの磁気ストライプに記録さ
れているか否かを判定することができるものであ
る。 In this way, according to the measuring device, the AD converter 25 converts the peak value into a digital signal, measures the time interval from the peak value to the peak value, and compares this with a predetermined reference value width to determine the accuracy. It is possible to determine whether data is recorded on the magnetic stripe of a magnetic card based on the interval.
さらに、ビツトインターバルデータにおける波
高値を出力する動作について第5図を参照して
説明する。 Furthermore, the operation of outputting the peak value in bit interval data will be explained with reference to FIG.
波高値を出力する指示が入力されたとする(ス
テツプS80)。 Assume that an instruction to output a peak value is input (step S80).
すると、ビツトインターバルT1の前後縁のデ
イジタルデータV1F,V1BがRAM31から読み出
され、V1=V1F−V1Bの計算がなされる(ステツ
プS81)この波高値V1がビツトインターバルデー
タT1における波高値として用いられ、これは
CPU29のバツフアに一時記憶される。 Then, the digital data V 1F and V 1B at the front and rear edges of the bit interval T 1 are read out from the RAM 31, and the calculation of V 1 = V 1F - V 1B is performed (step S81). This peak value V 1 is the bit interval data. It is used as the peak value at T 1 , which is
It is temporarily stored in the buffer of CPU29.
次に、このビツトインターバルデータT1は、
一測定前のビツトインターバルデータT0から得
た一定の基準幅{TS=(1±α)T0}と比較され
る(ステツプS82)。ここでは、このビツトイン
ターバルデータT1が一定基準幅TSにあるので、
論理“0”として、上記CPU29のバツフアに
ある波高値V1を出力する(ステツプS83)。しか
して、全データが終了したか判定し、ここでは終
了してないので次の動作に移る(ステツプS84)。 Next, this bit interval data T1 is
It is compared with a constant reference width {T S =(1±α)T 0 } obtained from the bit interval data T 0 of the previous measurement (step S82). Here, since this bit interval data T 1 is within a constant reference width T S ,
The peak value V1 in the buffer of the CPU 29 is outputted as logic "0" (step S83). Then, it is determined whether all the data has been completed, and since it has not been completed, the process moves to the next operation (step S84).
次に、ビツトインターバルデータT2の後縁の
デイジタルV2BがRAM31から読み出され、
V2′=V2F−V2B=V1B−V2B(V2F=V1B)の計算が
なされる(ステツプS81)。この波高値V2′がビツ
トインターバルデータT2の波高値として用いら
れ、CPU29のバツフアに一時記憶される。 Next, the digital V 2B at the trailing edge of the bit interval data T 2 is read out from the RAM 31,
V 2 ′=V 2F −V 2B =V 1B −V 2B (V 2F =V 1B ) is calculated (step S81). This peak value V 2 ' is used as the peak value of the bit interval data T 2 and is temporarily stored in the buffer of the CPU 29.
次に、このビツトインターバルデータT2は、
一測定前のビツトインターバルデータT1から得
た一定の基準幅{TS=(1±α)T1}と比較され
る(ステツプS82)。ここでは、該ビツトインタ
ーバルデータT2は、一定基準幅内にないので、
論理“1”として次のステツプS85に移る。 Next, this bit interval data T2 is
It is compared with a constant reference width {T S =(1±α)T 1 } obtained from the bit interval data T 1 of the previous measurement (step S82). Here, since the bit interval data T2 is not within a certain standard width,
The logic is set to "1" and the process moves to the next step S85.
ここでは、ビツトインターバルデータT3の後
縁の波高値V3BをRAM31から読み出し、V2″=
V3F−V3B=V2B−V3B(V3F=V2B)の計算がなされ
る(ステツプS85)。 Here, the peak value V 3B of the trailing edge of the bit interval data T 3 is read out from the RAM 31, and V 2 ″=
V 3F −V 3B =V 2B −V 3B (V 3F =V 2B ) is calculated (step S85).
この波高V2″がビツトインターバルデータT3の
波高値として用いられ、CPU29のバツフアに
波高値V2′と同様に記憶される。 This wave height V 2 '' is used as the wave height value of the bit interval data T 3 and is stored in the buffer of the CPU 29 in the same manner as the wave height value V 2 '.
しかして、ビツトインターバルデータT3ビツ
トインターバルデータT2から得る基準幅{TS′=
(1±α)T2}と比較される(ステツプS86)。こ
こで、ビツトインターバルデータT3基準幅TS′に
入つている場合には下記の計算をさせると共に、
波高値V2を出力させる(ステツプS87)。 Therefore, the reference width obtained from the bit interval data T 3 and the bit interval data T 2 { TS ′=
(1±α)T 2 } (step S86). Here, if the bit interval data T3 is within the standard width T S ', the following calculation is performed, and
The peak value V2 is output (step S87).
V2=V2′+V2″/2
T2′=T2+T3
尚、ここで、基準幅TS′に入らない場合は、上
記計算をせずにエラーデータを出力する(ステツ
プS88)。上記両ステツプS87、S88共全データが
終了したか判定され(ステツプS84)、終了して
いないので下記動作に移る。 V 2 = V 2 ′ + V 2 ″/2 T 2 ′ = T 2 + T 3 If it does not fit within the standard width T S ′, error data is output without performing the above calculation (step S88). In both steps S87 and S88, it is determined whether all data has been completed (step S84), and since it has not been completed, the process moves to the following operation.
さらに、ビツトインターバルデータT4の後縁
のデイジタルデータT4BをRAM31から読み出
し、V3=V4F−V4B=V3B−V4Bの計算をする(ス
テツプS81)。ここで、ビツトインターバルデー
タT4が基準幅{TS(1±α)T2′}に入つている
か否かを判定する(ステツプS82)。この場合は、
基準幅TSに入つているので、論理“0”として
波高値V3を出力することになる。(ステツプS83)
このように次々と各ビツトインターバルデータ
における波高値が全データが終了するまで出力さ
れる。 Furthermore, the digital data T4B at the trailing edge of the bit interval data T4 is read out from the RAM 31, and V3 = V4F - V4B = V3B - V4B is calculated (step S81). Here, it is determined whether the bit interval data T 4 falls within the reference width {T S (1±α) T 2 '} (step S82). in this case,
Since it is within the standard width T S , the peak value V 3 is output as logic "0". (Step S83) In this way, the peak values of each bit interval data are output one after another until all data are completed.
すなわち、あるビツトインターバルデータTM
の前後縁の波高値からそのビツトインターバルデ
ータTMにおける波高値VMを求め(ステツプ
S81)、この波高値VMにおけるビツトインターバ
ルデータTMを、一測定前のビツトインターバル
データTM-1から得た基準幅TSと比較し(ステツ
プS82)、その比較結果が論理“0”のときはそ
の波高値VMを出力し(ステツプS83)、その比較
結果が論理“1”のときはその波高値と一測定後
のビツトインターバルデータTM+1の波高値VM+1
との平均をとつた波高値VMM=(VM+VM+1/2)を
出力するものである(ステツプS85〜S88)。 That is, some bit interval data T M
Find the peak value V M of the bit interval data T M from the peak values of the leading and trailing edges of the bit interval data T M (step
S81), the bit interval data TM at this peak value VM is compared with the reference width TS obtained from the bit interval data TM-1 of the previous measurement (step S82), and the comparison result is a logic "0". If so, the peak value V M is output (step S83), and if the comparison result is logic "1", the peak value and the peak value V M+1 of the bit interval data T M+1 after one measurement are output.
The wave height value V MM =(V M +V M+1 /2) which is the average of the two is output (steps S85 to S88).
しかして、上記のようにして求めた波高値VM
は、CRTデイスプレイ装置19に表示されある
いはプリンタ21から印刷出力されることにな
る。 Therefore, the peak value V M obtained as above
will be displayed on the CRT display device 19 or printed out from the printer 21.
以上は、一つの動作例を説明したが、もちろん
ビツトインターバルデータTMの比較を先にして
から波高値VMを求めてもよいことはいうまでも
ない。 Although one example of operation has been described above, it goes without saying that the peak value VM may be determined after comparing the bit interval data TM .
以上述べたように本発明によれば、磁気カード
の磁気記録波高値データが測定できる利点があ
る。 As described above, according to the present invention, there is an advantage that magnetic recording wave height value data of a magnetic card can be measured.
第1図Aは磁気カードを示す平面図、第1図B
は磁気ストライプに記録されたデータの状態を説
明するために示す説明図、第2図は本発明に係る
実施例を実現するための測定装置を示す斜視図、
第3図は同測定装置の信号系を示すブロツク図、
第4図は〜は読取装置の動作を説明するため
に示すタイムチヤート、第5図〜は測定装置
の動作を説明するために示すフローチヤートであ
る。
1……磁気カード、2……磁気ストライプ、7
……読取装置、11……リーダー、16……ケー
ブル、17……処理装置、19……CRTデイス
プレイ装置、20……フロツピーデイスク装置、
21……プリンタ。
Figure 1A is a plan view showing the magnetic card, Figure 1B
is an explanatory diagram shown to explain the state of data recorded on a magnetic stripe, and FIG. 2 is a perspective view showing a measuring device for realizing an embodiment of the present invention.
Figure 3 is a block diagram showing the signal system of the measuring device.
4 is a time chart shown for explaining the operation of the reading device, and FIG. 5 is a flow chart shown for explaining the operation of the measuring device. 1...Magnetic card, 2...Magnetic stripe, 7
...Reading device, 11...Reader, 16...Cable, 17...Processing device, 19...CRT display device, 20...Floppy disk device,
21...Printer.
Claims (1)
し、その再生信号の波高値をデイジタル信号に変
換すると共に、その波高値間毎に時間間隔を測定
して記憶し、その記憶された時間間隔を読み出し
て一測定前の時間間隔と比較し、その比較結果に
より上記時間間隔が一方の論理と判定されたとき
にはその波高値を、他方の論理と判定されたとき
にはその波高値と一測定後の波高値の平均をとつ
た波高値を出力することを特徴とする磁気カード
のデータ記録状態測定方法。1. Reproducing various data recorded on a magnetic card, converting the peak value of the reproduced signal into a digital signal, measuring and storing the time interval between the peak values, and reading out the stored time interval. If the above-mentioned time interval is determined to be one logic based on the comparison result, then the peak value of that logic is determined, and if it is determined to be the other logic, that peak value and the peak value after one measurement are compared. A method for measuring the data recording state of a magnetic card, characterized by outputting a peak value obtained by taking the average of .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11523784A JPS60258769A (en) | 1984-06-04 | 1984-06-04 | Measuring method of data recording state of magnetic card |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11523784A JPS60258769A (en) | 1984-06-04 | 1984-06-04 | Measuring method of data recording state of magnetic card |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60258769A JPS60258769A (en) | 1985-12-20 |
| JPH0376523B2 true JPH0376523B2 (en) | 1991-12-05 |
Family
ID=14657734
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11523784A Granted JPS60258769A (en) | 1984-06-04 | 1984-06-04 | Measuring method of data recording state of magnetic card |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60258769A (en) |
-
1984
- 1984-06-04 JP JP11523784A patent/JPS60258769A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60258769A (en) | 1985-12-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0376523B2 (en) | ||
| JPH0765377A (en) | Recording state detection device and optical recording medium | |
| JPS6013115Y2 (en) | Cassette-type storage device using magnetic bubbles | |
| JPS60258767A (en) | Measuring method of data recording state of magnetic card | |
| JPS60258770A (en) | Measuring method of data recording state of magnetic card | |
| JP2846653B2 (en) | Card reader | |
| JPS6012893U (en) | tape recorder | |
| JPS6131547B2 (en) | ||
| JPS58192671U (en) | fingering display device | |
| JPH03125374A (en) | Magnetic card reader | |
| JPS6051365A (en) | Image information recording device | |
| JPS6016250U (en) | optical symbol reader | |
| JPS6141061B2 (en) | ||
| JPS62110449A (en) | Monitor and controller of power system | |
| JPS6457538U (en) | ||
| JPH0235605A (en) | Magnetic stripe reading method | |
| JPS63161406U (en) | ||
| JPS5818177A (en) | Test method for magnetic disc device | |
| JPS6058539B2 (en) | Initial synchronization data reader for magnetic tape reader | |
| JPS59180576U (en) | Time axis correction device | |
| JPS61155819A (en) | Recorder | |
| JPS61295757A (en) | reading device | |
| JPS6234382A (en) | Magnetic recording and reproducing system | |
| JPS60143405A (en) | Magnetic card reader | |
| JPH04105862U (en) | magnetic card reader |