JPS61199276A - Disc control system - Google Patents

Disc control system

Info

Publication number
JPS61199276A
JPS61199276A JP3874485A JP3874485A JPS61199276A JP S61199276 A JPS61199276 A JP S61199276A JP 3874485 A JP3874485 A JP 3874485A JP 3874485 A JP3874485 A JP 3874485A JP S61199276 A JPS61199276 A JP S61199276A
Authority
JP
Japan
Prior art keywords
sector
data
field
address field
address
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
JP3874485A
Other languages
Japanese (ja)
Inventor
Masayuki Nakamura
雅幸 中村
Chihiro Tsuchiya
土屋 千尋
Noboru Kinoshita
登 木下
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 JP3874485A priority Critical patent/JPS61199276A/en
Publication of JPS61199276A publication Critical patent/JPS61199276A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To perform an accurate address collation even for specific data by detecting an address field by index pulse counting if it cannot be detected with the prescribed collation in a disc device of the sector blocking system. CONSTITUTION:A sequencer 13 is started by a microprocessor 18, and an AND gate 14 is opened by a synchronizing pattern detecting circuit 12. Read data from a receiver 10 which passes a serial-parallel conversion shift register 11 is supplied to a CRC check circuit 16, and CRC check of the address field is performed. If the check code coincides in this check but does not coincide in the next check, the processor 18 discriminates the former field as a normal address field. Meanwhile, if data of a data field coincides with the check code of the address field and the address field is not detected throughout one track, the processor 18 collates accurately the address field by the counted value of sector pulses form the sequencer 13 which passes a buffer 17.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明はディスク制御方式に関し、例えば磁気ディスク
の制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a disk control method, for example, to a magnetic disk control method.

(発明の背景〕 磁気ディスク装置において、データを複数個ブロッキン
グしてアドレス付けを行ないデータ利用効率を向上する
方式が知られている(特開昭58−91512号公報)
(Background of the Invention) In a magnetic disk device, a method is known in which data is blocked in multiple pieces and addressed to improve data usage efficiency (Japanese Patent Laid-Open No. 58-91512).
.

従来のディスク装置におけるアドレス照合は、コマンド
による読み書きの起動がかけられると、セクタパルス信
号の検出によりID情報を読み取り、コマンドの起動と
同時もしくは前もって与えられた目的のセクタとのアド
レス比較を行ない、目的セクタ位置を捜し出す。
Address verification in a conventional disk device involves reading ID information by detecting a sector pulse signal when reading or writing is activated by a command, and comparing the address with a target sector given at the same time as the command activation or in advance. Find the target sector location.

第4図に示すように、磁気ディスク装置は、回転する記
録媒体ディスク1に対し、ヘッドアーム2に取付けられ
たヘッド6によって、トラック101をル分周したセク
タ103に対しデータの読み書きが行なわれる。
As shown in FIG. 4, in the magnetic disk device, a head 6 attached to a head arm 2 reads and writes data to a sector 103 obtained by dividing a track 101 into a rotating recording medium disk 1. .

実際に読み書きが行なわれるのはデータフィ−ルド(D
ATA)である。アドレスフィールド(ID)は該セク
タの場所を示す情報であり、G12、・・・、ルはID
フィールドの検証などに必要となるフィールドである。
The data field (D
ATA). The address field (ID) is information indicating the location of the sector, and G12, . . .
This field is required for field verification, etc.

またトラックの起点を示すインデックス102がトラッ
クに1ケ所存在する。
Further, there is one index 102 on the track indicating the starting point of the track.

第4図に示すような、データフィールドを複数エリアま
とめ、1つのIDフィールドによりアドレスを表示する
セクタプロラギング方式を持つ磁気ディスク装置におい
ては、セクタ・パルス信号の検出により読み取った情報
が、ID情報でなく一般データである場合が生じる。こ
のような場合、一般的にはアドレス情報とともにID情
報に含まれているチェックコードの照合が不成立となる
ことにより、次のセクタ・パルス信号を持ち、チェック
コードの照合が成立するまでデータの読み取りを繰り返
す。しかしデータ・フィールドにアドレス・フィールド
としてのチェックコードの照合が成立するようなパター
ンが、偶然含まれていた場合、アドレスのl@認が生じ
てしまう。
In a magnetic disk drive that uses a sector pro-ragging method in which data fields are grouped into multiple areas and addresses are displayed using one ID field, as shown in Figure 4, the information read by detecting a sector pulse signal is used as ID information. There may be cases where it is general data instead of data. In such a case, the verification of the check code included in the ID information along with the address information generally fails, and the data is read until the next sector pulse signal is generated and the check code is verified. repeat. However, if the data field happens to contain a pattern that matches the check code as an address field, an address will be verified.

(発明の目的〕 本発明の目的は、セクタブロッキング方式をとるディス
ク装置に2いて、データフィールドにアドレスフィール
ドとしてのチェックコードが一致するようなデータが格
納されていても、アドレス照合が可能なディスク制御方
式を提供することにある。
(Object of the Invention) An object of the present invention is to provide a disk device that uses a sector blocking method, and is capable of performing address verification even if the data field stores data whose check code matches that of the address field. The objective is to provide a control method.

(発明の概要」 本発明は1トラック分の全セクタについてアドレス照合
を行なっても、条件を満足するアドレスフィールドが検
出できなかった場合にはインデックスパルスからのセク
タパルスを計算し、必ずアドレスフィールド部のデータ
を読み出し、そこのデータをアドレスフィールドとして
目的のセクタ位置を捜し出す。
(Summary of the Invention) The present invention calculates a sector pulse from an index pulse when an address field that satisfies the conditions cannot be detected even after performing address verification for all sectors of one track. The data is read out, and the target sector position is searched for using that data as an address field.

し発明の実施例〕 本発明の一実施例を第1図〜第3図iこより説明する。Examples of the invention] An embodiment of the present invention will be described with reference to FIGS. 1 to 3.

ディスク装置内のデータフォーマットの一例を第3図に
示す。本例は1トラックのデータをSR1,2,・・・
、Nで示すN個のセクタブロックに分割し、各セクタブ
ロックにDATAI、2.・・・、rnで示すm個のデ
ータフィールドをブロッキングし、チェックコードとし
てCRCコードを使用した例でるる。インデックス・パ
ルスはトラックの起点を示し、トラックに1ケ所、セク
タ・パルスは先頭のデータフィールドDATA Iを除
いて、各データフィールド毎にある。セクタブロック1
03は1つのIDによってアドレス表示される。IDは
アドレス情報の始まりを示す8YNCハターン(SYN
C)、−tフタブロックアドレス(SI)A)、ヘッド
アドレス(HA)、シリンダアドレス(CA)および5
YNCからCAまでのCRCチェックコード(IDCR
C)からなる6第1図は本発明の一実施例であるディス
ク制御機構の構成を示し、第2図はその処理フローを示
す。
FIG. 3 shows an example of the data format within the disk device. In this example, one track of data is SR1, 2,...
, N, and each sector block is divided into N sector blocks denoted by DATAI, 2. This is an example in which m data fields indicated by rn are blocked and a CRC code is used as a check code. The index pulse indicates the starting point of the track and is located at one location on the track, and the sector pulse is located at each data field except for the first data field DATA I. sector block 1
03 is displayed as an address using one ID. ID is 8YNC pattern (SYN) indicating the beginning of address information.
C), -t lid block address (SI) A), head address (HA), cylinder address (CA) and 5
CRC check code (IDCR) from YNC to CA
FIG. 1 shows the configuration of a disk control mechanism which is an embodiment of the present invention, and FIG. 2 shows its processing flow.

ディスク装置からのり一ドデータは線20を介してレシ
ーバ10で受け、シフトレジスタ11によりシリアルデ
ータからパラレルデータへの変換を行う。コマンドが起
動されると、マイクロプロセッサ18がシーケンサ13
を起動する。シーケンサ13はその後に到来する最初の
セクタパルスな1iA21を介して受けると(ステップ
101)、5YNCパタ一ン検出回路12を起動する。
Serial data from the disk device is received by a receiver 10 via a line 20, and converted from serial data to parallel data by a shift register 11. When the command is activated, the microprocessor 18 activates the sequencer 13.
Start. When the sequencer 13 receives the first sector pulse 1iA 21 that arrives thereafter (step 101), it activates the 5YNC pattern detection circuit 12.

またアンドゲート15を開いてリードデータをデータバ
ッファ17に格納する。5YNCパタ一ン検出回路12
は5YNCパターンを検出すると、アンドゲート14を
開いてシフトレジスタ11の出力データをCRCチェッ
ク回路16へ入力する。これら一連の処理がステップ1
02でるる。CRCチェック回路16はCRCチェック
の終了と結果をマイクロプロセッサ18に伝達する (
ステップ103)。読取りは起動がかかった後のセクタ
パルスから行うので、第6図からもわかるように、アド
レスフィールドの場合と、データフィールドの場合があ
る。アドレスフィールドからデータ読み取りの起動がか
かっていれば、読み取りデータに異常がなければ、アド
レスフィールドとしてのCRCチェックは一致する。し
かし、データフィールドからマイクロプロセッサのデー
タ読取り起動がかかれば、一般的には、アドレスフィー
ルドとしてのCRCチェックは一致しない。ただしデー
タフィールドの先頭に偶然アドレスフィールドとしての
CRCチェックの一致したデータが格納されていた場合
には、データフィールドの先頭をアドレスフィールドと
誤認してしまう。チェックコードが一致した場合、アド
レスフィールドと想定してアドレス照合を行う(ステッ
プ104)。これはデータバッファ17中のデータをマ
イクロプロセッサ18へ送って行う。アドレスが正常で
あると、次のセクタパルスを検出しくステップ106)
、ディスク上の次のフィールドのデータの読取りを行い
(ステップ107 )、チェックコードが一致するかを
みる(ステップ108)。チェックコードが一致しなけ
れば、2回目に読取った部分はデータフィールドで前の
フィールドがアドレスフィールドであったと判断する。
Also, the AND gate 15 is opened and read data is stored in the data buffer 17. 5YNC pattern detection circuit 12
When detecting a 5YNC pattern, it opens the AND gate 14 and inputs the output data of the shift register 11 to the CRC check circuit 16. These series of processes are step 1
02 de Ruru. The CRC check circuit 16 transmits the completion and result of the CRC check to the microprocessor 18 (
Step 103). Since reading is performed from the sector pulse after activation, as can be seen from FIG. 6, there are cases of address fields and data fields. If data reading is activated from the address field and there is no abnormality in the read data, the CRC check for the address field will match. However, if a microprocessor is activated to read data from the data field, the CRC check as the address field will generally not match. However, if by chance data that matches the CRC check as an address field is stored at the beginning of a data field, the beginning of the data field will be mistakenly recognized as an address field. If the check codes match, address verification is performed assuming that it is an address field (step 104). This is done by sending the data in data buffer 17 to microprocessor 18. If the address is normal, the next sector pulse will be detected (step 106).
, reads the data of the next field on the disk (step 107), and checks whether the check codes match (step 108). If the check codes do not match, it is determined that the part read the second time was a data field and the previous field was an address field.

即ち、前述のような誤認を防ぐため、次のセクタパルス
からデータを読み出し、アドレスフィールドとしてのC
RCコードが不一致でめった場合のみ前のアドレス照合
が正しいと判断して、目的セクタ位置の算出を行なうの
でめる。
In other words, in order to prevent the above-mentioned misidentification, data is read from the next sector pulse and C is used as an address field.
Only when the RC codes do not match, it is determined that the previous address verification is correct and the target sector position is calculated.

この場付、全セクタブロックの中のデータフィールドに
CRCチェックコードの一致するデータが格納されてい
た場合、上記アドレス照合が不可能となる。そこで、ス
テップ103,105および108の図示の条件によっ
てステップ110へ進む。即ち、ステップ105でチェ
ックコードが一致しなかったということはステップ10
2で読まれた部分はアドレスフィールドでなかったとい
うことでステップ110.ステップ101 、102を
1トラック内で一致する部分まで繰り返す。ステップ1
05.ステップ108についても同様である。
In this case, if data with matching CRC check codes is stored in the data fields of all sector blocks, the above address verification becomes impossible. Therefore, according to the illustrated conditions of steps 103, 105, and 108, the process proceeds to step 110. That is, if the check codes do not match in step 105, step 10
Since the part read in step 2 was not an address field, step 110. Steps 101 and 102 are repeated until a matching portion is reached within one track. Step 1
05. The same applies to step 108.

1トラック分行っても前述した条件を満足するアドレス
フィールドが検出されなかった場合、ステップ111お
よび112に進み、インデックスパルスを検出した後の
セクタパルスの数をカウントし、目的とするセクタブロ
ックの先頭を検出し、その部分のデータ読取りを行う(
ステップ113)。そしてステップ114でそのフィー
ルドのチェックコードが一致すれば(ステップ114)
、アドレスフィールドでるるとしてアドレス照合を行い
(ステップ115)、正常でめれば目的とするセクタで
るるとする。ステップ114゜116で満足されない場
合、エラー処理へ移る。
If an address field that satisfies the above-mentioned conditions is not detected even after searching for one track, the process proceeds to steps 111 and 112, where the number of sector pulses after the index pulse is detected is counted, and the beginning of the target sector block is counted. Detect and read the data of that part (
Step 113). And if the check code of that field matches in step 114 (step 114)
, the address field is checked (step 115), and if it is found to be normal, it is determined that the target sector is found. If steps 114 and 116 are not satisfied, the process moves to error processing.

このように、さらに次のセクタパルスからデータを読み
出しアドレスフィールドとしてのCRCコードが不一致
でめった場合のみ前のアドレス照合が正しいと判断して
、目的セクタ位置の算出を行なう。そして、全セクタブ
ロックの中のデータフィールドにCRCチェックコード
の一致するデータが格納されていた場合、上記アドレス
照合が不可能となる。そこで上記アドレス照合処理を1
トラック分行なっても上記条件を満足するアドレスフィ
ールドが検出されなかった場合、インデックスパルス直
後のセクタのセクタパルスからディスク上のデータを読
み出し、そのデータをID情報として、目的のセクタ位
置の算出を行なう。
In this way, data is further read from the next sector pulse, and only when the CRC code as an address field is found to be inconsistent, it is determined that the previous address verification is correct, and the target sector position is calculated. If data with matching CRC check codes is stored in the data fields of all sector blocks, the above address verification becomes impossible. Therefore, the above address matching process is
If an address field that satisfies the above conditions is not detected even after performing the process for several tracks, the data on the disk is read from the sector pulse of the sector immediately after the index pulse, and the target sector position is calculated using that data as ID information. .

〔発明の効果〕〔Effect of the invention〕

本発明により、全てのデータフィールドにアドレスフィ
ールドに対するチェックコードの一致するようなデータ
が偶然存在する場合にも、そのトラックに対して目的セ
クタの算出が可能となるアドレス照合方式を提供できる
According to the present invention, it is possible to provide an address matching method that makes it possible to calculate a target sector for a track even if data whose check codes match the address fields coincidentally exists in all data fields.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例である磁気ディスク制御機構
を示す図、第2図はm個のデータフィールドから成るセ
クタブロッキングを示す図、第3図は本発明の一実施例
を説明する処理フローを示す図、第4図はセクタブロッ
キング方式の磁気ディスク装置を示す図でるる。 101・・・トラック、102・・・インデックス位置
、103・・・セクタブロック、10・・・レシーバ、
11・・・シフトレジスタ、12・・・5YNC検出回
路、13・・・シーケンサ、16・・・CRCチェック
回路、17・・・データバッファ、 18・・・マイクロプロセッサ。
Fig. 1 is a diagram showing a magnetic disk control mechanism which is an embodiment of the present invention, Fig. 2 is a diagram showing sector blocking consisting of m data fields, and Fig. 3 is a diagram illustrating an embodiment of the present invention. FIG. 4, which is a diagram showing a processing flow, is a diagram showing a sector blocking type magnetic disk device. 101... Track, 102... Index position, 103... Sector block, 10... Receiver,
11... Shift register, 12... 5YNC detection circuit, 13... Sequencer, 16... CRC check circuit, 17... Data buffer, 18... Microprocessor.

Claims (1)

【特許請求の範囲】[Claims] セクタ・パルス信号によつて1トラックが等分に分周さ
れている固定データ長セクタ方式で、かつ、あらかじめ
定められた長さのデータ・フィールドを複数エリアまと
め、1つのアドレス・フィールドでセクタ・ブロックア
ドレスを表示するセクタ・ブロッキング方式をとるディ
スク装置において、アドレス・フィールドとして処理し
たフィールドのチェックコードが一致しかつ直後のフィ
ールドのチェックコードが不一致した場合のみ、前のフ
ィールドを正常なアドレスフィールドとすると共に、1
トラック内に正常なアドレスフィールドが検出できなか
った場合に、インデックスパルスからのセクタパルス数
をカウントすることにより、セクタブロックの先頭を検
出することを特徴とするディスク制御方式。
This is a fixed data length sector method in which one track is divided into equal parts by a sector pulse signal, and data fields of a predetermined length are grouped into multiple areas, and one address field is used to divide the sector into multiple areas. In a disk device that uses a sector blocking method that displays block addresses, only when the check code of the field processed as an address field matches and the check code of the immediately following field does not match, the previous field is considered to be a normal address field. At the same time, 1
A disk control method characterized in that, when a normal address field cannot be detected within a track, the beginning of a sector block is detected by counting the number of sector pulses from an index pulse.
JP3874485A 1985-03-01 1985-03-01 Disc control system Pending JPS61199276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3874485A JPS61199276A (en) 1985-03-01 1985-03-01 Disc control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3874485A JPS61199276A (en) 1985-03-01 1985-03-01 Disc control system

Publications (1)

Publication Number Publication Date
JPS61199276A true JPS61199276A (en) 1986-09-03

Family

ID=12533820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3874485A Pending JPS61199276A (en) 1985-03-01 1985-03-01 Disc control system

Country Status (1)

Country Link
JP (1) JPS61199276A (en)

Similar Documents

Publication Publication Date Title
US4424543A (en) Method and apparatus for recording transducer positioning information
US4530019A (en) Servo pattern
US4297737A (en) Sector servo with sync marks
CA1119304A (en) Apparatus and method for record reorientation following error detection in a data storage subsystem
EP0353767A2 (en) Detecting sector servo information in a disk system
WO1996020472A2 (en) System and method for encoding a servo address
US5047877A (en) Windowing method of and apparatus for address mark detection
US5517371A (en) Track sector detection system for rotating disk data storage apparatus
US6950270B2 (en) Adaptive index reference position qualification
US6104558A (en) System and method of encoding an index mark into a servo address
USRE31069E (en) Apparatus and method for record reorientation following error detection in a data storage subsystem
JPS61199276A (en) Disc control system
US6557125B1 (en) System and method for generating a defect map for a data-storage medium without the use of a hard index
US5617536A (en) Method and apparatus for servo control with error detection of gray (pennington) code used for servo track ID
EP0068803B1 (en) A method of and apparatus for, generating a unique index mark from the commutation signal of a d.c. brushless motor
JP2793475B2 (en) Optical disk drive
CN1004591B (en) Information recording and reproducing device
US6661593B2 (en) Servo information detection method and disk apparatus using the same
JPH09198815A (en) Magnetic disk apparatus adopting data face servo system and data face servo method by the magnetic disk apparatus
JPH01171044A (en) Method for positioning block of memory
US5444679A (en) Optical disk driver for reading data from a disk based on ID information
JPH11328843A (en) Data recovery circuit
KR100421337B1 (en) Recording medium which records gray code section having track information read error verifying information and reading device thereof
JPS6061972A (en) Address collating system
JPS5922285B2 (en) information storage device