Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0685261B2 - Signal read / write determination circuit device for magnetic medium - Google Patents
[go: Go Back, main page]

JPH0685261B2 - Signal read / write determination circuit device for magnetic medium - Google Patents

Signal read / write determination circuit device for magnetic medium

Info

Publication number
JPH0685261B2
JPH0685261B2 JP17945886A JP17945886A JPH0685261B2 JP H0685261 B2 JPH0685261 B2 JP H0685261B2 JP 17945886 A JP17945886 A JP 17945886A JP 17945886 A JP17945886 A JP 17945886A JP H0685261 B2 JPH0685261 B2 JP H0685261B2
Authority
JP
Japan
Prior art keywords
data
write
read
magnetic head
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.)
Expired - Fee Related
Application number
JP17945886A
Other languages
Japanese (ja)
Other versions
JPS6337864A (en
Inventor
一弘 堤
一雄 布施
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.)
Lecip Corp
Original Assignee
Sanyo Denki Seisakusho KK
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 Sanyo Denki Seisakusho KK filed Critical Sanyo Denki Seisakusho KK
Priority to JP17945886A priority Critical patent/JPH0685261B2/en
Publication of JPS6337864A publication Critical patent/JPS6337864A/en
Publication of JPH0685261B2 publication Critical patent/JPH0685261B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】 《産業上の利用分野》 本発明は磁気媒体を、読み出し用磁気ヘッドにより走査
することで得られた再生信号につき、当該信号に含まれ
ているデータ情報およびクロック情報を夫々データ信号
およびクロック信号として読み出すだけでなく、この読
み出し動作と同期して、当該磁気媒体に書き込みの処理
を行ないさらに、この書き込みデータが正しいか否かを
判定した後、これを外部へ出力するようにした信号読出
書込判定回路装置に関する。
DETAILED DESCRIPTION OF THE INVENTION << Industrial Application Field >> The present invention relates to a reproduction signal obtained by scanning a magnetic medium with a read magnetic head, and provides data information and clock information included in the signal. In addition to reading as a data signal and a clock signal respectively, writing processing is performed on the magnetic medium in synchronization with this reading operation, and it is further determined whether or not the written data is correct and then output to the outside. And a signal read / write determination circuit device.

《従来の技術》 磁気媒体、たとえば磁気カード等に情報を書き込む場
合、磁性材料上の磁化の状態は+Brか−Br(Br:残留磁
化)のどちらかであるので、これらを2進値の1または
0に対応させなければならないこととなる。
<< Prior Art >> When writing information on a magnetic medium such as a magnetic card, the state of magnetization on the magnetic material is either + Br or −Br (Br: remanent magnetization). Or it must correspond to 0.

その対応のさせ方にいくつかの方式があって、その主な
ものの名をあげると、RZ方式、RB方式、NRZ方式、NRZI
方式、PM方式、FM方式などである。
There are several methods for dealing with this, and the main ones are RZ method, RB method, NRZ method, NRZI.
The system, PM system, FM system, etc.

これらのうちで、現在実際に多く用いられているのは、
書込密度が比較的低いときにはNRZI方式、比較的高いと
きにはPMまたはFM方式である。
Of these, the ones that are actually being used today are
The NRZI method is used when the writing density is relatively low, and the PM or FM method is used when the writing density is relatively high.

そして上記のPM方式(位相変調方式、PE方式ともいう)
とFM方式(周波数変調方式ともいう)とが、1トラック
にデータ情報とクロック情報とを有する自己周期式磁気
記録方式に該当する。
And the above PM method (also called phase modulation method, PE method)
And FM system (also referred to as frequency modulation system) correspond to a self-periodic magnetic recording system having data information and clock information in one track.

ここで、PM方式では、磁気媒体上における単位情報とし
ての記録領域であるビットセルにあって、その中央に必
ず磁化反転があり、これをクロック情報とすると共に、
磁化反転の方向すなわちS→NとN→Sの2つをデータ
情報の2進数に対応させる。
Here, in the PM system, in a bit cell that is a recording area as unit information on a magnetic medium, there is always a magnetization reversal at the center, and this is used as clock information,
The two directions of magnetization reversal, that is, S → N and N → S are made to correspond to binary numbers of data information.

ただし、データ情報として同一の2進数が連続する場合
には、各ビットセルの境界で意味のない磁化反転をさせ
る必要がある。
However, if the same binary number is consecutive as the data information, it is necessary to perform meaningless magnetization reversal at the boundary of each bit cell.

この余分の磁束反転を位相磁束反転または俗にフェーズ
ビットと呼んでいる。
This extra magnetic flux reversal is commonly called a phase magnetic flux reversal or a phase bit.

これに対してもともとの情報をもっている磁束反転のこ
とをデータ磁束反転またはデータビットという。
On the other hand, the magnetic flux inversion having the original information is called data magnetic flux inversion or data bit.

すなわち、第11図に示すPM方式の磁気記録を再生して得
た再生信号波形例によって理解されるように、1点鎖線
で区切られた区間Aがビットセルで、その中央で必ず発
生するレベル変移は意味のあるデータ磁束反転で、L→
Hのレベル変移をデータ情報“1"とし、H→Lのレベル
変移をデータ情報“0"とすれば、この再生信号波形は図
示のごとくデータ情報“1・1・0・1・0・0"を含ん
でいる。
That is, as can be understood from the reproduction signal waveform example obtained by reproducing the PM system magnetic recording shown in FIG. 11, the section A delimited by the alternate long and short dash line is a bit cell, and the level shift that always occurs at the center thereof. Is a meaningful data flux reversal, L →
If the H level transition is data information “1” and the H → L level transition is data information “0”, the reproduced signal waveform is as shown in the data information “1 · 1 · 0 · 1.0 · 0. "Includes.

またビットセルAの中央で必ず発生するレベル変移は、
クロック情報でもあり、図中点線で区切られた区間Tが
ビット周期Tであって、AとTとの間にずれがある。
Also, the level shift that always occurs in the center of the bit cell A is
It is also clock information, and a section T separated by a dotted line in the drawing is a bit period T, and there is a deviation between A and T.

次にFM方式では、第12図のごとくビットセルAの中央に
おける磁化反転の有無をデータ情報の2進数に対応させ
るのであり、当該中央に上記磁化反転が有ればデータ情
報が“1"であり、なければデータ情報が“0"であるもの
としこれと共に各ビットセルAの境界において必ず磁化
反転を生じさせて、これをクロック情報としている。
Next, in the FM system, the presence or absence of magnetization reversal in the center of the bit cell A is made to correspond to the binary number of the data information as shown in FIG. 12, and if there is the above magnetization reversal in the center, the data information is "1". If not present, the data information is assumed to be "0", and magnetization reversal is always caused at the boundary of each bit cell A, and this is used as clock information.

すなわち、同上図はFM方式による磁気記録を再生して得
た再生信号波形であり、ビットセルAの境界で必ず発生
するレベル変移はクロック情報であって、連続する2個
のクロック情報の発生時間間隔を示すビット周期Tはビ
ットセルAと合致し、この場合のデータ情報も“1・1
・0・1・0・0"を含んでいる。
That is, the above figure is a reproduced signal waveform obtained by reproducing magnetic recording by the FM system, and the level shift that always occurs at the boundary of the bit cell A is clock information, and the time interval between two consecutive clock information generations. The bit period T indicating “1” matches the bit cell A, and the data information in this case is also “1.1
・ Includes 0, 1, 0, 0 ".

そこで、上記磁気記録からデータ信号とクロックの信号
を読み出すため、一方が閉じればこれに関連して他方が
開くようになっている2個のゲートを設け、一方のゲー
トをビット周期の開始からごく短い時間が経過した後、
たとえばビット周期の1/4が経過した後、ビット周期の
ほぼ3/4の間開いてデータ信号を取り出し、他方のゲー
トBはビット周期の残りの間開いてクロック信号を取り
出すようにすると、再生信号においてレベル変移で表わ
されているデータ情報およびクロック情報をデータ信号
およびクロック信号として読み出すことができる。
Therefore, in order to read out the data signal and the clock signal from the magnetic recording, two gates are provided so that when one is closed, the other is opened in association with this, and one gate is set to a very short time from the start of the bit period. After a short time
For example, after 1/4 of the bit period has elapsed, the data signal is opened for about 3/4 of the bit period, and the gate B is opened for the rest of the bit period to take out the clock signal. The data information and clock information represented by the level shift in the signal can be read as the data signal and the clock signal.

