JP2760801B2 - Magnetic disk drive - Google Patents

Magnetic disk drive

Info

Publication number
JP2760801B2
JP2760801B2 JP12837988A JP12837988A JP2760801B2 JP 2760801 B2 JP2760801 B2 JP 2760801B2 JP 12837988 A JP12837988 A JP 12837988A JP 12837988 A JP12837988 A JP 12837988A JP 2760801 B2 JP2760801 B2 JP 2760801B2
Authority
JP
Japan
Prior art keywords
write data
write
circuit
data
magnetic disk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP12837988A
Other languages
Japanese (ja)
Other versions
JPH01298577A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP12837988A priority Critical patent/JP2760801B2/en
Publication of JPH01298577A publication Critical patent/JPH01298577A/en
Application granted granted Critical
Publication of JP2760801B2 publication Critical patent/JP2760801B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、磁気ディスク装置の誤書き込み防止法に係
り、特に真値がLOWレベルであり、書き込みデータが一
定の周期で反転するようなインターフェイス(例ST50
6)にて使用される磁気ディスク装置に好適である。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for preventing erroneous writing of a magnetic disk drive, and more particularly to an interface in which a true value is at a LOW level and write data is inverted at a constant cycle. (Example ST50
It is suitable for the magnetic disk device used in 6).

〔従来の技術〕[Conventional technology]

記憶装置の誤書き込み防止の例として、特開昭60-740
61号公報に記載のように、給電中断時、バックアップ用
電池よりの給電により誤書き込みを防止していた。ま
た、特開昭62-214575号公報においては、磁気テープの
誤書き込みを検出後、それ以上の誤書き込みをおこさな
いように強制的に書き込み動作を中止する手法が記載さ
れている。
As an example of preventing erroneous writing of a storage device, see JP-A-60-740.
As described in Japanese Patent Publication No. 61, when power supply is interrupted, erroneous writing is prevented by power supply from a backup battery. Further, Japanese Patent Application Laid-Open No. 62-214575 describes a method of forcibly stopping a write operation after detecting an erroneous write on a magnetic tape so as to prevent further erroneous write.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上記従来技術は、該装置の給電中断時に対する方策は
示され入るものの、該装置に接続されている上位装置の
給電断時、該装置は給電が継続されているが故に、誤っ
た命令が発生、該装置が受領してしまう点についての配
慮がされていない(特開昭60-74061号)。また、誤書き
込み発生後、誤書き込みの拡大を防止する手法は述べら
れているものの、未然に防ぐ配慮はされていない(特開
昭62-214575号)。また、ディスク装置に搭載されてい
る磁気ヘッドに発生する書き込み時のフライバック電圧
を検出して書き込みデータの反転有無より異常書き込み
動作を抑止しようとする手法が、公知の従来技術として
あげられるが、磁気ヘッドの特性のバラツキ等から一定
量以上のデータ反転を確認する必要があり、実際にデー
タ単位レベルで誤書き込みを防止するのは難しい等の問
題があった。本発明の目的は誤書き込み命令が本来の正
常命令と異なることを判断し、該装置内部での誤書き込
み動作をデータ単位で未然に抑止することにある。
In the above prior art, although a measure to be taken when the power supply of the device is interrupted is shown, when the power supply of the higher-level device connected to the device is cut off, an erroneous instruction is generated because the device is continuously supplied with power. No consideration is given to the fact that the device will receive it (Japanese Patent Application Laid-Open No. 60-74061). Further, although a method for preventing the spread of erroneous writing after occurrence of erroneous writing is described, no consideration is given to preventing it from occurring (Japanese Patent Application Laid-Open No. 62-214575). In addition, a method of detecting a flyback voltage at the time of writing generated in a magnetic head mounted on a disk device and suppressing an abnormal writing operation based on the presence or absence of inversion of write data is a known conventional technique. It is necessary to confirm data inversion of a certain amount or more due to variations in the characteristics of the magnetic head and the like, and it is difficult to prevent erroneous writing at the data unit level. An object of the present invention is to judge that an erroneous write instruction is different from an original normal instruction, and to prevent an erroneous write operation inside the device in units of data.

