JPH05217303A - Magnetic disk device - Google Patents

Magnetic disk device

Info

Publication number
JPH05217303A
JPH05217303A JP4019045A JP1904592A JPH05217303A JP H05217303 A JPH05217303 A JP H05217303A JP 4019045 A JP4019045 A JP 4019045A JP 1904592 A JP1904592 A JP 1904592A JP H05217303 A JPH05217303 A JP H05217303A
Authority
JP
Japan
Prior art keywords
data
input
abnormal state
hard disk
hdc
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.)
Pending
Application number
JP4019045A
Other languages
Japanese (ja)
Inventor
Hironori Tanaka
洋典 田中
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP4019045A priority Critical patent/JPH05217303A/en
Publication of JPH05217303A publication Critical patent/JPH05217303A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute normal write and read to a recording medium and to improve the reliability of data by generating the abnormal state of a hard disk controller(HDC) intentionally and self-diagnosing the each abnormal state. CONSTITUTION:This device is provided with the hard disk controller(HDC) 4 controlling write and read to the recording medium 1 and a reproduced signal control circuit 6 controlling a reproduced signal fetched by the hard disk controller. The reproduced signal control generates the abnormal state of the hard disk controller and the self-diagnosis of the abnormal state is executed by controlling the reproduced signal control circuit by a central processing unit(CPU).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、データの記録再生を行
う磁気ディスク装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic disk device for recording / reproducing data.

【0002】[0002]

【従来の技術】現在、磁気ディスク装置は、データを25
6バイト,512バイト,1024バイトと一定の単位で読み出
し、書き込みするようになっており、その単位をセクタ
と呼ぶ。このセクタを記録媒体のデータ面に割り当てる
ために行うものがデータフォーマットである。
2. Description of the Related Art At present, magnetic disk devices store 25
It is designed to read and write in fixed units of 6 bytes, 512 bytes, and 1024 bytes, and the unit is called a sector. A data format is used to assign the sector to the data surface of the recording medium.

【0003】図2は従来のデータフォーマット形式を示
す一例図であり、以下、このデータフォーマット形式を
説明する。
FIG. 2 is an example of a conventional data format format, and this data format format will be described below.

【0004】データフォーマットの形式としては、図2
において、14のPLO(PhaseLocked Oscillator)(9バ
イト)、15のSYNC(Synchronization Byte)(1バイ
ト)、16のID(Identiy Field)(6バイト)、17のCRC
(Cyclic RedundancyChech)(2バイト)、18のPAD(2
バイト)、19のSPLICE(2バイト)、14のPLO(9
バイト)、15のSYNC(1バイト)、20のDATA(25
6,512,1024バイト)、21のECC(Error Coreection C
ode)(6バイト)、18のPAD(2バイト)、19のSPLI
CE(10バイト)で構成される。ここで記述したそれぞれ
のバイト数及びフォーマットの順番は、任意に変えられ
るものである。
The format of the data format is shown in FIG.
In, 14 PLO (Phase Locked Oscillator) (9 bytes), 15 SYNC (Synchronization Byte) (1 byte), 16 ID (Identiy Field) (6 bytes), 17 CRC
(Cyclic RedundancyChech) (2 bytes), 18 PAD (2
Byte), 19 SPLICE (2 bytes), 14 PLO (9
Byte), 15 SYNC (1 byte), 20 DATA (25
6,512,1024 bytes), 21 ECC (Error Coreection C)
ode) (6 bytes), 18 PADs (2 bytes), 19 SPLI
It consists of CE (10 bytes). The number of bytes and the order of formats described here can be arbitrarily changed.

【0005】次に、それぞれの情報14〜21の目的を説明
する。通常、データの読み取り時に記録媒体上に記録さ
れているビット列に対し、所定の幅のデータ弁別窓を設
け、この弁別窓内で磁化反転があれば1、なければ0の
情報であると判断している。よって、誤りなく情報を読
み出すためにはこの弁別窓が、スピンドルモータの回転
変動を含む再生ビット列に所定の時間内で電圧制御発振
器VCO(VolttageControlled Ocsilator)を追従させな
ければならない。
Next, the purpose of each of the information 14 to 21 will be described. Normally, a data discrimination window having a predetermined width is provided for a bit string recorded on a recording medium at the time of reading data, and if there is a magnetization reversal in this discrimination window, it is determined that the information is 1 and 0 is not. ing. Therefore, in order to read information without error, the discrimination window must cause the voltage controlled oscillator VCO (Voltage Controlled Ocsilator) to follow the reproduction bit string including the rotation fluctuation of the spindle motor within a predetermined time.

【0006】そのために設けられたのが、PLO14で、
フォーマット中にID情報16及びDATA情報20の先頭
に配し、このPLO14の時間内で弁別窓の再生ビット列
に追従させるようにしている。SYNC15は、PLO14
とその後に続くID情報16及びDATA情報20との区分
けをするためのものである。ID情報16は、記録及び再
生しようとするセクタが、記録媒体上のどこに割り当て
られているか示すものである。この部分には、記録再生
時にそのセクタの属性を示すための情報を記録する場合
も有り得る。
For that purpose, the PLO 14 is provided.
It is arranged at the head of the ID information 16 and the DATA information 20 during the formatting so that the reproduced bit string of the discrimination window is followed within the time of this PLO 14. SYNC15 is PLO14
This is for distinguishing the ID information 16 and the DATA information 20 that follow. The ID information 16 indicates where on the recording medium the sector to be recorded and reproduced is allocated. Information for indicating the attribute of the sector may be recorded in this portion during recording and reproduction.

【0007】CRC17は、SYNC15とID情報16から
生成した読み出し誤りの検出情報を付加していて、読み
出し時にハードディスクコントローラの回路で、読み出
し誤りの検出を行うためのものである。PAD18は、デ
ータの記録方式として例えば、(2,7)変調方式を採用
した場合、データのパターンによってはデータの最終ビ
ット迄変換できなくなるので、変換できるように1バイ
ト付加しているものである。
The CRC 17 is added with read error detection information generated from the SYNC 15 and the ID information 16 and is used by the hard disk controller circuit to detect a read error during reading. When the (2,7) modulation method is used as the data recording method, the PAD 18 cannot convert up to the last bit of the data depending on the data pattern, so one byte is added for conversion. ..

【0008】ID情報や前のセクタに対し書き込み動作
を行っている最中にモータの回転変動等があり通常より
時間が長くかかった場合、SPLICE19がなければ、
次に配しているPLO14の部分まで記録してしまい、P
LO14の役目である弁別窓の再生ビット列にVCOを十
分追従させることができなくなり、データの再生が正し
くできなくなることになる。そのため、その時間変動を
吸収するのにSPLICE19が配置されている。
If it takes a longer time than usual due to fluctuations in the rotation of the motor while the ID information and the previous sector are being written, if there is no SPLICE19,
I recorded up to the part of PLO14 that was placed next, and P
It becomes impossible for the VCO to sufficiently follow the reproduction bit string of the discrimination window, which is the role of LO14, and the data cannot be reproduced correctly. Therefore, the SPLICE 19 is arranged to absorb the time variation.

【0009】ECC21は、読み出し誤りの検出訂正情報
を冗長ビットとして付加していて、読み出し時にハード
ディスクコントローラの誤り訂正符号回路で誤り訂正符
号データを比較し、読み出し誤りの検出/訂正を行うた
めのものである。上記フォーマットに従って、記録媒体
に対し、記録及び再生を制御するためのハードディスク
コントローラ(以下、HDCという)が存在する。
The ECC 21 adds read error detection / correction information as redundant bits, and compares the error correction code data in the error correction code circuit of the hard disk controller at the time of reading to detect / correct the read error. Is. There is a hard disk controller (hereinafter referred to as HDC) for controlling recording and reproduction on a recording medium according to the above format.