このようにPM方式ならびにFM方式の磁気記録再生信号か
ら、データ信号およびクロック信号を読み出すために、
再生信号のビット周期の1/4ないし3/4という時間の設定
は重要な意味があり、この時間のことを“禁止時間”と
呼んでいる。
In this way, in order to read the data signal and the clock signal from the PM system and the FM system magnetic recording / reproducing signal,
Setting the time of 1/4 to 3/4 of the bit period of the reproduction signal has an important meaning, and this time is called "prohibition time".

そして、上記禁止時間に基づいて信号読出用のゲートを
制御すれば、再生信号からデータ信号とクロック信号と
を混同することなく読み出すことができ、通常この禁止
時間は固定された一定値として設定される。
Then, by controlling the signal reading gate based on the prohibition time, the data signal and the clock signal can be read from the reproduction signal without confusion, and normally the prohibition time is set as a fixed constant value. It

ところが記録時および読取時の磁気ヘッドと磁気媒体と
の相対速度、すなわち走査速度は、モータトルクの変化
や負荷トルクの変化などの影響を受けて変動するのであ
り、さらにIDカード、磁気タグなどの磁気記録媒体を手
にもって手動式磁気カードリーダで読み取らせる場合
や、磁気ペンで磁気タグを読み取る場合などでは走査速
度は、更にその変動が大きく、1走査期間中に早くなっ
たり遅くなったりする。
However, the relative speed between the magnetic head and the magnetic medium during recording and reading, that is, the scanning speed, fluctuates under the influence of changes in motor torque and changes in load torque. When the magnetic recording medium is read by a hand-held magnetic card reader or when a magnetic tag is read by a magnetic pen, the scanning speed has a large fluctuation, and the scanning speed becomes faster or slower during one scanning period. .

このように、走査速度が変動すると、読取ビット間隔が
一定にならず、走査速度が大きければビット間隔は狭く
なり、走査速度が小さければビット間隔は広くなる。
As described above, when the scanning speed changes, the read bit interval does not become constant. When the scanning speed is high, the bit interval becomes narrow, and when the scanning speed is low, the bit interval becomes wide.

上記のような走査速度の変動に応じてビット周期も変動
するため、従来のように一定値の禁止時間を設定する
と、禁止時間とビット周期の対応がくずれ、再生信号に
含まれたデータ情報およびクロック情報を、データ信号
およびクロック信号として正しく読み出すことができな
くなる。
Since the bit period also fluctuates according to the fluctuation of the scanning speed as described above, when the prohibition time of a constant value is set as in the conventional case, the correspondence between the prohibition time and the bit period is broken, and the data information included in the reproduction signal Clock information cannot be read correctly as a data signal and a clock signal.

そのため、この不具合を少しでも軽減しようとして複雑
・高価な定速走査機構を設けて走査速度の変動を押え、
ビット周期を一定に近づけるように努力する外はなかっ
た。
Therefore, in order to reduce this problem as much as possible, a complicated and expensive constant speed scanning mechanism is installed to suppress fluctuations in scanning speed,
There was no choice but to try to keep the bit period constant.

そこで、この走査速度の変動の影響から逃れるために、
さまざまな方法が提案されている。
Therefore, in order to escape from the influence of this fluctuation in scanning speed,
Various methods have been proposed.

すなわち、モータなどを用いて磁気媒体を自動搬送する
場合には、搬送速度に比例したクロック信号をモータや
搬送機構に取りつけたエンコーダ等から得て、そのクロ
ック信号に同期してデータ信号を読み取ったり、あるい
は各ビット周期の先行ビット周期もしくは平均ビット周
期に比例する比例時間を時間設定装置によって得て、こ
の時間に基づいて読出ゲートを制御して各ビット周期の
データ信号およびクロック信号を読み出す方式などであ
る。
That is, when a magnetic medium is automatically conveyed using a motor or the like, a clock signal proportional to the conveyance speed is obtained from an encoder or the like attached to the motor or the conveyance mechanism, and the data signal is read in synchronization with the clock signal. , Or a method in which a proportional time proportional to the preceding bit period or the average bit period of each bit period is obtained by a time setting device, and the read gate is controlled based on this time to read the data signal and clock signal of each bit period. Is.

このような方式では、磁気記録密度を変更する場合、磁
気媒体の搬送速度(すなわち走査速度)とクロック信号
との比例定数を変更する必要があり、さらにその比例定
数の精度も問題になる。
In such a system, when the magnetic recording density is changed, it is necessary to change the proportional constant of the transport speed (that is, the scanning speed) of the magnetic medium and the clock signal, and the accuracy of the proportional constant is also a problem.

《発明が解決しようとする問題点》 本発明は上記従来技術の難点に鑑み検討されたもので、
磁気媒体挿入検出センサ、読出用磁気ヘッド、比較器、
OR回路、フリップフロップ回路および書込用磁気ヘッ
ド、電流ドライバ、書込用信号処理回路と、書込開始位
置設定データメモリ、読取用時間計数器、書込用時間計
数器、読取用データメモリ、加工用データメモリ、書込
用データメモリ、比較用データメモリを具備した中央演
算処理装置とを、適切に接続すると共に、当該中央演算
処理装置に特異な演算判定機能を具有させることによっ
て、モータや搬送機構に取り付けられたエンコーダから
のクロック信号を全く必要とせずに、ビット周期の変動
があっても、再生信号から正しいデータ信号およびクロ
ック信号を読み出せるようにしたうえ、読み出しの動作
と同期させた書き込みの処理を行なわせるようにし、読
み出しおよび書き込みをより精密に、かつより広範囲な
ビット周期の変動に対応できるようにした新しい読取、
書込の方式を提供しようとするのが、その目的である。
<< Problems to be Solved by the Invention >> The present invention has been studied in view of the above-mentioned problems of the prior art,
Magnetic medium insertion detection sensor, read magnetic head, comparator,
OR circuit, flip-flop circuit, write magnetic head, current driver, write signal processing circuit, write start position setting data memory, read time counter, write time counter, read data memory, By appropriately connecting a central processing unit having a processing data memory, a writing data memory, and a comparison data memory, and by providing the central processing unit with a peculiar calculation determination function, Even if the clock signal from the encoder attached to the transport mechanism is not required at all, even if the bit period fluctuates, the correct data signal and clock signal can be read from the playback signal, and it is synchronized with the read operation. Read and write with higher precision and wider range of bit period fluctuations. Read new was to be able to respond,
The aim is to provide a writing scheme.