〔課題を解決するための手段〕[Means for solving the problem]

上位装置より送られてきた、書き込み命令受領時、別
のインターフェイスラインにて同時に送信されてくる書
き込みデータの連続性、及び周期を理論レベルにて、イ
ンターフェイス仕様より決定される基準時間を設定した
時間発生回路を用いて監視する。インターフェイス仕様
より決定される一定の条件をはずれた書き込みデータで
あるときには同時に上位装置より送信されてきた書き込
み命令が単発的に発生した誤書き込み命令であると判断
して、装置内部用書き込み命令としての使用を停止し、
前記の如く一定条件を満足するときのみ使用する。
At the time of receiving a write command sent from a higher-level device, the continuity of write data transmitted simultaneously on another interface line, and the period at the theoretical level, and the time set for the reference time determined by the interface specifications Monitor using a generator circuit. When the write data is out of a certain condition determined by the interface specifications, it is determined that the write command transmitted from the higher-level device is a sporadic erroneous write command at the same time. Stop using it,
Used only when certain conditions are satisfied as described above.

〔作用〕[Action]

ST506インターフェイスにおける書き込みデータライ
ンにはMFMデータが上位装置より送信される。MFMデータ
においては、必ずレベルの反転が行なわれ、かつその周
期は、3種類に限定される。従って、書き込み命令が発
行されてもデータの反転が上記規則性よりはずれるよう
な(短いまたは長い)周期のときは異常時と判断され
る。この判断用基準周期は本発明の取扱う信号が理論レ
ベルのため、インターフェイス仕様より容易に設定でき
る。
MFM data is transmitted from the host device to the write data line in the ST506 interface. In MFM data, level inversion is always performed, and the cycle is limited to three types. Therefore, if a period in which data inversion is out of the above-mentioned regularity (short or long) even if a write command is issued, it is determined that there is an abnormality. Since the signal handled by the present invention is at a theoretical level, the reference cycle for determination can be set more easily than the interface specification.

書き込みデータを、シフトレジスタにて取込みある値
になった時点で、初めてディスク装置内の書き込み命令
を発行する。しかもレジスタに取込む書き込みデータの
周期を3種類の規則的周期に対応させた3種類の設定時
間をもつモノステーブル回路を用いて監視、上記規則的
周期以外のときは、レジスタの入力として除外してや
る。それによって、単発的に発生し、MFMデータの規則
的な周期に合致しない書き込みデータ発生時、また偶
然、上記規則的周期に合致した単発的な書き込みデータ
発生時の誤書き込み命令を、装置内部用として取り込む
ことを抑止できる。
When the write data is fetched by the shift register and reaches a certain value, a write command in the disk device is issued for the first time. In addition, the period of the write data to be taken into the register is monitored using a monostable circuit having three types of set times corresponding to the three types of regular periods. Except for the above-mentioned regular period, it is excluded as an input to the register. . As a result, an erroneous write command at the time of occurrence of write data that occurs sporadically and does not match the regular cycle of MFM data or accidentally occurs at the time of occurrence of sporadic write data that matches the regular cycle of the MFM data, Can be suppressed.

〔実施例〕〔Example〕

以下、本発明の実施例を第1図、及び第2図により説
明する。
Hereinafter, an embodiment of the present invention will be described with reference to FIG. 1 and FIG.

