JPH103752A - Data recording and reproducing device and deciding method for sector to be substituted in the device - Google Patents

Data recording and reproducing device and deciding method for sector to be substituted in the device

Info

Publication number
JPH103752A
JPH103752A JP15548796A JP15548796A JPH103752A JP H103752 A JPH103752 A JP H103752A JP 15548796 A JP15548796 A JP 15548796A JP 15548796 A JP15548796 A JP 15548796A JP H103752 A JPH103752 A JP H103752A
Authority
JP
Japan
Prior art keywords
sector
spare
disk
track
defective
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP15548796A
Other languages
Japanese (ja)
Inventor
Yasuhiko Ichikawa
靖彦 市川
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP15548796A priority Critical patent/JPH103752A/en
Publication of JPH103752A publication Critical patent/JPH103752A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PROBLEM TO BE SOLVED: To decide a sector to be substituted in which an executing time in access for a sector already substitution-processed is made the minimum. SOLUTION: When a sector to be substituted for a defective sector on a disk 1 is decided, a CPU 10 discriminates whether remainder obtd, by dividing a seek time required for seeking a spare track head 2 on the disk 1 from a track in which this defective sector exists by one rotation time of the disk 1 is less than 1/2 rotation time or not. When the remainder is less than 1/2 rotation time, a spare sector placed at a physical position on an opposed side to a physical position of the defective sector with respect to the center of the disk 1 is decided as a sector to be substituted for the defective sector among the spare tracks, when the remainder is more than 1/2 rotation time, a spare sector placed at a physical position on the same side with a physical position of the defective sector with respect to the center of the disk 1 is decided as a sector to be substituted for the defective sector among the spare tracks.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、欠陥セクタの代替
先セクタをスペアトラックの中から選択的に割り当てる
のに好適なデータ記録再生装置及び同装置における代替
先セクタ決定方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a data recording / reproducing apparatus suitable for selectively allocating a replacement destination sector of a defective sector from spare tracks and a method of determining a replacement destination sector in the apparatus.

【0002】[0002]

【従来の技術】ヘッドによりデータの記録差再生を行
う、磁気ディスク装置に代表されるデータ記録再生装置
では、記録媒体(メディア、ディスク)上の欠陥等によ
り正しくリード/ライトしにくいセクタが発生した場合
に、そのセクタを欠陥セクタであるとして使用するのを
止め、予め欠陥セクタの再配置(代替)用に用意してあ
るスペアトラック(代替先トラック)の中から代替先セ
クタを決定して割り当てる代替処理を行うのが一般的で
ある。
2. Description of the Related Art In a data recording / reproducing apparatus typified by a magnetic disk apparatus which performs data recording / reproducing with a head, sectors which are difficult to read / write correctly due to defects on a recording medium (media, disk) have occurred. In this case, use of the sector as a defective sector is stopped, and an alternative destination sector is determined and assigned from spare tracks (alternate destination tracks) prepared for relocation (alternative) of the defective sector in advance. Generally, an alternative process is performed.

【0003】従来、この代替処理における代替先セクタ
の決定方法は、欠陥セクタの物理セクタ番号(ディスク
上の物理的な位置)に拘らず、スペアトラック上の先頭
物理セクタから順番に割り当てるものであった。
Conventionally, a method of determining a replacement destination sector in this replacement process is to allocate the defective sector in order from the first physical sector on the spare track, regardless of the physical sector number (physical position on the disk) of the defective sector. Was.

【0004】以上のような代替処理が行われたセクタを
含む連続するセクタ群に対するアクセスを行う場合、ス
ペアトラックへシークして代替先セクタをアクセスし、
しかる後に元のトラックにシークする必要があることか
ら、通常セクタをアクセスする場合に比べて、(スペア
トラックへのシーク時間+代替先セクタまでの回転待ち
時間+元のトラックへのシーク時間+次のセクタまでの
回転待ち時間)だけ実行時間が増加する。ここで、代替
先セクタまでの回転待ち時間、及び次のセクタまでの回
転待ち時間は、いずれも最大(ディスクの)1回転時間
となる。
[0004] When accessing a continuous sector group including a sector on which the above-described replacement processing has been performed, a spare track is sought to access a replacement destination sector.
Then, since it is necessary to seek to the original track, (seek time to the spare track + rotation waiting time to the alternative destination sector + seek time to the original track + next time) The execution time is increased by the rotation waiting time up to the sector of ()). Here, the rotation waiting time up to the replacement destination sector and the rotation waiting time up to the next sector are both one rotation time (of the disk) at maximum.

【0005】[0005]

【発明が解決しようとする課題】このように、代替処理
が行われたセクタへのアクセス(リード/ライトアクセ
ス)を行った場合、通常セクタをアクセスする場合に比
べて、(スペアトラックへのシーク時間+代替先セクタ
までの回転待ち時間+元のトラックへのシーク時間+次
のセクタまでの回転待ち時間)だけ実行時間が増加す
る。しかも、上記した従来技術においては、欠陥セクタ
の物理セクタ番号に無関係に代替先セクタを決定してお
り、欠陥セクタの物理位置と代替先セクタの物理位置と
の間の位置関係についての規定がないため、代替先セク
タまでの回転待ち時間、及び次のセクタまでの回転待ち
時間が、いずれも最大(ディスクの)1回転時間とな
り、場合によっては実行時間が大幅に増加するという問
題があった。
As described above, the access (read / write access) to the sector on which the replacement process has been performed is compared with the case of accessing the normal sector (the seek to the spare track). Execution time is increased by (time + rotation waiting time to alternative destination sector + seek time to original track + rotation waiting time to next sector). Moreover, in the above-described conventional technology, the replacement destination sector is determined irrespective of the physical sector number of the defective sector, and there is no regulation on the positional relationship between the physical location of the defective sector and the physical location of the replacement destination sector. Therefore, both the rotation waiting time to the replacement destination sector and the rotation waiting time to the next sector become one rotation time (of the disk) at the maximum, and there is a problem that the execution time is greatly increased in some cases.

【0006】本発明は上記事情を考慮してなされたもの
でその目的は、欠陥セクタに対して代替先セクタを割り
当てる代替処理において、欠陥セクタの物理位置と欠陥
セクタが存在するトラックからスペアトラックまでシー
クする際に必要な時間を考慮して、代替処理が行われた
セクタへのアクセスでの実行時間が最小になるような代
替先セクタを決定することで、代替処理によるパフォー
マンスの低下を最小限に抑えることができるデータ記録
再生装置及び同装置における代替先セクタ決定方法を提
供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to provide a replacement process for assigning a replacement destination sector to a defective sector, from the physical position of the defective sector to the spare track to the spare track. Considering the time required for seeking, determine the replacement destination sector that minimizes the execution time in accessing the sector where the replacement processing was performed, thereby minimizing the performance degradation due to the replacement processing It is an object of the present invention to provide a data recording / reproducing apparatus capable of suppressing the number of sectors and a method of determining an alternative destination sector in the apparatus.

【0007】[0007]

【課題を解決するための手段】本発明は、欠陥セクタの
再配置用の複数のスペアセクタからなるスペアトラック
が確保されたディスクを備えたデータ記録再生装置に、
上記スペアトラックの中から欠陥セクタの代替先となる
スペアセクタ(代替先セクタ)を決定する代替先セクタ
決定手段を設け、上記欠陥セクタが存在するトラックか
ら上記スペアトラックへシークするのに要するシーク時
間とディスクの1回転時間とで決まる値、例えばシーク
時間をディスクの1回転時間で割った余りをもとに、デ
ィスクの中心に対して欠陥セクタの物理的位置と反対側
の物理的位置にあるスペアセクタ、またはディスクの中
心に対して欠陥セクタの物理的位置と同じ側の物理的位
置にあるスペアセクタのいずれか一方を欠陥セクタの代
替先セクタとして決定するようにしたことを特徴とす
る。
SUMMARY OF THE INVENTION The present invention relates to a data recording / reproducing apparatus provided with a disk in which a spare track including a plurality of spare sectors for relocating defective sectors is secured.
An alternative destination sector determining means for determining a spare sector (alternative destination sector) as a replacement destination of a defective sector from among the spare tracks is provided, and a seek time required to seek from the track where the defective sector exists to the spare track is provided. Based on a value determined by one rotation time of the disk, for example, a remainder obtained by dividing a seek time by one rotation time of the disk, a spare sector at a physical position opposite to the physical position of the defective sector with respect to the center of the disk. , Or one of the spare sectors located at the same physical position as that of the defective sector with respect to the center of the disk is determined as the replacement destination sector of the defective sector.

【0008】ここで、欠陥セクタの代替先セクタを決定
するための上記余りの基準値としてディスクの1回転時
間の1/2を導入し、代替先セクタ決定手段では、上記
余りが1/2回転時間未満であるならばディスクの中心
に対して欠陥セクタの物理的位置と反対側の物理的位置
にあるスペアセクタが、1/2回転時間以上であるなら
ばディスクの中心に対して欠陥セクタの物理的位置と同
じ側の物理的位置にあるスペアセクタが、代替先セクタ
として決定される構成とするとよい。そのため、上記余
りが1/2回転時間未満であるか否かを判定する判定手
段を設けるとよい。なお、上記余り、即ち欠陥セクタが
存在するトラックからスペアトラックへシークするのに
要するシーク時間をディスクの1回転時間で割った余り
が(ディスクの)1/2回転時間未満であるか否かを判
定することは、この割り算値の小数部が1/2未満であ
るか否かを判定すること、更には上記シークの間におけ
るディスク上の所定箇所(例えば欠陥セクタ)の相対的
な変位角度の360度に対する割合が1/2未満である
か否かを判定すること等と等価である。よって、本願発
明において、欠陥セクタが存在するトラックからスペア
トラックへシークするのに要するシーク時間をディスク
の1回転時間で割った余りをもとに代替先セクタを決定
することには、欠陥セクタが存在するトラックからスペ
アトラックへシークするのに要するシーク時間をディス
クの1回転時間で割った値の小数部をもとに代替先セク
タを決定すること、更には欠陥セクタが存在するトラッ
クからスペアトラックへシークする間におけるディスク
上の所定箇所の相対的変位角度の360度に対する割合
をもとに代替先セクタを決定することも含むものとす
る。
Here, 1 / of one rotation time of the disk is introduced as a reference value of the remainder for determining the replacement destination sector of the defective sector, and the replacement destination sector determining means determines that the remainder is 回 転 rotation. If it is less than the time, the spare sector at the physical position opposite to the physical position of the defective sector with respect to the center of the disk is less than 1/2 rotation time, and the physical size of the defective sector with respect to the center of the disk is more than 1/2 rotation time. The spare sector located at the same physical position as the target position may be determined as the replacement destination sector. Therefore, it is preferable to provide a determination means for determining whether or not the remainder is less than 1/2 rotation time. It should be noted that whether the remainder, that is, the remainder obtained by dividing the seek time required for seeking from a track having a defective sector to a spare track by one rotation time of the disk, is less than 1/2 rotation time of the disk. The determination is to determine whether or not the fractional part of the divided value is less than 更 に. Further, the relative displacement angle of a predetermined position (for example, a defective sector) on the disk during the seek is determined. This is equivalent to determining whether the ratio with respect to 360 degrees is less than 1/2. Therefore, in the present invention, determining a replacement destination sector based on a remainder obtained by dividing a seek time required for seeking from a track having a defective sector to a spare track by one rotation time of the disk requires that the defective sector be determined. Determining an alternative destination sector based on a fractional part of a value obtained by dividing a seek time required to seek from an existing track to a spare track by one rotation time of a disk; It is assumed that the alternative sector is determined based on a ratio of a relative displacement angle of a predetermined position on the disk to 360 degrees during the seek operation.

【0009】ここで、CDR方式のフォーマットを適用
したディスクの場合、欠陥セクタのセクタ番号をi、当
該欠陥セクタが存在するトラックが属するゾーンをZ
n、そのゾーンZnのデータセクタ数をN、スペアトラ
ックが属するゾーンをZm、そのゾーンZmのデータセ
クタ数をMとすると、ディスクの中心に対して欠陥セク
タの物理的位置と反対側の物理的位置にあるスペアセク
タのセクタ番号fは、 f={(i/N)*M+(M/2)}の整数部 の計算により、ディスクの中心に対して欠陥セクタの物
理的位置と同じ側の物理的位置にあるスペアセクタのセ
クタ番号fは f={(i/N)*M}の整数部 の計算により、求めるとよい。
Here, in the case of a disk to which the CDR format is applied, the sector number of the defective sector is i, and the zone to which the track in which the defective sector exists is Z.
n, the number of data sectors in the zone Zn is N, the zone to which the spare track belongs is Zm, and the number of data sectors in the zone Zm is M, the physical location opposite to the physical location of the defective sector with respect to the center of the disk. The sector number f of the spare sector at the position is calculated by calculating the integer part of f = {(i / N) * M + (M / 2)}. The sector number f of the spare sector at the target position may be obtained by calculating the integer part of f = {(i / N) * M}.

【0010】この他、代替先セクタとして決定したスペ
アセクタが既に他の欠陥セクタの代替先セクタとして使
用済みの場合には代替先セクタの再決定を行い、未使用
のスペアセクタのうち代替先セクタとして決定したスペ
アセクタに最も近い位置のスペアセクタを新たに代替先
セクタとして決定するようにするとよい。
In addition, if the spare sector determined as the replacement destination sector has already been used as a replacement destination sector for another defective sector, the replacement destination sector is determined again, and the spare sector is determined as the replacement destination sector among the unused spare sectors. The spare sector located closest to the spare sector thus determined may be newly determined as the replacement destination sector.

【0011】このような構成においては、欠陥セクタの
物理位置と欠陥セクタが存在するトラックからスペアト
ラックまでシークする際に必要な時間(シーク時間)を
考慮して欠陥セクタの代替先セクタが決定されることか
ら、代替処理済みのセクタへのアクセスでの実行時間が
極力少なくできるような代替先セクタを決定することが
できる。
In such a configuration, the replacement destination sector of the defective sector is determined in consideration of the physical position of the defective sector and the time (seek time) required for seeking from the track where the defective sector exists to the spare track. Therefore, it is possible to determine an alternative destination sector that can minimize the execution time in accessing the sector that has been subjected to the alternative processing.

【0012】特に、上記のシーク時間をディスクの1回
転時間で割った余りが1/2回転時間未満のときに、デ
ィスクの中心に対して欠陥セクタの物理的位置と反対側
の物理的位置にあるスペアセクタを欠陥セクタの代替先
セクタとして代替処理し、上記余りが1/2回転時間以
上のときに、ディスクの中心に対して欠陥セクタの物理
的位置と同じ側の物理的位置にあるスペアセクタを欠陥
セクタの代替先セクタとして代替処理するならば、この
代替処理済みのセクタを含む連続するセクタ群へのアク
セスが発生した場合の実行時間の増加を以下に述べるよ
うに最小限に抑えることが可能となる。
In particular, when the remainder obtained by dividing the above-mentioned seek time by one rotation time of the disk is less than 1/2 rotation time, the physical position opposite to the physical position of the defective sector with respect to the center of the disk is determined. A spare sector is replaced as a replacement destination sector for a defective sector, and when the remainder is equal to or longer than 1/2 rotation time, a spare sector located at the same physical position as the physical position of the defective sector with respect to the center of the disk is used. If replacement processing is performed as a replacement destination sector for a defective sector, an increase in execution time when access to a continuous sector group including the replacement-processed sector occurs can be minimized as described below. Becomes

【0013】まず、代替処理済みセクタを含むセクタ群
へのアクセスの場合、代替処理済みセクタ(欠陥セク
タ)の1つ前のセクタをアクセスすると、この代替処理
済みセクタ(欠陥セクタ)の代替先セクタをアクセスす
るために、そこからスペアトラックへのシークが行われ
る。ここでのシーク時間が、ディスクの1回転時間の例
えば1/2倍未満となるような場合(このとき、上記余
りは1/2回転時間未満となる)には、ディスクの中心
に対して欠陥セクタの物理的位置と反対側の(スペアト
ラック上の)物理的位置にあるスペアセクタに代替先が
割り当てられていることから、代替先セクタがヘッドを
通過する前にシークが完了し、代替先セクタのアクセス
をディスクの回転待ちなしで行うことができる。
First, in the case of accessing a sector group including a sector that has been subjected to replacement processing, if the sector immediately preceding the sector that has been subjected to replacement processing (defective sector) is accessed, the replacement destination sector of this sector that has been subjected to replacement processing (defective sector) is accessed. To access the spare track from there. If the seek time here is less than, for example, half the rotation time of the disk (in this case, the remainder is less than half the rotation time), the center of the disk is defective. Since the replacement destination is assigned to the spare sector at the physical position (on the spare track) opposite to the physical position of the sector, the seek is completed before the replacement destination sector passes the head, and the replacement destination sector is Can be accessed without waiting for the rotation of the disk.

【0014】また、代替先セクタをアクセスすると、次
のセクタ、即ち代替処理済みセクタ(欠陥セクタ)の1
つ後のセクタをアクセスするために、そこから元の代替
処理済みセクタ(欠陥セクタ)のあるトラックへのシー
クが行われる。ここでのシーク時間は、ディスクの1回
転時間の1/2倍未満であるため、代替処理済みセクタ
の次のセクタがヘッド2を通過する前にシークが完了
し、当該次のセクタを回転待ちなしでアクセスできる。
When the replacement destination sector is accessed, the next sector, that is, one of the replacement-processed sectors (defective sectors) is accessed.
In order to access the next sector, a seek is performed from there to the track having the original replacement-processed sector (defective sector). Since the seek time here is less than one half of one rotation time of the disk, the seek is completed before the next sector of the alternative-processed sector passes the head 2, and the next sector is waited for rotation. Accessible without.

【0015】以上により、代替処理済みセクタ(欠陥セ
クタ)のあるトラックとスペアトラックとの間のシーク
に要する時間がディスクの1回転時間の1/2倍未満の
場合には、代替処理済みセクタ(欠陥セクタ)のないセ
クタ群へのアクセスの場合と比較して、ディスクの1回
転時間の実行時間の増加のみで済む。
As described above, if the time required for seeking between the track having the replacement-processed sector (defective sector) and the spare track is less than half the rotation time of the disk, the replacement-processed sector (defective sector) is used. As compared with the case of accessing a group of sectors having no defective sector), only the execution time of one rotation time of the disk needs to be increased.

【0016】次に、代替処理済みセクタ(欠陥セクタ)
のあるトラックとスペアトラックとの間のシークに要す
る時間がディスクの1回転時間の例えば1/2倍以上1
倍未満の場合(このとき、上記余りは1/2回転時間以
上となる)には、ディスクの中心に対して欠陥セクタの
物理的位置と同じ側の(スペアトラック上の)物理的位
置にあるスペアセクタに代替先が割り当てられているこ
とから、代替処理済みセクタ(欠陥セクタ)の1つ前の
セクタをアクセスした後に、代替先セクタをアクセスす
るためにスペアトラックにシークすると、代替先セクタ
がヘッドを通過する前にシークが完了し、代替先セクタ
のアクセスをディスクの回転待ちなしで行うことができ
る。また、代替先セクタをアクセスした後に、次のセク
タをアクセスするために元のトラックにシークすると、
当該次のセクタがヘッドを通過する前にシークが完了
し、当該次のセクタのアクセスをディスクの回転待ちな
しで行うことができる。
Next, an alternative processed sector (defective sector)
The time required for seeking between a track having a track and a spare track is, for example, 倍 times or more of one rotation time of the disk and 1
If it is less than twice (at this time, the remainder is equal to or longer than 1/2 rotation time), it is at the same physical position (on the spare track) as the physical position of the defective sector with respect to the center of the disk. Since the replacement destination is assigned to the spare sector, if a seek is made to the spare track to access the replacement destination sector after accessing the sector immediately before the replacement-processed sector (defective sector), the replacement destination sector becomes the head. The seek is completed before passing through, and the replacement destination sector can be accessed without waiting for the rotation of the disk. Also, if you seek to the original track to access the next sector after accessing the alternative destination sector,
The seek is completed before the next sector passes through the head, and the next sector can be accessed without waiting for the rotation of the disk.

【0017】以上により、代替処理済みセクタ(欠陥セ
クタ)のあるトラックとスペアトラックとの間のシーク
に要する時間がディスクの1回転時間の1/2倍以上1
倍未満の場合には、代替処理済みセクタ(欠陥セクタ)
のないセクタ群へのアクセスの場合と比較してディスク
の2回転時間の実行時間の増加のみで済む。
As described above, the time required for seeking between the track having the replacement-processed sector (defective sector) and the spare track is 1 / or more of one rotation time of the disk and 1 or more.
If less than twice, the replacement processed sector (defective sector)
It is only necessary to increase the execution time for two rotation times of the disk as compared with the case of accessing a sector group without any data.

【0018】このことから、ディスク上に1つまたは複
数のスペアトラックを配置するのに、ディスク上の全ト
ラック(データエリア内のトラック)から、そのトラッ
クに最も近いスペアトラックにディスクの1/2回転時
間内でシークできるようにすることを考慮するならば、
代替処理済みセクタ(を含む連続するセクタ群)のアク
セスを最も効率良く行うことができる。
From this, when arranging one or a plurality of spare tracks on a disk, a half of the disk is moved from all the tracks (tracks in the data area) on the disk to the spare track closest to the track. If you want to be able to seek within the rotation time,
It is possible to access the replacement-processed sector (including a continuous sector group) most efficiently.

【0019】[0019]

【発明の実施の形態】以下、本発明を磁気ディスク装置
に適用した実施の形態につき図面を参照して説明する。
図1は本発明の一実施形態に係る磁気ディスク装置の構
成を示すブロック図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a magnetic disk drive will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a magnetic disk drive according to one embodiment of the present invention.

【0020】図1において、1はデータが記録される媒
体であるディスク(磁気ディスク)、2はディスク1へ
のデータ書き込み(データ記録)及びディスク1からの
データ読み出し(データ再生)に用いられるヘッド(磁
気ヘッド)である。このヘッド2は、ディスク1の各デ
ータ面に対応してそれぞれ設けられる。
In FIG. 1, 1 is a disk (magnetic disk) as a medium on which data is recorded, and 2 is a head used for writing data to the disk 1 (data recording) and reading data from the disk 1 (data reproduction). (Magnetic head). The head 2 is provided corresponding to each data surface of the disk 1.

【0021】ディスク1の両面には図2に示したように
同心円状の多数のトラックが形成され、各トラックは複
数のセクタ(サーボセクタ)101に分割されている。
各サーボセクタ101は、位置決め制御等に用いられる
(シリンダ番号を示すシリンダデータ及びシリンダデー
タの示すシリンダ内の位置誤差を波形の振幅で示すため
のバーストデータを含む)サーボデータが記録されたサ
ーボ領域102と、データ(ユーザデータ)が記録され
るユーザ領域103からなる。各サーボ領域102は、
ディスク1上では中心から各トラックを渡って放射状に
配置されている。各ユーザ領域103には、複数のデー
タセクタが設定される。
As shown in FIG. 2, a large number of concentric tracks are formed on both surfaces of the disk 1, and each track is divided into a plurality of sectors (servo sectors) 101.
Each servo sector 101 includes a servo area 102 in which servo data used for positioning control and the like (including cylinder data indicating a cylinder number and burst data for indicating a position error in a cylinder indicated by the cylinder data by a waveform amplitude) is recorded. And a user area 103 in which data (user data) is recorded. Each servo area 102
On the disk 1, they are arranged radially across the tracks from the center. In each user area 103, a plurality of data sectors are set.

【0022】本実施形態におけるディスク1は、CDR
(Constant Density Recording)方式(のフォーマッ
ト)を適用している。CDR方式では、図2の概略図に
示すように、ディスク1上が半径方向に複数のゾーン
(ここではZ0〜Z2の3つのゾーン)に分割され、各
ゾーンには数十から数百のトラック(シリンダ)が含ま
れている。このCDR方式では、シリンダの物理的な周
の長さを想定し、その周に対する記録密度をほぼ一定に
するようなデータセクタ構成、即ち各ゾーンによりデー
タセクタの数が異なる構成となっている。
In this embodiment, the disc 1 has a CDR
(Constant Density Recording) method (format). In the CDR system, as shown in the schematic diagram of FIG. 2, the disk 1 is divided into a plurality of zones (here, three zones Z0 to Z2) in the radial direction, and each zone has several tens to several hundred tracks. (Cylinder). In the CDR system, a data sector configuration in which the physical circumference of a cylinder is assumed and the recording density with respect to the circumference is substantially constant, that is, the number of data sectors differs depending on each zone.

【0023】ディスク1の各面の所定シリンダ位置のト
ラック、例えば最内周トラックは欠陥セクタの代替用の
スペアトラック104として割り当てられている。また
ディスク1の各面のデータエリアとは別の領域、例えば
スペアトラック104より内側の領域には、システムエ
リア(図示せず)が割り当てられている。このシステム
エリアには、図3に示すスペアトラック使用状況テーブ
ル111及び図4に示す代替先割り当て状況テーブル1
12が保存されるようになっている。
A track at a predetermined cylinder position on each surface of the disk 1, for example, an innermost track, is allocated as a spare track 104 for replacing a defective sector. A system area (not shown) is allocated to an area different from the data area on each surface of the disk 1, for example, an area inside the spare track 104. In this system area, the spare track use status table 111 shown in FIG. 3 and the alternative destination allocation status table 1 shown in FIG.
12 are stored.

【0024】スペアトラック使用状況テーブル111
は、ディスク1の各面のスペアトラック104毎に、そ
のトラック104内の各セクタ(スペアセクタ)が、欠
陥セクタの代替先セクタとして割り当てられているか否
かを示す。一方、代替先割り当て状況テーブル112
は、欠陥セクタの位置情報(ヘッド番号、シリンダ番号
及びセクタ番号)と、当該欠陥セクタの代替先として割
り当てられているスペアトラック104内のスペアセク
タの位置情報(ヘッド番号、シリンダ番号及びセクタ番
号)とを示す。リード/ライトアクセス時には、この代
替先割り当て状況テーブル112を参照することで、対
象となるセクタが欠陥セクタであるために代替先セクタ
(が存在するスペアトラック104にシークして当該代
替先セクタ)をアクセスする必要があるか否かを判断す
ることができる。
Spare truck use status table 111
Indicates, for each spare track 104 on each surface of the disk 1, whether or not each sector (spare sector) in the track 104 is assigned as a replacement destination sector for a defective sector. On the other hand, the alternative destination allocation status table 112
Are the position information (head number, cylinder number, and sector number) of the defective sector, the position information (head number, cylinder number, and sector number) of the spare sector in the spare track 104 assigned as a replacement destination of the defective sector. Is shown. At the time of read / write access, by referring to the alternative destination allocation status table 112, since the target sector is a defective sector, it seeks the alternative destination sector (to the spare track 104 where the existing sector is located), and It can be determined whether or not access is required.

【0025】なお、本実施形態では、テーブル111,
112を、バックアップのためにディスク1の各面のシ
ステムエリアに保存するようにしているが、特定の面の
システムエリアのみに保存するようにしても構わない。
但し、信頼性の観点からは、テーブル111,112の
バックアップがとれる構成とすることが好ましい。
In this embodiment, the tables 111, 111
Although 112 is stored in the system area of each surface of the disk 1 for backup, it may be stored only in the system area of a specific surface.
However, from the viewpoint of reliability, it is preferable that the tables 111 and 112 be backed up.

【0026】再び図1を参照すると、ディスク1はスピ
ンドルモータ(SPM)3により高速に回転する。ヘッ
ド2はキャリッジ4と称するヘッド移動機構に取り付け
られて、このキャリッジ4の移動によりディスク1の半
径方向に移動する。キャリッジ4は、ボイスコイルモー
タ(VCM)5により駆動される。
Referring again to FIG. 1, the disk 1 is rotated at a high speed by the spindle motor (SPM) 3. The head 2 is attached to a head moving mechanism called a carriage 4, and moves in the radial direction of the disk 1 by the movement of the carriage 4. The carriage 4 is driven by a voice coil motor (VCM) 5.

【0027】スピンドルモータ(SPM)3及びボイス
コイルモータ(VCM)5は、モータドライバ6に接続
されている。モータドライバ6は、スピンドルモータ3
に制御電流を流して当該モータ3を駆動する他、ボイス
コイルモータ5に制御電流を流して当該モータ5を駆動
する。この制御電流の値(制御量)は、CPU(マイク
ロプロセッサ)10の計算処理で決定され、例えばディ
ジタル値で与えられる。
The spindle motor (SPM) 3 and the voice coil motor (VCM) 5 are connected to a motor driver 6. The motor driver 6 is a spindle motor 3
The motor 3 is driven by supplying a control current to the voice coil motor 5, and the motor 5 is driven by supplying a control current to the voice coil motor 5. The value of the control current (control amount) is determined by calculation processing of the CPU (microprocessor) 10, and is given, for example, as a digital value.

【0028】各ヘッド2は例えばフレキシブルプリント
配線板(FPC)に実装されたヘッドIC7と接続され
ている。ヘッドIC7は、ヘッド2の切り替え、ヘッド
2との間のリード/ライト信号の入出力等を司るもの
で、ヘッド2で読み取られたアナログ出力を増幅するヘ
ッドアンプ71を有する。
Each head 2 is connected to a head IC 7 mounted on, for example, a flexible printed wiring board (FPC). The head IC 7 controls switching of the head 2 and inputs and outputs read / write signals to and from the head 2, and has a head amplifier 71 that amplifies an analog output read by the head 2.

【0029】ヘッドIC7はリード/ライトIC(リー
ド/ライト回路)8と接続されている。リード/ライト
IC8は、大別して、ユーザデータを処理するためのエ
ンコード/デコード機能と、サーボデータを処理するた
めの信号処理機能とを有する。
The head IC 7 is connected to a read / write IC (read / write circuit) 8. The read / write IC 8 roughly has an encode / decode function for processing user data and a signal processing function for processing servo data.

【0030】リード/ライトIC8は、ヘッド2により
ディスク1から読み出されてヘッドIC7内のヘッドア
ンプ71で増幅されたアナログ出力(ヘッド2のリード
信号)を入力し、データ再生動作に必要な信号処理、例
えばアナログ出力からNRZのデータに変換してディス
クコントローラ(HDC)14に転送する信号処理をデ
コード機能により行う。また、リード/ライトIC8
は、データ記録動作に必要な信号処理、例えばHDC1
4から送られてきたNRZデータ(ライトデータ)を変
調してディスク1に書き込むデータ(例えば2−7、1
−7変調データ)に変換してヘッドIC7に送る信号処
理をエンコード機能により行う。
The read / write IC 8 receives an analog output (read signal of the head 2) read from the disk 1 by the head 2 and amplified by the head amplifier 71 in the head IC 7, and receives a signal necessary for a data reproducing operation. Processing, for example, signal processing for converting analog output into NRZ data and transferring the data to the disk controller (HDC) 14 is performed by a decoding function. Read / write IC8
Is a signal processing required for the data recording operation, for example, HDC1
4 modulates the NRZ data (write data) sent from disc 4 and writes it to the disc 1 (eg, 2-7, 1
-7 modulated data) and sends the signal to the head IC 7 by the encoding function.

【0031】リード/ライトIC8はまた、上記した通
常のユーザデータの記録再生処理の他に、ヘッド位置決
め制御等のサーボ処理に必要なサーボデータの再生処理
を信号処理機能により実行する。即ちリード/ライトI
C8は、ヘッド2により読み出されたサーボ領域102
のサーボデータを処理してシリンダデータを含むデータ
パルスをサーボ処理回路9に出力する。またリード/ラ
イトIC8は、(サーボデータ中の)バーストデータの
ピーク値をサンプルホールドし、サーボ処理回路9に出
力する。
The read / write IC 8 executes, by a signal processing function, a servo data reproduction process necessary for servo processing such as head positioning control, in addition to the above-described normal user data recording / reproduction process. That is, read / write I
C8 is the servo area 102 read by the head 2.
And outputs a data pulse including cylinder data to the servo processing circuit 9. Further, the read / write IC 8 samples and holds the peak value of the burst data (in the servo data) and outputs it to the servo processing circuit 9.

【0032】サーボ処理回路9は、リード/ライトIC
8からのデータパルス及びバーストデータを受けてサー
ボ処理に必要な信号処理を実行する。即ちサーボ処理回
路9は、リード/ライトIC8からのデータパルスから
シリンダデータ(シリンダ番号)等を抽出・復号するデ
コード機能、及びライトゲート等のタイミング生成機能
を有する。またサーボ処理回路9は、リード/ライトI
C8からのバーストデータのピーク値のサンプルホール
ド結果をA/D(アナログ/ディジタル)変換してCP
U10に出力するA/D変換機能も有する。サーボ処理
回路9は、例えばゲートアレイ(GA)を用いて構成さ
れている。
The servo processing circuit 9 includes a read / write IC
In response to the data pulse and the burst data from the control unit 8, signal processing necessary for servo processing is executed. That is, the servo processing circuit 9 has a decoding function for extracting and decoding cylinder data (cylinder number) and the like from the data pulse from the read / write IC 8, and a timing generation function such as a write gate. Also, the servo processing circuit 9 has a read / write I
A / D (analog / digital) conversion of the sample / hold result of the peak value of the burst data from C8 to CP
It also has an A / D conversion function to output to U10. The servo processing circuit 9 is configured using, for example, a gate array (GA).

【0033】CPU10は、例えばワンチップのマイク
ロプロセッサである。このCPU10は、ROM11に
格納されている制御用プログラム(ファームウェア)に
従って磁気ディスク装置内の各部を制御する。
The CPU 10 is, for example, a one-chip microprocessor. The CPU 10 controls each unit in the magnetic disk device according to a control program (firmware) stored in the ROM 11.

【0034】CPU10は、サーボ処理回路9と共にヘ
ッド位置決め制御を実行するサーボ処理システム(ヘッ
ド位置決め制御機構)を構成しており、サーボ処理回路
9で抽出されたシリンダデータ及び当該サーボ処理回路
9で変換されたバーストデータのピーク値のサンプルホ
ールド結果に対するA/D変換値を当該サーボ処理回路
9から読み取り、その読み取ったデータに従って(モー
タドライバ6を介してボイスコイルモータ5を駆動制御
することで)ヘッド2を目標シリンダに移動させて、そ
の目標シリンダの中心(トラック中心)に位置決めする
ヘッド位置決め制御を司る。
The CPU 10 constitutes a servo processing system (head positioning control mechanism) for executing head positioning control together with the servo processing circuit 9, and converts cylinder data extracted by the servo processing circuit 9 and converted by the servo processing circuit 9. The A / D conversion value corresponding to the sample hold result of the peak value of the burst data thus read is read from the servo processing circuit 9 and the head is controlled (by controlling the voice coil motor 5 via the motor driver 6) according to the read data. 2 is moved to a target cylinder and performs head positioning control for positioning at the center (track center) of the target cylinder.

【0035】CPU10はまた、欠陥セクタに対して代
替先セクタを割り当てる代替処理を行う。CPU10
は、この代替処理において、欠陥セクタの物理位置と欠
陥セクタが存在するトラックからスペアトラック104
までシークする際に必要な時間を考慮して、代替処理が
行われたセクタへのアクセスでの実行時間が最小になる
ような代替先セクタを決定するようになっている。
The CPU 10 also performs an alternative process of assigning an alternative destination sector to a defective sector. CPU10
In this alternative process, the spare track 104 and the physical position of the defective sector
In consideration of the time required for seeking until the replacement, the replacement destination sector is determined so as to minimize the execution time in accessing the sector on which the replacement process has been performed.

【0036】この他にCPU10は、HDC14を制御
することによるリード/ライトデータの転送制御も行
う。CPU10には、磁気ディスク装置内の各部を制御
するための制御用プログラム(ファームウェア)が格納
されている不揮発性メモリとしてのROM(Read Only
Memory)11、CPU11のワーク領域等を提供する書
き替え可能な揮発性メモリとしてのRAM(Random Acc
ess Memory)12、及び書き替え可能な不揮発性メモリ
としてのEEPROM(Electrically Erasable and Pr
ogrammable Read Only Memory )13が接続されてい
る。
In addition, the CPU 10 also controls transfer of read / write data by controlling the HDC 14. The CPU 10 has a ROM (Read Only) as a non-volatile memory storing a control program (firmware) for controlling each unit in the magnetic disk device.
Memory) 11, a RAM (Random Acc.) As a rewritable volatile memory for providing a work area of the CPU 11 and the like.
ess memory) 12 and an electrically erasable and programmable EEPROM (EEPROM) as a rewritable nonvolatile memory.
ogrammable Read Only Memory) 13 is connected.

【0037】RAM12には、図1の装置の起動時に、
図3に示したスペアトラック使用状況テーブル111及
び図4に示した代替先割り当て状況テーブル112(を
含むシステムエリアの情報)が読み込まれるようになっ
ている。EEPROM13は、磁気ディスク装置の制御
用のパラメータ類、例えばディスク1の各ゾーン毎のデ
ータセクタ数、各サーボセクタ101毎のデータセクタ
数、該当サーボセクタ101内のサーボ領域102と先
頭データセクタとのオフセット、データセクタ間隔等の
パラメータのテーブルの保存等に用いられる。図5に、
このEEPROM13に保存されるテーブル類のうち、
本発明に関係する各ゾーン毎のデータセクタ数を示すテ
ーブル(ゾーン毎セクタ数テーブル)131のデータ構
造例を示す。図5において、Zmはディスク1の最内周
側のゾーン(図2の例ではゾーンZ2)を示し、そのゾ
ーンZmのシリンダ範囲がSm-1 〜Sm であり、データ
セクタ数がMであることを示す。
In the RAM 12, when the apparatus shown in FIG.
The spare track use status table 111 shown in FIG. 3 and the alternative destination allocation status table 112 (including the information on the system area) shown in FIG. 4 are read. The EEPROM 13 stores parameters for controlling the magnetic disk device, such as the number of data sectors in each zone of the disk 1, the number of data sectors in each servo sector 101, the offset between the servo area 102 in the servo sector 101 and the first data sector, It is used for storing a table of parameters such as data sector intervals. In FIG.
Of the tables stored in the EEPROM 13,
5 shows an example of a data structure of a table (sector number table per zone) 131 indicating the number of data sectors for each zone related to the present invention. In FIG. 5, Zm indicates an innermost zone (zone Z2 in the example of FIG. 2) of the disk 1. The cylinder range of the zone Zm is Sm-1 to Sm, and the number of data sectors is M. Is shown.

【0038】CPU10にはまた、ディスクコントロー
ラ(HDC)14が接続されている。HDC14は、ホ
スト装置との間のコマンド、データの通信を制御すると
共に、リード/ライトIC8(を介してディスク1)と
の間のデータの通信を制御する。このHDC14には、
リード/ライトデータがキャッシュ方式で格納される、
例えばRAM等で構成されるバッファメモリ(バッファ
RAM)15と、ホストインタフェース16とが接続さ
れている。ホストインタフェース16は、HDC14と
ホスト装置とのインタフェースをなしており、HDC1
4は当該ホストインタフェース16を介してホスト装置
との間のコマンド、データの通信を行う。
The CPU 10 is also connected to a disk controller (HDC) 14. The HDC 14 controls communication of commands and data with the host device, and also controls data communication with the read / write IC 8 (via the disk 1). In this HDC 14,
Read / write data is stored in a cache manner,
For example, a buffer memory (buffer RAM) 15 composed of a RAM or the like and a host interface 16 are connected. The host interface 16 serves as an interface between the HDC 14 and the host device.
Reference numeral 4 communicates commands and data with the host device via the host interface 16.

【0039】次に、図1の構成における欠陥セクタに対
する代替処理について説明する。今、図1の磁気ディス
ク装置において、図6に示すディスク1上のトラック6
01のセクタ(データセクタ)602が正常にリード/
ライトアクセスできなかったために、リード/ライトア
クセスのリトライを行い、所定回数のリトライを実行し
てもアクセスに成功しなかった結果、当該セクタ602
が欠陥セクタであると判断されたものとする。
Next, a description will be given of a replacement process for a defective sector in the configuration of FIG. Now, in the magnetic disk drive of FIG. 1, tracks 6 on the disk 1 shown in FIG.
01 sector (data sector) 602 is normally read /
Since the write access could not be performed, the read / write access is retried, and even if the retry is performed a predetermined number of times, the access was not successful.
Is determined to be a defective sector.

【0040】このような場合、CPU10は、欠陥セク
タ602をスペアトラック104中のいずれかのセクタ
に割り当てる代替処理を、図7のフローチャートに従っ
て次のように行う。
In such a case, the CPU 10 performs an alternative process of allocating the defective sector 602 to any one of the spare tracks 104 according to the flowchart shown in FIG.

【0041】まずCPU10は、欠陥セクタ602が存
在するトラック601からスペアトラック104までに
ヘッド2をシークさせるのに要する時間(シーク時間)
Tsを、トラック601のシリンダ番号とスペアトラッ
ク104のシリンダ番号とから算出する(ステップ70
1)。このシーク時間(予定シーク時間)Tsは、シリ
ンダ番号の差分とシーク時間との対応テーブルを予め用
意しておき、欠陥セクタ602が存在するトラック60
1のシリンダ番号とスペアトラック104のシリンダ番
号との差分により当該テーブルを参照することで、計算
を行うことなく求めることが可能となる。なお、このテ
ーブルも、スペアトラック使用状況テーブル111等と
同様にシステムエリアに保存しておき、起動時にRAM
12に読み込むようにすることで、高速なテーブル参照
を実現できる。
First, the CPU 10 takes the time required to seek the head 2 from the track 601 where the defective sector 602 exists to the spare track 104 (seek time).
Ts is calculated from the cylinder number of the track 601 and the cylinder number of the spare track 104 (step 70).
1). For this seek time (scheduled seek time) Ts, a correspondence table between the cylinder number difference and the seek time is prepared in advance, and the track 60 where the defective sector 602 exists is prepared.
By referring to the table based on the difference between the cylinder number of No. 1 and the cylinder number of the spare track 104, it is possible to calculate without performing calculations. This table is also stored in the system area in the same manner as the spare track use status table 111 and the like.
By reading the data into the H.12, high-speed table reference can be realized.

【0042】次にCPU10は、算出したシーク時間T
sをディスク1の1回転に要する時間(1回転時間)T
cで割って、その余りTmを算出する(ステップ70
2)。次にCPU10は、算出した余りTmが(ディス
ク1の)1/2回転時間未満であるか否か(1/2回転
時間以上であるか)をチェックする(ステップ70
3)。このことは、シーク時間Tsをディスク1の1回
転時間Tcで割った値(Ts/Tc)の小数部が1/2
未満であるかをチェックすることと等価である。
Next, the CPU 10 determines the calculated seek time T
s is the time required for one rotation of the disk 1 (one rotation time) T
The remainder Tm is calculated by dividing by C (step 70).
2). Next, the CPU 10 checks whether or not the calculated remainder Tm is shorter than the half rotation time (of the disk 1) (whether or not longer than the half rotation time) (step 70).
3). This means that the fractional part of the value (Ts / Tc) obtained by dividing the seek time Ts by one rotation time Tc of the disk 1 is 1 /.
It is equivalent to checking if it is less than.

【0043】なお、このステップ703の判定のため
に、必ずしも上記ステップ701,702を行う必要は
ない。但し、そのためには、ディスク1上の各トラック
のシリンダ番号とスペアトラック104のシリンダ番号
との差分(スペアトラックにシークするのに想定される
各シリンダ数)について、その両トラック間のシーク時
間をディスク1の1回転時間Tcで割った値の余りTm
が1/2回転時間未満になる範囲と、1/2回転時間以
上となる範囲とに予め分類して、図8に示すような対応
テーブル(余り判定テーブル)801を作成し、それを
ディスク1のシステムエリア、或いはEEPROM13
内に用意しておく必要がある。
It is not always necessary to perform steps 701 and 702 for the determination in step 703. However, for this purpose, the seek time between the track number of each track on the disk 1 and the cylinder number of the spare track 104 (the number of cylinders assumed to seek to the spare track) is set as the difference between the two. Remainder Tm of value divided by one rotation time Tc of disk 1
Is preliminarily classified into a range in which the rotation time is less than 1/2 rotation time and a range in which the rotation time is equal to or longer than 1/2 rotation time, and a correspondence table (remainder determination table) 801 as shown in FIG. System area or EEPROM 13
It is necessary to prepare it inside.

【0044】この図8のテーブルの場合、スペアトラッ
ク104のシリンダ番号と欠陥セクタ602が存在する
トラック601のシリンダ番号の差分(即ち、シークす
べきシリンダ数)Δが0以上N1未満の範囲内ならば、
上記Tmが1/2回転時間未満となり、N1以上N2未
満の範囲内ならば、上記Tmが1/2回転時間以上とな
り、N2以上N3未満の範囲内ならば、上記Tmが1/
2回転時間未満となるといったことが示されている。
In the case of the table shown in FIG. 8, if the difference Δ between the cylinder number of the spare track 104 and the cylinder number of the track 601 where the defective sector 602 exists (that is, the number of cylinders to be sought) is within the range of 0 or more and less than N1. If
If the Tm is less than 1/2 rotation time and is in the range of N1 or more and less than N2, the Tm is 1/2 rotation time or more, and if the Tm is in the range of N2 or more and less than N3, the Tm is 1 / rotation time.
It is shown that the time is less than two rotation times.

【0045】したがって、スペアトラック104のシリ
ンダ番号と欠陥セクタ602が存在するトラック601
のシリンダ番号の差分Δを求め、その差分Δが図8のテ
ーブルのどの差分範囲に含まれているかを調べるだけ
で、上記Tm、即ち欠陥セクタ602が存在するトラッ
ク601からスペアトラック104へのシーク時間Ts
をディスク1の1回転時間Tcで割った値の余りTmが
1/2回転時間未満であるか否か(1/2回転時間以上
であるか)を判定することができる。
Therefore, the track 601 on which the cylinder number of the spare track 104 and the defective sector 602 are present
The above Tm, that is, the seek from the track 601 where the defective sector 602 exists to the spare track 104 can be performed simply by determining the difference range of the cylinder number in the table of FIG. Time Ts
Is divided by one rotation time Tc of the disk 1 to determine whether the remainder Tm is less than 1/2 rotation time (whether or not it is 1/2 rotation time or more).

【0046】さて、上記ステップ703での判定の結
果、余りTmが1/2回転時間未満であるならば、CP
U10は、スペアトラック104の中から、(ディスク
1の中心に対して)欠陥セクタ602の物理的位置とは
反対側の物理的位置にあるセクタ(スペアセクタ)60
3a を代替先セクタの第1の候補として選択し、そのセ
クタ番号(データセクタ番号)を代替先セクタサーチの
ためののベースセクタ番号fとする(ステップ70
4)。これに対し、余りTmが1/2回転時間未満でな
いならば(1/2回転時間以上であるならば)、スペア
トラック104の中から、(ディスク1の中心に対し
て)欠陥セクタ602の物理的位置と同じ側の物理的位
置にあるセクタ(スペアセクタ)603b を代替先セク
タの第1の候補として選択し、そのセクタ番号(データ
セクタ番号)を代替先セクタサーチのためのベースセク
タ番号fとする(ステップ705)。
If the result of the determination in step 703 is that the remainder Tm is less than 1/2 rotation time,
U10 is a sector (spare sector) 60 located at a physical position on the opposite side of the physical position of the defective sector 602 (with respect to the center of the disk 1) from the spare track 104.
3a is selected as a first candidate of an alternative destination sector, and its sector number (data sector number) is set as a base sector number f for searching for an alternative destination sector (step 70).
4). On the other hand, if the remainder Tm is not less than 回 転 rotation time (if it is 1 / rotation time or more), the physical location of the defective sector 602 (with respect to the center of The sector (spare sector) 603b located at the same physical position as the target position is selected as the first candidate for the replacement destination sector, and its sector number (data sector number) is set to the base sector number f for searching for the replacement destination sector. (Step 705).

【0047】ここで、ベースセクタ番号fは、欠陥セク
タ602のセクタ番号をi、当該欠陥セクタ602が存
在するトラック601が属するゾーンをZn、そのゾー
ンZnのデータセクタ数をN、スペアトラック104が
属するゾーンをZm、そのゾーンZmのデータセクタ数
をMとすると、余りTmが1/2回転時間未満の場合に
は、 f={(i/N)*M+(M/2)}の整数部 …(1) の計算により求められる。なお、ディスク1がCDR方
式を適用しない場合には、N=Mである。
Here, the base sector number f is i, the sector number of the defective sector 602, Zn is the zone to which the track 601 in which the defective sector 602 exists, N is the number of data sectors in the zone Zn, and the spare track 104 is If the zone to which Zm belongs and the number of data sectors in the zone Zm is M, if the remainder Tm is less than 1/2 rotation time, an integer part of f = {(i / N) * M + (M / 2)} ... (1) If the CDR method is not applied to the disc 1, N = M.

【0048】また、余りTmが1/2回転時間以上の場
合には、ベースセクタ番号fは、 f=(i/N)*Mの整数部 …(2) の計算により求められる。
When the remainder Tm is equal to or longer than 1/2 rotation time, the base sector number f is obtained by the calculation of f = (i / N) * M, an integer part (2).

【0049】CPU10は、代替先セクタサーチのため
のベースセクタ番号fを求めると、代替先セクタサーチ
のためのオフセット値gを初期値0にセットする(ステ
ップ706)。
When obtaining the base sector number f for the search for the alternative sector, the CPU 10 sets the offset value g for the search for the alternative sector to the initial value 0 (step 706).

【0050】次にCPU10は、ベースセクタ番号fに
その時点のオフセット値gを加算し、(スペアトラック
104内のスペアセクタのうち)その加算値f+gで示
されるセクタ番号のスペアセクタが代替先セクタとして
使用されているか否かを、スペアトラック使用状況テー
ブル111を参照することで判断する(ステップ70
7)。
Next, the CPU 10 adds the current offset value g to the base sector number f, and uses the spare sector of the sector number indicated by the added value f + g (of the spare sectors in the spare track 104) as the replacement destination sector. Is determined by referring to the spare track use status table 111 (step 70).
7).

【0051】もし、セクタ番号f+gのスペアセクタが
使用されていないならば、CPU10は当該スペアセク
タを欠陥セクタ602の代替セクタとして決定し、(R
AM12に読み込まれている)スペアトラック使用状況
テーブル111中の当該スペアセクタの状態を“使用状
態”に設定すると共に、(RAM12に読み込まれてい
る)代替先割り当て状況テーブル112に、欠陥セクタ
602の位置情報(ヘッド番号、シリンダ番号及びセク
タ番号)と当該欠陥セクタの代替先として決定したスペ
アトラック104内のスペアセクタの位置情報とを登録
する代替処理を実行する(ステップ708)。
If the spare sector with the sector number f + g is not used, the CPU 10 determines the spare sector as a substitute sector for the defective sector 602 and (R
The status of the spare sector in the spare track use status table 111 (read in the AM 12) is set to “use status”, and the position of the defective sector 602 is stored in the alternative destination assignment status table 112 (read in the RAM 12). An alternative process of registering information (head number, cylinder number, and sector number) and position information of a spare sector in the spare track 104 determined as an alternative of the defective sector is executed (step 708).

【0052】これに対し、セクタ番号f+gのスペアセ
クタが既に使用されているならば、CPU10は、当該
スペアセクタに隣接するスペアセクタのセクタ番号を算
出するために、現在のオフセット値gを+1する(ステ
ップ709)。そしてCPU10は、この+1後のオフ
セット値gを、ベースセクタ番号fから減算し、(スペ
アトラック104内のスペアセクタのうち)その減算値
f−gで示されるセクタ番号のスペアセクタ、即ち最初
に使用されていると判断されたスペアセクタよりg(=
1)セクタ分手前のスペアセクタが代替先セクタとして
使用されているか否かを、スペアトラック使用状況テー
ブル111を参照することで判断する(ステップ71
0)。
On the other hand, if the spare sector having the sector number f + g has already been used, the CPU 10 increments the current offset value g by one in order to calculate the sector number of the spare sector adjacent to the spare sector (step 709). ). Then, the CPU 10 subtracts the offset value g after +1 from the base sector number f, and (of the spare sectors in the spare track 104) the spare sector of the sector number indicated by the subtraction value f-g, that is, the spare sector which is used first. G (=
1) It is determined by referring to the spare track use status table 111 whether or not the spare sector before the sector is being used as a replacement destination sector (step 71).
0).

【0053】もし、セクタ番号f−gのスペアセクタが
使用されていないならば、CPU10は当該スペアセク
タを欠陥セクタ602の代替セクタとして決定し、前記
したセクタ番号f+gのスペアセクタを欠陥セクタ60
2の代替セクタとして決定した場合と同様の代替処理を
実行する(ステップ708)。
If the spare sector having the sector number fg is not used, the CPU 10 determines the spare sector as a substitute sector for the defective sector 602, and sets the spare sector having the sector number f + g to the defective sector 60.
The same replacement process as when the second sector is determined as the second sector is executed (step 708).

【0054】これに対し、セクタ番号f−gのスペアセ
クタが既に使用されているならば、ステップ707に進
んで、f+gで示されるセクタ番号のスペアセクタ、即
ち最初に使用されていると判断されたスペアセクタより
g(=1)セクタ分後のスペアセクタが代替先セクタと
して使用されているか否かを判断する。
On the other hand, if the spare sector with the sector number fg has already been used, the process proceeds to step 707, and the spare sector with the sector number indicated by f + g, that is, the spare sector determined to be used first. It is determined whether a spare sector after g (= 1) sectors is used as a replacement destination sector.

【0055】もし、セクタ番号f+gのスペアセクタが
使用されていないならば、CPU10は当該スペアセク
タを欠陥セクタ602の代替セクタとして決定して代替
処理を実行する(ステップ708)。これに対してセク
タ番号f+gのスペアセクタが既に使用されているなら
ば、CPU10は再びステップ709に戻り、その時点
のオフセット値gを+1する。
If the spare sector with the sector number f + g is not used, the CPU 10 determines the spare sector as a substitute sector for the defective sector 602 and executes a substitute process (step 708). On the other hand, if the spare sector of the sector number f + g has already been used, the CPU 10 returns to step 709 again and increments the offset value g at that time by +1.

【0056】以上により、欠陥セクタ602が存在する
トラック601からスペアトラック104までのシーク
時間(予定シーク時間)Tsが、ディスク1の1回転時
間Tcの1/2倍未満、或いは1倍以上3/2倍未満の
ように、シーク時間Tsをディスク1の1回転時間Tc
で割った値の余りTmが1/2回転時間未満の場合に
は、欠陥セクタ602の物理的位置とは反対側の物理的
位置にあるスペアセクタ603a が代替先セクタの第1
の候補として選択される(ステップ704)。
As described above, the seek time (scheduled seek time) Ts from the track 601 where the defective sector 602 exists to the spare track 104 is less than 1 / of one rotation time Tc of the disk 1, or more than 1/3. The seek time Ts is set to be equal to one rotation time Tc of the disk 1 so as to be less than twice.
When the remainder Tm of the value divided by the following is less than 1/2 rotation time, the spare sector 603a at the physical position on the opposite side to the physical position of the defective sector 602 becomes the first of the replacement destination sectors.
(Step 704).

【0057】そして、当該スペアセクタ603a が未だ
(代替先セクタとして)使用されていない場合には(ス
テップ706,707)、当該スペアセクタ603a が
欠陥セクタ602の代替先セクタに代替処理される(ス
テップ708)。これに対し、スペアセクタ603a が
以前の代替処理で既に(代替先セクタとして)使用済み
であった場合には(ステップ707)、スペアセクタ6
03a の1つ手前のスペアセクタ603a-1 、スペアセ
クタ603a の1つ後のスペアセクタ603a+1 、スペ
アセクタ603a の2つ手前のスペアセクタ603a-2
、スペアセクタ603a の2つ後のスペアセクタ60
3a+2 …のように、スペアセクタ603aから最も近い
スペアセクタの順で未使用のスペアセクタがサーチされ
(709,710,707)、該当するスペアセクタが
欠陥セクタ602の代替先セクタに代替処理される(ス
テップ708)。
If the spare sector 603a is not yet used (as a replacement destination sector) (steps 706 and 707), the spare sector 603a is replaced with a replacement destination sector of the defective sector 602 (step 708). . On the other hand, if the spare sector 603a has already been used (as a replacement destination sector) in the previous replacement process (step 707), the spare sector 6
03a, the spare sector 603a-1 immediately before the spare sector 603a, the spare sector 603a + 1 immediately after the spare sector 603a, and the spare sector 603a-2 immediately before the spare sector 603a.
, The spare sector 60 after the spare sector 603a
Unused spare sectors are searched in the order of the spare sector closest to the spare sector 603a, such as 3a + 2... (709, 710, 707), and the corresponding spare sector is replaced with a replacement destination sector of the defective sector 602 (step). 708).

【0058】一方、欠陥セクタ602が存在するトラッ
ク601からスペアトラック104までのシーク時間
(予定シーク時間)Tsが、ディスク1の1回転時間T
cの1/2倍以上1倍未満、或いは3/2倍以上2倍未
満のように、シーク時間Tsをディスク1の1回転時間
Tcで割った値の余りTmが1/2回転時間未満でない
場合(1/2回転時間以上の場合)には、欠陥セクタ6
02の物理的位置と同じ側の物理的位置にあるスペアセ
クタ603b が代替先セクタの第1の候補として選択さ
れる(ステップ705)。
On the other hand, the seek time (scheduled seek time) Ts from the track 601 where the defective sector 602 exists to the spare track 104 is equal to one rotation time T of the disk 1.
The remainder Tm obtained by dividing the seek time Ts by one rotation time Tc of the disk 1 is not less than 1/2 rotation time, such as 1/2 times or more and less than 1 time of c or 3/2 times or more and less than 2 times. In the case (when the rotation time is more than 1/2 rotation time), the defective sector 6
The spare sector 603b located at the same physical position as the physical position No. 02 is selected as the first candidate of the replacement destination sector (step 705).

【0059】そして、当該スペアセクタ603b が未だ
(代替先セクタとして)使用されていない場合には(ス
テップ706,707)、当該スペアセクタ603b が
欠陥セクタ602の代替先セクタに代替処理される(ス
テップ708)。これに対し、スペアセクタ603b が
以前の代替処理で既に(代替先セクタとして)使用済み
であった場合には(ステップ707)、スペアセクタ6
03b の1つ手前のスペアセクタ603b-1 、スペアセ
クタ603b の1つ後のスペアセクタ603b+1 、スペ
アセクタ603b の2つ手前のスペアセクタ603b-2
、スペアセクタ603b の2つ後のスペアセクタ60
3b+2 …のように、スペアセクタ603bから最も近い
スペアセクタの順で未使用のスペアセクタがサーチされ
(709,710,707)、該当するスペアセクタが
欠陥セクタ602の代替先セクタに代替処理される(ス
テップ708)。
If the spare sector 603b is not yet used (as a replacement destination sector) (steps 706 and 707), the spare sector 603b is replaced with a replacement destination sector of the defective sector 602 (step 708). . On the other hand, if the spare sector 603b has already been used (as a replacement destination sector) in the previous replacement process (step 707), the spare sector 6
03b, the spare sector 603b-1 immediately before the spare sector 603b, the spare sector 603b + 1 immediately after the spare sector 603b, and the spare sector 603b-2 immediately before the spare sector 603b.
, The spare sector 60 after the spare sector 603b
Unused spare sectors are searched in the order of the spare sector closest to the spare sector 603b, such as 3b + 2... (709, 710, 707), and the corresponding spare sector is replaced by the replacement sector of the defective sector 602 (step). 708).

【0060】以上のような代替処理をすることで、代替
処理後に、その代替処理されたセクタを含んだ連続する
セクタ群に対するリード/ライトを行った場合の実行時
間の増加は、図6に示した欠陥セクタ602のあるトラ
ック601からスペアトラック104へのシーク時間
(Ts)が、ディスク1の1回転時間(Tc)の1/2
倍未満であり、したがって欠陥セクタ602の代替先と
してスペアセクタ603a が割り当てられている場合の
リードアクセスを例にとると、次のようになる。
By performing the above-described substitution processing, an increase in the execution time when reading / writing to a continuous sector group including the substitution-processed sector after the substitution processing is shown in FIG. The seek time (Ts) from the track 601 having the defective sector 602 to the spare track 104 is 1 / of one rotation time (Tc) of the disk 1.
The read access when the spare sector 603a is assigned as the replacement destination of the defective sector 602 as an alternative destination is as follows.

【0061】まずCPU10は、代替処理したセクタ
(欠陥セクタ)602の1つ前のセクタをリードした
後、代替先割り当て状況テーブル112に従って、ヘッ
ド2をスペアトラック104にシークする。この際のシ
ーク時間はディスク1の1回転時間の1/2倍未満であ
るため、代替先セクタ(スペアセクタ)603a がヘッ
ド2を通過する前にシークが完了し、代替先セクタ(ス
ペアセクタ)603a のリードをディスク1の回転待ち
なしで行うことができる。
First, the CPU 10 reads the sector immediately before the sector (defective sector) 602 subjected to the replacement processing, and seeks the head 2 to the spare track 104 according to the replacement destination allocation status table 112. Since the seek time at this time is less than half the rotation time of the disk 1, the seek is completed before the replacement destination sector (spare sector) 603a passes through the head 2, and the seek time of the replacement destination sector (spare sector) 603a is reduced. Reading can be performed without waiting for the rotation of the disk 1.

【0062】CPU10は、代替先セクタ(スペアセク
タ)603a をリードすると、次のセクタ、即ち代替処
理したセクタ(欠陥セクタ)602の1つ後のセクタを
リードするために、スペアトラック104から代替処理
したセクタ(欠陥セクタ)602のある元のトラック6
01にヘッド2をシークする。このトラック104,6
01間のシーク時間は、ディスク1の1回転時間の1/
2倍未満であるため、セクタ602の次のセクタがヘッ
ド2を通過する前にシークが完了し、当該セクタ602
の次のセクタを回転待ちなしでリードできる。
When the CPU 10 reads the replacement destination sector (spare sector) 603a, the CPU 10 performs replacement processing from the spare track 104 to read the next sector, that is, the sector immediately following the replacement processed sector (defective sector) 602. Original track 6 with sector (defective sector) 602
01 seeks the head 2. This track 104,6
01 is 1/1 of one rotation time of the disk 1.
Since it is less than twice, the seek is completed before the next sector of the sector 602 passes the head 2 and the sector 602
Can be read without waiting for rotation.

【0063】これにより、代替処理されたセクタを含む
セクタ群をリードする場合でも、代替処理されたセクタ
を含まないセクタ群をリードする場合と比較して、ディ
スク1の1回転時間の実行時間の増加のみで代替先をリ
ードでき、従来の(スペアトラックへのシーク時間+代
替先セクタまでの回転待ち時間+元のトラックへのシー
ク時間+次のセクタまでの回転待ち時間)の実行時間に
比べて、実行時間の増加を最小にすることができる。
As a result, even when reading a sector group including the sector subjected to the substitution processing, the execution time of one rotation time of the disk 1 is shorter than when reading a group of sectors not including the sector subjected to the substitution processing. The alternative destination can be read only by increasing, compared to the conventional (seek time to spare track + rotation wait time to alternative destination sector + seek time to original track + rotation wait time to next sector) Thus, the increase in execution time can be minimized.

【0064】同様に、代替処理されたセクタを含むセク
タ群をリードする場合、例えば、トラック601,10
4間のシーク時間が、ディスク1の1回転時間の1/2
倍以上1倍未満であるならば、実行時間の増加を2回転
時間のみとし、ディスク1の1回転時間の1倍以上3/
2倍未満であるならば、実行時間の増加を3回転時間の
みとし、ディスク1の1回転時間の3/2倍以上2倍未
満であるならば、実行時間の増加を4回転時間のみと
し、実行時間の増加を最小にすることができる。
Similarly, when reading a sector group including the sector subjected to the replacement processing, for example, the tracks 601, 10
4 seek time is 1/2 of one rotation time of disk 1.
If it is not less than twice and less than 1 time, the execution time is increased only by 2 rotation times, and is 1 time or more of 1 rotation time of the disk 1.
If it is less than twice, the execution time is increased by only 3 rotation times, and if it is 3/2 times or more and less than 2 times the rotation time of the disk 1, the execution time is increased by only 4 rotation times, The increase in execution time can be minimized.

【0065】なお、以上の実施形態では、スペアトラッ
ク104はディスク1の(データエリアの)最内周に用
意されているものとして説明したが、これに限るもので
はない。例えば、ディスク1の(データエリアの)最内
周トラックからも最外周トラックからも同一時間でシー
クできるトラック(ディスク1の中間周のトラック)に
スペアトラック104を用意するようにしても構わな
い。この場合、代替処理済みのセクタがディスク1の外
周側に存在しても、その代替処理済みセクタのアクセス
時の実行時間の増加をより一層少なくできる。
In the above embodiment, the spare track 104 is described as being prepared on the innermost circumference (of the data area) of the disk 1, but the present invention is not limited to this. For example, the spare track 104 may be prepared on a track (an intermediate track of the disk 1) that can be sought in the same time from the innermost track (of the data area) and the outermost track of the disk 1. In this case, even if the sector subjected to the substitution processing exists on the outer peripheral side of the disk 1, the increase in the execution time at the time of accessing the sector subjected to the substitution processing can be further reduced.

【0066】また、以上の実施形態では、スペアトラッ
ク104はディスク1の各面に1つだけ用意されている
ものとして説明したが、複数のスペアトラックを用意す
るようにしても構わない。この場合、ディスク1上の全
てのトラック(データエリア内のトラック)から、その
トラックに最も近いスペアトラックにディスク1の1/
2回転時間内でシークできる位置に、複数のスペアトラ
ックを分散配置すると、代替処理済みセクタ(を含む連
続するセクタ群)のアクセスを最も効率良く行うことが
できる。
In the above embodiment, only one spare track 104 is provided on each surface of the disk 1. However, a plurality of spare tracks may be prepared. In this case, from all the tracks on the disk 1 (tracks in the data area), the spare track closest to the track is replaced with 1/1/1 of the disk 1.
If a plurality of spare tracks are distributed and arranged at positions where seeks can be performed within two rotation times, access to (alternate sector groups including) sectors that have been subjected to substitution processing can be performed most efficiently.

【0067】また、以上の実施形態では、磁気ディスク
装置について説明したが、本発明は、記録媒体(ディス
ク)上に欠陥セクタの再配置用のスペアトラックが確保
され、欠陥セクタ検出時には、その欠陥セクタの代替先
セクタをスペアトラックの中から選択的に割り当てるも
のであれば、光磁気ディスク装置など、磁気ディスク装
置以外のデータ記録再生装置一般に適用可能である。
In the above embodiments, the magnetic disk device has been described. However, according to the present invention, a spare track for relocating a defective sector is secured on a recording medium (disk), and when a defective sector is detected, the defective track is detected. The present invention is applicable to general data recording / reproducing devices other than magnetic disk devices, such as magneto-optical disk devices, as long as the sector replacement destination sector is selectively assigned from spare tracks.

【0068】[0068]

【発明の効果】以上詳述したように本発明によれば、欠
陥セクタに対して代替先セクタを割り当てる代替処理に
おいて、欠陥セクタの物理位置と欠陥セクタが存在する
トラックからスペアトラックまでシークする際に必要な
時間を考慮し、このシーク時間をディスクの1回転時間
で割った余りをもとに、スペアトラックの中から、ディ
スクの中心に対して欠陥セクタの物理的位置と反対側の
物理的位置にあるスペアセクタ、またはディスクの中心
に対して欠陥セクタの物理的位置と同じ側の物理的位置
にあるスペアセクタのいずれか一方を欠陥セクタの代替
先セクタとして決定する構成としたので、代替処理済み
のセクタへのアクセスでの実行時間が最小になるような
代替先セクタを決定することができ、代替処理によるパ
フォーマンスの低下を最小限に抑えることができる。
As described above in detail, according to the present invention, in the replacement process for allocating a replacement destination sector to a defective sector, when seeking from the track in which the defective sector exists to the spare track, In consideration of the time required for the disk, the remainder of the seek time divided by the rotation time of the disk is used to select one of the spare tracks from the physical position opposite to the physical position of the defective sector with respect to the center of the disk. Since either the spare sector at the position or the spare sector at the same physical position as the defective sector with respect to the center of the disk is determined as the replacement destination sector for the defective sector, the replacement processing has been completed. Can determine an alternative destination sector that minimizes the execution time in accessing a given sector, resulting in lower performance due to alternative processing. It can be suppressed to a minimum.

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

【図1】本発明の一実施形態に係る磁気ディスク装置の
構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a magnetic disk drive according to an embodiment of the present invention.

【図2】同実施形態で適用されるディスク1の代表的な
フォーマット例を示す概念図。
FIG. 2 is an exemplary conceptual view showing a typical format example of a disc 1 applied in the embodiment.

【図3】同実施形態で適用されるスペアトラック使用状
況テーブル111のデータ構造例を示す概念図。
FIG. 3 is an exemplary conceptual diagram showing a data structure example of a spare track use status table 111 applied in the embodiment.

【図4】同実施形態で適用される代替先割り当て状況テ
ーブル112のデータ構造例を示す概念図。
FIG. 4 is an exemplary conceptual diagram showing an example of the data structure of an alternative destination assignment status table 112 applied in the embodiment.

【図5】同実施形態で適用されるゾーン毎セクタ数テー
ブル131のデータ構造例を示す概念図。
FIG. 5 is an exemplary conceptual diagram showing an example of the data structure of a zone number per sector table 131 applied in the embodiment;

【図6】同実施形態における欠陥セクタに対する代替処
理を説明するために、欠陥セクタと代替先セクタの候補
となるスペアセクタの位置関係を示す図。
FIG. 6 is an exemplary view showing a positional relationship between a defective sector and a spare sector which is a candidate for an alternative destination sector in order to explain replacement processing for a defective sector in the embodiment;

【図7】同実施形態における欠陥セクタに対する代替処
理を説明するためのフローチャート。
FIG. 7 is a flowchart for explaining a replacement process for a defective sector in the embodiment.

【図8】代替処理における代替先セクタの決定時に必要
な、欠陥セクタが存在するトラックからスペアトラック
へのシーク時間をディスク1の1回転時間で割った余り
が1/2回転時間未満であるか否かの判定に利用可能な
余り判定テーブル801のデータ構造例を示す概念図。
FIG. 8 shows whether a remainder obtained by dividing a seek time from a track having a defective sector to a spare track by one rotation time of the disk 1, which is necessary when determining an alternative destination sector in the replacement processing, is less than 1/2 rotation time; FIG. 9 is a conceptual diagram showing an example of the data structure of a remainder determination table 801 that can be used for determining whether or not there is no data.

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

1…ディスク、 2…ヘッド、 10…CPU(代替先セクタ決定手段、判別手段) 11…ROM、 12…RAM、 13…EEPROM、 104…スペアトラック、 111…スペアトラック使用状況テーブル、 112…代替先割り当て状況テーブル、 131…ゾーン毎セクタ数テーブル。 601…トラック(欠陥セクタ602のあるトラッ
ク)、 602…欠陥セクタ、 603a-2 ,603a-1 ,603a ,603a+1 ,60
3a+2 ,603b-2 ,603b-1 ,603b ,603b+
1 ,603b+2 …スペアセクタ。 801…余り判定テーブル(判定テーブル手段)。
DESCRIPTION OF SYMBOLS 1 ... Disk, 2 ... Head, 10 ... CPU (alternative destination sector determination means, determination means) 11 ... ROM, 12 ... RAM, 13 ... EEPROM, 104 ... Spare track, 111 ... Spare track use status table, 112 ... Alternative destination Allocation status table, 131 ... Zone number table per zone. 601: track (track with defective sector 602), 602: defective sector, 603a-2, 603a-1, 603a, 603a + 1, 60
3a + 2, 603b-2, 603b-1, 603b, 603b +
1, 603b + 2 ... spare sector. 801: remainder determination table (determination table means).

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 欠陥セクタの再配置用の複数のスペアセ
クタからなるスペアトラックが確保されたディスクを備
え、前記スペアトラックの中から欠陥セクタの代替先セ
クタを決定して割り当てる代替処理を実行するデータ記
録再生装置において、 欠陥セクタの代替先を決定する代替先セクタ決定手段で
あって、前記欠陥セクタが存在するトラックから前記ス
ペアトラックへシークするのに要するシーク時間と前記
ディスクの1回転時間とで決まる値をもとに、前記スペ
アトラックの中から、前記ディスクの中心に対して前記
欠陥セクタの物理的位置と反対側の物理的位置にあるス
ペアセクタ、または前記ディスクの中心に対して前記欠
陥セクタの物理的位置と同じ側の物理的位置にあるスペ
アセクタのいずれか一方を前記欠陥セクタの代替先セク
タとして決定する代替先セクタ決定手段を備えたことを
特徴とするデータ記録再生装置。
1. A data processing apparatus comprising: a disk in which a spare track including a plurality of spare sectors for relocating a defective sector is secured; and a replacement process for determining and assigning a replacement destination sector of the defective sector from among the spare tracks. In the recording / reproducing apparatus, an alternative destination determining means for determining an alternative destination of a defective sector, comprising: a seek time required to seek from a track where the defective sector exists to the spare track; and a rotation time of the disk. Based on the determined value, from among the spare tracks, a spare sector at a physical position opposite to the physical position of the defective sector with respect to the center of the disk, or the defective sector with respect to the center of the disk One of the spare sectors at the same physical position as the physical location of the defective sector Data recording and reproducing apparatus comprising the alternative destination sector determining means for determining as a connector.
【請求項2】 欠陥セクタの再配置用の複数のスペアセ
クタからなるスペアトラックが確保されたディスクを備
え、前記スペアトラックの中から欠陥セクタの代替先セ
クタを決定して割り当てる代替処理を実行するデータ記
録再生装置において、 欠陥セクタの代替先を決定する代替先セクタ決定手段で
あって、前記欠陥セクタが存在するトラックから前記ス
ペアトラックへシークするのに要するシーク時間を前記
ディスクの1回転時間で割った余りをもとに、前記スペ
アトラックの中から、前記ディスクの中心に対して前記
欠陥セクタの物理的位置と反対側の物理的位置にあるス
ペアセクタ、または前記ディスクの中心に対して前記欠
陥セクタの物理的位置と同じ側の物理的位置にあるスペ
アセクタのいずれか一方を前記欠陥セクタの代替先セク
タとして決定する代替先セクタ決定手段を備えたことを
特徴とするデータ記録再生装置。
2. A data for performing a replacement process, comprising a disk in which a spare track including a plurality of spare sectors for relocating a defective sector is secured, and determining and assigning a replacement destination sector of the defective sector from among the spare tracks. In the recording / reproducing apparatus, an alternative destination determining means for determining an alternative destination of a defective sector, wherein a seek time required for seeking from a track where the defective sector exists to the spare track is divided by one rotation time of the disk. Based on the remainder, from among the spare tracks, a spare sector at a physical position opposite to the physical position of the defective sector with respect to the center of the disk, or the defective sector with respect to the center of the disk One of the spare sectors at the same physical position as the physical location of the defective sector Data recording and reproducing apparatus comprising the alternative destination sector determining means for determining as a connector.
【請求項3】 欠陥セクタの再配置用の複数のスペアセ
クタからなるスペアトラックが確保されたディスクを備
え、前記スペアトラックの中から欠陥セクタの代替先セ
クタを決定して割り当てる代替処理を実行するデータ記
録再生装置において、 欠陥セクタの代替先を決定するに際し、当該欠陥セクタ
が存在するトラックから前記スペアトラックへシークす
るのに要するシーク時間を前記ディスクの1回転時間で
割った余りが1/2回転時間未満であるか否かを判別す
る判別手段と、 この判別手段による判別の結果、前記余りが1/2回転
時間未満であれば、前記スペアトラックの中から、前記
ディスクの中心に対して前記欠陥セクタの物理的位置と
反対側の物理的位置にあるスペアセクタを前記欠陥セク
タの代替先セクタとして決定し、前記余りが1/2回転
時間以上であれば、前記スペアトラックの中から、前記
ディスクの中心に対して前記欠陥セクタの物理的位置と
同じ側の物理的位置にあるスペアセクタを前記欠陥セク
タの代替先セクタとして決定する代替先セクタ決定手段
とを具備することを特徴とするデータ記録再生装置。
3. A data which is provided with a disk in which a spare track including a plurality of spare sectors for relocating a defective sector is secured, and which executes an alternative process of determining and assigning an alternative destination sector of the defective sector from among the spare tracks. In the recording / reproducing apparatus, when determining the replacement destination of the defective sector, the remainder obtained by dividing the seek time required for seeking from the track where the defective sector exists to the spare track by one rotation time of the disk is 1 / rotation. Discriminating means for discriminating whether or not the time is less than a time; as a result of the discrimination by the discriminating means, if the remainder is less than 1/2 rotation time, the spare track is shifted from the center of the disc to the center of the disc; A spare sector at a physical position opposite to the physical position of the defective sector is determined as a replacement destination sector for the defective sector, and If the remainder is equal to or longer than 回 転 rotation time, a spare sector located at the same physical position as the physical position of the defective sector with respect to the center of the disk from among the spare tracks is replaced with a replacement destination of the defective sector. A data recording / reproducing apparatus comprising: an alternative destination sector determining means for determining a sector.
【請求項4】 前記代替先セクタ決定手段は、前記代替
先セクタとして決定したスペアセクタが既に他の欠陥セ
クタの代替先セクタとして使用済みの場合には代替先セ
クタの再決定を行い、未使用のスペアセクタのうち前記
代替先セクタとして決定したスペアセクタに最も近い位
置のスペアセクタを新たに代替先セクタとして決定する
ことを特徴とする請求項1乃至請求項3のいずれかに記
載のデータ記録再生装置。
4. The replacement destination sector determination means, if the spare sector determined as the replacement destination sector has already been used as a replacement destination sector for another defective sector, redetermines the replacement destination sector, and 4. The data recording / reproducing apparatus according to claim 1, wherein a spare sector closest to the spare sector determined as the replacement destination sector among the spare sectors is newly determined as a replacement destination sector.
【請求項5】 前記ディスクが半径方向に複数のゾーン
に分割されたCDR(Constant Density Recording)方
式のフォーマットを適用しており、前記代替先セクタ決
定手段は、前記欠陥セクタのセクタ番号をi、当該欠陥
セクタが存在するトラックが属するゾーンをZn、その
ゾーンZnのデータセクタ数をN、前記スペアトラック
が属するゾーンをZm、そのゾーンZmのデータセクタ
数をMとすると、代替先セクタのセクタ番号を、前記余
りが1/2回転時間未満の場合には、 f={(i/N)*M+(M/2)}の整数部 の計算により、前記余りが1/2回転時間以上の場合に
は、 f={(i/N)*M}の整数部 の計算により求めることを特徴とする請求項3記載のデ
ータ記録再生装置。
5. A format according to a CDR (Constant Density Recording) method in which the disk is divided into a plurality of zones in a radial direction, wherein the replacement destination sector determining means sets a sector number of the defective sector to i, Assuming that the zone to which the track having the defective sector belongs is Zn, the number of data sectors in the zone Zn is N, the zone to which the spare track belongs is Zm, and the number of data sectors in the zone Zm is M, the sector number of the replacement destination sector If the remainder is less than 回 転 rotation time, the integer part of f = {(i / N) * M + (M / 2)} is calculated. The data recording / reproducing apparatus according to claim 3, wherein f is calculated by calculating an integer part of f = {(i / N) * M}.
【請求項6】 前記ディスク上の各トラックが前記欠陥
トラックであると仮定して当該各トラックのシリンダ番
号と前記スペアトラックのシリンダ番号との差につい
て、前記余りが1/2回転時間未満となる範囲と1/2
回転時間以上の範囲とがそれぞれ登録された判定テーブ
ル手段を更に具備し、 前記判定手段は、前記欠陥セクタが存在するトラックの
シリンダ番号と前記スペアトラックのシリンダ番号との
差により前記判定テーブルを参照することで、前記余り
が1/2回転時間未満であるか否かを判定することを特
徴とする請求項3記載のデータ記録再生装置。
6. Assuming that each track on the disk is the defective track, the remainder of the difference between the cylinder number of each track and the cylinder number of the spare track is less than 1/2 rotation time. Range and 1/2
A determination table for registering a range equal to or longer than the rotation time, wherein the determination unit refers to the determination table based on a difference between a cylinder number of a track in which the defective sector exists and a cylinder number of the spare track. 4. The data recording / reproducing apparatus according to claim 3, wherein it is determined whether or not the remainder is less than 1/2 rotation time.
【請求項7】 欠陥セクタの再配置用の複数のスペアセ
クタからなるスペアトラックが確保されたディスクを備
え、前記スペアトラックの中から欠陥セクタの代替先セ
クタを決定して割り当てる代替処理を実行するデータ記
録再生装置における代替先セクタ決定方法であって、 欠陥セクタが存在するトラックから前記スペアトラック
へシークするのに要するシーク時間と前記ディスクの1
回転時間とで決まる値をもとに、前記スペアトラックの
中から、前記ディスクの中心に対して前記欠陥セクタの
物理的位置と反対側の物理的位置にあるスペアセクタ、
または前記ディスクの中心に対して前記欠陥セクタの物
理的位置と同じ側の物理的位置にあるスペアセクタのい
ずれか一方を前記欠陥セクタの代替先セクタとして決定
することを特徴とする代替先セクタ決定方法。
7. A data having a disk in which a spare track including a plurality of spare sectors for relocating a defective sector is secured, and performing a substitution process for determining and assigning a substitution destination sector of the defective sector from among the spare tracks. A method for determining an alternative destination sector in a recording / reproducing apparatus, comprising: a seek time required to seek from a track having a defective sector to a spare track;
Based on a value determined by the rotation time, from among the spare tracks, a spare sector at a physical position opposite to the physical position of the defective sector with respect to the center of the disk;
Alternatively, one of the spare sectors located at the same physical position as the physical location of the defective sector with respect to the center of the disk is determined as a replacement destination sector for the defective sector. .
【請求項8】 前記シーク時間と前記ディスクの1回転
時間とで決まる値が、前記シーク時間を前記ディスクの
1回転時間で割った余りであることを特徴とする請求項
7記載の代替先セクタ決定方法。
8. The replacement destination sector according to claim 7, wherein a value determined by the seek time and one rotation time of the disk is a remainder obtained by dividing the seek time by one rotation time of the disk. Decision method.
【請求項9】 欠陥セクタの再配置用の複数のスペアセ
クタからなるスペアトラックが確保されたディスクを備
え、前記スペアトラックの中から欠陥セクタの代替先セ
クタを決定して割り当てる代替処理を実行するデータ記
録再生装置における代替先セクタ決定方法であって、 欠陥セクタの代替先を決定するに際し、当該欠陥セクタ
が存在するトラックから前記スペアトラックへシークす
るのに要するシーク時間を前記ディスクの1回転時間で
割った余りが1/2回転時間未満であるか否かを判別
し、 この判別の結果、前記余りが1/2回転時間未満であれ
ば、前記スペアトラックの中から、前記ディスクの中心
に対して前記欠陥セクタの物理的位置と反対側の物理的
位置にあるスペアセクタを前記欠陥セクタの代替先セク
タとして決定し、前記余りが1/2回転時間以上であれ
ば、前記スペアトラックの中から、前記ディスクの中心
に対して前記欠陥セクタの物理的位置と同じ側の物理的
位置にあるスペアセクタを前記欠陥セクタの代替先セク
タとして決定することを特徴とする代替先セクタ決定方
法。
9. A data having a disk in which a spare track made up of a plurality of spare sectors for relocating defective sectors is secured, and performing a substitute process for determining and assigning a substitute sector for a defective sector from among the spare tracks. A method for determining an alternative destination sector in a recording / reproducing apparatus, wherein when determining an alternative destination of a defective sector, a seek time required to seek from a track where the defective sector exists to the spare track is determined by one rotation time of the disk. It is determined whether or not the remainder is less than 1/2 rotation time. If the result of this determination is that the remainder is less than 1/2 rotation time, the spare track is moved from the spare track to the center of the disk. Determining a spare sector at a physical position opposite to the physical position of the defective sector as a replacement destination sector for the defective sector; If the remainder is equal to or longer than 1/2 rotation time, a spare sector located at the same physical position as the physical position of the defective sector with respect to the center of the disk is replaced with the defective sector from among the spare tracks. A method of determining an alternative destination sector, which is determined as a destination sector.
【請求項10】 前記代替先セクタとして決定したスペ
アセクタが既に他の欠陥セクタの代替先セクタとして使
用済みの場合には代替先セクタの再決定を行い、未使用
のスペアセクタのうち前記代替先セクタとして決定した
スペアセクタに最も近い位置のスペアセクタを新たに代
替先セクタとして決定することを特徴とする請求項7乃
至請求項9のいずれかに記載の代替先セクタ決定方法。
10. When the spare sector determined as the replacement destination sector has already been used as a replacement destination sector for another defective sector, the replacement destination sector is determined again, and the spare sector is determined as the replacement destination sector among the unused spare sectors. 10. The replacement destination sector determination method according to claim 7, wherein a spare sector closest to the determined spare sector is newly determined as a replacement destination sector.
JP15548796A 1996-06-17 1996-06-17 Data recording and reproducing device and deciding method for sector to be substituted in the device Pending JPH103752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15548796A JPH103752A (en) 1996-06-17 1996-06-17 Data recording and reproducing device and deciding method for sector to be substituted in the device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15548796A JPH103752A (en) 1996-06-17 1996-06-17 Data recording and reproducing device and deciding method for sector to be substituted in the device

Publications (1)

Publication Number Publication Date
JPH103752A true JPH103752A (en) 1998-01-06

Family

ID=15607129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15548796A Pending JPH103752A (en) 1996-06-17 1996-06-17 Data recording and reproducing device and deciding method for sector to be substituted in the device

Country Status (1)

Country Link
JP (1) JPH103752A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG93881A1 (en) * 1999-08-27 2003-01-21 Seagate Technology Llc Disk drive with fake defect entries

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG93881A1 (en) * 1999-08-27 2003-01-21 Seagate Technology Llc Disk drive with fake defect entries

Similar Documents

Publication Publication Date Title
US6101619A (en) Method for improving access performance on track with re-allocation sector in a hard disk drive
US6098185A (en) Header-formatted defective sector management system
US7330322B2 (en) Utilizing a combination of physical tracks and virtual tracks to store data on a data storage medium
JPH02263362A (en) Method for accessing data on recording medium and data recorder using this method
KR100242761B1 (en) Data storage disk drive data sector formatting system and method
US20050162990A1 (en) Optical disk apparatus with multiple reproduction/record units for parallel operation
US6775090B2 (en) Adapting logical track addresses in relation to head offsets
US5987400A (en) System for monitoring the throughput performance of a disk storage system
JPH0467469A (en) Rotary type storage device and control method for same
JPH10320924A (en) Method for recording information
US20060164747A1 (en) Method of determining format parameters of HDD
JPH03104056A (en) Information recording and reproducing method for rotary type information recording and reproducing device
US6470412B1 (en) Disk drive, disk control method, data read/write method, data assignment method, and disk storage medium
JPH06251506A (en) Magnetic disk device and alternate track/sector processing method therefor
KR20050021246A (en) Head control method and recording apparatus
JPH1092116A (en) Data recording/reproducing apparatus and spare track arrangement method in the apparatus
US7663832B2 (en) Method of compensating for track zero position in reference servo track copying system and disc drive using the same
JPH103752A (en) Data recording and reproducing device and deciding method for sector to be substituted in the device
JPH07320410A (en) Method for recording optical disk and its device
JP2003271318A (en) Self-mirroring method in disk storage device and disk storage device to which the method is applied
KR100618835B1 (en) Method for reassigning sector adaptively in data storage system and disc drive using the same
JP2503371B2 (en) Disk system
JPH05282792A (en) Disk device
KR100420992B1 (en) Method for automatically replacing defect servo sector of hard disk drive
JP3977611B2 (en) Disk storage device and sector replacement processing method in the same device