《問題点を解決するための手段》 本発明は上記の目的を達成するために、中央演算処理装
置に、磁気媒体挿入検知センサからの磁化媒体検知信号
と、磁気媒体の磁化状態を検知する読出用磁気ヘッドに
より得られた読出信号が、正レベル、負レベルと比較さ
れて各比較器から出力される正パルス、負パルスのOR信
号としての全パルス信号と、当該正パルス、負パルスを
セット、リセット信号とするフリップフロップ回路から
出力される再生信号とが夫々入力され、上記磁気媒体挿
入検知センサから順次磁気媒体の搬送方向へ、前記読出
用磁気ヘッド、当該ヘッドから所定距離だけ離間した書
込用磁気ヘッドを配設し、この書込用磁気ヘッドは前記
中央演算処理装置に順次電流ドライバ、書込用信号処理
回路を介して接続され、さらに当該中央演算処理装置に
は、磁気媒体の記録密度、前記読出用磁気ヘッドと書込
用磁気ヘッドとの離間距離等の所要値をセット可能とし
た書込開始位置設定データメモリ、読取用時間係数器、
書込用時間係数器、読取用データメモリ、加工用データ
メモリ、書込用データメモリ、比較用データメモリ、全
データ出力端を夫々接続すると共に、当該中央演算処理
装置に、全パルス信号入力毎に再生信号がレベル反転す
るか否かの検知による外乱判定除去機能と、磁気媒体の
読出用磁気ヘッド進入時の搬送速度急変に際し、当該急
変状態下の全パルス信号を無視するパルス間隔大幅変動
判定機能と、上記のパルス間隔を2進情報に変換するに
際し、前記読取用時間計算器によるパルス間隔値による
前回のビットセル間隔を基準として“1"、“0"の何れか
に判定する読み取りの機能と、磁気媒体のデータブロッ
ク中の何れのブロックから入力されているかを検知する
データブロック判別機能とを具備させ、かつ前記書込開
始位置設定メモリからの入力によって、磁気媒体のデー
タブロックにおける書き込みの開始時点を決定する機
能、前記読出用磁気ヘッドから算出した最新のビットセ
ル間隔を利用して、書込用磁気ヘッドによる書き込みの
手続を行なう機能をも具有させ、さらに、前記の読み取
りのうちデータだけが読取用データメモリに格納される
と、これにつき予め格納しておいた各条件にあわせての
加工用データメモリによる加工処理が行なわれ、これに
より作成された次の書込用データおよび書き込み後の比
較用データが夫々書込用データメモリ、比較用データメ
モリに入力され、書き込み処理の内容についての読み取
りデータと、前記比較用データメモリのデータが一致し
ているか否かを照合し、正しいデータの書き込みが確認
されれば、前記全データ出力端から処理結果を出力する
ようにしたことを特徴とする磁気媒体の信号読出書込判
定回路装置を提供しようとするものである。
<< Means for Solving Problems >> In order to achieve the above object, the present invention provides a central processing unit with a magnetic medium detection signal from a magnetic medium insertion detection sensor and a reading for detecting the magnetization state of the magnetic medium. The read signal obtained by the magnetic head for use is compared with the positive level and the negative level, and all the pulse signals as the OR signal of the positive pulse and the negative pulse output from each comparator and the relevant positive pulse and the negative pulse are set. , A reproduction signal output from a flip-flop circuit as a reset signal is input, respectively, and the read magnetic head and the recording spaced apart from the head by a predetermined distance from the magnetic medium insertion detection sensor in the transport direction of the magnetic medium. A magnetic head for writing is arranged, and the magnetic head for writing is connected to the central processing unit in sequence through a current driver and a signal processing circuit for writing. Calculated in the processing unit, the recording density of the magnetic media, which can be set and the write start position setting data memory required value of the distance or the like between the magnetic head and the magnetic write head for reading, reading time coefficient multiplier,
The write time coefficient unit, the read data memory, the processing data memory, the write data memory, the comparison data memory, and the all data output terminals are connected to each other, and all pulse signal inputs are input to the central processing unit. Disturbance judgment removal function by detecting whether or not the reproduction signal level is reversed, and large pulse interval fluctuation judgment that ignores all pulse signals under the sudden change condition when the transport speed suddenly changes when the magnetic head for reading the magnetic medium enters And a reading function for converting the above pulse interval into binary information, which is determined as either "1" or "0" based on the previous bit cell interval based on the pulse interval value obtained by the reading time calculator. And a data block discriminating function for detecting which block of the data blocks of the magnetic medium is being input, and the write start position setting memory. The function of determining the start time of writing in the data block of the magnetic medium by the input from the above, and the function of performing the writing procedure by the writing magnetic head by using the latest bit cell interval calculated from the reading magnetic head. Further, when only the data of the above-mentioned reading is stored in the reading data memory, the processing processing is performed by the processing data memory according to each condition stored in advance. The next write data and the comparison data after writing, which are created by, are input to the write data memory and the comparison data memory, respectively, and the read data regarding the contents of the write processing and the data of the comparison data memory are written. If the correct data writing is confirmed, it is processed from all the data output terminals. It is intended to provide a signal reading and writing determining circuit of the magnetic medium, characterized in that so as to output the result.

《実施例》 本発明を図示の実施例によって詳記すると、第1図のご
とき電気回路構成をもたせると共に、その中央演算処理
装置CPUによって、第4〜6図のフローチャートに示さ
れる判定手続きを行なわせ得るようにするのである。
<< Embodiment >> When the present invention is described in detail with reference to the illustrated embodiment, an electric circuit configuration as shown in FIG. 1 is provided, and the central processing unit CPU executes the determination procedure shown in the flowcharts of FIGS. It is possible to let it.

第1図にあって1は、第8図に示されている磁気媒体MC
をモータ等により駆動される搬送機構に差し入れた際な
どに、当該媒体を検知する磁気媒体挿入検出センサで、
その出力は中央演算処理装置CPUに導入される。
In FIG. 1, 1 is the magnetic medium MC shown in FIG.
With a magnetic medium insertion detection sensor that detects the medium when it is inserted into a transport mechanism driven by a motor, etc.
The output is introduced to the central processing unit CPU.

一方、第8図の如き所定位置に設けた読出用磁気ヘッド
2の出力は増幅器3を介して比較器4a,4bに印加され、
当該比較器4a,4bの出力側は、夫々OR回路5、フリップ
フロップ回路6を介してCPUに接続されている。
On the other hand, the output of the read magnetic head 2 provided at a predetermined position as shown in FIG. 8 is applied to the comparators 4a and 4b via the amplifier 3,
Output sides of the comparators 4a and 4b are connected to the CPU via the OR circuit 5 and the flip-flop circuit 6, respectively.

また同じく第8図に示され後に詳記するように、上記の
読出用磁気ヘッド2に傍設されている書込用磁気ヘッド
7が、電流ドライバ8、書込用信号処理回路9を介して
上記CPUに接続されているとこのCPUには、書込開始位置
設定データ用メモリ10、読取用時間計数器11、書込用時
間計数器12、読取用データメモリ13、加工用データメモ
リ14、書込用データメモリ15、比較用データメモリ16が
具備されており、図中17は全データ出力端を示してい
る。
Similarly, as shown in FIG. 8 and described later in detail, the write magnetic head 7 provided adjacent to the read magnetic head 2 is connected via a current driver 8 and a write signal processing circuit 9. When connected to the CPU, this CPU has a writing start position setting data memory 10, a reading time counter 11, a writing time counter 12, a reading data memory 13, a processing data memory 14, A write data memory 15 and a comparison data memory 16 are provided, and reference numeral 17 in the figure denotes all data output terminals.

ここで、上記磁気媒体なるものは、これに情報を記録す
る場合、既知のごとく全面にわたって記録されるのでは
なく、第7図(a)に示す通りプリアンブル、ギャッ
プ、データ部分、ポストアンブルの各ブロックに区切っ
て書き込まれるのであり、このような順に並んでいる全
体をデータブロック18と総称しており、さらに上記のデ
ータ部分は、パーマネントデータ部、データギャップ、
テンポラリデータ部に細分され、これらのブロック中、
プリアンブルとポストアンブルは、ビット周期を伝達す
るためにあり、同図(b)のごとくすべて2進数“0"と
なっている。
Here, when the information is recorded on the magnetic medium, it is not recorded on the entire surface as is known, but as shown in FIG. 7 (a), each of the preamble, gap, data portion and postamble is recorded. The data is written by dividing it into blocks, and the whole arrayed in such an order is collectively referred to as a data block 18, and the above data portion includes a permanent data portion, a data gap,
In these blocks, subdivided into temporary data part,
The preamble and the postamble are for transmitting the bit period, and are all binary "0" as shown in FIG.

次のブロックであるギャップは、プリアンブルからデー
タ部分へのつなぎとなっていて、2進数“1"で構成さ
れ、かつその個数は予め定められており、さらに上記パ
ーマネントデータ部は、カードの固有データとして「読
み出しのみ(Read Onry)」の領域と定め、テンポラリ
データ部は「読み出し/書き込み(Read/Write)」共に
可能な領域としてあると共に、データギャップは、同様
に「読み出し/書き込み(Read/Write)」共に可能な領
域で、パーマネントデータ部とテンポラリデータ部のつ
なぎの役割として「書き込み開始位置」を示し、そのデ
ータ形式があらかじめ決められ、また、各ブロック内の
個数は全てあらかじめ定められているのであって、上記
のことは、第7図の(b)が、これを明示している。
The gap, which is the next block, is a connection from the preamble to the data portion, is composed of a binary number "1", and the number thereof is predetermined, and the permanent data portion is the unique data of the card. Is defined as a "Read Only" area, the temporary data part is an area where "Read / Write" is possible, and the data gap is also "Read / Write (Read / Write)". ) ”In the area where both are possible, the“ write start position ”is shown as a role of connecting the permanent data section and the temporary data section, the data format is predetermined, and the number of each block is all predetermined. Therefore, the above is clearly shown in FIG. 7 (b).

