Disk drive biasing refresh zone counters based on write commands

Information

  • Patent Grant
  • 7974029
  • Patent Number
    7,974,029
  • Date Filed
    Friday, July 31, 2009
    15 years ago
  • Date Issued
    Tuesday, July 5, 2011
    13 years ago
Abstract
A disk drive is disclosed comprising a disk comprising a plurality of tracks, and a head actuated over the disk. A plurality of refresh zones are defined, wherein each refresh zone corresponds to a plurality of the tracks. Data is written to a first refresh zone, and a first zone counter is updated for a second refresh zone at a first rate. Data is written to a third refresh zone, and the first zone counter is updated for the second refresh zone at a second rate different than the first rate.
Description
BACKGROUND

Disk drives comprise a disk and a head connected to a distal end of an actuator arm which is rotated about a pivot by a voice coil motor (VCM) to position the head radially over the disk. The disk comprises a plurality of radially spaced, concentric tracks for recording user data sectors and embedded servo sectors. The embedded servo sectors comprise head positioning information (e.g., a track address) which is read by the head and processed by a servo control system to control the velocity of the actuator arm as it seeks from track to track.


During a write operation, a current is applied to a write element of the head (e.g., a write coil) to create a magnetic field which magnetizes the surface of the disk by orienting the direction of magnetic grains (e.g., horizontally in longitudinal magnetic recording, or vertically in perpendicular magnetic recording). The orientation of the grains exhibits hysteresis thereby generating their own magnetic field when the write magnetic field is removed. During a read operation, a read element of the head (e.g., a magnetoresistive element) transduces the magnetic field emanating from the disk surface into a read signal that is demodulated into an estimated data sequence.


The hysteresis of the magnetic grains is not permanent meaning that over time the grains will orientate into random directions (magnetic entropy) until the magnetic field is no longer sensed reliably (leading to data errors during reproduction). Magnetic entropy may also be precipitated by various factors, such as increasing ambient temperature. That is, at higher temperatures the uniform alignment of the grains will degrade faster. Another factor that precipitates magnetic entropy is a phenomenon referred to as adjacent track interference (ATI) wherein when writing data to a target track, the fringe field from the write element degrades the uniform alignment of the grains recorded in an adjacent track. The degrading effect of ATI on the adjacent tracks compounds over time with each write operation to the target track. Eventually, the magnetic field emanating from the disk surface will deteriorate to the point that the data is no longer recoverable.



FIG. 1 shows a prior art disk format 2 comprising a number of data tracks 4 defined by concentric servo sectors 60-6N recorded around the circumference of each data track. Each servo sector 6i comprises a preamble 8 for storing a periodic pattern, which allows proper gain adjustment and timing synchronization of the read signal, and a sync mark 10 for storing a special pattern used to synchronize to a servo data field 12. The servo data field 12 stores coarse head positioning information, such as a servo track address, used to position the head over a target data track during a seek operation. Each servo sector 6i further comprises groups of servo bursts 14 (e.g., A, B, C and D bursts), which comprise a number of consecutive transitions recorded at precise intervals and offsets with respect to a data track centerline. The groups of servo bursts 14 provide fine head position information used for centerline tracking while accessing a data track during write/read operations.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 shows a prior art disk format comprising a plurality of tracks defined by embedded servo sectors.



FIG. 2A shows a disk drive according to an embodiment of the present invention comprising a head actuated over a disk, and control circuitry.



FIG. 2B is a flow diagram executed by the control circuitry according to an embodiment of the present invention wherein a zone counter is updated at a different rate depending on the location (refresh zone) of written data.



FIG. 3A shows a flow diagram according to an embodiment of the present invention wherein a zone counter is updated at a different rate depending on whether a written zone is adjacent or non-adjacent.



FIG. 3B shows a flow diagram according to an embodiment of the present invention wherein after writing data to a first refresh zone, a zone counter of a second refresh zone toward the inner diameter of the disk is updated at a first rate, and a zone counter of a third refresh zone toward the outer diameter of the disk is updated at a second rate.



FIG. 3C illustrates an embodiment of the present invention wherein zone counters of non-adjacent zones are updated at a slower rate, and at a varying rate depending on whether the refresh zone is toward an inner diameter or outer diameter of the disk.



FIG. 3D illustrates an embodiment of the present invention wherein the zone counter update rate of adjacent and non-adjacent zones varies based on the ambient temperature of the disk drive.



FIG. 4A is a flow diagram according to an embodiment of the present invention wherein a zone counter is updated at a rate based on a write type.



FIG. 4B is a flow diagram according to an embodiment of the present invention wherein the zone counters are updated at different rates based on their radial locations.



FIG. 4C illustrates an embodiment of the present invention wherein the zone counters of the refresh zones are updated at different rates depending on the logical block address (LBA) of write commands.



FIG. 5A shows a flow diagram according to an embodiment of the present invention wherein the zone counters are updated at different rates based on the block size of write commands.



FIG. 5B shows a flow diagram according to an embodiment of the present invention wherein the zone counters are updated at different rates based on whether the write command is a write continuous command.



FIG. 5C shows a flow diagram according to an embodiment of the present invention wherein the zone counters are updated at different rates based on whether the write command is a streaming write command or a non-streaming write command.



FIG. 6A shows equations for updating a zone counter according to an embodiment of the present invention.



FIGS. 6B and 6C show tables for updating zone counters according to an embodiment of the present invention.





DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION


FIG. 2A shows a disk drive according to an embodiment of the present invention comprising a disk 16 having a plurality of tracks 18, and a head 20 actuated over the disk 16. A plurality of refresh zones are defined, wherein each refresh zone corresponds to a plurality of the tracks 18. The disk drive further comprises control circuitry 22 operable to execute the flow diagram of FIG. 2B, wherein data is written to a first refresh zone (step 24), and a first zone counter is updated for a second refresh zone at a first rate (step 26). Data is written to a third refresh zone (step 28), and the first zone counter is updated for the second refresh zone at a second rate different than the first rate (step 30).


The zone counters are used to refresh the data stored in the tracks of the corresponding refresh zone. For example, when a zone counter exceeds a threshold, the corresponding refresh zone is refreshed by reading and rewriting the data stored in the tracks. In one embodiment, the data of a refresh zone may be read and rewritten regardless as to degradation of the data. In another embodiment, the data in a refresh zoned may be scanned first to determine whether a rewrite is necessary. For example, the data may be rewritten only if a number of detected error correction code (ECC) errors exceeds a threshold.


The refresh operation may be executed in any suitable manner and at any suitable time. In one embodiment, a refresh operation may be performed on a refresh zone immediately after its zone counter exceeds a threshold. In another embodiment, the refresh zone may be scheduled for refresh after its zone counter exceeds a threshold, and the refresh operation executed during an idle mode of the disk drive (when the disk drive is not processing access commands received from a host). In yet another embodiment, the zone counters may be used to prioritize the refresh operations such that refresh zones having higher zone counters are refreshed sooner relative to the other refresh zones.


In the embodiments of the present invention, each zone counter may be updated at different rates depending on one or more factors. In the embodiment of FIG. 2B, the update rate of a first zone counter varies based on a write operation to another refresh zone due to the varying affect of adjacent track interference. For example in embodiments described below, the update rate may depend on whether an updated refresh zone is adjacent or non-adjacent to a written refresh zone, or whether an updated refresh zone is toward an inner diameter or outer diameter of the disk away from a written refresh zone.


In the embodiment of FIG. 2A, the disk 16 comprises a plurality of embedded servo sectors 320-32N which define the plurality of tracks 18. Each servo sector 32i comprises head positioning information such as a track address for coarse positioning during seeks, and servo bursts for fine positioning while tracking the centerline of a target track during write/read operations. The control circuitry 22 processes a read signal 34 emanating from the head 20 to demodulate the servo sectors into a position error signal (PES). The PES is filtered with a suitable compensation filter to generate a control signal 36 applied to a VCM 38 which rotates an actuator arm 40 about a pivot in a direction that reduces the PES.



FIG. 3A shows a flow diagram according to an embodiment of the present invention wherein after writing data to a first refresh zone (step 42), the zone counter for an adjacent refresh zone is updated at a first rate (step 44), and the zone counter for a non-adjacent refresh zone is updated at a second rate (step 46). This embodiment is illustrated in FIG. 3C wherein the outer diameter refresh zone adjacent to a target (written) refresh zone is incremented by three, whereas the non-adjacent refresh zones are incremented by two and one. In this embodiment, the affect of adjacent track interference on the proximate refresh zones dissipates as the distance increases away from the target refresh zone.



FIG. 3B shows a flow diagram according to an embodiment of the present invention wherein after writing data to a first refresh zone (step 48), the zone counter for a refresh zone toward the inner diameter (ID) away from the target refresh zone is updated at a first rate (step 50), and the zone counter for a refresh zone toward the outer diameter (OD) away from the target refresh zone is updated at a second rate (step 52). This embodiment is illustrated in FIG. 3C wherein the zone counter for the adjacent OD refresh zone is incremented by three, and the zone counter for the adjacent ID refresh zone is incremented by two. In this embodiment, the effect of adjacent track interference on the OD and ID refresh zones varies due, for example, to the geometry and/or skew angle of the head.



FIG. 3D illustrates an embodiment of the present invention wherein the update rate of the proximate refresh zones varies based on the ambient temperature of the disk drive. In the example of FIG. 3D, the temperature is lower during the write operation as compared to FIG. 3C, and therefore in this embodiment the range of affected refresh zones decreases, as well as the update rate of the proximate refresh zones. In other embodiments, only the update rate of the proximate refresh zones may change while the range of affected refresh zones remains the same.



FIG. 4A is a flow diagram according to an embodiment of the present invention wherein after writing data to a first refresh zone (step 54), the corresponding zone counter is updated at a rate based on the write type (step 56). There are a number of different write types that may affect magnetic entropy with varying degree, and there are write types where the effect of magnetic entropy is less of a concern. In the latter case, the zone counter may be updated less frequently to avoid the performance degradation associated with refreshing data.



FIG. 4B shows a flow diagram according to an embodiment of the present invention wherein after writing data to a first refresh zone (step 58), the corresponding zone counter is updated at a first rate (step 60), and after writing data to a second refresh zone (step 62), the corresponding zone counter is updated at a second rate (step 64). An example of this embodiment is illustrated in FIG. 4C wherein small logical block addresses (LBAs) may be associated with more critical data written to the corresponding refresh zones, such as operating system data, whereas larger LBAs may be associated with less critical data. In order to help prevent the loss of the critical data, the refresh zones corresponding to the smaller LBAs are refreshed more frequently by updating the zone counters at a higher rate.



FIG. 5A is a flow diagram according to another embodiment of the present invention wherein when a write command is received (step 66), the block size of the write command is evaluated (step 68). Write commands having a first block size update the corresponding zone counter(s) at a first rate (step 70), and write commands having a second block size update the corresponding zone counter(s) at a second rate (step 72). For example, write commands having a large block size may overwrite a substantial part of a refresh zone, and therefore the refresh operation for that zone may be deferred since overwriting data is similar to a refresh operation. In another example, a small block size write may indicate the data is more critical (e.g., operating system data) whereas a large block size write may indicate the data is less critical (e.g., streaming video data). Accordingly, write commands having a small block size may update the corresponding zone counter(s) more frequently to help ensure the integrity of the more critical data.



FIG. 5B shows a flow diagram according to an embodiment of the present invention wherein when a write command is received (step 74), and the write command is a “write continuous” command (step 76), the corresponding zone counter is updated at a first rate (step 78), otherwise the corresponding zone counter is updated at a second rate (step 80). A write continuous command means the write command will be completed even when a write error is encountered, indicating the corresponding write data is probably less critical (e.g., streaming video data).



FIG. 5C shows a flow diagram according to an embodiment of the present invention wherein when a write command is received (step 82), and the write command is a streaming command (step 84), the corresponding zone counter is updated at a first rate (step 86), otherwise the corresponding zone counter is updated at a second rate (step 88). An example of a streaming command is the “write stream DMA” command as compared to the non-streaming command “write DMA” which are part of the Advanced Technology Attachment (ATA) protocol.