【0010】図3は従来の磁気ディスク装置という信号
処理系の構成を示すブロック回路図である。図3におい
て、1はデータが記録されている円盤状の記録媒体、2
は記録媒体1に対してデータの書き込み及び読み込みを
行うためのデータヘッド、3はデータヘッド2の信号を
増幅する増幅器(以下、AMPという)である。4はデー
タヘッド2に対する信号で読み込み時に信号を取り込
み、書き込み時に書き込み信号の出力を制御するための
HDC(ハードディスクコントローラ)、5はHDC4を
制御する中央演算回路(以下、CPUという)である。
FIG. 3 is a block circuit diagram showing the configuration of a signal processing system called a conventional magnetic disk device. In FIG. 3, 1 is a disk-shaped recording medium on which data is recorded, 2
Is a data head for writing and reading data to and from the recording medium 1, and 3 is an amplifier (hereinafter referred to as AMP) for amplifying the signal of the data head 2. Reference numeral 4 denotes a signal for the data head 2, which is an HDC (hard disk controller) for capturing the signal at the time of reading and controlling the output of the write signal at the time of writing, and 5 is a central processing circuit (hereinafter referred to as CPU) for controlling the HDC 4.

【0011】以下、その動作について説明する。1セク
タのデータの読み込み時、CPU5は、HDC4に読み
込む領域を設定し、読み込みシーケンスをスタートさせ
る。まず、HDC4は読み込みモードを実行し、記録媒
体1に記録されている信号をデータヘッド2からAMP
3を通して取り込む。取り込んだ信号がID16の部分で
あれば、その情報が設定された領域に対するものか判断
し、設定領域であればその後に続く、DATA20の信号
をデータとして取り込み、読み込みシーケンスを終了さ
せる。また、設定された領域でなければ、設定された領
域のID16が、取り込まれるまで、そのまま読み込みモ
ードを続ける。
The operation will be described below. When reading the data of one sector, the CPU 5 sets the area to be read in the HDC 4 and starts the reading sequence. First, the HDC 4 executes the read mode, and the signal recorded on the recording medium 1 is sent from the data head 2 to the AMP.
Take in through 3. If the fetched signal is the portion of ID16, it is judged whether the information is for the set area, and if it is the set area, the signal of DATA20 following it is fetched as data and the reading sequence is ended. If it is not the set area, the read mode is continued until the ID 16 of the set area is fetched.

【0012】次に、データの書き込み時を説明する。C
PU5は、HDC4に書き込む領域を設定し、書き込み
シーケンスをスタートさせる。最初、HDC4は読み込
みモードを実行し、記録媒体1に記録されている信号を
データヘッド2からAMP3を通して取り込む。取り込
んだ信号がID16の部分であれば、設定された領域に対
するものか判断し、設定領域であればその後に続く、D
ATA20,ECC21及びPAD18の部分を書き込みモー
ドにして記録媒体1にデータを記録し、その後、書き込
みシーケンスを終了する。また、設定された領域でなけ
れば、前記データの読み込み時と同様に、設定された領
域のID16が、取り込まれるまで、そのまま読み込みモ
ードを続ける。
Next, the time of writing data will be described. C
The PU 5 sets the area to be written in the HDC 4 and starts the writing sequence. First, the HDC 4 executes the read mode to take in the signal recorded on the recording medium 1 from the data head 2 through the AMP 3. If the captured signal is the ID16 portion, it is determined whether it is for the set area.
The ATA 20, ECC 21, and PAD 18 portions are set to the write mode to record data on the recording medium 1, and then the write sequence is ended. If it is not the set area, the read mode is continued as it is until the ID 16 of the set area is taken in as in the case of reading the data.

【0013】次に従来例における、HDCの自己診断を
説明する。第1段階として、HDCに対する配線の接続
状況を確認する。この時は、HDCの読み出し/書き込
みできるレジスタ(図略)に対して、任意の値を何種類か
書き込み、期待したデータが読み込まれるかどうかを確
認する。第2段階として、正常動作の確認を行う。ここ
では、上位装置に対して使用を許可していない記録媒体
1上のある領域に対して、任意のデータを書き込む。そ
の後、その領域のデータを読み出して、書き込んだデー
タと等しいことを確認する。その動作を複数回、データ
を変化させて実行する。また、別の例としては、フォー
マット動作も行って、その領域に対する、書き込み読み
出し確認をする場合がある。
Next, the self-diagnosis of HDC in the conventional example will be described. As the first step, the connection status of the wiring to the HDC is confirmed. At this time, several kinds of arbitrary values are written to a read / write register (not shown) of the HDC and it is confirmed whether the expected data is read. As the second stage, normal operation is confirmed. Here, arbitrary data is written in a certain area on the recording medium 1 which is not permitted to be used by the host device. After that, the data in the area is read and it is confirmed that the data is equal to the written data. The operation is executed multiple times while changing the data. Further, as another example, there is a case where a formatting operation is also performed to confirm writing / reading in the area.

【0014】[0014]

【発明が解決しようとする課題】しかしながら、上記従
来例では、HDCの正常状態の確認のみを行って異常状
態検知の確認をしていなかった。したがって、従来の自
己診断では記録媒体に対して正常に書き込んだり、読み
込んだりする場合に信頼性は確保できるが、異常状態が
発生したときに、実際に異常状態であると検知し、それ
ぞれの異常状態に対応した処理をHDCが行うか保証で
きないという課題を有していた。
However, in the above-mentioned conventional example, only the normal state of the HDC is confirmed and the abnormal state detection is not confirmed. Therefore, in the conventional self-diagnosis, the reliability can be ensured when normally writing and reading to the recording medium, but when an abnormal state occurs, it is detected as an actual abnormal state and each abnormal state is detected. There is a problem that it is not possible to guarantee whether the HDC will perform the processing corresponding to the state.

【0015】本発明はこのような課題を解決し、HDC
の異常状態を故意に発生させ、それぞれの異常状態を自
己診断し、記録媒体に対しての正常な書き込み,読み出
しを行ないデータの信頼性の向上をはかることを目的と
する。
The present invention solves such a problem and provides HDC
The purpose of the present invention is to improve the reliability of the data by intentionally causing the abnormal states described above, self-diagnosing each abnormal state, and performing normal writing and reading on the recording medium.

【0016】[0016]

【課題を解決するための手段】本発明は、データの記録
再生を行う磁気ディスク装置において、記録媒体に対す
る記録及び再生を制御するハードディスクコントローラ
と、該ハードディスクコントローラに取り込まれる再生
信号を制御する再生信号制御回路とを備え、該再生信号
制御回路によって前記ハードディスクコントローラの異
常状態を発生させ、その異常状態の自己診断は、前記再
生信号制御回路を中央演算回路によって制御することに
よって行なうことを特徴とする。
According to the present invention, in a magnetic disk device for recording / reproducing data, a hard disk controller for controlling recording / reproducing with respect to a recording medium, and a reproduction signal for controlling a reproduction signal taken into the hard disk controller. A control circuit, wherein the reproduction signal control circuit causes an abnormal state of the hard disk controller, and the self-diagnosis of the abnormal state is performed by controlling the reproduction signal control circuit by a central processing circuit. ..

【0017】[0017]

【作用】本発明によれば、自己診断時に正常状態の確認
を行うとともに、異常状態の確認を行うことにより、実
際には異常状態であるのにHDCの異常のために正常と
判断し、上位装置が読み出そうとしているデータが本来
のデータと違ってしまったり、記録しようとしている領
域と違った領域にデータを記録し、有効なデータを破壊
するというような事態の発生をなくすことができ、デー
タの信頼性の向上が図れる。
According to the present invention, by confirming the normal state at the time of self-diagnosis and also confirming the abnormal state, it is judged to be normal because of the abnormality of HDC although it is actually the abnormal state. It is possible to prevent the situation where the data that the device is trying to read is different from the original data, or the data is recorded in a different area from the area that is being recorded and destroys valid data. , Data reliability can be improved.

【0018】[0018]

【実施例】図1は本発明の一実施例に係る磁気ディスク
装置の信号処理系の構成を示すブロック回路図である。
図3と同一の番号は、同一のものである。6は再生信号
制御回路で、APM3から読み込まれる信号を制御す
る。7及び8は再生信号制御回路6の入出力ポートで、
入出力ポート7はAMP3と、入出力ポート8はHDC
4と接続されている。また9,10,11,12及び13は再生
信号制御回路6の入力ポートである。また、9′,1
0′,11′,12′及び13′はCPU5の出力ポートで、
それぞれ再生信号制御回路6の上記入力ポート9,10,
11,12,13と接続されている。
1 is a block circuit diagram showing the configuration of a signal processing system of a magnetic disk device according to an embodiment of the present invention.
The same numbers as in FIG. 3 are the same. A reproduction signal control circuit 6 controls the signal read from the APM 3. 7 and 8 are input / output ports of the reproduction signal control circuit 6,
I / O port 7 is AMP3 and I / O port 8 is HDC
It is connected with 4. Reference numerals 9, 10, 11, 12, and 13 are input ports of the reproduction signal control circuit 6. Also, 9 ', 1
0 ', 11', 12 'and 13' are output ports of the CPU 5,
The input ports 9 and 10 of the reproduction signal control circuit 6, respectively
It is connected to 11, 12, and 13.

【0019】また、再生信号制御回路6では、AMP3
から信号を読み込み時、入出力ポート7から取り込んだ
信号が、SYNC15,ID16,CRC17及びECC21の
情報であることを認識検出できる回路を含んでいる。こ
の再生信号制御回路6では、信号記録時には、HDC4
からの信号がそのままAMP3に伝えられる。また、信
号読み込み時には、AMP3からの信号が、入力ポート
9,10,11,12,13の入力に応じて、HDC4に伝えら
れる。
In the reproduction signal control circuit 6, the AMP3
The circuit includes a circuit capable of recognizing and detecting that the signal taken in from the input / output port 7 is the information of SYNC15, ID16, CRC17 and ECC21 when the signal is read from. In the reproduction signal control circuit 6, when recording a signal, the HDC 4
The signal from is directly transmitted to AMP3. Further, at the time of reading the signal, the signal from the AMP 3 is transmitted to the HDC 4 according to the input of the input ports 9, 10, 11, 12, and 13.

【0020】以下に、信号読み込み時の各ポートの入力
に対する入出力ポート8の出力状態を説明する。フォー
マットに関しては従来のものと何等変わらないので図2
のものを流用して説明する。
The output state of the input / output port 8 with respect to the input of each port during signal reading will be described below. As for the format, there is no difference from the conventional one.
The explanation will be made by diverting the one.

【0021】 再生信号制御回路6の入力ポート9の
状態によって、ID部のSYNC15の部分に関しての入
出力ポート8の出力状態が制御される。入力ポート9が
1(つまり、HIGHレベル)のとき、ID部のSYNC
15の部分は、常に0(つまり、LOWレベル)が入出力ポ
ート8から出力される。入力ポート9が0のとき、ID
部のSYNC15の部分は、入出力ポート7から取り込ん
だ信号がそのまま入出力ポート8から出力される。
The state of the input port 9 of the reproduction signal control circuit 6 controls the output state of the input / output port 8 for the SYNC 15 portion of the ID section. When the input port 9 is 1 (that is, HIGH level), the SYNC of the ID section
In the 15th part, 0 (that is, LOW level) is always output from the input / output port 8. ID when input port 9 is 0
In the SYNC 15 portion of the section, the signal taken in from the input / output port 7 is output as it is from the input / output port 8.

【0022】 入力ポート10の状態によって、CRC1
7の部分に関しての入出力ポート8の出力状態が制御さ
れる。入力ポート10が1のとき、CRC17の部分は、常
に0が入出力ポート8から出力される。入力ポート10が
0のとき、CRC17の部分は、入出力ポート7から取り
込んだ信号がそのまま入出力ポート8から出力される。
Depending on the state of the input port 10, CRC1
The output state of the input / output port 8 for the part 7 is controlled. When the input port 10 is 1, 0 is always output from the input / output port 8 in the CRC 17 portion. When the input port 10 is 0, the CRC 17 portion outputs the signal received from the input / output port 7 as it is from the input / output port 8.

【0023】 入力ポート11の状態によって、ID16
の部分に関しての入出力ポート8の出力状態が制御され
る。入力ポート10が1のとき、ID16の部分は、常に0
が入出力ポート8から出力される。入力ポート11が0の
とき、ID16の部分は、入出力ポート7から取り込んだ
信号がそのまま入出力ポート8から出される。
Depending on the state of the input port 11, ID16
The output state of the input / output port 8 with respect to the above portion is controlled. When the input port 10 is 1, the ID16 part is always 0
Is output from the input / output port 8. When the input port 11 is 0, the signal input from the input / output port 7 is directly output from the input / output port 8 in the ID 16 portion.

【0024】 入力ポート12の状態によって、DAT
A部のSYNC15の部分に関しての入出力ポート8の出
力状態が制御される。入力ポート12が1のとき、DAT
A部のSYNC15の部分は、常に0が入出力ポート8か
ら出力される。入力ポート9が0のとき、DATA部の
SYNC15の部分は、入出力ポート7から取り込んだ信
号がそのまま入出力ポート8から出力される。
Depending on the state of the input port 12, DAT
The output state of the input / output port 8 for the SYNC15 portion of the A section is controlled. When the input port 12 is 1, DAT
In the SYNC15 portion of the A section, 0 is always output from the input / output port 8. When the input port 9 is 0, the signal input from the input / output port 7 is directly output from the input / output port 8 in the SYNC 15 portion of the DATA section.

【0025】 入力ポート13の状態によって、ECC2
1の部分に関しての入出力ポート8の出力状態が制御さ
れる。入力ポート13が1のとき、ECC21の部分は、常
に0が入出力ポート8から出力される。入力ポート13が
0のとき、ECC21の部分は、入出力ポート7から取り
込んだ信号がそのまま入出力ポート8から出力される。
Depending on the state of the input port 13, the ECC2
The output state of the input / output port 8 for the part 1 is controlled. When the input port 13 is 1, 0 is always output from the input / output port 8 in the ECC 21 portion. When the input port 13 is 0, the ECC 21 portion outputs the signal received from the input / output port 7 as it is from the input / output port 8.

【0026】次に本発明の一実施例として異常状態発生
パターンを示す。
Next, an abnormal state occurrence pattern will be shown as an embodiment of the present invention.

【0027】a.ID部のSYNC15が検出できない。A. SYNC15 of ID part cannot be detected.

【0028】b.SYNC15及びID16から生成された
読み出し検出誤り情報とCRC17が等しくない。
B. The read detection error information generated from SYNC15 and ID16 and CRC17 are not equal.

【0029】c.設定されたID16がデータヘッド2で
位置決めされたトラックに存在しない。
C. The set ID 16 does not exist in the track positioned by the data head 2.

【0030】d.DATA部のSYNC15が検出できな
い。
D. SYNC15 of DATA part cannot be detected.

【0031】e.読み出されたDATA20及びECC21
に対して読み出し誤りが発生した。 データの読み込みときにはa〜eの異常が発生し、デー
タの書き込みときにはa〜dの異常が発生する。
E. Read DATA20 and ECC21
A read error occurred for. Abnormalities a to e occur when reading data, and abnormalities a to d occur when writing data.

【0032】次に、本実施例の異常状態発生方法をのべ
る。
Next, the method of generating an abnormal state according to this embodiment will be described.

【0033】aの状態では、入出力ポート9が1で、入
出力ポート10,11,12,13が0のとき発生できる。本実
施例でのID部のSYNC15は、全ビット0でないの
で、SYNC15が検出できずID部のSYNC15の検出
ミスの状態を発生できる。
In the state of a, it can occur when the input / output port 9 is 1 and the input / output ports 10, 11, 12, 13 are 0. Since all bits of SYNC15 of the ID part in this embodiment are not all 0, SYNC15 cannot be detected and a detection error state of SYNC15 of the ID part can occur.

【0034】bの状態では、入出力ポート10が1で、入
出力ポート9,11,12,13が0とき発生できる。ID部
SYNC15とID16によって生成され記録されたCRC
17の値が、すべて0でない領域をアクセスしにいき、C
RCエラー状態を発生させる。
In the state of b, it can occur when the input / output port 10 is 1 and the input / output ports 9, 11, 12, 13 are 0. CRC generated and recorded by ID part SYNC15 and ID16
Go to the area where the value of 17 is not all 0, C
Raise an RC error condition.

【0035】cの状態は、入出力ポート11が1で、入出
力ポート9,10,12,13が0のとき発生できる。ID16
の値が、すべて0でない領域をアクセスしにいき、ID
のコンペアエラー状態を発生させる。
The state c can be generated when the input / output port 11 is 1 and the input / output ports 9, 10, 12, 13 are 0. ID16
Go to the area where the value of is not all 0, ID
Generates a compare error condition.

【0036】dの状態は、入出力ポート12が1で、入出
力ポート9,10,11,13が0のとき発生できる。本実施
例でのDATA部のSYNC15は、全ビット0でないの
で、SYNC15が検出できずDATA部のSYNC15検
出ミスの状態を発生できる。
The state of d can be generated when the input / output port 12 is 1 and the input / output ports 9, 10, 11, 13 are 0. Since SYNC15 of the DATA section in this embodiment is not all 0 bits, SYNC15 cannot be detected and a SYNC15 detection miss state of the DATA section can occur.

【0037】eの状態では、入出力ポート13が1で、入
出力ポート9,10,11,12が0のとき発生できる。DA
TA20によって生成され記録されたECC21の値が、す
べて0でない領域をアクセスしにいき、ECCエラー状
態を発生させる。
In the state of e, it can occur when the input / output port 13 is 1 and the input / output ports 9, 10, 11, 12 are 0. DA
An ECC error state is generated by going to access an area where the ECC 21 values generated and recorded by TA 20 are not all zero.

【0038】以上のように本実施例では、故意に異常状
態を発生させることができ、異常状態時におけるHDC
の反応を確かめられるものである。
As described above, in this embodiment, the abnormal state can be intentionally generated, and the HDC in the abnormal state can be generated.
The reaction of can be confirmed.

【0039】このように本発明により、記録媒体に正常
に書き込んだり、読み込んだりできる場合の信頼性が確
保できるとともに、異常状態における異常状態検知の信
頼性が保証できるものである。ここで一実施例として幾
つかの異常状態について説明したがHDCやフォーマッ
トの仕方によって異常状態検知の種類と方法が異なるも
のである。しかし、本実施例と同様な方法で異常状態を
発生させ、異常状態を検知できるか確認できるのは言う
までもない。
As described above, according to the present invention, it is possible to ensure the reliability in the case where data can be normally written in and read from the recording medium, and also the reliability of the abnormal state detection in the abnormal state can be guaranteed. Here, some abnormal states have been described as an example, but the type and method of abnormal state detection differ depending on the HDC and format. However, it goes without saying that it is possible to confirm whether or not the abnormal state can be detected by generating the abnormal state by the same method as in this embodiment.

【0040】[0040]

【発明の効果】以上説明したように本発明の磁気ディス
ク装置は、再生信号制御回路により、ハードディスクコ
ントローラの異常状態を故意に発生させ、それぞれに対
応した異常状態を判断し、異常状態に応じた処理を行っ
ているかの確認を自己診断として行うようにした。この
ことにより、実際には異常状態なのにハードディスクコ
ントローラの異常のために正常と判断し、上位装置が読
み出そうとしているデータが本来のデータと違ってしま
ったり、記録しようとしている領域を違った領域にデー
タを記録し、有用なデータを破壊するというような事態
の発生をなくすことができデータの信頼性の向上が図れ
るものである。
As described above, in the magnetic disk apparatus of the present invention, the reproduction signal control circuit intentionally causes the abnormal state of the hard disk controller to be determined, the abnormal state corresponding to each is determined, and the abnormal state is responded to. Confirmation as to whether processing is being performed is made as a self-diagnosis. As a result, it is judged that the hard disk controller is normal even though it is actually in an abnormal state, and the data that the host device is trying to read is different from the original data, or the area that is trying to record is a different area. It is possible to record data on the disk and prevent the occurrence of a situation in which useful data is destroyed, thereby improving the reliability of the data.

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

【図1】本発明の一実施例に係る磁気ディスク装置の信
号処理系の構成を示すブロック回路図である。
FIG. 1 is a block circuit diagram showing a configuration of a signal processing system of a magnetic disk device according to an embodiment of the present invention.

【図2】従来のデータフォーマット形式を示す一例図で
ある。
FIG. 2 is an example diagram showing a conventional data format format.

【図3】図3は一従来例の磁気ディスク装置の信号処理
系の構成を示すブロック回路図である。
FIG. 3 is a block circuit diagram showing a configuration of a signal processing system of a conventional magnetic disk device.

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

1…記録媒体、 2…データヘッド、 3…増幅器(A
MP)、 4…ハードディスクコントローラ(HDC)、
5…中央演算回路(CPU)、 6…再生信号制御回
路。
1 ... Recording medium, 2 ... Data head, 3 ... Amplifier (A
MP), 4 ... Hard disk controller (HDC),
5 ... Central processing circuit (CPU), 6 ... Reproduction signal control circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 データの記録再生を行う磁気ディスク装
置において、記録媒体に対する記録及び再生を制御する
ハードディスクコントローラと、該ハードディスクコン
トローラに取り込まれる再生信号を制御する再生信号制
御回路とを備え、該再生信号制御回路によって前記ハー
ドディスクコントローラの異常状態を発生させ、その異
常状態の自己診断は、前記再生信号制御回路を中央演算
回路によって制御することによって行なうことを特徴と
する磁気ディスク装置。
1. A magnetic disk device for recording / reproducing data, comprising: a hard disk controller for controlling recording and reproduction on a recording medium; and a reproduction signal control circuit for controlling a reproduction signal taken into the hard disk controller. A magnetic disk device characterized in that an abnormal state of the hard disk controller is generated by a signal control circuit, and the self-diagnosis of the abnormal state is performed by controlling the reproduction signal control circuit by a central processing circuit.
JP4019045A 1992-02-04 1992-02-04 Magnetic disk device Pending JPH05217303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4019045A JPH05217303A (en) 1992-02-04 1992-02-04 Magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4019045A JPH05217303A (en) 1992-02-04 1992-02-04 Magnetic disk device

Publications (1)

Publication Number Publication Date
JPH05217303A true JPH05217303A (en) 1993-08-27

Family

ID=11988452

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4019045A Pending JPH05217303A (en) 1992-02-04 1992-02-04 Magnetic disk device

Country Status (1)

Country Link
JP (1) JPH05217303A (en)

Similar Documents

Publication Publication Date Title
US6181497B1 (en) System and method for providing nonadjacent redundancy synchronization bytes
JPH05217303A (en) Magnetic disk device
JPH0620403A (en) Magnetic disk device
JP2589673B2 (en) Address data detection device
JPS6050665A (en) Recording and reproducing method of data
JPH0785608A (en) Storage device
JPH05159478A (en) Optical recording and reproducing device
JPH03156775A (en) Method and device for information recording
JPS6386160A (en) Magnetic recording system
JPH10269729A (en) Disk apparatus
JPH0574051A (en) Synchronous information detector
JPH05325434A (en) Magnetic disk device
JPH0574060A (en) Optical recording and reproducing device
JPH0581784A (en) Magnetic recording and reproducing device
JPH11134818A (en) Digital signal reproducing device and digital signal reproducing method
JPH0589607A (en) Data reproducing device
JP2001043624A (en) Disk storage device and split data writing method
JPH05325432A (en) Magnetic disk device
JPS6376154A (en) Detection system for synchronizing signal
JPH0417168A (en) Floppy disk control system
JPH1021657A (en) Error correcting device
JPH04337570A (en) Error deciding method in information recording and reproducing device
JPS61260473A (en) Information recording and reproducing device
JPS62283474A (en) Block access method
JPH05298832A (en) Optical disk device