さて、本発明では前掲の読出用磁気ヘッド2と書込用磁
気ヘッド7の配置が第8図のようになっている。
In the present invention, the arrangement of the read magnetic head 2 and the write magnetic head 7 is as shown in FIG.

すなわち、当該実施例では磁気媒体MCの搬送方向Dに沿
って、光学式、機械式等による磁気媒体挿入検知センサ
1、書込用磁気ヘッド7、そして読出用磁気ヘッド2の
順に配置され、両ヘッド2、7間の距離をl(mm)に設
定してある。
That is, in this embodiment, the magnetic medium insertion detection sensor 1 of optical type, mechanical type, the magnetic head for writing 7, and the magnetic head for reading 2 are arranged in this order along the transport direction D of the magnetic medium MC. The distance between the heads 2 and 7 is set to 1 (mm).

ここで磁気媒体MCのデータブロックが記録密度B(bit/
mm)であるとすれば、上記lの距離間にあるビット数n
は、 n=l×B=N+r (bit) となり、ここで N;整数 N=〔l×B〕 r;少数 r=l*B−〔l×B〕 である。
Here, the data block of the magnetic medium MC is the recording density B (bit /
mm), the number of bits n between the distances of l
Becomes n = 1 × B = N + r (bit), where N; integer N = [l × B] r; decimal point r = l * B- [l × B].

さて、ここで読出用ヘッド2が、磁気媒体MCのどの位置
から読み出しているかがわかれば、書込用磁気ヘッド7
が磁気媒体MCのどの位置にあるかは、両磁気ヘッド2、
7間のビット数nを用いて算出することができることと
なる。
Now, if it is known from which position on the magnetic medium MC the reading head 2 is reading, the writing magnetic head 7
The position on the magnetic medium MC is determined by the two magnetic heads 2,
It can be calculated by using the number of bits n between 7.

逆に、データギャップの先頭が書込用磁気ヘッヘッド7
に達したときに、読出用磁気ヘッド2がどの位置にある
かも算出できる。
On the contrary, the head of the data gap is the write magnetic head 7
It is also possible to calculate the position of the read magnetic head 2 when the value reaches.

今データギャップの先頭が、ギャップの先頭から数えて
Nx番目とすると、読出用磁気ヘッド2がギャップ先頭位
置からNx−(N+γ)の位置に達したときに、書込用磁
気ヘッド7がデータギャップの先頭に達することにな
る。
Now the beginning of the data gap is counted from the beginning of the gap
Assuming the Nxth position, the write magnetic head 7 reaches the head of the data gap when the read magnetic head 2 reaches the position Nx− (N + γ) from the gap head position.

ここで上記Nx、Nおよびγを、書き込み開始位置を書込
用磁気ヘッド7に指示するデータとして前掲の書込開始
位置設定データメモリ10に格納しておくのである。
Here, the above Nx, N and γ are stored in the above-mentioned write start position setting data memory 10 as data for instructing the write start position to the write magnetic head 7.

ここで、本発明では後に詳記する通り、先ず読出用磁気
ヘッド2による磁気媒体記録の読み出し(Read)を行な
い、続いて当該読み出しによるデータの加工処理(Data
Processing)、さらに書込用磁気ヘッド7による書き
込み(Write)の後、書き込み事項が正しかったか否か
の比較照合の手続を順次進行処理していくこととなる
が、このような処理を実施するためには、上記第8図の
実施例によるヘッド配置の場合、その磁気媒体を次のよ
うに搬送しなければならないこととなる。
Here, in the present invention, as will be described in detail later, first, reading (Read) of the magnetic medium recording by the read magnetic head 2 is performed, and then data processing (Data) by the reading is performed.
Processing), and further, after the writing (Write) by the writing magnetic head 7, the procedure of comparing and collating whether or not the matter to be written was correct is sequentially processed. In order to perform such processing. In the case of the head arrangement according to the embodiment shown in FIG. 8, the magnetic medium must be transported as follows.

すなわち、 (a)先ず磁気媒体MCを読出用磁気ヘッド2まで搬送し
て、内容を読み取り、 (b)次に同媒体を逆方向に搬送して、書込用磁気ヘッ
ド7の手前に迄戻してから、 (c)もう一度順方向に搬送しつつ、前記要領にて読出
用磁気ヘッド2で書き込み位置と、後述のビット間隔を
確認しながら、書込用磁気ヘッド7で書き込みを行な
い、 (d)かつその書き込んだ内容の正否を後述の如く照合
する。
That is, (a) first, the magnetic medium MC is conveyed to the read magnetic head 2 to read the contents, and (b) the medium is then conveyed in the opposite direction and returned to before the write magnetic head 7. Then, (c) while carrying the sheet again in the forward direction, writing is performed by the writing magnetic head 7 while confirming the writing position by the reading magnetic head 2 and the bit interval described later in the same manner as described above. ) And the correctness of the written contents is collated as described later.

という、複雑な動作になり、磁気カード・リーダ/ライ
タの中で、磁気カード等の磁気媒体が行ったり来たりす
ることになる。
This is a complicated operation, and a magnetic medium such as a magnetic card goes back and forth in the magnetic card reader / writer.

そこで、このような磁気媒体の往復を避けたい場合、磁
気媒体挿入センサ1と書込用磁気ヘッド7の間に、もう
1つ図示しない読出用磁気ヘッドを追加することによ
り、目的を達成することができる。
Therefore, if it is desired to avoid such a reciprocation of the magnetic medium, another object (not shown) for reading may be added between the magnetic medium insertion sensor 1 and the writing magnetic head 7 to achieve the object. You can

すなわち、このようにすることで、 (a)上記追加の読出用磁気ヘッドで、内容を読み取
り、データの加工処理を行ない、 (b)次に、書込用ヘッド7の後に置かれている読出用
磁気ヘッド2で前同様書き込み位置とビット間隔を確認
しながら、書込用磁気ヘッド7で書き込みを行ないつ
つ、 (c)新しく書き込んだ内容の比較照合を行なえばよ
い。
That is, by doing so, (a) the additional read magnetic head reads the content and processes the data, and (b) the read head placed after the write head 7 is read. While the writing magnetic head 7 is performing the writing while the writing magnetic head 2 is confirming the writing position and the bit interval as before, (c) the newly written contents may be compared and collated.

従って、この場合においても、2ケの読出用磁気ヘッド
を電気的に切り替えることにより、当該ヘッドが1ケの
場合と処理の方法としては全く同一にあつかえる。
Therefore, even in this case, by electrically switching the two read magnetic heads, the processing method can be treated in exactly the same way as in the case of one head.

そこで、本考案では、媒体が前記磁気媒体挿入検出セン
サ1により検出されると、前回“0"の入力があった状態
にセットされ、第4図のフローチャートにより示される
通り、CPUは後述の全パルス信号Pの出力を待機する状
態となる。
Therefore, in the present invention, when a medium is detected by the magnetic medium insertion detection sensor 1, the state where the input of "0" was made last time is set, and as shown in the flowchart of FIG. The state of waiting for the output of the pulse signal P is set.

上記磁気媒体が搬送装置等によって、読出用磁気ヘッド
2の位置まで運ばれてくると、データの読み出しがはじ
まる。
When the magnetic medium is carried to the position of the read magnetic head 2 by a carrier device or the like, the reading of data starts.