FIG. 6A shows example equations for updating the zone counters according to an embodiment of the present invention. A particular zone counter ZCn is updated by adding an offset computed by a usage model function Fn(UM). The usage model function Fn(UM) is a function of the write command type (WCT) scaled by a data lifeguard value (DLGn) and by a temperature coefficient f(Temp). In the embodiment of FIG. 6A, the write command type (WCT) is computed as a summation of different types, including the LBA scaled by coefficient C1, a write block size (WB) scaled by a coefficient C2, a frequency that the zone counter is being updated (Freq) scaled by a coefficient C3, and whether the write command is a streaming command (ST) scaled by a coefficient C4. The data lifeguard value (DLGn) represents the affect of adjacent track interference on magnetic entropy. In the embodiment of FIG. 6A, any suitable coefficients C5-C8 may be employed to compute the DLGn, wherein the coefficients typically decrease as the adjacency of the refresh zones decreases. For example, the coefficient C5 for the written refresh zone is the highest, the coefficient C6 for the adjacent zones is smaller than C5, and so on.



FIGS. 6B and 6C show tables illustrating an example as to how the DLGn value may be computed for the refresh zones that are proximate a target (written) refresh zone (refresh zone 8 in this example). For the written refresh zone (zone 8), the coefficient C5 is used to update the zone counter for refresh zone 8. For the adjacent refresh zones 7 and 9, the coefficient C6 is used to update the zone counters for refresh zones 7 and 9. For refresh zones 10 and 11 (toward the OD), the coefficient C7 is used to update the zone counters for refresh zones 10 and 11. Accordingly, when a write command is executed in refresh zone 8, refresh zones 4 thru 12 are affected by the write operation (via ATI) and therefore the corresponding zone counters are updated in response to the write command using the coefficients as describe above.


Any suitable control circuitry may be employed to implement the flow diagrams in the embodiments of the present invention, such as any suitable integrated circuit or circuits. For example, the control circuitry may be implemented within a read channel integrated circuit, or in a component separate from the read channel, such as a disk controller, or certain steps described above may be performed by a read channel and others by a disk controller. In one embodiment, the read channel and disk controller are implemented as separate integrated circuits, and in an alternative embodiment they are fabricated into a single integrated circuit or system on a chip (SOC). In addition, the control circuitry may include a suitable preamp circuit implemented as a separate integrated circuit, integrated into the read channel or disk controller circuit, or integrated into an SOC.


In one embodiment, the control circuitry comprises a microprocessor executing instructions, the instructions being operable to cause the microprocessor to perform the steps of the flow diagrams described herein. The instructions may be stored in any computer-readable medium. In one embodiment, they may be stored on a non-volatile semiconductor memory external to the microprocessor, or integrated with the microprocessor in a SOC. In another embodiment, the instructions are stored on the disk and read into a volatile semiconductor memory when the disk drive is powered on. In yet another embodiment, the control circuitry comprises suitable logic circuitry, such as state machine circuitry.

Claims
  • 1. A disk drive comprising: a disk comprising a plurality of tracks;a head actuated over the disk; andcontrol circuitry operable to: define a plurality of refresh zones, wherein each refresh zone corresponds to a plurality of the tracks;first write data to a first refresh zone, and update a first zone counter for a second refresh zone at a first rate; andsecond write data to a third refresh zone, and update the first zone counter for the second refresh zone at a second rate different than the first rate.
  • 2. The disk drive as recited in claim 1, wherein the control circuitry is further operable to update a second zone counter of a fourth refresh zone at a third rate in response to the first write.
  • 3. The disk drive as recited in claim 2, wherein the third rate is different than the first rate.
  • 4. The disk drive as recited in claim 2, wherein: the second refresh zone is adjacent to the first refresh zone; andthe fourth refresh zone is not adjacent to the first refresh zone.
  • 5. The disk drive as recited in claim 2, wherein: the second refresh zone is located toward an outer diameter of the disk away from the first zone; andthe fourth refresh zone is located toward an inner diameter of the disk away from the first zone.
  • 6. The disk drive as recited in claim 2, wherein the third rate varies based on an ambient temperature of the disk drive.
  • 7. A disk drive comprising: a disk comprising a plurality of tracks;a head actuated over the disk; andcontrol circuitry operable to: define a plurality of refresh zones, wherein each refresh zone corresponds to a plurality of the tracks;write data to a first refresh zone in response to a write command; andupdate a first zone counter for the first refresh zone at a first rate based on a type of the write command.
  • 8. The disk drive as recited in claim 7, wherein the type of the write command comprises a logical block address range.
  • 9. The disk drive as recited in claim 8, wherein the write command identifies a first logical block address range and the control circuitry is further operable to: write data to a second refresh zone in response to a second write command identifying a second logical block address range; andupdate a second zone counter for the second refresh zone at a second rate different than the first rate.
  • 10. The disk drive as recited in claim 7, wherein the type of the write command comprises a block size of the first write command.
  • 11. The disk drive as recited in claim 7, wherein the type of the write command comprises a write continuous command indicating the first write command will be completed when a write error is encountered.
  • 12. The disk drive as recited in claim 7, wherein the type of the write command comprises one of a non-streaming command and a streaming command.
  • 13. A method of operating a disk drive, the disk drive comprising a disk comprising a plurality of tracks, and a head actuated over the disk, the method comprising: defining a plurality of refresh zones, wherein each refresh zone corresponds to a plurality of the tracks;first writing data to a first refresh zone, and updating a first zone counter for a second refresh zone at a first rate; andsecond writing data to a third refresh zone, and updating the first zone counter for the second refresh zone at a second rate different than the first rate.
  • 14. The method as recited in claim 13, further comprising updating a second zone counter of a fourth refresh zone at a third rate in response to the first write.
  • 15. The method as recited in claim 14, wherein the third rate is different than the first rate.
  • 16. The method as recited in claim 14, wherein: the second refresh zone is adjacent to the first refresh zone; andthe fourth refresh zone is not adjacent to the first refresh zone.
  • 17. The method as recited in claim 14, wherein: the second refresh zone is located toward an outer diameter of the disk away from the first zone; andthe fourth refresh zone is located toward an inner diameter of the disk away from the first zone.
  • 18. The method as recited in claim 14, wherein the third rate varies based on an ambient temperature of the disk drive.
  • 19. A method of operating a disk drive, the disk drive comprising a disk comprising a plurality of tracks, and a head actuated over the disk, the method comprising: defining a plurality of refresh zones, wherein each refresh zone corresponds to a plurality of the tracks;writing data to a first refresh zone in response to a write command; andupdating a first zone counter for the first refresh zone at a first rate based on a type of the write command.
  • 20. The method as recited in claim 19, wherein the type of the write command comprises a logical block address range.
  • 21. The method as recited in claim 20, wherein the write command identifies a first logical block address range, the method further comprising: writing data to a second refresh zone in response to a second write command identifying a second logical block address range; andupdating a second zone counter for the second refresh zone at a second rate different than the first rate.
  • 22. The method as recited in claim 19, wherein the type of the write command comprises a block size of the first write command.
  • 23. The method as recited in claim 19, wherein the type of the write command comprises a write continuous command indicating the first write command will be completed when a write error is encountered.
  • 24. The method as recited in claim 19, wherein the type of the write command comprises one of a non-streaming command and a streaming command.
US Referenced Citations (108)
Number Name Date Kind
4642715 Ende Feb 1987 A
4750059 Syracuse Jun 1988 A
4949036 Bezinque et al. Aug 1990 A
5487077 Hassner et al. Jan 1996 A
5508869 Nanjyo Apr 1996 A
5600500 Madsen et al. Feb 1997 A
5651131 Chesley Jul 1997 A
5682273 Hetzler Oct 1997 A
5781518 Yamagami et al. Jul 1998 A
5784296 Baker et al. Jul 1998 A
5870237 Emo et al. Feb 1999 A
5872800 Glover et al. Feb 1999 A
5873114 Rahman et al. Feb 1999 A
5909334 Barr et al. Jun 1999 A
5923485 Ito Jul 1999 A
5930358 Rao Jul 1999 A
5941998 Tillson Aug 1999 A
5970507 Kato et al. Oct 1999 A
6052804 Thowe et al. Apr 2000 A
6181500 Serrano et al. Jan 2001 B1
6266199 Gillis et al. Jul 2001 B1
6289484 Rothberg et al. Sep 2001 B1
6317813 Su et al. Nov 2001 B1
6317850 Rothberg Nov 2001 B1
6327106 Rothberg Dec 2001 B1
6359744 Mallary Mar 2002 B1
6384999 Schibilla May 2002 B1
6393511 Albrecht et al. May 2002 B1
6426909 Tomita Jul 2002 B1
6429984 Alex Aug 2002 B1
6442715 Wilson Aug 2002 B1
6445525 Young Sep 2002 B1
6490111 Sacks Dec 2002 B1
6570801 Yoshida et al. May 2003 B2
6603617 Cross Aug 2003 B1
6606211 Lim et al. Aug 2003 B1
6628466 Alex Sep 2003 B2
6650492 Lenny et al. Nov 2003 B2
6661597 Codilian et al. Dec 2003 B1
6691255 Rothberg et al. Feb 2004 B1
6697203 Cheng et al. Feb 2004 B1
6697992 Ito et al. Feb 2004 B2
6714368 Himle et al. Mar 2004 B1
6747827 Bassett et al. Jun 2004 B1
6781780 Codilian Aug 2004 B1
6791775 Li et al. Sep 2004 B2
6798591 Barnett et al. Sep 2004 B2
6809893 Uzumaki et al. Oct 2004 B2
6826007 Patton, III Nov 2004 B1
6854022 Thelin Feb 2005 B1
6854071 King et al. Feb 2005 B2
6862505 Satoh et al. Mar 2005 B2
6892249 Codilian et al. May 2005 B1
6895500 Rothberg May 2005 B1
6898033 Weinstein et al. May 2005 B2
6947234 Lamberts et al. Sep 2005 B2
6948102 Smith Sep 2005 B2
6950967 Brunnett et al. Sep 2005 B1
6980386 Wach et al. Dec 2005 B2
6982842 Jing et al. Jan 2006 B2
6987630 Higgins et al. Jan 2006 B1
6995933 Codilian et al. Feb 2006 B1
7006321 Kisaka Feb 2006 B2
7023645 Emo et al. Apr 2006 B1
7024614 Thelin et al. Apr 2006 B1
7032127 Egan et al. Apr 2006 B1
7043598 Wu et al. May 2006 B2
7050252 Vallis May 2006 B1
7076604 Thelin Jul 2006 B1
7082494 Thelin et al. Jul 2006 B1
7102838 Kim et al. Sep 2006 B2
7120737 Thelin Oct 2006 B1
7143203 Altmejd Nov 2006 B1
7143309 Yoshida Nov 2006 B2
7173782 Ikeda et al. Feb 2007 B2
7177979 Kuwamura Feb 2007 B2
7227708 Feng Jun 2007 B2
7345837 Schreck et al. Mar 2008 B1
7362532 Iwama Apr 2008 B2
7405893 Bi et al. Jul 2008 B2
7477465 Yu Jan 2009 B2
7599139 Bombet et al. Oct 2009 B1
7606129 Urata et al. Oct 2009 B2
7649704 Bombet et al. Jan 2010 B1
7672072 Boyle et al. Mar 2010 B1
7872822 Rothberg Jan 2011 B1
20010043424 Nguyen Nov 2001 A1
20030007269 Alex Jan 2003 A1
20030016461 Seng et al. Jan 2003 A1
20040153949 Ro et al. Aug 2004 A1
20040174627 Kim et al. Sep 2004 A1
20040252397 Hodge et al. Dec 2004 A1
20040264028 Ishii et al. Dec 2004 A1
20040268033 Chia et al. Dec 2004 A1
20050036437 Learned et al. Feb 2005 A1
20050063084 Fujiwara et al. Mar 2005 A1
20050078393 Cho Apr 2005 A1
20050146803 Kim et al. Jul 2005 A1
20050180267 Jeong et al. Aug 2005 A1
20050188153 Yun et al. Aug 2005 A1
20050207049 Ikeda et al. Sep 2005 A1
20060066971 Alex et al. Mar 2006 A1
20060098318 Feng May 2006 A1
20060101197 Georgis et al. May 2006 A1
20060132954 Wada et al. Jun 2006 A1
20060198041 Kuwamura Sep 2006 A1
20070076315 McMurtrey Apr 2007 A1
20070277011 Tanaka et al. Nov 2007 A1
Foreign Referenced Citations (1)
Number Date Country
10-255202 Sep 1998 JP
Related Publications (1)
Number Date Country
20110026159 A1 Feb 2011 US