This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2010-225940, filed Oct. 5, 2010; the entire contents of which are incorporated herein by reference.
Embodiments described herein relate generally to a magnetic disk drive using an offset in positioning a head to read data and a head positioning method.
In recent years, as the capacity of a magnetic disk drive has been getting higher, the recording density and track density have been getting higher. As the track density has been getting higher, the interval between adjacent tracks (i.e., the track pitch) on a disk (magnetic disk) has been getting narrower.
As the track pitch has been getting narrower, data magnetically written in tracks adjacent to a target track might be magnetically degraded when data is magnetically written to the target track with a head (magnetic head). That is, the magnetization of adjacent tracks might be reduced. The reason is that a magnetic field generated by the head includes a component that makes no contribution to data writing, that is, a leakage magnetic field.
The effect of the leakage magnetic field on adjacent tracks is accumulated each time data is written to the target track. Therefore, as the number of times data is written to the target track increases, the magnetization of adjacent tracks are reduced further. The phenomenon of a decrease in the magnetization (i.e., demagnetization) of adjacent tracks is called a side erase.
As the demagnetization of adjacent tracks (or side erase) progresses, the error rate in reading data from the adjacent tracks increases. Before long, even if an attempt is made to restore the data in the adjacent tracks making full use of an error correction code (ECC), it will be difficult to restore the data. As a result, the data will be lost.
To overcome this problem, a recent magnetic disk drive requires track refreshing (rewriting) for restoring the magnetization of adjacent tracks before the progress of the demagnetization of adjacent tracks makes it impossible to read data from the adjacent tracks. That is, a write count is monitored for each zone or for each track. When the write count has exceeded a threshold value, each track in the corresponding zone or the corresponding track (more specifically, a track adjacent to a track whose write count has exceeded the threshold value) is refreshed.
Track refreshing is known as the operation of reading data from a demagnetized track and writing the read data to the track again. Rewriting data to the track (i.e., track refreshing) causes the magnetization of the track to be restored.
The demagnetization of adjacent tracks (side erasing) also takes place due to position errors in positioning the head on a target track to which data is to be written. In recent years, to cope with this problem, one known magnetic disk drive has a write inhibit slice set in each sector on a disk. In such a magnetic disk drive, when data is written to a target sector on a target track, a shift of the head position from the center line of the target track is detected. When the detected shift of the head position has exceeded the write inhibit slice corresponding to the target sector, the target sector is inhibited from being written to. This can prevent the data in a track adjacent to the target track from being erased (or rewritten) due to the shift of the head position.
As described above, the recent magnetic disk drive performs track refreshing when the write count for each zone or each track has exceeded the threshold value. This makes it possible to prevent the data in a track from being unable to be read due to demagnetization. However, when track refreshing is performed frequently, the performance of the magnetic disk drive decreases. Therefore, the threshold value of the write count tends to be set relatively high.
Even if the write count, for example, the number of times a second track adjacent to a first track has been written to, is in a range not exceeding the threshold value, the error rate in reading the first track is liable to increase as the write count increases. When the threshold value is set relatively high, this tendency increases. As described above, when the error rate in reading a track has increased, the number of times the track is retried being read from increases. Then, it takes a long time to read data from the track; on the contrary, the performance of the magnetic disk drive might decrease.
A general architecture that implements the various features of the embodiments will now be described with reference to the drawings. The drawings and the associated descriptions are provided to illustrate the embodiments and not to limit the scope of the invention.
Various embodiments will be described hereinafter with reference to the accompanying drawings. In general, according to one embodiment, a magnetic disk drive comprises a write count memory, a read offset setting module and a controller. The write count memory is configured to store a write count for each track or for each zone on a disk. The read offset setting module is configured to set, in accordance with a write count for an adjacent track to a target track or for a zone to which the adjacent track belongs, an offset from a predetermined position on the target track in a read position in which a head is to be positioned when the head is positioned on the target track for data read. The write count is stored in the write count memory. The controller is configured to position the head in a position shifted from the predetermined position by the set offset.
The HDD 10 comprises a disk (magnetic disk) 11, a head (a magnetic head) 12, a spindle motor (SPM) 13, an actuator 14, and a controller 15. The disk 11 has an upper disk surface and a lower disk surface. For example, the upper disk surface of the disk 1 is a recording surface on which data is written magnetically.
The head 12 is arranged so as to correspond to the recording surface of the disk 11. The head 12 includes a read element RE (not shown) and a write element WE shown in
In
In
The controller 15 is realized by, for example, a system LSI where a plurality of elements including a microprocessor unit (MPU) and a memory are integrated into a single chip. The controller 15 exchanges signals with the host 20. Specifically, the controller 15 receives a command (e.g., a write command or a read command) transferred from the host 20 via a host interface 21. The controller 15 controls data transfer between the controller 15 and the host 20. The controller 15 further controls data transfer between the disk 11 and the controller 15 via the head 12. The controller 15 also controls the SPM 13 and VCM 142. The controller 15 controls the VCM 142 to position the head 12 on the target track.
As described above, the error rate in reading a first track tends to increase as the number of times a second track adjacent to the first track has been written to increases. The reason will be explained with reference to
In
When data has been written to each of tracks T[n−1] and T[n+1], a region demagnetized due to a leakage magnetic field of the write element WE (hereinafter, referred to as an erase region) increases as the number of times data has been written increases.
As seen from
In the example of
For example, when the adjacent track write count is 1, the optimum point of a read position (the optimum read position) where the error rate in reading data from track T[n] is the lowest is almost at the center line of track T[n] as is clear from
Each of
It is seen from the profiles of the probability of read error (i.e., VMM profiles) shown in
The write count memory 151 stores, for example, the number of times data has been written for each head in each cylinder (i.e., for each track) as a write count.
The erase width table 152 pre-stores erase widths E(+) and E(−) for each head in each cylinder and for each write count. That is, the erase width table 152 pre-stores erase widths E(+) and E(−) corresponding to the write count for each track. In the embodiment, the maximum value q of the write count is smaller than a threshold value used to determine whether to perform track refreshing, for example, “the threshold count −1.” The erase widths E(+) and E(−) corresponding to the write count for each track can be measured and estimated in advance as described later. In the embodiment, on the basis of the measurement and estimation results, the erase width table 152 is set. The erase width table 152 is stored in a nonvolatile memory, such as a flash memory.
In
When the analyzed command is a read command and the head 12 is positioned on a target track to read data from a track specified by the read command (i.e., the target track), the table access module 155 accesses the erase width table 152. The table access module 155 obtains from the erase width table 152 an inner side erase width E(+) corresponding to the write count (adjacent track write count) of a track adjacent to the target track on the outer diameter zone of the disk 11. The table access module 155 further obtains from the erase width table 152 an outer side erase width E(−) corresponding to the write count of a track adjacent to the target track on the inner diameter zone of the disk 11.
On the basis of the obtained inner side erase width E(+) and outer side erase width E(−), the read offset setting module 156 calculates an offset of the position (read position) on the target track in which the head 12 is to be positioned from the center line of the target track. The read offset setting module 156 sets the calculated offset as a read offset.
The servo controller 157 is a main element of a read positioning control system that positions the head 12 in the optimum read position. The servo controller 157 performs feedback control of the VCM 142 so as to suppress the shift (position error) of the head 12 (more specifically, the read element RE of the head 12) from the optimum read position.
Generally, the optimum read position is the position of the center line of the target track T[n]. In the embodiment, however, when the table access module 155 has obtained the inner side erase width E(+) of outer adjacent track T[n−1] and the outer side erase width E(−) of inner adjacent track T[n+1], the optimum read position is determined as follows. The optimum read position is determined to be a position shifted from the center line of the target track T[n] by x=(E(+)−E(−))/2. This is clear from the explanation with reference to
Next, the operation of the embodiment will be explained with reference to a flowchart in
The command analysis module 153 of the controller 15 analyzes the received read command (block 101). On the basis of the result of analyzing the read command, control for positioning the middle position of the read element RE of the head 12 in the optimum read position is performed as follows in the controller 15. In the explanation below, a track adjacent to the target track T[m, n] on the outer diameter zone of the disk 11 is represented as track T[m, n−1] or outer adjacent track T[m, n−1]. In addition, a track adjacent to the target track T[m, n] on the inner zone of the disk 11 is represented as track T[m, n+1] or inner adjacent track T[m, n+1].
First, on the basis of the result of analyzing the read command, the command analysis module 153 informs the table access module 155 of the head number m and cylinder number n of the target track T[m, n] to be read (block 102). Then, referring to the write count memory 151, the table access module 155 obtains write counts N1 and N2 of tracks T[m, n−1] and T[m, n+1], respectively (block 103). That is, the table access module 155 obtains, as write count N1 of track T[m, n−1], write count N[m, n−1] stored in the write count memory 151 in association with a combination of head number m and cylinder number n−1. Write count N[m, n−1] represents the number of times data was written to track T[m, n−1]. In addition, the table access module 155 obtains, as write count N2 of track T[m, n+1], write count N[m, n+1] stored in the write count memory 151 in association with a combination of head number m and cylinder number n+1. Write count N[m, n+1] represents the number of times data was written to track T[m, n+1].
Next, the table access module 155 accesses the erase width table 152, thereby acquiring erase widths E(+)[m, n−1, N1] and E(−)[m, n+1, N2] (block 104). That is, the table access module 155 obtains, as erase width E(+)[m, n−1, N1], inner side erase width E(+) of the two erase widths stored in the erase width table 152 in association with a combination of track T[m, n−1] and write count N1. In addition, the table access module 155 obtains, as erase width E(−)[m, n+1, N2], outer side erase width E(−) of the two erase widths stored in the erase width table 152 in association with a combination of track T[m, n+1] and write count N2.
As described above, in the embodiment, erase widths E(+)[m, n−1, N1] and E(−)[m, n+1, N2] can be obtained directly from the erase width table 152, because erase widths E(+) and E(−) corresponding to combinations of all the tracks on the disk 11 and all the write counts up to the maximum value q have been stored in the erase width table 152.
The erase width table 152 may store only erase widths E(+) and E(−) corresponding to predetermined write counts of predetermined tracks. For example, the erase width table 152 may store only erase widths E(+) and E(−) corresponding to each of the write counts, 1, 10, 100, and 1000, of predetermined tracks whose relative positions in zones Z0 to Z28 (M=29) are the same. Each of the predetermined tracks will be hereinafter referred to as a representative track. In this configuration, suppose an erase width (i.e., an erase width to be obtained) corresponding to a combination of track T[m, n−1] and write count N1 or an erase width (i.e., an erase width to be obtained) corresponding to a combination of track T[m, n+1] and write count N2 have not been stored in the erase width table 152. In this case, the erase width to be obtained should be determined by a known interpolation method (e.g., linear interpolation method) on the basis of the erase width table 152.
In addition, for example, inner side erase width E(+) stored in the erase width table 152 in association with a track and a write count closest to track T[m, n−1] and write count N1 respectively may be used as erase width E(+)[m, n−1, N1]. Similarly, outer side erase width E(−) stored in the erase width table 152 in association with a track and a write count closest to track T[m, n+1] and write count N2 respectively may be used as erase width E(−)[m, n+1, N2].
On the basis of erase widths E(+)[m, n−1, N1] and E(−)[m, n+1, N2] obtained by the table access module 155, the read offset setting module 156 calculates a read offset (i.e., optimum read offset) x[m, n] in positioning the read element RE of the head 12 in the optimum read position of the target track T[m, n] (block 105). More specifically, the read offset setting module 156 calculates a read offset x[m, n] using the following equation:
x[m,n]=(E(+)[m,n−1,N1]−E(−)[m,n+1,N2])/2
As is clear from this, it would be safe to say that erase widths E(+) and E(−) corresponding to counts for each track stored in the erase width table 152 are read offset parameter values for determining a read offset. The read offset setting module 156 sets the calculated read offset x[m, n] in a read positioning control system 158 (block 106).
In the read positioning control system 158, the set read offset x[m, n] is added to the position of the center line of target track T[m, n] (a normal target position). The position indicated by the addition result is determined to be a new target position, that is, the optimum read position. The servo controller 157 of the read positioning control system 158 controls the VCM 142 so that the read element RE of the head 12 may be positioned in the new target position. That is, the servo controller 157 performs positioning control to position the read element RE of the head 12 in the optimum read position shifted from the position of the center line of the target track T[m, n] by read offset x[m, n] (block 107). If the position of the center line of the target track T[m, n] is at 0, the optimum read position coincides with read offset x[m, n].
As described above, according to the embodiment, the read position is corrected on the basis of the inner side erase width E(+)[m, n−1, N1] and the outer side erase width E(−)[m, n+1, N2]. The inner side erase width E(+)[m, n−1, N1] corresponds to write count N1 of the outer adjacent track T[m, n−1] with respect to the target track T[m, n]. The outer side erase width E(−)[m, n+1, N2] corresponds to write count N2 of the inner adjacent track T[m, n+1] with respect to the target track T[m, n]. That is, according to the embodiment, the shift of the position of the read element of the head 12 from the optimum read position where the error rate becomes the smallest is corrected, causing the read element to be positioned in the optimum read position.
Generally, as the number of times data has been written to a track adjacent to the target track increases, the erase region (erase width) of the adjacent track becomes wider. Then, the error rate in reading data from the target track becomes higher. In the embodiment, however, since the read element of the head 12 is positioned in the optimum read position, the error rate can be prevented from increasing.
The effect of the embodiment will be explained with reference to
The curves 111a, 112a, 113a, 114a, 111b, 112b, 113b, 114b are approximated by specific polynomial expressions. These curves differ in the coefficient of the polynomial (polynomial coefficient). The erase width table 152 with the data structure of
Each of the curves 111a, 112a, 113a, 114a, 111b, 112b, 113b, and 114b can be specified by a polynomial expression and the corresponding polynomial coefficient. Therefore, polynomial coefficients corresponding to the curves 111a, 112a, 113a, 114a, 111b, 112b, 113b, 114b respectively may be pre-stored in a nonvolatile memory and a corresponding polynomial coefficient may be used instead of the erase width table 152 as needed. That is, on the basis of a polynomial expression and a polynomial coefficient corresponding to a target adjacent track write count, an inner side erase width and an outer side erase width for each of the outer adjacent track and inner adjacent track for the target track may be calculated. The curves 111a, 112a, 113a, 114a, 111b, 112b, 113b, and 114b (or The polynomial expressions corresponding to the curves 111a, 112a, 113a, 114a, 111b, 112b, 113b, 114b, respectively) depend on a write count for each track or zone. Therefore, the read offset setting module 156 can set a read offset x on the basis of a write count for each track or zone.
For the sake of comparison with
That is, according to the embodiment, the positioning of the read element RE of the head 12 is controlled on the basis of the optimum read position (read offset) x corresponding to the zone to which the target track belongs, which makes it possible to reduce the error rate in reading data from the target track. If a read error should have occurred, the number of repetitions can be decreased in a read retry process of repeating the operation (i.e., offset search) of searching for the optimum point of a read position by shifting the read position in units of, for example, a predetermined offset amount. The reason is that the starting position of offset search gets closer to the optimum point. This enables the performance of the HDD 10 to be improved.
[First Modification]
Next, a first modification of the embodiment will be explained with reference to
In this case, the table access module 55 obtains from the write count memory 151 the write count of a zone to which an outer adjacent track adjacent to the target track on the outer diameter zone of the disk 11 belongs and the write count of a zone to which an inner adjacent track adjacent to the target track on the inner diameter zone of the disk 11 belongs. In addition, the table access module 155 obtains from the erase width table 152 an erase width E(+) and an erase width E(−) corresponding to the obtained write count of a zone to which the outer adjacent track belongs and the obtained write count of a zone to which the inner adjacent track belongs, respectively. The first modification is suitable for a case where data is written uniformly to each track in each zone. According to the first modification, the storage capacity necessary for the write count memory 151 and erase width table 152 can be reduced.
[Second Modification]
Next, a second modification of the embodiment will be explained with reference to
Next, the table access module 155 uses the obtained write count N1 of the first sector in track T[m, n−1] and the obtained write count N2 of the second sector in track T[m, n+1] as write count N1 of track T[m, n−1] and write count N2 of track T[m, n+1], respectively. By doing this, the table access module 155 obtains erase widths E(+)[m, n−1, N1] and E(−)[m, n+1, N2] as in the embodiment. Subsequent operations are the same as those in the embodiment. In the second modification, too, the error rate in reading data from the target sector in target track T[m, n] can be reduced efficiently. The second modification is suitable for a case where the write count differs greatly between sectors in a track.
According to at least one of the embodiments described above, it is possible to provide a magnetic disk drive using an offset in positioning the head to read data and a head positioning method which are capable of preventing the degradation of the read error rate or an increase in the number of occurrences of read retry resulting from an increase in the write count.
The various modules of the systems described herein can be implemented as software applications, hardware and/or software modules, or components on one or more computers, such as servers. While the various modules are illustrated separately, they may share some or all of the same underlying logic or code.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2010-225940 | Oct 2010 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20050180267 | Jeong et al. | Aug 2005 | A1 |
20060132954 | Wada et al. | Jun 2006 | A1 |
Number | Date | Country |
---|---|---|
7-65389 | Mar 1995 | JP |
11-353828 | Dec 1999 | JP |
2004-030853 | Jan 2004 | JP |
2004-303303 | Oct 2004 | JP |
2010-218613 | Sep 2010 | JP |
Number | Date | Country | |
---|---|---|---|
20120081810 A1 | Apr 2012 | US |