第1図において、IF WT GT−Nはインターフェイス上
の書き込み命令信号、IF MFM WT DT−P及び同一Nは、
書き込みデータ信号を示す。インターフェイスの真値レ
ベルは“LOW"レベルである。該磁気ディスク装置の電源
が投入された状態のままで、上記装置の電源が、OFFさ
れるようなとき、IF WT GT−Nラインは、Oレベルつま
り、真値レベルとなり、レシーバ出力のbラインは、単
発的にあるにせよ、真値となる。同様に、IF MFM WTDT
−N及び、同一Pラインも、OVへ向かうため、レシーバ
出力ラインaにも、不規則な周期のパルスを発生する。
本発明による回路が設けられていないときは、装置内部
において、装置内部用WTGT−PがHigh(真値)レベルの
間、aラインの書き込みデータが誤書き込みされること
になる。MFMデータは、最短周期のデータ周期を1tとす
ると1.5t及び2tの3つの周期しか存在しない。従ってこ
れらの周期に対応した3つの時間素子回路でa信号の立
下りで動作するリトリガラブルモノステーブル回路、2,
4,6,及び、その出力により、その次に送られてくる書き
込みデータの周期を確認する回路が、3,5のラッチ回
路、及びゲート7である。図中1は、信号aをトリガ信
号とし、信号bをデータとするシフトレジスタである。
つまり3つのモノステーブル回路で監視され、このいず
れかで周期異常と判断されないような書き込みデータ
(第1図中a信号)が3ケ連続してシフトレジスタに取
り込まれたとき、初めて正常な書き込み命令(装置内部
用WT GT−P)信号Cが出力される。第2図において領
域Aは、誤書き込み命令発生時による異常インターフェ
イス信号受領時、領域Bは正常インターフェイス信号受
領時の各素子及びラインの信号状態を示す。
In FIG. 1, IF WT GT-N is a write command signal on the interface, IF MFM WT DT-P and the same N are
5 shows a write data signal. The true level of the interface is “LOW” level. When the power of the magnetic disk device is turned off while the power of the magnetic disk device is turned on, the IF WT GT-N line becomes the O level, that is, the true level, and the b line of the receiver output is output. Is a true value, albeit sporadically. Similarly, IF MFM WTDT
Since -N and the same P line also go to OV, a pulse having an irregular period is also generated on the receiver output line a.
When the circuit according to the present invention is not provided, while the WTGT-P for the inside of the device is at the High (true value) level, the write data of the a-line is erroneously written. Assuming that the shortest data period is 1t, the MFM data has only three periods of 1.5t and 2t. Therefore, a retriggerable monostable circuit operating at the falling edge of the signal a with three time element circuits corresponding to these periods,
The circuits for confirming the period of the write data transmitted next based on 4, 6, and the output thereof are the latch circuits 3, 5, and the gate 7. In the figure, reference numeral 1 denotes a shift register that uses a signal a as a trigger signal and a signal b as data.
That is, when three shift data are monitored by three monostable circuits and three consecutive write data (a signal in FIG. 1) which are not determined to be abnormal are taken into the shift register, a normal write command is issued for the first time. (WT GT-P for internal device) Signal C is output. In FIG. 2, an area A shows the signal state of each element and line when an abnormal interface signal is received due to the occurrence of an erroneous write command, and an area B shows the signal state of each element and line when the normal interface signal is received.

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

本発明によれば、該装置が電源投入状態にて、接続さ
れている上位装置の電源がOFFされたような状態で発生
する、誤書き込み命令受領時、書き込みデータの周期上
からその命令を論理レベルにて異常と判断できるので、
装置内部用書き込み命令信号の発生を抑えることがで
き、誤書き込み動作を搭載磁気ヘッド特性のバラツキ等
に依存せず、書き込みデータ最小単位レベルにて抑止で
きるので、簡易的な手法による装置の信頼度向上に効果
がある。
According to the present invention, when the device is powered on and the connected higher-level device is powered off, when the erroneous write command is received, the command is logically executed from the cycle of the write data. Since it can be judged as abnormal at the level,
The generation of write command signals for the internal device can be suppressed, and erroneous write operations can be suppressed at the minimum unit level of write data without depending on variations in the characteristics of the mounted magnetic head. Effective for improvement.

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

第1図は本発明の一実施例の回路図、第2図は第1図で
示した回路によるタイミングチャートである。 1……シフトレジスタ、2……リトリガラブルモノステ
ーブル回路、3……2出力のラッチ回路、4……リトリ
ガラブルモノステーブル回路、5……4出力ラッチ回
路、6……モノステーブル回路。
FIG. 1 is a circuit diagram of one embodiment of the present invention, and FIG. 2 is a timing chart of the circuit shown in FIG. 1 shift register, 2 retrigable monostable circuit, 3 2-output latch circuit, 4 retrigable monostable circuit, 5 4-output latch circuit, 6 monostable circuit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】書き込みデータが一定の周期で反転するイ
ンターフェイスで使用される磁気ディスク装置におい
て、 理論レベルにて受領書き込みデータの周期が一定の範囲
内にあることを確認する第1の確認回路と、 前記確認回路のための基準時間発生回路と、 書き込みデータの反転が一定量連続したことを確認する
第2の確認回路と、 前記第1及び第2の確認回路の結果により前記ディスク
装置内部にて使用する書き込み命令信号を発生させる回
路を設けたことを特徴とする磁気ディスク装置。
1. A magnetic disk drive used in an interface in which write data is inverted at a constant cycle, a first confirmation circuit for confirming at a theoretical level that the cycle of received write data is within a certain range. A reference time generation circuit for the confirmation circuit; a second confirmation circuit for confirming that the inversion of the write data has continued for a predetermined amount; and a result of the first and second confirmation circuits inside the disk device. A magnetic disk drive provided with a circuit for generating a write command signal to be used.
JP12837988A 1988-05-27 1988-05-27 Magnetic disk drive Expired - Lifetime JP2760801B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12837988A JP2760801B2 (en) 1988-05-27 1988-05-27 Magnetic disk drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12837988A JP2760801B2 (en) 1988-05-27 1988-05-27 Magnetic disk drive

Publications (2)

Publication Number Publication Date
JPH01298577A JPH01298577A (en) 1989-12-01
JP2760801B2 true JP2760801B2 (en) 1998-06-04

Family

ID=14983362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12837988A Expired - Lifetime JP2760801B2 (en) 1988-05-27 1988-05-27 Magnetic disk drive

Country Status (1)

Country Link
JP (1) JP2760801B2 (en)

Also Published As

Publication number Publication date
JPH01298577A (en) 1989-12-01

Similar Documents

Publication Publication Date Title
US4122359A (en) Memory protection arrangement
US4651277A (en) Control system for a magnetic disk drive unit
JP2809187B2 (en) Interrupt line sharing circuit and interrupt line sharing method
JP2593915B2 (en) Double microcomputer system runaway prevention circuit
JP2760801B2 (en) Magnetic disk drive
JP3933467B2 (en) Voltage detection circuit control device, memory control device having the same device, and memory card having the same device
JPS63279318A (en) Magnetic disk device
JPH0574059A (en) Diagnostic system for disk device
JPH0236003B2 (en)
JPH11203173A (en) Watch dog timer circuit
JP2812114B2 (en) SCSI controller
JP2682074B2 (en) Write data monitoring device for magnetic recording
JP2843070B2 (en) Voltage detector
JPS5853704Y2 (en) magnetic recording and reproducing device
JPH05113854A (en) Disk device with buffer
JPH02281407A (en) Head cleaning system for floppy disk device
JPH1185301A (en) Electronic equipment protecting device
JP3338816B2 (en) Magnetic tape unit
JPH07152460A (en) Voltage detection reset circuit
JPH0248961B2 (en) DEISUKUSOCHINOKIROKUHAKAIBOSHIHOSHIKI
JPH0318207B2 (en)
JPS5838813B2 (en) logical device
JPH0425568B2 (en)
JPH041976A (en) Magnetic disk device
JPH04353605A (en) Rush-current preventing circuit