JPH0464978A - Magnetic disk device - Google Patents
Magnetic disk deviceInfo
- Publication number
- JPH0464978A JPH0464978A JP17811490A JP17811490A JPH0464978A JP H0464978 A JPH0464978 A JP H0464978A JP 17811490 A JP17811490 A JP 17811490A JP 17811490 A JP17811490 A JP 17811490A JP H0464978 A JPH0464978 A JP H0464978A
- Authority
- JP
- Japan
- Prior art keywords
- data
- parity
- circuit
- error
- detection
- 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
Links
- 238000001514 detection method Methods 0.000 claims description 32
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業−にの利用分野〕
本発明は」二値装置との間で各バイト単位のパリティを
含む1バイト以上のデータの送受を行う磁気ディスク装
置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a magnetic disk device that sends and receives data of one or more bytes including parity in units of bytes to and from a binary device.
r従来の技術〕
I−位合方との間で各パイ1〜119位のパリティを禽
む1バイト以−1−のデータの送受を行う従来の磁気デ
ィスク装置は、第2図に示すような構成を有している。[Prior art] A conventional magnetic disk device that sends and receives data of 1 byte or more with parity of the 1st to 119th positions of each pie is as shown in FIG. It has a unique structure.
すなわち、9ヒツト(8ピッ1〜→−パリティ)のデー
タは、上位装置からコマンド/データライン12を介し
て人出力制御部26および゛パリティ検出、/発生回路
27に入ってパリティの正誤の検出か行われ、パリティ
を除いた8ビットのデータが8ビットデータライン25
を介して入出力制御部26からデータバッファ24に送
られてそこで−・時的に格納される。このデータは、磁
気媒体1に書込むために、さらにエラー符号生成回路2
3に送られ、そこで1¥1算されたエラー訂正符号と共
にデータ変調回路22によってパラレルデータからシリ
アルデータに変換されると共に磁気媒体1に書込む形式
に変換され、書込み回路5を介して切換回路4に送られ
る。切換回路4は、書込み/′読出し切換信号3によっ
て書込みモードに設定され、複数の磁気ヘラ1〜2の中
からヘッド切換信号14によって指定された1個の磁気
ヘッドによって対応する磁気媒体1にそのデータを書込
む。That is, the data of 9 hits (8 bits 1 to -> - parity) is sent from the host device via the command/data line 12 to the human output control unit 26 and the parity detection/generation circuit 27 to detect whether the parity is correct or incorrect. The 8-bit data excluding parity is transferred to the 8-bit data line 25.
The data is sent from the input/output control unit 26 to the data buffer 24 via the input/output controller 26, where it is temporarily stored. This data is further processed by an error code generation circuit 2 in order to write it on the magnetic medium 1.
3, where it is converted from parallel data to serial data by the data modulation circuit 22 together with the error correction code multiplied by 1\1, and is also converted into a format to be written on the magnetic medium 1, and sent to the switching circuit via the writing circuit 5. Sent to 4. The switching circuit 4 is set to the write mode by the write/'read switching signal 3, and the one magnetic head specified by the head switching signal 14 from among the plurality of magnetic spatulas 1 to 2 is set to the corresponding magnetic medium 1. Write data.
磁気媒体1に書込まれたデータの読出しは、書込み、/
読出し切換信号3によって書込みモードに設定された切
換回路4において、ヘッド切換信号14によって複数の
磁気ヘッド2の中から指定された1個の磁気ヘラl〜を
jK択してデータを読出し、その読出し信号を読出し回
路15で増幅してピーク検出/パルス化回路16に送る
。ピーク検出、/パルス化回路16は、入力したアナロ
グ信号をディジタル信号に変換してデータ復調回路28
に送り、データ復調回路28はこれを復調しかつシリア
ルデータからパラレルデータに変換する。Reading of data written on the magnetic medium 1 is performed by writing, /
In the switching circuit 4 set to write mode by the read switching signal 3, one magnetic spatula l~ specified from the plurality of magnetic heads 2 is selected by the head switching signal 14, and data is read out. The signal is amplified by readout circuit 15 and sent to peak detection/pulsing circuit 16 . The peak detection/pulsing circuit 16 converts the input analog signal into a digital signal and sends it to the data demodulation circuit 28.
The data demodulation circuit 28 demodulates the data and converts it from serial data to parallel data.
この変換されたデータは、エラーの検出と訂正を行うた
めにエラー検出7/訂正回路12に送られる。エラー検
出/訂正回路12においてエラーが検出されると、デー
タが正しくなかったとしてエラー信号20によって人出
力制御部26を介して上位装置に報告される。エラーが
検出されないときは、クー1〜データライン2つを介し
てデータバッファ24に送られて一時的に格納される。This converted data is sent to an error detection/correction circuit 12 for error detection and correction. When an error is detected in the error detection/correction circuit 12, the error signal 20 is reported to the host device via the human output control section 26, indicating that the data is incorrect. When no error is detected, the data is sent to the data buffer 24 via the data lines 1 to 2 and temporarily stored therein.
このデータは、更に8ビツトデータライン25およびコ
マンド/データライン12を介して上位装置に送られる
。このときパリティ検出/発生回路27によってパリテ
ィが付加される。このようなデータの書込み/読出し動
作は、磁気媒体1に対してパリティが付加されいないデ
ータのみの記録および再生を行っている。This data is further sent to the host device via the 8-bit data line 25 and the command/data line 12. At this time, parity is added by the parity detection/generation circuit 27. In such data write/read operations, only data to which no parity is added is recorded and reproduced on the magnetic medium 1.
上述したような従来の磁気ディスク装置は、上位装置か
ら送られてきたデータのパリティを磁気ディスク装置内
における書込み/続出し動作において使用せず、またデ
ータの入力点から出力点までの変化について監視されて
おらず、更に、工ラー訂正符号にパリティか付加されて
いないため、エラー訂正符号にエラーかあったときに誤
った訂正を行い、従ってデータの正確性に欠くという欠
点を有している。Conventional magnetic disk drives such as those described above do not use the parity of data sent from a host device in write/continue operations within the magnetic disk drive, and monitor changes from the data input point to the output point. Moreover, since parity is not added to the error correction code, if there is an error in the error correction code, it will be incorrectly corrected, resulting in a lack of data accuracy. .
本発明の磁気ディスク装置は、上位装置との間でデータ
の送受を行う各バイト単位のパリティを含む1バイト以
−トのコマンド/′データラインと、前記コマンド/デ
ータラインを介して送られてくる前記データのパリティ
の正誤の検出と生成を行うパリティ検出/発生回路と、
前記上位装置との間におけるデータの送受の制御を行う
入出力制御部と、前記り位合方と磁気ディスク装置との
間の転送速度の差を吸収するためデータを一時格納する
データバッファと、書込みデータのエラーの検出と訂正
のためのエラー訂正符号の生成を行うエラー符号生成回
路と、前記エラー符号生成回路で生成したエラー訂正符
号のパリティを発生するパリティ発生回路と、前記書込
みデータおよび前記エラー訂正符号をそれらのパリティ
を含んで記録媒体に書込む形式に変換するデータ変調回
路と、前記記録媒体から読出されてパルス1ヒされた信
号を復調するデータ復調回路と、前記データ復調回路に
よって復調されたデータのパリティの正誤の検出を行う
パリティ検出回路と、vif記復調されたデータのエラ
ーの検出と訂正を行うエラー検出/訂正回路と、前記エ
ラー検出/訂正回路からのデータを1f記テータハツフ
アに送出するリードデータライ〉・とを備えている、。The magnetic disk device of the present invention has a command/data line of 1 byte or more including parity for each byte for sending and receiving data to and from a host device, and a command/data line that is sent via the command/data line. a parity detection/generation circuit that detects whether the parity of the data is correct and generates the parity;
an input/output control unit that controls transmission and reception of data with the host device; a data buffer that temporarily stores data to absorb a difference in transfer speed between the host device and the magnetic disk device; an error code generation circuit that generates an error correction code for detecting and correcting errors in write data; a parity generation circuit that generates parity of the error correction code generated by the error code generation circuit; a data modulation circuit that converts the error correction code into a format that is written to a recording medium including its parity; a data demodulation circuit that demodulates the signal read from the recording medium and subjected to one pulse; and the data demodulation circuit. A parity detection circuit detects whether the parity of the demodulated data is correct, an error detection/correction circuit detects and corrects errors in the demodulated data, and the data from the error detection/correction circuit is stored in the 1F memory. It is equipped with a read data line for sending data to the data center.
〔実施例] 次に本発明の実施例について図面を参照して説明する。〔Example] Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例を示す10ツク図である。FIG. 1 is a ten-step diagram showing one embodiment of the present invention.
第1−図において、9ヒツト(8ビツト+パリテイ)の
データは、上位装置からコマンド/′データライン12
を介して入出力制御部13およびパリティ検出/発生回
路1−1に入力してパリティの正誤の検出が行われる。In Figure 1, 9 bits (8 bits + parity) of data are transmitted from the host device to the command/'data line 12.
The signal is inputted to the input/output control unit 13 and the parity detection/generation circuit 1-1 via the input/output controller 13, and the correctness or incorrectness of the parity is detected.
入出力制御部13に入ったデータは、パリティと共にデ
ータバッファ]0に送られてそこで−・時的に格納され
る。このデータは、磁気媒体1に書込むために、さらに
エラー符号生成回路9に送られる。、そこで計算された
エラー訂正符号は、パリティ発生回li!88で生成さ
れたエラー訂正符号のパリティピッ1〜7と共にデー・
夕変調回路6に送られ、ここでパラレルデータからシリ
アルデータに変換されると共に磁気媒体1に書込む形式
に変換され、書込み回路5を介して切換回路4に送られ
る。切換回路4は、書込み/読出し切換信号3によって
書込みモードに設定され、複数の磁気ヘッド2の中から
ヘッド切換信号14によって指定された1個の磁気ヘッ
ドによって対応する磁気媒体1にそのデータを書込む。The data that has entered the input/output control unit 13 is sent to the data buffer 0 together with parity and is temporarily stored there. This data is further sent to an error code generation circuit 9 for writing onto the magnetic medium 1. , the error correction code calculated there is the parity generation time li! 88 along with parity bits 1 to 7 of the error correction code.
The data is sent to the digital modulation circuit 6, where it is converted from parallel data to serial data and converted into a format to be written on the magnetic medium 1, and sent to the switching circuit 4 via the write circuit 5. The switching circuit 4 is set to a write mode by the write/read switching signal 3, and writes the data to the corresponding magnetic medium 1 by one magnetic head from among the plurality of magnetic heads 2 designated by the head switching signal 14. It's crowded.
磁気媒体1に書込まれたデータの読出しは、書込み/読
出し切換信号3によって書込みモードに設定された切換
回路4Cおいて、ヘッド切換信号]4によって複数の磁
気ヘッド2の中から指定された1−個の磁気ヘッドを選
択してデータを読出し、その読出し信号を読出し回路1
5て増幅してピーク検出/パルス化回路16に送る。ピ
ーク検出、/パルス化回路16は、入力したアナログ信
号をディジタル信号に変換してデータ復調回路17に送
り、データ復調回路17はこれを復調しかつシリアルデ
ータからパラレルデータに変換する。Reading of data written on the magnetic medium 1 is performed by selecting one of the magnetic heads 2 designated from among the plurality of magnetic heads 2 by the head switching signal ]4 in the switching circuit 4C set to write mode by the write/read switching signal 3. - Select the magnetic heads to read data, and read out the read signal from the read circuit 1.
5 and amplifies it and sends it to the peak detection/pulsing circuit 16. The peak detection/pulsing circuit 16 converts the input analog signal into a digital signal and sends it to the data demodulation circuit 17, which demodulates this and converts it from serial data to parallel data.
この変換されたデータは、パリティ検出回路21におい
てそのパリティの正誤を検出される。復調されたデータ
はまた、エラーの検出と訂正を行うためにエラー検出/
訂正回路1つに送られる。エラー検出/訂正回路1つに
おいてエラーか検出されると、読出されたデータか正し
くなかったと[7てエラー信号20によって入出力制御
部1−3を介して」1位装置に報告される。エラーが検
出されないときは、パリティヒツトと共にリードデータ
ライン18を介してデータバ・ソファ10に送られて一
時的に格納される。このデータは、更に入出力制御部1
3によってコマンド/データライン1−2を介して上位
装置に送られる9このとき、パリティ検出/発生回路1
]によ−)で最終的にパリティの正誤の検出が行われ、
磁気ディスク装置内におけるデータの変化の有無が確認
される。The parity detection circuit 21 detects whether the parity of the converted data is correct or incorrect. The demodulated data also undergoes error detection/correction to detect and correct errors.
It is sent to one correction circuit. If an error is detected in one of the error detection/correction circuits, the fact that the read data is incorrect is reported to the first device via the input/output control section 1-3 by means of an error signal 20. If no error is detected, it is sent along with the parity hit to the data server 10 via the read data line 18 and temporarily stored. This data is further stored in the input/output control unit 1.
3 to the host device via the command/data lines 1-2. At this time, the parity detection/generation circuit 1
), the parity is finally detected as correct or incorrect.
It is confirmed whether or not there has been a change in data within the magnetic disk device.
以上説明したように、本発明の磁気ディスク装置は、書
込みデータおよびエラー訂正符号にパリティピットを付
加して磁気媒体に書込み、それを読出しなときパリティ
の正誤の検出を行うことにより、エラー訂正符号にエラ
ーかあったときに、誤った訂正を行うのを防止すること
ができるという効果があり、従ってデータの正確性を確
保することかできるという効果かある。As explained above, the magnetic disk drive of the present invention adds parity pits to the write data and error correction code and writes them to a magnetic medium, and when reading the data, detects whether the parity is correct or not, thereby adding the parity bits to the error correction code. This has the effect of preventing erroneous correction when an error occurs in the data, thereby ensuring the accuracy of the data.
第1図は本発明の一実施例を示すブロック図、第2図は
従来の磁気ディスク装置の一例を示すブロック図である
。
1・・・−・磁気媒体、2・−・・・−磁気ヘラI・、
3・・・・・・書込み/続出し切換信号、4・・・・・
・切換回路、5・・・・・・書込み回路、6・22・・
・・・・データ変調回路、7・−・・・・パリティピッ
ト、8・・・・・・パリティ発生回路、9・23・・・
・・・エラー符号生成回路、1.0−24−・・テ゛−
タハッファ、11・27・・・パリティ検出/発生回路
、12・・・・コマン1へ/データライン、13・26
−・−・−・入出力制御部、14・・・・ヘッド切換信
号、1−5・・・・・・読出し回路、16・・・・ピー
ク検出/パルス化回路、17−28・・・・・データ復
調回路、18・29−・・・・リードデータライン、1
つ・・・・エラー検出/′訂正回路、20 ・・・・エ
ラー信号、21・・・パリティ検出回路、25−−8ビ
ツトデータライン。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a block diagram showing an example of a conventional magnetic disk device. 1...-Magnetic medium, 2...-Magnetic spatula I,
3...Write/continue output switching signal, 4...
・Switching circuit, 5...Writing circuit, 6.22...
...Data modulation circuit, 7...Parity pit, 8...Parity generation circuit, 9.23...
...Error code generation circuit, 1.0-24-...T-
Tahafa, 11/27...Parity detection/generation circuit, 12...Command 1/data line, 13/26
--- Input/output control unit, 14... Head switching signal, 1-5... Readout circuit, 16... Peak detection/pulsing circuit, 17-28...・・Data demodulation circuit, 18・29−・・Read data line, 1
1...Error detection/correction circuit, 20...Error signal, 21...Parity detection circuit, 25--8 bit data line.
Claims (1)
のパリテイを含む1バイト以上のコマンド/データライ
ンと、前記コマンド/データラインを介して送られてく
る前記データのパリテイの正誤の検出と生成を行うパリ
ティ検出/発生回路と、前記上位装置との間におけるデ
ータの送受の制御を行う入出力制御部と、前記上位装置
と磁気ディスク装置との間の転送速度の差を吸収するた
めデータを一時格納するデータバッファと、書込みデー
タのエラーの検出と訂正のためのエラー訂正符号の生成
を行うエラー符号生成回路と、前記エラー符号生成回路
で生成したエラー訂正符号のパリテイを発生するパリテ
イ発生回路と、前記書込みデータおよび前記エラー訂正
符号をそれらのパリテイを含んで記録媒体に書込む形式
に変換するデータ変調回路と、前記記録媒体から読出さ
れてパルス化された信号を復調するデータ復調回路と、
前記データ復調回路によって復調されたデータのパリテ
イの正誤の検出を行うパリテイ検出回路と、前記復調さ
れたデータのエラーの検出と訂正を行うエラー検出/訂
正回路と、前記エラー検出/訂正回路からのデータを前
記データバッファに送出するリードデータラインとを備
えることを特徴とする磁気ディスク装置。 2、上位装置との間でデータの送受を行う各バイト単位
のパリテイを含む1バイト以上のコマンド/データライ
ンと、前記コマンド/データラインを介して送られてく
る前記データのパリテイの正誤の検出と生成を行うパリ
テイ検出/発生回路と、前記上位装置との間におけるデ
ータの送受の制御を行う入出力制御部と、前記上位装置
と磁気ディスク装置との間の転送速度の差を吸収するた
めデータを一時格納するデータバッファと、書込みデー
タのエラーの検出と訂正のためのエラー訂正符号の生成
を行うエラー符号生成回路と、前記エラー符号生成回路
で生成したエラー訂正符号のパリティを発生するパリテ
ィ発生回路と、前記書込みデータおよび前記エラー訂正
符号をそれらのパリテイを含んで記録媒体に書込む形式
に変換するデータ変調回路と、前記データ変調回路から
のデータを切換回路を介して磁気ヘッドによって前記記
録媒体に書込む書込み回路と、前記記録媒体から磁気ヘ
ッドによって前記切換回路を介して読出す読出し回路と
、前記読出し回路によって読出したデータのアナログ信
号をディジタル信号に変換するピーク検出/パルス化回
路と、前記変換したディジタル信号を復調するデータ復
調回路と、前記データ復調回路によって復調されたデー
タのパリテイの正誤の検出を行うパリテイ検出回路と、
前記復調されたデータのエラーの検出と訂正を行うエラ
ー検出/訂正回路と、前記エラー検出/訂正回路からの
データを前記データバッファに送出するリードデータラ
インとを備えることを特徴とする磁気ディスク装置。[Claims] 1. A command/data line of one or more bytes including parity in each byte for transmitting and receiving data to and from a host device, and the data sent via the command/data line. a parity detection/generation circuit that detects and generates parity correctness; an input/output control unit that controls data transmission and reception between the host device; and a transfer rate between the host device and the magnetic disk device. a data buffer that temporarily stores data to absorb the difference in data; an error code generation circuit that generates an error correction code for detecting and correcting errors in written data; and an error correction code generated by the error code generation circuit. a parity generation circuit that generates parity of the data; a data modulation circuit that converts the write data and the error correction code into a format that includes their parity and is written to a recording medium; a data demodulation circuit that demodulates the signal;
a parity detection circuit that detects whether the parity of the data demodulated by the data demodulation circuit is correct; an error detection/correction circuit that detects and corrects errors in the demodulated data; and a parity detection circuit that detects and corrects errors in the demodulated data; A magnetic disk device comprising: a read data line for sending data to the data buffer. 2. Detection of a command/data line of 1 byte or more containing parity for each byte used to send and receive data to and from a host device, and whether the parity of the data sent via the command/data line is correct or incorrect. a parity detection/generation circuit that generates a parity; an input/output control unit that controls data transmission and reception between the host device; and a parity control unit that absorbs the difference in transfer speed between the host device and the magnetic disk device. A data buffer that temporarily stores data, an error code generation circuit that generates an error correction code for detecting and correcting errors in write data, and a parity that generates parity of the error correction code generated by the error code generation circuit. a generation circuit; a data modulation circuit that converts the write data and the error correction code into a format to be written on a recording medium including their parities; a write circuit that writes to a recording medium; a read circuit that reads data from the recording medium by a magnetic head via the switching circuit; and a peak detection/pulsing circuit that converts an analog signal of data read by the read circuit into a digital signal. a data demodulation circuit that demodulates the converted digital signal; and a parity detection circuit that detects whether the parity of the data demodulated by the data demodulation circuit is correct or incorrect.
A magnetic disk device comprising: an error detection/correction circuit that detects and corrects errors in the demodulated data; and a read data line that sends data from the error detection/correction circuit to the data buffer. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17811490A JPH0464978A (en) | 1990-07-05 | 1990-07-05 | Magnetic disk device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17811490A JPH0464978A (en) | 1990-07-05 | 1990-07-05 | Magnetic disk device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0464978A true JPH0464978A (en) | 1992-02-28 |
Family
ID=16042905
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17811490A Pending JPH0464978A (en) | 1990-07-05 | 1990-07-05 | Magnetic disk device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0464978A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8228249B2 (en) | 2009-05-28 | 2012-07-24 | Denso Corporation | In-vehicle antenna device |
-
1990
- 1990-07-05 JP JP17811490A patent/JPH0464978A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8228249B2 (en) | 2009-05-28 | 2012-07-24 | Denso Corporation | In-vehicle antenna device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0465066B1 (en) | Method and apparatus for transferring data between a data bus and a data storage device | |
| US5978958A (en) | Data transmission system, data recording and reproducing apparatus and recording medium each having data structure of error correcting code | |
| US6912682B1 (en) | Signal processor for correcting and detecting errors | |
| US6012839A (en) | Method and apparatus to protect data within a disk drive buffer | |
| EP0763283B1 (en) | Data transmission system, data recording and reproducing apparatus and recording medium each having data structure of error correcting code | |
| JPH02301074A (en) | Signal transferring apparatus | |
| JPS6050669A (en) | Data demodulation method | |
| JP3502559B2 (en) | Erasure correction method and erasure correction circuit | |
| JPH0464978A (en) | Magnetic disk device | |
| JP2722647B2 (en) | Magnetic tape controller | |
| JPH02131625A (en) | error correction device | |
| JP3282425B2 (en) | Digital signal recording device | |
| JP2539417B2 (en) | Information recording method | |
| JPH04186559A (en) | Magnetic tape reading control method | |
| JPS62256270A (en) | error correction device | |
| JP2612029B2 (en) | Error correction control method | |
| JP2805780B2 (en) | Magnetic disk drive | |
| JPH07112160B2 (en) | Decoding method of error correction code | |
| KR100230423B1 (en) | Subcode Q-Channel Interface Units in Digital Versatile Disk Systems | |
| JPH0233330Y2 (en) | ||
| JPH03176867A (en) | Data recording and reproducing device | |
| JPS6332770A (en) | magnetic recording and reproducing device | |
| JPH0538442Y2 (en) | ||
| HK1013529B (en) | Data transmission system, data recording and reproducing apparatus and recording medium each having data structure of error correcting code | |
| JPS63251972A (en) | Floppy disk error correction device |