USPatent applicationPatented

Disk drive prioritizing in-the-field defect scanning based on number of write operations in each of a plurality of defect zones

Granted 19 Apr 2011 · no office action yet

Current assignee: WESTERN DIGITAL TECHNOLOGIES · originally Western Digital

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Chun Sei Tsai, Anthony L. Pei, William B. Boyle · Examiner: Jason C Olson · AU 2627 · TC 2600

Application· this page
12/413,408
filed 27 Mar 2009
Publication
Not published
not published
Patent
US 7,929,234
granted 19 Apr 2011

Life of the application

10 dated events
⤢ drag to zoom20102012201420162018202020222024202620282030ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A disk drive is disclosed comprising a head actuated over a disk, the disk having a plurality of data tracks, wherein a first plurality of data tracks comprises a first plurality of defect scanned data sectors and a second plurality of data tracks comprises a second plurality of unscanned data sectors. The second plurality of data tracks is divided into a plurality of defect zones. A first number of write commands are received from a host to write data to a first defect zone. A first data sector in the first defect zone is defect scanned in response to the first number of write commands to the first defect zone.

Description

5 parts
BACKGROUND
›Description of the Related Art

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 typically comprises a number of concentric data tracks each partitioned into a number of data sectors. Access operations are performed by seeking the head to a target data track, and performing a write/read operation on the data sectors within the data track. The disk typically comprises embedded servo sectors having position information recorded therein, such as coarse position information (e.g., a track address) and fine position information (e.g., servo bursts). A servo controller processes the servo sectors to position the head over the target data track. FIG. 1 shows a prior art disk format comprising a plurality of tracks that are banded together to form a plurality of physical zones.

Each data sector is typically assigned a physical block address (PBA) which is accessed indirectly through a logical block address (LBA) to facilitate mapping out defective data sectors. A PBA associated with defective data sectors may simply remain unmapped if found during manufacturing, or if a data sector becomes defective while in-the-field (grown defect), the LBA may be remapped to the PBA of a spare data sector (and the data relocated to the spare data sector). The process of initially mapping the LBAs to PBAs and mapping out defective PBAs is referred to as “formatting” the disk.

Scanning for defective sectors during manufacturing of the disk drive typically involves writing a special test pattern to each data sector (e.g., a 2T pattern) and reading the test pattern to identify defects. For example, a drop in the amplitude of the read signal may indicate a defect, or a defect filter matched to a defect signature may indicate a defect, or a number of bit errors exceeding a threshold may indicate a defect, etc. However, defect scanning every data sector in a disk drive represents a significant bottleneck in the manufacturing process thereby increasing the manufacturing cost.

›BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a prior art disk format comprising a plurality of tracks that are banded together to form a plurality of physical zones.

FIG. 2A shows a disk drive according to an embodiment of the present invention comprising a disk having a first plurality of defect scanned data sectors and a second plurality of data tracks comprising a second plurality of unscanned data sectors, wherein the second plurality of data tracks are divided into a plurality of defect zones.

FIG. 2B is a flow diagram according to an embodiment of the present invention wherein during an idle mode the data sectors in the defect zones are defect scanned based on a number of write operations to each defect zone.

FIG. 2C is a flow diagram according to an embodiment of the present invention wherein when a zone counter exceeds a threshold the corresponding defect zone is defect scanned.

FIG. 3A is a flow diagram according to an embodiment of the present invention wherein when a write command is received to write to an unscanned data sector, the data sector is write-verified.

FIG. 3B is a flow diagram according to an embodiment of the present invention wherein during an idle mode the defect zones are defect scanned in a predetermined order, unless a zone counter exceeds a threshold in which case the corresponding defect zone is elevated in priority.

FIG. 4A is a flow diagram according to an embodiment of the present invention wherein a write table is updated each time a write operation is performed on a data sector.

FIG. 4B is a flow diagram according to an embodiment of the present invention wherein if a data sector in a defect zone was previously written, the defect scan of the data sector is skipped.

FIGS. 5A and 5B illustrate an embodiment of the present invention wherein a first sync mark is written during a manufacturing write operation, and a second sync mark is written during an in-the-field write operation in order to detect whether a data sector is considered written by the host.

FIGS. 6A and 6B illustrate an embodiment of the present invention wherein a first preamble ending in a first phase is recorded preceding the first sync mark, and a second preamble ending in a second phase is recorded preceding the second sync mark.

FIGS. 7A and 7B illustrate an embodiment of the present invention wherein the first and second preambles are used to determine whether a data sector has been written by the host.

›DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION · 1 of 2

FIG. 2A shows a disk drive according to an embodiment of the present invention comprising a head 16 actuated over a disk 18 , the disk having a plurality of data tracks 20 , wherein a first plurality of data tracks comprises a first plurality of defect scanned data sectors and a second plurality of data tracks comprises a second plurality of unscanned data sectors. The second plurality of data tracks is divided into a plurality of defect zones. The disk drive further comprises control circuitry 22 operable to execute the flow diagram of FIG. 2B , wherein a first number of write commands are received from a host to write data to a first defect zone (step 24 ). A first data sector in the first defect zone is defect scanned in response to the first number of write commands to the first defect zone (step 26 ).

In the embodiment of FIG. 2A , the disk 18 comprises a plurality of servo sectors 32 0 - 32 N that define the plurality of data tracks 20 . The control circuitry 22 processes a read signal 34 to demodulate the servo sectors 32 0 - 32 N into a position error signal (PES). The PES is filtered with a suitable compensation filter to generate a control signal 36 applied to a voice coil motor (VCM) 38 which rotates an actuator arm 40 about a pivot in order to position the head 16 radially over the disk 18 in a direction that reduces the PES. The servo sectors 32 0 - 32 N may comprise any suitable position information, such as a track address for coarse positioning and servo bursts for fine positioning.

In the embodiment of FIG. 2A , the first plurality of data tracks are defect scanned during a manufacturing process of the disk drive. In this manner, the disk drive is able to store initial data (e.g., a host operating system) in the first plurality of data tracks immediately upon shipping the disk drive. While the disk drive is deployed in-the-field, the data sectors in the second plurality of data tracks are defect scanned during an idle mode (step 28 ) of the disk drive. In various embodiments of the present invention, the number of write operations to each defect zone is maintained by incrementing a zone counter (step 30 ), and then the defect zones are defect scanned in response to the zone counters (step 26 ).

In an embodiment shown in the flow diagram of FIG. 2C , a defect zone is defect scanned when the corresponding zone counter exceeds a threshold (step 42 ). However, any suitable prioritizing criteria may be employed in the embodiments of the present invention, such as by expediting a defect zone if a frequency of the write operations exceeds a threshold. In another embodiment, defect scanning the defect zones may be ordered relative to each zone counter. For example, if a second zone counter of a second defect zone exceeds a first zone counter of a first defect zone, the control circuitry may defect scan the second defect zone before the first defect zone. In another embodiment, a similar ordering may be based on the frequency of write operations to each zone (i.e., the frequency that the zone counters are being incremented).

Any suitable defect scan may be employed in the embodiments of the present invention, wherein in FIG. 2C a pattern is written to each data sector (step 44 ), such as a 2T pattern. The pattern is then read from the data sector (step 46 ) and the read signal processed to detect a defect (step 48 ). Any suitable technique may be employed to detect a defective data sector, such as detecting fluctuations in the read signal amplitude, measuring an error between expected samples and the read signal samples, employing a defect filter matched to a defect signature in the read signal, or by measuring the number of bit errors and/or the number of error correction code (ECC) errors in the data sector. In another embodiment, instead of writing a pattern to the data sector, the data written to each data sector during manufacturing (e.g., zeros) is read to detect defects during the defect scan. If a data sector is deemed defective (step 48 ), the defective data sector is relocated to a spare data sector (step 50 ). The flow diagram is then repeated starting at step 44 until all of the data sectors of the defect zone have been defect scanned (step 52 ).

FIG. 3A is a flow diagram according to an embodiment of the present invention wherein a write command is received from the host (step 54 ) including a logical block address (LBA) identifying a data sector to be written. If the data sector corresponding to the LBA has not yet been defect scanned (step 56 ), the zone counter of the defect zone is incremented (step 58 ) and the user data received from the host is written to the unscanned data sector (step 60 ). The unscanned data sector is then write verified (step 62 ) by attempting to read the user data from the data sector. If the write verify fails (step 64 ), the data sector is relocated (step 66 ).

The write verify operation helps ensure an unscanned data sector does not contain a defect that would render the data sector unrecoverable. However, executing a write verify operation on each written data sector is undesirable since it takes a significant amount of time. Therefore, in one embodiment the control circuitry tracks the number of write operations to each defect zone and then prioritizes the idle mode defect scanning based on the zone counters.

FIG. 3B is a flow diagram according to an embodiment of the present invention wherein the control circuitry receives access commands from the host (step 68 ) and processes the access commands (step 70 ). If an access command is not received from the host for a predetermined interval (step 72 ), the control circuitry enters the idle mode where it performs background tasks such as defect scanning the data sectors. If one of the zone counters exceeds a threshold (step 74 ), the data sectors of the corresponding defect zone are prioritized for defect scanning (step 76 ). After defect scanning all of the data sectors of the defect zone, a defect table is updated to reflect that the data sectors have been scanned (step 78 ). If none of the zone counters exceed a threshold (step 74 ), or if all of the prioritized defect zones have been scanned, then the next defect zone is scanned according to a predetermined order (step 80 ), and the defect table updated to reflect that the data sectors have been scanned (step 82 ). This process repeats until all of the defect zones have been scanned (step 84 ). In the embodiment of FIG. 3B , the idle mode may be interrupted if the control circuitry receives a new access command (read or write) from the host. When the defect scan is interrupted in the middle of a defect zone, the control circuitry maintains suitable pointers to restart the defect scan at the appropriate data sector within the current defect zone.

›DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION · 2 of 2

FIG. 4A is a flow diagram according to an embodiment of the present invention wherein a write table is initialized (step 86 ). When a write operation is received from the host to write user data to an unscanned data sector (step 88 ), the corresponding zone counter is incremented (step 90 ), the data is written to the unscanned data sector (step 94 ) and the data sector is write verified (step 94 ). The write table is updated (step 96 ) to reflect that the unscanned data sector has been previously written and write verified, and the write table is stored in a non-volatile memory, such as on the disk (step 98 ).

FIG. 4B shows a flow diagram according to an embodiment of the present invention wherein if an unscanned data sector has been previously written (step 100 ) as determined from the write table, then the step of defect scanning the data sector (step 102 ) is skipped. In this embodiment, if an unscanned data sector is written and successfully write verified, then it is assumed that the data sector is reliable (non-defective) and therefore the defect scan of the data sector can be skipped.

FIGS. 5A and 5B illustrate an embodiment of the present invention wherein instead of using a write table to identify unwritten data sectors, the data sectors are written with first and second sync marks 106 A and 106 B. When writing to a data sector during manufacturing, a first sync mark 106 A is written to the data sector, and when writing to the same data sector in response to a host command while in-the-field, a second sync mark 106 B is written to the data sector. In this manner, when defect scanning a defect zone, whether a data sector has been previously written by the host can be determined by evaluating which sync mark is detected. That is, if the first sync mark 106 A is detected, the data sector is considered unwritten, and if the second sync mark 106 B is detected, the target data sector is considered written.

FIGS. 6A and 6B illustrate an embodiment of the present invention wherein the preamble of a data sector is used to increase the reliability of differentiating between the first sync mark 106 A and the second sync mark 106 B. In this embodiment, a first preamble 108 A is written to the data sector preceding the first sync mark 106 A during manufacturing, and a second preamble 108 B is written to the data sector preceding the second sync mark 106 B while in-the-field, wherein the first preamble 108 A ends with a phase (e.g., “++” or “−−”) that is different from the phase (e.g., “+−” or “−+”) of the second preamble 108 B. In this manner, the second sync mark 106 B will be considered accurately detected (and the data sector considered written by the host) only if the preamble of the data sector ends in the correct phase (i.e., only if the second preamble 108 B is detected).

FIGS. 7A and 7B illustrate an embodiment of the present invention wherein the same sync mark 106 A may be written during manufacturing and while in-the-field. However, a first preamble 108 A ending in a first phase is written during manufacturing, and a second preamble 108 B ending in a second phase is written while in-the-field. In this embodiment, a data sector will be considered unwritten by the host if the first preamble 108 A is detected, and written by the host if the second preamble 108 B is detected. The preamble that is detected can be determined by evaluating the read signal samples of the preamble (e.g., the last two samples of the preamble) after detecting the sync mark.

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 as granted

24 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

3 codes
IPC · International Patent Classification
Section G — Physics
  • G11B27/36
USPC · US Patent Classification
360/31360/53

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomApr 2009Jul 2009Oct 2009Jan 2010Apr 2010Jul 2010Oct 2010Jan 2011Apr 2011USPTOApplicantNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
2.1 y
753 days filing → grant
Office actions
0
none on record
Examiner
Jason C Olson
art unit 2627 · TC 2600
Citations: 53 back · 153 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20102012201420162018202020222024202620282030Owner 1liens, releases & corrections
TitleLienReleasehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock