JP2805780B2 - Magnetic disk drive - Google Patents

Magnetic disk drive

Info

Publication number
JP2805780B2
JP2805780B2 JP63322787A JP32278788A JP2805780B2 JP 2805780 B2 JP2805780 B2 JP 2805780B2 JP 63322787 A JP63322787 A JP 63322787A JP 32278788 A JP32278788 A JP 32278788A JP 2805780 B2 JP2805780 B2 JP 2805780B2
Authority
JP
Japan
Prior art keywords
signal
data
circuit
decoded
decoding
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
JP63322787A
Other languages
Japanese (ja)
Other versions
JPH02168471A (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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP63322787A priority Critical patent/JP2805780B2/en
Publication of JPH02168471A publication Critical patent/JPH02168471A/en
Application granted granted Critical
Publication of JP2805780B2 publication Critical patent/JP2805780B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、磁気ディスク装置に係り、とくに書き込み
読み出し用の1−7コード変換回路を備えた磁気ディス
ク装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic disk drive, and more particularly to a magnetic disk drive having a 1-7 code conversion circuit for writing and reading.

〔従来の技術〕[Conventional technology]

第3図に従来例を示す。この第3図における従来例
は、ヘッドによって読み出されたアナログ信号を1−7
コードデータ102に変換するコード変換回路10と、この
コード変換回路10から出力される1−7コードデータ10
2をNRZ信号108に復合化するテコーダ回路20と、この復
合化されたNRZ信号108に対するフレームを補正するクロ
ック補正回路30とを有している。さらに、前述したデコ
ーダ回路20から出力される復号化されたNRZ信号108と同
じくデコーダ回路20から出力される復号化正常信号112
との論理積をとるとともに復号化されたNRZ信号113を上
位機へ送り出すANDゲート40とを備えている。
FIG. 3 shows a conventional example. In the prior art shown in FIG. 3, the analog signal read by the head is 1-7
A code conversion circuit 10 for converting to code data 102, and 1-7 code data 10 output from the code conversion circuit 10
It has a tecoder circuit 20 for decoding 2 into an NRZ signal 108, and a clock correction circuit 30 for correcting a frame for the decoded NRZ signal 108. Further, the decoded normal signal 112 output from the decoder circuit 20 as well as the decoded NRZ signal 108 output from the decoder circuit 20 described above.
And an AND gate 40 for calculating the logical product of the NRZ signal 113 and sending out the decoded NRZ signal 113 to the host device.

そして、この第3図に示す従来例では、上位機からの
読み出し命令によって作動し、ディスク媒体上に記録さ
れている1−7コードデータを読み出したのちNRZ信号1
13に復号化して上位機へ送り出すようになっている。こ
の場合、NRZ信号への復号化に際してはクロック補正回
路30から出力される補正されたクロック104に従って前
述したNRZ信号が正しく復号化されるようにフレーム調
整が行われていた。この第3図において、符号101は復
号化開始信号を示し、符号103は読み出し用基本クロッ
クを示す。また、符号105は「00データ信号」を,符号1
06は「10データ信号」を,更に符号107は「11データ信
号」をそれぞれ示す。
In the conventional example shown in FIG. 3, the NRZ signal is operated by a read command from a higher-level device to read 1-7 code data recorded on a disk medium.
13 and send it to the host machine. In this case, at the time of decoding into an NRZ signal, frame adjustment has been performed according to the corrected clock 104 output from the clock correction circuit 30 so that the above-described NRZ signal is correctly decoded. In FIG. 3, reference numeral 101 denotes a decoding start signal, and reference numeral 103 denotes a basic clock for reading. Reference numeral 105 denotes “00 data signal” and reference numeral 1 denotes
06 indicates “10 data signals”, and reference numeral 107 indicates “11 data signals”.

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

しかしながら、上記従来例にあっては、上位機に対す
るNRZ信号の復号化に際し、フレーム調整に失敗する
と、正しくNRZ信号に復号化がなされないことから、復
号化が正しく完了したことを示す復号化正常信号が出力
されず、これがため、上位機に対しては「オールゼロ」
のデータしか伝送できないという事態が発生する。この
ため、本来、正しくフレーム調整できさえすれば読み出
せた情報が、読み出し不能状態となる。かかる場合、上
位機は、目標とする情報が得られないことから、当該セ
クタに情報がないと判断する。そして、これに続いて書
き込み動作という誤動作を誘発し、これによって情報が
消されるという不都合が生じていた。
However, in the above conventional example, when the frame adjustment fails in decoding the NRZ signal for the host device, the NRZ signal is not correctly decoded. No signal is output, which is why "all zero"
A situation occurs in which only the data of (i) can be transmitted. For this reason, the information which can be read as long as the frame adjustment can be performed correctly is in an unreadable state. In such a case, the host machine determines that there is no information in the sector because the target information cannot be obtained. Subsequently, a malfunction such as a write operation is induced, which causes a problem that information is erased.

〔発明の目的〕[Object of the invention]

本発明の目的は、かかる従来例の有する不都合を改善
し、とくに、フレーム調整に失敗した場合であっても情
報の存在を上位機に有効に伝達することができ、且つ情
報の消滅動作を有効に防止することができる磁気ディス
ク装置を提供することにある。
An object of the present invention is to improve the inconveniences of the conventional example, and in particular, it is possible to effectively transmit the presence of information to a higher-level device even when frame adjustment fails, and to effectively eliminate the information erasure operation. It is another object of the present invention to provide a magnetic disk device that can prevent the problem.

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

本発明では、ヘッドによって読み出されたアナログ信
号を1−7コードデータに変換するコード変換回路と、
この1−7データをNRZ信号に復号化するデコーダ回路
と、この復号化されたNRZ信号に対するフレームを補正
するクロック補正回路とを有している。そして、デコー
ダ回路の作動と同時に作動し一定時間後にデータ判別信
号を出力するタイマ回路と、復号化されたNRZ信号を入
力し01データ判定信号を出力する01データ判定回路と、
この01データ判定回路及びデコーダ回路の各出力を入力
し01データディテクト信号を出力するANDゲートとを備
えている。復号化正常信号をストローブ信号として使用
しANDゲートからの出力信号及び復号化されたNRZ信号と
を入力し上位機に対するセレクテッドNRZ信号を出力す
るセレクタ回路を具備する、という構成を採っている。
これによって前述した目的を達成しようとするものであ
る。
In the present invention, a code conversion circuit for converting an analog signal read by a head into 1-7 code data,
It has a decoder circuit for decoding the 1-7 data into an NRZ signal, and a clock correction circuit for correcting a frame corresponding to the decoded NRZ signal. A timer circuit that operates simultaneously with the operation of the decoder circuit and outputs a data determination signal after a predetermined time, a 01 data determination circuit that inputs a decoded NRZ signal and outputs a 01 data determination signal,
And an AND gate for inputting each output of the 01 data decision circuit and the decoder circuit and outputting a 01 data detect signal. The configuration is such that a selector circuit is provided which uses the decoded normal signal as a strobe signal, inputs the output signal from the AND gate and the decoded NRZ signal, and outputs a selected NRZ signal to the host device.
This aims to achieve the above-mentioned object.

〔発明の実施例〕(Example of the invention)

以下、本発明の一実施例を第1図に基づいて説明す
る。ここで、前述した従来例と同一の構成部材について
は同一の符号を用いることとする。
Hereinafter, an embodiment of the present invention will be described with reference to FIG. Here, the same reference numerals are used for the same components as those in the conventional example described above.

この第1図に示す実施例は、ヘッドによって読み出さ
れたアナログ信号を1−7コードデータ102に変換する
コード変換回路10と、この1−7データ102をNRZ信号10
8に復号化するデコーダ回路20と、この復号化されたNRZ
信号108に対するフレームを補正するクロック補正回路3
0とを有している。また、デコーダ回路20の作動と同時
に作動し一定時間後にデータ判別信号109を出力するタ
イマ回路1と、復号化されたNRZ信号108を入力し01デー
タ判定信号110を出力する01データ判定回路2と、この0
1データ判定回路2及びデコーダ回路20の各出力を入力
し01データディテクト信号111を出力するANDゲート3と
を備えている。さらに、前述した復号化正常信号をスト
ローブ信号として使用するとともにANDゲート3からの
出力信号及び復号化されたNRZ信号108とを入力して上位
機に対するセレクテッドNRR信号213を出力するセレクタ
回路4が具備されている。
In the embodiment shown in FIG. 1, a code conversion circuit 10 converts an analog signal read by a head into 1-7 code data 102, and converts the 1-7 data 102 into an NRZ signal 10.
8 and a decoder circuit 20 for decoding the decoded NRZ.
Clock correction circuit 3 that corrects the frame for signal 108
0. A timer circuit 1 that operates simultaneously with the operation of the decoder circuit 20 and outputs a data determination signal 109 after a predetermined time; a 01 data determination circuit 2 that inputs a decoded NRZ signal 108 and outputs a 01 data determination signal 110 And this 0
And an AND gate 3 to which each output of the 1 data decision circuit 2 and the decoder circuit 20 is input and which outputs the 01 data detect signal 111. Further, there is provided a selector circuit 4 which uses the above-mentioned decoded normal signal as a strobe signal, inputs the output signal from the AND gate 3 and the decoded NRZ signal 108, and outputs a selected NRR signal 213 to a higher-level device. Have been.

これを更に具体的動作をとり入れながら詳述する。 This will be described in detail while taking more specific operations.

まず、本実施例における磁気ディスク装置は、上位機
から読み出し命令を受けると、復号化開始信号101をア
クティブにし、1−7コードデータ102の復号化を再開
する。復号化する1−7コードデータ102は、「1001001
00100」の連続となっている。このデータの復号化する
と、フレームの取り方により、「1111……」,「1010…
…」及び「0000……」のいずれかに復号化される。ここ
で、期待される復号化されたNRZ信号108は「0000……」
である。
First, upon receiving a read command from the host machine, the magnetic disk device in this embodiment activates the decoding start signal 101 and restarts decoding of the 1-7 code data 102. The 1-7 code data 102 to be decoded is “1001001
00100 ”. When this data is decoded, "1111 ...", "1010 ..."
... "and" 0000 ... ". Here, the expected decoded NRZ signal 108 is "0000 ..."
It is.

一方、クロック補正回路30は、00データ信号105,10デ
ータ信号106,11データ信号107の情報にあせて、正しく0
0に復号化されるように、復号化クロック104に補正を行
う。デコーダ回路20は、00への復号化が可能となると、
復号化正常信号112をアクティブにし、セレクタ回路4
は、復号化されたNRZ信号108を、セレクテッドNRZ信号2
13として上位機へ送出する。
On the other hand, the clock correction circuit 30 corrects the information of the 00 data signals 105, 10
The decoding clock 104 is corrected so that it is decoded to zero. When decoding to 00 is possible, the decoder circuit 20
Activate the decoding normal signal 112 and select the selector circuit 4
Converts the decoded NRZ signal 108 to the selected NRZ signal 2
Transmitted to host machine as 13.

この場合、前述した第3図に示す従来例にあっては、
復号化正常信号112がアクティブにならない限りセレク
テッドNRZ信号213(第2図参照)は総て「ゼロ」のまま
であった。
In this case, in the conventional example shown in FIG.
All the selected NRZ signals 213 (see FIG. 2) remained "zero" unless the decoded normal signal 112 became active.

次に、読み出し命令を受けた当該セクタに情報が存在
する場合、1−7コードデータには、「100100」が一定
の長さ続いた後「001000101000」のデータが存在する。
これは、フレームが正しく補正された場合には、「0001
1001(19HEX)」に復号化できる。
Next, when information is present in the sector that has received the read command, the data of “001000101000” exists after “100100” continues for a certain length in the 1-7 code data.
This means that if the frame is correctly corrected,
1001 (19HEX) ".

フレームの補正に失敗した場合(すなわち復号化正常
信号112がアクティブにならない場合)でも、前述した
「001000101000」のデータは「01」と復号化される部分
がある。そして、復号化されたNRZ信号108中の「01デー
タ」を01データ判定回路2が判定した時に、01データ判
定信号110が出力される。
Even when the frame correction fails (that is, when the decoded normal signal 112 is not activated), there is a portion where the data of “001000101000” described above is decoded as “01”. Then, when the “01 data” in the decoded NRZ signal 108 is determined by the “01 data determination circuit 2”, the “01 data determination signal 110” is output.

タイマ回路1は、復合化開始信号101がアクティブに
なった後に,前述した1−7データビット「0010001010
00」が1−7データビット102に現れたころデータ判別
信号109を一定時間(2バイト長)アクティブにし、01
データ判定信号110を01データディテクト信号111として
セレクト回路4に伝達し、上位機に当該セクタに情報が
存在し、ただフレームの補正に失敗したため、正しく復
号化できなかったことを通知する。
After the decryption start signal 101 becomes active, the timer circuit 1 outputs the above-mentioned 1-7 data bits “0010001010”.
When "00" appears in the 1-7 data bits 102, the data discrimination signal 109 is activated for a certain period of time (2 bytes long), and 01
The data determination signal 110 is transmitted to the select circuit 4 as the 01 data detect signal 111 to notify the host device that the information was present in the sector and that the frame correction failed, so that decoding could not be performed correctly.

ここで、第2図に、NRZ信号を1−7コード信号への
符号化及び1−7コードからNRZ信号への復号化のアル
ゴリズムを示す。
FIG. 2 shows an algorithm for encoding the NRZ signal into a 1-7 code signal and decoding the 1-7 code into an NRZ signal.

ここで、前述した「フレーミング」を調整する必要性
について説明する。
Here, the necessity of adjusting the above-mentioned “framing” will be described.

上記復号化アルゴリズムより、「100100100100100」
の1−7データは、以下の三通りにフレーミングが可能
となる。それぞれ、復号化されるNRZ信号を示す。
From the above decoding algorithm, "100100100100100"
1-7 data can be framed in the following three ways. Each shows an NRZ signal to be decoded.

すなわち、<A><B>のフレーミングを<C>のフ
レーミングにするために、フレーミングの調整が必要と
なる。
That is, in order to change the framing of <A> and <B> to the framing of <C>, it is necessary to adjust the framing.

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

以上のように、本発明によると、デコードが開始され
て一定時間後にデータ判別信号を出力するデコーダ回路
と,復号化されたNRZ信号中の01データを検出する01デ
ータ判定回路とを装備したので、これら各回路の作用に
よって復号時(デコード時)にフレーム調整の失敗が発
生しても、上位機に対して「01データ」を送出すること
が可能となり、この「01データ」の送り出しによって上
位機に対し当該セクタに情報が存在することの明確な表
示となり、再読み出し命令の要求という形態をもって上
位機に伝達することができるという従来にない優れた磁
気ディスク装置を提供することができる。
As described above, according to the present invention, the decoder circuit that outputs the data discrimination signal a fixed time after the start of decoding, and the 01 data discrimination circuit that detects 01 data in the decoded NRZ signal are provided. Even if a frame adjustment failure occurs at the time of decoding (at the time of decoding) due to the operation of each of these circuits, "01 data" can be transmitted to the higher-level device. It is possible to provide an unprecedented excellent magnetic disk device that can clearly indicate to the machine that the information is present in the sector and can be transmitted to the host machine in the form of a request for a reread command.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図の動作を示す説明用図表、第3図は従来例を示す
ブロック図である。 1……タイマ回路、2……01データ判定回路、3……AN
Dゲート、4……セレクタ回路、10……コード変換回
路、20……デコーダ回路、30……クロック補正回路。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is an explanatory chart showing the operation of FIG. 1, and FIG. 3 is a block diagram showing a conventional example. 1 ... timer circuit, 2 ... 01 data judgment circuit, 3 ... AN
D gate, 4 selector circuit, 10 code conversion circuit, 20 decoder circuit, 30 clock correction circuit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ヘッドによって読み出されたアナログ信号
を1−7コードデータに変換するコード変換回路と、こ
の1−7データをNRZ信号に復号化するデコーダ回路
と、この復号化されたNRZ信号に対するフレームを補正
するクロック補正回路とを有し、 前記デコーダ回路の作動と同時に作動し一定時間後にデ
ータ判別信号を出力するタイマ回路と、前記復号化され
たNRZ信号を入力し01データ判定信号を出力する01デー
タ判定回路と、この01データ判定回路及び前記デコーダ
回路の各出力を入力し01データディテクト信号を出力す
るANDゲートとを備え、 前記復号化正常信号をストローブ信号として使用し前記
ANDゲートからの出力信号及び復号化されたNRZ信号とを
入力し上位機に対するセレクテッドNRR信号を出力する
セレクタ回路を具備したことを特徴とする磁気ディスク
装置。
1. A code conversion circuit for converting an analog signal read by a head into 1-7 code data, a decoder circuit for decoding the 1-7 data into an NRZ signal, and a decoded NRZ signal A clock correction circuit that corrects a frame with respect to, a timer circuit that operates simultaneously with the operation of the decoder circuit and outputs a data determination signal after a predetermined time, and receives the decoded NRZ signal and outputs a 01 data determination signal. A 01 data decision circuit for outputting, and an AND gate for receiving each output of the 01 data decision circuit and the decoder circuit and outputting a 01 data detect signal, wherein the decoding normal signal is used as a strobe signal, and
A magnetic disk drive, comprising: a selector circuit that inputs an output signal from an AND gate and a decoded NRZ signal and outputs a selected NRR signal to a host device.
JP63322787A 1988-12-21 1988-12-21 Magnetic disk drive Expired - Fee Related JP2805780B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63322787A JP2805780B2 (en) 1988-12-21 1988-12-21 Magnetic disk drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63322787A JP2805780B2 (en) 1988-12-21 1988-12-21 Magnetic disk drive

Publications (2)

Publication Number Publication Date
JPH02168471A JPH02168471A (en) 1990-06-28
JP2805780B2 true JP2805780B2 (en) 1998-09-30

Family

ID=18147629

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63322787A Expired - Fee Related JP2805780B2 (en) 1988-12-21 1988-12-21 Magnetic disk drive

Country Status (1)

Country Link
JP (1) JP2805780B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2792228B2 (en) * 1990-11-28 1998-09-03 日本電気株式会社 Magnetic disk drive

Also Published As

Publication number Publication date
JPH02168471A (en) 1990-06-28

Similar Documents

Publication Publication Date Title
US6937415B2 (en) Method and apparatus for enhanced data channel performance using read sample buffering
IE921713A1 (en) Fault Tolerant RLL Data Sector Address Mark Decoder
US5953513A (en) Recording and reproducing device for recording and reproducing information from different kinds of storage media having different sector formats
EP0832455A1 (en) Method and apparatus to protect data within a disk drive buffer
JPH10107649A (en) Code error correction/detection decoder
US5379160A (en) Magnetic disk drive apparatus including improved decoding circuit
JPH0670868B2 (en) Digital data recorder
JPH07154270A (en) Error correction circuit
US6650606B2 (en) Optical disk device controlling a revolution of a recordable optical disk according to a displacement between a phase of a sector synchronizing signal generated from a data-writing reference clock signal and a phase of a synchronizing signal obtained from address information
JP2805780B2 (en) Magnetic disk drive
JPH07154271A (en) Data correction device
US5208913A (en) Buffer memory for synchronizing data transmission and reception between two devices having mutually different operating speeds and operating methods therefor
JPH1049984A (en) Signal processing circuit, signal processor and disk device
JP2792228B2 (en) Magnetic disk drive
JPH07319776A (en) Information preserving method
JPH06111493A (en) Method for recording and rerproducing magnetic disk
JPS58223860A (en) Magnetic disk controller
JP2001006298A (en) Digital signal processing circuit and disk reproducing device
JP3484943B2 (en) Register device
JPH05274816A (en) Error processor
JP2000123475A (en) Magnetic disk controller
JPH056631A (en) Code-error correcting apparatus
JPH0417168A (en) Floppy disk control system
JPH03189719A (en) Disk control lsi, storage device and information processing system
JPH0380469A (en) Optical disk control device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees