Shingled magnetic recording disk drive with inter-band disk cache and minimization of the effect of far track erasure on adjacent data bands
A shingled magnetic recording hard disk drive that uses writeable cache tracks in the inter-band gaps between the annular data bands minimizes the effect of far track erasure (FTE) in the boundary regions of annular data bands caused by writing to the cache tracks. Based on the relative FTE effect for all the tracks in a range of tracks of the cache track being written, a count increment (CI) table or a cumulative count increment (CCI) table is maintained. For every writing to a cache track, a count for each track in an adjacent boundary region, or a cumulative count for each adjacent boundary region, is increased. When the count value for a track, or the cumulative count for a boundary region, reaches a predetermined threshold the data is read from that band and rewritten to the same band.
Latest HGST Netherlands B.V. Patents:
This application is related to application Ser. No. 13/423,177 filed Mar. 17, 2012 concurrently with this application and titled “SHINGLED MAGNETIC RECORDING DISK DRIVE WITH MINIMIZATION OF THE EFFECT OF FAR TRACK ERASURE ON ADJACENT DATA BANDS” which is now U.S. Pat. No. 8,537,481 B1.
BACKGROUND OF THE INVENTION1. Field of the Invention
This invention relates generally to magnetic recording hard disk drives (HDDs), and more particularly to a shingled magnetic recording (SMR) HDD that minimizes the effect of far track erasure (FTE) on data tracks in the boundary regions of data bands.
2. Description of the Related Art
Magnetic recording disk drives that use “shingle writing”, also called “shingled recording” or “shingled magnetic recording” (SMR), have been proposed, for example as described in U.S. Pat. No. 6,185,063 B1 and U.S. Pat. No. 6,967,810 B2. In SMR, the write head, which is wider than the read head in the cross-track direction, writes magnetic transitions by making a plurality of consecutive circular paths that partially overlap. The non-overlapped portions of adjacent paths form the shingled data tracks, which are thus narrower than the width of the write head. The data is read back by the narrower read head. The narrower shingled data tracks thus allow for increased data density. The shingled data tracks are arranged on the disk as annular bands separated by annular inter-band gaps or guard bands.
In application Ser. No. 13/135,953, filed Jul. 18, 2011, published as U.S. 2012/0300328 A1 and assigned to the same assignee as this application, a SMR disk drive is described that has on-disk cache. Writeable cache tracks are located in the inter-band gaps. Data from the host is transferred to the disk drive's internal memory, typically DRAM, and then written to cache tracks in an inter-band gap between two data bands. When the disk drive is idle, the data is then read from the cache tracks and written to a data band.
A problem in both conventional HDDs and SMR HDDs is wide-area track erasure (WATER) or far track encroachment or erasure (FTE). The write field from the write head is wider than a data track so when the write head is writing to a track, the outer portions of the write field (called the fringe field) overlap onto tracks other than the track being written. Data degradation due to fringe fields is not limited to the tracks immediately adjacent the track being written, but can extend over a range of tracks relatively far from the track being written. This FTE is particularly noticeable with write heads that have side shields. FTE may not affect tracks symmetrically on both sides of the track being written. Tracks on one side may encounter more pronounced FTE effects due to the write head shield design or due to read-write head skew. FTE is described by Liu et al., “Characterization of Skip or Far Track Erasure in a Side Shield Design”, IEEE TRANSACTIONS ON MAGNETICS, VOL. 45, NO. 10, OCTOBER 2009, pp. 3660-3663. U.S. application Ser. No. 12/831,391 filed Jul. 19, 2010, and assigned to the same assignee as this application, describes a conventional HDD where the effect of FTE is minimized by counting the number of writes, incrementing counters based on the known effect of FTE on each track within a range of the track being written, and then rewriting the data when a count reaches a predetermined threshold.
In a SMR disk drive, FTE can occur on the tracks in the boundary regions of bands, i.e., those tracks near the inter-band gaps, when data is written to the cache tracks in the inter-band gaps. What is needed is a SMR HDD that minimizes the effect of FTE from writing to the cache tracks.
SUMMARY OF THE INVENTIONThe invention relates to a SMR HDD that uses on-disk cache in the form of writeable cache tracks in the inter-band gaps between the annular data bands, and minimizes the effect of FTE in the boundary regions of annular data bands caused by writing to the cache tracks. The extent of the FTE effect is determined for each track within a range of tracks of the cache track being written. In one implementation, based on the relative FTE effect for all the tracks in the range, a count increment (CI) is determined for each track. The CI values and their associated track numbers within the range may be stored as a table in memory. A counter is maintained for each track in each boundary region. For every writing to a cache track in an inter-band gap, a count for each track in an adjacent boundary region that is within a range of the cache track being written is increased by the associated CI value. When the count value for a track reaches a predetermined threshold the data is read from that band and rewritten to the same band. In another implementation of the invention, a single cumulative count is maintained for each boundary region of each band and the cumulative count is increased by a cumulative count increment (CCI) for each writing to a cache track. When the cumulative count value for a boundary region of a band reaches a predetermined threshold the data is read from that band and rewritten to the band. Because a HDD typically includes multiple disk surfaces, each with an associated read/write head, and because not all heads will have the same exact write profiles and thus not generate the same FTE effect, a CI table or CCI table can be developed for each head and its associated disk surface.
For a fuller understanding of the nature and advantages of the present invention, reference should be made to the following detailed description taken together with the accompanying figures.
In this invention the disk drive uses shingled magnetic recording (SMR), also called shingled writing. Thus
In shingled recording the write head, which is wider than the read head in the cross-track direction, writes magnetic transitions by making a plurality of consecutive circular paths or tracks that partially overlap. The non-overlapped portions of adjacent paths or tracks form the shingled data tracks, which are thus narrower than the width of the write head. The data is read back by the narrower read head. When data is to be re-written in a shingled data track, all of the shingled data tracks that have been written after the track to be re-written are also re-written.
As is well known in the art, the data in each shingled data track in each of the bands is also divided into a number of contiguous physical data sectors (not shown). Each data sector is preceded by a synchronization (sync) field, which is detectable by the read head for enabling synchronization of reading and writing the data bits in the data sectors. Also, each shingled data track in each of the bands includes a plurality of circumferentially or angularly-spaced servo sectors (not shown) that contain positioning information detectable by the read head for moving the read/write head 109 to the shingled data tracks and maintaining the read/write head 109 on the tracks. The servo sectors in each shingled data track are typically aligned circumferentially with the servo sectors in the other shingled data tracks so that they extend across the shingled data tracks in a generally radial direction.
The disk drive 100 also includes a hard disk controller (HDC) 212 that can include and/or be implemented by a microcontroller or microprocessor. The controller 212 runs a computer program that is stored in memory 214 and that embodies the logic and algorithms described further below. The memory 214 may be separate from controller 212 or as embedded memory on the controller chip. The computer program may also be implemented in microcode or other type of memory accessible to the controller 212. The controller 212 is connected to a host interface 216 that communicates with the host computer 218. The host interface 216 may be any conventional computer-HDD interface, such as Serial ATA (Advanced Technology Attachment) or SCSI (Small Computer System Interface).
The electronics associated with disk dive 100 also include servo electronics 240. In the operation of disk drive 100, the read/write channel 220 receives signals from the read head and passes servo information from the servo sectors to servo electronics 240 and data signals from the data sectors to controller 212. Servo electronics 240 typically includes a servo control processor that uses the servo information from the servo sectors to run a control algorithm that produces a control signal. The control signal is converted to a current that drives actuator 130 to position the read/write head 109. In the operation of disk drive 100, interface 216 receives a request from the host computer 218 for reading from or writing to the data sectors. Controller 212 receives a list of requested data sectors from interface 215 and converts them into a set of numbers that uniquely identify the disk surface, track and data sector. The numbers are passed to servo electronics 240 to enable positioning read/write head 109 to the appropriate data sector.
The controller 212 acts as a data controller to transfer blocks of write data from the host computer 218 through the read/write channel 220 for writing to the disk 10 by the write head, and to transfer blocks of read data from the disk 10 back to the host computer 218. Disk drives typically include, in addition to the rotating disk storage, solid state memory (referred to as “cache”) that temporarily holds data before it is transferred between the host computer and the disk storage. The conventional cache is dynamic random access memory (DRAM), a volatile form of memory that can undergo a significant number of write/erase cycles and that has a high data transfer rate. Disk drives may also include nonvolatile memory. One type of nonvolatile memory is “flash” memory, which stores information in an array of floating gate transistors, called “cells” which can be electrically erased and reprogrammed in blocks. Thus in disk drive 100, the controller 212 also communicates with volatile memory 250 (shown as DRAM) and optional nonvolatile memory 252 (shown as FLASH) via data bus 254. In this invention, the SMR disk dive also includes on-disk cache in the form of writeable cache tracks located in the inter-band gaps. Data is transferred from the DRAM cache and written to the on-disk cache and then, during disk drive idle times, the data is read from the on-disk cache and written to the data bands.
In general, in SMR, whenever any portion of the data in an annular band is to be re-written or updated, all of the shingled data tracks in that annular band that were written after the shingled data track being updated are also re-written. The writing of data to an entire band may occur when new data from the host is stored in memory and then written to a band for the first time. It may also occur when a portion of the data in a band is modified, i.e., a “read-modify-write” operation in which all the data in a band is read and stored in memory, then a portion is modified with the host-provided new write data, and finally all the data is written data back to the band. The writing of data to an entire band or bands may also occur when a band or bands are “cleaned” or “de-fragmented” to reclaim free space, i.e., the data in one or more bands is read and stored in memory and then re-written to the same band or a new band.
A problem in both conventional HDDs and SMR HDDs is wide-area track erasure (WATER) or far track encroachment or erasure (FTE). The write field from the write head is wider than a data track so when the write head is writing to a track, the outer portions of the write field (called the fringe field) overlap onto tracks other than the track being written. The fringe fields can extend over a range of tracks relatively far from the track being written. FTE generally translates into an increase in bit error rate (BER), resulting in degradation of the performance of the disk drive. In some severe cases, poor BER will lead to a significant increase of unrecoverable data errors. FTE is particularly noticeable with perpendicular write heads that have side shields. FTE may not affect tracks symmetrically on both sides of the track being written. Tracks on one side may encounter more pronounced FTE effects due to the write head shield design or due to read-write head skew. If the SMR disk drive has inter-band writeable CTRs, FTE can occur on the tracks in the boundary regions of the bands, i.e., those tracks near the IBGs, when data is written to the CTRs.
In this invention the SMR HDD has writeable CTRs in the IBGs. Variable incremented counting is performed for the shingled data tracks in the band boundary regions that are subjected to the FTE effect from writing to the CTRs in the IBGs. The magnitude or extent of the FTE effect is determined for each track in a boundary region that is within a range of tracks of the cache track being written, and based on the relative FTE effect for all the tracks in the range a count increment (CI) is determined. A count may be maintained for each track in a boundary region or a cumulative count maintained for all the tracks in a boundary region. In one implementation a counter is maintained for each of N tracks in each boundary region, where N is the track range of the effect of FTE from the write head. When data is written to one of the cache tracks, the counters for the N tracks in the adjacent boundary regions are increased by the predetermined increments based on the number of tracks from the cache track being written. When the count for any one of the N tracks of a boundary region reaches a predetermined threshold, the data in that band is rewritten. The data is rewritten before the FTE effects can build up, so the reliability of the data is improved. In another implementation, a single counter is maintained for each boundary region of N tracks. When data is written to one of the cache tracks, the counter for the adjacent boundary region is increased by a predetermined cumulative increment based on the number of N tracks that are within the range of the cache track being written. When the cumulative count for a boundary region reaches a predetermined threshold, the data in that band is rewritten.
In one approach for determining the relative FTE effects on the tracks within a range of tracks of the track being written, the error rate is used to determine the count increments. A predetermined data pattern is written to all the tracks within a range of −N to +N tracks from a track (designated track 0). An initial “bit” error rate (BER) is then measured for each track in the range of 2N tracks. In one well-known approach for measuring BER, the HDD's error correction circuitry is deactivated, for example by setting to zero the value in the error correction register for the maximum number of errors to correct, and then the data pattern is read back and the number of bytes in error is counted. Since there must be at least one bit in error for each byte in error, this is the initial BER for each track in the range. Then track 0 is written a very large number of times (for example 100,000 writes). The BER is then again measured for all 2N tracks in the range. The degradation in BER is the difference between the measured BER after the writes to track 0 and the initial BER.
CITR#=10[Δlog(BER
In this invention, for every writing to a CTR in an IBG, at least one count is maintained for each of the two boundary regions adjacent the IBG. The method of the invention will be explained with
In
In
In
During operation of the HDD, the controller (HDC 12 in
In the single cumulative count implementation of the invention, a single CCNT is maintained for each boundary region of each band and the CCNT is incremented by a cumulative count increment (CCI) for each writing to a cache track. A complete CCI table for the example of
Because a HDD typically includes multiple disk surfaces, each with an associated read/write head, and because not all heads will have the same exact write profiles and thus not generate the same FTE effects, a table like that in
The operation of the HDD as described above may be implemented as a set of computer program instructions stored in memory and executable by a processor, such as the HDC, or a separate controller or microprocessor in the HDD. The controller performs logical and arithmetic operations based on the program instructions stored in memory, and is thus capable of performing the functions described above and represented in the figures.
While the present invention has been particularly shown and described with reference to the preferred embodiments, it will be understood by those skilled in the art that various changes in form and detail may be made without departing from the spirit and scope of the invention. Accordingly, the disclosed invention is to be considered merely as illustrative and limited in scope only as specified in the appended claims.
Claims
1. A shingled magnetic recording disk drive comprising:
- a magnetic recording disk having a recording surface with a plurality of concentric shingled data tracks arranged in annular bands separated by annular inter-band gaps, each band having a boundary region of tracks adjacent a gap, whereby each gap is located between adjacent boundary regions and wherein each gap contains at least one writable cache track;
- a write head associated with said disk surface for generating a magnetic write field to write data to the data tracks;
- a read head for reading data written in the data tracks;
- a controller for controlling the writing of data by the write head to the data tracks; and
- memory coupled to the controller and containing a program of instructions readable by the controller for minimizing the effect of encroachment of the write field on data tracks in the boundary regions when a cache track is being written in an inter-band gap, the program of instructions undertaking the method acts comprising: (a) maintaining in memory at least one count for each boundary region; (b) for each writing of data to a cache track, increasing said at least one count for an adjacent boundary region by a predetermined increment, said increment being determined from the number of tracks between the cache track being written and said adjacent boundary region; and (c) when a count reaches a predetermined threshold, reading the data from the band containing said threshold-count boundary region and rewriting the data read from said band.
2. The disk drive of claim 1 wherein there are N tracks in each boundary region and wherein maintaining in memory at least one count for each boundary region comprises maintaining a count for each of said N tracks.
3. The disk drive of claim 2 wherein step (b) comprises:
- for each writing of data to a cache track, increasing said at least one count for each of said N tracks in an adjacent boundary region by a predetermined increment, said increment being determined from the number of tracks between the cache track being written and the track whose count is being incremented.
4. The disk drive of claim 3 wherein the effect of encroachment of the write field on data tracks is within a range between −N tracks and +N tracks and further comprising a table in memory of 2N tracks having range numbers between −N and +N and corresponding 2N count increment values, and wherein the method act of increasing said at least one count for each of said N tracks in an adjacent boundary region by a predetermined increment includes determining the range number for each track within said range and recalling from the table in memory the corresponding count increment value.
5. The disk drive of claim 4 wherein each of the count increment values is related to a measured error rate for the corresponding track.
6. The disk drive of claim 1 wherein there are N tracks in each boundary region and wherein maintaining in memory at least one count for each boundary region comprises maintaining a cumulative count for each boundary region.
7. The disk drive of claim 6 wherein step (b) comprises:
- for each writing of data to a cache track, increasing said cumulative count for an adjacent boundary region by a predetermined cumulative count increment, said cumulative count increment being determined from which of the cache tracks is being written.
8. The disk drive of claim 7 further comprising a table in memory of cache track numbers and corresponding cumulative count increment values, and wherein the method act of increasing said cumulative count by a predetermined increment includes determining the track number for the cache track being written and recalling from the table in memory the corresponding cumulative count increment value.
9. The disk drive of claim 8 wherein each of the cumulative count increment values is related to the sum of the measured error rates for all the tracks within the range of the cache track being written.
10. The disk drive of claim 1 wherein the disk drive has a plurality of disk surfaces, each having a plurality of concentric data tracks, and associated write heads, and wherein the program of instructions comprises undertaking method acts (a) through (c) for each disk surface.
11. The disk drive of claim 1 wherein the memory is nonvolatile memory.
12. A magnetic recording disk drive comprising:
- a rotatable magnetic recording disk comprising a substrate and a magnetic recording layer on the substrate;
- a head carrier having a recording-layer-facing surface;
- a write head on the head carrier, the write head generating a generally circular path of magnetic transitions in the recording layer as the disk rotates;
- an actuator connected to the head carrier for moving the head carrier generally radially across the disk, the actuator being capable of moving the head in an increment less than the radial width of a path, whereby the write head generates partially overlapping generally circular paths of magnetic transitions, the non-overlapping portions of the circular paths representing data tracks, the data tracks being arranged in annular bands separated by annular inter-band gaps, each band having a boundary region of data tracks adjacent a gap, whereby each gap is located between adjacent boundary regions and wherein each gap contains a plurality of writable cache tracks;
- a read head on the carrier for reading written data from the data tracks;
- memory coupled to the controller and containing a program of instructions readable by the controller for minimizing the effect of encroachment of the write field on data tracks in boundary regions when a cache track is being written in an adjacent inter-band gap, the program of instructions undertaking the method acts comprising: (a) maintaining in memory a cumulative count for each boundary region; (b) maintaining in memory a table of cache track numbers and corresponding cumulative count increment (CCI) values; (c) for each writing of data to a cache track, determining the cache track number and recalling from said table the corresponding CCI; (d) increasing said cumulative count by said recalled CCI for the boundary region adjacent the inter-band gap containing the cache track being written; and (e) when said cumulative count reaches a predetermined threshold, reading the data from the band containing said threshold-count boundary region and rewriting the data read from said band.
13. The disk drive of claim 12 wherein each of the CCI values is related to the sum of the measured error rates for all the tracks within a range of tracks of the cache track being written.
14. The disk drive of claim 12 wherein the disk drive has a plurality of disk surfaces, each having a plurality of data tracks, and associated write heads, and wherein the program of instructions comprises undertaking method acts (a) through (e) for each disk surface.
15. The disk drive of claim 12 wherein the memory is nonvolatile memory.
5600500 | February 4, 1997 | Madsen et al. |
6185063 | February 6, 2001 | Cameron |
6442705 | August 27, 2002 | Lamberts et al. |
6947234 | September 20, 2005 | Lamberts et al. |
6967810 | November 22, 2005 | Kasiraj et al. |
7227708 | June 5, 2007 | Feng |
7567400 | July 28, 2009 | Cheng |
8208215 | June 26, 2012 | Molaro et al. |
8385162 | February 26, 2013 | Rosen et al. |
20060066971 | March 30, 2006 | Alex et al. |
20090091861 | April 9, 2009 | Takano et al. |
20090244775 | October 1, 2009 | Ehrlich |
20130142024 | June 6, 2013 | Sanvido et al. |
- D. Guarisco et al., “A Fast and Accurate Method for Measuring Adjacent-Track Erasure”, IEEE Transactions on Magnetics, vol. 42, No. 12, Dec. 2006, pp. 3868-3873.
- Li et al., “Adjacent Track Erasure Analysis and Modeling at High Track Density”, IEEE Transactions on Magnetics, vol. 39, No. 5, Sep. 2003, pp. 2627-2629.
- Y. Liu et al., “Characterization of Skip or Far Track Erasure in a Side Shield Design”, IEEE Transactions on Magnetics, vol. 45, No. 10, Oct. 2009, pp. 3660-3663.
- Awerbuch, “Optimal distributed algorithms for minimum weight spanning tree, counting, leader election, and related problems”, Proceedings of the nineteenth annual ACM symposium on Theory of computing, 1987, pp. 230-240.
- Fern et al., “Boosting Lazy Decision Trees”, Proceedings of the Twentieth International Conference on Machine Learning (ICML-2003), Washington DC, 2003, vol. 20; Part 1, pp. 178-185.
- Friedman et al., “Lazy Decision Trees”, Proceedings of the National Conference on Artificial Intelligence, 1996, No. 13//V1, pp. 717-724.
Type: Grant
Filed: Mar 17, 2012
Date of Patent: Jul 29, 2014
Patent Publication Number: 20130246703
Assignee: HGST Netherlands B.V. (Amsterdam)
Inventors: Zvonimir Z. Bandic (San Jose, CA), Cyril Guyot (San Jose, CA), Tomohiro Harayama (Sunnyvale, CA), Robert Eugeniu Mateescu (San Jose, CA), Shad Henry Thorstenson (Rochester, MN), Timothy Kohchih Tsai (Alviso, CA)
Primary Examiner: Jasmine Song
Application Number: 13/423,178
International Classification: G06F 12/00 (20060101);