従って、第2図のごとき当該磁気媒体の磁化状態であれ
ば、同上ヘッド2からの読出信号P1が得られ、これが増
幅された後、比較器4a,4bに印加され、ここで正レベ
ル、負レベルと比較された結果の出力として、同器4a,4
bから正パルスP2と負パルスP3が得られるのであり、こ
の際各パルスP2、P3は、夫々磁気媒体の磁化状態がS→
NとN→Sへ変化する時に発生する。
Therefore, if the magnetic medium is in the magnetized state as shown in FIG. 2, the read signal P1 from the head 2 is obtained, amplified, and then applied to the comparators 4a and 4b. As the output of the result compared with the level,
The positive pulse P2 and the negative pulse P3 are obtained from b, and at this time, the respective pulses P2 and P3 have the magnetization state of the magnetic medium S →
It occurs when changing from N to N → S.

このP2とP3はOR回路5と、フリップフロップ回路6とに
夫々印加されるが、これによりOR回路5からは、P2、P3
のOR信号である磁化変化信号、すなわち前記全パルス信
号Pが、CPUに入力されることとなり、また上記正パル
スP2をセット入力、負パルスP3をリセット入力とするフ
リップフロップ回路6の出力が再生信号Pで、これもCP
Uに入力されることとなり、このCPUは、これらの全パル
ス信号P、再生信号RPを、後述のようにして読み取るこ
とができ、読み出したデータは、前記読出用データメモ
リ13に格納されることとなる。
The P2 and P3 are applied to the OR circuit 5 and the flip-flop circuit 6, respectively.
The magnetization change signal which is the OR signal, that is, all the pulse signals P are input to the CPU, and the output of the flip-flop circuit 6 having the positive pulse P2 as a set input and the negative pulse P3 as a reset input is reproduced. Signal P, also CP
The CPU is able to read all the pulse signals P and the reproduction signal RP as described below, and the read data is stored in the read data memory 13. Becomes

ここで本発明に係る中央演算処理装置CPUには、先ず次
に示すごとき外乱判定除去機能を具備させている。
Here, the central processing unit CPU according to the present invention is first provided with a disturbance determination removal function as shown below.

すなわちCPUに全パルス信号が入力される毎に、CPUはそ
の時の再生信号RPのレベルが、前回の全パルス信号P入
力時のレベルに対して反転しているかどうかを調べて、
今回入力された全パルス信号Pの有効性(正規の全パル
スであるか、外乱であるか)を調べる。
That is, every time all pulse signals are input to the CPU, the CPU checks whether or not the level of the reproduction signal RP at that time is inverted with respect to the level at the previous input of all pulse signals P,
The validity of all the pulse signals P input this time (whether they are regular all pulses or disturbance) is checked.

すなわち正パルスP2と負パルスP3は交互に到来するか
ら、全パルス信号Pの入力時には必ずフリップフロップ
回路6の出力は反転していなければならない。
That is, since the positive pulse P2 and the negative pulse P3 arrive alternately, the output of the flip-flop circuit 6 must be inverted when all the pulse signals P are input.

そこで、今回の全パルス信号Pの入力時における再生信
号RPのレベルを前回の全パルス信号P入力時の再生信号
RP,のレベルと比べたときに、 反転していれば、正規の全パルス(=磁化変化信号) 同じであれば、ノイズ等の外乱 と判定し、外乱であれば受けつけないのである。
Therefore, the level of the reproduction signal RP at the time of inputting the whole pulse signal P this time is set to the reproduction signal at the time of inputting the previous whole pulse signal P
If it is inverted when compared with the level of RP, if all the normal pulses (= magnetization change signal) are the same, it is judged as a disturbance such as noise, and if it is a disturbance, it is not accepted.

第2にCPUが具有しているのは、パルス間隔大幅変動判
定の機能である。
Secondly, the CPU has a function for determining a large variation in pulse interval.

これは、磁気媒体が読取用磁気ヘッド2と既知の押えロ
ーラとの間に進入して来たとき、当該媒体の搬送速度が
一瞬急激に低下し、この低下の度合は進入毎に変化する
ため、プリアンブルの先頭近傍におけるパルス間隔が著
しく不安定となる点に着目し、この進入時における大幅
なパルス間隔変動の影響を避るために具有させた機能で
ある。
This is because when the magnetic medium enters between the reading magnetic head 2 and a known pressing roller, the transport speed of the medium suddenly decreases for a moment, and the degree of this decrease changes with each entry. Focusing on the fact that the pulse interval near the beginning of the preamble becomes extremely unstable, this is a function provided to avoid the effect of a large pulse interval variation at the time of this approach.

すなわち、前記の通り正規の全パルス信号Pであるなら
ば、これにつき前記の時計計数器7により、パルス到来
間隔tを調べることになるが、全パルス信号Pの1発目
が入力されたときは、前記のように1発目の前であるか
ら架空の前回入力である“0"があったようにセットされ
ており、2発目以降の入力に対しては、前回到来した全
パルス信号Pが“1"の1回目でなければ、今回到来した
パルスが1発目のパルスから数えて数発目(4〜9の適
当な値、例えば6とするのが望ましい。)以降のパルス
であるかどうかを調べ、この際6発目以降のパルスにつ
いてのみ次段の処理を行ない、5発目以前の入来パルス
については無条件に“0"と判定し、上記の機能を発揮さ
せるのである。
That is, if the pulse signal P is a normal full pulse signal P as described above, the clock counter 7 checks the pulse arrival interval t, but when the first pulse of the full pulse signal P is input. Is set as if there was a fictitious previous input "0" because it was before the first shot as described above. For the inputs after the second shot, all pulse signals that arrived last time are set. If P is not the first pulse of "1", the pulse that has arrived this time is a pulse after a few pulses counting from the first pulse (it is desirable to set it to an appropriate value of 4 to 9, for example, 6). It is checked whether there is any, and at this time, the next stage processing is performed only for the sixth and subsequent pulses, and the incoming pulse before the fifth is unconditionally determined to be “0”, so that the above function is exerted. is there.

次に、このCPUは、上記パルス間隔を2進情報に変換す
る手続、すなわちパルス間隔tを読み取ってそれを2進
数“1"“0"の何れに変換するかの判定機能を具有してい
る。
Next, this CPU has a procedure of converting the pulse interval into binary information, that is, a function of determining which of the binary numbers "1" and "0" is read by reading the pulse interval t. .

すなわち、前掲第7図(b)につき説示した通り、デー
タブロックの始まりであるプリアンブルには、すべて2
進数“0"が書き込まれているので、プリアンブルにおけ
るtはビットセル間隔Tにほぼ等しくなる。
That is, as explained with reference to FIG. 7 (b) above, the preamble at the beginning of the data block is all 2
Since the decimal number "0" is written, t in the preamble is almost equal to the bit cell interval T.

そして、前記の通りtを読み取って、それを2進数“1"
“0"の何れに変換するかについては、前回のビットセル
間隔TK-1を基準にして判定する。
Then, as described above, read t and use it as the binary number "1".
Which of "0" is to be converted is determined based on the previous bit cell interval T K-1 .

すなわち、 TK-1(1-α)≦tK≦TK-1(1+β)…(a) ここで、 TK-1:前回のビットセル間隔 TK:今回のパルス間隔 α、β:媒体上の記録誤差、媒体の走行速度のムラ等を
考慮して決めたパルス間隔の許容値(共に正の値とす
る) そして、 tKが(a)式を満足していれば2進数“0"と判定し、 tKが(b)式を満足するならば2進数“1"と判定するの
である。
That is, T K-1 (1-α) ≦ t K ≦ T K-1 (1 + β) ... (a) Where: T K-1 : Previous bit cell interval T K : Current pulse interval α, β: Permissible value of pulse interval determined in consideration of recording error on the medium, uneven running speed of the medium, etc. Then, if t K satisfies the expression (a), it is determined to be a binary number “0”, and if t K satisfies the expression (b), it is determined to be a binary number “1”. is there.

さらに、(b)式を満足するtkは必ず2回以上連続して
到来するので、そのことを判定の基準に加えてもよい。
Further, since t k that satisfies the expression (b) always arrives twice or more in succession, this may be added to the criterion for determination.

第5図から理解されるように到来パルスの間隔tKは、2
進数“0"の場合ビットセル間隔Tkとなって、次回のパル
ス間隔判定の基準になる。
As can be seen from FIG. 5, the interval t K between the incoming pulses is 2
When the decimal number is “0”, the bit cell interval T k becomes the reference for the next pulse interval determination.

到来パルスの間隔tKが2進数“1"の場合には、連続して
到来する2回分のパルス間隔を加算してビットセル間隔
Tとし、次回のパルス間隔判定の基準とする。
When the interval t K between the incoming pulses is a binary number “1”, the pulse intervals for two consecutive pulses are added to form a bit cell interval T, which is used as a reference for the next pulse interval determination.

このようにしてCPUは上記判定を行なって読み出したデ
ータを、読取用データメモリ13に格納する。
In this way, the CPU makes the above determination and stores the read data in the read data memory 13.

さらに、CPUのデータブロック判別機能によって、現在
入力されているパルスが、データブロックのうちプリア
ンブル、ギャップ、データ部分、ポストアンブルのどれ
に属するものであるかを調べることになる。
Further, the data block discrimination function of the CPU checks whether the currently input pulse belongs to the preamble, the gap, the data portion, or the postamble of the data block.

最初の(1発目)のパルスからしばらく“0"“0"…“0"
が連続する間はプリアンブルとみなし、“0"の連続に続
いて“1"が入力されたときからがギャップで、この間
“1"があらかじめ定めた数だけ連続する。
“0” “0”… “0” for a while from the first (first) pulse
Is regarded as a preamble, and is a gap from when "1" is input following the continuation of "0". During this time, "1" continues for a predetermined number.

この連続する“1"の数をかぞえて、あらかじめ定めた数
に達した次からデータ部分になる。
Counting the number of consecutive "1" s, the data part starts from the next when the number reaches a predetermined number.

データギャップはあらかじめ定められたデータ列になっ
ているが、パーマネントデータ部とテンポラリデータ部
では、“0"“1"とがアットランダムに発生する。
The data gap is a predetermined data string, but "0" and "1" occur at random in the permanent data part and the temporary data part.

しかし、その“0"“1"との総数はあらかじめ定めておく
ので、データ部分の終了は総数をかぞえることでわか
る。
However, since the total number of "0" and "1" is set in advance, the end of the data part can be known by counting the total number.

続いて、“0"の連続するポストアンブルになるが、この
部分はデータの読み取りについては、データ部分の終了
近傍を保護するためのものであるので無視する。
Then, it becomes a continuous postamble of "0", but since this part is for protecting the vicinity of the end of the data part when reading the data, it is ignored.

また、読出用ヘッド2がデータギャップの先頭に達した
とき、再生信号の位相を反転して書き込み極性信号とし
てセットする。
When the read head 2 reaches the head of the data gap, the phase of the reproduction signal is inverted and set as the write polarity signal.

これは次の書き込み処理の開始時に磁化極性を合わせる
ためである。
This is to match the magnetization polarity at the start of the next writing process.

すなわち再生信号は磁化極性に従ってつくられるので、
両者の位相は一致している。
That is, since the reproduction signal is created according to the magnetization polarity,
Both phases are the same.

ところが書き込み処理のときには、磁化反転をさせない
と書き込めないため、書き込み極性信号を反転させる必
要がある。
However, in the writing process, writing cannot be performed unless the magnetization is reversed, so that it is necessary to invert the write polarity signal.

そのため、書き込み開始時にあらかじめ位相を反転して
おかないと、磁化極性が合わなくなってしまう。
Therefore, if the phase is not reversed at the start of writing, the magnetization polarities will not match.

データ部分では、“0"“1"とがアットランダムに発生す
るが、その“0"と“1"との総数はあらかじめ定めておく
ので、データ部分の終了は総数をかぞえることでわか
る。
In the data part, "0" and "1" occur at random, but since the total number of "0" and "1" is predetermined, the end of the data part can be known by counting the total number.

続いて、“0"の連続するポストアンブルになるが、この
部分はデータの読み取りについては、データ部分の終了
近傍を保護するためだけのものであるので無視する。
Then, it becomes a continuous postamble of "0", but this part is ignored for reading the data because it is only for protecting the vicinity of the end of the data part.

そして、前述の手続きにより、データ部分のデータだけ
を取り出して読取用データメモリ13に格納していき、デ
ータ部分の全データが格納されると、この全データと加
工用データメモリ14にあらかじめ格納しておいた条件に
あわせて加工処理を行ない、次の書き込みデータおよび
書き込み後の比較用データとして作成し、これらを夫々
書込用データメモリ15と比較用データメモリ16に格納す
るのである。
Then, according to the procedure described above, only the data of the data portion is taken out and stored in the read data memory 13, and when all the data of the data portion are stored, this data and the processing data memory 14 are stored in advance. The processing is performed in accordance with the given conditions to create the next write data and the comparison data after writing, and these are stored in the write data memory 15 and the comparison data memory 16, respectively.

次に書き込みの処理と比較処理について記述する。Next, the writing process and the comparison process will be described.

前述のように、読出用磁気ヘッドの数を1個とするか2
個とするかにより、磁気媒体を往復させるか、そのまま
ストレートに搬送することとなるかが変わってくること
になるけれども、処理原理は同じであるから、ここでは
読出用ヘッド位置2に磁気媒体MCが達しようとしている
時点から説明を行なう。
As mentioned above, whether the number of read magnetic heads is 1 or 2
Depending on whether the magnetic medium is reciprocated, whether the magnetic medium is reciprocated or is conveyed straight as it is, but since the processing principle is the same, here, the magnetic medium MC is placed at the read head position 2. The explanation starts from the point when is about to reach.

前記の通り書込開始位置設定データ用メモリ10から、既
述のNx、Nおよびγを得る。
As described above, the above-mentioned Nx, N and γ are obtained from the memory 10 for writing start position setting data.

これにより、書き込み動作開始位置 Nx−(N+γ)=Nx−(N+1)+(1−γ) を算出する。Thus, the write operation start position Nx− (N + γ) = Nx− (N + 1) + (1−γ) is calculated.

ここで NX−(N+1)はギャップの先頭からのビット数であ
り、 1−γ はNx−(N+1)番目からの端数であ
る。
Here, NX− (N + 1) is the number of bits from the beginning of the gap, and 1−γ is a fraction from the Nx− (N + 1) th.

書き込みデータの前述読み出しの方法と同様であり、た
だ、その過程で到来パルスの間隔Tkを書き込み時間の準
備値T′kにしており、これは、書込用磁気ヘッド7と
読出用磁気ヘッド2が、同一の磁気媒体MCを走査してい
るということの利用である。
This is the same as the above-mentioned method of reading the write data, but in the process, the interval Tk of the incoming pulse is set to the preparation value T′k of the write time, which is the write magnetic head 7 and the read magnetic head 2. Is the use of scanning the same magnetic medium MC.

読出用磁気ヘッド2がギャップの先頭からNx−(N+
1)番目に達したときに、書込用磁気ヘッド7は書き込
み開始位置であるデータギャップに1ビット以内の距離
差に達したとみなして、書込用時間係数器12に距離差
T′k(1−γ)をセットする。
The read magnetic head 2 moves from the beginning of the gap to Nx- (N +
1) The write magnetic head 7 determines that the distance difference within 1 bit has been reached in the data gap, which is the write start position, when the write magnetic head 7 reaches the write time coefficient unit 12 by the distance difference T'k. Set (1-γ).

書込用時間係数器12は、そのセットされた時間に達する
とCPUに計数終了を通知する。
The write time coefficient unit 12 notifies the CPU of the end of counting when the set time is reached.

最初の計数終了が通知されと、CPUは書き込み処理を開
始する。
When the end of the first counting is notified, the CPU starts the writing process.

書き込みは、書込用磁気ヘッド7に電流を流して媒体を
磁化することによって行なう。
Writing is performed by passing a current through the write magnetic head 7 to magnetize the medium.

電流の極性を逆にすれば、媒体に磁化は反転する。If the polarity of the current is reversed, the magnetization will be reversed in the medium.

書込信号はドライバ18の開閉をおこない、その極性を反
転させることにより、電流極性を切り換える。
The write signal switches the current polarity by opening and closing the driver 18 and inverting its polarity.

周波数変調で、2進数“0"“1"を記録する場合第10図に
示すようにして行なうのである。
When the binary numbers "0" and "1" are recorded by frequency modulation, it is performed as shown in FIG.

すなわち、書込用磁気ヘッド電流をビットセル間隔Tk間
反転させる‥‥“0"の記録、同じく書込用磁気ヘッド電
流をT′k/2間反転させる‥‥“1"の1回目の記録、さ
らに書込用磁気ヘッド電流をT′k/2間反転させる‥‥
“1"の2回目の記録となる。
That is, the write magnetic head current is reversed for the bit cell interval Tk ... "0" recording, and the write magnetic head current is reversed for T'k / 2 ... "1" first recording. Further, the write magnetic head current is inverted for T'k / 2.
This is the second record of "1".

ここで前記の読み出し処理のなかで明示したごとく、書
き込み極性信号として、データギャップ先頭の再生信号
の位相を反転した信号が、あらかじめセットされてい
る。
Here, as clearly shown in the above-mentioned read processing, a signal obtained by inverting the phase of the reproduction signal at the head of the data gap is set in advance as the write polarity signal.

CPUは、計数終了の通知を書込用時間計数器12から受け
取ると、規定の数のデータの書き込みを行なったかをチ
エックし、規定数に達していれば書き込み信号をオフに
して、書き込み処理を終了する。
When the CPU receives the notification of the end of counting from the write time counter 12, it checks whether the specified number of data has been written, and if the specified number has been reached, the write signal is turned off and the write process is executed. finish.

規定数に達していなければ、以下の処理を行なうことに
なる。
If the specified number has not been reached, the following processing will be performed.

(a)前回の書き込みに“1"の1回目をセットした場合
は、“1"の2回目として、書込用時間計数器12にT′k/
2をセットし書き込み極性信号を反転して、書込信号を
オン (b)前回の書き込みに“0"をセットまたは“1"の2回
目をセットした場合は、書き込み用データから次のデー
タを取り出し、“0"ならば書込用時間計数器12にT′k
を“1"ならばT′k/2をセットし書き込み極性信号を反
転して、書込信号をオン (c)“0"をセットまたは“1"の2回目をセットした場
合には、(書き込みカウンタの)書き込み回数を1つ加
算する。
(A) When the first writing of "1" is set in the previous writing, it is set as the second writing of "1" in the writing time counter 12 by T'k /
Set 2 to invert the write polarity signal and turn on the write signal. (B) If "0" or "1" is set for the previous write, the next data is written from the write data. If it is “0”, it is written in the writing time counter 12 by T′k.
If is "1", T'k / 2 is set, the write polarity signal is inverted, and the write signal is turned on. (C) When "0" is set or the second "1" is set, ( Add one to the number of writes (in the write counter).

書き込み処理中のビットセル間隔T′kは、平行処理し
ている読み出し処理において常に最新のデータに置き換
えられているので、搬送速度の変動等の影響に対応でき
る。
Since the bit cell interval T'k during the writing process is always replaced with the latest data in the reading process in which parallel processing is performed, it is possible to cope with the influence of fluctuations in the transport speed and the like.

書き込み処理および読み出し処理が終了すると、今回読
み出したデータと比較データが一致しているかを照合
し、正しいデータが書き込まれていれば処理結果とし
て、読取りデータを全データ出力端17から外部に出力す
ることとなる。
When the writing process and the reading process are completed, it is collated whether the data read this time and the comparison data match, and if the correct data is written, the read data is output from all data output terminals 17 as the processing result. It will be.

またエラー検出について説示すれば、 A 読み取りエラー 読み取りのデータが正しいかどうか判定し、読み取りデ
ータに異常がある場合読み取り、エラーとして出力す
る。
In addition, the error detection will be explained. A Read error It is judged whether the read data is correct, and if the read data is abnormal, it is read and output as an error.

B 書込みエラー 書込みのデータが正しいかどうか判定し、書込みデータ
に異常がある場合書込み、エラーとして出力する。
B Write error It is judged whether the written data is correct, and if the written data is abnormal, it is written and output as an error.

C パリティーエラー データ部の読み取ったデータを4ビットで区分して総和
を取り、4ビット比較データと判定して異常がある場合
パリティーエラーを出力する。
C Parity error The data read by the data part is divided into 4 bits, the sum is taken, it is judged as 4 bit comparison data, and if there is an abnormality, a parity error is output.

さらにデータをこわさない方法としては、 書込みに入る前に読み出用磁気ヘッド2でプリアンブ
ル、ギャップデータを読み取って異常がある場合データ
をこわさない為に書込みしないようにして書込みエラー
を出力する。
Further, as a method of not destroying the data, the preamble and the gap data are read by the read magnetic head 2 before starting the writing, and if there is an abnormality, the data is not destroyed because the data is not destroyed and a write error is output.

《発明の効果》 本発明は上記のようにして構成され、適切なるハードウ
エア構成を具有し、かつCPUにフローチャートで示され
るごとき手続能力が付与されているので、情報を読み出
すに際し、モータや搬送機構に取りつけられたエンコー
ダからのクロック信号をまったく必要とせず、ビット周
期の変動があっても再生信号から正しいデータ信号およ
びクロック信号を読み出せるようにした上、読出用磁気
ヘッドから算出した最新のビットセル間隔を利用して、
書込用磁気ヘッドにより書き込みを行ない得ることで、
読み出し、書き込みを、より精密にかつ広範囲なビット
周期に対応させることができる。
<< Effects of the Invention >> The present invention is configured as described above, has an appropriate hardware configuration, and has a procedural capability such as that shown in the flowchart in the CPU. The clock signal from the encoder attached to the mechanism is not required at all, and the correct data signal and clock signal can be read from the reproduction signal even if the bit period varies, and the latest magnetic head calculated from the read magnetic head is used. Using the bit cell interval,
By being able to write with a magnetic head for writing,
Reading and writing can be made more precise and correspond to a wide range of bit periods.

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

第1図は本発明に係る磁気媒体の信号読出書込判定回路
装置の一実施例を示すブロックダイヤグラム、第2図は
同装置の読出部分における信号波形図、第3図は同書込
部分における信号波形図、第4図は同装置の中央演算処
理装置が手続する読出部分のフローチャート、第5図と
第6図は同書込部分、比較処理部分のフローチャート、
第7図(a)は磁気媒体のデータブロック平面説明図、
同図(b)は同ブロックの2進数出力内容を示す説明
図、第8図は読出用、書込用各磁気ヘッドの配置説明
図、第9図はパルス間隔を2進情報に変換する読出部分
の手続きを表わす波形説明図、第10図は書込部分におけ
る同上波形説明図、第11図と第12図は夫々PM、FM磁気記
録方式による再生信号波形説明図である。 1……磁気媒体挿入検知センサ 2……読出用磁気ヘッド 4a,4b……比較器 5……OR回路 6……フリップフロップ回路 7……書込用磁気ヘッド 8……電気ドライバ 9……書込用信号処理回路 10……書込開始位置設定データメモリ 11……読取用時間計数器 12……書込用時間計数器 13……読取用データメモリ 14……加工用データメモリ 15……書込用データメモリ 16……比較用データメモリ 17……全データ出力端 CPU……中央演算処理装置 P1……読出信号 P2……正パルス P3……負パルス P……全パルス信号 RP……再生信号 MC……磁気媒体 l……離間距離
FIG. 1 is a block diagram showing an embodiment of a signal read / write determination circuit device for a magnetic medium according to the present invention, FIG. 2 is a signal waveform diagram in the read portion of the device, and FIG. 3 is a signal in the write portion. FIG. 4 is a waveform diagram, FIG. 4 is a flow chart of a reading part which is processed by the central processing unit of the same device, and FIGS. 5 and 6 are flow charts of a writing part and a comparison processing part.
FIG. 7 (a) is an explanatory view of a data block plane of a magnetic medium,
FIG. 8B is an explanatory diagram showing the binary output contents of the same block, FIG. 8 is an explanatory diagram of the arrangement of magnetic heads for reading and writing, and FIG. 9 is reading for converting the pulse interval into binary information. FIG. 10 is a waveform explanatory view showing a procedure of a portion, FIG. 10 is a waveform explanatory diagram of the same in a writing portion, and FIGS. 11 and 12 are reproduction signal waveform explanatory diagrams by the PM and FM magnetic recording systems, respectively. 1 ... Magnetic medium insertion detection sensor 2 ... Read magnetic head 4a, 4b ... Comparator 5 ... OR circuit 6 ... Flip-flop circuit 7 ... Write magnetic head 8 ... Electric driver 9 ... Book Input signal processing circuit 10 …… Write start position setting data memory 11 …… Read time counter 12 …… Write time counter 13 …… Read data memory 14 …… Processing data memory 15 …… Write Embedded data memory 16 …… Comparison data memory 17 …… All data output terminals CPU …… Central processing unit P1 …… Read signal P2 …… Positive pulse P3 …… Negative pulse P …… All pulse signal RP …… Reproduction Signal MC: Magnetic medium l: Separation distance

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】中央演算処理装置に、磁気媒体挿入検知セ
ンサからの磁化媒体検知信号と、磁気媒体の磁化状態を
検知する読出用磁気ヘッドにより得られた読出信号が、
正レベル、負レベルと比較されて各比較器から出力され
る正パルス、負パルスのOR信号としての全パルス信号
と、当該正パルス、負パルスをセット、リセット信号と
するフリップフロップ回路から出力される再生信号とが
夫々入力され、上記磁気媒体挿入検知センサから順次磁
気媒体の搬送方向へ、前記読出用磁気ヘッド、当該ヘッ
ドから所定距離だけ離間した書込用磁気ヘッドを配設
し、この書込用磁気ヘッドは前記中央演算処理装置に順
次電流ドライバ、書込用信号処理回路を介して接続さ
れ、さらに当該中央演算処理装置には、磁気媒体の記録
密度、前記読出用磁気ヘッドと書込用磁気ヘッドとの離
間距離等の所要値をセット可能とした書込開始位置設定
データメモリ、読取用時間係数器、書込用時間係数器、
読取用データメモリ、加工用データメモリ、書込用デー
タメモリ、比較用データメモリ、全データ出力端を夫々
接続すると共に、当該中央演算処理装置に、全パルス信
号入力毎に再生信号がレベル反転するか否かの検知によ
る外乱判定除去機能と、磁気媒体の読出用磁気ヘッド進
入時の搬送速度急変に際し、当該急変状態下の全パルス
信号を無視するパルス間隔大幅変動判定機能と、上記の
パルス間隔を2進情報に変換するに際し、前記読取用時
間計算器によるパルス間隔値による前回のビットセル間
隔を基準として“1"、“0"の何れかに判定する読み取り
の機能と、磁気媒体のデータブロック中の何れのブロッ
クから入力されているかを検知するデータブロック判別
機能とを具備させ、かつ前記書込開始位置設定メモリか
らの入力によって、磁気媒体のデータブロックにおける
書き込みの開始時点を決定する機能、前記読出用磁気ヘ
ッドから算出した最新のビットセル間隔を利用して、書
込用磁気ヘッドによる書き込みの手続を行なう機能をも
具有させ、さらに、前記の読み取りのうちデータだけが
読取用データメモリに格納されると、これにつき予め格
納しておいた各条件にあわせての加工用データメモリに
よる加工処理が行なわれ、これにより作成された次の書
込用データおよび書き込み後の比較用データが夫々書込
用データメモリ、比較用データメモリに入力され、書き
込み処理の内容についての読み取りデータと、前記比較
用データメモリのデータが一致しているか否かを照合
し、正しいデータの書き込みが確認されれば、前記全デ
ータ出力端から処理結果を出力するようにしたことを特
徴とする磁気媒体の信号読出書込判定回路装置。
1. A central processing unit is provided with a magnetization medium detection signal from a magnetic medium insertion detection sensor and a read signal obtained by a read magnetic head for detecting the magnetization state of the magnetic medium.
All pulse signals as an OR signal of the positive and negative pulses output from each comparator after being compared with the positive and negative levels and the flip-flop circuit that sets and resets the positive and negative pulses. The read magnetic head and the write magnetic head separated from the head by a predetermined distance are arranged in this order from the magnetic medium insertion detection sensor in the direction in which the magnetic medium is conveyed. The built-in magnetic head is sequentially connected to the central processing unit via a current driver and a write signal processing circuit. Further, the central processing unit has a recording density of a magnetic medium, the read magnetic head and the write magnetic head. Write start position setting data memory capable of setting required values such as the distance from the magnetic head for reading, read time coefficient device, write time coefficient device,
The read data memory, the processing data memory, the write data memory, the comparison data memory, and the all data output terminals are connected to each other, and the level of the reproduced signal is inverted every time all pulse signals are input to the central processing unit. Disturbance judgment removal function by detecting whether or not, when the transport speed suddenly changes when the magnetic head for reading the magnetic medium enters, a pulse interval large fluctuation judgment function that ignores all pulse signals under the sudden change condition, and the above pulse interval When converting the data into binary information, the reading function for judging either "1" or "0" based on the previous bit cell interval based on the pulse interval value by the reading time calculator, and the data block of the magnetic medium. A data block discrimination function for detecting which block of the data is being input, and by inputting from the write start position setting memory, It also has a function of determining a writing start time point in a data block of the magnetic medium, and a function of performing a writing procedure by the writing magnetic head by using the latest bit cell interval calculated from the reading magnetic head. , When only the data of the above-mentioned reading is stored in the reading data memory, the processing processing by the processing data memory is performed according to the respective conditions stored in advance, and the next processing created by this is performed. Whether the write data and the comparison data after writing are input to the write data memory and the comparison data memory, respectively, and the read data about the contents of the write process and the data in the comparison data memory match. If the correct data writing is confirmed, the processing result is output from all the data output terminals. Signal reading writing determining circuit of the magnetic medium characterized by the.
JP17945886A 1986-07-30 1986-07-30 Signal read / write determination circuit device for magnetic medium Expired - Fee Related JPH0685261B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17945886A JPH0685261B2 (en) 1986-07-30 1986-07-30 Signal read / write determination circuit device for magnetic medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17945886A JPH0685261B2 (en) 1986-07-30 1986-07-30 Signal read / write determination circuit device for magnetic medium

Publications (2)

Publication Number Publication Date
JPS6337864A JPS6337864A (en) 1988-02-18
JPH0685261B2 true JPH0685261B2 (en) 1994-10-26

Family

ID=16066203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17945886A Expired - Fee Related JPH0685261B2 (en) 1986-07-30 1986-07-30 Signal read / write determination circuit device for magnetic medium

Country Status (1)

Country Link
JP (1) JPH0685261B2 (en)

Also Published As

Publication number Publication date
JPS6337864A (en) 1988-02-18

Similar Documents

Publication Publication Date Title
US4613913A (en) Data encoding and decoding scheme
US3641526A (en) Intra-record resynchronization
JPH07154270A (en) Error correction circuit
US3643228A (en) High-density storage and retrieval system
EP0438460B1 (en) Data alignment circuit and method for self-clocking encoded data
JPH0685261B2 (en) Signal read / write determination circuit device for magnetic medium
KR940000974B1 (en) Digital signal processing circuit
US5448544A (en) Data recording/playback apparatus and signal processing method
EP0630018B1 (en) Interblock gap detection in a data storage system
US3713123A (en) High density data recording and error tolerant data reproducing system
AU2957192A (en) Head switching method for staggered servo and circuit thereof
JPH061607B2 (en) Magnetic medium signal read determination circuit device
US4023203A (en) System for compensating a phase difference between magnetic tracks in a magnetic recorded information regenerating apparatus
JP3068027B2 (en) Recording signal correction method and disk device
JP5779770B2 (en) Method for determining coercive force of magnetic recording medium
US7119980B2 (en) System and method for writing secure data to disk
JP2846653B2 (en) Card reader
US5237550A (en) Reloadable optical recording/reproducing apparatus
JP2754408B2 (en) Servo information demodulation control method
JP2560047Y2 (en) Abnormal block discrimination mechanism of magnetic tape recording and reproducing device
JPH05298831A (en) Magnetic card reading method
JPH04265568A (en) Digital recording circuit and reproducing circuit for magnetic card
JPS63161567A (en) Data demodulation circuit for magnetic disk device
JP2000348441A (en) Device for measuring jitter of magnetically recorded data
JPH04119567A (en) Magnetic disk device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees