JP4082308B2 - Data recording / reproducing apparatus, data recording / reproducing method, program, and recording medium - Google Patents

Data recording / reproducing apparatus, data recording / reproducing method, program, and recording medium Download PDF

Info

Publication number
JP4082308B2
JP4082308B2 JP2003294869A JP2003294869A JP4082308B2 JP 4082308 B2 JP4082308 B2 JP 4082308B2 JP 2003294869 A JP2003294869 A JP 2003294869A JP 2003294869 A JP2003294869 A JP 2003294869A JP 4082308 B2 JP4082308 B2 JP 4082308B2
Authority
JP
Japan
Prior art keywords
error correction
track
sector
data
access
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
JP2003294869A
Other languages
Japanese (ja)
Other versions
JP2005063602A5 (en
JP2005063602A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2003294869A priority Critical patent/JP4082308B2/en
Priority to KR1020040064843A priority patent/KR20050020650A/en
Priority to MYPI20043337A priority patent/MY147104A/en
Priority to TW093124878A priority patent/TW200509066A/en
Priority to US10/920,583 priority patent/US7308637B2/en
Priority to CNB2004101023543A priority patent/CN100353448C/en
Publication of JP2005063602A publication Critical patent/JP2005063602A/en
Publication of JP2005063602A5 publication Critical patent/JP2005063602A5/ja
Application granted granted Critical
Publication of JP4082308B2 publication Critical patent/JP4082308B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、ランダムアクセス可能な記録媒体のためのデータ記録再生装置及びデータ記録再生方法、並びにコンピュータプログラム、記録媒体に係り、特に、ハードディスクのようにメディアとしての磁気ディスク上で磁気ヘッドをスキャンさせながらデータの読み書き動作を行うディスク型記録媒体のための技術に関する。さらに詳しくは、本発明は、所望のデータ記憶場所へのアクセス時間の短縮を図りながら、安定したデータ記録再生を行う技術に関する。   The present invention relates to a data recording / reproducing apparatus, a data recording / reproducing method, a computer program, and a recording medium for a randomly accessible recording medium, and more particularly, to scan a magnetic head on a magnetic disk as a medium such as a hard disk. The present invention relates to a technique for a disk-type recording medium that performs data read / write operations. More specifically, the present invention relates to a technique for performing stable data recording / reproduction while shortening the access time to a desired data storage location.

特開2000−276856号公報JP 2000-276856 A 特開2000−278645号公報JP 2000-278645 A

情報処理や情報通信など情報技術の発達とともに、過去において作成・編集した情報についても再利用する必要が生じてきており、このために情報蓄積技術はますます重要となってきている。いままで、磁気テープや磁気ディスクなどさまざまなメディアを利用した情報記録装置が開発され普及している。   With the development of information technology such as information processing and information communication, it has become necessary to reuse information created and edited in the past, and information storage technology has become increasingly important for this purpose. Up to now, information recording devices using various media such as magnetic tapes and magnetic disks have been developed and spread.

このうちHDD(Hard Disk Drive)は、磁気記録方式の補助記憶装置である。HDDのドライブ・ユニット内には記録媒体である数枚の磁気メディアが収容され、モータによって高速に回転する。メディアには、酸化鉄やコバルト・クロムなどの磁性体が、メッキや薄膜生成によって塗布されている。
そして、磁気ヘッドを回転するメディア表面上で半径方向にスキャンさせることによって、メディア上にデータに相当する磁化を生じさせて書込みを行い、あるいはデータを読み出すことができる。
Among these, HDD (Hard Disk Drive) is a magnetic recording type auxiliary storage device. The HDD drive unit contains several magnetic media as recording media and is rotated at high speed by a motor. The medium is coated with a magnetic material such as iron oxide or cobalt / chromium by plating or forming a thin film.
Then, by scanning the magnetic head in the radial direction on the surface of the rotating medium, the magnetization corresponding to the data is generated on the medium, and writing or reading of the data can be performed.

ハードディスクは既に広汎に普及している。例えば、パーソナルコンピュータ用の標準的な外部記憶装置として、コンピュータを起動するために必要なオペレーティングシステム(OS)やアプリケーションなど、さまざまなソフトウェアをインストールしたり、作成・編集したファイルを保存したりするためにハード・ディスクが利用されている。通常、HDDは、IDE(Integrated Drive Electronics)やSCSI(Small Computer System Interface)などの標準的なインターフェースを介してコンピュータ本体に接続され、その記憶空間は、FAT(File Allocation Table)などの、オペレーティングシステムのサブシステムであるファイルシステムによって管理される。   Hard disks are already widespread. For example, as a standard external storage device for a personal computer, for installing various software such as an operating system (OS) and applications necessary for starting the computer, and for saving created / edited files Hard disk is being used. Usually, the HDD is connected to the computer main body via a standard interface such as IDE (Integrated Drive Electronics) or SCSI (Small Computer System Interface), and its storage space is an operating system such as FAT (File Allocation Table). Managed by a file system that is a subsystem of

最近では、HDDの大容量化が進んできている。これに伴って、従来のコンピュータ用補助記憶装置としてだけでなく、放送受信されたAVコンテンツを蓄積するハードディスクレコーダなど、適用分野が拡大し、さまざまなコンテンツを記録するために利用され始めている。   Recently, the capacity of HDDs has been increasing. Along with this, not only as a conventional auxiliary storage device for computers but also as a hard disk recorder for storing broadcast-received AV content, the application field has expanded, and it has begun to be used for recording various content.

ここで、コンピュータ用補助記憶装置として使用される場合を例にとって、ハードディスクの物理フォーマット方法やハードディスクへのデータ読み書きオペレーションについて考察してみる。
ハードディスク上には、データを記録するための区画として、同心円状に多数の「トラック」を形成する。そして、ディスクの最外周から内周に向かって0,1,…とトラック番号が割り振られる。ディスク表面上にトラック数が多いほどメディアの記憶容量は増す。
Here, taking the case of being used as an auxiliary storage device for a computer as an example, the physical formatting method of the hard disk and the data read / write operation to the hard disk will be considered.
A large number of “tracks” are formed concentrically on the hard disk as sections for recording data. Then, track numbers such as 0, 1,... Are assigned from the outermost periphery to the inner periphery. The greater the number of tracks on the disk surface, the greater the storage capacity of the media.

さらに、各トラックは、記録単位である「セクタ」に分割される。ディスクに対する通常のデータ読み書き動作はセクタ単位で行われる。セクタサイズはメディア毎に相違するが、ハードディスクのセクタは一般に512バイトと決まっている。また、メディアの使用効率を考慮して、各トラック上の記録密度をほぼ均一にするために、周長が長くなる外側のトラックに向かうほどセクタ数を多く設けている。これを”Zone Bit Recording”(ゾーンビットレコーディング)方式と呼ぶ。
ゾーンビットレコーディング方式を採用した場合、各トラック上の記録密度をほぼ均一にすることができる一方で、トラック毎のデータ転送速度が不均一となるという問題がある。データ転送速度は、ディスクの内周方向に進むにつれて、低くなっていく。
Further, each track is divided into “sectors” which are recording units. Normal data read / write operations on the disk are performed in units of sectors. Although the sector size differs for each medium, the hard disk sector is generally determined to be 512 bytes. Further, in consideration of the media usage efficiency, in order to make the recording density on each track substantially uniform, the number of sectors is increased toward the outer track having a longer circumference. This is called a “Zone Bit Recording” (zone bit recording) method.
When the zone bit recording method is adopted, the recording density on each track can be made almost uniform, but the data transfer speed for each track becomes non-uniform. The data transfer rate becomes lower as the disk moves in the inner circumferential direction.

また、数枚のメディアが同心円状に重なって構成されているHDDの場合、各メディアの同じ番号のトラックは円筒状に配置されていると捉えることができ、これを「シリンダ」と呼ぶ。各シリンダには、トラック番号と同じ番号が割り振られ、最外周から順にシリンダ0,シリンダ1,・・・となる。各メディア間に挿設された複数のヘッドは常に一体となって作動して、シリンダ間を移動する。   Also, in the case of an HDD configured by concentrically overlapping several media, it can be considered that the same numbered track of each media is arranged in a cylindrical shape, and this is called a “cylinder”. Each cylinder is assigned the same number as the track number, and cylinder 0, cylinder 1,. The plurality of heads inserted between the media always operate as one body and move between the cylinders.

目的となるセクタを指定(アドレス)する方式として、CHSモードを挙げることができる。これは、ディスク上のPBA(Physical Block Address:物理ブロック・アドレス)を、C(Cylinder)、H(Head)、S(Sector)の順に指定することによって、所望のデータにアクセスする方式である。   A CHS mode can be given as a method for designating (addressing) a target sector. This is a method of accessing desired data by designating PBA (Physical Block Address) on the disk in the order of C (Cylinder), H (Head), and S (Sector).

一方、CHS方式においては、HDDに対するホストとして動作するコンピュータ本体側では、指定できるCHSパラメータに限界があり、ハード・ディスクの大容量化に対応できなくなってくる。このため、LBA(Logical Block Address:論理ブロック・アドレス)モードが採用されている。これは、シリンダ番号、ヘッド番号、セクタ番号(CHS)を0から始まるLBAという論理的な通し番号で表現するものである。   On the other hand, in the CHS system, there is a limit to the CHS parameters that can be specified on the computer main body side that operates as a host for the HDD, and it becomes impossible to cope with an increase in capacity of the hard disk. For this reason, an LBA (Logical Block Address) mode is adopted. This expresses a cylinder number, a head number, and a sector number (CHS) by a logical serial number called LBA starting from 0.

従来のHDDでは、メディアにアクセスしてデータを読み書きするためには、先ず、磁気ヘッドが目的とするセクタのあるトラックに到達するために、磁気ヘッドをメディア上で走査させる。これを磁気ヘッドの「シーク」動作と呼ぶ。次に、トラック上で目的のセクタに到達するために、メディアが回転して、目的のセクタが磁気ヘッドの真下に来るまで待つ。これを「回転待ち」と呼ぶ。   In the conventional HDD, in order to access the medium and read / write data, the magnetic head is first scanned on the medium in order to reach the track with the target sector. This is called a “seek” operation of the magnetic head. Next, in order to reach the target sector on the track, the medium rotates and waits until the target sector comes directly under the magnetic head. This is called “waiting for rotation”.

ディスクの大容量化に伴い、トラック密度が増大してトラック幅が極めて狭くなる。したがって、データを正確に書込み及び再生するためには、磁気ヘッドの位置決めは高い精度が要求される。そこで、磁気ヘッドの位置を常にトラックの中心に合わせるというサーボ技術が採用されている。各トラック上に「サーボ・パターン」と呼ばれる信号を一定間隔で書き込んでおき、これを磁気ヘッドで読むことにより、磁気ヘッドがトラックの中心にあるかどうかをチェックすることができる。サーボ・パターンは、HDDの製造工程において、高精度に書き込まれる。サーボ領域には、例えば、ヘッドの位置決めするための信号と、シリンダ番号、ヘッド番号、サーボ番号などが書き込まれている。   As the capacity of the disk increases, the track density increases and the track width becomes extremely narrow. Therefore, in order to write and reproduce data accurately, positioning of the magnetic head requires high accuracy. Therefore, a servo technique is adopted in which the position of the magnetic head is always aligned with the center of the track. It is possible to check whether or not the magnetic head is at the center of the track by writing signals called “servo patterns” on each track at regular intervals and reading them with the magnetic head. The servo pattern is written with high accuracy in the manufacturing process of the HDD. For example, a signal for positioning the head, a cylinder number, a head number, and a servo number are written in the servo area.

従来の多くのHDDは、IDEやSCSIなどコンピュータとの接続を目的としたインターフェースを持っている。そして、コンピュータ本体からのディスクドライブ制御は、インターフェースで定義されているコマンド・セットを用いて、先頭セクタを示すLBAとアクセスを行うセクタ数を指定することを基本動作とする。
この場合、HDD側では、指定された先頭セクタからのアクセスを行うとともに、その後アクセスされるセクタを予測して先読みを行うシーケンスを作成しながらアクセスを行うことができる。
Many conventional HDDs have an interface such as IDE or SCSI for connection to a computer. Then, the disk drive control from the computer main body has a basic operation of designating the LBA indicating the head sector and the number of sectors to be accessed using a command set defined by the interface.
In this case, on the HDD side, access can be made while creating from the designated head sector and creating a sequence for prefetching by predicting the sector to be accessed thereafter.

この先読みという動作は、一連のデータに対して連続するアドレスを持つセクタが割り振られていることを前提としている。通常、連続するアドレスを持つセクタは、連続するヘッド番号あるいはトラック番号に存在する。
大きなデータがメディア上に連続して書き込まれている場合には、読出し時の先読み動作が有効に働く。
This pre-read operation is based on the premise that sectors having continuous addresses are allocated to a series of data. Normally, sectors having consecutive addresses exist in consecutive head numbers or track numbers.
When large data is continuously written on the medium, the prefetching operation at the time of reading works effectively.

しかしながら、記憶領域のフラグメンテーションが進行し、大きなデータが小さく断片化されて複数の場所に分散しているような場合には、読出し時の先読みは別のデータを指してしまうために、有効に働くことができない。このような現象は、データの読み書きを要求するホスト(コンピュータ本体など)側が取り扱うファイル構造を、HDD側が把握していないことから起きるとも言える。   However, when fragmentation of the storage area progresses and large data is fragmented into small pieces and distributed in multiple locations, the read-ahead at the time of reading points to another data, so it works effectively. I can't. It can be said that such a phenomenon occurs because the HDD does not grasp the file structure handled by the host (computer main body or the like) side that requests data read / write.

また、ホスト側からの新たなアクセス要求によってその予測がはずれた場合、ディスクドライブは、その要求されるデータの存在するセクタが含まれるトラックへシークを行い、トラッキングが完了すると目的のセクタのアクセスが可能となるのを待つ。ここにおいて、シーク時間と回転待ち時間が発生する。   In addition, when the prediction is lost due to a new access request from the host side, the disk drive seeks to the track including the sector where the requested data exists, and when the tracking is completed, the target sector is not accessed. Wait for it to be possible. Here, seek time and rotation waiting time occur.

先読みデータの保存は、データバッファの容量が許容する限りである。予測が外れる場合が連続的あるいは散発的に発生すると、データバッファ上の使われていない古いデータから順に破棄されることとなる。また、この先読みを行っている間はシーク起動を行うことができない。   Prefetched data is stored as long as the capacity of the data buffer allows. If the prediction is lost continuously or sporadically, the unused old data in the data buffer is discarded in order. Further, seek activation cannot be performed during this prefetching.

以上のように、シーク時間と回転待ち時間、無効な先読みによるシーク起動の遅れによる時間の損失、並びに無効な先読みによるデータの損失が発生していると言える。
通常のディスクドライブでは、このシーク時間と回転待ち時間を短縮するために、ディスクの回転数を上げることが行われている。これは、コンピュータなどのホスト側で扱われるデータ量やデータ構造に規則性がないため、アクセス方法による改善を行うことが困難であるからである。しかしディスクの回転数を上げる方式では、電力消費や記憶容量の面において不利であり、問題となる。
As described above, it can be said that seek time and rotation waiting time, time loss due to seek start delay due to invalid prefetching, and data loss due to invalid prefetching have occurred.
In a normal disk drive, in order to shorten the seek time and the rotation waiting time, the rotation speed of the disk is increased. This is because there is no regularity in the amount of data and the data structure handled on the host side such as a computer, and thus it is difficult to improve by the access method. However, the method of increasing the number of revolutions of the disk is disadvantageous in terms of power consumption and storage capacity, and causes a problem.

また、HDDなどの従来の外部記憶システムの多くは、1セクタ(1セクタは通常512バイトからなる)単位でエラー訂正が行われる。これにより、各セクタに発生するランダムエラーに対してエラー訂正を行うことができる。そして、訂正可能範囲を越えたランダムエラーや、あるいはバーストエラーに対しては、エラー訂正を行うことができない。そこで、リトライ動作を実施するなどによって、読み取りエラーを一定以下にしていた。
しかしながら、このようなリトライ動作は、1周回転待ちして再読み込みを行う必要がある。このため、さらにデータ読出し時間の遅れを発生させることになる。
例えば、AVコンテンツを扱うシステムにおいて、HD(ハイビジョン画質)の再生やあるいは特殊再生を行うなど、高転送速度が要求される状況があり、セクタ内において訂正不能な読み取りエラーが発生しても時間的にリトライを行うことが出来ない場合がある。このようなとき、現状では、エラー訂正が行われないまま処理を進める他なく、この結果、再生品質は悪くなった。
In many conventional external storage systems such as HDDs, error correction is performed in units of one sector (one sector is usually composed of 512 bytes). As a result, error correction can be performed for random errors occurring in each sector. Error correction cannot be performed for random errors or burst errors that exceed the correctable range. In view of this, the read error has been kept below a certain level by performing a retry operation.
However, such a retry operation needs to be read again after waiting for one rotation. This further causes a delay in data read time.
For example, in a system that handles AV content, there is a situation where high transfer speed is required, such as HD (high definition image quality) playback or special playback, and even if an uncorrectable read error occurs in a sector, time Sometimes it is not possible to retry. In such a case, at present, the process cannot be advanced without error correction, and as a result, the reproduction quality is deteriorated.

なお、例えば上記特許文献2には、記録するデータブロックの重要度を示す情報を持たせ、この情報に基づいて、重要であるデータブロックについてはリトライを実行させ、それ以外はリトライをさせない等の切換を行う技術が開示されている。
また上記特許文献1には、記録するデータブロックの重要度を示す情報を持たせ、この情報に基づいて、重要であるデータブロックについてはエラー訂正能力を増加させ、それ以外は通常の訂正能力とする等の切換を行う技術が開示されている。
これらの技術は、特にAVコンテンツを扱うシステム等において或る程度適切に機能するが、リトライの回避やエラー訂正においてより効果的な技術が求められている。
For example, the above-mentioned Patent Document 2 has information indicating the importance level of the data block to be recorded, and based on this information, retry is performed for the important data block, and no retry is performed otherwise. A technique for switching is disclosed.
Further, the above-mentioned Patent Document 1 has information indicating the importance of the data block to be recorded, and based on this information, the error correction capability is increased for the important data block, and other than the normal correction capability. A technique for performing such switching is disclosed.
These techniques function appropriately to some extent, particularly in systems that handle AV contents, but more effective techniques are required for avoiding retries and correcting errors.

またさらに、これらAVコンテンツの読出し中において振動等の外乱が加えられると、外乱のなかった状態での読出し時よりも、エラーの発生が多くなる。そのために、エラー訂正が不可能となるデータも増え、結局再生品質が悪くなる。
特に外乱の加わった状態でのエラーの発生は、シークした直後において多く発生する傾向がある。これは例えば、外乱が加わることによって、オン・トラックとなるための時間が長くなり、その結果エラーとなることが考えられる。
そのエラーは、ランダムである場合もあるし、バーストである場合もある。そして外乱が大きいほど、ランダムエラーを訂正するセクタ内訂正が不可能となるセクタは増加する。
Furthermore, if a disturbance such as vibration is applied during the reading of these AV contents, the occurrence of errors will be greater than when reading without a disturbance. For this reason, the number of data that cannot be corrected for errors increases, resulting in poor reproduction quality.
In particular, the occurrence of errors in a state where disturbance is applied tends to occur frequently immediately after seeking. For example, when a disturbance is applied, it takes a long time to become on-track, resulting in an error.
The error may be random or a burst. The greater the disturbance, the greater the number of sectors in which intra-sector correction for correcting random errors becomes impossible.

このような、読出し時におけるエラーの発生の増加の他の要因としては、経年変化がある。過去に書込みしたデータを読み出す際に、SPM(スピンドルモータ)やVCM(ボイスコイルモータ)が劣化したことによって、同様な現象を示すことが考えられる。
この外乱によるシーク直後のエラー発生も、当然に、データ品質やアクセス時間、転送速度に悪影響を及ぼすものであり、このようなエラーに対する対策も求められている。
Another factor for the increase in the occurrence of errors during reading is aging. When reading data written in the past, it is conceivable that the SPM (spindle motor) or VCM (voice coil motor) deteriorates to show the same phenomenon.
The occurrence of an error immediately after seeking due to this disturbance naturally has an adverse effect on data quality, access time, and transfer speed, and countermeasures against such errors are also required.

本発明は上述したような課題に鑑みたものであり、データ記録再生装置及びデータ記録再生方法、並びにコンピュータプログラム、記録媒体として、以下の目的を実現する。
即ち、所望のデータ記憶場所へのアクセス時間の短縮を図る。
また、転送速度を低下させることなく安定したデータ再生を行う。
また、より広い範囲でのランダムエラーやバーストエラーに対してもエラー訂正可能とし、リトライ動作やデータ品質の低下をを回避して転送速度の低下を少なくし、安定したデータ再生を行うことができるようにする。
さらに外乱によるシーク直後のエラーによる影響を回避して、転送速度の低下を少なくし、安定したデータ再生を行うことができるようにする。
The present invention has been made in view of the above-described problems, and realizes the following objects as a data recording / reproducing apparatus, a data recording / reproducing method, a computer program, and a recording medium.
That is, the access time to a desired data storage location is shortened.
In addition, stable data reproduction is performed without reducing the transfer rate.
In addition, it is possible to correct errors over a wider range of random errors and burst errors, avoiding retry operations and data quality degradation, reducing transfer speed degradation, and enabling stable data reproduction. Like that.
Further, the influence of an error immediately after seeking due to disturbance is avoided, so that a decrease in transfer speed is reduced and stable data reproduction can be performed.

本発明のデータ記録再生装置は、同心円状のトラックが形成されているとともに、上記各トラックは複数のセクタに分割されるディスク記録媒体に対するデータ記録再生装置である。そして目的とするトラックをシークするシーク手段と、該シークされたトラック上でアクセスを行うデータアクセス手段と、データをエラー訂正するためのエラー訂正符号を生成するとともにエラー訂正符号に基づいてデータをエラー訂正するエラー訂正手段とを備える。上記エラー訂正手段は、所定のデータ量単位に対して第1のエラー訂正符号単位を設定し、また複数個の第1のエラー訂正符号単位に対する第2のエラー訂正符号単位を設定し、複数個の上記第1のエラー訂正符号単位及びこれに対して付加された上記第2のエラー訂正符号単位からなるエラー訂正ブロックを形成するとともに、上記第2のエラー訂正符号によるセクタが、上記シーク手段により上記ディスク記録媒体上の或るトラックに移動した際に上記データアクセス手段による最初の読出しセクタとなるように、上記エラー訂正ブロックを生成する。
上記第2のエラー訂正符号によるセクタが、上記最初の読出しセクタとなるようにするためには、上記エラー訂正手段は、少なくとも上記エラー訂正ブロックにおける先頭に上記第2のエラー訂正符号が配置されるように、上記エラー訂正ブロックを形成する。或いは、少なくとも上記エラー訂正ブロックにおける先頭と終端に上記第2のエラー訂正符号が配置されるように、上記エラー訂正ブロックを形成する。
また、上記エラー訂正手段は、1又は複数のトラック単位でエラー訂正ブロックを完結させるように、上記エラー訂正ブロックを形成する。
また上記エラー訂正手段はリードソロモン符号方式によりエラー訂正符号を生成する。
また上記エラー訂正手段が形成する上記エラー訂正ブロックは、上記第1又は第2のエラー訂正符号単位において、インターリーブ構造を備える。
また上記ディスク記録媒体は、上記サーボ領域が、ディスク記録媒体上で放射状となるように各位置に形成されている。
The data recording / reproducing apparatus of the present invention is a data recording / reproducing apparatus for a disk recording medium in which concentric tracks are formed and each track is divided into a plurality of sectors. Then, seek means for seeking the target track, data access means for accessing on the seeked track, and an error correction code for error correction of the data are generated, and data is errored based on the error correction code. Error correction means for correcting. The error correction means sets a first error correction code unit for a predetermined data amount unit, sets a second error correction code unit for a plurality of first error correction code units, and sets a plurality of error correction code units. Forming an error correction block including the first error correction code unit and the second error correction code unit added thereto, and a sector by the second error correction code is formed by the seek unit. The error correction block is generated so that it becomes the first read sector by the data access means when moving to a certain track on the disk recording medium.
In order for the sector based on the second error correction code to be the first read sector, the error correction means arranges the second error correction code at the head of at least the error correction block. Thus, the error correction block is formed. Alternatively, the error correction block is formed so that the second error correction code is arranged at least at the beginning and end of the error correction block.
The error correction means forms the error correction block so as to complete the error correction block in units of one or a plurality of tracks.
The error correction means generates an error correction code by the Reed-Solomon code method.
Further, the error correction block formed by the error correction means has an interleave structure in the first or second error correction code unit.
Further, the disk recording medium is formed at each position so that the servo areas are radial on the disk recording medium.

また上記データアクセス手段は、上記シーク手段によりシークされたトラック上で、アクセス可能となった先頭のセクタから書込みアクセスを開始して1トラック分のアクセスを行う。
この場合、上記データアクセス手段は、書込みアクセス時には、各セクタに対して、トラック上でアクセスを開始したセクタから順番に相対位置アドレスを割り振り、読出しアクセス時には、トラック上の各セクタから読出したデータを相対位置アドレスに従って再配置して、書き込まれたデータを再現する。
また上記エラー訂正手段は、トラック当たりに2以上のエラー訂正ブロックが存在しないように、且つ、1又は複数のトラック単位でエラー訂正ブロックを完結させるように、上記エラー訂正ブロックを形成する。
Further, the data access means starts the write access from the head sector that can be accessed on the track sought by the seek means, and accesses one track.
In this case, at the time of write access, the data access means allocates relative position addresses in order from the sector that started the access on the track to each sector, and at the time of read access, the data read from each sector on the track is allocated. Relocate according to the relative position address to reproduce the written data.
The error correction means forms the error correction block so that two or more error correction blocks do not exist per track and complete the error correction block in units of one or more tracks.

本発明のデータ記録再生方法は、同心円状のトラックが形成されているとともに、上記各トラックは複数のセクタに分割されるディスク記録媒体に対するデータ記録再生方法として、目的とするトラックをシークするシークステップと、該シークされたトラック上でアクセスを行うデータアクセスステップと、データをエラー訂正するためのエラー訂正符号を生成するとともにエラー訂正符号に基づいてデータをエラー訂正するエラー訂正ステップとを備える。上記エラー訂正ステップでは、所定のデータ量単位に対して第1のエラー訂正符号単位を設定し、また複数個の第1のエラー訂正符号単位に対する第2のエラー訂正符号単位を設定し、複数個の上記第1のエラー訂正符号単位及びこれに対して付加された上記第2のエラー訂正符号単位からなるエラー訂正ブロックを形成するとともに、上記第2のエラー訂正符号によるセクタが、上記シークステップで上記ディスク記録媒体上の或るトラックに移動した際に上記データアクセスステップによる最初の読出しセクタとなるように、上記エラー訂正ブロックを生成する。
また上記エラー訂正ステップでは、少なくとも上記エラー訂正ブロックにおける先頭に上記第2のエラー訂正符号が配置されるように、上記エラー訂正ブロックを形成する。或いは、先頭と終端に上記第2のエラー訂正符号が配置されるようにする。
また上記エラー訂正ステップでは、1又は複数のトラック単位でエラー訂正ブロックを完結させる。
また上記エラー訂正ステップではリードソロモン符号方式によりエラー訂正符号を生成する。
また上記エラー訂正ステップで形成される上記エラー訂正ブロックは、上記第1又は第2のエラー訂正符号単位において、インターリーブ構造を備える。
The data recording / reproducing method of the present invention is a seek step for seeking a target track as a data recording / reproducing method for a disk recording medium in which concentric tracks are formed and each track is divided into a plurality of sectors. And a data access step for accessing the seek track, and an error correction step for generating an error correction code for error correction of the data and for error correction of the data based on the error correction code. In the error correction step, a first error correction code unit is set for a predetermined data amount unit, a second error correction code unit is set for a plurality of first error correction code units, and a plurality of error correction code units are set. Forming an error correction block composed of the first error correction code unit and the second error correction code unit added thereto, and a sector by the second error correction code is formed in the seek step. The error correction block is generated so that it becomes the first read sector in the data access step when moving to a certain track on the disk recording medium.
In the error correction step, the error correction block is formed so that the second error correction code is arranged at least at the head of the error correction block. Alternatively, the second error correction code is arranged at the beginning and end.
In the error correction step, the error correction block is completed in units of one or a plurality of tracks.
In the error correction step, an error correction code is generated by the Reed-Solomon code method.
The error correction block formed in the error correction step has an interleave structure in the first or second error correction code unit.

また上記データアクセスステップでは、上記シークステップによりシークされたトラック上で、アクセス可能となった先頭のセクタから書込みアクセスを開始して1トラック分のアクセスを行う。
この場合、上記データアクセスステップでは、書込みアクセス時には、各セクタに対して、トラック上でアクセスを開始したセクタから順番に相対位置アドレスを割り振り、読出しアクセス時には、トラック上の各セクタから読出したデータを相対位置アドレスに従って再配置して、書き込まれたデータを再現する。
また上記エラー訂正ステップでは、トラック当たりに2以上のエラー訂正ブロックが存在しないように、且つ、1又は複数のトラック単位でエラー訂正ブロックを完結させるように、上記エラー訂正ブロックを形成する。
In the data access step, write access is started from the head sector that has become accessible on the track sought in the seek step, and one track is accessed.
In this case, in the data access step, at the time of write access, the relative position address is assigned to each sector in order from the sector that started the access on the track, and at the time of read access, the data read from each sector on the track is allocated. Relocate according to the relative position address to reproduce the written data.
In the error correction step, the error correction block is formed so that two or more error correction blocks do not exist per track and the error correction block is completed in units of one or more tracks.

本発明のプログラムは、同心円状のトラックが形成されているとともに、上記各トラックは複数のセクタに分割されるディスク記録媒体に対するデータ記録再生処理をコンピュータシステム上で実行するためにコンピュータ可読形式で記述されたプログラムであり、上記データ記録再生方法のステップを実行させるプログラムである。   In the program of the present invention, concentric tracks are formed, and each track is described in a computer-readable format for executing a data recording / reproducing process on a disk recording medium divided into a plurality of sectors on a computer system. This is a program for executing the steps of the data recording / reproducing method.

本発明の記録媒体は、所定のデータ量単位に対して第1のエラー訂正符号単位が設定され、また複数個の第1のエラー訂正符号単位に対する第2のエラー訂正符号単位が設定され、複数個の上記第1のエラー訂正符号単位及びこれに対して付加された上記第2のエラー訂正符号単位からなるエラー訂正ブロックが形成されるとともに、上記エラー訂正ブロックは、上記第2のエラー訂正符号によるセクタが、シーク動作により或るトラックに移動した際に最初の読出しセクタとなるように設定されており、上記エラー訂正ブロックの構成を有するデータが、上記各記録トラックに記録されること特徴とする。   In the recording medium of the present invention, a first error correction code unit is set for a predetermined data amount unit, and second error correction code units for a plurality of first error correction code units are set. An error correction block including the first error correction code unit and the second error correction code unit added thereto is formed, and the error correction block includes the second error correction code. Is set so that it becomes the first read sector when moving to a certain track by a seek operation, and the data having the structure of the error correction block is recorded on each recording track. To do.

以上の本発明により、上述した所期の目的を実現する。
即ち、第1のエラー訂正符号(C1)単位を用いることによりセクタ内でのランダムエラーを訂正することができるとともに、第2のエラー訂正符号(C2)単位を用いることによりセクタ内エラー訂正範囲を越えるエラーや、セクタ間にまたがるバーストエラーを訂正することができる。すなわち、エラー訂正ブロック構成をC1+C2とすることによって、データ転送速度を所望以上に保つためにリトライが行えない状況においても、C1でエラー訂正が不能となった際に、さらにC2でエラー訂正を行うことができるので、より安定したシステムを提供することができる。そしてこのように、より広い範囲でのランダムエラーやバーストエラーに対してもエラー訂正が可能として、リトライ動作を回避することによって、転送速度を低下させることなく、安定したデータ再生を行うことができる。
さらに、エラー訂正ブロック構成において、第2のエラー訂正符号によるセクタ(C2セクタ)が、シーク動作により或るトラックに移動した際に最初の読出しセクタとなるように設定されていることで、シーク直後のアクセスは、C2セクタから開始されるものとなる。即ち、外乱等により最もエラーが頻発するセクタはC2セクタとされることで、データセクタへの外乱の影響を最小限とする。
またC2セクタがエラーとなることは、設定したECC訂正能力を超えてエラーとなった際にも、エラーによるデータ損失を効果的に減少することができる。つまり、エラー訂正不能によりC2セクタを損失しても、データセクタは損なわれていないため、エラー訂正不能となってもデータセクタは正常であることが期待できるためである。
With the above-described present invention, the above-described intended object is realized.
That is, the random error in the sector can be corrected by using the first error correction code (C1) unit, and the intra-sector error correction range can be increased by using the second error correction code (C2) unit. It is possible to correct errors that exceed or burst errors that span sectors. In other words, by setting the error correction block configuration to C1 + C2, even when retrying cannot be performed to maintain the data transfer rate higher than desired, error correction is further performed at C2 when error correction becomes impossible at C1. Therefore, a more stable system can be provided. In this way, it is possible to perform error correction even for random errors and burst errors in a wider range, and by avoiding the retry operation, stable data reproduction can be performed without reducing the transfer speed. .
Further, in the error correction block configuration, the sector (C2 sector) based on the second error correction code is set to be the first read sector when it is moved to a certain track by the seek operation. Is started from the C2 sector. That is, the sector in which errors occur most frequently due to a disturbance or the like is the C2 sector, thereby minimizing the influence of the disturbance on the data sector.
In addition, an error in the C2 sector can effectively reduce data loss due to an error even when an error occurs exceeding the set ECC correction capability. That is, even if the C2 sector is lost due to the error correction being impossible, the data sector is not damaged, and therefore it can be expected that the data sector is normal even if the error correction becomes impossible.

また、上記データアクセス手段は、上記シーク手段によりシークされたトラック上で、アクセス可能となった先頭のセクタから書込みアクセスを開始して1トラック分のアクセスを行う。例えば磁気ヘッドがオン・トラックしたセクタから1トラック分のアクセスを行う。これによって書込み時には、回転待ちをなくすことができる。また読出しアクセス時には、1トラックをアクセス単位とすることで、先読みという不確定な処理を省いて、シーク起動のタイミングを確実に決定することができる。
特にこの場合、上記データアクセス手段が、書込みアクセス時には、各セクタに対して、トラック上でアクセスを開始したセクタから順番に相対位置アドレスを割り振り、読出しアクセス時には、トラック上の各セクタから読出したデータを相対位置アドレスに従って再配置して、書き込まれたデータを再現することで、基本的には、トラックのどのセクタからでもアクセスを行うことができる。
すると、シーク直後の任意のヘッド位置から読み書きを行うことにより、回転待ちを最小化することができる。この結果、シークの回数を最小限に抑え、アクセス時間が短縮化される。そして特にこの場合も、シーク直後の任意のヘッド位置が、C2セクタに相当するようにしていれば、読出しアクセス時に外乱による影響を最小限とすることができる。
またこのようなアクセス方式の場合、書込みや読出しの要求元(例えば、HDDに接続されているコンピュータなどのホスト装置)は、ディスク上のセクタ・アドレスを意識する必要がない。また、データサイズが短くて済む相対位置アドレスを用いることにより、記憶領域の有効利用を図ることができる。
また、読出しアクセス時には、トラック上の各セクタから読出したデータを、例えばバッファメモリ上で相対位置アドレスに従って再配置することによって、アクセスを開始したセクタの位置に拘わらず、元のデータを組み立てることができるが、この場合、トラック当たりに2以上のエラー訂正ブロックが存在しないように、且つ、1又は複数のトラック単位でエラー訂正ブロックを完結させるようにエラー訂正ブロックを形成することが適切である。
Further, the data access means starts a write access from the head sector that has become accessible on the track sought by the seek means, and performs an access for one track. For example, an access for one track is performed from a sector in which the magnetic head is on-track. This eliminates the waiting for rotation during writing. Also, at the time of read access, by setting one track as an access unit, the indefinite process of pre-reading can be omitted and the seek activation timing can be determined reliably.
In particular, in this case, the data access means allocates relative position addresses in order from the sector that started access on the track to each sector at the time of write access, and data read from each sector on the track at the time of read access. Can be accessed from any sector of the track by reproducing the written data by rearranging according to the relative position address.
Then, the waiting for rotation can be minimized by reading and writing from an arbitrary head position immediately after seeking. As a result, the number of seeks is minimized, and the access time is shortened. Particularly in this case as well, if an arbitrary head position immediately after seeking corresponds to the C2 sector, the influence of disturbance during read access can be minimized.
In the case of such an access method, a write / read request source (for example, a host device such as a computer connected to the HDD) does not need to be aware of the sector address on the disk. Further, by using a relative position address that requires a short data size, the storage area can be effectively used.
Also, at the time of read access, the data read from each sector on the track is rearranged according to the relative position address on the buffer memory, for example, so that the original data can be assembled regardless of the position of the sector where the access is started. However, in this case, it is appropriate to form the error correction block so that there are no two or more error correction blocks per track and to complete the error correction block in units of one or more tracks.

本発明によれば、エラー訂正符号による冗長の効率の良くてかつ、安定したデータ再生を行うことができる、優れたデータ記録再生装置及びデータ記録再生方法、並びにプログラム、記録媒体を提供することができる。
即ち、第1のエラー訂正符号単位を用いることによりセクタ内でのランダムエラーを訂正することができるとともに、第2のエラー訂正符号単位を用いることによって、セクタ内エラー訂正範囲を越えるエラーや、セクタ間にまたがるバーストエラーを訂正することができる。これによって、データ転送速度を所望以上に保つためにリトライが行えない状況においても、適切にエラー訂正ができ、より安定したシステムを提供することができる。そしてこのように、より広い範囲でのランダムエラーやバーストエラーに対してもエラー訂正が可能として、リトライ動作を回避することによって、転送速度を低下させることなく、安定したデータ再生を行うことができる。
さらに、エラー訂正ブロック構成において、第2のエラー訂正符号によるセクタ(C2セクタ)が、シーク動作により或るトラックに移動した際に最初の読出しセクタとなるように設定されていることで、シーク直後のアクセスは、C2セクタから開始されるものとなる。即ち、外乱等により最もエラーが頻発するセクタはC2セクタとされることで、データセクタへの外乱の影響を最小限とし、安定したデータ再生が可能となる。
According to the present invention, it is possible to provide an excellent data recording / reproducing apparatus, data recording / reproducing method, program, and recording medium capable of performing efficient and stable data reproduction with redundancy by error correction codes. it can.
That is, the random error in the sector can be corrected by using the first error correction code unit, and the error exceeding the intra-sector error correction range can be corrected by using the second error correction code unit. It is possible to correct burst errors that span in between. As a result, even in a situation where a retry cannot be performed in order to keep the data transfer rate higher than desired, an error can be corrected appropriately and a more stable system can be provided. In this way, it is possible to perform error correction even for random errors and burst errors in a wider range, and by avoiding the retry operation, stable data reproduction can be performed without reducing the transfer speed. .
Further, in the error correction block configuration, the sector (C2 sector) based on the second error correction code is set to be the first read sector when it is moved to a certain track by the seek operation. Is started from the C2 sector. That is, the sector in which errors occur most frequently due to disturbance or the like is the C2 sector, so that the influence of the disturbance on the data sector can be minimized and stable data reproduction can be performed.

さらに本発明によれば、シークされたトラック上でアクセス可能となった先頭のセクタからアクセスを開始して1トラック分の書込みアクセスを行うことによって、1トラックをアクセス単位とすることができ、回転待ちを発生することのないデータ書込みアクセス制御を実現することができる。すなわち、データアクセス時間を短縮することができる。
またそのようなアクセス方式においても、シーク直後のヘッド位置が、C2セクタに相当するようにしていれば、外乱による影響を最小限とすることができる。即ち読出しアクセス時に安定した読出しが可能となる。
Furthermore, according to the present invention, one track can be set as an access unit by starting the access from the first sector which becomes accessible on the seek track and performing the write access for one track. Data write access control that does not cause a wait can be realized. That is, the data access time can be shortened.
Also in such an access method, if the head position immediately after seeking corresponds to the C2 sector, the influence of disturbance can be minimized. That is, stable reading can be performed at the time of reading access.

以下、図面を参照しながら本発明の実施の形態について次の順序で説明する。
1.ハードディスク装置の構成
2.サーボエリア
3.アクセス動作
4.ECC構成
5.シーク直後のセクタをC2セクタとするECCブロック設定
6.適用例
Hereinafter, embodiments of the present invention will be described in the following order with reference to the drawings.
1. 1. Configuration of hard disk device 2. Servo area 3. Access operation ECC configuration5. 5. ECC block setting in which the sector immediately after seek is the C2 sector Application examples

1.ハードディスク装置の構成

図1には、本発明の一実施形態に係るHDD(ハードディスク装置)10の全体構成を模式的に示している。
同図に示すように、HDD10は、CPU(Central Processing Unit)11と、ROM(Read Only Memory)/RAM(Random Access Memory)12と、ディスクコントローラ13と、バッファRAM14と、データ読み書き制御部15と、サーボ制御部16、そして磁気ディスク21とを備えている。
1. Hard disk unit configuration

FIG. 1 schematically shows an overall configuration of an HDD (Hard Disk Device) 10 according to an embodiment of the present invention.
As shown in the figure, the HDD 10 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) / RAM (Random Access Memory) 12, a disk controller 13, a buffer RAM 14, a data read / write control unit 15, and the like. , A servo controller 16 and a magnetic disk 21.

磁気ディスク21は、1枚あるいは複数枚で構成され、さらに記録面は片面あるいは両面(ディスクの表裏)となっている。また記録面上にはヘッドが配置される。図1においては2枚の磁気ディスク21a、21bが配され、また対応して2つの記録再生ヘッド(磁気ヘッド)22a、22bが設けられている状態を示している、。
即ちドライブユニット内には、数枚の磁気ディスク(プラッタ)が同心円状に重なって構成することができ、そのとき各磁気ディスクの同じトラック番号は円筒状に配置され(シリンダ)、トラック番号と同じシリンダ番号で指定される。
なお、図1に示すように、1つの磁気ディスク21に対して1つの記録再生ヘッド22が配されるのは、磁気ディスク21は片面が記録面とされる場合である。
両面が記録面とされる場合、1つの磁気ディスク21に対して2つの記録再生ヘッド22が配される。
The magnetic disk 21 is composed of one or a plurality of sheets, and the recording surface is single-sided or double-sided (front and back of the disk). A head is disposed on the recording surface. FIG. 1 shows a state in which two magnetic disks 21a and 21b are arranged and two recording / reproducing heads (magnetic heads) 22a and 22b are provided correspondingly.
In other words, several magnetic disks (platters) can be concentrically overlapped in the drive unit. At that time, the same track number of each magnetic disk is arranged in a cylindrical shape (cylinder), and the same cylinder as the track number. It is specified by number.
As shown in FIG. 1, one recording / reproducing head 22 is arranged for one magnetic disk 21 when one side of the magnetic disk 21 is a recording surface.
When both surfaces are recording surfaces, two recording / reproducing heads 22 are arranged for one magnetic disk 21.

図1において、CPU11は、ROM/RAM12に格納されている制御コードを実行して、HDD10内の動作を統括的にコントロールする。
ディスクコントローラ13は、インターフェース17を介して接続されるホスト(図示しない)からコマンドを受け取る。CPU11はこのコマンド処理を行い、ディスクコントローラ13はコマンド処理結果に従って、データ読み書き制御部15やサーボ制御部16に対するハードウェア操作を指示する。
インターフェース17経由でホストから受け取った書込みデータや、磁気ディスク21から読み取ってホストに渡されるデータは、バッファRAM14に一時的に格納される。
In FIG. 1, the CPU 11 executes control codes stored in the ROM / RAM 12 to comprehensively control the operation in the HDD 10.
The disk controller 13 receives a command from a host (not shown) connected via the interface 17. The CPU 11 performs this command processing, and the disk controller 13 instructs a hardware operation to the data read / write control unit 15 and the servo control unit 16 according to the command processing result.
Write data received from the host via the interface 17 and data read from the magnetic disk 21 and passed to the host are temporarily stored in the buffer RAM 14.

データ読み書き制御部15は、符号化変調処理を行って実際に記録するデータパターンを作成し、プリアンプ25を介して磁気ディスク21にデータを書き込む。また、逆に読み込んだデータをプリアンプ25を介して磁気ディスク21から取り込み、データの復調処理を行う。   The data read / write control unit 15 performs a code modulation process to create a data pattern to be actually recorded, and writes data to the magnetic disk 21 via the preamplifier 25. Conversely, the read data is taken in from the magnetic disk 21 via the preamplifier 25 and the data is demodulated.

サーボ制御部16は、磁気ヘッド22を搭載したアームを移動するボイスコイルモータ(VCM)23、及び磁気ディスク21を回転させるスピンドルモータ(SPM)24を同期的駆動させて、磁気ヘッド22が磁気ディスク21上の目的とするトラック上の所定範囲内に到達するように制御する。さらに、ディスク上のサーボパターンよりヘッド位置を所定の位置にシークさせるための制御を行う。   The servo control unit 16 synchronously drives a voice coil motor (VCM) 23 that moves an arm on which the magnetic head 22 is mounted and a spindle motor (SPM) 24 that rotates the magnetic disk 21, so that the magnetic head 22 becomes a magnetic disk. 21 is controlled to reach a predetermined range on the target track. Furthermore, control is performed to seek the head position to a predetermined position from the servo pattern on the disk.

磁気ディスク21上には、データを記録するための区画である多数のトラックが同心円状に形成され、例えばディスク21の最外周から、内周に向かって0,1,2,…とトラック番号が割り振られている。また、各トラックは、さらにセクタ毎に分割されており、このセクタ単位が、データ読み書き動作の可能な最小単位となっている。
セクタ内のデータ量は例えば512バイトで固定である。
実際に記録されているセクタには、データに加えて、ヘッダ情報やエラー訂正用コードなどが付加されている。
A large number of tracks, which are sections for recording data, are formed concentrically on the magnetic disk 21. For example, the track numbers are 0, 1, 2,... From the outermost periphery of the disk 21 toward the inner periphery. Allocated. Each track is further divided into sectors, and this sector unit is the minimum unit in which data read / write operations can be performed.
The amount of data in the sector is fixed at 512 bytes, for example.
In addition to data, header information, error correction code, and the like are added to the actually recorded sector.

1周当たりのセクタ数については、周長が長くなる外側のトラックに向かうほどセクタ数を多く設けるZBR(Zone Bit Recording)方式を採用する。すなわち、磁気ディスク21の全周に渡るトラック毎のセクタ数は均一ではなく、磁気ディスク21を半径方向に複数のゾーンに区切り、各ゾーン内においては同じセクタ数となるように設定する。   As for the number of sectors per circuit, a ZBR (Zone Bit Recording) system is adopted in which the number of sectors increases as it goes to the outer track where the peripheral length becomes longer. That is, the number of sectors per track over the entire circumference of the magnetic disk 21 is not uniform, and the magnetic disk 21 is divided into a plurality of zones in the radial direction, and is set to have the same number of sectors in each zone.

図3には、ZBR方式の一例を示している。
同図に示す例では、ディスクを3つのゾーンに区切っており、最外周から順にゾーン0,1,2とゾーン番号が与えられている。さらに、各ゾーン内には複数本のトラックが含まれている。
また図3において、各ゾーンをセクタで区切っているが、この場合(あくまで模式的な例として)、ゾーン0は64セクタで構成され、ゾーン1は32セクタ、ゾーン2は16セクタでそれぞれ構成されている。ゾーンの切り替えに当たり、具体的なセクタ数については、スピンドルモータ24の回転数は一定とし、記録再生クロックを可変にするなどによって、線記録密度を所定の範囲におさめ、ディスク当たりの記憶容量を増加させるように決定される。
FIG. 3 shows an example of the ZBR method.
In the example shown in the figure, the disk is divided into three zones, and zones 0, 1, 2 and zone numbers are given in order from the outermost periphery. Further, each zone includes a plurality of tracks.
In FIG. 3, each zone is divided by sectors. In this case (as a schematic example only), zone 0 is composed of 64 sectors, zone 1 is composed of 32 sectors, and zone 2 is composed of 16 sectors. ing. When switching zones, the number of sectors, the spindle motor 24 rotation speed is kept constant, the recording / reproducing clock is made variable, etc., the linear recording density is kept within a predetermined range, and the storage capacity per disk is increased. To be determined.

図2は、図1のディスクコントローラ13の内部構成をより詳細に示している。同図に示すように、ディスクコントローラ13は、CPUインターフェース31と、ホストコントローラ32と、バッファコントローラ33と、サーボコントローラ34と、ディスクフォーマッタ35と、ECCコントローラ36とで構成されている。なお、同図において、データの移動が発生する矢印に対しては二重線で示してある。   FIG. 2 shows the internal configuration of the disk controller 13 of FIG. 1 in more detail. As shown in the figure, the disk controller 13 includes a CPU interface 31, a host controller 32, a buffer controller 33, a servo controller 34, a disk formatter 35, and an ECC controller 36. In the figure, an arrow that causes data movement is indicated by a double line.

CPUインターフェース31は、CPU11と、RAM/ROM12とのインターフェースであり、ホストからのコマンドを通知したり、CPU11からのコマンド処理結果の受信などを行ったりする。
ホストコントローラ32は、インターフェース17を介して接続されるホストとの通信を行う。
バッファコントローラ33は、バッファRAM14と、ディスクコントローラ13内の各部間でのデータのやりとりを制御する。
サーボコントローラ34は、VCM(ボイスコイルモータ)23及びSPM(スピンドルモータ)24の動作を制御することによって、磁気ディスク21上のサーボパターンからサーボ情報を読み取り、この情報をサーボ制御部15へ渡す。
ディスクフォーマッタ35は、バッファRAM14上のデータを磁気ディスク21に書き込んだり、あるいは磁気ディスク21からデータを読出したりするための制御を行う。
ECCコントローラ36は、バッファRAM14に格納されているデータより、書込み時にはECC符号を生成して付加したり、あるいは読出し時にはエラー訂正を行ったりする。
このような図3に示すディスクコントローラ13は、CPU11より、フォーマッタ制御情報およびECC制御情報を受け取る。
The CPU interface 31 is an interface between the CPU 11 and the RAM / ROM 12, and notifies a command from the host or receives a command processing result from the CPU 11.
The host controller 32 communicates with a host connected via the interface 17.
The buffer controller 33 controls the exchange of data between the buffer RAM 14 and each unit in the disk controller 13.
The servo controller 34 reads the servo information from the servo pattern on the magnetic disk 21 by controlling the operations of the VCM (voice coil motor) 23 and the SPM (spindle motor) 24, and passes this information to the servo controller 15.
The disk formatter 35 performs control for writing data on the buffer RAM 14 to the magnetic disk 21 or reading data from the magnetic disk 21.
The ECC controller 36 generates and adds an ECC code from the data stored in the buffer RAM 14 at the time of writing, or performs error correction at the time of reading.
Such a disk controller 13 shown in FIG. 3 receives formatter control information and ECC control information from the CPU 11.

ところで、本例のアクセス方式としては、いわゆるLBA(Logical Block Address)に基づいてアクセスを行うものであってもよいし、後述するが、トラック単位で相対アドレスを用いたアクセスを行うものでも良い。   By the way, as an access method of this example, an access may be performed based on a so-called LBA (Logical Block Address), or, as will be described later, an access using a relative address in units of tracks may be performed.

LBAによるアクセスを行う場合においては、上記フォーマッタ制御情報は、シークされたトラック上でアクセス可能となった後、LBAで指定されたセクタのアクセスを行うためのフォーマット情報である。この情報は、CPUインターフェース31を介してディスクフォーマッタ35へ送られ、ここでデータフォーマッタが生成される。
また、ECC制御情報は、第1のエラー訂正符号C1および、第2のエラー訂正符号C2を持つECCブロック構成の設定を行うための情報であり、また例えばゾーン毎に、セクタ数などに応じてECCブロック構成を可変する場合に、その構成を指示する情報となる。この情報は、CPUインターフェース31を介してECCコントローラ36へ送られ、ここでECCブロック構成が設定され、バッファRAM14をアクセスして所定のECC処理が行われる。
In the case of accessing by LBA, the formatter control information is format information for accessing the sector specified by LBA after being accessible on the sought track. This information is sent to the disk formatter 35 via the CPU interface 31, where a data formatter is generated.
The ECC control information is information for setting the ECC block configuration having the first error correction code C1 and the second error correction code C2, and for example, according to the number of sectors for each zone. When the ECC block configuration is changed, this is information for instructing the configuration. This information is sent to the ECC controller 36 via the CPU interface 31, where the ECC block configuration is set, and the buffer RAM 14 is accessed to perform predetermined ECC processing.

トラック単位で相対アドレスを用いたアクセスを行う場合においては、上記フォーマッタ制御情報は、シークされたトラック上でアクセス可能となった後の、先頭のセクタからアクセスを開始して、1トラック分のアクセスを行うための、フォーマット情報であり、この情報は、CPUインターフェース31を介してディスクフォーマッタ35へ送られ、ここでデータフォーマッタが生成される。
また、ECC制御情報は、トラック単位で完結するECCブロック構成の設定を行うための情報であり、また例えばゾーン毎に、セクタ数などに応じてECCブロック構成を可変する場合に、その構成を指示する情報となる。この情報は、CPUインターフェース31を介してECCコントローラ36へ送られ、ここでECCブロック構成が設定され、バッファRAM14をアクセスして所定のECC処理が行われる。
When accessing using a relative address in units of tracks, the formatter control information starts accessing from the first sector after it becomes accessible on the seek track, and accesses for one track. The format information is sent to the disk formatter 35 via the CPU interface 31, where a data formatter is generated.
The ECC control information is information for setting an ECC block configuration that is completed in units of tracks. For example, when the ECC block configuration is varied according to the number of sectors for each zone, the configuration is indicated. It becomes information to do. This information is sent to the ECC controller 36 via the CPU interface 31, where the ECC block configuration is set, and the buffer RAM 14 is accessed to perform predetermined ECC processing.

なお、これら制御情報(フォーマッタ制御情報、ECC切替制御情報)は、図1のCPU11に付随するROM/RAM内にある場合のほか、例えば、磁気ディスク21にこれらの情報を記憶させておき、起動時に、磁気ディスク21より読出しを行い、バッファRAM14に格納するようにしてもよく、この場合バッファRAM14から制御情報を各部に送るようにすればよい。   The control information (formatter control information, ECC switching control information) is stored in the ROM / RAM attached to the CPU 11 in FIG. Sometimes, data may be read from the magnetic disk 21 and stored in the buffer RAM 14. In this case, control information may be sent from the buffer RAM 14 to each unit.

本実施の形態に係るHDD10は、上述したような構成とされ、この構成において、以下説明するように、回転待ちを発生することのないデータアクセス制御を行い、アクセス時間の短縮やデータ転送速度の早いシステムを実現する。また、広い範囲でのランダムエラーやバーストエラーに対してもエラー訂正可能とすることでリトライ動作を回避して転送速度の低下を少なくし、安定したデータ再生を行う。さらに、アクセスするトラックにおいて、シーク直後のセクタが第2のエラー訂正コード(C2)のセクタとなるようにすることで、外乱等による悪影響を低減するものである。
The HDD 10 according to the present embodiment is configured as described above. In this configuration, as described below, data access control that does not cause rotation waiting is performed, and access time is shortened and data transfer speed is reduced. Realize a fast system. In addition, by making it possible to correct errors over a wide range of random errors and burst errors, a retry operation can be avoided, a decrease in transfer speed can be reduced, and stable data reproduction can be performed. Furthermore, in the track to be accessed, the sector immediately after seeking becomes the sector of the second error correction code (C2), thereby reducing adverse effects due to disturbances and the like.

2.サーボエリア

図4には磁気ディスク21におけるサーボエリアの配置の一例を示している。
図4において半径方向の実線は、サーボエリアSRVを示している(図3に示したようなセクタの区切りではない)。
図4に示す例では、磁気ディスク21において、半径方向に32本の実線で示すように、放射状にサーボエリアが配置されている。即ちサーボエリアSRVは、同心円となるゾーン0,1,2に関係なく形成されている。つまりどのゾーンにおいても、1トラックにつき32個のサーボエリアSRVが形成されている。なお、サーボエリアSRVが1トラックに付き32個というのは説明上の一例にすぎない。
2. Servo area

FIG. 4 shows an example of the arrangement of servo areas on the magnetic disk 21.
In FIG. 4, the solid line in the radial direction indicates the servo area SRV (not the sector separation as shown in FIG. 3).
In the example shown in FIG. 4, servo areas are radially arranged on the magnetic disk 21 as indicated by 32 solid lines in the radial direction. That is, the servo area SRV is formed regardless of the zones 0, 1, and 2 that are concentric circles. That is, in any zone, 32 servo areas SRV are formed per track. Note that the 32 servo areas SRV per track is merely an example for explanation.

1セクタが512バイトで与えられている場合、セクタ当たりの大きさ(セクタサイズ)は、トラック上の2つのサーボエリアの間の容量と比較して小さいので、トラック上の或るサーボエリアと、次のサーボエリアの間には複数のセクタが配置されることになる。
これらセクタの配置は、主にZBRのゾーン毎に定められている。すなわち、ゾーンが切り替わると、サーボエリアとサーボエリアの間に配置されているセクタ数についても異なっている。
そして、上記ゾーンの切り替えに当たり、具体的なセクタ数については、スピンドルモータ24の回転数は一定とし、記録再生クロックを可変にするなどによって、線記録密度を所定の範囲におさめ、ディスク当たりの記憶容量を増加させるように決定される。
When one sector is given by 512 bytes, the size per sector (sector size) is small compared to the capacity between the two servo areas on the track, so that a certain servo area on the track, A plurality of sectors are arranged between the next servo areas.
The arrangement of these sectors is mainly determined for each ZBR zone. That is, when the zone is switched, the number of sectors arranged between the servo areas also differs.
When switching the zones, for the specific number of sectors, the rotational speed of the spindle motor 24 is kept constant, the recording / reproducing clock is made variable, and the linear recording density is kept within a predetermined range, so that the memory per disk is stored. Determined to increase capacity.

図4の例では、1トラックあたりのサーボエリア数を32としたが、例えばサーボエリア数を96とすれば、同様にして、ディスクに対して放射状に配置され、さらに、所定のサーボエリアと、次のサーボエリアの間には、複数のセクタが配置される。
尚、サーボ帯域については、1トラックあたりのサーボエリア数及びディスクの回転数、サーボ周波数等によって決定され、システムの要求に合わせて設定されている。
In the example of FIG. 4, the number of servo areas per track is 32. For example, if the number of servo areas is 96, the servo areas are arranged radially with respect to the disk. A plurality of sectors are arranged between the next servo areas.
The servo bandwidth is determined by the number of servo areas per track, the number of rotations of the disk, the servo frequency, etc., and is set according to the system requirements.

サーボエリアSRVでは、例えばトラックの位置決め制御を行っている。即ち磁気ヘッド22によるトラックのトレースが、サーボエリアSRVを通過する時に、オン・トラックとなったか、あるいはトラックが外れたかの情報が得られる。
ここで、データ読み取り時において振動等の外乱が加わったことによって、トラック位置がずれたとする。トラックが大きく移動した場合は、全体のサーボ制御は最初から行われることになる。つまりデータ読取が中断され、再度必要なトラックにアクセスしてデータ読取が行われる。
In the servo area SRV, for example, track positioning control is performed. That is, when the track trace by the magnetic head 22 passes through the servo area SRV, information on whether the track is turned on or off is obtained.
Here, it is assumed that the track position is shifted due to the addition of a disturbance such as vibration during data reading. When the track moves largely, the entire servo control is performed from the beginning. That is, the data reading is interrupted, and a necessary track is accessed again to read the data.

3.アクセス動作

上記のように、アクセス方式としてはLBAに基づくアクセス方式と、トラック単位で相対アドレスを用いたアクセス方式が考えられる。LBAに基づくアクセス方式とは通常、多くのHDDで採用されているアクセス方式であるため、詳述は避けるが、ここでトラック単位で相対アドレスを用いたアクセス方式について説明しておく。
3. Access behavior

As described above, as an access method, an access method based on LBA and an access method using relative addresses in units of tracks are conceivable. Since the access method based on the LBA is an access method that is usually adopted in many HDDs, an access method using relative addresses in units of tracks will be described here, although detailed description is avoided.

このアクセス方式の場合、HDD(ハードディスク装置)10においては、磁気ヘッド22がオン・トラックしたセクタから1トラック分のアクセスを行う。同一トラック上のセクタ番号は固定されておらず、相対位置によって与えることができる。
これにより、1トラック上のどのセクタからでもアクセスを開始することができる。すなわち、1トラックをアクセス単位とすることによって、先読みという不確定要素からなる処理を行う必要をなくして、シーク起動のタイミングを確実に決定することができる。また、1トラックのどのセクタからでもアクセスを行うことによって、回転待ちを行わなくて済む。これによって、シークの回数を最小限に抑え、アクセス時間を短縮させることができる。
In the case of this access method, the HDD (hard disk device) 10 accesses one track from the sector on which the magnetic head 22 is on-track. Sector numbers on the same track are not fixed and can be given by relative positions.
As a result, access can be started from any sector on one track. That is, by using one track as an access unit, it is possible to reliably determine the timing of seek activation without the need to perform processing consisting of an uncertain element such as prefetching. In addition, it is not necessary to wait for rotation by accessing from any sector of one track. As a result, the number of seeks can be minimized and the access time can be shortened.

所定のトラックに書込みを行う際には、アクセスを開始したセクタから始まる相対位置をセクタに与える。
また、読出しを行う際には、アクセスを開始したセクタから読出しを行い、相対位置セクタ番号に基づいて、バッファRAM14上に展開する。このため、どのセクタから読出しを始めても良い。
When writing to a predetermined track, a relative position starting from the sector where access is started is given to the sector.
Further, when reading is performed, reading is performed from the sector where access is started, and the data is developed on the buffer RAM 14 based on the relative position sector number. Therefore, reading may be started from any sector.

このような動作を可能とするために磁気ディスク21のトラックで利用されるセクタフォーマットの例を図5に模式的に示す。
図5(a)に示すように、セクタは、トラック上でのセクタの相対位置を表す相対位置データと、データ本体と、セクタ領域全体に対してエラー訂正を行うためのECCとで構成され、これら全体をエラー訂正範囲及び記録範囲とする。
相対位置データをヘッダとしてエラー訂正範囲に含めることにより、例えばセクタ内でランダムエラーが発生した場合であってもエラー訂正により相対位置データを回復することができるので、円滑なディスクアクセス動作を実現することができる。
また、一般に、セクタはセクタの番地を記録するためのIDフィールドを持つが、絶対位置ではなく相対位置を記録するので、IDフィールドのサイズを縮小することができる。その分だけセクタ中でデータ本体に使用可能なフィールドサイズが大きくなり記憶領域の有効活用になる。
An example of the sector format used in the track of the magnetic disk 21 to enable such an operation is schematically shown in FIG.
As shown in FIG. 5A, the sector is composed of relative position data representing the relative position of the sector on the track, a data body, and an ECC for performing error correction on the entire sector area. These are the error correction range and recording range.
By including the relative position data as a header in the error correction range, for example, even if a random error occurs in a sector, the relative position data can be recovered by error correction, thereby realizing a smooth disk access operation. be able to.
In general, a sector has an ID field for recording the address of the sector. However, since a relative position is recorded instead of an absolute position, the size of the ID field can be reduced. Accordingly, the field size that can be used for the data body in the sector increases, and the storage area is effectively used.

トラックに書込みを行うとき、アクセスを開始したセクタから始まる相対位置をセクタに与え、相対位置と本来の記録データによるECCデータを生成して、それぞれを当該セクタの相対位置フィールド、データ・フィールド、及びECCフィールドに記録する。アクセスを開始したセクタから書込みを開始するので、回転待ちする必要がない。   When writing to a track, the sector is given a relative position starting from the sector from which access was started, ECC data is generated based on the relative position and the original recording data, and the relative position field, data field, and Record in the ECC field. Since writing is started from the sector where access is started, there is no need to wait for rotation.

また、読出しを行うときには、トラック上でアクセスを開始したセクタから読出しを行い、相対位置フィールドによって得られたセクタ位置に基づいて、バッファRAM14上での格納位置を決定する。したがって、任意のセクタからデータの読出しを開始しても、バッファRAM14上では相対位置に基づいてデータを再配置することによって、トラック上に格納されているデータが元の順番通りに復元される。また、アクセスを開始したセクタから読出しを開始するので、回転待ちする必要がない。   Further, when reading is performed, reading is performed from the sector where access is started on the track, and the storage position on the buffer RAM 14 is determined based on the sector position obtained by the relative position field. Therefore, even if data reading is started from an arbitrary sector, the data stored on the track is restored in the original order by rearranging the data on the buffer RAM 14 based on the relative position. Also, since reading is started from the sector where access is started, there is no need to wait for rotation.

また、図5(b)には、本実施の形態に係るHDD10において、磁気ディスク21のトラックで利用されるセクタフォーマットの他の例を模式的に示している。
この場合も、上述と同様に、セクタは、トラック上でのセクタの相対位置を表す相対位置データと、データ本体と、セクタ領域全体に対してエラー訂正を行うためのECCとで構成される。但し、これら全体をエラー訂正範囲とするが、図5(a)に示した例と相違し、相対位置フィールドを記録範囲に含まない。したがって、相対位置フィールドがなくなる分だけ、さらに上述した例よりもセクタ中でデータ本体に使用可能なフィールドサイズが大きくなり記憶領域の有効活用になる。
FIG. 5B schematically shows another example of the sector format used in the track of the magnetic disk 21 in the HDD 10 according to the present embodiment.
Also in this case, as described above, the sector is composed of relative position data representing the relative position of the sector on the track, a data body, and ECC for performing error correction on the entire sector area. However, the entire error correction range is used, but unlike the example shown in FIG. 5A, the relative position field is not included in the recording range. Therefore, as the relative position field disappears, the field size usable for the data body in the sector becomes larger than in the above-described example, and the storage area is effectively used.

この場合、トラックに書込みを行うときは、アクセスを開始したセクタから始まる相対位置をセクタに与え、相対位置と本来の記録データによるECCデータを生成して、記録データ及びECCデータのみを当該セクタ上に記録する。アクセスを開始したセクタから書込みを開始するので、回転待ちする必要がない。
また、読出しを行うときには、アクセスを開始したセクタから読出しを行い、ECCを用いてエラー訂正を行うことによって、セクタには書き込まれなかった相対位置を再生成する。そして、この相対位置に基づいて、バッファRAM14上での格納位置を決定する。したがって、任意のセクタからデータの読出しを開始しても、バッファRAM14上ではトラック上に格納されているデータが元の順番通りに復元される。また、アクセスを開始したセクタから読出しを開始するので、回転待ちする必要がない。
In this case, when writing to the track, a relative position starting from the sector where access was started is given to the sector, ECC data is generated based on the relative position and the original recording data, and only the recording data and ECC data are recorded on the sector. To record. Since writing is started from the sector where access is started, there is no need to wait for rotation.
Further, when reading is performed, reading is performed from the sector where access is started, and error correction is performed using ECC, thereby regenerating a relative position that has not been written in the sector. Based on this relative position, the storage position on the buffer RAM 14 is determined. Therefore, even if data reading is started from an arbitrary sector, the data stored on the track is restored in the buffer RAM 14 in the original order. Also, since reading is started from the sector where access is started, there is no need to wait for rotation.

上記のようなセクタフォーマットに係るデータ記録再生の際のホストとの通信例を説明する。
本例のHDD10は、インターフェース17経由で接続されたホストからのコマンドによってデータ書込みを行うときの通信例は、次のようになる。
まずホストは、HDD10に対してデータの書込みコマンドを発行する。これに応答して、HDD10は現在のアクセスシーケンスからシーク時間が最小となるアドレス領域を応答する。
ホストは、HDD10からの応答を受けると、指示されたアドレス領域の大きさ(バイト数,セクタ数など)のデータコンテンツを転送する。HDD10は、受信したデータコンテンツをトラック単位で書込み動作を行う。
An example of communication with the host at the time of data recording / reproducing according to the above sector format will be described.
An example of communication when the HDD 10 of this example performs data writing by a command from a host connected via the interface 17 is as follows.
First, the host issues a data write command to the HDD 10. In response to this, the HDD 10 responds with an address area having the minimum seek time from the current access sequence.
When the host receives a response from the HDD 10, the host transfers the data content of the designated address area size (number of bytes, number of sectors, etc.). The HDD 10 writes the received data content in units of tracks.

ここで上述のように、書込み時のトラック上のアクセス先頭位置を基準に各セクタに相対位置情報を割り振ると、書込み要求の際、ホスト側では、シリンダ番号、ヘッド番号、セクタ番号などの具体的な書込み場所を特に意識する必要はなく、またこれらを指示する必要も特にない。
また、HDD10側からホストに通知されるアドレス領域は、例えば、ホストからデータ書込み要求されるコンテンツを識別するコンテンツ番号などの簡素なものでよい。
HDD10側では、各コンテンツ番号とディスク21上での物理的な記録場所との変換テーブルを用意しておく。
トラック単位でディスクアクセスを行うことから、コンテンツ番号との変換テーブルは、例えば図6に示すようなものとなる。即ち、コンテンツ番号に対応してトラック番号やヘッド番号が登録されていく。
Here, as described above, when relative position information is allocated to each sector based on the access start position on the track at the time of writing, when a write request is made, on the host side, specific information such as the cylinder number, head number, sector number, etc. There is no need to be particularly aware of the writing location, and there is no need to indicate these.
Further, the address area notified from the HDD 10 side to the host may be a simple one such as a content number for identifying content requested to be written by the host.
On the HDD 10 side, a conversion table of each content number and a physical recording location on the disk 21 is prepared.
Since disk access is performed in units of tracks, the conversion table with content numbers is as shown in FIG. 6, for example. That is, track numbers and head numbers are registered corresponding to the content numbers.

ここで、CHS方式のセクタ番号が変換テーブルに含まれていないことに注意されたい。このように、書込み時のトラック上のアクセス先頭セクタを基準に各セクタに相対位置情報を割り振る構成では、読出し時のトラック上のアクセス先頭セクタに関わらず、各セクタの相対位置情報に基づきデータの再配置が可能となる。このため、変換テーブルにおいて、アクセス開始セクタを指定する必要がないものとなる。   Note that the sector number of the CHS method is not included in the conversion table. As described above, in the configuration in which the relative position information is allocated to each sector based on the access head sector on the track at the time of writing, the data is based on the relative position information of each sector regardless of the access head sector on the track at the time of reading. Relocation is possible. For this reason, it is not necessary to specify the access start sector in the conversion table.

この変換テーブルは、バッファRAM14内に書き込まれる。変換テーブルの書込みは、ホストから書込みデータを受け取った時点で、ディスクコントローラ13又はCPU11が実行するソフトウェアによって行われる。   This conversion table is written in the buffer RAM 14. Writing of the conversion table is performed by software executed by the disk controller 13 or the CPU 11 when write data is received from the host.

また、本例のHDD10がインターフェース17経由で接続されたホストからのコマンドによってデータ読出しを行うときの通信例は次のようになる。
ホストは、HDD10に対してデータの読出しコマンドを発行する。読出しコマンドでは、目的とするコンテンツ番号が指定されている。
これに対し、HDD10は、コンテンツ番号に基づいて上記図6の変換テーブルから目的とするトラックを特定して、磁気ヘッド22のシーク動作を行う。そして、データ書込み時に応答したアドレス領域のシーケンスに従い、ディスク21上のデータを転送する。
このデータ読出し要求の際、ホスト側は、所望のコンテンツ番号を指定するだけで、シリンダ番号、ヘッド番号、セクタ番号などの具体的な書込み場所(PBA)を意識する必要はない。
A communication example when the HDD 10 of this example reads data by a command from a host connected via the interface 17 is as follows.
The host issues a data read command to the HDD 10. The target content number is specified in the read command.
On the other hand, the HDD 10 specifies the target track from the conversion table of FIG. 6 based on the content number, and performs the seek operation of the magnetic head 22. Then, the data on the disk 21 is transferred in accordance with the sequence of the address area responded at the time of data writing.
At the time of this data read request, the host side only specifies a desired content number, and does not need to be aware of a specific write location (PBA) such as a cylinder number, a head number, or a sector number.

上述したように、HDD10では、磁気ヘッド22がオン・トラックしたセクタから1トラック分のアクセスを行う。1トラックをアクセス単位とすることで、先読みという不確定な処理を省いて、シーク起動のタイミングを確実に決定することができる。また、トラックのどのセクタからでもアクセスを行うことができるので、シーク直後の任意のヘッド位置から読み書きを行うことにより、回転待ちをなくすことができる。この結果、シークの回数を最小限に抑え、アクセス時間が短縮化される。   As described above, the HDD 10 accesses one track from the sector in which the magnetic head 22 is on-track. By using one track as an access unit, it is possible to reliably determine the timing of seek activation without the indefinite process of prefetching. In addition, since access can be performed from any sector of the track, read / write is performed from an arbitrary head position immediately after seek, thereby eliminating the waiting for rotation. As a result, the number of seeks is minimized, and the access time is shortened.

このようなディスクアクセスオペレーションは、ディスクコントローラ13が、CPU11によるコマンド処理結果に応じて、データ読み書き制御部15やサーボ制御部16に対するハードウェア操作を指示することによって実現される。
Such a disk access operation is realized by the disk controller 13 instructing a hardware operation to the data read / write control unit 15 and the servo control unit 16 according to the command processing result by the CPU 11.

4.ECC構成

上述してきたようにHDD10が1トラックを単位としてアクセスを行う場合、磁気ディスク21上には1トラックを基本単位としたECCブロックが形成されることが適切となる。
なお、LBAに基づくアクセス方式が採用される場合は、必ずしも1トラックを基本単位としたECCブロックが形成される必要はないが、もちろん1トラックを基本単位としてもよい。
ここでは、1トラックを基本としたECCブロックの例を説明する。
4). ECC configuration

As described above, when the HDD 10 accesses in units of one track, it is appropriate that an ECC block with one track as a basic unit is formed on the magnetic disk 21.
When an access method based on LBA is adopted, an ECC block having one track as a basic unit is not necessarily formed, but of course, one track may be used as a basic unit.
Here, an example of an ECC block based on one track will be described.

図7は、1トラックを基本単位としたECC構成例を示している。
図7(a)の例では、磁気ディスク21は、ゾーン分割されており、ゾーンnにおけるECCブロック構成の例が示されている。すなわち、ゾーンn内の、破線で示す所定のトラックTKのように、各トラックの1周分がECCブロックの構成単位となるようにする。
ECCブロックの内部には、セクタ内の訂正を行うC1と、セクタ間の訂正を行うC2が含まれている。
そしてC1+C2からなるエラー訂正単位(ECCブロック構成単位)は1トラックを基本単位としており、各トラック内においては、ECCブロック構成単位が2つ以上存在することはない。
FIG. 7 shows an example of the ECC configuration with one track as a basic unit.
In the example of FIG. 7A, the magnetic disk 21 is divided into zones, and an example of the ECC block configuration in the zone n is shown. That is, as in a predetermined track TK indicated by a broken line in the zone n, one round of each track is set as a structural unit of the ECC block.
The ECC block includes C1 that performs intra-sector correction and C2 that performs inter-sector correction.
An error correction unit (ECC block constituent unit) composed of C1 + C2 has one track as a basic unit, and no two or more ECC block constituent units exist in each track.

また図7(b)はECCブロックの他の例である。この場合も磁気ディスク21は、ゾーン分割されており、ゾーンmにおいて、ECCブロックの例が示されている。この例は、ゾーンm内の3トラック分でECCブロックの構成単位となるようにするものである。なお、この例は1トラックの整数倍を構成単位とするものであり、もちろんトラック3周分に限られるものではない。
このような例の場合も、ECCブロックの内部には、セクタ内の訂正を行うC1と、セクタ間の訂正を行うC2が含まれている。またC1+C2からなるエラー訂正単位(ECCブロック構成単位)は1トラックを基本単位としており、各トラック内においては、ECCブロック構成単位が2つ以上存在することはない。
FIG. 7B shows another example of the ECC block. Also in this case, the magnetic disk 21 is divided into zones, and an example of an ECC block is shown in the zone m. In this example, three tracks in the zone m become ECC block constituent units. This example uses an integral multiple of one track as a structural unit, and is not limited to three tracks of course.
Also in such an example, the ECC block includes C1 that performs intra-sector correction and C2 that performs inter-sector correction. An error correction unit (ECC block constituent unit) composed of C1 + C2 has one track as a basic unit, and no two or more ECC block constituent units exist in each track.

図8には、図7に示したECCブロック構成を採用した磁気ディスク21のECCブロック構造の例を示している。
ここではECC訂正符号として、シンボル長8のリードソロモン符号を用いているものとする。
ある磁気ディスクのあるゾーンにおけるトラック1周分の有効なセクタ数を、768セクタとする。1セクタは例えば、512バイトのデータに4バイトのCRC(クロスチェックコード)、並びに合計で48バイトのC1を付加し、4インターリーブで構成してある。
FIG. 8 shows an example of the ECC block structure of the magnetic disk 21 adopting the ECC block configuration shown in FIG.
Here, it is assumed that a Reed-Solomon code having a symbol length of 8 is used as the ECC correction code.
The effective number of sectors for one track in a certain zone of a certain magnetic disk is assumed to be 768 sectors. For example, one sector includes 4 bytes of CRC (cross check code) and a total of 48 bytes of C1 to 512 bytes of data, and is composed of 4 interleaves.

図8のECCブロック構成の例では、セクタ0〜703までの704セクタをデータ領域として与え、セクタ704〜767までの64セクタをC2領域として与えている。C2については、例えば16セクタずつの4インターリーブで構成する。
このような構成としたとき、1つのECCブロックは合計768セクタとなって、このゾーン内において1周分となり、トラック単位を実現させることが出来る。
In the example of the ECC block configuration in FIG. 8, 704 sectors from sectors 0 to 703 are given as data areas, and 64 sectors from sectors 704 to 767 are given as C2 areas. C2 is composed of, for example, 4 interleaves of 16 sectors each.
With such a configuration, one ECC block has a total of 768 sectors, which is one round in this zone, and a track unit can be realized.

この例におけるエラー訂正能力について考察する。
ランダムエラーに対してはC1を利用することによって、セクタ当たり最大24バイトまで(バイトの消失情報が得られる場合は最大48バイトまで)の訂正が可能である。
さらに、バーストエラーに対しては、C2を利用することによって、トラック当たり最大32セクタまで(CRCの結果を利用することで最大64セクタまで)の長さのエラー訂正が可能となる。
Consider the error correction capability in this example.
By using C1 for a random error, it is possible to correct up to 24 bytes per sector (up to 48 bytes if byte loss information is obtained).
Furthermore, for burst errors, error correction can be performed up to 32 sectors per track (up to 64 sectors using the CRC result) by using C2.

この他、トラック単位ではない、所定のセクタ数をECCブロックとした場合でも同様にして説明ができる。
その場合、例えばECCブロックが192(=176セクタのデータ+16セクタのC2)セクタといった、小さいECCブロック単位とすることもできる。
In addition, the description can be made in the same way even when a predetermined number of sectors, not in units of tracks, is an ECC block.
In this case, for example, the ECC block may be a small ECC block unit such as 192 (= 176 sector data + 16 sector C2) sectors.

ここで、上記のようなエラー訂正ブロックを採用する事情について述べておく。
従来のHDDのシステムの多くにおいては、エラー訂正が、512バイトデータと情報ビットからなる1セクタ単位においてのみ行われている。
したがって、各セクタ内に発生するランダムエラーに対してはエラー訂正を行うことができるが、訂正可能範囲を越えたランダムエラーや、あるいはバーストエラーすなわちセクタを越えて長く連続したエラーに対しては、エラー訂正を行うことが出来なかった。
Here, the circumstances of adopting the error correction block as described above will be described.
In many conventional HDD systems, error correction is performed only in units of one sector including 512-byte data and information bits.
Therefore, error correction can be performed for random errors occurring in each sector, but for random errors that exceed the correctable range, or burst errors, that is, errors that continue long beyond the sector, Error correction could not be performed.

このような場合、例えばリトライ動作を実施するなどによって、読み取りエラーを一定以下にし、エラー訂正を行うことができる。ところが、リトライ動作は基本的に、1回当たり1周分の余分なアクセス時間の増加に相当する。
ここで、上述のようなトラック単位アクセスによってアクセス時間の短縮がなされたにもかかわらず、リトライ動作が発生すると、結局アクセス時間は増加し、データ読出し時間の遅れを発生させる結果となる。
例えばHD(ハイビジョン画質)の再生や特殊再生時といったAVコンテンツを扱う場合において、高転送速度が要求されるとき、訂正不能な読み取りエラーが発生しても時間的にリトライ動作を行う余裕のないときがある。このような場合、現状では、読み取りエラー訂正が行われないまま処理を進めている。この結果、再生品質は悪くなってしまう。
In such a case, for example, by performing a retry operation, it is possible to make the read error below a certain level and perform error correction. However, the retry operation basically corresponds to an increase in the extra access time for one turn per time.
Here, even if the access time is shortened by the above-described track unit access, if a retry operation occurs, the access time eventually increases, resulting in a delay in data read time.
For example, when handling AV content such as HD (high-definition image quality) playback or special playback, when a high transfer speed is required, even if an uncorrectable read error occurs, there is no time to perform a retry operation in time. There is. In such a case, at present, the processing is proceeding without correcting the reading error. As a result, the reproduction quality is deteriorated.

そこで、ECC構成を上記のようにして、安定したデータ再生を実現し、リトライの発生する事態を引き起こすようなエラー訂正の出来ない場合を減少させるようにするものである。
つまり、従来の1セクタ単位のエラー訂正であるC1訂正に加えて、セクタ間の訂正を行うことが可能なC2訂正を付加する。そして、C1+C2からなる、エラー訂正単位(ECCブロック)を例えばトラックで完結するような構成をとる。
Therefore, the ECC configuration is configured as described above to realize stable data reproduction and reduce the number of cases where error correction that causes a retry occurrence cannot be performed.
That is, in addition to the conventional C1 correction, which is an error correction in units of one sector, a C2 correction capable of correcting between sectors is added. The error correction unit (ECC block) composed of C1 + C2 is completed by, for example, a track.

トラックの1周でC1+C2からなるECCブロック単位を完結させた場合、1トラックをアクセス単位とすることができ、回転待ちを発生することのないデータアクセス制御を実現することができる。すなわち、所望のデータ記憶場所へのアクセス時間を短縮することができる。また、同一トラック上で2以上のECCブロックを持つことがないようにすれば、ECC構成を複数トラック単位とした場合であっても、同様に、回転待ちを発生することのないデータアクセス制御を実現することができる。   When an ECC block unit composed of C1 + C2 is completed in one round of a track, one track can be used as an access unit, and data access control without causing rotation waiting can be realized. That is, the access time to a desired data storage location can be shortened. Also, if there are no more than two ECC blocks on the same track, data access control that does not cause rotation waiting can be performed even when the ECC configuration is a unit of a plurality of tracks. Can be realized.

ところで、上記図8に示すシンボル長8のリード・ソロモン符号では512バイトのデータに対してインターリーブを適用することができる。
図9、図10には、本例のECCブロック構成において、インターリーブを適用した例を示している。
図9及び図10では、セクタn に対してインターリーブを適用したものであり、1セクタが4バイトのヘッダと512バイトのデータ、そして4バイトのCRCより、これらの合計を4分割し、各分割単位毎に12バイトのECC符号C1を付加している。
例えば、インターリーブ0は1バイトのヘッダと128バイトのデータと1バイトのCRCに12バイトのパリティが付加されて構成される。インターリーブ2,3,4も同様である。
By the way, in the Reed-Solomon code having a symbol length of 8 shown in FIG. 8, interleaving can be applied to 512-byte data.
9 and 10 show examples in which interleaving is applied to the ECC block configuration of this example.
In FIGS. 9 and 10, interleaving is applied to sector n. One sector is divided into 4 parts by a 4-byte header, 512-byte data, and 4-byte CRC. A 12-byte ECC code C1 is added to each unit.
For example, interleave 0 is configured by adding a 12-byte parity to a 1-byte header, 128-byte data, and a 1-byte CRC. The same applies to the interleaves 2, 3, and 4.

そして、セクタ内の配置を、0番目にはインターリーブ0、1番目にはインターリーブ1、2番目にはインターリーブ2、3番目にはインターリーブ3、4番目には再び戻ってインターリーブ0、・・・のように順に並べる。
4バイトのヘッダ、512バイトのデータ、その後には4バイトのCRCを付加し、続いて作成したC1コードを同様にして順に並べる。
図9にはインターリーブで分解したものを示しており、また、図10にはメモリ上にアドレス0から567まで割り振ったときの配置を示している。
Then, the arrangement in the sector is interleave 0 for the first, interleave 1 for the first, interleave 2 for the second, interleave 3 for the third, interleave 0 again for the fourth, and so on. Arrange in order.
A 4-byte header, 512-byte data, and then a 4-byte CRC are added, and subsequently created C1 codes are arranged in the same order.
FIG. 9 shows an interleaved decomposition, and FIG. 10 shows an arrangement when addresses 0 to 567 are allocated on the memory.

このようにして図9及び図10は、前述の図8と同じセクタ単位となる。すなわち、4バイトのヘッダ、512バイトのデータに、4バイトのCRCと、合計48バイトのECC符号C1が付加されて1セクタとなり、磁気ディスク21上への記録セクタの主要部として構成される。
なお、実際の記録データの構成は、プリアンブル、同期信号、ポストアンブルなどがさらに付加されている。また、セクタ単位の他の構成例としては、ヘッダファイルを持たない形式や、あるいはCRCを持たない形式などがある。
In this way, FIGS. 9 and 10 are in the same sector unit as in FIG. That is, a 4-byte header and 512-byte data are added with a 4-byte CRC and an ECC code C1 of 48 bytes in total to form one sector, which is configured as a main part of a recording sector on the magnetic disk 21.
Note that the actual recording data configuration further includes a preamble, a synchronization signal, a postamble, and the like. In addition, as another configuration example of the sector unit, there are a format that does not have a header file, a format that does not have a CRC, and the like.

このようなインターリーブの構成は、主にハードウェア構成によって決定すればよく、シンボル長8のリードソロモン符号では、C1方向(すなわちセクタ方向)においてインターリーブ構成を例えば図9に示すように適用する。   Such an interleaving configuration may be determined mainly by a hardware configuration. In a Reed-Solomon code having a symbol length of 8, the interleaving configuration is applied in the C1 direction (that is, the sector direction) as shown in FIG.

なお、上述したインターリーブは、セクタ間でECCを実行したC2に対して適用してもよい。この場合においても、図9において、DATA部のByteをセクタと置き換えてC2方向(すなわちセクタに直交する方向)に展開させることで、同様な構成及び作用を実現することができる。   Note that the above-described interleaving may be applied to C2 in which ECC is executed between sectors. Even in this case, the same configuration and operation can be realized by replacing the Byte of the DATA portion with the sector in FIG. 9 and expanding the Byte in the C2 direction (that is, the direction orthogonal to the sector).

また、この例においては、1セクタを512バイトのデータとしたが、セクタサイズはこの限りではなく、例えば1024バイト、あるいは2048バイトを1セクタのデータとした場合においても、上記と同様にしてセクタ毎及びセクタ間に構成されたECCブロックを実現することができる。

In this example, one sector is 512 bytes of data, but the sector size is not limited to this. For example, even when 1024 bytes or 2048 bytes are used as one sector, the sector is the same as above. An ECC block configured between every sector and between sectors can be realized.

ところで、ECCブロックをトラック単位で完結させるとき、磁気ディスク21のゾーンが切り替わった際には、トラックあたりのセクタ数が異なるので、同一のECCパリティ数の構成では、エラー訂正能力がゾーン毎で大きく異なったものとなる可能性がある。
この場合、ゾーン毎でECCブロック構成を可変とすることによって、エラー訂正符号の冗長度を一定範囲内におさめることができ、その結果、エラー訂正能力をディスクの全周に渡って同様な強さとすることができる。
例えば図3の例では、1トラックあたりのセクタ数は、ゾーン0では64セクタ、ゾーン1では32セクタ、ゾーン2では16セクタとなっている。各ゾーンに対しては、回転数を同一とするが、動作クロックを変更し、各ゾーンにおける線記録密度は一定範囲にあるものとする。
By the way, when the ECC block is completed in units of tracks, when the zone of the magnetic disk 21 is switched, the number of sectors per track is different. Therefore, in the configuration with the same ECC parity number, the error correction capability is large for each zone. It can be different.
In this case, by making the ECC block configuration variable for each zone, the redundancy of the error correction code can be kept within a certain range. As a result, the error correction capability has the same strength and the same over the entire circumference of the disk. can do.
For example, in the example of FIG. 3, the number of sectors per track is 64 sectors in zone 0, 32 sectors in zone 1, and 16 sectors in zone 2. The rotation speed is the same for each zone, but the operation clock is changed, and the linear recording density in each zone is within a certain range.

このとき、ECCは、各セクタ毎においてはC1が付加されている。C1の構成は固定で同一であるものとする。具体的には、例えば図8のような構成とする。
そして、C2の構成については、ゾーン0では64セクタのうちの8セクタをC2パリティとして与え、ゾーン1では32セクタのうちの4セクタを、ゾーン2では16セクタのうちの2セクタをそれぞれC2パリティとして与える。
このように構成にしたとき、各ゾーンの1周分のデータセクタ数に対するC2パリティのセクタ数の割合が一定になり、C2訂正能力についても各ゾーンで同一とすることができる。
なお、実際のフォーマットにおいては、ゾーンとセクタ数の関係にあるような、ちょうど割り切れる値となる場合は少ないので、ECC部分の冗長度が一定範囲となるような設定をすればよい。
At this time, ECC is added with C1 for each sector. The configuration of C1 is fixed and the same. Specifically, for example, the configuration shown in FIG.
As for the configuration of C2, in zone 0, 8 out of 64 sectors are given as C2 parity, in zone 1 4 out of 32 sectors, and in zone 2 2 out of 16 sectors are C2 parity. Give as.
When configured in this way, the ratio of the number of C2 parity sectors to the number of data sectors for one round in each zone becomes constant, and the C2 correction capability can be made the same in each zone.
In an actual format, there are few cases where the value is just divisible, such as the relationship between the zone and the number of sectors. Therefore, it is only necessary to set the redundancy of the ECC portion to be within a certain range.

このように、ECCブロックをトラック単位に完結させ、C1+C2構成とし、さらにインターリーブ構成とすることに加えて、ゾーン毎でECC構成を可変としてECC部分の冗長度を所定範囲内に制御することによって、ディスクの全周に渡って、より広い範囲でのランダムエラーやバーストエラーに対してもエラー訂正が可能なようになり、安定したデータ再生が実現する。
なお、この例では、ECC構成のうちC1部分を固定とし、C2部分を可変とすることでECC部分の冗長度すなわちエラー訂正能力を所定範囲内に制御した。しかしながら、例えばC1部分をゾーン毎に可変としてC2部分を固定させてエラー訂正能力を所定範囲内に制御するようにしてもよく、あるいはC1とC2を総合的に制御してエラー訂正能力を所定範囲内に制御するようにしてもよい。
In this way, the ECC block is completed in units of tracks, has a C1 + C2 configuration, and further has an interleaved configuration. In addition, the ECC configuration is variable for each zone, and the redundancy of the ECC portion is controlled within a predetermined range. Error correction can be performed over a wider range of random errors and burst errors over the entire circumference of the disk, thereby realizing stable data reproduction.
In this example, the C1 portion of the ECC configuration is fixed and the C2 portion is variable to control the redundancy of the ECC portion, that is, the error correction capability, within a predetermined range. However, for example, the C1 portion may be variable for each zone and the C2 portion may be fixed to control the error correction capability within a predetermined range, or the error correction capability may be controlled comprehensively by controlling C1 and C2. You may make it control inside.

5.シーク直後のセクタをC2セクタとするECCブロック設定

ECCブロック構造は、基本的には以上の通りであるが、本実施の形態ではさらに、トラック上のセクタ配置として、トラックに対してシークした直後にアクセスを開始するセクタがC2セクタとなるように、ECCブロック構成が設定される。
このようなECCブロック構成について、LBAアクセス方式が採用される場合と、上記したトラック単位の相対アドレスによるアクセス方式が採用される場合とについて、それぞれ述べる。
5. ECC block setting with sector immediately after seek as C2 sector

The ECC block structure is basically as described above. However, in this embodiment, as a sector arrangement on the track, the sector that starts access immediately after seeking the track is the C2 sector. ECC block configuration is set.
With respect to such an ECC block configuration, a case where the LBA access method is adopted and a case where the above-described access method using a relative address in units of tracks is described, respectively.

まず図11、図12で、LBAアクセス方式の場合を説明する。
図11は、本例におけるセクタ配置の詳細を示したものである。なお、この場合、アクセス単位がトラック単位と限定されておらず、各セクタにLBAが割り振られている。
図11では、図3のようにゾーン0,1,2を有するディスク21において中周のゾーン1において、2トラック分でのセクタ配置を模式的に示している。上述したようにゾーン1における各トラックは32セクタとしている。
図示するように、ゾーン1に含まれる或る2トラック(TK1,TK2)には、LBAとしての番号として例えば「1」から「64」まで順に割り振られている。なお、この「1」〜「64」は説明上の数値であり、これらは実際にはLBAとしての値となる。LBAはディスク上のトラック全周にわたって例えば外周側から内周側に向けて各セクタに連続的に付される値である。
ゾーン1の或るトラックTK1では、各セクタにLBA番号「1」〜「32」が割り振られている。次のトラックTK2では、各セクタにLBA番号「33」〜「64」が割り振られるが、この場合、トラックTK1の先頭セクタ「1」と、トラックTK2の先頭セクタ「33」は、回転数およびサーボエリア等の情報によって定められるトラック・スキュー分だけずれた位置とされている。
トラック・スキュー分は例えば、ディスク上で放射状に配置されている複数本のサーボエリアより、サーボエリアとサーボエリア間をフレームとしたときに、サーボフレーム単位で与えられている。このように先頭セクタが各トラックでずれて配置されるのは、例えば次トラックへのシークとして、矢印TJとして示すようにトラックジャンプする際の所要時間とディスク回転を考慮したものである。
つまり、トラックTK1のアクセスは、セクタ「1」〜「32」まで行われ、続いてトラックTK2に移動するが、上記のようにトラック・スキュー分だけずれて先頭セクタが配置されることで、シーク後の待ち時間を少なくしてセクタ「33」からアクセスすることができる。
First, the case of the LBA access method will be described with reference to FIGS.
FIG. 11 shows the details of the sector arrangement in this example. In this case, the access unit is not limited to the track unit, and an LBA is allocated to each sector.
FIG. 11 schematically shows the sector arrangement of two tracks in the zone 1 in the middle circumference of the disk 21 having zones 0, 1, and 2 as shown in FIG. As described above, each track in zone 1 has 32 sectors.
As shown in the figure, certain two tracks (TK1, TK2) included in the zone 1 are assigned in order from “1” to “64” as LBA numbers. These “1” to “64” are numerical values for explanation, and these are actually values as LBA. LBA is a value that is continuously assigned to each sector from the outer circumference side to the inner circumference side, for example, over the entire track circumference on the disk.
In a certain track TK1 in zone 1, LBA numbers “1” to “32” are allocated to each sector. In the next track TK2, LBA numbers “33” to “64” are assigned to the sectors. In this case, the first sector “1” of the track TK1 and the first sector “33” of the track TK2 The position is shifted by the track skew determined by information such as the area.
For example, the track skew is given in units of servo frames when a plurality of servo areas arranged radially on the disk are used as a frame between the servo areas. In this way, the first sector is shifted from one track to another in consideration of the time required for track jumping and disk rotation as shown by an arrow TJ, for example, as a seek to the next track.
In other words, the access to the track TK1 is performed from the sectors “1” to “32”, and subsequently moves to the track TK2. However, as described above, the head sector is arranged with a shift by the track skew as described above. Access from sector “33” can be made with less waiting time.

LBAに従った読出し時のアクセスは、図11のトラックTK1のLBA「1」から「32」、そしてトラックTK2へのシーク後にLBA「33」から「64」へとたどっていく。
そしてここでは、1トラックをECCブロック構成とし、ゾーン1の1周32セクタのうち、データセクタを28セクタ、C2セクタを4セクタで構成している。
このとき、図11において、トラックTK1ではLBA「1」から「4」までをC2セクタとして配置し、さらに次のトラックTK2では、LBA「33」から「36」までをC2セクタとして配置する。
The access at the time of reading according to the LBA follows from LBA “1” to “32” of the track TK1 in FIG. 11 and from LBA “33” to “64” after seeking to the track TK2.
In this example, one track has an ECC block configuration, and of the 32 sectors in one cycle of zone 1, the data sector is composed of 28 sectors and the C2 sector is composed of 4 sectors.
At this time, in FIG. 11, LBA “1” to “4” are arranged as C2 sectors in the track TK1, and further LBA “33” to “36” are arranged as C2 sectors in the next track TK2.

これは、図8で示すようなECCブロック構成において、C2セクタを、ECCブロックの先頭に配置し、記録再生することに相当している。この様子を図12に示す。
図12は例えばトラック1周分(或いはn周分)でのECCブロックを構成するセクタを示しており、例えば図11のゾーン1での1トラック分32セクタを示している。
なお、ここでは先頭セクタからのLBA番号が「3FC」から始まる例とした。
そしてこの場合、先頭の4セクタ「3FC」〜「3FF」がC2セクタとされる。図11のトラックTK1のLBA「1」が実際には「3FC」であるとすると、この図12のようにC2セクタが先頭4セクタに配置されるようにECCブロックが形成され、トラックTK1にデータ書込みが行われることで、図11のように「1」〜「4」がC2セクタとなる。
また次のトラックTK2においても、図12のように先頭4セクタがC2セクタとされたECCブロックが形成され、データ書込みが行われることで、図11のように「33」〜「36」がC2セクタとなる。
即ち、このようなECCブロック設定されたデータを、LBAに従ってデータ書込みを行うことで、データ読出しの際、各トラックにおいて、オン・トラック直後に読出しを開始する先頭位置となるセクタに、ECCブロックのC2セクタを与えることができる。
This corresponds to recording / reproducing by placing the C2 sector at the head of the ECC block in the ECC block configuration as shown in FIG. This is shown in FIG.
FIG. 12 shows, for example, sectors constituting an ECC block for one track (or n tracks), for example, 32 sectors for one track in zone 1 of FIG.
In this example, the LBA number from the first sector starts with “3FC”.
In this case, the first four sectors “3FC” to “3FF” are set as the C2 sector. Assuming that the LBA “1” of the track TK1 in FIG. 11 is actually “3FC”, an ECC block is formed such that the C2 sector is arranged in the first four sectors as shown in FIG. 12, and data is stored in the track TK1. By performing the writing, “1” to “4” become the C2 sector as shown in FIG.
Also in the next track TK2, an ECC block having the first four sectors as C2 sectors is formed as shown in FIG. 12, and data writing is performed, so that “33” to “36” are changed to C2 as shown in FIG. It becomes a sector.
That is, by writing data in such an ECC block according to the LBA, at the time of data reading, in each track, the ECC block of the ECC block is placed at the head position where reading starts immediately after on-track. C2 sectors can be provided.

シークを伴う読出しにおいて、高速で連続読出しを行う場合、所定の転送速度を保つために、読出しエラーが発生しても、リトライ処理によるリカバーを行うことが困難な場合がある。又、読出しエラーの発生は、振動等の外乱が加わった場合には、より顕著となる。そして上記エラーの発生は、シークし、オン・トラック直後に読出しを開始する付近において、多く発生する。この原因として例えば、トラックの位置決めが十分安定していない等が考えられる。
ここで、シーク直後の読出しが極めて不安定な場合、あるいは外乱が加わった状況下でのシーク直後の読出しによって、多くのエラーが発生して想定以上のセクタエラーとなり、設定されたECCブロックのC2訂正能力を超えた場合を考える。
エラー訂正が出来ないときは、データはエラー訂正等の処理を行わずに、読み出されたデータをそのまま出力する。一方、多くエラーが発生しているセクタ部位は、読出し開始直後付近のセクタである。
このような状況下において、本例のように、読出し開始直後付近のセクタ部分に冗長セクタであるC2セクタを配置するようにしておけば、訂正不能エラーとなった際でも、エラーによるデータ損失を少なくすることができる。
When performing continuous reading at a high speed in reading with seeking, it may be difficult to perform recovery by retry processing even if a reading error occurs in order to maintain a predetermined transfer speed. Further, the occurrence of a read error becomes more prominent when a disturbance such as vibration is applied. The occurrence of the error occurs frequently in the vicinity of seeking and reading immediately after on-track. As this cause, for example, the positioning of the track is not sufficiently stable.
Here, when reading immediately after seeking is extremely unstable, or reading immediately after seeking under a situation where disturbance has been applied, many errors occur, resulting in a sector error more than expected, and C2 of the set ECC block Consider the case where the correction ability is exceeded.
When error correction cannot be performed, the read data is output as it is without performing processing such as error correction. On the other hand, the sector part where many errors have occurred is a sector near the start of reading.
Under such circumstances, if the C2 sector, which is a redundant sector, is arranged in the sector portion immediately after the start of reading as in this example, even if an uncorrectable error occurs, data loss due to the error is prevented. Can be reduced.

すなわち、シーク動作により或るトラックに移動した際に、そのトラックの最初の読出しセクタがC2セクタとなるようにエラー訂正ブロックを生成して書込みを行うことによって、読出しアクセス時において、読出し開始直後のセクタは、冗長部分であるC2セクタとすることができる。
より具体的には、少なくともエラー訂正ブロックにおける先頭に、C2セクタが配置されるようなエラー訂正ブロックを形成することで、読出しアクセス時には、オン・トラック直後にC2セクタから読出しアクセスが開始される。
このとき、外乱等によってエラーが発生しているとすると、エラーとなっているセクタはC2セクタ部分に多く発生している。
結局、リカバーされないで出力された、エラーを含んだセクタに対して、より影響の少ないデータ出力をすることが可能となる。なぜならばエラーセクタの多くが、冗長セクタに発生しているためである。従って、より安定したデータ再生が実現する。
That is, when moving to a certain track by a seek operation, an error correction block is generated and written so that the first read sector of the track becomes the C2 sector, so that at the time of read access, The sector can be a C2 sector which is a redundant part.
More specifically, by forming an error correction block in which the C2 sector is arranged at least at the head of the error correction block, at the time of read access, read access is started from the C2 sector immediately after on-track.
At this time, if an error has occurred due to a disturbance or the like, many sectors having an error occur in the C2 sector portion.
Eventually, it is possible to output data with less influence on a sector including an error output without being recovered. This is because most error sectors are generated in redundant sectors. Therefore, more stable data reproduction is realized.

ところで、上記図11,図12の例では、ECCブロックにおけるセクタ数に応じて所定の冗長度を得るための所定数のC2セクタ(例えば36セクタのうちの4セクタ)を、ECCブロックの先頭にまとめて配置するようにしたが、少なくとも先頭のセクタをC2セクタとすることで、上記した所期の効果を得ることができる。
例えば図13は、36セクタのうちの4セクタとするC2セクタを、トラックTK1においてはLBA「1」「2」「3」「32」に配し、またトラックTK2においてはLBA「33」「34」「35」「64」に配した例を示している。すなわちこれは、ECCブロックの先頭3セクタと終端1セクタをC2セクタとした例である。
このようにECCブロック構成を設定し、データ書込みを行った場合も、その後のデータ読出し時において、オン・トラック直後に読出しを開始する先頭位置において、ECCブロック構成のC2セクタが配置されていることになるので、上記と同様の効果が得られる。
もちろん少なくとも先頭セクタ(先頭の1〜数セクタ)をC2セクタとするのであれば、残りのC2セクタを先頭或いは終端以外の中間のセクタに配することを妨げるものではない。
さらには、実際のオン・トラック直後の読出し位置が、想定したLBAから前後した場合においても、読出しを開始する先頭位置にC2セクタが配置されていれば、同様な効果を得ることができる。
By the way, in the examples of FIGS. 11 and 12, a predetermined number of C2 sectors (for example, 4 out of 36 sectors) for obtaining a predetermined redundancy according to the number of sectors in the ECC block are placed at the head of the ECC block. Although they are arranged together, at least the first sector can be set as the C2 sector, so that the above-mentioned desired effect can be obtained.
For example, in FIG. 13, C2 sectors, which are four of the 36 sectors, are allocated to LBA “1” “2” “3” “32” in the track TK1, and LBA “33” “34” in the track TK2. ”,“ 35 ”and“ 64 ”. That is, this is an example in which the top 3 sectors and the end 1 sector of the ECC block are C2 sectors.
Even when the ECC block configuration is set and data is written as described above, the C2 sector having the ECC block configuration is arranged at the head position where reading is started immediately after on-track when data is read thereafter. Therefore, the same effect as described above can be obtained.
Of course, if at least the first sector (the first one to several sectors) is the C2 sector, this does not prevent the remaining C2 sector from being placed in an intermediate sector other than the head or the end.
Further, even when the actual read position immediately after the on-track is before or after the assumed LBA, the same effect can be obtained if the C2 sector is arranged at the start position where reading is started.

なお図11では、ECCブロック構成をトラック1周単位とした例を示したが、それに限定されるものではない。すなわち、ECCブロック構成についてトラック単位以外のセクタ数とする場合であっても、同様に、シークにより或るトラックに移動した際に、そのトラックの最初の読出しセクタがC2セクタとなるような構成にすることで、より安定したデータ再生が実現する。   Although FIG. 11 shows an example in which the ECC block configuration is a unit of one track, it is not limited to this. That is, even when the number of sectors other than the track unit is used in the ECC block configuration, similarly, when moving to a certain track by seeking, the first read sector of the track becomes the C2 sector. By doing so, more stable data reproduction is realized.

次に、上述したトラック単位の相対アドレスによるアクセス方式が採用される場合について、図14、図15で説明する。
図14にセクタ配置の詳細を示した。なお、この場合、アクセス単位はトラック単位となり、上述したように、各セクタには相対アドレスが割り振られる。
図14は、上記図11の場合と同様に、ゾーン1において、2トラック分でのセクタ配置を模式的に示している。ゾーン1における各トラックは32セクタとしている。
図示するように、ゾーン1に含まれる或る2トラック(TK1,TK2)には、それぞれ相対アドレス「1」から「32」が割り振られている。この相対アドレス「1」から「32」は、各トラックに対する書込みアクセス時に、順に割り振られるものであり、トラック上での物理的な各セクタ位置に対して固定的なものではない。
例えばトラックTK1の相対アドレス「1」のセクタとは、トラックTKにシークして最初に書込みアクセスが可能となったセクタとなる。
Next, the case where the above-described access method using relative addresses in units of tracks will be described with reference to FIGS.
FIG. 14 shows the details of the sector arrangement. In this case, the access unit is a track unit, and a relative address is assigned to each sector as described above.
FIG. 14 schematically shows the sector arrangement of two tracks in zone 1 as in the case of FIG. Each track in zone 1 has 32 sectors.
As shown in the figure, relative addresses “1” to “32” are allocated to certain two tracks (TK1, TK2) included in the zone 1, respectively. The relative addresses “1” to “32” are sequentially allocated at the time of write access to each track, and are not fixed to the physical sector positions on the track.
For example, the sector of the relative address “1” of the track TK1 is a sector that can first be accessed for writing after seeking the track TK.

また、トラックTK1,TK2について連続的に書込みを行うとすると、ゾーン1のトラックTK1では、各セクタに相対アドレス「1」〜「32」が割り振られ、また、次のトラックTK2でも、各セクタに相対アドレス「1」〜「32」が割り振られるが、この場合、トラックTK1の先頭セクタ「1」と、トラックTK2の先頭セクタ「1」の位置のずれは、トラックTK1からTK2へのシーク動作(トラックジャンプTJ)を行った直後からアクセスが開始されるまでのずれである。これは、上述した、回転数およびサーボエリア等の情報によって定められるトラック・スキュー分に必ずしも一致するものではない。   If writing is continuously performed on the tracks TK1 and TK2, relative addresses “1” to “32” are allocated to the sectors in the track TK1 in the zone 1, and each sector is also allocated to the next track TK2. Relative addresses “1” to “32” are allocated. In this case, the displacement of the position of the first sector “1” of the track TK1 and the first sector “1” of the track TK2 is a seek operation from the track TK1 to the TK2 ( This is a deviation from immediately after the track jump TJ) until the access is started. This does not necessarily coincide with the track skew determined by the information such as the rotational speed and the servo area described above.

相対アドレスに従った書込み時のアクセスは、図14のトラックTK1の相対アドレス「1」から「32」、そしてトラックTK2へのシーク後に、トラックTK2の相対アドレス「1」から「32」へとたどっていく。
そしてここでは、1トラックをECCブロック構成とし、ゾーン1の1周32セクタのうち、データセクタを28セクタ、C2セクタを4セクタで構成している。
このとき、図14において、トラックTK1では相対アドレス「1」から「4」までをC2セクタとして配置し、さらに次のトラックTK2でも、相対アドレス「1」から「4」までをC2セクタとして配置する。
The access at the time of writing according to the relative address follows from the relative address “1” to “32” of the track TK1 in FIG. 14, and after the seek to the track TK2, the relative address “1” to “32” of the track TK2. To go.
In this example, one track has an ECC block configuration, and of the 32 sectors in one cycle of zone 1, the data sector is composed of 28 sectors and the C2 sector is composed of 4 sectors.
At this time, in FIG. 14, relative addresses “1” to “4” are arranged as C2 sectors in the track TK1, and relative addresses “1” to “4” are arranged as C2 sectors in the next track TK2. .

これは、図8で示すようなECCブロック構成において、C2セクタを、ECCブロックの先頭に配置し、記録再生することに相当している。この様子を図15に示す。
図15は例えばトラック1周分でのECCブロックを構成するセクタを示しており、例えば図14のゾーン1でのトラックとした32セクタを示している。
そして図示するように相対アドレスが「1」〜「4」となる先頭4セクタがC2セクタとして配置されるようにECCブロックが形成される。このようなECCブロック構成が行われて、トラックTK1、TK2に順次データ書込みが行われると、例えば図14のように各トラックの先頭となる相対アドレス「1」〜「4」のセクタがC2セクタとなる。
すなわち、シーク動作により或るトラックに移動した際に、そのトラックの最初の読出しセクタがC2セクタとなるようにエラー訂正ブロックを生成して書込みを行うことによって、読出しアクセス時において、読出し開始直後のセクタは、冗長部分であるC2セクタとすることができる。
より具体的には、少なくともエラー訂正ブロックにおける先頭に、C2セクタが配置されるようにエラー訂正ブロックを形成することで、読出しアクセス時には、オン・トラック直後にC2セクタから読出しアクセスを開始させることができる。
そしてこれによって、リカバーされないで出力された、エラーを含んだセクタに対して、より影響の少ないデータ出力をすることが可能となる。従って、より安定したデータ再生が実現することは、上記図11,図12で説明した例と同様である。
This corresponds to recording / reproducing by placing the C2 sector at the head of the ECC block in the ECC block configuration as shown in FIG. This is shown in FIG.
FIG. 15 shows, for example, sectors constituting an ECC block for one track, and shows, for example, 32 sectors as tracks in zone 1 of FIG.
Then, as shown in the figure, the ECC block is formed so that the top four sectors with relative addresses “1” to “4” are arranged as C2 sectors. When such an ECC block configuration is performed and data is sequentially written to the tracks TK1 and TK2, for example, as shown in FIG. 14, the sectors with relative addresses “1” to “4” at the head of each track are C2 sectors. It becomes.
That is, when moving to a certain track by a seek operation, an error correction block is generated and written so that the first read sector of the track becomes the C2 sector, so that at the time of read access, The sector can be a C2 sector which is a redundant part.
More specifically, by forming the error correction block so that the C2 sector is arranged at least at the beginning of the error correction block, at the time of read access, the read access can be started from the C2 sector immediately after the on-track. it can.
As a result, it is possible to output data with less influence on a sector including an error output without being recovered. Therefore, realizing more stable data reproduction is the same as the example described with reference to FIGS.

ところで、相対アドレスによるアクセス方式の場合は、図14のように各トラックの相対アドレス「1」〜「4」のセクタがC2セクタとされていても、読出し時にはオン・トラック直後のセクタがC2セクタとなるとは、必ずしも限らない。
そのため上記のように各トラックについてのECCブロック構成がなされ、1回の連続した書込みアクセスによって複数トラックにデータ書込みが行われた場合、その複数トラックに対する読出し動作時において、当該複数トラックのうちの、2番目のトラック(この場合トラックTK2)以降の各トラックについて、オン・トラック直後に読出しを開始する先頭位置となるセクタが、C2セクタとなるように動作制御する必要がある。この点を説明する。
By the way, in the case of the access method based on the relative address, even if the sector of the relative address “1” to “4” of each track is the C2 sector as shown in FIG. It is not necessarily limited to be.
Therefore, the ECC block configuration for each track is made as described above, and when data is written to a plurality of tracks by one continuous write access, during the read operation for the plurality of tracks, For each track after the second track (in this case, track TK2), it is necessary to control the operation so that the sector that is the head position where reading starts immediately after the on-track becomes the C2 sector. This point will be described.

上述したように相対アドレスに基づくアクセスの場合、1トラックにおいてどのセクタから書込み/読出しを行っても良い。書込みについては書込み可能となったセクタから相対アドレスを割り振るのでどのセクタから開始してもよいし、また読出し時には、読み出した1トラック分のセクタデータを、相対アドレスに従ってバッファRAM14上で並び替えればよいので、どのセクタからでも読み始めることができる。
すなわちトラックのどのセクタからでもアクセスを行うことができるため、シーク直後の任意のヘッド位置から読み書きを行うことにより、回転待ちをなくすことができることを先に述べた。
そしてこのことは、読出し時において、必ずしも相対アドレス「1」のセクタから読み出す必要がないことを示している。
As described above, in the case of access based on a relative address, writing / reading may be performed from any sector in one track. For writing, a relative address is allocated from a writable sector, so it can be started from any sector. At the time of reading, the read sector data for one track can be rearranged on the buffer RAM 14 according to the relative address. So you can start reading from any sector.
That is, since it can be accessed from any sector of the track, it has been described above that waiting for rotation can be eliminated by reading and writing from an arbitrary head position immediately after seeking.
This indicates that it is not always necessary to read from the sector having the relative address “1” at the time of reading.

今、最初に図14のトラックTK1にシークした場合を考えると、オン・トラックした後、読出し可能となったセクタの相対アドレスが何であろうと、そのセクタから1周分の読出しアクセスを行えばよい。例えばシーク直後のヘッド位置が相対アドレス「15」のセクタ位置であったら、相対アドレス「15」「16」・・・「32」「1」「2」・・・「14」と、各セクタをアクセスすれば良いものとなる。これによって回転待ちもなくなる。
しかしながら、すると次のトラックTK2に対しては、セクタ「14」の読出しを行った直後にシークすればよいことになるが、この場合、トラックTK2においてはセクタ「14」前後でオン・トラックしてしまう。つまり、オン・トラック直後の最初のセクタがC2セクタ(セクタ「1」〜「4」)とならない。すると上記した外乱等に対する効果が得られない。
Considering the case where the seek is first performed on the track TK1 in FIG. 14, it is only necessary to perform read access for one round from the sector regardless of the relative address of the sector which can be read after the on-track. . For example, if the head position immediately after the seek is the sector position of the relative address “15”, the relative addresses “15” “16”... “32” “1” “2”. It only has to be accessed. This eliminates the waiting for rotation.
However, for the next track TK2, it is sufficient to seek immediately after the sector "14" is read. In this case, the track TK2 is on-tracked before and after the sector "14". End up. That is, the first sector immediately after the on-track is not the C2 sector (sectors “1” to “4”). Then, the effect with respect to the above-described disturbance cannot be obtained.

そこで、最初のトラックについては、必要に応じて回転待ちを行い、〈1〉読出しアクセスは相対アドレス「1」のセクタから開始するようにするか、或いは、〈2〉1トラック分の読出しアクセスを行った後、相対アドレス「32」に達した時点で次トラックへのシークを行うようにする。
上記〈1〉のように、読出しアクセスは相対アドレス「1」のセクタから開始するようにする場合は、例えばトラックTK1にシークしてオン・トラックした後、必要なだけ回転待ちを行い、相対アドレス「1」のセクタに達した時点から読出しを開始する。すると、相対アドレス「1」〜「32」まで1トラック分の読出しを行った時点で次のトラックTK2にシークすれば、トラックTK2においても、相対アドレス「1」のセクタ付近から読出しが開始される。従って、シーク直後の最初のセクタはC2セクタとすることができる。
また、図14には示していないが、さらにトラックTK3,TK4・・・と連続して各トラックを読出していくときも同様に、シーク直後の最初のセクタはC2セクタとすることができる。
なお、この場合、トラックTK3、TK4、・・・は、トラックTK1からの連続した一連の動作で書込みアクセスが行われたトラックである。相対アドレスによるアクセス方式の場合、書込み時はシーク直後の任意のセクタから書込みを実行して良いが、連続した書込みアクセスで書込みが行われたトラックである限りは、上記トラックTK1,TK2のように、先頭セクタ「1」の位置は、いずれもシーク動作(トラックジャンプTJ)による分だけずれて位置している。すなわちセクタ「32」の直後にシーク動作を行えば、次のトラックはセクタ「1」付近から読出しが可能となる。
Therefore, the first track waits for rotation if necessary, and <1> read access starts from the sector of relative address “1”, or <2> read access for one track. After that, when the relative address “32” is reached, seek to the next track is performed.
When the read access is started from the sector of the relative address “1” as in <1> above, for example, after seeking to the track TK1 and on-tracking, the rotation waits as much as necessary, and the relative address Reading is started when the sector of “1” is reached. Then, if the next track TK2 is sought when reading is performed for one track from the relative addresses “1” to “32”, the reading is started from the vicinity of the sector of the relative address “1” in the track TK2. . Therefore, the first sector immediately after seeking can be the C2 sector.
Further, although not shown in FIG. 14, when each track is read continuously with the tracks TK3, TK4,..., The first sector immediately after the seek can be the C2 sector.
In this case, the tracks TK3, TK4,... Are tracks on which write access has been performed by a series of continuous operations from the track TK1. In the case of the access method based on the relative address, writing may be executed from any sector immediately after seeking. However, as long as the track has been written by continuous write access, as in the tracks TK1 and TK2. The positions of the first sector “1” are shifted by the amount corresponding to the seek operation (track jump TJ). That is, if a seek operation is performed immediately after sector “32”, the next track can be read from the vicinity of sector “1”.

また上記〈2〉の、1トラック分の読出しアクセスを行った後、相対アドレス「32」に達した時点で次トラックへのシークを行うようにするとは、例えばトラックTK1にシークしてオン・トラックした直後から、回転待ちをせずに1トラック分の読出しを行う。そして1トラック分の読出しを行った後、必要なだけ回転待ちを行い、相対アドレス「32」に達したら次のトラックTK2にシークする。この場合、トラックTK2においては、相対アドレス「1」のセクタ付近から読出しが開始される。従って、シーク直後の最初のセクタはC2セクタとすることができる。そしてトラックTK2では相対アドレス「1」〜「32」の読出しが行われた後、次のトラックTK3にシークするため、トラックTK3でも同様となる。   In addition, when the relative address “32” is reached after the read access for one track in the above <2> is performed, for example, seek to the track TK1 and on-track Immediately after reading, one track is read without waiting for rotation. Then, after reading one track, it waits for rotation as much as necessary, and seeks to the next track TK2 when the relative address “32” is reached. In this case, in the track TK2, reading is started from the vicinity of the sector of the relative address “1”. Therefore, the first sector immediately after seeking can be the C2 sector. Since the relative addresses “1” to “32” are read from the track TK2 and seek to the next track TK3, the same applies to the track TK3.

以上のように、相対アドレスによるアクセス方式が採用される場合は、シーク直後の任意のセクタからの読出しアクセスが可能とされるのであるが、本例においては、最初のトラックのみは相対アドレス「1」から読出しを行うようにするか、或いは1トラック分の読出し後、相対アドレス「32」まで待ってシークを行うようにする。これによって、続くトラックTK2以降の各トラックでは、シーク直後にC2セクタから読出しが行われるものとなる。
なお、ここでいう最初のトラックとは、所定数の複数トラックを一単位とした時の、その最初のトラックである。例えば、記録再生時において連続しており、さらにシークによるトラック・スキュー分が一定である所定数のトラックに対し、これを一単位とする。
以上のようにすることによって、読出し時に回転待ちを解消するという相対アドレスによるアクセス方式の利点を、一部制限することになるが、書込みアクセスにおいて回転待ちが不要となることは変わらない。例えば上記トラックTK1、TK2の書込みを行うことを考えた場合、上記LBAアクセス方式において回転待ちが必要となるのはトラックTK1にオン・トラックした際であるが、相対アドレスによるアクセス方式では、トラックTK1にオン・トラックした直後の任意のセクタを相対アドレス「1」として書込みを開始することができる。
As described above, when the access method using the relative address is adopted, read access from an arbitrary sector immediately after seeking is possible, but in this example, only the first track has the relative address “1”. Or read after one track and wait until the relative address “32” for seeking. As a result, each track after the subsequent track TK2 is read from the C2 sector immediately after seeking.
Here, the first track is the first track when a predetermined number of plural tracks are taken as one unit. For example, a predetermined number of tracks that are continuous during recording and reproduction and that have a constant track skew due to seeking are set as one unit.
By doing so, the advantage of the access method based on the relative address that eliminates the waiting for rotation at the time of reading is partly limited, but the fact that waiting for rotation is unnecessary in the write access remains unchanged. For example, when writing to the tracks TK1 and TK2 is considered, it is necessary to wait for rotation in the LBA access method when the track TK1 is on-track. In the access method using the relative address, the track TK1 is required. Writing can be started with an arbitrary sector immediately after being on-tracked as a relative address “1”.

ところで、上記図14,図15の例では、ECCブロックにおけるセクタ数に応じて所定の冗長度を得るための所定数のC2セクタ(例えば36セクタのうちの4セクタ)を、ECCブロックの先頭にまとめて配置するようにしたが、この場合も、少なくとも先頭のセクタをC2セクタとすることで、上記した所期の効果を得ることができる。
即ち、例えば各トラックにおいて相対アドレス「1」「2」「3」「32」をC2セクタとしてもよい。このようにECCブロック構成を設定し、データ書込みを行った場合も、その後のデータ読出し時において、オン・トラック直後に読出しを開始する先頭位置において、ECCブロック構成のC2セクタが配置されていることになるので、上記と同様の効果が得られる。
もちろん少なくとも先頭セクタ(先頭の1〜数セクタ)をC2セクタとするのであれば、残りのC2セクタを先頭或いは終端以外の中間のセクタに配することを妨げるものではない。
さらには、実際のオン・トラック直後の読出し位置が、想定した位置から前後した場合においても、読出しを開始する先頭位置にC2セクタが配置されていれば、同様な効果を得ることができる。
In the example of FIGS. 14 and 15, a predetermined number of C2 sectors (for example, 4 out of 36 sectors) for obtaining a predetermined redundancy according to the number of sectors in the ECC block are used at the head of the ECC block. In this case, the expected effect described above can be obtained by setting at least the first sector as the C2 sector.
That is, for example, relative addresses “1”, “2”, “3”, and “32” may be used as the C2 sector in each track. Even when the ECC block configuration is set and data is written as described above, the C2 sector having the ECC block configuration is arranged at the head position where reading is started immediately after on-track when data is read thereafter. Therefore, the same effect as described above can be obtained.
Of course, if at least the first sector (the first one to several sectors) is the C2 sector, this does not prevent the remaining C2 sector from being placed in an intermediate sector other than the head or the end.
Further, even when the actual read position immediately after the on-track is around the assumed position, the same effect can be obtained if the C2 sector is arranged at the head position where reading is started.

なお図14では、ECCブロック構成をトラック1周単位とした例を示したが、それに限定されず、ECCブロック構成は、トラックn周単位としてもよい。但しその場合、トラック1周分のセクタ毎(例えば図14の例では32セクタ毎)に区切った単位において、各単位の先頭にC2セクタが配置されるようにする。つまり、ECCブロック構成の中で、1トラック分のセクタ数毎の先頭の各セクタを、図15のようにC2セクタとする。   Although FIG. 14 shows an example in which the ECC block configuration is a track one-round unit, the invention is not limited to this, and the ECC block configuration may be a track n-round unit. In this case, however, the C2 sector is arranged at the head of each unit in a unit divided into sectors for one track (for example, every 32 sectors in the example of FIG. 14). That is, in the ECC block configuration, each leading sector for each number of sectors for one track is a C2 sector as shown in FIG.

本実施形態に係るHDD10は、以上のように、トラックに対するシーク直後の最初の読出しセクタ、即ち外乱によるエラーの発生しやすいセクタがC2セクタとなるようにECCブロックを形成し、配置することによって、リトライ動作などによってリカバーすることが出来ない状況下で発生するC2訂正が不可能なエラーの発生に対して、データ損失を軽減し、その結果、より安定したデータ再生を行うことができる。   As described above, the HDD 10 according to the present embodiment forms and arranges an ECC block so that the first read sector immediately after seeking for a track, that is, a sector in which an error due to a disturbance is likely to occur is the C2 sector. Data loss can be reduced with respect to the occurrence of an error that cannot be corrected by C2, which occurs in a situation where recovery cannot be performed by a retry operation or the like, and as a result, more stable data reproduction can be performed.

この点を読出し時の処理とともに説明する。
図16は、読出し時におけるエラーセクタ訂正処理の流れを示したものである。
先ずステップF101でデータ読出し処理が行われる。これによって、所定単位だけのセクタ数が読み出され、バッファRAM14に格納される。なお、相対アドレスによるアクセスの場合、この読出し処理の最初のトラックについては、上記〈1〉又は〈2〉の制御を行う必要がある。
次にステップF102では、ディスクコントローラ13は、バッファRAM14からECCブロック単位のセクタデータを取り込み、取り込まれたセクタの中に、セクタエラーが発生しているかどうかを調べる。これは、例えば、1セクタ内に与えているC1訂正を行うことによって判定することができる。
ここでセクタエラーの発生がなかったときは、C1訂正されたデータがバッファRAM14に戻される。そしてステップF106では、バッファRAM14においてECCブロック単位のセクタより、冗長セクタ部分、つまりC2セクタが取り除かれ、必要なデータセクタだけが取り出されて、データ読出し処理が完了する。つまりバッファRAM14においてC2セクタが除かれたセクタデータが、ホストコントローラ32を介してインターフェース17から出力される。この場合、出力される読出しデータはエラーのない正しいデータである。
This point will be described together with processing at the time of reading.
FIG. 16 shows the flow of error sector correction processing at the time of reading.
First, in step F101, data reading processing is performed. As a result, the number of sectors in a predetermined unit is read and stored in the buffer RAM 14. In the case of access using a relative address, it is necessary to perform the control <1> or <2> for the first track of the reading process.
Next, in step F102, the disk controller 13 fetches sector data in units of ECC blocks from the buffer RAM 14, and checks whether a sector error has occurred in the fetched sector. This can be determined, for example, by performing C1 correction given in one sector.
If no sector error has occurred, the C1-corrected data is returned to the buffer RAM 14. In step F106, the redundant sector portion, that is, the C2 sector is removed from the sector of the ECC block unit in the buffer RAM 14, and only the necessary data sector is extracted, thereby completing the data reading process. That is, sector data from which the C2 sector is removed in the buffer RAM 14 is output from the interface 17 via the host controller 32. In this case, the output read data is correct data with no error.

一方、ステップF102でセクタエラーの発生が検出されたときは、続いてステップF103でC2訂正処理を行うことになる。
そしてC2によるセクタ訂正が可能であった場合には、ステップF104からF105に進み、バッファRAM14から取り込まれた読出しデータに対してC2による訂正処理が行われ、正しく訂正されたデータが得られる。訂正されたデータはバッファRAM14に書き込まれる。
そしてその訂正されたECCブロック単位のデータからステップF106で冗長セクタ部分、つまりC2セクタが取り除かれ、必要なデータセクタだけが取り出されて出力され、データ読出し処理が完了する。この場合も、出力される読出しデータは、エラーのない正しいデータである。
On the other hand, when the occurrence of a sector error is detected in step F102, the C2 correction process is subsequently performed in step F103.
If sector correction by C2 is possible, the process proceeds from step F104 to F105, and the read data fetched from the buffer RAM 14 is subjected to correction processing by C2 to obtain correctly corrected data. The corrected data is written into the buffer RAM 14.
Then, in step F106, the redundant sector portion, that is, the C2 sector is removed from the corrected ECC block unit data, and only the necessary data sector is extracted and output, thereby completing the data reading process. Also in this case, the output read data is correct data with no error.

ところが、ステップF104でC2訂正不能とされたときは、セクタエラー訂正処理は行われない。この場合ディスクコントローラ13は、エラー訂正のためにバッファRAM14から取り込んだデータをそのままバッファRAM14に送り返す。そしてステップF106では、その訂正されなかったECCブロック単位のデータから冗長セクタであるC2セクタが取り除かれ、必要なデータセクタだけが取り出されて出力され、データ読出し処理が完了する。この場合、出力される読出しデータは、エラーが含まれている場合がある。
しかしながら、上記図11〜図15における説明から理解されるように、エラーの発生しているセクタは、C2セクタである可能性が高い。従って、エラー訂正不能であったとしても、ステップF106でC2セクタが削除されて出力される際に、エラーセクタが削除されている可能性が高いものとなる。このため、総合的に見て、C2訂正不能エラーが発生しても、訂正不可能エラーによるデータ損失を軽減できるものである。
However, when C2 correction is impossible in step F104, sector error correction processing is not performed. In this case, the disk controller 13 sends the data fetched from the buffer RAM 14 for error correction back to the buffer RAM 14 as it is. In step F106, the redundant sector C2 sector is removed from the uncorrected ECC block unit data, and only the necessary data sector is extracted and output, completing the data reading process. In this case, the output read data may contain an error.
However, as can be understood from the description in FIGS. 11 to 15, the sector in which an error has occurred is likely to be the C2 sector. Therefore, even if the error cannot be corrected, there is a high possibility that the error sector is deleted when the C2 sector is deleted and output in step F106. Therefore, as a whole, even if a C2 uncorrectable error occurs, data loss due to an uncorrectable error can be reduced.

6.適用例

本発明は上述した例に限定されず、以下のように各種の場合に適用できる。
HDD10における磁気ディスク21の枚数は、2枚の場合を示したが、1枚、或いは3枚以上のHDD10の場合も本発明を適用できる。また、1枚のディスク21において表裏が記録面とされる場合も適用できる。さらに、磁気ヘッド22の数も多様な構成が考えられるが、本発明の適用を妨げるものではない。
また、一般にHDDではディスク21は装置内に固定的に内蔵されるが、ディスク21を着脱可能とするHDDも考えられる。そのような装置でも本発明は適用可能である。
更に、HDD以外のディスクシステム(光ディスク記録再生装置、光磁気ディスク記録再生装置)においても本発明は適用できる。
6). Application examples

The present invention is not limited to the above-described example, and can be applied to various cases as follows.
Although the number of the magnetic disks 21 in the HDD 10 is two, the present invention can be applied to the case of one HDD or three or more HDDs 10. Further, the present invention can also be applied to the case where the front and back surfaces of one disk 21 are recording surfaces. Further, various configurations of the number of magnetic heads 22 are conceivable, but this does not hinder the application of the present invention.
In general, in the HDD, the disk 21 is fixedly incorporated in the apparatus, but an HDD in which the disk 21 is removable is also conceivable. The present invention can be applied to such an apparatus.
Furthermore, the present invention can also be applied to disk systems other than HDDs (optical disk recording / reproducing apparatus, magneto-optical disk recording / reproducing apparatus).

また、C2セクタの配置については、必ずしもシーク後、オン・トラックした直後の先頭読出しセクタに、C2の先頭セクタが配置していなくてもよく、オン・トラックした直後の先頭読出しセクタを含んだ、その周辺においてC2セクタを配置することで、本発明は同様に適用できる。
また図12、図15でのECCブロック構成は、先頭部分にC2を配置してあるが、必ずしもその限りではなく、最終的に、シーク後、オン・トラックした直後の先頭読出しセクタにC2セクタが配置されていればよい。
In addition, regarding the arrangement of the C2 sector, it is not always necessary to arrange the first sector of C2 in the first read sector immediately after the on-track after seeking, and the first read sector immediately after the on-track is included. By disposing the C2 sector in the periphery, the present invention can be similarly applied.
In the ECC block configuration in FIGS. 12 and 15, C2 is arranged at the head portion. However, this is not necessarily limited. Finally, after the seek, the C2 sector is located in the head read sector immediately after on-tracking. It only has to be arranged.

本発明のプログラムは、上述したHDD10の機能を実現するプログラムである。特にCPU11によって起動され、HDD10の各部がそのプログラムに基づいて制御されることで図11〜図15によって説明したECCブロック構成を実現させる処理が実行される。
このプログラムは、例えばROM/RAM12に予め記憶しておくことができる。或いは磁気ディスク21に記憶しておき、ROM/RAM12にロードされる形態も考えられる。
The program of the present invention is a program for realizing the functions of the HDD 10 described above. In particular, a process for realizing the ECC block configuration described with reference to FIGS. 11 to 15 is executed by being started up by the CPU 11 and controlling each part of the HDD 10 based on the program.
This program can be stored in advance in the ROM / RAM 12, for example. Alternatively, a form in which the data is stored in the magnetic disk 21 and loaded into the ROM / RAM 12 is also conceivable.

本発明の実施の形態のHDDの全体構成のブロック図である。It is a block diagram of the whole structure of HDD of embodiment of this invention. 実施の形態のHDDのディスクコントローラのブロック図である。It is a block diagram of a disk controller of the HDD of the embodiment. 実施の形態のディスクフォーマット構造を模式的に示した説明図である。It is explanatory drawing which showed typically the disc format structure of embodiment. 実施の形態のディスクのサーボエリアの説明図である。It is explanatory drawing of the servo area of the disk of embodiment. 実施の形態のエラー訂正範囲の説明図である。It is explanatory drawing of the error correction range of embodiment. 実施の形態のアクセスのための変換テーブルの説明図である。It is explanatory drawing of the conversion table for the access of embodiment. 実施の形態のトラック単位となるECCブロックの説明図である。It is explanatory drawing of the ECC block used as the track unit of embodiment. 実施の形態のECCブロック構造の説明図である。It is explanatory drawing of the ECC block structure of embodiment. 実施の形態のインターリーブ構造の説明図である。It is explanatory drawing of the interleave structure of embodiment. 実施の形態のインターリーブ構造の説明図である。It is explanatory drawing of the interleave structure of embodiment. 実施の形態のLBAアクセス方式でのC2セクタ配置例の説明図である。It is explanatory drawing of the example of C2 sector arrangement | positioning in the LBA access system of embodiment. 実施の形態のECCブロック構成例の説明図である。It is explanatory drawing of the ECC block structural example of embodiment. 実施の形態の他のC2セクタ配置例の説明図である。It is explanatory drawing of the example of other C2 sector arrangement | positioning of embodiment. 実施の形態の相対アドレスアクセス方式でのC2セクタ配置例の説明図である。It is explanatory drawing of the example of C2 sector arrangement | positioning in the relative address access system of embodiment. 実施の形態のECCブロック構成例の説明図である。It is explanatory drawing of the ECC block structural example of embodiment. 実施の形態の再生時の処理のフローチャートである。It is a flowchart of the process at the time of reproduction | regeneration of embodiment.

符号の説明Explanation of symbols

10 HDD(ハードディスク装置)、11 CPU、12 ROM/RAM、13 ディスクコントローラ、14 バッファRAM、15 データ読み書き制御部、16 サーボ制御部、21,21a,21b 磁気ディスク 22,22a,22b 磁気ヘッド   10 HDD (Hard Disk Device), 11 CPU, 12 ROM / RAM, 13 Disk Controller, 14 Buffer RAM, 15 Data Read / Write Control Unit, 16 Servo Control Unit, 21, 21a, 21b Magnetic Disk 22, 22a, 22b Magnetic Head

Claims (29)

同心円状のトラックが形成されているとともに、上記各トラックは複数のセクタに分割されるディスク記録媒体に対するデータ記録再生装置であって、
目的とするトラックをシークするシーク手段と、
該シークされたトラック上でアクセスを行うデータアクセス手段と、
データをエラー訂正するためのエラー訂正符号を生成するとともにエラー訂正符号に基づいてデータをエラー訂正するエラー訂正手段とを備え、
上記エラー訂正手段は、所定のデータ量単位に対して第1のエラー訂正符号単位を設定し、また複数個の第1のエラー訂正符号単位に対する第2のエラー訂正符号単位を設定し、複数個の上記第1のエラー訂正符号単位及びこれに対して付加された上記第2のエラー訂正符号単位からなるエラー訂正ブロックを形成するとともに、上記第2のエラー訂正符号によるセクタが、上記シーク手段により上記ディスク記録媒体上の或るトラックに移動した際に上記データアクセス手段による最初の読出しセクタとなるように、上記エラー訂正ブロックを生成することを特徴とするデータ記録再生装置。
A concentric track is formed, and each track is a data recording / reproducing apparatus for a disk recording medium divided into a plurality of sectors,
Seek means to seek the target track;
Data access means for accessing on the sought track;
An error correcting means for generating an error correcting code for error correcting the data and correcting the error of the data based on the error correcting code;
The error correction means sets a first error correction code unit for a predetermined data amount unit, sets a second error correction code unit for a plurality of first error correction code units, and sets a plurality of error correction code units. Forming an error correction block including the first error correction code unit and the second error correction code unit added thereto, and a sector by the second error correction code is formed by the seek unit. A data recording / reproducing apparatus for generating the error correction block so as to become a first read sector by the data access means when moving to a certain track on the disk recording medium.
上記エラー訂正手段は、少なくとも上記エラー訂正ブロックにおける先頭に上記第2のエラー訂正符号が配置されるように、上記エラー訂正ブロックを形成することを特徴とする請求項1に記載のデータ記録再生装置。   2. The data recording / reproducing apparatus according to claim 1, wherein the error correction unit forms the error correction block so that the second error correction code is arranged at least at the head of the error correction block. . 上記エラー訂正手段は、少なくとも上記エラー訂正ブロックにおける先頭と終端に上記第2のエラー訂正符号が配置されるように、上記エラー訂正ブロックを形成することを特徴とする請求項1に記載のデータ記録再生装置。   2. The data recording according to claim 1, wherein the error correction means forms the error correction block so that the second error correction code is arranged at least at the beginning and end of the error correction block. Playback device. 上記エラー訂正手段は、1又は複数のトラック単位でエラー訂正ブロックを完結させるように、上記エラー訂正ブロックを形成することを特徴とする請求項1に記載のデータ記録再生装置。   2. The data recording / reproducing apparatus according to claim 1, wherein the error correction unit forms the error correction block so that the error correction block is completed in units of one or a plurality of tracks. 上記エラー訂正手段はリードソロモン符号方式によりエラー訂正符号を生成することを特徴とする請求項1に記載のデータ記録再生装置。   2. The data recording / reproducing apparatus according to claim 1, wherein the error correction means generates an error correction code by a Reed-Solomon code method. 上記エラー訂正手段が形成する上記エラー訂正ブロックは、上記第1又は第2のエラー訂正符号単位において、インターリーブ構造を備えることを特徴とする請求項1に記載のデータ記録再生装置。   2. The data recording / reproducing apparatus according to claim 1, wherein the error correction block formed by the error correction means has an interleave structure in the first or second error correction code unit. 上記ディスク記録媒体は、サーボ領域が、ディスク記録媒体上で放射状となるように各位置に形成されていることを特徴とする請求項1に記載のデータ記録再生装置。
2. The data recording / reproducing apparatus according to claim 1, wherein the disk recording medium is formed at each position so that servo areas are radial on the disk recording medium.
上記データアクセス手段は、上記シーク手段によりシークされたトラック上で、アクセス可能となった先頭のセクタから書込みアクセスを開始して1トラック分のアクセスを行うことを特徴とする請求項1に記載のデータ記録再生装置。   2. The data access unit according to claim 1, wherein the data access unit starts a write access from the head sector that has become accessible on the track sought by the seek unit, and performs an access for one track. Data recording / reproducing device. 上記データアクセス手段は、書込みアクセス時には、各セクタに対して、トラック上でアクセスを開始したセクタから順番に相対位置アドレスを割り振り、読出しアクセス時には、トラック上の各セクタから読出したデータを相対位置アドレスに従って再配置して、書き込まれたデータを再現することを特徴とする請求項8に記載のデータ記録再生装置。   The data access means allocates relative position addresses to each sector in order from the sector that started the access on the track at the time of write access, and reads the data read from each sector on the track at the time of read access. The data recording / reproducing apparatus according to claim 8, wherein the written data is reproduced by rearranging according to the above. 上記エラー訂正手段は、トラック当たりに2以上のエラー訂正ブロックが存在しないように、且つ、1又は複数のトラック単位でエラー訂正ブロックを完結させるように、上記エラー訂正ブロックを形成することを特徴とする請求項8に記載のデータ記録再生装置。   The error correction means is characterized in that the error correction block is formed so that two or more error correction blocks do not exist per track and the error correction block is completed in units of one or more tracks. The data recording / reproducing apparatus according to claim 8. 同心円状のトラックが形成されているとともに、上記各トラックは複数のセクタに分割されるディスク記録媒体に対するデータ記録再生方法として、
目的とするトラックをシークするシークステップと、
該シークされたトラック上でアクセスを行うデータアクセスステップと、
データをエラー訂正するためのエラー訂正符号を生成するとともにエラー訂正符号に基づいてデータをエラー訂正するエラー訂正ステップとを備え、
上記エラー訂正ステップでは、所定のデータ量単位に対して第1のエラー訂正符号単位を設定し、また複数個の第1のエラー訂正符号単位に対する第2のエラー訂正符号単位を設定し、複数個の上記第1のエラー訂正符号単位及びこれに対して付加された上記第2のエラー訂正符号単位からなるエラー訂正ブロックを形成するとともに、上記第2のエラー訂正符号によるセクタが、上記シークステップで上記ディスク記録媒体上の或るトラックに移動した際に上記データアクセスステップによる最初の読出しセクタとなるように、上記エラー訂正ブロックを生成することを特徴とするデータ記録再生方法。
As a data recording / reproducing method for a disk recording medium in which concentric tracks are formed and each track is divided into a plurality of sectors,
Seek step to seek the desired track;
A data access step for accessing on the sought track;
An error correction step for generating an error correction code for error correction of the data and correcting the error of the data based on the error correction code; and
In the error correction step, a first error correction code unit is set for a predetermined data amount unit, a second error correction code unit is set for a plurality of first error correction code units, and a plurality of error correction code units are set. Forming an error correction block composed of the first error correction code unit and the second error correction code unit added thereto, and a sector by the second error correction code is formed in the seek step. A data recording / reproducing method, characterized in that the error correction block is generated so as to become the first read sector in the data access step when moving to a certain track on the disk recording medium.
上記エラー訂正ステップでは、少なくとも上記エラー訂正ブロックにおける先頭に上記第2のエラー訂正符号が配置されるように、上記エラー訂正ブロックを形成することを特徴とする請求項11に記載のデータ記録再生方法。   12. The data recording / reproducing method according to claim 11, wherein in the error correction step, the error correction block is formed so that the second error correction code is arranged at least at the head of the error correction block. . 上記エラー訂正ステップでは、少なくとも上記エラー訂正ブロックにおける先頭と終端に上記第2のエラー訂正符号が配置されるように、上記エラー訂正ブロックを形成することを特徴とする請求項11に記載のデータ記録再生方法。   12. The data recording according to claim 11, wherein in the error correction step, the error correction block is formed so that the second error correction code is arranged at least at the beginning and end of the error correction block. Playback method. 上記エラー訂正ステップでは、1又は複数のトラック単位でエラー訂正ブロックを完結させるように、上記エラー訂正ブロックを形成することを特徴とする請求項11に記載のデータ記録再生方法。   12. The data recording / reproducing method according to claim 11, wherein in the error correction step, the error correction block is formed so that the error correction block is completed in units of one or a plurality of tracks. 上記エラー訂正ステップではリードソロモン符号方式によりエラー訂正符号を生成することを特徴とする請求項11に記載のデータ記録再生方法。   12. The data recording / reproducing method according to claim 11, wherein in the error correction step, an error correction code is generated by a Reed-Solomon code method. 上記エラー訂正ステップで形成される上記エラー訂正ブロックは、上記第1又は第2のエラー訂正符号単位において、インターリーブ構造を備えることを特徴とする請求項11に記載のデータ記録再生方法。   12. The data recording / reproducing method according to claim 11, wherein the error correction block formed in the error correction step has an interleave structure in the first or second error correction code unit. 上記データアクセスステップでは、上記シークステップによりシークされたトラック上で、アクセス可能となった先頭のセクタから書込みアクセスを開始して1トラック分のアクセスを行うことを特徴とする請求項11に記載のデータ記録再生方法。   12. The data access step according to claim 11, wherein write access is started from the head sector that has become accessible on the track sought by the seek step, and one track is accessed. Data recording and playback method. 上記データアクセスステップでは、書込みアクセス時には、各セクタに対して、トラック上でアクセスを開始したセクタから順番に相対位置アドレスを割り振り、読出しアクセス時には、トラック上の各セクタから読出したデータを相対位置アドレスに従って再配置して、書き込まれたデータを再現することを特徴とする請求項17に記載のデータ記録再生方法。   In the above data access step, at the time of write access, the relative position address is assigned to each sector in order from the sector that started the access on the track, and at the time of read access, the data read from each sector on the track is assigned to the relative position address. The data recording / reproducing method according to claim 17, wherein the written data is reproduced by rearranging according to the above. 上記エラー訂正ステップでは、トラック当たりに2以上のエラー訂正ブロックが存在しないように、且つ、1又は複数のトラック単位でエラー訂正ブロックを完結させるように、上記エラー訂正ブロックを形成することを特徴とする請求項17に記載のデータ記録再生方法。   In the error correction step, the error correction block is formed so that there are no two or more error correction blocks per track and the error correction block is completed in units of one or more tracks. The data recording / reproducing method according to claim 17. 同心円状のトラックが形成されているとともに、上記各トラックは複数のセクタに分割されるディスク記録媒体に対するデータ記録再生処理をコンピュータシステム上で実行するためにコンピュータ可読形式で記述されたプログラムとして、
目的とするトラックをシークするシークステップと、
該シークされたトラック上でアクセスを行うデータアクセスステップと、
データをエラー訂正するためのエラー訂正符号を生成するとともにエラー訂正符号に基づいてデータをエラー訂正するエラー訂正ステップとを備え、
上記エラー訂正ステップでは、所定のデータ量単位に対して第1のエラー訂正符号単位を設定し、また複数個の第1のエラー訂正符号単位に対する第2のエラー訂正符号単位を設定し、複数個の上記第1のエラー訂正符号単位及びこれに対して付加された上記第2のエラー訂正符号単位からなるエラー訂正ブロックを形成するとともに、上記第2のエラー訂正符号によるセクタが、上記シークステップで上記ディスク記録媒体上の或るトラックに移動した際に上記データアクセスステップによる最初の読出しセクタとなるように、上記エラー訂正ブロックを生成するようにしたプログラム。
Concentric tracks are formed, and each track is a program described in a computer-readable format for executing data recording / reproduction processing on a disk recording medium divided into a plurality of sectors on a computer system.
Seek step to seek the desired track;
A data access step for accessing on the sought track;
An error correction step for generating an error correction code for error correction of the data and correcting the error of the data based on the error correction code; and
In the error correction step, a first error correction code unit is set for a predetermined data amount unit, a second error correction code unit is set for a plurality of first error correction code units, and a plurality of error correction code units are set. Forming an error correction block composed of the first error correction code unit and the second error correction code unit added thereto, and a sector by the second error correction code is formed in the seek step. A program for generating the error correction block so that it becomes the first read sector in the data access step when moving to a certain track on the disk recording medium.
上記エラー訂正ステップでは、少なくとも上記エラー訂正ブロックにおける先頭に上記第2のエラー訂正符号が配置されるように、上記エラー訂正ブロックを形成するようにした請求項20に記載のプログラム。   21. The program according to claim 20, wherein in the error correction step, the error correction block is formed so that the second error correction code is arranged at least at the head of the error correction block. 上記エラー訂正ステップでは、少なくとも上記エラー訂正ブロックにおける先頭と終端に上記第2のエラー訂正符号が配置されるように、上記エラー訂正ブロックを形成するようにした請求項20に記載のプログラム。   21. The program according to claim 20, wherein in the error correction step, the error correction block is formed so that the second error correction code is arranged at least at the beginning and end of the error correction block. 上記エラー訂正ステップでは、1又は複数のトラック単位でエラー訂正ブロックを完結させるように、上記エラー訂正ブロックを形成するようにした請求項20に記載のプログラム。   The program according to claim 20, wherein in the error correction step, the error correction block is formed so that the error correction block is completed in units of one or a plurality of tracks. 上記エラー訂正ステップではリードソロモン符号方式によりエラー訂正符号を生成するようにした請求項20に記載のプログラム。   21. The program according to claim 20, wherein in the error correction step, an error correction code is generated by a Reed-Solomon code method. 上記エラー訂正ステップで形成される上記エラー訂正ブロックは、上記第1又は第2のエラー訂正符号単位において、インターリーブ構造を備えるようにした請求項20に記載のプログラム。   21. The program according to claim 20, wherein the error correction block formed in the error correction step has an interleave structure in the first or second error correction code unit. 上記データアクセスステップでは、上記シークステップによりシークされたトラック上で、アクセス可能となった先頭のセクタから書込みアクセスを開始して1トラック分のアクセスを行うようにした請求項20に記載のプログラム。   21. The program according to claim 20, wherein in the data access step, write access is started from the head sector that has become accessible on the track sought by the seek step, and access for one track is performed. 上記データアクセスステップでは、書込みアクセス時には、各セクタに対して、トラック上でアクセスを開始したセクタから順番に相対位置アドレスを割り振り、読出しアクセス時には、トラック上の各セクタから読出したデータを相対位置アドレスに従って再配置して、書き込まれたデータを再現するようにした請求項26に記載のプログラム。   In the above data access step, at the time of write access, the relative position address is assigned to each sector in order from the sector that started the access on the track, and at the time of read access, the data read from each sector on the track is assigned to the relative position address. 27. The program according to claim 26, wherein the program is rearranged to reproduce the written data. 上記エラー訂正ステップでは、トラック当たりに2以上のエラー訂正ブロックが存在しないように、且つ、1又は複数のトラック単位でエラー訂正ブロックを完結させるように、上記エラー訂正ブロックを形成するようにした請求項26に記載のプログラム。   In the error correction step, the error correction block is formed so that two or more error correction blocks do not exist per track and the error correction block is completed in units of one or a plurality of tracks. Item 26. The program according to item 26. 所定のデータ量単位に対して第1のエラー訂正符号単位が設定され、また複数個の第1のエラー訂正符号単位に対する第2のエラー訂正符号単位が設定され、複数個の上記第1のエラー訂正符号単位及びこれに対して付加された上記第2のエラー訂正符号単位からなるエラー訂正ブロックが形成されるとともに、
上記エラー訂正ブロックは、上記第2のエラー訂正符号によるセクタが、シーク動作により或るトラックに移動した際に最初の読出しセクタとなるように設定されており、
上記エラー訂正ブロックの構成を有するデータが、上記各記録トラックに記録されること特徴とする記録媒体。
A first error correction code unit is set for a predetermined data amount unit, a second error correction code unit for a plurality of first error correction code units is set, and a plurality of the first error correction code units are set. An error correction block including a correction code unit and the second error correction code unit added thereto is formed,
The error correction block is set so that the sector by the second error correction code becomes the first read sector when it moves to a certain track by a seek operation,
A recording medium in which data having the configuration of the error correction block is recorded on each recording track.
JP2003294869A 2003-08-18 2003-08-19 Data recording / reproducing apparatus, data recording / reproducing method, program, and recording medium Expired - Fee Related JP4082308B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2003294869A JP4082308B2 (en) 2003-08-19 2003-08-19 Data recording / reproducing apparatus, data recording / reproducing method, program, and recording medium
MYPI20043337A MY147104A (en) 2003-08-18 2004-08-17 Data recording/reproducing device, data recording/reproducing method, program, and recording medium
KR1020040064843A KR20050020650A (en) 2003-08-18 2004-08-17 Data recording/reproducing device, data recording/reproducing method, program, and recording medium
US10/920,583 US7308637B2 (en) 2003-08-18 2004-08-18 Data recording/reproducing device, data recording/reproducing method, program, and recording medium
TW093124878A TW200509066A (en) 2003-08-18 2004-08-18 Data recording/reproducing device, data recording/reproducing method, program, and recording medium
CNB2004101023543A CN100353448C (en) 2003-08-18 2004-08-18 Data recording/reproducing device, data recording/reproducing method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003294869A JP4082308B2 (en) 2003-08-19 2003-08-19 Data recording / reproducing apparatus, data recording / reproducing method, program, and recording medium

Publications (3)

Publication Number Publication Date
JP2005063602A JP2005063602A (en) 2005-03-10
JP2005063602A5 JP2005063602A5 (en) 2005-06-16
JP4082308B2 true JP4082308B2 (en) 2008-04-30

Family

ID=34371272

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003294869A Expired - Fee Related JP4082308B2 (en) 2003-08-18 2003-08-19 Data recording / reproducing apparatus, data recording / reproducing method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP4082308B2 (en)

Also Published As

Publication number Publication date
JP2005063602A (en) 2005-03-10

Similar Documents

Publication Publication Date Title
KR101077520B1 (en) Data recording/reproducing system, data recording/reproducing method, program, and recording medium
US7027256B1 (en) Disk drive having servo sectors that store repeatable runout correction values and related error correction code data
JP3760899B2 (en) Data recording / reproducing apparatus, data recording / reproducing method, and computer program
JP2006294163A (en) Disk drive
JP2008192263A (en) Disk drive apparatus and its error recovery method
US7308637B2 (en) Data recording/reproducing device, data recording/reproducing method, program, and recording medium
KR101071853B1 (en) Data recording/reproducing apparatus, data recording/reproducing method, and recording medium
JP3865723B2 (en) Method for recording data in hard disk drive and control device therefor
US7898757B2 (en) Hard disk drive with divided data sectors and hard disk drive controller for controlling the same
JP2005346816A (en) Data storage device and its control method
JP4082308B2 (en) Data recording / reproducing apparatus, data recording / reproducing method, program, and recording medium
JP4269844B2 (en) Data recording / reproducing apparatus, data recording / reproducing method, program, and recording medium
JP4598417B2 (en) Data recording / reproducing apparatus, data recording / reproducing method, program, and recording medium
JP4694774B2 (en) Data recording / reproducing apparatus, data recording / reproducing method, program, and recording medium
JP3307529B2 (en) Data processing method and data storage device
JP4075713B2 (en) Data recording / reproducing apparatus, data recording / reproducing method, program, and recording medium
JP2006031825A (en) Recording and reproducing control method, and recording and reproducing control apparatus
JP2005235334A (en) Data recording and reproducing apparatus, data recording and reproducing method, program, and recording medium
JP2009289391A (en) Magnetic recording and playback device, magnetic recording medium, data recording method of magnetic recording and playback device, and data playback method of magnetic recording and playback device
JP2007287252A (en) Erasure method of disk recording surface
JP2006146976A (en) Recording/reproducing system, error correction device, and recording/reproducing method
JP2002216426A (en) Information recording system
JP2000076786A (en) Disk still picture recording method and disk still picture recording and reproducing device
JP2004070979A (en) Disk drive
JP2009099158A (en) Disk playback device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041125

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041125

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080122

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080204

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110222

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees